]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* i387-tdep.c: Reorder includes, fix some whitespace issues and
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
81a58f5b
AC
12003-06-14 Andrew Cagney <cagney@redhat.com>
2
3 * gdb.base/store.exp: Test longest and doublest. Test all
4 parameters. Weaken return statement match.
5 * gdb.base/store.c: Add longest and doublest - aka long long and
6 long double functions. Put all parameters into local register
7 variables. Use negative values.
8
b257a0d3
AC
92003-06-14 Andrew Cagney <cagney@redhat.com>
10
11 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
12 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13 exit status.
14 * gdb.base/fileio.exp: Disable target when nointerrupts and
15 noinferiorio, instead of limiting it to remote. Use remote_exec
16 instead of system.
17
21c38304
JJ
182003-06-12 Jeff Johnston <jjohnstn@redhat.com>
19
20 * gdb.base/float.exp: Add ia64 support.
21
1bcdb424
CV
222003-06-12 Corinna Vinschen <vinschen@redhat.com>
23
24 * gdb.base/fileio.exp: Run only on remote targets.
25
6aeb981f
CV
262003-06-10 Corinna Vinschen <vinschen@redhat.com>
27
28 * gdb.base/fileio.c: New file, testing File-I/O.
29 * gdb.base/fileio.exp: Ditto.
30
53df362e
RG
312003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
32
33 * gdb.base/shreloc.exp: New file, check symbol values obtained from
34 shared objects after relocation at load time (gdb PR/1132).
35 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
36 as above, part of the shared object relocation test.
37
ffee1b46
MK
382003-06-08 Mark Kettenis <kettenis@gnu.org>
39
b5ca3722
MK
40 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
41 fully filled history list.
42 * gdb.base/gdb_history: New file.
43
03ed860d
MK
44 * gdb.base/signals.exp: XFAIL "continue to func1" on
45 i*86-*-freebsd*.
46
ffee1b46
MK
47 * gdb.base/attach.exp: When trying to attach to a nonexistent
48 process, make it possible to specify the PID based on the target,
49 and do so for *-*-freebsd*.
50
d80dbb52
RH
512003-06-02 Richard Henderson <rth@redhat.com>
52
53 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
54
6dd77b81
RH
552003-06-02 Richard Henderson <rth@redhat.com>
56
57 * gdb.base/selftest.exp: Next over lim_at_start initialization.
58
f6347e16
RH
592003-06-02 Richard Henderson <rth@redhat.com>
60
61 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
62
2c161407
DJ
632003-06-01 Daniel Jacobowitz <drow@mvista.com>
64
65 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
66 of globalvar.
67
572eb746
MK
682003-06-01 Mark Kettenis <kettenis@gnu.org>
69
70 * gdb.asm/asm-source.exp: Check for memory read errors in
71 disassembler test on *BSD too.
72
9e9617a5
RH
732003-06-01 Richard Henderson <rth@redhat.com>
74
75 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
76 for .frame.
77 (gdbasm_call): Lose ldgp.
78 (gdbasm_startup): Add frame information.
79 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
80
7b34ad4e
MK
812003-05-31 Mark Kettenis <kettenis@gnu.org>
82
83 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
84 i?86-*-*.
85
10059fdf
MK
862003-05-30 Mark Kettenis <kettenis@gnu.org>
87
88 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
89 FreeBSD.
90
acf4b816
RH
912003-05-29 Richard Henderson <rth@redhat.com>
92
93 * gdb.asm/alpha.inc: New file.
94 * gdb.asm/asm-source.exp: Use it.
95
e9ecd949
JB
962003-05-29 Jim Blandy <jimb@redhat.com>
97
98 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
99 'core.PID'.
100
e3e5a4f3
JB
1012003-05-22 Jim Blandy <jimb@redhat.com>
102
103 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
104 backtrace.
105
72fe3d25
DC
1062003-05-20 David Carlton <carlton@math.stanford.edu>
107
108 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
109 this time.
110
58da2eb2
DC
1112003-05-19 David Carlton <carlton@bactrian.org>
112
113 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
114 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
115
1fcb5155
DC
1162003-05-19 David Carlton <carlton@bactrian.org>
117
118 * gdb.c++/namespace.exp: Add namespace scope and anonymous
119 namespace tests.
120 Bump copyright date.
121 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
122 (main): Call C::D::marker2.
123 * gdb.c++/namespace1.cc: New file.
124
85e85163
JJ
1252003-05-14 Jeff Johnston <jjohnstn@redhat.com>
126
127 Roland McGrath <roland@redhat.com>
128 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
129 there is no manager thread.
130
a25fbfec
JJ
1312003-05-08 Jeff Johnston <jjohnstn@redhat.com>
132
133 * gdb.threads/schedlock.exp: Remove assumption that all threads
134 will run in a particular small time slice. Also ensure we break
135 in one of the child threads rather than the main thread.
136
be375bae
JB
1372003-05-07 Jim Blandy <jimb@redhat.com>
138
09bf6082
JB
139 Add support for assembly source testing on the s390x.
140 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
141 architecture.
142 * gdb.asm/s390x.inc: New file.
143
be375bae
JB
144 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
145 succession of 'if' statements.
146
00905d52
AC
1472003-05-05 Andrew Cagney <cagney@redhat.com>
148
149 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
150
b1e29e33
AC
1512003-05-05 Andrew Cagney <cagney@redhat.com>
152
153 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
154 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
155
e33d66ec
EZ
1562003-05-02 Elena Zannoni <ezannoni@redhat.com>
157
158 * gdb.base/charset.exp: Update based on new behavior of set/show
159 charset commands.
160
2b6fd0d8
AC
1612003-05-01 Andrew Cagney <cagney@redhat.com>
162
163 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
164 variable do not give memory errors.
165
130cacce
AF
1662003-04-30 Adam Fedor <fedor@gnu.org>
167
168 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
169 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
170 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
171 gdb.objc/basicclass.m: : New files
172
173 * lib/gdb.exp (gdb_compile_objc): New procedure.
174
bea71854
DJ
1752003-04-27 Daniel Jacobowitz <drow@mvista.com>
176
177 * gdb.base/signals.exp: Make backtrace tests more specific.
178
0f20eeea
DC
1792003-04-23 David Carlton <carlton@bactrian.org>
180
181 * gdb.c++/maint.exp (test_first_component): Add tests for
182 'operator' in more locations.
183
c8c4d8dc
KB
1842003-04-16 Kevin Buettner <kevinb@redhat.com>
185
186 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
187
3fe60e3c
EZ
1882003-04-16 Elena Zannoni <ezannoni@redhat.com>
189
190 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
191 func marke' instead. Update test name.
192
9219021c
DC
1932003-04-15 David Carlton <carlton@math.stanford.edu>
194
195 * gdb.c++/maint.exp: New file.
196
5dd55bdd
EZ
1972003-04-14 Elena Zannoni <ezannoni@redhat.com>
198
199 * gdb.threads/schedlock.c: Change type of thread function argument
200 to long, to avoid warnings on 64-bit platforms.
201
00890572
EZ
2022003-04-14 Elena Zannoni <ezannoni@redhat.com>
203
204 * gdb.base/attach.exp: Add new message from ptrace in case of
205 attaching to nonexistent process.
206
93201743
JB
2072003-04-11 Jim Blandy <jimb@redhat.com>
208
209 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
210 gdb.c++/userdef.cc: Place comments on the lines to which the
211 marker function might return.
212 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
213 gdb.c++/userdef.exp: Look for those comments to check that we've
214 returned to the right place, instead of checking line numbers.
215
2a11c64d
EZ
2162003-04-11 Elena Zannoni <ezannoni@redhat.com>
217
218 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
219 match on sourcefile name, instead of directory name.
220
68ab8fc5
EZ
2212003-04-10 Elena Zannoni <ezannoni@redhat.com>
222
223 * gdb.base/completion.exp: Use string_to_regexp to match the
224 working directory name.
225
5624293a
JB
2262003-04-09 Jim Blandy <jimb@redhat.com>
227
228 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
229 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
230 after an inferior function call, report the failure, but allow the
231 test to continue.
232
f1f02ee4
SC
2332003-04-05 Stephane Carrez <stcarrez@nerim.fr>
234
235 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
236 with -DPROTOTYPES.
237
6eb79af0
SC
2382003-04-05 Stephane Carrez <stcarrez@nerim.fr>
239
240 * gdb.base/break.exp: Revert last patch.
241
8dfb4cf0
SC
2422003-04-04 Stephane Carrez <stcarrez@nerim.fr>
243
244 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
245 with -DPROTOTYPES.
246
ed4c619a
AC
2472003-04-02 Andrew Cagney <cagney@redhat.com>
248
249 * gdb.base/callfuncs.exp: Make "print add" messages unique.
250 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
251 matching directories by the name breakpoint.
252 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
253 Make "continue to marker1" consistent.
254 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
255 message consistent.
256 * lib/gdb.exp: Put "the program is no longer running", and "the
257 program exited" in parenthesis.
258 * lib/mi-support.exp: Ditto.
259
4e35d5f0
BR
2602003-04-02 Bob Rossi <bob_rossi@cox.net>
261
262 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
263
71900fe8
AC
2642003-03-29 Andrew Cagney <cagney@redhat.com>
265
266 * gdb.base/sizeof.c (main): Print the value of '\377'.
267 * gdb.base/sizeof.exp: Check the sign of '\377'.
268
c0655a16
MC
2692003-03-27 Michael Chastain <mec@shout.net>
270
271 * gdb.base/gdb1090.exp: New file.
272 * gdb.base/gdb1090.cc: New file.
273
5b2a3989
JB
2742003-03-27 J. Brobecker <brobecker@gnat.com>
275
276 * gdb.gdb/observer.exp: New regression test.
277
79876890
MC
2782003-03-27 Michael Chastain <mec@shout.net>
279
280 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
281 * gdb.base/ptype.exp: Likewise.
282
6eac95e3
CV
2832003-03-27 Corinna Vinschen <vinschen@redhat.com>
284
285 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
286
e8c71839
MC
2872003-03-26 Michael Chastain <mec@shout.net>
288
289 * gdb.base/ptype.exp: Actually use some typedef'd types.
290
71b10041
SC
2912003-03-21 Stephane Carrez <stcarrez@nerim.fr>
292
293 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
294 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
295
2512cf80
CV
2962003-03-20 Corinna Vinschen <vinschen@redhat.com>
297
298 * gdb.base/default.exp: Fix regular expression.
299
0d195a4f
CV
3002003-03-20 Corinna Vinschen <vinschen@redhat.com>
301
302 * gdb.base/args.exp: Fix regular expression.
303
8a2dbca8
CV
3042003-03-20 Corinna Vinschen <vinschen@redhat.com>
305
306 * gdb.base/help.exp: Allow Win32 child process.
307
bf028682
CV
3082003-03-20 Corinna Vinschen <vinschen@redhat.com>
309
310 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
311 when stepping out of main().
312
182dbe85
CV
3132003-03-20 Corinna Vinschen <vinschen@redhat.com>
314
315 * gdb.base/default.exp: Check for win32 specific message when calling
316 "run" without executable.
317
d67a6ba5
CV
3182003-03-20 Corinna Vinschen <vinschen@redhat.com>
319
320 * gdb.base/args.exp: Expect .exe in output.
321
a955b5bb
CV
3222003-03-20 Corinna Vinschen <vinschen@redhat.com>
323
324 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
325 Cygwin native.
326
bf6bad4b
AC
3272003-03-17 Andrew Cagney <cagney@redhat.com>
328
329 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
330 vector registes.
331 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
332 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
333
293e9a31
DC
3342003-03-17 David Carlton <carlton@math.stanford.edu>
335
336 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
337 test, for PR breakpoints/38.
338 Call test_watchpoint_and_breakpoint.
339 * gdb.base/watchpoint.c (func3): New function.
340 (main): Call func3.
341
5330f2db
DC
3422003-03-04 David Carlton <carlton@math.stanford.edu>
343
344 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
345 Garply<Garply<char> >:: garply".
346 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
347 with respect to PR c++/1111; note also PR c++/1113.
348 (test_template_breakpoints): KFAIL "constructor breakpoint" with
349 respect to PR c++/1062.
350 KFAIL "destructor breakpoint" with respect to PR c++/1112.
351
6ece72da
DC
3522003-03-03 David Carlton <carlton@math.stanford.edu>
353
354 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
355 with respect to PR c++/57.
356 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
357 c++/826.
358 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
359 respect to PR c++/57.
360
85ca1584
DC
3612003-03-03 David Carlton <carlton@math.stanford.edu>
362
363 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
364 respect to PR c++/33 into FAILs.
365
98e9c5b8
MC
3662003-03-03 Michael Chastain <mec@shout.net>
367
7bedbf27
MC
368 * configure.in: Update copyright years.
369
3702003-03-03 Michael Chastain <mec@shout.net>
371
372 * Makefile.in: Update copyright years.
98e9c5b8 373
f683e100
DC
3742003-02-28 David Carlton <carlton@math.stanford.edu>
375
376 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
377 print class instead of struct and/or superfluous protection
378 specifiers, as long as the resulting output is equivalent to the
379 source code.
380 Delete FIXME from end of messages on tests that don't need
381 fixing.
382
a9e0cf2c
DC
3832003-02-28 David Carlton <carlton@math.stanford.edu>
384
385 * gdb.c++/templates.exp (do_tests): Allow const in the two
386 Foo<volatile char *>::foo tests.
387
e8d359df
MS
3882003-02-27 Michael Snyder <msnyder@redhat.com>
389
390 * gdb.base/restore.c (main): Return zero, so exit code
391 will be consistant.
392
0b71dc91
DC
3932003-02-26 David Carlton <carlton@math.stanford.edu>
394
395 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
396 char *>::foo" test with respect to PR c++/33. Create a new test
397 which is identical to that one except that it doesn't put the
398 space between the "char" and the "*"; KFAIL it, too.
399
dd14ab43
DC
4002003-02-26 David Carlton <carlton@math.stanford.edu>
401
402 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
403 template types into either PASSes or KFAILs (corresponding to PR
404 c++/57). Tweak indentation. Update copyright.
405
1146c7f1
SC
4062003-02-23 Stephane Carrez <stcarrez@nerim.fr>
407
408 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
409
74641dfb
MC
4102003-02-13 Michael Chastain <mec@shout.net>
411
412 * gdb.base/exprs.exp: Remove i960 remnants.
413 * gdb.base/funcargs.exp: Likewise.
414 * gdb.base/list.exp: Likewise.
415 * gdb.base/ptype.exp: Likewise.
416
559cd2d0
DC
4172003-02-14 David Carlton <carlton@math.stanford.edu>
418
419 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
420 pEe->D::vg()" from XFAIL to KFAIL.
421
c4f90d87
JM
4222003-02-13 Jason Molenda (jmolenda@apple.com)
423
424 * gdb.base/maint.exp: Update maint print statistics regexp to include
425 new entries.
426
cbc4d97c
MC
4272003-02-13 Michael Chastain <mec@shout.net>
428
429 * gdb.c++/inherit.exp: Remove call to get_debug_format.
430
40f235b7
MC
4312003-02-12 Michael Chastain <mec@shout.net>
432
433 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
434 * gdb.c++/inherit.exp: Likewise.
435 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
436 * gdb.c++/templates.exp: Likewise.
437 * gdb.c++/virtfunc.exp: Likewise.
438
c56716b0
JM
4392003-02-06 Jason Molenda (jason-cl@molenda.com)
440
441 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
442 why the code is written that way.
443
070afcf8
MC
4442003-02-05 Michael Chastain <mec@shout.net>
445
446 * gdb.base/dump.exp: Add missing copyright line.
447
5d0331e5
JM
4482003-02-05 Jason Molenda (jason-cl@molenda.com)
449
f7ae6d3e 450 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
451 at the beginning so the breakpoint doesn't get set on the loop.
452
92851186
MC
4532003-02-05 Michael Chastain <mec@shout.net>
454
455 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
456 output for configurations with gcc 2.95.3.
457
cbf1e085
AC
4582003-02-05 Keith Seitz <keiths@redhat.com>
459 Andrew Cagney <ac131313@redhat.com>
460
461 * gdb.mi/mi-cli.exp: New file.
462
29518e1e
MC
4632003-02-04 Michael Chastain <mec@shout.net>
464
465 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
466 Call perror and then continue.
467
5af1d5f3
MC
4682003-02-03 Michael Chastain <mec@shout.net>
469
470 * gdb.c++/pr-1023.cc: New file.
471 * gdb.c++/pr-1023.exp: New file.
472
6b549786
JB
4732003-02-05 Jim Blandy <jimb@redhat.com>
474
475 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
476 it's local to foobar. Check for it there, and check that it's not
477 present in main.
478 * gdb.c++/local.cc (marker2): New function.
479 (foobar): Call marker1.
480 (main): Call marker2 instead of marker1.
481
67f16606
AC
4822003-02-04 Andrew Cagney <ac131313@redhat.com>
483
484 * gdb.disasm/mn10200.exp: Obsolete file.
485 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
486 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
487 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
488
1c5cb38e
DC
4892003-02-04 David Carlton <carlton@math.stanford.edu>
490
491 * gdb.c++/overload.exp: Test intToChar(1).
492 * gdb.c++/overload.cc (intToChar): New.
493 (main): Call intToChar.
494
d1fe6965
DC
4952003-02-03 David Carlton <carlton@math.stanford.edu>
496
497 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
498 'might_kfail' arg.
499 KFAIL some of the continue_to_bp_overloaded calls, according to
500 PR c++/1025.
501
9ba61c5d
MC
5022003-02-01 Michael Chastain <mec@shout.net>
503
504 * gdb.base/advance.c (marker1): New marker function.
505 * gdb.base/advance.exp: When the 'advance' command lands on the
506 return breakpoint, it can legitimately stop on either the
507 current line or the next line. Accommodate both outcomes.
508 * gdb.base/until.exp: Likewise.
509
e7494ffb
AC
5102003-02-02 Andrew Cagney <ac131313@redhat.com>
511
512 2002-11-10 Jason Molenda (jason-cl@molenda.com):
513 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
514 now a list, not a tuple.
515 * gdb.mi/mi-var-display.exp: Ditto.
516 * gdb.mi/gdb792.exp: Ditto.
517
075559bc
AC
5182003-02-01 Andrew Cagney <ac131313@redhat.com>
519
520 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
521 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
522 stack backtraces.
523 * gdb.mi/mi-syn-frame.c: Part of same.
524
2bd4c7b1
MK
5252003-02-01 Mark Kettenis <kettenis@gnu.org>
526
527 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
528 gdb.mi/mi1-pthreads.exp: Return instead of calling
529 gdb_suppress_entire_file.
530
eabd8992
MS
5312003-02-01 Mark Salter <msalter@redhat.com>
532
533 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
534
71469e2f
MS
5352003-01-31 Mark Salter <msalter@redhat.com>
536
537 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
538 Support empty arg.
539
38a94d44
MC
5402003-01-30 Michael Chastain <mec@shout.net>
541
542 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
543 This was a workaround for a UTF-8 bug in readline 4.3. The bug
544 has been fixed in gdb/readline on 2003-01-09.
545
19ea9e73
MS
5462003-01-29 Michael Snyder <msnyder@redhat.com>
547
e8d359df
MS
548 * gdb.base/maint.exp: Allow for leading underscore in symbol.
549 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
550 * gdb.base/args.exp: Skip if target does not support args passing.
551
2307bd6a
DJ
5522003-01-22 Daniel Jacobowitz <drow@mvista.com>
553
19ea9e73 554 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
555 gdb_test. Accept a list of expect arguments as the third
556 parameter.
557 (gdb_test): Use it.
558
f2dd3617
EZ
5592003-01-20 Elena Zannoni <ezannoni@redhat.com>
560
561 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
562 allow for different test tree configurations. Update some
563 tescases accordingly.
564 * gdb.arch/altivec-regs.exp: Ditto.
565 * gdb.asm/asm-source.exp: Ditto.
566 * gdb.base/advance.exp: Ditto.
567 * gdb.base/display.exp: Ditto.
568 * gdb.base/long_long.exp: Ditto.
569 * gdb.base/mips_pro.exp: Ditto.
570 * gdb.base/overlays.exp: Ditto.
571 * gdb.base/relocate.exp: Ditto.
572 * gdb.base/setshow.exp: Ditto.
573 * gdb.base/step-line.exp: Ditto.
574 * gdb.base/step-test.exp: Ditto.
575 * gdb.base/until.exp: Ditto.
576 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
577
c71cdefd
DC
5782003-01-17 David Carlton <carlton@math.stanford.edu>
579
580 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
581 corresponding to PR c++/945.
582 Update copyright.
583
fdba05d7
DC
5842003-01-17 David Carlton <carlton@math.stanford.edu>
585
586 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
587 corresponding to PR c++/68.
588
5892003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
590
591 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
592 (test_paddr_hairy_functions): Call print_addr_2_kfail for
593 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
594
c362c33a
EZ
5952003-01-15 Elena Zannoni <ezannoni@redhat.com>
596
0fbc361c
EZ
597 * gdb.base/break.exp: Fix change of default location, because of
598 removal of until tests.
599 * gdb.base/help.exp: Update test for new 'until' help message.
600 Add test for help on 'advance'.
c362c33a
EZ
601 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
602
dabf8a35
MK
6032003-01-15 Mark Kettenis <kettenis@gnu.org>
604
605 * gdb.base/default.exp: Adapt "info float" test for recent changes
606 to that command. Add test for "info vector".
607 * gdb.base/float.exp: New file. Add test for "info float" that
608 resembles the old test in gdb.base/default.exp.
609
a1769aca
DC
6102003-01-15 David Carlton <carlton@math.stanford.edu>
611
612 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
613
82025e13
EZ
6142003-01-15 Elena Zannoni <ezannoni@redhat.com>
615
616 * gdb.base/break.exp: Move the tests of until command from here...
617 * gdb.base/until.exp: ... to here. New file. Add other tests.
618 * gdb.base/advance.c: New file.
619 * gdb.base/advance.exp: New file.
620
8f9ab801
EZ
6212003-01-14 Elena Zannoni <ezannoni@redhat.com>
622
623 * gdb.base/args.c: New file.
624 * gdb.base/args.exp: New file.
625
9ae66589
DJ
6262003-01-14 Daniel Jacobowitz <drow@mvista.com>
627
628 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
629
8d77e5c3
DJ
6302003-01-14 Daniel Jacobowitz <drow@mvista.com>
631
632 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
633
12d2f0a1
DJ
6342003-01-14 Daniel Jacobowitz <drow@mvista.com>
635
636 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
637 dates.
638
6ca37014
DJ
6392003-01-13 Daniel Jacobowitz <drow@mvista.com>
640
641 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
642
b0023472
DJ
6432003-01-13 Daniel Jacobowitz <drow@mvista.com>
644
645 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
646 (ptype &*"foo").
647 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
648
d6abaea5
DJ
6492002-01-13 Daniel Jacobowitz <drow@mvista.com>
650
651 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
652 * gdb.mi/mi1-console.exp: Likewise.
653
dfd536a7
DJ
6542002-01-13 Daniel Jacobowitz <drow@mvista.com>
655
656 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
657 * gdb.mi/mi1-console.exp: Likewise.
658
a1fb14a2
DJ
6592003-01-13 Daniel Jacobowitz <drow@mvista.com>
660
661 * gdb.c++/overload.exp: Remove some fixed XFAILs.
662
c4cf40b7
DJ
6632003-01-09 Daniel Jacobowitz <drow@mvista.com>
664
665 * gdb.base/detach.exp: New test.
666
696d5a5b
DJ
6672003-01-09 Daniel Jacobowitz <drow@mvista.com>
668
669 * Makefile.in (ALL_SUBDIRS): New variable.
670 (subdirs, clean, distclean): Use it.
671 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
672 regenerating Makefile, since it is generated from the top level.
673 * gdb.asm/Makefile.in: Likewise.
674 * gdb.base/Makefile.in: Likewise.
675 * gdb.c++/Makefile.in: Likewise.
676 * gdb.disasm/Makefile.in: Likewise.
677 * gdb.java/Makefile.in: Likewise.
678 * gdb.mi/Makefile.in: Likewise.
679 * gdb.threads/Makefile.in: Likewise.
680 * gdb.trace/Makefile.in: Likewise.
681
754533e4
DC
6822003-01-09 David Carlton <carlton@math.stanford.edu>
683
684 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
685 Add copyright year 2003.
686
d8b3e9ee
MC
6872003-01-06 Michael Chastain <mec@shout.net>
688
689 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
690 When selecting a thread, 'line' and 'file' are optional.
691 * gdb.mi/mi1-pthreads.exp: Likewise.
692
8e9e0fe6
AS
6932003-01-06 Andreas Schwab <schwab@suse.de>
694
695 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
696 failures.
697
b5ab8ff3
DJ
6982003-01-04 Daniel Jacobowitz <drow@mvista.com>
699
700 Fix PR gdb/844
701 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
702 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
703
704 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
705 instead of calling gdb_suppress_entire_file.
706 * gdb.threads/print-threads.exp: Likewise.
707 * gdb.threads/schedlock.exp: Likewise.
708
709 * gdb.threads/killed.exp: Return instead of calling
710 gdb_suppress_entire_file.
711 * gdb.threads/linux-dp.exp: Likewise.
712 * gdb.threads/pthreads.exp: Likewise.
713
1e698235
DJ
7142003-01-04 Daniel Jacobowitz <drow@mvista.com>
715
716 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
717 stabs.
718 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
719 * gdb.base/whatis.exp: Always allow (void) after function names.
720
147ff08c
DJ
7212003-01-04 Daniel Jacobowitz <drow@mvista.com>
722
723 * gdb.c++/casts.exp: Correct regexp.
724
dc62bfc2
MK
7252003-01-04 Mark Kettenis <kettenis@gnu.org>
726
727 * configure.in: Call AC_CONFIG_HEADER. Don't call
728 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
729 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
730 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
731 aforementioned directories in the AC_OUPUT call.
732 * config.hin: New file.
733 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
734 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
735 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
736 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
737 pass -I$objdir instead of -I$objdir/$subdir in compilation.
738 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
739 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
740 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
741 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
742 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
743 gdb.threads/configure.in, gdb.threads/configure,
744 gdb.threads/config.in, gdb.trace/configure.in,
745 gdb.trace/configure: Removed.
746
77afa639
MC
7472003-01-03 Michael Chastain <mec@shout.net>
748
749 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
750 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
751
7634bb6e
DJ
7522003-01-03 Daniel Jacobowitz <drow@mvista.com>
753
754 * gdb.base/store.exp: Fix regular expressions.
755
b39c905e
MK
7562002-12-28 Mark Kettenis <kettenis@gnu.org>
757
758 * configure.in: Rewrite.
759 * configure: Regenerated.
760
0a8551dd
DC
7612003-01-03 David Carlton <carlton@math.stanford.edu>
762
763 * gdb.base/psymtab.exp: New file.
764 * gdb.base/psymtab1.c: Ditto.
765 * gdb.base/psymtab2.c: Ditto.
766
c60b7188
AF
7672002-12-23 Adam Fedor <fedor@gnu.org>
768
769 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
770
ee73db83
DC
7712002-12-23 David Carlton <carlton@math.stanford.edu>
772
773 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
774 and current_directory initialization.
775
d6c1774e
JB
7762002-12-22 Jim Blandy <jimb@redhat.com>
777
f0a847b8
JB
778 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
779 rather than as part of the output file name.
780
d6c1774e
JB
781 * gdb.base/attach.exp: There's no need to copy the test program to
782 /tmp; that was only ever necessary on HP/UX, and this test is
783 entirely disabled there anyway.
784
f0708dbb
JB
7852002-12-21 Jim Blandy <jimb@redhat.com>
786
4c2acfea
JB
787 * gdb.c++/psmang.exp: Doc fix.
788
f0708dbb
JB
789 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
790 test.
791
9579e000
DC
7922002-12-20 David Carlton <carlton@math.stanford.edu>
793
794 * gdb.c++/annota2.exp: KFAIL annotate-quit.
795
d1810171
MC
7962002-12-18 Michael Chastain <mec@shout.net>
797
798 * gdb.c++/annota2.exp: Add copyright year 2002.
799
76565097
DC
8002002-12-17 David Carlton <carlton@math.stanford.edu>
801
802 * gdb.c++/try_catch.cc: Add marker comments.
803 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
804 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
805 * gdb.c++/m-static.cc: Ditto.
806 * gdb.c++/m-static1.cc: Ditto.
807 * gdb.c++/try_catch.cc: Ditto.
808
da81390b
JJ
8092002-12-16 Jeff Johnston <jjohnstn@redhat.com>
810
811 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
812 to see whether we are using the new -environment-directory
813 command which resets via -r or the old version of the command
814 which may prompt the user. Part of fix for gdb/741.
815
b304d130
AC
8162002-12-13 Andrew Cagney <ac131313@redhat.com>
817
818 * gdb.fortran/types.exp: Update obsolete comment.
819 * gdb.fortran/exprs.exp: Ditto.
820 * lib/gdb.exp: Delete obsolete code.
821 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
822 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
823 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
824 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
825 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
826 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
827 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
828 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
829 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
830 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
831 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
832 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
833 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
834 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
835 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
836 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
837 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
838 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
839 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
840 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
841 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
842 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
843 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
844 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
845 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
846 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
847 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
848 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
849 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
850 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
851 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
852 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
853 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
854 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
855 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
856 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
857 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
858
a23b6e6a
DC
8592002-12-11 David Carlton <carlton@math.stanford.edu>
860
861 * gdb.c++/m-data.exp: Add test for members that shadow global
862 variables: see PR gdb/804.
863 * gdb.c++/m-data.cc: Ditto.
864
6604731b
DJ
8652002-12-10 Daniel Jacobowitz <drow@mvista.com>
866
867 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
868
de46ecd7
DC
8692002-12-06 David Carlton <carlton@math.stanford.edu>
870
871 * gdb.base/store.c: Don't declare functions static.
872
27e829d0
AC
8732002-12-04 Andrew Cagney <ac131313@redhat.com>
874
875 * gdb.base/store.exp, gdb.base/store.c: New files.
876
92806416
DJ
8772002-12-03 Daniel Jacobowitz <drow@mvista.com>
878
879 * gdb.base/selftest.exp: Update for current gdb.
880
3bcbaac5
DJ
8812002-12-03 Daniel Jacobowitz <drow@mvista.com>
882
883 * gdb.base/maint.exp: Only dump symbols from one source file
884 or objfile.
885
f4f00b1f
DJ
8862002-12-03 Daniel Jacobowitz <drow@mvista.com>
887
888 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
889 function call.
890
f1c8a949
JB
8912002-11-25 Jim Blandy <jimb@redhat.com>
892
893 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
894 function appearing in error message.
895
9e297a97
DJ
8962002-11-21 Daniel Jacobowitz <drow@mvista.com>
897
898 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
899
1f312e79
JJ
9002002-11-08 Jeff Johnston <jjohnstn@redhat.com>
901
902 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
903 for mi1 and current mi is in correct format. New mi startup message
904 should be in mi console format. This is part of fix for PR gdb/604.
905
83c31e7d
FN
9062002-09-18 Fernando Nasser <fnasser@redhat.com>
907
908 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
909 which explicitly prints the zero offset as "+0".
910
322b3f65
DJ
9112002-10-22 Daniel Jacobowitz <drow@mvista.com>
912
913 * gdb.threads/schedlock.c (args): Make unsigned.
914
9152002-10-21 Daniel Jacobowitz <drow@mvista.com>
916
917 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
918 numbers. Allow "foo2|selected stack frame".
919 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
920 * gdb.asm/asmsrc2.s: Likewise.
921 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
922 comments.
923 * gdb.asm/mips.inc: New file.
924
5e2fe5b8
AF
9252002-10-18 Adam Fedor <fedor@gnu.org>
926
927 * gdb.base/default.exp: Update expected output to include 'ObjC'.
928 * gdb.base/help.exp: Likewise.
929
abe1a5d0
KB
9302002-10-17 Kevin Buettner <kevinb@redhat.com>
931
932 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
933 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
934
10abb1d4
JB
9352002-10-02 Jim Blandy <jimb@redhat.com>
936
937 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
938
1f609b42
AC
9392002-10-01 Andrew Cagney <ac131313@redhat.com>
940
941 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
942 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
943 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
944 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
945 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
946 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
947 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
948
0aee02e4
AC
9492002-09-29 Andrew Cagney <ac131313@redhat.com>
950
951 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
952 * mi0-disassemble.exp, mi0-eval.exp: Delete.
953 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
954 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
955 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
956 * mi0-var-block.exp, mi0-var-child.exp: Delete.
957 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
958
6fde09ad
KB
9592002-09-27 Kevin Buettner <kevinb@redhat.com>
960
961 * gdb.base/annota1.exp (info break): Make directory components of
962 path optional since not all compilers emit this debug information.
963
964 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
965 step ends up stepping out of the function instead of stopping on
966 the epilogue.
967
9e8aab75
KS
9682002-09-26 Keith Seitz <keiths@redhat.com>
969
970 * lib/insight-support.exp (gdbtk_start): Figure out where
971 the insight executable is based on where gdb is. Use this
972 executable to start insight instead of gdb.
973
e36180d7
AC
9742002-09-25 Andrew Cagney <cagney@redhat.com>
975
976 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
977
9dd34b2b
AC
9782002-09-24 Andrew Cagney <ac131313@redhat.com>
979
980 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
981 test_isolated_complaints.
982 (test_empty_complaint): New function.
983 (test_empty_complaints): New function. Check no output when no
984 complaints.
985
dea97812
KB
9862002-09-19 Jim Blandy <jimb@redhat.com>
987
988 * gdb.base/charset.exp, gdb.base/charset.c: New files.
989
54951bd7
AC
9902002-09-19 Andrew Cagney <ac131313@redhat.com>
991
992 * gdb.gdb/complaints.exp: New file.
993
dec43320
AC
9942002-09-18 Andrew Cagney <ac131313@redhat.com>
995
996 * gdb.base/maint.exp: Check `help maint internal-warning'.
997
e70d6e3f
DC
9982002-09-18 David Carlton <carlton@math.stanford.edu>
999
1000 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1001 numbers, and replace them by a single breakpoint after the
1002 constructors are all finished.
1003 Add test 4.
1004 * gdb.c++/m-static.cc: Add test 4.
1005 * gdb.c++/m-static.h: New file.
1006 * gdb.c++/m-static1.cc: New file.
1007
1008 * gdb.c++/printmethod.exp: New file.
1009 * gdb.c++/printmethod.cc: New file.
1010
1011 * gdb.c++/pr-574.exp: New file.
1012 * gdb.c++/pr-574.cc: New file.
1013
afb5c968
CV
10142002-09-18 Corinna Vinschen <vinschen@redhat.com>
1015
1016 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1017 embedded targets which never actually exit.
1018
31e45dee
FN
10192002-09-18 Fernando Nasser <fnasser@redhat.com>
1020
1021 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1022 "don't step after run" as unresolved or unsupported, instead of xfail.
1023
a283c5a1
CV
10242002-09-18 Corinna Vinschen <vinschen@redhat.com>
1025
1026 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1027 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1028 Add newline to expected string in "step out of main (status wrapper)"
1029 case.
1030
11350d2a
CV
10312002-09-18 Corinna Vinschen <vinschen@redhat.com>
1032
1033 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1034 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1035
0deec7d6
TT
10362002-09-17 Tom Tromey <tromey@redhat.com>
1037
1038 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1039 \000, not \0, in double-quoted string.
1040
b2b4a1b5
CV
10412002-09-14 Corinna Vinschen <vinschen@redhat.com>
1042
1043 * gdb.base/command.exp: Don't expect a "Program exited normally"
1044 string after running the commands execution on breakpoint tests.
1045
1c56143a
CV
10462002-09-13 Corinna Vinschen <vinschen@redhat.com>
1047
1048 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1049
37f8da45
JB
10502002-09-12 Joel Brobecker <brobecker@gnat.com>
1051
1052 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1053
08b468e0
KS
10542002-09-10 Keith Seitz <keiths@redhat.com>
1055
1056 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1057 runto proc.
1058 (mi_run_to_main): Use mi_runto.
1059 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1060
dc360f58
KS
10612002-09-10 Keith Seitz <keiths@redhat.com>
1062
1063 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1064 regexp for stopping at main. Could have multiple event notifications.
1065 Don't assume that main was declared with no parameters.
1066 (mi_next): Use mi_step_to.
1067 (mi_step): Use mi_next_to.
1068
ce3abcfb
CV
10692002-09-09 Corinna Vinschen <vinschen@redhat.com>
1070
1071 * gdb.base/default.exp: Fix expected string in `info float' test.
1072
d1f5b980
BE
10732002-09-09 Ben Elliston <bje@redhat.com>
1074
1075 * config/mips.exp: Update comments.
1076 * config/mips-idt.exp: Likewise.
1077 * config/nind.exp: Likewise.
1078 * config/slite.exp: Likewise.
1079 * config/sparclet.exp: Likewise.
1080 * config/udi.exp: Likewise.
1081 * config/vx.exp: Likewise.
1082 * config/vxworks29k.exp: Likewise.
1083
2f71430b
JB
10842002-09-05 Jim Blandy <jimb@redhat.com>
1085
1086 * gdb.threads/killed.exp: Fix test failure message.
1087
7ddebc7e
KS
10882002-09-04 Keith Seitz <keiths@redhat.com>
1089
1090 * lib/mi-support.exp: Update copyright.
1091 (mi_gdb_test): Increase the priority of the expected pattern
1092 so that it matches gdb_test.
1093
0ae67eb3
KS
10942002-09-03 Keith Seitz <keiths@redhat.com>
1095
1096 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1097 Use integer comparison instead of string comparison for testing
1098 whether binary was built.
1099
38fc42c8
JB
11002002-09-03 Jim Blandy <jimb@redhat.com>
1101
1102 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1103
b6ff0e81
JB
11042002-08-29 Jim Blandy <jimb@redhat.com>
1105
1106 * gdb.threads/pthreads.exp: Move the portable thread compilation
1107 code into a function in lib/gdb.exp, and call that from here.
1108 * lib/gdb.exp (gdb_compile_pthreads): New function.
1109
07c98896
KS
11102002-08-29 Keith Seitz <keiths@redhat.com>
1111
1112 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1113 expect_out so that callers can get at it.
1114
0312286c
DJ
11152002-08-23 Daniel Jacobowitz <drow@mvista.com>
1116
1117 * gdb.threads/print-threads.c: New file.
1118 * gdb.threads/print-threads.exp: New file.
1119 * gdb.threads/schedlock.c: New file.
1120 * gdb.threads/schedlock.exp: New file.
1121
dd039bc4
EZ
11222002-08-22 Elena Zannoni <ezannoni@redhat.com>
1123
1124 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1125 not altivec.c.
1126
1f36144c
MK
11272002-08-17 Mark Kettenis <kettenis@gnu.org>
1128
1129 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1130 targets. The problem should be fixed now.
1131
16057ec7 11322002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1133
1134 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1135 2002-07-24 change that removes final dots from error messages.
1136
3c1499ad
TT
11372002-08-13 Tom Tromey <tromey@redhat.com>
1138
1139 * gdb.base/readline.exp: New file.
1140
a20ce2c3
AC
11412002-08-01 Andrew Cagney <ac131313@redhat.com>
1142
1143 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1144 supress message.
1145
db034ac5
AC
11462002-08-01 Andrew Cagney <cagney@redhat.com>
1147
1148 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1149 CHILL_FOR_TARGET and CHILL_LIB.
1150 * configure.in (configdirs): Remove gdb.chill.
1151 * configure: Regenerate.
1152 * lib/gdb.exp: Obsolete references to chill.
1153 * gdb.fortran/types.exp: Ditto.
1154 * gdb.fortran/exprs.exp: Ditto.
1155
3e000b18
KB
11562002-07-30 Kevin Buettner <kevinb@redhat.com>
1157
1158 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1159 set Irix-specific compile and link flags.
1160
28f4966b
KB
11612002-07-29 Kevin Buettner <kevinb@redhat.com>
1162
1163 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1164 source files. The ``-o'' option doesn't work with the ``-E'' option
1165 when using the Irix compiler.
1166
46c0d5a6
DJ
11672002-07-19 Daniel Jacobowitz <drow@mvista.com>
1168
1169 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1170 Improve support for reusing an exec file. Copy exec file
1171 to target, and run gdbserver on the target instead of on the host.
1172
eecf4bed
JB
11732002-07-18 Jim Blandy <jimb@redhat.com>
1174
0f815cdf
JB
1175 * gdb.base/ending-run.exp: Don't expect to see the program end in
1176 some orderly fashion when we're running on a real stand-alone
1177 board.
1178
eecf4bed
JB
1179 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1180 targets that don't support interrupts.
1181
52d309e4
JB
11822002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1183
1184 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1185 systems.
1186 Move comments in expect statements to inside the actions, so that they
1187 don't get matched against.
1188
ff683d9e
MK
11892002-07-10 Mark Kettenis <kettenis@gnu.org>
1190
1191 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1192 function when asleep" test.
1193
b5356753
AC
11942002-07-10 Andrew Cagney <ac131313@redhat.com>
1195
1196 * gdb.base/page.exp: Rewrite to handle problems with very long
1197 `info set' output. Update copyright.
1198
6aa4d13a
AC
11992002-06-26 Andrew Cagney <ac131313@redhat.com>
1200
1201 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1202 gdb.threads-hp.
1203 * gdb.hp/configure: Regenerate.
1204 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1205 * gdb.hp/gdb.threads-hp/configure: Delete file.
1206 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1207
8cf8c2b8
AC
12082002-06-22 Andrew Cagney <ac131313@redhat.com>
1209
1210 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1211 setlocale, bindtextdomain and textdomain.
1212
6827a8f8
JB
12132002-06-11 Jim Blandy <jimb@redhat.com>
1214
919d772c
JB
1215 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1216 preprocessor macro information is present.
1217
6827a8f8
JB
1218 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1219 tests.
1220
c15b0d21
MS
12212002-06-06 Michael Snyder <msnyder@redhat.com>
1222
c5984d70
MS
1223 * gdb.base/overlays.exp: Record addresses of overlay
1224 functions in TCL variables rather than in GDB variables,
1225 to avoid having GDB convert them to pointers (with loss
1226 of information).
1227
99a8512b
MS
1228 * gdb.base/d10v.ld: Merge in several years worth of
1229 default linker script changes.
c15b0d21
MS
1230 * gdb.base/long_long.exp: Add check for sizeof (long double).
1231
be26fe0d
ML
12322002-06-06 Michal Ludvig <mludvig@suse.cz>
1233
1234 * gdb.asm/asm-source.exp: Add x86-64 target.
1235 * gdb.asm/x86_64.inc: New.
1236
258093ca 12372002-05-30 Michael Chastain <mec@shout.net>
258093ca 1238
4b3153f1 1239 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1240 * gdb.c++/m-static.cc: New file.
1241 * gdb.c++/m-static.exp: New file.
1242
241264c6
MS
12432002-05-28 Michael Snyder <msnyder@redhat.com>
1244
1245 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1246 precision.
1247
9bba8c8f 12482002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1249
4b3153f1 1250 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1251 * gdb.c++/m-data.cc: New file.
1252 * gdb.c++/m-data.exp: New file.
1253
12542002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1255
4b3153f1 1256 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1257 * gdb.c++/try_catch.cc: New file.
1258 * gdb.c++/try_catch.exp: New file.
1259
def1b996
MC
12602002-05-27 Michael Chastain <mec@shout.net>
1261
1262 * gdb.c++/local.exp: Accept more nested types in output.
1263
522ba268
MC
12642002-05-26 Michael Chastain <mec@shout.net>
1265
1266 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1267
277254ba
MS
12682002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1269
1270 * lib/gdb.exp (gdb_wrapper_init): Just because
1271 gdb_wrapper_file exists, this does not mean that the file
1272 should not be rebuilt. That is what gdb_wrapper_initialized
1273 is for.
1274 (default_gdb_init): Reset gdb_wrapper_initialized.
1275
b61a8733
MS
12762002-05-23 Michael Snyder <msnyder@redhat.com>
1277
5bdb6d01
MS
1278 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1279 the precision of the floating point test results.
1280 * gdb.base/call-rt-st.exp: Ditto.
1281
b61a8733
MS
1282 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1283 * gdb.base/call-rt-st.exp: Ditto.
1284
56f6e910
MC
12852002-05-19 Michael Chastain <mec@shout.net>
1286
1287 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1288
ad0b0016
EZ
12892002-05-19 Elena Zannoni <ezannoni@redhat.com>
1290
1291 * configure.in (configdirs): Add gdb.arch.
1292 * configure: Regenerate.
1293
f617d2b6
JB
12942002-05-17 Jim Blandy <jimb@redhat.com>
1295
1296 * gdb.base/completion.exp: Recognize the more detailed error
1297 messages produced by the macro expander's lexical analyzer.
1298
eac2a696
EZ
12992002-05-14 Elena Zannoni <ezannoni@redhat.com>
1300
1301 * gdb.arch/altivec-abi.c: New file.
1302 * gdb.arch/altivec-abi.exp: New file.
1303 * gdb.arch/altivec-regs.c: New file.
1304 * gdb.arch/altivec-regs.exp: New file.
1305
2fdde8f8
DJ
13062002-05-14 Daniel Jacobowitz <drow@mvista.com>
1307
1308 * gdb.base/maint.exp (maint print type): Update for new type
1309 structure.
eac2a696 1310
e31f1a7c
EZ
13112002-05-14 Elena Zannoni <ezannoni@redhat.com>
1312
1313 * gdb.arch: New directory.
1314 * gdb.arch/configure.in: New file.
1315 * gdb.arch/configure: New file.
1316 * gdb.arch/Makefile.in: New file.
1317
db589741
CV
13182002-05-13 Corinna Vinschen <vinschen@redhat.com>
1319
1320 * gdb.asm/asm-source.exp: Add v850 as supported target.
1321 * gdb.asm/v850.inc: New file.
1322
8ce2a7dc
DJ
13232002-05-13 Daniel Jacobowitz <drow@mvista.com>
1324
1325 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1326
df763c7f
DJ
13272002-05-12 Daniel Jacobowitz <drow@mvista.com>
1328
1329 * gdb.base/break.exp: Check 'break "marker2"'.
1330
377daeed
MS
13312002-05-10 Michael Snyder <msnyder@redhat.com>
1332
1333 * gdb.base/long_long.exp: Fix typo.
1334
c4b7bc2b
JB
13352002-05-10 Jim Blandy <jimb@redhat.com>
1336
ecac9a4e
JB
1337 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1338 a bug.
1339
c4b7bc2b
JB
1340 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1341 Recognize more detailed error message produced by the macro
1342 expander's lexical analyzer.
1343 * lib/gdb.exp (test_print_reject): Same.
1344
e71019a1
MK
13452002-05-09 Mark Kettenis <kettenis@gnu.org>
1346
1347 * gdb.c++/method.exp: Fix typo.
1348
fedfc8e6
MS
13492002-05-08 Michael Snyder <msnyder@redhat.com>
1350
166a1957
MS
1351 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1352 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1353 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1354 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1355 Add iftarget clause for strongarm.
1356
f1c47eb2
MS
13572002-05-06 Michael Snyder <msnyder@redhat.com>
1358
cb9a9d3e
MS
1359 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1360 (gdb_continue_to_end): Accept output from status wrapper.
1361 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1362 Clean up fail messages to match pass messages.
1363
f1c47eb2
MS
1364 Enable the "needs_status_wrapper" testsuite feature.
1365 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1366 (gdb_compile): Conditionally call gdb_wrapper_init.
1367 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1368 * gdb.c++/method.exp: Recognize output from status wrapper.
1369
6079c749
BE
13702002-05-06 Ben Elliston <bje@redhat.com>
1371From Graydon Hoare <graydon@redhat.com>
1372
1373 * config/sid.exp: Include support for "rawsid" protocol.
1374
188baff3
JB
13752002-05-03 Jim Blandy <jimb@redhat.com>
1376
1377 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1378 * gdb.c++/hang3.C: New file.
1379
b9c07f0f
AC
13802002-05-04 Andrew Cagney <ac131313@redhat.com>
1381
1382 * gdb.base/default.exp: Remove obsolete code.
1383 * gdb.c++/misc.exp: Ditto. Update copyright.
1384 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1385 * gdb.base/whatis.exp: Ditto. Update copyright.
1386 * gdb.base/scope.exp: Ditto. Update copyright.
1387 * gdb.base/ptype.exp: Ditto. Update copyright.
1388 * gdb.base/printcmds.exp: Ditto. Update copyright.
1389 * gdb.base/opaque.exp: Ditto. Update copyright.
1390 * gdb.base/list.exp: Ditto.
1391 * gdb.base/funcargs.exp: Ditto. Update copyright.
1392 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1393 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1394 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1395 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1396 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1397 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1398
5c7a0397
MS
13992002-05-02 Michael Snyder <msnyder@redhat.com>
1400
d6dcc264 1401 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1402 * gdb.base/long_long.exp: Add xscale target.
1403 * gdb.base/default.exp: Add xscale target.
1404
eb7f1c48
JB
14052002-05-01 Jim Blandy <jimb@redhat.com>
1406
1407 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1408 gdb.c++/hang.exp: New test.
1409
a6befae8
FF
14102002-05-01 Fred Fish <fnf@redhat.com>
1411
1412 * gdb.base/completion.exp: Handle completions of "./Make" for
1413 more than one completion possibility, as is the case when we
1414 build and test in the source tree.
1415
0a310277
AG
14162002-04-29 Anthony Green <green@redhat.com>
1417
1418 * gdb.java/jmisc1.exp: New file.
1419 * gdb.java/jmisc2.exp: New file.
1420
6ff9af88
DJ
14212002-04-24 Daniel Jacobowitz <drow@mvista.com>
1422
1423 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1424
96b3d632
EZ
14252002-04-23 Elena Zannoni <ezannoni@redhat.com>
1426
1427 * gdb.base/help.exp: Change 'help status' to allow for target
1428 dependent output differences.
1429
5019bb54
MC
14302002-04-22 Michael Chastain <mec@shout.net>
1431
1432 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1433
a805a116
MC
14342002-04-22 Michael Chastain <mec@shout.net>
1435
1436 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1437
a1706bfd
DM
14382002-04-17 David S. Miller <davem@redhat.com>
1439
1440 * gdb.asm/sparc64.inc: New file.
1441 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1442
a73a20a2
EZ
14432002-04-19 Elena Zannoni <ezannoni@redhat.com>
1444
1445 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1446 instruction file directly into the build tree. Clean up at end of
1447 test.
1448
ba678339
DM
14492002-04-18 David S. Miller <davem@redhat.com>
1450
1451 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1452 handle 64-bit platforms correctly.
1453 * gdb.base/maint.exp: Likewise.
1454
b03399da
KB
14552002-04-18 Kevin Buettner <kevinb@redhat.com>
1456
1457 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1458 ``-fpic'' when compiling files comprising a shared library, but
1459 it does need additional linker flags in order to find shared
1460 libraries at run time.
1461
e2004992
KB
14622002-04-18 Kevin Buettner <kevinb@redhat.com>
1463
1464 * gdb.base/cvexpr.c (use): New function.
1465 (main): Invoke use() on all global variables to prevent
1466 some linkers from deleting these otherwise unused symbols.
1467
d8937120
MC
14682002-04-17 Michael Chastain <mec@shout.net>
1469From David S. Miller <davem@redhat.com>
1470
1471 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1472 handle 64-bit platforms correctly.
1473
ffd61a58
MS
14742002-04-12 Michael Snyder <msnyder@redhat.com>
1475From Jim Blandy <jimb@redhat.com>
1476 * gdb.base/foo.c (foox): Remove section attribute; the linker
1477 script can handle this instead.
1478 * gdb.base/bar.c (barx): Same.
1479 * gdb.base/baz.c (bazx): Same.
1480 * gdb.base/grbx.c (grbxx): Same.
1481
1482 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1483 manager doesn't automatically unmap overlays unnecessarily.
1484
6b8426a6
MH
14852002-04-10 Martin M. Hunt <hunt@redhat.com>
1486
1487 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1488 stepping out of main.
1489
34af4875
MC
14902002-04-09 Michael Chastain <mec@shout.net>
1491
1492 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1493 scope so that the nested scope tests will make sense.
1494 * gdb.c++/local.exp: Write patterns that actually work with gcc
1495 (the HP patterns "were never known to work with gcc").
1496 Keep the old aCC patterns too.
1497
2d1676a0
DJ
14982002-04-09 Daniel Jacobowitz <drow@mvista.com>
1499
1500 * gdb.base/attach.exp: Correct target board test.
1501
3a63e3f9
MC
15022002-04-08 Michael Chastain <mec@shout.net>
1503
1504 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1505 in a const method. Add some xfail and fail cases for configurations
1506 that do not emit the "const ...".
1507
f18dabd2
MC
15082002-04-07 Michael Chastain <mec@shout.net>
1509
1510 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1511 Accept "A * const" and "const A * const" as type of "this".
1512 Fix spelling of getFunky throughout. Make messages uniform.
1513
0fcddd82
EZ
15142002-04-07 Elena Zannoni <ezannoni@redhat.com>
1515
1516 Work around for PR gdb/285:
1517 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1518
16a8534a
EZ
15192002-04-07 Elena Zannoni <ezannoni@redhat.com>
1520
1521 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1522 instructions file at run time instead of configure time.
1523 Sometimes we run the test in a directory that is not the one we
1524 configured in.
1525 * gdb.asm/configure.in: Delete creation of symlink.
1526 * gdb.asm/configure: Regenerate.
1527
24181d81
JB
15282002-04-05 J. Brobecker <brobecker@gnat.com>
1529
1530 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1531 xfullpath () function.
1532
7cdb7107
DJ
15332002-04-04 Daniel Jacobowitz <drow@mvista.com>
1534
1535 * gdb.asm/Makefile.in: Correct dependencies.
1536
1537 * gdb.asm/powerpc.inc: New file.
1538 * gdb.asm/asm-source.exp: Add PowerPC.
1539 * gdb.asm/configure.in: Likewise.
1540 * gdb.asm/configure: Regenerated.
1541
a7d17088
DJ
15422002-04-04 Daniel Jacobowitz <drow@mvista.com>
1543
1544 * gdb.base/relocate.exp: New file.
1545 * gdb.base/relocate.c: New file.
1546
cd721503
FF
15472002-04-04 Fred Fish <fnf@redhat.com>
1548
1549 * gdb.base/step-test.exp: Update comment regarding stopping in
1550 memcpy/bcopy calls inserted as part of the compiler runtime.
1551
b22ad7a7
MS
15522002-04-04 Michael Snyder <msnyder@redhat.com>
1553
1554 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1555
5f279fa6
DJ
15562002-04-03 Daniel Jacobowitz <drow@mvista.com>
1557
1558 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1559 (gdb_expect): Remove $notransfer hack.
1560
dd0fd3ce
DJ
15612002-04-02 Daniel Jacobowitz <drow@mvista.com>
1562
1563 * gdb.c++/classes.exp ("calling method for small class"): Match
1564 updated register output.
1565
1e50cda1
DJ
15662002-03-30 Daniel Jacobowitz <drow@mvista.com>
1567
1568 Fix PR gdb/452
1569 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1570 when finished. Make gdb_file_cmd send "exec-file" when
1571 appropriate.
1572
24015922
DJ
15732002-03-30 Daniel Jacobowitz <drow@mvista.com>
1574
1575 * gdb.base/attach.exp: Remove extra setup_xfail.
1576
dd7dfd64
MS
15772002-03-26 Michael Snyder <msnyder@redhat.com>
1578
1579 * gdb.base/default.exp: Add tests for dump, append, and restore.
1580 * gdb.base/help.exp: Add tests for dump, append, and restore.
1581 * gdb.base/dump.exp: New file, test dump, append and restore.
1582 * gdb.base/dump.c: New file.
1583
48b2f8d7
MS
15842002-03-27 Michael Snyder <msnyder@redhat.com>
1585
1586 * gdb.base/help.exp: Modify expect strings to reflect
1587 clean-ups in help messages.
1588
05b4d525
FF
15892002-03-26 Fred Fish <fnf@redhat.com>
1590
1591 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1592 have debugging info for those functions and the compiler uses them
1593 internally to copy structs around.
1594
d7679631
FF
15952002-03-26 Fred Fish <fnf@redhat.com>
1596
1597 * gdb.base/list.exp: Revert the change made yesterday and add note
1598 about why we don't list the default lines for remote targets.
1599
523ac3f9
MS
16002002-03-25 Michael Snyder <msnyder@redhat.com>
1601
1602 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1603
754b2b8d
FF
16042002-03-25 Fred Fish <fnf@redhat.com>
1605
1606 * gdb.base/list.exp: This test works on remote targets so remove
1607 the short circuit for remote targets. Update copyright.
1608
33c3e192
FF
16092002-03-25 Fred Fish <fnf@redhat.com>
1610
1611 * gdb.base/attach.exp: Fix logic error that was suppressing this
1612 test for all non hppa*-*-hpux* targets, instead of the hp target.
1613 Move comments closer to the suppression point. Also now need to
1614 check that we are running natively.
1615
d43e73ee
MS
16162002-03-22 Michael Snyder <msnyder@redhat.com>
1617
882c8f02
MS
1618 * gdb.base/default.exp: Add test for gcore. Update copyright.
1619 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1620
04c12f60
FF
16212002-03-06 Fred Fish <fnf@redhat.com>
1622
1623 * gdb.base/funcargs.c: Remove extraneous ';' character.
1624 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1625
b43df995
MC
16262002-03-04 Michael Chastain <mec@shout.net>
1627
1628 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1629 accommodate gcc v3 function signature.
1630 * gdb.mi/mi0-var-cmd-exp: Ditto.
1631
92362027
AC
16322002-02-24 Andrew Cagney <ac131313@redhat.com>
1633
1634 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1635 ``GNU/Linux'' or ``Linux kernel''
1636 * testsuite/gdb.threads/pthreads.c: Ditto.
1637
258ad32d
MC
16382002-02-24 Michael Chastain <mec@shout.net>
1639
1640 * gdb.threads/pthreads.c (thread1): Add a return statement.
1641 (thread2): Likewise.
1642 (foo): Likewise.
1643
04c3b3d4
MC
16442002-02-23 Michael Chastain <mec@shout.net>
1645
1646 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1647 to placate gcc.
1648
5a2a0a20
MC
16492002-02-23 Michael Chastain <mec@shout.net>
1650
1651 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1652 test "ptype bint". The test passes on all my stabs configurations.
1653
a640f7fc
JB
16542002-02-21 Jim Blandy <jimb@redhat.com>
1655
27924826
JB
1656 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1657 filename at a time, and watch for the ones we want to see.
1658
a640f7fc
JB
1659 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1660 types of pointers to prototyped functions.
1661
edcc8c75
AC
16622002-02-20 Andrew Cagney <ac131313@redhat.com>
1663
1664 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1665 signed, unsigned and straight char.
1666 (padding_char, padding_short, padding_int, padding_long,
1667 padding_long_long, padding_float, padding_double,
1668 padding_long_double): New global variables.
1669 (fill, fill_structs): New functions.
1670
1671 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1672 for correctly sized writes. Update copyright.
1673 (get_valueof): New procedure.
1674 (get_sizeof): Call get_valueof.
1675 (check_valueof): New procedure.
1676 (check_padding): New procedure.
1677
ac57ea44
MC
16782002-02-20 Michael Chastain <mec@shout.net>
1679
1680 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1681 to setup_xfail. Document some of the remaining calls.
1682
7a10c941
MC
16832002-02-18 Michael Chastain <mec@shout.net>
1684
1685 * gdb.c++/userdef.exp: Update copyright year.
1686
fb8acdcc
DJ
16872002-02-18 Daniel Jacobowitz <drow@mvista.com>
1688
1689 * gdb.c++/userdef.exp: Test overloaded operators properly.
1690 Remove xfails.
1691
fda6ae12
MS
16922002-02-14 Michael Snyder <msnyder@redhat.com>
1693
1694 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1695
676a0442
DJ
16962002-02-14 Daniel Jacobowitz <drow@mvista.com>
1697
1698 * gdb.base/a2-run.exp: Check for a remote target properly.
1699 * gdb.base/annota1.exp: Likewise.
1700 * gdb.base/list.exp: Likewise.
1701 * gdb.base/reread.exp: Likewise.
1702 * gdb.base/scope.exp: Likewise.
1703 * gdb.base/shlib-call.exp: Likewise.
1704 * gdb.base/term.exp: Likewise.
1705 * gdb.c++/annota2.exp: Likewise.
1706
78b4f468
RE
17072002-02-13 Richard Earnshaw <rearnsha@arm.com>
1708
1709 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1710
9a81ba51
MC
17112002-02-10 Michael Chastain <mec@shout.net>
1712
1713 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1714 (call_after_alloca): Ditto.
1715
004af6c7
DJ
17162002-02-10 Daniel Jacobowitz <drow@mvista.com>
1717
1718 * gdb.base/ending-run.exp: Guard "cont" test with
1719 gdb_skip_stdio_test.
1720
37225f62
JB
17212002-02-06 Jim Blandy <jimb@redhat.com>
1722
1723 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1724 from here...
1725 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1726 To here. Disable this test on non-HP platforms. Add big comment.
1727
fe6fdd96
MS
17282002-02-04 Michael Snyder <msnyder@redhat.com>
1729
1730 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1731 other than d10v and m32r.
1732
036fad3f
RE
17332002-02-02 Richard Earnshaw <rearnsha@arm.com>
1734
1735 * gdb.base/default.exp: Rewrite test patterns to reduce time
1736 taken to match them.
1737
7148ab62
DJ
17382002-01-30 Daniel Jacobowitz <drow@mvista.com>
1739
1740 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1741 Allow a start function above main.
1742 * gdb.threads/linux-dp.exp: Fix copyright date.
1743
396cc255
DJ
17442002-01-30 Daniel Jacobowitz <drow@mvista.com>
1745
1746 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1747 (check_philosopher_stack): Check for manager thread before checking
1748 for a just-starting thread.
1749
f038d31b
DJ
17502002-01-30 Daniel Jacobowitz <drow@mvista.com>
1751
1752 From Neil Booth <neil@daikokuya.demon.co.uk>:
1753 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1754 warnings.
1755
b3ff9d9a
FF
17562002-01-21 Fred Fish <fnf@redhat.com>
1757
1758 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1759 not caller.
1760
39ad761d
JB
17612002-01-21 Jim Blandy <jimb@redhat.com>
1762
1763 * gdb.base/reread.exp: Check that GDB properly re-reads the
1764 executable file when it changes while no inferior is running.
1765
aaf320fa
FF
17662002-01-21 Fred Fish <fnf@redhat.com>
1767
1768 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1769 optionally accept the "shlib events" variation.
1770
808a31f5
JB
17712002-01-21 Jim Blandy <jimb@redhat.com>
1772
1773 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1774 call `fflush' after every `printf', so that the output is produced
1775 at predictable points, regardless of whatever buffering does (or
1776 doesn't) take place.
1777 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1778 at different points.
1779
4420d5e2
DJ
17802002-01-20 Daniel Jacobowitz <drow@mvista.com>
1781
1782 * gdb.c++/inherit.exp: Update copyright years.
1783 * gdb.c++/method.exp: Likewise.
1784
3e36a0f4
DJ
17852002-01-20 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1788 artificial methods/arguments.
1789 * gdb.c++/derivation.exp: Likewise.
1790 * gdb.c++/inherit.exp: Likewise.
1791 * gdb.c++/method.exp: Likewise.
1792 * gdb.c++/virtfunc.exp: Likewise.
1793
b4ceaee6
AC
17942002-01-18 Andrew Cagney <ac131313@redhat.com>
1795
1796 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1797 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1798 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1799 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1800 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1801 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1802
ecace851
JB
18032002-01-17 Jim Blandy <jimb@redhat.com>
1804
1805 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1806 anchoring the pattern matching the entry point symbol's name.
1807
375fc983
AC
18082002-01-17 Andrew Cagney <ac131313@redhat.com>
1809
1810 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1811 continue/quit query. Update copyright.
1812
fe6fdd96
MS
18132002-01-14 Michael Snyder <msnyder@redhat.com>
1814
1815 * gdb.base/gcore.exp: Remove extra debugging output.
1816
e017c81f
DJ
18172002-01-13 Daniel Jacobowitz <drow@mvista.com>
1818
1819 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1820 for slightly dubious v2 mangled string.
1821
37ab3bf8
DJ
18222002-01-13 Daniel Jacobowitz <drow@mvista.com>
1823
1824 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1825
1bc05c3a 18262002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1827
1bc05c3a 1828 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1829
1bc05c3a
JM
1830 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1831 constructors.
1832 * gdb.c++/derivation.exp: Likewise.
1833 * gdb.c++/templates.exp: Likewise.
1834 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1835
1bc05c3a
JM
18362002-01-10 Michael Snyder <msnyder@redhat.com>
1837
1838 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1839
a911c360
MS
18402002-01-08 Michael Snyder <msnyder@redhat.com>
1841
1842 * gdb.base/gcore.exp: New test for generate-core-file command.
1843 * gdb.base/gcore.c: Testcase for above.
1844 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1845
ea2119ec
JM
18462002-01-08 Jason Merrill <jason@redhat.com>
1847
1848 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1849
68203136
FF
18502002-01-07 Fred Fish <fnf@redhat.com>
1851
1852 * gdb.c++/overload.exp: Remove unconditional xfails for:
1853 print foo_instance1.overloadargs(1)
1854 print foo_instance1.overloadargs(1, 2)
1855 print foo_instance1.overloadargs(1, 2, 3)
1856 print foo_instance1.overloadargs(1, 2, 3, 4)
1857 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1858 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1859 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1860 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1861 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1862 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1863 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1864 print foo_instance1.overload1arg()
1865 print foo_instance1.overload1arg((char)arg2)
1866 print foo_instance1.overload1arg((signed char)arg3)
1867 print foo_instance1.overload1arg((unsigned char)arg4)
1868 print foo_instance1.overload1arg((int)arg7)
1869 print foo_instance1.overload1arg((unsigned int)arg8)
1870 print foo_instance1.overload1arg((float)arg11)
1871 print foo_instance1.overload1arg((double)arg12)
1872
21b9b5b1
MS
18732002-01-07 Michael Snyder <msnyder@redhat.com>
1874
1875 * gdb.base/huge.exp: New test. Print a very large target data object.
1876 (skip_huge_test): New test variable. Define if you want to skip this
1877 test. The test reads an 8 megabyte data object from the target, so it
1878 might be very time consuming on remote targets with a slow connection.
1879 * gdb.base/huge.c: New file. Test case for above.
1880
725f922e
FF
18812002-01-07 Fred Fish <fnf@redhat.com>
1882
1883 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1884 g_instance.bfoo, and g_instance.cfoo.
1885
634d57ec
JL
1886Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1887
f286b2c3
JL
1888 * gdb.base/break.c (multi_line_if_conditional): New function.
1889 (multi_ilne_while_conditional): Likewise.
1890 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1891 IF or WHILE condition puts the breakpoint at the start of
1892 the condition.
1893
634d57ec
JL
1894 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1895 hppa*-*-hpux* expected failure.
1896 * gdb.base/structs.exp (do_function_calls): Similarly.
1897
1898 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1899 watchpoints.
1900
9fbfe2dc
AC
19012002-01-06 Andrew Cagney <ac131313@redhat.com>
1902
1903 Fix PR gdb/66.
1904 * gdb.base/structs.exp: Replace skip for a29k with skip for
1905 gdb,cannot_call_functions.
1906 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1907 * gdb.base/callfuncs.exp: Ditto.
1908 * gdb.base/call-rt-st.exp: Ditto.
1909 * gdb.base/call-strs.exp: Ditto.
1910 * gdb.base/callfwmall.exp: Ditto.
1911 * gdb.base/scope.exp: Obsolete xfail a29k.
1912 * gdb.c++/misc.exp: Ditto.
1913 * gdb.c++/cplusfuncs.exp: Ditto.
1914 * gdb.base/ptype.exp: Ditto.
1915 * gdb.base/printcmds.exp: Ditto.
1916 * gdb.base/opaque.exp: Ditto.
1917 * gdb.base/list.exp: Ditto.
1918 * gdb.base/funcargs.exp: Ditto.
1919 * gdb.base/default.exp: Ditto.
1920
8ddad156
MS
19212002-01-04 Michael Snyder <msnyder@redhat.com>
1922
ca4976a6 1923 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1924 * gdb.base/maint.exp: Add tests for maint info sections options.
1925
1b074332
JL
1926Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1927
1928 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1929
7d159115
CV
19302001-12-20 Corinna Vinschen <vinschen@redhat.com>
1931
1932 * gdb.asm/arm.inc: New file.
1933 * gdb.asm/asm-source.exp: Add arm targets.
1934 * gdb.asm/configure.in: Ditto.
1935 * gdb.asm/configure: Recreated from configure.in.
1936
8fb87725
JL
1937Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1938
afabe08c
JL
1939 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1940 with HP's compiler.
1941 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1942 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1943 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1944 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1945
1946 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1947 either HP's compilers or GCC.
1948
db521deb
JL
1949 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1950 a SIGBUS or SIGSEGV.
1951
1952 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1953
1954 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1955 can be compiled with either HP's compiler or GCC.
1956
cfa88ab7
JL
1957 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1958 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1959 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1960
ca344dff
JL
1961 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1962 to match current gdb output. Update due to using auto-solib-limit
1963 for limiting instead of overloading auto-solib-add.
1964 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1965 test program.
1966
3f3c6e55 1967 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1968 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1969 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1970 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1971 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1972 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1973 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1974 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1975 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1976 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1977 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1978 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1979 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1980
8fb87725
JL
1981 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1982 a SIGTRAP to the inferior.
1983
cf599fa7
CV
19842001-12-19 Corinna Vinschen <vinschen@redhat.com>
1985
1986 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1987 Substitute call to target_link by call to gdb_compile.
1988
2cd045cd
JL
1989Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1990
1991 * gdb.base/break.exp: Fix HP specific search string when testing
1992 backtracing in a called function.
1993
1994 * gdb.base/constvars.exp: Only set lang to C++ if we're
1995 compiling the test with HP's compilers.
1996 * gdb.base/volatile.exp: Similarly.
1997
99ebe9ac
JB
19982001-12-19 Jim Blandy <jimb@redhat.com>
1999
2000 * gdb.base/printcmds.exp: Expect the null character to be printed
2001 as '\0', and the '\013' to be printed as '\v'.
2002 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2003 * gdb.base/setvar.exp: Same.
2004
b9891b29
JB
20052001-12-17 Jim Blandy <jimb@redhat.com>
2006
0eba65ab
JB
2007 * gdb.base/completion.exp: Rather than completing very long
2008 filenames, which can make the readline library produce output we
2009 don't recognize, cd to the directory first, and then complete
2010 using nice, short relative paths.
2011
6970b5b1
JB
2012 * gdb.base/completion.exp: On some systems, there is, in fact, a
2013 variable named `b' in scope, since GDB treats all static
2014 variables as being in scope. So use `no_var_named_this'
2015 instead of `b'.
2016
b9891b29
JB
2017 * gdb.base/corefile.exp: Recognize the message saying that GDB
2018 can't find the core file's registers as a failure.
2019
e6ccd35f
JSC
20202001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2021
2022 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2023 test expect string more specific.
2024
105ba819
CV
20252001-12-13 Corinna Vinschen <vinschen@redhat.com>
2026
2027 * gdb.asm/asm-source.exp: Add support for xstormy16.
2028 * gdb.asm/configure.in: Ditto.
2029 * gdb.asm/configure: Rebuild.
2030 * gdb.asm/xstormy16.inc: New file.
2031
e9e79dd9
FF
20322001-12-10 Fred Fish <fnf@redhat.com>
2033
2034 * gdb.base/maint.exp: Update to match changes in type dumping code.
2035
347dc97d
JB
20362001-12-10 Jim Blandy <jimb@redhat.com>
2037
2038 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2039 matching the entry point symbol's name at the beginning of the
2040 line.
2041
5178b9d6
DJ
20422001-12-07 Daniel Jacobowitz <drow@mvista.com>
2043
2044 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2045 gdb.c++/inherit.exp, gdb.c++/method.exp,
2046 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2047 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2048 and class layout support.
2049
af890c52
DJ
20502001-12-07 Daniel Jacobowitz <drow@mvista.com>
2051
2052 * gdb.c++/classes.exp: Add test for static member function.
2053 * gdb.c++/misc.cc: Add class with static member function.
2054
7a345fb3
JB
20552001-12-07 Jim Blandy <jimb@redhat.com>
2056
f2e54a80 2057 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2058 those tests as `unsupported'.
2059 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2060 Rewrite subsequent tests to use it.
2061
2062 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2063 those tests as `unsupported'.
2064 * gdb.base/structs.exp (call_struct_func): New function.
2065 (do_function_calls): Use call_struct_func to call the functions
2066 returning structs.
2067
0bc69509
JB
2068 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2069 whether functions are prototyped or not, so we can't possibly pass
2070 arguments to t_float_values2 properly.
2071
7a345fb3
JB
2072 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2073 value of `timeout' for targets other than the mips*tx39-*.
2074
edb6ede1
MS
20752001-12-06 Michael Snyder <msnyder@redhat.com>
2076
2077 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2078 and detect whether the start symbol has a leading underscore.
2079
2d842f13
JB
20802001-12-04 Jim Blandy <jimb@redhat.com>
2081
2082 * gdb.base/completion.exp: Clarify indentation.
2083
68550daf
JB
20842001-12-03 Jim Blandy <jimb@redhat.com>
2085
2086 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2087 variables on the S/390, not `.word'.
2088
cd5195a8
JB
20892001-11-30 Jim Blandy <jimb@redhat.com>
2090
2091 Add assembly-source tests for s390-ibm-linux.
2092 * gdb.asm/s390.inc: New file.
2093 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2094 the S/390 architecture.
2095 * gdb.asm/configure: Regenerated.
2096
ca9efc90
MS
20972001-11-30 Michael Snyder <msnyder@redhat.com>
2098
2099 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2100 next, info source, info sources, info line, global and static
2101 variables, and static functions.
2102 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2103 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2104 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2105 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2106 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2107 (gdbasm_leave): Restore frame pointer.
2108 (gdbasm_startup): Copy stack set-up from crt0.S.
2109
d0e66976
FN
21102001-11-26 Fernando Nasser <fnasser@redhat.com>
2111
2112 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2113 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2114 to a local (non-static) variable. Copy tstruct.a to a static buffer
2115 and return a pointer to that buffer.
2116 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2117
e2334072
MK
21182001-11-24 Mark Kettenis <kettenis@gnu.org>
2119
2120 * gdb.asm/configure.in: Fix recognition of ix86 target.
2121 * gdb.asm/configure: Regenerate.
2122
756caa3d
MS
21232001-11-21 Michael Snyder <msnyder@redhat.com>
2124
2125 * gdb.asm/sparc.inc: New file.
2126 * gdb.asm/asm-source.exp: Recognize sparc target.
2127 * gdb.asm/configure.in: Recognize sparc target.
2128 * gdb.asm/configure: Regenerate.
2129
9a4d72d5
MS
21302001-11-21 Michael Snyder <msnyder@redhat.com>
2131
2132 * gdb.asm/m32r.inc: New file.
2133 * gdb.asm/asm-source.exp: Recognize m32r target.
2134 * gdb.asm/configure.in: Recognize m32r target.
2135 * gdb.asm/configure: Regenerate.
2136
a773d1cd
MS
21372001-11-20 Michael Snyder <msnyder@redhat.com>
2138
017ac23d
MS
2139 * gdb.asm/i386.inc: New file.
2140 * gdb.asm/asm-source.exp: Recognize ix86 target.
2141 * gdb.asm/configure.in: Recognize ix86 target.
2142 * gdb.asm/configure: Regenerate.
2143
a773d1cd
MS
2144 * gdb.c++/namespace.exp: Fix quotes in output messages.
2145
bb632afb
MS
21462001-11-14 Michael Snyder <msnyder@redhat.com>
2147
25d559ca 2148 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2149 qualifier in a type cast expression, to designate an address
2150 in the instruction space (Harvard architecture).
2151
4749e309
MS
21522001-11-13 Michael Snyder <msnyder@redhat.com>
2153
2154 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2155 Tests for expressions using 'const' and 'volatile'.
2156
25050984
CV
21572001-11-13 Corinna Vinschen <vinschen@redhat.com>
2158
2159 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2160
1902c51f
DJ
21612001-11-12 Daniel Jacobowitz <drow@mvista.com>
2162
2163 * lib/mi-support.exp (mi_run_to_helper): Move comments
2164 outside of gdb_expect.
2165
dcf95b47
DJ
21662001-11-11 Daniel Jacobowitz <drow@mvista.com>
2167
2168 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2169 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2170 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2171 mi0_run_to): New functions.
2172 * gdb.mi/mi-simplerun.exp: Use them.
2173 * gdb.mi/mi0-simplerun.exp: Likewise.
2174 * gdb.mi/mi-var-cmd.exp: Likewise.
2175 * gdb.mi/mi0-var-cmd.exp: Likewise.
2176
45b074e1
AC
21772001-11-10 Andrew Cagney <ac131313@redhat.com>
2178
2179 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2180 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2181
bf50d346
AC
21822001-11-09 Andrew Cagney <ac131313@redhat.com>
2183
2184 * gdb.base/restore.exp: Include $expected value in restored test
2185 message.
2186
9383332c
AC
21872001-11-09 Andrew Cagney <ac131313@redhat.com>
2188
2189 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2190 implemented.
2191
db62520a
MS
21922001-11-08 Michael Snyder <msnyder@redhat.com>
2193
2194 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2195 Add pass/fail message for stop at breakpoint in call dummy function.
2196
b5703437
MS
21972001-11-07 Michael Snyder <msnyder@redhat.com>
2198
760f6330
MS
2199 * gdb.c++/templates.exp (test_template_breakpoints):
2200 If we get an overload menu, but it does not match what
2201 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2202 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2203 making the whitespace optional. Argument for "new" may be
2204 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2205 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2206 making the whitespace optional. Also replace "(void) with
2207 "((void|)), making the keyword "void" optional.
63f50499
MS
2208 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2209 making the whitespace optional. Also replace "(void) with
2210 "((void|)), making the keyword "void" optional.
3bf40917
MS
2211 * gdb.base/callfuncs.c (t_float_values): This function must
2212 _not_ be prototyped, and the following function (t_float_values2)
2213 must be prototyped (if the compiler supports it), so that GDB
2214 can be tested against both cases. Usually one case involves
2215 promotion of float to double, while the other does not.
2216 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2217 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2218 includes a stack frame for "start".
2219
c8ab4e6d
JB
22202001-11-05 Jim Blandy <jimb@redhat.com>
2221
2222 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2223 pointers are 32 bits long, and that offsets of relocs are always
2224 stored in the data (REL-style), and not in the reloc entry itself
2225 (RELA-style).
2226 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2227 stabs.
2228
3f08ced9
MS
22292001-11-01 Michael Snyder <msnyder@redhat.com>
2230
2231 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2232 and regular expression operators by using quoting.
2233
cbfa24cd
MS
22342001-10-31 Michael Snyder <msnyder@redhat.com>
2235
2236 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2237 depending on what the symbol table contains.
2238 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2239 the output of the ptype command. Similarly, accept both "const &"
2240 and "const&".
2241
aaa68313
CV
22422001-10-31 Corinna Vinschen <vinschen@redhat.com>
2243
2244 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2245 symbol `STORAGE' to allow to choose the storage class of
2246 the local datastructures.
2247 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2248 compiler directive.
2249
91740388
MS
22502001-10-30 Michael Snyder <msnyder@redhat.com>
2251
2252 * gdb.base/jump.exp: Allow it to run for all targets.
2253
1b7c05e7
CV
22542001-10-29 Corinna Vinschen <vinschen@redhat.com>
2255
2256 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2257 with new double_array size.
2258 (main): Change storage class of all local variables to static.
2259 Reduce size of double_array to 9.
2260 * gdb.base/call-ar-st.exp: Increase timeout value.
2261 Change expected output for double array to match new size in
2262 call-ar-st.c.
2263
36a22261
CV
22642001-10-29 Corinna Vinschen <vinschen@redhat.com>
2265
2266 * gdb.base/ending-run.exp: Create identical output when passing
2267 `step to end of run' case. Add regular expression branch satisfying
2268 Stormy16 target.
2269
92b8ae91
MK
22702001-10-28 Mark Kettenis <kettenis@gnu.org>
2271
2272 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2273 that we catch the expected failure under Linux/x86.
2274
cb135b83
OF
22752001-10-29 Orjan Friberg <orjanf@axis.com>
2276
2277 * gdb.base/setvar.exp: Escape curly braces.
2278 * gdb.stabs/weird.exp: Ditto.
2279
6884aa54
DJ
22802001-10-27 Daniel Jacobowitz <drow@mvista.com>
2281
2282 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2283 * gdm.mi/mi0-hack-cli.exp: Likewise.
2284
0398c9aa
AC
22852001-10-25 Andrew Cagney <ac131313@redhat.com>
2286
2287 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2288 messages.
2289
d20bf2e8
AC
22902001-10-21 Andrew Cagney <ac131313@redhat.com>
2291
2292 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2293 checking MI enabled.
2294
03dd63aa
CV
22952001-10-09 Corinna Vinschen <vinschen@redhat.com>
2296
2297 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2298
1d9d99f3
FCE
22992001-10-04 Frank Ch. Eigler <fche@redhat.com>
2300
2301 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2302 if gdb child process crashes, just signal an error.
2303
838ae6c4
JB
23042001-10-02 Jim Blandy <jimb@redhat.com>
2305
2306 * lib/gdb.exp (test_xfail_format): Simplify.
2307
2308 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2309 front of the variable name `format'. Simplify `if'.
2310
8f0cbc1c
DJ
23112001-10-01 Daniel Jacobowitz <drow@mvista.com>
2312
2313 * gdb.threads/pthreads.exp: Wait for output and delay
2314 before sending ^C.
2315
1f08dafd
DJ
23162001-10-01 Daniel Jacobowitz <drow@mvista.com>
2317
2318 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2319 some incorrect output instead of timing out.
2320 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2321
674f90ff
CV
23222001-09-28 Corinna Vinschen <vinschen@redhat.com>
2323
2324 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2325 check to allow additional `int'.
2326
9b284272
DJ
23272001-09-27 Daniel Jacobowitz <drow@mvista.com>
2328
2329 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2330 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2331
b55a4771
MS
23322001-09-27 Michael Snyder <msnyder@redhat.com>
2333
2334 * lib/gdb.exp (test_debug_format): New proc.
2335 (setup_xfail_format): Use new proc test_debug_format.
2336 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2337 proc; use new service proc test_debug_format.
2338 Replace all other "gcc_compiled" tests with this test.
2339 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2340 proc; use new service proc test_debug_format.
2341 Replace all other "gcc_compiled" tests with this test.
2342
23432001-09-27 Michael Snyder <msnyder@redhat.com>
2344
2345 * gdb.base/cvexpr.exp: New file.
2346 * gdb.base/cvexpr.c: New file
2347 Test for expressions using const and volatile keywords.
2348
4e6667ac
CV
23492001-09-26 Corinna Vinschen <vinschen@redhat.com>
2350
2351 * gdb.base/constvars.exp: Check for different orders of keywords
2352 and additional "int" strings in output.
2353
4f337972
AC
23542001-09-22 Andrew Cagney <ac131313@redhat.com>
2355
2356 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2357 responses from "help maint".
2358
2015650d
FCE
23592001-09-19 Frank Ch. Eigler <fche@redhat.com>
2360
2361 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2362 to localhost:NNN instead of :NNN, in case Xvfb is listening
2363 only on TCP.
2364
f3bcedc1
CV
23652001-09-19 Corinna Vinschen <vinschen@redhat.com>
2366
2367 * gdb.base/recurse.exp: When checking leaving the watchpoint
2368 scope, recognize when gdb is in function's epilogue and pass.
2369
6b819c92
KS
23702001-09-18 Keith Seitz <keiths@redhat.com>
2371
2372 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2373 support for running tests against sid targets.
2374 (gdbtk_done): Ditto.
2375
a10c9419
CV
23762001-09-18 Corinna Vinschen <vinschen@redhat.com>
2377
2378 * gdb.base/ending-run.c (main): Set stdout buffersize
2379 to the same reasonable value for any target.
2380 * gdb.base/ending-run.exp: Add a regular expression
2381 to make testsuite happy on Sanyo Stormy16 target.
2382
739d0d99
CV
23832001-09-17 Corinna Vinschen <vinschen@redhat.com>
2384
2385 * gdb.base/display.c (do_loops): Add float variable `f'.
2386 Increment f in loop.
2387 * gdb.base/display.exp: Increment timeout by 60 seconds.
2388 Change float display test to use variable `f'.
2389
1b8947f0
JB
23902001-09-17 Jim Blandy <jimb@redhat.com>
2391
2392 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2393 overflowing the limited breakpoint tables on some ROM monitors
2394 (like the ROM68K).
2395
9890ac81
FCE
23962001-09-15 Frank Ch. Eigler <fche@redhat.com>
2397
2398 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2399 the "-ac" (disable access control) flag.
2400
6db765ea
JH
24012001-08-30 Jeff Holcomb <jeffh@redhat.com>
2402
2403 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2404 ints.
2405
4c32cc04
KS
24062001-08-30 Keith Seitz <keiths@redhat.com>
2407
2408 * lib/gdb.exp: Move all insight-related functionality into
2409 separate file.
2410 * lib/insight-support.exp: New file.
2411
8d6e6f81
FCE
24122001-08-29 Frank Ch. Eigler <fche@redhat.com>
2413
2414 * config/sid.exp (sid_start): Never set sid verbosity; disable
2415 expect_background {} that consumed its stdout; tolerate </dev/null.
2416 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2417
6a90e1d0
AC
24182001-08-18 Andrew Cagney <ac131313@redhat.com>
2419
2420 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2421 CLI jump command to start it.
2422 (mi_run_to_main): Fail immediatly when unexpected output.
2423
1759b3c3
AC
24242001-08-18 Andrew Cagney <ac131313@redhat.com>
2425
2426 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2427 beginning of function. Fix PR gdb/191.
2428
61d11d80
FCE
24292001-08-16 Frank Ch. Eigler <fche@redhat.com>
2430
2431 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2432 what to force sid endianness to.
2433
942a4df2
KS
24342001-08-15 Keith Seitz <keiths@redhat.com>
2435
2436 * lib/gdb.exp (gdbtk_start): Don't set environment
2437 variables for TCL_LIBRARY and friends. Insight will
2438 now figure these out for itself.
2439
0521c418
MS
24402001-08-02 Michael Snyder <msnyder@redhat.com>
2441
2442 * gdb.base/completion.exp: Remove the symbol "a64l" from
2443 the expect string; this is target-specific, and not related
2444 to what is being tested.
2445
74a9a58a
DB
24462001-08-02 Dave Brolley <brolley@redhat.com>
2447
2448 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2449
c70819fa
MS
24502001-07-25 Michael Snyder <msnyder@redhat.com>
2451
c2b8fa57
MS
2452 * gdb.base/consecutive.exp: New file. Test stepping over
2453 breakpoints on consecutive instructions.
2454 * gdb.base/consecutive.c: New file.
2455
c70819fa
MS
2456 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2457 curly braces in regular expressions.
2458
2b1a1355
MS
24592001-07-25 Michael Snyder <msnyder@redhat.com>
2460
2461 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2462 legitimate output from stepping out of main.
2463
413eca6f
KS
24642001-07-22 Keith Seitz <keiths@redhat.com>
2465
2466 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2467 the empty string, do not run the tests.
2468
7e5a9322
SC
24692001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2470
2471 * gdb.base/long_long.exp: Detect size of pointer. Take into
2472 account 2-byte pointers when testing for p/a results.
2473
de58f10f
SC
24742001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2475
2476 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2477 and defined to 1K for m68hc11.
2478 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2479 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2480 (sizeof_random_data): New variable to tell the size of the data table;
2481 don't test past this size; always run to main.
2482
d6f5fea1
SC
24832001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2484
2485 * gdb.base/return2.exp: return of long long and double fails for
2486 68HC11; don't execute these tests on that platform.
2487 * gdb.base/return.exp: Return of a double fails for 68hc11.
2488
c477543d
SC
24892001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2490
2491 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2492 tests that print a float.
2493 * call-rt-st.exp: Likewise.
2494
63cf1c79
MK
24952001-07-12 Mark Kettenis <kettenis@gnu.org>
2496
2497 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2498 running this test on Linux.
2499
112f9ab5
MC
25002001-06-24 Michael Chastain <chastain@redhat.com>
2501
2502 * gdb.base/arithmet.exp: Remove some tests to make all test names
2503 unique.
2504
4970cb0f
MS
25052001-07-03 Michael Snyder <msnyder@redhat.com>
2506
2507 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2508 the output of the ptype command.
2509
d85da69f
MS
25102001-07-02 Michael Snyder <msnyder@redhat.com>
2511
4c8a82de
MS
2512 * gdb.base/completion.exp: Don't assume that break.c is the only
2513 source file that may contain functions named "marker".
d85da69f
MS
2514 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2515
8afc772b
AC
25162001-06-28 Andrew Cagney <ac131313@redhat.com>
2517
2518 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2519 of files to delete.
2520
2521 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2522 * gdb.disasm/h8300s.exp: New file.
2523 gdb.disasm/h8300s.s: Likewise.
2524
cff22675
AC
25252001-06-27 Andrew Cagney <ac131313@redhat.com>
2526
2527 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2528 empty breakpoint tables.
2529
68c81b54
AC
25302001-06-25 Andrew Cagney <ac131313@redhat.com>
2531
2532 * lib/mi-support.exp: Update args=... part of stop-reason
2533 patterns. Accept either a list or a tuple.
2534
2dd62704
AC
25352001-06-23 Andrew Cagney <ac131313@redhat.com>
2536
2537 * lib/mi-support.exp: Remove local emacs variable defining
2538 change-log-default-name.
2539
b4127474
MC
25402001-06-22 Michael Chastain <chastain@redhat.com>
2541
2542 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2543 This is operationally compatible with the previous version.
2544
8dbfb380
JB
25452001-06-13 Jim Blandy <jimb@redhat.com>
2546
2547 * lib/gdb.exp (gdb_test): Doc fix.
2548
f2d8c86d
MC
25492001-06-10 Michael Chastain <chastain@redhat.com>
2550
2551 * gdb.base/exprs.exp: Remove a duplicate test.
2552
81564d34
JB
25532001-06-06 Jim Blandy <jimb@redhat.com>
2554
2555 * gdb.base/return2.exp (main): Use values to test float and double
2556 returns that are not NaN's, to avoid being confused by IEEE
2557 comparison rules.
2558
da55addb
MS
25592001-06-04 Michael Snyder <msnyder@redhat.com>
2560
2561 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2562 non-zero if control_c fails. Terminate the test on failure,
2563 rather than wait for 12 more tests to time out.
2564
42c65987
JB
25652001-06-06 Jim Blandy <jimb@redhat.com>
2566
b18bced9
JB
2567 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2568 Don't forget to match the GDB prompt.
2569
42c65987
JB
2570 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2571
5b41e5f0
JB
25722001-06-04 Jim Blandy <jimb@redhat.com>
2573
2574 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2575 command.
2576
015e046f
KB
25772001-05-31 Kevin Buettner <kevinb@redhat.com>
2578
2579 * gdb.base/annota1.exp (info break): Match four or more spaces
2580 after "Address".
2581
fb1ffbbe
MC
25822001-05-31 Michael Chastain <chastain@redhat.com>
2583
2584 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2585 (dm_type_int_star): Likewise.
2586 (dm_type_long_star): Likewise.
2587 (dm_type_void_star): Likewise.
2588
5ea2a32c
KB
25892001-05-29 Kevin Buettner <kevinb@redhat.com>
2590
2591 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2592 to a known value in order to get consistent results regardless
2593 of the setting of INPUTRC or the presence or contents of .inputrc.
2594
ae23c492
MS
25952001-05-24 Michael Snyder <msnyder@redhat.com>
2596
ac55707e
MS
2597 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2598 Don't require that the main thread and the manager thread are the
2599 first in the list.
2600
ae23c492
MS
2601 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2602 debugging. If test fails, issue an "unsupported" not a "fail".
2603
400071f1
JB
26042001-05-24 Jim Blandy <jimb@redhat.com>
2605
2606 Don't assume that short is shorter than int.
2607 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2608 assume that shorts are smaller than ints. On a 16-bit machine,
2609 this isn't true.
2610 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2611 an int, is not equal to ~0 stored in an unsigned char. This tests
2612 the same thing that the previous test meant to, but works on
2613 16-bit machines, too.
2614 ("print unsigned char != (~0)"): Same test, complemented.
2615
0816a3e5
MS
26162001-05-24 Michael Snyder <msnyder@redhat.com>
2617
2618 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2619 test for (full_coverage == 0). This makes the test run faster,
2620 and prevents dejagnu getting out of step.
2621
f6dc23a9
KB
26222001-05-23 Kevin Buettner <kevinb@redhat.com>
2623
2624 * gdb.base/finish.exp (finish_void): Revise pattern for
2625 stopping on the call statement to not permit stopping at
2626 the start of the instructions comprising the call sequence.
2627
7dbd117d
MC
26282001-05-19 Michael Chastain <chastain@redhat.com>
2629
2630 * gdb.base/callfuncs.exp: Make all test names unique.
2631 * gdb.base/commands.exp: Make all test names unique.
2632 * gdb.base/condbreak.exp: Make all test names unique.
2633 * gdb.base/dbx.exp: Make all test names unique.
2634 * gdb.base/default.exp: Make all test names unique.
2635 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2636 and TIMEOUT messages to their corresponding PASS message.
2637 * gdb.base/ending-run.exp: Make all test names unique.
2638 * gdb.base/long_long.exp: Remove duplicate test.
2639
6b0b0a9e
KB
26402001-05-21 Kevin Buettner <kevinb@redhat.com>
2641
2642 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2643 stop on the call statement as well as the statement after the
2644 call.
2645
2caa35cb
MS
26462001-05-21 Michael Snyder <msnyder@redhat.com>
2647
2648 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2649
40713331
EZ
26502001-05-10 Elena Zannoni <ezannoni@redhat.com>
2651
2652 * gdb.base/completion.exp: Revamp test. Make it execute on all
2653 platforms.
2654
c2c1be8d
EZ
26552001-05-10 Elena Zannoni <ezannoni@redhat.com>
2656
2c9cd303
EZ
2657 * config/gdbserver.exp (gdb_load): Handle the case
2658 in which the arguments to gdbserver are given in the
2659 baseboard configuration file.
2660 Also handle the case in which the server needs to do a
2661 load.
2662
9671de48
KS
26632001-05-07 Keith Seitz <keiths@cygnus.com>
2664
2665 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2666 set up the display for testing.
2667 (gdbtk_start): Convert all paths to paths that tcl will like.
2668 Export target information to environment.
2669 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2670 necessary.
2671 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2672 (to_tcl_path): New proc to convert a given pathname into
2673 a path acceptible as an argument to a tcl command.
2674 (_gdbtk_export_target_info): New proc to export target info
2675 into the environment for gdbtk testing.
2676 (gdbtk_done): New proc to signal end-of-test.
2677
5a360f47
JB
26782001-05-06 Jim Blandy <jimb@redhat.com>
2679
2680 * restore.c: Make the code of caller0 correspond to its comment.
2681
66c756c6
MS
26822001-05-03 Michael Snyder <msnyder@redhat.com>
2683
2684 * config/sid.exp (gdb_target_sid): Check for error messages.
2685 On error or timeout, don't make expect exit (which will terminate
2686 all subsequent tests); instead just make gdb exit.
2687 (gdb_load): Check for error messages. On error or timeout,
2688 return a negative value.
2689
a966fde5
JB
26902001-04-24 Jim Blandy <jimb@redhat.com>
2691
851c18e0
JB
2692 * gdb.c++/templates.exp: If we see the prompt for the overload
2693 list, but we haven't recognized any of the longer patterns,
2694 arrange for this test to fail, not hang.
2695
a966fde5
JB
2696 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2697 variations.
2698
db144853
MC
26992001-04-22 Michael Chastain <chastain@redhat.com>
2700
2701 * gdb.c++/local.exp: Use the 'runto' library function.
2702 * gdb.c++/namespace.exp: Likewise.
2703 * gdb.c++/overload.exp: Likewise.
2704
3207ec21
KB
27052001-03-26 Kevin Buettner <kevinb@redhat.com>
2706
2707 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2708 * gdb.base/step-line.exp: New file. Test step/next in presence of
2709 #line directives.
2710 * gdb.base/step-line.c: New file. Test program for the above.
2711 * gdb.base/step-line.inp: New file. We pretend that this file has
2712 been transformed by some other tool into step-line.c.
2713
13b57657
JB
27142001-03-21 Jim Blandy <jimb@redhat.com>
2715
2716 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2717 unmangled operator names.
2718
754cbe1c
JB
27192001-03-20 Jim Blandy <jimb@redhat.com>
2720
2721 * gdb.threads/linux-dp.exp: Recognize an additional message
2722 generated by GDB when it doesn't understand how to debug threads
2723 on the target system.
2724
177495c9
AC
27252001-03-19 Andrew Cagney <ac131313@redhat.com>
2726
2727 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2728
f266096b
MC
27292001-03-12 Michael Chastain <chastain@redhat.com>
2730
2731 * gdb.c++/derivation.exp: Use the 'runto' library function.
2732
cac3c2ff
MC
27332001-03-12 Michael Chastain <chastain@redhat.com>
2734
2735 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2736
b6c11a24
MC
27372001-02-24 Michael Chastain <chastain@redhat.com>
2738
2739 * gdb.c++/ref-types.exp: Change handwritten code to library
2740 function 'runto'.
2741
6bae5bce
OF
27422001-03-16 Orjan Friberg <orjanf@axis.com>
2743
2744 * gdb.base/signals.exp: Set count to 0 explicitly.
2745
0015fd9a
MS
27462001-03-15 Mark Salter <msalter@redhat.com>
2747
2748 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2749 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2750 (gdb_load): Add support for additional target_info: gdb_download_size
2751 and gdb_load_timeout.
0015fd9a 2752
fc33412a
DT
2753Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2754
2755 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2756 file -- to prevent failing when the compile fails but we have no
2757 intention of running the tests anyway.
2758
2759 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2760 tests if set.
2761
2762 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2763 integers.
2764
2765 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2766 * gdb.c++/namespace.exp: Ditto.
2767
115f06de
OF
27682001-03-07 Orjan Friberg <orjanf@axis.com>
2769
2770 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2771 * gdb.base/pointers.exp: Relax pattern match of decimals.
2772
b6ba6518
KB
27732001-03-06 Kevin Buettner <kevinb@redhat.com>
2774
2775 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2776 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2777 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2778 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2779 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2780 config/sh.exp, config/sid.exp, config/slite.exp,
2781 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2782 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2783 config/vxworks.exp, config/vxworks29k.exp,
2784 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2785 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2786 gdb.base/arithmet.exp, gdb.base/assign.exp,
2787 gdb.base/async.exp, gdb.base/attach.exp,
2788 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2789 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2790 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2791 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2792 gdb.base/commands.exp, gdb.base/completion.exp,
2793 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2794 gdb.base/constvars.exp, gdb.base/corefile.exp,
2795 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2796 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2797 gdb.base/ending-run.exp, gdb.base/environ.exp,
2798 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2799 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2800 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2801 gdb.base/funcargs.exp, gdb.base/help.exp,
2802 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2803 gdb.base/logical.exp, gdb.base/long_long.exp,
2804 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2805 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2806 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2807 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2808 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2809 gdb.base/regs.exp, gdb.base/relational.exp,
2810 gdb.base/remote.exp, gdb.base/reread.exp,
2811 gdb.base/restore.exp, gdb.base/return2.exp,
2812 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2813 gdb.base/selftest.exp, gdb.base/setshow.exp,
2814 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2815 gdb.base/sigall.exp, gdb.base/signals.exp,
2816 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2817 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2818 gdb.base/step-test.exp, gdb.base/structs.c,
2819 gdb.base/structs.exp, gdb.base/structs2.exp,
2820 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2821 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2822 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2823 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2824 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2825 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2826 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2827 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2828 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2829 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2830 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2831 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2832 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2833 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2834 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2835 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2836 gdb.trace/circ.exp, gdb.trace/collection.exp,
2837 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2838 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2839 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2840 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2841 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2842 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2843 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2844 notices.
2845
dc96c6c7 28462001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2847
2848 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2849 first arg is int not float.
2850
dc96c6c7 28512001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2852
2853 * gdb.base/reread.exp: Unsupported for non-native targets;
2854 doesn't work for remote debugging.
2855
9b0c4aeb
FN
28562001-02-19 Fernando Nasser <fnasser@redhat.com>
2857
2858 From Drew Moseley <dmoseley@redhat.com>
2859 * gdb.base/ending-run.exp: Properly handle the BSP state when
2860 stepping past the end of main.
2861
02aa71d5
MC
28622001-02-19 John Moore <jmoore@redhat.com>
2863
2864 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2865 Converted HPUX fix for non-expected items following multiple
2866 step commands into general solution for all platforms.
2867
1fa449a4
MC
28682001-02-18 Michael Chastain <chastain@redhat.com>
2869
2870 * gdb.c++/classes.exp (do_tests): Change runto statements
2871 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2872 statements demangler agnostic.
2873 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2874 (gdb_virtfunc_restart): Likewise.
2875
b2f9ec70
MC
28762001-02-14 Michael Chastain <chastain@redhat.com>
2877
2878 * gdb.c++/inherit.exp (do_tests): Change runto statements
2879 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2880 statements demangler agnostic.
2881
cf74b8ca
AC
2882Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2883
2884 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2885 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2886 before calling common_routine 15 times'' tests.
2887
99f78f56
MC
28882001-02-11 Michael Chastain <chastain@redhat.com>
2889
2890 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2891 Helps the test script figure out which demangler is in use.
2892 (dm_type_foo_ref): Ditto.
2893 (dm_type_int_star): Ditto.
2894 (dm_type_long_star): Ditto.
2895 (dm_type_unsigned_int): Ditto.
2896 (dm_type_void): Ditto.
2897 (dm_type_void_star): Ditto.
99707966 2898 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2899 Probe the gdb demangler and set variables to accommodate
2900 formatting differences.
2901 (info_func_regexp): New function. Same as info_func, but
2902 matches against a regexp.
2903 (info_func): Match against a literal string.
2904 (print_addr_2): New function. Match against a literal string,
2905 which can be different from the input to gdb.
2906 (print_addr): Simply call print_addr_2 with the same argument twice.
2907 (test_lookup_operator_functions): Use demangler formatting variables.
2908 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2909 the tests in the same order as the C++ class declaration.
2910 (test_paddr_operator_functions): Ditto.
2911 (test_paddr_overloaded_functions): Ditto.
2912 (test_paddr_hairy_functions): Use demangler formatting variables.
2913 Add reference to gdb/19 for related tests.
2914 (do_tests): Call probe_demangler.
2915
1de8f023
KB
29162001-01-30 Kevin Buettner <kevinb@redhat.com>
2917
2918 * gdb.c++/templates.cc (printf): Remove unused function definition.
2919
ca3f91ed
MS
29202001-01-26 Felix Lee <flee@redhat.com>
2921
2922 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2923
29242001-01-25 matthew green <mrg@redhat.com>
2925
2926 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2927 up sid.
2928 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2929
29302001-01-25 matthew green <mrg@redhat.com>
2931
2932 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2933 Deprecate $sid_spawn_id.
2934 (sid_exit): Remove code necessary only for `spawn.'
2935
29362001-01-25 matthew green <mrg@redhat.com>
2937
2938 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2939
fb18ec4a
MC
29402001-01-28 Michael Chastain <chastain@redhat.com>
2941
2942 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2943 to call when tests fail. It takes gdb out of the overloaded
2944 function choice menu back to the main prompt, so that the test
2945 program stays synchronized.
2946 (set_bp_overloaded): New proc to collect all the common
2947 code for setting a breakpoint on an overloaded name. Calls
2948 take_gdb_out_of_choice_menu when needed.
2949 (menu_overload1arg): New variable to collect the repeated
2950 instances of the expected menu for an overloaded name. Change
2951 the regular expression to handle changes in g++ type encoding:
2952 "void" can be either "void" or "", and "unsigned int" can be
2953 either "unsigned int" or "unsigned".
2954 (continue_to_bp_overloaded): Change regular expressions to handle
2955 changes in g++ type encoding.
2956 (no proc): Call take_gdb_out_of_choice_menu when needed.
2957 Remove redundant calls to "info break". Accept either "canceled"
2958 or "cancelled". Change regular expressions in "info break"
2959 calls to handle changes in g++ type encoding. Give all tests
2960 unique strings.
2961
9c646a6e
BE
29622001-01-17 Ben Elliston <bje@redhat.com>
2963
2964 * config/sid.exp: New file.
2965
9549d9c1
AC
2966Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2967
2968 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2969
dc96c6c7 29702000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2971
2972 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2973 Add a RE to accept a non-ascii char if one is ever presented.
2974
b4df4f68
FN
29752000-12-20 Fernando Nasser <fnasser@redhat.com>
2976
297dd0fd 2977 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2978
dc96c6c7 29792000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2980
2981 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2982 in regexp. One '\' does not suffice on Linux.
2983
4a7bddb6
MC
29842000-12-09 Michael Chastain <chastain@redhat.com>
2985
2986 * gdb.base/break.exp (test_clear_command): Use a marker function
2987 rather than 'main' for the test function. Also move this
2988 test to an execution point where the marker function names are
2989 guaranteed to be bound to functions. (Executing tests after a
2990 'finish' from main runs into name conflicts with local names
2991 in __libc_start_main).
2992
dc96c6c7 29932000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2994
2995 * gdb.base/finish.exp: New test for gdb's "finish" command.
2996 * gdb.base/return2.exp: New test for gdb's "return" command.
2997 * gdb.base/return2.c: New source file for above.
2998
dc96c6c7 29992000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3000
3001 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3002 * gdb.base/miscexprs.exp: Ditto.
3003 * gdb.base/pointers.exp: Ditto.
3004 * gdb.c++/derivation.exp: Ditto.
3005 * gdb.c++/local.exp: Ditto.
3006 * gdb.c++/namespace.exp: Ditto.
3007 * gdb.c++/overload.exp: Ditto.
3008 * gdb.c++/ref-types.exp: Ditto.
3009
dc96c6c7 30102000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3011
3012 * gdb.base/constvars.exp: Test result of "up" command.
3013 * gdb.base/miscexprs.exp: Ditto.
3014 * gdb.base/pointers.exp: Ditto.
3015 * gdb.base/scope.exp: Ditto.
3016 * gdb.c++/derivation.exp: Ditto.
3017 * gdb.c++/local.exp: Ditto.
3018 * gdb.c++/namespace.exp: Ditto.
3019 * gdb.c++/overload.exp: Ditto.
3020 * gdb.c++/ref-types.exp: Ditto.
3021
44097287
FN
30222000-11-22 Michael Chastain <chastain@redhat.com>
3023
3024 * mips_pro.exp: Accept either "middle -> top -> main" or
3025 "middle -> main" in the backtrace, because gcc can optimize
3026 tail calls to jumps. Remove setup_xfail for the hppa case.
3027 Add a comment with the original warning messages from PR 3016,
3028 which was filed in 1993, to preserve them for posterity.
3029
9d2e1bab
ND
30302000-11-17 Nick Duffek <nsd@redhat.com>
3031
3032 * lib/gdb.exp (gdb_test): Override timeout with board info.
3033
1aca8eb7
ND
30342000-11-17 Nick Duffek <nsd@redhat.com>
3035
3036 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3037 the second kill and detach messages.
3038
93076499
ND
30392000-11-17 Nick Duffek <nsd@redhat.com>
3040
3041 * configure.in: Add AC_EXEEXT.
3042 * configure: Regenerate.
3043 * Makefile.in (just-check): Export EXEEXT.
3044 * lib/gdb.exp ($EXEEXT): Import from environment.
3045 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3046 expect "maint dump-me" on Cygwin.
3047 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3048 $EXEEXT.
3049
30e87cd3
ND
30502000-11-17 Nick Duffek <nsd@redhat.com>
3051
3052 * gdb.base/break.exp: Test backtrace and finish from called
3053 function on all platforms, not just HP-UX.
3054
dc96c6c7 30552000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3056
3057 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3058 code from gdb_target_monitor, so it can be used independantly
3059 for gdbserver. Also comment out an unnecessary PUTS.
3060
dc96c6c7 30612000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3062
3063 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3064 * gdb.base/corefile.exp: Expect the message "Program is being
3065 debugged already" when we send the "corefile" command, since
3066 the preceeding gdb_load may have connected gdb to a remote target.
3067 * gdb.base/display.exp: Disable hardware watchpoints if new
3068 board info variable "no_hardware_watchpoints" is true.
3069 Replace single-letter commands with more readable ones.
3070 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3071 if new board info variable "no_hardware_watchpoints" is true.
3072 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3073 to see if stdio (printf) testing is possible.
3074 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3075 board info variable "no_hardware_watchpoints" is true. Use new
3076 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3077
39124dea
FN
30782000-11-13 Fernando Nasser <fnasser@redhat.com>
3079
3080 From Orjan Friberg <orjanf@axis.com>:
3081 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3082 in array print pattern match.
3083
a9e2e984
FN
30842000-11-09 Fernando Nasser <fnasser@redhat.com>
3085
3086 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3087 spelling "cancelled" to U.S. spelling "canceled" to match changes
3088 made to gdb.
3089 * gdb.c++/ovldbreak.exp: Ditto.
3090
c7db355b
PS
30912000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3092
3093 * gdb.base/callfuncs.c (main): Moved to end of file, call
3094 t_double_values to initialize the FPU before inferior calls are made.
3095 * gdb.base/callfuncs.exp: Test for register preservation after calling
3096 inferior functions. Add tests for continuining, finishing and
3097 returning from a stop in a call dummy.
3098
dc96c6c7 30992000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3100
3101 * gdb.base/commands.exp: Break up long lines, and re-indent.
3102
dc96c6c7 31032000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3104
3105 * config/gdbserver.exp: Rewritten from the ground up, to make it
3106 compatible with the current dejagnu tree, and to make it work with
3107 the new "gdbserver" in libremote.
3108
dc96c6c7 31092000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3110
3111 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3112 * gdb.base/varargs.exp: Skip entire test if no printf support.
3113 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3114 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3115
dc96c6c7 31162000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3117
3118 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3119 no floating point support.
3120 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3121 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3122 * gdb.base/call-rt-st.exp: Ditto.
3123 * gdb.base/call-strs.exp: Ditto.
3124
bac5fc66
JG
31252000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3126
3127 * gdb.base/sizeof.c: include <stdio.h>.
3128
3129 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3130 'finish', otherwise uncaptured gdb_prompt would potentially
3131 throw remaining test points out of sync.
3132
b22a6027
SB
31332000-07-26 Scott Bambrough <scottb@netwinder.org>
3134
3135 * gdb.base/recurse.exp: Run tests for all targets.
3136 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3137 gnu-oldld case on ARM.
3138 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3139 for ARM targets.
3140
d8231941
AG
3141Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3142
3143 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3144 * gdb.java/configure: Rebuild.
3145
8caabe69
AG
3146Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3147
3148 * gdb.java/jv-exp.exp: New file.
3149
9d273ca3
AG
3150Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3151
3152 * configure: Rebuilt.
3153 * configure.in (configdirs): Add gdb.java.
3154 * gdb.java/jmisc.java: New file.
3155 * gdb.java/jmisc.exp: New file.
3156 * gdb.java/Makefile.in: New file.
3157 * gdb.java/configure: Rebuilt.
3158 * gdb.java/configure.in: New file.
3159 * lib/java.exp: New file.
3160
4f823a66
AC
3161Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3162
3163 * gdb.base/exprs.exp: Test casts to a pointer including over and
3164 underflow.
3165
2391e11d
AC
3166Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3167
3168 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3169 and the compilers sizes.
3170
54602222
ND
31712000-07-09 Nick Duffek <nsd@redhat.com>
3172
3173 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3174 (use_methods): New function.
3175 (main): Call use_methods().
3176 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3177 (do_tests): Call test_method_param_class.
3178
2bec0572
ND
31792000-07-09 Nick Duffek <nsd@redhat.com>
3180
3181 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3182 spelling.
3183 (test_enums): New procedure. Move enum tests from end of script
3184 to here. Set breakpoint on function name instead of line number.
3185 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3186 (enums2): New marker function.
3187 (enums1): New function.
3188 (main): Call enums1(). Move enum tests to enums1().
3189
78492fde
AC
3190Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3191
3192 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3193 compile/link program. Update line numbers.
3194 * gdb.asm/d10v.inc: Define ``startup''.
3195 * gdb.asm/asmsrc1.s: Add definition of _start.
3196
49a2cef8
AC
3197Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3198
3199 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3200
3e6c8688
EZ
32012000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3202
3203 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3204 of 'help maint print' command.
3205
9ff5cbe9
AC
3206Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3207
3208 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3209 they use gdb_expect_list.
3210
17c579bd
AC
3211Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3212
3213 * gdb.base/commands.exp: Use ``set remote
3214 memory-read-packet-size'' instead of ``set endian big'' to test
3215 long commands.
3216
e6d71bf3
DB
32172000-06-03 Daniel Berlin <dan@cgsoftware.com>
3218
3219 * gdb.c++/templates.exp (do_tests): Make all of these work under
3220 g++, and stop skipping them.
3221
3222 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3223 work under g++.
3224
e5f9ba7b
MS
3225 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3226 initialization.
3227
dc96c6c7 32282000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3229
3230 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3231 the regular expression: accept an (almost) arbitrary sequence of
3232 "frames-invalid" and "breakpoints-invalid" messages both before
3233 and after the "starting" message.
3234
dc96c6c7 32352000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3236
3237 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3238
dc96c6c7 32392000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3240
3241 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3242 Relax the regular expression a little, make it pass on Solaris 8.
3243
8216cda9
KB
32442000-05-12 Kevin Buettner <kevinb@redhat.com>
3245
3246 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3247 a call, do not require that gdb stop on the line after the call.
3248 Instead, it is permissible for gdb to stop on the line of the
3249 call itself.
3250
1a570b2f
MS
32512000-05-12 Michael Snyder <msnyder@.cygnus.com>
3252
3253 * gdb.base/break.exp (bp on small function, optimized file):
3254 Add a second pass pattern. The behavior differs here between stabs
3255 and dwarf for one-line functions. Stabs preserves two line symbols
3256 (one before the prologue and one after) with the same line number,
3257 but dwarf regards these as duplicates and discards one of them.
3258 Therefore the address after the prologue (where the breakpoint is)
3259 has no exactly matching line symbol, and GDB reports the breakpoint
3260 as if it were in the middle of a line rather than at the beginning.
3261
dc96c6c7 32622000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3263
3264 * gdb.base/interrupt.exp: Make "pass" message say "send"
3265 rather than "send_gdb" (for consistancy).
3266
7d418785
AC
3267Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3268
3269 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3270 * gdb.c++/templates.cc: Properly check for GCC version number.
3271 * lib/compiler.cc: Likewise
3272
dc96c6c7 32732000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3274
3275 * gdb.base/break.exp: When compiled with -O2 optimization,
3276 gdb may not stop at the first line of main, due to code motion.
3277
dc96c6c7 32782000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3279
3280 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3281 This test depends on parsing the printf output from the target.
3282 Since the sparclet stub doesn't do stdio, this will never work.
3283 * gdb.base/call-rt-st.exp: ditto.
3284 * gdb.base/call-strs: ditto.
3285
dc96c6c7 32862000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3287
3288 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3289
3290 * gdb.base/ending-run.exp: After connecting to a remote target,
3291 but before running, the target will appear to be in a random
3292 location. Specify both a file and a line for breakpoints.
3293 Also, the function that calls main may be called 'init'
3294 rather than 'start'.
3295
a5a51225
EZ
32962000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3297
3298 * gdb.base/help.exp: Update output for add-symbol-file command.
3299
7930cc7c
FN
33002000-04-10 Fernando Nasser <fnasser@cygnus.com>
3301
3302 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3303 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3304
23e37ab1
C
33052000-04-07 J.T. Conklin <jtc@redback.com>
3306
e93c542c
C
3307 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3308
23e37ab1
C
3309 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3310
591b8fa3
PDM
3311Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3312
3313 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3314 values that can be represented exactly.
3315 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3316 above change, and to not check against the directory part of the source
3317 file name.
3318 (step into print_long_arg_list): Likewise.
3319 (print print_small_structs from print_long_arg_list): Likewise.
3320 (print print_long_arg_list): Likewise.
3321
7a495180
EZ
33222000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3323
30b53638 3324 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3325
beb998c6
AC
3326Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3327
3328 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3329
1c689132
DB
33302000-03-25 Daniel Berlin <dan@cgsoftware.com>
3331
3332 * gdb.base/commands.exp (deprecated_command_test): Add test for
3333 deprecate with no arguments.
3334
c1790a9d
JL
33352000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3336
3337 * gdb.base/break.exp: Add new test for setting breakpoints on
3338 optimized code so we can test breakpoints work even when function
3339 prologues may be optimized away
3340
003ba290
FN
33412000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3342
3343 From David Whedon <dwhedon@gordian.com>
3344 * gdb.base/commands.exp : Added command deprecator tests.
3345
6837a0a2
DB
33462000-03-22 Daniel Berlin <dan@cgsoftware.com>
3347
3348 * gdb.base/help.exp: Added test for new apropos command.
3349
b9593231
KB
33502000-03-21 Kevin Buettner <kevinb@redhat.com>
3351
3352 * gdb.base/pointers.c (usevar): New function.
3353 (main): Make sure that global variables v_int_pointer2, rptr,
3354 and y are all referenced someplace in the program by calling
3355 usevar() on them. [Some linkers delete symbols which are
3356 never referenced. The space remains, but there's no way to
3357 get a (symbolic) handle on the variable from the debugger.]
3358
751a959b
EZ
33592000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3360
3361 * gdb.base/printcmds.c: Add typedeffed arrays.
3362
3363 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3364 procedure to test arrays that are typedef'd.
3365
73a93a32
JI
33662000-03-13 James Ingham <jingham@leda.cygnus.com>
3367
3368 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3369 the library directories.
73a93a32 3370
fb40c209
AC
3371Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3372
3373 * configure.in (configdirs): Add sub directory gdb.mi.
3374 * configure: Re-generate.
3375
3376 * gdb.mi: New directory.
beb998c6 3377
ee4dd2c9
AC
33782000-02-25 Scott Bambrough <scottb@netwinder.org>
3379
3380 * gdb.base/long_long.exp: Correct test suite failure when printing
3381 a long long value as a double on ARM platforms.
3382
70f0cc22
JB
33832000-02-16 Jim Blandy <jimb@redhat.com>
3384
3385 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3386 default source file is set properly before running this test.
3387
853819b8
EZ
33882000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3389
3390 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3391 gdbtk/library directory, not in gdbtcl2.
3392
dfcd3bfb
JM
33932000-02-04 Jim Blandy <jimb@redhat.com>
3394
3395 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3396 backslash from regexp pattern.
3397
3398 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3399 procedure. Use it to run all the "continue to bp overloaded"
3400 tests. Note that this changes the names of the tests slightly.
3401 If the breakpoint hit message includes a hex PC value, because
3402 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3403 from the real source code, still consider that a pass.
3404
3405 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3406 XFAIL here if the breakpoint message contains a hex address. Note
3407 similar change on 1999-11-02.
3408
3409 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3410
3411 * gdb.base/ptype.exp: Establish a default source file before
3412 calling get_debug_format.
3413
34142000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3415
3416 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3417
8b93c638
JM
34182000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3419
3420 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3421 of successive stepi commands -- while in the prologue we should see
3422 the function entry bracket.
3423
34242000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3425
3426 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3427 reach __change_mode() when stepping through the end of main().
3428
c5394b80
JM
34292000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3430
3431 * gdb.base/default.exp: Fix expected pattern.
3432 * gdb.base/help.exp: Same.
3433
0d06e24b
JM
34342000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3435
3436 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3437 Don't use xfail's because that affects only the following test.
beb998c6 3438
0d06e24b
JM
3439 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3440 solaris or linux.
3441
3442 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3443
dc96c6c7 34442000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3445
beb998c6 3446 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3447 "A syntax error" rather than "A parse error". Accept both.
3448
34492000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3450
3451 * gdb.base/default.exp: Remove OS dependent string from "target
3452 remote" test.
3453 * gdb.base/help.exp: Same for "help target remote" test.
3454
c3f6f71d
JM
34552000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3456
3457 From Jim Kingdon <kingdon@redhat.com>:
3458
3459 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3460 prompt (cleanup rather than necessity, but still might keep output
3461 from spilling to next test).
3462
34632000-01-02 Fred Fish <fnf@cygnus.com>
3464
3465 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3466 AIX, which defines them in <sys/types.h>.
3467
ed9a39eb 34681999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3469
ed9a39eb
JM
3470 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3471 float" test.
3472
34731999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3474
ed9a39eb 3475 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3476
3477 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3478 outermost frame disallowed".
3479
34801999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3481
3482 * gdb.base/setvar.exp: New tests for setting the value of a struct
3483 with a constant list.
3484
34851999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3486
3487 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3488 require the user to type a cast before setting the value of a struct.
3489
de57eccd
JM
34901999-12-06 Jim Blandy <jimb@cygnus.com>
3491
3492 * gdb.base/default.exp: Expect the new 'info float' command on
3493 all i386 platforms.
3494
3495 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3496 LinuxThreads libraries that don't support debugging.
3497
c2d11a7d
JM
3498Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3499
3500 * gdb.base/remote.c: Fill the buffer with truely random data.
3501 Change the buffer type to ``unsigned char'' to simplify size
3502 arithmetic.
3503
3504 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3505 stub only handles 400-1 byte packets. Verify that the download
3506 worked.
3507
35081999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3509
3510 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3511 tests, using UNRESOLVED for the untested cases. Also, does not wait
3512 for a timeout if the prompt was received before a recognizable pattern.
3513
35141999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3515
3516 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3517
35181999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3519
3520 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3521 watchpoints.
3522
35231999-11-24 Jason Merrill <jason@casey.cygnus.com>
3524
3525 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3526
3527 * gdb.c++/local.exp: Be more flexible in recognizing local class
3528 name mangling. Don't allow horribly truncated method names.
3529 * gdb.c++/derivation.exp: Expect protected inheritance.
3530 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3531 * gdb.c++/virtfunc.exp: Likewise.
3532 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3533 when printing a nested enum.
3534
35351999-11-22 Jim Blandy <jimb@cygnus.com>
3536
3537 * gdb.base/step-test.exp: Properly await GDB's response to setting
3538 a breakpoint on the call to large_struct_by_value.
3539
3540 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3541 just because we have debug info for the `start' function.
3542
35431999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3544
3545 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3546 "Unknown signal" messages, which indicate (on LinuxThreads) that
3547 GDB doesn't know how to debug threads on this system. This is
3548 better than hanging while philosopher 0 dumps chatter into gdb.log.
3549
35501999-11-18 Tom Tromey <tromey@cygnus.com>
3551
3552 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3553
35541999-11-18 Fred Fish <fnf@cygnus.com>
3555
3556 * gdb.base/coremaker2.c: Add sample program for generating
3557 cores that is more self contained than coremaker.c. Eventually
3558 I'll add more code to this and tie it into the testsuite.
3559
4ce44c66
JM
35601999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3561
3562 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3563
35641999-11-10 Jimmy Guo <guo@cup.hp.com>
3565
3566 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3567 from $srcdir/lib/.
3568 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3569 and gdb.c++/.
3570
3571 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3572
beb998c6 3573 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3574 'continue with watch' test point.
3575
35761999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3577
3578 Merged from p2linux-990323-branch:
beb998c6 3579
4ce44c66
JM
3580 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3581
11cf8741
JM
3582Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3583
3584 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3585 {limit,fixed}''. Test ``set download-write-size''.
3586
3587Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3588
3589 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3590 gdb_expect_list.
3591
3592Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3593
3594 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3595
35961999-11-03 Mark Salter <msalter@cygnus.com>
3597
3598 * gdb.base/break.exp: Fix "stub continue" pattern.
3599
36001999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3601
3602 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3603
36041999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3605
3606 * gdb.base/display.exp ("finish"): Add timeout clause.
3607
3608 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3609 plain prompt clause, so this doesn't have to time out in order to
3610 fail.
3611
3612 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3613 breakpoint hit messages include an address.
3614
3615 * gdb.base/display.exp: Don't forget to escape parens in regular
3616 expressions. Unix regexp notatation sucks.
3617
36181999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3619
3620 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3621 order for 'signalled' message.
3622
5c44784c
JM
36231999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3624
3625 From Jimmy Guo <guo@cup.hp.com>:
3626 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3627 * gdb.base/annota1.c: Add code for tests to work with.
3628
36291999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3630
3631 * gdb.base/remote.exp: New test for remote downloading settings.
3632 * gdb.base/remote.c: New file with large .data.
3633
917317f4
JM
36341999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3635
3636 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3637 for LinuxThreads support, merged from the Code Fusion branch.
3638
3639Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3640
3641 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3642 containing exp_continue into a while within an expect. Don't
3643 attempt a start more than three times. Check return value from
3644 gdb_load.
beb998c6 3645
2df3850c
JM
3646Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3647
3648 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3649 a pass case.
3650
2acceee2
JM
36511999-10-01 Kevin Buettner <kevinb@cygnus.com>
3652
3653 * gdb.base/break.c (main): Added a statement that we can step
3654 off of.
3655 * gdb.base/break.exp: Added tests for setting a breakpoint
3656 at an offset and stepping onto a breakpoint.
3657
36581999-10-01 Fred Fish <fnf@cygnus.com>
3659
beb998c6 3660 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3661 gdb output.
3662
c2c6d25f
JM
36631999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3664
3665 * gdb.base/break.exp: Code locations are in hex, don't forget!
3666 (For HP-UX.)
3667
36681999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3669
3670 * condbreak.exp: Use break.c as test program.
3671 * condbreak.c: Remove, redundant with break.c.
3672
36731999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3674
3675 * config/monitor.exp (gdb_target_monitor): Disable X- and
3676 Z-packets if the target needs it.
3677
36781999-09-13 James Ingham <jingham@leda.cygnus.com>
3679
3680 * gdb.c++/overload.exp: Added tests for listing overloaded
3681 functions with function pointers in the arg, explicitly calling
3682 out the version you want.
3683
cff3e48b
JM
36841999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3685
3686 * long_long.exp: Add variations of test cases that work for
3687 targets with 16-bit ints and 32-bit doubles.
3688
d4f3574e
SS
36891999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3690
3691 * break.c (main): Compare a possibly-uninitialized argc with an
3692 unlikely value that fits in 16 bits.
3693
36941999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3695
3696 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3697 0xfeeb, don't want negative numbers if ints are 16 bits.
3698
3699 * lib/gdb.exp (skip_cplus_tests): New proc.
3700 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3701 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3702 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3703 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3704 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3705 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3706 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3707 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3708
3709 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3710
3711Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3712
3713 * gdb.base/corefile.exp (up): Allow a parameter to appear
3714 in the frame that we're going up to.
3715
3716 From Jim Blandy <jimb@cygnus.com>:
3717
3718 * gdb.base/default.exp (info float): Expect some output now.
3719
3720 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3721 returning floating-point values to fail on the x86.
3722 * gdb.base/callfwmall.exp (do_function_calls): Same.
3723
3724 * gdb.base/list.exp (test_listsize): Correct expectations for
3725 listing line 1 with listsize 2. Also, listing a single line
3726 works now, as does listing three lines. [Kevin's note: There
3727 were a number of other cases fixed too where the expectations
3728 differed...]
3729
37301999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3731
3732 * gdb.base/selftest.exp: Add case for when version prints as
3733 constant string instead of char pointer.
3734
104c1213
JM
37351999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3736
3737 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3738 stepping out of main.
3739
3740 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3741 G++ used.
3742
3743 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3744 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3745
3746 * gdb.c++/ovldbreak.exp: Update match string in test that
3747 includes a warning of multiple breakpoints.
3748
37491999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3750
3751 * gdb.base/display.exp: Improve precision of step-after-finish
3752 added yesterday.
3753
3754 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3755 test.
3756
3757 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3758 configs when using G++, not just hppa*.
3759
37601999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3761
3762 * gdb.base/async.c: New file.
3763 * gdb.base/async.exp: New file.
3764
3765Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3766
3767 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3768 PA64.
3769
53a5351d
JM
3770Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3771
104c1213
JM
3772 * gdb.base/display.exp: "finish" can leave us mid-line on many
3773 targets, deal with it. Add a small constant to main, instead of
3774 1000 since main+1000 may not be a valid address in the target.
3775
53a5351d
JM
3776 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3777 on hpux11.
3778
3779 * gdb.base/attach.exp: Handle another hpux11 error message variant
3780 when attaching to a process that does not exist.
3781
37821999-08-19 J.T. Conklin <jtc@redback.com>
3783
3784 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3785 characters in 'continue to 1241' test.
3786
37871999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3788
3789 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3790 stop in print_long_arg_list, define and use a whitespace
3791 variable in print_small_structs test, add an XFAIL for Solaris.
3792 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3793 interested enough to fix.
3794
7be570e7
JM
37951999-08-13 Keith Seitz <keiths@cygnus.com>
3796
3797 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3798 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3799 proc knows about targets other than the natives.
3800 (test_assign): Use "gdb_run_cmd" to "run" the target.
3801 Check that we've actually hit the breakpoint at main.
3802 When we attempt to assign a value to a local variable, check
3803 that the variable is in the current scope, i.e., don't use
3804 a test with an empty result.
3805
3806Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3807
3808 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3809 command.
3810
38111999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3812
3813 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3814 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3815 gdb.compat, gdb.threads-hp.
3816 gdb.hp/configure, gdb.hp/configure.in: New files.
3817 gdb.hp/Makefile.in: Recurse into new subdirs.
3818 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3819 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3820 in object files.
3821 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3822
96baa820
JM
38231999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3824
3825 * gdb.base/display.exp: Help expect by putting a newline in the
3826 funky printf, remove a bogus p/a test.
3827
38281999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3829
3830 * gdb.base/display.exp: Make sure that when we say 'run', we are
3831 connected to the target. This is necessary when running not
3832 natively.
3833
38341999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3835
3836 * gdb.base/step-test.exp: Removed some extraneous messages.
3837
3838 * gdb.base/long_long.exp: Don't run memory examination tests
3839 on little-endian targets (they will need a different set of
3840 results to match).
3841
38421999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3843
3844 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3845 until somebody decides to fix GDB.
3846
3847 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3848 constant as "ULL".
3849 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3850 matches for a couple x/2 commands.
3851
a0b3c4fd
JM
38521999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3853
3854 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3855 by merging in ref-types2 tests.
3856 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3857
3858 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3859 * gdb.c++/Makefile.in: Add standard actions.
3860 (EXECUTABLES): Rename from PROGS, update list.
3861 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3862 from gdb.hp.
3863 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3864 foo and bar locals.
3865 * gdb.c++/anon-union.exp: Fix tests to match.
3866 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3867 expect matches to handle output variations.
3868 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3869 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3870 output, add HP alternatives for new and delete prints.
3871 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3872 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3873 * gdb.c++/demangle.exp: Use $style when reporting failure.
3874 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3875 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3876 match alternatives.
3877 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3878 compilers.
3879 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3880 * gdb.c++/method.exp: Add match alternatives.
3881 * gdb.c++/misc.cc: Add bool types.
3882 * gdb.c++/misc.exp: Add tests for bool types.
3883 * gdb.c++/overload.exp: Add xfails.
3884 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3885 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3886 add some more template parameter tests (only for HP currently).
3887 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3888 * gdb.c++/virtfunc.cc: Add return type and value for main.
3889 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3890 match alternatives.
beb998c6 3891
a0b3c4fd
JM
38921999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3893
3894 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3895
38961999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3897
3898 * gdb.base/signals.exp: Don't expect getting a backtrace from
3899 within a signal handler to fail on Linux.
3900
39011999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3902
3903 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3904 * lib/gdb.exp: Remove some gratuitious semicolons.
3905 (delete_breakpoints): Increase timeout.
3906 (gdb_expect): Add -notransfer option.
3907 (gdb_test): Use -notransfer option.
3908 (get_compiler_info): Add f77 case.
3909 (get_compiler): New proc, split out from gdb_preprocess, add f77
3910 case.
3911 (gdb_preprocess): Call get_compiler.
3912
3913 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3914 * gdb.base/attach.exp, gdb.base/display.exp,
3915 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3916 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3917 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3918 third arg to gdb_test.
3919 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3920 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3921 HP-UX xfails, add others.
3922 * gdb.base/completion.exp: Reflect name change of self-test.
3923 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3924 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3925 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3926 HP failure number.
3927 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3928 useless HP-UX 10.30 references.
3929 * gdb.base/maint.exp: Loosen matches.
3930 * gdb.base/pointers.c (main): Declare more_code.
3931 * gdb.base/pointers.exp: Match on output of a `next'.
3932 * gdb.base/structs.c: Add prototypes.
3933 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3934 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3935
39361999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3937
3938 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3939 command.
3940
39411999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3942
3943 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3944 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3945
3946 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3947 debug info. Deal with lack of signal hanlder info in stack.
3948
3949 From Jim Kingdon <kingdon@redhat.com>:
3950 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3951
5a2468f5
JM
39521999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3953
3954 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3955 gdb.base/foll-vfork.exp: Don't run for crosses.
3956
adf40b2e
JM
3957Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3958
3959 * gdb.base/configure.in: Check for gdbvars.exp instead of
3960 a1-selftest.exp.
3961 * gdb.base/configure: Re-generate.
3962
39631999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3964
3965 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3966 in trying to run first and name is too long.
3967
3968 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3969 pointers2.c and pointers2.exp, respectively.
3970 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3971 doschk happier.
3972
43e526b9
JM
39731999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3974
3975 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3976 callfuncs2.c and callfuncs2.exp.
3977
3978 * gdb.base/list.exp: Remove mistaken xfails.
3979 * gdb.base/list0.h: Add optional prototypes.
3980
9846de1b
JM
3981Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3982
3983 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3984 calling malloc.
3985 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3986 * ptype.exp: Move test for get_debug_format to before its first
3987 use.
3988
39891999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3990
3991 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3992 * gdb.base/annota2.cc, annota2.exp: Move from here.
3993 * gdb.c++/annota2.cc, annota2.exp: To here.
3994 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3995
43ff13b4
JM
3996Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3997
3998 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3999 a consistent format.
4000
085dd6e6
JM
40011999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4002
4003 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4004 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4005 HP compilers, also set the globals $true and $false.
4006
4007 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4008 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4009 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4010 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4011 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4012 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4013 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4014 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4015 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4016 whatis.c} Add C++ compatible function definitions and return
4017 types, add includes for library functions.
4018 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4019 * gdb.base/step-test.c (myglob): Rename from glob.
4020 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4021 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4022 files, move here from gdb.hp.
4023 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4024 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4025 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4026 Adjust line numbers in regexps.
4027
4028 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4029 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4030 instead of 0/1.
4031
4032 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4033 foll-vfork.exp: New files, move here from gdb.hp.
4034 * gdb.base/page.exp: New file, test of pagination command.
4035
4036 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4037 recursion test.
4038 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4039
4040 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4041 gdb.base/solib.exp: Fix compiler invocation process.
4042
4043 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4044 HP-UX 11, turn off overload resolution explicitly.
4045 * gdb.base/commands.exp: Set argument list explicitly, add
4046 watchpoint test.
4047 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4048 them work.
4049 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4050 expressions properly.
4051 * gdb.base/corefile.exp: Loosen the match slightly.
4052 * gdb.base/default.exp: Allow "Error accessing memory" message
4053 also.
4054 * gdb.base/display.exp: Skip over x/0 j if PA64.
4055 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4056 * gdb.base/interrupt.exp: Ditto.
4057 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4058 in use.
4059 * gdb.base/list.exp: Add xfails for HP-UX.
4060 * gdb.base/long_long.exp: Refine some of the numeric matches.
4061 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4062 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4063 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4064 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4065 * gdb.base/ptype.exp: Succeed on more varieties of output.
4066 * gdb.base/scope.exp: Add xfails for HP-UX.
4067 * gdb.base/sect-cmd.exp: Add more cases.
4068 * gdb.base/setvar.exp: Add xfails for HP-UX.
4069 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4070 * gdb.base/signals.exp: Match on void symbolically.
4071 * gdb.base/step-test.exp: Add case for PA64.
4072 * gdb.base/term.exp: Add exit and restart.
4073 * gdb.base/twice.exp: Clean up after self.
4074 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4075 * gdb.base/whatis.exp: Allow more ways to pass tests.
4076
4077 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4078 no longer useful.
4079
4080Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4081
4082 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4083 list of patterns.
4084 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4085 print_double_array(double_array)", "continuing to breakpoint
4086 1018", "print print_double_array(array_d)" and "continuing to
4087 1034" tests.
beb998c6 4088
085dd6e6
JM
40891999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4090
4091 * Makefile.in: Add empty html and install-html targets.
4092
40931999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4094
4095 * config/mt-*: Remove, these haven't been used since 1996.
4096
40971999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4098
4099 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4100 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4101 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4102
9e0b60a8
JM
41031999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4104
4105 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4106 simpler match case for the ptype of the big class.
4107
41081999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4109
4110 * gdb.exp: Fix test for gdb_prompt existence.
4111
41121999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4113
4114 * gdb.exp (gdb_test): Add fail after calls to perror.
4115
41161999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4117
4118 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4119
41201999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4121
4122 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4123
0f71a2f6
JM
4124Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4125
4126 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4127 malloc() is linked in.
4128
41291999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4130
4131 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4132 step at end.
4133
4134 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4135
41361999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4137
4138 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4139
cce74817
JM
4140Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4141
4142 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4143 * gdb.base/mips_pro.exp: Likewise.
4144
41451999-06-02 Keith Seitz <keiths@cygnus.com>
4146
4147 * gdb.c++/templates.cc: Change all "new" operators to throw
4148 an exception.
4149 * gdb.c++/cplusfuncs.cc: Likewise.
4150
4151 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4152
4153Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4154
4155 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4156 * gdb.base/ending-run.exp: When stepping out of main, accept a
4157 step into an arbitrary assembler file.
4158
392a587b
JM
41591999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4160
beb998c6 4161 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4162 "breakpoint-invalid" to be printed.
beb998c6 4163 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4164 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4165 * gdb.base/annota2.cc: Initialize a.x to 0.
4166
9e086581
JM
41671999-05-17 Keith Seitz <keiths@cygnus.com>
4168
4169 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4170 when "skip_float_tests" set.
4171 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4172 "print print_ten_doubles", and "step into print_long_arg_list".
4173 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4174 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4175 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4176 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4177 "skip_float_tests" is set.
4178 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4179 when "skip_float_tests" set.
beb998c6 4180
cd0fc7c3
SS
41811999-05-06 Keith Seitz <keiths@cygnus.com>
4182
4183 * gdb.base/annota2.cc: Include stdio.h.
4184
4185Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4186
4187 * gdb.base/crossload.exp: Remove, this has been disabled ever
4188 since BFD stopped including all targets, and cross-GDB gets
4189 plenty of testing anyway.
4190 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4191 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4192 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4193 * gdb.base/README: Remove, was doc for this.
4194 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4195 needed.
4196
b83266a0
SS
41971999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4198
4199 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4200 output.
4201
4202 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4203 * gdb.base/annota2.exp: New file. More annotation tests.
4204 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4205 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4206
42071999-04-23 Angela Marie Thomas <angela@cygnus.com>
4208
4209 * config/cfdbug.exp: New file.
4210
7a292a7a
SS
42111999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4212
4213 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4214 Marcus Daniel's and Dale Hawkins's demangler crashes.
4215
4216 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4217 test_lucid_style_demangling, test_arm_style_demangling,
4218 test_hp_style_demangling): Try Tom Tromey's core-dumping
4219 identifier under each demangling style.
4220
42211999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4222
4223 * gdb.c++/demangle.exp: Include the current demangling style
4224 in all test names.
4225 (current_demangling_style): New global variable.
4226 (set_demangling_style, test_demangling_core, test_demangling,
4227 test_demangling_exact): New functions.
4228 (test_gnu_style_demangling, test_lucid_style_demangling,
4229 test_arm_style_demangling, test_hp_style_demangling): Use those,
4230 instead of calling gdb_test and gdb_test_exact directly.
4231 (catch_demangling_errors): New function, which reports errors
4232 signalled by the demangling test functions in an orderly way.
4233 (do_tests): Use catch_demangling_errors.
4234
42351999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4236
4237 * gdb.base/signals.exp (test_handle_all_print): Use () for
4238 grouping in expressions, not {}.
4239
4240 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4241 initialized yet.
4242
42431999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4244
4245 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4246 are listed.
4247
42481999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4249
4250 * gdb.stabs/weird.exp: Test for CC being defined before
4251 looking at its value.
4252
42531999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4254
4255 * gdb.base/call-ar-st.exp: Remove stray '#'.
4256 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4257 "short int" and "long int".
4258 * gdb.c++/overload.cc: Cast the string added in the previous
4259 change, to mollify finicky HP compiler.
4260 * gdb.hp/reg-test.exp (testfile): Fix file name.
4261 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4262
7a292a7a
SS
4263 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4264 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4265 alternate form of enum ptype.
4266
c906108c
SS
42671999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4268
7a292a7a
SS
4269 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4270 * gdb.hp/*.exp: Change all to run compiler probe only after
4271 passing skip_hp_tests, so as not to waste time on guaranteed
4272 failure.
4273
c906108c
SS
4274 * gdb.c++/overload.cc: Pass string instead of char addr, always
4275 init ccpfoo.
4276 * gdb.c++/templates.cc: Fix syntax error.
4277
7a292a7a
SS
4278Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4279
4280 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4281 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4282 command.
4283
42841999-03-18 James Ingham <jingham@cygnus.com>
4285
4286 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4287
4288 * gdb.c++/method.exp: It was testing an uninitialized int on the
4289 stack and assuming it was positive.
4290
4291 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4292
4293 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4294 keep it from killing the rest of the tests.
7a292a7a
SS
4295 Use gdb_continue_to_end.
4296
4297 * gdb.base/sigall.exp: use gdb_continue_to_end.
4298
4299 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4300
4301 * gdb.base/display.exp: use runto_main, not run.
4302
beb998c6
AC
4303 * gdb.base/default.exp: Check for the current error message in the
4304 r abbreviation test.
7a292a7a
SS
4305 Add strongarm to the targets that know info float.
4306
beb998c6 4307 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4308 run which doesn't work with monitors.
4309
4310 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4311
4312 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4313
4314 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4315 program. Traps the case (in Cygmon) when the program never really
4316 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4317 more places, so I used my name. Sorry Mark...
4318
4319 * config/monitor.exp (gdb_target_monitor): added another
4320 target_info parameter: remotebinarydownload. This will set the
4321 remotebinarydownload flag if this is causing some boards trouble.
4322
43231999-03-18 Mark Salter <msalter@cygnus.com>
4324
4325 * lib/gdb.exp (continue_to_exit): New function.
4326
4327 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4328 * gdb.base/ending-run.exp: Ditto.
4329 * gdb.base/step-test.exp: Ditto.
4330
43311999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4332
4333 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4334 (suggested by Art Haas <ahaas@neosoft.com>).
4335
43361999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4337
4338 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4339
4340Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4341
4342 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4343 descriptions of types (short unsigned int vs unsigned short, etc).
4344
43451999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4346
4347 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4348 a call to strlen; sometimes we do have sources.
4349
43501999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4351
4352 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4353 character, so GDB won't print garbage after its end.
beb998c6 4354
c906108c
SS
4355 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4356 breakpoint there instead. Sometimes GCC emits memcpy to handle
4357 the large structures being passed by value, so we step into that
4358 instead of sum_array_print, which obscures what we're really testing.
4359 * gdb.base/step-test.exp: However, we do want a test that notices
4360 the bizarre steps into memcpy, so do that here. Add check for
4361 stepping into function calls that pass large structures by value.
4362 ("Is that a noun clause, or are you just happy to see me?")
4363 Remove all references to specific line numbers.
4364 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4365 New type and function.
4366 (main): Call large_struct_by_value, passing it a large struct by value.
4367 * lib/gdb.exp (gdb_get_line_number): New function.
4368
4369 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4370 more portable.
4371
7a292a7a
SS
43721999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4373
c906108c
SS
4374 * lib/gdb.exp: Doc fixes.
4375
7a292a7a
SS
43761999-03-05 Nick Clifton <nickc@cygnus.com>
4377
beb998c6 4378 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4379
43801999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4381
c906108c
SS
4382 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4383 commands. They're not germane to this test, and they don't work
4384 that way on remote targets.
4385
3fc11d3e
JM
43861999-03-01 James Ingham <jingham@cygnus.com>
4387
4388 * Changelog entries merged over from gdb development branch.
4389
3fc11d3e
JM
4390 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4391
4392 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4393 for outputting results of test run.
4394
2d4a1622 4395 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4396
4397 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4398
7a292a7a
SS
43991999-02-25 Felix Lee <flee@cygnus.com>
4400
4401 * lib/gdb.exp (debug_format): initialize
4402
c906108c
SS
44031999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4404
4405 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4406 * gdb.base/call-rt-st.c: Ditto.
4407
c906108c
SS
44081999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4409
4410 * gdb.threads/pthreads.exp (horiz): New variable.
4411 (test_startup): Fix regexps that capture thread numbers.
4412
44131999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4414
4415 * gdb.base/smoke.exp: Disambiguate two test case names (both
4416 called ``print'').
4417
4418Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4419
4420 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4421 compilation.
4422
44231999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4424
4425 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4426 actual output formatting.
4427 * gdb.base/smoke.exp: GDB removes leading 0's.
4428 * gdb.base/volatile.exp: Don't check type of remuneration;
4429 that variable is no longer defined in constvars.c.
4430 * gdb.base/step-test.c (main): Exit with explicit exit code.
4431 * gdb.base/step-test.exp: Remove two nexti checks--they are
4432 not portable.
4433
44341999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4435
4436 * gdb.base/help.exp ("help delete display"): Fix test to match
4437 gdb's output.
4438
4439 * gdb.base/long_long.c (known_types): Initialize values to zero.
4440 * gdb.base/long_long.exp: Step one more line
4441 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4442 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4443 unique test case names.
4444
4445Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4446
beb998c6 4447 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4448
4449 * gdb.c++/method.exp: Add missing close brace.
4450
44511999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4452
4453 * gdb.base/maint.exp: Use 'set height 0' to disable page
4454 prompting, not 'set height 400'.
4455
4456 Fix a bunch of timeouts.
4457 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4458 four separate tests, so expect doesn't take forever to match a ton
4459 of text against a regexp with lots of .* forms.
4460 ("maint print psymbols", "maint print symbols"): Make some of
4461 these greps more selective, so that expect doesn't try to wade
4462 through huge piles of output and time out.
4463
4464 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4465
4466 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4467 tests: one which doesn't expect shlib events to be reported, and
4468 another which does, but is XFAIL for all platforms other than
4469 HP/UX.
4470
4471 * gdb.base/break.exp: Teach the test suite that the `catch
4472 fork', `catch vfork', and `catch exec' commands produce error
4473 messages on platforms that don't provide these features.
4474
4475Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4476
4477 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4478 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4479 (shortening names from solib_threshold.exp etc), won't run on
4480 anything but HP-UX for the foreseeable future.
4481 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4482 reflect move.
4483
4484Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4485
4486 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4487 gdb.trace/Makefile.in (clean): Remove all test executables.
4488
4489Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4490
4491 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4492 successfully re-sets breakpoints in shared libraries.
4493 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4494
4495Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4496
beb998c6
AC
4497 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4498 and compiled w/o GCC.
c906108c
SS
4499
4500 * gdb.hp/watch-cmd.exp: ditto.
4501
4502 * gdb.hp/watch-hp.exp: ditto.
4503
4504 * gdb.hp/xdb1.exp: ditto.
4505
4506 * gdb.hp/xdb2.exp: ditto.
4507
4508 * gdb.hp/dbx.exp: ditto.
4509
4510Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4511
4512 * constvars.c: Remove C++-isms.
4513 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4514 with GCC.
4515
4516Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4517
4518 The following changes are part of the HP merge.
4519
4520 * gdb.base/break.exp: new tests to verify that catchpoints for
4521 fork, vfork, and exec don't trigger inappropriately.
4522
4523 * gdb.base/opaque.exp: compile one file at a time, then link.
4524
4525 * gdb.base/signals.exp: be more restrictive about which hppa
4526 systems receive a setup_xfail. new tests.
4527
4528 * gdb.base/solib_threshold.build: new file.
4529 * gdb.base/solib_threshold.exp: new file.
4530 * gdb.base/solib_threshold.link_opts: new file.
4531 * gdb.base/solib_threshold.mk: new file.
4532 * gdb.base/gen_solib_threshold.c: new file.
4533
4534 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4535 tests. New tests for enums inside classes.
4536
4537 * gdb.c++/compiler.cc: indicate support of template debugging.
4538
4539 * gdb.c++/demangle.exp: run hp style demangling tests.
4540
4541 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4542 tests.
4543
4544 * gdb.c++/misc.cc: changes to support new tests.
4545
4546 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4547 to support new tests.
4548
4549 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4550 gcc, then skip these tests.
4551
4552Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4553
4554 The following files are part of the HP merge; some had longer
4555 names at HP, but have been renamed to be no more than 14
4556 characters in length.
4557
4558 * gdb.hp/ambiguous.cc: new file.
4559 * gdb.hp/ambiguous.exp: new file.
4560 * gdb.hp/attach.exp: new file.
4561 * gdb.hp/attach2.exp: new file.
4562 * gdb.hp/classes-hp.exp: new file.
4563 * gdb.hp/ctti.exp: new file.
4564 * gdb.hp/ctti-add.cc: new file.
4565 * gdb.hp/ctti-add1.cc: new file.
4566 * gdb.hp/ctti-add2.cc: new file.
4567 * gdb.hp/ctti-add3.cc: new file.
4568 * gdb.hp/dbx.exp: new file.
4569 * gdb.hp/exception.cc: new file.
4570 * gdb.hp/exception.exp: new file.
4571 * gdb.hp/foll-exec.c: new file.
4572 * gdb.hp/foll-exec.exp: new file.
4573 * gdb.hp/foll-fork.c: new file.
4574 * gdb.hp/foll-fork.exp: new file.
4575 * gdb.hp/foll-vfork.c: new file.
4576 * gdb.hp/foll-vfork.exp: new file.
4577 * gdb.hp/inherit-hp.exp: new file.
4578 * gdb.hp/more-steps.exp: new file.
4579 * gdb.hp/namespace.cc: new file.
4580 * gdb.hp/namespace.exp: new file.
4581 * gdb.hp/optimize.exp: new file.
4582 * gdb.hp/pxdb.c: new file.
4583 * gdb.hp/pxdb.exp: new file.
4584 * gdb.hp/quicksort.exp: new file.
4585 * gdb.hp/reg-test.exp: new file.
4586 * gdb.hp/reg-test.s: new file.
4587 * gdb.hp/sized-enum.c: new file.
4588 * gdb.hp/sized-enum.exp: new file.
4589 * gdb.hp/start-stop.exp: new file.
4590 * gdb.hp/templ-hp.cc: new file.
4591 * gdb.hp/templ-hp.exp: new file.
4592 * gdb.hp/thr-lib.c: new file.
4593 * gdb.hp/thr-lib.exp: new file.
4594 * gdb.hp/thr-lib.h: new file.
4595 * gdb.hp/thr-liblib.c: new file.
4596 * gdb.hp/virtfun-hp.c: new file.
4597 * gdb.hp/virtfun-hp.exp: new file.
4598 * gdb.hp/watch-cmd.exp: new file.
4599 * gdb.hp/watch-hp.exp: new file.
4600 * gdb.hp/xdb1.exp: new file.
4601 * gdb.hp/xdb2.exp: new file.
4602 * gdb.hp/xdb3.exp: new file.
4603
4604Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4605
4606 The following files are part of the HP merge; some had longer
4607 names at HP, but have been renamed to be no more than 14
4608 characters in length.
4609
4610 * gdb.base/ss.h: new file.
4611 * gdb.base/call-ar-st.c: new file.
4612 * gdb.base/call-ar-st.exp: new file.
4613 * gdb.base/call-rt-st.c: new file.
4614 * gdb.base/call-rt-st-exp: new file.
4615 * gdb.base/call-strs.exp: new file.
4616 * gdb.base/ena-dis-br.exp: new file.
4617 * gdb.base/environ.exp: new file.
4618 * gdb.base/long_long.exp: new file.
4619 * gdb.base/sect-cmd.exp: new file.
4620 * gdb.base/shlib-cl2.exp: new file.
4621 * gdb.base/smoke.exp: new file.
4622 * gdb.base/so-impl-ld.c: new file.
4623 * gdb.base/so-impl-ld.exp: new file.
4624 * gdb.base/so-indr-cl.c: new file.
4625 * gdb.base/so-indr-cl.exp: new file.
4626 * gdb.base/varargs.exp: new file.
4627 * gdb.base/volatile.exp: new file.
4628 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4629 * gdb.base/display.exp: new file.
c906108c
SS
4630 * gdb.c++/derivation.exp: new file.
4631 * gdb.c++/local.exp: new file.
4632 * gdb.c++/member-ptr.exp: new file.
4633 * gdb.c++/overload.exp: new file.
4634 * gdb.c++/ovldbreak.exp: new file.
4635 * gdb.c++/ref-types.exp: new file.
4636 * gdb.c++/ref-types2.exp: new file.
4637 * gdb.c++/userdef.exp: new file.
beb998c6 4638
c906108c
SS
4639Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4640
4641 * gdb.base/default.exp: Reflect wording change in remote.c.
4642
dc96c6c7 4643Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4644
4645 * gdb.base/help.exp: Update to reflect current text.
4646
4647Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4648
4649 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4650 they're stack variables and contain garbage.
4651 * gdb.c++/anon-union.exp: new file.
4652
4653 The following changes were made by David Taylor
4654 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4655 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4656 in changes by HP.
4657
4658 * gdb.base/bitops.exp: new file.
4659 * gdb.base/default.exp: change expected messages for catch and
4660 info catch tests to reflect HP merge changes.
4661 * gdb.base/enable-disable-break.exp
4662 * gdb.base/ending-run.c: new file.
4663 * gdb.base/long_long.c: new file.
4664 * gdb.base/maint.exp: new file.
4665 * gdb.base/pointers2.exp: new file.
4666 * gdb.base/shlib-call2.exp: new file.
4667 * gdb.base/solib.exp: new file.
4668 * gdb.base/step-test.c: new file.
4669 * gdb.c++/anon-union.cc: new file.
4670 * gdb.c++/local.cc: new file.
4671 * gdb.c++/member-pointer.cc: new file.
4672 * gdb.c++/method.cc: new file.
4673 * gdb.c++/ref-types.cc: new file.
4674 * gdb.c++/ref-types2.cc: new file.
4675 * gdb.c++/userdef.cc: new file.
beb998c6 4676
c906108c
SS
4677 * gdb.base/scope.exp: compile one file at a time, then link.
4678 * gdb.base/langs.exp: ditto.
4679 * gdb.base/list.exp: ditto.
beb998c6 4680
c906108c
SS
4681Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4682
4683 The following changes were made by David Taylor
4684 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4685 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4686 in changes by HP.
beb998c6 4687
c906108c
SS
4688 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4689 skip tests. When compiling pass c++ flag to gdb_compile.
4690 * gdb.c++/
beb998c6 4691
c906108c
SS
4692 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4693 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4694 (skip_hp_tests): new function.
4695 (gdb_preprocess): new function.
4696
4697 * configure.in (hpdir): decide whether to configure gdb.hp.
4698 * configure: regenerated.
4699
4700 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4701 to delete on clean.
4702 (EXECUTABLES): update to reflect new additions.
4703 * gdb.base/commands.exp: update message expected.
4704 * gdb.base/default.exp: add copyright notice.
4705 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4706 * gdb.base/help.exp: update messages to reflect current text.
4707 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4708 targets for recurse tests.
4709 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4710 skip this file.
4711
4712 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4713 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4714 compilation.
4715 * gdb.c++/misc.exp: ditto.
4716 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4717 run the tests. tell gdb_compile that it's a c++ compilation.
4718
4719 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4720
c906108c
SS
4721 * gdb.base/all-bin.exp: new file.
4722 * gdb.base/arithmet.exp: new file.
4723 * gdb.base/assign.exp: new file.
4724 * gdb.base/completion.exp: new file.
4725 * gdb.base/cond-expr.exp: new file.
4726 * gdb.base/condbreak.exp: new file.
4727 * gdb.base/define.exp: new file.
4728 * gdb.base/dollar.exp: new file.
4729 * gdb.base/environment.exp: new file.
4730 * gdb.base/eval-skip.exp: new file.
4731 * gdb.base/jump.exp: new file.
4732 * gdb.base/logical.exp: new file.
4733 * gdb.base/pointers.exp: new file.
4734 * gdb.base/relational.exp: new file.
4735 * gdb.base/section_command.exp: new file.
4736 * gdb.base/whatis-expr.exp: new file.
4737
4738 * gdb.base/all-types.c: new file.
4739 * gdb.base/call-array-struct.c: new file.
4740 * gdb.base/call-return-struct.c: new file.
4741 * gdb.base/call-strings.c: new file.
4742 * gdb.base/callfuncs2.c: new file.
4743 * gdb.base/condbreak.c: new file.
4744 * gdb.base/constvars.c: new file.
4745 * gdb.base/display.c: new file.
4746 * gdb.base/int-type.c: new file.
4747 * gdb.base/jump.c: new file.
4748 * gdb.base/miscexprs.c: new file.
4749 * gdb.base/pointers.c: new file.
4750 * gdb.base/pointers2.c: new file.
4751 * gdb.base/shmain.c: new file.
4752 * gdb.base/shr1.c: new file.
4753 * gdb.base/shr2.c: new file.
4754 * gdb.base/solib.c: new file.
4755 * gdb.base/solib1.c: new file.
4756 * gdb.base/solib2.c: new file.
4757 * gdb.base/varargs.c: new file.
4758 * gdb.c++/derivation.cc: new file.
4759 * gdb.c++/overload.cc: new file.
4760 * gdb.c++/ovldbreak.cc: new file.
4761 * gdb.hp/attach.c: new file.
4762 * gdb.hp/attach2.c: new file.
4763 * gdb.hp/average.c: new file.
4764 * gdb.hp/compiler.c: new file.
4765 * gdb.hp/compiler.cc: new file.
4766 * gdb.hp/execd-program.c: new file.
4767 * gdb.hp/follow-exec.c: new file.
4768 * gdb.hp/follow-fork.c: new file.
4769 * gdb.hp/follow-vfork-and-exec.c: new file.
4770 * gdb.hp/misc-hp.cc: new file.
4771 * gdb.hp/more-steps.c: new file.
4772 * gdb.hp/optimize.c: new file.
4773 * gdb.hp/quicksort.c: new file.
4774 * gdb.hp/run-hp.c: new file.
4775 * gdb.hp/start-stop.c: new file.
4776 * gdb.hp/sum.c: new file.
4777 * gdb.hp/templates-hp.cc: new file.
4778 * gdb.hp/thread-local-in-lib.c: new file.
4779 * gdb.hp/thread-local-in-lib.h: new file.
4780 * gdb.hp/thread-local-in-lib.lib.c: new file.
4781 * gdb.hp/vforked-program.c: new file.
4782 * gdb.hp/virtfunc-hp.cc: new file.
4783 * gdb.hp/watchpoint-hp.c: new file.
4784 * gdb.hp/xdb.c: new file.
4785 * gdb.hp/xdb0.c: new file.
4786 * gdb.hp/xdb0.h: new file.
4787 * gdb.hp/xdb1.c: new file.
4788
4789Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4790
4791 The following change was made by Edith Epstein
4792 <eepstein@cygnus.com> as part of a project to merge in changes
4793 originally made by HP; HP did not create ChangeLog entries.
4794
4795 * gdb.c++/demangle.exp: changed the expected output for some
4796 ARM-style mangling -- removed second reference to datatype.
4797 For example, maint demangle __dt__11T1__pt__2_cFv
4798 T1<char>::~T1<char>(void)
4799 becomes,
4800 maint demangle __dt__11T1__pt__2_cFv
4801 T1<char>::~T1(void)
4802
4803 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4804
c906108c
SS
4805Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4806
4807 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4808 * gdb.trace/backtrace.exp: Likewise.
4809 * gdb.trace/circ.exp: Likewise.
4810 * gdb.trace/collection.exp: Likewise.
4811 * gdb.trace/deltrace.exp: Likewise.
4812 * gdb.trace/infotrace.exp: Likewise.
4813 * gdb.trace/limits.exp: Likewise.
4814 * gdb.trace/packetlen.exp: Likewise.
4815 * gdb.trace/passc-dyn.exp: Likewise.
4816 * gdb.trace/passcount.exp: Likewise.
4817 * gdb.trace/report.exp: Likewise.
4818 * gdb.trace/save-trace.exp: Likewise.
4819 * gdb.trace/tfind.exp: Likewise.
4820 * gdb.trace/tracecmd.exp: Likewise.
4821 * gdb.trace/while-dyn.exp: Likewise.
4822 * gdb.trace/while-stepping.exp: Likewise.
4823
48241998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4825
4826 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4827
4828Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4829
4830 From Brendan Kehoe:
4831 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4832 int return types.
4833
4834Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4835
4836 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4837 remote dos host testing right.
4838
4839Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4840
4841 * gdb.base/corefile.exp: remove some xfails.
4842
4843Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4844
4845 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4846 have different timestamps.
4847
4848Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4849
4850 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4851 gdb.base/default.exp: Replace "exec" with "executable".
4852
4853Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4854
4855 * gdb.base/default.exp: Change else if to elseif from previous
4856 delta.
4857
4858Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4859
4860 * gdb.base/default.exp: Add brace missing from previous delta.
4861
4862Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4863
4864 * gdb.base/default.exp: Support test for info float for all
4865 varieties of arm toolchain.
4866
dc96c6c7 4867Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4868
4869 * gdb.trace/*.exp: remove "remote_download" command.
4870
dc96c6c7 4871Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4872
4873 * gdb.trace/*.exp: remove -gdwarf from compile.
4874
4875Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4876
4877 * gdb.trace/configure.in(AC_INIT): typo
4878 * gdb.trace/configure: regenerated
4879
dc96c6c7 4880Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4881
4882 * config/m68k-emc.exp: New file.
4883 * lib/<emc-support.exp trace-support.exp}: New files.
4884 * configure.in: add new test directory gdb.trace.
4885 * gdb.trace/{configure configure.in Makefile.in}: New files.
4886 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4887 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4888 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4889 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4890 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4891 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4892 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4893
dc96c6c7 4894Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4895
4896 * gdb.c++/classes.exp: Change all regular expressions to match
4897 arbitrary combinations of newline/carriage-return, so that they
4898 will work equally well on Unix and Windows.
4899 * gdb.c++/inherit.exp: ditto.
4900 * gdb.c++/virtfunc.exp: ditto.
4901
49021998-08-11 Dawn Perchik <dawn@cygnus.com>
4903
4904 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4905
c2d11a7d
JM
4906Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4907
4908 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4909 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4910 to use a0-a3/d0-d3 as needed.
4911
4912Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4913
4914 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4915 * gdb.disasm/am33.exp: Corresponding changes.
4916
c906108c
SS
49171998-07-11 Felix Lee <flee@cygnus.com>
4918
4919 * gdb.base/callfuncs.exp: add cmp10 test.
4920 * gdb.base/callfuncs.c (cmp10): new function.
4921
4922Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4923
beb998c6 4924 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4925 into two parts to get around a synchronization problem in expect.
4926
3fc11d3e
JM
4927Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4928
4929 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4930
4931 * configure.in: Add options for gdbtk testsuite.
4932
4933 * configure: Regenerate.
4934
4935 * gdb.gdbtk: New directory to hold gdbtk tests.
4936
c906108c
SS
4937Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4938
4939 * gdb.fortran/types.exp: Escape brackets in expect patterns
4940 for test_float_literal_types_accepted tests.
4941 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4942 before run test.
4943
c2d11a7d
JM
4944Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4945
4946 * am33.exp: Just compile, do not link the testcase.
4947 * am33.s: Add ".am33" pseudoop to force am33 mode.
4948
c906108c
SS
49491998-06-25 Felix Lee <flee@cygnus.com>
4950
4951 * gdb.base/setshow.exp: make sure $pc is sane.
4952
4953 * gdb.stabs/weird.exp: split expect patterns properly.
4954
c2d11a7d
JM
4955Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4956
4957 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4958 * gdb.disasm/am33.exp: Run it.
4959
dc96c6c7 4960Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4961
4962 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4963 match processing (and eliminate spurious timeouts when running).
4964
dc96c6c7 4965Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4966
4967 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4968 exception test, but conditionalize it on target [mach | gnu].
4969
dc96c6c7 4970Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4971
4972 * gdb.base/overlays.exp: fixup compile line for linker script.
4973
4974Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4975
4976 * gdb.fortran/types.exp: don't guess at float size.
4977
4978Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4979
4980 * gdb.base/exprs.exp: delete test that depends on int size.
4981
4982Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4983
4984 * config/sim.exp: Removed checks for target triplets.
4985 (gdb_target_sim): Use gdb,target_sim_options.
4986
4987Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4988
4989 * gdb.base/reread.exp: New file.
4990 * gdb.base/reread1.c: New file.
4991 * gdb.base/reread2.c: New file.
4992
4993Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4994
4995 * config/sim.exp: Use 'target sim -sparclite' when running
4996 SPARClite programs.
4997
4998Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4999
5000 * gdb.base/structs2.exp: New file.
5001 * gdb.base/structs2.c: New file.
5002
5003Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5004
5005 * gdb.asm/common.inc: New file.
5006 * gdb.asm/d10v.inc: New file.
5007 * asm-source.exp: Pass -I's to gas to find .inc files.
5008 Update line numbers in expected output.
5009 * asmsrc1.s: Rewrite.
5010 * asmsrc2.s: Rewrite.
5011 * configure.in: Create arch.inc symlink.
5012 * configure: Regenerate.
5013 * Makefile.in (distclean): Delete arch.inc.
5014
5015Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5016
5017 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5018 (t_enum_value2): ditto
5019 (t_enum_value3): ditto
5020 (main): ditto
5021Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5022
5023 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5024 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5025 change.
5026 Use gdb_test instead of send_gdb/gdb_expect sequences.
5027
5028Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5029
5030 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5031 not void.
5032
5033Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5034
5035 * gdb.base/branches.c: Code with lots of loops and
5036 subroutines. Used to test gdbs ability to single step through PC
5037 changes, especially to test mips-tdep.c:mips_next_pc
5038
5039Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5040
5041 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5042 more rigorous EGCS C++ error checking.
5043
5044Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5045
5046 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5047 tests.
c906108c 5048 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5049 function when asleep.
c906108c 5050 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5051 for i*86 Linux and SVR4 signal handling problems.
5052 Remove linux xfail for `next to handler in signals_tests_1', fixed
5053 by recent infrun.c change.
c906108c 5054 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5055 stack backtraces.
c906108c
SS
5056 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5057 target.[ch] change.
5058
5059Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5060
5061 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5062 for a newline from gdb before continuing.
5063 (default_gdb_exit): Just look for y or n.
5064 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5065 it does, fail the rests of the tests in the file.
5066
5067Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5068
5069 * config/cygmon.exp: New file.
5070
5071Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5072
5073 * gdb.base/list.exp: Fix problem with "list default lines around
5074 main" test on remote targets.
5075
5076 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5077 run test on remote targets.
5078
5079Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5080
5081 * gdb.asm: New directory.
5082 * configure.in: Configure it.
5083 * configure: Regenerate.
5084 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5085 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5086
5087Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5088
5089 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5090
dc96c6c7 5091Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5092
c906108c
SS
5093 * gdb.base/overlays (several files): Merge the two overlay
5094 managers into one. Change variables (foox, barx, bazx, grbxx)
5095 back into ints but force them to load in their proper sections.
5096
5097Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5098
5099 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5100 on-chip insn memory and IMAP1 to upper 128k.
5101 (D10VCopy): Handle memory regions crossing 16k boundaries.
5102 (D10VCopy): Transfer data in 32 bit chunks.
5103
5104Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5105
5106 * gdb.base/overlays.c (main): Exit normally when result is
5107 correct.
5108
5109 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5110 map. Include space for printf in .text segment.
5111
5112 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5113 updated d10v memory VMA/LMA map.
5114 (D10VCopy): Call D10VTranslate.
beb998c6 5115
c906108c
SS
5116Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5117
5118 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5119
5120 * gdb.base/bar.c (barx, bar): Change variable to small array so
5121 that it won't be put into the .sdata - small data -
5122 section. Update reference.
5123 * gdb.base/baz.c (bazx, baz): Ditto.
5124 * gdb.base/foo.c (foox, foo): Ditto.
5125 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5126
5127 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5128 to be arrays.
beb998c6 5129
dc96c6c7 5130Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5131
c906108c
SS
5132 * gdb.base/overlays.exp: fix up and get working again.
5133 Add tests for backtraces from an overlay function.
beb998c6 5134
c906108c
SS
5135Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5136
5137 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5138 "calling function with watchpoint enabled".
5139
5140Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5141
5142 * gdb.base/break.exp (test_next_with_recursion): Remove
5143 gdb_suppress_tests for d10v-*-*.
5144 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5145 pending review of whether it is useful or not.
5146
5147Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5148
5149 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5150
5151Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5152
5153 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5154 * config/dve.exp: New file to support Densan boards.
5155
5156Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5157
5158 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5159 reads and BSD.
5160
5161Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5162
5163 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5164 response.
5165
5166 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5167
5168Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5169
5170 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5171 test.
5172
5173 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5174 target_sizeof_long and target_bigendian_p.
5175 (structs_by_value, structs_by_reference): Check values according
5176 to targets word size and endianess.
beb998c6 5177
c906108c
SS
5178Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5179
5180 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5181 output.
5182
5183Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5184
5185 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5186 Update test of set args help to match source change.
5187
5188Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5189
5190 * gdb.base/default.exp: Expect help system output to be in
5191 alphabetical order.
5192 * gdb.base/help.exp: Ditto.
5193
5194Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5195
5196 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5197 "i*86-pc-linux-gnu*".
5198 * gdb.base/interrupt.exp: Ditto.
5199 * gdb.base/corefile.exp: Ditto.
5200
5201 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5202 define vxworks when building the testcase.
5203
5204 * gdb.base/ptype.exp: Fix testnames to be unique.
5205 * gdb.base/radix.exp: Ditto.
5206 * gdb.base/term.exp: Ditto.
5207 * gdb.base/whatis.exp: Ditto.
5208 * gdb.c++/classes.exp: Ditto.
5209
5210Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5211
5212 * gdb.base/callfuncs.exp: Fix indentation.
5213
5214 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5215 suppress_flag has been set.
5216 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5217 target feature.
5218
5219Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5220
5221 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5222 the testcase.
5223
5224 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5225 set_debug_traps() and breakpoint().
5226 * gdb.c++/misc.cc (main): Ditto.
5227 * gdb.c++/templates.cc (main): Ditto.
5228 * gdb.c++/virtfunc.cc (main): Ditto.
5229
5230Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5231
5232 * lib/gdb.exp(gdb_step_for_stub): New function.
5233 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5234 exists, reload the executable and do a "continue" instead of
5235 doing a jump.
5236 (runto_main): Use gdb_step_for_stub.
beb998c6 5237
c906108c
SS
5238 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5239 tests to have unique names.
5240 * gdb.base/callfuncs.exp: Ditto.
5241 * gdb.base/commands.exp: Ditto.
5242 * gdb.base/default.exp: Ditto.
5243 * gdb.base/help.exp: Ditto.
5244 * gdb.base/list.exp: Ditto.
5245 * gdb.base/opaque.exp: Ditto.
5246 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5247 similar tests.
beb998c6 5248
c906108c
SS
5249 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5250 * gdb.c++/cplusfuncs.cc: Ditto.
5251 * gdb.c++/virtfunc.cc: Ditto.
5252
5253 * config/monitor.exp: Keep track of the last file we saw, rather
5254 than trying to get the info from gdb.
5255
5256 * gdb.fortran/types.exp: Move comment to previous line.
5257
5258Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5259
5260 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5261 target mode.
5262
5263Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5264
5265 From Bob Manson:
5266 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5267 string from GDB when it connects.
5268
5269 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5270
5271Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5272
5273 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5274 if we can't get a debug format from GDB (we may be testing an
5275 older GDB). Use a 10 second timeout when checking for the format.
5276
5277 * gdb.stabs/weird.exp: Fix quoting.
5278
5279 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5280
5281Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5282
5283 * config/arm-ice.exp: New file.
5284
5285Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5286
5287 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5288 until it has been modified to work with the new testsuite.
5289
99707966 5290 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5291 testcase won't compile, cause all of the testcases in the file to
5292 fail instead.
5293
5294 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5295 (gdb_clear_suppressed): New procedure.
5296 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5297 it contains a positive value.
5298
5299Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5300
5301 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5302
5303 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5304
5305Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5306
5307 * lib/gdb.exp (setup_xfail_format): New function.
5308 (get_debug_format): New function to get debug format.
5309 (debug_format): New global variable to hold last value set
5310 by get_debug_format.
5311 * gdb.base/list.exp: Call get_debug_format and expect some
5312 tests to fail for DWARF 1 and COFF formats.
5313 * gdb.c++/ptype.exp: Ditto.
5314 * gdb.c++/classes.exp: Ditto.
5315 * gdb.c++/cplusfuncs.exp: Ditto.
5316 * gdb.c++/inherit.exp: Ditto.
5317 * gdb.c++/templates.exp: Ditto.
5318 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5319
c906108c
SS
5320Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5321
5322 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5323 host doesn't have a currently-open connection.
5324
5325 * config/sparclet.exp: Cleanups and fixes to make it generic for
5326 any gdb stub target. Handle cases where gdb doesn't respond when
5327 interrupted in a sane fashion.
5328
5329 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5330 same thing in a totally different way.
5331
5332 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5333 setting "timeout".
5334 (gdb_start): We set the global gdb_prompt variable in
5335 default_gdb_init now.
5336
5337Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5338
5339 * gdb.base/printcmds.exp: Fix "check for floating addition"
5340 regexp to accept results within approx +/- .01 of exact value.
5341 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5342
5343Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5344
5345 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5346 properly.
5347 (gdb_expect): Add optional timeout parameter, and add timeout
5348 value to various calls.
5349 (gdb_suppress_tests): Only give one warning message per group.
5350
5351Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5352
5353 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5354 global variables. Handle getting a value for $timeout more
5355 gracefully.
5356
5357Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5358
5359 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5360 initialize.
5361 (default_gdb_init): New procedure; allow gdb_init to be overridden
5362 by a target configuration file.
5363 (gdb_expect): Pass the timeout to remote_expect.
5364
5365 * config/monitor.exp(gdb_load): Fix typo in regexp.
5366
5367Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5368
5369 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5370
5371Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5372
5373 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5374 here. Call gdb_target_exec before rebooting the target, to make
5375 sure the connection to the target is closed.
5376 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5377 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5378 Also detect "Timeout reading from remote" error.
5379
5380 * config/gdbserver.exp: Pass the executable being loaded to
5381 gdb_target_monitor. Don't call gdb_file_cmd here; let
5382 gdb_target_monitor do it.
5383
5384 * gdb.disasm/hppa.exp: Don't use exec_output.
5385
5386Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5387
5388 * gdb.base/list.exp: If we're debugging a non-native target,
5389 try to set the pc register to point to the start of the
5390 program before doing the first list command.
5391
5392 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5393 test_calls after restarting.
5394
5395 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5396 reloading.
5397
5398 * gdb.base/watchpoint.exp: Fix typo.
5399
5400 * gdb.base/setshow.exp: Check for use_gdb_stub.
5401
5402 * gdb.base/break.exp: Fix continue until exit test for the gdb
5403 stub case.
5404 * gdb.base/langs.exp: Ditto.
5405
5406 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5407 gdb_load_offset. If we weren't given a file to load, figure out
5408 what the current file is and use it.
5409
5410 * config/i386-bozo.exp: New file.
5411
5412Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5413
5414 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5415 feature.
5416
5417 * config/proelf.exp: New entry.
5418
5419Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5420
5421 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5422 of regexps.
5423
5424 * gdb.base/watchpoint.exp: Don't run the test_stepping
5425 tests if gdb can't call functions on the target.
5426
5427 * gdb.base/setshow.exp: Don't run the set prompt tests if
5428 the board has gdb_prompt set.
5429
5430Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5431
5432 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5433 * gdb.base/commands.exp: Likewise.
5434 * gdb.base/setshow.exp: Likewise.
5435
5436Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5437
5438 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5439 feature.
5440
5441 * config/i960.exp: New file.
5442
5443Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5444
5445 * gdb.base/funcargs.exp: Check for gdb,short_int target
5446 feature instead of looking for explicit target triplets.
5447
dc96c6c7 5448Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5449
beb998c6 5450 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5451 "p 123DEADBEEF", to check parse_number.
5452 * top.c: change "to enable to enable" to "to enable" in a couple
5453 of help strings.
5454
5455Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5456
5457 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5458 on the mn10300.
beb998c6 5459
c906108c
SS
5460Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5461
5462 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5463 where the test executable is run with explicit args.
5464 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5465
5466Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5467
5468 * gdb.base/run.c: Use FAKEARGV to build test executable that
5469 does not require a command line arg, since most simulators
5470 don't currently support passing such an arg into the simulated
5471 program.
5472 * gdb.base/commands.exp: Change tests to insert the proper
5473 value as the arg to the first recursive factorial call. Change
5474 compilation line to define FAKEARGV at compile time.
5475
5476Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5477
5478 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5479 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5480 function with watchpoint enabled" test.
5481
5482Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5483
5484 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5485 Don't call gdb_test when the command doesn't return to a gdb prompt.
5486
5487 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5488 "Tests restarted" messages.
5489
5490Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5491
5492 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5493
dc96c6c7 5494Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5495
5496 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5497 for INFO SYMBOL; add help tests for OVERLAY commands.
5498 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5499 add tests for OVERLAY commands
5500 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5501 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5502 * gdb.base/sigall.c: add usestubs code frag
5503 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5504
c906108c
SS
5505Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5506
5507 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5508 failures.
5509 (gdb_stop_suppressing_tests): Note that tests have restarted.
5510
5511Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5512
5513 * config/h8300.exp: New file.
5514
5515Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5516
5517 * gdb.base/setshow.exp: Check for the existence of a
5518 feature, not its value.
5519
5520Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5521
5522 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5523
5524 * gdb.base/scope.exp: It's now init0(), not init().
5525
5526 * gdb.base/scope0.c: For now, change init() to be init0().
5527
5528 * config/monitor.exp: Use gdb_serial in preference to serial
5529 or netport.
5530
5531 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5532 and it's not already set.
5533
5534Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5535
5536 * gdb.base/setshow.exp: Only test the run command if the target
5537 isn't using a stub and if it supports argument passing.
5538
5539Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5540
5541 * config/udi.exp(gdb_start): Make sure UDICONF is set
5542 properly before starting gdb.
5543
5544Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5545
5546 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5547 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5548 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5549
5550Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5551
5552 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5553 specialized code to reboot the board, use remote_reboot instead.
5554
5555 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5556
5557 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5558
5559 * config/monitor.exp: Make sure we disconnect from the target.
5560 Also, try a reboot/reload cycle instead of failing if the
5561 load fails.
5562
5563Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5564
5565 * gdb.base/default.exp: Don't set match_max.
5566 * gdb.base/help.exp: Ditto.
5567 * gdb.base/list.exp: Ditto.
5568 * gdb.base/signals.exp: Ditto.
5569
5570 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5571 set, use remote_ld to download the testcase instead of
5572 the GDB loader.
5573
5574Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5575
5576 * config/vr5000.exp: New file.
5577
5578 * config/monitor.exp(gdb_target_monitor): Add pattern for
5579 "Ending remote" to detect errors in connecting.
5580
5581 * gdb.base/setshow.exp: Add .* within auto language test.
5582
5583 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5584 target feature.
5585
5586 * config/monitor.exp(gdb_load): Check for a failure when loading,
5587 and reboot the board if necessary.
5588
5589 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5590 a set of tests. Remove print.* from the patterns being checked.
5591
5592Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5593
5594 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5595 refer to gdb_spawn_id.
5596
5597 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5598 longer used.
5599 * config/sparclet.exp: Ditto.
5600 * config/sparclet-old.exp: Ditto.
5601 * config/slite.exp: Ditto.
5602 * config/sim.exp: Ditto.
5603 * gdb.base/funcargs.exp: Ditto.
5604
5605 * lib/gdb.exp:Remove references to gdb_spawn_id.
5606 (gdb_expect): Move to remote.exp.
5607
5608Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5609
5610 * config/monitor.exp: Detect the "Couldn't establish connection"
5611 message from GDB.
5612
5613Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5614
5615 * gdb.base/bitfields.exp: Use runto instead of explicit
5616 gdb_run_cmd/gdb_expect sequences.
5617
5618 * gdb.base/break.exp(text_next_with_recursion): Add match for
5619 gdb_expect call.
5620
5621 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5622 We also need to handle the "A program is being debugged already"
5623 prompt from gdb. Use gdb_test to set the baud rate.
5624
5625 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5626 to 20000. Really. I mean it.
5627
5628Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5629
5630 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5631 fails. If suppress_flag is set, skip perror message about not
5632 being able to send to GDB.
5633 (send_gdb): If suppress_flag is set, don't try to send commands to
5634 GDB.
5635 (gdb_expect): If suppress_flag is set, always fail immediately.
5636 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5637 (gdb_init): Call gdb_stop_suppressing_tests.
5638 (default_gdb_exit): Ditto.
5639 (default_gdb_start): Ditto.
5640
5641 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5642 gdb_stop_suppressing_tests as appropriate.
5643 * gdb.base/break.exp: Ditto.
5644 * gdb.base/callfuncs.exp: Ditto.
5645 * gdb.base/commands.exp: Ditto.
5646 * gdb.base/exprs.exp: Ditto.
5647 * gdb.base/funcargs.exp: Ditto.
5648 * gdb.base/list.exp: Ditto.
5649 * gdb.base/recurse.exp: Ditto.
5650 * gdb.base/scope.exp: Ditto.
5651 * gdb.base/structs.exp: Ditto.
5652 * gdb.c++/inherit.exp: Ditto.
5653
5654Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5655
5656 * config/vr4300.exp: New file.
5657
99707966
MC
5658 * gdb.*/*.exp: Call gdb_expect instead of expect.
5659
5660 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5661
5662Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5663
5664 * lib/gdb.exp(gdb_init): New function.
5665
5666 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5667 for each individual variable set.
5668
5669 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5670 name.
5671
5672 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5673
5674 * gdb.base/scope.exp: Use gdb_test.
5675
5676 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5677 aborting; the testsuite driver will do that for us (see
5678 gdb_finish). Also, use gdb_test in a few more places.
5679
5680Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5681
5682 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5683
5684Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5685
5686 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5687 and "add_tests" are not at the same address.
5688
5689Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5690
5691 * gdb.base/ptype.exp: Use gdb_test.
5692
5693Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5694
5695 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5696 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5697 left in. No longer expect them to fail.
5698
5699 * gdb.stabs/*.mt; Deleted, no longer used.
5700 * gdb.stabs/configure.in: Remove references to target makefile
5701 frags.
5702 * gdb.stabs/configure: Rebuilt.
5703
5704 * gdb.disasm/*.mt: Deleted, no longer used.
5705 * gdb.disasm/configure.in: Remove references to target makefile
5706 frags. Use "sh3.s" as the unique filename for this directory.
5707 * gdb.disasm/configure: Rebuilt.
5708
5709 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5710 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5711 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5712
5713Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5714
5715 * config/udi.exp: Use mondfe,name instead of remote_host.
5716
5717Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5718
5719 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5720 a function with a watchpoint enabled on the mn10200.
5721
5722 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5723 before trying to create it!
5724
5725Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5726
5727 * config/vx.exp: Use hostname instead of netport.
5728
5729 * config/vxworks.exp: New file.
5730
5731 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5732
5733 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5734 gdb before assuming everything worked. Send a ^C if a timeout
5735 occurs.
5736
5737 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5738 $gdb_spawn_id directly.
5739 (gdb_run_cmd): Try _start as well as start. Use the target feature
5740 gdb,start_symbol as the symbol to start from when jumping.
5741
5742Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5743
5744 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5745 redundant) test.
5746
5747 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5748 it doesn't lose for 16bit integer systems.
5749
5750Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5751
5752 * gdb.fortran/types.exp: If the target doesn't support "double"
5753 data types, then expect "real" types to only be 4 bytes.
5754
5755 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5756 call tests if the target doesn't support inferior function calls.
5757
5758 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5759 in printf tests.
5760
5761Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5762
5763 * gdb.base/help.exp: Disable "help set", "help show", and
5764 "help support". Simplify regexp for "help stack".
5765
5766 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5767 to 60 seconds. Temporarily set match_max to 15000 around the
5768 "info copying" test.
5769
5770 * gdb.base/nodebug.exp: Don't try to do an inferior function
5771 call if the target doesn't support them.
5772 * gdb.base/printcmds.exp: Likewise.
5773 * gdb.base/setvar.exp: Likewise.
5774 * gdb.base/structs.exp: Likewise.
5775 * gdb.c++/templates.exp: Likewise.
5776 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5777
5778 * gdb.base/recurse.exp: Enable for the mn10200.
5779
5780 * configure.in: Do configure gdb.stabs directory for *-*-elf
5781 targets.
5782 * configure: Rebuilt.
5783
5784 * gdb.base/break.exp: Check for gdb,noresults before testing
5785 exit status and/or results from the target.
5786 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5787 * lib/gdb.exp: Remove old (now bogus) initialization of
5788 noinferior, noargs, noresults and nosignals.
5789
5790Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5791
5792 * config/sh.exp: New file.
5793
5794 * config/slite.exp: Try to connect multiple times to the board
5795 before rebooting. Only send a "monitor run" if need_monitor_run
5796 is set.
5797
5798 * gdb.base/break.exp: Don't do the "stub continue" test if
5799 the target has gdb_stub set.
5800
5801 * gdb.base/callfuncs.exp: Increase the timeout.
5802
5803 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5804 if the target has gdb,noinferiorio set.
5805
5806 * gdb.base/list.exp: Increase match_max to 10000 characters.
5807
5808 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5809
5810 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5811 target.
5812
5813 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5814
5815Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5816
5817 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5818 trying to delete the copy of gdb. Catch the file delete so we
5819 don't die if the delete fails; also, the file should be copied to
5820 the host, not to the build.
5821
5822Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5823
5824 * lib/gdb.exp(gdb_test): Surround the result pattern with
5825 parenthesis in case it contains multiple regexps separated
5826 with |.
5827
5828 * gdb.base/watchpoint.exp: Use gdb_test.
5829 * gdb.base/default.exp: Ditto.
5830
5831Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5832
99707966 5833 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5834
c906108c
SS
5835 * gdb.base/scope.exp: Use gdb_test.
5836 * gdb.c++/classes.exp: Ditto.
5837 * gdb.c++/inherit.exp: Ditto.
5838
5839Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5840
5841 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5842 remote_exec instead.
5843 * gdb.base/corefile.exp: Don't be ridiculous.
5844 * gdb.base/*.c: Add missing stub invocations.
5845
5846Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5847
5848 * config/slite.exp: Miscellaneous fixes.
5849
5850 * lib/gdb.exp: Fix runto.
5851
5852 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5853 the target.
5854
5855 * gdb.base/watchpoint.exp: Fix regexp.
5856
5857 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5858 close and wait commands, as the descriptor may now be
5859 invalid. Always call "remote_close host".
5860
5861Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5862
5863 Major rewrite for testsuite revision.
beb998c6 5864
c906108c
SS
5865 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5866 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5867 instead of relying on spawn_id to always contain a valid
5868 spawn id.
5869 (get_compiler_info): New procedure to build the ${binfile}.ci
5870 file, instead of replicating this in N different places.
5871 (gdb_compile): New procedure.
beb998c6 5872
c906108c
SS
5873 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5874 appropriate arguments) instead of compile. Use gdb_test in a lot
5875 more places. Use send_gdb instead of send. Always run gdb_start
5876 at the start of a testcase, as this is no longer done magically.
5877
5878 config/*-gdb.exp: Rename without the -gdb suffix.
5879
5880 config/mips.exp: Use remote_close instead of exit_remote_shell.
5881 config/monitor.exp: Use target_info instead of looking at
5882 baud, timeout, etc.
5883 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5884
5885Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5886
5887 * gdb.c++/templates.exp (test_ptype_of_templates),
5888 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5889 Update expect patterns for destructors and assignment operators
5890 to match corresponding c-typeprint.c changes.
5891 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5892 to destructor breakpoint test, GDB should be able to set the
5893 destructor breakpoint without specifying arguments.
5894
5895Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5896
5897 * gdb.threads/pthreads.exp: Change result for failure to compile due
5898 to lack of pthreads runtime support from an error to simply an
5899 unsupported test, per dejagnu standards.
5900
5901Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5902
5903 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5904 where GDB exits to reduce pattern match time.
5905 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5906
5907 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5908
dc96c6c7 5909Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5910
5911 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5912 * gdb.base/default.exp: ditto.
5913 * gdb.base/nodebug.exp: ditto.
5914 * gdb.base/printcmds.exp: ditto.
5915 * gdb.base/ptype.exp: ditto.
5916 * gdb.base/setvar.exp: ditto.
5917 * gdb.base/structs.exp: ditto.
5918 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5919
5920Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5921
5922 * configure, */configure: Rebuild with autoconf 2.12.
5923
5924Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5925
5926 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5927 use new i*86-pc-linux*-gnu quads.
5928 * gdb.base/corefile.exp: Ditto.
5929 * gdb.base/signals.exp: Ditto.
5930 * gdb.base/sigall.exp: Ditto.
5931 * gdb.base/interrupt.exp: Ditto.
5932
5933 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5934 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5935 RedHat 4.0.
beb998c6 5936
c906108c
SS
5937 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5938 linux. This allows the test case to at least compile on latest
5939 linux, but still not run due to missing the threads runtime library.
5940
5941Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5942
5943 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5944 directory to search gdb directory. Accept and step over conditional
5945 stack alignment code. Consume $prompt in failure cases.
5946 Reset timeout to $oldtimeout instead of some arbitrary value.
5947 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5948 timeout problems with infinite stack backtraces.
5949 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5950 Accept function parameters for linkfunc member.
5951
5952Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5953
5954 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5955 (CXXFLAGS): Remove, unreferenced.
5956 (B_OPTIONS): Add for -B options and add code to initialize with
5957 previous -B options and also add -B option to pick up cross compiled
5958 runtime.
5959 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5960 doing cross compiles.
5961 (target_alias): Declare global.
5962 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5963 to verify that gcc exists in build tree, and if so set CC to that
5964 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5965
c906108c
SS
5966Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5967
5968 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5969 ptype test for anonymous union. Fixup testcase to match
5970 current gcc debug output.
5971
5972Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5973
5974 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5975 force argument to an unsigned long type.
5976
5977Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5978
5979 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5980 tests and anonymous union print/ptype tests.
5981 * gdb.base/list.exp (test_forward-search): Increase timeout by
5982 5 minutes for the "search extremely long line" case.
5983 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5984 completely optional and that the pass/fail messages use the command as
5985 the message if that third arg is a null string.
5986 (gdb_test_exact): Arrange that a null string pattern means match a
5987 null string output rather than any output, which might include random
5988 errors.
5989 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5990 backtrace test.
5991 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5992 always failing and failure is now exposed by gdb.exp changes.
5993
5994Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5995
5996 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5997 weren't being noted.
5998
5999Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6000
6001 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6002 * gdb.stabs/weird.exp: Remove v_comb xfails.
6003
dc96c6c7 6004Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6005
6006 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6007 list.exp scope.exp watchpoint.exp]
6008 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6009
dc96c6c7 6010Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6011
6012 * config/monitor.exp: Increase download timeout to 1000 seconds.
6013
dc96c6c7 6014Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6015
6016 * config/m32r.exp: Increase timeout to 120 seconds.
6017
6018Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6019
6020 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6021 and accept older ordering as obsolescent gcc or gdb.
6022 * gdb.c++/templates.exp: Ditto.
6023 * gdb.c++/virtfunc.exp: Ditto.
6024
6025Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6026
6027 * gdb.base/coremaker.c: Add code to mmap some data so we
6028 can check that it ends up in the core file.
6029 * gdb.base/corefile.exp: Add test to read mmapped data
6030 from core file.
6031
dc96c6c7 6032Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6033
6034 * config/m32r.exp: New file.
6035
6036Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6037
6038 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6039 that cflags can contains -gstabs, and work correctly for other tests.
6040
dc96c6c7 6041Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6042
6043 * gdb.base/setshow.exp: New file, tests show and set.
6044 * gdb.base/setshow.c: New file, tests show and set.
6045 * gdb.base/help.exp: Add test for help set|show annotate.
6046 * gdb.base/default.exp: Add test for set|show annotate.
6047
6048Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6049
6050 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6051 errors unique.
6052 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6053 explicitly.
6054
6055Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6056
6057 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6058 and width commands. This is done elsewhere.
6059 * (gdb_start): Don't call gdb_start_sim here. That's already
6060 done in gdb_load. This fixes lots of failures in default.exp.
6061
6062Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6063
6064 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6065 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6066 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6067 in the same we we treat other failures (since it may be an expected
6068 condition), rather than as an error.
6069 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6070 old test format.
6071
6072Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6073
6074 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6075 (distclean maintainer-clean realclean): No need to remove files
6076 twice. Nuke the duplicates.
6077 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6078 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6079 Remove config.h along with other config files.
6080
6081Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6082
6083 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6084 "p func1 ()" and note that rests of tests are skipped.
6085 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6086 setup_xfails for "print func2::coremaker_local".
6087 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6088 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6089 affected by the previous run test.
6090 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6091 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6092 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6093 "pass int powerset tuple" and "pass modeless int powerset tuple".
6094 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6095 "real write 4" and "real write 8".
6096 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6097 setup_xfails for "print vs1 after tuple assign 2",
6098 "print \$i after tuple assign 2", and
6099 "print vs2 after tuple assign 2".
6100 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6101 meaningful error message and return -1 so the caller can
6102 suppress further tests and avoid a cascade of errors.
beb998c6 6103
c906108c
SS
6104Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6105
6106 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6107 format for printing version.
6108 * gdb.base/default.exp: Ditto.
6109 * gdb.base/interrupt.exp: Fix problem with cascade of
6110 errors if child process dies while calling a function.
beb998c6 6111
c906108c
SS
6112Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6113
6114 * Makefile.in (VPATH): Add
6115 * Makefile.in (Makefile, config.status): Fix rules so things get
6116 remade when necessary.
6117
6118Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6119
6120 * Makefile.in (just-check): Add path to sibling expect dir
6121 to environment variable specified by RPATH_ENVVAR.
6122
6123Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6124
6125 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6126 (just-check): Add shared library paths for libstdc++, tk,
6127 tcl, bfd, and opcodes to the environment variable specified
6128 in RPATH_ENVVAR.
6129 * configure.in: Add support to recognize --enable-shared flag
6130 and generate correct value for RPATH_ENVVAR.
6131 * configure: Regenerated with autoconf.
6132
6133Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6134
6135 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6136 include all osf versions.
6137 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6138 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6139 when target is linux. When failing to build pthreads test
6140 executable, give more meaningful message.
6141 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6142 arg for pthread_create.
beb998c6 6143
c906108c
SS
6144Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6145
6146 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6147 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6148 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6149 and -lpthreads (everybody else).
6150 (test_startup): Fail gracefully if threads are not supported.
6151 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6152 "p/c array_index("abcdef",2)" when not gcc compiled.
6153 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6154 "print func2::coremaker_local" when not gcc compiled.
6155 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6156 "ptype on opaque struct tagname (statically)",
6157 "ptype on opaque struct tagname (dynamically) 1", and
6158 "ptype on opaque struct tagname (dynamically) 2"
6159 for not compiled with gcc.
6160 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6161 backtrace when compiled with gcc.
beb998c6 6162 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6163 than always return success.
6164
6165Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6166
6167 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6168
6169Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6170
6171 * gdb.base/structs.exp: Undo last change.
6172
6173Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6174
6175 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6176 encapsulate all the steps/nexts done during self test, starting
6177 at main, and makes them less sensitive to optimization issues.
6178 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6179 signal handler" test.
6180 * gdb.threads/pthreads.exp: Only run this for native configs.
6181 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6182 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6183 tests.
6184 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6185 for "runto test_calls(void)" test.
beb998c6 6186
c906108c
SS
6187Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6188
6189 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6190 and don't expect address info in breakpoint confirmations.
6191
6192Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6193
6194 * gdb.base/list.exp (test_forward_search): Increase timeout
6195 temporarily by 60 seconds for searching extremely long line,
6196 and then reset to old value when done. Increase expect input
6197 buffer to 10000.
6198
6199Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6200
6201 * gdb.base/list.exp (test_forward_search): Fix to handle very
6202 long source line without overflowing expect's input buffer.
6203
6204Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6205
6206 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6207 "buffer_full".
6208
6209 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6210 "buffer_full".
6211
6212 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6213 "buffer_full".
6214
6215 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6216 "buffer_full".
6217
6218Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6219
6220 * configure.in (configdirs): Add gdb.threads.
6221 * configure: Regenerated with autoconf.
6222 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6223 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6224 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6225
c906108c
SS
6226Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6227
6228 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6229
6230Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6231
6232 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6233 each signal's status in the output of "handle all print".
6234 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6235 the \r\n sequence that immediately precedes the gdb prompt.
6236 * gdb.base/a1-selftest.exp: Save original timeout and restore
6237 after test.
6238
6239Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6240
6241 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6242 symbol.
6243
6244Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6245
6246 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6247
6248Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6249
6250 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6251 timeout by 60 seconds.
6252
6253Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6254
6255 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6256 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6257 error return.
6258
6259Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6260
6261 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6262 gdb initialization, also report how long dejagnu waited. Restore
6263 old timeout before doing error return. Temporarily increase timeout
6264 by 3 minutes to allow for slow startups over heavy NFS use.
6265
6266Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6267
6268 * lib/gdb.exp: Report timeout value for verbosity level 2.
6269 * config/gdbserver.exp: Ditto.
6270 * config/hppro.exp: Ditto.
6271 * config/mips-gdb.exp: Ditto.
6272 * config/monitor.exp: Ditto.
6273 * config/netware.exp: Ditto.
6274 * config/sim-gdb.exp: Ditto.
6275 * config/slite-gdb.exp: Ditto.
6276 * config/udi-gdb.exp: Ditto.
6277 * config/unix-gdb.exp: Ditto.
6278 * config/vx-gdb.exp: Ditto.
6279 * gdb.base/a1-selftest.exp: Ditto.
6280 * gdb.base/a2-run.exp: Ditto.
6281 * gdb.base/break.exp: Ditto.
6282 * gdb.base/corefile.exp: Ditto.
6283 * gdb.base/list.exp: Ditto.
6284 * gdb.base/recurse.exp: Ditto.
6285 * gdb.base/scope.exp: Ditto.
6286 * gdb.base/signals.exp: Ditto.
6287
6288Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6289
6290 * gdb.threads/Makefile.in (docdir): Removed.
6291
6292Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6293
6294 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6295 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6296 @srcdir@.
beb998c6 6297 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6298 autoconf 2.5 or higher.
6299 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6300
6301Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6302
6303 * configure: Regenerated.
6304 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6305 avoid name clashes with SunOS headers.
6306
6307Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6308
6309 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6310
6311Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6312
6313 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6314 prototype information ends up in the compiler info file.
6315
6316Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6317
6318 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6319 attempting to regenerate it. Eliminate use of a temporary file
6320 and just generate the info file directly. Source it immediately,
6321 for consistency of use.
6322 * gdb.base/corefile.exp: Ditto
6323 * gdb.base/exprs.exp: Ditto.
6324 * gdb.base/funcargs.exp: Ditto.
6325 * gdb.base/langs.exp: Ditto.
6326 * gdb.base/list.exp: Ditto.
6327 * gdb.base/mips_pro.exp: Ditto.
6328 * gdb.base/nodebug.exp: Ditto.
6329 * gdb.base/opaque.exp: Ditto.
6330 * gdb.base/ptype.exp: Ditto.
6331 * gdb.base/scope.exp: Ditto.
6332 * gdb.base/setvar.exp: Ditto.
6333 * gdb.base/signals.exp: Ditto.
6334 * gdb.base/whatis.exp: Ditto.
6335 * gdb.c++/templates.exp: Ditto.
6336 * gdb.c++/virtfunc.exp: Ditto.
6337 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6338 whether or not to add -lstdc++ to the compile command line args.
6339
6340Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6341
6342 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6343 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6344 Increase timeout, a lot of single stepping might be needed if the
6345 target has no hardware watchpoints.
6346
6347Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6348
6349 * gdb.base/break.exp: Ignore compiler warnings when compiling
6350 break.c.
6351 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6352 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6353 from remote-sim.
6354 * gdb.base/exprs.exp: Add h8300 xfails.
6355 * gdb.base/funcargs.exp: Likewise.
6356 * gdb.base/nodebug.exp: Likewise.
6357 * gdb.base/printcmds.exp: Likewise.
6358 * gdb.base/ptype.exp: Likewise.
6359 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6360 h8300 xfails.
beb998c6 6361 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6362 on the h8300.
6363 * gdb.base/funcargs.c: Explicitly make last constant argument to
6364 call_after_alloca_subr an unsigned long type.
6365 * gdb.base/return.c: Include stdio.h.
6366
6367Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6368
6369 * config/abug.exp: New file for the older Motorola Bug monitor
6370 that runs on the mvme13x series VME boards.
6371 * config/monitor.exp: Use the new config array for target settings
6372 if they exist.
6373
6374Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6375
6376 * sim-gdb.exp: Make the SH simulator allocate less space when
6377 it is targeted.
6378
6379Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6380
6381 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6382 test.
6383
6384Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6385
6386 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6387 "rs6000-*-*" for "list function in include file" when gcc compiled.
6388 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6389 for "p ctable1[120]".
6390 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6391 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6392 Remove setup_xfail for "rs6000-*-*" for
6393 "print 'scope0.c'::filelocal before run".
6394 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6395 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6396 since some compilers don't allow both options to be given
6397 on the same command line. Create object file and move it.
beb998c6 6398
c906108c
SS
6399Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6400
6401 * gdb.base/corefile.exp: Always regenerate the core file, since
6402 we always regenerate the coremaker program. Detect special case
6403 where registers cannot be read from core file.
beb998c6 6404
c906108c
SS
6405Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6406
6407 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6408 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6409 * gdb.c++/templates.exp: Only match on basename of file since
6410 some formats like xcoff don't encode directory information.
6411 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6412 and rs6000 AIX xcoff targets.
6413 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6414 * configure: Regenerate.
6415 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6416 here, rather than in distclean.
beb998c6 6417
c906108c
SS
6418Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6419
6420 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6421 defined, and use it to compile the test case with -O2. The
6422 native compilation still uses no optimization.
6423 * gdb.base/mips_pro.c: Remove inline assembly code since
6424 it is compiled PIC by default, which results in assembler
6425 warnings that make the testsuite think the compilation
6426 was unsuccessful.
6427
6428Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6429
6430 * gdb.c++/misc.exp: Add note to message for
6431 "print s.a for foo struct" that this is a known gcc 2.7.2
6432 and earlier bug.
6433
6434Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6435
6436 * gdb.base/break.exp: Fix pattern for matching "Delete all
6437 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6438 setup_xfail for deleting all breakpoints test. Fix various
6439 timeout messages to include "(timeout)".
6440 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6441 for "p t_float_values2(3.14159,float_val2)".
6442 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6443 for "continue to call2g" when gcc compiled.
6444 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6445 "up to foo in langs.exp", "show language at foo in langs.exp",
6446 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6447 and "show language at fsub in langs.exp".
6448 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6449 "list line 1 in include file", "list message for lines past EOF",
6450 "list function in include file", "list list0.h:foo", and
6451 "list filename:function; nonexistant function".
6452 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6453 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6454 and "ptype t_char_array" to be for native cc only.
beb998c6 6455
c906108c
SS
6456Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6457
beb998c6 6458 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6459 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6460 "print func2::coremaker_local", and "backtrace in corefile.exp".
6461
6462Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6463
6464 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6465 "bt in signals.exp". This problem only appears when running
6466 the testsuite, and then only intermittently.
6467
6468Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6469
6470 * gdb.base/return.exp (return_tests): Differentiate between
6471 two tests of continuing.
6472
6473Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6474
6475 * */Makefile.in (maintainer-clean): Remove config.log.
6476 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6477 * gdb.c++/Makefile.in (PROGS): Add inherit.
6478 (clean): Remove *.ci.
6479
6480Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6481
6482 * gdb.c++/misc.cc: Add test code from Mike Stump.
6483 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6484
6485Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6486
6487 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6488 to "alpha-*-osf2*" and add comment.
6489 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6490 setup_xfail for "step over execarg initialization" and
6491 "step over corearg initialization".
6492 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6493 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6494 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6495 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6496 "print func2::coremaker_local", and "backtrace in corefile.exp".
6497 * gdb.base/signals.exp: Build and source signals.ci.
6498 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6499 to be for gcc only.
6500 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6501
c906108c
SS
6502Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6503
6504 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6505 Feb 3 procfs.c change.
6506
6507Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6508
6509 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6510
6511Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6512
6513 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6514 from dejagnu's apparent default of 10 seconds, which gives random
6515 results when running the tests over NFS on moderately loaded systems.
6516 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6517
6518Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6519
6520 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6521 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6522 result reports.
6523
6524Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6525
6526 * configure.in (CY_AC_PATH_TCLH): Remove.
6527 * configure: Regenerate.
6528
6529Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6530
6531 * gdb.c++/Makefile.in (clean): Add missing '{'.
6532
6533Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6534
6535 * lib/gdb.exp: Provide a default value for noinferior.
6536
6537 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6538 Load libgloss.exp.
6539
6540Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6541
6542 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6543 the executable, not the .o to run the tests from.
6544
6545Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6546
6547 * gdb.base/break.exp: Don't test for program exit or exit status
6548 if $noresults if nonzero.
6549 * gdb.base/langs.exp: Likewise.
6550 * gdb.base/watchpoint.exp: Likewise.
6551
6552 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6553 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6554 trying to compile the testcase.
6555
6556Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6557
6558 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6559 * gdb.base/signals.exp (continue to handler): Likewise.
6560
6561Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6562
6563 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6564
6565 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6566
6567Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6568
6569 * gdb.base/corefile.exp: Recognize "not found" as failure
6570 when trying to determine if a core file was generated.
6571 If no core file was generate the first time, try again without
6572 the ulimit -c to work around braindamaged shells.
6573
6574Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6575
6576 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6577 [] tests with "test" and enclose string in quotes.
6578 * gdb.stabs/configure: Rebuild
beb998c6 6579
c906108c
SS
6580Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6581
6582 Changes in sync with expect:
6583 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6584 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6585 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6586 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6587 argument to AC_REQUIRE.
6588 * configure: Regenerated.
6589
6590Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6591
6592 * gdb.base/corefile.exp: When generating a core, discard any
6593 error messages about ulimit not found and the "core dumped"
6594 message from the shell that runs the coredumper.
6595
6596Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6597
6598 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6599
6600 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6601 which sed script to run. Expect failure for v_comb test
6602 on PA targets too.
beb998c6 6603
c906108c
SS
6604Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6605
6606 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6607 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6608
6609Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6610
6611 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6612 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6613 "sparc-sun-solaris*" xfails for "p v_comb".
6614 * lib/gdb.exp (default_gdb_start): Fix typo.
6615 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6616 messages to not include the full program name that caused
6617 the core dump since some systems (such as solaris) apparently
6618 truncate this path to about 80 characters.
6619 When generating a core file first try increasing the core file
6620 size limit to unlimited since some systems may default it to
6621 zero, and it is harmless to try it. Move the test for failing
6622 to generate a core file to where it will actually get executed.
6623 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6624 new gdb result from g++ debug info improvements and make old
6625 pattern obsolescent. Also account for size_t differences
6626 (may be int or long).
6627 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6628 initialization before function call is placed in the delay slot
6629 and thus appears to be skipped over by commands such as "next".
6630
6631Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6632
6633 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6634
6635Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6636
6637 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6638 input source file; fix code to compile test to deal with this
6639 convention.
6640 * gdb.c++/*.exp: Likewise.
6641
6642Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6643
6644 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6645 "bt in signals.exp".
6646
6647Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6648
6649 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6650 "step over execarg initialization" and
6651 "step over corearg initialization".
6652
6653Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6654
6655 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6656 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6657
6658Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6659
6660 From Rob Savoye (rob@poseidon.cygnus.com)
6661 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6662 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6663 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6664 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6665 configure.in}: Major reworking for autoconfig.
6666 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6667 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6668 New files.
6669 * config/unix-gdb.exp: Make GDB global.
6670 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6671 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6672 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6673 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6674 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6675 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6676 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6677 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6678 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6679 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6680 pr-8136.exp, result.exp, string.exp, tuples.exp},
6681 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6682 to returns as necessary, arrange for test to compile own testcase
6683 executable.
6684 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6685
c906108c
SS
6686Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6687
6688 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6689 clear_xfail at end of test which might not call either pass or fail.
6690 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6691 "backtrace through signal handler".
6692
6693Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6694
6695 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6696 continuing from a job control stop signal.
6697 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6698
6699Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6700
6701 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6702 * gdb.base/corefile.exp: Likewise.
6703 * gdb.base/funcargs.exp: Likewise.
6704
6705Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6706
6707 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6708 * config/monitor.exp: Add support for setting baud rate.
6709
6710Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6711
6712 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6713 i*86-*-linux* xfails for "backtrace through signal handler".
6714 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6715 "print func2::coremaker_local".
6716 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6717 alpha-dec-osf2* xfail for
6718 "delete all breakpoints when none".
6719
6720Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6721
6722 * gdb.base/break.exp: Change test that deletes all breakpoints
6723 when no user breakpoints are installed. A post 4.15 change
6724 causes gdb to no longer prompt in this case.
6725
6726Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6727
6728 * gdb.base/return.exp (return_tests): Change xfail for test
6729 "correct value returned double test" to stop xfailing at
6730 Solaris 2.5. Apparently the bug has been fixed.
6731
6732Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6733
6734 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6735 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6736
6737Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6738
6739 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6740 * gdb.disasm/hppa.s: Corresponding changes.
6741
6742Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6743
6744 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6745 makefile fragment.
6746 * config/mt-hpux: Deleted.
6747
6748Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6749
beb998c6 6750 * Many files: When warning about suppressed tests due to a
c906108c
SS
6751 nonexistant test binary, avoid incrementing the warning count.
6752
6753Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6754
6755 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6756
c906108c
SS
6757Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6758
6759 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6760 "sparc-*-solaris2*".
6761
6762Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6763
6764 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6765 Add global and local variables and initialize them.
6766 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6767 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6768 extracts the file name and terminating signal from the core file.
6769 * TODO: Remove note about tests for correct mapping of corefile.
6770 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6771 from optimizing it away.
6772 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6773 handles common blocks.
6774
6775Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6776
6777 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6778 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6779
6780Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6781
6782 * Makefile.in (maintainer-clean): New target, synonym for
6783 realclean.
6784 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6785 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6786 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6787 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6788 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6789 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6790
6791Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6792
6793 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6794 xfails when not gcc compiled for "print foo::funclocal".
6795 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6796 "print foo::funclocal at foo",
6797 "print 'scope1.c'::foo::funclocal at foo",
6798 "print foo::funclocal_bss at foo",
6799 "print 'scope1.c'::foo::funclocal_bss at foo",
6800 "print foo::funclocal_ro at foo",
6801 "print 'scope1.c'::foo::funclocal_ro at foo",
6802 "print bar::funclocal at foo" and
6803 "print 'scope1.c'::bar::funclocal at foo".
6804 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6805 gcc compiled for "print foo::funclocal at bar".
6806 Expand all messages to ensure that they identify that
6807 the test is at bar().
6808 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6809 gcc compiled for:
6810 "ptype on opaque struct pointer (statically)",
6811 "ptype on opaque struct tagname (statically)",
6812 "ptype on opaque struct pointer (dynamically) 1",
6813 "ptype on opaque struct tagname (dynamically) 1",
6814 "ptype on opaque struct pointer (dynamically) 2" and
6815 "ptype on opaque struct tagname (dynamically) 2
6816 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6817 gcc compiled for:
6818 "p datalocal"
6819 "whatis datalocal",
6820 "ptype datalocal",
6821 "p bsslocal",
6822 "whatis bsslocal", and
6823 "ptype bsslocal".
6824 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6825 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6826 when not gcc compiled.
6827 * gdb.base/funcargs.exp (float_and_integral_args): Add
6828 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6829 compiled.
6830 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6831 "backtrace from call6a" when not gcc compiled.
6832 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6833 "backtrace from call7a" when not gcc compiled.
6834 * gdb.base/callfuncs.exp (do_function_calls):
6835 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6836 "p t_char_array_values(char_array_val2,char_array_val1)",
6837 "p t_char_array_values(char_array_val1,char_array_val2)",
6838 "p t_char_array_values("carray 1","carray 2")",
6839 "p t_char_array_values("carray 1",char_array_val2)",
6840 "p t_char_array_values(char_array_val1,"carray 2")",
6841 "p sum_args(1,{2})",
6842 "p sum_args(2,{2,3})",
6843 "p sum_args(3,{2,3,4})",
6844 "p sum_args(4,{2,3,4,5})"
6845 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6846 "backtrace in corefile.exp" when not gcc compiled.
6847
6848Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6849
6850 * gdb.base/signals.exp: Rewrite `handle all print' test as
6851 a procedure. Accept blanks or TABs as whitespace, increase
6852 timeout and expect input buffer size for the large output
6853 from the command. Remove "i*86-*-bsdi2.0" xfail.
6854
6855Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6856
6857 * gdb.base/setvar.exp: Add new testcases for truncation when
6858 assigning invalid values to bitfields.
6859
6860Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6861
beb998c6 6862 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6863 mips-sgi-irix* xfail for
6864 "call inferior func with struct - returns char *"
6865 and fix test so that an optional (unsigned char *) cast is
6866 accepted in the result.
6867
6868Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6869
6870 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6871 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6872 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6873 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6874 that accidentally got checked in.
6875
6876Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6877
beb998c6 6878 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6879 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6880 compiled test.
6881 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6882 Add mips-sgi-irix5* xfail for not gcc compiled.
6883 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6884 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6885 "p top", "whatis top", "p middle", and "whatis middle".
6886 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6887 "whatis signed char" for not gcc compiled.
6888 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6889 "set variable signed char=-1 (-1)" and
6890 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6891 * gdb.base/funcargs.exp (float_and_integral_args):
6892 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6893 Add mips-sgi-irix* xfail when not gcc compiled for
6894 "continue to call2b".
6895 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6896 "continue to call2g".
6897 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6898 "backtrace from call6a"
6899 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6900 "backtrace from call7k".
6901 Add mips-sgi-irix5* xfail when not gcc compiled for
6902 "backtrace from call7a".
6903 (localvars_after_alloca): Fix gdb_test cmds for
6904 "print * after runto ...".
6905 Remove rs6000-*-* xfails for
6906 "print i after runto localvars_after_alloca" and
6907 "print l after runto localvars_after_alloca"
6908 for all compilers.
6909 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6910 when not compiled with gcc, for:
6911 "print signed char == (minus)",
6912 "print signed char != (minus)",
6913 "print signed char < (minus)",
6914 "print signed char > (minus)".
6915 * gdb.base/callfuncs.exp (do_function_calls):
6916 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6917 "call inferior func with struct - returns char *".
beb998c6 6918 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6919 "correct value returned double test" to include Solaris 2.4.
6920 * gdb.base/funcargs.exp (float_and_integral_args):
6921 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6922
c906108c
SS
6923Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6924
6925 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6926 enumeration bitfields if compiling with GNU C.
6927 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6928 to empty' prompt.
6929
6930Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6931
6932 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6933 test for PRO targets.
6934
6935 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6936 breakpoints in the inferior at any given time by making
6937 two groups of breakpoints for call2*, call6* and call7*
6938 tests.
6939
6940Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6941
6942 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6943 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6944 from optimizing it away.
6945 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6946 "call inferior func with struct".
6947
6948Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6949
6950 * configure.in: Only configure gdb.chill for particular targets.
6951
6952Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6953
6954 * gdb.base/Makefile.in: Add action to .c.o transformation
6955 rule that generates a .ci file for each .o file and remove
6956 explicit .c.o rules except for callfuncs.o.
6957 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6958 generates a .ci file for each .o file and remove explicit
6959 .cc.o rules.
6960 (clean): Remove *.tmp *.ci files.
6961 (EXECUTABLES): Remove templ-info.exp.
6962 * gdb.base/compiler.c: New file.
6963 * gdb.c++/compiler.cc: New file
6964 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6965 Change rs6000-*-* xfail for
6966 "print 'scope0.c'::filelocal_ro" and
6967 "print 'scope1.c'::filelocal" and
6968 "print 'scope1.c'::filelocal_bss" and
6969 "print 'scope1.c'::filelocal_ro" and
6970 "print 'scope1.c'::foo::funclocal" and
6971 "print 'scope1.c'::foo::funclocal_ro" and
6972 "print 'scope1.c'::bar::funclocal" and
6973 "print 'scope0.c'::filelocal_ro" and
6974 "print 'scope1.c'::filelocal at foo" and
6975 "print 'scope1.c'::filelocal_bss at foo" and
6976 "print 'scope1.c'::filelocal_ro at foo" and
6977 "print 'scope1.c'::foo::funclocal at foo" and
6978 "print 'scope1.c'::foo::funclocal_bss at foo" and
6979 "print 'scope1.c'::foo::funclocal_ro at foo" and
6980 "print 'scope1.c'::bar::funclocal at foo" and
6981 "print 'scope0.c'::filelocal_ro" and
6982 "print 'scope1.c'::filelocal" and
6983 "print 'scope1.c'::filelocal_bss" and
6984 "print 'scope1.c'::filelocal_ro" and
6985 "print 'scope1.c'::foo::funclocal" and
6986 "print 'scope1.c'::foo::funclocal_bss" and
6987 "print 'scope1.c'::foo::funclocal_ro" and
6988 "print 'scope1.c'::bar::funclocal" and
6989 "print 'scope1.c'::bar::funclocal_bss"
6990 to only be xfail'd when not compiled with gcc.
beb998c6 6991 Add rs6000-*-* xfail for
c906108c
SS
6992 "print 'scope0.c'::filelocal_bss before run"
6993 when compiled with gcc.
6994 (test_at_main): Add rs6000-*-* xfail for
6995 "print filelocal_ro in test_at_main"
6996 when compiled with gcc.
6997 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6998 Add rs6000-*-aix* xfail for
c906108c
SS
6999 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7000 "ptype t_char_array", not compiled with gcc.
7001 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7002 xfail for "list foo (in include file)" when gcc compiled.
7003 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7004 (integral_args): Add rs6000-*-* xfail for
7005 "run to call0a" if not compiled with gcc.
7006 (unsigned_integral_args): Add rs6000-*-* xfail for
7007 "run to call1a" if not compiled with gcc.
7008 (float_and_integral_args): Add rs6000-*-* xfail for
7009 "run to call2a" if not compiled with gcc and for
7010 "continue to call2b" for any compiler.
7011 Add rs6000-*-* xfail to
7012 "print f1 after run to call2a" for gcc compiled.
7013 (discard_and_shuffle): Add rs6000-*-* xfail for
7014 "run to call6a".
7015 (shuffle_round_robin): Add rs6000-*-* xfail for
7016 "backtrace from call7a" if not compiled with gcc.
7017 Add rs6000-*-* xfail for
7018 "backtrace from call7b" if compiled with gcc.
7019 (call_after_alloca): Add rs6000-*-* xfail for
7020 "print c in call_after_alloca" and
7021 "print s in call_after_alloca" and
7022 "backtrace from call_after_alloca_subr"
7023 if not compiled with gcc.
7024 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7025 "print c in localvars_in_indirect_call" and
7026 "print c in localvars_in_indirect_call" and
7027 "backtrace in indirectly called function" and
7028 "stepping into indirectly called function"
7029 if not compiled with gcc.
7030 (localvars_after_alloca): Add rs6000-*-* xfail for
7031 "print c after runto localvars_after_alloca" and
7032 "print s after runto localvars_after_alloca" and
7033 "print i after runto localvars_after_alloca" and
7034 "print l after runto localvars_after_alloca"
7035 for all compilers.
7036 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7037 than whatis-info.exp.
7038 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7039 than opaque-info.exp.
7040 Setup rs6000-*-* xfail for
beb998c6 7041 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7042 "ptype on opaque struct pointer (dynamically)" when
7043 not compiled with gcc.
7044 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7045 rather than callf-info.exp.
7046 (do_function_calls): Add clear_xfail for rs6000-*-* for
7047 "p t_float_values2(3.14159,float_val2)". Seems to work
7048 fine there, both with xlc and gcc. Need to find out what
7049 it is doing right and fix other platforms.
7050 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7051 "call inferior func with struct - returns int",
7052 "call inferior func with struct - returns long",
7053 "call inferior func with struct - returns float",
7054 "call inferior func with struct - returns double",
7055 "call inferior func with struct - returns char *",
7056 but only if not gcc compiled (presumes xlc compiled).
7057 Change rs6000-*-* xfails for
7058 "call inferior func with struct - returns char" and
7059 " call inferior func with struct - returns short" to only
7060 xfail if not using gcc.
7061 (clean mostlyclean): Remove *.ci and *.tmp files.
7062 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7063 than templ-info.exp.
7064 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7065 Add rs6000-*-* xfail for "up to foo in langs.exp"
7066 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7067 when not gcc compiled.
beb998c6 7068
c906108c
SS
7069Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7070
7071 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7072 * gdb.base/corefile.exp: Likewise.
7073 * gdb.base/list.exp: Likewise.
7074 * gdb.base/scope.exp: Likewise.
7075 * gdb.base/siganls.exp: Likewise.
7076
7077 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7078 compiler output.
7079 * gdb.base/whatis.exp: Likewise.
7080
7081Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7082
7083 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7084 failure (opcode table has been fixed to match reality).
7085
7086Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7087
7088 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7089 "call inferior func with struct - returns char",
7090 "call inferior func with struct - returns short"
7091
7092 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7093 "print 'scope0.c'::filelocal at main",
7094 "print 'scope0.c'::filelocal_bss in test_at_main",
7095 "print 'scope0.c'::filelocal at foo",
7096 "print 'scope0.c'::filelocal_bss in test_at_foo",
7097 "print 'scope0.c'::filelocal at bar",
7098 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7099
c906108c
SS
7100 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7101 in source file 1". This bug seems to have been fixed with both
7102 gcc and native cc (was native assembler bug?).
7103
7104Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7105
7106 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7107 "backtrace through signal handler" to "i*86-*-sysv4*".
7108 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7109 continue" case. Add "known SVR4 bug" to fail message.
7110 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7111 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7112 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7113 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7114 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7115 "up to foo in langs.exp", "show language at foo in
7116 langs.exp", "up to cppsub_ in langs.exp", "show
7117 language at cppsub_ in langs.exp", "up to fsub in
7118 langs.exp", and "show language at fsub in langs.exp".
7119 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7120 "bactrace in corefile.exp".
7121 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7122 "call inferior function with struct - returns float" and
7123 "call inferior function with struct - returns double".
beb998c6 7124
c906108c
SS
7125Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7126
7127 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7128 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7129 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7130 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7131
7132Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7133
7134 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7135 (or overriden) "CHILL" macro rather then bare "gcc".
7136 Also look for ../../gcc/xgcc since that is what we will
7137 actually need, not "Makefile". Remove following assignment
7138 of CHILL to CHILL_FOR_TARGET because that results in
7139 recursive definition.
7140
7141Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7142
7143 * gdb.base/corefile.exp: Change xfail for backtrace in
7144 corefile.exp from linuxaout to all linux.
7145 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7146 cases where we miss the breakpoint at the signal handler
7147 for some reason. Setup xfail for linuxoldld/linuxaout and
7148 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7149 hitting SIGURG breakpoint.
7150 * gdb.base/signals.exp: Setup xfail for "next" acting like
7151 continue to add linuxoldld. Setup xfail for all linux for
7152 "next to handler in signals_tests_1", "backtrace in
7153 signals_tests_1", "continue to func1", "pass SIGUSR1",
7154 and continue to handler".
7155
7156Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7157
7158 * Update all FSF addresses except those in COPYING* files.
7159
7160Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7161
7162 * gdb.base/a2-run.exp: Change messages to be more explicit about
7163 the status of args, and quote binfile in results.
7164
7165Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7166
7167 * gdb.base/callfuncs.exp: Add tests for passing structs to
7168 inferior functions and return various types.
7169 * gdb.base/callfuncs.c: Add functions to receive a struct
7170 and return a member of the struct, in various types.
7171
7172Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7173
7174 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7175
7176Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7177
7178 * config/vxworks29k.exp: New file, sources vxworks.exp.
7179
7180Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7181
7182 * config/gdbremote.exp: New file. Testing framework using
7183 gdbserver.
7184
7185Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7186
7187 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7188 "call function when asleep" and "send end of file".
7189 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7190 for "backtrace in corefile.exp".
7191 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7192 for "backtrace through signal handler".
7193 * gdb.base/corefile.exp: Make sure we actually generate a core file
7194 before trying the core tests. Some systems allow the user to suppress
7195 generation of core files and default to that (linux for example).
7196 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7197 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7198
7199Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7200
7201 * gdb.threads: New directory with some crude multi-threaded
7202 gdb tests (step.exp and step2.exp).
7203 * config/mt-lynx (STEP_EXECUTABLE): Define.
7204 (THREADFLAGS): Define.
7205
7206Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7207
7208 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7209
7210 * gdb.base/signals.exp: Disable whole file for lynx until
7211 further notice.
7212
7213 * gdb.base/signals.exp: xfail test where "next" acts like
7214 "continue" for lynx.
7215
7216 * gdb.base/interrupt.exp: xfail test for calling function while
7217 inferior is asleep for lynx.
7218
7219 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7220 than one cr-lf after each command.
7221
7222Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7223
7224 * configure.in: Reinstate setting of stabsdirs variable, fix
7225 typo in setting up configdirs for native builds.
7226
7227 * gdb.base/return.exp: Fix typo in return double test.
7228 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7229 compiler from optimizing them away.
7230
7231Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7232
7233 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7234 sequences to be echo'd by gdb when using gdb_test.
7235 * gdb.chill/chexp.exp: Likewise.
7236 * gdb.fortran/exprs.exp: Likewise
7237
7238Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7239
7240 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7241 after the inferior gdb has started.
7242
7243 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7244 after each command.
7245 * gdb.base/funcargs.exp: Likewise.
7246 * gdb.base/gdbvars.exp: Likewise.
7247 * gdb.base/interrupt.exp: Likewise.
7248 * gdb.base/list.exp: Likewise.
7249 * gdb.base/watchpoint.exp: Likewise.
7250 * gdb.c++/demangle.exp: Likewise.
7251 * gdb.c++/inherit.exp: Likewise.
7252 * gdb.chill/chexp.exp: Likewise.
7253 * gdb.fortran/exprs.exp: Likewise.
7254
7255 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7256 test if we can't handle IO to/from the inferior.
7257
7258 * gdb.c++/misc.exp: Always check for a program already being
7259 started after sending a "run" command to gdb.
7260
7261 * gdb.base/twice.exp: Start with a fresh gdb.
7262
7263 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7264 only depend on gdb's expression code, not the chill runtime.
7265
7266 * gdb.base/return.c: Put return values into variables so we
7267 can have gdb print them rather than depending on the program
7268 to print them.
7269 * gdb.base/return.exp: Corresponding changes.
7270
7271 * lib/gdb.exp: Provide default value for noinferiorio.
7272 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7273 the inferior.
7274
7275 * gdb.base/break.exp: Always check for a program already being
7276 started after sending a "run" command to gdb.
7277 (text_next_with_recursion): Don't check the output from the
7278 program's printf statement. Instead just make sure the program
7279 exited.
7280
7281 * gdb.base/commands.exp: Protect tests which need arguments with
7282 $noargs conditionals.
7283
7284Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7285
7286 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7287 of structure member arrays to match gdb/valops.c:value_addr change.
7288
7289Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7290
7291 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7292 cases.
7293
7294Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7295
7296 * configure.in (configdirs): Remove gdb.chill from default list
7297 of subdirs and then add it back in only if doing a native build.
7298 The current chill compiler does not yet work in any cross build.
7299 * Revert all signal changes from Jul 6.
7300 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7301 for sh-hms targets, allowing these tests to link, with no other
7302 changes. Testing is suppressed by setting "nosignals" in site.exp.
7303
7304Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7305
7306 * configure.in (signaldirs): Define and add to configdirs for all
7307 targets except some specific ones that are known to not support signals.
7308 Also clean up formatting.
7309 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7310 (signals, sigall): Remove rules to build.
7311 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7312 Moved to new gdb.signals directory.
7313 * gdb.signals: New test directory.
7314 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7315 signals.c signals.exp}: New or moved files.
7316
7317Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7318
7319 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7320
7321Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7322
7323 * gdb.base/return.exp: Xfail `return double' test failure
7324 on at least Solaris 2.3 and handle future/past versions on
7325 a case by case basis as appropriate. Also update message
7326 to include i*86 failures.
7327
7328Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7329
7330 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7331
7332 * lib/gdb.exp: Fix comment which erroneously identified
7333 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7334 gdb_file_cmd not gdb_load).
7335 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7336
7337 * gdb.base/setvar.exp: Make test names consistent between pass and
7338 fail cases. Use gdb_test more.
7339
7340Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7341
7342 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7343
7344Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7345
7346 * gdb.base/help.exp: Fix expected help string for `show commands'.
7347
7348Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7349
7350 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7351
7352 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7353 of a text section.
7354
7355Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7356
7357 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7358 that loop eventually terminates. Fix Connection refused logic so
7359 that testsuite will expire nicely.
7360
7361Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7362
7363 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7364 config/rom68k.exp: New tcl glue for the appropriate monitors.
7365 These all just end up calling monitor.exp.
7366 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7367 refused' by retrying. Cleanup some timeout issues.
7368 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7369 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7370 callers don't have to set/restore global timeout variable.
7371
7372 * The following set of changes centralizes management of the global
7373 timeout variable. This way, it can be set in one target dependent
7374 place instead of dozens of places scattered throughout the test suite.
7375 If you need to lengthen a timeout, then you should either set timeout
7376 in one of the config/{target}.exp files, or multiply it by a factor.
7377 Setting it to an absolute value is always going to lose for some
7378 targets.
7379 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7380 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7381 * gdb.base/funcargs.exp: Don't set timeout.
7382 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7383 * gdb.base/printcmds.exp (test_print_string_constants
7384 test_print_array_constants): Don't set timeout.
7385 * gdb.base/ptype.exp: Don't set timeout.
7386 * gdb.base/recurse.exp: Don't set timeout.
7387 * gdb.base/return.exp: Don't set timeout.
7388 * gdb.base/watchpoint.exp: Don't set timeout.
7389 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7390 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7391
7392Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7393
7394 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7395
7396Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7397
7398 * lib/gdb.exp: Disable chill tests for irix5.
7399
7400Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7401
7402 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7403 each test pass or fail.
7404
7405Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7406
7407 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7408 xlc not gcc.
7409
7410Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7411
7412 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7413
7414Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7415
7416 * config/est.exp: Fix copyright and comments. Remove dead code.
7417 Use targetname, serialport and baud variables instead of fixed
7418 constants.
7419 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7420 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7421
7422Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7423
7424 * gdb.base/watchpoint.exp: Don't run
7425 test_watchpoint_triggered_in_syscall for sunos.
7426
7427Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7428
7429 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7430 they don't seem to exist. Do include stdio.h.
7431
7432Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7433
7434 * gdb.base/a1-selftest.exp: Add alpha xfail.
7435
7436Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7437
7438 * gdb.base/watchpoint.c (main): Prompt before calling read().
7439 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7440 Revise accordingly. Remove cruft about sending "123" several
7441 times, until it gets noticed. Clean up the "print buf[0]" stuff
7442 so that it passes or fails, and waits for prompts in the usual way.
7443
7444Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7445
7446 * gdb.base/recurse.exp: Fix comment.
7447
7448 * TODO: Remove item about printing variables in nodebug.exp. Add
7449 item about enabling tests which are only run on some targets.
7450
7451 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7452 fail, make test names unique, use new gdb_test convention
7453 regarding pattern, use gdb_test more, etc.).
7454
7455 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7456 fail, make test names unique, etc.).
7457
7458Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7459
7460 * gdb.base/nodebug.c: Change return type of top and middle to
7461 short.
7462 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7463 are fixed by the recent mdebugread.c changes. Allow `short ()'
7464 as type for top and middle.
7465
7466Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7467
7468 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7469 nearly as I can tell, the whole thing was an accident in Stu's
7470 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7471 to replace a send/expect pair with gdb_test, but ended up only
7472 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7473 of 30 Mar 1995 took care of it, but left this vestigial comment
7474 which I am now nuking.
7475
7476Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7477
7478 * gdb.base/break.exp: Look for different line number for
7479 breakpoint at main depending on usestubs.
7480
7481Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7482
7483 * gdb.base/list.exp: Adjust some alternate expect patterns to
7484 match recent list0.c change. Add alternate expect pattern for
7485 output from `list default lines around main' for optimizing
7486 compilers.
7487
7488Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7489
7490 * lib/gdb.exp: If nosignals is not set, set it to 0.
7491
7492Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7493
7494 * config/slite-gdb.exp: Responds to load symbol table prompt.
7495 * gdb.base/break.exp: Adjust line number, fix rerun.
7496 * gdb.base/langs0.c: Add #ifdef usestubs.
7497
7498Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7499
7500 * gdb.base/list.exp: Adjust line contents after adding new lines in
7501 list0.c. Also fix a syntax error.
7502
7503 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7504 * gdb.base/break.exp: ditto.
7505 * gdb.base/list.exp: ditto.
7506 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7507 * gdb.base/run.c: ditto.
7508 * gdb.base/list0.c: ditto.
7509 * gdb.base/funcargs.c: ditto.
7510
7511Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7512
7513 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7514 $targetname, $serialport and $baud instead of hardwired variables.
7515 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7516 target doesn't support signals.
7517
7518Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7519
7520 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7521
7522Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7523
7524 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7525 Don't rely on the value of an auto variable before it has been
7526 initialized. Use gdb_test more.
7527
7528Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7529
7530 * lib/gdb.exp (default_gdb_version): A version number must start
7531 with a digit, but other than that contains all characters up to
7532 the first whitespace character.
7533
7534Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7535
7536 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7537
7538Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7539
7540 * gdb.c++/*.exp: Warn if executable does not exist. The original
7541 reason for skipping the warning was that configure.in sometimes
7542 intentionally skipped building the executables but the tcl code
7543 had no way of knowing. That (a) was always bogus with respect to
7544 error handling, (b) is no longer true (right now there is no way
7545 to skip C++ tests).
7546
7547 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7548
7549Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7550
7551 * gdb.base/list.exp: Add expect patterns for output from
7552 SunPRO compiled executables.
7553 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7554 types.
7555
7556Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7557
7558 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7559 number (we are already testing that the correct source line text
7560 gets printed).
7561
7562 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7563 that is what is intended, but something needed to be done to get
7564 sunos4 native working again.
7565
7566 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7567
7568 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7569 apparently went with a (very) old xfail.
7570
7571Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7572
7573 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7574 runto_main is a proc in gdb.exp that will do 'step' for target use
7575 stubs.
7576 * gdb.base/exprs.exp: ditto.
7577 * gdb.base/interrupt.exp: ditto.
7578 * gdb.base/opaque.exp: ditto.
7579 * gdb.base/printcmds.exp: ditto.
7580 * gdb.base/ptype.exp: ditto.
7581 * gdb.base/scope.exp: ditto.
7582 * gdb.base/setvar.exp: ditto.
7583 * gdb.base/signals.exp: ditto.
7584 * gdb.base/twice.exp: ditto.
7585 * gdb.c++/classes.exp: ditto.
7586 * gdb.c++/inherit.exp: ditto.
7587 * gdb.c++/templates.exp: ditto.
7588 * gdb.base/break.exp: no run and hit main for stubs. Change line
7589 numbers for breakpoints and info breakpoint.
7590 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7591 breakpoint().
7592 * gdb.base/callfuncs.c: ditto.
7593 * gdb.base/exprs: ditto.
7594 * gdb.base/interrupt.c: ditto.
7595 * gdb.base/opaque0.c: ditto.
7596 * gdb.base/printcmds.c: ditto.
7597 * gdb.base/ptype.c: ditto.
7598 * gdb.base/scope0.c: ditto.
7599 * gdb.base/setvar.c: ditto.
7600 * gdb.base/signals.c: ditto.
7601 * gdb.base/twice.c: ditto.
7602 * gdb.c++/misc.cc: ditto.
7603 * gdb.c++/templates.cc: ditto.
7604
7605Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7606
7607 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7608
7609 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7610 somewhere between `read' and `main.c'. I'm pretty sure the
7611 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7612 and it isn't particularly useful.
7613
7614 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7615
7616Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7617
7618 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7619
7620Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7621
7622 * config/mt-slite: add LIBS and -nostdlib.
7623 * config/slite-gdb.exp: add this new file to support sparclite target.
7624
7625Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7626
7627 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7628
7629 * gdb.base/a2-run.exp: Change argument to istarget from
7630 "*-*-vxworks" to "*-*-vxworks*".
7631 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7632
7633Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7634
7635 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7636 will not runto main but do a 'step' to step out of breakpoint().
7637 * config/mt-slite: add -Dusestubs.
7638
7639Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7640
7641 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7642 instead of just @.
7643
7644 * gdb.base/signals.exp: Add test for "handle all print".
7645 * TODO: Remove "handle all print". Also remove item about
7646 checking copyright date (I don't like the idea of a spurious FAIL
7647 based on when we run the tests).
7648
7649 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7650 for SunOS4 (reason for failure not investigated). Remove
7651 redundant test for $binfile.
7652
7653 * gdb.base/nodebug.c (array_index): Call malloc.
7654
7655 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7656
7657Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7658
7659 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7660 conventions and slightly simplify the matching regexp.
7661
7662Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7663
7664 * gdb.base/break.exp: Update gdb_test invocation to use new
7665 convention.
7666
7667 * lib/gdb.exp: If noargs is not set, set it to 0.
7668
7669 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7670 tests unique.
7671
7672 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7673
7674Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7675
7676 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7677 one argument of type "<non-float parameter>".
7678
7679Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7680
7681 * config/rom68k.exp: New file to support Motorola IDP board.
7682 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7683 * gdb.base/break.c: Change things around so that this program
7684 doesn't depend upon args. This is necessary to make remote
7685 targets work (in general, they can't take args).
7686 * gdb.base/break.exp: Don't try to send args to program. Don't
7687 expect output. Also, replace lots of code with gdb_test.
7688
7689Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7690
7691 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7692 printing of '\'' (which is what the comment says we are testing,
7693 even though we were not), not '''.
7694 (test_integer_literals_rejected): Test that printing ''' is an error.
7695
7696 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7697 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7698 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7699 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7700 Use gdb_test not test_print_accept.
7701 * lib/gdb.exp: Remove test_print_accept.
7702
7703 * gdb.base/signals.exp (signal_tests_1): Make pass message
7704 consistent with fail message.
7705
7706 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7707 unsigned char; the bug (PR 1821) is fixed.
7708
7709 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7710
7711 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7712 successful tests--makes xfailing them work right.
7713
7714Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7715
7716 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7717 only \r\n, not .*. The test can pass .* as the last thing in
7718 $pattern if that is what it wants. In addition to providing this
7719 flexibility, this change should speed up pattern matching in cases
7720 where the pattern already ended with .* (there were a number of
7721 them). This change also helps catch bad patterns--in the old
7722 scheme the typo "char \*" instead of "char \\*" would pass. Now
7723 it is caught.
7724 * Many .exp files: Update callers.
7725
7726 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7727 clearer and does not spuriously match multiple ('s. Likewise for
7728 ) and *.
7729
7730 * gdb.base/nodebug.exp: Test ability to call a function and pass
7731 it a string (even with no debugging info).
7732
7733 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7734 "p '\'", which is the same as "p ''" once tcl gets done with
7735 quoting, to "p '\\'", which I suspect is what is intended (one
7736 backslash gets sent to GDB).
7737
7738 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7739
7740Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7741
7742 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7743 1817) was fixed literally years ago.
7744
7745Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7746
7747 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7748 test, it causes stepping out of call_after_alloca_subr with
7749 optimizing compilers.
7750 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7751 fails.
7752
7753 * gdb.c++/templates.exp: Source templ-info.exp only if
7754 the templates executable exists.
7755
7756 * gdb.c++/misc.cc (class Contains_static_instance,
7757 class Contains_nested_static_instance),
7758 gdb.c++/classes.exp (test_static_members): Test printing of
7759 a class that contains a static instance of the class.
7760
7761Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7762
7763 * gdb.base/langs2.c (cppsub_): Don't prototype.
7764 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7765 only, I believe).
7766
7767Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7768
7769 * lib/gdb.exp (skip_chill_tests): New procedure.
7770
7771 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7772
7773Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7774
7775 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7776 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7777
7778Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7779
7780 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7781
7782 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7783 disassemble 8, not 16, instructions for part 4.
7784
7785 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7786 support the latter anymore.
7787
7788 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7789 -DNO_PROTOTYPES.
7790 * gdb.base/callfuncs.c: Control use of prototypes based on
7791 NO_PROTOTYPES, not __STDC__.
7792 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7793 t_float_values2 tests if prototypes in use.
7794
7795 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7796 t_double_values): When checking differences against DELTA, check
7797 that difference is within the range (-DELTA,DELTA), not just
7798 (-infinity,DELTA).
7799
7800Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7801
7802 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7803 'file' command firts, then 'target', then 'load', this is due to gdb
7804 target set up.
7805 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7806
7807Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7808
7809 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7810 FP load/store variants.
7811 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7812
7813Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7814
7815 * gdb.base/term.exp: Do not give a warning if not native, it is
7816 not an abnormal condition.
7817
7818Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7819
7820 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7821 t_char_array".
7822
7823Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7824
7825 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7826 are getting the version number.
7827
7828 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7829 if not native, it is not an abnormal condition.
7830
7831Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7832
7833 * lib/gdb.exp: Just use "file exists", rather than undocumented
7834 dejagnu procedure "findfile".
7835
7836Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7837
7838 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7839 (LDFLAGS): Set to -Xlinker -Ur.
7840
7841 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7842 Removed, these values are set by lib/gdb.exp.
7843
7844 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7845
7846Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7847
7848 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7849 of replicating gdb startup code.
7850
7851 * config/mt-vxworks (LDFLAGS): Set to -r.
7852 (CFLAGS_FOR_TARGET): Removed.
7853
7854 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7855 (gdb) and gdb for vxworks uses (vxgdb).
7856
7857 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7858 executable is not in the tree and host != target, use sed and
7859 program_transform_name to determine the gdb name used by the
7860 target.
7861
7862 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7863 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7864
7865Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7866
7867 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7868 floats, chars, and shorts where there are ANSI-style function
7869 definitions.
7870
7871 * gdb.base/langs.exp, gdb.base/langs*: New test.
7872 * gdb.base/Makefile.in: Build it.
7873 * TODO: Remove item about checking that C names don't get C++
7874 demangling applied; this test tests it.
7875
7876Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7877
7878 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7879 went with the const70 xfail. The xfail went away a year ago.
7880
7881 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7882
7883 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7884 for hp300.
7885
7886 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7887
7888 * gdb.base/a1-selftest.exp: Don't run on hp300.
7889
7890Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7891
7892 * Makefile.in (site.exp): Set host_alias and target_alias as well
7893 as host_triplet and target_triplet.
7894
7895Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7896
7897 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7898
7899 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7900 places as other ecoff systems).
7901
7902 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7903 ultrix.
7904
7905Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7906
7907 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7908 remove them.
7909 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7910 variable and "variable" in addition to "data variable".
7911 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7912
7913 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7914 2.
7915 * gdb.base/list1.c (long_line): Add additional statement at start
7916 of function.
7917 * gdb.base/list.exp (test_forward_search): Update line number to
7918 reflect new statement.
7919
7920Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7921
7922 * gdb.base/signals.exp: Reinitialize searched source directories
7923 after gdb_start call.
7924
7925Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7926
7927 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7928 * gdb.stabs/Makefile.in: Likewise.
7929
7930 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7931 change. Instead split the tests into smaller pieces.
7932 * gdb.disasm/hppa.s: Corresponding changes.
7933
7934Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7935
7936 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7937 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7938
7939 * gdb.base/funcargs.exp: Modify many tests so that every test
7940 either passes or fails. Make some test names unique.
7941
7942Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7943
7944 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7945 Call stty to set interrupt character.
7946
7947 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7948 for HP assembler versus GNU assembler based on actual behavior of
7949 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7950
7951 * TODO: Suggest a few more stepping tests.
7952
7953Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7954
7955 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7956 restart GDB for h8300 after a continue.
7957 (return): Add pattern to match a29k-udi behavior.
7958 * gdb.base/nodebug.exp: Remove obsolete comment.
7959 * gdb.base/regs.exp: New file, testing of register displays.
7960 * gdb.base/return.exp: Fix typo in reference to $objdir.
7961 * gdb.base/whatis.exp: Always start with a fresh GDB.
7962
7963Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7964
7965 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7966 higher, these tests generate a lot of output.
7967
7968Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7969
7970 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7971 code following the catch silently ignored some errors; without the
7972 catch they should be thrown like any other tcl error. Also, the
7973 catch used "" instead of {} which meant all the callers who wanted
7974 to include one of the characters "[]$ had to quote it an extra time.
7975 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7976 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7977 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7978 Remove extra quoting.
7979
7980Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7981
7982 * gdb.base/commands.exp: Make test names unique; every test either
7983 passes or fails. Update some comments.
7984
7985 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7986
7987Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7988
7989 The following fixes a FAIL caused by the fact that the alpha stabs
7990 configuration didn't use the ".if alpha" code in weird.def.
7991 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7992 bit pointer, so the 32 bit version works even on the alpha.
7993 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7994 Remove the stuff which allowed us to have separate versions for
7995 alpha and everything else.
7996
7997 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7998 regexp which "info func operator\[\](" is supposed to match. Fix
7999 string to send to GDB. Note that GDB still doesn't work right. Add a
8000 new test for "info func .perator\[\](" which GDB does handle correctly.
8001
8002 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8003
8004Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8005
8006 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8007 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8008 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8009 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8010 it makes the tests harder to understand and confuses test-o-matic.
8011 The preferred style is that each test provides a PASS or a FAIL,
8012 and has a unique message (e.g. "continue #54" not just "continue")
8013 which is the same for the pass and the fail.
8014 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8015 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8016 to lib/gdb.exp.
8017 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8018 prt_accept which was basically the same thing. Likewise for
8019 test_print_reject and prt_reject.
8020 * lib/gdb.exp (test_print_reject): Add some more error message
8021 patterns to match from the former printcmds.exp (prt_reject).
8022 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8023 One defect of the passcount stuff is that some of it failed to
8024 report XPASS where appropriate.
8025 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8026 stuff before and after arg in expected pattern.
8027 (test_paddr_operator_functions): Re-do test without print_addr_of;
8028 this is the only test which seems to want extra stuff there.
8029
8030Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8031
8032 * gdb.base/nodebug.exp: Update new tests to reflect improved
8033 wording of gdb output.
8034
8035 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8036 and "ptype" work on variables in files compiled without -g.
8037 Replaces commented out "maint print msymbol" tests.
8038
8039Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8040
8041 * gdb.base/setvar.c (dummy): Call malloc.
8042
8043 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8044 losing with the irix4 sed.
8045
8046 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8047 ALRM" on irix4.
8048
8049Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8050
8051 * TODO: Remove items about corefile.exp testing new exec-file and
8052 backtrace; both are now done. Add items about printing enums.
8053
8054Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8055
8056 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8057 "get signal $thissig" test fails.
8058
8059 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8060
8061Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8062
8063 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8064 compiler warning with dec alpha compiler.
8065
8066 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8067 extra \n from gdb_test call (this explains why the prompt test
8068 that I removed yesterday was there).
8069 (user_defined_command_test): Remove extra \n and prompt test.
8070
8071 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8072 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8073 doesn't exist.
8074 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8075 Also remove alpha workaround, which turns out to be because
8076 SIGABRT == SIGLOST.
8077
8078 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8079
8080 * gdb.base/help.exp: Don't test "help show".
8081
8082Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8083
8084 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8085 "set print address" is on.
8086 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8087 pass prompt to gdb_test; gdb_test already looks for the prompt.
8088
8089 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8090
8091 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8092 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8093 was to make sure that gdb can read a core file. But (a) the "read
8094 the corefile" part didn't make it to a1-selftest.exp, we just
8095 delete the corefile after creating it, and (b) we test reading
8096 corefiles in corefile.exp anyway. Also, this test left around a
8097 xgdb process on Solaris.
8098
8099 * gdb.base/corefile.exp: Also test backtrace.
8100
8101Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8102
8103 * gdb.base/commands.exp: Test a simple user defined command with
8104 arguments and if/while statements; verify the full user command is
8105 printed by "show user".
8106
8107 * gdb.base/commands.exp: Test if/while commands as part of a
8108 breakpoint command list; verify they appear in breakpoint
8109 information.
8110
8111Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8112
8113 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8114 than by dividing by zero.
8115
8116Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8117
8118 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8119 performing an inferior call with watchpoints enabled.
8120 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8121 call.
8122
8123Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8124
8125 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8126 of "file" command.
8127
8128 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8129 Add additional pattern for when "int operator int(void);" appears
8130 in a different order.
8131
8132Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8133
8134 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8135
8136 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8137 and "signal" with ".*".
8138
8139Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8140
8141 * TODO: Add note about "handle all nostop".
8142
8143 * gdb.base/{sigall.c, sigall.exp}: New test.
8144 * gdb.base/Makefile.in: Add it.
8145
8146Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8147
8148 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8149 when invoking GDB, suppresses any windowing interface.
8150
8151Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8152
8153 * config/sim-gdb: New file, simulator testing support.
8154
8155Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8156
8157 * gdb.base/interrupt.exp: Test calling func1 twice.
8158
8159Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8160
8161 * gdb.base/list.exp (test_forward_search): Set timeout higher
8162 when we'll be getting lots of output from gdb.
8163
8164 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8165 "init_malloc" to after the expect statement. Run it if that
8166 regexp is taken, but also for two others which happen if source
8167 cannot be found.
8168
8169Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8170
8171 * gdb.base/printcmds.exp: New test, for printing register before
8172 program is running.
8173
8174Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8175
8176 * gdb.base/list.exp: Correct some alternate expect patterns
8177 to reflect changes in list1.c.
8178
8179Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8180
8181 * TODO: Add item regarding large frames.
8182
8183 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8184
8185 * TODO: Remove item about enabling return.exp; it
8186 is enabled. Suggest a few more "return" tests.
8187
8188Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8189
8190 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8191 anonymous unions.
8192
8193Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8194
8195 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8196 and pr-5646.o, so "make" is the same as "make all", not "make
8197 pr-4975.o".
8198
8199Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8200
8201 * gdb.base/list.exp: Adjust expectations to reflect changes in
8202 list1.c.
8203 (test_forward_search): New test proc.
8204 * gdb.base/list1.c (long_line): New function, has long source line.
8205
8206Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8207
8208 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8209 additional line of code that was added.
8210
8211Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8212
8213 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8214 tests so as not to overflow expect's input buffers.
8215 * gdb.disasm/hppa.exp: Corresponding changes.
8216
8217Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8218
8219 Beginnings of template debugging tests.
8220 * gdb.c++/templ-info.cc: New file to test for template
8221 debugging capability of the compiler.
8222 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8223 templ-info.cc.
8224 * gdb.c++/templates.cc: Add explicit template instantiations
8225 to enable compiling with -fno-implicit-templates. Add destructor
8226 and 'value' method to T5 class for template tests.
8227 * gdb.c++/templates.exp: Add testcases for printing of template
8228 types, setting breakpoints on template methods and calling a
beb998c6 8229 template method.
c906108c
SS
8230
8231Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8232
8233 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8234 branch target since some assemblers (gas-2.5) may emit a
8235 relocation for the branch instead of resolving it in the
8236 assembler.
8237
8238Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8239
8240 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8241 through signal handler.
8242
8243Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8244
8245 * configure.in (*-*-netware): Use config/mt-netware.
8246
8247 * config/mt-netware: New file.
8248 * config/mt-i386-netware: Removed, separate configs for different
8249 netware architectures are no longer needed now that we have
8250 --with-headers.
8251
8252Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8253
8254 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8255 by the recent changes to use ANSI C arithmetic conversions.
8256
8257Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8258
8259 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8260 bug involving using inferior_pid to figure out whether to select a
8261 frame.
8262
8263Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8264
8265 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8266 match the current disassembler output.
8267
8268Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8269
8270 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8271 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8272 types, expect "int" as type of integer values (for now).
8273
8274Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8275
8276 * gdb.base/commands.exp: New tests for if/while commands.
8277
8278Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8279
8280 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8281 by .*, since hex values have different syntax in Chill mode.
8282
8283Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8284
8285 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8286 linefeed from expect pattern for repeated types with indices > 9.
8287
8288Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8289
8290 First part of Fortran test suite.
8291 * gdb.fortran: New directory.
8292 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8293
8294Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8295
8296 * gdb.base/default.exp: Update expect pattern for load command
8297 without arguments.
8298
8299Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8300
8301 * configure.in: Change i386 to i[345]86.
8302 * gdb.base/configure.in: Likewise.
8303 * gdb.c++/configure.in: Likewise.
8304 * gdb.chill/configure.in: Likewise.
8305
8306Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8307
8308 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8309 patterns, since that is not a valid context for comments.
8310
8311Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8312
8313 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8314 repeated types and repeated types with indices > 9.
8315
8316Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8317
8318 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8319 2417; old bug has been fixed.
8320
8321Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8322
8323 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8324 send the newline ourselves instead of assuming gdb_test will do
8325 so when passed an empty input string.
8326
8327 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8328 stabs testcode.
8329
8330Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8331
8332 * lib/gdb.exp (gdb_test): Don't send anything if the first
8333 argument is an empty string. This makes cases where we want to
8334 match output that is already in expect's buffers (for example,
8335 matching a breakpoint after gdb_run_cmd has been called) work
8336 reliably.
8337
8338Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8339
8340 * config/netware.exp: New file.
8341
8342Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8343
8344 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8345 the -B and -L prefixes so we can find the debugging stub.
8346
8347 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8348 there and we are using the gcc from the tree.
8349
8350 * gdb.base/types.c: Removed.
8351
8352 * gdb.base/configure.in: Look for makefile fragments in ../config.
8353 Recognize i386-*-netware.
8354 * gdb.c++/configure.in: Likewise.
8355
8356Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8357
8358 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8359 the correct TCL syntax.
8360
8361Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8362
8363 * gdb.base/opaque.exp: use runto instead of messing around with
8364 breakpoints. Simplify by using gdb_test.
8365
8366 * gdb.base/bitfields.exp: restart between tests on netware targets
8367 because breakpoints aren't relocated after target death. Run
8368 processes to completion.
8369
8370 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8371
8372Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8373
8374 * Makefile.in: Remove extra tabs that confuse some versions
8375 of "make". Use the newly built gdb to test with by default,
8376 rather than the first one in the tester's search path.
8377
8378Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8379
8380 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8381
8382 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8383 condition help.
8384
8385Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8386
8387 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8388
8389 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8390 running.
8391 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8392 * gdb.base/funcargs.exp: Likewise.
8393
8394 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8395 * gdb.base/funcargs.exp: Likewise.
8396
8397 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8398 message is "".
8399
8400Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8401
8402 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8403 return,signals,twice}.exp: Handle non-existant binaries
8404 consistantly.
8405
8406 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8407 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8408 might testing a cross development system.
8409
8410Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8411
8412 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8413 runtest script is relative to ${srcdir}, not ${rootdir}.
8414
8415Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8416
8417 * gdb.base/signals.exp: Allow for optionality of breakpoint
8418 address.
8419
8420Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8421
8422 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8423
8424Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8425
8426 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8427 for size_t definition.
8428 * gdb.c++/templates.cc: Likewise
8429
8430 * config/mt-i386-netware: New file.
8431
8432 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8433 defined.
8434
8435 * gdb.base/Makefile.in: Added support for systems that name core
8436 files by appending "core" to the program name.
8437 * gdb.base/a1-selftest.exp: Likewise.
8438
8439Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8440
8441 * gdb.base/return.exp: Add comment and message for `return double'
8442 test failure on Sparc Solaris.
8443
8444Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8445
8446 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8447
8448Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8449
8450 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8451 from optimizing them away.
8452 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8453 patterns to include default constructors and assignment operators,
8454 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8455 character in the output of the virtual base pointer.
8456
8457Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8458
8459 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8460 expression match in print_addr_of to avoid unintented matches.
8461 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8462 versions up to 2.5.8.
8463
8464Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8465
8466 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8467 included file to run under newer versions of expect.
8468 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8469 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8470 Remove xfail for the virtual table of BDDHookV.
8471
8472Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8473
8474 * lib/gdb.exp (string_to_regexp): Set a default result.
8475 (default_gdb_start): Fix misleading message.
8476
8477Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8478
8479 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8480 Remove all CC, etc definitions.
8481 * config/mt-hpux: New file.
8482 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8483 (CFLAGS, LDFLAGS): Define.
8484 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8485
8486 * Makefile.in (site.exp): Don't insert host_os, etc.
8487 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8488 (distclean): Check existence of subdir.
8489 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8490 * gdb.base/Makefile.in: General cleanup and simplification.
8491 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8492 to build executables. Use default rule to build .o files.
8493 (EXPECT, RUNTEST, CC): Fix relative pathname.
8494 (site.exp): Don't insert host_os, etc.
8495 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8496 and/or SIGUSR1 defined.
8497 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8498 * gdb.c++/Makefile.in: General cleanup and simplification.
8499 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8500 (CFLAGS): Remove.
8501 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8502
8503Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8504
8505 * gdb.base/recurse.exp: Misc changes to get tests running again
8506 after Kung's changes to the watchpoint code.
8507 * gdb.base/watchpoint.exp: Likewise.
8508
8509Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8510
8511 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8512
8513Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8514
8515 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8516 * lib/gdb.exp (default_gdb_start): Define.
8517 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8518 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8519 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8520 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8521 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8522 Don't call gdb_target_udi in between tests.
8523
8524Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8525
8526 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8527 (which was basically just a local version of the same thing). In
8528 addition to avoiding duplication, gdb_test_exact is faster.
8529 * lib/gdb.exp (gdb_test_exact): Fix typo.
8530
8531 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8532 don't give an error.
8533
8534 * gdb.base/term.exp: Call delete_breakpoints before starting.
8535
8536 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8537 (t10): Add comment.
8538
8539Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8540
8541 Reorganization of the GDB Test Suite.
8542
8543 * gdb.base: New directory, contains all the basic tests.
8544 * gdb.c++: New directory, tests specific to C++.
8545 * gdb.chill: New directory, tests specific to Chill.
8546 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8547 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8548 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8549 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8550 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8551 t30-31 to chill).
8552 * */gdbme.*: Rename to match appropriate expect scripts.
8553 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8554 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8555 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8556 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8557 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8558 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8559 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8560 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8561 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8562 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8563 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8564 gdb.c++/virtfunc.cc: New names of C++ files.
8565 * gdb.chill/chillvars.ch: New name of Chill file.
8566 * gdb.base/configure.in, gdb.c++/configure.in,
8567 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8568 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8569 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8570 * configure.in (configdirs): Update to reflect directory changes.
8571 (target_abbrev): No longer define for any configuration.
8572 * Makefile.in: Cosmetic improvements to header comments.
8573
8574Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8575
8576 Various changes to gdb.t31:
8577
8578 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8579 * gdbme.ch: Make all key-words and predefineds be upper-case.
8580 * chillvars.exp: Expect key-words and predefinds in upper-case.
8581
8582 * chillvars.exp: Use gdb_test_exact many places.
8583 Change expected output for arrays (which now includes index labels).
8584
8585 * pr-5020.exp, gdme.ch (module PR_5020):
8586 New test, for PR-5020.
8587
8588Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8589
8590 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8591 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8592
8593Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8594
8595 * Makefile.in: Fix bit-rot in definitions of CHILL,
8596 CHILL_FOR_TARGET and Chill_LIB.
8597 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8598 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8599 CHILL, and CHILL_LIB.
8600
8601Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8602
8603 * Revert the previous changes. Please see Rob's directory
8604 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8605
8606Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8607
8608 * Makefile.in, configure.in, config/mips-gdb.exp,
8609 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8610 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8611 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8612 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8613 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8614 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8615 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8616 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8617 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8618 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8619 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8620 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8621 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8622 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8623 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8624 changes from 94Q1.
8625
8626Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8627
8628 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8629 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8630 Rob's new testing fragments.
8631
8632Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8633
8634 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8635 lib/gdb.exp: Replace error proc calls with perror.
8636
8637Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8638
8639 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8640 version also, match on casted version strings, and match on
8641 gdb startup case where the line numbers might be messed up.
8642
8643Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8644
8645 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8646 (CFLAGS): Delete it from here.
8647
8648Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8649
8650 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8651
8652Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8653
8654 * Makefile.in (RUNTEST): Default to just "runtest".
8655
8656Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8657
8658 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8659 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8660 the code has been restructured.
8661
8662Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8663
8664 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8665 \n, not just one of each.
8666
8667 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8668 /bin/cc gives a warning if you do.
8669
8670Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8671
beb998c6 8672 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8673 __t10ListS_link1ZUiRCUiPT0
8674
8675Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8676
8677 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8678 on local variables in recursive functions.
8679
8680 * gdb.t07/Makefile.in: Build the new test.
8681
8682Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8683
8684 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8685 directly. Instead compare the return values from actual calls.
8686
8687Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8688
8689 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8690
8691Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8692
8693 * From Peter Schauer with minor modifications.
8694 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8695 stops in mid-line in the caller. Add xfail for returning a float
8696 value on X86 targets.
8697
8698Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8699
8700 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8701 to avoid expect lossage.
8702 (fmem_LRbug_tests): Likewise.
8703 * gdb.disasm/hppa.s: Corresponding changes.
8704
8705 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8706 conditions to work with latest dejagnu/expect.
8707
8708 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8709 expected to fail on the PA.
8710 (backtrace in call with trampolines): Explicitly require main
8711 to be frame #1 (no trampolines should show up in backtrace).
8712
8713 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8714 "continue -expect".
8715 * gdb.t06/break.exp: Likewise.
8716 * gdb.t07/watchpoint.exp: Likewise.
8717 * gdb.t13/bitfields.exp: Likewise.
8718 * gdb.t15/{funcargs,return}.exp: Likewise.
8719 * gdb.stabs/weird.exp: Likewise.
8720 * config/{mips,udi}-gdb.exp: Likewise.
8721
8722 * hppa.sed: Enclose comments within a sed command to avoid
8723 losing with the old OSF1 sed.
8724
8725Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8726
8727 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8728 sequent dynix.
8729 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8730 * gdb.t15/funcargs.exp: Conditionally step again to really
8731 finish from marker_call_with_trampolines. Handle the case where
8732 the first step from within call_with_trampolines already steps
8733 us back to main.
8734 * gdb.t15/gdbme.c: Add comment to closing brace of
8735 call_with_trampolines for funcargs.exp.
8736
8737Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8738
beb998c6 8739 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8740 Fix typo(s).
8741
8742Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8743
8744 * gdb.t07/gdbme.c: More code for watchpoint testing.
8745
8746 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8747 "Hardware watchpoint" throughout file.
8748 (test_watchpoint_triggered_in_syscall): New test.
8749 (test_complex_watchpoint): New test.
8750
8751Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8752
8753 * gdbme.c (call_with_trampolines): New function to try and step
8754 into. Tests trampoline problems on the PA.
8755
8756 * funcargs.exp (localvars_in_indirect_call): No longer expect
8757 stepping into indirect call to fail on PAs.
8758 (test_stepping_over_trampolines): New test.
8759
8760Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8761
8762 * TODO: Add suggestions for static member function tests, and
8763 completion tests.
8764
8765Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8766
8767 * TODO: Add suggestions for "p/a" tests.
8768
8769 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8770 (default_gdb_exit): Replace all the hair with sending "quit" to
8771 the process with a simple close.
8772
8773Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8774
8775 * TODO: Add suggestions for shared library tests.
8776
8777Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8778
8779 * TODO: Add suggestions for x/s tests.
8780
8781Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8782
8783 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8784 "enable once", and "enable breakpoints once" with ".*".
8785
8786Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8787
8788 * TODO: Add suggestions about structure passing tests.
8789
8790Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8791
8792 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8793 the primary1 test, use work around if __GNUC__ < 2.
8794 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8795 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8796 Test for bad output rather than waiting for timeout. Issue
8797 second continue only if first continue failed.
8798
8799Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8800
8801 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8802 operator[] test with gdb_test because the old code didn't seem to
8803 be getting the quoting right with the new dejagnu.
8804
8805Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8806
8807 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8808 one from the path.
8809 * Makefile.in: Use a fresh expect if there is one, use runtest
8810 from the src tree if there is one.
beb998c6 8811
c906108c
SS
8812Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8813
8814 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8815 next over recursive call. Revise the tests from that point on
8816 (which had been skipped) to match GDB's actual (correct) output.
8817
8818 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8819 with next over a breakpoint whose condition is false.
8820
8821 * gdb.t00/help.exp: Comment out "help set print" tests just like
8822 (and for same reason as) "help set" test.
8823
8824Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8825
8826 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8827 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8828
8829Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8830
8831 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8832 necessary gdb_target_udi.
8833
8834 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8835
8836 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8837 1838 and 2417; they are fixed.
8838
8839 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8840 gdb.t03/ptype.exp (ptype structure, ptype union):
8841 Remove xfails; the test is looser than when the xfails were added.
8842
8843 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8844 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8845
8846 * gdb.t01/run.exp: Only run shell test if isnative.
8847
8848 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8849 since "run" automatically loads if necessary. Call gdb_target_udi
8850 after the "file" since "file" kills any execution target.
8851
8852 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8853 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8854 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8855 argument for UDI.
8856
8857Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8858
8859 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8860
8861 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8862
8863Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8864
8865 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8866 properly quoting regexps. This makes the second argument to
8867 demangle a fixed string, which matches the callers, instead of a
8868 shell-style pattern which is what the previous implementation
8869 used. Update some of the callers.
8870
8871Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8872
8873 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8874 (comib_nullified_tests): Fix typo.
8875 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8876 strings. No longer expected to fail.
8877
8878 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8879 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8880 strings. No longer expected to fail.
8881
8882 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8883 string. No longer expected to fail.
8884
8885Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8886
8887 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8888 No longer expected to fail.
8889
8890 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8891 string. No longer expected to fail.
8892
8893Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8894
8895 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8896 only in the names (I probably got most of them). I was even
8897 generous with some which differed in underscores in names, and
8898 probably missed a few, and I *still* was able to remove almost a
8899 third of the file with almost no impact on testsuite coverage.
8900
8901Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8902
8903 * gdb.t00/default.exp: Match udi_attach error message as well as
8904 the one from child_attach.
8905
8906 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8907
8908 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8909
8910 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8911 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8912
8913 * Move test with enums and partial symbols back to
8914 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8915 Reverts the change of 26 May 93. Per today's change to
8916 stabs.texinfo, the behavior that weird.exp was expecting was
8917 unreasonable; what is important is that the compiler+gdb get
8918 things right, which happens with a recent gcc. Also fix the test
8919 to deal with native compilers which put out the stab gdb can't
8920 deal with.
8921
8922Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8923
8924 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8925 in the names. The main thing these accomplish is to slow things down.
8926 Many more such duplicates surely remain.
8927
8928 * gdb.t00/help.exp: Comment out "help support" test just like
8929 (and for same reason as) "help set" test.
8930
8931Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8932
8933 * gdb.t06/break.exp: Remove setup_xfails for
8934 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8935 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8936 about known bug in gcc to include up through 2.5.8.
8937 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8938 well as "_vb$".
8939 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8940 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8941 with latest gcc and gdb.
8942 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8943 well as "_vb$".
8944
8945Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8946
8947 * configure.in (hppa*-*-*): Also configure and build stabs-only
8948 tests.
8949
8950Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8951
8952 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8953 * gdb.t10/configure.in (hppa*-*-*): Use it.
8954
8955Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8956
8957 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8958
8959Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8960
8961 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8962 versions prior to 1.13.5.
8963
8964Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8965
8966 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8967 the prompt is at the start of a line.
8968
8969Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8970
8971 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8972 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8973 in the copr tests now.
8974 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8975 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8976 expected to fail.
8977
8978Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8979
8980 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8981 gdb.t31/chillvars.exp, lib/gdb.exp:
8982 Tweak to run under either version of expect.
8983 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8984 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8985 * gdb.t11/list.exp: Remove extraneous whitespace.
8986
8987Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8988
8989 * gdb.t16/printcmds.exp (test_print_strings): Accept
8990 "(unsigned char *) " before the string.
8991
8992 * TODO: Add notes about printing of fancy types and GDB expressions.
8993
8994Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8995
8996 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8997 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8998 if doing mips-idt-ecoff.
c906108c
SS
8999
9000Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9001
9002 * Most .exp files: Tweak to run under either version of expect.
9003
9004Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9005
9006 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9007 xfails; I'm not sure why they are failing, but not because of PR 1806.
9008
9009Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9010
9011 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9012 defined in lib/gdb.exp.
9013
9014Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9015
9016 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9017 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9018 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9019 have to be typeless.
9020
9021Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9022
9023 * TODO: Add suggestion for copyright year test.
9024
9025Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9026
9027 * configure.in (*-*-lynxos*): Add stabs tests.
9028
9029Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9030
9031 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9032 so insert a tab before any assembler directive in column zero.
9033
9034 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9035 stores.
9036 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9037 stores.
9038 (fpu_short_memory_tests): Likewise.
9039
9040Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9041
9042 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9043 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9044 .stabs directives in comments.
9045
9046Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9047
9048 * TODO: New file, describing tests we could write.
9049 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9050
9051Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9052
9053 * gdb.t06/signals.exp: Add kludge to force re-sync.
9054
9055 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9056 to xgdb instead of gdb, get out of gdb.
9057
9058Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9059
9060 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9061 for info.
9062
9063Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9064
9065 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9066 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9067 * gdb.stabs/hppa.sed: New sed script for the PA.
9068
9069Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9070
9071 * gdb.stabs: Re-write weird.def and configuration to use sed
9072 instead of cpp. sed is portable and POSIX; cpp is neither.
9073
9074Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9075
9076 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9077
9078Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9079
9080 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9081
9082Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9083
9084 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9085 "_vb$".
9086 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9087 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9088
9089Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9090
9091 * lib/gdb.exp: Comment out code which depends on non-existent
9092 `transform' procedure.
9093
9094Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9095
9096 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9097 * lib/gdb.exp: Transform tool name.
9098 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9099 1.1's new error handling system.
9100
9101Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9102
9103 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9104
9105Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9106
9107 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9108 They made pattern matching so slow that timeouts happened on
9109 heavily loaded systems. Now any output from "show print" which
9110 gets us back to the GDB prompt is a PASS.
9111
9112Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9113
9114 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9115
9116Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9117
9118 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9119
9120 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9121 It is not from PR 3220.
9122
9123Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9124
9125 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9126 just started failing because they depended on the order the
9127 subcommands are presented, or exact docstring text. This kind of
9128 test is a pain and has minimal benefit.
9129
9130Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9131
9132 * gdb.t09/corefile.exp: At end of test, use "core" command with
9133 no arguments.
9134
9135Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9136
9137 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9138 17}/Makefile.in: Make it possible to run the testsuite with Sun
9139 make and CC = cross gcc by adding explicit build rules for .o
9140 files.
9141
9142Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9143
9144 * gdb.t15/funcargs.exp: Don't put comments on same line as
9145 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9146
c906108c
SS
9147Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9148
9149 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9150
9151Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9152
9153 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9154 * gdb.t20/inherit.exp: remove three dumplicate entries.
9155
9156Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9157
9158 * gdb.t06/break.exp: For "next over recursive call", fail on any
9159 incorrect output, not just on "factorial (value=2)".
9160
9161Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9162
9163 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9164 working now. Add an xfail if accesing a bss variable causes
9165 a memory error if the target is not yet run.
9166
9167Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9168
9169 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9170 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9171 name of __st* demangling (2 strings). Did Kung really get the
9172 more than 95 others right without testing them?
9173
9174Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9175
9176 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9177
9178Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9179
9180 * configure.in (configdirs): Add gdb.disasm
9181 * gdb.disasm: New directory for GDB disassembler tests.
9182 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9183
9184Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9185
9186 * gdb.t00/help.exp: Don't test "help set".
9187
9188 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9189 from within expect statements. None of these happen anymore and
9190 they cause regressions to be silently unnoticed.
9191
9192 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9193 messages) about known failures with gcc cygnus-2.4.5-930417.
9194
9195 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9196 comp-info.exp so it gets built if it doesn't exist.
9197
9198 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9199 it is no longer used.
9200 * gdb.t13/comp-info.c: Removed.
9201
9202Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9203
9204 * gdb.t06/signals.exp: Add xfail for sun3.
9205
9206Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9207
9208 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9209 relevant because ^C doesn't get sent but failure can be reproduced
9210 interactively).
9211
9212Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9213
9214 * gdb.stabs/alpha.mt: New configuration file for alpha.
9215 * gdb.stabs/configure.in: Use it.
9216 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9217 sharing with alpha.mt, redefine long to word via preprocessor.
9218 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9219 for alpha.
9220 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9221 native cc.
9222 * gdb.t00/teststrategy.exp: Change expect string so that we
9223 consume the `(xgdb)' from the command echo and from the gdb prompt.
9224 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9225 gdb currently compares all values as long, so this failure probably
9226 applies to any configuration where LONGEST is bigger than a target int.
9227 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9228 with gcc.
9229 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9230 to handle opaque pointers, gcc is.
9231 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9232 as first argument. Include <sys/types.h> and change all operator
9233 new definitions to use size_t.
9234 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9235 now that we use size_t.
9236
9237Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9238
9239 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9240 a long or float array cast all array members to the same type.
9241 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9242 with 64 bit longs.
9243 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9244 on alpha.
9245 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9246
9247Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9248
9249 * gdb.t24 (demangle.exp): Constructors of templates have names like
9250 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9251 section 14.6 of the ARM.
9252
9253 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9254 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9255 accomplish little and slow down the testsuite.
9256
9257 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9258 Accept spaces various places.
9259
9260Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9261
9262 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9263 with watchpoint enabled.
9264
9265 * Makefile.in: Remove definition of CC and remove the second
9266 definition of CXX (the "CXX = gcc" one remains). These definitions
9267 were causing backquotes to be expanded within backquotes, which
9268 doesn't work.
9269
9270Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9271
9272 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9273
9274Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9275
9276 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9277 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9278 by mips cc and contains no stabs entries.
9279
9280Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9281
9282 * config/vx-gdb.exp: Use fake device to load files rather than
9283 NFS.
9284 * lib/gdb.exp: New proc to do "file" command.
9285 * config/unix-gdb.exp: Use new "file" proc.
9286
9287Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9288
9289 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9290 Rework board rebooting slightly.
9291 (gdb_exit): Don't exit from the remote shell; there isn't one.
9292 * gdb.stabs/weird.exp: If a program is being debugged already,
9293 kill it.
9294 * gdb.t04/setvar.exp: Stop and restart gdb.
9295 * gdb.t05/expr.exp: Likewise.
9296 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9297 restart gdb and reload the program.
9298 * gdb.t08/opaque.exp: Likewise.
9299 * gdb.t12/scope.exp: Likewise.
9300 * gdb.t13/bitfields.exp: Likewise.
9301 * gdb.t15/funcargs.exp: Likewise.
9302 * gdb.t20/classes.exp: Likewise.
9303 * gdb.t03/ptype.exp: Increase timeout.
9304 * gdb.t16/printcmds.exp (test_print_string_constants,
9305 test_print_array_constants): Likewise.
9306 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9307 * gdb.t20/classes.exp (do_tests): Likewise.
9308 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9309
9310Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9311
9312 * gdb.stabs: Renamed *wierd* to *weird*.
9313
9314Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9315
9316 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9317 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9318
9319Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9320
9321 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9322 (do_tests): Remove xfail for whatis on one_var and two_var.
9323
9324Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9325
9326 * Makefile.in: Made cross building work better by adding
9327 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9328
9329Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9330
9331 * gdb.t15/{return.c,return.exp,Makefile.in}:
9332 New test, currently commented out.
9333
9334Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9335
9336 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9337 still running and removes the leftover named socket so GDb can do
9338 clean restarts.
9339
9340Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9341
9342 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9343 console, not GDB.
9344 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9345 cross testing works better with "make check"
9346 * config/unix-gdb: Use default procedures for exit and version.
9347 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9348 with the newest VxWorks.
9349
9350Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9351
9352 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9353 old form.
9354
9355 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9356 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9357
9358 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9359
9360 * config/unix-gdb.exp: Remove this version of gdb_exit
9361 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9362 Rob says he'll look at it when he gets back to testing boards.
9363
9364Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9365
9366 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9367 an expected fail for certain ptype commands.
9368
9369 * gdb.t20/classes.exp: Update expected results of "ptype class
9370 Base1" to account for the constructor that now appears in the type.
9371
9372Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9373
9374 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9375 disappeared from list.
9376 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9377 "alldone" proc with call to cleanup and exit.
9378 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9379 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9380 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9381 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9382 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9383 "alldone" proc with simple returns that suppress remaining
9384 tests. The alldone proc went away many months ago.
9385
9386Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9387
9388 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9389
9390 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9391
9392Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9393
9394 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9395 as vax gdb will display them.
9396
9397Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9398
9399 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9400 optimizers.
9401
9402 * scope.exp: Change "bad value for localval" messages so each one
9403 is unique.
9404
9405 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9406 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9407
9408 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9409
9410Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9411
9412 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9413 doesn't exist (due to optimization).
9414
9415Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9416
9417 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9418 contains \r because the filename is long.
9419
9420 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9421 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9422
9423Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9424
9425 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9426 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9427 Ultrix.
9428 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9429 int tests.
9430 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9431
9432Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9433
9434 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9435
9436 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9437 to match does not match the passing case but still matches the
c906108c
SS
9438 failing case.
9439
9440Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9441
9442 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9443
9444Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9445
9446 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9447 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9448 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9449 Remove various versions of gdb_exit.
9450 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9451 gdb_exit.
9452 * config/unix-gdb.exp: gdb_exit remains here, and should override
9453 the generic version, since it's doing a lot of wierd stuff that
9454 the other versions aren't. FIXME, fold it in, or abandon this
9455 version.
9456
9457Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9458
9459 * gdb.t24/demangle.exp: Add tests for PR 3220.
9460
9461Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9462
9463 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9464
9465Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9466
9467 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9468 "i386-*-*". Works for i486 as well.
9469
9470 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9471 bug, and expand domain of xfail to all SVR4 systems, since the
9472 actual problem is likely to be in generic SVR4 /proc support.
9473
9474Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9475
9476 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9477
9478Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9479
9480 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9481 xfails for other systems. Match a missing 'Continuing.' as an
9482 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9483
9484 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9485 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9486 Only issue warning for missing executables if -all option is used.
9487
9488 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9489 file if -all option is used. It's like an unpredictable XFAIL.
9490
9491Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9492
9493 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9494 for dynamically linked binaries.
9495
9496 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9497
9498Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9499
9500 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9501 to state that this is a known bug in old versions of g++.
9502
9503Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9504
9505 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9506 while waiting for `Continuing'.
9507
9508Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9509
9510 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9511 in text, data, and bss.
9512 * gdb.t10/nodebug.c: Add local and global test variables for
9513 initialized and uninitialized data.
9514
9515Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9516
9517 * config/unix-gdb.exp (gdb_exit): Add "wait".
9518
9519Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9520
9521 * gdb.t06/signals.exp: xfail the continue from the handler for all
9522 targets.
9523
9524 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9525 function with watchpoints enabled, the i386 call dummy starts with
9526 a call.
9527
9528 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9529 386 bsd names its corefiles.
9530
9531Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9532
9533 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9534 compilers don't grok it.
9535 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9536 with small octal ints rather than character constants, which
9537 are signed and might not fit if first promoted to int.
9538
9539Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9540
9541 * gdb.t09/Makefile.in (clean): Remove corefile.
9542
9543Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9544
9545 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9546
9547Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9548 and Jim Kingdon (kingdon@cygnus.com)
9549
9550 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9551 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9552 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9553
9554Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9555
9556 * gdb.t17/interrupt.exp: Add xfail for hppa.
9557
9558Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9559
9560 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9561 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9562 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9563 to determine signed-ness of bitfields and use the result to setup
9564 the xfail.
9565 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9566 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9567 call line is reached if necessary.
9568
9569Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9570
9571 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9572
9573Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9574
9575 * gdb.t06/break.exp: Also test `clear' command.
9576
9577Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9578
9579 * gdb.t00/teststrategy.exp: Remove extra quote.
9580
9581 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9582 watchpoint enabled to be for all non-68k machines.
9583
9584 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9585
9586Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9587
9588 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9589 targets use aout.mt instead of ecoff.mt as gas understands
9590 standard aout format.
9591
9592Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9593
9594 * lib/gdb.exp (runto): Don't insist that function we are running to
9595 was compiled with -g.
9596
9597 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9598
9599 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9600 to get back into the read system call.
9601 Accept leading newline in case where we woke it up.
9602
9603Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9604
9605 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9606 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9607 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9608 enable ecoff configuration.
9609
9610Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9611
9612 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9613
9614Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9615
9616 * gdb.t16/printcmds.exp: Add another printf test.
9617
9618Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9619
9620 * configure.in: If configured -with-stabs on any target, add
9621 stabsdirs to configdirs.
9622
9623Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9624
9625 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9626 fun" so pattern does not match the command itself.
9627
9628Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9629
9630 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9631
9632Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9633
9634 * gdb.t17/interrupt.exp: Test for more things.
9635
9636Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9637
9638 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9639 compiler arranges the code and line numbers.
9640
9641 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9642
9643Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9644
9645 * gdb.t00/help.exp: Increase expect input buffer size.
9646
9647Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9648
9649 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9650
9651 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9652
9653 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9654
9655 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9656 [0-9]*, not just [0-9].
9657
9658Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9659
9660 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9661
9662 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9663
9664Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9665
9666 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9667
9668Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9669
9670 * gdb.t06/signals.c: Add xfails for sun3.
9671
9672 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9673
9674 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9675 test_stepping tests.
9676
9677Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9678
9679 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9680
9681 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9682
9683 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9684 rather than actually putting it through cpp twice.
9685
9686 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9687
9688Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9689
9690 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9691 no longer needed.
9692
9693Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9694
9695 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9696
9697 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9698 C++ features prints as "struct", make it a pass, not an xfail.
9699
9700Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9701
9702 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9703 Don't require VA to print as "class" rather than "struct".
9704
9705Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9706
9707 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9708
9709Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9710
9711 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9712
9713Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9714
9715 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9716 order.
9717
9718Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9719
9720 * gdb.t16/printcmds.exp: Add printf tests.
9721
9722 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9723
9724 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9725
9726Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9727
9728 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9729 pass counts, to counteract any existing or future setup_xfails.
9730
9731Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9732
9733 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9734 {BEGIN,END}_COMMON for common block instead of STAB.
9735 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9736
9737 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9738 intp_var should be N_GSYM not N_LSYM.
9739 wierd-aout.S: Use a label for the value of the N_SO.
9740 wierd.def: Remove all backslashes.
9741 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9742
9743Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9744
9745 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9746 get the expected next to inheritance3.
9747
9748Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9749
9750 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9751 now that gcc-2.4 gets it right.
9752
9753Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9754
9755 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9756
9757 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9758 generating comp-info.exp which works for cross-compilation.
9759
9760Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9761
9762 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9763 "*-*-sysv4.*".
9764
9765Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9766
9767 * gdb.t01/run.exp: Start with a fresh gdb.
9768 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9769 SVR4.x.
9770
9771Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9772
9773 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9774 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9775 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9776 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9777 things to remove.
9778
9779Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9780
9781 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9782 test cases from bug reports.
9783
9784Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9785
9786 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9787 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9788 avoid spurious xfails.
9789 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9790 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9791 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9792
9793Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9794
9795 * gdb.t00/teststrategy.exp: Rework to provide more useful
9796 description of each test, fix problem with systems that define
9797 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9798 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9799 results for "next over recursive call" so timeouts aren't taken
9800 by error.
9801
9802Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9803
9804 * gdb.t12/scope.exp: Test printing of variables before run.
9805
9806 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9807 printed in wrong order due to sorting.
9808
9809Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9810
9811 * gdb.t00/teststrategy.exp: Fix expected results for printing
9812 user entered string constant. Is array of char, prints with no
9813 address.
9814
9815 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9816 commands.
9817 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9818 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9819 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9820 of struct of char arrays.
9821 * gdb.t00/radix.exp: New tests for radix commands.
9822
9823Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9824
9825 * gdb.t16/printcmd.exp: Print a variable before running program
9826 (with xfail for AIX).
9827
9828Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9829
9830 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9831
9832 * gdb.t16/printcmd.exp: Don't print variables before running program.
9833
9834 * gdb.t06/break.exp: Don't require envp argument to main.
9835
9836 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9837
9838 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9839 Add xfails for rs6000.
9840
9841 * gdb.t02/whatis.exp: Change other tests not to re-test something
9842 we already tested.
9843
9844 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9845 each type used has a variable of that type.
9846
9847Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9848
9849 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9850
9851Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9852
9853 * configure.in: change srctrigger to be a file, not a directory
9854
9855Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9856
9857 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9858
9859 * gdb.t11/list.exp: Fixed a couple of typos.
9860
9861Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9862
9863 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9864 is fixed and PR is closed.
9865 * gdb.t16 (gdbme.c): Add simple test string variable.
9866 * gdb.t16 (printcmds.exp): Add tests with simple test string
9867 variable, primarily for boundaries on "set print elements".
9868
9869Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9870
9871 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9872 Make leading 0's optional and don't expect a tab in the middle
9873 of the number.
9874
9875 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9876
9877 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9878 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9879 don't end command passed to gdb_test with newline.
9880
9881 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9882 signed keyword away, don't expect signed bitfields to be signed.
9883
9884 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9885 printing with only as many 1's as are in the field as well as printing
9886 with 32 1's (see comment).
9887
9888Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9889
9890 * gdb.t00/default.exp: Start with a fresh gdb.
9891 * configure.in (configdirs): Remove gdb.t31 until the chill
9892 compiler works again. It no longer is able to find chillrt0
9893 since it isn't in libchill.a anymore.
9894 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9895 wierd.o, make more modular.
9896 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9897 spurious newlines that caused problems.
9898
9899Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9900
9901 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9902 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9903 gdb.stabs/wierd.{exp,def}: Many new tests.
9904
9905 * gdb.t00/default.exp: update info line for new message.
9906
9907 * gdb.t02/{whatis.exp,gdbme.c}:
9908 Test that "char *" doesn't print as "caddr_t".
9909
9910Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9911
9912 * gdb.t00/help.exp: Use .* in place of some help messages which
9913 just changed.
9914 gdb.t00/default.exp: Update "info frame" test for new message.
9915 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9916 Remove some xfails
9917
9918Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9919
9920 * gdb.t03/{gdbme.c,ptype.exp}:
9921 Add tests for typedef'd struct and union without tags.
9922 Also check "whatis" on a variable of a typedef'd enum without a tag.
9923
9924 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9925 PRMS 1823; the bug still exists but isn't reproduced by this test
9926 anymore), and remove rs6000 XFAIL (the bug is fixed).
9927
9928 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9929 duplicated from whatis.exp. For those that are left, accept
9930 "long", "long int", or "int" for long variables (whatis.exp already
9931 has an XFAIL for "int", so no need to fail it here).
9932
9933 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9934 Deal with GCC's names for types now that GDB uses the compiler's names.
9935
9936 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9937 setup_xfail's for sunos4. If we #defined the signed keyword away,
9938 don't expect GDB to know that char it is signed.
9939
9940 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9941
9942Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9943
9944 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9945 should work on any system, regardless of debugging format.
9946 * gdb.t21/demangle.exp: Move to gdb.t24.
9947 * gdb.t24/demangle.exp: Move from gdb.t21.
9948 * gdb.t24/{Makefile.in, configure.in}: New files.
9949
9950Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9951
9952 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9953 * gdb.stabs: New directory.
9954
9955Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9956
9957 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9958 not just "Quit anyway?".
9959
9960Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9961
9962 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9963 that all setup_xfails are immediately followed by clear_xfails.
9964
9965Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9966
9967 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9968 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9969 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9970 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9971 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9972 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9973 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9974 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9975 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9976 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9977 gdb.t31/chillvars.exp, lib/gdb.exp:
9978 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9979 bug-gdb@prep.ai.mit.edu.
9980
9981Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9982
9983 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9984 with 0.0, not integer 0.
9985
9986Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9987
9988 * gdb.t06/break.exp: Update for "Kill the program" message change.
9989
9990Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9991
9992 * Makefile.in (GDBFLAGS): Set to -nx.
9993 * Makefile.in (site.exp): Use GDBFLAGS.
9994
9995Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9996
9997 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9998 Makefiles.
9999 (check): depend on just-check.
10000 (just-check): added so that tests can be run without a noop
10001 build pass.
10002
10003Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10004
10005 Switch to using configure's configdirs.
10006 * Makefile.in (Makefile): add configure.in dependency.
10007 (SUBDIRS): removed redundant assignment.
10008 * configure.in: switch subdirs assignment to configdirs.
10009 * gdb.t*/configure.in: new files.
10010
10011Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10012
10013 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10014 works.
10015
10016Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10017
10018 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10019 in explicit rules. Apparently this is not supported by some makes.
10020
10021Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10022
10023 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10024
10025Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10026
10027 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10028 disappeared.
10029
10030Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10031
10032 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10033
10034Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10035
10036 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10037 watchpoint problem that is now fixed.
10038 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10039 uninitialized convenience variables.
10040 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10041 structures.
10042
10043Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10044
10045 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10046 which causes expect to get out of sync with gdb on long output
10047 from help set.
10048 * gdb.t09/corefile.exp: Make expected pattern for core file
10049 failing signal and frame output format less sun specific.
10050
10051Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10052
10053 * gdb.t31/chillvars.exp: Add and remove initial dummy
10054 breakpoint, so that symbol table is forced in.
10055 (Needed at least on Sunos4, though it seems not SVR4.)
10056 * gdb.t31/chillvars.exp: Update for changed output format.
10057
10058Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10059
10060 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10061
10062Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10063
10064 * Makefile.in: Added --srcdir when invoking runtest, removed the
10065 need for a local config file. (optional now)
10066
10067Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10068
10069 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10070 failure count used to force early termination. Add some more
10071 expected failures for gnu style demangling.
10072
10073Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10074
10075 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10076 pmi variable from gdb.t20/gdbme to get optimized away.
10077 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10078 Check for written corefile upon timeout _and_ eof.
10079
10080Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10081
10082 * config/unix-gdb.exp: Add missing return 0.
10083
10084Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10085
10086 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10087 test termination.
10088
10089Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10090
10091 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10092 disappeared.
10093
10094Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10095
10096 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10097 time as i860 support works.
10098
beb998c6 10099 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10100 "backtrace 100\r" rather than just "backtrace\r", to match last
10101 change.
10102
10103Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10104
10105 * config/udi-gdb.exp (gdb_exit): Remove close command.
10106 (gdb_target_udi): New procedure to set the UDI target.
10107 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10108 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10109 Added waits for prompts after several question responses. Added
10110 some more responses used by a29k-amd-udi-gdb.
10111 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10112 pass different arguments, restart UDI connection after program
10113 completion.
10114 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10115 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10116 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10117 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10118 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10119 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10120 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10121 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10122 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10123 after program completion.
10124 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10125 compiled with a SELECT_VECS setting.
10126 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10127 infinite recursion.
10128
10129 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10130 Added checks for COFF results, and made them expected failures for
10131 all targets. It would be better to make them expected failures
10132 for COFF targets only.
10133
10134Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10135
10136 * Makefile.in: add null dvi target, don't bother to recurse
10137 through test directories for info and install-info; rename
10138 $(datadir) to be dejagnu instead of deja-gnu
10139
10140Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10141
10142 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10143 compiler to coredump.
10144 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10145 code.
10146
10147Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10148
10149 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10150 coredump.
10151 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10152 code.
10153
10154Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10155
10156 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10157 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10158 which in a shell. Deletes xgdb when done.
10159 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10160 Tests the return from the "set height" or "set width" commands.
10161 Added a few return codes where needed.
10162
10163Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10164
10165 * Makefile.in (SUBDIRS): Add gdb.t17.
10166 * configure.in (subdirs): Add gdb.t17.
10167 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10168 files to test gdb's calling of functions in the inferior with
10169 the correct arguments and gdb's ability to retrieve any
10170 result returned.
10171
10172Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10173
10174 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10175 may be called after gdb goes away. Previous versions of expect
10176 needed these to avoid file descriptor leaks, but they cause
10177 errors with the current revision of expect.
10178 * gdb.t00/gdbvars.exp: Use -re on expected output after
10179 setting sevenbit-strings.
10180 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10181 to set sevenbit-strings consistent across tests.
10182 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10183 set sevenbit-strings consistent across tests.
10184
10185Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10186
10187 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10188 expected output to match current "expect" expectations.
10189
10190Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10191
10192 * gdb.t00/default.exp: Change expected output for default "source"
10193 command, to match new gdb behavior which requires a filename to
10194 source.
10195
10196Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10197
10198 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10199 expected fail for i486-*-* that misses the marker2 function.
10200 * gdb.t10/crossload.exp (bfddefault): Allow successful
10201 recognition of a format to pass even if no symbols are found.
10202 Explicitly catch failures where the format is not recognized
10203 or is ambiguous, and add the reason to the fail message.
10204 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10205 the cause is and invalid target and add reason to failure message.
10206 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10207 elf32-i386, elf32-sparc, and elf32-i860.
10208 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10209 Set up expected failure for 'filename'::variable scope resolution,
10210 which is now apparently broken on all targets.
10211 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10212 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10213 gdb.t23/templates.exp: Change failure for missing binfile into
10214 just a warning.
10215 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10216 references.
10217
10218Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10219
10220 * gdb.t00/default.exp: Add expected output for default "source"
10221 command, to match new gdb behavior.
10222 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10223
10224Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10225
10226 * config/*-gdb.exp: returns an error, rather than exiting on
10227 internal errors.
10228
10229Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10230
10231 * gdb.t03/gdbme.c: Add pointer to struct variable.
10232 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10233 referencing struct members.
10234
10235Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10236
10237 * configure.in (mips-idt-ecoff): New target.
10238 * config/mips-gdb.exp: New file for remote board using MIPS remote
10239 debugging protocol.
10240
10241 * Redid configuration scheme. Removed gdb.t*/configure.in.
10242 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10243 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10244 distclean targets. Built executables via .o files. Adjusted
10245 tests to account for source files in $(srcdir) rather than
10246 $(objdir).
10247 * lib/gdb.exp (runto): Don't expect () after the function name,
10248 because it may have arguments.
10249
10250Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10251
10252 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10253 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10254 expected failures for mips-idt-* and mips-sgi-*.
10255 * gdb.t00/default.exp (attach): Kill process if requested.
10256 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10257 that does not read core files.
10258 * gdb.t01/run.exp: Removed checks for exit status code.
10259 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10260 it is linked in.
10261 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10262 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10263 appropriate, rather than doing it by hand.
10264 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10265 execution.
10266 * gdb.t10/crossload.exp: Kill existing program if needed.
10267 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10268 appropriate, rather than doing it by hand. Always increase
10269 timeout for this test, not just for VxWorks.
10270
10271Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10272
10273 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10274 of Chill STRUCT types and STRUCT values.
10275 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10276 than "char".
10277 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10278 struct2): New struct definitions and initializations to test
c906108c
SS
10279 simple Chill STRUCT types.
10280
10281Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10282
10283 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10284 the null byte at the end of strings.
10285 * gdb.t00/default.exp: Make show version insensitive to copyright
10286 date.
10287 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10288 to avoid dependencies on target char signedness.
10289 * gdb.t16/printcmds.exp: Update expected results for explicitly
10290 unsigned char.
10291 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10292 now work.
10293 * gdb.t21/demangle.exp: Add many more patterns for template
10294 demangling, most of them being expected failures.
10295 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10296 string we are matching for, to match on the whole string.
10297 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10298 and fix a whole bunch that had incorrect expected output but were
10299 passing anyway because of the bug in "proc demangle".
10300 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10301 type.
10302 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10303
10304Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10305
10306 * gdb/testsuite: made modifications to testcases, etc., to allow
10307 them to work properly given the reorganization of deja-gnu and the
10308 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10309
10310Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10311
10312 * gdb/testsuite: Initial creation of gdb/testsuite.
10313 Migrated dejagnu testcases and support files for testing nm to
10314 gdb/testsuite from deja-gnu. These files were moved "as is"
10315 with no modifications. This migration is part of a major overhaul
10316 of dejagnu. The modifications to these testcases, etc., which
10317 will allow them to work with the new version of dejagnu will be
10318 made in a future update.
10319\f
10320Local Variables:
10321mode: indented-text
10322left-margin: 8
10323fill-column: 74
10324version-control: never
10325End: