]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
*** empty log message ***
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
a92feac0
MK
12003-06-15 Mark Kettenis <kettenis@gnu.org>
2
3 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
4 on *-*-*bsd* instead of *-*-freebsd*.
5
81a58f5b
AC
62003-06-14 Andrew Cagney <cagney@redhat.com>
7
8 * gdb.base/store.exp: Test longest and doublest. Test all
9 parameters. Weaken return statement match.
10 * gdb.base/store.c: Add longest and doublest - aka long long and
11 long double functions. Put all parameters into local register
12 variables. Use negative values.
13
b257a0d3
AC
142003-06-14 Andrew Cagney <cagney@redhat.com>
15
16 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
17 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
18 exit status.
19 * gdb.base/fileio.exp: Disable target when nointerrupts and
20 noinferiorio, instead of limiting it to remote. Use remote_exec
21 instead of system.
22
21c38304
JJ
232003-06-12 Jeff Johnston <jjohnstn@redhat.com>
24
25 * gdb.base/float.exp: Add ia64 support.
26
1bcdb424
CV
272003-06-12 Corinna Vinschen <vinschen@redhat.com>
28
29 * gdb.base/fileio.exp: Run only on remote targets.
30
6aeb981f
CV
312003-06-10 Corinna Vinschen <vinschen@redhat.com>
32
33 * gdb.base/fileio.c: New file, testing File-I/O.
34 * gdb.base/fileio.exp: Ditto.
35
53df362e
RG
362003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
37
38 * gdb.base/shreloc.exp: New file, check symbol values obtained from
39 shared objects after relocation at load time (gdb PR/1132).
40 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
41 as above, part of the shared object relocation test.
42
ffee1b46
MK
432003-06-08 Mark Kettenis <kettenis@gnu.org>
44
b5ca3722
MK
45 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
46 fully filled history list.
47 * gdb.base/gdb_history: New file.
48
03ed860d
MK
49 * gdb.base/signals.exp: XFAIL "continue to func1" on
50 i*86-*-freebsd*.
51
ffee1b46
MK
52 * gdb.base/attach.exp: When trying to attach to a nonexistent
53 process, make it possible to specify the PID based on the target,
54 and do so for *-*-freebsd*.
55
d80dbb52
RH
562003-06-02 Richard Henderson <rth@redhat.com>
57
58 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
59
6dd77b81
RH
602003-06-02 Richard Henderson <rth@redhat.com>
61
62 * gdb.base/selftest.exp: Next over lim_at_start initialization.
63
f6347e16
RH
642003-06-02 Richard Henderson <rth@redhat.com>
65
66 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
67
2c161407
DJ
682003-06-01 Daniel Jacobowitz <drow@mvista.com>
69
70 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
71 of globalvar.
72
572eb746
MK
732003-06-01 Mark Kettenis <kettenis@gnu.org>
74
75 * gdb.asm/asm-source.exp: Check for memory read errors in
76 disassembler test on *BSD too.
77
9e9617a5
RH
782003-06-01 Richard Henderson <rth@redhat.com>
79
80 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
81 for .frame.
82 (gdbasm_call): Lose ldgp.
83 (gdbasm_startup): Add frame information.
84 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
85
7b34ad4e
MK
862003-05-31 Mark Kettenis <kettenis@gnu.org>
87
88 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
89 i?86-*-*.
90
10059fdf
MK
912003-05-30 Mark Kettenis <kettenis@gnu.org>
92
93 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
94 FreeBSD.
95
acf4b816
RH
962003-05-29 Richard Henderson <rth@redhat.com>
97
98 * gdb.asm/alpha.inc: New file.
99 * gdb.asm/asm-source.exp: Use it.
100
e9ecd949
JB
1012003-05-29 Jim Blandy <jimb@redhat.com>
102
103 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
104 'core.PID'.
105
e3e5a4f3
JB
1062003-05-22 Jim Blandy <jimb@redhat.com>
107
108 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
109 backtrace.
110
72fe3d25
DC
1112003-05-20 David Carlton <carlton@math.stanford.edu>
112
113 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
114 this time.
115
58da2eb2
DC
1162003-05-19 David Carlton <carlton@bactrian.org>
117
118 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
119 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
120
1fcb5155
DC
1212003-05-19 David Carlton <carlton@bactrian.org>
122
123 * gdb.c++/namespace.exp: Add namespace scope and anonymous
124 namespace tests.
125 Bump copyright date.
126 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
127 (main): Call C::D::marker2.
128 * gdb.c++/namespace1.cc: New file.
129
85e85163
JJ
1302003-05-14 Jeff Johnston <jjohnstn@redhat.com>
131
132 Roland McGrath <roland@redhat.com>
133 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
134 there is no manager thread.
135
a25fbfec
JJ
1362003-05-08 Jeff Johnston <jjohnstn@redhat.com>
137
138 * gdb.threads/schedlock.exp: Remove assumption that all threads
139 will run in a particular small time slice. Also ensure we break
140 in one of the child threads rather than the main thread.
141
be375bae
JB
1422003-05-07 Jim Blandy <jimb@redhat.com>
143
09bf6082
JB
144 Add support for assembly source testing on the s390x.
145 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
146 architecture.
147 * gdb.asm/s390x.inc: New file.
148
be375bae
JB
149 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
150 succession of 'if' statements.
151
00905d52
AC
1522003-05-05 Andrew Cagney <cagney@redhat.com>
153
154 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
155
b1e29e33
AC
1562003-05-05 Andrew Cagney <cagney@redhat.com>
157
158 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
159 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
160
e33d66ec
EZ
1612003-05-02 Elena Zannoni <ezannoni@redhat.com>
162
163 * gdb.base/charset.exp: Update based on new behavior of set/show
164 charset commands.
165
2b6fd0d8
AC
1662003-05-01 Andrew Cagney <cagney@redhat.com>
167
168 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
169 variable do not give memory errors.
170
130cacce
AF
1712003-04-30 Adam Fedor <fedor@gnu.org>
172
173 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
174 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
175 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
176 gdb.objc/basicclass.m: : New files
177
178 * lib/gdb.exp (gdb_compile_objc): New procedure.
179
bea71854
DJ
1802003-04-27 Daniel Jacobowitz <drow@mvista.com>
181
182 * gdb.base/signals.exp: Make backtrace tests more specific.
183
0f20eeea
DC
1842003-04-23 David Carlton <carlton@bactrian.org>
185
186 * gdb.c++/maint.exp (test_first_component): Add tests for
187 'operator' in more locations.
188
c8c4d8dc
KB
1892003-04-16 Kevin Buettner <kevinb@redhat.com>
190
191 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
192
3fe60e3c
EZ
1932003-04-16 Elena Zannoni <ezannoni@redhat.com>
194
195 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
196 func marke' instead. Update test name.
197
9219021c
DC
1982003-04-15 David Carlton <carlton@math.stanford.edu>
199
200 * gdb.c++/maint.exp: New file.
201
5dd55bdd
EZ
2022003-04-14 Elena Zannoni <ezannoni@redhat.com>
203
204 * gdb.threads/schedlock.c: Change type of thread function argument
205 to long, to avoid warnings on 64-bit platforms.
206
00890572
EZ
2072003-04-14 Elena Zannoni <ezannoni@redhat.com>
208
209 * gdb.base/attach.exp: Add new message from ptrace in case of
210 attaching to nonexistent process.
211
93201743
JB
2122003-04-11 Jim Blandy <jimb@redhat.com>
213
214 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
215 gdb.c++/userdef.cc: Place comments on the lines to which the
216 marker function might return.
217 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
218 gdb.c++/userdef.exp: Look for those comments to check that we've
219 returned to the right place, instead of checking line numbers.
220
2a11c64d
EZ
2212003-04-11 Elena Zannoni <ezannoni@redhat.com>
222
223 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
224 match on sourcefile name, instead of directory name.
225
68ab8fc5
EZ
2262003-04-10 Elena Zannoni <ezannoni@redhat.com>
227
228 * gdb.base/completion.exp: Use string_to_regexp to match the
229 working directory name.
230
5624293a
JB
2312003-04-09 Jim Blandy <jimb@redhat.com>
232
233 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
234 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
235 after an inferior function call, report the failure, but allow the
236 test to continue.
237
f1f02ee4
SC
2382003-04-05 Stephane Carrez <stcarrez@nerim.fr>
239
240 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
241 with -DPROTOTYPES.
242
6eb79af0
SC
2432003-04-05 Stephane Carrez <stcarrez@nerim.fr>
244
245 * gdb.base/break.exp: Revert last patch.
246
8dfb4cf0
SC
2472003-04-04 Stephane Carrez <stcarrez@nerim.fr>
248
249 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
250 with -DPROTOTYPES.
251
ed4c619a
AC
2522003-04-02 Andrew Cagney <cagney@redhat.com>
253
254 * gdb.base/callfuncs.exp: Make "print add" messages unique.
255 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
256 matching directories by the name breakpoint.
257 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
258 Make "continue to marker1" consistent.
259 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
260 message consistent.
261 * lib/gdb.exp: Put "the program is no longer running", and "the
262 program exited" in parenthesis.
263 * lib/mi-support.exp: Ditto.
264
4e35d5f0
BR
2652003-04-02 Bob Rossi <bob_rossi@cox.net>
266
267 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
268
71900fe8
AC
2692003-03-29 Andrew Cagney <cagney@redhat.com>
270
271 * gdb.base/sizeof.c (main): Print the value of '\377'.
272 * gdb.base/sizeof.exp: Check the sign of '\377'.
273
c0655a16
MC
2742003-03-27 Michael Chastain <mec@shout.net>
275
276 * gdb.base/gdb1090.exp: New file.
277 * gdb.base/gdb1090.cc: New file.
278
5b2a3989
JB
2792003-03-27 J. Brobecker <brobecker@gnat.com>
280
281 * gdb.gdb/observer.exp: New regression test.
282
79876890
MC
2832003-03-27 Michael Chastain <mec@shout.net>
284
285 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
286 * gdb.base/ptype.exp: Likewise.
287
6eac95e3
CV
2882003-03-27 Corinna Vinschen <vinschen@redhat.com>
289
290 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
291
e8c71839
MC
2922003-03-26 Michael Chastain <mec@shout.net>
293
294 * gdb.base/ptype.exp: Actually use some typedef'd types.
295
71b10041
SC
2962003-03-21 Stephane Carrez <stcarrez@nerim.fr>
297
298 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
299 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
300
2512cf80
CV
3012003-03-20 Corinna Vinschen <vinschen@redhat.com>
302
303 * gdb.base/default.exp: Fix regular expression.
304
0d195a4f
CV
3052003-03-20 Corinna Vinschen <vinschen@redhat.com>
306
307 * gdb.base/args.exp: Fix regular expression.
308
8a2dbca8
CV
3092003-03-20 Corinna Vinschen <vinschen@redhat.com>
310
311 * gdb.base/help.exp: Allow Win32 child process.
312
bf028682
CV
3132003-03-20 Corinna Vinschen <vinschen@redhat.com>
314
315 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
316 when stepping out of main().
317
182dbe85
CV
3182003-03-20 Corinna Vinschen <vinschen@redhat.com>
319
320 * gdb.base/default.exp: Check for win32 specific message when calling
321 "run" without executable.
322
d67a6ba5
CV
3232003-03-20 Corinna Vinschen <vinschen@redhat.com>
324
325 * gdb.base/args.exp: Expect .exe in output.
326
a955b5bb
CV
3272003-03-20 Corinna Vinschen <vinschen@redhat.com>
328
329 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
330 Cygwin native.
331
bf6bad4b
AC
3322003-03-17 Andrew Cagney <cagney@redhat.com>
333
334 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
335 vector registes.
336 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
337 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
338
293e9a31
DC
3392003-03-17 David Carlton <carlton@math.stanford.edu>
340
341 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
342 test, for PR breakpoints/38.
343 Call test_watchpoint_and_breakpoint.
344 * gdb.base/watchpoint.c (func3): New function.
345 (main): Call func3.
346
5330f2db
DC
3472003-03-04 David Carlton <carlton@math.stanford.edu>
348
349 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
350 Garply<Garply<char> >:: garply".
351 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
352 with respect to PR c++/1111; note also PR c++/1113.
353 (test_template_breakpoints): KFAIL "constructor breakpoint" with
354 respect to PR c++/1062.
355 KFAIL "destructor breakpoint" with respect to PR c++/1112.
356
6ece72da
DC
3572003-03-03 David Carlton <carlton@math.stanford.edu>
358
359 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
360 with respect to PR c++/57.
361 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
362 c++/826.
363 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
364 respect to PR c++/57.
365
85ca1584
DC
3662003-03-03 David Carlton <carlton@math.stanford.edu>
367
368 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
369 respect to PR c++/33 into FAILs.
370
98e9c5b8
MC
3712003-03-03 Michael Chastain <mec@shout.net>
372
7bedbf27
MC
373 * configure.in: Update copyright years.
374
3752003-03-03 Michael Chastain <mec@shout.net>
376
377 * Makefile.in: Update copyright years.
98e9c5b8 378
f683e100
DC
3792003-02-28 David Carlton <carlton@math.stanford.edu>
380
381 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
382 print class instead of struct and/or superfluous protection
383 specifiers, as long as the resulting output is equivalent to the
384 source code.
385 Delete FIXME from end of messages on tests that don't need
386 fixing.
387
a9e0cf2c
DC
3882003-02-28 David Carlton <carlton@math.stanford.edu>
389
390 * gdb.c++/templates.exp (do_tests): Allow const in the two
391 Foo<volatile char *>::foo tests.
392
e8d359df
MS
3932003-02-27 Michael Snyder <msnyder@redhat.com>
394
395 * gdb.base/restore.c (main): Return zero, so exit code
396 will be consistant.
397
0b71dc91
DC
3982003-02-26 David Carlton <carlton@math.stanford.edu>
399
400 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
401 char *>::foo" test with respect to PR c++/33. Create a new test
402 which is identical to that one except that it doesn't put the
403 space between the "char" and the "*"; KFAIL it, too.
404
dd14ab43
DC
4052003-02-26 David Carlton <carlton@math.stanford.edu>
406
407 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
408 template types into either PASSes or KFAILs (corresponding to PR
409 c++/57). Tweak indentation. Update copyright.
410
1146c7f1
SC
4112003-02-23 Stephane Carrez <stcarrez@nerim.fr>
412
413 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
414
74641dfb
MC
4152003-02-13 Michael Chastain <mec@shout.net>
416
417 * gdb.base/exprs.exp: Remove i960 remnants.
418 * gdb.base/funcargs.exp: Likewise.
419 * gdb.base/list.exp: Likewise.
420 * gdb.base/ptype.exp: Likewise.
421
559cd2d0
DC
4222003-02-14 David Carlton <carlton@math.stanford.edu>
423
424 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
425 pEe->D::vg()" from XFAIL to KFAIL.
426
c4f90d87
JM
4272003-02-13 Jason Molenda (jmolenda@apple.com)
428
429 * gdb.base/maint.exp: Update maint print statistics regexp to include
430 new entries.
431
cbc4d97c
MC
4322003-02-13 Michael Chastain <mec@shout.net>
433
434 * gdb.c++/inherit.exp: Remove call to get_debug_format.
435
40f235b7
MC
4362003-02-12 Michael Chastain <mec@shout.net>
437
438 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
439 * gdb.c++/inherit.exp: Likewise.
440 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
441 * gdb.c++/templates.exp: Likewise.
442 * gdb.c++/virtfunc.exp: Likewise.
443
c56716b0
JM
4442003-02-06 Jason Molenda (jason-cl@molenda.com)
445
446 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
447 why the code is written that way.
448
070afcf8
MC
4492003-02-05 Michael Chastain <mec@shout.net>
450
451 * gdb.base/dump.exp: Add missing copyright line.
452
5d0331e5
JM
4532003-02-05 Jason Molenda (jason-cl@molenda.com)
454
f7ae6d3e 455 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
456 at the beginning so the breakpoint doesn't get set on the loop.
457
92851186
MC
4582003-02-05 Michael Chastain <mec@shout.net>
459
460 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
461 output for configurations with gcc 2.95.3.
462
cbf1e085
AC
4632003-02-05 Keith Seitz <keiths@redhat.com>
464 Andrew Cagney <ac131313@redhat.com>
465
466 * gdb.mi/mi-cli.exp: New file.
467
29518e1e
MC
4682003-02-04 Michael Chastain <mec@shout.net>
469
470 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
471 Call perror and then continue.
472
5af1d5f3
MC
4732003-02-03 Michael Chastain <mec@shout.net>
474
475 * gdb.c++/pr-1023.cc: New file.
476 * gdb.c++/pr-1023.exp: New file.
477
6b549786
JB
4782003-02-05 Jim Blandy <jimb@redhat.com>
479
480 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
481 it's local to foobar. Check for it there, and check that it's not
482 present in main.
483 * gdb.c++/local.cc (marker2): New function.
484 (foobar): Call marker1.
485 (main): Call marker2 instead of marker1.
486
67f16606
AC
4872003-02-04 Andrew Cagney <ac131313@redhat.com>
488
489 * gdb.disasm/mn10200.exp: Obsolete file.
490 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
491 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
492 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
493
1c5cb38e
DC
4942003-02-04 David Carlton <carlton@math.stanford.edu>
495
496 * gdb.c++/overload.exp: Test intToChar(1).
497 * gdb.c++/overload.cc (intToChar): New.
498 (main): Call intToChar.
499
d1fe6965
DC
5002003-02-03 David Carlton <carlton@math.stanford.edu>
501
502 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
503 'might_kfail' arg.
504 KFAIL some of the continue_to_bp_overloaded calls, according to
505 PR c++/1025.
506
9ba61c5d
MC
5072003-02-01 Michael Chastain <mec@shout.net>
508
509 * gdb.base/advance.c (marker1): New marker function.
510 * gdb.base/advance.exp: When the 'advance' command lands on the
511 return breakpoint, it can legitimately stop on either the
512 current line or the next line. Accommodate both outcomes.
513 * gdb.base/until.exp: Likewise.
514
e7494ffb
AC
5152003-02-02 Andrew Cagney <ac131313@redhat.com>
516
517 2002-11-10 Jason Molenda (jason-cl@molenda.com):
518 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
519 now a list, not a tuple.
520 * gdb.mi/mi-var-display.exp: Ditto.
521 * gdb.mi/gdb792.exp: Ditto.
522
075559bc
AC
5232003-02-01 Andrew Cagney <ac131313@redhat.com>
524
525 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
526 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
527 stack backtraces.
528 * gdb.mi/mi-syn-frame.c: Part of same.
529
2bd4c7b1
MK
5302003-02-01 Mark Kettenis <kettenis@gnu.org>
531
532 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
533 gdb.mi/mi1-pthreads.exp: Return instead of calling
534 gdb_suppress_entire_file.
535
eabd8992
MS
5362003-02-01 Mark Salter <msalter@redhat.com>
537
538 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
539
71469e2f
MS
5402003-01-31 Mark Salter <msalter@redhat.com>
541
542 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
543 Support empty arg.
544
38a94d44
MC
5452003-01-30 Michael Chastain <mec@shout.net>
546
547 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
548 This was a workaround for a UTF-8 bug in readline 4.3. The bug
549 has been fixed in gdb/readline on 2003-01-09.
550
19ea9e73
MS
5512003-01-29 Michael Snyder <msnyder@redhat.com>
552
e8d359df
MS
553 * gdb.base/maint.exp: Allow for leading underscore in symbol.
554 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
555 * gdb.base/args.exp: Skip if target does not support args passing.
556
2307bd6a
DJ
5572003-01-22 Daniel Jacobowitz <drow@mvista.com>
558
19ea9e73 559 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
560 gdb_test. Accept a list of expect arguments as the third
561 parameter.
562 (gdb_test): Use it.
563
f2dd3617
EZ
5642003-01-20 Elena Zannoni <ezannoni@redhat.com>
565
566 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
567 allow for different test tree configurations. Update some
568 tescases accordingly.
569 * gdb.arch/altivec-regs.exp: Ditto.
570 * gdb.asm/asm-source.exp: Ditto.
571 * gdb.base/advance.exp: Ditto.
572 * gdb.base/display.exp: Ditto.
573 * gdb.base/long_long.exp: Ditto.
574 * gdb.base/mips_pro.exp: Ditto.
575 * gdb.base/overlays.exp: Ditto.
576 * gdb.base/relocate.exp: Ditto.
577 * gdb.base/setshow.exp: Ditto.
578 * gdb.base/step-line.exp: Ditto.
579 * gdb.base/step-test.exp: Ditto.
580 * gdb.base/until.exp: Ditto.
581 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
582
c71cdefd
DC
5832003-01-17 David Carlton <carlton@math.stanford.edu>
584
585 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
586 corresponding to PR c++/945.
587 Update copyright.
588
fdba05d7
DC
5892003-01-17 David Carlton <carlton@math.stanford.edu>
590
591 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
592 corresponding to PR c++/68.
593
5942003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
595
596 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
597 (test_paddr_hairy_functions): Call print_addr_2_kfail for
598 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
599
c362c33a
EZ
6002003-01-15 Elena Zannoni <ezannoni@redhat.com>
601
0fbc361c
EZ
602 * gdb.base/break.exp: Fix change of default location, because of
603 removal of until tests.
604 * gdb.base/help.exp: Update test for new 'until' help message.
605 Add test for help on 'advance'.
c362c33a
EZ
606 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
607
dabf8a35
MK
6082003-01-15 Mark Kettenis <kettenis@gnu.org>
609
610 * gdb.base/default.exp: Adapt "info float" test for recent changes
611 to that command. Add test for "info vector".
612 * gdb.base/float.exp: New file. Add test for "info float" that
613 resembles the old test in gdb.base/default.exp.
614
a1769aca
DC
6152003-01-15 David Carlton <carlton@math.stanford.edu>
616
617 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
618
82025e13
EZ
6192003-01-15 Elena Zannoni <ezannoni@redhat.com>
620
621 * gdb.base/break.exp: Move the tests of until command from here...
622 * gdb.base/until.exp: ... to here. New file. Add other tests.
623 * gdb.base/advance.c: New file.
624 * gdb.base/advance.exp: New file.
625
8f9ab801
EZ
6262003-01-14 Elena Zannoni <ezannoni@redhat.com>
627
628 * gdb.base/args.c: New file.
629 * gdb.base/args.exp: New file.
630
9ae66589
DJ
6312003-01-14 Daniel Jacobowitz <drow@mvista.com>
632
633 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
634
8d77e5c3
DJ
6352003-01-14 Daniel Jacobowitz <drow@mvista.com>
636
637 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
638
12d2f0a1
DJ
6392003-01-14 Daniel Jacobowitz <drow@mvista.com>
640
641 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
642 dates.
643
6ca37014
DJ
6442003-01-13 Daniel Jacobowitz <drow@mvista.com>
645
646 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
647
b0023472
DJ
6482003-01-13 Daniel Jacobowitz <drow@mvista.com>
649
650 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
651 (ptype &*"foo").
652 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
653
d6abaea5
DJ
6542002-01-13 Daniel Jacobowitz <drow@mvista.com>
655
656 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
657 * gdb.mi/mi1-console.exp: Likewise.
658
dfd536a7
DJ
6592002-01-13 Daniel Jacobowitz <drow@mvista.com>
660
661 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
662 * gdb.mi/mi1-console.exp: Likewise.
663
a1fb14a2
DJ
6642003-01-13 Daniel Jacobowitz <drow@mvista.com>
665
666 * gdb.c++/overload.exp: Remove some fixed XFAILs.
667
c4cf40b7
DJ
6682003-01-09 Daniel Jacobowitz <drow@mvista.com>
669
670 * gdb.base/detach.exp: New test.
671
696d5a5b
DJ
6722003-01-09 Daniel Jacobowitz <drow@mvista.com>
673
674 * Makefile.in (ALL_SUBDIRS): New variable.
675 (subdirs, clean, distclean): Use it.
676 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
677 regenerating Makefile, since it is generated from the top level.
678 * gdb.asm/Makefile.in: Likewise.
679 * gdb.base/Makefile.in: Likewise.
680 * gdb.c++/Makefile.in: Likewise.
681 * gdb.disasm/Makefile.in: Likewise.
682 * gdb.java/Makefile.in: Likewise.
683 * gdb.mi/Makefile.in: Likewise.
684 * gdb.threads/Makefile.in: Likewise.
685 * gdb.trace/Makefile.in: Likewise.
686
754533e4
DC
6872003-01-09 David Carlton <carlton@math.stanford.edu>
688
689 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
690 Add copyright year 2003.
691
d8b3e9ee
MC
6922003-01-06 Michael Chastain <mec@shout.net>
693
694 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
695 When selecting a thread, 'line' and 'file' are optional.
696 * gdb.mi/mi1-pthreads.exp: Likewise.
697
8e9e0fe6
AS
6982003-01-06 Andreas Schwab <schwab@suse.de>
699
700 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
701 failures.
702
b5ab8ff3
DJ
7032003-01-04 Daniel Jacobowitz <drow@mvista.com>
704
705 Fix PR gdb/844
706 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
707 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
708
709 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
710 instead of calling gdb_suppress_entire_file.
711 * gdb.threads/print-threads.exp: Likewise.
712 * gdb.threads/schedlock.exp: Likewise.
713
714 * gdb.threads/killed.exp: Return instead of calling
715 gdb_suppress_entire_file.
716 * gdb.threads/linux-dp.exp: Likewise.
717 * gdb.threads/pthreads.exp: Likewise.
718
1e698235
DJ
7192003-01-04 Daniel Jacobowitz <drow@mvista.com>
720
721 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
722 stabs.
723 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
724 * gdb.base/whatis.exp: Always allow (void) after function names.
725
147ff08c
DJ
7262003-01-04 Daniel Jacobowitz <drow@mvista.com>
727
728 * gdb.c++/casts.exp: Correct regexp.
729
dc62bfc2
MK
7302003-01-04 Mark Kettenis <kettenis@gnu.org>
731
732 * configure.in: Call AC_CONFIG_HEADER. Don't call
733 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
734 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
735 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
736 aforementioned directories in the AC_OUPUT call.
737 * config.hin: New file.
738 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
739 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
740 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
741 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
742 pass -I$objdir instead of -I$objdir/$subdir in compilation.
743 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
744 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
745 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
746 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
747 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
748 gdb.threads/configure.in, gdb.threads/configure,
749 gdb.threads/config.in, gdb.trace/configure.in,
750 gdb.trace/configure: Removed.
751
77afa639
MC
7522003-01-03 Michael Chastain <mec@shout.net>
753
754 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
755 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
756
7634bb6e
DJ
7572003-01-03 Daniel Jacobowitz <drow@mvista.com>
758
759 * gdb.base/store.exp: Fix regular expressions.
760
b39c905e
MK
7612002-12-28 Mark Kettenis <kettenis@gnu.org>
762
763 * configure.in: Rewrite.
764 * configure: Regenerated.
765
0a8551dd
DC
7662003-01-03 David Carlton <carlton@math.stanford.edu>
767
768 * gdb.base/psymtab.exp: New file.
769 * gdb.base/psymtab1.c: Ditto.
770 * gdb.base/psymtab2.c: Ditto.
771
c60b7188
AF
7722002-12-23 Adam Fedor <fedor@gnu.org>
773
774 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
775
ee73db83
DC
7762002-12-23 David Carlton <carlton@math.stanford.edu>
777
778 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
779 and current_directory initialization.
780
d6c1774e
JB
7812002-12-22 Jim Blandy <jimb@redhat.com>
782
f0a847b8
JB
783 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
784 rather than as part of the output file name.
785
d6c1774e
JB
786 * gdb.base/attach.exp: There's no need to copy the test program to
787 /tmp; that was only ever necessary on HP/UX, and this test is
788 entirely disabled there anyway.
789
f0708dbb
JB
7902002-12-21 Jim Blandy <jimb@redhat.com>
791
4c2acfea
JB
792 * gdb.c++/psmang.exp: Doc fix.
793
f0708dbb
JB
794 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
795 test.
796
9579e000
DC
7972002-12-20 David Carlton <carlton@math.stanford.edu>
798
799 * gdb.c++/annota2.exp: KFAIL annotate-quit.
800
d1810171
MC
8012002-12-18 Michael Chastain <mec@shout.net>
802
803 * gdb.c++/annota2.exp: Add copyright year 2002.
804
76565097
DC
8052002-12-17 David Carlton <carlton@math.stanford.edu>
806
807 * gdb.c++/try_catch.cc: Add marker comments.
808 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
809 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
810 * gdb.c++/m-static.cc: Ditto.
811 * gdb.c++/m-static1.cc: Ditto.
812 * gdb.c++/try_catch.cc: Ditto.
813
da81390b
JJ
8142002-12-16 Jeff Johnston <jjohnstn@redhat.com>
815
816 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
817 to see whether we are using the new -environment-directory
818 command which resets via -r or the old version of the command
819 which may prompt the user. Part of fix for gdb/741.
820
b304d130
AC
8212002-12-13 Andrew Cagney <ac131313@redhat.com>
822
823 * gdb.fortran/types.exp: Update obsolete comment.
824 * gdb.fortran/exprs.exp: Ditto.
825 * lib/gdb.exp: Delete obsolete code.
826 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
827 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
828 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
829 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
830 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
831 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
832 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
833 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
834 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
835 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
836 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
837 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
838 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
839 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
840 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
841 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
842 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
843 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
844 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
845 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
846 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
847 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
848 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
849 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
850 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
851 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
852 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
853 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
854 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
855 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
856 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
857 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
858 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
859 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
860 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
861 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
862 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
863
a23b6e6a
DC
8642002-12-11 David Carlton <carlton@math.stanford.edu>
865
866 * gdb.c++/m-data.exp: Add test for members that shadow global
867 variables: see PR gdb/804.
868 * gdb.c++/m-data.cc: Ditto.
869
6604731b
DJ
8702002-12-10 Daniel Jacobowitz <drow@mvista.com>
871
872 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
873
de46ecd7
DC
8742002-12-06 David Carlton <carlton@math.stanford.edu>
875
876 * gdb.base/store.c: Don't declare functions static.
877
27e829d0
AC
8782002-12-04 Andrew Cagney <ac131313@redhat.com>
879
880 * gdb.base/store.exp, gdb.base/store.c: New files.
881
92806416
DJ
8822002-12-03 Daniel Jacobowitz <drow@mvista.com>
883
884 * gdb.base/selftest.exp: Update for current gdb.
885
3bcbaac5
DJ
8862002-12-03 Daniel Jacobowitz <drow@mvista.com>
887
888 * gdb.base/maint.exp: Only dump symbols from one source file
889 or objfile.
890
f4f00b1f
DJ
8912002-12-03 Daniel Jacobowitz <drow@mvista.com>
892
893 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
894 function call.
895
f1c8a949
JB
8962002-11-25 Jim Blandy <jimb@redhat.com>
897
898 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
899 function appearing in error message.
900
9e297a97
DJ
9012002-11-21 Daniel Jacobowitz <drow@mvista.com>
902
903 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
904
1f312e79
JJ
9052002-11-08 Jeff Johnston <jjohnstn@redhat.com>
906
907 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
908 for mi1 and current mi is in correct format. New mi startup message
909 should be in mi console format. This is part of fix for PR gdb/604.
910
83c31e7d
FN
9112002-09-18 Fernando Nasser <fnasser@redhat.com>
912
913 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
914 which explicitly prints the zero offset as "+0".
915
322b3f65
DJ
9162002-10-22 Daniel Jacobowitz <drow@mvista.com>
917
918 * gdb.threads/schedlock.c (args): Make unsigned.
919
9202002-10-21 Daniel Jacobowitz <drow@mvista.com>
921
922 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
923 numbers. Allow "foo2|selected stack frame".
924 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
925 * gdb.asm/asmsrc2.s: Likewise.
926 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
927 comments.
928 * gdb.asm/mips.inc: New file.
929
5e2fe5b8
AF
9302002-10-18 Adam Fedor <fedor@gnu.org>
931
932 * gdb.base/default.exp: Update expected output to include 'ObjC'.
933 * gdb.base/help.exp: Likewise.
934
abe1a5d0
KB
9352002-10-17 Kevin Buettner <kevinb@redhat.com>
936
937 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
938 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
939
10abb1d4
JB
9402002-10-02 Jim Blandy <jimb@redhat.com>
941
942 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
943
1f609b42
AC
9442002-10-01 Andrew Cagney <ac131313@redhat.com>
945
946 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
947 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
948 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
949 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
950 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
951 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
952 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
953
0aee02e4
AC
9542002-09-29 Andrew Cagney <ac131313@redhat.com>
955
956 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
957 * mi0-disassemble.exp, mi0-eval.exp: Delete.
958 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
959 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
960 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
961 * mi0-var-block.exp, mi0-var-child.exp: Delete.
962 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
963
6fde09ad
KB
9642002-09-27 Kevin Buettner <kevinb@redhat.com>
965
966 * gdb.base/annota1.exp (info break): Make directory components of
967 path optional since not all compilers emit this debug information.
968
969 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
970 step ends up stepping out of the function instead of stopping on
971 the epilogue.
972
9e8aab75
KS
9732002-09-26 Keith Seitz <keiths@redhat.com>
974
975 * lib/insight-support.exp (gdbtk_start): Figure out where
976 the insight executable is based on where gdb is. Use this
977 executable to start insight instead of gdb.
978
e36180d7
AC
9792002-09-25 Andrew Cagney <cagney@redhat.com>
980
981 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
982
9dd34b2b
AC
9832002-09-24 Andrew Cagney <ac131313@redhat.com>
984
985 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
986 test_isolated_complaints.
987 (test_empty_complaint): New function.
988 (test_empty_complaints): New function. Check no output when no
989 complaints.
990
dea97812
KB
9912002-09-19 Jim Blandy <jimb@redhat.com>
992
993 * gdb.base/charset.exp, gdb.base/charset.c: New files.
994
54951bd7
AC
9952002-09-19 Andrew Cagney <ac131313@redhat.com>
996
997 * gdb.gdb/complaints.exp: New file.
998
dec43320
AC
9992002-09-18 Andrew Cagney <ac131313@redhat.com>
1000
1001 * gdb.base/maint.exp: Check `help maint internal-warning'.
1002
e70d6e3f
DC
10032002-09-18 David Carlton <carlton@math.stanford.edu>
1004
1005 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1006 numbers, and replace them by a single breakpoint after the
1007 constructors are all finished.
1008 Add test 4.
1009 * gdb.c++/m-static.cc: Add test 4.
1010 * gdb.c++/m-static.h: New file.
1011 * gdb.c++/m-static1.cc: New file.
1012
1013 * gdb.c++/printmethod.exp: New file.
1014 * gdb.c++/printmethod.cc: New file.
1015
1016 * gdb.c++/pr-574.exp: New file.
1017 * gdb.c++/pr-574.cc: New file.
1018
afb5c968
CV
10192002-09-18 Corinna Vinschen <vinschen@redhat.com>
1020
1021 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1022 embedded targets which never actually exit.
1023
31e45dee
FN
10242002-09-18 Fernando Nasser <fnasser@redhat.com>
1025
1026 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1027 "don't step after run" as unresolved or unsupported, instead of xfail.
1028
a283c5a1
CV
10292002-09-18 Corinna Vinschen <vinschen@redhat.com>
1030
1031 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1032 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1033 Add newline to expected string in "step out of main (status wrapper)"
1034 case.
1035
11350d2a
CV
10362002-09-18 Corinna Vinschen <vinschen@redhat.com>
1037
1038 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1039 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1040
0deec7d6
TT
10412002-09-17 Tom Tromey <tromey@redhat.com>
1042
1043 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1044 \000, not \0, in double-quoted string.
1045
b2b4a1b5
CV
10462002-09-14 Corinna Vinschen <vinschen@redhat.com>
1047
1048 * gdb.base/command.exp: Don't expect a "Program exited normally"
1049 string after running the commands execution on breakpoint tests.
1050
1c56143a
CV
10512002-09-13 Corinna Vinschen <vinschen@redhat.com>
1052
1053 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1054
37f8da45
JB
10552002-09-12 Joel Brobecker <brobecker@gnat.com>
1056
1057 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1058
08b468e0
KS
10592002-09-10 Keith Seitz <keiths@redhat.com>
1060
1061 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1062 runto proc.
1063 (mi_run_to_main): Use mi_runto.
1064 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1065
dc360f58
KS
10662002-09-10 Keith Seitz <keiths@redhat.com>
1067
1068 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1069 regexp for stopping at main. Could have multiple event notifications.
1070 Don't assume that main was declared with no parameters.
1071 (mi_next): Use mi_step_to.
1072 (mi_step): Use mi_next_to.
1073
ce3abcfb
CV
10742002-09-09 Corinna Vinschen <vinschen@redhat.com>
1075
1076 * gdb.base/default.exp: Fix expected string in `info float' test.
1077
d1f5b980
BE
10782002-09-09 Ben Elliston <bje@redhat.com>
1079
1080 * config/mips.exp: Update comments.
1081 * config/mips-idt.exp: Likewise.
1082 * config/nind.exp: Likewise.
1083 * config/slite.exp: Likewise.
1084 * config/sparclet.exp: Likewise.
1085 * config/udi.exp: Likewise.
1086 * config/vx.exp: Likewise.
1087 * config/vxworks29k.exp: Likewise.
1088
2f71430b
JB
10892002-09-05 Jim Blandy <jimb@redhat.com>
1090
1091 * gdb.threads/killed.exp: Fix test failure message.
1092
7ddebc7e
KS
10932002-09-04 Keith Seitz <keiths@redhat.com>
1094
1095 * lib/mi-support.exp: Update copyright.
1096 (mi_gdb_test): Increase the priority of the expected pattern
1097 so that it matches gdb_test.
1098
0ae67eb3
KS
10992002-09-03 Keith Seitz <keiths@redhat.com>
1100
1101 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1102 Use integer comparison instead of string comparison for testing
1103 whether binary was built.
1104
38fc42c8
JB
11052002-09-03 Jim Blandy <jimb@redhat.com>
1106
1107 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1108
b6ff0e81
JB
11092002-08-29 Jim Blandy <jimb@redhat.com>
1110
1111 * gdb.threads/pthreads.exp: Move the portable thread compilation
1112 code into a function in lib/gdb.exp, and call that from here.
1113 * lib/gdb.exp (gdb_compile_pthreads): New function.
1114
07c98896
KS
11152002-08-29 Keith Seitz <keiths@redhat.com>
1116
1117 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1118 expect_out so that callers can get at it.
1119
0312286c
DJ
11202002-08-23 Daniel Jacobowitz <drow@mvista.com>
1121
1122 * gdb.threads/print-threads.c: New file.
1123 * gdb.threads/print-threads.exp: New file.
1124 * gdb.threads/schedlock.c: New file.
1125 * gdb.threads/schedlock.exp: New file.
1126
dd039bc4
EZ
11272002-08-22 Elena Zannoni <ezannoni@redhat.com>
1128
1129 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1130 not altivec.c.
1131
1f36144c
MK
11322002-08-17 Mark Kettenis <kettenis@gnu.org>
1133
1134 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1135 targets. The problem should be fixed now.
1136
16057ec7 11372002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1138
1139 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1140 2002-07-24 change that removes final dots from error messages.
1141
3c1499ad
TT
11422002-08-13 Tom Tromey <tromey@redhat.com>
1143
1144 * gdb.base/readline.exp: New file.
1145
a20ce2c3
AC
11462002-08-01 Andrew Cagney <ac131313@redhat.com>
1147
1148 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1149 supress message.
1150
db034ac5
AC
11512002-08-01 Andrew Cagney <cagney@redhat.com>
1152
1153 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1154 CHILL_FOR_TARGET and CHILL_LIB.
1155 * configure.in (configdirs): Remove gdb.chill.
1156 * configure: Regenerate.
1157 * lib/gdb.exp: Obsolete references to chill.
1158 * gdb.fortran/types.exp: Ditto.
1159 * gdb.fortran/exprs.exp: Ditto.
1160
3e000b18
KB
11612002-07-30 Kevin Buettner <kevinb@redhat.com>
1162
1163 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1164 set Irix-specific compile and link flags.
1165
28f4966b
KB
11662002-07-29 Kevin Buettner <kevinb@redhat.com>
1167
1168 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1169 source files. The ``-o'' option doesn't work with the ``-E'' option
1170 when using the Irix compiler.
1171
46c0d5a6
DJ
11722002-07-19 Daniel Jacobowitz <drow@mvista.com>
1173
1174 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1175 Improve support for reusing an exec file. Copy exec file
1176 to target, and run gdbserver on the target instead of on the host.
1177
eecf4bed
JB
11782002-07-18 Jim Blandy <jimb@redhat.com>
1179
0f815cdf
JB
1180 * gdb.base/ending-run.exp: Don't expect to see the program end in
1181 some orderly fashion when we're running on a real stand-alone
1182 board.
1183
eecf4bed
JB
1184 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1185 targets that don't support interrupts.
1186
52d309e4
JB
11872002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1188
1189 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1190 systems.
1191 Move comments in expect statements to inside the actions, so that they
1192 don't get matched against.
1193
ff683d9e
MK
11942002-07-10 Mark Kettenis <kettenis@gnu.org>
1195
1196 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1197 function when asleep" test.
1198
b5356753
AC
11992002-07-10 Andrew Cagney <ac131313@redhat.com>
1200
1201 * gdb.base/page.exp: Rewrite to handle problems with very long
1202 `info set' output. Update copyright.
1203
6aa4d13a
AC
12042002-06-26 Andrew Cagney <ac131313@redhat.com>
1205
1206 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1207 gdb.threads-hp.
1208 * gdb.hp/configure: Regenerate.
1209 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1210 * gdb.hp/gdb.threads-hp/configure: Delete file.
1211 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1212
8cf8c2b8
AC
12132002-06-22 Andrew Cagney <ac131313@redhat.com>
1214
1215 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1216 setlocale, bindtextdomain and textdomain.
1217
6827a8f8
JB
12182002-06-11 Jim Blandy <jimb@redhat.com>
1219
919d772c
JB
1220 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1221 preprocessor macro information is present.
1222
6827a8f8
JB
1223 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1224 tests.
1225
c15b0d21
MS
12262002-06-06 Michael Snyder <msnyder@redhat.com>
1227
c5984d70
MS
1228 * gdb.base/overlays.exp: Record addresses of overlay
1229 functions in TCL variables rather than in GDB variables,
1230 to avoid having GDB convert them to pointers (with loss
1231 of information).
1232
99a8512b
MS
1233 * gdb.base/d10v.ld: Merge in several years worth of
1234 default linker script changes.
c15b0d21
MS
1235 * gdb.base/long_long.exp: Add check for sizeof (long double).
1236
be26fe0d
ML
12372002-06-06 Michal Ludvig <mludvig@suse.cz>
1238
1239 * gdb.asm/asm-source.exp: Add x86-64 target.
1240 * gdb.asm/x86_64.inc: New.
1241
258093ca 12422002-05-30 Michael Chastain <mec@shout.net>
258093ca 1243
4b3153f1 1244 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1245 * gdb.c++/m-static.cc: New file.
1246 * gdb.c++/m-static.exp: New file.
1247
241264c6
MS
12482002-05-28 Michael Snyder <msnyder@redhat.com>
1249
1250 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1251 precision.
1252
9bba8c8f 12532002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1254
4b3153f1 1255 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1256 * gdb.c++/m-data.cc: New file.
1257 * gdb.c++/m-data.exp: New file.
1258
12592002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1260
4b3153f1 1261 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1262 * gdb.c++/try_catch.cc: New file.
1263 * gdb.c++/try_catch.exp: New file.
1264
def1b996
MC
12652002-05-27 Michael Chastain <mec@shout.net>
1266
1267 * gdb.c++/local.exp: Accept more nested types in output.
1268
522ba268
MC
12692002-05-26 Michael Chastain <mec@shout.net>
1270
1271 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1272
277254ba
MS
12732002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1274
1275 * lib/gdb.exp (gdb_wrapper_init): Just because
1276 gdb_wrapper_file exists, this does not mean that the file
1277 should not be rebuilt. That is what gdb_wrapper_initialized
1278 is for.
1279 (default_gdb_init): Reset gdb_wrapper_initialized.
1280
b61a8733
MS
12812002-05-23 Michael Snyder <msnyder@redhat.com>
1282
5bdb6d01
MS
1283 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1284 the precision of the floating point test results.
1285 * gdb.base/call-rt-st.exp: Ditto.
1286
b61a8733
MS
1287 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1288 * gdb.base/call-rt-st.exp: Ditto.
1289
56f6e910
MC
12902002-05-19 Michael Chastain <mec@shout.net>
1291
1292 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1293
ad0b0016
EZ
12942002-05-19 Elena Zannoni <ezannoni@redhat.com>
1295
1296 * configure.in (configdirs): Add gdb.arch.
1297 * configure: Regenerate.
1298
f617d2b6
JB
12992002-05-17 Jim Blandy <jimb@redhat.com>
1300
1301 * gdb.base/completion.exp: Recognize the more detailed error
1302 messages produced by the macro expander's lexical analyzer.
1303
eac2a696
EZ
13042002-05-14 Elena Zannoni <ezannoni@redhat.com>
1305
1306 * gdb.arch/altivec-abi.c: New file.
1307 * gdb.arch/altivec-abi.exp: New file.
1308 * gdb.arch/altivec-regs.c: New file.
1309 * gdb.arch/altivec-regs.exp: New file.
1310
2fdde8f8
DJ
13112002-05-14 Daniel Jacobowitz <drow@mvista.com>
1312
1313 * gdb.base/maint.exp (maint print type): Update for new type
1314 structure.
eac2a696 1315
e31f1a7c
EZ
13162002-05-14 Elena Zannoni <ezannoni@redhat.com>
1317
1318 * gdb.arch: New directory.
1319 * gdb.arch/configure.in: New file.
1320 * gdb.arch/configure: New file.
1321 * gdb.arch/Makefile.in: New file.
1322
db589741
CV
13232002-05-13 Corinna Vinschen <vinschen@redhat.com>
1324
1325 * gdb.asm/asm-source.exp: Add v850 as supported target.
1326 * gdb.asm/v850.inc: New file.
1327
8ce2a7dc
DJ
13282002-05-13 Daniel Jacobowitz <drow@mvista.com>
1329
1330 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1331
df763c7f
DJ
13322002-05-12 Daniel Jacobowitz <drow@mvista.com>
1333
1334 * gdb.base/break.exp: Check 'break "marker2"'.
1335
377daeed
MS
13362002-05-10 Michael Snyder <msnyder@redhat.com>
1337
1338 * gdb.base/long_long.exp: Fix typo.
1339
c4b7bc2b
JB
13402002-05-10 Jim Blandy <jimb@redhat.com>
1341
ecac9a4e
JB
1342 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1343 a bug.
1344
c4b7bc2b
JB
1345 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1346 Recognize more detailed error message produced by the macro
1347 expander's lexical analyzer.
1348 * lib/gdb.exp (test_print_reject): Same.
1349
e71019a1
MK
13502002-05-09 Mark Kettenis <kettenis@gnu.org>
1351
1352 * gdb.c++/method.exp: Fix typo.
1353
fedfc8e6
MS
13542002-05-08 Michael Snyder <msnyder@redhat.com>
1355
166a1957
MS
1356 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1357 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1358 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1359 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1360 Add iftarget clause for strongarm.
1361
f1c47eb2
MS
13622002-05-06 Michael Snyder <msnyder@redhat.com>
1363
cb9a9d3e
MS
1364 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1365 (gdb_continue_to_end): Accept output from status wrapper.
1366 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1367 Clean up fail messages to match pass messages.
1368
f1c47eb2
MS
1369 Enable the "needs_status_wrapper" testsuite feature.
1370 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1371 (gdb_compile): Conditionally call gdb_wrapper_init.
1372 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1373 * gdb.c++/method.exp: Recognize output from status wrapper.
1374
6079c749
BE
13752002-05-06 Ben Elliston <bje@redhat.com>
1376From Graydon Hoare <graydon@redhat.com>
1377
1378 * config/sid.exp: Include support for "rawsid" protocol.
1379
188baff3
JB
13802002-05-03 Jim Blandy <jimb@redhat.com>
1381
1382 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1383 * gdb.c++/hang3.C: New file.
1384
b9c07f0f
AC
13852002-05-04 Andrew Cagney <ac131313@redhat.com>
1386
1387 * gdb.base/default.exp: Remove obsolete code.
1388 * gdb.c++/misc.exp: Ditto. Update copyright.
1389 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1390 * gdb.base/whatis.exp: Ditto. Update copyright.
1391 * gdb.base/scope.exp: Ditto. Update copyright.
1392 * gdb.base/ptype.exp: Ditto. Update copyright.
1393 * gdb.base/printcmds.exp: Ditto. Update copyright.
1394 * gdb.base/opaque.exp: Ditto. Update copyright.
1395 * gdb.base/list.exp: Ditto.
1396 * gdb.base/funcargs.exp: Ditto. Update copyright.
1397 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1398 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1399 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1400 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1401 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1402 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1403
5c7a0397
MS
14042002-05-02 Michael Snyder <msnyder@redhat.com>
1405
d6dcc264 1406 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1407 * gdb.base/long_long.exp: Add xscale target.
1408 * gdb.base/default.exp: Add xscale target.
1409
eb7f1c48
JB
14102002-05-01 Jim Blandy <jimb@redhat.com>
1411
1412 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1413 gdb.c++/hang.exp: New test.
1414
a6befae8
FF
14152002-05-01 Fred Fish <fnf@redhat.com>
1416
1417 * gdb.base/completion.exp: Handle completions of "./Make" for
1418 more than one completion possibility, as is the case when we
1419 build and test in the source tree.
1420
0a310277
AG
14212002-04-29 Anthony Green <green@redhat.com>
1422
1423 * gdb.java/jmisc1.exp: New file.
1424 * gdb.java/jmisc2.exp: New file.
1425
6ff9af88
DJ
14262002-04-24 Daniel Jacobowitz <drow@mvista.com>
1427
1428 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1429
96b3d632
EZ
14302002-04-23 Elena Zannoni <ezannoni@redhat.com>
1431
1432 * gdb.base/help.exp: Change 'help status' to allow for target
1433 dependent output differences.
1434
5019bb54
MC
14352002-04-22 Michael Chastain <mec@shout.net>
1436
1437 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1438
a805a116
MC
14392002-04-22 Michael Chastain <mec@shout.net>
1440
1441 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1442
a1706bfd
DM
14432002-04-17 David S. Miller <davem@redhat.com>
1444
1445 * gdb.asm/sparc64.inc: New file.
1446 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1447
a73a20a2
EZ
14482002-04-19 Elena Zannoni <ezannoni@redhat.com>
1449
1450 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1451 instruction file directly into the build tree. Clean up at end of
1452 test.
1453
ba678339
DM
14542002-04-18 David S. Miller <davem@redhat.com>
1455
1456 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1457 handle 64-bit platforms correctly.
1458 * gdb.base/maint.exp: Likewise.
1459
b03399da
KB
14602002-04-18 Kevin Buettner <kevinb@redhat.com>
1461
1462 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1463 ``-fpic'' when compiling files comprising a shared library, but
1464 it does need additional linker flags in order to find shared
1465 libraries at run time.
1466
e2004992
KB
14672002-04-18 Kevin Buettner <kevinb@redhat.com>
1468
1469 * gdb.base/cvexpr.c (use): New function.
1470 (main): Invoke use() on all global variables to prevent
1471 some linkers from deleting these otherwise unused symbols.
1472
d8937120
MC
14732002-04-17 Michael Chastain <mec@shout.net>
1474From David S. Miller <davem@redhat.com>
1475
1476 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1477 handle 64-bit platforms correctly.
1478
ffd61a58
MS
14792002-04-12 Michael Snyder <msnyder@redhat.com>
1480From Jim Blandy <jimb@redhat.com>
1481 * gdb.base/foo.c (foox): Remove section attribute; the linker
1482 script can handle this instead.
1483 * gdb.base/bar.c (barx): Same.
1484 * gdb.base/baz.c (bazx): Same.
1485 * gdb.base/grbx.c (grbxx): Same.
1486
1487 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1488 manager doesn't automatically unmap overlays unnecessarily.
1489
6b8426a6
MH
14902002-04-10 Martin M. Hunt <hunt@redhat.com>
1491
1492 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1493 stepping out of main.
1494
34af4875
MC
14952002-04-09 Michael Chastain <mec@shout.net>
1496
1497 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1498 scope so that the nested scope tests will make sense.
1499 * gdb.c++/local.exp: Write patterns that actually work with gcc
1500 (the HP patterns "were never known to work with gcc").
1501 Keep the old aCC patterns too.
1502
2d1676a0
DJ
15032002-04-09 Daniel Jacobowitz <drow@mvista.com>
1504
1505 * gdb.base/attach.exp: Correct target board test.
1506
3a63e3f9
MC
15072002-04-08 Michael Chastain <mec@shout.net>
1508
1509 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1510 in a const method. Add some xfail and fail cases for configurations
1511 that do not emit the "const ...".
1512
f18dabd2
MC
15132002-04-07 Michael Chastain <mec@shout.net>
1514
1515 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1516 Accept "A * const" and "const A * const" as type of "this".
1517 Fix spelling of getFunky throughout. Make messages uniform.
1518
0fcddd82
EZ
15192002-04-07 Elena Zannoni <ezannoni@redhat.com>
1520
1521 Work around for PR gdb/285:
1522 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1523
16a8534a
EZ
15242002-04-07 Elena Zannoni <ezannoni@redhat.com>
1525
1526 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1527 instructions file at run time instead of configure time.
1528 Sometimes we run the test in a directory that is not the one we
1529 configured in.
1530 * gdb.asm/configure.in: Delete creation of symlink.
1531 * gdb.asm/configure: Regenerate.
1532
24181d81
JB
15332002-04-05 J. Brobecker <brobecker@gnat.com>
1534
1535 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1536 xfullpath () function.
1537
7cdb7107
DJ
15382002-04-04 Daniel Jacobowitz <drow@mvista.com>
1539
1540 * gdb.asm/Makefile.in: Correct dependencies.
1541
1542 * gdb.asm/powerpc.inc: New file.
1543 * gdb.asm/asm-source.exp: Add PowerPC.
1544 * gdb.asm/configure.in: Likewise.
1545 * gdb.asm/configure: Regenerated.
1546
a7d17088
DJ
15472002-04-04 Daniel Jacobowitz <drow@mvista.com>
1548
1549 * gdb.base/relocate.exp: New file.
1550 * gdb.base/relocate.c: New file.
1551
cd721503
FF
15522002-04-04 Fred Fish <fnf@redhat.com>
1553
1554 * gdb.base/step-test.exp: Update comment regarding stopping in
1555 memcpy/bcopy calls inserted as part of the compiler runtime.
1556
b22ad7a7
MS
15572002-04-04 Michael Snyder <msnyder@redhat.com>
1558
1559 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1560
5f279fa6
DJ
15612002-04-03 Daniel Jacobowitz <drow@mvista.com>
1562
1563 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1564 (gdb_expect): Remove $notransfer hack.
1565
dd0fd3ce
DJ
15662002-04-02 Daniel Jacobowitz <drow@mvista.com>
1567
1568 * gdb.c++/classes.exp ("calling method for small class"): Match
1569 updated register output.
1570
1e50cda1
DJ
15712002-03-30 Daniel Jacobowitz <drow@mvista.com>
1572
1573 Fix PR gdb/452
1574 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1575 when finished. Make gdb_file_cmd send "exec-file" when
1576 appropriate.
1577
24015922
DJ
15782002-03-30 Daniel Jacobowitz <drow@mvista.com>
1579
1580 * gdb.base/attach.exp: Remove extra setup_xfail.
1581
dd7dfd64
MS
15822002-03-26 Michael Snyder <msnyder@redhat.com>
1583
1584 * gdb.base/default.exp: Add tests for dump, append, and restore.
1585 * gdb.base/help.exp: Add tests for dump, append, and restore.
1586 * gdb.base/dump.exp: New file, test dump, append and restore.
1587 * gdb.base/dump.c: New file.
1588
48b2f8d7
MS
15892002-03-27 Michael Snyder <msnyder@redhat.com>
1590
1591 * gdb.base/help.exp: Modify expect strings to reflect
1592 clean-ups in help messages.
1593
05b4d525
FF
15942002-03-26 Fred Fish <fnf@redhat.com>
1595
1596 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1597 have debugging info for those functions and the compiler uses them
1598 internally to copy structs around.
1599
d7679631
FF
16002002-03-26 Fred Fish <fnf@redhat.com>
1601
1602 * gdb.base/list.exp: Revert the change made yesterday and add note
1603 about why we don't list the default lines for remote targets.
1604
523ac3f9
MS
16052002-03-25 Michael Snyder <msnyder@redhat.com>
1606
1607 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1608
754b2b8d
FF
16092002-03-25 Fred Fish <fnf@redhat.com>
1610
1611 * gdb.base/list.exp: This test works on remote targets so remove
1612 the short circuit for remote targets. Update copyright.
1613
33c3e192
FF
16142002-03-25 Fred Fish <fnf@redhat.com>
1615
1616 * gdb.base/attach.exp: Fix logic error that was suppressing this
1617 test for all non hppa*-*-hpux* targets, instead of the hp target.
1618 Move comments closer to the suppression point. Also now need to
1619 check that we are running natively.
1620
d43e73ee
MS
16212002-03-22 Michael Snyder <msnyder@redhat.com>
1622
882c8f02
MS
1623 * gdb.base/default.exp: Add test for gcore. Update copyright.
1624 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1625
04c12f60
FF
16262002-03-06 Fred Fish <fnf@redhat.com>
1627
1628 * gdb.base/funcargs.c: Remove extraneous ';' character.
1629 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1630
b43df995
MC
16312002-03-04 Michael Chastain <mec@shout.net>
1632
1633 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1634 accommodate gcc v3 function signature.
1635 * gdb.mi/mi0-var-cmd-exp: Ditto.
1636
92362027
AC
16372002-02-24 Andrew Cagney <ac131313@redhat.com>
1638
1639 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1640 ``GNU/Linux'' or ``Linux kernel''
1641 * testsuite/gdb.threads/pthreads.c: Ditto.
1642
258ad32d
MC
16432002-02-24 Michael Chastain <mec@shout.net>
1644
1645 * gdb.threads/pthreads.c (thread1): Add a return statement.
1646 (thread2): Likewise.
1647 (foo): Likewise.
1648
04c3b3d4
MC
16492002-02-23 Michael Chastain <mec@shout.net>
1650
1651 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1652 to placate gcc.
1653
5a2a0a20
MC
16542002-02-23 Michael Chastain <mec@shout.net>
1655
1656 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1657 test "ptype bint". The test passes on all my stabs configurations.
1658
a640f7fc
JB
16592002-02-21 Jim Blandy <jimb@redhat.com>
1660
27924826
JB
1661 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1662 filename at a time, and watch for the ones we want to see.
1663
a640f7fc
JB
1664 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1665 types of pointers to prototyped functions.
1666
edcc8c75
AC
16672002-02-20 Andrew Cagney <ac131313@redhat.com>
1668
1669 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1670 signed, unsigned and straight char.
1671 (padding_char, padding_short, padding_int, padding_long,
1672 padding_long_long, padding_float, padding_double,
1673 padding_long_double): New global variables.
1674 (fill, fill_structs): New functions.
1675
1676 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1677 for correctly sized writes. Update copyright.
1678 (get_valueof): New procedure.
1679 (get_sizeof): Call get_valueof.
1680 (check_valueof): New procedure.
1681 (check_padding): New procedure.
1682
ac57ea44
MC
16832002-02-20 Michael Chastain <mec@shout.net>
1684
1685 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1686 to setup_xfail. Document some of the remaining calls.
1687
7a10c941
MC
16882002-02-18 Michael Chastain <mec@shout.net>
1689
1690 * gdb.c++/userdef.exp: Update copyright year.
1691
fb8acdcc
DJ
16922002-02-18 Daniel Jacobowitz <drow@mvista.com>
1693
1694 * gdb.c++/userdef.exp: Test overloaded operators properly.
1695 Remove xfails.
1696
fda6ae12
MS
16972002-02-14 Michael Snyder <msnyder@redhat.com>
1698
1699 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1700
676a0442
DJ
17012002-02-14 Daniel Jacobowitz <drow@mvista.com>
1702
1703 * gdb.base/a2-run.exp: Check for a remote target properly.
1704 * gdb.base/annota1.exp: Likewise.
1705 * gdb.base/list.exp: Likewise.
1706 * gdb.base/reread.exp: Likewise.
1707 * gdb.base/scope.exp: Likewise.
1708 * gdb.base/shlib-call.exp: Likewise.
1709 * gdb.base/term.exp: Likewise.
1710 * gdb.c++/annota2.exp: Likewise.
1711
78b4f468
RE
17122002-02-13 Richard Earnshaw <rearnsha@arm.com>
1713
1714 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1715
9a81ba51
MC
17162002-02-10 Michael Chastain <mec@shout.net>
1717
1718 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1719 (call_after_alloca): Ditto.
1720
004af6c7
DJ
17212002-02-10 Daniel Jacobowitz <drow@mvista.com>
1722
1723 * gdb.base/ending-run.exp: Guard "cont" test with
1724 gdb_skip_stdio_test.
1725
37225f62
JB
17262002-02-06 Jim Blandy <jimb@redhat.com>
1727
1728 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1729 from here...
1730 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1731 To here. Disable this test on non-HP platforms. Add big comment.
1732
fe6fdd96
MS
17332002-02-04 Michael Snyder <msnyder@redhat.com>
1734
1735 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1736 other than d10v and m32r.
1737
036fad3f
RE
17382002-02-02 Richard Earnshaw <rearnsha@arm.com>
1739
1740 * gdb.base/default.exp: Rewrite test patterns to reduce time
1741 taken to match them.
1742
7148ab62
DJ
17432002-01-30 Daniel Jacobowitz <drow@mvista.com>
1744
1745 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1746 Allow a start function above main.
1747 * gdb.threads/linux-dp.exp: Fix copyright date.
1748
396cc255
DJ
17492002-01-30 Daniel Jacobowitz <drow@mvista.com>
1750
1751 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1752 (check_philosopher_stack): Check for manager thread before checking
1753 for a just-starting thread.
1754
f038d31b
DJ
17552002-01-30 Daniel Jacobowitz <drow@mvista.com>
1756
1757 From Neil Booth <neil@daikokuya.demon.co.uk>:
1758 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1759 warnings.
1760
b3ff9d9a
FF
17612002-01-21 Fred Fish <fnf@redhat.com>
1762
1763 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1764 not caller.
1765
39ad761d
JB
17662002-01-21 Jim Blandy <jimb@redhat.com>
1767
1768 * gdb.base/reread.exp: Check that GDB properly re-reads the
1769 executable file when it changes while no inferior is running.
1770
aaf320fa
FF
17712002-01-21 Fred Fish <fnf@redhat.com>
1772
1773 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1774 optionally accept the "shlib events" variation.
1775
808a31f5
JB
17762002-01-21 Jim Blandy <jimb@redhat.com>
1777
1778 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1779 call `fflush' after every `printf', so that the output is produced
1780 at predictable points, regardless of whatever buffering does (or
1781 doesn't) take place.
1782 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1783 at different points.
1784
4420d5e2
DJ
17852002-01-20 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * gdb.c++/inherit.exp: Update copyright years.
1788 * gdb.c++/method.exp: Likewise.
1789
3e36a0f4
DJ
17902002-01-20 Daniel Jacobowitz <drow@mvista.com>
1791
1792 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1793 artificial methods/arguments.
1794 * gdb.c++/derivation.exp: Likewise.
1795 * gdb.c++/inherit.exp: Likewise.
1796 * gdb.c++/method.exp: Likewise.
1797 * gdb.c++/virtfunc.exp: Likewise.
1798
b4ceaee6
AC
17992002-01-18 Andrew Cagney <ac131313@redhat.com>
1800
1801 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1802 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1803 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1804 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1805 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1806 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1807
ecace851
JB
18082002-01-17 Jim Blandy <jimb@redhat.com>
1809
1810 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1811 anchoring the pattern matching the entry point symbol's name.
1812
375fc983
AC
18132002-01-17 Andrew Cagney <ac131313@redhat.com>
1814
1815 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1816 continue/quit query. Update copyright.
1817
fe6fdd96
MS
18182002-01-14 Michael Snyder <msnyder@redhat.com>
1819
1820 * gdb.base/gcore.exp: Remove extra debugging output.
1821
e017c81f
DJ
18222002-01-13 Daniel Jacobowitz <drow@mvista.com>
1823
1824 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1825 for slightly dubious v2 mangled string.
1826
37ab3bf8
DJ
18272002-01-13 Daniel Jacobowitz <drow@mvista.com>
1828
1829 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1830
1bc05c3a 18312002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1832
1bc05c3a 1833 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1834
1bc05c3a
JM
1835 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1836 constructors.
1837 * gdb.c++/derivation.exp: Likewise.
1838 * gdb.c++/templates.exp: Likewise.
1839 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1840
1bc05c3a
JM
18412002-01-10 Michael Snyder <msnyder@redhat.com>
1842
1843 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1844
a911c360
MS
18452002-01-08 Michael Snyder <msnyder@redhat.com>
1846
1847 * gdb.base/gcore.exp: New test for generate-core-file command.
1848 * gdb.base/gcore.c: Testcase for above.
1849 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1850
ea2119ec
JM
18512002-01-08 Jason Merrill <jason@redhat.com>
1852
1853 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1854
68203136
FF
18552002-01-07 Fred Fish <fnf@redhat.com>
1856
1857 * gdb.c++/overload.exp: Remove unconditional xfails for:
1858 print foo_instance1.overloadargs(1)
1859 print foo_instance1.overloadargs(1, 2)
1860 print foo_instance1.overloadargs(1, 2, 3)
1861 print foo_instance1.overloadargs(1, 2, 3, 4)
1862 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1863 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1864 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1865 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1866 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1867 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1868 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1869 print foo_instance1.overload1arg()
1870 print foo_instance1.overload1arg((char)arg2)
1871 print foo_instance1.overload1arg((signed char)arg3)
1872 print foo_instance1.overload1arg((unsigned char)arg4)
1873 print foo_instance1.overload1arg((int)arg7)
1874 print foo_instance1.overload1arg((unsigned int)arg8)
1875 print foo_instance1.overload1arg((float)arg11)
1876 print foo_instance1.overload1arg((double)arg12)
1877
21b9b5b1
MS
18782002-01-07 Michael Snyder <msnyder@redhat.com>
1879
1880 * gdb.base/huge.exp: New test. Print a very large target data object.
1881 (skip_huge_test): New test variable. Define if you want to skip this
1882 test. The test reads an 8 megabyte data object from the target, so it
1883 might be very time consuming on remote targets with a slow connection.
1884 * gdb.base/huge.c: New file. Test case for above.
1885
725f922e
FF
18862002-01-07 Fred Fish <fnf@redhat.com>
1887
1888 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1889 g_instance.bfoo, and g_instance.cfoo.
1890
634d57ec
JL
1891Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1892
f286b2c3
JL
1893 * gdb.base/break.c (multi_line_if_conditional): New function.
1894 (multi_ilne_while_conditional): Likewise.
1895 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1896 IF or WHILE condition puts the breakpoint at the start of
1897 the condition.
1898
634d57ec
JL
1899 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1900 hppa*-*-hpux* expected failure.
1901 * gdb.base/structs.exp (do_function_calls): Similarly.
1902
1903 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1904 watchpoints.
1905
9fbfe2dc
AC
19062002-01-06 Andrew Cagney <ac131313@redhat.com>
1907
1908 Fix PR gdb/66.
1909 * gdb.base/structs.exp: Replace skip for a29k with skip for
1910 gdb,cannot_call_functions.
1911 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1912 * gdb.base/callfuncs.exp: Ditto.
1913 * gdb.base/call-rt-st.exp: Ditto.
1914 * gdb.base/call-strs.exp: Ditto.
1915 * gdb.base/callfwmall.exp: Ditto.
1916 * gdb.base/scope.exp: Obsolete xfail a29k.
1917 * gdb.c++/misc.exp: Ditto.
1918 * gdb.c++/cplusfuncs.exp: Ditto.
1919 * gdb.base/ptype.exp: Ditto.
1920 * gdb.base/printcmds.exp: Ditto.
1921 * gdb.base/opaque.exp: Ditto.
1922 * gdb.base/list.exp: Ditto.
1923 * gdb.base/funcargs.exp: Ditto.
1924 * gdb.base/default.exp: Ditto.
1925
8ddad156
MS
19262002-01-04 Michael Snyder <msnyder@redhat.com>
1927
ca4976a6 1928 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1929 * gdb.base/maint.exp: Add tests for maint info sections options.
1930
1b074332
JL
1931Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1932
1933 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1934
7d159115
CV
19352001-12-20 Corinna Vinschen <vinschen@redhat.com>
1936
1937 * gdb.asm/arm.inc: New file.
1938 * gdb.asm/asm-source.exp: Add arm targets.
1939 * gdb.asm/configure.in: Ditto.
1940 * gdb.asm/configure: Recreated from configure.in.
1941
8fb87725
JL
1942Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1943
afabe08c
JL
1944 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1945 with HP's compiler.
1946 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1947 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1948 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1949 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1950
1951 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1952 either HP's compilers or GCC.
1953
db521deb
JL
1954 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1955 a SIGBUS or SIGSEGV.
1956
1957 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1958
1959 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1960 can be compiled with either HP's compiler or GCC.
1961
cfa88ab7
JL
1962 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1963 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1964 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1965
ca344dff
JL
1966 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1967 to match current gdb output. Update due to using auto-solib-limit
1968 for limiting instead of overloading auto-solib-add.
1969 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1970 test program.
1971
3f3c6e55 1972 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1973 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1974 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1975 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1976 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1977 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1978 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1979 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1980 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1981 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1982 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1983 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1984 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1985
8fb87725
JL
1986 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1987 a SIGTRAP to the inferior.
1988
cf599fa7
CV
19892001-12-19 Corinna Vinschen <vinschen@redhat.com>
1990
1991 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1992 Substitute call to target_link by call to gdb_compile.
1993
2cd045cd
JL
1994Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1995
1996 * gdb.base/break.exp: Fix HP specific search string when testing
1997 backtracing in a called function.
1998
1999 * gdb.base/constvars.exp: Only set lang to C++ if we're
2000 compiling the test with HP's compilers.
2001 * gdb.base/volatile.exp: Similarly.
2002
99ebe9ac
JB
20032001-12-19 Jim Blandy <jimb@redhat.com>
2004
2005 * gdb.base/printcmds.exp: Expect the null character to be printed
2006 as '\0', and the '\013' to be printed as '\v'.
2007 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2008 * gdb.base/setvar.exp: Same.
2009
b9891b29
JB
20102001-12-17 Jim Blandy <jimb@redhat.com>
2011
0eba65ab
JB
2012 * gdb.base/completion.exp: Rather than completing very long
2013 filenames, which can make the readline library produce output we
2014 don't recognize, cd to the directory first, and then complete
2015 using nice, short relative paths.
2016
6970b5b1
JB
2017 * gdb.base/completion.exp: On some systems, there is, in fact, a
2018 variable named `b' in scope, since GDB treats all static
2019 variables as being in scope. So use `no_var_named_this'
2020 instead of `b'.
2021
b9891b29
JB
2022 * gdb.base/corefile.exp: Recognize the message saying that GDB
2023 can't find the core file's registers as a failure.
2024
e6ccd35f
JSC
20252001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2026
2027 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2028 test expect string more specific.
2029
105ba819
CV
20302001-12-13 Corinna Vinschen <vinschen@redhat.com>
2031
2032 * gdb.asm/asm-source.exp: Add support for xstormy16.
2033 * gdb.asm/configure.in: Ditto.
2034 * gdb.asm/configure: Rebuild.
2035 * gdb.asm/xstormy16.inc: New file.
2036
e9e79dd9
FF
20372001-12-10 Fred Fish <fnf@redhat.com>
2038
2039 * gdb.base/maint.exp: Update to match changes in type dumping code.
2040
347dc97d
JB
20412001-12-10 Jim Blandy <jimb@redhat.com>
2042
2043 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2044 matching the entry point symbol's name at the beginning of the
2045 line.
2046
5178b9d6
DJ
20472001-12-07 Daniel Jacobowitz <drow@mvista.com>
2048
2049 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2050 gdb.c++/inherit.exp, gdb.c++/method.exp,
2051 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2052 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2053 and class layout support.
2054
af890c52
DJ
20552001-12-07 Daniel Jacobowitz <drow@mvista.com>
2056
2057 * gdb.c++/classes.exp: Add test for static member function.
2058 * gdb.c++/misc.cc: Add class with static member function.
2059
7a345fb3
JB
20602001-12-07 Jim Blandy <jimb@redhat.com>
2061
f2e54a80 2062 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2063 those tests as `unsupported'.
2064 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2065 Rewrite subsequent tests to use it.
2066
2067 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2068 those tests as `unsupported'.
2069 * gdb.base/structs.exp (call_struct_func): New function.
2070 (do_function_calls): Use call_struct_func to call the functions
2071 returning structs.
2072
0bc69509
JB
2073 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2074 whether functions are prototyped or not, so we can't possibly pass
2075 arguments to t_float_values2 properly.
2076
7a345fb3
JB
2077 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2078 value of `timeout' for targets other than the mips*tx39-*.
2079
edb6ede1
MS
20802001-12-06 Michael Snyder <msnyder@redhat.com>
2081
2082 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2083 and detect whether the start symbol has a leading underscore.
2084
2d842f13
JB
20852001-12-04 Jim Blandy <jimb@redhat.com>
2086
2087 * gdb.base/completion.exp: Clarify indentation.
2088
68550daf
JB
20892001-12-03 Jim Blandy <jimb@redhat.com>
2090
2091 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2092 variables on the S/390, not `.word'.
2093
cd5195a8
JB
20942001-11-30 Jim Blandy <jimb@redhat.com>
2095
2096 Add assembly-source tests for s390-ibm-linux.
2097 * gdb.asm/s390.inc: New file.
2098 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2099 the S/390 architecture.
2100 * gdb.asm/configure: Regenerated.
2101
ca9efc90
MS
21022001-11-30 Michael Snyder <msnyder@redhat.com>
2103
2104 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2105 next, info source, info sources, info line, global and static
2106 variables, and static functions.
2107 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2108 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2109 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2110 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2111 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2112 (gdbasm_leave): Restore frame pointer.
2113 (gdbasm_startup): Copy stack set-up from crt0.S.
2114
d0e66976
FN
21152001-11-26 Fernando Nasser <fnasser@redhat.com>
2116
2117 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2118 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2119 to a local (non-static) variable. Copy tstruct.a to a static buffer
2120 and return a pointer to that buffer.
2121 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2122
e2334072
MK
21232001-11-24 Mark Kettenis <kettenis@gnu.org>
2124
2125 * gdb.asm/configure.in: Fix recognition of ix86 target.
2126 * gdb.asm/configure: Regenerate.
2127
756caa3d
MS
21282001-11-21 Michael Snyder <msnyder@redhat.com>
2129
2130 * gdb.asm/sparc.inc: New file.
2131 * gdb.asm/asm-source.exp: Recognize sparc target.
2132 * gdb.asm/configure.in: Recognize sparc target.
2133 * gdb.asm/configure: Regenerate.
2134
9a4d72d5
MS
21352001-11-21 Michael Snyder <msnyder@redhat.com>
2136
2137 * gdb.asm/m32r.inc: New file.
2138 * gdb.asm/asm-source.exp: Recognize m32r target.
2139 * gdb.asm/configure.in: Recognize m32r target.
2140 * gdb.asm/configure: Regenerate.
2141
a773d1cd
MS
21422001-11-20 Michael Snyder <msnyder@redhat.com>
2143
017ac23d
MS
2144 * gdb.asm/i386.inc: New file.
2145 * gdb.asm/asm-source.exp: Recognize ix86 target.
2146 * gdb.asm/configure.in: Recognize ix86 target.
2147 * gdb.asm/configure: Regenerate.
2148
a773d1cd
MS
2149 * gdb.c++/namespace.exp: Fix quotes in output messages.
2150
bb632afb
MS
21512001-11-14 Michael Snyder <msnyder@redhat.com>
2152
25d559ca 2153 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2154 qualifier in a type cast expression, to designate an address
2155 in the instruction space (Harvard architecture).
2156
4749e309
MS
21572001-11-13 Michael Snyder <msnyder@redhat.com>
2158
2159 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2160 Tests for expressions using 'const' and 'volatile'.
2161
25050984
CV
21622001-11-13 Corinna Vinschen <vinschen@redhat.com>
2163
2164 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2165
1902c51f
DJ
21662001-11-12 Daniel Jacobowitz <drow@mvista.com>
2167
2168 * lib/mi-support.exp (mi_run_to_helper): Move comments
2169 outside of gdb_expect.
2170
dcf95b47
DJ
21712001-11-11 Daniel Jacobowitz <drow@mvista.com>
2172
2173 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2174 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2175 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2176 mi0_run_to): New functions.
2177 * gdb.mi/mi-simplerun.exp: Use them.
2178 * gdb.mi/mi0-simplerun.exp: Likewise.
2179 * gdb.mi/mi-var-cmd.exp: Likewise.
2180 * gdb.mi/mi0-var-cmd.exp: Likewise.
2181
45b074e1
AC
21822001-11-10 Andrew Cagney <ac131313@redhat.com>
2183
2184 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2185 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2186
bf50d346
AC
21872001-11-09 Andrew Cagney <ac131313@redhat.com>
2188
2189 * gdb.base/restore.exp: Include $expected value in restored test
2190 message.
2191
9383332c
AC
21922001-11-09 Andrew Cagney <ac131313@redhat.com>
2193
2194 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2195 implemented.
2196
db62520a
MS
21972001-11-08 Michael Snyder <msnyder@redhat.com>
2198
2199 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2200 Add pass/fail message for stop at breakpoint in call dummy function.
2201
b5703437
MS
22022001-11-07 Michael Snyder <msnyder@redhat.com>
2203
760f6330
MS
2204 * gdb.c++/templates.exp (test_template_breakpoints):
2205 If we get an overload menu, but it does not match what
2206 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2207 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2208 making the whitespace optional. Argument for "new" may be
2209 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2210 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2211 making the whitespace optional. Also replace "(void) with
2212 "((void|)), making the keyword "void" optional.
63f50499
MS
2213 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2214 making the whitespace optional. Also replace "(void) with
2215 "((void|)), making the keyword "void" optional.
3bf40917
MS
2216 * gdb.base/callfuncs.c (t_float_values): This function must
2217 _not_ be prototyped, and the following function (t_float_values2)
2218 must be prototyped (if the compiler supports it), so that GDB
2219 can be tested against both cases. Usually one case involves
2220 promotion of float to double, while the other does not.
2221 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2222 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2223 includes a stack frame for "start".
2224
c8ab4e6d
JB
22252001-11-05 Jim Blandy <jimb@redhat.com>
2226
2227 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2228 pointers are 32 bits long, and that offsets of relocs are always
2229 stored in the data (REL-style), and not in the reloc entry itself
2230 (RELA-style).
2231 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2232 stabs.
2233
3f08ced9
MS
22342001-11-01 Michael Snyder <msnyder@redhat.com>
2235
2236 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2237 and regular expression operators by using quoting.
2238
cbfa24cd
MS
22392001-10-31 Michael Snyder <msnyder@redhat.com>
2240
2241 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2242 depending on what the symbol table contains.
2243 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2244 the output of the ptype command. Similarly, accept both "const &"
2245 and "const&".
2246
aaa68313
CV
22472001-10-31 Corinna Vinschen <vinschen@redhat.com>
2248
2249 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2250 symbol `STORAGE' to allow to choose the storage class of
2251 the local datastructures.
2252 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2253 compiler directive.
2254
91740388
MS
22552001-10-30 Michael Snyder <msnyder@redhat.com>
2256
2257 * gdb.base/jump.exp: Allow it to run for all targets.
2258
1b7c05e7
CV
22592001-10-29 Corinna Vinschen <vinschen@redhat.com>
2260
2261 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2262 with new double_array size.
2263 (main): Change storage class of all local variables to static.
2264 Reduce size of double_array to 9.
2265 * gdb.base/call-ar-st.exp: Increase timeout value.
2266 Change expected output for double array to match new size in
2267 call-ar-st.c.
2268
36a22261
CV
22692001-10-29 Corinna Vinschen <vinschen@redhat.com>
2270
2271 * gdb.base/ending-run.exp: Create identical output when passing
2272 `step to end of run' case. Add regular expression branch satisfying
2273 Stormy16 target.
2274
92b8ae91
MK
22752001-10-28 Mark Kettenis <kettenis@gnu.org>
2276
2277 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2278 that we catch the expected failure under Linux/x86.
2279
cb135b83
OF
22802001-10-29 Orjan Friberg <orjanf@axis.com>
2281
2282 * gdb.base/setvar.exp: Escape curly braces.
2283 * gdb.stabs/weird.exp: Ditto.
2284
6884aa54
DJ
22852001-10-27 Daniel Jacobowitz <drow@mvista.com>
2286
2287 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2288 * gdm.mi/mi0-hack-cli.exp: Likewise.
2289
0398c9aa
AC
22902001-10-25 Andrew Cagney <ac131313@redhat.com>
2291
2292 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2293 messages.
2294
d20bf2e8
AC
22952001-10-21 Andrew Cagney <ac131313@redhat.com>
2296
2297 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2298 checking MI enabled.
2299
03dd63aa
CV
23002001-10-09 Corinna Vinschen <vinschen@redhat.com>
2301
2302 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2303
1d9d99f3
FCE
23042001-10-04 Frank Ch. Eigler <fche@redhat.com>
2305
2306 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2307 if gdb child process crashes, just signal an error.
2308
838ae6c4
JB
23092001-10-02 Jim Blandy <jimb@redhat.com>
2310
2311 * lib/gdb.exp (test_xfail_format): Simplify.
2312
2313 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2314 front of the variable name `format'. Simplify `if'.
2315
8f0cbc1c
DJ
23162001-10-01 Daniel Jacobowitz <drow@mvista.com>
2317
2318 * gdb.threads/pthreads.exp: Wait for output and delay
2319 before sending ^C.
2320
1f08dafd
DJ
23212001-10-01 Daniel Jacobowitz <drow@mvista.com>
2322
2323 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2324 some incorrect output instead of timing out.
2325 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2326
674f90ff
CV
23272001-09-28 Corinna Vinschen <vinschen@redhat.com>
2328
2329 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2330 check to allow additional `int'.
2331
9b284272
DJ
23322001-09-27 Daniel Jacobowitz <drow@mvista.com>
2333
2334 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2335 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2336
b55a4771
MS
23372001-09-27 Michael Snyder <msnyder@redhat.com>
2338
2339 * lib/gdb.exp (test_debug_format): New proc.
2340 (setup_xfail_format): Use new proc test_debug_format.
2341 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2342 proc; use new service proc test_debug_format.
2343 Replace all other "gcc_compiled" tests with this test.
2344 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2345 proc; use new service proc test_debug_format.
2346 Replace all other "gcc_compiled" tests with this test.
2347
23482001-09-27 Michael Snyder <msnyder@redhat.com>
2349
2350 * gdb.base/cvexpr.exp: New file.
2351 * gdb.base/cvexpr.c: New file
2352 Test for expressions using const and volatile keywords.
2353
4e6667ac
CV
23542001-09-26 Corinna Vinschen <vinschen@redhat.com>
2355
2356 * gdb.base/constvars.exp: Check for different orders of keywords
2357 and additional "int" strings in output.
2358
4f337972
AC
23592001-09-22 Andrew Cagney <ac131313@redhat.com>
2360
2361 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2362 responses from "help maint".
2363
2015650d
FCE
23642001-09-19 Frank Ch. Eigler <fche@redhat.com>
2365
2366 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2367 to localhost:NNN instead of :NNN, in case Xvfb is listening
2368 only on TCP.
2369
f3bcedc1
CV
23702001-09-19 Corinna Vinschen <vinschen@redhat.com>
2371
2372 * gdb.base/recurse.exp: When checking leaving the watchpoint
2373 scope, recognize when gdb is in function's epilogue and pass.
2374
6b819c92
KS
23752001-09-18 Keith Seitz <keiths@redhat.com>
2376
2377 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2378 support for running tests against sid targets.
2379 (gdbtk_done): Ditto.
2380
a10c9419
CV
23812001-09-18 Corinna Vinschen <vinschen@redhat.com>
2382
2383 * gdb.base/ending-run.c (main): Set stdout buffersize
2384 to the same reasonable value for any target.
2385 * gdb.base/ending-run.exp: Add a regular expression
2386 to make testsuite happy on Sanyo Stormy16 target.
2387
739d0d99
CV
23882001-09-17 Corinna Vinschen <vinschen@redhat.com>
2389
2390 * gdb.base/display.c (do_loops): Add float variable `f'.
2391 Increment f in loop.
2392 * gdb.base/display.exp: Increment timeout by 60 seconds.
2393 Change float display test to use variable `f'.
2394
1b8947f0
JB
23952001-09-17 Jim Blandy <jimb@redhat.com>
2396
2397 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2398 overflowing the limited breakpoint tables on some ROM monitors
2399 (like the ROM68K).
2400
9890ac81
FCE
24012001-09-15 Frank Ch. Eigler <fche@redhat.com>
2402
2403 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2404 the "-ac" (disable access control) flag.
2405
6db765ea
JH
24062001-08-30 Jeff Holcomb <jeffh@redhat.com>
2407
2408 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2409 ints.
2410
4c32cc04
KS
24112001-08-30 Keith Seitz <keiths@redhat.com>
2412
2413 * lib/gdb.exp: Move all insight-related functionality into
2414 separate file.
2415 * lib/insight-support.exp: New file.
2416
8d6e6f81
FCE
24172001-08-29 Frank Ch. Eigler <fche@redhat.com>
2418
2419 * config/sid.exp (sid_start): Never set sid verbosity; disable
2420 expect_background {} that consumed its stdout; tolerate </dev/null.
2421 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2422
6a90e1d0
AC
24232001-08-18 Andrew Cagney <ac131313@redhat.com>
2424
2425 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2426 CLI jump command to start it.
2427 (mi_run_to_main): Fail immediatly when unexpected output.
2428
1759b3c3
AC
24292001-08-18 Andrew Cagney <ac131313@redhat.com>
2430
2431 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2432 beginning of function. Fix PR gdb/191.
2433
61d11d80
FCE
24342001-08-16 Frank Ch. Eigler <fche@redhat.com>
2435
2436 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2437 what to force sid endianness to.
2438
942a4df2
KS
24392001-08-15 Keith Seitz <keiths@redhat.com>
2440
2441 * lib/gdb.exp (gdbtk_start): Don't set environment
2442 variables for TCL_LIBRARY and friends. Insight will
2443 now figure these out for itself.
2444
0521c418
MS
24452001-08-02 Michael Snyder <msnyder@redhat.com>
2446
2447 * gdb.base/completion.exp: Remove the symbol "a64l" from
2448 the expect string; this is target-specific, and not related
2449 to what is being tested.
2450
74a9a58a
DB
24512001-08-02 Dave Brolley <brolley@redhat.com>
2452
2453 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2454
c70819fa
MS
24552001-07-25 Michael Snyder <msnyder@redhat.com>
2456
c2b8fa57
MS
2457 * gdb.base/consecutive.exp: New file. Test stepping over
2458 breakpoints on consecutive instructions.
2459 * gdb.base/consecutive.c: New file.
2460
c70819fa
MS
2461 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2462 curly braces in regular expressions.
2463
2b1a1355
MS
24642001-07-25 Michael Snyder <msnyder@redhat.com>
2465
2466 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2467 legitimate output from stepping out of main.
2468
413eca6f
KS
24692001-07-22 Keith Seitz <keiths@redhat.com>
2470
2471 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2472 the empty string, do not run the tests.
2473
7e5a9322
SC
24742001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2475
2476 * gdb.base/long_long.exp: Detect size of pointer. Take into
2477 account 2-byte pointers when testing for p/a results.
2478
de58f10f
SC
24792001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2480
2481 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2482 and defined to 1K for m68hc11.
2483 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2484 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2485 (sizeof_random_data): New variable to tell the size of the data table;
2486 don't test past this size; always run to main.
2487
d6f5fea1
SC
24882001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2489
2490 * gdb.base/return2.exp: return of long long and double fails for
2491 68HC11; don't execute these tests on that platform.
2492 * gdb.base/return.exp: Return of a double fails for 68hc11.
2493
c477543d
SC
24942001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2495
2496 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2497 tests that print a float.
2498 * call-rt-st.exp: Likewise.
2499
63cf1c79
MK
25002001-07-12 Mark Kettenis <kettenis@gnu.org>
2501
2502 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2503 running this test on Linux.
2504
112f9ab5
MC
25052001-06-24 Michael Chastain <chastain@redhat.com>
2506
2507 * gdb.base/arithmet.exp: Remove some tests to make all test names
2508 unique.
2509
4970cb0f
MS
25102001-07-03 Michael Snyder <msnyder@redhat.com>
2511
2512 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2513 the output of the ptype command.
2514
d85da69f
MS
25152001-07-02 Michael Snyder <msnyder@redhat.com>
2516
4c8a82de
MS
2517 * gdb.base/completion.exp: Don't assume that break.c is the only
2518 source file that may contain functions named "marker".
d85da69f
MS
2519 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2520
8afc772b
AC
25212001-06-28 Andrew Cagney <ac131313@redhat.com>
2522
2523 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2524 of files to delete.
2525
2526 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2527 * gdb.disasm/h8300s.exp: New file.
2528 gdb.disasm/h8300s.s: Likewise.
2529
cff22675
AC
25302001-06-27 Andrew Cagney <ac131313@redhat.com>
2531
2532 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2533 empty breakpoint tables.
2534
68c81b54
AC
25352001-06-25 Andrew Cagney <ac131313@redhat.com>
2536
2537 * lib/mi-support.exp: Update args=... part of stop-reason
2538 patterns. Accept either a list or a tuple.
2539
2dd62704
AC
25402001-06-23 Andrew Cagney <ac131313@redhat.com>
2541
2542 * lib/mi-support.exp: Remove local emacs variable defining
2543 change-log-default-name.
2544
b4127474
MC
25452001-06-22 Michael Chastain <chastain@redhat.com>
2546
2547 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2548 This is operationally compatible with the previous version.
2549
8dbfb380
JB
25502001-06-13 Jim Blandy <jimb@redhat.com>
2551
2552 * lib/gdb.exp (gdb_test): Doc fix.
2553
f2d8c86d
MC
25542001-06-10 Michael Chastain <chastain@redhat.com>
2555
2556 * gdb.base/exprs.exp: Remove a duplicate test.
2557
81564d34
JB
25582001-06-06 Jim Blandy <jimb@redhat.com>
2559
2560 * gdb.base/return2.exp (main): Use values to test float and double
2561 returns that are not NaN's, to avoid being confused by IEEE
2562 comparison rules.
2563
da55addb
MS
25642001-06-04 Michael Snyder <msnyder@redhat.com>
2565
2566 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2567 non-zero if control_c fails. Terminate the test on failure,
2568 rather than wait for 12 more tests to time out.
2569
42c65987
JB
25702001-06-06 Jim Blandy <jimb@redhat.com>
2571
b18bced9
JB
2572 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2573 Don't forget to match the GDB prompt.
2574
42c65987
JB
2575 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2576
5b41e5f0
JB
25772001-06-04 Jim Blandy <jimb@redhat.com>
2578
2579 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2580 command.
2581
015e046f
KB
25822001-05-31 Kevin Buettner <kevinb@redhat.com>
2583
2584 * gdb.base/annota1.exp (info break): Match four or more spaces
2585 after "Address".
2586
fb1ffbbe
MC
25872001-05-31 Michael Chastain <chastain@redhat.com>
2588
2589 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2590 (dm_type_int_star): Likewise.
2591 (dm_type_long_star): Likewise.
2592 (dm_type_void_star): Likewise.
2593
5ea2a32c
KB
25942001-05-29 Kevin Buettner <kevinb@redhat.com>
2595
2596 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2597 to a known value in order to get consistent results regardless
2598 of the setting of INPUTRC or the presence or contents of .inputrc.
2599
ae23c492
MS
26002001-05-24 Michael Snyder <msnyder@redhat.com>
2601
ac55707e
MS
2602 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2603 Don't require that the main thread and the manager thread are the
2604 first in the list.
2605
ae23c492
MS
2606 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2607 debugging. If test fails, issue an "unsupported" not a "fail".
2608
400071f1
JB
26092001-05-24 Jim Blandy <jimb@redhat.com>
2610
2611 Don't assume that short is shorter than int.
2612 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2613 assume that shorts are smaller than ints. On a 16-bit machine,
2614 this isn't true.
2615 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2616 an int, is not equal to ~0 stored in an unsigned char. This tests
2617 the same thing that the previous test meant to, but works on
2618 16-bit machines, too.
2619 ("print unsigned char != (~0)"): Same test, complemented.
2620
0816a3e5
MS
26212001-05-24 Michael Snyder <msnyder@redhat.com>
2622
2623 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2624 test for (full_coverage == 0). This makes the test run faster,
2625 and prevents dejagnu getting out of step.
2626
f6dc23a9
KB
26272001-05-23 Kevin Buettner <kevinb@redhat.com>
2628
2629 * gdb.base/finish.exp (finish_void): Revise pattern for
2630 stopping on the call statement to not permit stopping at
2631 the start of the instructions comprising the call sequence.
2632
7dbd117d
MC
26332001-05-19 Michael Chastain <chastain@redhat.com>
2634
2635 * gdb.base/callfuncs.exp: Make all test names unique.
2636 * gdb.base/commands.exp: Make all test names unique.
2637 * gdb.base/condbreak.exp: Make all test names unique.
2638 * gdb.base/dbx.exp: Make all test names unique.
2639 * gdb.base/default.exp: Make all test names unique.
2640 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2641 and TIMEOUT messages to their corresponding PASS message.
2642 * gdb.base/ending-run.exp: Make all test names unique.
2643 * gdb.base/long_long.exp: Remove duplicate test.
2644
6b0b0a9e
KB
26452001-05-21 Kevin Buettner <kevinb@redhat.com>
2646
2647 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2648 stop on the call statement as well as the statement after the
2649 call.
2650
2caa35cb
MS
26512001-05-21 Michael Snyder <msnyder@redhat.com>
2652
2653 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2654
40713331
EZ
26552001-05-10 Elena Zannoni <ezannoni@redhat.com>
2656
2657 * gdb.base/completion.exp: Revamp test. Make it execute on all
2658 platforms.
2659
c2c1be8d
EZ
26602001-05-10 Elena Zannoni <ezannoni@redhat.com>
2661
2c9cd303
EZ
2662 * config/gdbserver.exp (gdb_load): Handle the case
2663 in which the arguments to gdbserver are given in the
2664 baseboard configuration file.
2665 Also handle the case in which the server needs to do a
2666 load.
2667
9671de48
KS
26682001-05-07 Keith Seitz <keiths@cygnus.com>
2669
2670 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2671 set up the display for testing.
2672 (gdbtk_start): Convert all paths to paths that tcl will like.
2673 Export target information to environment.
2674 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2675 necessary.
2676 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2677 (to_tcl_path): New proc to convert a given pathname into
2678 a path acceptible as an argument to a tcl command.
2679 (_gdbtk_export_target_info): New proc to export target info
2680 into the environment for gdbtk testing.
2681 (gdbtk_done): New proc to signal end-of-test.
2682
5a360f47
JB
26832001-05-06 Jim Blandy <jimb@redhat.com>
2684
2685 * restore.c: Make the code of caller0 correspond to its comment.
2686
66c756c6
MS
26872001-05-03 Michael Snyder <msnyder@redhat.com>
2688
2689 * config/sid.exp (gdb_target_sid): Check for error messages.
2690 On error or timeout, don't make expect exit (which will terminate
2691 all subsequent tests); instead just make gdb exit.
2692 (gdb_load): Check for error messages. On error or timeout,
2693 return a negative value.
2694
a966fde5
JB
26952001-04-24 Jim Blandy <jimb@redhat.com>
2696
851c18e0
JB
2697 * gdb.c++/templates.exp: If we see the prompt for the overload
2698 list, but we haven't recognized any of the longer patterns,
2699 arrange for this test to fail, not hang.
2700
a966fde5
JB
2701 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2702 variations.
2703
db144853
MC
27042001-04-22 Michael Chastain <chastain@redhat.com>
2705
2706 * gdb.c++/local.exp: Use the 'runto' library function.
2707 * gdb.c++/namespace.exp: Likewise.
2708 * gdb.c++/overload.exp: Likewise.
2709
3207ec21
KB
27102001-03-26 Kevin Buettner <kevinb@redhat.com>
2711
2712 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2713 * gdb.base/step-line.exp: New file. Test step/next in presence of
2714 #line directives.
2715 * gdb.base/step-line.c: New file. Test program for the above.
2716 * gdb.base/step-line.inp: New file. We pretend that this file has
2717 been transformed by some other tool into step-line.c.
2718
13b57657
JB
27192001-03-21 Jim Blandy <jimb@redhat.com>
2720
2721 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2722 unmangled operator names.
2723
754cbe1c
JB
27242001-03-20 Jim Blandy <jimb@redhat.com>
2725
2726 * gdb.threads/linux-dp.exp: Recognize an additional message
2727 generated by GDB when it doesn't understand how to debug threads
2728 on the target system.
2729
177495c9
AC
27302001-03-19 Andrew Cagney <ac131313@redhat.com>
2731
2732 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2733
f266096b
MC
27342001-03-12 Michael Chastain <chastain@redhat.com>
2735
2736 * gdb.c++/derivation.exp: Use the 'runto' library function.
2737
cac3c2ff
MC
27382001-03-12 Michael Chastain <chastain@redhat.com>
2739
2740 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2741
b6c11a24
MC
27422001-02-24 Michael Chastain <chastain@redhat.com>
2743
2744 * gdb.c++/ref-types.exp: Change handwritten code to library
2745 function 'runto'.
2746
6bae5bce
OF
27472001-03-16 Orjan Friberg <orjanf@axis.com>
2748
2749 * gdb.base/signals.exp: Set count to 0 explicitly.
2750
0015fd9a
MS
27512001-03-15 Mark Salter <msalter@redhat.com>
2752
2753 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2754 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2755 (gdb_load): Add support for additional target_info: gdb_download_size
2756 and gdb_load_timeout.
0015fd9a 2757
fc33412a
DT
2758Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2759
2760 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2761 file -- to prevent failing when the compile fails but we have no
2762 intention of running the tests anyway.
2763
2764 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2765 tests if set.
2766
2767 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2768 integers.
2769
2770 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2771 * gdb.c++/namespace.exp: Ditto.
2772
115f06de
OF
27732001-03-07 Orjan Friberg <orjanf@axis.com>
2774
2775 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2776 * gdb.base/pointers.exp: Relax pattern match of decimals.
2777
b6ba6518
KB
27782001-03-06 Kevin Buettner <kevinb@redhat.com>
2779
2780 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2781 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2782 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2783 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2784 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2785 config/sh.exp, config/sid.exp, config/slite.exp,
2786 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2787 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2788 config/vxworks.exp, config/vxworks29k.exp,
2789 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2790 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2791 gdb.base/arithmet.exp, gdb.base/assign.exp,
2792 gdb.base/async.exp, gdb.base/attach.exp,
2793 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2794 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2795 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2796 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2797 gdb.base/commands.exp, gdb.base/completion.exp,
2798 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2799 gdb.base/constvars.exp, gdb.base/corefile.exp,
2800 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2801 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2802 gdb.base/ending-run.exp, gdb.base/environ.exp,
2803 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2804 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2805 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2806 gdb.base/funcargs.exp, gdb.base/help.exp,
2807 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2808 gdb.base/logical.exp, gdb.base/long_long.exp,
2809 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2810 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2811 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2812 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2813 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2814 gdb.base/regs.exp, gdb.base/relational.exp,
2815 gdb.base/remote.exp, gdb.base/reread.exp,
2816 gdb.base/restore.exp, gdb.base/return2.exp,
2817 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2818 gdb.base/selftest.exp, gdb.base/setshow.exp,
2819 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2820 gdb.base/sigall.exp, gdb.base/signals.exp,
2821 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2822 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2823 gdb.base/step-test.exp, gdb.base/structs.c,
2824 gdb.base/structs.exp, gdb.base/structs2.exp,
2825 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2826 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2827 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2828 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2829 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2830 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2831 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2832 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2833 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2834 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2835 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2836 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2837 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2838 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2839 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2840 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2841 gdb.trace/circ.exp, gdb.trace/collection.exp,
2842 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2843 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2844 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2845 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2846 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2847 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2848 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2849 notices.
2850
dc96c6c7 28512001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2852
2853 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2854 first arg is int not float.
2855
dc96c6c7 28562001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2857
2858 * gdb.base/reread.exp: Unsupported for non-native targets;
2859 doesn't work for remote debugging.
2860
9b0c4aeb
FN
28612001-02-19 Fernando Nasser <fnasser@redhat.com>
2862
2863 From Drew Moseley <dmoseley@redhat.com>
2864 * gdb.base/ending-run.exp: Properly handle the BSP state when
2865 stepping past the end of main.
2866
02aa71d5
MC
28672001-02-19 John Moore <jmoore@redhat.com>
2868
2869 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2870 Converted HPUX fix for non-expected items following multiple
2871 step commands into general solution for all platforms.
2872
1fa449a4
MC
28732001-02-18 Michael Chastain <chastain@redhat.com>
2874
2875 * gdb.c++/classes.exp (do_tests): Change runto statements
2876 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2877 statements demangler agnostic.
2878 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2879 (gdb_virtfunc_restart): Likewise.
2880
b2f9ec70
MC
28812001-02-14 Michael Chastain <chastain@redhat.com>
2882
2883 * gdb.c++/inherit.exp (do_tests): Change runto statements
2884 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2885 statements demangler agnostic.
2886
cf74b8ca
AC
2887Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2888
2889 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2890 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2891 before calling common_routine 15 times'' tests.
2892
99f78f56
MC
28932001-02-11 Michael Chastain <chastain@redhat.com>
2894
2895 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2896 Helps the test script figure out which demangler is in use.
2897 (dm_type_foo_ref): Ditto.
2898 (dm_type_int_star): Ditto.
2899 (dm_type_long_star): Ditto.
2900 (dm_type_unsigned_int): Ditto.
2901 (dm_type_void): Ditto.
2902 (dm_type_void_star): Ditto.
99707966 2903 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2904 Probe the gdb demangler and set variables to accommodate
2905 formatting differences.
2906 (info_func_regexp): New function. Same as info_func, but
2907 matches against a regexp.
2908 (info_func): Match against a literal string.
2909 (print_addr_2): New function. Match against a literal string,
2910 which can be different from the input to gdb.
2911 (print_addr): Simply call print_addr_2 with the same argument twice.
2912 (test_lookup_operator_functions): Use demangler formatting variables.
2913 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2914 the tests in the same order as the C++ class declaration.
2915 (test_paddr_operator_functions): Ditto.
2916 (test_paddr_overloaded_functions): Ditto.
2917 (test_paddr_hairy_functions): Use demangler formatting variables.
2918 Add reference to gdb/19 for related tests.
2919 (do_tests): Call probe_demangler.
2920
1de8f023
KB
29212001-01-30 Kevin Buettner <kevinb@redhat.com>
2922
2923 * gdb.c++/templates.cc (printf): Remove unused function definition.
2924
ca3f91ed
MS
29252001-01-26 Felix Lee <flee@redhat.com>
2926
2927 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2928
29292001-01-25 matthew green <mrg@redhat.com>
2930
2931 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2932 up sid.
2933 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2934
29352001-01-25 matthew green <mrg@redhat.com>
2936
2937 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2938 Deprecate $sid_spawn_id.
2939 (sid_exit): Remove code necessary only for `spawn.'
2940
29412001-01-25 matthew green <mrg@redhat.com>
2942
2943 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2944
fb18ec4a
MC
29452001-01-28 Michael Chastain <chastain@redhat.com>
2946
2947 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2948 to call when tests fail. It takes gdb out of the overloaded
2949 function choice menu back to the main prompt, so that the test
2950 program stays synchronized.
2951 (set_bp_overloaded): New proc to collect all the common
2952 code for setting a breakpoint on an overloaded name. Calls
2953 take_gdb_out_of_choice_menu when needed.
2954 (menu_overload1arg): New variable to collect the repeated
2955 instances of the expected menu for an overloaded name. Change
2956 the regular expression to handle changes in g++ type encoding:
2957 "void" can be either "void" or "", and "unsigned int" can be
2958 either "unsigned int" or "unsigned".
2959 (continue_to_bp_overloaded): Change regular expressions to handle
2960 changes in g++ type encoding.
2961 (no proc): Call take_gdb_out_of_choice_menu when needed.
2962 Remove redundant calls to "info break". Accept either "canceled"
2963 or "cancelled". Change regular expressions in "info break"
2964 calls to handle changes in g++ type encoding. Give all tests
2965 unique strings.
2966
9c646a6e
BE
29672001-01-17 Ben Elliston <bje@redhat.com>
2968
2969 * config/sid.exp: New file.
2970
9549d9c1
AC
2971Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2972
2973 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2974
dc96c6c7 29752000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2976
2977 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2978 Add a RE to accept a non-ascii char if one is ever presented.
2979
b4df4f68
FN
29802000-12-20 Fernando Nasser <fnasser@redhat.com>
2981
297dd0fd 2982 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2983
dc96c6c7 29842000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2985
2986 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2987 in regexp. One '\' does not suffice on Linux.
2988
4a7bddb6
MC
29892000-12-09 Michael Chastain <chastain@redhat.com>
2990
2991 * gdb.base/break.exp (test_clear_command): Use a marker function
2992 rather than 'main' for the test function. Also move this
2993 test to an execution point where the marker function names are
2994 guaranteed to be bound to functions. (Executing tests after a
2995 'finish' from main runs into name conflicts with local names
2996 in __libc_start_main).
2997
dc96c6c7 29982000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2999
3000 * gdb.base/finish.exp: New test for gdb's "finish" command.
3001 * gdb.base/return2.exp: New test for gdb's "return" command.
3002 * gdb.base/return2.c: New source file for above.
3003
dc96c6c7 30042000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3005
3006 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3007 * gdb.base/miscexprs.exp: Ditto.
3008 * gdb.base/pointers.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
dc96c6c7 30152000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3016
3017 * gdb.base/constvars.exp: Test result of "up" command.
3018 * gdb.base/miscexprs.exp: Ditto.
3019 * gdb.base/pointers.exp: Ditto.
3020 * gdb.base/scope.exp: Ditto.
3021 * gdb.c++/derivation.exp: Ditto.
3022 * gdb.c++/local.exp: Ditto.
3023 * gdb.c++/namespace.exp: Ditto.
3024 * gdb.c++/overload.exp: Ditto.
3025 * gdb.c++/ref-types.exp: Ditto.
3026
44097287
FN
30272000-11-22 Michael Chastain <chastain@redhat.com>
3028
3029 * mips_pro.exp: Accept either "middle -> top -> main" or
3030 "middle -> main" in the backtrace, because gcc can optimize
3031 tail calls to jumps. Remove setup_xfail for the hppa case.
3032 Add a comment with the original warning messages from PR 3016,
3033 which was filed in 1993, to preserve them for posterity.
3034
9d2e1bab
ND
30352000-11-17 Nick Duffek <nsd@redhat.com>
3036
3037 * lib/gdb.exp (gdb_test): Override timeout with board info.
3038
1aca8eb7
ND
30392000-11-17 Nick Duffek <nsd@redhat.com>
3040
3041 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3042 the second kill and detach messages.
3043
93076499
ND
30442000-11-17 Nick Duffek <nsd@redhat.com>
3045
3046 * configure.in: Add AC_EXEEXT.
3047 * configure: Regenerate.
3048 * Makefile.in (just-check): Export EXEEXT.
3049 * lib/gdb.exp ($EXEEXT): Import from environment.
3050 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3051 expect "maint dump-me" on Cygwin.
3052 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3053 $EXEEXT.
3054
30e87cd3
ND
30552000-11-17 Nick Duffek <nsd@redhat.com>
3056
3057 * gdb.base/break.exp: Test backtrace and finish from called
3058 function on all platforms, not just HP-UX.
3059
dc96c6c7 30602000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3061
3062 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3063 code from gdb_target_monitor, so it can be used independantly
3064 for gdbserver. Also comment out an unnecessary PUTS.
3065
dc96c6c7 30662000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3067
3068 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3069 * gdb.base/corefile.exp: Expect the message "Program is being
3070 debugged already" when we send the "corefile" command, since
3071 the preceeding gdb_load may have connected gdb to a remote target.
3072 * gdb.base/display.exp: Disable hardware watchpoints if new
3073 board info variable "no_hardware_watchpoints" is true.
3074 Replace single-letter commands with more readable ones.
3075 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3076 if new board info variable "no_hardware_watchpoints" is true.
3077 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3078 to see if stdio (printf) testing is possible.
3079 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3080 board info variable "no_hardware_watchpoints" is true. Use new
3081 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3082
39124dea
FN
30832000-11-13 Fernando Nasser <fnasser@redhat.com>
3084
3085 From Orjan Friberg <orjanf@axis.com>:
3086 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3087 in array print pattern match.
3088
a9e2e984
FN
30892000-11-09 Fernando Nasser <fnasser@redhat.com>
3090
3091 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3092 spelling "cancelled" to U.S. spelling "canceled" to match changes
3093 made to gdb.
3094 * gdb.c++/ovldbreak.exp: Ditto.
3095
c7db355b
PS
30962000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3097
3098 * gdb.base/callfuncs.c (main): Moved to end of file, call
3099 t_double_values to initialize the FPU before inferior calls are made.
3100 * gdb.base/callfuncs.exp: Test for register preservation after calling
3101 inferior functions. Add tests for continuining, finishing and
3102 returning from a stop in a call dummy.
3103
dc96c6c7 31042000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3105
3106 * gdb.base/commands.exp: Break up long lines, and re-indent.
3107
dc96c6c7 31082000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3109
3110 * config/gdbserver.exp: Rewritten from the ground up, to make it
3111 compatible with the current dejagnu tree, and to make it work with
3112 the new "gdbserver" in libremote.
3113
dc96c6c7 31142000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3115
3116 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3117 * gdb.base/varargs.exp: Skip entire test if no printf support.
3118 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3119 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3120
dc96c6c7 31212000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3122
3123 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3124 no floating point support.
3125 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3126 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3127 * gdb.base/call-rt-st.exp: Ditto.
3128 * gdb.base/call-strs.exp: Ditto.
3129
bac5fc66
JG
31302000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3131
3132 * gdb.base/sizeof.c: include <stdio.h>.
3133
3134 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3135 'finish', otherwise uncaptured gdb_prompt would potentially
3136 throw remaining test points out of sync.
3137
b22a6027
SB
31382000-07-26 Scott Bambrough <scottb@netwinder.org>
3139
3140 * gdb.base/recurse.exp: Run tests for all targets.
3141 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3142 gnu-oldld case on ARM.
3143 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3144 for ARM targets.
3145
d8231941
AG
3146Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3147
3148 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3149 * gdb.java/configure: Rebuild.
3150
8caabe69
AG
3151Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3152
3153 * gdb.java/jv-exp.exp: New file.
3154
9d273ca3
AG
3155Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3156
3157 * configure: Rebuilt.
3158 * configure.in (configdirs): Add gdb.java.
3159 * gdb.java/jmisc.java: New file.
3160 * gdb.java/jmisc.exp: New file.
3161 * gdb.java/Makefile.in: New file.
3162 * gdb.java/configure: Rebuilt.
3163 * gdb.java/configure.in: New file.
3164 * lib/java.exp: New file.
3165
4f823a66
AC
3166Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3167
3168 * gdb.base/exprs.exp: Test casts to a pointer including over and
3169 underflow.
3170
2391e11d
AC
3171Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3172
3173 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3174 and the compilers sizes.
3175
54602222
ND
31762000-07-09 Nick Duffek <nsd@redhat.com>
3177
3178 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3179 (use_methods): New function.
3180 (main): Call use_methods().
3181 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3182 (do_tests): Call test_method_param_class.
3183
2bec0572
ND
31842000-07-09 Nick Duffek <nsd@redhat.com>
3185
3186 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3187 spelling.
3188 (test_enums): New procedure. Move enum tests from end of script
3189 to here. Set breakpoint on function name instead of line number.
3190 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3191 (enums2): New marker function.
3192 (enums1): New function.
3193 (main): Call enums1(). Move enum tests to enums1().
3194
78492fde
AC
3195Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3196
3197 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3198 compile/link program. Update line numbers.
3199 * gdb.asm/d10v.inc: Define ``startup''.
3200 * gdb.asm/asmsrc1.s: Add definition of _start.
3201
49a2cef8
AC
3202Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3203
3204 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3205
3e6c8688
EZ
32062000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3207
3208 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3209 of 'help maint print' command.
3210
9ff5cbe9
AC
3211Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3212
3213 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3214 they use gdb_expect_list.
3215
17c579bd
AC
3216Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3217
3218 * gdb.base/commands.exp: Use ``set remote
3219 memory-read-packet-size'' instead of ``set endian big'' to test
3220 long commands.
3221
e6d71bf3
DB
32222000-06-03 Daniel Berlin <dan@cgsoftware.com>
3223
3224 * gdb.c++/templates.exp (do_tests): Make all of these work under
3225 g++, and stop skipping them.
3226
3227 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3228 work under g++.
3229
e5f9ba7b
MS
3230 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3231 initialization.
3232
dc96c6c7 32332000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3234
3235 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3236 the regular expression: accept an (almost) arbitrary sequence of
3237 "frames-invalid" and "breakpoints-invalid" messages both before
3238 and after the "starting" message.
3239
dc96c6c7 32402000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3241
3242 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3243
dc96c6c7 32442000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3245
3246 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3247 Relax the regular expression a little, make it pass on Solaris 8.
3248
8216cda9
KB
32492000-05-12 Kevin Buettner <kevinb@redhat.com>
3250
3251 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3252 a call, do not require that gdb stop on the line after the call.
3253 Instead, it is permissible for gdb to stop on the line of the
3254 call itself.
3255
1a570b2f
MS
32562000-05-12 Michael Snyder <msnyder@.cygnus.com>
3257
3258 * gdb.base/break.exp (bp on small function, optimized file):
3259 Add a second pass pattern. The behavior differs here between stabs
3260 and dwarf for one-line functions. Stabs preserves two line symbols
3261 (one before the prologue and one after) with the same line number,
3262 but dwarf regards these as duplicates and discards one of them.
3263 Therefore the address after the prologue (where the breakpoint is)
3264 has no exactly matching line symbol, and GDB reports the breakpoint
3265 as if it were in the middle of a line rather than at the beginning.
3266
dc96c6c7 32672000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3268
3269 * gdb.base/interrupt.exp: Make "pass" message say "send"
3270 rather than "send_gdb" (for consistancy).
3271
7d418785
AC
3272Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3273
3274 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3275 * gdb.c++/templates.cc: Properly check for GCC version number.
3276 * lib/compiler.cc: Likewise
3277
dc96c6c7 32782000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3279
3280 * gdb.base/break.exp: When compiled with -O2 optimization,
3281 gdb may not stop at the first line of main, due to code motion.
3282
dc96c6c7 32832000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3284
3285 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3286 This test depends on parsing the printf output from the target.
3287 Since the sparclet stub doesn't do stdio, this will never work.
3288 * gdb.base/call-rt-st.exp: ditto.
3289 * gdb.base/call-strs: ditto.
3290
dc96c6c7 32912000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3292
3293 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3294
3295 * gdb.base/ending-run.exp: After connecting to a remote target,
3296 but before running, the target will appear to be in a random
3297 location. Specify both a file and a line for breakpoints.
3298 Also, the function that calls main may be called 'init'
3299 rather than 'start'.
3300
a5a51225
EZ
33012000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3302
3303 * gdb.base/help.exp: Update output for add-symbol-file command.
3304
7930cc7c
FN
33052000-04-10 Fernando Nasser <fnasser@cygnus.com>
3306
3307 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3308 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3309
23e37ab1
C
33102000-04-07 J.T. Conklin <jtc@redback.com>
3311
e93c542c
C
3312 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3313
23e37ab1
C
3314 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3315
591b8fa3
PDM
3316Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3317
3318 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3319 values that can be represented exactly.
3320 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3321 above change, and to not check against the directory part of the source
3322 file name.
3323 (step into print_long_arg_list): Likewise.
3324 (print print_small_structs from print_long_arg_list): Likewise.
3325 (print print_long_arg_list): Likewise.
3326
7a495180
EZ
33272000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3328
30b53638 3329 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3330
beb998c6
AC
3331Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3332
3333 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3334
1c689132
DB
33352000-03-25 Daniel Berlin <dan@cgsoftware.com>
3336
3337 * gdb.base/commands.exp (deprecated_command_test): Add test for
3338 deprecate with no arguments.
3339
c1790a9d
JL
33402000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3341
3342 * gdb.base/break.exp: Add new test for setting breakpoints on
3343 optimized code so we can test breakpoints work even when function
3344 prologues may be optimized away
3345
003ba290
FN
33462000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3347
3348 From David Whedon <dwhedon@gordian.com>
3349 * gdb.base/commands.exp : Added command deprecator tests.
3350
6837a0a2
DB
33512000-03-22 Daniel Berlin <dan@cgsoftware.com>
3352
3353 * gdb.base/help.exp: Added test for new apropos command.
3354
b9593231
KB
33552000-03-21 Kevin Buettner <kevinb@redhat.com>
3356
3357 * gdb.base/pointers.c (usevar): New function.
3358 (main): Make sure that global variables v_int_pointer2, rptr,
3359 and y are all referenced someplace in the program by calling
3360 usevar() on them. [Some linkers delete symbols which are
3361 never referenced. The space remains, but there's no way to
3362 get a (symbolic) handle on the variable from the debugger.]
3363
751a959b
EZ
33642000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3365
3366 * gdb.base/printcmds.c: Add typedeffed arrays.
3367
3368 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3369 procedure to test arrays that are typedef'd.
3370
73a93a32
JI
33712000-03-13 James Ingham <jingham@leda.cygnus.com>
3372
3373 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3374 the library directories.
73a93a32 3375
fb40c209
AC
3376Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3377
3378 * configure.in (configdirs): Add sub directory gdb.mi.
3379 * configure: Re-generate.
3380
3381 * gdb.mi: New directory.
beb998c6 3382
ee4dd2c9
AC
33832000-02-25 Scott Bambrough <scottb@netwinder.org>
3384
3385 * gdb.base/long_long.exp: Correct test suite failure when printing
3386 a long long value as a double on ARM platforms.
3387
70f0cc22
JB
33882000-02-16 Jim Blandy <jimb@redhat.com>
3389
3390 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3391 default source file is set properly before running this test.
3392
853819b8
EZ
33932000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3394
3395 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3396 gdbtk/library directory, not in gdbtcl2.
3397
dfcd3bfb
JM
33982000-02-04 Jim Blandy <jimb@redhat.com>
3399
3400 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3401 backslash from regexp pattern.
3402
3403 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3404 procedure. Use it to run all the "continue to bp overloaded"
3405 tests. Note that this changes the names of the tests slightly.
3406 If the breakpoint hit message includes a hex PC value, because
3407 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3408 from the real source code, still consider that a pass.
3409
3410 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3411 XFAIL here if the breakpoint message contains a hex address. Note
3412 similar change on 1999-11-02.
3413
3414 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3415
3416 * gdb.base/ptype.exp: Establish a default source file before
3417 calling get_debug_format.
3418
34192000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3420
3421 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3422
8b93c638
JM
34232000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3424
3425 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3426 of successive stepi commands -- while in the prologue we should see
3427 the function entry bracket.
3428
34292000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3430
3431 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3432 reach __change_mode() when stepping through the end of main().
3433
c5394b80
JM
34342000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3435
3436 * gdb.base/default.exp: Fix expected pattern.
3437 * gdb.base/help.exp: Same.
3438
0d06e24b
JM
34392000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3440
3441 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3442 Don't use xfail's because that affects only the following test.
beb998c6 3443
0d06e24b
JM
3444 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3445 solaris or linux.
3446
3447 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3448
dc96c6c7 34492000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3450
beb998c6 3451 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3452 "A syntax error" rather than "A parse error". Accept both.
3453
34542000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3455
3456 * gdb.base/default.exp: Remove OS dependent string from "target
3457 remote" test.
3458 * gdb.base/help.exp: Same for "help target remote" test.
3459
c3f6f71d
JM
34602000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3461
3462 From Jim Kingdon <kingdon@redhat.com>:
3463
3464 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3465 prompt (cleanup rather than necessity, but still might keep output
3466 from spilling to next test).
3467
34682000-01-02 Fred Fish <fnf@cygnus.com>
3469
3470 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3471 AIX, which defines them in <sys/types.h>.
3472
ed9a39eb 34731999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3474
ed9a39eb
JM
3475 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3476 float" test.
3477
34781999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3479
ed9a39eb 3480 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3481
3482 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3483 outermost frame disallowed".
3484
34851999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3486
3487 * gdb.base/setvar.exp: New tests for setting the value of a struct
3488 with a constant list.
3489
34901999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3491
3492 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3493 require the user to type a cast before setting the value of a struct.
3494
de57eccd
JM
34951999-12-06 Jim Blandy <jimb@cygnus.com>
3496
3497 * gdb.base/default.exp: Expect the new 'info float' command on
3498 all i386 platforms.
3499
3500 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3501 LinuxThreads libraries that don't support debugging.
3502
c2d11a7d
JM
3503Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3504
3505 * gdb.base/remote.c: Fill the buffer with truely random data.
3506 Change the buffer type to ``unsigned char'' to simplify size
3507 arithmetic.
3508
3509 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3510 stub only handles 400-1 byte packets. Verify that the download
3511 worked.
3512
35131999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3514
3515 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3516 tests, using UNRESOLVED for the untested cases. Also, does not wait
3517 for a timeout if the prompt was received before a recognizable pattern.
3518
35191999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3520
3521 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3522
35231999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3524
3525 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3526 watchpoints.
3527
35281999-11-24 Jason Merrill <jason@casey.cygnus.com>
3529
3530 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3531
3532 * gdb.c++/local.exp: Be more flexible in recognizing local class
3533 name mangling. Don't allow horribly truncated method names.
3534 * gdb.c++/derivation.exp: Expect protected inheritance.
3535 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3536 * gdb.c++/virtfunc.exp: Likewise.
3537 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3538 when printing a nested enum.
3539
35401999-11-22 Jim Blandy <jimb@cygnus.com>
3541
3542 * gdb.base/step-test.exp: Properly await GDB's response to setting
3543 a breakpoint on the call to large_struct_by_value.
3544
3545 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3546 just because we have debug info for the `start' function.
3547
35481999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3549
3550 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3551 "Unknown signal" messages, which indicate (on LinuxThreads) that
3552 GDB doesn't know how to debug threads on this system. This is
3553 better than hanging while philosopher 0 dumps chatter into gdb.log.
3554
35551999-11-18 Tom Tromey <tromey@cygnus.com>
3556
3557 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3558
35591999-11-18 Fred Fish <fnf@cygnus.com>
3560
3561 * gdb.base/coremaker2.c: Add sample program for generating
3562 cores that is more self contained than coremaker.c. Eventually
3563 I'll add more code to this and tie it into the testsuite.
3564
4ce44c66
JM
35651999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3566
3567 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3568
35691999-11-10 Jimmy Guo <guo@cup.hp.com>
3570
3571 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3572 from $srcdir/lib/.
3573 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3574 and gdb.c++/.
3575
3576 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3577
beb998c6 3578 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3579 'continue with watch' test point.
3580
35811999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3582
3583 Merged from p2linux-990323-branch:
beb998c6 3584
4ce44c66
JM
3585 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3586
11cf8741
JM
3587Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3588
3589 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3590 {limit,fixed}''. Test ``set download-write-size''.
3591
3592Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3593
3594 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3595 gdb_expect_list.
3596
3597Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3598
3599 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3600
36011999-11-03 Mark Salter <msalter@cygnus.com>
3602
3603 * gdb.base/break.exp: Fix "stub continue" pattern.
3604
36051999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3606
3607 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3608
36091999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3610
3611 * gdb.base/display.exp ("finish"): Add timeout clause.
3612
3613 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3614 plain prompt clause, so this doesn't have to time out in order to
3615 fail.
3616
3617 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3618 breakpoint hit messages include an address.
3619
3620 * gdb.base/display.exp: Don't forget to escape parens in regular
3621 expressions. Unix regexp notatation sucks.
3622
36231999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3624
3625 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3626 order for 'signalled' message.
3627
5c44784c
JM
36281999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3629
3630 From Jimmy Guo <guo@cup.hp.com>:
3631 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3632 * gdb.base/annota1.c: Add code for tests to work with.
3633
36341999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3635
3636 * gdb.base/remote.exp: New test for remote downloading settings.
3637 * gdb.base/remote.c: New file with large .data.
3638
917317f4
JM
36391999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3640
3641 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3642 for LinuxThreads support, merged from the Code Fusion branch.
3643
3644Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3645
3646 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3647 containing exp_continue into a while within an expect. Don't
3648 attempt a start more than three times. Check return value from
3649 gdb_load.
beb998c6 3650
2df3850c
JM
3651Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3652
3653 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3654 a pass case.
3655
2acceee2
JM
36561999-10-01 Kevin Buettner <kevinb@cygnus.com>
3657
3658 * gdb.base/break.c (main): Added a statement that we can step
3659 off of.
3660 * gdb.base/break.exp: Added tests for setting a breakpoint
3661 at an offset and stepping onto a breakpoint.
3662
36631999-10-01 Fred Fish <fnf@cygnus.com>
3664
beb998c6 3665 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3666 gdb output.
3667
c2c6d25f
JM
36681999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3669
3670 * gdb.base/break.exp: Code locations are in hex, don't forget!
3671 (For HP-UX.)
3672
36731999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3674
3675 * condbreak.exp: Use break.c as test program.
3676 * condbreak.c: Remove, redundant with break.c.
3677
36781999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3679
3680 * config/monitor.exp (gdb_target_monitor): Disable X- and
3681 Z-packets if the target needs it.
3682
36831999-09-13 James Ingham <jingham@leda.cygnus.com>
3684
3685 * gdb.c++/overload.exp: Added tests for listing overloaded
3686 functions with function pointers in the arg, explicitly calling
3687 out the version you want.
3688
cff3e48b
JM
36891999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3690
3691 * long_long.exp: Add variations of test cases that work for
3692 targets with 16-bit ints and 32-bit doubles.
3693
d4f3574e
SS
36941999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3695
3696 * break.c (main): Compare a possibly-uninitialized argc with an
3697 unlikely value that fits in 16 bits.
3698
36991999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3700
3701 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3702 0xfeeb, don't want negative numbers if ints are 16 bits.
3703
3704 * lib/gdb.exp (skip_cplus_tests): New proc.
3705 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3706 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3707 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3708 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3709 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3710 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3711 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3712 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3713
3714 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3715
3716Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3717
3718 * gdb.base/corefile.exp (up): Allow a parameter to appear
3719 in the frame that we're going up to.
3720
3721 From Jim Blandy <jimb@cygnus.com>:
3722
3723 * gdb.base/default.exp (info float): Expect some output now.
3724
3725 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3726 returning floating-point values to fail on the x86.
3727 * gdb.base/callfwmall.exp (do_function_calls): Same.
3728
3729 * gdb.base/list.exp (test_listsize): Correct expectations for
3730 listing line 1 with listsize 2. Also, listing a single line
3731 works now, as does listing three lines. [Kevin's note: There
3732 were a number of other cases fixed too where the expectations
3733 differed...]
3734
37351999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3736
3737 * gdb.base/selftest.exp: Add case for when version prints as
3738 constant string instead of char pointer.
3739
104c1213
JM
37401999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3741
3742 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3743 stepping out of main.
3744
3745 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3746 G++ used.
3747
3748 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3749 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3750
3751 * gdb.c++/ovldbreak.exp: Update match string in test that
3752 includes a warning of multiple breakpoints.
3753
37541999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3755
3756 * gdb.base/display.exp: Improve precision of step-after-finish
3757 added yesterday.
3758
3759 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3760 test.
3761
3762 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3763 configs when using G++, not just hppa*.
3764
37651999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3766
3767 * gdb.base/async.c: New file.
3768 * gdb.base/async.exp: New file.
3769
3770Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3771
3772 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3773 PA64.
3774
53a5351d
JM
3775Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3776
104c1213
JM
3777 * gdb.base/display.exp: "finish" can leave us mid-line on many
3778 targets, deal with it. Add a small constant to main, instead of
3779 1000 since main+1000 may not be a valid address in the target.
3780
53a5351d
JM
3781 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3782 on hpux11.
3783
3784 * gdb.base/attach.exp: Handle another hpux11 error message variant
3785 when attaching to a process that does not exist.
3786
37871999-08-19 J.T. Conklin <jtc@redback.com>
3788
3789 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3790 characters in 'continue to 1241' test.
3791
37921999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3793
3794 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3795 stop in print_long_arg_list, define and use a whitespace
3796 variable in print_small_structs test, add an XFAIL for Solaris.
3797 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3798 interested enough to fix.
3799
7be570e7
JM
38001999-08-13 Keith Seitz <keiths@cygnus.com>
3801
3802 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3803 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3804 proc knows about targets other than the natives.
3805 (test_assign): Use "gdb_run_cmd" to "run" the target.
3806 Check that we've actually hit the breakpoint at main.
3807 When we attempt to assign a value to a local variable, check
3808 that the variable is in the current scope, i.e., don't use
3809 a test with an empty result.
3810
3811Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3812
3813 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3814 command.
3815
38161999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3817
3818 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3819 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3820 gdb.compat, gdb.threads-hp.
3821 gdb.hp/configure, gdb.hp/configure.in: New files.
3822 gdb.hp/Makefile.in: Recurse into new subdirs.
3823 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3824 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3825 in object files.
3826 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3827
96baa820
JM
38281999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3829
3830 * gdb.base/display.exp: Help expect by putting a newline in the
3831 funky printf, remove a bogus p/a test.
3832
38331999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3834
3835 * gdb.base/display.exp: Make sure that when we say 'run', we are
3836 connected to the target. This is necessary when running not
3837 natively.
3838
38391999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3840
3841 * gdb.base/step-test.exp: Removed some extraneous messages.
3842
3843 * gdb.base/long_long.exp: Don't run memory examination tests
3844 on little-endian targets (they will need a different set of
3845 results to match).
3846
38471999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3848
3849 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3850 until somebody decides to fix GDB.
3851
3852 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3853 constant as "ULL".
3854 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3855 matches for a couple x/2 commands.
3856
a0b3c4fd
JM
38571999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3858
3859 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3860 by merging in ref-types2 tests.
3861 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3862
3863 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3864 * gdb.c++/Makefile.in: Add standard actions.
3865 (EXECUTABLES): Rename from PROGS, update list.
3866 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3867 from gdb.hp.
3868 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3869 foo and bar locals.
3870 * gdb.c++/anon-union.exp: Fix tests to match.
3871 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3872 expect matches to handle output variations.
3873 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3874 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3875 output, add HP alternatives for new and delete prints.
3876 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3877 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3878 * gdb.c++/demangle.exp: Use $style when reporting failure.
3879 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3880 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3881 match alternatives.
3882 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3883 compilers.
3884 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3885 * gdb.c++/method.exp: Add match alternatives.
3886 * gdb.c++/misc.cc: Add bool types.
3887 * gdb.c++/misc.exp: Add tests for bool types.
3888 * gdb.c++/overload.exp: Add xfails.
3889 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3890 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3891 add some more template parameter tests (only for HP currently).
3892 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3893 * gdb.c++/virtfunc.cc: Add return type and value for main.
3894 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3895 match alternatives.
beb998c6 3896
a0b3c4fd
JM
38971999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3898
3899 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3900
39011999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3902
3903 * gdb.base/signals.exp: Don't expect getting a backtrace from
3904 within a signal handler to fail on Linux.
3905
39061999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3907
3908 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3909 * lib/gdb.exp: Remove some gratuitious semicolons.
3910 (delete_breakpoints): Increase timeout.
3911 (gdb_expect): Add -notransfer option.
3912 (gdb_test): Use -notransfer option.
3913 (get_compiler_info): Add f77 case.
3914 (get_compiler): New proc, split out from gdb_preprocess, add f77
3915 case.
3916 (gdb_preprocess): Call get_compiler.
3917
3918 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3919 * gdb.base/attach.exp, gdb.base/display.exp,
3920 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3921 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3922 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3923 third arg to gdb_test.
3924 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3925 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3926 HP-UX xfails, add others.
3927 * gdb.base/completion.exp: Reflect name change of self-test.
3928 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3929 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3930 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3931 HP failure number.
3932 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3933 useless HP-UX 10.30 references.
3934 * gdb.base/maint.exp: Loosen matches.
3935 * gdb.base/pointers.c (main): Declare more_code.
3936 * gdb.base/pointers.exp: Match on output of a `next'.
3937 * gdb.base/structs.c: Add prototypes.
3938 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3939 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3940
39411999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3942
3943 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3944 command.
3945
39461999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3947
3948 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3949 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3950
3951 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3952 debug info. Deal with lack of signal hanlder info in stack.
3953
3954 From Jim Kingdon <kingdon@redhat.com>:
3955 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3956
5a2468f5
JM
39571999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3958
3959 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3960 gdb.base/foll-vfork.exp: Don't run for crosses.
3961
adf40b2e
JM
3962Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3963
3964 * gdb.base/configure.in: Check for gdbvars.exp instead of
3965 a1-selftest.exp.
3966 * gdb.base/configure: Re-generate.
3967
39681999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3969
3970 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3971 in trying to run first and name is too long.
3972
3973 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3974 pointers2.c and pointers2.exp, respectively.
3975 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3976 doschk happier.
3977
43e526b9
JM
39781999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3979
3980 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3981 callfuncs2.c and callfuncs2.exp.
3982
3983 * gdb.base/list.exp: Remove mistaken xfails.
3984 * gdb.base/list0.h: Add optional prototypes.
3985
9846de1b
JM
3986Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3987
3988 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3989 calling malloc.
3990 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3991 * ptype.exp: Move test for get_debug_format to before its first
3992 use.
3993
39941999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3995
3996 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3997 * gdb.base/annota2.cc, annota2.exp: Move from here.
3998 * gdb.c++/annota2.cc, annota2.exp: To here.
3999 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4000
43ff13b4
JM
4001Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4002
4003 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4004 a consistent format.
4005
085dd6e6
JM
40061999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4007
4008 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4009 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4010 HP compilers, also set the globals $true and $false.
4011
4012 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4013 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4014 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4015 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4016 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4017 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4018 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4019 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4020 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4021 whatis.c} Add C++ compatible function definitions and return
4022 types, add includes for library functions.
4023 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4024 * gdb.base/step-test.c (myglob): Rename from glob.
4025 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4026 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4027 files, move here from gdb.hp.
4028 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4029 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4030 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4031 Adjust line numbers in regexps.
4032
4033 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4034 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4035 instead of 0/1.
4036
4037 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4038 foll-vfork.exp: New files, move here from gdb.hp.
4039 * gdb.base/page.exp: New file, test of pagination command.
4040
4041 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4042 recursion test.
4043 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4044
4045 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4046 gdb.base/solib.exp: Fix compiler invocation process.
4047
4048 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4049 HP-UX 11, turn off overload resolution explicitly.
4050 * gdb.base/commands.exp: Set argument list explicitly, add
4051 watchpoint test.
4052 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4053 them work.
4054 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4055 expressions properly.
4056 * gdb.base/corefile.exp: Loosen the match slightly.
4057 * gdb.base/default.exp: Allow "Error accessing memory" message
4058 also.
4059 * gdb.base/display.exp: Skip over x/0 j if PA64.
4060 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4061 * gdb.base/interrupt.exp: Ditto.
4062 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4063 in use.
4064 * gdb.base/list.exp: Add xfails for HP-UX.
4065 * gdb.base/long_long.exp: Refine some of the numeric matches.
4066 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4067 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4068 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4069 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4070 * gdb.base/ptype.exp: Succeed on more varieties of output.
4071 * gdb.base/scope.exp: Add xfails for HP-UX.
4072 * gdb.base/sect-cmd.exp: Add more cases.
4073 * gdb.base/setvar.exp: Add xfails for HP-UX.
4074 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4075 * gdb.base/signals.exp: Match on void symbolically.
4076 * gdb.base/step-test.exp: Add case for PA64.
4077 * gdb.base/term.exp: Add exit and restart.
4078 * gdb.base/twice.exp: Clean up after self.
4079 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4080 * gdb.base/whatis.exp: Allow more ways to pass tests.
4081
4082 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4083 no longer useful.
4084
4085Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4086
4087 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4088 list of patterns.
4089 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4090 print_double_array(double_array)", "continuing to breakpoint
4091 1018", "print print_double_array(array_d)" and "continuing to
4092 1034" tests.
beb998c6 4093
085dd6e6
JM
40941999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4095
4096 * Makefile.in: Add empty html and install-html targets.
4097
40981999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4099
4100 * config/mt-*: Remove, these haven't been used since 1996.
4101
41021999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4103
4104 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4105 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4106 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4107
9e0b60a8
JM
41081999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4109
4110 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4111 simpler match case for the ptype of the big class.
4112
41131999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4114
4115 * gdb.exp: Fix test for gdb_prompt existence.
4116
41171999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4118
4119 * gdb.exp (gdb_test): Add fail after calls to perror.
4120
41211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4122
4123 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4124
41251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4126
4127 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4128
0f71a2f6
JM
4129Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4130
4131 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4132 malloc() is linked in.
4133
41341999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4135
4136 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4137 step at end.
4138
4139 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4140
41411999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4142
4143 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4144
cce74817
JM
4145Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4146
4147 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4148 * gdb.base/mips_pro.exp: Likewise.
4149
41501999-06-02 Keith Seitz <keiths@cygnus.com>
4151
4152 * gdb.c++/templates.cc: Change all "new" operators to throw
4153 an exception.
4154 * gdb.c++/cplusfuncs.cc: Likewise.
4155
4156 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4157
4158Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4159
4160 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4161 * gdb.base/ending-run.exp: When stepping out of main, accept a
4162 step into an arbitrary assembler file.
4163
392a587b
JM
41641999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4165
beb998c6 4166 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4167 "breakpoint-invalid" to be printed.
beb998c6 4168 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4169 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4170 * gdb.base/annota2.cc: Initialize a.x to 0.
4171
9e086581
JM
41721999-05-17 Keith Seitz <keiths@cygnus.com>
4173
4174 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4175 when "skip_float_tests" set.
4176 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4177 "print print_ten_doubles", and "step into print_long_arg_list".
4178 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4179 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4180 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4181 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4182 "skip_float_tests" is set.
4183 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4184 when "skip_float_tests" set.
beb998c6 4185
cd0fc7c3
SS
41861999-05-06 Keith Seitz <keiths@cygnus.com>
4187
4188 * gdb.base/annota2.cc: Include stdio.h.
4189
4190Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4191
4192 * gdb.base/crossload.exp: Remove, this has been disabled ever
4193 since BFD stopped including all targets, and cross-GDB gets
4194 plenty of testing anyway.
4195 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4196 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4197 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4198 * gdb.base/README: Remove, was doc for this.
4199 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4200 needed.
4201
b83266a0
SS
42021999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4203
4204 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4205 output.
4206
4207 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4208 * gdb.base/annota2.exp: New file. More annotation tests.
4209 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4210 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4211
42121999-04-23 Angela Marie Thomas <angela@cygnus.com>
4213
4214 * config/cfdbug.exp: New file.
4215
7a292a7a
SS
42161999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4217
4218 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4219 Marcus Daniel's and Dale Hawkins's demangler crashes.
4220
4221 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4222 test_lucid_style_demangling, test_arm_style_demangling,
4223 test_hp_style_demangling): Try Tom Tromey's core-dumping
4224 identifier under each demangling style.
4225
42261999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4227
4228 * gdb.c++/demangle.exp: Include the current demangling style
4229 in all test names.
4230 (current_demangling_style): New global variable.
4231 (set_demangling_style, test_demangling_core, test_demangling,
4232 test_demangling_exact): New functions.
4233 (test_gnu_style_demangling, test_lucid_style_demangling,
4234 test_arm_style_demangling, test_hp_style_demangling): Use those,
4235 instead of calling gdb_test and gdb_test_exact directly.
4236 (catch_demangling_errors): New function, which reports errors
4237 signalled by the demangling test functions in an orderly way.
4238 (do_tests): Use catch_demangling_errors.
4239
42401999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4241
4242 * gdb.base/signals.exp (test_handle_all_print): Use () for
4243 grouping in expressions, not {}.
4244
4245 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4246 initialized yet.
4247
42481999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4249
4250 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4251 are listed.
4252
42531999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4254
4255 * gdb.stabs/weird.exp: Test for CC being defined before
4256 looking at its value.
4257
42581999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4259
4260 * gdb.base/call-ar-st.exp: Remove stray '#'.
4261 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4262 "short int" and "long int".
4263 * gdb.c++/overload.cc: Cast the string added in the previous
4264 change, to mollify finicky HP compiler.
4265 * gdb.hp/reg-test.exp (testfile): Fix file name.
4266 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4267
7a292a7a
SS
4268 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4269 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4270 alternate form of enum ptype.
4271
c906108c
SS
42721999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4273
7a292a7a
SS
4274 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4275 * gdb.hp/*.exp: Change all to run compiler probe only after
4276 passing skip_hp_tests, so as not to waste time on guaranteed
4277 failure.
4278
c906108c
SS
4279 * gdb.c++/overload.cc: Pass string instead of char addr, always
4280 init ccpfoo.
4281 * gdb.c++/templates.cc: Fix syntax error.
4282
7a292a7a
SS
4283Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4284
4285 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4286 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4287 command.
4288
42891999-03-18 James Ingham <jingham@cygnus.com>
4290
4291 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4292
4293 * gdb.c++/method.exp: It was testing an uninitialized int on the
4294 stack and assuming it was positive.
4295
4296 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4297
4298 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4299 keep it from killing the rest of the tests.
7a292a7a
SS
4300 Use gdb_continue_to_end.
4301
4302 * gdb.base/sigall.exp: use gdb_continue_to_end.
4303
4304 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4305
4306 * gdb.base/display.exp: use runto_main, not run.
4307
beb998c6
AC
4308 * gdb.base/default.exp: Check for the current error message in the
4309 r abbreviation test.
7a292a7a
SS
4310 Add strongarm to the targets that know info float.
4311
beb998c6 4312 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4313 run which doesn't work with monitors.
4314
4315 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4316
4317 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4318
4319 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4320 program. Traps the case (in Cygmon) when the program never really
4321 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4322 more places, so I used my name. Sorry Mark...
4323
4324 * config/monitor.exp (gdb_target_monitor): added another
4325 target_info parameter: remotebinarydownload. This will set the
4326 remotebinarydownload flag if this is causing some boards trouble.
4327
43281999-03-18 Mark Salter <msalter@cygnus.com>
4329
4330 * lib/gdb.exp (continue_to_exit): New function.
4331
4332 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4333 * gdb.base/ending-run.exp: Ditto.
4334 * gdb.base/step-test.exp: Ditto.
4335
43361999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4337
4338 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4339 (suggested by Art Haas <ahaas@neosoft.com>).
4340
43411999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4342
4343 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4344
4345Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4346
4347 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4348 descriptions of types (short unsigned int vs unsigned short, etc).
4349
43501999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4351
4352 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4353 a call to strlen; sometimes we do have sources.
4354
43551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4356
4357 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4358 character, so GDB won't print garbage after its end.
beb998c6 4359
c906108c
SS
4360 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4361 breakpoint there instead. Sometimes GCC emits memcpy to handle
4362 the large structures being passed by value, so we step into that
4363 instead of sum_array_print, which obscures what we're really testing.
4364 * gdb.base/step-test.exp: However, we do want a test that notices
4365 the bizarre steps into memcpy, so do that here. Add check for
4366 stepping into function calls that pass large structures by value.
4367 ("Is that a noun clause, or are you just happy to see me?")
4368 Remove all references to specific line numbers.
4369 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4370 New type and function.
4371 (main): Call large_struct_by_value, passing it a large struct by value.
4372 * lib/gdb.exp (gdb_get_line_number): New function.
4373
4374 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4375 more portable.
4376
7a292a7a
SS
43771999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4378
c906108c
SS
4379 * lib/gdb.exp: Doc fixes.
4380
7a292a7a
SS
43811999-03-05 Nick Clifton <nickc@cygnus.com>
4382
beb998c6 4383 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4384
43851999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4386
c906108c
SS
4387 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4388 commands. They're not germane to this test, and they don't work
4389 that way on remote targets.
4390
3fc11d3e
JM
43911999-03-01 James Ingham <jingham@cygnus.com>
4392
4393 * Changelog entries merged over from gdb development branch.
4394
3fc11d3e
JM
4395 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4396
4397 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4398 for outputting results of test run.
4399
2d4a1622 4400 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4401
4402 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4403
7a292a7a
SS
44041999-02-25 Felix Lee <flee@cygnus.com>
4405
4406 * lib/gdb.exp (debug_format): initialize
4407
c906108c
SS
44081999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4409
4410 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4411 * gdb.base/call-rt-st.c: Ditto.
4412
c906108c
SS
44131999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4414
4415 * gdb.threads/pthreads.exp (horiz): New variable.
4416 (test_startup): Fix regexps that capture thread numbers.
4417
44181999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4419
4420 * gdb.base/smoke.exp: Disambiguate two test case names (both
4421 called ``print'').
4422
4423Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4424
4425 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4426 compilation.
4427
44281999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4429
4430 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4431 actual output formatting.
4432 * gdb.base/smoke.exp: GDB removes leading 0's.
4433 * gdb.base/volatile.exp: Don't check type of remuneration;
4434 that variable is no longer defined in constvars.c.
4435 * gdb.base/step-test.c (main): Exit with explicit exit code.
4436 * gdb.base/step-test.exp: Remove two nexti checks--they are
4437 not portable.
4438
44391999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4440
4441 * gdb.base/help.exp ("help delete display"): Fix test to match
4442 gdb's output.
4443
4444 * gdb.base/long_long.c (known_types): Initialize values to zero.
4445 * gdb.base/long_long.exp: Step one more line
4446 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4447 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4448 unique test case names.
4449
4450Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4451
beb998c6 4452 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4453
4454 * gdb.c++/method.exp: Add missing close brace.
4455
44561999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4457
4458 * gdb.base/maint.exp: Use 'set height 0' to disable page
4459 prompting, not 'set height 400'.
4460
4461 Fix a bunch of timeouts.
4462 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4463 four separate tests, so expect doesn't take forever to match a ton
4464 of text against a regexp with lots of .* forms.
4465 ("maint print psymbols", "maint print symbols"): Make some of
4466 these greps more selective, so that expect doesn't try to wade
4467 through huge piles of output and time out.
4468
4469 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4470
4471 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4472 tests: one which doesn't expect shlib events to be reported, and
4473 another which does, but is XFAIL for all platforms other than
4474 HP/UX.
4475
4476 * gdb.base/break.exp: Teach the test suite that the `catch
4477 fork', `catch vfork', and `catch exec' commands produce error
4478 messages on platforms that don't provide these features.
4479
4480Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4481
4482 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4483 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4484 (shortening names from solib_threshold.exp etc), won't run on
4485 anything but HP-UX for the foreseeable future.
4486 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4487 reflect move.
4488
4489Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4490
4491 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4492 gdb.trace/Makefile.in (clean): Remove all test executables.
4493
4494Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4495
4496 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4497 successfully re-sets breakpoints in shared libraries.
4498 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4499
4500Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4501
beb998c6
AC
4502 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4503 and compiled w/o GCC.
c906108c
SS
4504
4505 * gdb.hp/watch-cmd.exp: ditto.
4506
4507 * gdb.hp/watch-hp.exp: ditto.
4508
4509 * gdb.hp/xdb1.exp: ditto.
4510
4511 * gdb.hp/xdb2.exp: ditto.
4512
4513 * gdb.hp/dbx.exp: ditto.
4514
4515Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4516
4517 * constvars.c: Remove C++-isms.
4518 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4519 with GCC.
4520
4521Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4522
4523 The following changes are part of the HP merge.
4524
4525 * gdb.base/break.exp: new tests to verify that catchpoints for
4526 fork, vfork, and exec don't trigger inappropriately.
4527
4528 * gdb.base/opaque.exp: compile one file at a time, then link.
4529
4530 * gdb.base/signals.exp: be more restrictive about which hppa
4531 systems receive a setup_xfail. new tests.
4532
4533 * gdb.base/solib_threshold.build: new file.
4534 * gdb.base/solib_threshold.exp: new file.
4535 * gdb.base/solib_threshold.link_opts: new file.
4536 * gdb.base/solib_threshold.mk: new file.
4537 * gdb.base/gen_solib_threshold.c: new file.
4538
4539 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4540 tests. New tests for enums inside classes.
4541
4542 * gdb.c++/compiler.cc: indicate support of template debugging.
4543
4544 * gdb.c++/demangle.exp: run hp style demangling tests.
4545
4546 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4547 tests.
4548
4549 * gdb.c++/misc.cc: changes to support new tests.
4550
4551 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4552 to support new tests.
4553
4554 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4555 gcc, then skip these tests.
4556
4557Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4558
4559 The following files are part of the HP merge; some had longer
4560 names at HP, but have been renamed to be no more than 14
4561 characters in length.
4562
4563 * gdb.hp/ambiguous.cc: new file.
4564 * gdb.hp/ambiguous.exp: new file.
4565 * gdb.hp/attach.exp: new file.
4566 * gdb.hp/attach2.exp: new file.
4567 * gdb.hp/classes-hp.exp: new file.
4568 * gdb.hp/ctti.exp: new file.
4569 * gdb.hp/ctti-add.cc: new file.
4570 * gdb.hp/ctti-add1.cc: new file.
4571 * gdb.hp/ctti-add2.cc: new file.
4572 * gdb.hp/ctti-add3.cc: new file.
4573 * gdb.hp/dbx.exp: new file.
4574 * gdb.hp/exception.cc: new file.
4575 * gdb.hp/exception.exp: new file.
4576 * gdb.hp/foll-exec.c: new file.
4577 * gdb.hp/foll-exec.exp: new file.
4578 * gdb.hp/foll-fork.c: new file.
4579 * gdb.hp/foll-fork.exp: new file.
4580 * gdb.hp/foll-vfork.c: new file.
4581 * gdb.hp/foll-vfork.exp: new file.
4582 * gdb.hp/inherit-hp.exp: new file.
4583 * gdb.hp/more-steps.exp: new file.
4584 * gdb.hp/namespace.cc: new file.
4585 * gdb.hp/namespace.exp: new file.
4586 * gdb.hp/optimize.exp: new file.
4587 * gdb.hp/pxdb.c: new file.
4588 * gdb.hp/pxdb.exp: new file.
4589 * gdb.hp/quicksort.exp: new file.
4590 * gdb.hp/reg-test.exp: new file.
4591 * gdb.hp/reg-test.s: new file.
4592 * gdb.hp/sized-enum.c: new file.
4593 * gdb.hp/sized-enum.exp: new file.
4594 * gdb.hp/start-stop.exp: new file.
4595 * gdb.hp/templ-hp.cc: new file.
4596 * gdb.hp/templ-hp.exp: new file.
4597 * gdb.hp/thr-lib.c: new file.
4598 * gdb.hp/thr-lib.exp: new file.
4599 * gdb.hp/thr-lib.h: new file.
4600 * gdb.hp/thr-liblib.c: new file.
4601 * gdb.hp/virtfun-hp.c: new file.
4602 * gdb.hp/virtfun-hp.exp: new file.
4603 * gdb.hp/watch-cmd.exp: new file.
4604 * gdb.hp/watch-hp.exp: new file.
4605 * gdb.hp/xdb1.exp: new file.
4606 * gdb.hp/xdb2.exp: new file.
4607 * gdb.hp/xdb3.exp: new file.
4608
4609Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4610
4611 The following files are part of the HP merge; some had longer
4612 names at HP, but have been renamed to be no more than 14
4613 characters in length.
4614
4615 * gdb.base/ss.h: new file.
4616 * gdb.base/call-ar-st.c: new file.
4617 * gdb.base/call-ar-st.exp: new file.
4618 * gdb.base/call-rt-st.c: new file.
4619 * gdb.base/call-rt-st-exp: new file.
4620 * gdb.base/call-strs.exp: new file.
4621 * gdb.base/ena-dis-br.exp: new file.
4622 * gdb.base/environ.exp: new file.
4623 * gdb.base/long_long.exp: new file.
4624 * gdb.base/sect-cmd.exp: new file.
4625 * gdb.base/shlib-cl2.exp: new file.
4626 * gdb.base/smoke.exp: new file.
4627 * gdb.base/so-impl-ld.c: new file.
4628 * gdb.base/so-impl-ld.exp: new file.
4629 * gdb.base/so-indr-cl.c: new file.
4630 * gdb.base/so-indr-cl.exp: new file.
4631 * gdb.base/varargs.exp: new file.
4632 * gdb.base/volatile.exp: new file.
4633 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4634 * gdb.base/display.exp: new file.
c906108c
SS
4635 * gdb.c++/derivation.exp: new file.
4636 * gdb.c++/local.exp: new file.
4637 * gdb.c++/member-ptr.exp: new file.
4638 * gdb.c++/overload.exp: new file.
4639 * gdb.c++/ovldbreak.exp: new file.
4640 * gdb.c++/ref-types.exp: new file.
4641 * gdb.c++/ref-types2.exp: new file.
4642 * gdb.c++/userdef.exp: new file.
beb998c6 4643
c906108c
SS
4644Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4645
4646 * gdb.base/default.exp: Reflect wording change in remote.c.
4647
dc96c6c7 4648Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4649
4650 * gdb.base/help.exp: Update to reflect current text.
4651
4652Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4653
4654 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4655 they're stack variables and contain garbage.
4656 * gdb.c++/anon-union.exp: new file.
4657
4658 The following changes were made by David Taylor
4659 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4660 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4661 in changes by HP.
4662
4663 * gdb.base/bitops.exp: new file.
4664 * gdb.base/default.exp: change expected messages for catch and
4665 info catch tests to reflect HP merge changes.
4666 * gdb.base/enable-disable-break.exp
4667 * gdb.base/ending-run.c: new file.
4668 * gdb.base/long_long.c: new file.
4669 * gdb.base/maint.exp: new file.
4670 * gdb.base/pointers2.exp: new file.
4671 * gdb.base/shlib-call2.exp: new file.
4672 * gdb.base/solib.exp: new file.
4673 * gdb.base/step-test.c: new file.
4674 * gdb.c++/anon-union.cc: new file.
4675 * gdb.c++/local.cc: new file.
4676 * gdb.c++/member-pointer.cc: new file.
4677 * gdb.c++/method.cc: new file.
4678 * gdb.c++/ref-types.cc: new file.
4679 * gdb.c++/ref-types2.cc: new file.
4680 * gdb.c++/userdef.cc: new file.
beb998c6 4681
c906108c
SS
4682 * gdb.base/scope.exp: compile one file at a time, then link.
4683 * gdb.base/langs.exp: ditto.
4684 * gdb.base/list.exp: ditto.
beb998c6 4685
c906108c
SS
4686Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4687
4688 The following changes were made by David Taylor
4689 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4690 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4691 in changes by HP.
beb998c6 4692
c906108c
SS
4693 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4694 skip tests. When compiling pass c++ flag to gdb_compile.
4695 * gdb.c++/
beb998c6 4696
c906108c
SS
4697 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4698 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4699 (skip_hp_tests): new function.
4700 (gdb_preprocess): new function.
4701
4702 * configure.in (hpdir): decide whether to configure gdb.hp.
4703 * configure: regenerated.
4704
4705 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4706 to delete on clean.
4707 (EXECUTABLES): update to reflect new additions.
4708 * gdb.base/commands.exp: update message expected.
4709 * gdb.base/default.exp: add copyright notice.
4710 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4711 * gdb.base/help.exp: update messages to reflect current text.
4712 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4713 targets for recurse tests.
4714 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4715 skip this file.
4716
4717 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4718 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4719 compilation.
4720 * gdb.c++/misc.exp: ditto.
4721 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4722 run the tests. tell gdb_compile that it's a c++ compilation.
4723
4724 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4725
c906108c
SS
4726 * gdb.base/all-bin.exp: new file.
4727 * gdb.base/arithmet.exp: new file.
4728 * gdb.base/assign.exp: new file.
4729 * gdb.base/completion.exp: new file.
4730 * gdb.base/cond-expr.exp: new file.
4731 * gdb.base/condbreak.exp: new file.
4732 * gdb.base/define.exp: new file.
4733 * gdb.base/dollar.exp: new file.
4734 * gdb.base/environment.exp: new file.
4735 * gdb.base/eval-skip.exp: new file.
4736 * gdb.base/jump.exp: new file.
4737 * gdb.base/logical.exp: new file.
4738 * gdb.base/pointers.exp: new file.
4739 * gdb.base/relational.exp: new file.
4740 * gdb.base/section_command.exp: new file.
4741 * gdb.base/whatis-expr.exp: new file.
4742
4743 * gdb.base/all-types.c: new file.
4744 * gdb.base/call-array-struct.c: new file.
4745 * gdb.base/call-return-struct.c: new file.
4746 * gdb.base/call-strings.c: new file.
4747 * gdb.base/callfuncs2.c: new file.
4748 * gdb.base/condbreak.c: new file.
4749 * gdb.base/constvars.c: new file.
4750 * gdb.base/display.c: new file.
4751 * gdb.base/int-type.c: new file.
4752 * gdb.base/jump.c: new file.
4753 * gdb.base/miscexprs.c: new file.
4754 * gdb.base/pointers.c: new file.
4755 * gdb.base/pointers2.c: new file.
4756 * gdb.base/shmain.c: new file.
4757 * gdb.base/shr1.c: new file.
4758 * gdb.base/shr2.c: new file.
4759 * gdb.base/solib.c: new file.
4760 * gdb.base/solib1.c: new file.
4761 * gdb.base/solib2.c: new file.
4762 * gdb.base/varargs.c: new file.
4763 * gdb.c++/derivation.cc: new file.
4764 * gdb.c++/overload.cc: new file.
4765 * gdb.c++/ovldbreak.cc: new file.
4766 * gdb.hp/attach.c: new file.
4767 * gdb.hp/attach2.c: new file.
4768 * gdb.hp/average.c: new file.
4769 * gdb.hp/compiler.c: new file.
4770 * gdb.hp/compiler.cc: new file.
4771 * gdb.hp/execd-program.c: new file.
4772 * gdb.hp/follow-exec.c: new file.
4773 * gdb.hp/follow-fork.c: new file.
4774 * gdb.hp/follow-vfork-and-exec.c: new file.
4775 * gdb.hp/misc-hp.cc: new file.
4776 * gdb.hp/more-steps.c: new file.
4777 * gdb.hp/optimize.c: new file.
4778 * gdb.hp/quicksort.c: new file.
4779 * gdb.hp/run-hp.c: new file.
4780 * gdb.hp/start-stop.c: new file.
4781 * gdb.hp/sum.c: new file.
4782 * gdb.hp/templates-hp.cc: new file.
4783 * gdb.hp/thread-local-in-lib.c: new file.
4784 * gdb.hp/thread-local-in-lib.h: new file.
4785 * gdb.hp/thread-local-in-lib.lib.c: new file.
4786 * gdb.hp/vforked-program.c: new file.
4787 * gdb.hp/virtfunc-hp.cc: new file.
4788 * gdb.hp/watchpoint-hp.c: new file.
4789 * gdb.hp/xdb.c: new file.
4790 * gdb.hp/xdb0.c: new file.
4791 * gdb.hp/xdb0.h: new file.
4792 * gdb.hp/xdb1.c: new file.
4793
4794Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4795
4796 The following change was made by Edith Epstein
4797 <eepstein@cygnus.com> as part of a project to merge in changes
4798 originally made by HP; HP did not create ChangeLog entries.
4799
4800 * gdb.c++/demangle.exp: changed the expected output for some
4801 ARM-style mangling -- removed second reference to datatype.
4802 For example, maint demangle __dt__11T1__pt__2_cFv
4803 T1<char>::~T1<char>(void)
4804 becomes,
4805 maint demangle __dt__11T1__pt__2_cFv
4806 T1<char>::~T1(void)
4807
4808 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4809
c906108c
SS
4810Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4811
4812 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4813 * gdb.trace/backtrace.exp: Likewise.
4814 * gdb.trace/circ.exp: Likewise.
4815 * gdb.trace/collection.exp: Likewise.
4816 * gdb.trace/deltrace.exp: Likewise.
4817 * gdb.trace/infotrace.exp: Likewise.
4818 * gdb.trace/limits.exp: Likewise.
4819 * gdb.trace/packetlen.exp: Likewise.
4820 * gdb.trace/passc-dyn.exp: Likewise.
4821 * gdb.trace/passcount.exp: Likewise.
4822 * gdb.trace/report.exp: Likewise.
4823 * gdb.trace/save-trace.exp: Likewise.
4824 * gdb.trace/tfind.exp: Likewise.
4825 * gdb.trace/tracecmd.exp: Likewise.
4826 * gdb.trace/while-dyn.exp: Likewise.
4827 * gdb.trace/while-stepping.exp: Likewise.
4828
48291998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4830
4831 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4832
4833Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4834
4835 From Brendan Kehoe:
4836 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4837 int return types.
4838
4839Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4840
4841 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4842 remote dos host testing right.
4843
4844Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4845
4846 * gdb.base/corefile.exp: remove some xfails.
4847
4848Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4849
4850 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4851 have different timestamps.
4852
4853Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4854
4855 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4856 gdb.base/default.exp: Replace "exec" with "executable".
4857
4858Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4859
4860 * gdb.base/default.exp: Change else if to elseif from previous
4861 delta.
4862
4863Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4864
4865 * gdb.base/default.exp: Add brace missing from previous delta.
4866
4867Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4868
4869 * gdb.base/default.exp: Support test for info float for all
4870 varieties of arm toolchain.
4871
dc96c6c7 4872Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4873
4874 * gdb.trace/*.exp: remove "remote_download" command.
4875
dc96c6c7 4876Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4877
4878 * gdb.trace/*.exp: remove -gdwarf from compile.
4879
4880Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4881
4882 * gdb.trace/configure.in(AC_INIT): typo
4883 * gdb.trace/configure: regenerated
4884
dc96c6c7 4885Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4886
4887 * config/m68k-emc.exp: New file.
4888 * lib/<emc-support.exp trace-support.exp}: New files.
4889 * configure.in: add new test directory gdb.trace.
4890 * gdb.trace/{configure configure.in Makefile.in}: New files.
4891 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4892 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4893 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4894 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4895 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4896 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4897 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4898
dc96c6c7 4899Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4900
4901 * gdb.c++/classes.exp: Change all regular expressions to match
4902 arbitrary combinations of newline/carriage-return, so that they
4903 will work equally well on Unix and Windows.
4904 * gdb.c++/inherit.exp: ditto.
4905 * gdb.c++/virtfunc.exp: ditto.
4906
49071998-08-11 Dawn Perchik <dawn@cygnus.com>
4908
4909 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4910
c2d11a7d
JM
4911Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4912
4913 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4914 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4915 to use a0-a3/d0-d3 as needed.
4916
4917Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4918
4919 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4920 * gdb.disasm/am33.exp: Corresponding changes.
4921
c906108c
SS
49221998-07-11 Felix Lee <flee@cygnus.com>
4923
4924 * gdb.base/callfuncs.exp: add cmp10 test.
4925 * gdb.base/callfuncs.c (cmp10): new function.
4926
4927Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4928
beb998c6 4929 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4930 into two parts to get around a synchronization problem in expect.
4931
3fc11d3e
JM
4932Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4933
4934 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4935
4936 * configure.in: Add options for gdbtk testsuite.
4937
4938 * configure: Regenerate.
4939
4940 * gdb.gdbtk: New directory to hold gdbtk tests.
4941
c906108c
SS
4942Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4943
4944 * gdb.fortran/types.exp: Escape brackets in expect patterns
4945 for test_float_literal_types_accepted tests.
4946 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4947 before run test.
4948
c2d11a7d
JM
4949Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4950
4951 * am33.exp: Just compile, do not link the testcase.
4952 * am33.s: Add ".am33" pseudoop to force am33 mode.
4953
c906108c
SS
49541998-06-25 Felix Lee <flee@cygnus.com>
4955
4956 * gdb.base/setshow.exp: make sure $pc is sane.
4957
4958 * gdb.stabs/weird.exp: split expect patterns properly.
4959
c2d11a7d
JM
4960Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4961
4962 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4963 * gdb.disasm/am33.exp: Run it.
4964
dc96c6c7 4965Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4966
4967 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4968 match processing (and eliminate spurious timeouts when running).
4969
dc96c6c7 4970Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4971
4972 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4973 exception test, but conditionalize it on target [mach | gnu].
4974
dc96c6c7 4975Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4976
4977 * gdb.base/overlays.exp: fixup compile line for linker script.
4978
4979Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4980
4981 * gdb.fortran/types.exp: don't guess at float size.
4982
4983Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4984
4985 * gdb.base/exprs.exp: delete test that depends on int size.
4986
4987Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4988
4989 * config/sim.exp: Removed checks for target triplets.
4990 (gdb_target_sim): Use gdb,target_sim_options.
4991
4992Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4993
4994 * gdb.base/reread.exp: New file.
4995 * gdb.base/reread1.c: New file.
4996 * gdb.base/reread2.c: New file.
4997
4998Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4999
5000 * config/sim.exp: Use 'target sim -sparclite' when running
5001 SPARClite programs.
5002
5003Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5004
5005 * gdb.base/structs2.exp: New file.
5006 * gdb.base/structs2.c: New file.
5007
5008Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5009
5010 * gdb.asm/common.inc: New file.
5011 * gdb.asm/d10v.inc: New file.
5012 * asm-source.exp: Pass -I's to gas to find .inc files.
5013 Update line numbers in expected output.
5014 * asmsrc1.s: Rewrite.
5015 * asmsrc2.s: Rewrite.
5016 * configure.in: Create arch.inc symlink.
5017 * configure: Regenerate.
5018 * Makefile.in (distclean): Delete arch.inc.
5019
5020Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5021
5022 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5023 (t_enum_value2): ditto
5024 (t_enum_value3): ditto
5025 (main): ditto
5026Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5027
5028 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5029 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5030 change.
5031 Use gdb_test instead of send_gdb/gdb_expect sequences.
5032
5033Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5034
5035 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5036 not void.
5037
5038Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5039
5040 * gdb.base/branches.c: Code with lots of loops and
5041 subroutines. Used to test gdbs ability to single step through PC
5042 changes, especially to test mips-tdep.c:mips_next_pc
5043
5044Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5045
5046 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5047 more rigorous EGCS C++ error checking.
5048
5049Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5050
5051 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5052 tests.
c906108c 5053 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5054 function when asleep.
c906108c 5055 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5056 for i*86 Linux and SVR4 signal handling problems.
5057 Remove linux xfail for `next to handler in signals_tests_1', fixed
5058 by recent infrun.c change.
c906108c 5059 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5060 stack backtraces.
c906108c
SS
5061 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5062 target.[ch] change.
5063
5064Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5065
5066 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5067 for a newline from gdb before continuing.
5068 (default_gdb_exit): Just look for y or n.
5069 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5070 it does, fail the rests of the tests in the file.
5071
5072Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5073
5074 * config/cygmon.exp: New file.
5075
5076Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5077
5078 * gdb.base/list.exp: Fix problem with "list default lines around
5079 main" test on remote targets.
5080
5081 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5082 run test on remote targets.
5083
5084Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5085
5086 * gdb.asm: New directory.
5087 * configure.in: Configure it.
5088 * configure: Regenerate.
5089 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5090 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5091
5092Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5093
5094 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5095
dc96c6c7 5096Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5097
c906108c
SS
5098 * gdb.base/overlays (several files): Merge the two overlay
5099 managers into one. Change variables (foox, barx, bazx, grbxx)
5100 back into ints but force them to load in their proper sections.
5101
5102Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5103
5104 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5105 on-chip insn memory and IMAP1 to upper 128k.
5106 (D10VCopy): Handle memory regions crossing 16k boundaries.
5107 (D10VCopy): Transfer data in 32 bit chunks.
5108
5109Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5110
5111 * gdb.base/overlays.c (main): Exit normally when result is
5112 correct.
5113
5114 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5115 map. Include space for printf in .text segment.
5116
5117 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5118 updated d10v memory VMA/LMA map.
5119 (D10VCopy): Call D10VTranslate.
beb998c6 5120
c906108c
SS
5121Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5122
5123 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5124
5125 * gdb.base/bar.c (barx, bar): Change variable to small array so
5126 that it won't be put into the .sdata - small data -
5127 section. Update reference.
5128 * gdb.base/baz.c (bazx, baz): Ditto.
5129 * gdb.base/foo.c (foox, foo): Ditto.
5130 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5131
5132 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5133 to be arrays.
beb998c6 5134
dc96c6c7 5135Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5136
c906108c
SS
5137 * gdb.base/overlays.exp: fix up and get working again.
5138 Add tests for backtraces from an overlay function.
beb998c6 5139
c906108c
SS
5140Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5141
5142 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5143 "calling function with watchpoint enabled".
5144
5145Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5146
5147 * gdb.base/break.exp (test_next_with_recursion): Remove
5148 gdb_suppress_tests for d10v-*-*.
5149 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5150 pending review of whether it is useful or not.
5151
5152Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5153
5154 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5155
5156Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5157
5158 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5159 * config/dve.exp: New file to support Densan boards.
5160
5161Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5162
5163 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5164 reads and BSD.
5165
5166Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5167
5168 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5169 response.
5170
5171 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5172
5173Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5174
5175 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5176 test.
5177
5178 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5179 target_sizeof_long and target_bigendian_p.
5180 (structs_by_value, structs_by_reference): Check values according
5181 to targets word size and endianess.
beb998c6 5182
c906108c
SS
5183Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5184
5185 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5186 output.
5187
5188Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5189
5190 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5191 Update test of set args help to match source change.
5192
5193Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5194
5195 * gdb.base/default.exp: Expect help system output to be in
5196 alphabetical order.
5197 * gdb.base/help.exp: Ditto.
5198
5199Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5200
5201 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5202 "i*86-pc-linux-gnu*".
5203 * gdb.base/interrupt.exp: Ditto.
5204 * gdb.base/corefile.exp: Ditto.
5205
5206 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5207 define vxworks when building the testcase.
5208
5209 * gdb.base/ptype.exp: Fix testnames to be unique.
5210 * gdb.base/radix.exp: Ditto.
5211 * gdb.base/term.exp: Ditto.
5212 * gdb.base/whatis.exp: Ditto.
5213 * gdb.c++/classes.exp: Ditto.
5214
5215Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5216
5217 * gdb.base/callfuncs.exp: Fix indentation.
5218
5219 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5220 suppress_flag has been set.
5221 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5222 target feature.
5223
5224Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5225
5226 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5227 the testcase.
5228
5229 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5230 set_debug_traps() and breakpoint().
5231 * gdb.c++/misc.cc (main): Ditto.
5232 * gdb.c++/templates.cc (main): Ditto.
5233 * gdb.c++/virtfunc.cc (main): Ditto.
5234
5235Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5236
5237 * lib/gdb.exp(gdb_step_for_stub): New function.
5238 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5239 exists, reload the executable and do a "continue" instead of
5240 doing a jump.
5241 (runto_main): Use gdb_step_for_stub.
beb998c6 5242
c906108c
SS
5243 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5244 tests to have unique names.
5245 * gdb.base/callfuncs.exp: Ditto.
5246 * gdb.base/commands.exp: Ditto.
5247 * gdb.base/default.exp: Ditto.
5248 * gdb.base/help.exp: Ditto.
5249 * gdb.base/list.exp: Ditto.
5250 * gdb.base/opaque.exp: Ditto.
5251 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5252 similar tests.
beb998c6 5253
c906108c
SS
5254 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5255 * gdb.c++/cplusfuncs.cc: Ditto.
5256 * gdb.c++/virtfunc.cc: Ditto.
5257
5258 * config/monitor.exp: Keep track of the last file we saw, rather
5259 than trying to get the info from gdb.
5260
5261 * gdb.fortran/types.exp: Move comment to previous line.
5262
5263Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5264
5265 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5266 target mode.
5267
5268Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5269
5270 From Bob Manson:
5271 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5272 string from GDB when it connects.
5273
5274 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5275
5276Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5277
5278 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5279 if we can't get a debug format from GDB (we may be testing an
5280 older GDB). Use a 10 second timeout when checking for the format.
5281
5282 * gdb.stabs/weird.exp: Fix quoting.
5283
5284 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5285
5286Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5287
5288 * config/arm-ice.exp: New file.
5289
5290Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5291
5292 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5293 until it has been modified to work with the new testsuite.
5294
99707966 5295 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5296 testcase won't compile, cause all of the testcases in the file to
5297 fail instead.
5298
5299 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5300 (gdb_clear_suppressed): New procedure.
5301 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5302 it contains a positive value.
5303
5304Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5305
5306 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5307
5308 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5309
5310Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5311
5312 * lib/gdb.exp (setup_xfail_format): New function.
5313 (get_debug_format): New function to get debug format.
5314 (debug_format): New global variable to hold last value set
5315 by get_debug_format.
5316 * gdb.base/list.exp: Call get_debug_format and expect some
5317 tests to fail for DWARF 1 and COFF formats.
5318 * gdb.c++/ptype.exp: Ditto.
5319 * gdb.c++/classes.exp: Ditto.
5320 * gdb.c++/cplusfuncs.exp: Ditto.
5321 * gdb.c++/inherit.exp: Ditto.
5322 * gdb.c++/templates.exp: Ditto.
5323 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5324
c906108c
SS
5325Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5326
5327 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5328 host doesn't have a currently-open connection.
5329
5330 * config/sparclet.exp: Cleanups and fixes to make it generic for
5331 any gdb stub target. Handle cases where gdb doesn't respond when
5332 interrupted in a sane fashion.
5333
5334 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5335 same thing in a totally different way.
5336
5337 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5338 setting "timeout".
5339 (gdb_start): We set the global gdb_prompt variable in
5340 default_gdb_init now.
5341
5342Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5343
5344 * gdb.base/printcmds.exp: Fix "check for floating addition"
5345 regexp to accept results within approx +/- .01 of exact value.
5346 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5347
5348Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5349
5350 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5351 properly.
5352 (gdb_expect): Add optional timeout parameter, and add timeout
5353 value to various calls.
5354 (gdb_suppress_tests): Only give one warning message per group.
5355
5356Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5357
5358 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5359 global variables. Handle getting a value for $timeout more
5360 gracefully.
5361
5362Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5363
5364 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5365 initialize.
5366 (default_gdb_init): New procedure; allow gdb_init to be overridden
5367 by a target configuration file.
5368 (gdb_expect): Pass the timeout to remote_expect.
5369
5370 * config/monitor.exp(gdb_load): Fix typo in regexp.
5371
5372Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5373
5374 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5375
5376Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5377
5378 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5379 here. Call gdb_target_exec before rebooting the target, to make
5380 sure the connection to the target is closed.
5381 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5382 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5383 Also detect "Timeout reading from remote" error.
5384
5385 * config/gdbserver.exp: Pass the executable being loaded to
5386 gdb_target_monitor. Don't call gdb_file_cmd here; let
5387 gdb_target_monitor do it.
5388
5389 * gdb.disasm/hppa.exp: Don't use exec_output.
5390
5391Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5392
5393 * gdb.base/list.exp: If we're debugging a non-native target,
5394 try to set the pc register to point to the start of the
5395 program before doing the first list command.
5396
5397 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5398 test_calls after restarting.
5399
5400 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5401 reloading.
5402
5403 * gdb.base/watchpoint.exp: Fix typo.
5404
5405 * gdb.base/setshow.exp: Check for use_gdb_stub.
5406
5407 * gdb.base/break.exp: Fix continue until exit test for the gdb
5408 stub case.
5409 * gdb.base/langs.exp: Ditto.
5410
5411 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5412 gdb_load_offset. If we weren't given a file to load, figure out
5413 what the current file is and use it.
5414
5415 * config/i386-bozo.exp: New file.
5416
5417Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5418
5419 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5420 feature.
5421
5422 * config/proelf.exp: New entry.
5423
5424Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5425
5426 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5427 of regexps.
5428
5429 * gdb.base/watchpoint.exp: Don't run the test_stepping
5430 tests if gdb can't call functions on the target.
5431
5432 * gdb.base/setshow.exp: Don't run the set prompt tests if
5433 the board has gdb_prompt set.
5434
5435Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5436
5437 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5438 * gdb.base/commands.exp: Likewise.
5439 * gdb.base/setshow.exp: Likewise.
5440
5441Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5442
5443 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5444 feature.
5445
5446 * config/i960.exp: New file.
5447
5448Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5449
5450 * gdb.base/funcargs.exp: Check for gdb,short_int target
5451 feature instead of looking for explicit target triplets.
5452
dc96c6c7 5453Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5454
beb998c6 5455 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5456 "p 123DEADBEEF", to check parse_number.
5457 * top.c: change "to enable to enable" to "to enable" in a couple
5458 of help strings.
5459
5460Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5461
5462 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5463 on the mn10300.
beb998c6 5464
c906108c
SS
5465Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5466
5467 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5468 where the test executable is run with explicit args.
5469 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5470
5471Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5472
5473 * gdb.base/run.c: Use FAKEARGV to build test executable that
5474 does not require a command line arg, since most simulators
5475 don't currently support passing such an arg into the simulated
5476 program.
5477 * gdb.base/commands.exp: Change tests to insert the proper
5478 value as the arg to the first recursive factorial call. Change
5479 compilation line to define FAKEARGV at compile time.
5480
5481Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5482
5483 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5484 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5485 function with watchpoint enabled" test.
5486
5487Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5488
5489 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5490 Don't call gdb_test when the command doesn't return to a gdb prompt.
5491
5492 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5493 "Tests restarted" messages.
5494
5495Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5496
5497 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5498
dc96c6c7 5499Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5500
5501 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5502 for INFO SYMBOL; add help tests for OVERLAY commands.
5503 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5504 add tests for OVERLAY commands
5505 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5506 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5507 * gdb.base/sigall.c: add usestubs code frag
5508 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5509
c906108c
SS
5510Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5511
5512 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5513 failures.
5514 (gdb_stop_suppressing_tests): Note that tests have restarted.
5515
5516Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5517
5518 * config/h8300.exp: New file.
5519
5520Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5521
5522 * gdb.base/setshow.exp: Check for the existence of a
5523 feature, not its value.
5524
5525Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5526
5527 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5528
5529 * gdb.base/scope.exp: It's now init0(), not init().
5530
5531 * gdb.base/scope0.c: For now, change init() to be init0().
5532
5533 * config/monitor.exp: Use gdb_serial in preference to serial
5534 or netport.
5535
5536 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5537 and it's not already set.
5538
5539Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5540
5541 * gdb.base/setshow.exp: Only test the run command if the target
5542 isn't using a stub and if it supports argument passing.
5543
5544Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5545
5546 * config/udi.exp(gdb_start): Make sure UDICONF is set
5547 properly before starting gdb.
5548
5549Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5550
5551 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5552 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5553 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5554
5555Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5556
5557 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5558 specialized code to reboot the board, use remote_reboot instead.
5559
5560 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5561
5562 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5563
5564 * config/monitor.exp: Make sure we disconnect from the target.
5565 Also, try a reboot/reload cycle instead of failing if the
5566 load fails.
5567
5568Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5569
5570 * gdb.base/default.exp: Don't set match_max.
5571 * gdb.base/help.exp: Ditto.
5572 * gdb.base/list.exp: Ditto.
5573 * gdb.base/signals.exp: Ditto.
5574
5575 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5576 set, use remote_ld to download the testcase instead of
5577 the GDB loader.
5578
5579Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5580
5581 * config/vr5000.exp: New file.
5582
5583 * config/monitor.exp(gdb_target_monitor): Add pattern for
5584 "Ending remote" to detect errors in connecting.
5585
5586 * gdb.base/setshow.exp: Add .* within auto language test.
5587
5588 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5589 target feature.
5590
5591 * config/monitor.exp(gdb_load): Check for a failure when loading,
5592 and reboot the board if necessary.
5593
5594 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5595 a set of tests. Remove print.* from the patterns being checked.
5596
5597Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5598
5599 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5600 refer to gdb_spawn_id.
5601
5602 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5603 longer used.
5604 * config/sparclet.exp: Ditto.
5605 * config/sparclet-old.exp: Ditto.
5606 * config/slite.exp: Ditto.
5607 * config/sim.exp: Ditto.
5608 * gdb.base/funcargs.exp: Ditto.
5609
5610 * lib/gdb.exp:Remove references to gdb_spawn_id.
5611 (gdb_expect): Move to remote.exp.
5612
5613Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5614
5615 * config/monitor.exp: Detect the "Couldn't establish connection"
5616 message from GDB.
5617
5618Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5619
5620 * gdb.base/bitfields.exp: Use runto instead of explicit
5621 gdb_run_cmd/gdb_expect sequences.
5622
5623 * gdb.base/break.exp(text_next_with_recursion): Add match for
5624 gdb_expect call.
5625
5626 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5627 We also need to handle the "A program is being debugged already"
5628 prompt from gdb. Use gdb_test to set the baud rate.
5629
5630 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5631 to 20000. Really. I mean it.
5632
5633Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5634
5635 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5636 fails. If suppress_flag is set, skip perror message about not
5637 being able to send to GDB.
5638 (send_gdb): If suppress_flag is set, don't try to send commands to
5639 GDB.
5640 (gdb_expect): If suppress_flag is set, always fail immediately.
5641 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5642 (gdb_init): Call gdb_stop_suppressing_tests.
5643 (default_gdb_exit): Ditto.
5644 (default_gdb_start): Ditto.
5645
5646 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5647 gdb_stop_suppressing_tests as appropriate.
5648 * gdb.base/break.exp: Ditto.
5649 * gdb.base/callfuncs.exp: Ditto.
5650 * gdb.base/commands.exp: Ditto.
5651 * gdb.base/exprs.exp: Ditto.
5652 * gdb.base/funcargs.exp: Ditto.
5653 * gdb.base/list.exp: Ditto.
5654 * gdb.base/recurse.exp: Ditto.
5655 * gdb.base/scope.exp: Ditto.
5656 * gdb.base/structs.exp: Ditto.
5657 * gdb.c++/inherit.exp: Ditto.
5658
5659Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5660
5661 * config/vr4300.exp: New file.
5662
99707966
MC
5663 * gdb.*/*.exp: Call gdb_expect instead of expect.
5664
5665 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5666
5667Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5668
5669 * lib/gdb.exp(gdb_init): New function.
5670
5671 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5672 for each individual variable set.
5673
5674 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5675 name.
5676
5677 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5678
5679 * gdb.base/scope.exp: Use gdb_test.
5680
5681 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5682 aborting; the testsuite driver will do that for us (see
5683 gdb_finish). Also, use gdb_test in a few more places.
5684
5685Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5686
5687 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5688
5689Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5690
5691 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5692 and "add_tests" are not at the same address.
5693
5694Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5695
5696 * gdb.base/ptype.exp: Use gdb_test.
5697
5698Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5699
5700 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5701 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5702 left in. No longer expect them to fail.
5703
5704 * gdb.stabs/*.mt; Deleted, no longer used.
5705 * gdb.stabs/configure.in: Remove references to target makefile
5706 frags.
5707 * gdb.stabs/configure: Rebuilt.
5708
5709 * gdb.disasm/*.mt: Deleted, no longer used.
5710 * gdb.disasm/configure.in: Remove references to target makefile
5711 frags. Use "sh3.s" as the unique filename for this directory.
5712 * gdb.disasm/configure: Rebuilt.
5713
5714 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5715 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5716 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5717
5718Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5719
5720 * config/udi.exp: Use mondfe,name instead of remote_host.
5721
5722Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5723
5724 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5725 a function with a watchpoint enabled on the mn10200.
5726
5727 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5728 before trying to create it!
5729
5730Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5731
5732 * config/vx.exp: Use hostname instead of netport.
5733
5734 * config/vxworks.exp: New file.
5735
5736 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5737
5738 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5739 gdb before assuming everything worked. Send a ^C if a timeout
5740 occurs.
5741
5742 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5743 $gdb_spawn_id directly.
5744 (gdb_run_cmd): Try _start as well as start. Use the target feature
5745 gdb,start_symbol as the symbol to start from when jumping.
5746
5747Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5748
5749 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5750 redundant) test.
5751
5752 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5753 it doesn't lose for 16bit integer systems.
5754
5755Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5756
5757 * gdb.fortran/types.exp: If the target doesn't support "double"
5758 data types, then expect "real" types to only be 4 bytes.
5759
5760 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5761 call tests if the target doesn't support inferior function calls.
5762
5763 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5764 in printf tests.
5765
5766Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5767
5768 * gdb.base/help.exp: Disable "help set", "help show", and
5769 "help support". Simplify regexp for "help stack".
5770
5771 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5772 to 60 seconds. Temporarily set match_max to 15000 around the
5773 "info copying" test.
5774
5775 * gdb.base/nodebug.exp: Don't try to do an inferior function
5776 call if the target doesn't support them.
5777 * gdb.base/printcmds.exp: Likewise.
5778 * gdb.base/setvar.exp: Likewise.
5779 * gdb.base/structs.exp: Likewise.
5780 * gdb.c++/templates.exp: Likewise.
5781 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5782
5783 * gdb.base/recurse.exp: Enable for the mn10200.
5784
5785 * configure.in: Do configure gdb.stabs directory for *-*-elf
5786 targets.
5787 * configure: Rebuilt.
5788
5789 * gdb.base/break.exp: Check for gdb,noresults before testing
5790 exit status and/or results from the target.
5791 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5792 * lib/gdb.exp: Remove old (now bogus) initialization of
5793 noinferior, noargs, noresults and nosignals.
5794
5795Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5796
5797 * config/sh.exp: New file.
5798
5799 * config/slite.exp: Try to connect multiple times to the board
5800 before rebooting. Only send a "monitor run" if need_monitor_run
5801 is set.
5802
5803 * gdb.base/break.exp: Don't do the "stub continue" test if
5804 the target has gdb_stub set.
5805
5806 * gdb.base/callfuncs.exp: Increase the timeout.
5807
5808 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5809 if the target has gdb,noinferiorio set.
5810
5811 * gdb.base/list.exp: Increase match_max to 10000 characters.
5812
5813 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5814
5815 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5816 target.
5817
5818 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5819
5820Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5821
5822 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5823 trying to delete the copy of gdb. Catch the file delete so we
5824 don't die if the delete fails; also, the file should be copied to
5825 the host, not to the build.
5826
5827Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5828
5829 * lib/gdb.exp(gdb_test): Surround the result pattern with
5830 parenthesis in case it contains multiple regexps separated
5831 with |.
5832
5833 * gdb.base/watchpoint.exp: Use gdb_test.
5834 * gdb.base/default.exp: Ditto.
5835
5836Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5837
99707966 5838 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5839
c906108c
SS
5840 * gdb.base/scope.exp: Use gdb_test.
5841 * gdb.c++/classes.exp: Ditto.
5842 * gdb.c++/inherit.exp: Ditto.
5843
5844Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5845
5846 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5847 remote_exec instead.
5848 * gdb.base/corefile.exp: Don't be ridiculous.
5849 * gdb.base/*.c: Add missing stub invocations.
5850
5851Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5852
5853 * config/slite.exp: Miscellaneous fixes.
5854
5855 * lib/gdb.exp: Fix runto.
5856
5857 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5858 the target.
5859
5860 * gdb.base/watchpoint.exp: Fix regexp.
5861
5862 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5863 close and wait commands, as the descriptor may now be
5864 invalid. Always call "remote_close host".
5865
5866Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5867
5868 Major rewrite for testsuite revision.
beb998c6 5869
c906108c
SS
5870 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5871 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5872 instead of relying on spawn_id to always contain a valid
5873 spawn id.
5874 (get_compiler_info): New procedure to build the ${binfile}.ci
5875 file, instead of replicating this in N different places.
5876 (gdb_compile): New procedure.
beb998c6 5877
c906108c
SS
5878 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5879 appropriate arguments) instead of compile. Use gdb_test in a lot
5880 more places. Use send_gdb instead of send. Always run gdb_start
5881 at the start of a testcase, as this is no longer done magically.
5882
5883 config/*-gdb.exp: Rename without the -gdb suffix.
5884
5885 config/mips.exp: Use remote_close instead of exit_remote_shell.
5886 config/monitor.exp: Use target_info instead of looking at
5887 baud, timeout, etc.
5888 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5889
5890Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5891
5892 * gdb.c++/templates.exp (test_ptype_of_templates),
5893 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5894 Update expect patterns for destructors and assignment operators
5895 to match corresponding c-typeprint.c changes.
5896 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5897 to destructor breakpoint test, GDB should be able to set the
5898 destructor breakpoint without specifying arguments.
5899
5900Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5901
5902 * gdb.threads/pthreads.exp: Change result for failure to compile due
5903 to lack of pthreads runtime support from an error to simply an
5904 unsupported test, per dejagnu standards.
5905
5906Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5907
5908 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5909 where GDB exits to reduce pattern match time.
5910 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5911
5912 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5913
dc96c6c7 5914Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5915
5916 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5917 * gdb.base/default.exp: ditto.
5918 * gdb.base/nodebug.exp: ditto.
5919 * gdb.base/printcmds.exp: ditto.
5920 * gdb.base/ptype.exp: ditto.
5921 * gdb.base/setvar.exp: ditto.
5922 * gdb.base/structs.exp: ditto.
5923 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5924
5925Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5926
5927 * configure, */configure: Rebuild with autoconf 2.12.
5928
5929Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5930
5931 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5932 use new i*86-pc-linux*-gnu quads.
5933 * gdb.base/corefile.exp: Ditto.
5934 * gdb.base/signals.exp: Ditto.
5935 * gdb.base/sigall.exp: Ditto.
5936 * gdb.base/interrupt.exp: Ditto.
5937
5938 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5939 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5940 RedHat 4.0.
beb998c6 5941
c906108c
SS
5942 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5943 linux. This allows the test case to at least compile on latest
5944 linux, but still not run due to missing the threads runtime library.
5945
5946Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5947
5948 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5949 directory to search gdb directory. Accept and step over conditional
5950 stack alignment code. Consume $prompt in failure cases.
5951 Reset timeout to $oldtimeout instead of some arbitrary value.
5952 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5953 timeout problems with infinite stack backtraces.
5954 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5955 Accept function parameters for linkfunc member.
5956
5957Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5958
5959 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5960 (CXXFLAGS): Remove, unreferenced.
5961 (B_OPTIONS): Add for -B options and add code to initialize with
5962 previous -B options and also add -B option to pick up cross compiled
5963 runtime.
5964 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5965 doing cross compiles.
5966 (target_alias): Declare global.
5967 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5968 to verify that gcc exists in build tree, and if so set CC to that
5969 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5970
c906108c
SS
5971Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5972
5973 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5974 ptype test for anonymous union. Fixup testcase to match
5975 current gcc debug output.
5976
5977Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5978
5979 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5980 force argument to an unsigned long type.
5981
5982Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5983
5984 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5985 tests and anonymous union print/ptype tests.
5986 * gdb.base/list.exp (test_forward-search): Increase timeout by
5987 5 minutes for the "search extremely long line" case.
5988 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5989 completely optional and that the pass/fail messages use the command as
5990 the message if that third arg is a null string.
5991 (gdb_test_exact): Arrange that a null string pattern means match a
5992 null string output rather than any output, which might include random
5993 errors.
5994 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5995 backtrace test.
5996 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5997 always failing and failure is now exposed by gdb.exp changes.
5998
5999Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6000
6001 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6002 weren't being noted.
6003
6004Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6005
6006 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6007 * gdb.stabs/weird.exp: Remove v_comb xfails.
6008
dc96c6c7 6009Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6010
6011 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6012 list.exp scope.exp watchpoint.exp]
6013 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6014
dc96c6c7 6015Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6016
6017 * config/monitor.exp: Increase download timeout to 1000 seconds.
6018
dc96c6c7 6019Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6020
6021 * config/m32r.exp: Increase timeout to 120 seconds.
6022
6023Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6024
6025 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6026 and accept older ordering as obsolescent gcc or gdb.
6027 * gdb.c++/templates.exp: Ditto.
6028 * gdb.c++/virtfunc.exp: Ditto.
6029
6030Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6031
6032 * gdb.base/coremaker.c: Add code to mmap some data so we
6033 can check that it ends up in the core file.
6034 * gdb.base/corefile.exp: Add test to read mmapped data
6035 from core file.
6036
dc96c6c7 6037Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6038
6039 * config/m32r.exp: New file.
6040
6041Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6042
6043 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6044 that cflags can contains -gstabs, and work correctly for other tests.
6045
dc96c6c7 6046Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6047
6048 * gdb.base/setshow.exp: New file, tests show and set.
6049 * gdb.base/setshow.c: New file, tests show and set.
6050 * gdb.base/help.exp: Add test for help set|show annotate.
6051 * gdb.base/default.exp: Add test for set|show annotate.
6052
6053Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6054
6055 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6056 errors unique.
6057 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6058 explicitly.
6059
6060Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6061
6062 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6063 and width commands. This is done elsewhere.
6064 * (gdb_start): Don't call gdb_start_sim here. That's already
6065 done in gdb_load. This fixes lots of failures in default.exp.
6066
6067Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6068
6069 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6070 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6071 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6072 in the same we we treat other failures (since it may be an expected
6073 condition), rather than as an error.
6074 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6075 old test format.
6076
6077Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6078
6079 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6080 (distclean maintainer-clean realclean): No need to remove files
6081 twice. Nuke the duplicates.
6082 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6083 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6084 Remove config.h along with other config files.
6085
6086Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6087
6088 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6089 "p func1 ()" and note that rests of tests are skipped.
6090 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6091 setup_xfails for "print func2::coremaker_local".
6092 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6093 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6094 affected by the previous run test.
6095 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6096 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6097 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6098 "pass int powerset tuple" and "pass modeless int powerset tuple".
6099 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6100 "real write 4" and "real write 8".
6101 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6102 setup_xfails for "print vs1 after tuple assign 2",
6103 "print \$i after tuple assign 2", and
6104 "print vs2 after tuple assign 2".
6105 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6106 meaningful error message and return -1 so the caller can
6107 suppress further tests and avoid a cascade of errors.
beb998c6 6108
c906108c
SS
6109Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6110
6111 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6112 format for printing version.
6113 * gdb.base/default.exp: Ditto.
6114 * gdb.base/interrupt.exp: Fix problem with cascade of
6115 errors if child process dies while calling a function.
beb998c6 6116
c906108c
SS
6117Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6118
6119 * Makefile.in (VPATH): Add
6120 * Makefile.in (Makefile, config.status): Fix rules so things get
6121 remade when necessary.
6122
6123Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6124
6125 * Makefile.in (just-check): Add path to sibling expect dir
6126 to environment variable specified by RPATH_ENVVAR.
6127
6128Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6129
6130 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6131 (just-check): Add shared library paths for libstdc++, tk,
6132 tcl, bfd, and opcodes to the environment variable specified
6133 in RPATH_ENVVAR.
6134 * configure.in: Add support to recognize --enable-shared flag
6135 and generate correct value for RPATH_ENVVAR.
6136 * configure: Regenerated with autoconf.
6137
6138Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6139
6140 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6141 include all osf versions.
6142 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6143 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6144 when target is linux. When failing to build pthreads test
6145 executable, give more meaningful message.
6146 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6147 arg for pthread_create.
beb998c6 6148
c906108c
SS
6149Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6150
6151 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6152 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6153 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6154 and -lpthreads (everybody else).
6155 (test_startup): Fail gracefully if threads are not supported.
6156 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6157 "p/c array_index("abcdef",2)" when not gcc compiled.
6158 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6159 "print func2::coremaker_local" when not gcc compiled.
6160 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6161 "ptype on opaque struct tagname (statically)",
6162 "ptype on opaque struct tagname (dynamically) 1", and
6163 "ptype on opaque struct tagname (dynamically) 2"
6164 for not compiled with gcc.
6165 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6166 backtrace when compiled with gcc.
beb998c6 6167 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6168 than always return success.
6169
6170Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6171
6172 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6173
6174Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6175
6176 * gdb.base/structs.exp: Undo last change.
6177
6178Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6179
6180 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6181 encapsulate all the steps/nexts done during self test, starting
6182 at main, and makes them less sensitive to optimization issues.
6183 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6184 signal handler" test.
6185 * gdb.threads/pthreads.exp: Only run this for native configs.
6186 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6187 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6188 tests.
6189 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6190 for "runto test_calls(void)" test.
beb998c6 6191
c906108c
SS
6192Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6193
6194 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6195 and don't expect address info in breakpoint confirmations.
6196
6197Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6198
6199 * gdb.base/list.exp (test_forward_search): Increase timeout
6200 temporarily by 60 seconds for searching extremely long line,
6201 and then reset to old value when done. Increase expect input
6202 buffer to 10000.
6203
6204Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6205
6206 * gdb.base/list.exp (test_forward_search): Fix to handle very
6207 long source line without overflowing expect's input buffer.
6208
6209Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6210
6211 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6212 "buffer_full".
6213
6214 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6215 "buffer_full".
6216
6217 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6218 "buffer_full".
6219
6220 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6221 "buffer_full".
6222
6223Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6224
6225 * configure.in (configdirs): Add gdb.threads.
6226 * configure: Regenerated with autoconf.
6227 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6228 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6229 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6230
c906108c
SS
6231Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6232
6233 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6234
6235Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6236
6237 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6238 each signal's status in the output of "handle all print".
6239 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6240 the \r\n sequence that immediately precedes the gdb prompt.
6241 * gdb.base/a1-selftest.exp: Save original timeout and restore
6242 after test.
6243
6244Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6245
6246 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6247 symbol.
6248
6249Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6250
6251 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6252
6253Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6254
6255 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6256 timeout by 60 seconds.
6257
6258Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6259
6260 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6261 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6262 error return.
6263
6264Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6265
6266 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6267 gdb initialization, also report how long dejagnu waited. Restore
6268 old timeout before doing error return. Temporarily increase timeout
6269 by 3 minutes to allow for slow startups over heavy NFS use.
6270
6271Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6272
6273 * lib/gdb.exp: Report timeout value for verbosity level 2.
6274 * config/gdbserver.exp: Ditto.
6275 * config/hppro.exp: Ditto.
6276 * config/mips-gdb.exp: Ditto.
6277 * config/monitor.exp: Ditto.
6278 * config/netware.exp: Ditto.
6279 * config/sim-gdb.exp: Ditto.
6280 * config/slite-gdb.exp: Ditto.
6281 * config/udi-gdb.exp: Ditto.
6282 * config/unix-gdb.exp: Ditto.
6283 * config/vx-gdb.exp: Ditto.
6284 * gdb.base/a1-selftest.exp: Ditto.
6285 * gdb.base/a2-run.exp: Ditto.
6286 * gdb.base/break.exp: Ditto.
6287 * gdb.base/corefile.exp: Ditto.
6288 * gdb.base/list.exp: Ditto.
6289 * gdb.base/recurse.exp: Ditto.
6290 * gdb.base/scope.exp: Ditto.
6291 * gdb.base/signals.exp: Ditto.
6292
6293Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6294
6295 * gdb.threads/Makefile.in (docdir): Removed.
6296
6297Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6298
6299 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6300 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6301 @srcdir@.
beb998c6 6302 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6303 autoconf 2.5 or higher.
6304 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6305
6306Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6307
6308 * configure: Regenerated.
6309 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6310 avoid name clashes with SunOS headers.
6311
6312Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6313
6314 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6315
6316Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6317
6318 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6319 prototype information ends up in the compiler info file.
6320
6321Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6322
6323 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6324 attempting to regenerate it. Eliminate use of a temporary file
6325 and just generate the info file directly. Source it immediately,
6326 for consistency of use.
6327 * gdb.base/corefile.exp: Ditto
6328 * gdb.base/exprs.exp: Ditto.
6329 * gdb.base/funcargs.exp: Ditto.
6330 * gdb.base/langs.exp: Ditto.
6331 * gdb.base/list.exp: Ditto.
6332 * gdb.base/mips_pro.exp: Ditto.
6333 * gdb.base/nodebug.exp: Ditto.
6334 * gdb.base/opaque.exp: Ditto.
6335 * gdb.base/ptype.exp: Ditto.
6336 * gdb.base/scope.exp: Ditto.
6337 * gdb.base/setvar.exp: Ditto.
6338 * gdb.base/signals.exp: Ditto.
6339 * gdb.base/whatis.exp: Ditto.
6340 * gdb.c++/templates.exp: Ditto.
6341 * gdb.c++/virtfunc.exp: Ditto.
6342 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6343 whether or not to add -lstdc++ to the compile command line args.
6344
6345Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6346
6347 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6348 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6349 Increase timeout, a lot of single stepping might be needed if the
6350 target has no hardware watchpoints.
6351
6352Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6353
6354 * gdb.base/break.exp: Ignore compiler warnings when compiling
6355 break.c.
6356 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6357 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6358 from remote-sim.
6359 * gdb.base/exprs.exp: Add h8300 xfails.
6360 * gdb.base/funcargs.exp: Likewise.
6361 * gdb.base/nodebug.exp: Likewise.
6362 * gdb.base/printcmds.exp: Likewise.
6363 * gdb.base/ptype.exp: Likewise.
6364 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6365 h8300 xfails.
beb998c6 6366 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6367 on the h8300.
6368 * gdb.base/funcargs.c: Explicitly make last constant argument to
6369 call_after_alloca_subr an unsigned long type.
6370 * gdb.base/return.c: Include stdio.h.
6371
6372Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6373
6374 * config/abug.exp: New file for the older Motorola Bug monitor
6375 that runs on the mvme13x series VME boards.
6376 * config/monitor.exp: Use the new config array for target settings
6377 if they exist.
6378
6379Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6380
6381 * sim-gdb.exp: Make the SH simulator allocate less space when
6382 it is targeted.
6383
6384Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6385
6386 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6387 test.
6388
6389Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6390
6391 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6392 "rs6000-*-*" for "list function in include file" when gcc compiled.
6393 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6394 for "p ctable1[120]".
6395 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6396 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6397 Remove setup_xfail for "rs6000-*-*" for
6398 "print 'scope0.c'::filelocal before run".
6399 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6400 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6401 since some compilers don't allow both options to be given
6402 on the same command line. Create object file and move it.
beb998c6 6403
c906108c
SS
6404Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6405
6406 * gdb.base/corefile.exp: Always regenerate the core file, since
6407 we always regenerate the coremaker program. Detect special case
6408 where registers cannot be read from core file.
beb998c6 6409
c906108c
SS
6410Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6411
6412 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6413 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6414 * gdb.c++/templates.exp: Only match on basename of file since
6415 some formats like xcoff don't encode directory information.
6416 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6417 and rs6000 AIX xcoff targets.
6418 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6419 * configure: Regenerate.
6420 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6421 here, rather than in distclean.
beb998c6 6422
c906108c
SS
6423Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6424
6425 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6426 defined, and use it to compile the test case with -O2. The
6427 native compilation still uses no optimization.
6428 * gdb.base/mips_pro.c: Remove inline assembly code since
6429 it is compiled PIC by default, which results in assembler
6430 warnings that make the testsuite think the compilation
6431 was unsuccessful.
6432
6433Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6434
6435 * gdb.c++/misc.exp: Add note to message for
6436 "print s.a for foo struct" that this is a known gcc 2.7.2
6437 and earlier bug.
6438
6439Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6440
6441 * gdb.base/break.exp: Fix pattern for matching "Delete all
6442 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6443 setup_xfail for deleting all breakpoints test. Fix various
6444 timeout messages to include "(timeout)".
6445 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6446 for "p t_float_values2(3.14159,float_val2)".
6447 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6448 for "continue to call2g" when gcc compiled.
6449 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6450 "up to foo in langs.exp", "show language at foo in langs.exp",
6451 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6452 and "show language at fsub in langs.exp".
6453 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6454 "list line 1 in include file", "list message for lines past EOF",
6455 "list function in include file", "list list0.h:foo", and
6456 "list filename:function; nonexistant function".
6457 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6458 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6459 and "ptype t_char_array" to be for native cc only.
beb998c6 6460
c906108c
SS
6461Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6462
beb998c6 6463 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6464 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6465 "print func2::coremaker_local", and "backtrace in corefile.exp".
6466
6467Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6468
6469 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6470 "bt in signals.exp". This problem only appears when running
6471 the testsuite, and then only intermittently.
6472
6473Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6474
6475 * gdb.base/return.exp (return_tests): Differentiate between
6476 two tests of continuing.
6477
6478Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6479
6480 * */Makefile.in (maintainer-clean): Remove config.log.
6481 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6482 * gdb.c++/Makefile.in (PROGS): Add inherit.
6483 (clean): Remove *.ci.
6484
6485Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6486
6487 * gdb.c++/misc.cc: Add test code from Mike Stump.
6488 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6489
6490Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6491
6492 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6493 to "alpha-*-osf2*" and add comment.
6494 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6495 setup_xfail for "step over execarg initialization" and
6496 "step over corearg initialization".
6497 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6498 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6499 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6500 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6501 "print func2::coremaker_local", and "backtrace in corefile.exp".
6502 * gdb.base/signals.exp: Build and source signals.ci.
6503 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6504 to be for gcc only.
6505 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6506
c906108c
SS
6507Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6508
6509 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6510 Feb 3 procfs.c change.
6511
6512Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6513
6514 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6515
6516Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6517
6518 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6519 from dejagnu's apparent default of 10 seconds, which gives random
6520 results when running the tests over NFS on moderately loaded systems.
6521 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6522
6523Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6524
6525 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6526 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6527 result reports.
6528
6529Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6530
6531 * configure.in (CY_AC_PATH_TCLH): Remove.
6532 * configure: Regenerate.
6533
6534Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6535
6536 * gdb.c++/Makefile.in (clean): Add missing '{'.
6537
6538Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6539
6540 * lib/gdb.exp: Provide a default value for noinferior.
6541
6542 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6543 Load libgloss.exp.
6544
6545Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6546
6547 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6548 the executable, not the .o to run the tests from.
6549
6550Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6551
6552 * gdb.base/break.exp: Don't test for program exit or exit status
6553 if $noresults if nonzero.
6554 * gdb.base/langs.exp: Likewise.
6555 * gdb.base/watchpoint.exp: Likewise.
6556
6557 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6558 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6559 trying to compile the testcase.
6560
6561Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6562
6563 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6564 * gdb.base/signals.exp (continue to handler): Likewise.
6565
6566Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6567
6568 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6569
6570 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6571
6572Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6573
6574 * gdb.base/corefile.exp: Recognize "not found" as failure
6575 when trying to determine if a core file was generated.
6576 If no core file was generate the first time, try again without
6577 the ulimit -c to work around braindamaged shells.
6578
6579Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6580
6581 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6582 [] tests with "test" and enclose string in quotes.
6583 * gdb.stabs/configure: Rebuild
beb998c6 6584
c906108c
SS
6585Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6586
6587 Changes in sync with expect:
6588 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6589 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6590 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6591 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6592 argument to AC_REQUIRE.
6593 * configure: Regenerated.
6594
6595Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6596
6597 * gdb.base/corefile.exp: When generating a core, discard any
6598 error messages about ulimit not found and the "core dumped"
6599 message from the shell that runs the coredumper.
6600
6601Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6602
6603 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6604
6605 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6606 which sed script to run. Expect failure for v_comb test
6607 on PA targets too.
beb998c6 6608
c906108c
SS
6609Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6610
6611 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6612 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6613
6614Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6615
6616 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6617 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6618 "sparc-sun-solaris*" xfails for "p v_comb".
6619 * lib/gdb.exp (default_gdb_start): Fix typo.
6620 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6621 messages to not include the full program name that caused
6622 the core dump since some systems (such as solaris) apparently
6623 truncate this path to about 80 characters.
6624 When generating a core file first try increasing the core file
6625 size limit to unlimited since some systems may default it to
6626 zero, and it is harmless to try it. Move the test for failing
6627 to generate a core file to where it will actually get executed.
6628 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6629 new gdb result from g++ debug info improvements and make old
6630 pattern obsolescent. Also account for size_t differences
6631 (may be int or long).
6632 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6633 initialization before function call is placed in the delay slot
6634 and thus appears to be skipped over by commands such as "next".
6635
6636Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6637
6638 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6639
6640Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6641
6642 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6643 input source file; fix code to compile test to deal with this
6644 convention.
6645 * gdb.c++/*.exp: Likewise.
6646
6647Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6648
6649 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6650 "bt in signals.exp".
6651
6652Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6653
6654 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6655 "step over execarg initialization" and
6656 "step over corearg initialization".
6657
6658Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6659
6660 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6661 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6662
6663Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6664
6665 From Rob Savoye (rob@poseidon.cygnus.com)
6666 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6667 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6668 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6669 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6670 configure.in}: Major reworking for autoconfig.
6671 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6672 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6673 New files.
6674 * config/unix-gdb.exp: Make GDB global.
6675 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6676 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6677 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6678 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6679 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6680 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6681 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6682 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6683 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6684 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6685 pr-8136.exp, result.exp, string.exp, tuples.exp},
6686 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6687 to returns as necessary, arrange for test to compile own testcase
6688 executable.
6689 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6690
c906108c
SS
6691Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6692
6693 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6694 clear_xfail at end of test which might not call either pass or fail.
6695 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6696 "backtrace through signal handler".
6697
6698Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6699
6700 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6701 continuing from a job control stop signal.
6702 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6703
6704Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6705
6706 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6707 * gdb.base/corefile.exp: Likewise.
6708 * gdb.base/funcargs.exp: Likewise.
6709
6710Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6711
6712 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6713 * config/monitor.exp: Add support for setting baud rate.
6714
6715Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6716
6717 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6718 i*86-*-linux* xfails for "backtrace through signal handler".
6719 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6720 "print func2::coremaker_local".
6721 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6722 alpha-dec-osf2* xfail for
6723 "delete all breakpoints when none".
6724
6725Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6726
6727 * gdb.base/break.exp: Change test that deletes all breakpoints
6728 when no user breakpoints are installed. A post 4.15 change
6729 causes gdb to no longer prompt in this case.
6730
6731Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6732
6733 * gdb.base/return.exp (return_tests): Change xfail for test
6734 "correct value returned double test" to stop xfailing at
6735 Solaris 2.5. Apparently the bug has been fixed.
6736
6737Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6738
6739 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6740 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6741
6742Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6743
6744 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6745 * gdb.disasm/hppa.s: Corresponding changes.
6746
6747Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6748
6749 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6750 makefile fragment.
6751 * config/mt-hpux: Deleted.
6752
6753Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6754
beb998c6 6755 * Many files: When warning about suppressed tests due to a
c906108c
SS
6756 nonexistant test binary, avoid incrementing the warning count.
6757
6758Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6759
6760 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6761
c906108c
SS
6762Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6763
6764 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6765 "sparc-*-solaris2*".
6766
6767Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6768
6769 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6770 Add global and local variables and initialize them.
6771 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6772 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6773 extracts the file name and terminating signal from the core file.
6774 * TODO: Remove note about tests for correct mapping of corefile.
6775 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6776 from optimizing it away.
6777 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6778 handles common blocks.
6779
6780Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6781
6782 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6783 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6784
6785Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6786
6787 * Makefile.in (maintainer-clean): New target, synonym for
6788 realclean.
6789 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6790 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6791 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6792 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6793 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6794 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6795
6796Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6797
6798 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6799 xfails when not gcc compiled for "print foo::funclocal".
6800 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6801 "print foo::funclocal at foo",
6802 "print 'scope1.c'::foo::funclocal at foo",
6803 "print foo::funclocal_bss at foo",
6804 "print 'scope1.c'::foo::funclocal_bss at foo",
6805 "print foo::funclocal_ro at foo",
6806 "print 'scope1.c'::foo::funclocal_ro at foo",
6807 "print bar::funclocal at foo" and
6808 "print 'scope1.c'::bar::funclocal at foo".
6809 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6810 gcc compiled for "print foo::funclocal at bar".
6811 Expand all messages to ensure that they identify that
6812 the test is at bar().
6813 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6814 gcc compiled for:
6815 "ptype on opaque struct pointer (statically)",
6816 "ptype on opaque struct tagname (statically)",
6817 "ptype on opaque struct pointer (dynamically) 1",
6818 "ptype on opaque struct tagname (dynamically) 1",
6819 "ptype on opaque struct pointer (dynamically) 2" and
6820 "ptype on opaque struct tagname (dynamically) 2
6821 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6822 gcc compiled for:
6823 "p datalocal"
6824 "whatis datalocal",
6825 "ptype datalocal",
6826 "p bsslocal",
6827 "whatis bsslocal", and
6828 "ptype bsslocal".
6829 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6830 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6831 when not gcc compiled.
6832 * gdb.base/funcargs.exp (float_and_integral_args): Add
6833 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6834 compiled.
6835 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6836 "backtrace from call6a" when not gcc compiled.
6837 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6838 "backtrace from call7a" when not gcc compiled.
6839 * gdb.base/callfuncs.exp (do_function_calls):
6840 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6841 "p t_char_array_values(char_array_val2,char_array_val1)",
6842 "p t_char_array_values(char_array_val1,char_array_val2)",
6843 "p t_char_array_values("carray 1","carray 2")",
6844 "p t_char_array_values("carray 1",char_array_val2)",
6845 "p t_char_array_values(char_array_val1,"carray 2")",
6846 "p sum_args(1,{2})",
6847 "p sum_args(2,{2,3})",
6848 "p sum_args(3,{2,3,4})",
6849 "p sum_args(4,{2,3,4,5})"
6850 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6851 "backtrace in corefile.exp" when not gcc compiled.
6852
6853Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6854
6855 * gdb.base/signals.exp: Rewrite `handle all print' test as
6856 a procedure. Accept blanks or TABs as whitespace, increase
6857 timeout and expect input buffer size for the large output
6858 from the command. Remove "i*86-*-bsdi2.0" xfail.
6859
6860Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6861
6862 * gdb.base/setvar.exp: Add new testcases for truncation when
6863 assigning invalid values to bitfields.
6864
6865Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6866
beb998c6 6867 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6868 mips-sgi-irix* xfail for
6869 "call inferior func with struct - returns char *"
6870 and fix test so that an optional (unsigned char *) cast is
6871 accepted in the result.
6872
6873Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6874
6875 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6876 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6877 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6878 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6879 that accidentally got checked in.
6880
6881Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6882
beb998c6 6883 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6884 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6885 compiled test.
6886 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6887 Add mips-sgi-irix5* xfail for not gcc compiled.
6888 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6889 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6890 "p top", "whatis top", "p middle", and "whatis middle".
6891 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6892 "whatis signed char" for not gcc compiled.
6893 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6894 "set variable signed char=-1 (-1)" and
6895 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6896 * gdb.base/funcargs.exp (float_and_integral_args):
6897 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6898 Add mips-sgi-irix* xfail when not gcc compiled for
6899 "continue to call2b".
6900 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6901 "continue to call2g".
6902 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6903 "backtrace from call6a"
6904 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6905 "backtrace from call7k".
6906 Add mips-sgi-irix5* xfail when not gcc compiled for
6907 "backtrace from call7a".
6908 (localvars_after_alloca): Fix gdb_test cmds for
6909 "print * after runto ...".
6910 Remove rs6000-*-* xfails for
6911 "print i after runto localvars_after_alloca" and
6912 "print l after runto localvars_after_alloca"
6913 for all compilers.
6914 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6915 when not compiled with gcc, for:
6916 "print signed char == (minus)",
6917 "print signed char != (minus)",
6918 "print signed char < (minus)",
6919 "print signed char > (minus)".
6920 * gdb.base/callfuncs.exp (do_function_calls):
6921 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6922 "call inferior func with struct - returns char *".
beb998c6 6923 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6924 "correct value returned double test" to include Solaris 2.4.
6925 * gdb.base/funcargs.exp (float_and_integral_args):
6926 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6927
c906108c
SS
6928Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6929
6930 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6931 enumeration bitfields if compiling with GNU C.
6932 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6933 to empty' prompt.
6934
6935Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6936
6937 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6938 test for PRO targets.
6939
6940 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6941 breakpoints in the inferior at any given time by making
6942 two groups of breakpoints for call2*, call6* and call7*
6943 tests.
6944
6945Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6946
6947 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6948 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6949 from optimizing it away.
6950 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6951 "call inferior func with struct".
6952
6953Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6954
6955 * configure.in: Only configure gdb.chill for particular targets.
6956
6957Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6958
6959 * gdb.base/Makefile.in: Add action to .c.o transformation
6960 rule that generates a .ci file for each .o file and remove
6961 explicit .c.o rules except for callfuncs.o.
6962 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6963 generates a .ci file for each .o file and remove explicit
6964 .cc.o rules.
6965 (clean): Remove *.tmp *.ci files.
6966 (EXECUTABLES): Remove templ-info.exp.
6967 * gdb.base/compiler.c: New file.
6968 * gdb.c++/compiler.cc: New file
6969 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6970 Change rs6000-*-* xfail for
6971 "print 'scope0.c'::filelocal_ro" and
6972 "print 'scope1.c'::filelocal" and
6973 "print 'scope1.c'::filelocal_bss" and
6974 "print 'scope1.c'::filelocal_ro" and
6975 "print 'scope1.c'::foo::funclocal" and
6976 "print 'scope1.c'::foo::funclocal_ro" and
6977 "print 'scope1.c'::bar::funclocal" and
6978 "print 'scope0.c'::filelocal_ro" and
6979 "print 'scope1.c'::filelocal at foo" and
6980 "print 'scope1.c'::filelocal_bss at foo" and
6981 "print 'scope1.c'::filelocal_ro at foo" and
6982 "print 'scope1.c'::foo::funclocal at foo" and
6983 "print 'scope1.c'::foo::funclocal_bss at foo" and
6984 "print 'scope1.c'::foo::funclocal_ro at foo" and
6985 "print 'scope1.c'::bar::funclocal at foo" and
6986 "print 'scope0.c'::filelocal_ro" and
6987 "print 'scope1.c'::filelocal" and
6988 "print 'scope1.c'::filelocal_bss" and
6989 "print 'scope1.c'::filelocal_ro" and
6990 "print 'scope1.c'::foo::funclocal" and
6991 "print 'scope1.c'::foo::funclocal_bss" and
6992 "print 'scope1.c'::foo::funclocal_ro" and
6993 "print 'scope1.c'::bar::funclocal" and
6994 "print 'scope1.c'::bar::funclocal_bss"
6995 to only be xfail'd when not compiled with gcc.
beb998c6 6996 Add rs6000-*-* xfail for
c906108c
SS
6997 "print 'scope0.c'::filelocal_bss before run"
6998 when compiled with gcc.
6999 (test_at_main): Add rs6000-*-* xfail for
7000 "print filelocal_ro in test_at_main"
7001 when compiled with gcc.
7002 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7003 Add rs6000-*-aix* xfail for
c906108c
SS
7004 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7005 "ptype t_char_array", not compiled with gcc.
7006 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7007 xfail for "list foo (in include file)" when gcc compiled.
7008 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7009 (integral_args): Add rs6000-*-* xfail for
7010 "run to call0a" if not compiled with gcc.
7011 (unsigned_integral_args): Add rs6000-*-* xfail for
7012 "run to call1a" if not compiled with gcc.
7013 (float_and_integral_args): Add rs6000-*-* xfail for
7014 "run to call2a" if not compiled with gcc and for
7015 "continue to call2b" for any compiler.
7016 Add rs6000-*-* xfail to
7017 "print f1 after run to call2a" for gcc compiled.
7018 (discard_and_shuffle): Add rs6000-*-* xfail for
7019 "run to call6a".
7020 (shuffle_round_robin): Add rs6000-*-* xfail for
7021 "backtrace from call7a" if not compiled with gcc.
7022 Add rs6000-*-* xfail for
7023 "backtrace from call7b" if compiled with gcc.
7024 (call_after_alloca): Add rs6000-*-* xfail for
7025 "print c in call_after_alloca" and
7026 "print s in call_after_alloca" and
7027 "backtrace from call_after_alloca_subr"
7028 if not compiled with gcc.
7029 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7030 "print c in localvars_in_indirect_call" and
7031 "print c in localvars_in_indirect_call" and
7032 "backtrace in indirectly called function" and
7033 "stepping into indirectly called function"
7034 if not compiled with gcc.
7035 (localvars_after_alloca): Add rs6000-*-* xfail for
7036 "print c after runto localvars_after_alloca" and
7037 "print s after runto localvars_after_alloca" and
7038 "print i after runto localvars_after_alloca" and
7039 "print l after runto localvars_after_alloca"
7040 for all compilers.
7041 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7042 than whatis-info.exp.
7043 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7044 than opaque-info.exp.
7045 Setup rs6000-*-* xfail for
beb998c6 7046 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7047 "ptype on opaque struct pointer (dynamically)" when
7048 not compiled with gcc.
7049 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7050 rather than callf-info.exp.
7051 (do_function_calls): Add clear_xfail for rs6000-*-* for
7052 "p t_float_values2(3.14159,float_val2)". Seems to work
7053 fine there, both with xlc and gcc. Need to find out what
7054 it is doing right and fix other platforms.
7055 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7056 "call inferior func with struct - returns int",
7057 "call inferior func with struct - returns long",
7058 "call inferior func with struct - returns float",
7059 "call inferior func with struct - returns double",
7060 "call inferior func with struct - returns char *",
7061 but only if not gcc compiled (presumes xlc compiled).
7062 Change rs6000-*-* xfails for
7063 "call inferior func with struct - returns char" and
7064 " call inferior func with struct - returns short" to only
7065 xfail if not using gcc.
7066 (clean mostlyclean): Remove *.ci and *.tmp files.
7067 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7068 than templ-info.exp.
7069 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7070 Add rs6000-*-* xfail for "up to foo in langs.exp"
7071 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7072 when not gcc compiled.
beb998c6 7073
c906108c
SS
7074Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7075
7076 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7077 * gdb.base/corefile.exp: Likewise.
7078 * gdb.base/list.exp: Likewise.
7079 * gdb.base/scope.exp: Likewise.
7080 * gdb.base/siganls.exp: Likewise.
7081
7082 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7083 compiler output.
7084 * gdb.base/whatis.exp: Likewise.
7085
7086Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7087
7088 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7089 failure (opcode table has been fixed to match reality).
7090
7091Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7092
7093 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7094 "call inferior func with struct - returns char",
7095 "call inferior func with struct - returns short"
7096
7097 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7098 "print 'scope0.c'::filelocal at main",
7099 "print 'scope0.c'::filelocal_bss in test_at_main",
7100 "print 'scope0.c'::filelocal at foo",
7101 "print 'scope0.c'::filelocal_bss in test_at_foo",
7102 "print 'scope0.c'::filelocal at bar",
7103 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7104
c906108c
SS
7105 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7106 in source file 1". This bug seems to have been fixed with both
7107 gcc and native cc (was native assembler bug?).
7108
7109Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7110
7111 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7112 "backtrace through signal handler" to "i*86-*-sysv4*".
7113 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7114 continue" case. Add "known SVR4 bug" to fail message.
7115 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7116 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7117 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7118 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7119 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7120 "up to foo in langs.exp", "show language at foo in
7121 langs.exp", "up to cppsub_ in langs.exp", "show
7122 language at cppsub_ in langs.exp", "up to fsub in
7123 langs.exp", and "show language at fsub in langs.exp".
7124 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7125 "bactrace in corefile.exp".
7126 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7127 "call inferior function with struct - returns float" and
7128 "call inferior function with struct - returns double".
beb998c6 7129
c906108c
SS
7130Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7131
7132 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7133 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7134 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7135 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7136
7137Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7138
7139 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7140 (or overriden) "CHILL" macro rather then bare "gcc".
7141 Also look for ../../gcc/xgcc since that is what we will
7142 actually need, not "Makefile". Remove following assignment
7143 of CHILL to CHILL_FOR_TARGET because that results in
7144 recursive definition.
7145
7146Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7147
7148 * gdb.base/corefile.exp: Change xfail for backtrace in
7149 corefile.exp from linuxaout to all linux.
7150 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7151 cases where we miss the breakpoint at the signal handler
7152 for some reason. Setup xfail for linuxoldld/linuxaout and
7153 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7154 hitting SIGURG breakpoint.
7155 * gdb.base/signals.exp: Setup xfail for "next" acting like
7156 continue to add linuxoldld. Setup xfail for all linux for
7157 "next to handler in signals_tests_1", "backtrace in
7158 signals_tests_1", "continue to func1", "pass SIGUSR1",
7159 and continue to handler".
7160
7161Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7162
7163 * Update all FSF addresses except those in COPYING* files.
7164
7165Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7166
7167 * gdb.base/a2-run.exp: Change messages to be more explicit about
7168 the status of args, and quote binfile in results.
7169
7170Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7171
7172 * gdb.base/callfuncs.exp: Add tests for passing structs to
7173 inferior functions and return various types.
7174 * gdb.base/callfuncs.c: Add functions to receive a struct
7175 and return a member of the struct, in various types.
7176
7177Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7178
7179 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7180
7181Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7182
7183 * config/vxworks29k.exp: New file, sources vxworks.exp.
7184
7185Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7186
7187 * config/gdbremote.exp: New file. Testing framework using
7188 gdbserver.
7189
7190Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7191
7192 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7193 "call function when asleep" and "send end of file".
7194 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7195 for "backtrace in corefile.exp".
7196 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7197 for "backtrace through signal handler".
7198 * gdb.base/corefile.exp: Make sure we actually generate a core file
7199 before trying the core tests. Some systems allow the user to suppress
7200 generation of core files and default to that (linux for example).
7201 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7202 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7203
7204Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7205
7206 * gdb.threads: New directory with some crude multi-threaded
7207 gdb tests (step.exp and step2.exp).
7208 * config/mt-lynx (STEP_EXECUTABLE): Define.
7209 (THREADFLAGS): Define.
7210
7211Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7212
7213 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7214
7215 * gdb.base/signals.exp: Disable whole file for lynx until
7216 further notice.
7217
7218 * gdb.base/signals.exp: xfail test where "next" acts like
7219 "continue" for lynx.
7220
7221 * gdb.base/interrupt.exp: xfail test for calling function while
7222 inferior is asleep for lynx.
7223
7224 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7225 than one cr-lf after each command.
7226
7227Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7228
7229 * configure.in: Reinstate setting of stabsdirs variable, fix
7230 typo in setting up configdirs for native builds.
7231
7232 * gdb.base/return.exp: Fix typo in return double test.
7233 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7234 compiler from optimizing them away.
7235
7236Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7237
7238 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7239 sequences to be echo'd by gdb when using gdb_test.
7240 * gdb.chill/chexp.exp: Likewise.
7241 * gdb.fortran/exprs.exp: Likewise
7242
7243Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7244
7245 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7246 after the inferior gdb has started.
7247
7248 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7249 after each command.
7250 * gdb.base/funcargs.exp: Likewise.
7251 * gdb.base/gdbvars.exp: Likewise.
7252 * gdb.base/interrupt.exp: Likewise.
7253 * gdb.base/list.exp: Likewise.
7254 * gdb.base/watchpoint.exp: Likewise.
7255 * gdb.c++/demangle.exp: Likewise.
7256 * gdb.c++/inherit.exp: Likewise.
7257 * gdb.chill/chexp.exp: Likewise.
7258 * gdb.fortran/exprs.exp: Likewise.
7259
7260 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7261 test if we can't handle IO to/from the inferior.
7262
7263 * gdb.c++/misc.exp: Always check for a program already being
7264 started after sending a "run" command to gdb.
7265
7266 * gdb.base/twice.exp: Start with a fresh gdb.
7267
7268 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7269 only depend on gdb's expression code, not the chill runtime.
7270
7271 * gdb.base/return.c: Put return values into variables so we
7272 can have gdb print them rather than depending on the program
7273 to print them.
7274 * gdb.base/return.exp: Corresponding changes.
7275
7276 * lib/gdb.exp: Provide default value for noinferiorio.
7277 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7278 the inferior.
7279
7280 * gdb.base/break.exp: Always check for a program already being
7281 started after sending a "run" command to gdb.
7282 (text_next_with_recursion): Don't check the output from the
7283 program's printf statement. Instead just make sure the program
7284 exited.
7285
7286 * gdb.base/commands.exp: Protect tests which need arguments with
7287 $noargs conditionals.
7288
7289Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7290
7291 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7292 of structure member arrays to match gdb/valops.c:value_addr change.
7293
7294Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7295
7296 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7297 cases.
7298
7299Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7300
7301 * configure.in (configdirs): Remove gdb.chill from default list
7302 of subdirs and then add it back in only if doing a native build.
7303 The current chill compiler does not yet work in any cross build.
7304 * Revert all signal changes from Jul 6.
7305 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7306 for sh-hms targets, allowing these tests to link, with no other
7307 changes. Testing is suppressed by setting "nosignals" in site.exp.
7308
7309Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7310
7311 * configure.in (signaldirs): Define and add to configdirs for all
7312 targets except some specific ones that are known to not support signals.
7313 Also clean up formatting.
7314 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7315 (signals, sigall): Remove rules to build.
7316 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7317 Moved to new gdb.signals directory.
7318 * gdb.signals: New test directory.
7319 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7320 signals.c signals.exp}: New or moved files.
7321
7322Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7323
7324 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7325
7326Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7327
7328 * gdb.base/return.exp: Xfail `return double' test failure
7329 on at least Solaris 2.3 and handle future/past versions on
7330 a case by case basis as appropriate. Also update message
7331 to include i*86 failures.
7332
7333Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7334
7335 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7336
7337 * lib/gdb.exp: Fix comment which erroneously identified
7338 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7339 gdb_file_cmd not gdb_load).
7340 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7341
7342 * gdb.base/setvar.exp: Make test names consistent between pass and
7343 fail cases. Use gdb_test more.
7344
7345Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7346
7347 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7348
7349Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7350
7351 * gdb.base/help.exp: Fix expected help string for `show commands'.
7352
7353Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7354
7355 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7356
7357 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7358 of a text section.
7359
7360Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7361
7362 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7363 that loop eventually terminates. Fix Connection refused logic so
7364 that testsuite will expire nicely.
7365
7366Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7367
7368 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7369 config/rom68k.exp: New tcl glue for the appropriate monitors.
7370 These all just end up calling monitor.exp.
7371 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7372 refused' by retrying. Cleanup some timeout issues.
7373 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7374 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7375 callers don't have to set/restore global timeout variable.
7376
7377 * The following set of changes centralizes management of the global
7378 timeout variable. This way, it can be set in one target dependent
7379 place instead of dozens of places scattered throughout the test suite.
7380 If you need to lengthen a timeout, then you should either set timeout
7381 in one of the config/{target}.exp files, or multiply it by a factor.
7382 Setting it to an absolute value is always going to lose for some
7383 targets.
7384 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7385 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7386 * gdb.base/funcargs.exp: Don't set timeout.
7387 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7388 * gdb.base/printcmds.exp (test_print_string_constants
7389 test_print_array_constants): Don't set timeout.
7390 * gdb.base/ptype.exp: Don't set timeout.
7391 * gdb.base/recurse.exp: Don't set timeout.
7392 * gdb.base/return.exp: Don't set timeout.
7393 * gdb.base/watchpoint.exp: Don't set timeout.
7394 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7395 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7396
7397Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7398
7399 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7400
7401Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7402
7403 * lib/gdb.exp: Disable chill tests for irix5.
7404
7405Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7406
7407 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7408 each test pass or fail.
7409
7410Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7411
7412 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7413 xlc not gcc.
7414
7415Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7416
7417 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7418
7419Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7420
7421 * config/est.exp: Fix copyright and comments. Remove dead code.
7422 Use targetname, serialport and baud variables instead of fixed
7423 constants.
7424 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7425 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7426
7427Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7428
7429 * gdb.base/watchpoint.exp: Don't run
7430 test_watchpoint_triggered_in_syscall for sunos.
7431
7432Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7433
7434 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7435 they don't seem to exist. Do include stdio.h.
7436
7437Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7438
7439 * gdb.base/a1-selftest.exp: Add alpha xfail.
7440
7441Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7442
7443 * gdb.base/watchpoint.c (main): Prompt before calling read().
7444 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7445 Revise accordingly. Remove cruft about sending "123" several
7446 times, until it gets noticed. Clean up the "print buf[0]" stuff
7447 so that it passes or fails, and waits for prompts in the usual way.
7448
7449Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7450
7451 * gdb.base/recurse.exp: Fix comment.
7452
7453 * TODO: Remove item about printing variables in nodebug.exp. Add
7454 item about enabling tests which are only run on some targets.
7455
7456 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7457 fail, make test names unique, use new gdb_test convention
7458 regarding pattern, use gdb_test more, etc.).
7459
7460 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7461 fail, make test names unique, etc.).
7462
7463Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7464
7465 * gdb.base/nodebug.c: Change return type of top and middle to
7466 short.
7467 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7468 are fixed by the recent mdebugread.c changes. Allow `short ()'
7469 as type for top and middle.
7470
7471Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7472
7473 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7474 nearly as I can tell, the whole thing was an accident in Stu's
7475 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7476 to replace a send/expect pair with gdb_test, but ended up only
7477 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7478 of 30 Mar 1995 took care of it, but left this vestigial comment
7479 which I am now nuking.
7480
7481Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7482
7483 * gdb.base/break.exp: Look for different line number for
7484 breakpoint at main depending on usestubs.
7485
7486Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7487
7488 * gdb.base/list.exp: Adjust some alternate expect patterns to
7489 match recent list0.c change. Add alternate expect pattern for
7490 output from `list default lines around main' for optimizing
7491 compilers.
7492
7493Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7494
7495 * lib/gdb.exp: If nosignals is not set, set it to 0.
7496
7497Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7498
7499 * config/slite-gdb.exp: Responds to load symbol table prompt.
7500 * gdb.base/break.exp: Adjust line number, fix rerun.
7501 * gdb.base/langs0.c: Add #ifdef usestubs.
7502
7503Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7504
7505 * gdb.base/list.exp: Adjust line contents after adding new lines in
7506 list0.c. Also fix a syntax error.
7507
7508 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7509 * gdb.base/break.exp: ditto.
7510 * gdb.base/list.exp: ditto.
7511 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7512 * gdb.base/run.c: ditto.
7513 * gdb.base/list0.c: ditto.
7514 * gdb.base/funcargs.c: ditto.
7515
7516Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7517
7518 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7519 $targetname, $serialport and $baud instead of hardwired variables.
7520 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7521 target doesn't support signals.
7522
7523Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7524
7525 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7526
7527Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7528
7529 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7530 Don't rely on the value of an auto variable before it has been
7531 initialized. Use gdb_test more.
7532
7533Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7534
7535 * lib/gdb.exp (default_gdb_version): A version number must start
7536 with a digit, but other than that contains all characters up to
7537 the first whitespace character.
7538
7539Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7540
7541 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7542
7543Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7544
7545 * gdb.c++/*.exp: Warn if executable does not exist. The original
7546 reason for skipping the warning was that configure.in sometimes
7547 intentionally skipped building the executables but the tcl code
7548 had no way of knowing. That (a) was always bogus with respect to
7549 error handling, (b) is no longer true (right now there is no way
7550 to skip C++ tests).
7551
7552 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7553
7554Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7555
7556 * gdb.base/list.exp: Add expect patterns for output from
7557 SunPRO compiled executables.
7558 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7559 types.
7560
7561Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7562
7563 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7564 number (we are already testing that the correct source line text
7565 gets printed).
7566
7567 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7568 that is what is intended, but something needed to be done to get
7569 sunos4 native working again.
7570
7571 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7572
7573 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7574 apparently went with a (very) old xfail.
7575
7576Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7577
7578 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7579 runto_main is a proc in gdb.exp that will do 'step' for target use
7580 stubs.
7581 * gdb.base/exprs.exp: ditto.
7582 * gdb.base/interrupt.exp: ditto.
7583 * gdb.base/opaque.exp: ditto.
7584 * gdb.base/printcmds.exp: ditto.
7585 * gdb.base/ptype.exp: ditto.
7586 * gdb.base/scope.exp: ditto.
7587 * gdb.base/setvar.exp: ditto.
7588 * gdb.base/signals.exp: ditto.
7589 * gdb.base/twice.exp: ditto.
7590 * gdb.c++/classes.exp: ditto.
7591 * gdb.c++/inherit.exp: ditto.
7592 * gdb.c++/templates.exp: ditto.
7593 * gdb.base/break.exp: no run and hit main for stubs. Change line
7594 numbers for breakpoints and info breakpoint.
7595 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7596 breakpoint().
7597 * gdb.base/callfuncs.c: ditto.
7598 * gdb.base/exprs: ditto.
7599 * gdb.base/interrupt.c: ditto.
7600 * gdb.base/opaque0.c: ditto.
7601 * gdb.base/printcmds.c: ditto.
7602 * gdb.base/ptype.c: ditto.
7603 * gdb.base/scope0.c: ditto.
7604 * gdb.base/setvar.c: ditto.
7605 * gdb.base/signals.c: ditto.
7606 * gdb.base/twice.c: ditto.
7607 * gdb.c++/misc.cc: ditto.
7608 * gdb.c++/templates.cc: ditto.
7609
7610Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7611
7612 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7613
7614 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7615 somewhere between `read' and `main.c'. I'm pretty sure the
7616 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7617 and it isn't particularly useful.
7618
7619 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7620
7621Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7622
7623 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7624
7625Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7626
7627 * config/mt-slite: add LIBS and -nostdlib.
7628 * config/slite-gdb.exp: add this new file to support sparclite target.
7629
7630Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7631
7632 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7633
7634 * gdb.base/a2-run.exp: Change argument to istarget from
7635 "*-*-vxworks" to "*-*-vxworks*".
7636 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7637
7638Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7639
7640 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7641 will not runto main but do a 'step' to step out of breakpoint().
7642 * config/mt-slite: add -Dusestubs.
7643
7644Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7645
7646 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7647 instead of just @.
7648
7649 * gdb.base/signals.exp: Add test for "handle all print".
7650 * TODO: Remove "handle all print". Also remove item about
7651 checking copyright date (I don't like the idea of a spurious FAIL
7652 based on when we run the tests).
7653
7654 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7655 for SunOS4 (reason for failure not investigated). Remove
7656 redundant test for $binfile.
7657
7658 * gdb.base/nodebug.c (array_index): Call malloc.
7659
7660 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7661
7662Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7663
7664 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7665 conventions and slightly simplify the matching regexp.
7666
7667Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7668
7669 * gdb.base/break.exp: Update gdb_test invocation to use new
7670 convention.
7671
7672 * lib/gdb.exp: If noargs is not set, set it to 0.
7673
7674 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7675 tests unique.
7676
7677 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7678
7679Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7680
7681 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7682 one argument of type "<non-float parameter>".
7683
7684Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7685
7686 * config/rom68k.exp: New file to support Motorola IDP board.
7687 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7688 * gdb.base/break.c: Change things around so that this program
7689 doesn't depend upon args. This is necessary to make remote
7690 targets work (in general, they can't take args).
7691 * gdb.base/break.exp: Don't try to send args to program. Don't
7692 expect output. Also, replace lots of code with gdb_test.
7693
7694Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7695
7696 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7697 printing of '\'' (which is what the comment says we are testing,
7698 even though we were not), not '''.
7699 (test_integer_literals_rejected): Test that printing ''' is an error.
7700
7701 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7702 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7703 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7704 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7705 Use gdb_test not test_print_accept.
7706 * lib/gdb.exp: Remove test_print_accept.
7707
7708 * gdb.base/signals.exp (signal_tests_1): Make pass message
7709 consistent with fail message.
7710
7711 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7712 unsigned char; the bug (PR 1821) is fixed.
7713
7714 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7715
7716 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7717 successful tests--makes xfailing them work right.
7718
7719Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7720
7721 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7722 only \r\n, not .*. The test can pass .* as the last thing in
7723 $pattern if that is what it wants. In addition to providing this
7724 flexibility, this change should speed up pattern matching in cases
7725 where the pattern already ended with .* (there were a number of
7726 them). This change also helps catch bad patterns--in the old
7727 scheme the typo "char \*" instead of "char \\*" would pass. Now
7728 it is caught.
7729 * Many .exp files: Update callers.
7730
7731 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7732 clearer and does not spuriously match multiple ('s. Likewise for
7733 ) and *.
7734
7735 * gdb.base/nodebug.exp: Test ability to call a function and pass
7736 it a string (even with no debugging info).
7737
7738 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7739 "p '\'", which is the same as "p ''" once tcl gets done with
7740 quoting, to "p '\\'", which I suspect is what is intended (one
7741 backslash gets sent to GDB).
7742
7743 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7744
7745Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7746
7747 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7748 1817) was fixed literally years ago.
7749
7750Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7751
7752 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7753 test, it causes stepping out of call_after_alloca_subr with
7754 optimizing compilers.
7755 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7756 fails.
7757
7758 * gdb.c++/templates.exp: Source templ-info.exp only if
7759 the templates executable exists.
7760
7761 * gdb.c++/misc.cc (class Contains_static_instance,
7762 class Contains_nested_static_instance),
7763 gdb.c++/classes.exp (test_static_members): Test printing of
7764 a class that contains a static instance of the class.
7765
7766Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7767
7768 * gdb.base/langs2.c (cppsub_): Don't prototype.
7769 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7770 only, I believe).
7771
7772Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7773
7774 * lib/gdb.exp (skip_chill_tests): New procedure.
7775
7776 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7777
7778Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7779
7780 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7781 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7782
7783Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7784
7785 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7786
7787 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7788 disassemble 8, not 16, instructions for part 4.
7789
7790 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7791 support the latter anymore.
7792
7793 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7794 -DNO_PROTOTYPES.
7795 * gdb.base/callfuncs.c: Control use of prototypes based on
7796 NO_PROTOTYPES, not __STDC__.
7797 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7798 t_float_values2 tests if prototypes in use.
7799
7800 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7801 t_double_values): When checking differences against DELTA, check
7802 that difference is within the range (-DELTA,DELTA), not just
7803 (-infinity,DELTA).
7804
7805Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7806
7807 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7808 'file' command firts, then 'target', then 'load', this is due to gdb
7809 target set up.
7810 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7811
7812Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7813
7814 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7815 FP load/store variants.
7816 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7817
7818Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7819
7820 * gdb.base/term.exp: Do not give a warning if not native, it is
7821 not an abnormal condition.
7822
7823Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7824
7825 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7826 t_char_array".
7827
7828Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7829
7830 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7831 are getting the version number.
7832
7833 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7834 if not native, it is not an abnormal condition.
7835
7836Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7837
7838 * lib/gdb.exp: Just use "file exists", rather than undocumented
7839 dejagnu procedure "findfile".
7840
7841Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7842
7843 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7844 (LDFLAGS): Set to -Xlinker -Ur.
7845
7846 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7847 Removed, these values are set by lib/gdb.exp.
7848
7849 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7850
7851Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7852
7853 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7854 of replicating gdb startup code.
7855
7856 * config/mt-vxworks (LDFLAGS): Set to -r.
7857 (CFLAGS_FOR_TARGET): Removed.
7858
7859 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7860 (gdb) and gdb for vxworks uses (vxgdb).
7861
7862 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7863 executable is not in the tree and host != target, use sed and
7864 program_transform_name to determine the gdb name used by the
7865 target.
7866
7867 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7868 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7869
7870Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7871
7872 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7873 floats, chars, and shorts where there are ANSI-style function
7874 definitions.
7875
7876 * gdb.base/langs.exp, gdb.base/langs*: New test.
7877 * gdb.base/Makefile.in: Build it.
7878 * TODO: Remove item about checking that C names don't get C++
7879 demangling applied; this test tests it.
7880
7881Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7882
7883 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7884 went with the const70 xfail. The xfail went away a year ago.
7885
7886 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7887
7888 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7889 for hp300.
7890
7891 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7892
7893 * gdb.base/a1-selftest.exp: Don't run on hp300.
7894
7895Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7896
7897 * Makefile.in (site.exp): Set host_alias and target_alias as well
7898 as host_triplet and target_triplet.
7899
7900Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7901
7902 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7903
7904 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7905 places as other ecoff systems).
7906
7907 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7908 ultrix.
7909
7910Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7911
7912 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7913 remove them.
7914 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7915 variable and "variable" in addition to "data variable".
7916 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7917
7918 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7919 2.
7920 * gdb.base/list1.c (long_line): Add additional statement at start
7921 of function.
7922 * gdb.base/list.exp (test_forward_search): Update line number to
7923 reflect new statement.
7924
7925Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7926
7927 * gdb.base/signals.exp: Reinitialize searched source directories
7928 after gdb_start call.
7929
7930Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7931
7932 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7933 * gdb.stabs/Makefile.in: Likewise.
7934
7935 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7936 change. Instead split the tests into smaller pieces.
7937 * gdb.disasm/hppa.s: Corresponding changes.
7938
7939Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7940
7941 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7942 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7943
7944 * gdb.base/funcargs.exp: Modify many tests so that every test
7945 either passes or fails. Make some test names unique.
7946
7947Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7948
7949 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7950 Call stty to set interrupt character.
7951
7952 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7953 for HP assembler versus GNU assembler based on actual behavior of
7954 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7955
7956 * TODO: Suggest a few more stepping tests.
7957
7958Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7959
7960 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7961 restart GDB for h8300 after a continue.
7962 (return): Add pattern to match a29k-udi behavior.
7963 * gdb.base/nodebug.exp: Remove obsolete comment.
7964 * gdb.base/regs.exp: New file, testing of register displays.
7965 * gdb.base/return.exp: Fix typo in reference to $objdir.
7966 * gdb.base/whatis.exp: Always start with a fresh GDB.
7967
7968Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7969
7970 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7971 higher, these tests generate a lot of output.
7972
7973Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7974
7975 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7976 code following the catch silently ignored some errors; without the
7977 catch they should be thrown like any other tcl error. Also, the
7978 catch used "" instead of {} which meant all the callers who wanted
7979 to include one of the characters "[]$ had to quote it an extra time.
7980 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7981 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7982 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7983 Remove extra quoting.
7984
7985Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7986
7987 * gdb.base/commands.exp: Make test names unique; every test either
7988 passes or fails. Update some comments.
7989
7990 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7991
7992Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7993
7994 The following fixes a FAIL caused by the fact that the alpha stabs
7995 configuration didn't use the ".if alpha" code in weird.def.
7996 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7997 bit pointer, so the 32 bit version works even on the alpha.
7998 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7999 Remove the stuff which allowed us to have separate versions for
8000 alpha and everything else.
8001
8002 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8003 regexp which "info func operator\[\](" is supposed to match. Fix
8004 string to send to GDB. Note that GDB still doesn't work right. Add a
8005 new test for "info func .perator\[\](" which GDB does handle correctly.
8006
8007 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8008
8009Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8010
8011 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8012 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8013 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8014 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8015 it makes the tests harder to understand and confuses test-o-matic.
8016 The preferred style is that each test provides a PASS or a FAIL,
8017 and has a unique message (e.g. "continue #54" not just "continue")
8018 which is the same for the pass and the fail.
8019 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8020 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8021 to lib/gdb.exp.
8022 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8023 prt_accept which was basically the same thing. Likewise for
8024 test_print_reject and prt_reject.
8025 * lib/gdb.exp (test_print_reject): Add some more error message
8026 patterns to match from the former printcmds.exp (prt_reject).
8027 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8028 One defect of the passcount stuff is that some of it failed to
8029 report XPASS where appropriate.
8030 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8031 stuff before and after arg in expected pattern.
8032 (test_paddr_operator_functions): Re-do test without print_addr_of;
8033 this is the only test which seems to want extra stuff there.
8034
8035Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8036
8037 * gdb.base/nodebug.exp: Update new tests to reflect improved
8038 wording of gdb output.
8039
8040 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8041 and "ptype" work on variables in files compiled without -g.
8042 Replaces commented out "maint print msymbol" tests.
8043
8044Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8045
8046 * gdb.base/setvar.c (dummy): Call malloc.
8047
8048 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8049 losing with the irix4 sed.
8050
8051 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8052 ALRM" on irix4.
8053
8054Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8055
8056 * TODO: Remove items about corefile.exp testing new exec-file and
8057 backtrace; both are now done. Add items about printing enums.
8058
8059Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8060
8061 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8062 "get signal $thissig" test fails.
8063
8064 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8065
8066Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8067
8068 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8069 compiler warning with dec alpha compiler.
8070
8071 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8072 extra \n from gdb_test call (this explains why the prompt test
8073 that I removed yesterday was there).
8074 (user_defined_command_test): Remove extra \n and prompt test.
8075
8076 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8077 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8078 doesn't exist.
8079 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8080 Also remove alpha workaround, which turns out to be because
8081 SIGABRT == SIGLOST.
8082
8083 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8084
8085 * gdb.base/help.exp: Don't test "help show".
8086
8087Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8088
8089 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8090 "set print address" is on.
8091 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8092 pass prompt to gdb_test; gdb_test already looks for the prompt.
8093
8094 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8095
8096 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8097 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8098 was to make sure that gdb can read a core file. But (a) the "read
8099 the corefile" part didn't make it to a1-selftest.exp, we just
8100 delete the corefile after creating it, and (b) we test reading
8101 corefiles in corefile.exp anyway. Also, this test left around a
8102 xgdb process on Solaris.
8103
8104 * gdb.base/corefile.exp: Also test backtrace.
8105
8106Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8107
8108 * gdb.base/commands.exp: Test a simple user defined command with
8109 arguments and if/while statements; verify the full user command is
8110 printed by "show user".
8111
8112 * gdb.base/commands.exp: Test if/while commands as part of a
8113 breakpoint command list; verify they appear in breakpoint
8114 information.
8115
8116Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8117
8118 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8119 than by dividing by zero.
8120
8121Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8122
8123 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8124 performing an inferior call with watchpoints enabled.
8125 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8126 call.
8127
8128Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8129
8130 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8131 of "file" command.
8132
8133 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8134 Add additional pattern for when "int operator int(void);" appears
8135 in a different order.
8136
8137Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8138
8139 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8140
8141 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8142 and "signal" with ".*".
8143
8144Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8145
8146 * TODO: Add note about "handle all nostop".
8147
8148 * gdb.base/{sigall.c, sigall.exp}: New test.
8149 * gdb.base/Makefile.in: Add it.
8150
8151Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8152
8153 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8154 when invoking GDB, suppresses any windowing interface.
8155
8156Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8157
8158 * config/sim-gdb: New file, simulator testing support.
8159
8160Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8161
8162 * gdb.base/interrupt.exp: Test calling func1 twice.
8163
8164Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8165
8166 * gdb.base/list.exp (test_forward_search): Set timeout higher
8167 when we'll be getting lots of output from gdb.
8168
8169 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8170 "init_malloc" to after the expect statement. Run it if that
8171 regexp is taken, but also for two others which happen if source
8172 cannot be found.
8173
8174Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8175
8176 * gdb.base/printcmds.exp: New test, for printing register before
8177 program is running.
8178
8179Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8180
8181 * gdb.base/list.exp: Correct some alternate expect patterns
8182 to reflect changes in list1.c.
8183
8184Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8185
8186 * TODO: Add item regarding large frames.
8187
8188 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8189
8190 * TODO: Remove item about enabling return.exp; it
8191 is enabled. Suggest a few more "return" tests.
8192
8193Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8194
8195 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8196 anonymous unions.
8197
8198Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8199
8200 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8201 and pr-5646.o, so "make" is the same as "make all", not "make
8202 pr-4975.o".
8203
8204Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8205
8206 * gdb.base/list.exp: Adjust expectations to reflect changes in
8207 list1.c.
8208 (test_forward_search): New test proc.
8209 * gdb.base/list1.c (long_line): New function, has long source line.
8210
8211Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8212
8213 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8214 additional line of code that was added.
8215
8216Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8217
8218 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8219 tests so as not to overflow expect's input buffers.
8220 * gdb.disasm/hppa.exp: Corresponding changes.
8221
8222Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8223
8224 Beginnings of template debugging tests.
8225 * gdb.c++/templ-info.cc: New file to test for template
8226 debugging capability of the compiler.
8227 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8228 templ-info.cc.
8229 * gdb.c++/templates.cc: Add explicit template instantiations
8230 to enable compiling with -fno-implicit-templates. Add destructor
8231 and 'value' method to T5 class for template tests.
8232 * gdb.c++/templates.exp: Add testcases for printing of template
8233 types, setting breakpoints on template methods and calling a
beb998c6 8234 template method.
c906108c
SS
8235
8236Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8237
8238 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8239 branch target since some assemblers (gas-2.5) may emit a
8240 relocation for the branch instead of resolving it in the
8241 assembler.
8242
8243Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8244
8245 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8246 through signal handler.
8247
8248Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8249
8250 * configure.in (*-*-netware): Use config/mt-netware.
8251
8252 * config/mt-netware: New file.
8253 * config/mt-i386-netware: Removed, separate configs for different
8254 netware architectures are no longer needed now that we have
8255 --with-headers.
8256
8257Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8258
8259 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8260 by the recent changes to use ANSI C arithmetic conversions.
8261
8262Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8263
8264 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8265 bug involving using inferior_pid to figure out whether to select a
8266 frame.
8267
8268Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8269
8270 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8271 match the current disassembler output.
8272
8273Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8274
8275 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8276 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8277 types, expect "int" as type of integer values (for now).
8278
8279Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8280
8281 * gdb.base/commands.exp: New tests for if/while commands.
8282
8283Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8284
8285 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8286 by .*, since hex values have different syntax in Chill mode.
8287
8288Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8289
8290 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8291 linefeed from expect pattern for repeated types with indices > 9.
8292
8293Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8294
8295 First part of Fortran test suite.
8296 * gdb.fortran: New directory.
8297 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8298
8299Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8300
8301 * gdb.base/default.exp: Update expect pattern for load command
8302 without arguments.
8303
8304Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8305
8306 * configure.in: Change i386 to i[345]86.
8307 * gdb.base/configure.in: Likewise.
8308 * gdb.c++/configure.in: Likewise.
8309 * gdb.chill/configure.in: Likewise.
8310
8311Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8312
8313 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8314 patterns, since that is not a valid context for comments.
8315
8316Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8317
8318 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8319 repeated types and repeated types with indices > 9.
8320
8321Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8322
8323 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8324 2417; old bug has been fixed.
8325
8326Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8327
8328 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8329 send the newline ourselves instead of assuming gdb_test will do
8330 so when passed an empty input string.
8331
8332 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8333 stabs testcode.
8334
8335Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8336
8337 * lib/gdb.exp (gdb_test): Don't send anything if the first
8338 argument is an empty string. This makes cases where we want to
8339 match output that is already in expect's buffers (for example,
8340 matching a breakpoint after gdb_run_cmd has been called) work
8341 reliably.
8342
8343Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8344
8345 * config/netware.exp: New file.
8346
8347Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8348
8349 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8350 the -B and -L prefixes so we can find the debugging stub.
8351
8352 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8353 there and we are using the gcc from the tree.
8354
8355 * gdb.base/types.c: Removed.
8356
8357 * gdb.base/configure.in: Look for makefile fragments in ../config.
8358 Recognize i386-*-netware.
8359 * gdb.c++/configure.in: Likewise.
8360
8361Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8362
8363 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8364 the correct TCL syntax.
8365
8366Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8367
8368 * gdb.base/opaque.exp: use runto instead of messing around with
8369 breakpoints. Simplify by using gdb_test.
8370
8371 * gdb.base/bitfields.exp: restart between tests on netware targets
8372 because breakpoints aren't relocated after target death. Run
8373 processes to completion.
8374
8375 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8376
8377Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8378
8379 * Makefile.in: Remove extra tabs that confuse some versions
8380 of "make". Use the newly built gdb to test with by default,
8381 rather than the first one in the tester's search path.
8382
8383Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8384
8385 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8386
8387 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8388 condition help.
8389
8390Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8391
8392 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8393
8394 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8395 running.
8396 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8397 * gdb.base/funcargs.exp: Likewise.
8398
8399 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8400 * gdb.base/funcargs.exp: Likewise.
8401
8402 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8403 message is "".
8404
8405Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8406
8407 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8408 return,signals,twice}.exp: Handle non-existant binaries
8409 consistantly.
8410
8411 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8412 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8413 might testing a cross development system.
8414
8415Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8416
8417 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8418 runtest script is relative to ${srcdir}, not ${rootdir}.
8419
8420Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8421
8422 * gdb.base/signals.exp: Allow for optionality of breakpoint
8423 address.
8424
8425Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8426
8427 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8428
8429Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8430
8431 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8432 for size_t definition.
8433 * gdb.c++/templates.cc: Likewise
8434
8435 * config/mt-i386-netware: New file.
8436
8437 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8438 defined.
8439
8440 * gdb.base/Makefile.in: Added support for systems that name core
8441 files by appending "core" to the program name.
8442 * gdb.base/a1-selftest.exp: Likewise.
8443
8444Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8445
8446 * gdb.base/return.exp: Add comment and message for `return double'
8447 test failure on Sparc Solaris.
8448
8449Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8450
8451 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8452
8453Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8454
8455 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8456 from optimizing them away.
8457 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8458 patterns to include default constructors and assignment operators,
8459 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8460 character in the output of the virtual base pointer.
8461
8462Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8463
8464 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8465 expression match in print_addr_of to avoid unintented matches.
8466 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8467 versions up to 2.5.8.
8468
8469Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8470
8471 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8472 included file to run under newer versions of expect.
8473 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8474 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8475 Remove xfail for the virtual table of BDDHookV.
8476
8477Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8478
8479 * lib/gdb.exp (string_to_regexp): Set a default result.
8480 (default_gdb_start): Fix misleading message.
8481
8482Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8483
8484 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8485 Remove all CC, etc definitions.
8486 * config/mt-hpux: New file.
8487 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8488 (CFLAGS, LDFLAGS): Define.
8489 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8490
8491 * Makefile.in (site.exp): Don't insert host_os, etc.
8492 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8493 (distclean): Check existence of subdir.
8494 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8495 * gdb.base/Makefile.in: General cleanup and simplification.
8496 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8497 to build executables. Use default rule to build .o files.
8498 (EXPECT, RUNTEST, CC): Fix relative pathname.
8499 (site.exp): Don't insert host_os, etc.
8500 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8501 and/or SIGUSR1 defined.
8502 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8503 * gdb.c++/Makefile.in: General cleanup and simplification.
8504 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8505 (CFLAGS): Remove.
8506 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8507
8508Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8509
8510 * gdb.base/recurse.exp: Misc changes to get tests running again
8511 after Kung's changes to the watchpoint code.
8512 * gdb.base/watchpoint.exp: Likewise.
8513
8514Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8515
8516 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8517
8518Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8519
8520 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8521 * lib/gdb.exp (default_gdb_start): Define.
8522 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8523 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8524 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8525 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8526 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8527 Don't call gdb_target_udi in between tests.
8528
8529Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8530
8531 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8532 (which was basically just a local version of the same thing). In
8533 addition to avoiding duplication, gdb_test_exact is faster.
8534 * lib/gdb.exp (gdb_test_exact): Fix typo.
8535
8536 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8537 don't give an error.
8538
8539 * gdb.base/term.exp: Call delete_breakpoints before starting.
8540
8541 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8542 (t10): Add comment.
8543
8544Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8545
8546 Reorganization of the GDB Test Suite.
8547
8548 * gdb.base: New directory, contains all the basic tests.
8549 * gdb.c++: New directory, tests specific to C++.
8550 * gdb.chill: New directory, tests specific to Chill.
8551 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8552 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8553 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8554 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8555 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8556 t30-31 to chill).
8557 * */gdbme.*: Rename to match appropriate expect scripts.
8558 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8559 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8560 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8561 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8562 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8563 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8564 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8565 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8566 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8567 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8568 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8569 gdb.c++/virtfunc.cc: New names of C++ files.
8570 * gdb.chill/chillvars.ch: New name of Chill file.
8571 * gdb.base/configure.in, gdb.c++/configure.in,
8572 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8573 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8574 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8575 * configure.in (configdirs): Update to reflect directory changes.
8576 (target_abbrev): No longer define for any configuration.
8577 * Makefile.in: Cosmetic improvements to header comments.
8578
8579Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8580
8581 Various changes to gdb.t31:
8582
8583 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8584 * gdbme.ch: Make all key-words and predefineds be upper-case.
8585 * chillvars.exp: Expect key-words and predefinds in upper-case.
8586
8587 * chillvars.exp: Use gdb_test_exact many places.
8588 Change expected output for arrays (which now includes index labels).
8589
8590 * pr-5020.exp, gdme.ch (module PR_5020):
8591 New test, for PR-5020.
8592
8593Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8594
8595 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8596 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8597
8598Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8599
8600 * Makefile.in: Fix bit-rot in definitions of CHILL,
8601 CHILL_FOR_TARGET and Chill_LIB.
8602 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8603 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8604 CHILL, and CHILL_LIB.
8605
8606Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8607
8608 * Revert the previous changes. Please see Rob's directory
8609 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8610
8611Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8612
8613 * Makefile.in, configure.in, config/mips-gdb.exp,
8614 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8615 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8616 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8617 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8618 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8619 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8620 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8621 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8622 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8623 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8624 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8625 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8626 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8627 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8628 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8629 changes from 94Q1.
8630
8631Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8632
8633 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8634 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8635 Rob's new testing fragments.
8636
8637Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8638
8639 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8640 lib/gdb.exp: Replace error proc calls with perror.
8641
8642Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8643
8644 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8645 version also, match on casted version strings, and match on
8646 gdb startup case where the line numbers might be messed up.
8647
8648Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8649
8650 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8651 (CFLAGS): Delete it from here.
8652
8653Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8654
8655 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8656
8657Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8658
8659 * Makefile.in (RUNTEST): Default to just "runtest".
8660
8661Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8662
8663 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8664 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8665 the code has been restructured.
8666
8667Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8668
8669 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8670 \n, not just one of each.
8671
8672 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8673 /bin/cc gives a warning if you do.
8674
8675Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8676
beb998c6 8677 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8678 __t10ListS_link1ZUiRCUiPT0
8679
8680Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8681
8682 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8683 on local variables in recursive functions.
8684
8685 * gdb.t07/Makefile.in: Build the new test.
8686
8687Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8688
8689 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8690 directly. Instead compare the return values from actual calls.
8691
8692Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8693
8694 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8695
8696Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8697
8698 * From Peter Schauer with minor modifications.
8699 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8700 stops in mid-line in the caller. Add xfail for returning a float
8701 value on X86 targets.
8702
8703Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8704
8705 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8706 to avoid expect lossage.
8707 (fmem_LRbug_tests): Likewise.
8708 * gdb.disasm/hppa.s: Corresponding changes.
8709
8710 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8711 conditions to work with latest dejagnu/expect.
8712
8713 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8714 expected to fail on the PA.
8715 (backtrace in call with trampolines): Explicitly require main
8716 to be frame #1 (no trampolines should show up in backtrace).
8717
8718 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8719 "continue -expect".
8720 * gdb.t06/break.exp: Likewise.
8721 * gdb.t07/watchpoint.exp: Likewise.
8722 * gdb.t13/bitfields.exp: Likewise.
8723 * gdb.t15/{funcargs,return}.exp: Likewise.
8724 * gdb.stabs/weird.exp: Likewise.
8725 * config/{mips,udi}-gdb.exp: Likewise.
8726
8727 * hppa.sed: Enclose comments within a sed command to avoid
8728 losing with the old OSF1 sed.
8729
8730Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8731
8732 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8733 sequent dynix.
8734 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8735 * gdb.t15/funcargs.exp: Conditionally step again to really
8736 finish from marker_call_with_trampolines. Handle the case where
8737 the first step from within call_with_trampolines already steps
8738 us back to main.
8739 * gdb.t15/gdbme.c: Add comment to closing brace of
8740 call_with_trampolines for funcargs.exp.
8741
8742Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8743
beb998c6 8744 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8745 Fix typo(s).
8746
8747Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8748
8749 * gdb.t07/gdbme.c: More code for watchpoint testing.
8750
8751 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8752 "Hardware watchpoint" throughout file.
8753 (test_watchpoint_triggered_in_syscall): New test.
8754 (test_complex_watchpoint): New test.
8755
8756Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8757
8758 * gdbme.c (call_with_trampolines): New function to try and step
8759 into. Tests trampoline problems on the PA.
8760
8761 * funcargs.exp (localvars_in_indirect_call): No longer expect
8762 stepping into indirect call to fail on PAs.
8763 (test_stepping_over_trampolines): New test.
8764
8765Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8766
8767 * TODO: Add suggestions for static member function tests, and
8768 completion tests.
8769
8770Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8771
8772 * TODO: Add suggestions for "p/a" tests.
8773
8774 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8775 (default_gdb_exit): Replace all the hair with sending "quit" to
8776 the process with a simple close.
8777
8778Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8779
8780 * TODO: Add suggestions for shared library tests.
8781
8782Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8783
8784 * TODO: Add suggestions for x/s tests.
8785
8786Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8787
8788 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8789 "enable once", and "enable breakpoints once" with ".*".
8790
8791Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8792
8793 * TODO: Add suggestions about structure passing tests.
8794
8795Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8796
8797 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8798 the primary1 test, use work around if __GNUC__ < 2.
8799 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8800 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8801 Test for bad output rather than waiting for timeout. Issue
8802 second continue only if first continue failed.
8803
8804Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8805
8806 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8807 operator[] test with gdb_test because the old code didn't seem to
8808 be getting the quoting right with the new dejagnu.
8809
8810Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8811
8812 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8813 one from the path.
8814 * Makefile.in: Use a fresh expect if there is one, use runtest
8815 from the src tree if there is one.
beb998c6 8816
c906108c
SS
8817Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8818
8819 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8820 next over recursive call. Revise the tests from that point on
8821 (which had been skipped) to match GDB's actual (correct) output.
8822
8823 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8824 with next over a breakpoint whose condition is false.
8825
8826 * gdb.t00/help.exp: Comment out "help set print" tests just like
8827 (and for same reason as) "help set" test.
8828
8829Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8830
8831 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8832 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8833
8834Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8835
8836 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8837 necessary gdb_target_udi.
8838
8839 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8840
8841 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8842 1838 and 2417; they are fixed.
8843
8844 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8845 gdb.t03/ptype.exp (ptype structure, ptype union):
8846 Remove xfails; the test is looser than when the xfails were added.
8847
8848 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8849 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8850
8851 * gdb.t01/run.exp: Only run shell test if isnative.
8852
8853 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8854 since "run" automatically loads if necessary. Call gdb_target_udi
8855 after the "file" since "file" kills any execution target.
8856
8857 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8858 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8859 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8860 argument for UDI.
8861
8862Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8863
8864 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8865
8866 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8867
8868Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8869
8870 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8871 properly quoting regexps. This makes the second argument to
8872 demangle a fixed string, which matches the callers, instead of a
8873 shell-style pattern which is what the previous implementation
8874 used. Update some of the callers.
8875
8876Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8877
8878 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8879 (comib_nullified_tests): Fix typo.
8880 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8881 strings. No longer expected to fail.
8882
8883 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8884 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8885 strings. No longer expected to fail.
8886
8887 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8888 string. No longer expected to fail.
8889
8890Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8891
8892 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8893 No longer expected to fail.
8894
8895 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8896 string. No longer expected to fail.
8897
8898Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8899
8900 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8901 only in the names (I probably got most of them). I was even
8902 generous with some which differed in underscores in names, and
8903 probably missed a few, and I *still* was able to remove almost a
8904 third of the file with almost no impact on testsuite coverage.
8905
8906Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8907
8908 * gdb.t00/default.exp: Match udi_attach error message as well as
8909 the one from child_attach.
8910
8911 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8912
8913 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8914
8915 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8916 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8917
8918 * Move test with enums and partial symbols back to
8919 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8920 Reverts the change of 26 May 93. Per today's change to
8921 stabs.texinfo, the behavior that weird.exp was expecting was
8922 unreasonable; what is important is that the compiler+gdb get
8923 things right, which happens with a recent gcc. Also fix the test
8924 to deal with native compilers which put out the stab gdb can't
8925 deal with.
8926
8927Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8928
8929 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8930 in the names. The main thing these accomplish is to slow things down.
8931 Many more such duplicates surely remain.
8932
8933 * gdb.t00/help.exp: Comment out "help support" test just like
8934 (and for same reason as) "help set" test.
8935
8936Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8937
8938 * gdb.t06/break.exp: Remove setup_xfails for
8939 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8940 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8941 about known bug in gcc to include up through 2.5.8.
8942 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8943 well as "_vb$".
8944 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8945 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8946 with latest gcc and gdb.
8947 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8948 well as "_vb$".
8949
8950Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8951
8952 * configure.in (hppa*-*-*): Also configure and build stabs-only
8953 tests.
8954
8955Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8956
8957 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8958 * gdb.t10/configure.in (hppa*-*-*): Use it.
8959
8960Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8961
8962 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8963
8964Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8965
8966 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8967 versions prior to 1.13.5.
8968
8969Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8972 the prompt is at the start of a line.
8973
8974Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8975
8976 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8977 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8978 in the copr tests now.
8979 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8980 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8981 expected to fail.
8982
8983Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8984
8985 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8986 gdb.t31/chillvars.exp, lib/gdb.exp:
8987 Tweak to run under either version of expect.
8988 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8989 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8990 * gdb.t11/list.exp: Remove extraneous whitespace.
8991
8992Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8993
8994 * gdb.t16/printcmds.exp (test_print_strings): Accept
8995 "(unsigned char *) " before the string.
8996
8997 * TODO: Add notes about printing of fancy types and GDB expressions.
8998
8999Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9000
9001 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9002 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9003 if doing mips-idt-ecoff.
c906108c
SS
9004
9005Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9006
9007 * Most .exp files: Tweak to run under either version of expect.
9008
9009Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9010
9011 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9012 xfails; I'm not sure why they are failing, but not because of PR 1806.
9013
9014Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9015
9016 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9017 defined in lib/gdb.exp.
9018
9019Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9020
9021 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9022 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9023 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9024 have to be typeless.
9025
9026Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9027
9028 * TODO: Add suggestion for copyright year test.
9029
9030Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9031
9032 * configure.in (*-*-lynxos*): Add stabs tests.
9033
9034Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9035
9036 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9037 so insert a tab before any assembler directive in column zero.
9038
9039 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9040 stores.
9041 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9042 stores.
9043 (fpu_short_memory_tests): Likewise.
9044
9045Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9046
9047 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9048 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9049 .stabs directives in comments.
9050
9051Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9052
9053 * TODO: New file, describing tests we could write.
9054 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9055
9056Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9057
9058 * gdb.t06/signals.exp: Add kludge to force re-sync.
9059
9060 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9061 to xgdb instead of gdb, get out of gdb.
9062
9063Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9064
9065 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9066 for info.
9067
9068Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9069
9070 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9071 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9072 * gdb.stabs/hppa.sed: New sed script for the PA.
9073
9074Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9075
9076 * gdb.stabs: Re-write weird.def and configuration to use sed
9077 instead of cpp. sed is portable and POSIX; cpp is neither.
9078
9079Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9080
9081 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9082
9083Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9084
9085 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9086
9087Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9088
9089 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9090 "_vb$".
9091 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9092 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9093
9094Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9095
9096 * lib/gdb.exp: Comment out code which depends on non-existent
9097 `transform' procedure.
9098
9099Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9100
9101 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9102 * lib/gdb.exp: Transform tool name.
9103 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9104 1.1's new error handling system.
9105
9106Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9107
9108 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9109
9110Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9111
9112 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9113 They made pattern matching so slow that timeouts happened on
9114 heavily loaded systems. Now any output from "show print" which
9115 gets us back to the GDB prompt is a PASS.
9116
9117Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9118
9119 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9120
9121Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9122
9123 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9124
9125 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9126 It is not from PR 3220.
9127
9128Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9129
9130 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9131 just started failing because they depended on the order the
9132 subcommands are presented, or exact docstring text. This kind of
9133 test is a pain and has minimal benefit.
9134
9135Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9136
9137 * gdb.t09/corefile.exp: At end of test, use "core" command with
9138 no arguments.
9139
9140Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9141
9142 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9143 17}/Makefile.in: Make it possible to run the testsuite with Sun
9144 make and CC = cross gcc by adding explicit build rules for .o
9145 files.
9146
9147Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9148
9149 * gdb.t15/funcargs.exp: Don't put comments on same line as
9150 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9151
c906108c
SS
9152Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9153
9154 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9155
9156Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9157
9158 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9159 * gdb.t20/inherit.exp: remove three dumplicate entries.
9160
9161Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9162
9163 * gdb.t06/break.exp: For "next over recursive call", fail on any
9164 incorrect output, not just on "factorial (value=2)".
9165
9166Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9167
9168 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9169 working now. Add an xfail if accesing a bss variable causes
9170 a memory error if the target is not yet run.
9171
9172Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9173
9174 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9175 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9176 name of __st* demangling (2 strings). Did Kung really get the
9177 more than 95 others right without testing them?
9178
9179Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9180
9181 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9182
9183Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9184
9185 * configure.in (configdirs): Add gdb.disasm
9186 * gdb.disasm: New directory for GDB disassembler tests.
9187 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9188
9189Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9190
9191 * gdb.t00/help.exp: Don't test "help set".
9192
9193 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9194 from within expect statements. None of these happen anymore and
9195 they cause regressions to be silently unnoticed.
9196
9197 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9198 messages) about known failures with gcc cygnus-2.4.5-930417.
9199
9200 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9201 comp-info.exp so it gets built if it doesn't exist.
9202
9203 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9204 it is no longer used.
9205 * gdb.t13/comp-info.c: Removed.
9206
9207Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9208
9209 * gdb.t06/signals.exp: Add xfail for sun3.
9210
9211Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9212
9213 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9214 relevant because ^C doesn't get sent but failure can be reproduced
9215 interactively).
9216
9217Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9218
9219 * gdb.stabs/alpha.mt: New configuration file for alpha.
9220 * gdb.stabs/configure.in: Use it.
9221 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9222 sharing with alpha.mt, redefine long to word via preprocessor.
9223 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9224 for alpha.
9225 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9226 native cc.
9227 * gdb.t00/teststrategy.exp: Change expect string so that we
9228 consume the `(xgdb)' from the command echo and from the gdb prompt.
9229 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9230 gdb currently compares all values as long, so this failure probably
9231 applies to any configuration where LONGEST is bigger than a target int.
9232 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9233 with gcc.
9234 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9235 to handle opaque pointers, gcc is.
9236 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9237 as first argument. Include <sys/types.h> and change all operator
9238 new definitions to use size_t.
9239 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9240 now that we use size_t.
9241
9242Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9243
9244 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9245 a long or float array cast all array members to the same type.
9246 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9247 with 64 bit longs.
9248 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9249 on alpha.
9250 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9251
9252Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9253
9254 * gdb.t24 (demangle.exp): Constructors of templates have names like
9255 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9256 section 14.6 of the ARM.
9257
9258 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9259 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9260 accomplish little and slow down the testsuite.
9261
9262 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9263 Accept spaces various places.
9264
9265Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9266
9267 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9268 with watchpoint enabled.
9269
9270 * Makefile.in: Remove definition of CC and remove the second
9271 definition of CXX (the "CXX = gcc" one remains). These definitions
9272 were causing backquotes to be expanded within backquotes, which
9273 doesn't work.
9274
9275Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9276
9277 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9278
9279Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9280
9281 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9282 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9283 by mips cc and contains no stabs entries.
9284
9285Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9286
9287 * config/vx-gdb.exp: Use fake device to load files rather than
9288 NFS.
9289 * lib/gdb.exp: New proc to do "file" command.
9290 * config/unix-gdb.exp: Use new "file" proc.
9291
9292Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9293
9294 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9295 Rework board rebooting slightly.
9296 (gdb_exit): Don't exit from the remote shell; there isn't one.
9297 * gdb.stabs/weird.exp: If a program is being debugged already,
9298 kill it.
9299 * gdb.t04/setvar.exp: Stop and restart gdb.
9300 * gdb.t05/expr.exp: Likewise.
9301 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9302 restart gdb and reload the program.
9303 * gdb.t08/opaque.exp: Likewise.
9304 * gdb.t12/scope.exp: Likewise.
9305 * gdb.t13/bitfields.exp: Likewise.
9306 * gdb.t15/funcargs.exp: Likewise.
9307 * gdb.t20/classes.exp: Likewise.
9308 * gdb.t03/ptype.exp: Increase timeout.
9309 * gdb.t16/printcmds.exp (test_print_string_constants,
9310 test_print_array_constants): Likewise.
9311 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9312 * gdb.t20/classes.exp (do_tests): Likewise.
9313 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9314
9315Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9316
9317 * gdb.stabs: Renamed *wierd* to *weird*.
9318
9319Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9320
9321 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9322 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9323
9324Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9325
9326 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9327 (do_tests): Remove xfail for whatis on one_var and two_var.
9328
9329Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9330
9331 * Makefile.in: Made cross building work better by adding
9332 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9333
9334Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9335
9336 * gdb.t15/{return.c,return.exp,Makefile.in}:
9337 New test, currently commented out.
9338
9339Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9340
9341 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9342 still running and removes the leftover named socket so GDb can do
9343 clean restarts.
9344
9345Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9346
9347 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9348 console, not GDB.
9349 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9350 cross testing works better with "make check"
9351 * config/unix-gdb: Use default procedures for exit and version.
9352 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9353 with the newest VxWorks.
9354
9355Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9356
9357 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9358 old form.
9359
9360 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9361 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9362
9363 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9364
9365 * config/unix-gdb.exp: Remove this version of gdb_exit
9366 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9367 Rob says he'll look at it when he gets back to testing boards.
9368
9369Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9370
9371 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9372 an expected fail for certain ptype commands.
9373
9374 * gdb.t20/classes.exp: Update expected results of "ptype class
9375 Base1" to account for the constructor that now appears in the type.
9376
9377Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9378
9379 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9380 disappeared from list.
9381 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9382 "alldone" proc with call to cleanup and exit.
9383 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9384 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9385 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9386 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9387 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9388 "alldone" proc with simple returns that suppress remaining
9389 tests. The alldone proc went away many months ago.
9390
9391Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9392
9393 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9394
9395 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9396
9397Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9398
9399 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9400 as vax gdb will display them.
9401
9402Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9403
9404 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9405 optimizers.
9406
9407 * scope.exp: Change "bad value for localval" messages so each one
9408 is unique.
9409
9410 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9411 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9412
9413 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9414
9415Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9416
9417 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9418 doesn't exist (due to optimization).
9419
9420Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9421
9422 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9423 contains \r because the filename is long.
9424
9425 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9426 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9427
9428Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9429
9430 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9431 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9432 Ultrix.
9433 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9434 int tests.
9435 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9436
9437Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9438
9439 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9440
9441 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9442 to match does not match the passing case but still matches the
c906108c
SS
9443 failing case.
9444
9445Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9446
9447 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9448
9449Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9450
9451 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9452 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9453 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9454 Remove various versions of gdb_exit.
9455 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9456 gdb_exit.
9457 * config/unix-gdb.exp: gdb_exit remains here, and should override
9458 the generic version, since it's doing a lot of wierd stuff that
9459 the other versions aren't. FIXME, fold it in, or abandon this
9460 version.
9461
9462Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9463
9464 * gdb.t24/demangle.exp: Add tests for PR 3220.
9465
9466Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9467
9468 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9469
9470Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9471
9472 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9473 "i386-*-*". Works for i486 as well.
9474
9475 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9476 bug, and expand domain of xfail to all SVR4 systems, since the
9477 actual problem is likely to be in generic SVR4 /proc support.
9478
9479Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9480
9481 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9482
9483Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9484
9485 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9486 xfails for other systems. Match a missing 'Continuing.' as an
9487 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9488
9489 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9490 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9491 Only issue warning for missing executables if -all option is used.
9492
9493 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9494 file if -all option is used. It's like an unpredictable XFAIL.
9495
9496Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9497
9498 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9499 for dynamically linked binaries.
9500
9501 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9502
9503Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9504
9505 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9506 to state that this is a known bug in old versions of g++.
9507
9508Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9509
9510 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9511 while waiting for `Continuing'.
9512
9513Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9514
9515 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9516 in text, data, and bss.
9517 * gdb.t10/nodebug.c: Add local and global test variables for
9518 initialized and uninitialized data.
9519
9520Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9521
9522 * config/unix-gdb.exp (gdb_exit): Add "wait".
9523
9524Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9525
9526 * gdb.t06/signals.exp: xfail the continue from the handler for all
9527 targets.
9528
9529 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9530 function with watchpoints enabled, the i386 call dummy starts with
9531 a call.
9532
9533 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9534 386 bsd names its corefiles.
9535
9536Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9537
9538 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9539 compilers don't grok it.
9540 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9541 with small octal ints rather than character constants, which
9542 are signed and might not fit if first promoted to int.
9543
9544Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9545
9546 * gdb.t09/Makefile.in (clean): Remove corefile.
9547
9548Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9549
9550 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9551
9552Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9553 and Jim Kingdon (kingdon@cygnus.com)
9554
9555 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9556 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9557 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9558
9559Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9560
9561 * gdb.t17/interrupt.exp: Add xfail for hppa.
9562
9563Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9564
9565 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9566 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9567 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9568 to determine signed-ness of bitfields and use the result to setup
9569 the xfail.
9570 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9571 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9572 call line is reached if necessary.
9573
9574Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9575
9576 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9577
9578Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9579
9580 * gdb.t06/break.exp: Also test `clear' command.
9581
9582Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9583
9584 * gdb.t00/teststrategy.exp: Remove extra quote.
9585
9586 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9587 watchpoint enabled to be for all non-68k machines.
9588
9589 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9590
9591Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9592
9593 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9594 targets use aout.mt instead of ecoff.mt as gas understands
9595 standard aout format.
9596
9597Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9598
9599 * lib/gdb.exp (runto): Don't insist that function we are running to
9600 was compiled with -g.
9601
9602 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9603
9604 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9605 to get back into the read system call.
9606 Accept leading newline in case where we woke it up.
9607
9608Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9609
9610 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9611 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9612 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9613 enable ecoff configuration.
9614
9615Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9616
9617 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9618
9619Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9620
9621 * gdb.t16/printcmds.exp: Add another printf test.
9622
9623Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9624
9625 * configure.in: If configured -with-stabs on any target, add
9626 stabsdirs to configdirs.
9627
9628Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9629
9630 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9631 fun" so pattern does not match the command itself.
9632
9633Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9634
9635 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9636
9637Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9638
9639 * gdb.t17/interrupt.exp: Test for more things.
9640
9641Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9642
9643 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9644 compiler arranges the code and line numbers.
9645
9646 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9647
9648Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9649
9650 * gdb.t00/help.exp: Increase expect input buffer size.
9651
9652Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9653
9654 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9655
9656 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9657
9658 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9659
9660 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9661 [0-9]*, not just [0-9].
9662
9663Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9664
9665 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9666
9667 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9668
9669Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9670
9671 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9672
9673Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9674
9675 * gdb.t06/signals.c: Add xfails for sun3.
9676
9677 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9678
9679 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9680 test_stepping tests.
9681
9682Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9683
9684 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9685
9686 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9687
9688 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9689 rather than actually putting it through cpp twice.
9690
9691 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9692
9693Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9694
9695 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9696 no longer needed.
9697
9698Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9699
9700 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9701
9702 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9703 C++ features prints as "struct", make it a pass, not an xfail.
9704
9705Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9706
9707 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9708 Don't require VA to print as "class" rather than "struct".
9709
9710Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9711
9712 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9713
9714Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9715
9716 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9717
9718Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9719
9720 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9721 order.
9722
9723Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9724
9725 * gdb.t16/printcmds.exp: Add printf tests.
9726
9727 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9728
9729 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9730
9731Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9732
9733 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9734 pass counts, to counteract any existing or future setup_xfails.
9735
9736Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9737
9738 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9739 {BEGIN,END}_COMMON for common block instead of STAB.
9740 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9741
9742 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9743 intp_var should be N_GSYM not N_LSYM.
9744 wierd-aout.S: Use a label for the value of the N_SO.
9745 wierd.def: Remove all backslashes.
9746 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9747
9748Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9749
9750 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9751 get the expected next to inheritance3.
9752
9753Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9754
9755 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9756 now that gcc-2.4 gets it right.
9757
9758Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9759
9760 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9761
9762 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9763 generating comp-info.exp which works for cross-compilation.
9764
9765Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9766
9767 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9768 "*-*-sysv4.*".
9769
9770Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9771
9772 * gdb.t01/run.exp: Start with a fresh gdb.
9773 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9774 SVR4.x.
9775
9776Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9777
9778 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9779 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9780 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9781 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9782 things to remove.
9783
9784Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9785
9786 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9787 test cases from bug reports.
9788
9789Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9790
9791 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9792 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9793 avoid spurious xfails.
9794 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9795 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9796 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9797
9798Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9799
9800 * gdb.t00/teststrategy.exp: Rework to provide more useful
9801 description of each test, fix problem with systems that define
9802 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9803 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9804 results for "next over recursive call" so timeouts aren't taken
9805 by error.
9806
9807Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9808
9809 * gdb.t12/scope.exp: Test printing of variables before run.
9810
9811 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9812 printed in wrong order due to sorting.
9813
9814Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9815
9816 * gdb.t00/teststrategy.exp: Fix expected results for printing
9817 user entered string constant. Is array of char, prints with no
9818 address.
9819
9820 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9821 commands.
9822 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9823 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9824 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9825 of struct of char arrays.
9826 * gdb.t00/radix.exp: New tests for radix commands.
9827
9828Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9829
9830 * gdb.t16/printcmd.exp: Print a variable before running program
9831 (with xfail for AIX).
9832
9833Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9834
9835 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9836
9837 * gdb.t16/printcmd.exp: Don't print variables before running program.
9838
9839 * gdb.t06/break.exp: Don't require envp argument to main.
9840
9841 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9842
9843 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9844 Add xfails for rs6000.
9845
9846 * gdb.t02/whatis.exp: Change other tests not to re-test something
9847 we already tested.
9848
9849 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9850 each type used has a variable of that type.
9851
9852Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9853
9854 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9855
9856Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9857
9858 * configure.in: change srctrigger to be a file, not a directory
9859
9860Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9861
9862 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9863
9864 * gdb.t11/list.exp: Fixed a couple of typos.
9865
9866Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9867
9868 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9869 is fixed and PR is closed.
9870 * gdb.t16 (gdbme.c): Add simple test string variable.
9871 * gdb.t16 (printcmds.exp): Add tests with simple test string
9872 variable, primarily for boundaries on "set print elements".
9873
9874Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9875
9876 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9877 Make leading 0's optional and don't expect a tab in the middle
9878 of the number.
9879
9880 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9881
9882 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9883 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9884 don't end command passed to gdb_test with newline.
9885
9886 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9887 signed keyword away, don't expect signed bitfields to be signed.
9888
9889 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9890 printing with only as many 1's as are in the field as well as printing
9891 with 32 1's (see comment).
9892
9893Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9894
9895 * gdb.t00/default.exp: Start with a fresh gdb.
9896 * configure.in (configdirs): Remove gdb.t31 until the chill
9897 compiler works again. It no longer is able to find chillrt0
9898 since it isn't in libchill.a anymore.
9899 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9900 wierd.o, make more modular.
9901 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9902 spurious newlines that caused problems.
9903
9904Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9905
9906 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9907 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9908 gdb.stabs/wierd.{exp,def}: Many new tests.
9909
9910 * gdb.t00/default.exp: update info line for new message.
9911
9912 * gdb.t02/{whatis.exp,gdbme.c}:
9913 Test that "char *" doesn't print as "caddr_t".
9914
9915Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9916
9917 * gdb.t00/help.exp: Use .* in place of some help messages which
9918 just changed.
9919 gdb.t00/default.exp: Update "info frame" test for new message.
9920 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9921 Remove some xfails
9922
9923Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9924
9925 * gdb.t03/{gdbme.c,ptype.exp}:
9926 Add tests for typedef'd struct and union without tags.
9927 Also check "whatis" on a variable of a typedef'd enum without a tag.
9928
9929 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9930 PRMS 1823; the bug still exists but isn't reproduced by this test
9931 anymore), and remove rs6000 XFAIL (the bug is fixed).
9932
9933 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9934 duplicated from whatis.exp. For those that are left, accept
9935 "long", "long int", or "int" for long variables (whatis.exp already
9936 has an XFAIL for "int", so no need to fail it here).
9937
9938 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9939 Deal with GCC's names for types now that GDB uses the compiler's names.
9940
9941 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9942 setup_xfail's for sunos4. If we #defined the signed keyword away,
9943 don't expect GDB to know that char it is signed.
9944
9945 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9946
9947Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9948
9949 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9950 should work on any system, regardless of debugging format.
9951 * gdb.t21/demangle.exp: Move to gdb.t24.
9952 * gdb.t24/demangle.exp: Move from gdb.t21.
9953 * gdb.t24/{Makefile.in, configure.in}: New files.
9954
9955Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9956
9957 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9958 * gdb.stabs: New directory.
9959
9960Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9961
9962 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9963 not just "Quit anyway?".
9964
9965Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9966
9967 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9968 that all setup_xfails are immediately followed by clear_xfails.
9969
9970Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9971
9972 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9973 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9974 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9975 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9976 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9977 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9978 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9979 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9980 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9981 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9982 gdb.t31/chillvars.exp, lib/gdb.exp:
9983 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9984 bug-gdb@prep.ai.mit.edu.
9985
9986Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9987
9988 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9989 with 0.0, not integer 0.
9990
9991Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9992
9993 * gdb.t06/break.exp: Update for "Kill the program" message change.
9994
9995Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9996
9997 * Makefile.in (GDBFLAGS): Set to -nx.
9998 * Makefile.in (site.exp): Use GDBFLAGS.
9999
10000Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10001
10002 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10003 Makefiles.
10004 (check): depend on just-check.
10005 (just-check): added so that tests can be run without a noop
10006 build pass.
10007
10008Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10009
10010 Switch to using configure's configdirs.
10011 * Makefile.in (Makefile): add configure.in dependency.
10012 (SUBDIRS): removed redundant assignment.
10013 * configure.in: switch subdirs assignment to configdirs.
10014 * gdb.t*/configure.in: new files.
10015
10016Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10017
10018 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10019 works.
10020
10021Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10022
10023 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10024 in explicit rules. Apparently this is not supported by some makes.
10025
10026Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10027
10028 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10029
10030Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10031
10032 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10033 disappeared.
10034
10035Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10036
10037 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10038
10039Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10040
10041 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10042 watchpoint problem that is now fixed.
10043 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10044 uninitialized convenience variables.
10045 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10046 structures.
10047
10048Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10049
10050 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10051 which causes expect to get out of sync with gdb on long output
10052 from help set.
10053 * gdb.t09/corefile.exp: Make expected pattern for core file
10054 failing signal and frame output format less sun specific.
10055
10056Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10057
10058 * gdb.t31/chillvars.exp: Add and remove initial dummy
10059 breakpoint, so that symbol table is forced in.
10060 (Needed at least on Sunos4, though it seems not SVR4.)
10061 * gdb.t31/chillvars.exp: Update for changed output format.
10062
10063Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10064
10065 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10066
10067Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10068
10069 * Makefile.in: Added --srcdir when invoking runtest, removed the
10070 need for a local config file. (optional now)
10071
10072Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10073
10074 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10075 failure count used to force early termination. Add some more
10076 expected failures for gnu style demangling.
10077
10078Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10079
10080 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10081 pmi variable from gdb.t20/gdbme to get optimized away.
10082 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10083 Check for written corefile upon timeout _and_ eof.
10084
10085Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10086
10087 * config/unix-gdb.exp: Add missing return 0.
10088
10089Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10090
10091 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10092 test termination.
10093
10094Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10095
10096 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10097 disappeared.
10098
10099Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10100
10101 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10102 time as i860 support works.
10103
beb998c6 10104 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10105 "backtrace 100\r" rather than just "backtrace\r", to match last
10106 change.
10107
10108Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10109
10110 * config/udi-gdb.exp (gdb_exit): Remove close command.
10111 (gdb_target_udi): New procedure to set the UDI target.
10112 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10113 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10114 Added waits for prompts after several question responses. Added
10115 some more responses used by a29k-amd-udi-gdb.
10116 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10117 pass different arguments, restart UDI connection after program
10118 completion.
10119 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10120 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10121 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10122 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10123 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10124 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10125 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10126 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10127 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10128 after program completion.
10129 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10130 compiled with a SELECT_VECS setting.
10131 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10132 infinite recursion.
10133
10134 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10135 Added checks for COFF results, and made them expected failures for
10136 all targets. It would be better to make them expected failures
10137 for COFF targets only.
10138
10139Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10140
10141 * Makefile.in: add null dvi target, don't bother to recurse
10142 through test directories for info and install-info; rename
10143 $(datadir) to be dejagnu instead of deja-gnu
10144
10145Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10146
10147 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10148 compiler to coredump.
10149 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10150 code.
10151
10152Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10153
10154 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10155 coredump.
10156 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10157 code.
10158
10159Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10160
10161 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10162 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10163 which in a shell. Deletes xgdb when done.
10164 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10165 Tests the return from the "set height" or "set width" commands.
10166 Added a few return codes where needed.
10167
10168Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10169
10170 * Makefile.in (SUBDIRS): Add gdb.t17.
10171 * configure.in (subdirs): Add gdb.t17.
10172 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10173 files to test gdb's calling of functions in the inferior with
10174 the correct arguments and gdb's ability to retrieve any
10175 result returned.
10176
10177Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10178
10179 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10180 may be called after gdb goes away. Previous versions of expect
10181 needed these to avoid file descriptor leaks, but they cause
10182 errors with the current revision of expect.
10183 * gdb.t00/gdbvars.exp: Use -re on expected output after
10184 setting sevenbit-strings.
10185 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10186 to set sevenbit-strings consistent across tests.
10187 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10188 set sevenbit-strings consistent across tests.
10189
10190Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10191
10192 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10193 expected output to match current "expect" expectations.
10194
10195Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10196
10197 * gdb.t00/default.exp: Change expected output for default "source"
10198 command, to match new gdb behavior which requires a filename to
10199 source.
10200
10201Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10202
10203 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10204 expected fail for i486-*-* that misses the marker2 function.
10205 * gdb.t10/crossload.exp (bfddefault): Allow successful
10206 recognition of a format to pass even if no symbols are found.
10207 Explicitly catch failures where the format is not recognized
10208 or is ambiguous, and add the reason to the fail message.
10209 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10210 the cause is and invalid target and add reason to failure message.
10211 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10212 elf32-i386, elf32-sparc, and elf32-i860.
10213 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10214 Set up expected failure for 'filename'::variable scope resolution,
10215 which is now apparently broken on all targets.
10216 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10217 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10218 gdb.t23/templates.exp: Change failure for missing binfile into
10219 just a warning.
10220 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10221 references.
10222
10223Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10224
10225 * gdb.t00/default.exp: Add expected output for default "source"
10226 command, to match new gdb behavior.
10227 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10228
10229Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10230
10231 * config/*-gdb.exp: returns an error, rather than exiting on
10232 internal errors.
10233
10234Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10235
10236 * gdb.t03/gdbme.c: Add pointer to struct variable.
10237 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10238 referencing struct members.
10239
10240Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10241
10242 * configure.in (mips-idt-ecoff): New target.
10243 * config/mips-gdb.exp: New file for remote board using MIPS remote
10244 debugging protocol.
10245
10246 * Redid configuration scheme. Removed gdb.t*/configure.in.
10247 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10248 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10249 distclean targets. Built executables via .o files. Adjusted
10250 tests to account for source files in $(srcdir) rather than
10251 $(objdir).
10252 * lib/gdb.exp (runto): Don't expect () after the function name,
10253 because it may have arguments.
10254
10255Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10256
10257 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10258 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10259 expected failures for mips-idt-* and mips-sgi-*.
10260 * gdb.t00/default.exp (attach): Kill process if requested.
10261 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10262 that does not read core files.
10263 * gdb.t01/run.exp: Removed checks for exit status code.
10264 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10265 it is linked in.
10266 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10267 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10268 appropriate, rather than doing it by hand.
10269 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10270 execution.
10271 * gdb.t10/crossload.exp: Kill existing program if needed.
10272 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10273 appropriate, rather than doing it by hand. Always increase
10274 timeout for this test, not just for VxWorks.
10275
10276Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10277
10278 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10279 of Chill STRUCT types and STRUCT values.
10280 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10281 than "char".
10282 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10283 struct2): New struct definitions and initializations to test
c906108c
SS
10284 simple Chill STRUCT types.
10285
10286Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10287
10288 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10289 the null byte at the end of strings.
10290 * gdb.t00/default.exp: Make show version insensitive to copyright
10291 date.
10292 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10293 to avoid dependencies on target char signedness.
10294 * gdb.t16/printcmds.exp: Update expected results for explicitly
10295 unsigned char.
10296 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10297 now work.
10298 * gdb.t21/demangle.exp: Add many more patterns for template
10299 demangling, most of them being expected failures.
10300 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10301 string we are matching for, to match on the whole string.
10302 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10303 and fix a whole bunch that had incorrect expected output but were
10304 passing anyway because of the bug in "proc demangle".
10305 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10306 type.
10307 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10308
10309Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10310
10311 * gdb/testsuite: made modifications to testcases, etc., to allow
10312 them to work properly given the reorganization of deja-gnu and the
10313 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10314
10315Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10316
10317 * gdb/testsuite: Initial creation of gdb/testsuite.
10318 Migrated dejagnu testcases and support files for testing nm to
10319 gdb/testsuite from deja-gnu. These files were moved "as is"
10320 with no modifications. This migration is part of a major overhaul
10321 of dejagnu. The modifications to these testcases, etc., which
10322 will allow them to work with the new version of dejagnu will be
10323 made in a future update.
10324\f
10325Local Variables:
10326mode: indented-text
10327left-margin: 8
10328fill-column: 74
10329version-control: never
10330End: