* Makefile.in: Add dependencies for remote-fileio.o.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
53df362e
RG
12003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
2
3 * gdb.base/shreloc.exp: New file, check symbol values obtained from
4 shared objects after relocation at load time (gdb PR/1132).
5 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
6 as above, part of the shared object relocation test.
7
ffee1b46
MK
82003-06-08 Mark Kettenis <kettenis@gnu.org>
9
b5ca3722
MK
10 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
11 fully filled history list.
12 * gdb.base/gdb_history: New file.
13
03ed860d
MK
14 * gdb.base/signals.exp: XFAIL "continue to func1" on
15 i*86-*-freebsd*.
16
ffee1b46
MK
17 * gdb.base/attach.exp: When trying to attach to a nonexistent
18 process, make it possible to specify the PID based on the target,
19 and do so for *-*-freebsd*.
20
d80dbb52
RH
212003-06-02 Richard Henderson <rth@redhat.com>
22
23 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
24
6dd77b81
RH
252003-06-02 Richard Henderson <rth@redhat.com>
26
27 * gdb.base/selftest.exp: Next over lim_at_start initialization.
28
f6347e16
RH
292003-06-02 Richard Henderson <rth@redhat.com>
30
31 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
32
2c161407
DJ
332003-06-01 Daniel Jacobowitz <drow@mvista.com>
34
35 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
36 of globalvar.
37
572eb746
MK
382003-06-01 Mark Kettenis <kettenis@gnu.org>
39
40 * gdb.asm/asm-source.exp: Check for memory read errors in
41 disassembler test on *BSD too.
42
9e9617a5
RH
432003-06-01 Richard Henderson <rth@redhat.com>
44
45 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
46 for .frame.
47 (gdbasm_call): Lose ldgp.
48 (gdbasm_startup): Add frame information.
49 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
50
7b34ad4e
MK
512003-05-31 Mark Kettenis <kettenis@gnu.org>
52
53 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
54 i?86-*-*.
55
10059fdf
MK
562003-05-30 Mark Kettenis <kettenis@gnu.org>
57
58 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
59 FreeBSD.
60
acf4b816
RH
612003-05-29 Richard Henderson <rth@redhat.com>
62
63 * gdb.asm/alpha.inc: New file.
64 * gdb.asm/asm-source.exp: Use it.
65
e9ecd949
JB
662003-05-29 Jim Blandy <jimb@redhat.com>
67
68 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
69 'core.PID'.
70
e3e5a4f3
JB
712003-05-22 Jim Blandy <jimb@redhat.com>
72
73 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
74 backtrace.
75
72fe3d25
DC
762003-05-20 David Carlton <carlton@math.stanford.edu>
77
78 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
79 this time.
80
58da2eb2
DC
812003-05-19 David Carlton <carlton@bactrian.org>
82
83 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
84 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
85
1fcb5155
DC
862003-05-19 David Carlton <carlton@bactrian.org>
87
88 * gdb.c++/namespace.exp: Add namespace scope and anonymous
89 namespace tests.
90 Bump copyright date.
91 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
92 (main): Call C::D::marker2.
93 * gdb.c++/namespace1.cc: New file.
94
85e85163
JJ
952003-05-14 Jeff Johnston <jjohnstn@redhat.com>
96
97 Roland McGrath <roland@redhat.com>
98 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
99 there is no manager thread.
100
a25fbfec
JJ
1012003-05-08 Jeff Johnston <jjohnstn@redhat.com>
102
103 * gdb.threads/schedlock.exp: Remove assumption that all threads
104 will run in a particular small time slice. Also ensure we break
105 in one of the child threads rather than the main thread.
106
be375bae
JB
1072003-05-07 Jim Blandy <jimb@redhat.com>
108
09bf6082
JB
109 Add support for assembly source testing on the s390x.
110 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
111 architecture.
112 * gdb.asm/s390x.inc: New file.
113
be375bae
JB
114 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
115 succession of 'if' statements.
116
00905d52
AC
1172003-05-05 Andrew Cagney <cagney@redhat.com>
118
119 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
120
b1e29e33
AC
1212003-05-05 Andrew Cagney <cagney@redhat.com>
122
123 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
124 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
125
e33d66ec
EZ
1262003-05-02 Elena Zannoni <ezannoni@redhat.com>
127
128 * gdb.base/charset.exp: Update based on new behavior of set/show
129 charset commands.
130
2b6fd0d8
AC
1312003-05-01 Andrew Cagney <cagney@redhat.com>
132
133 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
134 variable do not give memory errors.
135
130cacce
AF
1362003-04-30 Adam Fedor <fedor@gnu.org>
137
138 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
139 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
140 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
141 gdb.objc/basicclass.m: : New files
142
143 * lib/gdb.exp (gdb_compile_objc): New procedure.
144
bea71854
DJ
1452003-04-27 Daniel Jacobowitz <drow@mvista.com>
146
147 * gdb.base/signals.exp: Make backtrace tests more specific.
148
0f20eeea
DC
1492003-04-23 David Carlton <carlton@bactrian.org>
150
151 * gdb.c++/maint.exp (test_first_component): Add tests for
152 'operator' in more locations.
153
c8c4d8dc
KB
1542003-04-16 Kevin Buettner <kevinb@redhat.com>
155
156 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
157
3fe60e3c
EZ
1582003-04-16 Elena Zannoni <ezannoni@redhat.com>
159
160 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
161 func marke' instead. Update test name.
162
9219021c
DC
1632003-04-15 David Carlton <carlton@math.stanford.edu>
164
165 * gdb.c++/maint.exp: New file.
166
5dd55bdd
EZ
1672003-04-14 Elena Zannoni <ezannoni@redhat.com>
168
169 * gdb.threads/schedlock.c: Change type of thread function argument
170 to long, to avoid warnings on 64-bit platforms.
171
00890572
EZ
1722003-04-14 Elena Zannoni <ezannoni@redhat.com>
173
174 * gdb.base/attach.exp: Add new message from ptrace in case of
175 attaching to nonexistent process.
176
93201743
JB
1772003-04-11 Jim Blandy <jimb@redhat.com>
178
179 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
180 gdb.c++/userdef.cc: Place comments on the lines to which the
181 marker function might return.
182 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
183 gdb.c++/userdef.exp: Look for those comments to check that we've
184 returned to the right place, instead of checking line numbers.
185
2a11c64d
EZ
1862003-04-11 Elena Zannoni <ezannoni@redhat.com>
187
188 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
189 match on sourcefile name, instead of directory name.
190
68ab8fc5
EZ
1912003-04-10 Elena Zannoni <ezannoni@redhat.com>
192
193 * gdb.base/completion.exp: Use string_to_regexp to match the
194 working directory name.
195
5624293a
JB
1962003-04-09 Jim Blandy <jimb@redhat.com>
197
198 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
199 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
200 after an inferior function call, report the failure, but allow the
201 test to continue.
202
f1f02ee4
SC
2032003-04-05 Stephane Carrez <stcarrez@nerim.fr>
204
205 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
206 with -DPROTOTYPES.
207
6eb79af0
SC
2082003-04-05 Stephane Carrez <stcarrez@nerim.fr>
209
210 * gdb.base/break.exp: Revert last patch.
211
8dfb4cf0
SC
2122003-04-04 Stephane Carrez <stcarrez@nerim.fr>
213
214 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
215 with -DPROTOTYPES.
216
ed4c619a
AC
2172003-04-02 Andrew Cagney <cagney@redhat.com>
218
219 * gdb.base/callfuncs.exp: Make "print add" messages unique.
220 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
221 matching directories by the name breakpoint.
222 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
223 Make "continue to marker1" consistent.
224 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
225 message consistent.
226 * lib/gdb.exp: Put "the program is no longer running", and "the
227 program exited" in parenthesis.
228 * lib/mi-support.exp: Ditto.
229
4e35d5f0
BR
2302003-04-02 Bob Rossi <bob_rossi@cox.net>
231
232 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
233
71900fe8
AC
2342003-03-29 Andrew Cagney <cagney@redhat.com>
235
236 * gdb.base/sizeof.c (main): Print the value of '\377'.
237 * gdb.base/sizeof.exp: Check the sign of '\377'.
238
c0655a16
MC
2392003-03-27 Michael Chastain <mec@shout.net>
240
241 * gdb.base/gdb1090.exp: New file.
242 * gdb.base/gdb1090.cc: New file.
243
5b2a3989
JB
2442003-03-27 J. Brobecker <brobecker@gnat.com>
245
246 * gdb.gdb/observer.exp: New regression test.
247
79876890
MC
2482003-03-27 Michael Chastain <mec@shout.net>
249
250 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
251 * gdb.base/ptype.exp: Likewise.
252
6eac95e3
CV
2532003-03-27 Corinna Vinschen <vinschen@redhat.com>
254
255 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
256
e8c71839
MC
2572003-03-26 Michael Chastain <mec@shout.net>
258
259 * gdb.base/ptype.exp: Actually use some typedef'd types.
260
71b10041
SC
2612003-03-21 Stephane Carrez <stcarrez@nerim.fr>
262
263 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
264 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
265
2512cf80
CV
2662003-03-20 Corinna Vinschen <vinschen@redhat.com>
267
268 * gdb.base/default.exp: Fix regular expression.
269
0d195a4f
CV
2702003-03-20 Corinna Vinschen <vinschen@redhat.com>
271
272 * gdb.base/args.exp: Fix regular expression.
273
8a2dbca8
CV
2742003-03-20 Corinna Vinschen <vinschen@redhat.com>
275
276 * gdb.base/help.exp: Allow Win32 child process.
277
bf028682
CV
2782003-03-20 Corinna Vinschen <vinschen@redhat.com>
279
280 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
281 when stepping out of main().
282
182dbe85
CV
2832003-03-20 Corinna Vinschen <vinschen@redhat.com>
284
285 * gdb.base/default.exp: Check for win32 specific message when calling
286 "run" without executable.
287
d67a6ba5
CV
2882003-03-20 Corinna Vinschen <vinschen@redhat.com>
289
290 * gdb.base/args.exp: Expect .exe in output.
291
a955b5bb
CV
2922003-03-20 Corinna Vinschen <vinschen@redhat.com>
293
294 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
295 Cygwin native.
296
bf6bad4b
AC
2972003-03-17 Andrew Cagney <cagney@redhat.com>
298
299 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
300 vector registes.
301 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
302 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
303
293e9a31
DC
3042003-03-17 David Carlton <carlton@math.stanford.edu>
305
306 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
307 test, for PR breakpoints/38.
308 Call test_watchpoint_and_breakpoint.
309 * gdb.base/watchpoint.c (func3): New function.
310 (main): Call func3.
311
5330f2db
DC
3122003-03-04 David Carlton <carlton@math.stanford.edu>
313
314 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
315 Garply<Garply<char> >:: garply".
316 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
317 with respect to PR c++/1111; note also PR c++/1113.
318 (test_template_breakpoints): KFAIL "constructor breakpoint" with
319 respect to PR c++/1062.
320 KFAIL "destructor breakpoint" with respect to PR c++/1112.
321
6ece72da
DC
3222003-03-03 David Carlton <carlton@math.stanford.edu>
323
324 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
325 with respect to PR c++/57.
326 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
327 c++/826.
328 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
329 respect to PR c++/57.
330
85ca1584
DC
3312003-03-03 David Carlton <carlton@math.stanford.edu>
332
333 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
334 respect to PR c++/33 into FAILs.
335
98e9c5b8
MC
3362003-03-03 Michael Chastain <mec@shout.net>
337
7bedbf27
MC
338 * configure.in: Update copyright years.
339
3402003-03-03 Michael Chastain <mec@shout.net>
341
342 * Makefile.in: Update copyright years.
98e9c5b8 343
f683e100
DC
3442003-02-28 David Carlton <carlton@math.stanford.edu>
345
346 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
347 print class instead of struct and/or superfluous protection
348 specifiers, as long as the resulting output is equivalent to the
349 source code.
350 Delete FIXME from end of messages on tests that don't need
351 fixing.
352
a9e0cf2c
DC
3532003-02-28 David Carlton <carlton@math.stanford.edu>
354
355 * gdb.c++/templates.exp (do_tests): Allow const in the two
356 Foo<volatile char *>::foo tests.
357
e8d359df
MS
3582003-02-27 Michael Snyder <msnyder@redhat.com>
359
360 * gdb.base/restore.c (main): Return zero, so exit code
361 will be consistant.
362
0b71dc91
DC
3632003-02-26 David Carlton <carlton@math.stanford.edu>
364
365 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
366 char *>::foo" test with respect to PR c++/33. Create a new test
367 which is identical to that one except that it doesn't put the
368 space between the "char" and the "*"; KFAIL it, too.
369
dd14ab43
DC
3702003-02-26 David Carlton <carlton@math.stanford.edu>
371
372 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
373 template types into either PASSes or KFAILs (corresponding to PR
374 c++/57). Tweak indentation. Update copyright.
375
1146c7f1
SC
3762003-02-23 Stephane Carrez <stcarrez@nerim.fr>
377
378 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
379
74641dfb
MC
3802003-02-13 Michael Chastain <mec@shout.net>
381
382 * gdb.base/exprs.exp: Remove i960 remnants.
383 * gdb.base/funcargs.exp: Likewise.
384 * gdb.base/list.exp: Likewise.
385 * gdb.base/ptype.exp: Likewise.
386
559cd2d0
DC
3872003-02-14 David Carlton <carlton@math.stanford.edu>
388
389 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
390 pEe->D::vg()" from XFAIL to KFAIL.
391
c4f90d87
JM
3922003-02-13 Jason Molenda (jmolenda@apple.com)
393
394 * gdb.base/maint.exp: Update maint print statistics regexp to include
395 new entries.
396
cbc4d97c
MC
3972003-02-13 Michael Chastain <mec@shout.net>
398
399 * gdb.c++/inherit.exp: Remove call to get_debug_format.
400
40f235b7
MC
4012003-02-12 Michael Chastain <mec@shout.net>
402
403 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
404 * gdb.c++/inherit.exp: Likewise.
405 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
406 * gdb.c++/templates.exp: Likewise.
407 * gdb.c++/virtfunc.exp: Likewise.
408
c56716b0
JM
4092003-02-06 Jason Molenda (jason-cl@molenda.com)
410
411 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
412 why the code is written that way.
413
070afcf8
MC
4142003-02-05 Michael Chastain <mec@shout.net>
415
416 * gdb.base/dump.exp: Add missing copyright line.
417
5d0331e5
JM
4182003-02-05 Jason Molenda (jason-cl@molenda.com)
419
f7ae6d3e 420 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
421 at the beginning so the breakpoint doesn't get set on the loop.
422
92851186
MC
4232003-02-05 Michael Chastain <mec@shout.net>
424
425 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
426 output for configurations with gcc 2.95.3.
427
cbf1e085
AC
4282003-02-05 Keith Seitz <keiths@redhat.com>
429 Andrew Cagney <ac131313@redhat.com>
430
431 * gdb.mi/mi-cli.exp: New file.
432
29518e1e
MC
4332003-02-04 Michael Chastain <mec@shout.net>
434
435 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
436 Call perror and then continue.
437
5af1d5f3
MC
4382003-02-03 Michael Chastain <mec@shout.net>
439
440 * gdb.c++/pr-1023.cc: New file.
441 * gdb.c++/pr-1023.exp: New file.
442
6b549786
JB
4432003-02-05 Jim Blandy <jimb@redhat.com>
444
445 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
446 it's local to foobar. Check for it there, and check that it's not
447 present in main.
448 * gdb.c++/local.cc (marker2): New function.
449 (foobar): Call marker1.
450 (main): Call marker2 instead of marker1.
451
67f16606
AC
4522003-02-04 Andrew Cagney <ac131313@redhat.com>
453
454 * gdb.disasm/mn10200.exp: Obsolete file.
455 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
456 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
457 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
458
1c5cb38e
DC
4592003-02-04 David Carlton <carlton@math.stanford.edu>
460
461 * gdb.c++/overload.exp: Test intToChar(1).
462 * gdb.c++/overload.cc (intToChar): New.
463 (main): Call intToChar.
464
d1fe6965
DC
4652003-02-03 David Carlton <carlton@math.stanford.edu>
466
467 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
468 'might_kfail' arg.
469 KFAIL some of the continue_to_bp_overloaded calls, according to
470 PR c++/1025.
471
9ba61c5d
MC
4722003-02-01 Michael Chastain <mec@shout.net>
473
474 * gdb.base/advance.c (marker1): New marker function.
475 * gdb.base/advance.exp: When the 'advance' command lands on the
476 return breakpoint, it can legitimately stop on either the
477 current line or the next line. Accommodate both outcomes.
478 * gdb.base/until.exp: Likewise.
479
e7494ffb
AC
4802003-02-02 Andrew Cagney <ac131313@redhat.com>
481
482 2002-11-10 Jason Molenda (jason-cl@molenda.com):
483 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
484 now a list, not a tuple.
485 * gdb.mi/mi-var-display.exp: Ditto.
486 * gdb.mi/gdb792.exp: Ditto.
487
075559bc
AC
4882003-02-01 Andrew Cagney <ac131313@redhat.com>
489
490 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
491 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
492 stack backtraces.
493 * gdb.mi/mi-syn-frame.c: Part of same.
494
2bd4c7b1
MK
4952003-02-01 Mark Kettenis <kettenis@gnu.org>
496
497 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
498 gdb.mi/mi1-pthreads.exp: Return instead of calling
499 gdb_suppress_entire_file.
500
eabd8992
MS
5012003-02-01 Mark Salter <msalter@redhat.com>
502
503 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
504
71469e2f
MS
5052003-01-31 Mark Salter <msalter@redhat.com>
506
507 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
508 Support empty arg.
509
38a94d44
MC
5102003-01-30 Michael Chastain <mec@shout.net>
511
512 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
513 This was a workaround for a UTF-8 bug in readline 4.3. The bug
514 has been fixed in gdb/readline on 2003-01-09.
515
19ea9e73
MS
5162003-01-29 Michael Snyder <msnyder@redhat.com>
517
e8d359df
MS
518 * gdb.base/maint.exp: Allow for leading underscore in symbol.
519 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
520 * gdb.base/args.exp: Skip if target does not support args passing.
521
2307bd6a
DJ
5222003-01-22 Daniel Jacobowitz <drow@mvista.com>
523
19ea9e73 524 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
525 gdb_test. Accept a list of expect arguments as the third
526 parameter.
527 (gdb_test): Use it.
528
f2dd3617
EZ
5292003-01-20 Elena Zannoni <ezannoni@redhat.com>
530
531 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
532 allow for different test tree configurations. Update some
533 tescases accordingly.
534 * gdb.arch/altivec-regs.exp: Ditto.
535 * gdb.asm/asm-source.exp: Ditto.
536 * gdb.base/advance.exp: Ditto.
537 * gdb.base/display.exp: Ditto.
538 * gdb.base/long_long.exp: Ditto.
539 * gdb.base/mips_pro.exp: Ditto.
540 * gdb.base/overlays.exp: Ditto.
541 * gdb.base/relocate.exp: Ditto.
542 * gdb.base/setshow.exp: Ditto.
543 * gdb.base/step-line.exp: Ditto.
544 * gdb.base/step-test.exp: Ditto.
545 * gdb.base/until.exp: Ditto.
546 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
547
c71cdefd
DC
5482003-01-17 David Carlton <carlton@math.stanford.edu>
549
550 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
551 corresponding to PR c++/945.
552 Update copyright.
553
fdba05d7
DC
5542003-01-17 David Carlton <carlton@math.stanford.edu>
555
556 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
557 corresponding to PR c++/68.
558
5592003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
560
561 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
562 (test_paddr_hairy_functions): Call print_addr_2_kfail for
563 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
564
c362c33a
EZ
5652003-01-15 Elena Zannoni <ezannoni@redhat.com>
566
0fbc361c
EZ
567 * gdb.base/break.exp: Fix change of default location, because of
568 removal of until tests.
569 * gdb.base/help.exp: Update test for new 'until' help message.
570 Add test for help on 'advance'.
c362c33a
EZ
571 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
572
dabf8a35
MK
5732003-01-15 Mark Kettenis <kettenis@gnu.org>
574
575 * gdb.base/default.exp: Adapt "info float" test for recent changes
576 to that command. Add test for "info vector".
577 * gdb.base/float.exp: New file. Add test for "info float" that
578 resembles the old test in gdb.base/default.exp.
579
a1769aca
DC
5802003-01-15 David Carlton <carlton@math.stanford.edu>
581
582 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
583
82025e13
EZ
5842003-01-15 Elena Zannoni <ezannoni@redhat.com>
585
586 * gdb.base/break.exp: Move the tests of until command from here...
587 * gdb.base/until.exp: ... to here. New file. Add other tests.
588 * gdb.base/advance.c: New file.
589 * gdb.base/advance.exp: New file.
590
8f9ab801
EZ
5912003-01-14 Elena Zannoni <ezannoni@redhat.com>
592
593 * gdb.base/args.c: New file.
594 * gdb.base/args.exp: New file.
595
9ae66589
DJ
5962003-01-14 Daniel Jacobowitz <drow@mvista.com>
597
598 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
599
8d77e5c3
DJ
6002003-01-14 Daniel Jacobowitz <drow@mvista.com>
601
602 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
603
12d2f0a1
DJ
6042003-01-14 Daniel Jacobowitz <drow@mvista.com>
605
606 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
607 dates.
608
6ca37014
DJ
6092003-01-13 Daniel Jacobowitz <drow@mvista.com>
610
611 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
612
b0023472
DJ
6132003-01-13 Daniel Jacobowitz <drow@mvista.com>
614
615 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
616 (ptype &*"foo").
617 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
618
d6abaea5
DJ
6192002-01-13 Daniel Jacobowitz <drow@mvista.com>
620
621 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
622 * gdb.mi/mi1-console.exp: Likewise.
623
dfd536a7
DJ
6242002-01-13 Daniel Jacobowitz <drow@mvista.com>
625
626 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
627 * gdb.mi/mi1-console.exp: Likewise.
628
a1fb14a2
DJ
6292003-01-13 Daniel Jacobowitz <drow@mvista.com>
630
631 * gdb.c++/overload.exp: Remove some fixed XFAILs.
632
c4cf40b7
DJ
6332003-01-09 Daniel Jacobowitz <drow@mvista.com>
634
635 * gdb.base/detach.exp: New test.
636
696d5a5b
DJ
6372003-01-09 Daniel Jacobowitz <drow@mvista.com>
638
639 * Makefile.in (ALL_SUBDIRS): New variable.
640 (subdirs, clean, distclean): Use it.
641 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
642 regenerating Makefile, since it is generated from the top level.
643 * gdb.asm/Makefile.in: Likewise.
644 * gdb.base/Makefile.in: Likewise.
645 * gdb.c++/Makefile.in: Likewise.
646 * gdb.disasm/Makefile.in: Likewise.
647 * gdb.java/Makefile.in: Likewise.
648 * gdb.mi/Makefile.in: Likewise.
649 * gdb.threads/Makefile.in: Likewise.
650 * gdb.trace/Makefile.in: Likewise.
651
754533e4
DC
6522003-01-09 David Carlton <carlton@math.stanford.edu>
653
654 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
655 Add copyright year 2003.
656
d8b3e9ee
MC
6572003-01-06 Michael Chastain <mec@shout.net>
658
659 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
660 When selecting a thread, 'line' and 'file' are optional.
661 * gdb.mi/mi1-pthreads.exp: Likewise.
662
8e9e0fe6
AS
6632003-01-06 Andreas Schwab <schwab@suse.de>
664
665 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
666 failures.
667
b5ab8ff3
DJ
6682003-01-04 Daniel Jacobowitz <drow@mvista.com>
669
670 Fix PR gdb/844
671 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
672 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
673
674 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
675 instead of calling gdb_suppress_entire_file.
676 * gdb.threads/print-threads.exp: Likewise.
677 * gdb.threads/schedlock.exp: Likewise.
678
679 * gdb.threads/killed.exp: Return instead of calling
680 gdb_suppress_entire_file.
681 * gdb.threads/linux-dp.exp: Likewise.
682 * gdb.threads/pthreads.exp: Likewise.
683
1e698235
DJ
6842003-01-04 Daniel Jacobowitz <drow@mvista.com>
685
686 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
687 stabs.
688 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
689 * gdb.base/whatis.exp: Always allow (void) after function names.
690
147ff08c
DJ
6912003-01-04 Daniel Jacobowitz <drow@mvista.com>
692
693 * gdb.c++/casts.exp: Correct regexp.
694
dc62bfc2
MK
6952003-01-04 Mark Kettenis <kettenis@gnu.org>
696
697 * configure.in: Call AC_CONFIG_HEADER. Don't call
698 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
699 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
700 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
701 aforementioned directories in the AC_OUPUT call.
702 * config.hin: New file.
703 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
704 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
705 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
706 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
707 pass -I$objdir instead of -I$objdir/$subdir in compilation.
708 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
709 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
710 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
711 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
712 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
713 gdb.threads/configure.in, gdb.threads/configure,
714 gdb.threads/config.in, gdb.trace/configure.in,
715 gdb.trace/configure: Removed.
716
77afa639
MC
7172003-01-03 Michael Chastain <mec@shout.net>
718
719 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
720 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
721
7634bb6e
DJ
7222003-01-03 Daniel Jacobowitz <drow@mvista.com>
723
724 * gdb.base/store.exp: Fix regular expressions.
725
b39c905e
MK
7262002-12-28 Mark Kettenis <kettenis@gnu.org>
727
728 * configure.in: Rewrite.
729 * configure: Regenerated.
730
0a8551dd
DC
7312003-01-03 David Carlton <carlton@math.stanford.edu>
732
733 * gdb.base/psymtab.exp: New file.
734 * gdb.base/psymtab1.c: Ditto.
735 * gdb.base/psymtab2.c: Ditto.
736
c60b7188
AF
7372002-12-23 Adam Fedor <fedor@gnu.org>
738
739 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
740
ee73db83
DC
7412002-12-23 David Carlton <carlton@math.stanford.edu>
742
743 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
744 and current_directory initialization.
745
d6c1774e
JB
7462002-12-22 Jim Blandy <jimb@redhat.com>
747
f0a847b8
JB
748 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
749 rather than as part of the output file name.
750
d6c1774e
JB
751 * gdb.base/attach.exp: There's no need to copy the test program to
752 /tmp; that was only ever necessary on HP/UX, and this test is
753 entirely disabled there anyway.
754
f0708dbb
JB
7552002-12-21 Jim Blandy <jimb@redhat.com>
756
4c2acfea
JB
757 * gdb.c++/psmang.exp: Doc fix.
758
f0708dbb
JB
759 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
760 test.
761
9579e000
DC
7622002-12-20 David Carlton <carlton@math.stanford.edu>
763
764 * gdb.c++/annota2.exp: KFAIL annotate-quit.
765
d1810171
MC
7662002-12-18 Michael Chastain <mec@shout.net>
767
768 * gdb.c++/annota2.exp: Add copyright year 2002.
769
76565097
DC
7702002-12-17 David Carlton <carlton@math.stanford.edu>
771
772 * gdb.c++/try_catch.cc: Add marker comments.
773 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
774 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
775 * gdb.c++/m-static.cc: Ditto.
776 * gdb.c++/m-static1.cc: Ditto.
777 * gdb.c++/try_catch.cc: Ditto.
778
da81390b
JJ
7792002-12-16 Jeff Johnston <jjohnstn@redhat.com>
780
781 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
782 to see whether we are using the new -environment-directory
783 command which resets via -r or the old version of the command
784 which may prompt the user. Part of fix for gdb/741.
785
b304d130
AC
7862002-12-13 Andrew Cagney <ac131313@redhat.com>
787
788 * gdb.fortran/types.exp: Update obsolete comment.
789 * gdb.fortran/exprs.exp: Ditto.
790 * lib/gdb.exp: Delete obsolete code.
791 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
792 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
793 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
794 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
795 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
796 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
797 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
798 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
799 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
800 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
801 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
802 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
803 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
804 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
805 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
806 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
807 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
808 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
809 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
810 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
811 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
812 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
813 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
814 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
815 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
816 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
817 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
818 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
819 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
820 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
821 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
822 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
823 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
824 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
825 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
826 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
827 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
828
a23b6e6a
DC
8292002-12-11 David Carlton <carlton@math.stanford.edu>
830
831 * gdb.c++/m-data.exp: Add test for members that shadow global
832 variables: see PR gdb/804.
833 * gdb.c++/m-data.cc: Ditto.
834
6604731b
DJ
8352002-12-10 Daniel Jacobowitz <drow@mvista.com>
836
837 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
838
de46ecd7
DC
8392002-12-06 David Carlton <carlton@math.stanford.edu>
840
841 * gdb.base/store.c: Don't declare functions static.
842
27e829d0
AC
8432002-12-04 Andrew Cagney <ac131313@redhat.com>
844
845 * gdb.base/store.exp, gdb.base/store.c: New files.
846
92806416
DJ
8472002-12-03 Daniel Jacobowitz <drow@mvista.com>
848
849 * gdb.base/selftest.exp: Update for current gdb.
850
3bcbaac5
DJ
8512002-12-03 Daniel Jacobowitz <drow@mvista.com>
852
853 * gdb.base/maint.exp: Only dump symbols from one source file
854 or objfile.
855
f4f00b1f
DJ
8562002-12-03 Daniel Jacobowitz <drow@mvista.com>
857
858 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
859 function call.
860
f1c8a949
JB
8612002-11-25 Jim Blandy <jimb@redhat.com>
862
863 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
864 function appearing in error message.
865
9e297a97
DJ
8662002-11-21 Daniel Jacobowitz <drow@mvista.com>
867
868 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
869
1f312e79
JJ
8702002-11-08 Jeff Johnston <jjohnstn@redhat.com>
871
872 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
873 for mi1 and current mi is in correct format. New mi startup message
874 should be in mi console format. This is part of fix for PR gdb/604.
875
83c31e7d
FN
8762002-09-18 Fernando Nasser <fnasser@redhat.com>
877
878 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
879 which explicitly prints the zero offset as "+0".
880
322b3f65
DJ
8812002-10-22 Daniel Jacobowitz <drow@mvista.com>
882
883 * gdb.threads/schedlock.c (args): Make unsigned.
884
8852002-10-21 Daniel Jacobowitz <drow@mvista.com>
886
887 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
888 numbers. Allow "foo2|selected stack frame".
889 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
890 * gdb.asm/asmsrc2.s: Likewise.
891 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
892 comments.
893 * gdb.asm/mips.inc: New file.
894
5e2fe5b8
AF
8952002-10-18 Adam Fedor <fedor@gnu.org>
896
897 * gdb.base/default.exp: Update expected output to include 'ObjC'.
898 * gdb.base/help.exp: Likewise.
899
abe1a5d0
KB
9002002-10-17 Kevin Buettner <kevinb@redhat.com>
901
902 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
903 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
904
10abb1d4
JB
9052002-10-02 Jim Blandy <jimb@redhat.com>
906
907 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
908
1f609b42
AC
9092002-10-01 Andrew Cagney <ac131313@redhat.com>
910
911 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
912 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
913 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
914 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
915 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
916 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
917 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
918
0aee02e4
AC
9192002-09-29 Andrew Cagney <ac131313@redhat.com>
920
921 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
922 * mi0-disassemble.exp, mi0-eval.exp: Delete.
923 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
924 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
925 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
926 * mi0-var-block.exp, mi0-var-child.exp: Delete.
927 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
928
6fde09ad
KB
9292002-09-27 Kevin Buettner <kevinb@redhat.com>
930
931 * gdb.base/annota1.exp (info break): Make directory components of
932 path optional since not all compilers emit this debug information.
933
934 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
935 step ends up stepping out of the function instead of stopping on
936 the epilogue.
937
9e8aab75
KS
9382002-09-26 Keith Seitz <keiths@redhat.com>
939
940 * lib/insight-support.exp (gdbtk_start): Figure out where
941 the insight executable is based on where gdb is. Use this
942 executable to start insight instead of gdb.
943
e36180d7
AC
9442002-09-25 Andrew Cagney <cagney@redhat.com>
945
946 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
947
9dd34b2b
AC
9482002-09-24 Andrew Cagney <ac131313@redhat.com>
949
950 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
951 test_isolated_complaints.
952 (test_empty_complaint): New function.
953 (test_empty_complaints): New function. Check no output when no
954 complaints.
955
dea97812
KB
9562002-09-19 Jim Blandy <jimb@redhat.com>
957
958 * gdb.base/charset.exp, gdb.base/charset.c: New files.
959
54951bd7
AC
9602002-09-19 Andrew Cagney <ac131313@redhat.com>
961
962 * gdb.gdb/complaints.exp: New file.
963
dec43320
AC
9642002-09-18 Andrew Cagney <ac131313@redhat.com>
965
966 * gdb.base/maint.exp: Check `help maint internal-warning'.
967
e70d6e3f
DC
9682002-09-18 David Carlton <carlton@math.stanford.edu>
969
970 * gdb.c++/m-static.exp: Remove breakpoints depending on line
971 numbers, and replace them by a single breakpoint after the
972 constructors are all finished.
973 Add test 4.
974 * gdb.c++/m-static.cc: Add test 4.
975 * gdb.c++/m-static.h: New file.
976 * gdb.c++/m-static1.cc: New file.
977
978 * gdb.c++/printmethod.exp: New file.
979 * gdb.c++/printmethod.cc: New file.
980
981 * gdb.c++/pr-574.exp: New file.
982 * gdb.c++/pr-574.cc: New file.
983
afb5c968
CV
9842002-09-18 Corinna Vinschen <vinschen@redhat.com>
985
986 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
987 embedded targets which never actually exit.
988
31e45dee
FN
9892002-09-18 Fernando Nasser <fnasser@redhat.com>
990
991 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
992 "don't step after run" as unresolved or unsupported, instead of xfail.
993
a283c5a1
CV
9942002-09-18 Corinna Vinschen <vinschen@redhat.com>
995
996 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
997 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
998 Add newline to expected string in "step out of main (status wrapper)"
999 case.
1000
11350d2a
CV
10012002-09-18 Corinna Vinschen <vinschen@redhat.com>
1002
1003 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1004 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1005
0deec7d6
TT
10062002-09-17 Tom Tromey <tromey@redhat.com>
1007
1008 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1009 \000, not \0, in double-quoted string.
1010
b2b4a1b5
CV
10112002-09-14 Corinna Vinschen <vinschen@redhat.com>
1012
1013 * gdb.base/command.exp: Don't expect a "Program exited normally"
1014 string after running the commands execution on breakpoint tests.
1015
1c56143a
CV
10162002-09-13 Corinna Vinschen <vinschen@redhat.com>
1017
1018 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1019
37f8da45
JB
10202002-09-12 Joel Brobecker <brobecker@gnat.com>
1021
1022 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1023
08b468e0
KS
10242002-09-10 Keith Seitz <keiths@redhat.com>
1025
1026 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1027 runto proc.
1028 (mi_run_to_main): Use mi_runto.
1029 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1030
dc360f58
KS
10312002-09-10 Keith Seitz <keiths@redhat.com>
1032
1033 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1034 regexp for stopping at main. Could have multiple event notifications.
1035 Don't assume that main was declared with no parameters.
1036 (mi_next): Use mi_step_to.
1037 (mi_step): Use mi_next_to.
1038
ce3abcfb
CV
10392002-09-09 Corinna Vinschen <vinschen@redhat.com>
1040
1041 * gdb.base/default.exp: Fix expected string in `info float' test.
1042
d1f5b980
BE
10432002-09-09 Ben Elliston <bje@redhat.com>
1044
1045 * config/mips.exp: Update comments.
1046 * config/mips-idt.exp: Likewise.
1047 * config/nind.exp: Likewise.
1048 * config/slite.exp: Likewise.
1049 * config/sparclet.exp: Likewise.
1050 * config/udi.exp: Likewise.
1051 * config/vx.exp: Likewise.
1052 * config/vxworks29k.exp: Likewise.
1053
2f71430b
JB
10542002-09-05 Jim Blandy <jimb@redhat.com>
1055
1056 * gdb.threads/killed.exp: Fix test failure message.
1057
7ddebc7e
KS
10582002-09-04 Keith Seitz <keiths@redhat.com>
1059
1060 * lib/mi-support.exp: Update copyright.
1061 (mi_gdb_test): Increase the priority of the expected pattern
1062 so that it matches gdb_test.
1063
0ae67eb3
KS
10642002-09-03 Keith Seitz <keiths@redhat.com>
1065
1066 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1067 Use integer comparison instead of string comparison for testing
1068 whether binary was built.
1069
38fc42c8
JB
10702002-09-03 Jim Blandy <jimb@redhat.com>
1071
1072 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1073
b6ff0e81
JB
10742002-08-29 Jim Blandy <jimb@redhat.com>
1075
1076 * gdb.threads/pthreads.exp: Move the portable thread compilation
1077 code into a function in lib/gdb.exp, and call that from here.
1078 * lib/gdb.exp (gdb_compile_pthreads): New function.
1079
07c98896
KS
10802002-08-29 Keith Seitz <keiths@redhat.com>
1081
1082 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1083 expect_out so that callers can get at it.
1084
0312286c
DJ
10852002-08-23 Daniel Jacobowitz <drow@mvista.com>
1086
1087 * gdb.threads/print-threads.c: New file.
1088 * gdb.threads/print-threads.exp: New file.
1089 * gdb.threads/schedlock.c: New file.
1090 * gdb.threads/schedlock.exp: New file.
1091
dd039bc4
EZ
10922002-08-22 Elena Zannoni <ezannoni@redhat.com>
1093
1094 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1095 not altivec.c.
1096
1f36144c
MK
10972002-08-17 Mark Kettenis <kettenis@gnu.org>
1098
1099 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1100 targets. The problem should be fixed now.
1101
16057ec7 11022002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1103
1104 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1105 2002-07-24 change that removes final dots from error messages.
1106
3c1499ad
TT
11072002-08-13 Tom Tromey <tromey@redhat.com>
1108
1109 * gdb.base/readline.exp: New file.
1110
a20ce2c3
AC
11112002-08-01 Andrew Cagney <ac131313@redhat.com>
1112
1113 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1114 supress message.
1115
db034ac5
AC
11162002-08-01 Andrew Cagney <cagney@redhat.com>
1117
1118 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1119 CHILL_FOR_TARGET and CHILL_LIB.
1120 * configure.in (configdirs): Remove gdb.chill.
1121 * configure: Regenerate.
1122 * lib/gdb.exp: Obsolete references to chill.
1123 * gdb.fortran/types.exp: Ditto.
1124 * gdb.fortran/exprs.exp: Ditto.
1125
3e000b18
KB
11262002-07-30 Kevin Buettner <kevinb@redhat.com>
1127
1128 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1129 set Irix-specific compile and link flags.
1130
28f4966b
KB
11312002-07-29 Kevin Buettner <kevinb@redhat.com>
1132
1133 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1134 source files. The ``-o'' option doesn't work with the ``-E'' option
1135 when using the Irix compiler.
1136
46c0d5a6
DJ
11372002-07-19 Daniel Jacobowitz <drow@mvista.com>
1138
1139 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1140 Improve support for reusing an exec file. Copy exec file
1141 to target, and run gdbserver on the target instead of on the host.
1142
eecf4bed
JB
11432002-07-18 Jim Blandy <jimb@redhat.com>
1144
0f815cdf
JB
1145 * gdb.base/ending-run.exp: Don't expect to see the program end in
1146 some orderly fashion when we're running on a real stand-alone
1147 board.
1148
eecf4bed
JB
1149 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1150 targets that don't support interrupts.
1151
52d309e4
JB
11522002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1153
1154 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1155 systems.
1156 Move comments in expect statements to inside the actions, so that they
1157 don't get matched against.
1158
ff683d9e
MK
11592002-07-10 Mark Kettenis <kettenis@gnu.org>
1160
1161 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1162 function when asleep" test.
1163
b5356753
AC
11642002-07-10 Andrew Cagney <ac131313@redhat.com>
1165
1166 * gdb.base/page.exp: Rewrite to handle problems with very long
1167 `info set' output. Update copyright.
1168
6aa4d13a
AC
11692002-06-26 Andrew Cagney <ac131313@redhat.com>
1170
1171 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1172 gdb.threads-hp.
1173 * gdb.hp/configure: Regenerate.
1174 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1175 * gdb.hp/gdb.threads-hp/configure: Delete file.
1176 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1177
8cf8c2b8
AC
11782002-06-22 Andrew Cagney <ac131313@redhat.com>
1179
1180 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1181 setlocale, bindtextdomain and textdomain.
1182
6827a8f8
JB
11832002-06-11 Jim Blandy <jimb@redhat.com>
1184
919d772c
JB
1185 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1186 preprocessor macro information is present.
1187
6827a8f8
JB
1188 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1189 tests.
1190
c15b0d21
MS
11912002-06-06 Michael Snyder <msnyder@redhat.com>
1192
c5984d70
MS
1193 * gdb.base/overlays.exp: Record addresses of overlay
1194 functions in TCL variables rather than in GDB variables,
1195 to avoid having GDB convert them to pointers (with loss
1196 of information).
1197
99a8512b
MS
1198 * gdb.base/d10v.ld: Merge in several years worth of
1199 default linker script changes.
c15b0d21
MS
1200 * gdb.base/long_long.exp: Add check for sizeof (long double).
1201
be26fe0d
ML
12022002-06-06 Michal Ludvig <mludvig@suse.cz>
1203
1204 * gdb.asm/asm-source.exp: Add x86-64 target.
1205 * gdb.asm/x86_64.inc: New.
1206
258093ca 12072002-05-30 Michael Chastain <mec@shout.net>
258093ca 1208
4b3153f1 1209 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1210 * gdb.c++/m-static.cc: New file.
1211 * gdb.c++/m-static.exp: New file.
1212
241264c6
MS
12132002-05-28 Michael Snyder <msnyder@redhat.com>
1214
1215 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1216 precision.
1217
9bba8c8f 12182002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1219
4b3153f1 1220 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1221 * gdb.c++/m-data.cc: New file.
1222 * gdb.c++/m-data.exp: New file.
1223
12242002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1225
4b3153f1 1226 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1227 * gdb.c++/try_catch.cc: New file.
1228 * gdb.c++/try_catch.exp: New file.
1229
def1b996
MC
12302002-05-27 Michael Chastain <mec@shout.net>
1231
1232 * gdb.c++/local.exp: Accept more nested types in output.
1233
522ba268
MC
12342002-05-26 Michael Chastain <mec@shout.net>
1235
1236 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1237
277254ba
MS
12382002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1239
1240 * lib/gdb.exp (gdb_wrapper_init): Just because
1241 gdb_wrapper_file exists, this does not mean that the file
1242 should not be rebuilt. That is what gdb_wrapper_initialized
1243 is for.
1244 (default_gdb_init): Reset gdb_wrapper_initialized.
1245
b61a8733
MS
12462002-05-23 Michael Snyder <msnyder@redhat.com>
1247
5bdb6d01
MS
1248 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1249 the precision of the floating point test results.
1250 * gdb.base/call-rt-st.exp: Ditto.
1251
b61a8733
MS
1252 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1253 * gdb.base/call-rt-st.exp: Ditto.
1254
56f6e910
MC
12552002-05-19 Michael Chastain <mec@shout.net>
1256
1257 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1258
ad0b0016
EZ
12592002-05-19 Elena Zannoni <ezannoni@redhat.com>
1260
1261 * configure.in (configdirs): Add gdb.arch.
1262 * configure: Regenerate.
1263
f617d2b6
JB
12642002-05-17 Jim Blandy <jimb@redhat.com>
1265
1266 * gdb.base/completion.exp: Recognize the more detailed error
1267 messages produced by the macro expander's lexical analyzer.
1268
eac2a696
EZ
12692002-05-14 Elena Zannoni <ezannoni@redhat.com>
1270
1271 * gdb.arch/altivec-abi.c: New file.
1272 * gdb.arch/altivec-abi.exp: New file.
1273 * gdb.arch/altivec-regs.c: New file.
1274 * gdb.arch/altivec-regs.exp: New file.
1275
2fdde8f8
DJ
12762002-05-14 Daniel Jacobowitz <drow@mvista.com>
1277
1278 * gdb.base/maint.exp (maint print type): Update for new type
1279 structure.
eac2a696 1280
e31f1a7c
EZ
12812002-05-14 Elena Zannoni <ezannoni@redhat.com>
1282
1283 * gdb.arch: New directory.
1284 * gdb.arch/configure.in: New file.
1285 * gdb.arch/configure: New file.
1286 * gdb.arch/Makefile.in: New file.
1287
db589741
CV
12882002-05-13 Corinna Vinschen <vinschen@redhat.com>
1289
1290 * gdb.asm/asm-source.exp: Add v850 as supported target.
1291 * gdb.asm/v850.inc: New file.
1292
8ce2a7dc
DJ
12932002-05-13 Daniel Jacobowitz <drow@mvista.com>
1294
1295 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1296
df763c7f
DJ
12972002-05-12 Daniel Jacobowitz <drow@mvista.com>
1298
1299 * gdb.base/break.exp: Check 'break "marker2"'.
1300
377daeed
MS
13012002-05-10 Michael Snyder <msnyder@redhat.com>
1302
1303 * gdb.base/long_long.exp: Fix typo.
1304
c4b7bc2b
JB
13052002-05-10 Jim Blandy <jimb@redhat.com>
1306
ecac9a4e
JB
1307 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1308 a bug.
1309
c4b7bc2b
JB
1310 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1311 Recognize more detailed error message produced by the macro
1312 expander's lexical analyzer.
1313 * lib/gdb.exp (test_print_reject): Same.
1314
e71019a1
MK
13152002-05-09 Mark Kettenis <kettenis@gnu.org>
1316
1317 * gdb.c++/method.exp: Fix typo.
1318
fedfc8e6
MS
13192002-05-08 Michael Snyder <msnyder@redhat.com>
1320
166a1957
MS
1321 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1322 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1323 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1324 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1325 Add iftarget clause for strongarm.
1326
f1c47eb2
MS
13272002-05-06 Michael Snyder <msnyder@redhat.com>
1328
cb9a9d3e
MS
1329 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1330 (gdb_continue_to_end): Accept output from status wrapper.
1331 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1332 Clean up fail messages to match pass messages.
1333
f1c47eb2
MS
1334 Enable the "needs_status_wrapper" testsuite feature.
1335 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1336 (gdb_compile): Conditionally call gdb_wrapper_init.
1337 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1338 * gdb.c++/method.exp: Recognize output from status wrapper.
1339
6079c749
BE
13402002-05-06 Ben Elliston <bje@redhat.com>
1341From Graydon Hoare <graydon@redhat.com>
1342
1343 * config/sid.exp: Include support for "rawsid" protocol.
1344
188baff3
JB
13452002-05-03 Jim Blandy <jimb@redhat.com>
1346
1347 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1348 * gdb.c++/hang3.C: New file.
1349
b9c07f0f
AC
13502002-05-04 Andrew Cagney <ac131313@redhat.com>
1351
1352 * gdb.base/default.exp: Remove obsolete code.
1353 * gdb.c++/misc.exp: Ditto. Update copyright.
1354 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1355 * gdb.base/whatis.exp: Ditto. Update copyright.
1356 * gdb.base/scope.exp: Ditto. Update copyright.
1357 * gdb.base/ptype.exp: Ditto. Update copyright.
1358 * gdb.base/printcmds.exp: Ditto. Update copyright.
1359 * gdb.base/opaque.exp: Ditto. Update copyright.
1360 * gdb.base/list.exp: Ditto.
1361 * gdb.base/funcargs.exp: Ditto. Update copyright.
1362 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1363 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1364 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1365 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1366 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1367 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1368
5c7a0397
MS
13692002-05-02 Michael Snyder <msnyder@redhat.com>
1370
d6dcc264 1371 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1372 * gdb.base/long_long.exp: Add xscale target.
1373 * gdb.base/default.exp: Add xscale target.
1374
eb7f1c48
JB
13752002-05-01 Jim Blandy <jimb@redhat.com>
1376
1377 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1378 gdb.c++/hang.exp: New test.
1379
a6befae8
FF
13802002-05-01 Fred Fish <fnf@redhat.com>
1381
1382 * gdb.base/completion.exp: Handle completions of "./Make" for
1383 more than one completion possibility, as is the case when we
1384 build and test in the source tree.
1385
0a310277
AG
13862002-04-29 Anthony Green <green@redhat.com>
1387
1388 * gdb.java/jmisc1.exp: New file.
1389 * gdb.java/jmisc2.exp: New file.
1390
6ff9af88
DJ
13912002-04-24 Daniel Jacobowitz <drow@mvista.com>
1392
1393 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1394
96b3d632
EZ
13952002-04-23 Elena Zannoni <ezannoni@redhat.com>
1396
1397 * gdb.base/help.exp: Change 'help status' to allow for target
1398 dependent output differences.
1399
5019bb54
MC
14002002-04-22 Michael Chastain <mec@shout.net>
1401
1402 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1403
a805a116
MC
14042002-04-22 Michael Chastain <mec@shout.net>
1405
1406 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1407
a1706bfd
DM
14082002-04-17 David S. Miller <davem@redhat.com>
1409
1410 * gdb.asm/sparc64.inc: New file.
1411 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1412
a73a20a2
EZ
14132002-04-19 Elena Zannoni <ezannoni@redhat.com>
1414
1415 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1416 instruction file directly into the build tree. Clean up at end of
1417 test.
1418
ba678339
DM
14192002-04-18 David S. Miller <davem@redhat.com>
1420
1421 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1422 handle 64-bit platforms correctly.
1423 * gdb.base/maint.exp: Likewise.
1424
b03399da
KB
14252002-04-18 Kevin Buettner <kevinb@redhat.com>
1426
1427 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1428 ``-fpic'' when compiling files comprising a shared library, but
1429 it does need additional linker flags in order to find shared
1430 libraries at run time.
1431
e2004992
KB
14322002-04-18 Kevin Buettner <kevinb@redhat.com>
1433
1434 * gdb.base/cvexpr.c (use): New function.
1435 (main): Invoke use() on all global variables to prevent
1436 some linkers from deleting these otherwise unused symbols.
1437
d8937120
MC
14382002-04-17 Michael Chastain <mec@shout.net>
1439From David S. Miller <davem@redhat.com>
1440
1441 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1442 handle 64-bit platforms correctly.
1443
ffd61a58
MS
14442002-04-12 Michael Snyder <msnyder@redhat.com>
1445From Jim Blandy <jimb@redhat.com>
1446 * gdb.base/foo.c (foox): Remove section attribute; the linker
1447 script can handle this instead.
1448 * gdb.base/bar.c (barx): Same.
1449 * gdb.base/baz.c (bazx): Same.
1450 * gdb.base/grbx.c (grbxx): Same.
1451
1452 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1453 manager doesn't automatically unmap overlays unnecessarily.
1454
6b8426a6
MH
14552002-04-10 Martin M. Hunt <hunt@redhat.com>
1456
1457 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1458 stepping out of main.
1459
34af4875
MC
14602002-04-09 Michael Chastain <mec@shout.net>
1461
1462 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1463 scope so that the nested scope tests will make sense.
1464 * gdb.c++/local.exp: Write patterns that actually work with gcc
1465 (the HP patterns "were never known to work with gcc").
1466 Keep the old aCC patterns too.
1467
2d1676a0
DJ
14682002-04-09 Daniel Jacobowitz <drow@mvista.com>
1469
1470 * gdb.base/attach.exp: Correct target board test.
1471
3a63e3f9
MC
14722002-04-08 Michael Chastain <mec@shout.net>
1473
1474 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1475 in a const method. Add some xfail and fail cases for configurations
1476 that do not emit the "const ...".
1477
f18dabd2
MC
14782002-04-07 Michael Chastain <mec@shout.net>
1479
1480 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1481 Accept "A * const" and "const A * const" as type of "this".
1482 Fix spelling of getFunky throughout. Make messages uniform.
1483
0fcddd82
EZ
14842002-04-07 Elena Zannoni <ezannoni@redhat.com>
1485
1486 Work around for PR gdb/285:
1487 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1488
16a8534a
EZ
14892002-04-07 Elena Zannoni <ezannoni@redhat.com>
1490
1491 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1492 instructions file at run time instead of configure time.
1493 Sometimes we run the test in a directory that is not the one we
1494 configured in.
1495 * gdb.asm/configure.in: Delete creation of symlink.
1496 * gdb.asm/configure: Regenerate.
1497
24181d81
JB
14982002-04-05 J. Brobecker <brobecker@gnat.com>
1499
1500 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1501 xfullpath () function.
1502
7cdb7107
DJ
15032002-04-04 Daniel Jacobowitz <drow@mvista.com>
1504
1505 * gdb.asm/Makefile.in: Correct dependencies.
1506
1507 * gdb.asm/powerpc.inc: New file.
1508 * gdb.asm/asm-source.exp: Add PowerPC.
1509 * gdb.asm/configure.in: Likewise.
1510 * gdb.asm/configure: Regenerated.
1511
a7d17088
DJ
15122002-04-04 Daniel Jacobowitz <drow@mvista.com>
1513
1514 * gdb.base/relocate.exp: New file.
1515 * gdb.base/relocate.c: New file.
1516
cd721503
FF
15172002-04-04 Fred Fish <fnf@redhat.com>
1518
1519 * gdb.base/step-test.exp: Update comment regarding stopping in
1520 memcpy/bcopy calls inserted as part of the compiler runtime.
1521
b22ad7a7
MS
15222002-04-04 Michael Snyder <msnyder@redhat.com>
1523
1524 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1525
5f279fa6
DJ
15262002-04-03 Daniel Jacobowitz <drow@mvista.com>
1527
1528 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1529 (gdb_expect): Remove $notransfer hack.
1530
dd0fd3ce
DJ
15312002-04-02 Daniel Jacobowitz <drow@mvista.com>
1532
1533 * gdb.c++/classes.exp ("calling method for small class"): Match
1534 updated register output.
1535
1e50cda1
DJ
15362002-03-30 Daniel Jacobowitz <drow@mvista.com>
1537
1538 Fix PR gdb/452
1539 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1540 when finished. Make gdb_file_cmd send "exec-file" when
1541 appropriate.
1542
24015922
DJ
15432002-03-30 Daniel Jacobowitz <drow@mvista.com>
1544
1545 * gdb.base/attach.exp: Remove extra setup_xfail.
1546
dd7dfd64
MS
15472002-03-26 Michael Snyder <msnyder@redhat.com>
1548
1549 * gdb.base/default.exp: Add tests for dump, append, and restore.
1550 * gdb.base/help.exp: Add tests for dump, append, and restore.
1551 * gdb.base/dump.exp: New file, test dump, append and restore.
1552 * gdb.base/dump.c: New file.
1553
48b2f8d7
MS
15542002-03-27 Michael Snyder <msnyder@redhat.com>
1555
1556 * gdb.base/help.exp: Modify expect strings to reflect
1557 clean-ups in help messages.
1558
05b4d525
FF
15592002-03-26 Fred Fish <fnf@redhat.com>
1560
1561 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1562 have debugging info for those functions and the compiler uses them
1563 internally to copy structs around.
1564
d7679631
FF
15652002-03-26 Fred Fish <fnf@redhat.com>
1566
1567 * gdb.base/list.exp: Revert the change made yesterday and add note
1568 about why we don't list the default lines for remote targets.
1569
523ac3f9
MS
15702002-03-25 Michael Snyder <msnyder@redhat.com>
1571
1572 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1573
754b2b8d
FF
15742002-03-25 Fred Fish <fnf@redhat.com>
1575
1576 * gdb.base/list.exp: This test works on remote targets so remove
1577 the short circuit for remote targets. Update copyright.
1578
33c3e192
FF
15792002-03-25 Fred Fish <fnf@redhat.com>
1580
1581 * gdb.base/attach.exp: Fix logic error that was suppressing this
1582 test for all non hppa*-*-hpux* targets, instead of the hp target.
1583 Move comments closer to the suppression point. Also now need to
1584 check that we are running natively.
1585
d43e73ee
MS
15862002-03-22 Michael Snyder <msnyder@redhat.com>
1587
882c8f02
MS
1588 * gdb.base/default.exp: Add test for gcore. Update copyright.
1589 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1590
04c12f60
FF
15912002-03-06 Fred Fish <fnf@redhat.com>
1592
1593 * gdb.base/funcargs.c: Remove extraneous ';' character.
1594 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1595
b43df995
MC
15962002-03-04 Michael Chastain <mec@shout.net>
1597
1598 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1599 accommodate gcc v3 function signature.
1600 * gdb.mi/mi0-var-cmd-exp: Ditto.
1601
92362027
AC
16022002-02-24 Andrew Cagney <ac131313@redhat.com>
1603
1604 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1605 ``GNU/Linux'' or ``Linux kernel''
1606 * testsuite/gdb.threads/pthreads.c: Ditto.
1607
258ad32d
MC
16082002-02-24 Michael Chastain <mec@shout.net>
1609
1610 * gdb.threads/pthreads.c (thread1): Add a return statement.
1611 (thread2): Likewise.
1612 (foo): Likewise.
1613
04c3b3d4
MC
16142002-02-23 Michael Chastain <mec@shout.net>
1615
1616 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1617 to placate gcc.
1618
5a2a0a20
MC
16192002-02-23 Michael Chastain <mec@shout.net>
1620
1621 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1622 test "ptype bint". The test passes on all my stabs configurations.
1623
a640f7fc
JB
16242002-02-21 Jim Blandy <jimb@redhat.com>
1625
27924826
JB
1626 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1627 filename at a time, and watch for the ones we want to see.
1628
a640f7fc
JB
1629 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1630 types of pointers to prototyped functions.
1631
edcc8c75
AC
16322002-02-20 Andrew Cagney <ac131313@redhat.com>
1633
1634 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1635 signed, unsigned and straight char.
1636 (padding_char, padding_short, padding_int, padding_long,
1637 padding_long_long, padding_float, padding_double,
1638 padding_long_double): New global variables.
1639 (fill, fill_structs): New functions.
1640
1641 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1642 for correctly sized writes. Update copyright.
1643 (get_valueof): New procedure.
1644 (get_sizeof): Call get_valueof.
1645 (check_valueof): New procedure.
1646 (check_padding): New procedure.
1647
ac57ea44
MC
16482002-02-20 Michael Chastain <mec@shout.net>
1649
1650 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1651 to setup_xfail. Document some of the remaining calls.
1652
7a10c941
MC
16532002-02-18 Michael Chastain <mec@shout.net>
1654
1655 * gdb.c++/userdef.exp: Update copyright year.
1656
fb8acdcc
DJ
16572002-02-18 Daniel Jacobowitz <drow@mvista.com>
1658
1659 * gdb.c++/userdef.exp: Test overloaded operators properly.
1660 Remove xfails.
1661
fda6ae12
MS
16622002-02-14 Michael Snyder <msnyder@redhat.com>
1663
1664 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1665
676a0442
DJ
16662002-02-14 Daniel Jacobowitz <drow@mvista.com>
1667
1668 * gdb.base/a2-run.exp: Check for a remote target properly.
1669 * gdb.base/annota1.exp: Likewise.
1670 * gdb.base/list.exp: Likewise.
1671 * gdb.base/reread.exp: Likewise.
1672 * gdb.base/scope.exp: Likewise.
1673 * gdb.base/shlib-call.exp: Likewise.
1674 * gdb.base/term.exp: Likewise.
1675 * gdb.c++/annota2.exp: Likewise.
1676
78b4f468
RE
16772002-02-13 Richard Earnshaw <rearnsha@arm.com>
1678
1679 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1680
9a81ba51
MC
16812002-02-10 Michael Chastain <mec@shout.net>
1682
1683 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1684 (call_after_alloca): Ditto.
1685
004af6c7
DJ
16862002-02-10 Daniel Jacobowitz <drow@mvista.com>
1687
1688 * gdb.base/ending-run.exp: Guard "cont" test with
1689 gdb_skip_stdio_test.
1690
37225f62
JB
16912002-02-06 Jim Blandy <jimb@redhat.com>
1692
1693 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1694 from here...
1695 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1696 To here. Disable this test on non-HP platforms. Add big comment.
1697
fe6fdd96
MS
16982002-02-04 Michael Snyder <msnyder@redhat.com>
1699
1700 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1701 other than d10v and m32r.
1702
036fad3f
RE
17032002-02-02 Richard Earnshaw <rearnsha@arm.com>
1704
1705 * gdb.base/default.exp: Rewrite test patterns to reduce time
1706 taken to match them.
1707
7148ab62
DJ
17082002-01-30 Daniel Jacobowitz <drow@mvista.com>
1709
1710 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1711 Allow a start function above main.
1712 * gdb.threads/linux-dp.exp: Fix copyright date.
1713
396cc255
DJ
17142002-01-30 Daniel Jacobowitz <drow@mvista.com>
1715
1716 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1717 (check_philosopher_stack): Check for manager thread before checking
1718 for a just-starting thread.
1719
f038d31b
DJ
17202002-01-30 Daniel Jacobowitz <drow@mvista.com>
1721
1722 From Neil Booth <neil@daikokuya.demon.co.uk>:
1723 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1724 warnings.
1725
b3ff9d9a
FF
17262002-01-21 Fred Fish <fnf@redhat.com>
1727
1728 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1729 not caller.
1730
39ad761d
JB
17312002-01-21 Jim Blandy <jimb@redhat.com>
1732
1733 * gdb.base/reread.exp: Check that GDB properly re-reads the
1734 executable file when it changes while no inferior is running.
1735
aaf320fa
FF
17362002-01-21 Fred Fish <fnf@redhat.com>
1737
1738 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1739 optionally accept the "shlib events" variation.
1740
808a31f5
JB
17412002-01-21 Jim Blandy <jimb@redhat.com>
1742
1743 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1744 call `fflush' after every `printf', so that the output is produced
1745 at predictable points, regardless of whatever buffering does (or
1746 doesn't) take place.
1747 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1748 at different points.
1749
4420d5e2
DJ
17502002-01-20 Daniel Jacobowitz <drow@mvista.com>
1751
1752 * gdb.c++/inherit.exp: Update copyright years.
1753 * gdb.c++/method.exp: Likewise.
1754
3e36a0f4
DJ
17552002-01-20 Daniel Jacobowitz <drow@mvista.com>
1756
1757 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1758 artificial methods/arguments.
1759 * gdb.c++/derivation.exp: Likewise.
1760 * gdb.c++/inherit.exp: Likewise.
1761 * gdb.c++/method.exp: Likewise.
1762 * gdb.c++/virtfunc.exp: Likewise.
1763
b4ceaee6
AC
17642002-01-18 Andrew Cagney <ac131313@redhat.com>
1765
1766 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1767 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1768 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1769 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1770 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1771 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1772
ecace851
JB
17732002-01-17 Jim Blandy <jimb@redhat.com>
1774
1775 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1776 anchoring the pattern matching the entry point symbol's name.
1777
375fc983
AC
17782002-01-17 Andrew Cagney <ac131313@redhat.com>
1779
1780 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1781 continue/quit query. Update copyright.
1782
fe6fdd96
MS
17832002-01-14 Michael Snyder <msnyder@redhat.com>
1784
1785 * gdb.base/gcore.exp: Remove extra debugging output.
1786
e017c81f
DJ
17872002-01-13 Daniel Jacobowitz <drow@mvista.com>
1788
1789 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1790 for slightly dubious v2 mangled string.
1791
37ab3bf8
DJ
17922002-01-13 Daniel Jacobowitz <drow@mvista.com>
1793
1794 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1795
1bc05c3a 17962002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1797
1bc05c3a 1798 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1799
1bc05c3a
JM
1800 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1801 constructors.
1802 * gdb.c++/derivation.exp: Likewise.
1803 * gdb.c++/templates.exp: Likewise.
1804 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1805
1bc05c3a
JM
18062002-01-10 Michael Snyder <msnyder@redhat.com>
1807
1808 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1809
a911c360
MS
18102002-01-08 Michael Snyder <msnyder@redhat.com>
1811
1812 * gdb.base/gcore.exp: New test for generate-core-file command.
1813 * gdb.base/gcore.c: Testcase for above.
1814 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1815
ea2119ec
JM
18162002-01-08 Jason Merrill <jason@redhat.com>
1817
1818 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1819
68203136
FF
18202002-01-07 Fred Fish <fnf@redhat.com>
1821
1822 * gdb.c++/overload.exp: Remove unconditional xfails for:
1823 print foo_instance1.overloadargs(1)
1824 print foo_instance1.overloadargs(1, 2)
1825 print foo_instance1.overloadargs(1, 2, 3)
1826 print foo_instance1.overloadargs(1, 2, 3, 4)
1827 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1828 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1829 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1830 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1831 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1832 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1833 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1834 print foo_instance1.overload1arg()
1835 print foo_instance1.overload1arg((char)arg2)
1836 print foo_instance1.overload1arg((signed char)arg3)
1837 print foo_instance1.overload1arg((unsigned char)arg4)
1838 print foo_instance1.overload1arg((int)arg7)
1839 print foo_instance1.overload1arg((unsigned int)arg8)
1840 print foo_instance1.overload1arg((float)arg11)
1841 print foo_instance1.overload1arg((double)arg12)
1842
21b9b5b1
MS
18432002-01-07 Michael Snyder <msnyder@redhat.com>
1844
1845 * gdb.base/huge.exp: New test. Print a very large target data object.
1846 (skip_huge_test): New test variable. Define if you want to skip this
1847 test. The test reads an 8 megabyte data object from the target, so it
1848 might be very time consuming on remote targets with a slow connection.
1849 * gdb.base/huge.c: New file. Test case for above.
1850
725f922e
FF
18512002-01-07 Fred Fish <fnf@redhat.com>
1852
1853 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1854 g_instance.bfoo, and g_instance.cfoo.
1855
634d57ec
JL
1856Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1857
f286b2c3
JL
1858 * gdb.base/break.c (multi_line_if_conditional): New function.
1859 (multi_ilne_while_conditional): Likewise.
1860 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1861 IF or WHILE condition puts the breakpoint at the start of
1862 the condition.
1863
634d57ec
JL
1864 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1865 hppa*-*-hpux* expected failure.
1866 * gdb.base/structs.exp (do_function_calls): Similarly.
1867
1868 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1869 watchpoints.
1870
9fbfe2dc
AC
18712002-01-06 Andrew Cagney <ac131313@redhat.com>
1872
1873 Fix PR gdb/66.
1874 * gdb.base/structs.exp: Replace skip for a29k with skip for
1875 gdb,cannot_call_functions.
1876 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1877 * gdb.base/callfuncs.exp: Ditto.
1878 * gdb.base/call-rt-st.exp: Ditto.
1879 * gdb.base/call-strs.exp: Ditto.
1880 * gdb.base/callfwmall.exp: Ditto.
1881 * gdb.base/scope.exp: Obsolete xfail a29k.
1882 * gdb.c++/misc.exp: Ditto.
1883 * gdb.c++/cplusfuncs.exp: Ditto.
1884 * gdb.base/ptype.exp: Ditto.
1885 * gdb.base/printcmds.exp: Ditto.
1886 * gdb.base/opaque.exp: Ditto.
1887 * gdb.base/list.exp: Ditto.
1888 * gdb.base/funcargs.exp: Ditto.
1889 * gdb.base/default.exp: Ditto.
1890
8ddad156
MS
18912002-01-04 Michael Snyder <msnyder@redhat.com>
1892
ca4976a6 1893 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1894 * gdb.base/maint.exp: Add tests for maint info sections options.
1895
1b074332
JL
1896Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1897
1898 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1899
7d159115
CV
19002001-12-20 Corinna Vinschen <vinschen@redhat.com>
1901
1902 * gdb.asm/arm.inc: New file.
1903 * gdb.asm/asm-source.exp: Add arm targets.
1904 * gdb.asm/configure.in: Ditto.
1905 * gdb.asm/configure: Recreated from configure.in.
1906
8fb87725
JL
1907Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1908
afabe08c
JL
1909 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1910 with HP's compiler.
1911 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1912 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1913 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1914 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1915
1916 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1917 either HP's compilers or GCC.
1918
db521deb
JL
1919 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1920 a SIGBUS or SIGSEGV.
1921
1922 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1923
1924 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1925 can be compiled with either HP's compiler or GCC.
1926
cfa88ab7
JL
1927 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1928 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1929 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1930
ca344dff
JL
1931 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1932 to match current gdb output. Update due to using auto-solib-limit
1933 for limiting instead of overloading auto-solib-add.
1934 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1935 test program.
1936
3f3c6e55 1937 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1938 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1939 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1940 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1941 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1942 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1943 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1944 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1945 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1946 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1947 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1948 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1949 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1950
8fb87725
JL
1951 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1952 a SIGTRAP to the inferior.
1953
cf599fa7
CV
19542001-12-19 Corinna Vinschen <vinschen@redhat.com>
1955
1956 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1957 Substitute call to target_link by call to gdb_compile.
1958
2cd045cd
JL
1959Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1960
1961 * gdb.base/break.exp: Fix HP specific search string when testing
1962 backtracing in a called function.
1963
1964 * gdb.base/constvars.exp: Only set lang to C++ if we're
1965 compiling the test with HP's compilers.
1966 * gdb.base/volatile.exp: Similarly.
1967
99ebe9ac
JB
19682001-12-19 Jim Blandy <jimb@redhat.com>
1969
1970 * gdb.base/printcmds.exp: Expect the null character to be printed
1971 as '\0', and the '\013' to be printed as '\v'.
1972 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1973 * gdb.base/setvar.exp: Same.
1974
b9891b29
JB
19752001-12-17 Jim Blandy <jimb@redhat.com>
1976
0eba65ab
JB
1977 * gdb.base/completion.exp: Rather than completing very long
1978 filenames, which can make the readline library produce output we
1979 don't recognize, cd to the directory first, and then complete
1980 using nice, short relative paths.
1981
6970b5b1
JB
1982 * gdb.base/completion.exp: On some systems, there is, in fact, a
1983 variable named `b' in scope, since GDB treats all static
1984 variables as being in scope. So use `no_var_named_this'
1985 instead of `b'.
1986
b9891b29
JB
1987 * gdb.base/corefile.exp: Recognize the message saying that GDB
1988 can't find the core file's registers as a failure.
1989
e6ccd35f
JSC
19902001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1991
1992 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1993 test expect string more specific.
1994
105ba819
CV
19952001-12-13 Corinna Vinschen <vinschen@redhat.com>
1996
1997 * gdb.asm/asm-source.exp: Add support for xstormy16.
1998 * gdb.asm/configure.in: Ditto.
1999 * gdb.asm/configure: Rebuild.
2000 * gdb.asm/xstormy16.inc: New file.
2001
e9e79dd9
FF
20022001-12-10 Fred Fish <fnf@redhat.com>
2003
2004 * gdb.base/maint.exp: Update to match changes in type dumping code.
2005
347dc97d
JB
20062001-12-10 Jim Blandy <jimb@redhat.com>
2007
2008 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2009 matching the entry point symbol's name at the beginning of the
2010 line.
2011
5178b9d6
DJ
20122001-12-07 Daniel Jacobowitz <drow@mvista.com>
2013
2014 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2015 gdb.c++/inherit.exp, gdb.c++/method.exp,
2016 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2017 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2018 and class layout support.
2019
af890c52
DJ
20202001-12-07 Daniel Jacobowitz <drow@mvista.com>
2021
2022 * gdb.c++/classes.exp: Add test for static member function.
2023 * gdb.c++/misc.cc: Add class with static member function.
2024
7a345fb3
JB
20252001-12-07 Jim Blandy <jimb@redhat.com>
2026
f2e54a80 2027 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2028 those tests as `unsupported'.
2029 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2030 Rewrite subsequent tests to use it.
2031
2032 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2033 those tests as `unsupported'.
2034 * gdb.base/structs.exp (call_struct_func): New function.
2035 (do_function_calls): Use call_struct_func to call the functions
2036 returning structs.
2037
0bc69509
JB
2038 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2039 whether functions are prototyped or not, so we can't possibly pass
2040 arguments to t_float_values2 properly.
2041
7a345fb3
JB
2042 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2043 value of `timeout' for targets other than the mips*tx39-*.
2044
edb6ede1
MS
20452001-12-06 Michael Snyder <msnyder@redhat.com>
2046
2047 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2048 and detect whether the start symbol has a leading underscore.
2049
2d842f13
JB
20502001-12-04 Jim Blandy <jimb@redhat.com>
2051
2052 * gdb.base/completion.exp: Clarify indentation.
2053
68550daf
JB
20542001-12-03 Jim Blandy <jimb@redhat.com>
2055
2056 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2057 variables on the S/390, not `.word'.
2058
cd5195a8
JB
20592001-11-30 Jim Blandy <jimb@redhat.com>
2060
2061 Add assembly-source tests for s390-ibm-linux.
2062 * gdb.asm/s390.inc: New file.
2063 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2064 the S/390 architecture.
2065 * gdb.asm/configure: Regenerated.
2066
ca9efc90
MS
20672001-11-30 Michael Snyder <msnyder@redhat.com>
2068
2069 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2070 next, info source, info sources, info line, global and static
2071 variables, and static functions.
2072 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2073 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2074 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2075 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2076 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2077 (gdbasm_leave): Restore frame pointer.
2078 (gdbasm_startup): Copy stack set-up from crt0.S.
2079
d0e66976
FN
20802001-11-26 Fernando Nasser <fnasser@redhat.com>
2081
2082 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2083 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2084 to a local (non-static) variable. Copy tstruct.a to a static buffer
2085 and return a pointer to that buffer.
2086 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2087
e2334072
MK
20882001-11-24 Mark Kettenis <kettenis@gnu.org>
2089
2090 * gdb.asm/configure.in: Fix recognition of ix86 target.
2091 * gdb.asm/configure: Regenerate.
2092
756caa3d
MS
20932001-11-21 Michael Snyder <msnyder@redhat.com>
2094
2095 * gdb.asm/sparc.inc: New file.
2096 * gdb.asm/asm-source.exp: Recognize sparc target.
2097 * gdb.asm/configure.in: Recognize sparc target.
2098 * gdb.asm/configure: Regenerate.
2099
9a4d72d5
MS
21002001-11-21 Michael Snyder <msnyder@redhat.com>
2101
2102 * gdb.asm/m32r.inc: New file.
2103 * gdb.asm/asm-source.exp: Recognize m32r target.
2104 * gdb.asm/configure.in: Recognize m32r target.
2105 * gdb.asm/configure: Regenerate.
2106
a773d1cd
MS
21072001-11-20 Michael Snyder <msnyder@redhat.com>
2108
017ac23d
MS
2109 * gdb.asm/i386.inc: New file.
2110 * gdb.asm/asm-source.exp: Recognize ix86 target.
2111 * gdb.asm/configure.in: Recognize ix86 target.
2112 * gdb.asm/configure: Regenerate.
2113
a773d1cd
MS
2114 * gdb.c++/namespace.exp: Fix quotes in output messages.
2115
bb632afb
MS
21162001-11-14 Michael Snyder <msnyder@redhat.com>
2117
25d559ca 2118 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2119 qualifier in a type cast expression, to designate an address
2120 in the instruction space (Harvard architecture).
2121
4749e309
MS
21222001-11-13 Michael Snyder <msnyder@redhat.com>
2123
2124 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2125 Tests for expressions using 'const' and 'volatile'.
2126
25050984
CV
21272001-11-13 Corinna Vinschen <vinschen@redhat.com>
2128
2129 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2130
1902c51f
DJ
21312001-11-12 Daniel Jacobowitz <drow@mvista.com>
2132
2133 * lib/mi-support.exp (mi_run_to_helper): Move comments
2134 outside of gdb_expect.
2135
dcf95b47
DJ
21362001-11-11 Daniel Jacobowitz <drow@mvista.com>
2137
2138 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2139 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2140 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2141 mi0_run_to): New functions.
2142 * gdb.mi/mi-simplerun.exp: Use them.
2143 * gdb.mi/mi0-simplerun.exp: Likewise.
2144 * gdb.mi/mi-var-cmd.exp: Likewise.
2145 * gdb.mi/mi0-var-cmd.exp: Likewise.
2146
45b074e1
AC
21472001-11-10 Andrew Cagney <ac131313@redhat.com>
2148
2149 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2150 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2151
bf50d346
AC
21522001-11-09 Andrew Cagney <ac131313@redhat.com>
2153
2154 * gdb.base/restore.exp: Include $expected value in restored test
2155 message.
2156
9383332c
AC
21572001-11-09 Andrew Cagney <ac131313@redhat.com>
2158
2159 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2160 implemented.
2161
db62520a
MS
21622001-11-08 Michael Snyder <msnyder@redhat.com>
2163
2164 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2165 Add pass/fail message for stop at breakpoint in call dummy function.
2166
b5703437
MS
21672001-11-07 Michael Snyder <msnyder@redhat.com>
2168
760f6330
MS
2169 * gdb.c++/templates.exp (test_template_breakpoints):
2170 If we get an overload menu, but it does not match what
2171 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2172 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2173 making the whitespace optional. Argument for "new" may be
2174 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2175 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2176 making the whitespace optional. Also replace "(void) with
2177 "((void|)), making the keyword "void" optional.
63f50499
MS
2178 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2179 making the whitespace optional. Also replace "(void) with
2180 "((void|)), making the keyword "void" optional.
3bf40917
MS
2181 * gdb.base/callfuncs.c (t_float_values): This function must
2182 _not_ be prototyped, and the following function (t_float_values2)
2183 must be prototyped (if the compiler supports it), so that GDB
2184 can be tested against both cases. Usually one case involves
2185 promotion of float to double, while the other does not.
2186 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2187 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2188 includes a stack frame for "start".
2189
c8ab4e6d
JB
21902001-11-05 Jim Blandy <jimb@redhat.com>
2191
2192 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2193 pointers are 32 bits long, and that offsets of relocs are always
2194 stored in the data (REL-style), and not in the reloc entry itself
2195 (RELA-style).
2196 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2197 stabs.
2198
3f08ced9
MS
21992001-11-01 Michael Snyder <msnyder@redhat.com>
2200
2201 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2202 and regular expression operators by using quoting.
2203
cbfa24cd
MS
22042001-10-31 Michael Snyder <msnyder@redhat.com>
2205
2206 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2207 depending on what the symbol table contains.
2208 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2209 the output of the ptype command. Similarly, accept both "const &"
2210 and "const&".
2211
aaa68313
CV
22122001-10-31 Corinna Vinschen <vinschen@redhat.com>
2213
2214 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2215 symbol `STORAGE' to allow to choose the storage class of
2216 the local datastructures.
2217 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2218 compiler directive.
2219
91740388
MS
22202001-10-30 Michael Snyder <msnyder@redhat.com>
2221
2222 * gdb.base/jump.exp: Allow it to run for all targets.
2223
1b7c05e7
CV
22242001-10-29 Corinna Vinschen <vinschen@redhat.com>
2225
2226 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2227 with new double_array size.
2228 (main): Change storage class of all local variables to static.
2229 Reduce size of double_array to 9.
2230 * gdb.base/call-ar-st.exp: Increase timeout value.
2231 Change expected output for double array to match new size in
2232 call-ar-st.c.
2233
36a22261
CV
22342001-10-29 Corinna Vinschen <vinschen@redhat.com>
2235
2236 * gdb.base/ending-run.exp: Create identical output when passing
2237 `step to end of run' case. Add regular expression branch satisfying
2238 Stormy16 target.
2239
92b8ae91
MK
22402001-10-28 Mark Kettenis <kettenis@gnu.org>
2241
2242 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2243 that we catch the expected failure under Linux/x86.
2244
cb135b83
OF
22452001-10-29 Orjan Friberg <orjanf@axis.com>
2246
2247 * gdb.base/setvar.exp: Escape curly braces.
2248 * gdb.stabs/weird.exp: Ditto.
2249
6884aa54
DJ
22502001-10-27 Daniel Jacobowitz <drow@mvista.com>
2251
2252 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2253 * gdm.mi/mi0-hack-cli.exp: Likewise.
2254
0398c9aa
AC
22552001-10-25 Andrew Cagney <ac131313@redhat.com>
2256
2257 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2258 messages.
2259
d20bf2e8
AC
22602001-10-21 Andrew Cagney <ac131313@redhat.com>
2261
2262 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2263 checking MI enabled.
2264
03dd63aa
CV
22652001-10-09 Corinna Vinschen <vinschen@redhat.com>
2266
2267 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2268
1d9d99f3
FCE
22692001-10-04 Frank Ch. Eigler <fche@redhat.com>
2270
2271 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2272 if gdb child process crashes, just signal an error.
2273
838ae6c4
JB
22742001-10-02 Jim Blandy <jimb@redhat.com>
2275
2276 * lib/gdb.exp (test_xfail_format): Simplify.
2277
2278 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2279 front of the variable name `format'. Simplify `if'.
2280
8f0cbc1c
DJ
22812001-10-01 Daniel Jacobowitz <drow@mvista.com>
2282
2283 * gdb.threads/pthreads.exp: Wait for output and delay
2284 before sending ^C.
2285
1f08dafd
DJ
22862001-10-01 Daniel Jacobowitz <drow@mvista.com>
2287
2288 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2289 some incorrect output instead of timing out.
2290 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2291
674f90ff
CV
22922001-09-28 Corinna Vinschen <vinschen@redhat.com>
2293
2294 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2295 check to allow additional `int'.
2296
9b284272
DJ
22972001-09-27 Daniel Jacobowitz <drow@mvista.com>
2298
2299 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2300 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2301
b55a4771
MS
23022001-09-27 Michael Snyder <msnyder@redhat.com>
2303
2304 * lib/gdb.exp (test_debug_format): New proc.
2305 (setup_xfail_format): Use new proc test_debug_format.
2306 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2307 proc; use new service proc test_debug_format.
2308 Replace all other "gcc_compiled" tests with this test.
2309 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2310 proc; use new service proc test_debug_format.
2311 Replace all other "gcc_compiled" tests with this test.
2312
23132001-09-27 Michael Snyder <msnyder@redhat.com>
2314
2315 * gdb.base/cvexpr.exp: New file.
2316 * gdb.base/cvexpr.c: New file
2317 Test for expressions using const and volatile keywords.
2318
4e6667ac
CV
23192001-09-26 Corinna Vinschen <vinschen@redhat.com>
2320
2321 * gdb.base/constvars.exp: Check for different orders of keywords
2322 and additional "int" strings in output.
2323
4f337972
AC
23242001-09-22 Andrew Cagney <ac131313@redhat.com>
2325
2326 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2327 responses from "help maint".
2328
2015650d
FCE
23292001-09-19 Frank Ch. Eigler <fche@redhat.com>
2330
2331 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2332 to localhost:NNN instead of :NNN, in case Xvfb is listening
2333 only on TCP.
2334
f3bcedc1
CV
23352001-09-19 Corinna Vinschen <vinschen@redhat.com>
2336
2337 * gdb.base/recurse.exp: When checking leaving the watchpoint
2338 scope, recognize when gdb is in function's epilogue and pass.
2339
6b819c92
KS
23402001-09-18 Keith Seitz <keiths@redhat.com>
2341
2342 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2343 support for running tests against sid targets.
2344 (gdbtk_done): Ditto.
2345
a10c9419
CV
23462001-09-18 Corinna Vinschen <vinschen@redhat.com>
2347
2348 * gdb.base/ending-run.c (main): Set stdout buffersize
2349 to the same reasonable value for any target.
2350 * gdb.base/ending-run.exp: Add a regular expression
2351 to make testsuite happy on Sanyo Stormy16 target.
2352
739d0d99
CV
23532001-09-17 Corinna Vinschen <vinschen@redhat.com>
2354
2355 * gdb.base/display.c (do_loops): Add float variable `f'.
2356 Increment f in loop.
2357 * gdb.base/display.exp: Increment timeout by 60 seconds.
2358 Change float display test to use variable `f'.
2359
1b8947f0
JB
23602001-09-17 Jim Blandy <jimb@redhat.com>
2361
2362 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2363 overflowing the limited breakpoint tables on some ROM monitors
2364 (like the ROM68K).
2365
9890ac81
FCE
23662001-09-15 Frank Ch. Eigler <fche@redhat.com>
2367
2368 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2369 the "-ac" (disable access control) flag.
2370
6db765ea
JH
23712001-08-30 Jeff Holcomb <jeffh@redhat.com>
2372
2373 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2374 ints.
2375
4c32cc04
KS
23762001-08-30 Keith Seitz <keiths@redhat.com>
2377
2378 * lib/gdb.exp: Move all insight-related functionality into
2379 separate file.
2380 * lib/insight-support.exp: New file.
2381
8d6e6f81
FCE
23822001-08-29 Frank Ch. Eigler <fche@redhat.com>
2383
2384 * config/sid.exp (sid_start): Never set sid verbosity; disable
2385 expect_background {} that consumed its stdout; tolerate </dev/null.
2386 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2387
6a90e1d0
AC
23882001-08-18 Andrew Cagney <ac131313@redhat.com>
2389
2390 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2391 CLI jump command to start it.
2392 (mi_run_to_main): Fail immediatly when unexpected output.
2393
1759b3c3
AC
23942001-08-18 Andrew Cagney <ac131313@redhat.com>
2395
2396 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2397 beginning of function. Fix PR gdb/191.
2398
61d11d80
FCE
23992001-08-16 Frank Ch. Eigler <fche@redhat.com>
2400
2401 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2402 what to force sid endianness to.
2403
942a4df2
KS
24042001-08-15 Keith Seitz <keiths@redhat.com>
2405
2406 * lib/gdb.exp (gdbtk_start): Don't set environment
2407 variables for TCL_LIBRARY and friends. Insight will
2408 now figure these out for itself.
2409
0521c418
MS
24102001-08-02 Michael Snyder <msnyder@redhat.com>
2411
2412 * gdb.base/completion.exp: Remove the symbol "a64l" from
2413 the expect string; this is target-specific, and not related
2414 to what is being tested.
2415
74a9a58a
DB
24162001-08-02 Dave Brolley <brolley@redhat.com>
2417
2418 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2419
c70819fa
MS
24202001-07-25 Michael Snyder <msnyder@redhat.com>
2421
c2b8fa57
MS
2422 * gdb.base/consecutive.exp: New file. Test stepping over
2423 breakpoints on consecutive instructions.
2424 * gdb.base/consecutive.c: New file.
2425
c70819fa
MS
2426 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2427 curly braces in regular expressions.
2428
2b1a1355
MS
24292001-07-25 Michael Snyder <msnyder@redhat.com>
2430
2431 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2432 legitimate output from stepping out of main.
2433
413eca6f
KS
24342001-07-22 Keith Seitz <keiths@redhat.com>
2435
2436 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2437 the empty string, do not run the tests.
2438
7e5a9322
SC
24392001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2440
2441 * gdb.base/long_long.exp: Detect size of pointer. Take into
2442 account 2-byte pointers when testing for p/a results.
2443
de58f10f
SC
24442001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2445
2446 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2447 and defined to 1K for m68hc11.
2448 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2449 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2450 (sizeof_random_data): New variable to tell the size of the data table;
2451 don't test past this size; always run to main.
2452
d6f5fea1
SC
24532001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2454
2455 * gdb.base/return2.exp: return of long long and double fails for
2456 68HC11; don't execute these tests on that platform.
2457 * gdb.base/return.exp: Return of a double fails for 68hc11.
2458
c477543d
SC
24592001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2460
2461 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2462 tests that print a float.
2463 * call-rt-st.exp: Likewise.
2464
63cf1c79
MK
24652001-07-12 Mark Kettenis <kettenis@gnu.org>
2466
2467 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2468 running this test on Linux.
2469
112f9ab5
MC
24702001-06-24 Michael Chastain <chastain@redhat.com>
2471
2472 * gdb.base/arithmet.exp: Remove some tests to make all test names
2473 unique.
2474
4970cb0f
MS
24752001-07-03 Michael Snyder <msnyder@redhat.com>
2476
2477 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2478 the output of the ptype command.
2479
d85da69f
MS
24802001-07-02 Michael Snyder <msnyder@redhat.com>
2481
4c8a82de
MS
2482 * gdb.base/completion.exp: Don't assume that break.c is the only
2483 source file that may contain functions named "marker".
d85da69f
MS
2484 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2485
8afc772b
AC
24862001-06-28 Andrew Cagney <ac131313@redhat.com>
2487
2488 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2489 of files to delete.
2490
2491 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2492 * gdb.disasm/h8300s.exp: New file.
2493 gdb.disasm/h8300s.s: Likewise.
2494
cff22675
AC
24952001-06-27 Andrew Cagney <ac131313@redhat.com>
2496
2497 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2498 empty breakpoint tables.
2499
68c81b54
AC
25002001-06-25 Andrew Cagney <ac131313@redhat.com>
2501
2502 * lib/mi-support.exp: Update args=... part of stop-reason
2503 patterns. Accept either a list or a tuple.
2504
2dd62704
AC
25052001-06-23 Andrew Cagney <ac131313@redhat.com>
2506
2507 * lib/mi-support.exp: Remove local emacs variable defining
2508 change-log-default-name.
2509
b4127474
MC
25102001-06-22 Michael Chastain <chastain@redhat.com>
2511
2512 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2513 This is operationally compatible with the previous version.
2514
8dbfb380
JB
25152001-06-13 Jim Blandy <jimb@redhat.com>
2516
2517 * lib/gdb.exp (gdb_test): Doc fix.
2518
f2d8c86d
MC
25192001-06-10 Michael Chastain <chastain@redhat.com>
2520
2521 * gdb.base/exprs.exp: Remove a duplicate test.
2522
81564d34
JB
25232001-06-06 Jim Blandy <jimb@redhat.com>
2524
2525 * gdb.base/return2.exp (main): Use values to test float and double
2526 returns that are not NaN's, to avoid being confused by IEEE
2527 comparison rules.
2528
da55addb
MS
25292001-06-04 Michael Snyder <msnyder@redhat.com>
2530
2531 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2532 non-zero if control_c fails. Terminate the test on failure,
2533 rather than wait for 12 more tests to time out.
2534
42c65987
JB
25352001-06-06 Jim Blandy <jimb@redhat.com>
2536
b18bced9
JB
2537 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2538 Don't forget to match the GDB prompt.
2539
42c65987
JB
2540 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2541
5b41e5f0
JB
25422001-06-04 Jim Blandy <jimb@redhat.com>
2543
2544 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2545 command.
2546
015e046f
KB
25472001-05-31 Kevin Buettner <kevinb@redhat.com>
2548
2549 * gdb.base/annota1.exp (info break): Match four or more spaces
2550 after "Address".
2551
fb1ffbbe
MC
25522001-05-31 Michael Chastain <chastain@redhat.com>
2553
2554 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2555 (dm_type_int_star): Likewise.
2556 (dm_type_long_star): Likewise.
2557 (dm_type_void_star): Likewise.
2558
5ea2a32c
KB
25592001-05-29 Kevin Buettner <kevinb@redhat.com>
2560
2561 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2562 to a known value in order to get consistent results regardless
2563 of the setting of INPUTRC or the presence or contents of .inputrc.
2564
ae23c492
MS
25652001-05-24 Michael Snyder <msnyder@redhat.com>
2566
ac55707e
MS
2567 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2568 Don't require that the main thread and the manager thread are the
2569 first in the list.
2570
ae23c492
MS
2571 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2572 debugging. If test fails, issue an "unsupported" not a "fail".
2573
400071f1
JB
25742001-05-24 Jim Blandy <jimb@redhat.com>
2575
2576 Don't assume that short is shorter than int.
2577 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2578 assume that shorts are smaller than ints. On a 16-bit machine,
2579 this isn't true.
2580 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2581 an int, is not equal to ~0 stored in an unsigned char. This tests
2582 the same thing that the previous test meant to, but works on
2583 16-bit machines, too.
2584 ("print unsigned char != (~0)"): Same test, complemented.
2585
0816a3e5
MS
25862001-05-24 Michael Snyder <msnyder@redhat.com>
2587
2588 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2589 test for (full_coverage == 0). This makes the test run faster,
2590 and prevents dejagnu getting out of step.
2591
f6dc23a9
KB
25922001-05-23 Kevin Buettner <kevinb@redhat.com>
2593
2594 * gdb.base/finish.exp (finish_void): Revise pattern for
2595 stopping on the call statement to not permit stopping at
2596 the start of the instructions comprising the call sequence.
2597
7dbd117d
MC
25982001-05-19 Michael Chastain <chastain@redhat.com>
2599
2600 * gdb.base/callfuncs.exp: Make all test names unique.
2601 * gdb.base/commands.exp: Make all test names unique.
2602 * gdb.base/condbreak.exp: Make all test names unique.
2603 * gdb.base/dbx.exp: Make all test names unique.
2604 * gdb.base/default.exp: Make all test names unique.
2605 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2606 and TIMEOUT messages to their corresponding PASS message.
2607 * gdb.base/ending-run.exp: Make all test names unique.
2608 * gdb.base/long_long.exp: Remove duplicate test.
2609
6b0b0a9e
KB
26102001-05-21 Kevin Buettner <kevinb@redhat.com>
2611
2612 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2613 stop on the call statement as well as the statement after the
2614 call.
2615
2caa35cb
MS
26162001-05-21 Michael Snyder <msnyder@redhat.com>
2617
2618 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2619
40713331
EZ
26202001-05-10 Elena Zannoni <ezannoni@redhat.com>
2621
2622 * gdb.base/completion.exp: Revamp test. Make it execute on all
2623 platforms.
2624
c2c1be8d
EZ
26252001-05-10 Elena Zannoni <ezannoni@redhat.com>
2626
2c9cd303
EZ
2627 * config/gdbserver.exp (gdb_load): Handle the case
2628 in which the arguments to gdbserver are given in the
2629 baseboard configuration file.
2630 Also handle the case in which the server needs to do a
2631 load.
2632
9671de48
KS
26332001-05-07 Keith Seitz <keiths@cygnus.com>
2634
2635 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2636 set up the display for testing.
2637 (gdbtk_start): Convert all paths to paths that tcl will like.
2638 Export target information to environment.
2639 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2640 necessary.
2641 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2642 (to_tcl_path): New proc to convert a given pathname into
2643 a path acceptible as an argument to a tcl command.
2644 (_gdbtk_export_target_info): New proc to export target info
2645 into the environment for gdbtk testing.
2646 (gdbtk_done): New proc to signal end-of-test.
2647
5a360f47
JB
26482001-05-06 Jim Blandy <jimb@redhat.com>
2649
2650 * restore.c: Make the code of caller0 correspond to its comment.
2651
66c756c6
MS
26522001-05-03 Michael Snyder <msnyder@redhat.com>
2653
2654 * config/sid.exp (gdb_target_sid): Check for error messages.
2655 On error or timeout, don't make expect exit (which will terminate
2656 all subsequent tests); instead just make gdb exit.
2657 (gdb_load): Check for error messages. On error or timeout,
2658 return a negative value.
2659
a966fde5
JB
26602001-04-24 Jim Blandy <jimb@redhat.com>
2661
851c18e0
JB
2662 * gdb.c++/templates.exp: If we see the prompt for the overload
2663 list, but we haven't recognized any of the longer patterns,
2664 arrange for this test to fail, not hang.
2665
a966fde5
JB
2666 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2667 variations.
2668
db144853
MC
26692001-04-22 Michael Chastain <chastain@redhat.com>
2670
2671 * gdb.c++/local.exp: Use the 'runto' library function.
2672 * gdb.c++/namespace.exp: Likewise.
2673 * gdb.c++/overload.exp: Likewise.
2674
3207ec21
KB
26752001-03-26 Kevin Buettner <kevinb@redhat.com>
2676
2677 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2678 * gdb.base/step-line.exp: New file. Test step/next in presence of
2679 #line directives.
2680 * gdb.base/step-line.c: New file. Test program for the above.
2681 * gdb.base/step-line.inp: New file. We pretend that this file has
2682 been transformed by some other tool into step-line.c.
2683
13b57657
JB
26842001-03-21 Jim Blandy <jimb@redhat.com>
2685
2686 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2687 unmangled operator names.
2688
754cbe1c
JB
26892001-03-20 Jim Blandy <jimb@redhat.com>
2690
2691 * gdb.threads/linux-dp.exp: Recognize an additional message
2692 generated by GDB when it doesn't understand how to debug threads
2693 on the target system.
2694
177495c9
AC
26952001-03-19 Andrew Cagney <ac131313@redhat.com>
2696
2697 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2698
f266096b
MC
26992001-03-12 Michael Chastain <chastain@redhat.com>
2700
2701 * gdb.c++/derivation.exp: Use the 'runto' library function.
2702
cac3c2ff
MC
27032001-03-12 Michael Chastain <chastain@redhat.com>
2704
2705 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2706
b6c11a24
MC
27072001-02-24 Michael Chastain <chastain@redhat.com>
2708
2709 * gdb.c++/ref-types.exp: Change handwritten code to library
2710 function 'runto'.
2711
6bae5bce
OF
27122001-03-16 Orjan Friberg <orjanf@axis.com>
2713
2714 * gdb.base/signals.exp: Set count to 0 explicitly.
2715
0015fd9a
MS
27162001-03-15 Mark Salter <msalter@redhat.com>
2717
2718 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2719 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2720 (gdb_load): Add support for additional target_info: gdb_download_size
2721 and gdb_load_timeout.
0015fd9a 2722
fc33412a
DT
2723Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2724
2725 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2726 file -- to prevent failing when the compile fails but we have no
2727 intention of running the tests anyway.
2728
2729 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2730 tests if set.
2731
2732 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2733 integers.
2734
2735 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2736 * gdb.c++/namespace.exp: Ditto.
2737
115f06de
OF
27382001-03-07 Orjan Friberg <orjanf@axis.com>
2739
2740 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2741 * gdb.base/pointers.exp: Relax pattern match of decimals.
2742
b6ba6518
KB
27432001-03-06 Kevin Buettner <kevinb@redhat.com>
2744
2745 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2746 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2747 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2748 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2749 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2750 config/sh.exp, config/sid.exp, config/slite.exp,
2751 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2752 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2753 config/vxworks.exp, config/vxworks29k.exp,
2754 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2755 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2756 gdb.base/arithmet.exp, gdb.base/assign.exp,
2757 gdb.base/async.exp, gdb.base/attach.exp,
2758 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2759 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2760 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2761 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2762 gdb.base/commands.exp, gdb.base/completion.exp,
2763 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2764 gdb.base/constvars.exp, gdb.base/corefile.exp,
2765 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2766 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2767 gdb.base/ending-run.exp, gdb.base/environ.exp,
2768 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2769 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2770 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2771 gdb.base/funcargs.exp, gdb.base/help.exp,
2772 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2773 gdb.base/logical.exp, gdb.base/long_long.exp,
2774 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2775 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2776 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2777 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2778 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2779 gdb.base/regs.exp, gdb.base/relational.exp,
2780 gdb.base/remote.exp, gdb.base/reread.exp,
2781 gdb.base/restore.exp, gdb.base/return2.exp,
2782 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2783 gdb.base/selftest.exp, gdb.base/setshow.exp,
2784 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2785 gdb.base/sigall.exp, gdb.base/signals.exp,
2786 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2787 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2788 gdb.base/step-test.exp, gdb.base/structs.c,
2789 gdb.base/structs.exp, gdb.base/structs2.exp,
2790 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2791 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2792 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2793 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2794 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2795 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2796 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2797 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2798 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2799 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2800 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2801 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2802 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2803 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2804 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2805 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2806 gdb.trace/circ.exp, gdb.trace/collection.exp,
2807 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2808 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2809 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2810 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2811 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2812 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2813 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2814 notices.
2815
dc96c6c7 28162001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2817
2818 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2819 first arg is int not float.
2820
dc96c6c7 28212001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2822
2823 * gdb.base/reread.exp: Unsupported for non-native targets;
2824 doesn't work for remote debugging.
2825
9b0c4aeb
FN
28262001-02-19 Fernando Nasser <fnasser@redhat.com>
2827
2828 From Drew Moseley <dmoseley@redhat.com>
2829 * gdb.base/ending-run.exp: Properly handle the BSP state when
2830 stepping past the end of main.
2831
02aa71d5
MC
28322001-02-19 John Moore <jmoore@redhat.com>
2833
2834 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2835 Converted HPUX fix for non-expected items following multiple
2836 step commands into general solution for all platforms.
2837
1fa449a4
MC
28382001-02-18 Michael Chastain <chastain@redhat.com>
2839
2840 * gdb.c++/classes.exp (do_tests): Change runto statements
2841 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2842 statements demangler agnostic.
2843 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2844 (gdb_virtfunc_restart): Likewise.
2845
b2f9ec70
MC
28462001-02-14 Michael Chastain <chastain@redhat.com>
2847
2848 * gdb.c++/inherit.exp (do_tests): Change runto statements
2849 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2850 statements demangler agnostic.
2851
cf74b8ca
AC
2852Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2853
2854 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2855 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2856 before calling common_routine 15 times'' tests.
2857
99f78f56
MC
28582001-02-11 Michael Chastain <chastain@redhat.com>
2859
2860 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2861 Helps the test script figure out which demangler is in use.
2862 (dm_type_foo_ref): Ditto.
2863 (dm_type_int_star): Ditto.
2864 (dm_type_long_star): Ditto.
2865 (dm_type_unsigned_int): Ditto.
2866 (dm_type_void): Ditto.
2867 (dm_type_void_star): Ditto.
99707966 2868 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2869 Probe the gdb demangler and set variables to accommodate
2870 formatting differences.
2871 (info_func_regexp): New function. Same as info_func, but
2872 matches against a regexp.
2873 (info_func): Match against a literal string.
2874 (print_addr_2): New function. Match against a literal string,
2875 which can be different from the input to gdb.
2876 (print_addr): Simply call print_addr_2 with the same argument twice.
2877 (test_lookup_operator_functions): Use demangler formatting variables.
2878 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2879 the tests in the same order as the C++ class declaration.
2880 (test_paddr_operator_functions): Ditto.
2881 (test_paddr_overloaded_functions): Ditto.
2882 (test_paddr_hairy_functions): Use demangler formatting variables.
2883 Add reference to gdb/19 for related tests.
2884 (do_tests): Call probe_demangler.
2885
1de8f023
KB
28862001-01-30 Kevin Buettner <kevinb@redhat.com>
2887
2888 * gdb.c++/templates.cc (printf): Remove unused function definition.
2889
ca3f91ed
MS
28902001-01-26 Felix Lee <flee@redhat.com>
2891
2892 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2893
28942001-01-25 matthew green <mrg@redhat.com>
2895
2896 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2897 up sid.
2898 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2899
29002001-01-25 matthew green <mrg@redhat.com>
2901
2902 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2903 Deprecate $sid_spawn_id.
2904 (sid_exit): Remove code necessary only for `spawn.'
2905
29062001-01-25 matthew green <mrg@redhat.com>
2907
2908 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2909
fb18ec4a
MC
29102001-01-28 Michael Chastain <chastain@redhat.com>
2911
2912 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2913 to call when tests fail. It takes gdb out of the overloaded
2914 function choice menu back to the main prompt, so that the test
2915 program stays synchronized.
2916 (set_bp_overloaded): New proc to collect all the common
2917 code for setting a breakpoint on an overloaded name. Calls
2918 take_gdb_out_of_choice_menu when needed.
2919 (menu_overload1arg): New variable to collect the repeated
2920 instances of the expected menu for an overloaded name. Change
2921 the regular expression to handle changes in g++ type encoding:
2922 "void" can be either "void" or "", and "unsigned int" can be
2923 either "unsigned int" or "unsigned".
2924 (continue_to_bp_overloaded): Change regular expressions to handle
2925 changes in g++ type encoding.
2926 (no proc): Call take_gdb_out_of_choice_menu when needed.
2927 Remove redundant calls to "info break". Accept either "canceled"
2928 or "cancelled". Change regular expressions in "info break"
2929 calls to handle changes in g++ type encoding. Give all tests
2930 unique strings.
2931
9c646a6e
BE
29322001-01-17 Ben Elliston <bje@redhat.com>
2933
2934 * config/sid.exp: New file.
2935
9549d9c1
AC
2936Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2937
2938 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2939
dc96c6c7 29402000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2941
2942 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2943 Add a RE to accept a non-ascii char if one is ever presented.
2944
b4df4f68
FN
29452000-12-20 Fernando Nasser <fnasser@redhat.com>
2946
297dd0fd 2947 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2948
dc96c6c7 29492000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2950
2951 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2952 in regexp. One '\' does not suffice on Linux.
2953
4a7bddb6
MC
29542000-12-09 Michael Chastain <chastain@redhat.com>
2955
2956 * gdb.base/break.exp (test_clear_command): Use a marker function
2957 rather than 'main' for the test function. Also move this
2958 test to an execution point where the marker function names are
2959 guaranteed to be bound to functions. (Executing tests after a
2960 'finish' from main runs into name conflicts with local names
2961 in __libc_start_main).
2962
dc96c6c7 29632000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2964
2965 * gdb.base/finish.exp: New test for gdb's "finish" command.
2966 * gdb.base/return2.exp: New test for gdb's "return" command.
2967 * gdb.base/return2.c: New source file for above.
2968
dc96c6c7 29692000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2970
2971 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2972 * gdb.base/miscexprs.exp: Ditto.
2973 * gdb.base/pointers.exp: Ditto.
2974 * gdb.c++/derivation.exp: Ditto.
2975 * gdb.c++/local.exp: Ditto.
2976 * gdb.c++/namespace.exp: Ditto.
2977 * gdb.c++/overload.exp: Ditto.
2978 * gdb.c++/ref-types.exp: Ditto.
2979
dc96c6c7 29802000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2981
2982 * gdb.base/constvars.exp: Test result of "up" command.
2983 * gdb.base/miscexprs.exp: Ditto.
2984 * gdb.base/pointers.exp: Ditto.
2985 * gdb.base/scope.exp: Ditto.
2986 * gdb.c++/derivation.exp: Ditto.
2987 * gdb.c++/local.exp: Ditto.
2988 * gdb.c++/namespace.exp: Ditto.
2989 * gdb.c++/overload.exp: Ditto.
2990 * gdb.c++/ref-types.exp: Ditto.
2991
44097287
FN
29922000-11-22 Michael Chastain <chastain@redhat.com>
2993
2994 * mips_pro.exp: Accept either "middle -> top -> main" or
2995 "middle -> main" in the backtrace, because gcc can optimize
2996 tail calls to jumps. Remove setup_xfail for the hppa case.
2997 Add a comment with the original warning messages from PR 3016,
2998 which was filed in 1993, to preserve them for posterity.
2999
9d2e1bab
ND
30002000-11-17 Nick Duffek <nsd@redhat.com>
3001
3002 * lib/gdb.exp (gdb_test): Override timeout with board info.
3003
1aca8eb7
ND
30042000-11-17 Nick Duffek <nsd@redhat.com>
3005
3006 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3007 the second kill and detach messages.
3008
93076499
ND
30092000-11-17 Nick Duffek <nsd@redhat.com>
3010
3011 * configure.in: Add AC_EXEEXT.
3012 * configure: Regenerate.
3013 * Makefile.in (just-check): Export EXEEXT.
3014 * lib/gdb.exp ($EXEEXT): Import from environment.
3015 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3016 expect "maint dump-me" on Cygwin.
3017 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3018 $EXEEXT.
3019
30e87cd3
ND
30202000-11-17 Nick Duffek <nsd@redhat.com>
3021
3022 * gdb.base/break.exp: Test backtrace and finish from called
3023 function on all platforms, not just HP-UX.
3024
dc96c6c7 30252000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3026
3027 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3028 code from gdb_target_monitor, so it can be used independantly
3029 for gdbserver. Also comment out an unnecessary PUTS.
3030
dc96c6c7 30312000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3032
3033 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3034 * gdb.base/corefile.exp: Expect the message "Program is being
3035 debugged already" when we send the "corefile" command, since
3036 the preceeding gdb_load may have connected gdb to a remote target.
3037 * gdb.base/display.exp: Disable hardware watchpoints if new
3038 board info variable "no_hardware_watchpoints" is true.
3039 Replace single-letter commands with more readable ones.
3040 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3041 if new board info variable "no_hardware_watchpoints" is true.
3042 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3043 to see if stdio (printf) testing is possible.
3044 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3045 board info variable "no_hardware_watchpoints" is true. Use new
3046 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3047
39124dea
FN
30482000-11-13 Fernando Nasser <fnasser@redhat.com>
3049
3050 From Orjan Friberg <orjanf@axis.com>:
3051 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3052 in array print pattern match.
3053
a9e2e984
FN
30542000-11-09 Fernando Nasser <fnasser@redhat.com>
3055
3056 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3057 spelling "cancelled" to U.S. spelling "canceled" to match changes
3058 made to gdb.
3059 * gdb.c++/ovldbreak.exp: Ditto.
3060
c7db355b
PS
30612000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3062
3063 * gdb.base/callfuncs.c (main): Moved to end of file, call
3064 t_double_values to initialize the FPU before inferior calls are made.
3065 * gdb.base/callfuncs.exp: Test for register preservation after calling
3066 inferior functions. Add tests for continuining, finishing and
3067 returning from a stop in a call dummy.
3068
dc96c6c7 30692000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3070
3071 * gdb.base/commands.exp: Break up long lines, and re-indent.
3072
dc96c6c7 30732000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3074
3075 * config/gdbserver.exp: Rewritten from the ground up, to make it
3076 compatible with the current dejagnu tree, and to make it work with
3077 the new "gdbserver" in libremote.
3078
dc96c6c7 30792000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3080
3081 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3082 * gdb.base/varargs.exp: Skip entire test if no printf support.
3083 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3084 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3085
dc96c6c7 30862000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3087
3088 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3089 no floating point support.
3090 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3091 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3092 * gdb.base/call-rt-st.exp: Ditto.
3093 * gdb.base/call-strs.exp: Ditto.
3094
bac5fc66
JG
30952000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3096
3097 * gdb.base/sizeof.c: include <stdio.h>.
3098
3099 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3100 'finish', otherwise uncaptured gdb_prompt would potentially
3101 throw remaining test points out of sync.
3102
b22a6027
SB
31032000-07-26 Scott Bambrough <scottb@netwinder.org>
3104
3105 * gdb.base/recurse.exp: Run tests for all targets.
3106 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3107 gnu-oldld case on ARM.
3108 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3109 for ARM targets.
3110
d8231941
AG
3111Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3112
3113 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3114 * gdb.java/configure: Rebuild.
3115
8caabe69
AG
3116Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3117
3118 * gdb.java/jv-exp.exp: New file.
3119
9d273ca3
AG
3120Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3121
3122 * configure: Rebuilt.
3123 * configure.in (configdirs): Add gdb.java.
3124 * gdb.java/jmisc.java: New file.
3125 * gdb.java/jmisc.exp: New file.
3126 * gdb.java/Makefile.in: New file.
3127 * gdb.java/configure: Rebuilt.
3128 * gdb.java/configure.in: New file.
3129 * lib/java.exp: New file.
3130
4f823a66
AC
3131Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3132
3133 * gdb.base/exprs.exp: Test casts to a pointer including over and
3134 underflow.
3135
2391e11d
AC
3136Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3137
3138 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3139 and the compilers sizes.
3140
54602222
ND
31412000-07-09 Nick Duffek <nsd@redhat.com>
3142
3143 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3144 (use_methods): New function.
3145 (main): Call use_methods().
3146 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3147 (do_tests): Call test_method_param_class.
3148
2bec0572
ND
31492000-07-09 Nick Duffek <nsd@redhat.com>
3150
3151 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3152 spelling.
3153 (test_enums): New procedure. Move enum tests from end of script
3154 to here. Set breakpoint on function name instead of line number.
3155 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3156 (enums2): New marker function.
3157 (enums1): New function.
3158 (main): Call enums1(). Move enum tests to enums1().
3159
78492fde
AC
3160Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3161
3162 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3163 compile/link program. Update line numbers.
3164 * gdb.asm/d10v.inc: Define ``startup''.
3165 * gdb.asm/asmsrc1.s: Add definition of _start.
3166
49a2cef8
AC
3167Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3168
3169 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3170
3e6c8688
EZ
31712000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3172
3173 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3174 of 'help maint print' command.
3175
9ff5cbe9
AC
3176Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3177
3178 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3179 they use gdb_expect_list.
3180
17c579bd
AC
3181Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3182
3183 * gdb.base/commands.exp: Use ``set remote
3184 memory-read-packet-size'' instead of ``set endian big'' to test
3185 long commands.
3186
e6d71bf3
DB
31872000-06-03 Daniel Berlin <dan@cgsoftware.com>
3188
3189 * gdb.c++/templates.exp (do_tests): Make all of these work under
3190 g++, and stop skipping them.
3191
3192 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3193 work under g++.
3194
e5f9ba7b
MS
3195 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3196 initialization.
3197
dc96c6c7 31982000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3199
3200 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3201 the regular expression: accept an (almost) arbitrary sequence of
3202 "frames-invalid" and "breakpoints-invalid" messages both before
3203 and after the "starting" message.
3204
dc96c6c7 32052000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3206
3207 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3208
dc96c6c7 32092000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3210
3211 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3212 Relax the regular expression a little, make it pass on Solaris 8.
3213
8216cda9
KB
32142000-05-12 Kevin Buettner <kevinb@redhat.com>
3215
3216 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3217 a call, do not require that gdb stop on the line after the call.
3218 Instead, it is permissible for gdb to stop on the line of the
3219 call itself.
3220
1a570b2f
MS
32212000-05-12 Michael Snyder <msnyder@.cygnus.com>
3222
3223 * gdb.base/break.exp (bp on small function, optimized file):
3224 Add a second pass pattern. The behavior differs here between stabs
3225 and dwarf for one-line functions. Stabs preserves two line symbols
3226 (one before the prologue and one after) with the same line number,
3227 but dwarf regards these as duplicates and discards one of them.
3228 Therefore the address after the prologue (where the breakpoint is)
3229 has no exactly matching line symbol, and GDB reports the breakpoint
3230 as if it were in the middle of a line rather than at the beginning.
3231
dc96c6c7 32322000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3233
3234 * gdb.base/interrupt.exp: Make "pass" message say "send"
3235 rather than "send_gdb" (for consistancy).
3236
7d418785
AC
3237Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3238
3239 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3240 * gdb.c++/templates.cc: Properly check for GCC version number.
3241 * lib/compiler.cc: Likewise
3242
dc96c6c7 32432000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3244
3245 * gdb.base/break.exp: When compiled with -O2 optimization,
3246 gdb may not stop at the first line of main, due to code motion.
3247
dc96c6c7 32482000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3249
3250 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3251 This test depends on parsing the printf output from the target.
3252 Since the sparclet stub doesn't do stdio, this will never work.
3253 * gdb.base/call-rt-st.exp: ditto.
3254 * gdb.base/call-strs: ditto.
3255
dc96c6c7 32562000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3257
3258 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3259
3260 * gdb.base/ending-run.exp: After connecting to a remote target,
3261 but before running, the target will appear to be in a random
3262 location. Specify both a file and a line for breakpoints.
3263 Also, the function that calls main may be called 'init'
3264 rather than 'start'.
3265
a5a51225
EZ
32662000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3267
3268 * gdb.base/help.exp: Update output for add-symbol-file command.
3269
7930cc7c
FN
32702000-04-10 Fernando Nasser <fnasser@cygnus.com>
3271
3272 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3273 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3274
23e37ab1
C
32752000-04-07 J.T. Conklin <jtc@redback.com>
3276
e93c542c
C
3277 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3278
23e37ab1
C
3279 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3280
591b8fa3
PDM
3281Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3282
3283 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3284 values that can be represented exactly.
3285 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3286 above change, and to not check against the directory part of the source
3287 file name.
3288 (step into print_long_arg_list): Likewise.
3289 (print print_small_structs from print_long_arg_list): Likewise.
3290 (print print_long_arg_list): Likewise.
3291
7a495180
EZ
32922000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3293
30b53638 3294 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3295
beb998c6
AC
3296Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3297
3298 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3299
1c689132
DB
33002000-03-25 Daniel Berlin <dan@cgsoftware.com>
3301
3302 * gdb.base/commands.exp (deprecated_command_test): Add test for
3303 deprecate with no arguments.
3304
c1790a9d
JL
33052000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3306
3307 * gdb.base/break.exp: Add new test for setting breakpoints on
3308 optimized code so we can test breakpoints work even when function
3309 prologues may be optimized away
3310
003ba290
FN
33112000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3312
3313 From David Whedon <dwhedon@gordian.com>
3314 * gdb.base/commands.exp : Added command deprecator tests.
3315
6837a0a2
DB
33162000-03-22 Daniel Berlin <dan@cgsoftware.com>
3317
3318 * gdb.base/help.exp: Added test for new apropos command.
3319
b9593231
KB
33202000-03-21 Kevin Buettner <kevinb@redhat.com>
3321
3322 * gdb.base/pointers.c (usevar): New function.
3323 (main): Make sure that global variables v_int_pointer2, rptr,
3324 and y are all referenced someplace in the program by calling
3325 usevar() on them. [Some linkers delete symbols which are
3326 never referenced. The space remains, but there's no way to
3327 get a (symbolic) handle on the variable from the debugger.]
3328
751a959b
EZ
33292000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3330
3331 * gdb.base/printcmds.c: Add typedeffed arrays.
3332
3333 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3334 procedure to test arrays that are typedef'd.
3335
73a93a32
JI
33362000-03-13 James Ingham <jingham@leda.cygnus.com>
3337
3338 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3339 the library directories.
73a93a32 3340
fb40c209
AC
3341Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3342
3343 * configure.in (configdirs): Add sub directory gdb.mi.
3344 * configure: Re-generate.
3345
3346 * gdb.mi: New directory.
beb998c6 3347
ee4dd2c9
AC
33482000-02-25 Scott Bambrough <scottb@netwinder.org>
3349
3350 * gdb.base/long_long.exp: Correct test suite failure when printing
3351 a long long value as a double on ARM platforms.
3352
70f0cc22
JB
33532000-02-16 Jim Blandy <jimb@redhat.com>
3354
3355 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3356 default source file is set properly before running this test.
3357
853819b8
EZ
33582000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3359
3360 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3361 gdbtk/library directory, not in gdbtcl2.
3362
dfcd3bfb
JM
33632000-02-04 Jim Blandy <jimb@redhat.com>
3364
3365 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3366 backslash from regexp pattern.
3367
3368 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3369 procedure. Use it to run all the "continue to bp overloaded"
3370 tests. Note that this changes the names of the tests slightly.
3371 If the breakpoint hit message includes a hex PC value, because
3372 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3373 from the real source code, still consider that a pass.
3374
3375 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3376 XFAIL here if the breakpoint message contains a hex address. Note
3377 similar change on 1999-11-02.
3378
3379 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3380
3381 * gdb.base/ptype.exp: Establish a default source file before
3382 calling get_debug_format.
3383
33842000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3385
3386 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3387
8b93c638
JM
33882000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3389
3390 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3391 of successive stepi commands -- while in the prologue we should see
3392 the function entry bracket.
3393
33942000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3395
3396 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3397 reach __change_mode() when stepping through the end of main().
3398
c5394b80
JM
33992000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3400
3401 * gdb.base/default.exp: Fix expected pattern.
3402 * gdb.base/help.exp: Same.
3403
0d06e24b
JM
34042000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3405
3406 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3407 Don't use xfail's because that affects only the following test.
beb998c6 3408
0d06e24b
JM
3409 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3410 solaris or linux.
3411
3412 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3413
dc96c6c7 34142000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3415
beb998c6 3416 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3417 "A syntax error" rather than "A parse error". Accept both.
3418
34192000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3420
3421 * gdb.base/default.exp: Remove OS dependent string from "target
3422 remote" test.
3423 * gdb.base/help.exp: Same for "help target remote" test.
3424
c3f6f71d
JM
34252000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3426
3427 From Jim Kingdon <kingdon@redhat.com>:
3428
3429 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3430 prompt (cleanup rather than necessity, but still might keep output
3431 from spilling to next test).
3432
34332000-01-02 Fred Fish <fnf@cygnus.com>
3434
3435 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3436 AIX, which defines them in <sys/types.h>.
3437
ed9a39eb 34381999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3439
ed9a39eb
JM
3440 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3441 float" test.
3442
34431999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3444
ed9a39eb 3445 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3446
3447 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3448 outermost frame disallowed".
3449
34501999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3451
3452 * gdb.base/setvar.exp: New tests for setting the value of a struct
3453 with a constant list.
3454
34551999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3456
3457 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3458 require the user to type a cast before setting the value of a struct.
3459
de57eccd
JM
34601999-12-06 Jim Blandy <jimb@cygnus.com>
3461
3462 * gdb.base/default.exp: Expect the new 'info float' command on
3463 all i386 platforms.
3464
3465 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3466 LinuxThreads libraries that don't support debugging.
3467
c2d11a7d
JM
3468Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3469
3470 * gdb.base/remote.c: Fill the buffer with truely random data.
3471 Change the buffer type to ``unsigned char'' to simplify size
3472 arithmetic.
3473
3474 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3475 stub only handles 400-1 byte packets. Verify that the download
3476 worked.
3477
34781999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3479
3480 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3481 tests, using UNRESOLVED for the untested cases. Also, does not wait
3482 for a timeout if the prompt was received before a recognizable pattern.
3483
34841999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3485
3486 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3487
34881999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3489
3490 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3491 watchpoints.
3492
34931999-11-24 Jason Merrill <jason@casey.cygnus.com>
3494
3495 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3496
3497 * gdb.c++/local.exp: Be more flexible in recognizing local class
3498 name mangling. Don't allow horribly truncated method names.
3499 * gdb.c++/derivation.exp: Expect protected inheritance.
3500 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3501 * gdb.c++/virtfunc.exp: Likewise.
3502 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3503 when printing a nested enum.
3504
35051999-11-22 Jim Blandy <jimb@cygnus.com>
3506
3507 * gdb.base/step-test.exp: Properly await GDB's response to setting
3508 a breakpoint on the call to large_struct_by_value.
3509
3510 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3511 just because we have debug info for the `start' function.
3512
35131999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3514
3515 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3516 "Unknown signal" messages, which indicate (on LinuxThreads) that
3517 GDB doesn't know how to debug threads on this system. This is
3518 better than hanging while philosopher 0 dumps chatter into gdb.log.
3519
35201999-11-18 Tom Tromey <tromey@cygnus.com>
3521
3522 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3523
35241999-11-18 Fred Fish <fnf@cygnus.com>
3525
3526 * gdb.base/coremaker2.c: Add sample program for generating
3527 cores that is more self contained than coremaker.c. Eventually
3528 I'll add more code to this and tie it into the testsuite.
3529
4ce44c66
JM
35301999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3531
3532 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3533
35341999-11-10 Jimmy Guo <guo@cup.hp.com>
3535
3536 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3537 from $srcdir/lib/.
3538 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3539 and gdb.c++/.
3540
3541 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3542
beb998c6 3543 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3544 'continue with watch' test point.
3545
35461999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3547
3548 Merged from p2linux-990323-branch:
beb998c6 3549
4ce44c66
JM
3550 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3551
11cf8741
JM
3552Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3553
3554 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3555 {limit,fixed}''. Test ``set download-write-size''.
3556
3557Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3558
3559 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3560 gdb_expect_list.
3561
3562Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3563
3564 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3565
35661999-11-03 Mark Salter <msalter@cygnus.com>
3567
3568 * gdb.base/break.exp: Fix "stub continue" pattern.
3569
35701999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3571
3572 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3573
35741999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3575
3576 * gdb.base/display.exp ("finish"): Add timeout clause.
3577
3578 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3579 plain prompt clause, so this doesn't have to time out in order to
3580 fail.
3581
3582 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3583 breakpoint hit messages include an address.
3584
3585 * gdb.base/display.exp: Don't forget to escape parens in regular
3586 expressions. Unix regexp notatation sucks.
3587
35881999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3589
3590 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3591 order for 'signalled' message.
3592
5c44784c
JM
35931999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3594
3595 From Jimmy Guo <guo@cup.hp.com>:
3596 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3597 * gdb.base/annota1.c: Add code for tests to work with.
3598
35991999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3600
3601 * gdb.base/remote.exp: New test for remote downloading settings.
3602 * gdb.base/remote.c: New file with large .data.
3603
917317f4
JM
36041999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3605
3606 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3607 for LinuxThreads support, merged from the Code Fusion branch.
3608
3609Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3610
3611 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3612 containing exp_continue into a while within an expect. Don't
3613 attempt a start more than three times. Check return value from
3614 gdb_load.
beb998c6 3615
2df3850c
JM
3616Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3617
3618 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3619 a pass case.
3620
2acceee2
JM
36211999-10-01 Kevin Buettner <kevinb@cygnus.com>
3622
3623 * gdb.base/break.c (main): Added a statement that we can step
3624 off of.
3625 * gdb.base/break.exp: Added tests for setting a breakpoint
3626 at an offset and stepping onto a breakpoint.
3627
36281999-10-01 Fred Fish <fnf@cygnus.com>
3629
beb998c6 3630 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3631 gdb output.
3632
c2c6d25f
JM
36331999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3634
3635 * gdb.base/break.exp: Code locations are in hex, don't forget!
3636 (For HP-UX.)
3637
36381999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3639
3640 * condbreak.exp: Use break.c as test program.
3641 * condbreak.c: Remove, redundant with break.c.
3642
36431999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3644
3645 * config/monitor.exp (gdb_target_monitor): Disable X- and
3646 Z-packets if the target needs it.
3647
36481999-09-13 James Ingham <jingham@leda.cygnus.com>
3649
3650 * gdb.c++/overload.exp: Added tests for listing overloaded
3651 functions with function pointers in the arg, explicitly calling
3652 out the version you want.
3653
cff3e48b
JM
36541999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3655
3656 * long_long.exp: Add variations of test cases that work for
3657 targets with 16-bit ints and 32-bit doubles.
3658
d4f3574e
SS
36591999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3660
3661 * break.c (main): Compare a possibly-uninitialized argc with an
3662 unlikely value that fits in 16 bits.
3663
36641999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3665
3666 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3667 0xfeeb, don't want negative numbers if ints are 16 bits.
3668
3669 * lib/gdb.exp (skip_cplus_tests): New proc.
3670 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3671 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3672 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3673 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3674 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3675 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3676 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3677 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3678
3679 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3680
3681Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3682
3683 * gdb.base/corefile.exp (up): Allow a parameter to appear
3684 in the frame that we're going up to.
3685
3686 From Jim Blandy <jimb@cygnus.com>:
3687
3688 * gdb.base/default.exp (info float): Expect some output now.
3689
3690 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3691 returning floating-point values to fail on the x86.
3692 * gdb.base/callfwmall.exp (do_function_calls): Same.
3693
3694 * gdb.base/list.exp (test_listsize): Correct expectations for
3695 listing line 1 with listsize 2. Also, listing a single line
3696 works now, as does listing three lines. [Kevin's note: There
3697 were a number of other cases fixed too where the expectations
3698 differed...]
3699
37001999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3701
3702 * gdb.base/selftest.exp: Add case for when version prints as
3703 constant string instead of char pointer.
3704
104c1213
JM
37051999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3706
3707 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3708 stepping out of main.
3709
3710 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3711 G++ used.
3712
3713 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3714 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3715
3716 * gdb.c++/ovldbreak.exp: Update match string in test that
3717 includes a warning of multiple breakpoints.
3718
37191999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3720
3721 * gdb.base/display.exp: Improve precision of step-after-finish
3722 added yesterday.
3723
3724 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3725 test.
3726
3727 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3728 configs when using G++, not just hppa*.
3729
37301999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3731
3732 * gdb.base/async.c: New file.
3733 * gdb.base/async.exp: New file.
3734
3735Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3736
3737 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3738 PA64.
3739
53a5351d
JM
3740Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3741
104c1213
JM
3742 * gdb.base/display.exp: "finish" can leave us mid-line on many
3743 targets, deal with it. Add a small constant to main, instead of
3744 1000 since main+1000 may not be a valid address in the target.
3745
53a5351d
JM
3746 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3747 on hpux11.
3748
3749 * gdb.base/attach.exp: Handle another hpux11 error message variant
3750 when attaching to a process that does not exist.
3751
37521999-08-19 J.T. Conklin <jtc@redback.com>
3753
3754 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3755 characters in 'continue to 1241' test.
3756
37571999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3758
3759 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3760 stop in print_long_arg_list, define and use a whitespace
3761 variable in print_small_structs test, add an XFAIL for Solaris.
3762 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3763 interested enough to fix.
3764
7be570e7
JM
37651999-08-13 Keith Seitz <keiths@cygnus.com>
3766
3767 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3768 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3769 proc knows about targets other than the natives.
3770 (test_assign): Use "gdb_run_cmd" to "run" the target.
3771 Check that we've actually hit the breakpoint at main.
3772 When we attempt to assign a value to a local variable, check
3773 that the variable is in the current scope, i.e., don't use
3774 a test with an empty result.
3775
3776Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3777
3778 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3779 command.
3780
37811999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3782
3783 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3784 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3785 gdb.compat, gdb.threads-hp.
3786 gdb.hp/configure, gdb.hp/configure.in: New files.
3787 gdb.hp/Makefile.in: Recurse into new subdirs.
3788 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3789 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3790 in object files.
3791 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3792
96baa820
JM
37931999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3794
3795 * gdb.base/display.exp: Help expect by putting a newline in the
3796 funky printf, remove a bogus p/a test.
3797
37981999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3799
3800 * gdb.base/display.exp: Make sure that when we say 'run', we are
3801 connected to the target. This is necessary when running not
3802 natively.
3803
38041999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3805
3806 * gdb.base/step-test.exp: Removed some extraneous messages.
3807
3808 * gdb.base/long_long.exp: Don't run memory examination tests
3809 on little-endian targets (they will need a different set of
3810 results to match).
3811
38121999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3813
3814 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3815 until somebody decides to fix GDB.
3816
3817 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3818 constant as "ULL".
3819 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3820 matches for a couple x/2 commands.
3821
a0b3c4fd
JM
38221999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3823
3824 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3825 by merging in ref-types2 tests.
3826 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3827
3828 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3829 * gdb.c++/Makefile.in: Add standard actions.
3830 (EXECUTABLES): Rename from PROGS, update list.
3831 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3832 from gdb.hp.
3833 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3834 foo and bar locals.
3835 * gdb.c++/anon-union.exp: Fix tests to match.
3836 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3837 expect matches to handle output variations.
3838 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3839 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3840 output, add HP alternatives for new and delete prints.
3841 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3842 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3843 * gdb.c++/demangle.exp: Use $style when reporting failure.
3844 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3845 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3846 match alternatives.
3847 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3848 compilers.
3849 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3850 * gdb.c++/method.exp: Add match alternatives.
3851 * gdb.c++/misc.cc: Add bool types.
3852 * gdb.c++/misc.exp: Add tests for bool types.
3853 * gdb.c++/overload.exp: Add xfails.
3854 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3855 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3856 add some more template parameter tests (only for HP currently).
3857 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3858 * gdb.c++/virtfunc.cc: Add return type and value for main.
3859 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3860 match alternatives.
beb998c6 3861
a0b3c4fd
JM
38621999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3863
3864 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3865
38661999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3867
3868 * gdb.base/signals.exp: Don't expect getting a backtrace from
3869 within a signal handler to fail on Linux.
3870
38711999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3872
3873 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3874 * lib/gdb.exp: Remove some gratuitious semicolons.
3875 (delete_breakpoints): Increase timeout.
3876 (gdb_expect): Add -notransfer option.
3877 (gdb_test): Use -notransfer option.
3878 (get_compiler_info): Add f77 case.
3879 (get_compiler): New proc, split out from gdb_preprocess, add f77
3880 case.
3881 (gdb_preprocess): Call get_compiler.
3882
3883 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3884 * gdb.base/attach.exp, gdb.base/display.exp,
3885 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3886 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3887 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3888 third arg to gdb_test.
3889 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3890 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3891 HP-UX xfails, add others.
3892 * gdb.base/completion.exp: Reflect name change of self-test.
3893 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3894 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3895 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3896 HP failure number.
3897 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3898 useless HP-UX 10.30 references.
3899 * gdb.base/maint.exp: Loosen matches.
3900 * gdb.base/pointers.c (main): Declare more_code.
3901 * gdb.base/pointers.exp: Match on output of a `next'.
3902 * gdb.base/structs.c: Add prototypes.
3903 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3904 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3905
39061999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3907
3908 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3909 command.
3910
39111999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3912
3913 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3914 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3915
3916 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3917 debug info. Deal with lack of signal hanlder info in stack.
3918
3919 From Jim Kingdon <kingdon@redhat.com>:
3920 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3921
5a2468f5
JM
39221999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3923
3924 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3925 gdb.base/foll-vfork.exp: Don't run for crosses.
3926
adf40b2e
JM
3927Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3928
3929 * gdb.base/configure.in: Check for gdbvars.exp instead of
3930 a1-selftest.exp.
3931 * gdb.base/configure: Re-generate.
3932
39331999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3934
3935 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3936 in trying to run first and name is too long.
3937
3938 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3939 pointers2.c and pointers2.exp, respectively.
3940 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3941 doschk happier.
3942
43e526b9
JM
39431999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3944
3945 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3946 callfuncs2.c and callfuncs2.exp.
3947
3948 * gdb.base/list.exp: Remove mistaken xfails.
3949 * gdb.base/list0.h: Add optional prototypes.
3950
9846de1b
JM
3951Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3952
3953 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3954 calling malloc.
3955 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3956 * ptype.exp: Move test for get_debug_format to before its first
3957 use.
3958
39591999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3960
3961 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3962 * gdb.base/annota2.cc, annota2.exp: Move from here.
3963 * gdb.c++/annota2.cc, annota2.exp: To here.
3964 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3965
43ff13b4
JM
3966Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3967
3968 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3969 a consistent format.
3970
085dd6e6
JM
39711999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3972
3973 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3974 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3975 HP compilers, also set the globals $true and $false.
3976
3977 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3978 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3979 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3980 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3981 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3982 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3983 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3984 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3985 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3986 whatis.c} Add C++ compatible function definitions and return
3987 types, add includes for library functions.
3988 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3989 * gdb.base/step-test.c (myglob): Rename from glob.
3990 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3991 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3992 files, move here from gdb.hp.
3993 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3994 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3995 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3996 Adjust line numbers in regexps.
3997
3998 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3999 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4000 instead of 0/1.
4001
4002 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4003 foll-vfork.exp: New files, move here from gdb.hp.
4004 * gdb.base/page.exp: New file, test of pagination command.
4005
4006 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4007 recursion test.
4008 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4009
4010 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4011 gdb.base/solib.exp: Fix compiler invocation process.
4012
4013 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4014 HP-UX 11, turn off overload resolution explicitly.
4015 * gdb.base/commands.exp: Set argument list explicitly, add
4016 watchpoint test.
4017 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4018 them work.
4019 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4020 expressions properly.
4021 * gdb.base/corefile.exp: Loosen the match slightly.
4022 * gdb.base/default.exp: Allow "Error accessing memory" message
4023 also.
4024 * gdb.base/display.exp: Skip over x/0 j if PA64.
4025 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4026 * gdb.base/interrupt.exp: Ditto.
4027 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4028 in use.
4029 * gdb.base/list.exp: Add xfails for HP-UX.
4030 * gdb.base/long_long.exp: Refine some of the numeric matches.
4031 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4032 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4033 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4034 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4035 * gdb.base/ptype.exp: Succeed on more varieties of output.
4036 * gdb.base/scope.exp: Add xfails for HP-UX.
4037 * gdb.base/sect-cmd.exp: Add more cases.
4038 * gdb.base/setvar.exp: Add xfails for HP-UX.
4039 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4040 * gdb.base/signals.exp: Match on void symbolically.
4041 * gdb.base/step-test.exp: Add case for PA64.
4042 * gdb.base/term.exp: Add exit and restart.
4043 * gdb.base/twice.exp: Clean up after self.
4044 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4045 * gdb.base/whatis.exp: Allow more ways to pass tests.
4046
4047 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4048 no longer useful.
4049
4050Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4051
4052 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4053 list of patterns.
4054 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4055 print_double_array(double_array)", "continuing to breakpoint
4056 1018", "print print_double_array(array_d)" and "continuing to
4057 1034" tests.
beb998c6 4058
085dd6e6
JM
40591999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4060
4061 * Makefile.in: Add empty html and install-html targets.
4062
40631999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4064
4065 * config/mt-*: Remove, these haven't been used since 1996.
4066
40671999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4068
4069 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4070 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4071 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4072
9e0b60a8
JM
40731999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4074
4075 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4076 simpler match case for the ptype of the big class.
4077
40781999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4079
4080 * gdb.exp: Fix test for gdb_prompt existence.
4081
40821999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4083
4084 * gdb.exp (gdb_test): Add fail after calls to perror.
4085
40861999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4087
4088 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4089
40901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4091
4092 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4093
0f71a2f6
JM
4094Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4095
4096 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4097 malloc() is linked in.
4098
40991999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4100
4101 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4102 step at end.
4103
4104 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4105
41061999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4107
4108 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4109
cce74817
JM
4110Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4111
4112 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4113 * gdb.base/mips_pro.exp: Likewise.
4114
41151999-06-02 Keith Seitz <keiths@cygnus.com>
4116
4117 * gdb.c++/templates.cc: Change all "new" operators to throw
4118 an exception.
4119 * gdb.c++/cplusfuncs.cc: Likewise.
4120
4121 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4122
4123Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4124
4125 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4126 * gdb.base/ending-run.exp: When stepping out of main, accept a
4127 step into an arbitrary assembler file.
4128
392a587b
JM
41291999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4130
beb998c6 4131 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4132 "breakpoint-invalid" to be printed.
beb998c6 4133 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4134 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4135 * gdb.base/annota2.cc: Initialize a.x to 0.
4136
9e086581
JM
41371999-05-17 Keith Seitz <keiths@cygnus.com>
4138
4139 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4140 when "skip_float_tests" set.
4141 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4142 "print print_ten_doubles", and "step into print_long_arg_list".
4143 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4144 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4145 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4146 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4147 "skip_float_tests" is set.
4148 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4149 when "skip_float_tests" set.
beb998c6 4150
cd0fc7c3
SS
41511999-05-06 Keith Seitz <keiths@cygnus.com>
4152
4153 * gdb.base/annota2.cc: Include stdio.h.
4154
4155Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4156
4157 * gdb.base/crossload.exp: Remove, this has been disabled ever
4158 since BFD stopped including all targets, and cross-GDB gets
4159 plenty of testing anyway.
4160 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4161 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4162 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4163 * gdb.base/README: Remove, was doc for this.
4164 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4165 needed.
4166
b83266a0
SS
41671999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4168
4169 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4170 output.
4171
4172 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4173 * gdb.base/annota2.exp: New file. More annotation tests.
4174 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4175 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4176
41771999-04-23 Angela Marie Thomas <angela@cygnus.com>
4178
4179 * config/cfdbug.exp: New file.
4180
7a292a7a
SS
41811999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4182
4183 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4184 Marcus Daniel's and Dale Hawkins's demangler crashes.
4185
4186 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4187 test_lucid_style_demangling, test_arm_style_demangling,
4188 test_hp_style_demangling): Try Tom Tromey's core-dumping
4189 identifier under each demangling style.
4190
41911999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4192
4193 * gdb.c++/demangle.exp: Include the current demangling style
4194 in all test names.
4195 (current_demangling_style): New global variable.
4196 (set_demangling_style, test_demangling_core, test_demangling,
4197 test_demangling_exact): New functions.
4198 (test_gnu_style_demangling, test_lucid_style_demangling,
4199 test_arm_style_demangling, test_hp_style_demangling): Use those,
4200 instead of calling gdb_test and gdb_test_exact directly.
4201 (catch_demangling_errors): New function, which reports errors
4202 signalled by the demangling test functions in an orderly way.
4203 (do_tests): Use catch_demangling_errors.
4204
42051999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4206
4207 * gdb.base/signals.exp (test_handle_all_print): Use () for
4208 grouping in expressions, not {}.
4209
4210 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4211 initialized yet.
4212
42131999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4214
4215 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4216 are listed.
4217
42181999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4219
4220 * gdb.stabs/weird.exp: Test for CC being defined before
4221 looking at its value.
4222
42231999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4224
4225 * gdb.base/call-ar-st.exp: Remove stray '#'.
4226 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4227 "short int" and "long int".
4228 * gdb.c++/overload.cc: Cast the string added in the previous
4229 change, to mollify finicky HP compiler.
4230 * gdb.hp/reg-test.exp (testfile): Fix file name.
4231 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4232
7a292a7a
SS
4233 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4234 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4235 alternate form of enum ptype.
4236
c906108c
SS
42371999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4238
7a292a7a
SS
4239 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4240 * gdb.hp/*.exp: Change all to run compiler probe only after
4241 passing skip_hp_tests, so as not to waste time on guaranteed
4242 failure.
4243
c906108c
SS
4244 * gdb.c++/overload.cc: Pass string instead of char addr, always
4245 init ccpfoo.
4246 * gdb.c++/templates.cc: Fix syntax error.
4247
7a292a7a
SS
4248Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4249
4250 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4251 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4252 command.
4253
42541999-03-18 James Ingham <jingham@cygnus.com>
4255
4256 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4257
4258 * gdb.c++/method.exp: It was testing an uninitialized int on the
4259 stack and assuming it was positive.
4260
4261 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4262
4263 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4264 keep it from killing the rest of the tests.
7a292a7a
SS
4265 Use gdb_continue_to_end.
4266
4267 * gdb.base/sigall.exp: use gdb_continue_to_end.
4268
4269 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4270
4271 * gdb.base/display.exp: use runto_main, not run.
4272
beb998c6
AC
4273 * gdb.base/default.exp: Check for the current error message in the
4274 r abbreviation test.
7a292a7a
SS
4275 Add strongarm to the targets that know info float.
4276
beb998c6 4277 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4278 run which doesn't work with monitors.
4279
4280 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4281
4282 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4283
4284 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4285 program. Traps the case (in Cygmon) when the program never really
4286 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4287 more places, so I used my name. Sorry Mark...
4288
4289 * config/monitor.exp (gdb_target_monitor): added another
4290 target_info parameter: remotebinarydownload. This will set the
4291 remotebinarydownload flag if this is causing some boards trouble.
4292
42931999-03-18 Mark Salter <msalter@cygnus.com>
4294
4295 * lib/gdb.exp (continue_to_exit): New function.
4296
4297 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4298 * gdb.base/ending-run.exp: Ditto.
4299 * gdb.base/step-test.exp: Ditto.
4300
43011999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4302
4303 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4304 (suggested by Art Haas <ahaas@neosoft.com>).
4305
43061999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4307
4308 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4309
4310Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4311
4312 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4313 descriptions of types (short unsigned int vs unsigned short, etc).
4314
43151999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4316
4317 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4318 a call to strlen; sometimes we do have sources.
4319
43201999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4321
4322 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4323 character, so GDB won't print garbage after its end.
beb998c6 4324
c906108c
SS
4325 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4326 breakpoint there instead. Sometimes GCC emits memcpy to handle
4327 the large structures being passed by value, so we step into that
4328 instead of sum_array_print, which obscures what we're really testing.
4329 * gdb.base/step-test.exp: However, we do want a test that notices
4330 the bizarre steps into memcpy, so do that here. Add check for
4331 stepping into function calls that pass large structures by value.
4332 ("Is that a noun clause, or are you just happy to see me?")
4333 Remove all references to specific line numbers.
4334 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4335 New type and function.
4336 (main): Call large_struct_by_value, passing it a large struct by value.
4337 * lib/gdb.exp (gdb_get_line_number): New function.
4338
4339 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4340 more portable.
4341
7a292a7a
SS
43421999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4343
c906108c
SS
4344 * lib/gdb.exp: Doc fixes.
4345
7a292a7a
SS
43461999-03-05 Nick Clifton <nickc@cygnus.com>
4347
beb998c6 4348 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4349
43501999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4351
c906108c
SS
4352 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4353 commands. They're not germane to this test, and they don't work
4354 that way on remote targets.
4355
3fc11d3e
JM
43561999-03-01 James Ingham <jingham@cygnus.com>
4357
4358 * Changelog entries merged over from gdb development branch.
4359
3fc11d3e
JM
4360 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4361
4362 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4363 for outputting results of test run.
4364
2d4a1622 4365 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4366
4367 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4368
7a292a7a
SS
43691999-02-25 Felix Lee <flee@cygnus.com>
4370
4371 * lib/gdb.exp (debug_format): initialize
4372
c906108c
SS
43731999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4374
4375 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4376 * gdb.base/call-rt-st.c: Ditto.
4377
c906108c
SS
43781999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4379
4380 * gdb.threads/pthreads.exp (horiz): New variable.
4381 (test_startup): Fix regexps that capture thread numbers.
4382
43831999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4384
4385 * gdb.base/smoke.exp: Disambiguate two test case names (both
4386 called ``print'').
4387
4388Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4389
4390 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4391 compilation.
4392
43931999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4394
4395 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4396 actual output formatting.
4397 * gdb.base/smoke.exp: GDB removes leading 0's.
4398 * gdb.base/volatile.exp: Don't check type of remuneration;
4399 that variable is no longer defined in constvars.c.
4400 * gdb.base/step-test.c (main): Exit with explicit exit code.
4401 * gdb.base/step-test.exp: Remove two nexti checks--they are
4402 not portable.
4403
44041999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4405
4406 * gdb.base/help.exp ("help delete display"): Fix test to match
4407 gdb's output.
4408
4409 * gdb.base/long_long.c (known_types): Initialize values to zero.
4410 * gdb.base/long_long.exp: Step one more line
4411 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4412 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4413 unique test case names.
4414
4415Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4416
beb998c6 4417 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4418
4419 * gdb.c++/method.exp: Add missing close brace.
4420
44211999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4422
4423 * gdb.base/maint.exp: Use 'set height 0' to disable page
4424 prompting, not 'set height 400'.
4425
4426 Fix a bunch of timeouts.
4427 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4428 four separate tests, so expect doesn't take forever to match a ton
4429 of text against a regexp with lots of .* forms.
4430 ("maint print psymbols", "maint print symbols"): Make some of
4431 these greps more selective, so that expect doesn't try to wade
4432 through huge piles of output and time out.
4433
4434 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4435
4436 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4437 tests: one which doesn't expect shlib events to be reported, and
4438 another which does, but is XFAIL for all platforms other than
4439 HP/UX.
4440
4441 * gdb.base/break.exp: Teach the test suite that the `catch
4442 fork', `catch vfork', and `catch exec' commands produce error
4443 messages on platforms that don't provide these features.
4444
4445Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4446
4447 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4448 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4449 (shortening names from solib_threshold.exp etc), won't run on
4450 anything but HP-UX for the foreseeable future.
4451 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4452 reflect move.
4453
4454Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4455
4456 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4457 gdb.trace/Makefile.in (clean): Remove all test executables.
4458
4459Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4460
4461 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4462 successfully re-sets breakpoints in shared libraries.
4463 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4464
4465Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4466
beb998c6
AC
4467 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4468 and compiled w/o GCC.
c906108c
SS
4469
4470 * gdb.hp/watch-cmd.exp: ditto.
4471
4472 * gdb.hp/watch-hp.exp: ditto.
4473
4474 * gdb.hp/xdb1.exp: ditto.
4475
4476 * gdb.hp/xdb2.exp: ditto.
4477
4478 * gdb.hp/dbx.exp: ditto.
4479
4480Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4481
4482 * constvars.c: Remove C++-isms.
4483 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4484 with GCC.
4485
4486Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4487
4488 The following changes are part of the HP merge.
4489
4490 * gdb.base/break.exp: new tests to verify that catchpoints for
4491 fork, vfork, and exec don't trigger inappropriately.
4492
4493 * gdb.base/opaque.exp: compile one file at a time, then link.
4494
4495 * gdb.base/signals.exp: be more restrictive about which hppa
4496 systems receive a setup_xfail. new tests.
4497
4498 * gdb.base/solib_threshold.build: new file.
4499 * gdb.base/solib_threshold.exp: new file.
4500 * gdb.base/solib_threshold.link_opts: new file.
4501 * gdb.base/solib_threshold.mk: new file.
4502 * gdb.base/gen_solib_threshold.c: new file.
4503
4504 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4505 tests. New tests for enums inside classes.
4506
4507 * gdb.c++/compiler.cc: indicate support of template debugging.
4508
4509 * gdb.c++/demangle.exp: run hp style demangling tests.
4510
4511 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4512 tests.
4513
4514 * gdb.c++/misc.cc: changes to support new tests.
4515
4516 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4517 to support new tests.
4518
4519 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4520 gcc, then skip these tests.
4521
4522Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4523
4524 The following files are part of the HP merge; some had longer
4525 names at HP, but have been renamed to be no more than 14
4526 characters in length.
4527
4528 * gdb.hp/ambiguous.cc: new file.
4529 * gdb.hp/ambiguous.exp: new file.
4530 * gdb.hp/attach.exp: new file.
4531 * gdb.hp/attach2.exp: new file.
4532 * gdb.hp/classes-hp.exp: new file.
4533 * gdb.hp/ctti.exp: new file.
4534 * gdb.hp/ctti-add.cc: new file.
4535 * gdb.hp/ctti-add1.cc: new file.
4536 * gdb.hp/ctti-add2.cc: new file.
4537 * gdb.hp/ctti-add3.cc: new file.
4538 * gdb.hp/dbx.exp: new file.
4539 * gdb.hp/exception.cc: new file.
4540 * gdb.hp/exception.exp: new file.
4541 * gdb.hp/foll-exec.c: new file.
4542 * gdb.hp/foll-exec.exp: new file.
4543 * gdb.hp/foll-fork.c: new file.
4544 * gdb.hp/foll-fork.exp: new file.
4545 * gdb.hp/foll-vfork.c: new file.
4546 * gdb.hp/foll-vfork.exp: new file.
4547 * gdb.hp/inherit-hp.exp: new file.
4548 * gdb.hp/more-steps.exp: new file.
4549 * gdb.hp/namespace.cc: new file.
4550 * gdb.hp/namespace.exp: new file.
4551 * gdb.hp/optimize.exp: new file.
4552 * gdb.hp/pxdb.c: new file.
4553 * gdb.hp/pxdb.exp: new file.
4554 * gdb.hp/quicksort.exp: new file.
4555 * gdb.hp/reg-test.exp: new file.
4556 * gdb.hp/reg-test.s: new file.
4557 * gdb.hp/sized-enum.c: new file.
4558 * gdb.hp/sized-enum.exp: new file.
4559 * gdb.hp/start-stop.exp: new file.
4560 * gdb.hp/templ-hp.cc: new file.
4561 * gdb.hp/templ-hp.exp: new file.
4562 * gdb.hp/thr-lib.c: new file.
4563 * gdb.hp/thr-lib.exp: new file.
4564 * gdb.hp/thr-lib.h: new file.
4565 * gdb.hp/thr-liblib.c: new file.
4566 * gdb.hp/virtfun-hp.c: new file.
4567 * gdb.hp/virtfun-hp.exp: new file.
4568 * gdb.hp/watch-cmd.exp: new file.
4569 * gdb.hp/watch-hp.exp: new file.
4570 * gdb.hp/xdb1.exp: new file.
4571 * gdb.hp/xdb2.exp: new file.
4572 * gdb.hp/xdb3.exp: new file.
4573
4574Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4575
4576 The following files are part of the HP merge; some had longer
4577 names at HP, but have been renamed to be no more than 14
4578 characters in length.
4579
4580 * gdb.base/ss.h: new file.
4581 * gdb.base/call-ar-st.c: new file.
4582 * gdb.base/call-ar-st.exp: new file.
4583 * gdb.base/call-rt-st.c: new file.
4584 * gdb.base/call-rt-st-exp: new file.
4585 * gdb.base/call-strs.exp: new file.
4586 * gdb.base/ena-dis-br.exp: new file.
4587 * gdb.base/environ.exp: new file.
4588 * gdb.base/long_long.exp: new file.
4589 * gdb.base/sect-cmd.exp: new file.
4590 * gdb.base/shlib-cl2.exp: new file.
4591 * gdb.base/smoke.exp: new file.
4592 * gdb.base/so-impl-ld.c: new file.
4593 * gdb.base/so-impl-ld.exp: new file.
4594 * gdb.base/so-indr-cl.c: new file.
4595 * gdb.base/so-indr-cl.exp: new file.
4596 * gdb.base/varargs.exp: new file.
4597 * gdb.base/volatile.exp: new file.
4598 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4599 * gdb.base/display.exp: new file.
c906108c
SS
4600 * gdb.c++/derivation.exp: new file.
4601 * gdb.c++/local.exp: new file.
4602 * gdb.c++/member-ptr.exp: new file.
4603 * gdb.c++/overload.exp: new file.
4604 * gdb.c++/ovldbreak.exp: new file.
4605 * gdb.c++/ref-types.exp: new file.
4606 * gdb.c++/ref-types2.exp: new file.
4607 * gdb.c++/userdef.exp: new file.
beb998c6 4608
c906108c
SS
4609Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4610
4611 * gdb.base/default.exp: Reflect wording change in remote.c.
4612
dc96c6c7 4613Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4614
4615 * gdb.base/help.exp: Update to reflect current text.
4616
4617Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4618
4619 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4620 they're stack variables and contain garbage.
4621 * gdb.c++/anon-union.exp: new file.
4622
4623 The following changes were made by David Taylor
4624 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4625 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4626 in changes by HP.
4627
4628 * gdb.base/bitops.exp: new file.
4629 * gdb.base/default.exp: change expected messages for catch and
4630 info catch tests to reflect HP merge changes.
4631 * gdb.base/enable-disable-break.exp
4632 * gdb.base/ending-run.c: new file.
4633 * gdb.base/long_long.c: new file.
4634 * gdb.base/maint.exp: new file.
4635 * gdb.base/pointers2.exp: new file.
4636 * gdb.base/shlib-call2.exp: new file.
4637 * gdb.base/solib.exp: new file.
4638 * gdb.base/step-test.c: new file.
4639 * gdb.c++/anon-union.cc: new file.
4640 * gdb.c++/local.cc: new file.
4641 * gdb.c++/member-pointer.cc: new file.
4642 * gdb.c++/method.cc: new file.
4643 * gdb.c++/ref-types.cc: new file.
4644 * gdb.c++/ref-types2.cc: new file.
4645 * gdb.c++/userdef.cc: new file.
beb998c6 4646
c906108c
SS
4647 * gdb.base/scope.exp: compile one file at a time, then link.
4648 * gdb.base/langs.exp: ditto.
4649 * gdb.base/list.exp: ditto.
beb998c6 4650
c906108c
SS
4651Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
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.
beb998c6 4657
c906108c
SS
4658 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4659 skip tests. When compiling pass c++ flag to gdb_compile.
4660 * gdb.c++/
beb998c6 4661
c906108c
SS
4662 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4663 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4664 (skip_hp_tests): new function.
4665 (gdb_preprocess): new function.
4666
4667 * configure.in (hpdir): decide whether to configure gdb.hp.
4668 * configure: regenerated.
4669
4670 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4671 to delete on clean.
4672 (EXECUTABLES): update to reflect new additions.
4673 * gdb.base/commands.exp: update message expected.
4674 * gdb.base/default.exp: add copyright notice.
4675 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4676 * gdb.base/help.exp: update messages to reflect current text.
4677 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4678 targets for recurse tests.
4679 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4680 skip this file.
4681
4682 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4683 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4684 compilation.
4685 * gdb.c++/misc.exp: ditto.
4686 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4687 run the tests. tell gdb_compile that it's a c++ compilation.
4688
4689 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4690
c906108c
SS
4691 * gdb.base/all-bin.exp: new file.
4692 * gdb.base/arithmet.exp: new file.
4693 * gdb.base/assign.exp: new file.
4694 * gdb.base/completion.exp: new file.
4695 * gdb.base/cond-expr.exp: new file.
4696 * gdb.base/condbreak.exp: new file.
4697 * gdb.base/define.exp: new file.
4698 * gdb.base/dollar.exp: new file.
4699 * gdb.base/environment.exp: new file.
4700 * gdb.base/eval-skip.exp: new file.
4701 * gdb.base/jump.exp: new file.
4702 * gdb.base/logical.exp: new file.
4703 * gdb.base/pointers.exp: new file.
4704 * gdb.base/relational.exp: new file.
4705 * gdb.base/section_command.exp: new file.
4706 * gdb.base/whatis-expr.exp: new file.
4707
4708 * gdb.base/all-types.c: new file.
4709 * gdb.base/call-array-struct.c: new file.
4710 * gdb.base/call-return-struct.c: new file.
4711 * gdb.base/call-strings.c: new file.
4712 * gdb.base/callfuncs2.c: new file.
4713 * gdb.base/condbreak.c: new file.
4714 * gdb.base/constvars.c: new file.
4715 * gdb.base/display.c: new file.
4716 * gdb.base/int-type.c: new file.
4717 * gdb.base/jump.c: new file.
4718 * gdb.base/miscexprs.c: new file.
4719 * gdb.base/pointers.c: new file.
4720 * gdb.base/pointers2.c: new file.
4721 * gdb.base/shmain.c: new file.
4722 * gdb.base/shr1.c: new file.
4723 * gdb.base/shr2.c: new file.
4724 * gdb.base/solib.c: new file.
4725 * gdb.base/solib1.c: new file.
4726 * gdb.base/solib2.c: new file.
4727 * gdb.base/varargs.c: new file.
4728 * gdb.c++/derivation.cc: new file.
4729 * gdb.c++/overload.cc: new file.
4730 * gdb.c++/ovldbreak.cc: new file.
4731 * gdb.hp/attach.c: new file.
4732 * gdb.hp/attach2.c: new file.
4733 * gdb.hp/average.c: new file.
4734 * gdb.hp/compiler.c: new file.
4735 * gdb.hp/compiler.cc: new file.
4736 * gdb.hp/execd-program.c: new file.
4737 * gdb.hp/follow-exec.c: new file.
4738 * gdb.hp/follow-fork.c: new file.
4739 * gdb.hp/follow-vfork-and-exec.c: new file.
4740 * gdb.hp/misc-hp.cc: new file.
4741 * gdb.hp/more-steps.c: new file.
4742 * gdb.hp/optimize.c: new file.
4743 * gdb.hp/quicksort.c: new file.
4744 * gdb.hp/run-hp.c: new file.
4745 * gdb.hp/start-stop.c: new file.
4746 * gdb.hp/sum.c: new file.
4747 * gdb.hp/templates-hp.cc: new file.
4748 * gdb.hp/thread-local-in-lib.c: new file.
4749 * gdb.hp/thread-local-in-lib.h: new file.
4750 * gdb.hp/thread-local-in-lib.lib.c: new file.
4751 * gdb.hp/vforked-program.c: new file.
4752 * gdb.hp/virtfunc-hp.cc: new file.
4753 * gdb.hp/watchpoint-hp.c: new file.
4754 * gdb.hp/xdb.c: new file.
4755 * gdb.hp/xdb0.c: new file.
4756 * gdb.hp/xdb0.h: new file.
4757 * gdb.hp/xdb1.c: new file.
4758
4759Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4760
4761 The following change was made by Edith Epstein
4762 <eepstein@cygnus.com> as part of a project to merge in changes
4763 originally made by HP; HP did not create ChangeLog entries.
4764
4765 * gdb.c++/demangle.exp: changed the expected output for some
4766 ARM-style mangling -- removed second reference to datatype.
4767 For example, maint demangle __dt__11T1__pt__2_cFv
4768 T1<char>::~T1<char>(void)
4769 becomes,
4770 maint demangle __dt__11T1__pt__2_cFv
4771 T1<char>::~T1(void)
4772
4773 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4774
c906108c
SS
4775Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4776
4777 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4778 * gdb.trace/backtrace.exp: Likewise.
4779 * gdb.trace/circ.exp: Likewise.
4780 * gdb.trace/collection.exp: Likewise.
4781 * gdb.trace/deltrace.exp: Likewise.
4782 * gdb.trace/infotrace.exp: Likewise.
4783 * gdb.trace/limits.exp: Likewise.
4784 * gdb.trace/packetlen.exp: Likewise.
4785 * gdb.trace/passc-dyn.exp: Likewise.
4786 * gdb.trace/passcount.exp: Likewise.
4787 * gdb.trace/report.exp: Likewise.
4788 * gdb.trace/save-trace.exp: Likewise.
4789 * gdb.trace/tfind.exp: Likewise.
4790 * gdb.trace/tracecmd.exp: Likewise.
4791 * gdb.trace/while-dyn.exp: Likewise.
4792 * gdb.trace/while-stepping.exp: Likewise.
4793
47941998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4795
4796 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4797
4798Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4799
4800 From Brendan Kehoe:
4801 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4802 int return types.
4803
4804Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4805
4806 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4807 remote dos host testing right.
4808
4809Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4810
4811 * gdb.base/corefile.exp: remove some xfails.
4812
4813Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4814
4815 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4816 have different timestamps.
4817
4818Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4819
4820 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4821 gdb.base/default.exp: Replace "exec" with "executable".
4822
4823Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4824
4825 * gdb.base/default.exp: Change else if to elseif from previous
4826 delta.
4827
4828Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4829
4830 * gdb.base/default.exp: Add brace missing from previous delta.
4831
4832Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4833
4834 * gdb.base/default.exp: Support test for info float for all
4835 varieties of arm toolchain.
4836
dc96c6c7 4837Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4838
4839 * gdb.trace/*.exp: remove "remote_download" command.
4840
dc96c6c7 4841Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4842
4843 * gdb.trace/*.exp: remove -gdwarf from compile.
4844
4845Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4846
4847 * gdb.trace/configure.in(AC_INIT): typo
4848 * gdb.trace/configure: regenerated
4849
dc96c6c7 4850Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4851
4852 * config/m68k-emc.exp: New file.
4853 * lib/<emc-support.exp trace-support.exp}: New files.
4854 * configure.in: add new test directory gdb.trace.
4855 * gdb.trace/{configure configure.in Makefile.in}: New files.
4856 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4857 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4858 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4859 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4860 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4861 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4862 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4863
dc96c6c7 4864Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4865
4866 * gdb.c++/classes.exp: Change all regular expressions to match
4867 arbitrary combinations of newline/carriage-return, so that they
4868 will work equally well on Unix and Windows.
4869 * gdb.c++/inherit.exp: ditto.
4870 * gdb.c++/virtfunc.exp: ditto.
4871
48721998-08-11 Dawn Perchik <dawn@cygnus.com>
4873
4874 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4875
c2d11a7d
JM
4876Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4877
4878 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4879 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4880 to use a0-a3/d0-d3 as needed.
4881
4882Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4883
4884 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4885 * gdb.disasm/am33.exp: Corresponding changes.
4886
c906108c
SS
48871998-07-11 Felix Lee <flee@cygnus.com>
4888
4889 * gdb.base/callfuncs.exp: add cmp10 test.
4890 * gdb.base/callfuncs.c (cmp10): new function.
4891
4892Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4893
beb998c6 4894 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4895 into two parts to get around a synchronization problem in expect.
4896
3fc11d3e
JM
4897Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4898
4899 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4900
4901 * configure.in: Add options for gdbtk testsuite.
4902
4903 * configure: Regenerate.
4904
4905 * gdb.gdbtk: New directory to hold gdbtk tests.
4906
c906108c
SS
4907Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4908
4909 * gdb.fortran/types.exp: Escape brackets in expect patterns
4910 for test_float_literal_types_accepted tests.
4911 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4912 before run test.
4913
c2d11a7d
JM
4914Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4915
4916 * am33.exp: Just compile, do not link the testcase.
4917 * am33.s: Add ".am33" pseudoop to force am33 mode.
4918
c906108c
SS
49191998-06-25 Felix Lee <flee@cygnus.com>
4920
4921 * gdb.base/setshow.exp: make sure $pc is sane.
4922
4923 * gdb.stabs/weird.exp: split expect patterns properly.
4924
c2d11a7d
JM
4925Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4926
4927 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4928 * gdb.disasm/am33.exp: Run it.
4929
dc96c6c7 4930Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4931
4932 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4933 match processing (and eliminate spurious timeouts when running).
4934
dc96c6c7 4935Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4936
4937 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4938 exception test, but conditionalize it on target [mach | gnu].
4939
dc96c6c7 4940Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4941
4942 * gdb.base/overlays.exp: fixup compile line for linker script.
4943
4944Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4945
4946 * gdb.fortran/types.exp: don't guess at float size.
4947
4948Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4949
4950 * gdb.base/exprs.exp: delete test that depends on int size.
4951
4952Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4953
4954 * config/sim.exp: Removed checks for target triplets.
4955 (gdb_target_sim): Use gdb,target_sim_options.
4956
4957Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4958
4959 * gdb.base/reread.exp: New file.
4960 * gdb.base/reread1.c: New file.
4961 * gdb.base/reread2.c: New file.
4962
4963Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4964
4965 * config/sim.exp: Use 'target sim -sparclite' when running
4966 SPARClite programs.
4967
4968Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4969
4970 * gdb.base/structs2.exp: New file.
4971 * gdb.base/structs2.c: New file.
4972
4973Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4974
4975 * gdb.asm/common.inc: New file.
4976 * gdb.asm/d10v.inc: New file.
4977 * asm-source.exp: Pass -I's to gas to find .inc files.
4978 Update line numbers in expected output.
4979 * asmsrc1.s: Rewrite.
4980 * asmsrc2.s: Rewrite.
4981 * configure.in: Create arch.inc symlink.
4982 * configure: Regenerate.
4983 * Makefile.in (distclean): Delete arch.inc.
4984
4985Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4986
4987 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4988 (t_enum_value2): ditto
4989 (t_enum_value3): ditto
4990 (main): ditto
4991Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4992
4993 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4994 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4995 change.
4996 Use gdb_test instead of send_gdb/gdb_expect sequences.
4997
4998Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4999
5000 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5001 not void.
5002
5003Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5004
5005 * gdb.base/branches.c: Code with lots of loops and
5006 subroutines. Used to test gdbs ability to single step through PC
5007 changes, especially to test mips-tdep.c:mips_next_pc
5008
5009Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5010
5011 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5012 more rigorous EGCS C++ error checking.
5013
5014Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5015
5016 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5017 tests.
c906108c 5018 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5019 function when asleep.
c906108c 5020 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5021 for i*86 Linux and SVR4 signal handling problems.
5022 Remove linux xfail for `next to handler in signals_tests_1', fixed
5023 by recent infrun.c change.
c906108c 5024 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5025 stack backtraces.
c906108c
SS
5026 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5027 target.[ch] change.
5028
5029Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5030
5031 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5032 for a newline from gdb before continuing.
5033 (default_gdb_exit): Just look for y or n.
5034 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5035 it does, fail the rests of the tests in the file.
5036
5037Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5038
5039 * config/cygmon.exp: New file.
5040
5041Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5042
5043 * gdb.base/list.exp: Fix problem with "list default lines around
5044 main" test on remote targets.
5045
5046 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5047 run test on remote targets.
5048
5049Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5050
5051 * gdb.asm: New directory.
5052 * configure.in: Configure it.
5053 * configure: Regenerate.
5054 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5055 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5056
5057Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5058
5059 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5060
dc96c6c7 5061Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5062
c906108c
SS
5063 * gdb.base/overlays (several files): Merge the two overlay
5064 managers into one. Change variables (foox, barx, bazx, grbxx)
5065 back into ints but force them to load in their proper sections.
5066
5067Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5068
5069 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5070 on-chip insn memory and IMAP1 to upper 128k.
5071 (D10VCopy): Handle memory regions crossing 16k boundaries.
5072 (D10VCopy): Transfer data in 32 bit chunks.
5073
5074Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5075
5076 * gdb.base/overlays.c (main): Exit normally when result is
5077 correct.
5078
5079 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5080 map. Include space for printf in .text segment.
5081
5082 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5083 updated d10v memory VMA/LMA map.
5084 (D10VCopy): Call D10VTranslate.
beb998c6 5085
c906108c
SS
5086Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5087
5088 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5089
5090 * gdb.base/bar.c (barx, bar): Change variable to small array so
5091 that it won't be put into the .sdata - small data -
5092 section. Update reference.
5093 * gdb.base/baz.c (bazx, baz): Ditto.
5094 * gdb.base/foo.c (foox, foo): Ditto.
5095 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5096
5097 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5098 to be arrays.
beb998c6 5099
dc96c6c7 5100Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5101
c906108c
SS
5102 * gdb.base/overlays.exp: fix up and get working again.
5103 Add tests for backtraces from an overlay function.
beb998c6 5104
c906108c
SS
5105Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5106
5107 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5108 "calling function with watchpoint enabled".
5109
5110Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5111
5112 * gdb.base/break.exp (test_next_with_recursion): Remove
5113 gdb_suppress_tests for d10v-*-*.
5114 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5115 pending review of whether it is useful or not.
5116
5117Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5118
5119 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5120
5121Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5122
5123 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5124 * config/dve.exp: New file to support Densan boards.
5125
5126Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5127
5128 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5129 reads and BSD.
5130
5131Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5132
5133 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5134 response.
5135
5136 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5137
5138Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5139
5140 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5141 test.
5142
5143 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5144 target_sizeof_long and target_bigendian_p.
5145 (structs_by_value, structs_by_reference): Check values according
5146 to targets word size and endianess.
beb998c6 5147
c906108c
SS
5148Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5149
5150 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5151 output.
5152
5153Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5154
5155 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5156 Update test of set args help to match source change.
5157
5158Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5159
5160 * gdb.base/default.exp: Expect help system output to be in
5161 alphabetical order.
5162 * gdb.base/help.exp: Ditto.
5163
5164Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5165
5166 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5167 "i*86-pc-linux-gnu*".
5168 * gdb.base/interrupt.exp: Ditto.
5169 * gdb.base/corefile.exp: Ditto.
5170
5171 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5172 define vxworks when building the testcase.
5173
5174 * gdb.base/ptype.exp: Fix testnames to be unique.
5175 * gdb.base/radix.exp: Ditto.
5176 * gdb.base/term.exp: Ditto.
5177 * gdb.base/whatis.exp: Ditto.
5178 * gdb.c++/classes.exp: Ditto.
5179
5180Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5181
5182 * gdb.base/callfuncs.exp: Fix indentation.
5183
5184 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5185 suppress_flag has been set.
5186 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5187 target feature.
5188
5189Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5190
5191 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5192 the testcase.
5193
5194 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5195 set_debug_traps() and breakpoint().
5196 * gdb.c++/misc.cc (main): Ditto.
5197 * gdb.c++/templates.cc (main): Ditto.
5198 * gdb.c++/virtfunc.cc (main): Ditto.
5199
5200Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5201
5202 * lib/gdb.exp(gdb_step_for_stub): New function.
5203 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5204 exists, reload the executable and do a "continue" instead of
5205 doing a jump.
5206 (runto_main): Use gdb_step_for_stub.
beb998c6 5207
c906108c
SS
5208 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5209 tests to have unique names.
5210 * gdb.base/callfuncs.exp: Ditto.
5211 * gdb.base/commands.exp: Ditto.
5212 * gdb.base/default.exp: Ditto.
5213 * gdb.base/help.exp: Ditto.
5214 * gdb.base/list.exp: Ditto.
5215 * gdb.base/opaque.exp: Ditto.
5216 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5217 similar tests.
beb998c6 5218
c906108c
SS
5219 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5220 * gdb.c++/cplusfuncs.cc: Ditto.
5221 * gdb.c++/virtfunc.cc: Ditto.
5222
5223 * config/monitor.exp: Keep track of the last file we saw, rather
5224 than trying to get the info from gdb.
5225
5226 * gdb.fortran/types.exp: Move comment to previous line.
5227
5228Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5229
5230 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5231 target mode.
5232
5233Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5234
5235 From Bob Manson:
5236 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5237 string from GDB when it connects.
5238
5239 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5240
5241Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5242
5243 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5244 if we can't get a debug format from GDB (we may be testing an
5245 older GDB). Use a 10 second timeout when checking for the format.
5246
5247 * gdb.stabs/weird.exp: Fix quoting.
5248
5249 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5250
5251Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5252
5253 * config/arm-ice.exp: New file.
5254
5255Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5256
5257 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5258 until it has been modified to work with the new testsuite.
5259
99707966 5260 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5261 testcase won't compile, cause all of the testcases in the file to
5262 fail instead.
5263
5264 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5265 (gdb_clear_suppressed): New procedure.
5266 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5267 it contains a positive value.
5268
5269Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5270
5271 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5272
5273 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5274
5275Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5276
5277 * lib/gdb.exp (setup_xfail_format): New function.
5278 (get_debug_format): New function to get debug format.
5279 (debug_format): New global variable to hold last value set
5280 by get_debug_format.
5281 * gdb.base/list.exp: Call get_debug_format and expect some
5282 tests to fail for DWARF 1 and COFF formats.
5283 * gdb.c++/ptype.exp: Ditto.
5284 * gdb.c++/classes.exp: Ditto.
5285 * gdb.c++/cplusfuncs.exp: Ditto.
5286 * gdb.c++/inherit.exp: Ditto.
5287 * gdb.c++/templates.exp: Ditto.
5288 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5289
c906108c
SS
5290Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5291
5292 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5293 host doesn't have a currently-open connection.
5294
5295 * config/sparclet.exp: Cleanups and fixes to make it generic for
5296 any gdb stub target. Handle cases where gdb doesn't respond when
5297 interrupted in a sane fashion.
5298
5299 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5300 same thing in a totally different way.
5301
5302 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5303 setting "timeout".
5304 (gdb_start): We set the global gdb_prompt variable in
5305 default_gdb_init now.
5306
5307Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5308
5309 * gdb.base/printcmds.exp: Fix "check for floating addition"
5310 regexp to accept results within approx +/- .01 of exact value.
5311 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5312
5313Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5314
5315 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5316 properly.
5317 (gdb_expect): Add optional timeout parameter, and add timeout
5318 value to various calls.
5319 (gdb_suppress_tests): Only give one warning message per group.
5320
5321Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5322
5323 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5324 global variables. Handle getting a value for $timeout more
5325 gracefully.
5326
5327Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5328
5329 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5330 initialize.
5331 (default_gdb_init): New procedure; allow gdb_init to be overridden
5332 by a target configuration file.
5333 (gdb_expect): Pass the timeout to remote_expect.
5334
5335 * config/monitor.exp(gdb_load): Fix typo in regexp.
5336
5337Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5338
5339 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5340
5341Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5342
5343 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5344 here. Call gdb_target_exec before rebooting the target, to make
5345 sure the connection to the target is closed.
5346 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5347 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5348 Also detect "Timeout reading from remote" error.
5349
5350 * config/gdbserver.exp: Pass the executable being loaded to
5351 gdb_target_monitor. Don't call gdb_file_cmd here; let
5352 gdb_target_monitor do it.
5353
5354 * gdb.disasm/hppa.exp: Don't use exec_output.
5355
5356Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5357
5358 * gdb.base/list.exp: If we're debugging a non-native target,
5359 try to set the pc register to point to the start of the
5360 program before doing the first list command.
5361
5362 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5363 test_calls after restarting.
5364
5365 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5366 reloading.
5367
5368 * gdb.base/watchpoint.exp: Fix typo.
5369
5370 * gdb.base/setshow.exp: Check for use_gdb_stub.
5371
5372 * gdb.base/break.exp: Fix continue until exit test for the gdb
5373 stub case.
5374 * gdb.base/langs.exp: Ditto.
5375
5376 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5377 gdb_load_offset. If we weren't given a file to load, figure out
5378 what the current file is and use it.
5379
5380 * config/i386-bozo.exp: New file.
5381
5382Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5383
5384 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5385 feature.
5386
5387 * config/proelf.exp: New entry.
5388
5389Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5390
5391 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5392 of regexps.
5393
5394 * gdb.base/watchpoint.exp: Don't run the test_stepping
5395 tests if gdb can't call functions on the target.
5396
5397 * gdb.base/setshow.exp: Don't run the set prompt tests if
5398 the board has gdb_prompt set.
5399
5400Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5401
5402 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5403 * gdb.base/commands.exp: Likewise.
5404 * gdb.base/setshow.exp: Likewise.
5405
5406Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5407
5408 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5409 feature.
5410
5411 * config/i960.exp: New file.
5412
5413Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5414
5415 * gdb.base/funcargs.exp: Check for gdb,short_int target
5416 feature instead of looking for explicit target triplets.
5417
dc96c6c7 5418Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5419
beb998c6 5420 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5421 "p 123DEADBEEF", to check parse_number.
5422 * top.c: change "to enable to enable" to "to enable" in a couple
5423 of help strings.
5424
5425Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5426
5427 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5428 on the mn10300.
beb998c6 5429
c906108c
SS
5430Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5431
5432 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5433 where the test executable is run with explicit args.
5434 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5435
5436Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5437
5438 * gdb.base/run.c: Use FAKEARGV to build test executable that
5439 does not require a command line arg, since most simulators
5440 don't currently support passing such an arg into the simulated
5441 program.
5442 * gdb.base/commands.exp: Change tests to insert the proper
5443 value as the arg to the first recursive factorial call. Change
5444 compilation line to define FAKEARGV at compile time.
5445
5446Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5447
5448 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5449 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5450 function with watchpoint enabled" test.
5451
5452Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5453
5454 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5455 Don't call gdb_test when the command doesn't return to a gdb prompt.
5456
5457 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5458 "Tests restarted" messages.
5459
5460Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5461
5462 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5463
dc96c6c7 5464Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5465
5466 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5467 for INFO SYMBOL; add help tests for OVERLAY commands.
5468 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5469 add tests for OVERLAY commands
5470 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5471 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5472 * gdb.base/sigall.c: add usestubs code frag
5473 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5474
c906108c
SS
5475Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5476
5477 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5478 failures.
5479 (gdb_stop_suppressing_tests): Note that tests have restarted.
5480
5481Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5482
5483 * config/h8300.exp: New file.
5484
5485Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5486
5487 * gdb.base/setshow.exp: Check for the existence of a
5488 feature, not its value.
5489
5490Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5491
5492 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5493
5494 * gdb.base/scope.exp: It's now init0(), not init().
5495
5496 * gdb.base/scope0.c: For now, change init() to be init0().
5497
5498 * config/monitor.exp: Use gdb_serial in preference to serial
5499 or netport.
5500
5501 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5502 and it's not already set.
5503
5504Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5505
5506 * gdb.base/setshow.exp: Only test the run command if the target
5507 isn't using a stub and if it supports argument passing.
5508
5509Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5510
5511 * config/udi.exp(gdb_start): Make sure UDICONF is set
5512 properly before starting gdb.
5513
5514Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5515
5516 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5517 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5518 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5519
5520Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5521
5522 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5523 specialized code to reboot the board, use remote_reboot instead.
5524
5525 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5526
5527 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5528
5529 * config/monitor.exp: Make sure we disconnect from the target.
5530 Also, try a reboot/reload cycle instead of failing if the
5531 load fails.
5532
5533Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5534
5535 * gdb.base/default.exp: Don't set match_max.
5536 * gdb.base/help.exp: Ditto.
5537 * gdb.base/list.exp: Ditto.
5538 * gdb.base/signals.exp: Ditto.
5539
5540 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5541 set, use remote_ld to download the testcase instead of
5542 the GDB loader.
5543
5544Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5545
5546 * config/vr5000.exp: New file.
5547
5548 * config/monitor.exp(gdb_target_monitor): Add pattern for
5549 "Ending remote" to detect errors in connecting.
5550
5551 * gdb.base/setshow.exp: Add .* within auto language test.
5552
5553 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5554 target feature.
5555
5556 * config/monitor.exp(gdb_load): Check for a failure when loading,
5557 and reboot the board if necessary.
5558
5559 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5560 a set of tests. Remove print.* from the patterns being checked.
5561
5562Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5563
5564 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5565 refer to gdb_spawn_id.
5566
5567 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5568 longer used.
5569 * config/sparclet.exp: Ditto.
5570 * config/sparclet-old.exp: Ditto.
5571 * config/slite.exp: Ditto.
5572 * config/sim.exp: Ditto.
5573 * gdb.base/funcargs.exp: Ditto.
5574
5575 * lib/gdb.exp:Remove references to gdb_spawn_id.
5576 (gdb_expect): Move to remote.exp.
5577
5578Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5579
5580 * config/monitor.exp: Detect the "Couldn't establish connection"
5581 message from GDB.
5582
5583Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5584
5585 * gdb.base/bitfields.exp: Use runto instead of explicit
5586 gdb_run_cmd/gdb_expect sequences.
5587
5588 * gdb.base/break.exp(text_next_with_recursion): Add match for
5589 gdb_expect call.
5590
5591 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5592 We also need to handle the "A program is being debugged already"
5593 prompt from gdb. Use gdb_test to set the baud rate.
5594
5595 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5596 to 20000. Really. I mean it.
5597
5598Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5599
5600 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5601 fails. If suppress_flag is set, skip perror message about not
5602 being able to send to GDB.
5603 (send_gdb): If suppress_flag is set, don't try to send commands to
5604 GDB.
5605 (gdb_expect): If suppress_flag is set, always fail immediately.
5606 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5607 (gdb_init): Call gdb_stop_suppressing_tests.
5608 (default_gdb_exit): Ditto.
5609 (default_gdb_start): Ditto.
5610
5611 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5612 gdb_stop_suppressing_tests as appropriate.
5613 * gdb.base/break.exp: Ditto.
5614 * gdb.base/callfuncs.exp: Ditto.
5615 * gdb.base/commands.exp: Ditto.
5616 * gdb.base/exprs.exp: Ditto.
5617 * gdb.base/funcargs.exp: Ditto.
5618 * gdb.base/list.exp: Ditto.
5619 * gdb.base/recurse.exp: Ditto.
5620 * gdb.base/scope.exp: Ditto.
5621 * gdb.base/structs.exp: Ditto.
5622 * gdb.c++/inherit.exp: Ditto.
5623
5624Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5625
5626 * config/vr4300.exp: New file.
5627
99707966
MC
5628 * gdb.*/*.exp: Call gdb_expect instead of expect.
5629
5630 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5631
5632Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5633
5634 * lib/gdb.exp(gdb_init): New function.
5635
5636 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5637 for each individual variable set.
5638
5639 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5640 name.
5641
5642 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5643
5644 * gdb.base/scope.exp: Use gdb_test.
5645
5646 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5647 aborting; the testsuite driver will do that for us (see
5648 gdb_finish). Also, use gdb_test in a few more places.
5649
5650Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5651
5652 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5653
5654Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5655
5656 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5657 and "add_tests" are not at the same address.
5658
5659Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5660
5661 * gdb.base/ptype.exp: Use gdb_test.
5662
5663Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5664
5665 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5666 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5667 left in. No longer expect them to fail.
5668
5669 * gdb.stabs/*.mt; Deleted, no longer used.
5670 * gdb.stabs/configure.in: Remove references to target makefile
5671 frags.
5672 * gdb.stabs/configure: Rebuilt.
5673
5674 * gdb.disasm/*.mt: Deleted, no longer used.
5675 * gdb.disasm/configure.in: Remove references to target makefile
5676 frags. Use "sh3.s" as the unique filename for this directory.
5677 * gdb.disasm/configure: Rebuilt.
5678
5679 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5680 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5681 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5682
5683Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5684
5685 * config/udi.exp: Use mondfe,name instead of remote_host.
5686
5687Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5688
5689 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5690 a function with a watchpoint enabled on the mn10200.
5691
5692 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5693 before trying to create it!
5694
5695Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5696
5697 * config/vx.exp: Use hostname instead of netport.
5698
5699 * config/vxworks.exp: New file.
5700
5701 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5702
5703 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5704 gdb before assuming everything worked. Send a ^C if a timeout
5705 occurs.
5706
5707 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5708 $gdb_spawn_id directly.
5709 (gdb_run_cmd): Try _start as well as start. Use the target feature
5710 gdb,start_symbol as the symbol to start from when jumping.
5711
5712Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5713
5714 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5715 redundant) test.
5716
5717 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5718 it doesn't lose for 16bit integer systems.
5719
5720Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5721
5722 * gdb.fortran/types.exp: If the target doesn't support "double"
5723 data types, then expect "real" types to only be 4 bytes.
5724
5725 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5726 call tests if the target doesn't support inferior function calls.
5727
5728 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5729 in printf tests.
5730
5731Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5732
5733 * gdb.base/help.exp: Disable "help set", "help show", and
5734 "help support". Simplify regexp for "help stack".
5735
5736 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5737 to 60 seconds. Temporarily set match_max to 15000 around the
5738 "info copying" test.
5739
5740 * gdb.base/nodebug.exp: Don't try to do an inferior function
5741 call if the target doesn't support them.
5742 * gdb.base/printcmds.exp: Likewise.
5743 * gdb.base/setvar.exp: Likewise.
5744 * gdb.base/structs.exp: Likewise.
5745 * gdb.c++/templates.exp: Likewise.
5746 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5747
5748 * gdb.base/recurse.exp: Enable for the mn10200.
5749
5750 * configure.in: Do configure gdb.stabs directory for *-*-elf
5751 targets.
5752 * configure: Rebuilt.
5753
5754 * gdb.base/break.exp: Check for gdb,noresults before testing
5755 exit status and/or results from the target.
5756 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5757 * lib/gdb.exp: Remove old (now bogus) initialization of
5758 noinferior, noargs, noresults and nosignals.
5759
5760Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5761
5762 * config/sh.exp: New file.
5763
5764 * config/slite.exp: Try to connect multiple times to the board
5765 before rebooting. Only send a "monitor run" if need_monitor_run
5766 is set.
5767
5768 * gdb.base/break.exp: Don't do the "stub continue" test if
5769 the target has gdb_stub set.
5770
5771 * gdb.base/callfuncs.exp: Increase the timeout.
5772
5773 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5774 if the target has gdb,noinferiorio set.
5775
5776 * gdb.base/list.exp: Increase match_max to 10000 characters.
5777
5778 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5779
5780 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5781 target.
5782
5783 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5784
5785Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5786
5787 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5788 trying to delete the copy of gdb. Catch the file delete so we
5789 don't die if the delete fails; also, the file should be copied to
5790 the host, not to the build.
5791
5792Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5793
5794 * lib/gdb.exp(gdb_test): Surround the result pattern with
5795 parenthesis in case it contains multiple regexps separated
5796 with |.
5797
5798 * gdb.base/watchpoint.exp: Use gdb_test.
5799 * gdb.base/default.exp: Ditto.
5800
5801Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5802
99707966 5803 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5804
c906108c
SS
5805 * gdb.base/scope.exp: Use gdb_test.
5806 * gdb.c++/classes.exp: Ditto.
5807 * gdb.c++/inherit.exp: Ditto.
5808
5809Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5810
5811 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5812 remote_exec instead.
5813 * gdb.base/corefile.exp: Don't be ridiculous.
5814 * gdb.base/*.c: Add missing stub invocations.
5815
5816Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5817
5818 * config/slite.exp: Miscellaneous fixes.
5819
5820 * lib/gdb.exp: Fix runto.
5821
5822 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5823 the target.
5824
5825 * gdb.base/watchpoint.exp: Fix regexp.
5826
5827 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5828 close and wait commands, as the descriptor may now be
5829 invalid. Always call "remote_close host".
5830
5831Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5832
5833 Major rewrite for testsuite revision.
beb998c6 5834
c906108c
SS
5835 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5836 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5837 instead of relying on spawn_id to always contain a valid
5838 spawn id.
5839 (get_compiler_info): New procedure to build the ${binfile}.ci
5840 file, instead of replicating this in N different places.
5841 (gdb_compile): New procedure.
beb998c6 5842
c906108c
SS
5843 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5844 appropriate arguments) instead of compile. Use gdb_test in a lot
5845 more places. Use send_gdb instead of send. Always run gdb_start
5846 at the start of a testcase, as this is no longer done magically.
5847
5848 config/*-gdb.exp: Rename without the -gdb suffix.
5849
5850 config/mips.exp: Use remote_close instead of exit_remote_shell.
5851 config/monitor.exp: Use target_info instead of looking at
5852 baud, timeout, etc.
5853 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5854
5855Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5856
5857 * gdb.c++/templates.exp (test_ptype_of_templates),
5858 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5859 Update expect patterns for destructors and assignment operators
5860 to match corresponding c-typeprint.c changes.
5861 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5862 to destructor breakpoint test, GDB should be able to set the
5863 destructor breakpoint without specifying arguments.
5864
5865Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5866
5867 * gdb.threads/pthreads.exp: Change result for failure to compile due
5868 to lack of pthreads runtime support from an error to simply an
5869 unsupported test, per dejagnu standards.
5870
5871Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5872
5873 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5874 where GDB exits to reduce pattern match time.
5875 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5876
5877 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5878
dc96c6c7 5879Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5880
5881 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5882 * gdb.base/default.exp: ditto.
5883 * gdb.base/nodebug.exp: ditto.
5884 * gdb.base/printcmds.exp: ditto.
5885 * gdb.base/ptype.exp: ditto.
5886 * gdb.base/setvar.exp: ditto.
5887 * gdb.base/structs.exp: ditto.
5888 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5889
5890Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5891
5892 * configure, */configure: Rebuild with autoconf 2.12.
5893
5894Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5895
5896 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5897 use new i*86-pc-linux*-gnu quads.
5898 * gdb.base/corefile.exp: Ditto.
5899 * gdb.base/signals.exp: Ditto.
5900 * gdb.base/sigall.exp: Ditto.
5901 * gdb.base/interrupt.exp: Ditto.
5902
5903 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5904 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5905 RedHat 4.0.
beb998c6 5906
c906108c
SS
5907 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5908 linux. This allows the test case to at least compile on latest
5909 linux, but still not run due to missing the threads runtime library.
5910
5911Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5912
5913 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5914 directory to search gdb directory. Accept and step over conditional
5915 stack alignment code. Consume $prompt in failure cases.
5916 Reset timeout to $oldtimeout instead of some arbitrary value.
5917 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5918 timeout problems with infinite stack backtraces.
5919 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5920 Accept function parameters for linkfunc member.
5921
5922Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5923
5924 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5925 (CXXFLAGS): Remove, unreferenced.
5926 (B_OPTIONS): Add for -B options and add code to initialize with
5927 previous -B options and also add -B option to pick up cross compiled
5928 runtime.
5929 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5930 doing cross compiles.
5931 (target_alias): Declare global.
5932 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5933 to verify that gcc exists in build tree, and if so set CC to that
5934 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5935
c906108c
SS
5936Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5937
5938 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5939 ptype test for anonymous union. Fixup testcase to match
5940 current gcc debug output.
5941
5942Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5943
5944 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5945 force argument to an unsigned long type.
5946
5947Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5948
5949 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5950 tests and anonymous union print/ptype tests.
5951 * gdb.base/list.exp (test_forward-search): Increase timeout by
5952 5 minutes for the "search extremely long line" case.
5953 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5954 completely optional and that the pass/fail messages use the command as
5955 the message if that third arg is a null string.
5956 (gdb_test_exact): Arrange that a null string pattern means match a
5957 null string output rather than any output, which might include random
5958 errors.
5959 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5960 backtrace test.
5961 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5962 always failing and failure is now exposed by gdb.exp changes.
5963
5964Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5965
5966 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5967 weren't being noted.
5968
5969Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5970
5971 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5972 * gdb.stabs/weird.exp: Remove v_comb xfails.
5973
dc96c6c7 5974Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5975
5976 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5977 list.exp scope.exp watchpoint.exp]
5978 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5979
dc96c6c7 5980Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5981
5982 * config/monitor.exp: Increase download timeout to 1000 seconds.
5983
dc96c6c7 5984Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5985
5986 * config/m32r.exp: Increase timeout to 120 seconds.
5987
5988Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5989
5990 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5991 and accept older ordering as obsolescent gcc or gdb.
5992 * gdb.c++/templates.exp: Ditto.
5993 * gdb.c++/virtfunc.exp: Ditto.
5994
5995Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5996
5997 * gdb.base/coremaker.c: Add code to mmap some data so we
5998 can check that it ends up in the core file.
5999 * gdb.base/corefile.exp: Add test to read mmapped data
6000 from core file.
6001
dc96c6c7 6002Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6003
6004 * config/m32r.exp: New file.
6005
6006Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6007
6008 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6009 that cflags can contains -gstabs, and work correctly for other tests.
6010
dc96c6c7 6011Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6012
6013 * gdb.base/setshow.exp: New file, tests show and set.
6014 * gdb.base/setshow.c: New file, tests show and set.
6015 * gdb.base/help.exp: Add test for help set|show annotate.
6016 * gdb.base/default.exp: Add test for set|show annotate.
6017
6018Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6019
6020 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6021 errors unique.
6022 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6023 explicitly.
6024
6025Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6026
6027 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6028 and width commands. This is done elsewhere.
6029 * (gdb_start): Don't call gdb_start_sim here. That's already
6030 done in gdb_load. This fixes lots of failures in default.exp.
6031
6032Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6033
6034 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6035 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6036 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6037 in the same we we treat other failures (since it may be an expected
6038 condition), rather than as an error.
6039 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6040 old test format.
6041
6042Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6043
6044 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6045 (distclean maintainer-clean realclean): No need to remove files
6046 twice. Nuke the duplicates.
6047 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6048 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6049 Remove config.h along with other config files.
6050
6051Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6052
6053 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6054 "p func1 ()" and note that rests of tests are skipped.
6055 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6056 setup_xfails for "print func2::coremaker_local".
6057 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6058 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6059 affected by the previous run test.
6060 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6061 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6062 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6063 "pass int powerset tuple" and "pass modeless int powerset tuple".
6064 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6065 "real write 4" and "real write 8".
6066 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6067 setup_xfails for "print vs1 after tuple assign 2",
6068 "print \$i after tuple assign 2", and
6069 "print vs2 after tuple assign 2".
6070 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6071 meaningful error message and return -1 so the caller can
6072 suppress further tests and avoid a cascade of errors.
beb998c6 6073
c906108c
SS
6074Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6075
6076 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6077 format for printing version.
6078 * gdb.base/default.exp: Ditto.
6079 * gdb.base/interrupt.exp: Fix problem with cascade of
6080 errors if child process dies while calling a function.
beb998c6 6081
c906108c
SS
6082Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6083
6084 * Makefile.in (VPATH): Add
6085 * Makefile.in (Makefile, config.status): Fix rules so things get
6086 remade when necessary.
6087
6088Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6089
6090 * Makefile.in (just-check): Add path to sibling expect dir
6091 to environment variable specified by RPATH_ENVVAR.
6092
6093Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6094
6095 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6096 (just-check): Add shared library paths for libstdc++, tk,
6097 tcl, bfd, and opcodes to the environment variable specified
6098 in RPATH_ENVVAR.
6099 * configure.in: Add support to recognize --enable-shared flag
6100 and generate correct value for RPATH_ENVVAR.
6101 * configure: Regenerated with autoconf.
6102
6103Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6104
6105 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6106 include all osf versions.
6107 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6108 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6109 when target is linux. When failing to build pthreads test
6110 executable, give more meaningful message.
6111 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6112 arg for pthread_create.
beb998c6 6113
c906108c
SS
6114Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6115
6116 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6117 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6118 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6119 and -lpthreads (everybody else).
6120 (test_startup): Fail gracefully if threads are not supported.
6121 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6122 "p/c array_index("abcdef",2)" when not gcc compiled.
6123 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6124 "print func2::coremaker_local" when not gcc compiled.
6125 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6126 "ptype on opaque struct tagname (statically)",
6127 "ptype on opaque struct tagname (dynamically) 1", and
6128 "ptype on opaque struct tagname (dynamically) 2"
6129 for not compiled with gcc.
6130 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6131 backtrace when compiled with gcc.
beb998c6 6132 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6133 than always return success.
6134
6135Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6136
6137 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6138
6139Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6140
6141 * gdb.base/structs.exp: Undo last change.
6142
6143Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6144
6145 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6146 encapsulate all the steps/nexts done during self test, starting
6147 at main, and makes them less sensitive to optimization issues.
6148 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6149 signal handler" test.
6150 * gdb.threads/pthreads.exp: Only run this for native configs.
6151 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6152 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6153 tests.
6154 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6155 for "runto test_calls(void)" test.
beb998c6 6156
c906108c
SS
6157Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6158
6159 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6160 and don't expect address info in breakpoint confirmations.
6161
6162Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6163
6164 * gdb.base/list.exp (test_forward_search): Increase timeout
6165 temporarily by 60 seconds for searching extremely long line,
6166 and then reset to old value when done. Increase expect input
6167 buffer to 10000.
6168
6169Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6170
6171 * gdb.base/list.exp (test_forward_search): Fix to handle very
6172 long source line without overflowing expect's input buffer.
6173
6174Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6175
6176 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6177 "buffer_full".
6178
6179 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6180 "buffer_full".
6181
6182 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6183 "buffer_full".
6184
6185 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6186 "buffer_full".
6187
6188Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6189
6190 * configure.in (configdirs): Add gdb.threads.
6191 * configure: Regenerated with autoconf.
6192 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6193 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6194 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6195
c906108c
SS
6196Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6197
6198 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6199
6200Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6201
6202 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6203 each signal's status in the output of "handle all print".
6204 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6205 the \r\n sequence that immediately precedes the gdb prompt.
6206 * gdb.base/a1-selftest.exp: Save original timeout and restore
6207 after test.
6208
6209Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6210
6211 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6212 symbol.
6213
6214Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6215
6216 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6217
6218Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6219
6220 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6221 timeout by 60 seconds.
6222
6223Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6224
6225 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6226 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6227 error return.
6228
6229Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6230
6231 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6232 gdb initialization, also report how long dejagnu waited. Restore
6233 old timeout before doing error return. Temporarily increase timeout
6234 by 3 minutes to allow for slow startups over heavy NFS use.
6235
6236Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6237
6238 * lib/gdb.exp: Report timeout value for verbosity level 2.
6239 * config/gdbserver.exp: Ditto.
6240 * config/hppro.exp: Ditto.
6241 * config/mips-gdb.exp: Ditto.
6242 * config/monitor.exp: Ditto.
6243 * config/netware.exp: Ditto.
6244 * config/sim-gdb.exp: Ditto.
6245 * config/slite-gdb.exp: Ditto.
6246 * config/udi-gdb.exp: Ditto.
6247 * config/unix-gdb.exp: Ditto.
6248 * config/vx-gdb.exp: Ditto.
6249 * gdb.base/a1-selftest.exp: Ditto.
6250 * gdb.base/a2-run.exp: Ditto.
6251 * gdb.base/break.exp: Ditto.
6252 * gdb.base/corefile.exp: Ditto.
6253 * gdb.base/list.exp: Ditto.
6254 * gdb.base/recurse.exp: Ditto.
6255 * gdb.base/scope.exp: Ditto.
6256 * gdb.base/signals.exp: Ditto.
6257
6258Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6259
6260 * gdb.threads/Makefile.in (docdir): Removed.
6261
6262Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6263
6264 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6265 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6266 @srcdir@.
beb998c6 6267 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6268 autoconf 2.5 or higher.
6269 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6270
6271Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6272
6273 * configure: Regenerated.
6274 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6275 avoid name clashes with SunOS headers.
6276
6277Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6278
6279 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6280
6281Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6282
6283 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6284 prototype information ends up in the compiler info file.
6285
6286Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6287
6288 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6289 attempting to regenerate it. Eliminate use of a temporary file
6290 and just generate the info file directly. Source it immediately,
6291 for consistency of use.
6292 * gdb.base/corefile.exp: Ditto
6293 * gdb.base/exprs.exp: Ditto.
6294 * gdb.base/funcargs.exp: Ditto.
6295 * gdb.base/langs.exp: Ditto.
6296 * gdb.base/list.exp: Ditto.
6297 * gdb.base/mips_pro.exp: Ditto.
6298 * gdb.base/nodebug.exp: Ditto.
6299 * gdb.base/opaque.exp: Ditto.
6300 * gdb.base/ptype.exp: Ditto.
6301 * gdb.base/scope.exp: Ditto.
6302 * gdb.base/setvar.exp: Ditto.
6303 * gdb.base/signals.exp: Ditto.
6304 * gdb.base/whatis.exp: Ditto.
6305 * gdb.c++/templates.exp: Ditto.
6306 * gdb.c++/virtfunc.exp: Ditto.
6307 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6308 whether or not to add -lstdc++ to the compile command line args.
6309
6310Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6311
6312 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6313 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6314 Increase timeout, a lot of single stepping might be needed if the
6315 target has no hardware watchpoints.
6316
6317Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6318
6319 * gdb.base/break.exp: Ignore compiler warnings when compiling
6320 break.c.
6321 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6322 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6323 from remote-sim.
6324 * gdb.base/exprs.exp: Add h8300 xfails.
6325 * gdb.base/funcargs.exp: Likewise.
6326 * gdb.base/nodebug.exp: Likewise.
6327 * gdb.base/printcmds.exp: Likewise.
6328 * gdb.base/ptype.exp: Likewise.
6329 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6330 h8300 xfails.
beb998c6 6331 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6332 on the h8300.
6333 * gdb.base/funcargs.c: Explicitly make last constant argument to
6334 call_after_alloca_subr an unsigned long type.
6335 * gdb.base/return.c: Include stdio.h.
6336
6337Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6338
6339 * config/abug.exp: New file for the older Motorola Bug monitor
6340 that runs on the mvme13x series VME boards.
6341 * config/monitor.exp: Use the new config array for target settings
6342 if they exist.
6343
6344Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6345
6346 * sim-gdb.exp: Make the SH simulator allocate less space when
6347 it is targeted.
6348
6349Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6350
6351 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6352 test.
6353
6354Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6355
6356 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6357 "rs6000-*-*" for "list function in include file" when gcc compiled.
6358 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6359 for "p ctable1[120]".
6360 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6361 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6362 Remove setup_xfail for "rs6000-*-*" for
6363 "print 'scope0.c'::filelocal before run".
6364 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6365 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6366 since some compilers don't allow both options to be given
6367 on the same command line. Create object file and move it.
beb998c6 6368
c906108c
SS
6369Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6370
6371 * gdb.base/corefile.exp: Always regenerate the core file, since
6372 we always regenerate the coremaker program. Detect special case
6373 where registers cannot be read from core file.
beb998c6 6374
c906108c
SS
6375Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6376
6377 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6378 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6379 * gdb.c++/templates.exp: Only match on basename of file since
6380 some formats like xcoff don't encode directory information.
6381 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6382 and rs6000 AIX xcoff targets.
6383 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6384 * configure: Regenerate.
6385 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6386 here, rather than in distclean.
beb998c6 6387
c906108c
SS
6388Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6389
6390 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6391 defined, and use it to compile the test case with -O2. The
6392 native compilation still uses no optimization.
6393 * gdb.base/mips_pro.c: Remove inline assembly code since
6394 it is compiled PIC by default, which results in assembler
6395 warnings that make the testsuite think the compilation
6396 was unsuccessful.
6397
6398Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6399
6400 * gdb.c++/misc.exp: Add note to message for
6401 "print s.a for foo struct" that this is a known gcc 2.7.2
6402 and earlier bug.
6403
6404Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6405
6406 * gdb.base/break.exp: Fix pattern for matching "Delete all
6407 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6408 setup_xfail for deleting all breakpoints test. Fix various
6409 timeout messages to include "(timeout)".
6410 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6411 for "p t_float_values2(3.14159,float_val2)".
6412 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6413 for "continue to call2g" when gcc compiled.
6414 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6415 "up to foo in langs.exp", "show language at foo in langs.exp",
6416 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6417 and "show language at fsub in langs.exp".
6418 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6419 "list line 1 in include file", "list message for lines past EOF",
6420 "list function in include file", "list list0.h:foo", and
6421 "list filename:function; nonexistant function".
6422 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6423 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6424 and "ptype t_char_array" to be for native cc only.
beb998c6 6425
c906108c
SS
6426Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6427
beb998c6 6428 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6429 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6430 "print func2::coremaker_local", and "backtrace in corefile.exp".
6431
6432Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6433
6434 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6435 "bt in signals.exp". This problem only appears when running
6436 the testsuite, and then only intermittently.
6437
6438Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6439
6440 * gdb.base/return.exp (return_tests): Differentiate between
6441 two tests of continuing.
6442
6443Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6444
6445 * */Makefile.in (maintainer-clean): Remove config.log.
6446 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6447 * gdb.c++/Makefile.in (PROGS): Add inherit.
6448 (clean): Remove *.ci.
6449
6450Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6451
6452 * gdb.c++/misc.cc: Add test code from Mike Stump.
6453 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6454
6455Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6456
6457 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6458 to "alpha-*-osf2*" and add comment.
6459 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6460 setup_xfail for "step over execarg initialization" and
6461 "step over corearg initialization".
6462 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6463 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6464 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6465 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6466 "print func2::coremaker_local", and "backtrace in corefile.exp".
6467 * gdb.base/signals.exp: Build and source signals.ci.
6468 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6469 to be for gcc only.
6470 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6471
c906108c
SS
6472Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6473
6474 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6475 Feb 3 procfs.c change.
6476
6477Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6478
6479 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6480
6481Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6482
6483 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6484 from dejagnu's apparent default of 10 seconds, which gives random
6485 results when running the tests over NFS on moderately loaded systems.
6486 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6487
6488Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6489
6490 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6491 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6492 result reports.
6493
6494Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6495
6496 * configure.in (CY_AC_PATH_TCLH): Remove.
6497 * configure: Regenerate.
6498
6499Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6500
6501 * gdb.c++/Makefile.in (clean): Add missing '{'.
6502
6503Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6504
6505 * lib/gdb.exp: Provide a default value for noinferior.
6506
6507 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6508 Load libgloss.exp.
6509
6510Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6511
6512 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6513 the executable, not the .o to run the tests from.
6514
6515Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6516
6517 * gdb.base/break.exp: Don't test for program exit or exit status
6518 if $noresults if nonzero.
6519 * gdb.base/langs.exp: Likewise.
6520 * gdb.base/watchpoint.exp: Likewise.
6521
6522 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6523 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6524 trying to compile the testcase.
6525
6526Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6527
6528 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6529 * gdb.base/signals.exp (continue to handler): Likewise.
6530
6531Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6532
6533 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6534
6535 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6536
6537Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6538
6539 * gdb.base/corefile.exp: Recognize "not found" as failure
6540 when trying to determine if a core file was generated.
6541 If no core file was generate the first time, try again without
6542 the ulimit -c to work around braindamaged shells.
6543
6544Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6545
6546 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6547 [] tests with "test" and enclose string in quotes.
6548 * gdb.stabs/configure: Rebuild
beb998c6 6549
c906108c
SS
6550Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6551
6552 Changes in sync with expect:
6553 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6554 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6555 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6556 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6557 argument to AC_REQUIRE.
6558 * configure: Regenerated.
6559
6560Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6561
6562 * gdb.base/corefile.exp: When generating a core, discard any
6563 error messages about ulimit not found and the "core dumped"
6564 message from the shell that runs the coredumper.
6565
6566Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6567
6568 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6569
6570 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6571 which sed script to run. Expect failure for v_comb test
6572 on PA targets too.
beb998c6 6573
c906108c
SS
6574Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6575
6576 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6577 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6578
6579Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6580
6581 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6582 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6583 "sparc-sun-solaris*" xfails for "p v_comb".
6584 * lib/gdb.exp (default_gdb_start): Fix typo.
6585 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6586 messages to not include the full program name that caused
6587 the core dump since some systems (such as solaris) apparently
6588 truncate this path to about 80 characters.
6589 When generating a core file first try increasing the core file
6590 size limit to unlimited since some systems may default it to
6591 zero, and it is harmless to try it. Move the test for failing
6592 to generate a core file to where it will actually get executed.
6593 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6594 new gdb result from g++ debug info improvements and make old
6595 pattern obsolescent. Also account for size_t differences
6596 (may be int or long).
6597 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6598 initialization before function call is placed in the delay slot
6599 and thus appears to be skipped over by commands such as "next".
6600
6601Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6602
6603 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6604
6605Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6606
6607 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6608 input source file; fix code to compile test to deal with this
6609 convention.
6610 * gdb.c++/*.exp: Likewise.
6611
6612Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6613
6614 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6615 "bt in signals.exp".
6616
6617Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6618
6619 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6620 "step over execarg initialization" and
6621 "step over corearg initialization".
6622
6623Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6624
6625 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6626 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6627
6628Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6629
6630 From Rob Savoye (rob@poseidon.cygnus.com)
6631 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6632 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6633 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6634 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6635 configure.in}: Major reworking for autoconfig.
6636 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6637 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6638 New files.
6639 * config/unix-gdb.exp: Make GDB global.
6640 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6641 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6642 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6643 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6644 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6645 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6646 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6647 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6648 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6649 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6650 pr-8136.exp, result.exp, string.exp, tuples.exp},
6651 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6652 to returns as necessary, arrange for test to compile own testcase
6653 executable.
6654 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6655
c906108c
SS
6656Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6657
6658 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6659 clear_xfail at end of test which might not call either pass or fail.
6660 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6661 "backtrace through signal handler".
6662
6663Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6664
6665 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6666 continuing from a job control stop signal.
6667 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6668
6669Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6670
6671 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6672 * gdb.base/corefile.exp: Likewise.
6673 * gdb.base/funcargs.exp: Likewise.
6674
6675Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6676
6677 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6678 * config/monitor.exp: Add support for setting baud rate.
6679
6680Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6681
6682 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6683 i*86-*-linux* xfails for "backtrace through signal handler".
6684 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6685 "print func2::coremaker_local".
6686 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6687 alpha-dec-osf2* xfail for
6688 "delete all breakpoints when none".
6689
6690Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6691
6692 * gdb.base/break.exp: Change test that deletes all breakpoints
6693 when no user breakpoints are installed. A post 4.15 change
6694 causes gdb to no longer prompt in this case.
6695
6696Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6697
6698 * gdb.base/return.exp (return_tests): Change xfail for test
6699 "correct value returned double test" to stop xfailing at
6700 Solaris 2.5. Apparently the bug has been fixed.
6701
6702Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6703
6704 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6705 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6706
6707Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6708
6709 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6710 * gdb.disasm/hppa.s: Corresponding changes.
6711
6712Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6713
6714 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6715 makefile fragment.
6716 * config/mt-hpux: Deleted.
6717
6718Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6719
beb998c6 6720 * Many files: When warning about suppressed tests due to a
c906108c
SS
6721 nonexistant test binary, avoid incrementing the warning count.
6722
6723Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6724
6725 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6726
c906108c
SS
6727Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6728
6729 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6730 "sparc-*-solaris2*".
6731
6732Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6733
6734 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6735 Add global and local variables and initialize them.
6736 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6737 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6738 extracts the file name and terminating signal from the core file.
6739 * TODO: Remove note about tests for correct mapping of corefile.
6740 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6741 from optimizing it away.
6742 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6743 handles common blocks.
6744
6745Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6746
6747 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6748 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6749
6750Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6751
6752 * Makefile.in (maintainer-clean): New target, synonym for
6753 realclean.
6754 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6755 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6756 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6757 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6758 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6759 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6760
6761Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6762
6763 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6764 xfails when not gcc compiled for "print foo::funclocal".
6765 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6766 "print foo::funclocal at foo",
6767 "print 'scope1.c'::foo::funclocal at foo",
6768 "print foo::funclocal_bss at foo",
6769 "print 'scope1.c'::foo::funclocal_bss at foo",
6770 "print foo::funclocal_ro at foo",
6771 "print 'scope1.c'::foo::funclocal_ro at foo",
6772 "print bar::funclocal at foo" and
6773 "print 'scope1.c'::bar::funclocal at foo".
6774 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6775 gcc compiled for "print foo::funclocal at bar".
6776 Expand all messages to ensure that they identify that
6777 the test is at bar().
6778 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6779 gcc compiled for:
6780 "ptype on opaque struct pointer (statically)",
6781 "ptype on opaque struct tagname (statically)",
6782 "ptype on opaque struct pointer (dynamically) 1",
6783 "ptype on opaque struct tagname (dynamically) 1",
6784 "ptype on opaque struct pointer (dynamically) 2" and
6785 "ptype on opaque struct tagname (dynamically) 2
6786 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6787 gcc compiled for:
6788 "p datalocal"
6789 "whatis datalocal",
6790 "ptype datalocal",
6791 "p bsslocal",
6792 "whatis bsslocal", and
6793 "ptype bsslocal".
6794 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6795 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6796 when not gcc compiled.
6797 * gdb.base/funcargs.exp (float_and_integral_args): Add
6798 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6799 compiled.
6800 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6801 "backtrace from call6a" when not gcc compiled.
6802 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6803 "backtrace from call7a" when not gcc compiled.
6804 * gdb.base/callfuncs.exp (do_function_calls):
6805 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6806 "p t_char_array_values(char_array_val2,char_array_val1)",
6807 "p t_char_array_values(char_array_val1,char_array_val2)",
6808 "p t_char_array_values("carray 1","carray 2")",
6809 "p t_char_array_values("carray 1",char_array_val2)",
6810 "p t_char_array_values(char_array_val1,"carray 2")",
6811 "p sum_args(1,{2})",
6812 "p sum_args(2,{2,3})",
6813 "p sum_args(3,{2,3,4})",
6814 "p sum_args(4,{2,3,4,5})"
6815 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6816 "backtrace in corefile.exp" when not gcc compiled.
6817
6818Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6819
6820 * gdb.base/signals.exp: Rewrite `handle all print' test as
6821 a procedure. Accept blanks or TABs as whitespace, increase
6822 timeout and expect input buffer size for the large output
6823 from the command. Remove "i*86-*-bsdi2.0" xfail.
6824
6825Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6826
6827 * gdb.base/setvar.exp: Add new testcases for truncation when
6828 assigning invalid values to bitfields.
6829
6830Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6831
beb998c6 6832 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6833 mips-sgi-irix* xfail for
6834 "call inferior func with struct - returns char *"
6835 and fix test so that an optional (unsigned char *) cast is
6836 accepted in the result.
6837
6838Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6839
6840 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6841 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6842 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6843 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6844 that accidentally got checked in.
6845
6846Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6847
beb998c6 6848 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6849 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6850 compiled test.
6851 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6852 Add mips-sgi-irix5* xfail for not gcc compiled.
6853 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6854 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6855 "p top", "whatis top", "p middle", and "whatis middle".
6856 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6857 "whatis signed char" for not gcc compiled.
6858 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6859 "set variable signed char=-1 (-1)" and
6860 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6861 * gdb.base/funcargs.exp (float_and_integral_args):
6862 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6863 Add mips-sgi-irix* xfail when not gcc compiled for
6864 "continue to call2b".
6865 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6866 "continue to call2g".
6867 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6868 "backtrace from call6a"
6869 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6870 "backtrace from call7k".
6871 Add mips-sgi-irix5* xfail when not gcc compiled for
6872 "backtrace from call7a".
6873 (localvars_after_alloca): Fix gdb_test cmds for
6874 "print * after runto ...".
6875 Remove rs6000-*-* xfails for
6876 "print i after runto localvars_after_alloca" and
6877 "print l after runto localvars_after_alloca"
6878 for all compilers.
6879 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6880 when not compiled with gcc, for:
6881 "print signed char == (minus)",
6882 "print signed char != (minus)",
6883 "print signed char < (minus)",
6884 "print signed char > (minus)".
6885 * gdb.base/callfuncs.exp (do_function_calls):
6886 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6887 "call inferior func with struct - returns char *".
beb998c6 6888 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6889 "correct value returned double test" to include Solaris 2.4.
6890 * gdb.base/funcargs.exp (float_and_integral_args):
6891 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6892
c906108c
SS
6893Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6894
6895 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6896 enumeration bitfields if compiling with GNU C.
6897 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6898 to empty' prompt.
6899
6900Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6901
6902 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6903 test for PRO targets.
6904
6905 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6906 breakpoints in the inferior at any given time by making
6907 two groups of breakpoints for call2*, call6* and call7*
6908 tests.
6909
6910Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6911
6912 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6913 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6914 from optimizing it away.
6915 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6916 "call inferior func with struct".
6917
6918Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6919
6920 * configure.in: Only configure gdb.chill for particular targets.
6921
6922Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6923
6924 * gdb.base/Makefile.in: Add action to .c.o transformation
6925 rule that generates a .ci file for each .o file and remove
6926 explicit .c.o rules except for callfuncs.o.
6927 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6928 generates a .ci file for each .o file and remove explicit
6929 .cc.o rules.
6930 (clean): Remove *.tmp *.ci files.
6931 (EXECUTABLES): Remove templ-info.exp.
6932 * gdb.base/compiler.c: New file.
6933 * gdb.c++/compiler.cc: New file
6934 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6935 Change rs6000-*-* xfail for
6936 "print 'scope0.c'::filelocal_ro" and
6937 "print 'scope1.c'::filelocal" and
6938 "print 'scope1.c'::filelocal_bss" and
6939 "print 'scope1.c'::filelocal_ro" and
6940 "print 'scope1.c'::foo::funclocal" and
6941 "print 'scope1.c'::foo::funclocal_ro" and
6942 "print 'scope1.c'::bar::funclocal" and
6943 "print 'scope0.c'::filelocal_ro" and
6944 "print 'scope1.c'::filelocal at foo" and
6945 "print 'scope1.c'::filelocal_bss at foo" and
6946 "print 'scope1.c'::filelocal_ro at foo" and
6947 "print 'scope1.c'::foo::funclocal at foo" and
6948 "print 'scope1.c'::foo::funclocal_bss at foo" and
6949 "print 'scope1.c'::foo::funclocal_ro at foo" and
6950 "print 'scope1.c'::bar::funclocal at foo" and
6951 "print 'scope0.c'::filelocal_ro" and
6952 "print 'scope1.c'::filelocal" and
6953 "print 'scope1.c'::filelocal_bss" and
6954 "print 'scope1.c'::filelocal_ro" and
6955 "print 'scope1.c'::foo::funclocal" and
6956 "print 'scope1.c'::foo::funclocal_bss" and
6957 "print 'scope1.c'::foo::funclocal_ro" and
6958 "print 'scope1.c'::bar::funclocal" and
6959 "print 'scope1.c'::bar::funclocal_bss"
6960 to only be xfail'd when not compiled with gcc.
beb998c6 6961 Add rs6000-*-* xfail for
c906108c
SS
6962 "print 'scope0.c'::filelocal_bss before run"
6963 when compiled with gcc.
6964 (test_at_main): Add rs6000-*-* xfail for
6965 "print filelocal_ro in test_at_main"
6966 when compiled with gcc.
6967 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6968 Add rs6000-*-aix* xfail for
c906108c
SS
6969 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6970 "ptype t_char_array", not compiled with gcc.
6971 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6972 xfail for "list foo (in include file)" when gcc compiled.
6973 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6974 (integral_args): Add rs6000-*-* xfail for
6975 "run to call0a" if not compiled with gcc.
6976 (unsigned_integral_args): Add rs6000-*-* xfail for
6977 "run to call1a" if not compiled with gcc.
6978 (float_and_integral_args): Add rs6000-*-* xfail for
6979 "run to call2a" if not compiled with gcc and for
6980 "continue to call2b" for any compiler.
6981 Add rs6000-*-* xfail to
6982 "print f1 after run to call2a" for gcc compiled.
6983 (discard_and_shuffle): Add rs6000-*-* xfail for
6984 "run to call6a".
6985 (shuffle_round_robin): Add rs6000-*-* xfail for
6986 "backtrace from call7a" if not compiled with gcc.
6987 Add rs6000-*-* xfail for
6988 "backtrace from call7b" if compiled with gcc.
6989 (call_after_alloca): Add rs6000-*-* xfail for
6990 "print c in call_after_alloca" and
6991 "print s in call_after_alloca" and
6992 "backtrace from call_after_alloca_subr"
6993 if not compiled with gcc.
6994 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6995 "print c in localvars_in_indirect_call" and
6996 "print c in localvars_in_indirect_call" and
6997 "backtrace in indirectly called function" and
6998 "stepping into indirectly called function"
6999 if not compiled with gcc.
7000 (localvars_after_alloca): Add rs6000-*-* xfail for
7001 "print c after runto localvars_after_alloca" and
7002 "print s after runto localvars_after_alloca" and
7003 "print i after runto localvars_after_alloca" and
7004 "print l after runto localvars_after_alloca"
7005 for all compilers.
7006 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7007 than whatis-info.exp.
7008 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7009 than opaque-info.exp.
7010 Setup rs6000-*-* xfail for
beb998c6 7011 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7012 "ptype on opaque struct pointer (dynamically)" when
7013 not compiled with gcc.
7014 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7015 rather than callf-info.exp.
7016 (do_function_calls): Add clear_xfail for rs6000-*-* for
7017 "p t_float_values2(3.14159,float_val2)". Seems to work
7018 fine there, both with xlc and gcc. Need to find out what
7019 it is doing right and fix other platforms.
7020 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7021 "call inferior func with struct - returns int",
7022 "call inferior func with struct - returns long",
7023 "call inferior func with struct - returns float",
7024 "call inferior func with struct - returns double",
7025 "call inferior func with struct - returns char *",
7026 but only if not gcc compiled (presumes xlc compiled).
7027 Change rs6000-*-* xfails for
7028 "call inferior func with struct - returns char" and
7029 " call inferior func with struct - returns short" to only
7030 xfail if not using gcc.
7031 (clean mostlyclean): Remove *.ci and *.tmp files.
7032 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7033 than templ-info.exp.
7034 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7035 Add rs6000-*-* xfail for "up to foo in langs.exp"
7036 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7037 when not gcc compiled.
beb998c6 7038
c906108c
SS
7039Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7040
7041 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7042 * gdb.base/corefile.exp: Likewise.
7043 * gdb.base/list.exp: Likewise.
7044 * gdb.base/scope.exp: Likewise.
7045 * gdb.base/siganls.exp: Likewise.
7046
7047 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7048 compiler output.
7049 * gdb.base/whatis.exp: Likewise.
7050
7051Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7052
7053 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7054 failure (opcode table has been fixed to match reality).
7055
7056Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7057
7058 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7059 "call inferior func with struct - returns char",
7060 "call inferior func with struct - returns short"
7061
7062 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7063 "print 'scope0.c'::filelocal at main",
7064 "print 'scope0.c'::filelocal_bss in test_at_main",
7065 "print 'scope0.c'::filelocal at foo",
7066 "print 'scope0.c'::filelocal_bss in test_at_foo",
7067 "print 'scope0.c'::filelocal at bar",
7068 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7069
c906108c
SS
7070 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7071 in source file 1". This bug seems to have been fixed with both
7072 gcc and native cc (was native assembler bug?).
7073
7074Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7075
7076 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7077 "backtrace through signal handler" to "i*86-*-sysv4*".
7078 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7079 continue" case. Add "known SVR4 bug" to fail message.
7080 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7081 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7082 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7083 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7084 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7085 "up to foo in langs.exp", "show language at foo in
7086 langs.exp", "up to cppsub_ in langs.exp", "show
7087 language at cppsub_ in langs.exp", "up to fsub in
7088 langs.exp", and "show language at fsub in langs.exp".
7089 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7090 "bactrace in corefile.exp".
7091 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7092 "call inferior function with struct - returns float" and
7093 "call inferior function with struct - returns double".
beb998c6 7094
c906108c
SS
7095Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7096
7097 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7098 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7099 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7100 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7101
7102Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7103
7104 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7105 (or overriden) "CHILL" macro rather then bare "gcc".
7106 Also look for ../../gcc/xgcc since that is what we will
7107 actually need, not "Makefile". Remove following assignment
7108 of CHILL to CHILL_FOR_TARGET because that results in
7109 recursive definition.
7110
7111Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7112
7113 * gdb.base/corefile.exp: Change xfail for backtrace in
7114 corefile.exp from linuxaout to all linux.
7115 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7116 cases where we miss the breakpoint at the signal handler
7117 for some reason. Setup xfail for linuxoldld/linuxaout and
7118 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7119 hitting SIGURG breakpoint.
7120 * gdb.base/signals.exp: Setup xfail for "next" acting like
7121 continue to add linuxoldld. Setup xfail for all linux for
7122 "next to handler in signals_tests_1", "backtrace in
7123 signals_tests_1", "continue to func1", "pass SIGUSR1",
7124 and continue to handler".
7125
7126Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7127
7128 * Update all FSF addresses except those in COPYING* files.
7129
7130Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7131
7132 * gdb.base/a2-run.exp: Change messages to be more explicit about
7133 the status of args, and quote binfile in results.
7134
7135Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7136
7137 * gdb.base/callfuncs.exp: Add tests for passing structs to
7138 inferior functions and return various types.
7139 * gdb.base/callfuncs.c: Add functions to receive a struct
7140 and return a member of the struct, in various types.
7141
7142Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7143
7144 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7145
7146Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7147
7148 * config/vxworks29k.exp: New file, sources vxworks.exp.
7149
7150Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7151
7152 * config/gdbremote.exp: New file. Testing framework using
7153 gdbserver.
7154
7155Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7156
7157 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7158 "call function when asleep" and "send end of file".
7159 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7160 for "backtrace in corefile.exp".
7161 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7162 for "backtrace through signal handler".
7163 * gdb.base/corefile.exp: Make sure we actually generate a core file
7164 before trying the core tests. Some systems allow the user to suppress
7165 generation of core files and default to that (linux for example).
7166 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7167 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7168
7169Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7170
7171 * gdb.threads: New directory with some crude multi-threaded
7172 gdb tests (step.exp and step2.exp).
7173 * config/mt-lynx (STEP_EXECUTABLE): Define.
7174 (THREADFLAGS): Define.
7175
7176Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7177
7178 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7179
7180 * gdb.base/signals.exp: Disable whole file for lynx until
7181 further notice.
7182
7183 * gdb.base/signals.exp: xfail test where "next" acts like
7184 "continue" for lynx.
7185
7186 * gdb.base/interrupt.exp: xfail test for calling function while
7187 inferior is asleep for lynx.
7188
7189 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7190 than one cr-lf after each command.
7191
7192Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7193
7194 * configure.in: Reinstate setting of stabsdirs variable, fix
7195 typo in setting up configdirs for native builds.
7196
7197 * gdb.base/return.exp: Fix typo in return double test.
7198 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7199 compiler from optimizing them away.
7200
7201Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7202
7203 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7204 sequences to be echo'd by gdb when using gdb_test.
7205 * gdb.chill/chexp.exp: Likewise.
7206 * gdb.fortran/exprs.exp: Likewise
7207
7208Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7209
7210 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7211 after the inferior gdb has started.
7212
7213 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7214 after each command.
7215 * gdb.base/funcargs.exp: Likewise.
7216 * gdb.base/gdbvars.exp: Likewise.
7217 * gdb.base/interrupt.exp: Likewise.
7218 * gdb.base/list.exp: Likewise.
7219 * gdb.base/watchpoint.exp: Likewise.
7220 * gdb.c++/demangle.exp: Likewise.
7221 * gdb.c++/inherit.exp: Likewise.
7222 * gdb.chill/chexp.exp: Likewise.
7223 * gdb.fortran/exprs.exp: Likewise.
7224
7225 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7226 test if we can't handle IO to/from the inferior.
7227
7228 * gdb.c++/misc.exp: Always check for a program already being
7229 started after sending a "run" command to gdb.
7230
7231 * gdb.base/twice.exp: Start with a fresh gdb.
7232
7233 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7234 only depend on gdb's expression code, not the chill runtime.
7235
7236 * gdb.base/return.c: Put return values into variables so we
7237 can have gdb print them rather than depending on the program
7238 to print them.
7239 * gdb.base/return.exp: Corresponding changes.
7240
7241 * lib/gdb.exp: Provide default value for noinferiorio.
7242 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7243 the inferior.
7244
7245 * gdb.base/break.exp: Always check for a program already being
7246 started after sending a "run" command to gdb.
7247 (text_next_with_recursion): Don't check the output from the
7248 program's printf statement. Instead just make sure the program
7249 exited.
7250
7251 * gdb.base/commands.exp: Protect tests which need arguments with
7252 $noargs conditionals.
7253
7254Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7255
7256 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7257 of structure member arrays to match gdb/valops.c:value_addr change.
7258
7259Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7260
7261 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7262 cases.
7263
7264Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7265
7266 * configure.in (configdirs): Remove gdb.chill from default list
7267 of subdirs and then add it back in only if doing a native build.
7268 The current chill compiler does not yet work in any cross build.
7269 * Revert all signal changes from Jul 6.
7270 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7271 for sh-hms targets, allowing these tests to link, with no other
7272 changes. Testing is suppressed by setting "nosignals" in site.exp.
7273
7274Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7275
7276 * configure.in (signaldirs): Define and add to configdirs for all
7277 targets except some specific ones that are known to not support signals.
7278 Also clean up formatting.
7279 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7280 (signals, sigall): Remove rules to build.
7281 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7282 Moved to new gdb.signals directory.
7283 * gdb.signals: New test directory.
7284 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7285 signals.c signals.exp}: New or moved files.
7286
7287Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7288
7289 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7290
7291Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7292
7293 * gdb.base/return.exp: Xfail `return double' test failure
7294 on at least Solaris 2.3 and handle future/past versions on
7295 a case by case basis as appropriate. Also update message
7296 to include i*86 failures.
7297
7298Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7299
7300 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7301
7302 * lib/gdb.exp: Fix comment which erroneously identified
7303 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7304 gdb_file_cmd not gdb_load).
7305 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7306
7307 * gdb.base/setvar.exp: Make test names consistent between pass and
7308 fail cases. Use gdb_test more.
7309
7310Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7311
7312 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7313
7314Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7315
7316 * gdb.base/help.exp: Fix expected help string for `show commands'.
7317
7318Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7319
7320 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7321
7322 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7323 of a text section.
7324
7325Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7326
7327 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7328 that loop eventually terminates. Fix Connection refused logic so
7329 that testsuite will expire nicely.
7330
7331Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7332
7333 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7334 config/rom68k.exp: New tcl glue for the appropriate monitors.
7335 These all just end up calling monitor.exp.
7336 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7337 refused' by retrying. Cleanup some timeout issues.
7338 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7339 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7340 callers don't have to set/restore global timeout variable.
7341
7342 * The following set of changes centralizes management of the global
7343 timeout variable. This way, it can be set in one target dependent
7344 place instead of dozens of places scattered throughout the test suite.
7345 If you need to lengthen a timeout, then you should either set timeout
7346 in one of the config/{target}.exp files, or multiply it by a factor.
7347 Setting it to an absolute value is always going to lose for some
7348 targets.
7349 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7350 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7351 * gdb.base/funcargs.exp: Don't set timeout.
7352 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7353 * gdb.base/printcmds.exp (test_print_string_constants
7354 test_print_array_constants): Don't set timeout.
7355 * gdb.base/ptype.exp: Don't set timeout.
7356 * gdb.base/recurse.exp: Don't set timeout.
7357 * gdb.base/return.exp: Don't set timeout.
7358 * gdb.base/watchpoint.exp: Don't set timeout.
7359 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7360 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7361
7362Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7363
7364 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7365
7366Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7367
7368 * lib/gdb.exp: Disable chill tests for irix5.
7369
7370Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7371
7372 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7373 each test pass or fail.
7374
7375Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7376
7377 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7378 xlc not gcc.
7379
7380Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7381
7382 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7383
7384Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7385
7386 * config/est.exp: Fix copyright and comments. Remove dead code.
7387 Use targetname, serialport and baud variables instead of fixed
7388 constants.
7389 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7390 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7391
7392Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7393
7394 * gdb.base/watchpoint.exp: Don't run
7395 test_watchpoint_triggered_in_syscall for sunos.
7396
7397Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7398
7399 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7400 they don't seem to exist. Do include stdio.h.
7401
7402Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7403
7404 * gdb.base/a1-selftest.exp: Add alpha xfail.
7405
7406Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7407
7408 * gdb.base/watchpoint.c (main): Prompt before calling read().
7409 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7410 Revise accordingly. Remove cruft about sending "123" several
7411 times, until it gets noticed. Clean up the "print buf[0]" stuff
7412 so that it passes or fails, and waits for prompts in the usual way.
7413
7414Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7415
7416 * gdb.base/recurse.exp: Fix comment.
7417
7418 * TODO: Remove item about printing variables in nodebug.exp. Add
7419 item about enabling tests which are only run on some targets.
7420
7421 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7422 fail, make test names unique, use new gdb_test convention
7423 regarding pattern, use gdb_test more, etc.).
7424
7425 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7426 fail, make test names unique, etc.).
7427
7428Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7429
7430 * gdb.base/nodebug.c: Change return type of top and middle to
7431 short.
7432 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7433 are fixed by the recent mdebugread.c changes. Allow `short ()'
7434 as type for top and middle.
7435
7436Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7437
7438 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7439 nearly as I can tell, the whole thing was an accident in Stu's
7440 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7441 to replace a send/expect pair with gdb_test, but ended up only
7442 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7443 of 30 Mar 1995 took care of it, but left this vestigial comment
7444 which I am now nuking.
7445
7446Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7447
7448 * gdb.base/break.exp: Look for different line number for
7449 breakpoint at main depending on usestubs.
7450
7451Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7452
7453 * gdb.base/list.exp: Adjust some alternate expect patterns to
7454 match recent list0.c change. Add alternate expect pattern for
7455 output from `list default lines around main' for optimizing
7456 compilers.
7457
7458Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7459
7460 * lib/gdb.exp: If nosignals is not set, set it to 0.
7461
7462Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7463
7464 * config/slite-gdb.exp: Responds to load symbol table prompt.
7465 * gdb.base/break.exp: Adjust line number, fix rerun.
7466 * gdb.base/langs0.c: Add #ifdef usestubs.
7467
7468Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7469
7470 * gdb.base/list.exp: Adjust line contents after adding new lines in
7471 list0.c. Also fix a syntax error.
7472
7473 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7474 * gdb.base/break.exp: ditto.
7475 * gdb.base/list.exp: ditto.
7476 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7477 * gdb.base/run.c: ditto.
7478 * gdb.base/list0.c: ditto.
7479 * gdb.base/funcargs.c: ditto.
7480
7481Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7482
7483 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7484 $targetname, $serialport and $baud instead of hardwired variables.
7485 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7486 target doesn't support signals.
7487
7488Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7489
7490 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7491
7492Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7493
7494 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7495 Don't rely on the value of an auto variable before it has been
7496 initialized. Use gdb_test more.
7497
7498Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7499
7500 * lib/gdb.exp (default_gdb_version): A version number must start
7501 with a digit, but other than that contains all characters up to
7502 the first whitespace character.
7503
7504Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7505
7506 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7507
7508Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7509
7510 * gdb.c++/*.exp: Warn if executable does not exist. The original
7511 reason for skipping the warning was that configure.in sometimes
7512 intentionally skipped building the executables but the tcl code
7513 had no way of knowing. That (a) was always bogus with respect to
7514 error handling, (b) is no longer true (right now there is no way
7515 to skip C++ tests).
7516
7517 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7518
7519Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7520
7521 * gdb.base/list.exp: Add expect patterns for output from
7522 SunPRO compiled executables.
7523 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7524 types.
7525
7526Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7527
7528 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7529 number (we are already testing that the correct source line text
7530 gets printed).
7531
7532 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7533 that is what is intended, but something needed to be done to get
7534 sunos4 native working again.
7535
7536 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7537
7538 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7539 apparently went with a (very) old xfail.
7540
7541Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7542
7543 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7544 runto_main is a proc in gdb.exp that will do 'step' for target use
7545 stubs.
7546 * gdb.base/exprs.exp: ditto.
7547 * gdb.base/interrupt.exp: ditto.
7548 * gdb.base/opaque.exp: ditto.
7549 * gdb.base/printcmds.exp: ditto.
7550 * gdb.base/ptype.exp: ditto.
7551 * gdb.base/scope.exp: ditto.
7552 * gdb.base/setvar.exp: ditto.
7553 * gdb.base/signals.exp: ditto.
7554 * gdb.base/twice.exp: ditto.
7555 * gdb.c++/classes.exp: ditto.
7556 * gdb.c++/inherit.exp: ditto.
7557 * gdb.c++/templates.exp: ditto.
7558 * gdb.base/break.exp: no run and hit main for stubs. Change line
7559 numbers for breakpoints and info breakpoint.
7560 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7561 breakpoint().
7562 * gdb.base/callfuncs.c: ditto.
7563 * gdb.base/exprs: ditto.
7564 * gdb.base/interrupt.c: ditto.
7565 * gdb.base/opaque0.c: ditto.
7566 * gdb.base/printcmds.c: ditto.
7567 * gdb.base/ptype.c: ditto.
7568 * gdb.base/scope0.c: ditto.
7569 * gdb.base/setvar.c: ditto.
7570 * gdb.base/signals.c: ditto.
7571 * gdb.base/twice.c: ditto.
7572 * gdb.c++/misc.cc: ditto.
7573 * gdb.c++/templates.cc: ditto.
7574
7575Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7576
7577 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7578
7579 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7580 somewhere between `read' and `main.c'. I'm pretty sure the
7581 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7582 and it isn't particularly useful.
7583
7584 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7585
7586Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7587
7588 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7589
7590Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7591
7592 * config/mt-slite: add LIBS and -nostdlib.
7593 * config/slite-gdb.exp: add this new file to support sparclite target.
7594
7595Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7596
7597 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7598
7599 * gdb.base/a2-run.exp: Change argument to istarget from
7600 "*-*-vxworks" to "*-*-vxworks*".
7601 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7602
7603Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7604
7605 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7606 will not runto main but do a 'step' to step out of breakpoint().
7607 * config/mt-slite: add -Dusestubs.
7608
7609Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7610
7611 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7612 instead of just @.
7613
7614 * gdb.base/signals.exp: Add test for "handle all print".
7615 * TODO: Remove "handle all print". Also remove item about
7616 checking copyright date (I don't like the idea of a spurious FAIL
7617 based on when we run the tests).
7618
7619 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7620 for SunOS4 (reason for failure not investigated). Remove
7621 redundant test for $binfile.
7622
7623 * gdb.base/nodebug.c (array_index): Call malloc.
7624
7625 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7626
7627Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7628
7629 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7630 conventions and slightly simplify the matching regexp.
7631
7632Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7633
7634 * gdb.base/break.exp: Update gdb_test invocation to use new
7635 convention.
7636
7637 * lib/gdb.exp: If noargs is not set, set it to 0.
7638
7639 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7640 tests unique.
7641
7642 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7643
7644Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7645
7646 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7647 one argument of type "<non-float parameter>".
7648
7649Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7650
7651 * config/rom68k.exp: New file to support Motorola IDP board.
7652 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7653 * gdb.base/break.c: Change things around so that this program
7654 doesn't depend upon args. This is necessary to make remote
7655 targets work (in general, they can't take args).
7656 * gdb.base/break.exp: Don't try to send args to program. Don't
7657 expect output. Also, replace lots of code with gdb_test.
7658
7659Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7660
7661 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7662 printing of '\'' (which is what the comment says we are testing,
7663 even though we were not), not '''.
7664 (test_integer_literals_rejected): Test that printing ''' is an error.
7665
7666 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7667 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7668 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7669 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7670 Use gdb_test not test_print_accept.
7671 * lib/gdb.exp: Remove test_print_accept.
7672
7673 * gdb.base/signals.exp (signal_tests_1): Make pass message
7674 consistent with fail message.
7675
7676 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7677 unsigned char; the bug (PR 1821) is fixed.
7678
7679 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7680
7681 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7682 successful tests--makes xfailing them work right.
7683
7684Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7685
7686 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7687 only \r\n, not .*. The test can pass .* as the last thing in
7688 $pattern if that is what it wants. In addition to providing this
7689 flexibility, this change should speed up pattern matching in cases
7690 where the pattern already ended with .* (there were a number of
7691 them). This change also helps catch bad patterns--in the old
7692 scheme the typo "char \*" instead of "char \\*" would pass. Now
7693 it is caught.
7694 * Many .exp files: Update callers.
7695
7696 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7697 clearer and does not spuriously match multiple ('s. Likewise for
7698 ) and *.
7699
7700 * gdb.base/nodebug.exp: Test ability to call a function and pass
7701 it a string (even with no debugging info).
7702
7703 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7704 "p '\'", which is the same as "p ''" once tcl gets done with
7705 quoting, to "p '\\'", which I suspect is what is intended (one
7706 backslash gets sent to GDB).
7707
7708 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7709
7710Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7711
7712 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7713 1817) was fixed literally years ago.
7714
7715Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7716
7717 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7718 test, it causes stepping out of call_after_alloca_subr with
7719 optimizing compilers.
7720 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7721 fails.
7722
7723 * gdb.c++/templates.exp: Source templ-info.exp only if
7724 the templates executable exists.
7725
7726 * gdb.c++/misc.cc (class Contains_static_instance,
7727 class Contains_nested_static_instance),
7728 gdb.c++/classes.exp (test_static_members): Test printing of
7729 a class that contains a static instance of the class.
7730
7731Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7732
7733 * gdb.base/langs2.c (cppsub_): Don't prototype.
7734 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7735 only, I believe).
7736
7737Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7738
7739 * lib/gdb.exp (skip_chill_tests): New procedure.
7740
7741 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7742
7743Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7744
7745 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7746 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7747
7748Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7749
7750 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7751
7752 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7753 disassemble 8, not 16, instructions for part 4.
7754
7755 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7756 support the latter anymore.
7757
7758 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7759 -DNO_PROTOTYPES.
7760 * gdb.base/callfuncs.c: Control use of prototypes based on
7761 NO_PROTOTYPES, not __STDC__.
7762 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7763 t_float_values2 tests if prototypes in use.
7764
7765 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7766 t_double_values): When checking differences against DELTA, check
7767 that difference is within the range (-DELTA,DELTA), not just
7768 (-infinity,DELTA).
7769
7770Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7771
7772 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7773 'file' command firts, then 'target', then 'load', this is due to gdb
7774 target set up.
7775 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7776
7777Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7778
7779 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7780 FP load/store variants.
7781 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7782
7783Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7784
7785 * gdb.base/term.exp: Do not give a warning if not native, it is
7786 not an abnormal condition.
7787
7788Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7789
7790 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7791 t_char_array".
7792
7793Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7794
7795 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7796 are getting the version number.
7797
7798 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7799 if not native, it is not an abnormal condition.
7800
7801Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7802
7803 * lib/gdb.exp: Just use "file exists", rather than undocumented
7804 dejagnu procedure "findfile".
7805
7806Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7807
7808 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7809 (LDFLAGS): Set to -Xlinker -Ur.
7810
7811 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7812 Removed, these values are set by lib/gdb.exp.
7813
7814 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7815
7816Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7817
7818 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7819 of replicating gdb startup code.
7820
7821 * config/mt-vxworks (LDFLAGS): Set to -r.
7822 (CFLAGS_FOR_TARGET): Removed.
7823
7824 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7825 (gdb) and gdb for vxworks uses (vxgdb).
7826
7827 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7828 executable is not in the tree and host != target, use sed and
7829 program_transform_name to determine the gdb name used by the
7830 target.
7831
7832 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7833 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7834
7835Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7836
7837 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7838 floats, chars, and shorts where there are ANSI-style function
7839 definitions.
7840
7841 * gdb.base/langs.exp, gdb.base/langs*: New test.
7842 * gdb.base/Makefile.in: Build it.
7843 * TODO: Remove item about checking that C names don't get C++
7844 demangling applied; this test tests it.
7845
7846Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7847
7848 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7849 went with the const70 xfail. The xfail went away a year ago.
7850
7851 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7852
7853 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7854 for hp300.
7855
7856 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7857
7858 * gdb.base/a1-selftest.exp: Don't run on hp300.
7859
7860Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7861
7862 * Makefile.in (site.exp): Set host_alias and target_alias as well
7863 as host_triplet and target_triplet.
7864
7865Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7866
7867 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7868
7869 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7870 places as other ecoff systems).
7871
7872 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7873 ultrix.
7874
7875Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7876
7877 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7878 remove them.
7879 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7880 variable and "variable" in addition to "data variable".
7881 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7882
7883 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7884 2.
7885 * gdb.base/list1.c (long_line): Add additional statement at start
7886 of function.
7887 * gdb.base/list.exp (test_forward_search): Update line number to
7888 reflect new statement.
7889
7890Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7891
7892 * gdb.base/signals.exp: Reinitialize searched source directories
7893 after gdb_start call.
7894
7895Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7896
7897 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7898 * gdb.stabs/Makefile.in: Likewise.
7899
7900 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7901 change. Instead split the tests into smaller pieces.
7902 * gdb.disasm/hppa.s: Corresponding changes.
7903
7904Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7905
7906 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7907 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7908
7909 * gdb.base/funcargs.exp: Modify many tests so that every test
7910 either passes or fails. Make some test names unique.
7911
7912Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7913
7914 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7915 Call stty to set interrupt character.
7916
7917 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7918 for HP assembler versus GNU assembler based on actual behavior of
7919 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7920
7921 * TODO: Suggest a few more stepping tests.
7922
7923Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7924
7925 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7926 restart GDB for h8300 after a continue.
7927 (return): Add pattern to match a29k-udi behavior.
7928 * gdb.base/nodebug.exp: Remove obsolete comment.
7929 * gdb.base/regs.exp: New file, testing of register displays.
7930 * gdb.base/return.exp: Fix typo in reference to $objdir.
7931 * gdb.base/whatis.exp: Always start with a fresh GDB.
7932
7933Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7934
7935 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7936 higher, these tests generate a lot of output.
7937
7938Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7939
7940 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7941 code following the catch silently ignored some errors; without the
7942 catch they should be thrown like any other tcl error. Also, the
7943 catch used "" instead of {} which meant all the callers who wanted
7944 to include one of the characters "[]$ had to quote it an extra time.
7945 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7946 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7947 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7948 Remove extra quoting.
7949
7950Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7951
7952 * gdb.base/commands.exp: Make test names unique; every test either
7953 passes or fails. Update some comments.
7954
7955 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7956
7957Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7958
7959 The following fixes a FAIL caused by the fact that the alpha stabs
7960 configuration didn't use the ".if alpha" code in weird.def.
7961 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7962 bit pointer, so the 32 bit version works even on the alpha.
7963 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7964 Remove the stuff which allowed us to have separate versions for
7965 alpha and everything else.
7966
7967 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7968 regexp which "info func operator\[\](" is supposed to match. Fix
7969 string to send to GDB. Note that GDB still doesn't work right. Add a
7970 new test for "info func .perator\[\](" which GDB does handle correctly.
7971
7972 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7973
7974Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7975
7976 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7977 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7978 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7979 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7980 it makes the tests harder to understand and confuses test-o-matic.
7981 The preferred style is that each test provides a PASS or a FAIL,
7982 and has a unique message (e.g. "continue #54" not just "continue")
7983 which is the same for the pass and the fail.
7984 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7985 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7986 to lib/gdb.exp.
7987 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7988 prt_accept which was basically the same thing. Likewise for
7989 test_print_reject and prt_reject.
7990 * lib/gdb.exp (test_print_reject): Add some more error message
7991 patterns to match from the former printcmds.exp (prt_reject).
7992 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7993 One defect of the passcount stuff is that some of it failed to
7994 report XPASS where appropriate.
7995 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7996 stuff before and after arg in expected pattern.
7997 (test_paddr_operator_functions): Re-do test without print_addr_of;
7998 this is the only test which seems to want extra stuff there.
7999
8000Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8001
8002 * gdb.base/nodebug.exp: Update new tests to reflect improved
8003 wording of gdb output.
8004
8005 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8006 and "ptype" work on variables in files compiled without -g.
8007 Replaces commented out "maint print msymbol" tests.
8008
8009Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8010
8011 * gdb.base/setvar.c (dummy): Call malloc.
8012
8013 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8014 losing with the irix4 sed.
8015
8016 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8017 ALRM" on irix4.
8018
8019Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8020
8021 * TODO: Remove items about corefile.exp testing new exec-file and
8022 backtrace; both are now done. Add items about printing enums.
8023
8024Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8025
8026 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8027 "get signal $thissig" test fails.
8028
8029 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8030
8031Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8032
8033 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8034 compiler warning with dec alpha compiler.
8035
8036 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8037 extra \n from gdb_test call (this explains why the prompt test
8038 that I removed yesterday was there).
8039 (user_defined_command_test): Remove extra \n and prompt test.
8040
8041 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8042 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8043 doesn't exist.
8044 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8045 Also remove alpha workaround, which turns out to be because
8046 SIGABRT == SIGLOST.
8047
8048 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8049
8050 * gdb.base/help.exp: Don't test "help show".
8051
8052Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8053
8054 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8055 "set print address" is on.
8056 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8057 pass prompt to gdb_test; gdb_test already looks for the prompt.
8058
8059 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8060
8061 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8062 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8063 was to make sure that gdb can read a core file. But (a) the "read
8064 the corefile" part didn't make it to a1-selftest.exp, we just
8065 delete the corefile after creating it, and (b) we test reading
8066 corefiles in corefile.exp anyway. Also, this test left around a
8067 xgdb process on Solaris.
8068
8069 * gdb.base/corefile.exp: Also test backtrace.
8070
8071Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8072
8073 * gdb.base/commands.exp: Test a simple user defined command with
8074 arguments and if/while statements; verify the full user command is
8075 printed by "show user".
8076
8077 * gdb.base/commands.exp: Test if/while commands as part of a
8078 breakpoint command list; verify they appear in breakpoint
8079 information.
8080
8081Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8082
8083 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8084 than by dividing by zero.
8085
8086Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8087
8088 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8089 performing an inferior call with watchpoints enabled.
8090 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8091 call.
8092
8093Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8094
8095 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8096 of "file" command.
8097
8098 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8099 Add additional pattern for when "int operator int(void);" appears
8100 in a different order.
8101
8102Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8103
8104 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8105
8106 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8107 and "signal" with ".*".
8108
8109Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8110
8111 * TODO: Add note about "handle all nostop".
8112
8113 * gdb.base/{sigall.c, sigall.exp}: New test.
8114 * gdb.base/Makefile.in: Add it.
8115
8116Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8117
8118 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8119 when invoking GDB, suppresses any windowing interface.
8120
8121Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8122
8123 * config/sim-gdb: New file, simulator testing support.
8124
8125Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8126
8127 * gdb.base/interrupt.exp: Test calling func1 twice.
8128
8129Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8130
8131 * gdb.base/list.exp (test_forward_search): Set timeout higher
8132 when we'll be getting lots of output from gdb.
8133
8134 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8135 "init_malloc" to after the expect statement. Run it if that
8136 regexp is taken, but also for two others which happen if source
8137 cannot be found.
8138
8139Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8140
8141 * gdb.base/printcmds.exp: New test, for printing register before
8142 program is running.
8143
8144Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8145
8146 * gdb.base/list.exp: Correct some alternate expect patterns
8147 to reflect changes in list1.c.
8148
8149Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8150
8151 * TODO: Add item regarding large frames.
8152
8153 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8154
8155 * TODO: Remove item about enabling return.exp; it
8156 is enabled. Suggest a few more "return" tests.
8157
8158Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8159
8160 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8161 anonymous unions.
8162
8163Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8164
8165 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8166 and pr-5646.o, so "make" is the same as "make all", not "make
8167 pr-4975.o".
8168
8169Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8170
8171 * gdb.base/list.exp: Adjust expectations to reflect changes in
8172 list1.c.
8173 (test_forward_search): New test proc.
8174 * gdb.base/list1.c (long_line): New function, has long source line.
8175
8176Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8177
8178 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8179 additional line of code that was added.
8180
8181Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8182
8183 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8184 tests so as not to overflow expect's input buffers.
8185 * gdb.disasm/hppa.exp: Corresponding changes.
8186
8187Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8188
8189 Beginnings of template debugging tests.
8190 * gdb.c++/templ-info.cc: New file to test for template
8191 debugging capability of the compiler.
8192 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8193 templ-info.cc.
8194 * gdb.c++/templates.cc: Add explicit template instantiations
8195 to enable compiling with -fno-implicit-templates. Add destructor
8196 and 'value' method to T5 class for template tests.
8197 * gdb.c++/templates.exp: Add testcases for printing of template
8198 types, setting breakpoints on template methods and calling a
beb998c6 8199 template method.
c906108c
SS
8200
8201Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8202
8203 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8204 branch target since some assemblers (gas-2.5) may emit a
8205 relocation for the branch instead of resolving it in the
8206 assembler.
8207
8208Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8209
8210 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8211 through signal handler.
8212
8213Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8214
8215 * configure.in (*-*-netware): Use config/mt-netware.
8216
8217 * config/mt-netware: New file.
8218 * config/mt-i386-netware: Removed, separate configs for different
8219 netware architectures are no longer needed now that we have
8220 --with-headers.
8221
8222Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8223
8224 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8225 by the recent changes to use ANSI C arithmetic conversions.
8226
8227Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8228
8229 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8230 bug involving using inferior_pid to figure out whether to select a
8231 frame.
8232
8233Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8234
8235 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8236 match the current disassembler output.
8237
8238Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8239
8240 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8241 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8242 types, expect "int" as type of integer values (for now).
8243
8244Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8245
8246 * gdb.base/commands.exp: New tests for if/while commands.
8247
8248Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8249
8250 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8251 by .*, since hex values have different syntax in Chill mode.
8252
8253Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8254
8255 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8256 linefeed from expect pattern for repeated types with indices > 9.
8257
8258Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8259
8260 First part of Fortran test suite.
8261 * gdb.fortran: New directory.
8262 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8263
8264Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8265
8266 * gdb.base/default.exp: Update expect pattern for load command
8267 without arguments.
8268
8269Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8270
8271 * configure.in: Change i386 to i[345]86.
8272 * gdb.base/configure.in: Likewise.
8273 * gdb.c++/configure.in: Likewise.
8274 * gdb.chill/configure.in: Likewise.
8275
8276Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8277
8278 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8279 patterns, since that is not a valid context for comments.
8280
8281Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8282
8283 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8284 repeated types and repeated types with indices > 9.
8285
8286Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8287
8288 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8289 2417; old bug has been fixed.
8290
8291Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8292
8293 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8294 send the newline ourselves instead of assuming gdb_test will do
8295 so when passed an empty input string.
8296
8297 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8298 stabs testcode.
8299
8300Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8301
8302 * lib/gdb.exp (gdb_test): Don't send anything if the first
8303 argument is an empty string. This makes cases where we want to
8304 match output that is already in expect's buffers (for example,
8305 matching a breakpoint after gdb_run_cmd has been called) work
8306 reliably.
8307
8308Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8309
8310 * config/netware.exp: New file.
8311
8312Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8313
8314 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8315 the -B and -L prefixes so we can find the debugging stub.
8316
8317 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8318 there and we are using the gcc from the tree.
8319
8320 * gdb.base/types.c: Removed.
8321
8322 * gdb.base/configure.in: Look for makefile fragments in ../config.
8323 Recognize i386-*-netware.
8324 * gdb.c++/configure.in: Likewise.
8325
8326Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8327
8328 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8329 the correct TCL syntax.
8330
8331Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8332
8333 * gdb.base/opaque.exp: use runto instead of messing around with
8334 breakpoints. Simplify by using gdb_test.
8335
8336 * gdb.base/bitfields.exp: restart between tests on netware targets
8337 because breakpoints aren't relocated after target death. Run
8338 processes to completion.
8339
8340 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8341
8342Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8343
8344 * Makefile.in: Remove extra tabs that confuse some versions
8345 of "make". Use the newly built gdb to test with by default,
8346 rather than the first one in the tester's search path.
8347
8348Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8349
8350 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8351
8352 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8353 condition help.
8354
8355Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8356
8357 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8358
8359 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8360 running.
8361 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8362 * gdb.base/funcargs.exp: Likewise.
8363
8364 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8365 * gdb.base/funcargs.exp: Likewise.
8366
8367 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8368 message is "".
8369
8370Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8371
8372 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8373 return,signals,twice}.exp: Handle non-existant binaries
8374 consistantly.
8375
8376 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8377 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8378 might testing a cross development system.
8379
8380Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8381
8382 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8383 runtest script is relative to ${srcdir}, not ${rootdir}.
8384
8385Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8386
8387 * gdb.base/signals.exp: Allow for optionality of breakpoint
8388 address.
8389
8390Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8391
8392 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8393
8394Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8395
8396 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8397 for size_t definition.
8398 * gdb.c++/templates.cc: Likewise
8399
8400 * config/mt-i386-netware: New file.
8401
8402 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8403 defined.
8404
8405 * gdb.base/Makefile.in: Added support for systems that name core
8406 files by appending "core" to the program name.
8407 * gdb.base/a1-selftest.exp: Likewise.
8408
8409Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8410
8411 * gdb.base/return.exp: Add comment and message for `return double'
8412 test failure on Sparc Solaris.
8413
8414Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8415
8416 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8417
8418Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8419
8420 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8421 from optimizing them away.
8422 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8423 patterns to include default constructors and assignment operators,
8424 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8425 character in the output of the virtual base pointer.
8426
8427Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8428
8429 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8430 expression match in print_addr_of to avoid unintented matches.
8431 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8432 versions up to 2.5.8.
8433
8434Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8435
8436 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8437 included file to run under newer versions of expect.
8438 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8439 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8440 Remove xfail for the virtual table of BDDHookV.
8441
8442Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8443
8444 * lib/gdb.exp (string_to_regexp): Set a default result.
8445 (default_gdb_start): Fix misleading message.
8446
8447Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8448
8449 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8450 Remove all CC, etc definitions.
8451 * config/mt-hpux: New file.
8452 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8453 (CFLAGS, LDFLAGS): Define.
8454 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8455
8456 * Makefile.in (site.exp): Don't insert host_os, etc.
8457 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8458 (distclean): Check existence of subdir.
8459 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8460 * gdb.base/Makefile.in: General cleanup and simplification.
8461 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8462 to build executables. Use default rule to build .o files.
8463 (EXPECT, RUNTEST, CC): Fix relative pathname.
8464 (site.exp): Don't insert host_os, etc.
8465 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8466 and/or SIGUSR1 defined.
8467 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8468 * gdb.c++/Makefile.in: General cleanup and simplification.
8469 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8470 (CFLAGS): Remove.
8471 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8472
8473Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8474
8475 * gdb.base/recurse.exp: Misc changes to get tests running again
8476 after Kung's changes to the watchpoint code.
8477 * gdb.base/watchpoint.exp: Likewise.
8478
8479Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8480
8481 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8482
8483Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8484
8485 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8486 * lib/gdb.exp (default_gdb_start): Define.
8487 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8488 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8489 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8490 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8491 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8492 Don't call gdb_target_udi in between tests.
8493
8494Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8495
8496 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8497 (which was basically just a local version of the same thing). In
8498 addition to avoiding duplication, gdb_test_exact is faster.
8499 * lib/gdb.exp (gdb_test_exact): Fix typo.
8500
8501 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8502 don't give an error.
8503
8504 * gdb.base/term.exp: Call delete_breakpoints before starting.
8505
8506 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8507 (t10): Add comment.
8508
8509Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8510
8511 Reorganization of the GDB Test Suite.
8512
8513 * gdb.base: New directory, contains all the basic tests.
8514 * gdb.c++: New directory, tests specific to C++.
8515 * gdb.chill: New directory, tests specific to Chill.
8516 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8517 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8518 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8519 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8520 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8521 t30-31 to chill).
8522 * */gdbme.*: Rename to match appropriate expect scripts.
8523 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8524 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8525 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8526 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8527 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8528 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8529 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8530 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8531 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8532 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8533 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8534 gdb.c++/virtfunc.cc: New names of C++ files.
8535 * gdb.chill/chillvars.ch: New name of Chill file.
8536 * gdb.base/configure.in, gdb.c++/configure.in,
8537 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8538 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8539 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8540 * configure.in (configdirs): Update to reflect directory changes.
8541 (target_abbrev): No longer define for any configuration.
8542 * Makefile.in: Cosmetic improvements to header comments.
8543
8544Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8545
8546 Various changes to gdb.t31:
8547
8548 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8549 * gdbme.ch: Make all key-words and predefineds be upper-case.
8550 * chillvars.exp: Expect key-words and predefinds in upper-case.
8551
8552 * chillvars.exp: Use gdb_test_exact many places.
8553 Change expected output for arrays (which now includes index labels).
8554
8555 * pr-5020.exp, gdme.ch (module PR_5020):
8556 New test, for PR-5020.
8557
8558Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8559
8560 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8561 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8562
8563Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8564
8565 * Makefile.in: Fix bit-rot in definitions of CHILL,
8566 CHILL_FOR_TARGET and Chill_LIB.
8567 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8568 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8569 CHILL, and CHILL_LIB.
8570
8571Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8572
8573 * Revert the previous changes. Please see Rob's directory
8574 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8575
8576Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8577
8578 * Makefile.in, configure.in, config/mips-gdb.exp,
8579 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8580 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8581 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8582 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8583 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8584 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8585 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8586 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8587 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8588 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8589 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8590 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8591 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8592 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8593 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8594 changes from 94Q1.
8595
8596Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8597
8598 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8599 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8600 Rob's new testing fragments.
8601
8602Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8603
8604 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8605 lib/gdb.exp: Replace error proc calls with perror.
8606
8607Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8608
8609 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8610 version also, match on casted version strings, and match on
8611 gdb startup case where the line numbers might be messed up.
8612
8613Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8614
8615 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8616 (CFLAGS): Delete it from here.
8617
8618Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8619
8620 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8621
8622Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8623
8624 * Makefile.in (RUNTEST): Default to just "runtest".
8625
8626Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8627
8628 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8629 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8630 the code has been restructured.
8631
8632Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8633
8634 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8635 \n, not just one of each.
8636
8637 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8638 /bin/cc gives a warning if you do.
8639
8640Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8641
beb998c6 8642 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8643 __t10ListS_link1ZUiRCUiPT0
8644
8645Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8646
8647 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8648 on local variables in recursive functions.
8649
8650 * gdb.t07/Makefile.in: Build the new test.
8651
8652Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8653
8654 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8655 directly. Instead compare the return values from actual calls.
8656
8657Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8658
8659 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8660
8661Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8662
8663 * From Peter Schauer with minor modifications.
8664 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8665 stops in mid-line in the caller. Add xfail for returning a float
8666 value on X86 targets.
8667
8668Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8669
8670 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8671 to avoid expect lossage.
8672 (fmem_LRbug_tests): Likewise.
8673 * gdb.disasm/hppa.s: Corresponding changes.
8674
8675 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8676 conditions to work with latest dejagnu/expect.
8677
8678 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8679 expected to fail on the PA.
8680 (backtrace in call with trampolines): Explicitly require main
8681 to be frame #1 (no trampolines should show up in backtrace).
8682
8683 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8684 "continue -expect".
8685 * gdb.t06/break.exp: Likewise.
8686 * gdb.t07/watchpoint.exp: Likewise.
8687 * gdb.t13/bitfields.exp: Likewise.
8688 * gdb.t15/{funcargs,return}.exp: Likewise.
8689 * gdb.stabs/weird.exp: Likewise.
8690 * config/{mips,udi}-gdb.exp: Likewise.
8691
8692 * hppa.sed: Enclose comments within a sed command to avoid
8693 losing with the old OSF1 sed.
8694
8695Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8696
8697 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8698 sequent dynix.
8699 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8700 * gdb.t15/funcargs.exp: Conditionally step again to really
8701 finish from marker_call_with_trampolines. Handle the case where
8702 the first step from within call_with_trampolines already steps
8703 us back to main.
8704 * gdb.t15/gdbme.c: Add comment to closing brace of
8705 call_with_trampolines for funcargs.exp.
8706
8707Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8708
beb998c6 8709 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8710 Fix typo(s).
8711
8712Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8713
8714 * gdb.t07/gdbme.c: More code for watchpoint testing.
8715
8716 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8717 "Hardware watchpoint" throughout file.
8718 (test_watchpoint_triggered_in_syscall): New test.
8719 (test_complex_watchpoint): New test.
8720
8721Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8722
8723 * gdbme.c (call_with_trampolines): New function to try and step
8724 into. Tests trampoline problems on the PA.
8725
8726 * funcargs.exp (localvars_in_indirect_call): No longer expect
8727 stepping into indirect call to fail on PAs.
8728 (test_stepping_over_trampolines): New test.
8729
8730Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8731
8732 * TODO: Add suggestions for static member function tests, and
8733 completion tests.
8734
8735Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8736
8737 * TODO: Add suggestions for "p/a" tests.
8738
8739 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8740 (default_gdb_exit): Replace all the hair with sending "quit" to
8741 the process with a simple close.
8742
8743Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8744
8745 * TODO: Add suggestions for shared library tests.
8746
8747Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8748
8749 * TODO: Add suggestions for x/s tests.
8750
8751Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8752
8753 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8754 "enable once", and "enable breakpoints once" with ".*".
8755
8756Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8757
8758 * TODO: Add suggestions about structure passing tests.
8759
8760Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8761
8762 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8763 the primary1 test, use work around if __GNUC__ < 2.
8764 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8765 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8766 Test for bad output rather than waiting for timeout. Issue
8767 second continue only if first continue failed.
8768
8769Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8770
8771 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8772 operator[] test with gdb_test because the old code didn't seem to
8773 be getting the quoting right with the new dejagnu.
8774
8775Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8776
8777 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8778 one from the path.
8779 * Makefile.in: Use a fresh expect if there is one, use runtest
8780 from the src tree if there is one.
beb998c6 8781
c906108c
SS
8782Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8783
8784 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8785 next over recursive call. Revise the tests from that point on
8786 (which had been skipped) to match GDB's actual (correct) output.
8787
8788 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8789 with next over a breakpoint whose condition is false.
8790
8791 * gdb.t00/help.exp: Comment out "help set print" tests just like
8792 (and for same reason as) "help set" test.
8793
8794Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8795
8796 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8797 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8798
8799Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8800
8801 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8802 necessary gdb_target_udi.
8803
8804 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8805
8806 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8807 1838 and 2417; they are fixed.
8808
8809 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8810 gdb.t03/ptype.exp (ptype structure, ptype union):
8811 Remove xfails; the test is looser than when the xfails were added.
8812
8813 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8814 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8815
8816 * gdb.t01/run.exp: Only run shell test if isnative.
8817
8818 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8819 since "run" automatically loads if necessary. Call gdb_target_udi
8820 after the "file" since "file" kills any execution target.
8821
8822 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8823 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8824 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8825 argument for UDI.
8826
8827Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8828
8829 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8830
8831 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8832
8833Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8834
8835 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8836 properly quoting regexps. This makes the second argument to
8837 demangle a fixed string, which matches the callers, instead of a
8838 shell-style pattern which is what the previous implementation
8839 used. Update some of the callers.
8840
8841Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8842
8843 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8844 (comib_nullified_tests): Fix typo.
8845 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8846 strings. No longer expected to fail.
8847
8848 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8849 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8850 strings. No longer expected to fail.
8851
8852 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8853 string. No longer expected to fail.
8854
8855Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8856
8857 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8858 No longer expected to fail.
8859
8860 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8861 string. No longer expected to fail.
8862
8863Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8864
8865 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8866 only in the names (I probably got most of them). I was even
8867 generous with some which differed in underscores in names, and
8868 probably missed a few, and I *still* was able to remove almost a
8869 third of the file with almost no impact on testsuite coverage.
8870
8871Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8872
8873 * gdb.t00/default.exp: Match udi_attach error message as well as
8874 the one from child_attach.
8875
8876 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8877
8878 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8879
8880 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8881 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8882
8883 * Move test with enums and partial symbols back to
8884 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8885 Reverts the change of 26 May 93. Per today's change to
8886 stabs.texinfo, the behavior that weird.exp was expecting was
8887 unreasonable; what is important is that the compiler+gdb get
8888 things right, which happens with a recent gcc. Also fix the test
8889 to deal with native compilers which put out the stab gdb can't
8890 deal with.
8891
8892Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8893
8894 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8895 in the names. The main thing these accomplish is to slow things down.
8896 Many more such duplicates surely remain.
8897
8898 * gdb.t00/help.exp: Comment out "help support" test just like
8899 (and for same reason as) "help set" test.
8900
8901Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8902
8903 * gdb.t06/break.exp: Remove setup_xfails for
8904 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8905 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8906 about known bug in gcc to include up through 2.5.8.
8907 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8908 well as "_vb$".
8909 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8910 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8911 with latest gcc and gdb.
8912 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8913 well as "_vb$".
8914
8915Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8916
8917 * configure.in (hppa*-*-*): Also configure and build stabs-only
8918 tests.
8919
8920Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8921
8922 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8923 * gdb.t10/configure.in (hppa*-*-*): Use it.
8924
8925Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8926
8927 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8928
8929Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8930
8931 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8932 versions prior to 1.13.5.
8933
8934Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8935
8936 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8937 the prompt is at the start of a line.
8938
8939Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8940
8941 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8942 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8943 in the copr tests now.
8944 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8945 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8946 expected to fail.
8947
8948Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8949
8950 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8951 gdb.t31/chillvars.exp, lib/gdb.exp:
8952 Tweak to run under either version of expect.
8953 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8954 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8955 * gdb.t11/list.exp: Remove extraneous whitespace.
8956
8957Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8958
8959 * gdb.t16/printcmds.exp (test_print_strings): Accept
8960 "(unsigned char *) " before the string.
8961
8962 * TODO: Add notes about printing of fancy types and GDB expressions.
8963
8964Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8965
8966 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8967 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8968 if doing mips-idt-ecoff.
c906108c
SS
8969
8970Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8971
8972 * Most .exp files: Tweak to run under either version of expect.
8973
8974Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8975
8976 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8977 xfails; I'm not sure why they are failing, but not because of PR 1806.
8978
8979Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8980
8981 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8982 defined in lib/gdb.exp.
8983
8984Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8985
8986 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8987 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8988 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8989 have to be typeless.
8990
8991Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8992
8993 * TODO: Add suggestion for copyright year test.
8994
8995Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8996
8997 * configure.in (*-*-lynxos*): Add stabs tests.
8998
8999Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9000
9001 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9002 so insert a tab before any assembler directive in column zero.
9003
9004 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9005 stores.
9006 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9007 stores.
9008 (fpu_short_memory_tests): Likewise.
9009
9010Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9011
9012 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9013 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9014 .stabs directives in comments.
9015
9016Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9017
9018 * TODO: New file, describing tests we could write.
9019 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9020
9021Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9022
9023 * gdb.t06/signals.exp: Add kludge to force re-sync.
9024
9025 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9026 to xgdb instead of gdb, get out of gdb.
9027
9028Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9029
9030 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9031 for info.
9032
9033Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9034
9035 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9036 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9037 * gdb.stabs/hppa.sed: New sed script for the PA.
9038
9039Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9040
9041 * gdb.stabs: Re-write weird.def and configuration to use sed
9042 instead of cpp. sed is portable and POSIX; cpp is neither.
9043
9044Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9045
9046 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9047
9048Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9049
9050 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9051
9052Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9053
9054 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9055 "_vb$".
9056 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9057 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9058
9059Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9060
9061 * lib/gdb.exp: Comment out code which depends on non-existent
9062 `transform' procedure.
9063
9064Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9065
9066 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9067 * lib/gdb.exp: Transform tool name.
9068 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9069 1.1's new error handling system.
9070
9071Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9072
9073 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9074
9075Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9076
9077 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9078 They made pattern matching so slow that timeouts happened on
9079 heavily loaded systems. Now any output from "show print" which
9080 gets us back to the GDB prompt is a PASS.
9081
9082Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9083
9084 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9085
9086Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9087
9088 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9089
9090 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9091 It is not from PR 3220.
9092
9093Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9094
9095 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9096 just started failing because they depended on the order the
9097 subcommands are presented, or exact docstring text. This kind of
9098 test is a pain and has minimal benefit.
9099
9100Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9101
9102 * gdb.t09/corefile.exp: At end of test, use "core" command with
9103 no arguments.
9104
9105Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9106
9107 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9108 17}/Makefile.in: Make it possible to run the testsuite with Sun
9109 make and CC = cross gcc by adding explicit build rules for .o
9110 files.
9111
9112Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9113
9114 * gdb.t15/funcargs.exp: Don't put comments on same line as
9115 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9116
c906108c
SS
9117Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9118
9119 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9120
9121Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9122
9123 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9124 * gdb.t20/inherit.exp: remove three dumplicate entries.
9125
9126Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9127
9128 * gdb.t06/break.exp: For "next over recursive call", fail on any
9129 incorrect output, not just on "factorial (value=2)".
9130
9131Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9132
9133 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9134 working now. Add an xfail if accesing a bss variable causes
9135 a memory error if the target is not yet run.
9136
9137Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9138
9139 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9140 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9141 name of __st* demangling (2 strings). Did Kung really get the
9142 more than 95 others right without testing them?
9143
9144Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9145
9146 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9147
9148Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9149
9150 * configure.in (configdirs): Add gdb.disasm
9151 * gdb.disasm: New directory for GDB disassembler tests.
9152 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9153
9154Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9155
9156 * gdb.t00/help.exp: Don't test "help set".
9157
9158 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9159 from within expect statements. None of these happen anymore and
9160 they cause regressions to be silently unnoticed.
9161
9162 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9163 messages) about known failures with gcc cygnus-2.4.5-930417.
9164
9165 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9166 comp-info.exp so it gets built if it doesn't exist.
9167
9168 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9169 it is no longer used.
9170 * gdb.t13/comp-info.c: Removed.
9171
9172Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9173
9174 * gdb.t06/signals.exp: Add xfail for sun3.
9175
9176Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9177
9178 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9179 relevant because ^C doesn't get sent but failure can be reproduced
9180 interactively).
9181
9182Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9183
9184 * gdb.stabs/alpha.mt: New configuration file for alpha.
9185 * gdb.stabs/configure.in: Use it.
9186 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9187 sharing with alpha.mt, redefine long to word via preprocessor.
9188 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9189 for alpha.
9190 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9191 native cc.
9192 * gdb.t00/teststrategy.exp: Change expect string so that we
9193 consume the `(xgdb)' from the command echo and from the gdb prompt.
9194 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9195 gdb currently compares all values as long, so this failure probably
9196 applies to any configuration where LONGEST is bigger than a target int.
9197 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9198 with gcc.
9199 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9200 to handle opaque pointers, gcc is.
9201 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9202 as first argument. Include <sys/types.h> and change all operator
9203 new definitions to use size_t.
9204 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9205 now that we use size_t.
9206
9207Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9208
9209 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9210 a long or float array cast all array members to the same type.
9211 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9212 with 64 bit longs.
9213 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9214 on alpha.
9215 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9216
9217Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9218
9219 * gdb.t24 (demangle.exp): Constructors of templates have names like
9220 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9221 section 14.6 of the ARM.
9222
9223 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9224 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9225 accomplish little and slow down the testsuite.
9226
9227 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9228 Accept spaces various places.
9229
9230Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9231
9232 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9233 with watchpoint enabled.
9234
9235 * Makefile.in: Remove definition of CC and remove the second
9236 definition of CXX (the "CXX = gcc" one remains). These definitions
9237 were causing backquotes to be expanded within backquotes, which
9238 doesn't work.
9239
9240Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9241
9242 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9243
9244Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9245
9246 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9247 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9248 by mips cc and contains no stabs entries.
9249
9250Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9251
9252 * config/vx-gdb.exp: Use fake device to load files rather than
9253 NFS.
9254 * lib/gdb.exp: New proc to do "file" command.
9255 * config/unix-gdb.exp: Use new "file" proc.
9256
9257Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9258
9259 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9260 Rework board rebooting slightly.
9261 (gdb_exit): Don't exit from the remote shell; there isn't one.
9262 * gdb.stabs/weird.exp: If a program is being debugged already,
9263 kill it.
9264 * gdb.t04/setvar.exp: Stop and restart gdb.
9265 * gdb.t05/expr.exp: Likewise.
9266 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9267 restart gdb and reload the program.
9268 * gdb.t08/opaque.exp: Likewise.
9269 * gdb.t12/scope.exp: Likewise.
9270 * gdb.t13/bitfields.exp: Likewise.
9271 * gdb.t15/funcargs.exp: Likewise.
9272 * gdb.t20/classes.exp: Likewise.
9273 * gdb.t03/ptype.exp: Increase timeout.
9274 * gdb.t16/printcmds.exp (test_print_string_constants,
9275 test_print_array_constants): Likewise.
9276 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9277 * gdb.t20/classes.exp (do_tests): Likewise.
9278 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9279
9280Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9281
9282 * gdb.stabs: Renamed *wierd* to *weird*.
9283
9284Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9285
9286 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9287 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9288
9289Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9290
9291 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9292 (do_tests): Remove xfail for whatis on one_var and two_var.
9293
9294Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9295
9296 * Makefile.in: Made cross building work better by adding
9297 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9298
9299Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9300
9301 * gdb.t15/{return.c,return.exp,Makefile.in}:
9302 New test, currently commented out.
9303
9304Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9305
9306 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9307 still running and removes the leftover named socket so GDb can do
9308 clean restarts.
9309
9310Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9311
9312 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9313 console, not GDB.
9314 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9315 cross testing works better with "make check"
9316 * config/unix-gdb: Use default procedures for exit and version.
9317 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9318 with the newest VxWorks.
9319
9320Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9321
9322 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9323 old form.
9324
9325 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9326 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9327
9328 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9329
9330 * config/unix-gdb.exp: Remove this version of gdb_exit
9331 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9332 Rob says he'll look at it when he gets back to testing boards.
9333
9334Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9335
9336 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9337 an expected fail for certain ptype commands.
9338
9339 * gdb.t20/classes.exp: Update expected results of "ptype class
9340 Base1" to account for the constructor that now appears in the type.
9341
9342Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9343
9344 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9345 disappeared from list.
9346 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9347 "alldone" proc with call to cleanup and exit.
9348 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9349 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9350 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9351 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9352 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9353 "alldone" proc with simple returns that suppress remaining
9354 tests. The alldone proc went away many months ago.
9355
9356Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9357
9358 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9359
9360 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9361
9362Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9363
9364 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9365 as vax gdb will display them.
9366
9367Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9368
9369 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9370 optimizers.
9371
9372 * scope.exp: Change "bad value for localval" messages so each one
9373 is unique.
9374
9375 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9376 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9377
9378 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9379
9380Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9381
9382 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9383 doesn't exist (due to optimization).
9384
9385Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9386
9387 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9388 contains \r because the filename is long.
9389
9390 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9391 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9392
9393Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9394
9395 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9396 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9397 Ultrix.
9398 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9399 int tests.
9400 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9401
9402Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9403
9404 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9405
9406 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9407 to match does not match the passing case but still matches the
c906108c
SS
9408 failing case.
9409
9410Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9411
9412 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9413
9414Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9415
9416 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9417 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9418 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9419 Remove various versions of gdb_exit.
9420 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9421 gdb_exit.
9422 * config/unix-gdb.exp: gdb_exit remains here, and should override
9423 the generic version, since it's doing a lot of wierd stuff that
9424 the other versions aren't. FIXME, fold it in, or abandon this
9425 version.
9426
9427Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9428
9429 * gdb.t24/demangle.exp: Add tests for PR 3220.
9430
9431Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9432
9433 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9434
9435Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9436
9437 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9438 "i386-*-*". Works for i486 as well.
9439
9440 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9441 bug, and expand domain of xfail to all SVR4 systems, since the
9442 actual problem is likely to be in generic SVR4 /proc support.
9443
9444Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9445
9446 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9447
9448Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9449
9450 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9451 xfails for other systems. Match a missing 'Continuing.' as an
9452 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9453
9454 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9455 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9456 Only issue warning for missing executables if -all option is used.
9457
9458 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9459 file if -all option is used. It's like an unpredictable XFAIL.
9460
9461Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9462
9463 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9464 for dynamically linked binaries.
9465
9466 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9467
9468Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9469
9470 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9471 to state that this is a known bug in old versions of g++.
9472
9473Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9474
9475 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9476 while waiting for `Continuing'.
9477
9478Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9479
9480 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9481 in text, data, and bss.
9482 * gdb.t10/nodebug.c: Add local and global test variables for
9483 initialized and uninitialized data.
9484
9485Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9486
9487 * config/unix-gdb.exp (gdb_exit): Add "wait".
9488
9489Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9490
9491 * gdb.t06/signals.exp: xfail the continue from the handler for all
9492 targets.
9493
9494 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9495 function with watchpoints enabled, the i386 call dummy starts with
9496 a call.
9497
9498 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9499 386 bsd names its corefiles.
9500
9501Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9502
9503 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9504 compilers don't grok it.
9505 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9506 with small octal ints rather than character constants, which
9507 are signed and might not fit if first promoted to int.
9508
9509Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9510
9511 * gdb.t09/Makefile.in (clean): Remove corefile.
9512
9513Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9514
9515 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9516
9517Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9518 and Jim Kingdon (kingdon@cygnus.com)
9519
9520 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9521 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9522 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9523
9524Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9525
9526 * gdb.t17/interrupt.exp: Add xfail for hppa.
9527
9528Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9529
9530 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9531 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9532 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9533 to determine signed-ness of bitfields and use the result to setup
9534 the xfail.
9535 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9536 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9537 call line is reached if necessary.
9538
9539Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9540
9541 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9542
9543Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9544
9545 * gdb.t06/break.exp: Also test `clear' command.
9546
9547Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9548
9549 * gdb.t00/teststrategy.exp: Remove extra quote.
9550
9551 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9552 watchpoint enabled to be for all non-68k machines.
9553
9554 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9555
9556Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9557
9558 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9559 targets use aout.mt instead of ecoff.mt as gas understands
9560 standard aout format.
9561
9562Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9563
9564 * lib/gdb.exp (runto): Don't insist that function we are running to
9565 was compiled with -g.
9566
9567 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9568
9569 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9570 to get back into the read system call.
9571 Accept leading newline in case where we woke it up.
9572
9573Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9574
9575 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9576 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9577 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9578 enable ecoff configuration.
9579
9580Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9581
9582 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9583
9584Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9585
9586 * gdb.t16/printcmds.exp: Add another printf test.
9587
9588Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9589
9590 * configure.in: If configured -with-stabs on any target, add
9591 stabsdirs to configdirs.
9592
9593Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9594
9595 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9596 fun" so pattern does not match the command itself.
9597
9598Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9599
9600 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9601
9602Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9603
9604 * gdb.t17/interrupt.exp: Test for more things.
9605
9606Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9607
9608 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9609 compiler arranges the code and line numbers.
9610
9611 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9612
9613Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9614
9615 * gdb.t00/help.exp: Increase expect input buffer size.
9616
9617Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9618
9619 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9620
9621 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9622
9623 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9624
9625 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9626 [0-9]*, not just [0-9].
9627
9628Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9629
9630 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9631
9632 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9633
9634Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9635
9636 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9637
9638Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9639
9640 * gdb.t06/signals.c: Add xfails for sun3.
9641
9642 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9643
9644 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9645 test_stepping tests.
9646
9647Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9648
9649 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9650
9651 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9652
9653 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9654 rather than actually putting it through cpp twice.
9655
9656 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9657
9658Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9659
9660 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9661 no longer needed.
9662
9663Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9664
9665 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9666
9667 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9668 C++ features prints as "struct", make it a pass, not an xfail.
9669
9670Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9671
9672 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9673 Don't require VA to print as "class" rather than "struct".
9674
9675Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9676
9677 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9678
9679Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9680
9681 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9682
9683Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9684
9685 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9686 order.
9687
9688Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9689
9690 * gdb.t16/printcmds.exp: Add printf tests.
9691
9692 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9693
9694 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9695
9696Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9697
9698 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9699 pass counts, to counteract any existing or future setup_xfails.
9700
9701Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9702
9703 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9704 {BEGIN,END}_COMMON for common block instead of STAB.
9705 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9706
9707 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9708 intp_var should be N_GSYM not N_LSYM.
9709 wierd-aout.S: Use a label for the value of the N_SO.
9710 wierd.def: Remove all backslashes.
9711 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9712
9713Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9714
9715 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9716 get the expected next to inheritance3.
9717
9718Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9719
9720 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9721 now that gcc-2.4 gets it right.
9722
9723Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9724
9725 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9726
9727 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9728 generating comp-info.exp which works for cross-compilation.
9729
9730Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9731
9732 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9733 "*-*-sysv4.*".
9734
9735Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9736
9737 * gdb.t01/run.exp: Start with a fresh gdb.
9738 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9739 SVR4.x.
9740
9741Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9742
9743 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9744 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9745 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9746 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9747 things to remove.
9748
9749Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9750
9751 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9752 test cases from bug reports.
9753
9754Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9755
9756 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9757 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9758 avoid spurious xfails.
9759 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9760 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9761 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9762
9763Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9764
9765 * gdb.t00/teststrategy.exp: Rework to provide more useful
9766 description of each test, fix problem with systems that define
9767 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9768 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9769 results for "next over recursive call" so timeouts aren't taken
9770 by error.
9771
9772Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9773
9774 * gdb.t12/scope.exp: Test printing of variables before run.
9775
9776 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9777 printed in wrong order due to sorting.
9778
9779Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9780
9781 * gdb.t00/teststrategy.exp: Fix expected results for printing
9782 user entered string constant. Is array of char, prints with no
9783 address.
9784
9785 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9786 commands.
9787 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9788 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9789 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9790 of struct of char arrays.
9791 * gdb.t00/radix.exp: New tests for radix commands.
9792
9793Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9794
9795 * gdb.t16/printcmd.exp: Print a variable before running program
9796 (with xfail for AIX).
9797
9798Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9799
9800 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9801
9802 * gdb.t16/printcmd.exp: Don't print variables before running program.
9803
9804 * gdb.t06/break.exp: Don't require envp argument to main.
9805
9806 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9807
9808 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9809 Add xfails for rs6000.
9810
9811 * gdb.t02/whatis.exp: Change other tests not to re-test something
9812 we already tested.
9813
9814 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9815 each type used has a variable of that type.
9816
9817Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9818
9819 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9820
9821Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9822
9823 * configure.in: change srctrigger to be a file, not a directory
9824
9825Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9826
9827 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9828
9829 * gdb.t11/list.exp: Fixed a couple of typos.
9830
9831Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9832
9833 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9834 is fixed and PR is closed.
9835 * gdb.t16 (gdbme.c): Add simple test string variable.
9836 * gdb.t16 (printcmds.exp): Add tests with simple test string
9837 variable, primarily for boundaries on "set print elements".
9838
9839Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9840
9841 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9842 Make leading 0's optional and don't expect a tab in the middle
9843 of the number.
9844
9845 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9846
9847 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9848 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9849 don't end command passed to gdb_test with newline.
9850
9851 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9852 signed keyword away, don't expect signed bitfields to be signed.
9853
9854 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9855 printing with only as many 1's as are in the field as well as printing
9856 with 32 1's (see comment).
9857
9858Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9859
9860 * gdb.t00/default.exp: Start with a fresh gdb.
9861 * configure.in (configdirs): Remove gdb.t31 until the chill
9862 compiler works again. It no longer is able to find chillrt0
9863 since it isn't in libchill.a anymore.
9864 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9865 wierd.o, make more modular.
9866 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9867 spurious newlines that caused problems.
9868
9869Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9870
9871 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9872 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9873 gdb.stabs/wierd.{exp,def}: Many new tests.
9874
9875 * gdb.t00/default.exp: update info line for new message.
9876
9877 * gdb.t02/{whatis.exp,gdbme.c}:
9878 Test that "char *" doesn't print as "caddr_t".
9879
9880Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9881
9882 * gdb.t00/help.exp: Use .* in place of some help messages which
9883 just changed.
9884 gdb.t00/default.exp: Update "info frame" test for new message.
9885 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9886 Remove some xfails
9887
9888Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9889
9890 * gdb.t03/{gdbme.c,ptype.exp}:
9891 Add tests for typedef'd struct and union without tags.
9892 Also check "whatis" on a variable of a typedef'd enum without a tag.
9893
9894 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9895 PRMS 1823; the bug still exists but isn't reproduced by this test
9896 anymore), and remove rs6000 XFAIL (the bug is fixed).
9897
9898 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9899 duplicated from whatis.exp. For those that are left, accept
9900 "long", "long int", or "int" for long variables (whatis.exp already
9901 has an XFAIL for "int", so no need to fail it here).
9902
9903 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9904 Deal with GCC's names for types now that GDB uses the compiler's names.
9905
9906 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9907 setup_xfail's for sunos4. If we #defined the signed keyword away,
9908 don't expect GDB to know that char it is signed.
9909
9910 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9911
9912Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9913
9914 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9915 should work on any system, regardless of debugging format.
9916 * gdb.t21/demangle.exp: Move to gdb.t24.
9917 * gdb.t24/demangle.exp: Move from gdb.t21.
9918 * gdb.t24/{Makefile.in, configure.in}: New files.
9919
9920Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9921
9922 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9923 * gdb.stabs: New directory.
9924
9925Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9926
9927 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9928 not just "Quit anyway?".
9929
9930Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9931
9932 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9933 that all setup_xfails are immediately followed by clear_xfails.
9934
9935Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9936
9937 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9938 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9939 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9940 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9941 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9942 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9943 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9944 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9945 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9946 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9947 gdb.t31/chillvars.exp, lib/gdb.exp:
9948 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9949 bug-gdb@prep.ai.mit.edu.
9950
9951Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9952
9953 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9954 with 0.0, not integer 0.
9955
9956Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9957
9958 * gdb.t06/break.exp: Update for "Kill the program" message change.
9959
9960Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9961
9962 * Makefile.in (GDBFLAGS): Set to -nx.
9963 * Makefile.in (site.exp): Use GDBFLAGS.
9964
9965Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9966
9967 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9968 Makefiles.
9969 (check): depend on just-check.
9970 (just-check): added so that tests can be run without a noop
9971 build pass.
9972
9973Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9974
9975 Switch to using configure's configdirs.
9976 * Makefile.in (Makefile): add configure.in dependency.
9977 (SUBDIRS): removed redundant assignment.
9978 * configure.in: switch subdirs assignment to configdirs.
9979 * gdb.t*/configure.in: new files.
9980
9981Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9982
9983 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9984 works.
9985
9986Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9987
9988 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9989 in explicit rules. Apparently this is not supported by some makes.
9990
9991Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9992
9993 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9994
9995Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9996
9997 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9998 disappeared.
9999
10000Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10001
10002 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10003
10004Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10005
10006 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10007 watchpoint problem that is now fixed.
10008 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10009 uninitialized convenience variables.
10010 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10011 structures.
10012
10013Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10014
10015 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10016 which causes expect to get out of sync with gdb on long output
10017 from help set.
10018 * gdb.t09/corefile.exp: Make expected pattern for core file
10019 failing signal and frame output format less sun specific.
10020
10021Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10022
10023 * gdb.t31/chillvars.exp: Add and remove initial dummy
10024 breakpoint, so that symbol table is forced in.
10025 (Needed at least on Sunos4, though it seems not SVR4.)
10026 * gdb.t31/chillvars.exp: Update for changed output format.
10027
10028Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10029
10030 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10031
10032Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10033
10034 * Makefile.in: Added --srcdir when invoking runtest, removed the
10035 need for a local config file. (optional now)
10036
10037Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10038
10039 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10040 failure count used to force early termination. Add some more
10041 expected failures for gnu style demangling.
10042
10043Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10044
10045 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10046 pmi variable from gdb.t20/gdbme to get optimized away.
10047 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10048 Check for written corefile upon timeout _and_ eof.
10049
10050Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10051
10052 * config/unix-gdb.exp: Add missing return 0.
10053
10054Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10055
10056 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10057 test termination.
10058
10059Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10060
10061 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10062 disappeared.
10063
10064Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10065
10066 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10067 time as i860 support works.
10068
beb998c6 10069 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10070 "backtrace 100\r" rather than just "backtrace\r", to match last
10071 change.
10072
10073Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10074
10075 * config/udi-gdb.exp (gdb_exit): Remove close command.
10076 (gdb_target_udi): New procedure to set the UDI target.
10077 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10078 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10079 Added waits for prompts after several question responses. Added
10080 some more responses used by a29k-amd-udi-gdb.
10081 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10082 pass different arguments, restart UDI connection after program
10083 completion.
10084 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10085 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10086 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10087 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10088 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10089 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10090 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10091 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10092 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10093 after program completion.
10094 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10095 compiled with a SELECT_VECS setting.
10096 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10097 infinite recursion.
10098
10099 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10100 Added checks for COFF results, and made them expected failures for
10101 all targets. It would be better to make them expected failures
10102 for COFF targets only.
10103
10104Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10105
10106 * Makefile.in: add null dvi target, don't bother to recurse
10107 through test directories for info and install-info; rename
10108 $(datadir) to be dejagnu instead of deja-gnu
10109
10110Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10111
10112 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10113 compiler to coredump.
10114 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10115 code.
10116
10117Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10118
10119 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10120 coredump.
10121 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10122 code.
10123
10124Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10125
10126 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10127 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10128 which in a shell. Deletes xgdb when done.
10129 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10130 Tests the return from the "set height" or "set width" commands.
10131 Added a few return codes where needed.
10132
10133Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10134
10135 * Makefile.in (SUBDIRS): Add gdb.t17.
10136 * configure.in (subdirs): Add gdb.t17.
10137 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10138 files to test gdb's calling of functions in the inferior with
10139 the correct arguments and gdb's ability to retrieve any
10140 result returned.
10141
10142Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10143
10144 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10145 may be called after gdb goes away. Previous versions of expect
10146 needed these to avoid file descriptor leaks, but they cause
10147 errors with the current revision of expect.
10148 * gdb.t00/gdbvars.exp: Use -re on expected output after
10149 setting sevenbit-strings.
10150 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10151 to set sevenbit-strings consistent across tests.
10152 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10153 set sevenbit-strings consistent across tests.
10154
10155Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10156
10157 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10158 expected output to match current "expect" expectations.
10159
10160Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10161
10162 * gdb.t00/default.exp: Change expected output for default "source"
10163 command, to match new gdb behavior which requires a filename to
10164 source.
10165
10166Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10167
10168 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10169 expected fail for i486-*-* that misses the marker2 function.
10170 * gdb.t10/crossload.exp (bfddefault): Allow successful
10171 recognition of a format to pass even if no symbols are found.
10172 Explicitly catch failures where the format is not recognized
10173 or is ambiguous, and add the reason to the fail message.
10174 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10175 the cause is and invalid target and add reason to failure message.
10176 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10177 elf32-i386, elf32-sparc, and elf32-i860.
10178 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10179 Set up expected failure for 'filename'::variable scope resolution,
10180 which is now apparently broken on all targets.
10181 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10182 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10183 gdb.t23/templates.exp: Change failure for missing binfile into
10184 just a warning.
10185 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10186 references.
10187
10188Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10189
10190 * gdb.t00/default.exp: Add expected output for default "source"
10191 command, to match new gdb behavior.
10192 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10193
10194Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10195
10196 * config/*-gdb.exp: returns an error, rather than exiting on
10197 internal errors.
10198
10199Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10200
10201 * gdb.t03/gdbme.c: Add pointer to struct variable.
10202 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10203 referencing struct members.
10204
10205Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10206
10207 * configure.in (mips-idt-ecoff): New target.
10208 * config/mips-gdb.exp: New file for remote board using MIPS remote
10209 debugging protocol.
10210
10211 * Redid configuration scheme. Removed gdb.t*/configure.in.
10212 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10213 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10214 distclean targets. Built executables via .o files. Adjusted
10215 tests to account for source files in $(srcdir) rather than
10216 $(objdir).
10217 * lib/gdb.exp (runto): Don't expect () after the function name,
10218 because it may have arguments.
10219
10220Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10221
10222 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10223 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10224 expected failures for mips-idt-* and mips-sgi-*.
10225 * gdb.t00/default.exp (attach): Kill process if requested.
10226 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10227 that does not read core files.
10228 * gdb.t01/run.exp: Removed checks for exit status code.
10229 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10230 it is linked in.
10231 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10232 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10233 appropriate, rather than doing it by hand.
10234 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10235 execution.
10236 * gdb.t10/crossload.exp: Kill existing program if needed.
10237 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10238 appropriate, rather than doing it by hand. Always increase
10239 timeout for this test, not just for VxWorks.
10240
10241Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10242
10243 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10244 of Chill STRUCT types and STRUCT values.
10245 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10246 than "char".
10247 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10248 struct2): New struct definitions and initializations to test
c906108c
SS
10249 simple Chill STRUCT types.
10250
10251Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10252
10253 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10254 the null byte at the end of strings.
10255 * gdb.t00/default.exp: Make show version insensitive to copyright
10256 date.
10257 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10258 to avoid dependencies on target char signedness.
10259 * gdb.t16/printcmds.exp: Update expected results for explicitly
10260 unsigned char.
10261 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10262 now work.
10263 * gdb.t21/demangle.exp: Add many more patterns for template
10264 demangling, most of them being expected failures.
10265 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10266 string we are matching for, to match on the whole string.
10267 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10268 and fix a whole bunch that had incorrect expected output but were
10269 passing anyway because of the bug in "proc demangle".
10270 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10271 type.
10272 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10273
10274Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10275
10276 * gdb/testsuite: made modifications to testcases, etc., to allow
10277 them to work properly given the reorganization of deja-gnu and the
10278 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10279
10280Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10281
10282 * gdb/testsuite: Initial creation of gdb/testsuite.
10283 Migrated dejagnu testcases and support files for testing nm to
10284 gdb/testsuite from deja-gnu. These files were moved "as is"
10285 with no modifications. This migration is part of a major overhaul
10286 of dejagnu. The modifications to these testcases, etc., which
10287 will allow them to work with the new version of dejagnu will be
10288 made in a future update.
10289\f
10290Local Variables:
10291mode: indented-text
10292left-margin: 8
10293fill-column: 74
10294version-control: never
10295End:
This page took 0.875408 seconds and 4 git commands to generate.