* gdb.base/corefile.exp: Tolerate stuff after argument parens in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e3e5a4f3
JB
12003-05-22 Jim Blandy <jimb@redhat.com>
2
3 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
4 backtrace.
5
72fe3d25
DC
62003-05-20 David Carlton <carlton@math.stanford.edu>
7
8 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
9 this time.
10
58da2eb2
DC
112003-05-19 David Carlton <carlton@bactrian.org>
12
13 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
15
1fcb5155
DC
162003-05-19 David Carlton <carlton@bactrian.org>
17
18 * gdb.c++/namespace.exp: Add namespace scope and anonymous
19 namespace tests.
20 Bump copyright date.
21 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22 (main): Call C::D::marker2.
23 * gdb.c++/namespace1.cc: New file.
24
85e85163
JJ
252003-05-14 Jeff Johnston <jjohnstn@redhat.com>
26
27 Roland McGrath <roland@redhat.com>
28 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
29 there is no manager thread.
30
a25fbfec
JJ
312003-05-08 Jeff Johnston <jjohnstn@redhat.com>
32
33 * gdb.threads/schedlock.exp: Remove assumption that all threads
34 will run in a particular small time slice. Also ensure we break
35 in one of the child threads rather than the main thread.
36
be375bae
JB
372003-05-07 Jim Blandy <jimb@redhat.com>
38
09bf6082
JB
39 Add support for assembly source testing on the s390x.
40 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
41 architecture.
42 * gdb.asm/s390x.inc: New file.
43
be375bae
JB
44 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
45 succession of 'if' statements.
46
00905d52
AC
472003-05-05 Andrew Cagney <cagney@redhat.com>
48
49 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
50
b1e29e33
AC
512003-05-05 Andrew Cagney <cagney@redhat.com>
52
53 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
54 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
55
e33d66ec
EZ
562003-05-02 Elena Zannoni <ezannoni@redhat.com>
57
58 * gdb.base/charset.exp: Update based on new behavior of set/show
59 charset commands.
60
2b6fd0d8
AC
612003-05-01 Andrew Cagney <cagney@redhat.com>
62
63 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
64 variable do not give memory errors.
65
130cacce
AF
662003-04-30 Adam Fedor <fedor@gnu.org>
67
68 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
69 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
70 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
71 gdb.objc/basicclass.m: : New files
72
73 * lib/gdb.exp (gdb_compile_objc): New procedure.
74
bea71854
DJ
752003-04-27 Daniel Jacobowitz <drow@mvista.com>
76
77 * gdb.base/signals.exp: Make backtrace tests more specific.
78
0f20eeea
DC
792003-04-23 David Carlton <carlton@bactrian.org>
80
81 * gdb.c++/maint.exp (test_first_component): Add tests for
82 'operator' in more locations.
83
c8c4d8dc
KB
842003-04-16 Kevin Buettner <kevinb@redhat.com>
85
86 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
87
3fe60e3c
EZ
882003-04-16 Elena Zannoni <ezannoni@redhat.com>
89
90 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
91 func marke' instead. Update test name.
92
9219021c
DC
932003-04-15 David Carlton <carlton@math.stanford.edu>
94
95 * gdb.c++/maint.exp: New file.
96
5dd55bdd
EZ
972003-04-14 Elena Zannoni <ezannoni@redhat.com>
98
99 * gdb.threads/schedlock.c: Change type of thread function argument
100 to long, to avoid warnings on 64-bit platforms.
101
00890572
EZ
1022003-04-14 Elena Zannoni <ezannoni@redhat.com>
103
104 * gdb.base/attach.exp: Add new message from ptrace in case of
105 attaching to nonexistent process.
106
93201743
JB
1072003-04-11 Jim Blandy <jimb@redhat.com>
108
109 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
110 gdb.c++/userdef.cc: Place comments on the lines to which the
111 marker function might return.
112 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
113 gdb.c++/userdef.exp: Look for those comments to check that we've
114 returned to the right place, instead of checking line numbers.
115
2a11c64d
EZ
1162003-04-11 Elena Zannoni <ezannoni@redhat.com>
117
118 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
119 match on sourcefile name, instead of directory name.
120
68ab8fc5
EZ
1212003-04-10 Elena Zannoni <ezannoni@redhat.com>
122
123 * gdb.base/completion.exp: Use string_to_regexp to match the
124 working directory name.
125
5624293a
JB
1262003-04-09 Jim Blandy <jimb@redhat.com>
127
128 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
129 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
130 after an inferior function call, report the failure, but allow the
131 test to continue.
132
f1f02ee4
SC
1332003-04-05 Stephane Carrez <stcarrez@nerim.fr>
134
135 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
136 with -DPROTOTYPES.
137
6eb79af0
SC
1382003-04-05 Stephane Carrez <stcarrez@nerim.fr>
139
140 * gdb.base/break.exp: Revert last patch.
141
8dfb4cf0
SC
1422003-04-04 Stephane Carrez <stcarrez@nerim.fr>
143
144 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
145 with -DPROTOTYPES.
146
ed4c619a
AC
1472003-04-02 Andrew Cagney <cagney@redhat.com>
148
149 * gdb.base/callfuncs.exp: Make "print add" messages unique.
150 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
151 matching directories by the name breakpoint.
152 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
153 Make "continue to marker1" consistent.
154 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
155 message consistent.
156 * lib/gdb.exp: Put "the program is no longer running", and "the
157 program exited" in parenthesis.
158 * lib/mi-support.exp: Ditto.
159
4e35d5f0
BR
1602003-04-02 Bob Rossi <bob_rossi@cox.net>
161
162 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
163
71900fe8
AC
1642003-03-29 Andrew Cagney <cagney@redhat.com>
165
166 * gdb.base/sizeof.c (main): Print the value of '\377'.
167 * gdb.base/sizeof.exp: Check the sign of '\377'.
168
c0655a16
MC
1692003-03-27 Michael Chastain <mec@shout.net>
170
171 * gdb.base/gdb1090.exp: New file.
172 * gdb.base/gdb1090.cc: New file.
173
5b2a3989
JB
1742003-03-27 J. Brobecker <brobecker@gnat.com>
175
176 * gdb.gdb/observer.exp: New regression test.
177
79876890
MC
1782003-03-27 Michael Chastain <mec@shout.net>
179
180 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
181 * gdb.base/ptype.exp: Likewise.
182
6eac95e3
CV
1832003-03-27 Corinna Vinschen <vinschen@redhat.com>
184
185 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
186
e8c71839
MC
1872003-03-26 Michael Chastain <mec@shout.net>
188
189 * gdb.base/ptype.exp: Actually use some typedef'd types.
190
71b10041
SC
1912003-03-21 Stephane Carrez <stcarrez@nerim.fr>
192
193 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
194 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
195
2512cf80
CV
1962003-03-20 Corinna Vinschen <vinschen@redhat.com>
197
198 * gdb.base/default.exp: Fix regular expression.
199
0d195a4f
CV
2002003-03-20 Corinna Vinschen <vinschen@redhat.com>
201
202 * gdb.base/args.exp: Fix regular expression.
203
8a2dbca8
CV
2042003-03-20 Corinna Vinschen <vinschen@redhat.com>
205
206 * gdb.base/help.exp: Allow Win32 child process.
207
bf028682
CV
2082003-03-20 Corinna Vinschen <vinschen@redhat.com>
209
210 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
211 when stepping out of main().
212
182dbe85
CV
2132003-03-20 Corinna Vinschen <vinschen@redhat.com>
214
215 * gdb.base/default.exp: Check for win32 specific message when calling
216 "run" without executable.
217
d67a6ba5
CV
2182003-03-20 Corinna Vinschen <vinschen@redhat.com>
219
220 * gdb.base/args.exp: Expect .exe in output.
221
a955b5bb
CV
2222003-03-20 Corinna Vinschen <vinschen@redhat.com>
223
224 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
225 Cygwin native.
226
bf6bad4b
AC
2272003-03-17 Andrew Cagney <cagney@redhat.com>
228
229 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
230 vector registes.
231 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
232 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
233
293e9a31
DC
2342003-03-17 David Carlton <carlton@math.stanford.edu>
235
236 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
237 test, for PR breakpoints/38.
238 Call test_watchpoint_and_breakpoint.
239 * gdb.base/watchpoint.c (func3): New function.
240 (main): Call func3.
241
5330f2db
DC
2422003-03-04 David Carlton <carlton@math.stanford.edu>
243
244 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
245 Garply<Garply<char> >:: garply".
246 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
247 with respect to PR c++/1111; note also PR c++/1113.
248 (test_template_breakpoints): KFAIL "constructor breakpoint" with
249 respect to PR c++/1062.
250 KFAIL "destructor breakpoint" with respect to PR c++/1112.
251
6ece72da
DC
2522003-03-03 David Carlton <carlton@math.stanford.edu>
253
254 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
255 with respect to PR c++/57.
256 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
257 c++/826.
258 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
259 respect to PR c++/57.
260
85ca1584
DC
2612003-03-03 David Carlton <carlton@math.stanford.edu>
262
263 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
264 respect to PR c++/33 into FAILs.
265
98e9c5b8
MC
2662003-03-03 Michael Chastain <mec@shout.net>
267
7bedbf27
MC
268 * configure.in: Update copyright years.
269
2702003-03-03 Michael Chastain <mec@shout.net>
271
272 * Makefile.in: Update copyright years.
98e9c5b8 273
f683e100
DC
2742003-02-28 David Carlton <carlton@math.stanford.edu>
275
276 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
277 print class instead of struct and/or superfluous protection
278 specifiers, as long as the resulting output is equivalent to the
279 source code.
280 Delete FIXME from end of messages on tests that don't need
281 fixing.
282
a9e0cf2c
DC
2832003-02-28 David Carlton <carlton@math.stanford.edu>
284
285 * gdb.c++/templates.exp (do_tests): Allow const in the two
286 Foo<volatile char *>::foo tests.
287
e8d359df
MS
2882003-02-27 Michael Snyder <msnyder@redhat.com>
289
290 * gdb.base/restore.c (main): Return zero, so exit code
291 will be consistant.
292
0b71dc91
DC
2932003-02-26 David Carlton <carlton@math.stanford.edu>
294
295 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
296 char *>::foo" test with respect to PR c++/33. Create a new test
297 which is identical to that one except that it doesn't put the
298 space between the "char" and the "*"; KFAIL it, too.
299
dd14ab43
DC
3002003-02-26 David Carlton <carlton@math.stanford.edu>
301
302 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
303 template types into either PASSes or KFAILs (corresponding to PR
304 c++/57). Tweak indentation. Update copyright.
305
1146c7f1
SC
3062003-02-23 Stephane Carrez <stcarrez@nerim.fr>
307
308 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
309
74641dfb
MC
3102003-02-13 Michael Chastain <mec@shout.net>
311
312 * gdb.base/exprs.exp: Remove i960 remnants.
313 * gdb.base/funcargs.exp: Likewise.
314 * gdb.base/list.exp: Likewise.
315 * gdb.base/ptype.exp: Likewise.
316
559cd2d0
DC
3172003-02-14 David Carlton <carlton@math.stanford.edu>
318
319 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
320 pEe->D::vg()" from XFAIL to KFAIL.
321
c4f90d87
JM
3222003-02-13 Jason Molenda (jmolenda@apple.com)
323
324 * gdb.base/maint.exp: Update maint print statistics regexp to include
325 new entries.
326
cbc4d97c
MC
3272003-02-13 Michael Chastain <mec@shout.net>
328
329 * gdb.c++/inherit.exp: Remove call to get_debug_format.
330
40f235b7
MC
3312003-02-12 Michael Chastain <mec@shout.net>
332
333 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
334 * gdb.c++/inherit.exp: Likewise.
335 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
336 * gdb.c++/templates.exp: Likewise.
337 * gdb.c++/virtfunc.exp: Likewise.
338
c56716b0
JM
3392003-02-06 Jason Molenda (jason-cl@molenda.com)
340
341 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
342 why the code is written that way.
343
070afcf8
MC
3442003-02-05 Michael Chastain <mec@shout.net>
345
346 * gdb.base/dump.exp: Add missing copyright line.
347
5d0331e5
JM
3482003-02-05 Jason Molenda (jason-cl@molenda.com)
349
f7ae6d3e 350 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
351 at the beginning so the breakpoint doesn't get set on the loop.
352
92851186
MC
3532003-02-05 Michael Chastain <mec@shout.net>
354
355 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
356 output for configurations with gcc 2.95.3.
357
cbf1e085
AC
3582003-02-05 Keith Seitz <keiths@redhat.com>
359 Andrew Cagney <ac131313@redhat.com>
360
361 * gdb.mi/mi-cli.exp: New file.
362
29518e1e
MC
3632003-02-04 Michael Chastain <mec@shout.net>
364
365 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
366 Call perror and then continue.
367
5af1d5f3
MC
3682003-02-03 Michael Chastain <mec@shout.net>
369
370 * gdb.c++/pr-1023.cc: New file.
371 * gdb.c++/pr-1023.exp: New file.
372
6b549786
JB
3732003-02-05 Jim Blandy <jimb@redhat.com>
374
375 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
376 it's local to foobar. Check for it there, and check that it's not
377 present in main.
378 * gdb.c++/local.cc (marker2): New function.
379 (foobar): Call marker1.
380 (main): Call marker2 instead of marker1.
381
67f16606
AC
3822003-02-04 Andrew Cagney <ac131313@redhat.com>
383
384 * gdb.disasm/mn10200.exp: Obsolete file.
385 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
386 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
387 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
388
1c5cb38e
DC
3892003-02-04 David Carlton <carlton@math.stanford.edu>
390
391 * gdb.c++/overload.exp: Test intToChar(1).
392 * gdb.c++/overload.cc (intToChar): New.
393 (main): Call intToChar.
394
d1fe6965
DC
3952003-02-03 David Carlton <carlton@math.stanford.edu>
396
397 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
398 'might_kfail' arg.
399 KFAIL some of the continue_to_bp_overloaded calls, according to
400 PR c++/1025.
401
9ba61c5d
MC
4022003-02-01 Michael Chastain <mec@shout.net>
403
404 * gdb.base/advance.c (marker1): New marker function.
405 * gdb.base/advance.exp: When the 'advance' command lands on the
406 return breakpoint, it can legitimately stop on either the
407 current line or the next line. Accommodate both outcomes.
408 * gdb.base/until.exp: Likewise.
409
e7494ffb
AC
4102003-02-02 Andrew Cagney <ac131313@redhat.com>
411
412 2002-11-10 Jason Molenda (jason-cl@molenda.com):
413 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
414 now a list, not a tuple.
415 * gdb.mi/mi-var-display.exp: Ditto.
416 * gdb.mi/gdb792.exp: Ditto.
417
075559bc
AC
4182003-02-01 Andrew Cagney <ac131313@redhat.com>
419
420 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
421 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
422 stack backtraces.
423 * gdb.mi/mi-syn-frame.c: Part of same.
424
2bd4c7b1
MK
4252003-02-01 Mark Kettenis <kettenis@gnu.org>
426
427 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
428 gdb.mi/mi1-pthreads.exp: Return instead of calling
429 gdb_suppress_entire_file.
430
eabd8992
MS
4312003-02-01 Mark Salter <msalter@redhat.com>
432
433 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
434
71469e2f
MS
4352003-01-31 Mark Salter <msalter@redhat.com>
436
437 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
438 Support empty arg.
439
38a94d44
MC
4402003-01-30 Michael Chastain <mec@shout.net>
441
442 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
443 This was a workaround for a UTF-8 bug in readline 4.3. The bug
444 has been fixed in gdb/readline on 2003-01-09.
445
19ea9e73
MS
4462003-01-29 Michael Snyder <msnyder@redhat.com>
447
e8d359df
MS
448 * gdb.base/maint.exp: Allow for leading underscore in symbol.
449 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
450 * gdb.base/args.exp: Skip if target does not support args passing.
451
2307bd6a
DJ
4522003-01-22 Daniel Jacobowitz <drow@mvista.com>
453
19ea9e73 454 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
455 gdb_test. Accept a list of expect arguments as the third
456 parameter.
457 (gdb_test): Use it.
458
f2dd3617
EZ
4592003-01-20 Elena Zannoni <ezannoni@redhat.com>
460
461 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
462 allow for different test tree configurations. Update some
463 tescases accordingly.
464 * gdb.arch/altivec-regs.exp: Ditto.
465 * gdb.asm/asm-source.exp: Ditto.
466 * gdb.base/advance.exp: Ditto.
467 * gdb.base/display.exp: Ditto.
468 * gdb.base/long_long.exp: Ditto.
469 * gdb.base/mips_pro.exp: Ditto.
470 * gdb.base/overlays.exp: Ditto.
471 * gdb.base/relocate.exp: Ditto.
472 * gdb.base/setshow.exp: Ditto.
473 * gdb.base/step-line.exp: Ditto.
474 * gdb.base/step-test.exp: Ditto.
475 * gdb.base/until.exp: Ditto.
476 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
477
c71cdefd
DC
4782003-01-17 David Carlton <carlton@math.stanford.edu>
479
480 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
481 corresponding to PR c++/945.
482 Update copyright.
483
fdba05d7
DC
4842003-01-17 David Carlton <carlton@math.stanford.edu>
485
486 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
487 corresponding to PR c++/68.
488
4892003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
490
491 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
492 (test_paddr_hairy_functions): Call print_addr_2_kfail for
493 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
494
c362c33a
EZ
4952003-01-15 Elena Zannoni <ezannoni@redhat.com>
496
0fbc361c
EZ
497 * gdb.base/break.exp: Fix change of default location, because of
498 removal of until tests.
499 * gdb.base/help.exp: Update test for new 'until' help message.
500 Add test for help on 'advance'.
c362c33a
EZ
501 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
502
dabf8a35
MK
5032003-01-15 Mark Kettenis <kettenis@gnu.org>
504
505 * gdb.base/default.exp: Adapt "info float" test for recent changes
506 to that command. Add test for "info vector".
507 * gdb.base/float.exp: New file. Add test for "info float" that
508 resembles the old test in gdb.base/default.exp.
509
a1769aca
DC
5102003-01-15 David Carlton <carlton@math.stanford.edu>
511
512 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
513
82025e13
EZ
5142003-01-15 Elena Zannoni <ezannoni@redhat.com>
515
516 * gdb.base/break.exp: Move the tests of until command from here...
517 * gdb.base/until.exp: ... to here. New file. Add other tests.
518 * gdb.base/advance.c: New file.
519 * gdb.base/advance.exp: New file.
520
8f9ab801
EZ
5212003-01-14 Elena Zannoni <ezannoni@redhat.com>
522
523 * gdb.base/args.c: New file.
524 * gdb.base/args.exp: New file.
525
9ae66589
DJ
5262003-01-14 Daniel Jacobowitz <drow@mvista.com>
527
528 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
529
8d77e5c3
DJ
5302003-01-14 Daniel Jacobowitz <drow@mvista.com>
531
532 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
533
12d2f0a1
DJ
5342003-01-14 Daniel Jacobowitz <drow@mvista.com>
535
536 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
537 dates.
538
6ca37014
DJ
5392003-01-13 Daniel Jacobowitz <drow@mvista.com>
540
541 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
542
b0023472
DJ
5432003-01-13 Daniel Jacobowitz <drow@mvista.com>
544
545 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
546 (ptype &*"foo").
547 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
548
d6abaea5
DJ
5492002-01-13 Daniel Jacobowitz <drow@mvista.com>
550
551 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
552 * gdb.mi/mi1-console.exp: Likewise.
553
dfd536a7
DJ
5542002-01-13 Daniel Jacobowitz <drow@mvista.com>
555
556 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
557 * gdb.mi/mi1-console.exp: Likewise.
558
a1fb14a2
DJ
5592003-01-13 Daniel Jacobowitz <drow@mvista.com>
560
561 * gdb.c++/overload.exp: Remove some fixed XFAILs.
562
c4cf40b7
DJ
5632003-01-09 Daniel Jacobowitz <drow@mvista.com>
564
565 * gdb.base/detach.exp: New test.
566
696d5a5b
DJ
5672003-01-09 Daniel Jacobowitz <drow@mvista.com>
568
569 * Makefile.in (ALL_SUBDIRS): New variable.
570 (subdirs, clean, distclean): Use it.
571 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
572 regenerating Makefile, since it is generated from the top level.
573 * gdb.asm/Makefile.in: Likewise.
574 * gdb.base/Makefile.in: Likewise.
575 * gdb.c++/Makefile.in: Likewise.
576 * gdb.disasm/Makefile.in: Likewise.
577 * gdb.java/Makefile.in: Likewise.
578 * gdb.mi/Makefile.in: Likewise.
579 * gdb.threads/Makefile.in: Likewise.
580 * gdb.trace/Makefile.in: Likewise.
581
754533e4
DC
5822003-01-09 David Carlton <carlton@math.stanford.edu>
583
584 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
585 Add copyright year 2003.
586
d8b3e9ee
MC
5872003-01-06 Michael Chastain <mec@shout.net>
588
589 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
590 When selecting a thread, 'line' and 'file' are optional.
591 * gdb.mi/mi1-pthreads.exp: Likewise.
592
8e9e0fe6
AS
5932003-01-06 Andreas Schwab <schwab@suse.de>
594
595 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
596 failures.
597
b5ab8ff3
DJ
5982003-01-04 Daniel Jacobowitz <drow@mvista.com>
599
600 Fix PR gdb/844
601 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
602 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
603
604 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
605 instead of calling gdb_suppress_entire_file.
606 * gdb.threads/print-threads.exp: Likewise.
607 * gdb.threads/schedlock.exp: Likewise.
608
609 * gdb.threads/killed.exp: Return instead of calling
610 gdb_suppress_entire_file.
611 * gdb.threads/linux-dp.exp: Likewise.
612 * gdb.threads/pthreads.exp: Likewise.
613
1e698235
DJ
6142003-01-04 Daniel Jacobowitz <drow@mvista.com>
615
616 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
617 stabs.
618 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
619 * gdb.base/whatis.exp: Always allow (void) after function names.
620
147ff08c
DJ
6212003-01-04 Daniel Jacobowitz <drow@mvista.com>
622
623 * gdb.c++/casts.exp: Correct regexp.
624
dc62bfc2
MK
6252003-01-04 Mark Kettenis <kettenis@gnu.org>
626
627 * configure.in: Call AC_CONFIG_HEADER. Don't call
628 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
629 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
630 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
631 aforementioned directories in the AC_OUPUT call.
632 * config.hin: New file.
633 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
634 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
635 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
636 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
637 pass -I$objdir instead of -I$objdir/$subdir in compilation.
638 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
639 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
640 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
641 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
642 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
643 gdb.threads/configure.in, gdb.threads/configure,
644 gdb.threads/config.in, gdb.trace/configure.in,
645 gdb.trace/configure: Removed.
646
77afa639
MC
6472003-01-03 Michael Chastain <mec@shout.net>
648
649 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
650 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
651
7634bb6e
DJ
6522003-01-03 Daniel Jacobowitz <drow@mvista.com>
653
654 * gdb.base/store.exp: Fix regular expressions.
655
b39c905e
MK
6562002-12-28 Mark Kettenis <kettenis@gnu.org>
657
658 * configure.in: Rewrite.
659 * configure: Regenerated.
660
0a8551dd
DC
6612003-01-03 David Carlton <carlton@math.stanford.edu>
662
663 * gdb.base/psymtab.exp: New file.
664 * gdb.base/psymtab1.c: Ditto.
665 * gdb.base/psymtab2.c: Ditto.
666
c60b7188
AF
6672002-12-23 Adam Fedor <fedor@gnu.org>
668
669 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
670
ee73db83
DC
6712002-12-23 David Carlton <carlton@math.stanford.edu>
672
673 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
674 and current_directory initialization.
675
d6c1774e
JB
6762002-12-22 Jim Blandy <jimb@redhat.com>
677
f0a847b8
JB
678 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
679 rather than as part of the output file name.
680
d6c1774e
JB
681 * gdb.base/attach.exp: There's no need to copy the test program to
682 /tmp; that was only ever necessary on HP/UX, and this test is
683 entirely disabled there anyway.
684
f0708dbb
JB
6852002-12-21 Jim Blandy <jimb@redhat.com>
686
4c2acfea
JB
687 * gdb.c++/psmang.exp: Doc fix.
688
f0708dbb
JB
689 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
690 test.
691
9579e000
DC
6922002-12-20 David Carlton <carlton@math.stanford.edu>
693
694 * gdb.c++/annota2.exp: KFAIL annotate-quit.
695
d1810171
MC
6962002-12-18 Michael Chastain <mec@shout.net>
697
698 * gdb.c++/annota2.exp: Add copyright year 2002.
699
76565097
DC
7002002-12-17 David Carlton <carlton@math.stanford.edu>
701
702 * gdb.c++/try_catch.cc: Add marker comments.
703 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
704 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
705 * gdb.c++/m-static.cc: Ditto.
706 * gdb.c++/m-static1.cc: Ditto.
707 * gdb.c++/try_catch.cc: Ditto.
708
da81390b
JJ
7092002-12-16 Jeff Johnston <jjohnstn@redhat.com>
710
711 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
712 to see whether we are using the new -environment-directory
713 command which resets via -r or the old version of the command
714 which may prompt the user. Part of fix for gdb/741.
715
b304d130
AC
7162002-12-13 Andrew Cagney <ac131313@redhat.com>
717
718 * gdb.fortran/types.exp: Update obsolete comment.
719 * gdb.fortran/exprs.exp: Ditto.
720 * lib/gdb.exp: Delete obsolete code.
721 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
722 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
723 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
724 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
725 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
726 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
727 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
728 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
729 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
730 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
731 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
732 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
733 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
734 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
735 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
736 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
737 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
738 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
739 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
740 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
741 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
742 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
743 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
744 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
745 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
746 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
747 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
748 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
749 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
750 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
751 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
752 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
753 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
754 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
755 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
756 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
757 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
758
a23b6e6a
DC
7592002-12-11 David Carlton <carlton@math.stanford.edu>
760
761 * gdb.c++/m-data.exp: Add test for members that shadow global
762 variables: see PR gdb/804.
763 * gdb.c++/m-data.cc: Ditto.
764
6604731b
DJ
7652002-12-10 Daniel Jacobowitz <drow@mvista.com>
766
767 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
768
de46ecd7
DC
7692002-12-06 David Carlton <carlton@math.stanford.edu>
770
771 * gdb.base/store.c: Don't declare functions static.
772
27e829d0
AC
7732002-12-04 Andrew Cagney <ac131313@redhat.com>
774
775 * gdb.base/store.exp, gdb.base/store.c: New files.
776
92806416
DJ
7772002-12-03 Daniel Jacobowitz <drow@mvista.com>
778
779 * gdb.base/selftest.exp: Update for current gdb.
780
3bcbaac5
DJ
7812002-12-03 Daniel Jacobowitz <drow@mvista.com>
782
783 * gdb.base/maint.exp: Only dump symbols from one source file
784 or objfile.
785
f4f00b1f
DJ
7862002-12-03 Daniel Jacobowitz <drow@mvista.com>
787
788 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
789 function call.
790
f1c8a949
JB
7912002-11-25 Jim Blandy <jimb@redhat.com>
792
793 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
794 function appearing in error message.
795
9e297a97
DJ
7962002-11-21 Daniel Jacobowitz <drow@mvista.com>
797
798 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
799
1f312e79
JJ
8002002-11-08 Jeff Johnston <jjohnstn@redhat.com>
801
802 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
803 for mi1 and current mi is in correct format. New mi startup message
804 should be in mi console format. This is part of fix for PR gdb/604.
805
83c31e7d
FN
8062002-09-18 Fernando Nasser <fnasser@redhat.com>
807
808 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
809 which explicitly prints the zero offset as "+0".
810
322b3f65
DJ
8112002-10-22 Daniel Jacobowitz <drow@mvista.com>
812
813 * gdb.threads/schedlock.c (args): Make unsigned.
814
8152002-10-21 Daniel Jacobowitz <drow@mvista.com>
816
817 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
818 numbers. Allow "foo2|selected stack frame".
819 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
820 * gdb.asm/asmsrc2.s: Likewise.
821 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
822 comments.
823 * gdb.asm/mips.inc: New file.
824
5e2fe5b8
AF
8252002-10-18 Adam Fedor <fedor@gnu.org>
826
827 * gdb.base/default.exp: Update expected output to include 'ObjC'.
828 * gdb.base/help.exp: Likewise.
829
abe1a5d0
KB
8302002-10-17 Kevin Buettner <kevinb@redhat.com>
831
832 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
833 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
834
10abb1d4
JB
8352002-10-02 Jim Blandy <jimb@redhat.com>
836
837 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
838
1f609b42
AC
8392002-10-01 Andrew Cagney <ac131313@redhat.com>
840
841 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
842 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
843 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
844 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
845 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
846 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
847 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
848
0aee02e4
AC
8492002-09-29 Andrew Cagney <ac131313@redhat.com>
850
851 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
852 * mi0-disassemble.exp, mi0-eval.exp: Delete.
853 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
854 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
855 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
856 * mi0-var-block.exp, mi0-var-child.exp: Delete.
857 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
858
6fde09ad
KB
8592002-09-27 Kevin Buettner <kevinb@redhat.com>
860
861 * gdb.base/annota1.exp (info break): Make directory components of
862 path optional since not all compilers emit this debug information.
863
864 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
865 step ends up stepping out of the function instead of stopping on
866 the epilogue.
867
9e8aab75
KS
8682002-09-26 Keith Seitz <keiths@redhat.com>
869
870 * lib/insight-support.exp (gdbtk_start): Figure out where
871 the insight executable is based on where gdb is. Use this
872 executable to start insight instead of gdb.
873
e36180d7
AC
8742002-09-25 Andrew Cagney <cagney@redhat.com>
875
876 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
877
9dd34b2b
AC
8782002-09-24 Andrew Cagney <ac131313@redhat.com>
879
880 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
881 test_isolated_complaints.
882 (test_empty_complaint): New function.
883 (test_empty_complaints): New function. Check no output when no
884 complaints.
885
dea97812
KB
8862002-09-19 Jim Blandy <jimb@redhat.com>
887
888 * gdb.base/charset.exp, gdb.base/charset.c: New files.
889
54951bd7
AC
8902002-09-19 Andrew Cagney <ac131313@redhat.com>
891
892 * gdb.gdb/complaints.exp: New file.
893
dec43320
AC
8942002-09-18 Andrew Cagney <ac131313@redhat.com>
895
896 * gdb.base/maint.exp: Check `help maint internal-warning'.
897
e70d6e3f
DC
8982002-09-18 David Carlton <carlton@math.stanford.edu>
899
900 * gdb.c++/m-static.exp: Remove breakpoints depending on line
901 numbers, and replace them by a single breakpoint after the
902 constructors are all finished.
903 Add test 4.
904 * gdb.c++/m-static.cc: Add test 4.
905 * gdb.c++/m-static.h: New file.
906 * gdb.c++/m-static1.cc: New file.
907
908 * gdb.c++/printmethod.exp: New file.
909 * gdb.c++/printmethod.cc: New file.
910
911 * gdb.c++/pr-574.exp: New file.
912 * gdb.c++/pr-574.cc: New file.
913
afb5c968
CV
9142002-09-18 Corinna Vinschen <vinschen@redhat.com>
915
916 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
917 embedded targets which never actually exit.
918
31e45dee
FN
9192002-09-18 Fernando Nasser <fnasser@redhat.com>
920
921 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
922 "don't step after run" as unresolved or unsupported, instead of xfail.
923
a283c5a1
CV
9242002-09-18 Corinna Vinschen <vinschen@redhat.com>
925
926 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
927 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
928 Add newline to expected string in "step out of main (status wrapper)"
929 case.
930
11350d2a
CV
9312002-09-18 Corinna Vinschen <vinschen@redhat.com>
932
933 * lib/gdb.exp (rerun_to_main): Allow restarting application.
934 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
935
0deec7d6
TT
9362002-09-17 Tom Tromey <tromey@redhat.com>
937
938 * gdb.base/printcmds.exp (test_print_string_constants): Expect
939 \000, not \0, in double-quoted string.
940
b2b4a1b5
CV
9412002-09-14 Corinna Vinschen <vinschen@redhat.com>
942
943 * gdb.base/command.exp: Don't expect a "Program exited normally"
944 string after running the commands execution on breakpoint tests.
945
1c56143a
CV
9462002-09-13 Corinna Vinschen <vinschen@redhat.com>
947
948 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
949
37f8da45
JB
9502002-09-12 Joel Brobecker <brobecker@gnat.com>
951
952 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
953
08b468e0
KS
9542002-09-10 Keith Seitz <keiths@redhat.com>
955
956 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
957 runto proc.
958 (mi_run_to_main): Use mi_runto.
959 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
960
dc360f58
KS
9612002-09-10 Keith Seitz <keiths@redhat.com>
962
963 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
964 regexp for stopping at main. Could have multiple event notifications.
965 Don't assume that main was declared with no parameters.
966 (mi_next): Use mi_step_to.
967 (mi_step): Use mi_next_to.
968
ce3abcfb
CV
9692002-09-09 Corinna Vinschen <vinschen@redhat.com>
970
971 * gdb.base/default.exp: Fix expected string in `info float' test.
972
d1f5b980
BE
9732002-09-09 Ben Elliston <bje@redhat.com>
974
975 * config/mips.exp: Update comments.
976 * config/mips-idt.exp: Likewise.
977 * config/nind.exp: Likewise.
978 * config/slite.exp: Likewise.
979 * config/sparclet.exp: Likewise.
980 * config/udi.exp: Likewise.
981 * config/vx.exp: Likewise.
982 * config/vxworks29k.exp: Likewise.
983
2f71430b
JB
9842002-09-05 Jim Blandy <jimb@redhat.com>
985
986 * gdb.threads/killed.exp: Fix test failure message.
987
7ddebc7e
KS
9882002-09-04 Keith Seitz <keiths@redhat.com>
989
990 * lib/mi-support.exp: Update copyright.
991 (mi_gdb_test): Increase the priority of the expected pattern
992 so that it matches gdb_test.
993
0ae67eb3
KS
9942002-09-03 Keith Seitz <keiths@redhat.com>
995
996 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
997 Use integer comparison instead of string comparison for testing
998 whether binary was built.
999
38fc42c8
JB
10002002-09-03 Jim Blandy <jimb@redhat.com>
1001
1002 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1003
b6ff0e81
JB
10042002-08-29 Jim Blandy <jimb@redhat.com>
1005
1006 * gdb.threads/pthreads.exp: Move the portable thread compilation
1007 code into a function in lib/gdb.exp, and call that from here.
1008 * lib/gdb.exp (gdb_compile_pthreads): New function.
1009
07c98896
KS
10102002-08-29 Keith Seitz <keiths@redhat.com>
1011
1012 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1013 expect_out so that callers can get at it.
1014
0312286c
DJ
10152002-08-23 Daniel Jacobowitz <drow@mvista.com>
1016
1017 * gdb.threads/print-threads.c: New file.
1018 * gdb.threads/print-threads.exp: New file.
1019 * gdb.threads/schedlock.c: New file.
1020 * gdb.threads/schedlock.exp: New file.
1021
dd039bc4
EZ
10222002-08-22 Elena Zannoni <ezannoni@redhat.com>
1023
1024 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1025 not altivec.c.
1026
1f36144c
MK
10272002-08-17 Mark Kettenis <kettenis@gnu.org>
1028
1029 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1030 targets. The problem should be fixed now.
1031
16057ec7 10322002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1033
1034 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1035 2002-07-24 change that removes final dots from error messages.
1036
3c1499ad
TT
10372002-08-13 Tom Tromey <tromey@redhat.com>
1038
1039 * gdb.base/readline.exp: New file.
1040
a20ce2c3
AC
10412002-08-01 Andrew Cagney <ac131313@redhat.com>
1042
1043 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1044 supress message.
1045
db034ac5
AC
10462002-08-01 Andrew Cagney <cagney@redhat.com>
1047
1048 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1049 CHILL_FOR_TARGET and CHILL_LIB.
1050 * configure.in (configdirs): Remove gdb.chill.
1051 * configure: Regenerate.
1052 * lib/gdb.exp: Obsolete references to chill.
1053 * gdb.fortran/types.exp: Ditto.
1054 * gdb.fortran/exprs.exp: Ditto.
1055
3e000b18
KB
10562002-07-30 Kevin Buettner <kevinb@redhat.com>
1057
1058 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1059 set Irix-specific compile and link flags.
1060
28f4966b
KB
10612002-07-29 Kevin Buettner <kevinb@redhat.com>
1062
1063 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1064 source files. The ``-o'' option doesn't work with the ``-E'' option
1065 when using the Irix compiler.
1066
46c0d5a6
DJ
10672002-07-19 Daniel Jacobowitz <drow@mvista.com>
1068
1069 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1070 Improve support for reusing an exec file. Copy exec file
1071 to target, and run gdbserver on the target instead of on the host.
1072
eecf4bed
JB
10732002-07-18 Jim Blandy <jimb@redhat.com>
1074
0f815cdf
JB
1075 * gdb.base/ending-run.exp: Don't expect to see the program end in
1076 some orderly fashion when we're running on a real stand-alone
1077 board.
1078
eecf4bed
JB
1079 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1080 targets that don't support interrupts.
1081
52d309e4
JB
10822002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1083
1084 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1085 systems.
1086 Move comments in expect statements to inside the actions, so that they
1087 don't get matched against.
1088
ff683d9e
MK
10892002-07-10 Mark Kettenis <kettenis@gnu.org>
1090
1091 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1092 function when asleep" test.
1093
b5356753
AC
10942002-07-10 Andrew Cagney <ac131313@redhat.com>
1095
1096 * gdb.base/page.exp: Rewrite to handle problems with very long
1097 `info set' output. Update copyright.
1098
6aa4d13a
AC
10992002-06-26 Andrew Cagney <ac131313@redhat.com>
1100
1101 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1102 gdb.threads-hp.
1103 * gdb.hp/configure: Regenerate.
1104 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1105 * gdb.hp/gdb.threads-hp/configure: Delete file.
1106 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1107
8cf8c2b8
AC
11082002-06-22 Andrew Cagney <ac131313@redhat.com>
1109
1110 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1111 setlocale, bindtextdomain and textdomain.
1112
6827a8f8
JB
11132002-06-11 Jim Blandy <jimb@redhat.com>
1114
919d772c
JB
1115 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1116 preprocessor macro information is present.
1117
6827a8f8
JB
1118 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1119 tests.
1120
c15b0d21
MS
11212002-06-06 Michael Snyder <msnyder@redhat.com>
1122
c5984d70
MS
1123 * gdb.base/overlays.exp: Record addresses of overlay
1124 functions in TCL variables rather than in GDB variables,
1125 to avoid having GDB convert them to pointers (with loss
1126 of information).
1127
99a8512b
MS
1128 * gdb.base/d10v.ld: Merge in several years worth of
1129 default linker script changes.
c15b0d21
MS
1130 * gdb.base/long_long.exp: Add check for sizeof (long double).
1131
be26fe0d
ML
11322002-06-06 Michal Ludvig <mludvig@suse.cz>
1133
1134 * gdb.asm/asm-source.exp: Add x86-64 target.
1135 * gdb.asm/x86_64.inc: New.
1136
258093ca 11372002-05-30 Michael Chastain <mec@shout.net>
258093ca 1138
4b3153f1 1139 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1140 * gdb.c++/m-static.cc: New file.
1141 * gdb.c++/m-static.exp: New file.
1142
241264c6
MS
11432002-05-28 Michael Snyder <msnyder@redhat.com>
1144
1145 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1146 precision.
1147
9bba8c8f 11482002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1149
4b3153f1 1150 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1151 * gdb.c++/m-data.cc: New file.
1152 * gdb.c++/m-data.exp: New file.
1153
11542002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1155
4b3153f1 1156 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1157 * gdb.c++/try_catch.cc: New file.
1158 * gdb.c++/try_catch.exp: New file.
1159
def1b996
MC
11602002-05-27 Michael Chastain <mec@shout.net>
1161
1162 * gdb.c++/local.exp: Accept more nested types in output.
1163
522ba268
MC
11642002-05-26 Michael Chastain <mec@shout.net>
1165
1166 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1167
277254ba
MS
11682002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1169
1170 * lib/gdb.exp (gdb_wrapper_init): Just because
1171 gdb_wrapper_file exists, this does not mean that the file
1172 should not be rebuilt. That is what gdb_wrapper_initialized
1173 is for.
1174 (default_gdb_init): Reset gdb_wrapper_initialized.
1175
b61a8733
MS
11762002-05-23 Michael Snyder <msnyder@redhat.com>
1177
5bdb6d01
MS
1178 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1179 the precision of the floating point test results.
1180 * gdb.base/call-rt-st.exp: Ditto.
1181
b61a8733
MS
1182 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1183 * gdb.base/call-rt-st.exp: Ditto.
1184
56f6e910
MC
11852002-05-19 Michael Chastain <mec@shout.net>
1186
1187 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1188
ad0b0016
EZ
11892002-05-19 Elena Zannoni <ezannoni@redhat.com>
1190
1191 * configure.in (configdirs): Add gdb.arch.
1192 * configure: Regenerate.
1193
f617d2b6
JB
11942002-05-17 Jim Blandy <jimb@redhat.com>
1195
1196 * gdb.base/completion.exp: Recognize the more detailed error
1197 messages produced by the macro expander's lexical analyzer.
1198
eac2a696
EZ
11992002-05-14 Elena Zannoni <ezannoni@redhat.com>
1200
1201 * gdb.arch/altivec-abi.c: New file.
1202 * gdb.arch/altivec-abi.exp: New file.
1203 * gdb.arch/altivec-regs.c: New file.
1204 * gdb.arch/altivec-regs.exp: New file.
1205
2fdde8f8
DJ
12062002-05-14 Daniel Jacobowitz <drow@mvista.com>
1207
1208 * gdb.base/maint.exp (maint print type): Update for new type
1209 structure.
eac2a696 1210
e31f1a7c
EZ
12112002-05-14 Elena Zannoni <ezannoni@redhat.com>
1212
1213 * gdb.arch: New directory.
1214 * gdb.arch/configure.in: New file.
1215 * gdb.arch/configure: New file.
1216 * gdb.arch/Makefile.in: New file.
1217
db589741
CV
12182002-05-13 Corinna Vinschen <vinschen@redhat.com>
1219
1220 * gdb.asm/asm-source.exp: Add v850 as supported target.
1221 * gdb.asm/v850.inc: New file.
1222
8ce2a7dc
DJ
12232002-05-13 Daniel Jacobowitz <drow@mvista.com>
1224
1225 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1226
df763c7f
DJ
12272002-05-12 Daniel Jacobowitz <drow@mvista.com>
1228
1229 * gdb.base/break.exp: Check 'break "marker2"'.
1230
377daeed
MS
12312002-05-10 Michael Snyder <msnyder@redhat.com>
1232
1233 * gdb.base/long_long.exp: Fix typo.
1234
c4b7bc2b
JB
12352002-05-10 Jim Blandy <jimb@redhat.com>
1236
ecac9a4e
JB
1237 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1238 a bug.
1239
c4b7bc2b
JB
1240 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1241 Recognize more detailed error message produced by the macro
1242 expander's lexical analyzer.
1243 * lib/gdb.exp (test_print_reject): Same.
1244
e71019a1
MK
12452002-05-09 Mark Kettenis <kettenis@gnu.org>
1246
1247 * gdb.c++/method.exp: Fix typo.
1248
fedfc8e6
MS
12492002-05-08 Michael Snyder <msnyder@redhat.com>
1250
166a1957
MS
1251 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1252 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1253 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1254 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1255 Add iftarget clause for strongarm.
1256
f1c47eb2
MS
12572002-05-06 Michael Snyder <msnyder@redhat.com>
1258
cb9a9d3e
MS
1259 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1260 (gdb_continue_to_end): Accept output from status wrapper.
1261 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1262 Clean up fail messages to match pass messages.
1263
f1c47eb2
MS
1264 Enable the "needs_status_wrapper" testsuite feature.
1265 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1266 (gdb_compile): Conditionally call gdb_wrapper_init.
1267 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1268 * gdb.c++/method.exp: Recognize output from status wrapper.
1269
6079c749
BE
12702002-05-06 Ben Elliston <bje@redhat.com>
1271From Graydon Hoare <graydon@redhat.com>
1272
1273 * config/sid.exp: Include support for "rawsid" protocol.
1274
188baff3
JB
12752002-05-03 Jim Blandy <jimb@redhat.com>
1276
1277 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1278 * gdb.c++/hang3.C: New file.
1279
b9c07f0f
AC
12802002-05-04 Andrew Cagney <ac131313@redhat.com>
1281
1282 * gdb.base/default.exp: Remove obsolete code.
1283 * gdb.c++/misc.exp: Ditto. Update copyright.
1284 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1285 * gdb.base/whatis.exp: Ditto. Update copyright.
1286 * gdb.base/scope.exp: Ditto. Update copyright.
1287 * gdb.base/ptype.exp: Ditto. Update copyright.
1288 * gdb.base/printcmds.exp: Ditto. Update copyright.
1289 * gdb.base/opaque.exp: Ditto. Update copyright.
1290 * gdb.base/list.exp: Ditto.
1291 * gdb.base/funcargs.exp: Ditto. Update copyright.
1292 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1293 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1294 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1295 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1296 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1297 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1298
5c7a0397
MS
12992002-05-02 Michael Snyder <msnyder@redhat.com>
1300
d6dcc264 1301 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1302 * gdb.base/long_long.exp: Add xscale target.
1303 * gdb.base/default.exp: Add xscale target.
1304
eb7f1c48
JB
13052002-05-01 Jim Blandy <jimb@redhat.com>
1306
1307 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1308 gdb.c++/hang.exp: New test.
1309
a6befae8
FF
13102002-05-01 Fred Fish <fnf@redhat.com>
1311
1312 * gdb.base/completion.exp: Handle completions of "./Make" for
1313 more than one completion possibility, as is the case when we
1314 build and test in the source tree.
1315
0a310277
AG
13162002-04-29 Anthony Green <green@redhat.com>
1317
1318 * gdb.java/jmisc1.exp: New file.
1319 * gdb.java/jmisc2.exp: New file.
1320
6ff9af88
DJ
13212002-04-24 Daniel Jacobowitz <drow@mvista.com>
1322
1323 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1324
96b3d632
EZ
13252002-04-23 Elena Zannoni <ezannoni@redhat.com>
1326
1327 * gdb.base/help.exp: Change 'help status' to allow for target
1328 dependent output differences.
1329
5019bb54
MC
13302002-04-22 Michael Chastain <mec@shout.net>
1331
1332 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1333
a805a116
MC
13342002-04-22 Michael Chastain <mec@shout.net>
1335
1336 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1337
a1706bfd
DM
13382002-04-17 David S. Miller <davem@redhat.com>
1339
1340 * gdb.asm/sparc64.inc: New file.
1341 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1342
a73a20a2
EZ
13432002-04-19 Elena Zannoni <ezannoni@redhat.com>
1344
1345 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1346 instruction file directly into the build tree. Clean up at end of
1347 test.
1348
ba678339
DM
13492002-04-18 David S. Miller <davem@redhat.com>
1350
1351 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1352 handle 64-bit platforms correctly.
1353 * gdb.base/maint.exp: Likewise.
1354
b03399da
KB
13552002-04-18 Kevin Buettner <kevinb@redhat.com>
1356
1357 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1358 ``-fpic'' when compiling files comprising a shared library, but
1359 it does need additional linker flags in order to find shared
1360 libraries at run time.
1361
e2004992
KB
13622002-04-18 Kevin Buettner <kevinb@redhat.com>
1363
1364 * gdb.base/cvexpr.c (use): New function.
1365 (main): Invoke use() on all global variables to prevent
1366 some linkers from deleting these otherwise unused symbols.
1367
d8937120
MC
13682002-04-17 Michael Chastain <mec@shout.net>
1369From David S. Miller <davem@redhat.com>
1370
1371 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1372 handle 64-bit platforms correctly.
1373
ffd61a58
MS
13742002-04-12 Michael Snyder <msnyder@redhat.com>
1375From Jim Blandy <jimb@redhat.com>
1376 * gdb.base/foo.c (foox): Remove section attribute; the linker
1377 script can handle this instead.
1378 * gdb.base/bar.c (barx): Same.
1379 * gdb.base/baz.c (bazx): Same.
1380 * gdb.base/grbx.c (grbxx): Same.
1381
1382 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1383 manager doesn't automatically unmap overlays unnecessarily.
1384
6b8426a6
MH
13852002-04-10 Martin M. Hunt <hunt@redhat.com>
1386
1387 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1388 stepping out of main.
1389
34af4875
MC
13902002-04-09 Michael Chastain <mec@shout.net>
1391
1392 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1393 scope so that the nested scope tests will make sense.
1394 * gdb.c++/local.exp: Write patterns that actually work with gcc
1395 (the HP patterns "were never known to work with gcc").
1396 Keep the old aCC patterns too.
1397
2d1676a0
DJ
13982002-04-09 Daniel Jacobowitz <drow@mvista.com>
1399
1400 * gdb.base/attach.exp: Correct target board test.
1401
3a63e3f9
MC
14022002-04-08 Michael Chastain <mec@shout.net>
1403
1404 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1405 in a const method. Add some xfail and fail cases for configurations
1406 that do not emit the "const ...".
1407
f18dabd2
MC
14082002-04-07 Michael Chastain <mec@shout.net>
1409
1410 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1411 Accept "A * const" and "const A * const" as type of "this".
1412 Fix spelling of getFunky throughout. Make messages uniform.
1413
0fcddd82
EZ
14142002-04-07 Elena Zannoni <ezannoni@redhat.com>
1415
1416 Work around for PR gdb/285:
1417 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1418
16a8534a
EZ
14192002-04-07 Elena Zannoni <ezannoni@redhat.com>
1420
1421 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1422 instructions file at run time instead of configure time.
1423 Sometimes we run the test in a directory that is not the one we
1424 configured in.
1425 * gdb.asm/configure.in: Delete creation of symlink.
1426 * gdb.asm/configure: Regenerate.
1427
24181d81
JB
14282002-04-05 J. Brobecker <brobecker@gnat.com>
1429
1430 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1431 xfullpath () function.
1432
7cdb7107
DJ
14332002-04-04 Daniel Jacobowitz <drow@mvista.com>
1434
1435 * gdb.asm/Makefile.in: Correct dependencies.
1436
1437 * gdb.asm/powerpc.inc: New file.
1438 * gdb.asm/asm-source.exp: Add PowerPC.
1439 * gdb.asm/configure.in: Likewise.
1440 * gdb.asm/configure: Regenerated.
1441
a7d17088
DJ
14422002-04-04 Daniel Jacobowitz <drow@mvista.com>
1443
1444 * gdb.base/relocate.exp: New file.
1445 * gdb.base/relocate.c: New file.
1446
cd721503
FF
14472002-04-04 Fred Fish <fnf@redhat.com>
1448
1449 * gdb.base/step-test.exp: Update comment regarding stopping in
1450 memcpy/bcopy calls inserted as part of the compiler runtime.
1451
b22ad7a7
MS
14522002-04-04 Michael Snyder <msnyder@redhat.com>
1453
1454 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1455
5f279fa6
DJ
14562002-04-03 Daniel Jacobowitz <drow@mvista.com>
1457
1458 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1459 (gdb_expect): Remove $notransfer hack.
1460
dd0fd3ce
DJ
14612002-04-02 Daniel Jacobowitz <drow@mvista.com>
1462
1463 * gdb.c++/classes.exp ("calling method for small class"): Match
1464 updated register output.
1465
1e50cda1
DJ
14662002-03-30 Daniel Jacobowitz <drow@mvista.com>
1467
1468 Fix PR gdb/452
1469 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1470 when finished. Make gdb_file_cmd send "exec-file" when
1471 appropriate.
1472
24015922
DJ
14732002-03-30 Daniel Jacobowitz <drow@mvista.com>
1474
1475 * gdb.base/attach.exp: Remove extra setup_xfail.
1476
dd7dfd64
MS
14772002-03-26 Michael Snyder <msnyder@redhat.com>
1478
1479 * gdb.base/default.exp: Add tests for dump, append, and restore.
1480 * gdb.base/help.exp: Add tests for dump, append, and restore.
1481 * gdb.base/dump.exp: New file, test dump, append and restore.
1482 * gdb.base/dump.c: New file.
1483
48b2f8d7
MS
14842002-03-27 Michael Snyder <msnyder@redhat.com>
1485
1486 * gdb.base/help.exp: Modify expect strings to reflect
1487 clean-ups in help messages.
1488
05b4d525
FF
14892002-03-26 Fred Fish <fnf@redhat.com>
1490
1491 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1492 have debugging info for those functions and the compiler uses them
1493 internally to copy structs around.
1494
d7679631
FF
14952002-03-26 Fred Fish <fnf@redhat.com>
1496
1497 * gdb.base/list.exp: Revert the change made yesterday and add note
1498 about why we don't list the default lines for remote targets.
1499
523ac3f9
MS
15002002-03-25 Michael Snyder <msnyder@redhat.com>
1501
1502 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1503
754b2b8d
FF
15042002-03-25 Fred Fish <fnf@redhat.com>
1505
1506 * gdb.base/list.exp: This test works on remote targets so remove
1507 the short circuit for remote targets. Update copyright.
1508
33c3e192
FF
15092002-03-25 Fred Fish <fnf@redhat.com>
1510
1511 * gdb.base/attach.exp: Fix logic error that was suppressing this
1512 test for all non hppa*-*-hpux* targets, instead of the hp target.
1513 Move comments closer to the suppression point. Also now need to
1514 check that we are running natively.
1515
d43e73ee
MS
15162002-03-22 Michael Snyder <msnyder@redhat.com>
1517
882c8f02
MS
1518 * gdb.base/default.exp: Add test for gcore. Update copyright.
1519 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1520
04c12f60
FF
15212002-03-06 Fred Fish <fnf@redhat.com>
1522
1523 * gdb.base/funcargs.c: Remove extraneous ';' character.
1524 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1525
b43df995
MC
15262002-03-04 Michael Chastain <mec@shout.net>
1527
1528 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1529 accommodate gcc v3 function signature.
1530 * gdb.mi/mi0-var-cmd-exp: Ditto.
1531
92362027
AC
15322002-02-24 Andrew Cagney <ac131313@redhat.com>
1533
1534 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1535 ``GNU/Linux'' or ``Linux kernel''
1536 * testsuite/gdb.threads/pthreads.c: Ditto.
1537
258ad32d
MC
15382002-02-24 Michael Chastain <mec@shout.net>
1539
1540 * gdb.threads/pthreads.c (thread1): Add a return statement.
1541 (thread2): Likewise.
1542 (foo): Likewise.
1543
04c3b3d4
MC
15442002-02-23 Michael Chastain <mec@shout.net>
1545
1546 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1547 to placate gcc.
1548
5a2a0a20
MC
15492002-02-23 Michael Chastain <mec@shout.net>
1550
1551 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1552 test "ptype bint". The test passes on all my stabs configurations.
1553
a640f7fc
JB
15542002-02-21 Jim Blandy <jimb@redhat.com>
1555
27924826
JB
1556 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1557 filename at a time, and watch for the ones we want to see.
1558
a640f7fc
JB
1559 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1560 types of pointers to prototyped functions.
1561
edcc8c75
AC
15622002-02-20 Andrew Cagney <ac131313@redhat.com>
1563
1564 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1565 signed, unsigned and straight char.
1566 (padding_char, padding_short, padding_int, padding_long,
1567 padding_long_long, padding_float, padding_double,
1568 padding_long_double): New global variables.
1569 (fill, fill_structs): New functions.
1570
1571 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1572 for correctly sized writes. Update copyright.
1573 (get_valueof): New procedure.
1574 (get_sizeof): Call get_valueof.
1575 (check_valueof): New procedure.
1576 (check_padding): New procedure.
1577
ac57ea44
MC
15782002-02-20 Michael Chastain <mec@shout.net>
1579
1580 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1581 to setup_xfail. Document some of the remaining calls.
1582
7a10c941
MC
15832002-02-18 Michael Chastain <mec@shout.net>
1584
1585 * gdb.c++/userdef.exp: Update copyright year.
1586
fb8acdcc
DJ
15872002-02-18 Daniel Jacobowitz <drow@mvista.com>
1588
1589 * gdb.c++/userdef.exp: Test overloaded operators properly.
1590 Remove xfails.
1591
fda6ae12
MS
15922002-02-14 Michael Snyder <msnyder@redhat.com>
1593
1594 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1595
676a0442
DJ
15962002-02-14 Daniel Jacobowitz <drow@mvista.com>
1597
1598 * gdb.base/a2-run.exp: Check for a remote target properly.
1599 * gdb.base/annota1.exp: Likewise.
1600 * gdb.base/list.exp: Likewise.
1601 * gdb.base/reread.exp: Likewise.
1602 * gdb.base/scope.exp: Likewise.
1603 * gdb.base/shlib-call.exp: Likewise.
1604 * gdb.base/term.exp: Likewise.
1605 * gdb.c++/annota2.exp: Likewise.
1606
78b4f468
RE
16072002-02-13 Richard Earnshaw <rearnsha@arm.com>
1608
1609 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1610
9a81ba51
MC
16112002-02-10 Michael Chastain <mec@shout.net>
1612
1613 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1614 (call_after_alloca): Ditto.
1615
004af6c7
DJ
16162002-02-10 Daniel Jacobowitz <drow@mvista.com>
1617
1618 * gdb.base/ending-run.exp: Guard "cont" test with
1619 gdb_skip_stdio_test.
1620
37225f62
JB
16212002-02-06 Jim Blandy <jimb@redhat.com>
1622
1623 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1624 from here...
1625 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1626 To here. Disable this test on non-HP platforms. Add big comment.
1627
fe6fdd96
MS
16282002-02-04 Michael Snyder <msnyder@redhat.com>
1629
1630 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1631 other than d10v and m32r.
1632
036fad3f
RE
16332002-02-02 Richard Earnshaw <rearnsha@arm.com>
1634
1635 * gdb.base/default.exp: Rewrite test patterns to reduce time
1636 taken to match them.
1637
7148ab62
DJ
16382002-01-30 Daniel Jacobowitz <drow@mvista.com>
1639
1640 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1641 Allow a start function above main.
1642 * gdb.threads/linux-dp.exp: Fix copyright date.
1643
396cc255
DJ
16442002-01-30 Daniel Jacobowitz <drow@mvista.com>
1645
1646 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1647 (check_philosopher_stack): Check for manager thread before checking
1648 for a just-starting thread.
1649
f038d31b
DJ
16502002-01-30 Daniel Jacobowitz <drow@mvista.com>
1651
1652 From Neil Booth <neil@daikokuya.demon.co.uk>:
1653 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1654 warnings.
1655
b3ff9d9a
FF
16562002-01-21 Fred Fish <fnf@redhat.com>
1657
1658 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1659 not caller.
1660
39ad761d
JB
16612002-01-21 Jim Blandy <jimb@redhat.com>
1662
1663 * gdb.base/reread.exp: Check that GDB properly re-reads the
1664 executable file when it changes while no inferior is running.
1665
aaf320fa
FF
16662002-01-21 Fred Fish <fnf@redhat.com>
1667
1668 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1669 optionally accept the "shlib events" variation.
1670
808a31f5
JB
16712002-01-21 Jim Blandy <jimb@redhat.com>
1672
1673 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1674 call `fflush' after every `printf', so that the output is produced
1675 at predictable points, regardless of whatever buffering does (or
1676 doesn't) take place.
1677 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1678 at different points.
1679
4420d5e2
DJ
16802002-01-20 Daniel Jacobowitz <drow@mvista.com>
1681
1682 * gdb.c++/inherit.exp: Update copyright years.
1683 * gdb.c++/method.exp: Likewise.
1684
3e36a0f4
DJ
16852002-01-20 Daniel Jacobowitz <drow@mvista.com>
1686
1687 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1688 artificial methods/arguments.
1689 * gdb.c++/derivation.exp: Likewise.
1690 * gdb.c++/inherit.exp: Likewise.
1691 * gdb.c++/method.exp: Likewise.
1692 * gdb.c++/virtfunc.exp: Likewise.
1693
b4ceaee6
AC
16942002-01-18 Andrew Cagney <ac131313@redhat.com>
1695
1696 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1697 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1698 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1699 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1700 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1701 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1702
ecace851
JB
17032002-01-17 Jim Blandy <jimb@redhat.com>
1704
1705 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1706 anchoring the pattern matching the entry point symbol's name.
1707
375fc983
AC
17082002-01-17 Andrew Cagney <ac131313@redhat.com>
1709
1710 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1711 continue/quit query. Update copyright.
1712
fe6fdd96
MS
17132002-01-14 Michael Snyder <msnyder@redhat.com>
1714
1715 * gdb.base/gcore.exp: Remove extra debugging output.
1716
e017c81f
DJ
17172002-01-13 Daniel Jacobowitz <drow@mvista.com>
1718
1719 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1720 for slightly dubious v2 mangled string.
1721
37ab3bf8
DJ
17222002-01-13 Daniel Jacobowitz <drow@mvista.com>
1723
1724 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1725
1bc05c3a 17262002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1727
1bc05c3a 1728 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1729
1bc05c3a
JM
1730 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1731 constructors.
1732 * gdb.c++/derivation.exp: Likewise.
1733 * gdb.c++/templates.exp: Likewise.
1734 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1735
1bc05c3a
JM
17362002-01-10 Michael Snyder <msnyder@redhat.com>
1737
1738 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1739
a911c360
MS
17402002-01-08 Michael Snyder <msnyder@redhat.com>
1741
1742 * gdb.base/gcore.exp: New test for generate-core-file command.
1743 * gdb.base/gcore.c: Testcase for above.
1744 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1745
ea2119ec
JM
17462002-01-08 Jason Merrill <jason@redhat.com>
1747
1748 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1749
68203136
FF
17502002-01-07 Fred Fish <fnf@redhat.com>
1751
1752 * gdb.c++/overload.exp: Remove unconditional xfails for:
1753 print foo_instance1.overloadargs(1)
1754 print foo_instance1.overloadargs(1, 2)
1755 print foo_instance1.overloadargs(1, 2, 3)
1756 print foo_instance1.overloadargs(1, 2, 3, 4)
1757 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1758 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1759 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1760 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1761 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1762 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1763 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1764 print foo_instance1.overload1arg()
1765 print foo_instance1.overload1arg((char)arg2)
1766 print foo_instance1.overload1arg((signed char)arg3)
1767 print foo_instance1.overload1arg((unsigned char)arg4)
1768 print foo_instance1.overload1arg((int)arg7)
1769 print foo_instance1.overload1arg((unsigned int)arg8)
1770 print foo_instance1.overload1arg((float)arg11)
1771 print foo_instance1.overload1arg((double)arg12)
1772
21b9b5b1
MS
17732002-01-07 Michael Snyder <msnyder@redhat.com>
1774
1775 * gdb.base/huge.exp: New test. Print a very large target data object.
1776 (skip_huge_test): New test variable. Define if you want to skip this
1777 test. The test reads an 8 megabyte data object from the target, so it
1778 might be very time consuming on remote targets with a slow connection.
1779 * gdb.base/huge.c: New file. Test case for above.
1780
725f922e
FF
17812002-01-07 Fred Fish <fnf@redhat.com>
1782
1783 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1784 g_instance.bfoo, and g_instance.cfoo.
1785
634d57ec
JL
1786Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1787
f286b2c3
JL
1788 * gdb.base/break.c (multi_line_if_conditional): New function.
1789 (multi_ilne_while_conditional): Likewise.
1790 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1791 IF or WHILE condition puts the breakpoint at the start of
1792 the condition.
1793
634d57ec
JL
1794 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1795 hppa*-*-hpux* expected failure.
1796 * gdb.base/structs.exp (do_function_calls): Similarly.
1797
1798 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1799 watchpoints.
1800
9fbfe2dc
AC
18012002-01-06 Andrew Cagney <ac131313@redhat.com>
1802
1803 Fix PR gdb/66.
1804 * gdb.base/structs.exp: Replace skip for a29k with skip for
1805 gdb,cannot_call_functions.
1806 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1807 * gdb.base/callfuncs.exp: Ditto.
1808 * gdb.base/call-rt-st.exp: Ditto.
1809 * gdb.base/call-strs.exp: Ditto.
1810 * gdb.base/callfwmall.exp: Ditto.
1811 * gdb.base/scope.exp: Obsolete xfail a29k.
1812 * gdb.c++/misc.exp: Ditto.
1813 * gdb.c++/cplusfuncs.exp: Ditto.
1814 * gdb.base/ptype.exp: Ditto.
1815 * gdb.base/printcmds.exp: Ditto.
1816 * gdb.base/opaque.exp: Ditto.
1817 * gdb.base/list.exp: Ditto.
1818 * gdb.base/funcargs.exp: Ditto.
1819 * gdb.base/default.exp: Ditto.
1820
8ddad156
MS
18212002-01-04 Michael Snyder <msnyder@redhat.com>
1822
ca4976a6 1823 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1824 * gdb.base/maint.exp: Add tests for maint info sections options.
1825
1b074332
JL
1826Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1827
1828 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1829
7d159115
CV
18302001-12-20 Corinna Vinschen <vinschen@redhat.com>
1831
1832 * gdb.asm/arm.inc: New file.
1833 * gdb.asm/asm-source.exp: Add arm targets.
1834 * gdb.asm/configure.in: Ditto.
1835 * gdb.asm/configure: Recreated from configure.in.
1836
8fb87725
JL
1837Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1838
afabe08c
JL
1839 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1840 with HP's compiler.
1841 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1842 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1843 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1844 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1845
1846 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1847 either HP's compilers or GCC.
1848
db521deb
JL
1849 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1850 a SIGBUS or SIGSEGV.
1851
1852 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1853
1854 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1855 can be compiled with either HP's compiler or GCC.
1856
cfa88ab7
JL
1857 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1858 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1859 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1860
ca344dff
JL
1861 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1862 to match current gdb output. Update due to using auto-solib-limit
1863 for limiting instead of overloading auto-solib-add.
1864 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1865 test program.
1866
3f3c6e55 1867 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1868 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1869 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1870 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1871 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1872 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1873 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1874 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1875 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1876 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1877 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1878 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1879 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1880
8fb87725
JL
1881 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1882 a SIGTRAP to the inferior.
1883
cf599fa7
CV
18842001-12-19 Corinna Vinschen <vinschen@redhat.com>
1885
1886 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1887 Substitute call to target_link by call to gdb_compile.
1888
2cd045cd
JL
1889Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1890
1891 * gdb.base/break.exp: Fix HP specific search string when testing
1892 backtracing in a called function.
1893
1894 * gdb.base/constvars.exp: Only set lang to C++ if we're
1895 compiling the test with HP's compilers.
1896 * gdb.base/volatile.exp: Similarly.
1897
99ebe9ac
JB
18982001-12-19 Jim Blandy <jimb@redhat.com>
1899
1900 * gdb.base/printcmds.exp: Expect the null character to be printed
1901 as '\0', and the '\013' to be printed as '\v'.
1902 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1903 * gdb.base/setvar.exp: Same.
1904
b9891b29
JB
19052001-12-17 Jim Blandy <jimb@redhat.com>
1906
0eba65ab
JB
1907 * gdb.base/completion.exp: Rather than completing very long
1908 filenames, which can make the readline library produce output we
1909 don't recognize, cd to the directory first, and then complete
1910 using nice, short relative paths.
1911
6970b5b1
JB
1912 * gdb.base/completion.exp: On some systems, there is, in fact, a
1913 variable named `b' in scope, since GDB treats all static
1914 variables as being in scope. So use `no_var_named_this'
1915 instead of `b'.
1916
b9891b29
JB
1917 * gdb.base/corefile.exp: Recognize the message saying that GDB
1918 can't find the core file's registers as a failure.
1919
e6ccd35f
JSC
19202001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1921
1922 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1923 test expect string more specific.
1924
105ba819
CV
19252001-12-13 Corinna Vinschen <vinschen@redhat.com>
1926
1927 * gdb.asm/asm-source.exp: Add support for xstormy16.
1928 * gdb.asm/configure.in: Ditto.
1929 * gdb.asm/configure: Rebuild.
1930 * gdb.asm/xstormy16.inc: New file.
1931
e9e79dd9
FF
19322001-12-10 Fred Fish <fnf@redhat.com>
1933
1934 * gdb.base/maint.exp: Update to match changes in type dumping code.
1935
347dc97d
JB
19362001-12-10 Jim Blandy <jimb@redhat.com>
1937
1938 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1939 matching the entry point symbol's name at the beginning of the
1940 line.
1941
5178b9d6
DJ
19422001-12-07 Daniel Jacobowitz <drow@mvista.com>
1943
1944 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1945 gdb.c++/inherit.exp, gdb.c++/method.exp,
1946 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1947 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1948 and class layout support.
1949
af890c52
DJ
19502001-12-07 Daniel Jacobowitz <drow@mvista.com>
1951
1952 * gdb.c++/classes.exp: Add test for static member function.
1953 * gdb.c++/misc.cc: Add class with static member function.
1954
7a345fb3
JB
19552001-12-07 Jim Blandy <jimb@redhat.com>
1956
f2e54a80 1957 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1958 those tests as `unsupported'.
1959 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1960 Rewrite subsequent tests to use it.
1961
1962 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1963 those tests as `unsupported'.
1964 * gdb.base/structs.exp (call_struct_func): New function.
1965 (do_function_calls): Use call_struct_func to call the functions
1966 returning structs.
1967
0bc69509
JB
1968 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1969 whether functions are prototyped or not, so we can't possibly pass
1970 arguments to t_float_values2 properly.
1971
7a345fb3
JB
1972 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1973 value of `timeout' for targets other than the mips*tx39-*.
1974
edb6ede1
MS
19752001-12-06 Michael Snyder <msnyder@redhat.com>
1976
1977 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1978 and detect whether the start symbol has a leading underscore.
1979
2d842f13
JB
19802001-12-04 Jim Blandy <jimb@redhat.com>
1981
1982 * gdb.base/completion.exp: Clarify indentation.
1983
68550daf
JB
19842001-12-03 Jim Blandy <jimb@redhat.com>
1985
1986 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1987 variables on the S/390, not `.word'.
1988
cd5195a8
JB
19892001-11-30 Jim Blandy <jimb@redhat.com>
1990
1991 Add assembly-source tests for s390-ibm-linux.
1992 * gdb.asm/s390.inc: New file.
1993 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1994 the S/390 architecture.
1995 * gdb.asm/configure: Regenerated.
1996
ca9efc90
MS
19972001-11-30 Michael Snyder <msnyder@redhat.com>
1998
1999 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2000 next, info source, info sources, info line, global and static
2001 variables, and static functions.
2002 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2003 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2004 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2005 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2006 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2007 (gdbasm_leave): Restore frame pointer.
2008 (gdbasm_startup): Copy stack set-up from crt0.S.
2009
d0e66976
FN
20102001-11-26 Fernando Nasser <fnasser@redhat.com>
2011
2012 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2013 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2014 to a local (non-static) variable. Copy tstruct.a to a static buffer
2015 and return a pointer to that buffer.
2016 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2017
e2334072
MK
20182001-11-24 Mark Kettenis <kettenis@gnu.org>
2019
2020 * gdb.asm/configure.in: Fix recognition of ix86 target.
2021 * gdb.asm/configure: Regenerate.
2022
756caa3d
MS
20232001-11-21 Michael Snyder <msnyder@redhat.com>
2024
2025 * gdb.asm/sparc.inc: New file.
2026 * gdb.asm/asm-source.exp: Recognize sparc target.
2027 * gdb.asm/configure.in: Recognize sparc target.
2028 * gdb.asm/configure: Regenerate.
2029
9a4d72d5
MS
20302001-11-21 Michael Snyder <msnyder@redhat.com>
2031
2032 * gdb.asm/m32r.inc: New file.
2033 * gdb.asm/asm-source.exp: Recognize m32r target.
2034 * gdb.asm/configure.in: Recognize m32r target.
2035 * gdb.asm/configure: Regenerate.
2036
a773d1cd
MS
20372001-11-20 Michael Snyder <msnyder@redhat.com>
2038
017ac23d
MS
2039 * gdb.asm/i386.inc: New file.
2040 * gdb.asm/asm-source.exp: Recognize ix86 target.
2041 * gdb.asm/configure.in: Recognize ix86 target.
2042 * gdb.asm/configure: Regenerate.
2043
a773d1cd
MS
2044 * gdb.c++/namespace.exp: Fix quotes in output messages.
2045
bb632afb
MS
20462001-11-14 Michael Snyder <msnyder@redhat.com>
2047
25d559ca 2048 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2049 qualifier in a type cast expression, to designate an address
2050 in the instruction space (Harvard architecture).
2051
4749e309
MS
20522001-11-13 Michael Snyder <msnyder@redhat.com>
2053
2054 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2055 Tests for expressions using 'const' and 'volatile'.
2056
25050984
CV
20572001-11-13 Corinna Vinschen <vinschen@redhat.com>
2058
2059 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2060
1902c51f
DJ
20612001-11-12 Daniel Jacobowitz <drow@mvista.com>
2062
2063 * lib/mi-support.exp (mi_run_to_helper): Move comments
2064 outside of gdb_expect.
2065
dcf95b47
DJ
20662001-11-11 Daniel Jacobowitz <drow@mvista.com>
2067
2068 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2069 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2070 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2071 mi0_run_to): New functions.
2072 * gdb.mi/mi-simplerun.exp: Use them.
2073 * gdb.mi/mi0-simplerun.exp: Likewise.
2074 * gdb.mi/mi-var-cmd.exp: Likewise.
2075 * gdb.mi/mi0-var-cmd.exp: Likewise.
2076
45b074e1
AC
20772001-11-10 Andrew Cagney <ac131313@redhat.com>
2078
2079 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2080 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2081
bf50d346
AC
20822001-11-09 Andrew Cagney <ac131313@redhat.com>
2083
2084 * gdb.base/restore.exp: Include $expected value in restored test
2085 message.
2086
9383332c
AC
20872001-11-09 Andrew Cagney <ac131313@redhat.com>
2088
2089 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2090 implemented.
2091
db62520a
MS
20922001-11-08 Michael Snyder <msnyder@redhat.com>
2093
2094 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2095 Add pass/fail message for stop at breakpoint in call dummy function.
2096
b5703437
MS
20972001-11-07 Michael Snyder <msnyder@redhat.com>
2098
760f6330
MS
2099 * gdb.c++/templates.exp (test_template_breakpoints):
2100 If we get an overload menu, but it does not match what
2101 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2102 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2103 making the whitespace optional. Argument for "new" may be
2104 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2105 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2106 making the whitespace optional. Also replace "(void) with
2107 "((void|)), making the keyword "void" optional.
63f50499
MS
2108 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2109 making the whitespace optional. Also replace "(void) with
2110 "((void|)), making the keyword "void" optional.
3bf40917
MS
2111 * gdb.base/callfuncs.c (t_float_values): This function must
2112 _not_ be prototyped, and the following function (t_float_values2)
2113 must be prototyped (if the compiler supports it), so that GDB
2114 can be tested against both cases. Usually one case involves
2115 promotion of float to double, while the other does not.
2116 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2117 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2118 includes a stack frame for "start".
2119
c8ab4e6d
JB
21202001-11-05 Jim Blandy <jimb@redhat.com>
2121
2122 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2123 pointers are 32 bits long, and that offsets of relocs are always
2124 stored in the data (REL-style), and not in the reloc entry itself
2125 (RELA-style).
2126 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2127 stabs.
2128
3f08ced9
MS
21292001-11-01 Michael Snyder <msnyder@redhat.com>
2130
2131 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2132 and regular expression operators by using quoting.
2133
cbfa24cd
MS
21342001-10-31 Michael Snyder <msnyder@redhat.com>
2135
2136 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2137 depending on what the symbol table contains.
2138 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2139 the output of the ptype command. Similarly, accept both "const &"
2140 and "const&".
2141
aaa68313
CV
21422001-10-31 Corinna Vinschen <vinschen@redhat.com>
2143
2144 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2145 symbol `STORAGE' to allow to choose the storage class of
2146 the local datastructures.
2147 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2148 compiler directive.
2149
91740388
MS
21502001-10-30 Michael Snyder <msnyder@redhat.com>
2151
2152 * gdb.base/jump.exp: Allow it to run for all targets.
2153
1b7c05e7
CV
21542001-10-29 Corinna Vinschen <vinschen@redhat.com>
2155
2156 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2157 with new double_array size.
2158 (main): Change storage class of all local variables to static.
2159 Reduce size of double_array to 9.
2160 * gdb.base/call-ar-st.exp: Increase timeout value.
2161 Change expected output for double array to match new size in
2162 call-ar-st.c.
2163
36a22261
CV
21642001-10-29 Corinna Vinschen <vinschen@redhat.com>
2165
2166 * gdb.base/ending-run.exp: Create identical output when passing
2167 `step to end of run' case. Add regular expression branch satisfying
2168 Stormy16 target.
2169
92b8ae91
MK
21702001-10-28 Mark Kettenis <kettenis@gnu.org>
2171
2172 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2173 that we catch the expected failure under Linux/x86.
2174
cb135b83
OF
21752001-10-29 Orjan Friberg <orjanf@axis.com>
2176
2177 * gdb.base/setvar.exp: Escape curly braces.
2178 * gdb.stabs/weird.exp: Ditto.
2179
6884aa54
DJ
21802001-10-27 Daniel Jacobowitz <drow@mvista.com>
2181
2182 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2183 * gdm.mi/mi0-hack-cli.exp: Likewise.
2184
0398c9aa
AC
21852001-10-25 Andrew Cagney <ac131313@redhat.com>
2186
2187 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2188 messages.
2189
d20bf2e8
AC
21902001-10-21 Andrew Cagney <ac131313@redhat.com>
2191
2192 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2193 checking MI enabled.
2194
03dd63aa
CV
21952001-10-09 Corinna Vinschen <vinschen@redhat.com>
2196
2197 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2198
1d9d99f3
FCE
21992001-10-04 Frank Ch. Eigler <fche@redhat.com>
2200
2201 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2202 if gdb child process crashes, just signal an error.
2203
838ae6c4
JB
22042001-10-02 Jim Blandy <jimb@redhat.com>
2205
2206 * lib/gdb.exp (test_xfail_format): Simplify.
2207
2208 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2209 front of the variable name `format'. Simplify `if'.
2210
8f0cbc1c
DJ
22112001-10-01 Daniel Jacobowitz <drow@mvista.com>
2212
2213 * gdb.threads/pthreads.exp: Wait for output and delay
2214 before sending ^C.
2215
1f08dafd
DJ
22162001-10-01 Daniel Jacobowitz <drow@mvista.com>
2217
2218 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2219 some incorrect output instead of timing out.
2220 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2221
674f90ff
CV
22222001-09-28 Corinna Vinschen <vinschen@redhat.com>
2223
2224 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2225 check to allow additional `int'.
2226
9b284272
DJ
22272001-09-27 Daniel Jacobowitz <drow@mvista.com>
2228
2229 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2230 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2231
b55a4771
MS
22322001-09-27 Michael Snyder <msnyder@redhat.com>
2233
2234 * lib/gdb.exp (test_debug_format): New proc.
2235 (setup_xfail_format): Use new proc test_debug_format.
2236 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2237 proc; use new service proc test_debug_format.
2238 Replace all other "gcc_compiled" tests with this test.
2239 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2240 proc; use new service proc test_debug_format.
2241 Replace all other "gcc_compiled" tests with this test.
2242
22432001-09-27 Michael Snyder <msnyder@redhat.com>
2244
2245 * gdb.base/cvexpr.exp: New file.
2246 * gdb.base/cvexpr.c: New file
2247 Test for expressions using const and volatile keywords.
2248
4e6667ac
CV
22492001-09-26 Corinna Vinschen <vinschen@redhat.com>
2250
2251 * gdb.base/constvars.exp: Check for different orders of keywords
2252 and additional "int" strings in output.
2253
4f337972
AC
22542001-09-22 Andrew Cagney <ac131313@redhat.com>
2255
2256 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2257 responses from "help maint".
2258
2015650d
FCE
22592001-09-19 Frank Ch. Eigler <fche@redhat.com>
2260
2261 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2262 to localhost:NNN instead of :NNN, in case Xvfb is listening
2263 only on TCP.
2264
f3bcedc1
CV
22652001-09-19 Corinna Vinschen <vinschen@redhat.com>
2266
2267 * gdb.base/recurse.exp: When checking leaving the watchpoint
2268 scope, recognize when gdb is in function's epilogue and pass.
2269
6b819c92
KS
22702001-09-18 Keith Seitz <keiths@redhat.com>
2271
2272 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2273 support for running tests against sid targets.
2274 (gdbtk_done): Ditto.
2275
a10c9419
CV
22762001-09-18 Corinna Vinschen <vinschen@redhat.com>
2277
2278 * gdb.base/ending-run.c (main): Set stdout buffersize
2279 to the same reasonable value for any target.
2280 * gdb.base/ending-run.exp: Add a regular expression
2281 to make testsuite happy on Sanyo Stormy16 target.
2282
739d0d99
CV
22832001-09-17 Corinna Vinschen <vinschen@redhat.com>
2284
2285 * gdb.base/display.c (do_loops): Add float variable `f'.
2286 Increment f in loop.
2287 * gdb.base/display.exp: Increment timeout by 60 seconds.
2288 Change float display test to use variable `f'.
2289
1b8947f0
JB
22902001-09-17 Jim Blandy <jimb@redhat.com>
2291
2292 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2293 overflowing the limited breakpoint tables on some ROM monitors
2294 (like the ROM68K).
2295
9890ac81
FCE
22962001-09-15 Frank Ch. Eigler <fche@redhat.com>
2297
2298 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2299 the "-ac" (disable access control) flag.
2300
6db765ea
JH
23012001-08-30 Jeff Holcomb <jeffh@redhat.com>
2302
2303 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2304 ints.
2305
4c32cc04
KS
23062001-08-30 Keith Seitz <keiths@redhat.com>
2307
2308 * lib/gdb.exp: Move all insight-related functionality into
2309 separate file.
2310 * lib/insight-support.exp: New file.
2311
8d6e6f81
FCE
23122001-08-29 Frank Ch. Eigler <fche@redhat.com>
2313
2314 * config/sid.exp (sid_start): Never set sid verbosity; disable
2315 expect_background {} that consumed its stdout; tolerate </dev/null.
2316 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2317
6a90e1d0
AC
23182001-08-18 Andrew Cagney <ac131313@redhat.com>
2319
2320 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2321 CLI jump command to start it.
2322 (mi_run_to_main): Fail immediatly when unexpected output.
2323
1759b3c3
AC
23242001-08-18 Andrew Cagney <ac131313@redhat.com>
2325
2326 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2327 beginning of function. Fix PR gdb/191.
2328
61d11d80
FCE
23292001-08-16 Frank Ch. Eigler <fche@redhat.com>
2330
2331 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2332 what to force sid endianness to.
2333
942a4df2
KS
23342001-08-15 Keith Seitz <keiths@redhat.com>
2335
2336 * lib/gdb.exp (gdbtk_start): Don't set environment
2337 variables for TCL_LIBRARY and friends. Insight will
2338 now figure these out for itself.
2339
0521c418
MS
23402001-08-02 Michael Snyder <msnyder@redhat.com>
2341
2342 * gdb.base/completion.exp: Remove the symbol "a64l" from
2343 the expect string; this is target-specific, and not related
2344 to what is being tested.
2345
74a9a58a
DB
23462001-08-02 Dave Brolley <brolley@redhat.com>
2347
2348 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2349
c70819fa
MS
23502001-07-25 Michael Snyder <msnyder@redhat.com>
2351
c2b8fa57
MS
2352 * gdb.base/consecutive.exp: New file. Test stepping over
2353 breakpoints on consecutive instructions.
2354 * gdb.base/consecutive.c: New file.
2355
c70819fa
MS
2356 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2357 curly braces in regular expressions.
2358
2b1a1355
MS
23592001-07-25 Michael Snyder <msnyder@redhat.com>
2360
2361 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2362 legitimate output from stepping out of main.
2363
413eca6f
KS
23642001-07-22 Keith Seitz <keiths@redhat.com>
2365
2366 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2367 the empty string, do not run the tests.
2368
7e5a9322
SC
23692001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2370
2371 * gdb.base/long_long.exp: Detect size of pointer. Take into
2372 account 2-byte pointers when testing for p/a results.
2373
de58f10f
SC
23742001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2375
2376 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2377 and defined to 1K for m68hc11.
2378 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2379 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2380 (sizeof_random_data): New variable to tell the size of the data table;
2381 don't test past this size; always run to main.
2382
d6f5fea1
SC
23832001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2384
2385 * gdb.base/return2.exp: return of long long and double fails for
2386 68HC11; don't execute these tests on that platform.
2387 * gdb.base/return.exp: Return of a double fails for 68hc11.
2388
c477543d
SC
23892001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2390
2391 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2392 tests that print a float.
2393 * call-rt-st.exp: Likewise.
2394
63cf1c79
MK
23952001-07-12 Mark Kettenis <kettenis@gnu.org>
2396
2397 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2398 running this test on Linux.
2399
112f9ab5
MC
24002001-06-24 Michael Chastain <chastain@redhat.com>
2401
2402 * gdb.base/arithmet.exp: Remove some tests to make all test names
2403 unique.
2404
4970cb0f
MS
24052001-07-03 Michael Snyder <msnyder@redhat.com>
2406
2407 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2408 the output of the ptype command.
2409
d85da69f
MS
24102001-07-02 Michael Snyder <msnyder@redhat.com>
2411
4c8a82de
MS
2412 * gdb.base/completion.exp: Don't assume that break.c is the only
2413 source file that may contain functions named "marker".
d85da69f
MS
2414 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2415
8afc772b
AC
24162001-06-28 Andrew Cagney <ac131313@redhat.com>
2417
2418 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2419 of files to delete.
2420
2421 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2422 * gdb.disasm/h8300s.exp: New file.
2423 gdb.disasm/h8300s.s: Likewise.
2424
cff22675
AC
24252001-06-27 Andrew Cagney <ac131313@redhat.com>
2426
2427 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2428 empty breakpoint tables.
2429
68c81b54
AC
24302001-06-25 Andrew Cagney <ac131313@redhat.com>
2431
2432 * lib/mi-support.exp: Update args=... part of stop-reason
2433 patterns. Accept either a list or a tuple.
2434
2dd62704
AC
24352001-06-23 Andrew Cagney <ac131313@redhat.com>
2436
2437 * lib/mi-support.exp: Remove local emacs variable defining
2438 change-log-default-name.
2439
b4127474
MC
24402001-06-22 Michael Chastain <chastain@redhat.com>
2441
2442 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2443 This is operationally compatible with the previous version.
2444
8dbfb380
JB
24452001-06-13 Jim Blandy <jimb@redhat.com>
2446
2447 * lib/gdb.exp (gdb_test): Doc fix.
2448
f2d8c86d
MC
24492001-06-10 Michael Chastain <chastain@redhat.com>
2450
2451 * gdb.base/exprs.exp: Remove a duplicate test.
2452
81564d34
JB
24532001-06-06 Jim Blandy <jimb@redhat.com>
2454
2455 * gdb.base/return2.exp (main): Use values to test float and double
2456 returns that are not NaN's, to avoid being confused by IEEE
2457 comparison rules.
2458
da55addb
MS
24592001-06-04 Michael Snyder <msnyder@redhat.com>
2460
2461 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2462 non-zero if control_c fails. Terminate the test on failure,
2463 rather than wait for 12 more tests to time out.
2464
42c65987
JB
24652001-06-06 Jim Blandy <jimb@redhat.com>
2466
b18bced9
JB
2467 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2468 Don't forget to match the GDB prompt.
2469
42c65987
JB
2470 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2471
5b41e5f0
JB
24722001-06-04 Jim Blandy <jimb@redhat.com>
2473
2474 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2475 command.
2476
015e046f
KB
24772001-05-31 Kevin Buettner <kevinb@redhat.com>
2478
2479 * gdb.base/annota1.exp (info break): Match four or more spaces
2480 after "Address".
2481
fb1ffbbe
MC
24822001-05-31 Michael Chastain <chastain@redhat.com>
2483
2484 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2485 (dm_type_int_star): Likewise.
2486 (dm_type_long_star): Likewise.
2487 (dm_type_void_star): Likewise.
2488
5ea2a32c
KB
24892001-05-29 Kevin Buettner <kevinb@redhat.com>
2490
2491 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2492 to a known value in order to get consistent results regardless
2493 of the setting of INPUTRC or the presence or contents of .inputrc.
2494
ae23c492
MS
24952001-05-24 Michael Snyder <msnyder@redhat.com>
2496
ac55707e
MS
2497 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2498 Don't require that the main thread and the manager thread are the
2499 first in the list.
2500
ae23c492
MS
2501 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2502 debugging. If test fails, issue an "unsupported" not a "fail".
2503
400071f1
JB
25042001-05-24 Jim Blandy <jimb@redhat.com>
2505
2506 Don't assume that short is shorter than int.
2507 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2508 assume that shorts are smaller than ints. On a 16-bit machine,
2509 this isn't true.
2510 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2511 an int, is not equal to ~0 stored in an unsigned char. This tests
2512 the same thing that the previous test meant to, but works on
2513 16-bit machines, too.
2514 ("print unsigned char != (~0)"): Same test, complemented.
2515
0816a3e5
MS
25162001-05-24 Michael Snyder <msnyder@redhat.com>
2517
2518 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2519 test for (full_coverage == 0). This makes the test run faster,
2520 and prevents dejagnu getting out of step.
2521
f6dc23a9
KB
25222001-05-23 Kevin Buettner <kevinb@redhat.com>
2523
2524 * gdb.base/finish.exp (finish_void): Revise pattern for
2525 stopping on the call statement to not permit stopping at
2526 the start of the instructions comprising the call sequence.
2527
7dbd117d
MC
25282001-05-19 Michael Chastain <chastain@redhat.com>
2529
2530 * gdb.base/callfuncs.exp: Make all test names unique.
2531 * gdb.base/commands.exp: Make all test names unique.
2532 * gdb.base/condbreak.exp: Make all test names unique.
2533 * gdb.base/dbx.exp: Make all test names unique.
2534 * gdb.base/default.exp: Make all test names unique.
2535 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2536 and TIMEOUT messages to their corresponding PASS message.
2537 * gdb.base/ending-run.exp: Make all test names unique.
2538 * gdb.base/long_long.exp: Remove duplicate test.
2539
6b0b0a9e
KB
25402001-05-21 Kevin Buettner <kevinb@redhat.com>
2541
2542 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2543 stop on the call statement as well as the statement after the
2544 call.
2545
2caa35cb
MS
25462001-05-21 Michael Snyder <msnyder@redhat.com>
2547
2548 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2549
40713331
EZ
25502001-05-10 Elena Zannoni <ezannoni@redhat.com>
2551
2552 * gdb.base/completion.exp: Revamp test. Make it execute on all
2553 platforms.
2554
c2c1be8d
EZ
25552001-05-10 Elena Zannoni <ezannoni@redhat.com>
2556
2c9cd303
EZ
2557 * config/gdbserver.exp (gdb_load): Handle the case
2558 in which the arguments to gdbserver are given in the
2559 baseboard configuration file.
2560 Also handle the case in which the server needs to do a
2561 load.
2562
9671de48
KS
25632001-05-07 Keith Seitz <keiths@cygnus.com>
2564
2565 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2566 set up the display for testing.
2567 (gdbtk_start): Convert all paths to paths that tcl will like.
2568 Export target information to environment.
2569 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2570 necessary.
2571 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2572 (to_tcl_path): New proc to convert a given pathname into
2573 a path acceptible as an argument to a tcl command.
2574 (_gdbtk_export_target_info): New proc to export target info
2575 into the environment for gdbtk testing.
2576 (gdbtk_done): New proc to signal end-of-test.
2577
5a360f47
JB
25782001-05-06 Jim Blandy <jimb@redhat.com>
2579
2580 * restore.c: Make the code of caller0 correspond to its comment.
2581
66c756c6
MS
25822001-05-03 Michael Snyder <msnyder@redhat.com>
2583
2584 * config/sid.exp (gdb_target_sid): Check for error messages.
2585 On error or timeout, don't make expect exit (which will terminate
2586 all subsequent tests); instead just make gdb exit.
2587 (gdb_load): Check for error messages. On error or timeout,
2588 return a negative value.
2589
a966fde5
JB
25902001-04-24 Jim Blandy <jimb@redhat.com>
2591
851c18e0
JB
2592 * gdb.c++/templates.exp: If we see the prompt for the overload
2593 list, but we haven't recognized any of the longer patterns,
2594 arrange for this test to fail, not hang.
2595
a966fde5
JB
2596 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2597 variations.
2598
db144853
MC
25992001-04-22 Michael Chastain <chastain@redhat.com>
2600
2601 * gdb.c++/local.exp: Use the 'runto' library function.
2602 * gdb.c++/namespace.exp: Likewise.
2603 * gdb.c++/overload.exp: Likewise.
2604
3207ec21
KB
26052001-03-26 Kevin Buettner <kevinb@redhat.com>
2606
2607 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2608 * gdb.base/step-line.exp: New file. Test step/next in presence of
2609 #line directives.
2610 * gdb.base/step-line.c: New file. Test program for the above.
2611 * gdb.base/step-line.inp: New file. We pretend that this file has
2612 been transformed by some other tool into step-line.c.
2613
13b57657
JB
26142001-03-21 Jim Blandy <jimb@redhat.com>
2615
2616 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2617 unmangled operator names.
2618
754cbe1c
JB
26192001-03-20 Jim Blandy <jimb@redhat.com>
2620
2621 * gdb.threads/linux-dp.exp: Recognize an additional message
2622 generated by GDB when it doesn't understand how to debug threads
2623 on the target system.
2624
177495c9
AC
26252001-03-19 Andrew Cagney <ac131313@redhat.com>
2626
2627 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2628
f266096b
MC
26292001-03-12 Michael Chastain <chastain@redhat.com>
2630
2631 * gdb.c++/derivation.exp: Use the 'runto' library function.
2632
cac3c2ff
MC
26332001-03-12 Michael Chastain <chastain@redhat.com>
2634
2635 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2636
b6c11a24
MC
26372001-02-24 Michael Chastain <chastain@redhat.com>
2638
2639 * gdb.c++/ref-types.exp: Change handwritten code to library
2640 function 'runto'.
2641
6bae5bce
OF
26422001-03-16 Orjan Friberg <orjanf@axis.com>
2643
2644 * gdb.base/signals.exp: Set count to 0 explicitly.
2645
0015fd9a
MS
26462001-03-15 Mark Salter <msalter@redhat.com>
2647
2648 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2649 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2650 (gdb_load): Add support for additional target_info: gdb_download_size
2651 and gdb_load_timeout.
0015fd9a 2652
fc33412a
DT
2653Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2654
2655 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2656 file -- to prevent failing when the compile fails but we have no
2657 intention of running the tests anyway.
2658
2659 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2660 tests if set.
2661
2662 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2663 integers.
2664
2665 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2666 * gdb.c++/namespace.exp: Ditto.
2667
115f06de
OF
26682001-03-07 Orjan Friberg <orjanf@axis.com>
2669
2670 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2671 * gdb.base/pointers.exp: Relax pattern match of decimals.
2672
b6ba6518
KB
26732001-03-06 Kevin Buettner <kevinb@redhat.com>
2674
2675 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2676 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2677 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2678 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2679 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2680 config/sh.exp, config/sid.exp, config/slite.exp,
2681 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2682 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2683 config/vxworks.exp, config/vxworks29k.exp,
2684 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2685 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2686 gdb.base/arithmet.exp, gdb.base/assign.exp,
2687 gdb.base/async.exp, gdb.base/attach.exp,
2688 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2689 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2690 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2691 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2692 gdb.base/commands.exp, gdb.base/completion.exp,
2693 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2694 gdb.base/constvars.exp, gdb.base/corefile.exp,
2695 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2696 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2697 gdb.base/ending-run.exp, gdb.base/environ.exp,
2698 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2699 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2700 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2701 gdb.base/funcargs.exp, gdb.base/help.exp,
2702 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2703 gdb.base/logical.exp, gdb.base/long_long.exp,
2704 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2705 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2706 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2707 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2708 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2709 gdb.base/regs.exp, gdb.base/relational.exp,
2710 gdb.base/remote.exp, gdb.base/reread.exp,
2711 gdb.base/restore.exp, gdb.base/return2.exp,
2712 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2713 gdb.base/selftest.exp, gdb.base/setshow.exp,
2714 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2715 gdb.base/sigall.exp, gdb.base/signals.exp,
2716 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2717 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2718 gdb.base/step-test.exp, gdb.base/structs.c,
2719 gdb.base/structs.exp, gdb.base/structs2.exp,
2720 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2721 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2722 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2723 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2724 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2725 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2726 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2727 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2728 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2729 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2730 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2731 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2732 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2733 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2734 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2735 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2736 gdb.trace/circ.exp, gdb.trace/collection.exp,
2737 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2738 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2739 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2740 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2741 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2742 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2743 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2744 notices.
2745
dc96c6c7 27462001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2747
2748 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2749 first arg is int not float.
2750
dc96c6c7 27512001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2752
2753 * gdb.base/reread.exp: Unsupported for non-native targets;
2754 doesn't work for remote debugging.
2755
9b0c4aeb
FN
27562001-02-19 Fernando Nasser <fnasser@redhat.com>
2757
2758 From Drew Moseley <dmoseley@redhat.com>
2759 * gdb.base/ending-run.exp: Properly handle the BSP state when
2760 stepping past the end of main.
2761
02aa71d5
MC
27622001-02-19 John Moore <jmoore@redhat.com>
2763
2764 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2765 Converted HPUX fix for non-expected items following multiple
2766 step commands into general solution for all platforms.
2767
1fa449a4
MC
27682001-02-18 Michael Chastain <chastain@redhat.com>
2769
2770 * gdb.c++/classes.exp (do_tests): Change runto statements
2771 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2772 statements demangler agnostic.
2773 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2774 (gdb_virtfunc_restart): Likewise.
2775
b2f9ec70
MC
27762001-02-14 Michael Chastain <chastain@redhat.com>
2777
2778 * gdb.c++/inherit.exp (do_tests): Change runto statements
2779 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2780 statements demangler agnostic.
2781
cf74b8ca
AC
2782Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2783
2784 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2785 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2786 before calling common_routine 15 times'' tests.
2787
99f78f56
MC
27882001-02-11 Michael Chastain <chastain@redhat.com>
2789
2790 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2791 Helps the test script figure out which demangler is in use.
2792 (dm_type_foo_ref): Ditto.
2793 (dm_type_int_star): Ditto.
2794 (dm_type_long_star): Ditto.
2795 (dm_type_unsigned_int): Ditto.
2796 (dm_type_void): Ditto.
2797 (dm_type_void_star): Ditto.
99707966 2798 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2799 Probe the gdb demangler and set variables to accommodate
2800 formatting differences.
2801 (info_func_regexp): New function. Same as info_func, but
2802 matches against a regexp.
2803 (info_func): Match against a literal string.
2804 (print_addr_2): New function. Match against a literal string,
2805 which can be different from the input to gdb.
2806 (print_addr): Simply call print_addr_2 with the same argument twice.
2807 (test_lookup_operator_functions): Use demangler formatting variables.
2808 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2809 the tests in the same order as the C++ class declaration.
2810 (test_paddr_operator_functions): Ditto.
2811 (test_paddr_overloaded_functions): Ditto.
2812 (test_paddr_hairy_functions): Use demangler formatting variables.
2813 Add reference to gdb/19 for related tests.
2814 (do_tests): Call probe_demangler.
2815
1de8f023
KB
28162001-01-30 Kevin Buettner <kevinb@redhat.com>
2817
2818 * gdb.c++/templates.cc (printf): Remove unused function definition.
2819
ca3f91ed
MS
28202001-01-26 Felix Lee <flee@redhat.com>
2821
2822 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2823
28242001-01-25 matthew green <mrg@redhat.com>
2825
2826 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2827 up sid.
2828 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2829
28302001-01-25 matthew green <mrg@redhat.com>
2831
2832 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2833 Deprecate $sid_spawn_id.
2834 (sid_exit): Remove code necessary only for `spawn.'
2835
28362001-01-25 matthew green <mrg@redhat.com>
2837
2838 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2839
fb18ec4a
MC
28402001-01-28 Michael Chastain <chastain@redhat.com>
2841
2842 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2843 to call when tests fail. It takes gdb out of the overloaded
2844 function choice menu back to the main prompt, so that the test
2845 program stays synchronized.
2846 (set_bp_overloaded): New proc to collect all the common
2847 code for setting a breakpoint on an overloaded name. Calls
2848 take_gdb_out_of_choice_menu when needed.
2849 (menu_overload1arg): New variable to collect the repeated
2850 instances of the expected menu for an overloaded name. Change
2851 the regular expression to handle changes in g++ type encoding:
2852 "void" can be either "void" or "", and "unsigned int" can be
2853 either "unsigned int" or "unsigned".
2854 (continue_to_bp_overloaded): Change regular expressions to handle
2855 changes in g++ type encoding.
2856 (no proc): Call take_gdb_out_of_choice_menu when needed.
2857 Remove redundant calls to "info break". Accept either "canceled"
2858 or "cancelled". Change regular expressions in "info break"
2859 calls to handle changes in g++ type encoding. Give all tests
2860 unique strings.
2861
9c646a6e
BE
28622001-01-17 Ben Elliston <bje@redhat.com>
2863
2864 * config/sid.exp: New file.
2865
9549d9c1
AC
2866Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2867
2868 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2869
dc96c6c7 28702000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2871
2872 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2873 Add a RE to accept a non-ascii char if one is ever presented.
2874
b4df4f68
FN
28752000-12-20 Fernando Nasser <fnasser@redhat.com>
2876
297dd0fd 2877 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2878
dc96c6c7 28792000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2880
2881 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2882 in regexp. One '\' does not suffice on Linux.
2883
4a7bddb6
MC
28842000-12-09 Michael Chastain <chastain@redhat.com>
2885
2886 * gdb.base/break.exp (test_clear_command): Use a marker function
2887 rather than 'main' for the test function. Also move this
2888 test to an execution point where the marker function names are
2889 guaranteed to be bound to functions. (Executing tests after a
2890 'finish' from main runs into name conflicts with local names
2891 in __libc_start_main).
2892
dc96c6c7 28932000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2894
2895 * gdb.base/finish.exp: New test for gdb's "finish" command.
2896 * gdb.base/return2.exp: New test for gdb's "return" command.
2897 * gdb.base/return2.c: New source file for above.
2898
dc96c6c7 28992000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2900
2901 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2902 * gdb.base/miscexprs.exp: Ditto.
2903 * gdb.base/pointers.exp: Ditto.
2904 * gdb.c++/derivation.exp: Ditto.
2905 * gdb.c++/local.exp: Ditto.
2906 * gdb.c++/namespace.exp: Ditto.
2907 * gdb.c++/overload.exp: Ditto.
2908 * gdb.c++/ref-types.exp: Ditto.
2909
dc96c6c7 29102000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2911
2912 * gdb.base/constvars.exp: Test result of "up" command.
2913 * gdb.base/miscexprs.exp: Ditto.
2914 * gdb.base/pointers.exp: Ditto.
2915 * gdb.base/scope.exp: Ditto.
2916 * gdb.c++/derivation.exp: Ditto.
2917 * gdb.c++/local.exp: Ditto.
2918 * gdb.c++/namespace.exp: Ditto.
2919 * gdb.c++/overload.exp: Ditto.
2920 * gdb.c++/ref-types.exp: Ditto.
2921
44097287
FN
29222000-11-22 Michael Chastain <chastain@redhat.com>
2923
2924 * mips_pro.exp: Accept either "middle -> top -> main" or
2925 "middle -> main" in the backtrace, because gcc can optimize
2926 tail calls to jumps. Remove setup_xfail for the hppa case.
2927 Add a comment with the original warning messages from PR 3016,
2928 which was filed in 1993, to preserve them for posterity.
2929
9d2e1bab
ND
29302000-11-17 Nick Duffek <nsd@redhat.com>
2931
2932 * lib/gdb.exp (gdb_test): Override timeout with board info.
2933
1aca8eb7
ND
29342000-11-17 Nick Duffek <nsd@redhat.com>
2935
2936 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2937 the second kill and detach messages.
2938
93076499
ND
29392000-11-17 Nick Duffek <nsd@redhat.com>
2940
2941 * configure.in: Add AC_EXEEXT.
2942 * configure: Regenerate.
2943 * Makefile.in (just-check): Export EXEEXT.
2944 * lib/gdb.exp ($EXEEXT): Import from environment.
2945 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2946 expect "maint dump-me" on Cygwin.
2947 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2948 $EXEEXT.
2949
30e87cd3
ND
29502000-11-17 Nick Duffek <nsd@redhat.com>
2951
2952 * gdb.base/break.exp: Test backtrace and finish from called
2953 function on all platforms, not just HP-UX.
2954
dc96c6c7 29552000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2956
2957 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2958 code from gdb_target_monitor, so it can be used independantly
2959 for gdbserver. Also comment out an unnecessary PUTS.
2960
dc96c6c7 29612000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2962
2963 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2964 * gdb.base/corefile.exp: Expect the message "Program is being
2965 debugged already" when we send the "corefile" command, since
2966 the preceeding gdb_load may have connected gdb to a remote target.
2967 * gdb.base/display.exp: Disable hardware watchpoints if new
2968 board info variable "no_hardware_watchpoints" is true.
2969 Replace single-letter commands with more readable ones.
2970 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2971 if new board info variable "no_hardware_watchpoints" is true.
2972 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2973 to see if stdio (printf) testing is possible.
2974 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2975 board info variable "no_hardware_watchpoints" is true. Use new
2976 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2977
39124dea
FN
29782000-11-13 Fernando Nasser <fnasser@redhat.com>
2979
2980 From Orjan Friberg <orjanf@axis.com>:
2981 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2982 in array print pattern match.
2983
a9e2e984
FN
29842000-11-09 Fernando Nasser <fnasser@redhat.com>
2985
2986 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2987 spelling "cancelled" to U.S. spelling "canceled" to match changes
2988 made to gdb.
2989 * gdb.c++/ovldbreak.exp: Ditto.
2990
c7db355b
PS
29912000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2992
2993 * gdb.base/callfuncs.c (main): Moved to end of file, call
2994 t_double_values to initialize the FPU before inferior calls are made.
2995 * gdb.base/callfuncs.exp: Test for register preservation after calling
2996 inferior functions. Add tests for continuining, finishing and
2997 returning from a stop in a call dummy.
2998
dc96c6c7 29992000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3000
3001 * gdb.base/commands.exp: Break up long lines, and re-indent.
3002
dc96c6c7 30032000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3004
3005 * config/gdbserver.exp: Rewritten from the ground up, to make it
3006 compatible with the current dejagnu tree, and to make it work with
3007 the new "gdbserver" in libremote.
3008
dc96c6c7 30092000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3010
3011 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3012 * gdb.base/varargs.exp: Skip entire test if no printf support.
3013 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3014 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3015
dc96c6c7 30162000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3017
3018 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3019 no floating point support.
3020 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3021 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3022 * gdb.base/call-rt-st.exp: Ditto.
3023 * gdb.base/call-strs.exp: Ditto.
3024
bac5fc66
JG
30252000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3026
3027 * gdb.base/sizeof.c: include <stdio.h>.
3028
3029 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3030 'finish', otherwise uncaptured gdb_prompt would potentially
3031 throw remaining test points out of sync.
3032
b22a6027
SB
30332000-07-26 Scott Bambrough <scottb@netwinder.org>
3034
3035 * gdb.base/recurse.exp: Run tests for all targets.
3036 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3037 gnu-oldld case on ARM.
3038 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3039 for ARM targets.
3040
d8231941
AG
3041Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3042
3043 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3044 * gdb.java/configure: Rebuild.
3045
8caabe69
AG
3046Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3047
3048 * gdb.java/jv-exp.exp: New file.
3049
9d273ca3
AG
3050Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3051
3052 * configure: Rebuilt.
3053 * configure.in (configdirs): Add gdb.java.
3054 * gdb.java/jmisc.java: New file.
3055 * gdb.java/jmisc.exp: New file.
3056 * gdb.java/Makefile.in: New file.
3057 * gdb.java/configure: Rebuilt.
3058 * gdb.java/configure.in: New file.
3059 * lib/java.exp: New file.
3060
4f823a66
AC
3061Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3062
3063 * gdb.base/exprs.exp: Test casts to a pointer including over and
3064 underflow.
3065
2391e11d
AC
3066Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3067
3068 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3069 and the compilers sizes.
3070
54602222
ND
30712000-07-09 Nick Duffek <nsd@redhat.com>
3072
3073 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3074 (use_methods): New function.
3075 (main): Call use_methods().
3076 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3077 (do_tests): Call test_method_param_class.
3078
2bec0572
ND
30792000-07-09 Nick Duffek <nsd@redhat.com>
3080
3081 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3082 spelling.
3083 (test_enums): New procedure. Move enum tests from end of script
3084 to here. Set breakpoint on function name instead of line number.
3085 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3086 (enums2): New marker function.
3087 (enums1): New function.
3088 (main): Call enums1(). Move enum tests to enums1().
3089
78492fde
AC
3090Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3091
3092 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3093 compile/link program. Update line numbers.
3094 * gdb.asm/d10v.inc: Define ``startup''.
3095 * gdb.asm/asmsrc1.s: Add definition of _start.
3096
49a2cef8
AC
3097Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3098
3099 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3100
3e6c8688
EZ
31012000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3102
3103 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3104 of 'help maint print' command.
3105
9ff5cbe9
AC
3106Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3107
3108 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3109 they use gdb_expect_list.
3110
17c579bd
AC
3111Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3112
3113 * gdb.base/commands.exp: Use ``set remote
3114 memory-read-packet-size'' instead of ``set endian big'' to test
3115 long commands.
3116
e6d71bf3
DB
31172000-06-03 Daniel Berlin <dan@cgsoftware.com>
3118
3119 * gdb.c++/templates.exp (do_tests): Make all of these work under
3120 g++, and stop skipping them.
3121
3122 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3123 work under g++.
3124
e5f9ba7b
MS
3125 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3126 initialization.
3127
dc96c6c7 31282000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3129
3130 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3131 the regular expression: accept an (almost) arbitrary sequence of
3132 "frames-invalid" and "breakpoints-invalid" messages both before
3133 and after the "starting" message.
3134
dc96c6c7 31352000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3136
3137 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3138
dc96c6c7 31392000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3140
3141 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3142 Relax the regular expression a little, make it pass on Solaris 8.
3143
8216cda9
KB
31442000-05-12 Kevin Buettner <kevinb@redhat.com>
3145
3146 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3147 a call, do not require that gdb stop on the line after the call.
3148 Instead, it is permissible for gdb to stop on the line of the
3149 call itself.
3150
1a570b2f
MS
31512000-05-12 Michael Snyder <msnyder@.cygnus.com>
3152
3153 * gdb.base/break.exp (bp on small function, optimized file):
3154 Add a second pass pattern. The behavior differs here between stabs
3155 and dwarf for one-line functions. Stabs preserves two line symbols
3156 (one before the prologue and one after) with the same line number,
3157 but dwarf regards these as duplicates and discards one of them.
3158 Therefore the address after the prologue (where the breakpoint is)
3159 has no exactly matching line symbol, and GDB reports the breakpoint
3160 as if it were in the middle of a line rather than at the beginning.
3161
dc96c6c7 31622000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3163
3164 * gdb.base/interrupt.exp: Make "pass" message say "send"
3165 rather than "send_gdb" (for consistancy).
3166
7d418785
AC
3167Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3168
3169 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3170 * gdb.c++/templates.cc: Properly check for GCC version number.
3171 * lib/compiler.cc: Likewise
3172
dc96c6c7 31732000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3174
3175 * gdb.base/break.exp: When compiled with -O2 optimization,
3176 gdb may not stop at the first line of main, due to code motion.
3177
dc96c6c7 31782000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3179
3180 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3181 This test depends on parsing the printf output from the target.
3182 Since the sparclet stub doesn't do stdio, this will never work.
3183 * gdb.base/call-rt-st.exp: ditto.
3184 * gdb.base/call-strs: ditto.
3185
dc96c6c7 31862000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3187
3188 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3189
3190 * gdb.base/ending-run.exp: After connecting to a remote target,
3191 but before running, the target will appear to be in a random
3192 location. Specify both a file and a line for breakpoints.
3193 Also, the function that calls main may be called 'init'
3194 rather than 'start'.
3195
a5a51225
EZ
31962000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3197
3198 * gdb.base/help.exp: Update output for add-symbol-file command.
3199
7930cc7c
FN
32002000-04-10 Fernando Nasser <fnasser@cygnus.com>
3201
3202 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3203 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3204
23e37ab1
C
32052000-04-07 J.T. Conklin <jtc@redback.com>
3206
e93c542c
C
3207 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3208
23e37ab1
C
3209 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3210
591b8fa3
PDM
3211Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3212
3213 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3214 values that can be represented exactly.
3215 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3216 above change, and to not check against the directory part of the source
3217 file name.
3218 (step into print_long_arg_list): Likewise.
3219 (print print_small_structs from print_long_arg_list): Likewise.
3220 (print print_long_arg_list): Likewise.
3221
7a495180
EZ
32222000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3223
30b53638 3224 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3225
beb998c6
AC
3226Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3227
3228 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3229
1c689132
DB
32302000-03-25 Daniel Berlin <dan@cgsoftware.com>
3231
3232 * gdb.base/commands.exp (deprecated_command_test): Add test for
3233 deprecate with no arguments.
3234
c1790a9d
JL
32352000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3236
3237 * gdb.base/break.exp: Add new test for setting breakpoints on
3238 optimized code so we can test breakpoints work even when function
3239 prologues may be optimized away
3240
003ba290
FN
32412000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3242
3243 From David Whedon <dwhedon@gordian.com>
3244 * gdb.base/commands.exp : Added command deprecator tests.
3245
6837a0a2
DB
32462000-03-22 Daniel Berlin <dan@cgsoftware.com>
3247
3248 * gdb.base/help.exp: Added test for new apropos command.
3249
b9593231
KB
32502000-03-21 Kevin Buettner <kevinb@redhat.com>
3251
3252 * gdb.base/pointers.c (usevar): New function.
3253 (main): Make sure that global variables v_int_pointer2, rptr,
3254 and y are all referenced someplace in the program by calling
3255 usevar() on them. [Some linkers delete symbols which are
3256 never referenced. The space remains, but there's no way to
3257 get a (symbolic) handle on the variable from the debugger.]
3258
751a959b
EZ
32592000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3260
3261 * gdb.base/printcmds.c: Add typedeffed arrays.
3262
3263 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3264 procedure to test arrays that are typedef'd.
3265
73a93a32
JI
32662000-03-13 James Ingham <jingham@leda.cygnus.com>
3267
3268 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3269 the library directories.
73a93a32 3270
fb40c209
AC
3271Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3272
3273 * configure.in (configdirs): Add sub directory gdb.mi.
3274 * configure: Re-generate.
3275
3276 * gdb.mi: New directory.
beb998c6 3277
ee4dd2c9
AC
32782000-02-25 Scott Bambrough <scottb@netwinder.org>
3279
3280 * gdb.base/long_long.exp: Correct test suite failure when printing
3281 a long long value as a double on ARM platforms.
3282
70f0cc22
JB
32832000-02-16 Jim Blandy <jimb@redhat.com>
3284
3285 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3286 default source file is set properly before running this test.
3287
853819b8
EZ
32882000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3289
3290 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3291 gdbtk/library directory, not in gdbtcl2.
3292
dfcd3bfb
JM
32932000-02-04 Jim Blandy <jimb@redhat.com>
3294
3295 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3296 backslash from regexp pattern.
3297
3298 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3299 procedure. Use it to run all the "continue to bp overloaded"
3300 tests. Note that this changes the names of the tests slightly.
3301 If the breakpoint hit message includes a hex PC value, because
3302 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3303 from the real source code, still consider that a pass.
3304
3305 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3306 XFAIL here if the breakpoint message contains a hex address. Note
3307 similar change on 1999-11-02.
3308
3309 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3310
3311 * gdb.base/ptype.exp: Establish a default source file before
3312 calling get_debug_format.
3313
33142000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3315
3316 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3317
8b93c638
JM
33182000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3319
3320 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3321 of successive stepi commands -- while in the prologue we should see
3322 the function entry bracket.
3323
33242000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3325
3326 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3327 reach __change_mode() when stepping through the end of main().
3328
c5394b80
JM
33292000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3330
3331 * gdb.base/default.exp: Fix expected pattern.
3332 * gdb.base/help.exp: Same.
3333
0d06e24b
JM
33342000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3335
3336 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3337 Don't use xfail's because that affects only the following test.
beb998c6 3338
0d06e24b
JM
3339 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3340 solaris or linux.
3341
3342 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3343
dc96c6c7 33442000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3345
beb998c6 3346 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3347 "A syntax error" rather than "A parse error". Accept both.
3348
33492000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3350
3351 * gdb.base/default.exp: Remove OS dependent string from "target
3352 remote" test.
3353 * gdb.base/help.exp: Same for "help target remote" test.
3354
c3f6f71d
JM
33552000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3356
3357 From Jim Kingdon <kingdon@redhat.com>:
3358
3359 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3360 prompt (cleanup rather than necessity, but still might keep output
3361 from spilling to next test).
3362
33632000-01-02 Fred Fish <fnf@cygnus.com>
3364
3365 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3366 AIX, which defines them in <sys/types.h>.
3367
ed9a39eb 33681999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3369
ed9a39eb
JM
3370 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3371 float" test.
3372
33731999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3374
ed9a39eb 3375 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3376
3377 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3378 outermost frame disallowed".
3379
33801999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3381
3382 * gdb.base/setvar.exp: New tests for setting the value of a struct
3383 with a constant list.
3384
33851999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3386
3387 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3388 require the user to type a cast before setting the value of a struct.
3389
de57eccd
JM
33901999-12-06 Jim Blandy <jimb@cygnus.com>
3391
3392 * gdb.base/default.exp: Expect the new 'info float' command on
3393 all i386 platforms.
3394
3395 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3396 LinuxThreads libraries that don't support debugging.
3397
c2d11a7d
JM
3398Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3399
3400 * gdb.base/remote.c: Fill the buffer with truely random data.
3401 Change the buffer type to ``unsigned char'' to simplify size
3402 arithmetic.
3403
3404 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3405 stub only handles 400-1 byte packets. Verify that the download
3406 worked.
3407
34081999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3409
3410 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3411 tests, using UNRESOLVED for the untested cases. Also, does not wait
3412 for a timeout if the prompt was received before a recognizable pattern.
3413
34141999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3415
3416 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3417
34181999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3419
3420 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3421 watchpoints.
3422
34231999-11-24 Jason Merrill <jason@casey.cygnus.com>
3424
3425 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3426
3427 * gdb.c++/local.exp: Be more flexible in recognizing local class
3428 name mangling. Don't allow horribly truncated method names.
3429 * gdb.c++/derivation.exp: Expect protected inheritance.
3430 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3431 * gdb.c++/virtfunc.exp: Likewise.
3432 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3433 when printing a nested enum.
3434
34351999-11-22 Jim Blandy <jimb@cygnus.com>
3436
3437 * gdb.base/step-test.exp: Properly await GDB's response to setting
3438 a breakpoint on the call to large_struct_by_value.
3439
3440 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3441 just because we have debug info for the `start' function.
3442
34431999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3444
3445 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3446 "Unknown signal" messages, which indicate (on LinuxThreads) that
3447 GDB doesn't know how to debug threads on this system. This is
3448 better than hanging while philosopher 0 dumps chatter into gdb.log.
3449
34501999-11-18 Tom Tromey <tromey@cygnus.com>
3451
3452 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3453
34541999-11-18 Fred Fish <fnf@cygnus.com>
3455
3456 * gdb.base/coremaker2.c: Add sample program for generating
3457 cores that is more self contained than coremaker.c. Eventually
3458 I'll add more code to this and tie it into the testsuite.
3459
4ce44c66
JM
34601999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3461
3462 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3463
34641999-11-10 Jimmy Guo <guo@cup.hp.com>
3465
3466 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3467 from $srcdir/lib/.
3468 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3469 and gdb.c++/.
3470
3471 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3472
beb998c6 3473 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3474 'continue with watch' test point.
3475
34761999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3477
3478 Merged from p2linux-990323-branch:
beb998c6 3479
4ce44c66
JM
3480 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3481
11cf8741
JM
3482Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3483
3484 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3485 {limit,fixed}''. Test ``set download-write-size''.
3486
3487Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3488
3489 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3490 gdb_expect_list.
3491
3492Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3493
3494 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3495
34961999-11-03 Mark Salter <msalter@cygnus.com>
3497
3498 * gdb.base/break.exp: Fix "stub continue" pattern.
3499
35001999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3501
3502 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3503
35041999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3505
3506 * gdb.base/display.exp ("finish"): Add timeout clause.
3507
3508 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3509 plain prompt clause, so this doesn't have to time out in order to
3510 fail.
3511
3512 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3513 breakpoint hit messages include an address.
3514
3515 * gdb.base/display.exp: Don't forget to escape parens in regular
3516 expressions. Unix regexp notatation sucks.
3517
35181999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3519
3520 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3521 order for 'signalled' message.
3522
5c44784c
JM
35231999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3524
3525 From Jimmy Guo <guo@cup.hp.com>:
3526 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3527 * gdb.base/annota1.c: Add code for tests to work with.
3528
35291999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3530
3531 * gdb.base/remote.exp: New test for remote downloading settings.
3532 * gdb.base/remote.c: New file with large .data.
3533
917317f4
JM
35341999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3535
3536 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3537 for LinuxThreads support, merged from the Code Fusion branch.
3538
3539Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3540
3541 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3542 containing exp_continue into a while within an expect. Don't
3543 attempt a start more than three times. Check return value from
3544 gdb_load.
beb998c6 3545
2df3850c
JM
3546Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3547
3548 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3549 a pass case.
3550
2acceee2
JM
35511999-10-01 Kevin Buettner <kevinb@cygnus.com>
3552
3553 * gdb.base/break.c (main): Added a statement that we can step
3554 off of.
3555 * gdb.base/break.exp: Added tests for setting a breakpoint
3556 at an offset and stepping onto a breakpoint.
3557
35581999-10-01 Fred Fish <fnf@cygnus.com>
3559
beb998c6 3560 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3561 gdb output.
3562
c2c6d25f
JM
35631999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3564
3565 * gdb.base/break.exp: Code locations are in hex, don't forget!
3566 (For HP-UX.)
3567
35681999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3569
3570 * condbreak.exp: Use break.c as test program.
3571 * condbreak.c: Remove, redundant with break.c.
3572
35731999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3574
3575 * config/monitor.exp (gdb_target_monitor): Disable X- and
3576 Z-packets if the target needs it.
3577
35781999-09-13 James Ingham <jingham@leda.cygnus.com>
3579
3580 * gdb.c++/overload.exp: Added tests for listing overloaded
3581 functions with function pointers in the arg, explicitly calling
3582 out the version you want.
3583
cff3e48b
JM
35841999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3585
3586 * long_long.exp: Add variations of test cases that work for
3587 targets with 16-bit ints and 32-bit doubles.
3588
d4f3574e
SS
35891999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3590
3591 * break.c (main): Compare a possibly-uninitialized argc with an
3592 unlikely value that fits in 16 bits.
3593
35941999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3595
3596 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3597 0xfeeb, don't want negative numbers if ints are 16 bits.
3598
3599 * lib/gdb.exp (skip_cplus_tests): New proc.
3600 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3601 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3602 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3603 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3604 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3605 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3606 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3607 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3608
3609 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3610
3611Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3612
3613 * gdb.base/corefile.exp (up): Allow a parameter to appear
3614 in the frame that we're going up to.
3615
3616 From Jim Blandy <jimb@cygnus.com>:
3617
3618 * gdb.base/default.exp (info float): Expect some output now.
3619
3620 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3621 returning floating-point values to fail on the x86.
3622 * gdb.base/callfwmall.exp (do_function_calls): Same.
3623
3624 * gdb.base/list.exp (test_listsize): Correct expectations for
3625 listing line 1 with listsize 2. Also, listing a single line
3626 works now, as does listing three lines. [Kevin's note: There
3627 were a number of other cases fixed too where the expectations
3628 differed...]
3629
36301999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3631
3632 * gdb.base/selftest.exp: Add case for when version prints as
3633 constant string instead of char pointer.
3634
104c1213
JM
36351999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3636
3637 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3638 stepping out of main.
3639
3640 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3641 G++ used.
3642
3643 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3644 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3645
3646 * gdb.c++/ovldbreak.exp: Update match string in test that
3647 includes a warning of multiple breakpoints.
3648
36491999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3650
3651 * gdb.base/display.exp: Improve precision of step-after-finish
3652 added yesterday.
3653
3654 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3655 test.
3656
3657 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3658 configs when using G++, not just hppa*.
3659
36601999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3661
3662 * gdb.base/async.c: New file.
3663 * gdb.base/async.exp: New file.
3664
3665Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3666
3667 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3668 PA64.
3669
53a5351d
JM
3670Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3671
104c1213
JM
3672 * gdb.base/display.exp: "finish" can leave us mid-line on many
3673 targets, deal with it. Add a small constant to main, instead of
3674 1000 since main+1000 may not be a valid address in the target.
3675
53a5351d
JM
3676 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3677 on hpux11.
3678
3679 * gdb.base/attach.exp: Handle another hpux11 error message variant
3680 when attaching to a process that does not exist.
3681
36821999-08-19 J.T. Conklin <jtc@redback.com>
3683
3684 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3685 characters in 'continue to 1241' test.
3686
36871999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3688
3689 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3690 stop in print_long_arg_list, define and use a whitespace
3691 variable in print_small_structs test, add an XFAIL for Solaris.
3692 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3693 interested enough to fix.
3694
7be570e7
JM
36951999-08-13 Keith Seitz <keiths@cygnus.com>
3696
3697 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3698 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3699 proc knows about targets other than the natives.
3700 (test_assign): Use "gdb_run_cmd" to "run" the target.
3701 Check that we've actually hit the breakpoint at main.
3702 When we attempt to assign a value to a local variable, check
3703 that the variable is in the current scope, i.e., don't use
3704 a test with an empty result.
3705
3706Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3707
3708 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3709 command.
3710
37111999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3712
3713 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3714 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3715 gdb.compat, gdb.threads-hp.
3716 gdb.hp/configure, gdb.hp/configure.in: New files.
3717 gdb.hp/Makefile.in: Recurse into new subdirs.
3718 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3719 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3720 in object files.
3721 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3722
96baa820
JM
37231999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3724
3725 * gdb.base/display.exp: Help expect by putting a newline in the
3726 funky printf, remove a bogus p/a test.
3727
37281999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3729
3730 * gdb.base/display.exp: Make sure that when we say 'run', we are
3731 connected to the target. This is necessary when running not
3732 natively.
3733
37341999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3735
3736 * gdb.base/step-test.exp: Removed some extraneous messages.
3737
3738 * gdb.base/long_long.exp: Don't run memory examination tests
3739 on little-endian targets (they will need a different set of
3740 results to match).
3741
37421999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3743
3744 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3745 until somebody decides to fix GDB.
3746
3747 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3748 constant as "ULL".
3749 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3750 matches for a couple x/2 commands.
3751
a0b3c4fd
JM
37521999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3753
3754 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3755 by merging in ref-types2 tests.
3756 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3757
3758 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3759 * gdb.c++/Makefile.in: Add standard actions.
3760 (EXECUTABLES): Rename from PROGS, update list.
3761 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3762 from gdb.hp.
3763 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3764 foo and bar locals.
3765 * gdb.c++/anon-union.exp: Fix tests to match.
3766 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3767 expect matches to handle output variations.
3768 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3769 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3770 output, add HP alternatives for new and delete prints.
3771 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3772 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3773 * gdb.c++/demangle.exp: Use $style when reporting failure.
3774 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3775 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3776 match alternatives.
3777 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3778 compilers.
3779 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3780 * gdb.c++/method.exp: Add match alternatives.
3781 * gdb.c++/misc.cc: Add bool types.
3782 * gdb.c++/misc.exp: Add tests for bool types.
3783 * gdb.c++/overload.exp: Add xfails.
3784 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3785 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3786 add some more template parameter tests (only for HP currently).
3787 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3788 * gdb.c++/virtfunc.cc: Add return type and value for main.
3789 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3790 match alternatives.
beb998c6 3791
a0b3c4fd
JM
37921999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3793
3794 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3795
37961999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3797
3798 * gdb.base/signals.exp: Don't expect getting a backtrace from
3799 within a signal handler to fail on Linux.
3800
38011999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3802
3803 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3804 * lib/gdb.exp: Remove some gratuitious semicolons.
3805 (delete_breakpoints): Increase timeout.
3806 (gdb_expect): Add -notransfer option.
3807 (gdb_test): Use -notransfer option.
3808 (get_compiler_info): Add f77 case.
3809 (get_compiler): New proc, split out from gdb_preprocess, add f77
3810 case.
3811 (gdb_preprocess): Call get_compiler.
3812
3813 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3814 * gdb.base/attach.exp, gdb.base/display.exp,
3815 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3816 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3817 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3818 third arg to gdb_test.
3819 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3820 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3821 HP-UX xfails, add others.
3822 * gdb.base/completion.exp: Reflect name change of self-test.
3823 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3824 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3825 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3826 HP failure number.
3827 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3828 useless HP-UX 10.30 references.
3829 * gdb.base/maint.exp: Loosen matches.
3830 * gdb.base/pointers.c (main): Declare more_code.
3831 * gdb.base/pointers.exp: Match on output of a `next'.
3832 * gdb.base/structs.c: Add prototypes.
3833 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3834 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3835
38361999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3837
3838 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3839 command.
3840
38411999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3842
3843 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3844 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3845
3846 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3847 debug info. Deal with lack of signal hanlder info in stack.
3848
3849 From Jim Kingdon <kingdon@redhat.com>:
3850 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3851
5a2468f5
JM
38521999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3853
3854 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3855 gdb.base/foll-vfork.exp: Don't run for crosses.
3856
adf40b2e
JM
3857Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3858
3859 * gdb.base/configure.in: Check for gdbvars.exp instead of
3860 a1-selftest.exp.
3861 * gdb.base/configure: Re-generate.
3862
38631999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3864
3865 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3866 in trying to run first and name is too long.
3867
3868 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3869 pointers2.c and pointers2.exp, respectively.
3870 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3871 doschk happier.
3872
43e526b9
JM
38731999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3874
3875 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3876 callfuncs2.c and callfuncs2.exp.
3877
3878 * gdb.base/list.exp: Remove mistaken xfails.
3879 * gdb.base/list0.h: Add optional prototypes.
3880
9846de1b
JM
3881Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3882
3883 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3884 calling malloc.
3885 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3886 * ptype.exp: Move test for get_debug_format to before its first
3887 use.
3888
38891999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3890
3891 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3892 * gdb.base/annota2.cc, annota2.exp: Move from here.
3893 * gdb.c++/annota2.cc, annota2.exp: To here.
3894 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3895
43ff13b4
JM
3896Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3897
3898 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3899 a consistent format.
3900
085dd6e6
JM
39011999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3902
3903 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3904 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3905 HP compilers, also set the globals $true and $false.
3906
3907 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3908 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3909 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3910 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3911 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3912 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3913 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3914 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3915 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3916 whatis.c} Add C++ compatible function definitions and return
3917 types, add includes for library functions.
3918 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3919 * gdb.base/step-test.c (myglob): Rename from glob.
3920 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3921 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3922 files, move here from gdb.hp.
3923 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3924 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3925 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3926 Adjust line numbers in regexps.
3927
3928 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3929 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3930 instead of 0/1.
3931
3932 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3933 foll-vfork.exp: New files, move here from gdb.hp.
3934 * gdb.base/page.exp: New file, test of pagination command.
3935
3936 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3937 recursion test.
3938 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3939
3940 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3941 gdb.base/solib.exp: Fix compiler invocation process.
3942
3943 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3944 HP-UX 11, turn off overload resolution explicitly.
3945 * gdb.base/commands.exp: Set argument list explicitly, add
3946 watchpoint test.
3947 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3948 them work.
3949 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3950 expressions properly.
3951 * gdb.base/corefile.exp: Loosen the match slightly.
3952 * gdb.base/default.exp: Allow "Error accessing memory" message
3953 also.
3954 * gdb.base/display.exp: Skip over x/0 j if PA64.
3955 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3956 * gdb.base/interrupt.exp: Ditto.
3957 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3958 in use.
3959 * gdb.base/list.exp: Add xfails for HP-UX.
3960 * gdb.base/long_long.exp: Refine some of the numeric matches.
3961 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3962 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3963 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3964 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3965 * gdb.base/ptype.exp: Succeed on more varieties of output.
3966 * gdb.base/scope.exp: Add xfails for HP-UX.
3967 * gdb.base/sect-cmd.exp: Add more cases.
3968 * gdb.base/setvar.exp: Add xfails for HP-UX.
3969 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3970 * gdb.base/signals.exp: Match on void symbolically.
3971 * gdb.base/step-test.exp: Add case for PA64.
3972 * gdb.base/term.exp: Add exit and restart.
3973 * gdb.base/twice.exp: Clean up after self.
3974 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3975 * gdb.base/whatis.exp: Allow more ways to pass tests.
3976
3977 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3978 no longer useful.
3979
3980Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3981
3982 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3983 list of patterns.
3984 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3985 print_double_array(double_array)", "continuing to breakpoint
3986 1018", "print print_double_array(array_d)" and "continuing to
3987 1034" tests.
beb998c6 3988
085dd6e6
JM
39891999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3990
3991 * Makefile.in: Add empty html and install-html targets.
3992
39931999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3994
3995 * config/mt-*: Remove, these haven't been used since 1996.
3996
39971999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3998
3999 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4000 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4001 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4002
9e0b60a8
JM
40031999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4004
4005 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4006 simpler match case for the ptype of the big class.
4007
40081999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4009
4010 * gdb.exp: Fix test for gdb_prompt existence.
4011
40121999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4013
4014 * gdb.exp (gdb_test): Add fail after calls to perror.
4015
40161999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4017
4018 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4019
40201999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4021
4022 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4023
0f71a2f6
JM
4024Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4025
4026 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4027 malloc() is linked in.
4028
40291999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4030
4031 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4032 step at end.
4033
4034 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4035
40361999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4037
4038 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4039
cce74817
JM
4040Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4041
4042 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4043 * gdb.base/mips_pro.exp: Likewise.
4044
40451999-06-02 Keith Seitz <keiths@cygnus.com>
4046
4047 * gdb.c++/templates.cc: Change all "new" operators to throw
4048 an exception.
4049 * gdb.c++/cplusfuncs.cc: Likewise.
4050
4051 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4052
4053Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4054
4055 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4056 * gdb.base/ending-run.exp: When stepping out of main, accept a
4057 step into an arbitrary assembler file.
4058
392a587b
JM
40591999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4060
beb998c6 4061 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4062 "breakpoint-invalid" to be printed.
beb998c6 4063 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4064 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4065 * gdb.base/annota2.cc: Initialize a.x to 0.
4066
9e086581
JM
40671999-05-17 Keith Seitz <keiths@cygnus.com>
4068
4069 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4070 when "skip_float_tests" set.
4071 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4072 "print print_ten_doubles", and "step into print_long_arg_list".
4073 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4074 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4075 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4076 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4077 "skip_float_tests" is set.
4078 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4079 when "skip_float_tests" set.
beb998c6 4080
cd0fc7c3
SS
40811999-05-06 Keith Seitz <keiths@cygnus.com>
4082
4083 * gdb.base/annota2.cc: Include stdio.h.
4084
4085Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4086
4087 * gdb.base/crossload.exp: Remove, this has been disabled ever
4088 since BFD stopped including all targets, and cross-GDB gets
4089 plenty of testing anyway.
4090 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4091 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4092 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4093 * gdb.base/README: Remove, was doc for this.
4094 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4095 needed.
4096
b83266a0
SS
40971999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4098
4099 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4100 output.
4101
4102 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4103 * gdb.base/annota2.exp: New file. More annotation tests.
4104 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4105 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4106
41071999-04-23 Angela Marie Thomas <angela@cygnus.com>
4108
4109 * config/cfdbug.exp: New file.
4110
7a292a7a
SS
41111999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4112
4113 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4114 Marcus Daniel's and Dale Hawkins's demangler crashes.
4115
4116 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4117 test_lucid_style_demangling, test_arm_style_demangling,
4118 test_hp_style_demangling): Try Tom Tromey's core-dumping
4119 identifier under each demangling style.
4120
41211999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4122
4123 * gdb.c++/demangle.exp: Include the current demangling style
4124 in all test names.
4125 (current_demangling_style): New global variable.
4126 (set_demangling_style, test_demangling_core, test_demangling,
4127 test_demangling_exact): New functions.
4128 (test_gnu_style_demangling, test_lucid_style_demangling,
4129 test_arm_style_demangling, test_hp_style_demangling): Use those,
4130 instead of calling gdb_test and gdb_test_exact directly.
4131 (catch_demangling_errors): New function, which reports errors
4132 signalled by the demangling test functions in an orderly way.
4133 (do_tests): Use catch_demangling_errors.
4134
41351999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4136
4137 * gdb.base/signals.exp (test_handle_all_print): Use () for
4138 grouping in expressions, not {}.
4139
4140 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4141 initialized yet.
4142
41431999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4144
4145 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4146 are listed.
4147
41481999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4149
4150 * gdb.stabs/weird.exp: Test for CC being defined before
4151 looking at its value.
4152
41531999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4154
4155 * gdb.base/call-ar-st.exp: Remove stray '#'.
4156 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4157 "short int" and "long int".
4158 * gdb.c++/overload.cc: Cast the string added in the previous
4159 change, to mollify finicky HP compiler.
4160 * gdb.hp/reg-test.exp (testfile): Fix file name.
4161 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4162
7a292a7a
SS
4163 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4164 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4165 alternate form of enum ptype.
4166
c906108c
SS
41671999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4168
7a292a7a
SS
4169 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4170 * gdb.hp/*.exp: Change all to run compiler probe only after
4171 passing skip_hp_tests, so as not to waste time on guaranteed
4172 failure.
4173
c906108c
SS
4174 * gdb.c++/overload.cc: Pass string instead of char addr, always
4175 init ccpfoo.
4176 * gdb.c++/templates.cc: Fix syntax error.
4177
7a292a7a
SS
4178Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4179
4180 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4181 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4182 command.
4183
41841999-03-18 James Ingham <jingham@cygnus.com>
4185
4186 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4187
4188 * gdb.c++/method.exp: It was testing an uninitialized int on the
4189 stack and assuming it was positive.
4190
4191 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4192
4193 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4194 keep it from killing the rest of the tests.
7a292a7a
SS
4195 Use gdb_continue_to_end.
4196
4197 * gdb.base/sigall.exp: use gdb_continue_to_end.
4198
4199 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4200
4201 * gdb.base/display.exp: use runto_main, not run.
4202
beb998c6
AC
4203 * gdb.base/default.exp: Check for the current error message in the
4204 r abbreviation test.
7a292a7a
SS
4205 Add strongarm to the targets that know info float.
4206
beb998c6 4207 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4208 run which doesn't work with monitors.
4209
4210 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4211
4212 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4213
4214 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4215 program. Traps the case (in Cygmon) when the program never really
4216 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4217 more places, so I used my name. Sorry Mark...
4218
4219 * config/monitor.exp (gdb_target_monitor): added another
4220 target_info parameter: remotebinarydownload. This will set the
4221 remotebinarydownload flag if this is causing some boards trouble.
4222
42231999-03-18 Mark Salter <msalter@cygnus.com>
4224
4225 * lib/gdb.exp (continue_to_exit): New function.
4226
4227 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4228 * gdb.base/ending-run.exp: Ditto.
4229 * gdb.base/step-test.exp: Ditto.
4230
42311999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4232
4233 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4234 (suggested by Art Haas <ahaas@neosoft.com>).
4235
42361999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4237
4238 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4239
4240Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4241
4242 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4243 descriptions of types (short unsigned int vs unsigned short, etc).
4244
42451999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4246
4247 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4248 a call to strlen; sometimes we do have sources.
4249
42501999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4251
4252 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4253 character, so GDB won't print garbage after its end.
beb998c6 4254
c906108c
SS
4255 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4256 breakpoint there instead. Sometimes GCC emits memcpy to handle
4257 the large structures being passed by value, so we step into that
4258 instead of sum_array_print, which obscures what we're really testing.
4259 * gdb.base/step-test.exp: However, we do want a test that notices
4260 the bizarre steps into memcpy, so do that here. Add check for
4261 stepping into function calls that pass large structures by value.
4262 ("Is that a noun clause, or are you just happy to see me?")
4263 Remove all references to specific line numbers.
4264 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4265 New type and function.
4266 (main): Call large_struct_by_value, passing it a large struct by value.
4267 * lib/gdb.exp (gdb_get_line_number): New function.
4268
4269 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4270 more portable.
4271
7a292a7a
SS
42721999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4273
c906108c
SS
4274 * lib/gdb.exp: Doc fixes.
4275
7a292a7a
SS
42761999-03-05 Nick Clifton <nickc@cygnus.com>
4277
beb998c6 4278 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4279
42801999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4281
c906108c
SS
4282 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4283 commands. They're not germane to this test, and they don't work
4284 that way on remote targets.
4285
3fc11d3e
JM
42861999-03-01 James Ingham <jingham@cygnus.com>
4287
4288 * Changelog entries merged over from gdb development branch.
4289
3fc11d3e
JM
4290 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4291
4292 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4293 for outputting results of test run.
4294
2d4a1622 4295 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4296
4297 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4298
7a292a7a
SS
42991999-02-25 Felix Lee <flee@cygnus.com>
4300
4301 * lib/gdb.exp (debug_format): initialize
4302
c906108c
SS
43031999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4304
4305 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4306 * gdb.base/call-rt-st.c: Ditto.
4307
c906108c
SS
43081999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4309
4310 * gdb.threads/pthreads.exp (horiz): New variable.
4311 (test_startup): Fix regexps that capture thread numbers.
4312
43131999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4314
4315 * gdb.base/smoke.exp: Disambiguate two test case names (both
4316 called ``print'').
4317
4318Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4319
4320 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4321 compilation.
4322
43231999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4324
4325 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4326 actual output formatting.
4327 * gdb.base/smoke.exp: GDB removes leading 0's.
4328 * gdb.base/volatile.exp: Don't check type of remuneration;
4329 that variable is no longer defined in constvars.c.
4330 * gdb.base/step-test.c (main): Exit with explicit exit code.
4331 * gdb.base/step-test.exp: Remove two nexti checks--they are
4332 not portable.
4333
43341999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4335
4336 * gdb.base/help.exp ("help delete display"): Fix test to match
4337 gdb's output.
4338
4339 * gdb.base/long_long.c (known_types): Initialize values to zero.
4340 * gdb.base/long_long.exp: Step one more line
4341 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4342 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4343 unique test case names.
4344
4345Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4346
beb998c6 4347 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4348
4349 * gdb.c++/method.exp: Add missing close brace.
4350
43511999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4352
4353 * gdb.base/maint.exp: Use 'set height 0' to disable page
4354 prompting, not 'set height 400'.
4355
4356 Fix a bunch of timeouts.
4357 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4358 four separate tests, so expect doesn't take forever to match a ton
4359 of text against a regexp with lots of .* forms.
4360 ("maint print psymbols", "maint print symbols"): Make some of
4361 these greps more selective, so that expect doesn't try to wade
4362 through huge piles of output and time out.
4363
4364 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4365
4366 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4367 tests: one which doesn't expect shlib events to be reported, and
4368 another which does, but is XFAIL for all platforms other than
4369 HP/UX.
4370
4371 * gdb.base/break.exp: Teach the test suite that the `catch
4372 fork', `catch vfork', and `catch exec' commands produce error
4373 messages on platforms that don't provide these features.
4374
4375Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4376
4377 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4378 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4379 (shortening names from solib_threshold.exp etc), won't run on
4380 anything but HP-UX for the foreseeable future.
4381 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4382 reflect move.
4383
4384Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4385
4386 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4387 gdb.trace/Makefile.in (clean): Remove all test executables.
4388
4389Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4390
4391 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4392 successfully re-sets breakpoints in shared libraries.
4393 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4394
4395Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4396
beb998c6
AC
4397 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4398 and compiled w/o GCC.
c906108c
SS
4399
4400 * gdb.hp/watch-cmd.exp: ditto.
4401
4402 * gdb.hp/watch-hp.exp: ditto.
4403
4404 * gdb.hp/xdb1.exp: ditto.
4405
4406 * gdb.hp/xdb2.exp: ditto.
4407
4408 * gdb.hp/dbx.exp: ditto.
4409
4410Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4411
4412 * constvars.c: Remove C++-isms.
4413 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4414 with GCC.
4415
4416Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4417
4418 The following changes are part of the HP merge.
4419
4420 * gdb.base/break.exp: new tests to verify that catchpoints for
4421 fork, vfork, and exec don't trigger inappropriately.
4422
4423 * gdb.base/opaque.exp: compile one file at a time, then link.
4424
4425 * gdb.base/signals.exp: be more restrictive about which hppa
4426 systems receive a setup_xfail. new tests.
4427
4428 * gdb.base/solib_threshold.build: new file.
4429 * gdb.base/solib_threshold.exp: new file.
4430 * gdb.base/solib_threshold.link_opts: new file.
4431 * gdb.base/solib_threshold.mk: new file.
4432 * gdb.base/gen_solib_threshold.c: new file.
4433
4434 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4435 tests. New tests for enums inside classes.
4436
4437 * gdb.c++/compiler.cc: indicate support of template debugging.
4438
4439 * gdb.c++/demangle.exp: run hp style demangling tests.
4440
4441 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4442 tests.
4443
4444 * gdb.c++/misc.cc: changes to support new tests.
4445
4446 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4447 to support new tests.
4448
4449 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4450 gcc, then skip these tests.
4451
4452Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4453
4454 The following files are part of the HP merge; some had longer
4455 names at HP, but have been renamed to be no more than 14
4456 characters in length.
4457
4458 * gdb.hp/ambiguous.cc: new file.
4459 * gdb.hp/ambiguous.exp: new file.
4460 * gdb.hp/attach.exp: new file.
4461 * gdb.hp/attach2.exp: new file.
4462 * gdb.hp/classes-hp.exp: new file.
4463 * gdb.hp/ctti.exp: new file.
4464 * gdb.hp/ctti-add.cc: new file.
4465 * gdb.hp/ctti-add1.cc: new file.
4466 * gdb.hp/ctti-add2.cc: new file.
4467 * gdb.hp/ctti-add3.cc: new file.
4468 * gdb.hp/dbx.exp: new file.
4469 * gdb.hp/exception.cc: new file.
4470 * gdb.hp/exception.exp: new file.
4471 * gdb.hp/foll-exec.c: new file.
4472 * gdb.hp/foll-exec.exp: new file.
4473 * gdb.hp/foll-fork.c: new file.
4474 * gdb.hp/foll-fork.exp: new file.
4475 * gdb.hp/foll-vfork.c: new file.
4476 * gdb.hp/foll-vfork.exp: new file.
4477 * gdb.hp/inherit-hp.exp: new file.
4478 * gdb.hp/more-steps.exp: new file.
4479 * gdb.hp/namespace.cc: new file.
4480 * gdb.hp/namespace.exp: new file.
4481 * gdb.hp/optimize.exp: new file.
4482 * gdb.hp/pxdb.c: new file.
4483 * gdb.hp/pxdb.exp: new file.
4484 * gdb.hp/quicksort.exp: new file.
4485 * gdb.hp/reg-test.exp: new file.
4486 * gdb.hp/reg-test.s: new file.
4487 * gdb.hp/sized-enum.c: new file.
4488 * gdb.hp/sized-enum.exp: new file.
4489 * gdb.hp/start-stop.exp: new file.
4490 * gdb.hp/templ-hp.cc: new file.
4491 * gdb.hp/templ-hp.exp: new file.
4492 * gdb.hp/thr-lib.c: new file.
4493 * gdb.hp/thr-lib.exp: new file.
4494 * gdb.hp/thr-lib.h: new file.
4495 * gdb.hp/thr-liblib.c: new file.
4496 * gdb.hp/virtfun-hp.c: new file.
4497 * gdb.hp/virtfun-hp.exp: new file.
4498 * gdb.hp/watch-cmd.exp: new file.
4499 * gdb.hp/watch-hp.exp: new file.
4500 * gdb.hp/xdb1.exp: new file.
4501 * gdb.hp/xdb2.exp: new file.
4502 * gdb.hp/xdb3.exp: new file.
4503
4504Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4505
4506 The following files are part of the HP merge; some had longer
4507 names at HP, but have been renamed to be no more than 14
4508 characters in length.
4509
4510 * gdb.base/ss.h: new file.
4511 * gdb.base/call-ar-st.c: new file.
4512 * gdb.base/call-ar-st.exp: new file.
4513 * gdb.base/call-rt-st.c: new file.
4514 * gdb.base/call-rt-st-exp: new file.
4515 * gdb.base/call-strs.exp: new file.
4516 * gdb.base/ena-dis-br.exp: new file.
4517 * gdb.base/environ.exp: new file.
4518 * gdb.base/long_long.exp: new file.
4519 * gdb.base/sect-cmd.exp: new file.
4520 * gdb.base/shlib-cl2.exp: new file.
4521 * gdb.base/smoke.exp: new file.
4522 * gdb.base/so-impl-ld.c: new file.
4523 * gdb.base/so-impl-ld.exp: new file.
4524 * gdb.base/so-indr-cl.c: new file.
4525 * gdb.base/so-indr-cl.exp: new file.
4526 * gdb.base/varargs.exp: new file.
4527 * gdb.base/volatile.exp: new file.
4528 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4529 * gdb.base/display.exp: new file.
c906108c
SS
4530 * gdb.c++/derivation.exp: new file.
4531 * gdb.c++/local.exp: new file.
4532 * gdb.c++/member-ptr.exp: new file.
4533 * gdb.c++/overload.exp: new file.
4534 * gdb.c++/ovldbreak.exp: new file.
4535 * gdb.c++/ref-types.exp: new file.
4536 * gdb.c++/ref-types2.exp: new file.
4537 * gdb.c++/userdef.exp: new file.
beb998c6 4538
c906108c
SS
4539Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4540
4541 * gdb.base/default.exp: Reflect wording change in remote.c.
4542
dc96c6c7 4543Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4544
4545 * gdb.base/help.exp: Update to reflect current text.
4546
4547Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4548
4549 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4550 they're stack variables and contain garbage.
4551 * gdb.c++/anon-union.exp: new file.
4552
4553 The following changes were made by David Taylor
4554 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4555 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4556 in changes by HP.
4557
4558 * gdb.base/bitops.exp: new file.
4559 * gdb.base/default.exp: change expected messages for catch and
4560 info catch tests to reflect HP merge changes.
4561 * gdb.base/enable-disable-break.exp
4562 * gdb.base/ending-run.c: new file.
4563 * gdb.base/long_long.c: new file.
4564 * gdb.base/maint.exp: new file.
4565 * gdb.base/pointers2.exp: new file.
4566 * gdb.base/shlib-call2.exp: new file.
4567 * gdb.base/solib.exp: new file.
4568 * gdb.base/step-test.c: new file.
4569 * gdb.c++/anon-union.cc: new file.
4570 * gdb.c++/local.cc: new file.
4571 * gdb.c++/member-pointer.cc: new file.
4572 * gdb.c++/method.cc: new file.
4573 * gdb.c++/ref-types.cc: new file.
4574 * gdb.c++/ref-types2.cc: new file.
4575 * gdb.c++/userdef.cc: new file.
beb998c6 4576
c906108c
SS
4577 * gdb.base/scope.exp: compile one file at a time, then link.
4578 * gdb.base/langs.exp: ditto.
4579 * gdb.base/list.exp: ditto.
beb998c6 4580
c906108c
SS
4581Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4582
4583 The following changes were made by David Taylor
4584 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4585 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4586 in changes by HP.
beb998c6 4587
c906108c
SS
4588 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4589 skip tests. When compiling pass c++ flag to gdb_compile.
4590 * gdb.c++/
beb998c6 4591
c906108c
SS
4592 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4593 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4594 (skip_hp_tests): new function.
4595 (gdb_preprocess): new function.
4596
4597 * configure.in (hpdir): decide whether to configure gdb.hp.
4598 * configure: regenerated.
4599
4600 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4601 to delete on clean.
4602 (EXECUTABLES): update to reflect new additions.
4603 * gdb.base/commands.exp: update message expected.
4604 * gdb.base/default.exp: add copyright notice.
4605 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4606 * gdb.base/help.exp: update messages to reflect current text.
4607 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4608 targets for recurse tests.
4609 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4610 skip this file.
4611
4612 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4613 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4614 compilation.
4615 * gdb.c++/misc.exp: ditto.
4616 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4617 run the tests. tell gdb_compile that it's a c++ compilation.
4618
4619 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4620
c906108c
SS
4621 * gdb.base/all-bin.exp: new file.
4622 * gdb.base/arithmet.exp: new file.
4623 * gdb.base/assign.exp: new file.
4624 * gdb.base/completion.exp: new file.
4625 * gdb.base/cond-expr.exp: new file.
4626 * gdb.base/condbreak.exp: new file.
4627 * gdb.base/define.exp: new file.
4628 * gdb.base/dollar.exp: new file.
4629 * gdb.base/environment.exp: new file.
4630 * gdb.base/eval-skip.exp: new file.
4631 * gdb.base/jump.exp: new file.
4632 * gdb.base/logical.exp: new file.
4633 * gdb.base/pointers.exp: new file.
4634 * gdb.base/relational.exp: new file.
4635 * gdb.base/section_command.exp: new file.
4636 * gdb.base/whatis-expr.exp: new file.
4637
4638 * gdb.base/all-types.c: new file.
4639 * gdb.base/call-array-struct.c: new file.
4640 * gdb.base/call-return-struct.c: new file.
4641 * gdb.base/call-strings.c: new file.
4642 * gdb.base/callfuncs2.c: new file.
4643 * gdb.base/condbreak.c: new file.
4644 * gdb.base/constvars.c: new file.
4645 * gdb.base/display.c: new file.
4646 * gdb.base/int-type.c: new file.
4647 * gdb.base/jump.c: new file.
4648 * gdb.base/miscexprs.c: new file.
4649 * gdb.base/pointers.c: new file.
4650 * gdb.base/pointers2.c: new file.
4651 * gdb.base/shmain.c: new file.
4652 * gdb.base/shr1.c: new file.
4653 * gdb.base/shr2.c: new file.
4654 * gdb.base/solib.c: new file.
4655 * gdb.base/solib1.c: new file.
4656 * gdb.base/solib2.c: new file.
4657 * gdb.base/varargs.c: new file.
4658 * gdb.c++/derivation.cc: new file.
4659 * gdb.c++/overload.cc: new file.
4660 * gdb.c++/ovldbreak.cc: new file.
4661 * gdb.hp/attach.c: new file.
4662 * gdb.hp/attach2.c: new file.
4663 * gdb.hp/average.c: new file.
4664 * gdb.hp/compiler.c: new file.
4665 * gdb.hp/compiler.cc: new file.
4666 * gdb.hp/execd-program.c: new file.
4667 * gdb.hp/follow-exec.c: new file.
4668 * gdb.hp/follow-fork.c: new file.
4669 * gdb.hp/follow-vfork-and-exec.c: new file.
4670 * gdb.hp/misc-hp.cc: new file.
4671 * gdb.hp/more-steps.c: new file.
4672 * gdb.hp/optimize.c: new file.
4673 * gdb.hp/quicksort.c: new file.
4674 * gdb.hp/run-hp.c: new file.
4675 * gdb.hp/start-stop.c: new file.
4676 * gdb.hp/sum.c: new file.
4677 * gdb.hp/templates-hp.cc: new file.
4678 * gdb.hp/thread-local-in-lib.c: new file.
4679 * gdb.hp/thread-local-in-lib.h: new file.
4680 * gdb.hp/thread-local-in-lib.lib.c: new file.
4681 * gdb.hp/vforked-program.c: new file.
4682 * gdb.hp/virtfunc-hp.cc: new file.
4683 * gdb.hp/watchpoint-hp.c: new file.
4684 * gdb.hp/xdb.c: new file.
4685 * gdb.hp/xdb0.c: new file.
4686 * gdb.hp/xdb0.h: new file.
4687 * gdb.hp/xdb1.c: new file.
4688
4689Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4690
4691 The following change was made by Edith Epstein
4692 <eepstein@cygnus.com> as part of a project to merge in changes
4693 originally made by HP; HP did not create ChangeLog entries.
4694
4695 * gdb.c++/demangle.exp: changed the expected output for some
4696 ARM-style mangling -- removed second reference to datatype.
4697 For example, maint demangle __dt__11T1__pt__2_cFv
4698 T1<char>::~T1<char>(void)
4699 becomes,
4700 maint demangle __dt__11T1__pt__2_cFv
4701 T1<char>::~T1(void)
4702
4703 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4704
c906108c
SS
4705Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4706
4707 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4708 * gdb.trace/backtrace.exp: Likewise.
4709 * gdb.trace/circ.exp: Likewise.
4710 * gdb.trace/collection.exp: Likewise.
4711 * gdb.trace/deltrace.exp: Likewise.
4712 * gdb.trace/infotrace.exp: Likewise.
4713 * gdb.trace/limits.exp: Likewise.
4714 * gdb.trace/packetlen.exp: Likewise.
4715 * gdb.trace/passc-dyn.exp: Likewise.
4716 * gdb.trace/passcount.exp: Likewise.
4717 * gdb.trace/report.exp: Likewise.
4718 * gdb.trace/save-trace.exp: Likewise.
4719 * gdb.trace/tfind.exp: Likewise.
4720 * gdb.trace/tracecmd.exp: Likewise.
4721 * gdb.trace/while-dyn.exp: Likewise.
4722 * gdb.trace/while-stepping.exp: Likewise.
4723
47241998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4725
4726 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4727
4728Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4729
4730 From Brendan Kehoe:
4731 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4732 int return types.
4733
4734Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4735
4736 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4737 remote dos host testing right.
4738
4739Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4740
4741 * gdb.base/corefile.exp: remove some xfails.
4742
4743Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4744
4745 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4746 have different timestamps.
4747
4748Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4749
4750 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4751 gdb.base/default.exp: Replace "exec" with "executable".
4752
4753Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4754
4755 * gdb.base/default.exp: Change else if to elseif from previous
4756 delta.
4757
4758Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4759
4760 * gdb.base/default.exp: Add brace missing from previous delta.
4761
4762Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4763
4764 * gdb.base/default.exp: Support test for info float for all
4765 varieties of arm toolchain.
4766
dc96c6c7 4767Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4768
4769 * gdb.trace/*.exp: remove "remote_download" command.
4770
dc96c6c7 4771Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4772
4773 * gdb.trace/*.exp: remove -gdwarf from compile.
4774
4775Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4776
4777 * gdb.trace/configure.in(AC_INIT): typo
4778 * gdb.trace/configure: regenerated
4779
dc96c6c7 4780Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4781
4782 * config/m68k-emc.exp: New file.
4783 * lib/<emc-support.exp trace-support.exp}: New files.
4784 * configure.in: add new test directory gdb.trace.
4785 * gdb.trace/{configure configure.in Makefile.in}: New files.
4786 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4787 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4788 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4789 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4790 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4791 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4792 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4793
dc96c6c7 4794Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4795
4796 * gdb.c++/classes.exp: Change all regular expressions to match
4797 arbitrary combinations of newline/carriage-return, so that they
4798 will work equally well on Unix and Windows.
4799 * gdb.c++/inherit.exp: ditto.
4800 * gdb.c++/virtfunc.exp: ditto.
4801
48021998-08-11 Dawn Perchik <dawn@cygnus.com>
4803
4804 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4805
c2d11a7d
JM
4806Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4807
4808 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4809 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4810 to use a0-a3/d0-d3 as needed.
4811
4812Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4813
4814 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4815 * gdb.disasm/am33.exp: Corresponding changes.
4816
c906108c
SS
48171998-07-11 Felix Lee <flee@cygnus.com>
4818
4819 * gdb.base/callfuncs.exp: add cmp10 test.
4820 * gdb.base/callfuncs.c (cmp10): new function.
4821
4822Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4823
beb998c6 4824 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4825 into two parts to get around a synchronization problem in expect.
4826
3fc11d3e
JM
4827Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4828
4829 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4830
4831 * configure.in: Add options for gdbtk testsuite.
4832
4833 * configure: Regenerate.
4834
4835 * gdb.gdbtk: New directory to hold gdbtk tests.
4836
c906108c
SS
4837Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4838
4839 * gdb.fortran/types.exp: Escape brackets in expect patterns
4840 for test_float_literal_types_accepted tests.
4841 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4842 before run test.
4843
c2d11a7d
JM
4844Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4845
4846 * am33.exp: Just compile, do not link the testcase.
4847 * am33.s: Add ".am33" pseudoop to force am33 mode.
4848
c906108c
SS
48491998-06-25 Felix Lee <flee@cygnus.com>
4850
4851 * gdb.base/setshow.exp: make sure $pc is sane.
4852
4853 * gdb.stabs/weird.exp: split expect patterns properly.
4854
c2d11a7d
JM
4855Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4856
4857 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4858 * gdb.disasm/am33.exp: Run it.
4859
dc96c6c7 4860Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4861
4862 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4863 match processing (and eliminate spurious timeouts when running).
4864
dc96c6c7 4865Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4866
4867 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4868 exception test, but conditionalize it on target [mach | gnu].
4869
dc96c6c7 4870Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4871
4872 * gdb.base/overlays.exp: fixup compile line for linker script.
4873
4874Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4875
4876 * gdb.fortran/types.exp: don't guess at float size.
4877
4878Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4879
4880 * gdb.base/exprs.exp: delete test that depends on int size.
4881
4882Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4883
4884 * config/sim.exp: Removed checks for target triplets.
4885 (gdb_target_sim): Use gdb,target_sim_options.
4886
4887Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4888
4889 * gdb.base/reread.exp: New file.
4890 * gdb.base/reread1.c: New file.
4891 * gdb.base/reread2.c: New file.
4892
4893Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4894
4895 * config/sim.exp: Use 'target sim -sparclite' when running
4896 SPARClite programs.
4897
4898Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4899
4900 * gdb.base/structs2.exp: New file.
4901 * gdb.base/structs2.c: New file.
4902
4903Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4904
4905 * gdb.asm/common.inc: New file.
4906 * gdb.asm/d10v.inc: New file.
4907 * asm-source.exp: Pass -I's to gas to find .inc files.
4908 Update line numbers in expected output.
4909 * asmsrc1.s: Rewrite.
4910 * asmsrc2.s: Rewrite.
4911 * configure.in: Create arch.inc symlink.
4912 * configure: Regenerate.
4913 * Makefile.in (distclean): Delete arch.inc.
4914
4915Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4916
4917 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4918 (t_enum_value2): ditto
4919 (t_enum_value3): ditto
4920 (main): ditto
4921Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4922
4923 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4924 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4925 change.
4926 Use gdb_test instead of send_gdb/gdb_expect sequences.
4927
4928Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4929
4930 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4931 not void.
4932
4933Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4934
4935 * gdb.base/branches.c: Code with lots of loops and
4936 subroutines. Used to test gdbs ability to single step through PC
4937 changes, especially to test mips-tdep.c:mips_next_pc
4938
4939Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4940
4941 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4942 more rigorous EGCS C++ error checking.
4943
4944Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4945
4946 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4947 tests.
c906108c 4948 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4949 function when asleep.
c906108c 4950 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4951 for i*86 Linux and SVR4 signal handling problems.
4952 Remove linux xfail for `next to handler in signals_tests_1', fixed
4953 by recent infrun.c change.
c906108c 4954 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4955 stack backtraces.
c906108c
SS
4956 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4957 target.[ch] change.
4958
4959Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4960
4961 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4962 for a newline from gdb before continuing.
4963 (default_gdb_exit): Just look for y or n.
4964 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4965 it does, fail the rests of the tests in the file.
4966
4967Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4968
4969 * config/cygmon.exp: New file.
4970
4971Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4972
4973 * gdb.base/list.exp: Fix problem with "list default lines around
4974 main" test on remote targets.
4975
4976 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4977 run test on remote targets.
4978
4979Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4980
4981 * gdb.asm: New directory.
4982 * configure.in: Configure it.
4983 * configure: Regenerate.
4984 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4985 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4986
4987Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4988
4989 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4990
dc96c6c7 4991Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4992
c906108c
SS
4993 * gdb.base/overlays (several files): Merge the two overlay
4994 managers into one. Change variables (foox, barx, bazx, grbxx)
4995 back into ints but force them to load in their proper sections.
4996
4997Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4998
4999 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5000 on-chip insn memory and IMAP1 to upper 128k.
5001 (D10VCopy): Handle memory regions crossing 16k boundaries.
5002 (D10VCopy): Transfer data in 32 bit chunks.
5003
5004Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5005
5006 * gdb.base/overlays.c (main): Exit normally when result is
5007 correct.
5008
5009 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5010 map. Include space for printf in .text segment.
5011
5012 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5013 updated d10v memory VMA/LMA map.
5014 (D10VCopy): Call D10VTranslate.
beb998c6 5015
c906108c
SS
5016Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5017
5018 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5019
5020 * gdb.base/bar.c (barx, bar): Change variable to small array so
5021 that it won't be put into the .sdata - small data -
5022 section. Update reference.
5023 * gdb.base/baz.c (bazx, baz): Ditto.
5024 * gdb.base/foo.c (foox, foo): Ditto.
5025 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5026
5027 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5028 to be arrays.
beb998c6 5029
dc96c6c7 5030Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5031
c906108c
SS
5032 * gdb.base/overlays.exp: fix up and get working again.
5033 Add tests for backtraces from an overlay function.
beb998c6 5034
c906108c
SS
5035Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5036
5037 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5038 "calling function with watchpoint enabled".
5039
5040Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5041
5042 * gdb.base/break.exp (test_next_with_recursion): Remove
5043 gdb_suppress_tests for d10v-*-*.
5044 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5045 pending review of whether it is useful or not.
5046
5047Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5048
5049 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5050
5051Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5052
5053 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5054 * config/dve.exp: New file to support Densan boards.
5055
5056Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5057
5058 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5059 reads and BSD.
5060
5061Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5062
5063 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5064 response.
5065
5066 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5067
5068Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5069
5070 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5071 test.
5072
5073 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5074 target_sizeof_long and target_bigendian_p.
5075 (structs_by_value, structs_by_reference): Check values according
5076 to targets word size and endianess.
beb998c6 5077
c906108c
SS
5078Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5079
5080 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5081 output.
5082
5083Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5084
5085 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5086 Update test of set args help to match source change.
5087
5088Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5089
5090 * gdb.base/default.exp: Expect help system output to be in
5091 alphabetical order.
5092 * gdb.base/help.exp: Ditto.
5093
5094Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5095
5096 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5097 "i*86-pc-linux-gnu*".
5098 * gdb.base/interrupt.exp: Ditto.
5099 * gdb.base/corefile.exp: Ditto.
5100
5101 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5102 define vxworks when building the testcase.
5103
5104 * gdb.base/ptype.exp: Fix testnames to be unique.
5105 * gdb.base/radix.exp: Ditto.
5106 * gdb.base/term.exp: Ditto.
5107 * gdb.base/whatis.exp: Ditto.
5108 * gdb.c++/classes.exp: Ditto.
5109
5110Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5111
5112 * gdb.base/callfuncs.exp: Fix indentation.
5113
5114 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5115 suppress_flag has been set.
5116 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5117 target feature.
5118
5119Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5120
5121 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5122 the testcase.
5123
5124 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5125 set_debug_traps() and breakpoint().
5126 * gdb.c++/misc.cc (main): Ditto.
5127 * gdb.c++/templates.cc (main): Ditto.
5128 * gdb.c++/virtfunc.cc (main): Ditto.
5129
5130Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5131
5132 * lib/gdb.exp(gdb_step_for_stub): New function.
5133 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5134 exists, reload the executable and do a "continue" instead of
5135 doing a jump.
5136 (runto_main): Use gdb_step_for_stub.
beb998c6 5137
c906108c
SS
5138 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5139 tests to have unique names.
5140 * gdb.base/callfuncs.exp: Ditto.
5141 * gdb.base/commands.exp: Ditto.
5142 * gdb.base/default.exp: Ditto.
5143 * gdb.base/help.exp: Ditto.
5144 * gdb.base/list.exp: Ditto.
5145 * gdb.base/opaque.exp: Ditto.
5146 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5147 similar tests.
beb998c6 5148
c906108c
SS
5149 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5150 * gdb.c++/cplusfuncs.cc: Ditto.
5151 * gdb.c++/virtfunc.cc: Ditto.
5152
5153 * config/monitor.exp: Keep track of the last file we saw, rather
5154 than trying to get the info from gdb.
5155
5156 * gdb.fortran/types.exp: Move comment to previous line.
5157
5158Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5159
5160 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5161 target mode.
5162
5163Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5164
5165 From Bob Manson:
5166 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5167 string from GDB when it connects.
5168
5169 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5170
5171Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5172
5173 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5174 if we can't get a debug format from GDB (we may be testing an
5175 older GDB). Use a 10 second timeout when checking for the format.
5176
5177 * gdb.stabs/weird.exp: Fix quoting.
5178
5179 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5180
5181Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5182
5183 * config/arm-ice.exp: New file.
5184
5185Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5186
5187 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5188 until it has been modified to work with the new testsuite.
5189
99707966 5190 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5191 testcase won't compile, cause all of the testcases in the file to
5192 fail instead.
5193
5194 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5195 (gdb_clear_suppressed): New procedure.
5196 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5197 it contains a positive value.
5198
5199Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5200
5201 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5202
5203 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5204
5205Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5206
5207 * lib/gdb.exp (setup_xfail_format): New function.
5208 (get_debug_format): New function to get debug format.
5209 (debug_format): New global variable to hold last value set
5210 by get_debug_format.
5211 * gdb.base/list.exp: Call get_debug_format and expect some
5212 tests to fail for DWARF 1 and COFF formats.
5213 * gdb.c++/ptype.exp: Ditto.
5214 * gdb.c++/classes.exp: Ditto.
5215 * gdb.c++/cplusfuncs.exp: Ditto.
5216 * gdb.c++/inherit.exp: Ditto.
5217 * gdb.c++/templates.exp: Ditto.
5218 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5219
c906108c
SS
5220Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5221
5222 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5223 host doesn't have a currently-open connection.
5224
5225 * config/sparclet.exp: Cleanups and fixes to make it generic for
5226 any gdb stub target. Handle cases where gdb doesn't respond when
5227 interrupted in a sane fashion.
5228
5229 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5230 same thing in a totally different way.
5231
5232 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5233 setting "timeout".
5234 (gdb_start): We set the global gdb_prompt variable in
5235 default_gdb_init now.
5236
5237Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5238
5239 * gdb.base/printcmds.exp: Fix "check for floating addition"
5240 regexp to accept results within approx +/- .01 of exact value.
5241 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5242
5243Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5244
5245 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5246 properly.
5247 (gdb_expect): Add optional timeout parameter, and add timeout
5248 value to various calls.
5249 (gdb_suppress_tests): Only give one warning message per group.
5250
5251Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5252
5253 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5254 global variables. Handle getting a value for $timeout more
5255 gracefully.
5256
5257Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5258
5259 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5260 initialize.
5261 (default_gdb_init): New procedure; allow gdb_init to be overridden
5262 by a target configuration file.
5263 (gdb_expect): Pass the timeout to remote_expect.
5264
5265 * config/monitor.exp(gdb_load): Fix typo in regexp.
5266
5267Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5268
5269 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5270
5271Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5272
5273 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5274 here. Call gdb_target_exec before rebooting the target, to make
5275 sure the connection to the target is closed.
5276 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5277 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5278 Also detect "Timeout reading from remote" error.
5279
5280 * config/gdbserver.exp: Pass the executable being loaded to
5281 gdb_target_monitor. Don't call gdb_file_cmd here; let
5282 gdb_target_monitor do it.
5283
5284 * gdb.disasm/hppa.exp: Don't use exec_output.
5285
5286Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5287
5288 * gdb.base/list.exp: If we're debugging a non-native target,
5289 try to set the pc register to point to the start of the
5290 program before doing the first list command.
5291
5292 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5293 test_calls after restarting.
5294
5295 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5296 reloading.
5297
5298 * gdb.base/watchpoint.exp: Fix typo.
5299
5300 * gdb.base/setshow.exp: Check for use_gdb_stub.
5301
5302 * gdb.base/break.exp: Fix continue until exit test for the gdb
5303 stub case.
5304 * gdb.base/langs.exp: Ditto.
5305
5306 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5307 gdb_load_offset. If we weren't given a file to load, figure out
5308 what the current file is and use it.
5309
5310 * config/i386-bozo.exp: New file.
5311
5312Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5313
5314 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5315 feature.
5316
5317 * config/proelf.exp: New entry.
5318
5319Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5320
5321 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5322 of regexps.
5323
5324 * gdb.base/watchpoint.exp: Don't run the test_stepping
5325 tests if gdb can't call functions on the target.
5326
5327 * gdb.base/setshow.exp: Don't run the set prompt tests if
5328 the board has gdb_prompt set.
5329
5330Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5331
5332 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5333 * gdb.base/commands.exp: Likewise.
5334 * gdb.base/setshow.exp: Likewise.
5335
5336Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5337
5338 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5339 feature.
5340
5341 * config/i960.exp: New file.
5342
5343Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5344
5345 * gdb.base/funcargs.exp: Check for gdb,short_int target
5346 feature instead of looking for explicit target triplets.
5347
dc96c6c7 5348Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5349
beb998c6 5350 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5351 "p 123DEADBEEF", to check parse_number.
5352 * top.c: change "to enable to enable" to "to enable" in a couple
5353 of help strings.
5354
5355Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5356
5357 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5358 on the mn10300.
beb998c6 5359
c906108c
SS
5360Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5361
5362 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5363 where the test executable is run with explicit args.
5364 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5365
5366Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5367
5368 * gdb.base/run.c: Use FAKEARGV to build test executable that
5369 does not require a command line arg, since most simulators
5370 don't currently support passing such an arg into the simulated
5371 program.
5372 * gdb.base/commands.exp: Change tests to insert the proper
5373 value as the arg to the first recursive factorial call. Change
5374 compilation line to define FAKEARGV at compile time.
5375
5376Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5377
5378 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5379 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5380 function with watchpoint enabled" test.
5381
5382Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5383
5384 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5385 Don't call gdb_test when the command doesn't return to a gdb prompt.
5386
5387 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5388 "Tests restarted" messages.
5389
5390Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5391
5392 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5393
dc96c6c7 5394Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5395
5396 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5397 for INFO SYMBOL; add help tests for OVERLAY commands.
5398 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5399 add tests for OVERLAY commands
5400 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5401 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5402 * gdb.base/sigall.c: add usestubs code frag
5403 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5404
c906108c
SS
5405Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5406
5407 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5408 failures.
5409 (gdb_stop_suppressing_tests): Note that tests have restarted.
5410
5411Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5412
5413 * config/h8300.exp: New file.
5414
5415Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5416
5417 * gdb.base/setshow.exp: Check for the existence of a
5418 feature, not its value.
5419
5420Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5421
5422 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5423
5424 * gdb.base/scope.exp: It's now init0(), not init().
5425
5426 * gdb.base/scope0.c: For now, change init() to be init0().
5427
5428 * config/monitor.exp: Use gdb_serial in preference to serial
5429 or netport.
5430
5431 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5432 and it's not already set.
5433
5434Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5435
5436 * gdb.base/setshow.exp: Only test the run command if the target
5437 isn't using a stub and if it supports argument passing.
5438
5439Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5440
5441 * config/udi.exp(gdb_start): Make sure UDICONF is set
5442 properly before starting gdb.
5443
5444Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5445
5446 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5447 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5448 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5449
5450Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5451
5452 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5453 specialized code to reboot the board, use remote_reboot instead.
5454
5455 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5456
5457 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5458
5459 * config/monitor.exp: Make sure we disconnect from the target.
5460 Also, try a reboot/reload cycle instead of failing if the
5461 load fails.
5462
5463Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5464
5465 * gdb.base/default.exp: Don't set match_max.
5466 * gdb.base/help.exp: Ditto.
5467 * gdb.base/list.exp: Ditto.
5468 * gdb.base/signals.exp: Ditto.
5469
5470 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5471 set, use remote_ld to download the testcase instead of
5472 the GDB loader.
5473
5474Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5475
5476 * config/vr5000.exp: New file.
5477
5478 * config/monitor.exp(gdb_target_monitor): Add pattern for
5479 "Ending remote" to detect errors in connecting.
5480
5481 * gdb.base/setshow.exp: Add .* within auto language test.
5482
5483 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5484 target feature.
5485
5486 * config/monitor.exp(gdb_load): Check for a failure when loading,
5487 and reboot the board if necessary.
5488
5489 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5490 a set of tests. Remove print.* from the patterns being checked.
5491
5492Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5493
5494 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5495 refer to gdb_spawn_id.
5496
5497 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5498 longer used.
5499 * config/sparclet.exp: Ditto.
5500 * config/sparclet-old.exp: Ditto.
5501 * config/slite.exp: Ditto.
5502 * config/sim.exp: Ditto.
5503 * gdb.base/funcargs.exp: Ditto.
5504
5505 * lib/gdb.exp:Remove references to gdb_spawn_id.
5506 (gdb_expect): Move to remote.exp.
5507
5508Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5509
5510 * config/monitor.exp: Detect the "Couldn't establish connection"
5511 message from GDB.
5512
5513Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5514
5515 * gdb.base/bitfields.exp: Use runto instead of explicit
5516 gdb_run_cmd/gdb_expect sequences.
5517
5518 * gdb.base/break.exp(text_next_with_recursion): Add match for
5519 gdb_expect call.
5520
5521 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5522 We also need to handle the "A program is being debugged already"
5523 prompt from gdb. Use gdb_test to set the baud rate.
5524
5525 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5526 to 20000. Really. I mean it.
5527
5528Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5529
5530 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5531 fails. If suppress_flag is set, skip perror message about not
5532 being able to send to GDB.
5533 (send_gdb): If suppress_flag is set, don't try to send commands to
5534 GDB.
5535 (gdb_expect): If suppress_flag is set, always fail immediately.
5536 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5537 (gdb_init): Call gdb_stop_suppressing_tests.
5538 (default_gdb_exit): Ditto.
5539 (default_gdb_start): Ditto.
5540
5541 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5542 gdb_stop_suppressing_tests as appropriate.
5543 * gdb.base/break.exp: Ditto.
5544 * gdb.base/callfuncs.exp: Ditto.
5545 * gdb.base/commands.exp: Ditto.
5546 * gdb.base/exprs.exp: Ditto.
5547 * gdb.base/funcargs.exp: Ditto.
5548 * gdb.base/list.exp: Ditto.
5549 * gdb.base/recurse.exp: Ditto.
5550 * gdb.base/scope.exp: Ditto.
5551 * gdb.base/structs.exp: Ditto.
5552 * gdb.c++/inherit.exp: Ditto.
5553
5554Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5555
5556 * config/vr4300.exp: New file.
5557
99707966
MC
5558 * gdb.*/*.exp: Call gdb_expect instead of expect.
5559
5560 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5561
5562Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5563
5564 * lib/gdb.exp(gdb_init): New function.
5565
5566 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5567 for each individual variable set.
5568
5569 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5570 name.
5571
5572 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5573
5574 * gdb.base/scope.exp: Use gdb_test.
5575
5576 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5577 aborting; the testsuite driver will do that for us (see
5578 gdb_finish). Also, use gdb_test in a few more places.
5579
5580Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5581
5582 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5583
5584Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5585
5586 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5587 and "add_tests" are not at the same address.
5588
5589Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5590
5591 * gdb.base/ptype.exp: Use gdb_test.
5592
5593Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5594
5595 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5596 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5597 left in. No longer expect them to fail.
5598
5599 * gdb.stabs/*.mt; Deleted, no longer used.
5600 * gdb.stabs/configure.in: Remove references to target makefile
5601 frags.
5602 * gdb.stabs/configure: Rebuilt.
5603
5604 * gdb.disasm/*.mt: Deleted, no longer used.
5605 * gdb.disasm/configure.in: Remove references to target makefile
5606 frags. Use "sh3.s" as the unique filename for this directory.
5607 * gdb.disasm/configure: Rebuilt.
5608
5609 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5610 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5611 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5612
5613Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5614
5615 * config/udi.exp: Use mondfe,name instead of remote_host.
5616
5617Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5618
5619 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5620 a function with a watchpoint enabled on the mn10200.
5621
5622 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5623 before trying to create it!
5624
5625Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5626
5627 * config/vx.exp: Use hostname instead of netport.
5628
5629 * config/vxworks.exp: New file.
5630
5631 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5632
5633 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5634 gdb before assuming everything worked. Send a ^C if a timeout
5635 occurs.
5636
5637 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5638 $gdb_spawn_id directly.
5639 (gdb_run_cmd): Try _start as well as start. Use the target feature
5640 gdb,start_symbol as the symbol to start from when jumping.
5641
5642Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5643
5644 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5645 redundant) test.
5646
5647 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5648 it doesn't lose for 16bit integer systems.
5649
5650Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5651
5652 * gdb.fortran/types.exp: If the target doesn't support "double"
5653 data types, then expect "real" types to only be 4 bytes.
5654
5655 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5656 call tests if the target doesn't support inferior function calls.
5657
5658 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5659 in printf tests.
5660
5661Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5662
5663 * gdb.base/help.exp: Disable "help set", "help show", and
5664 "help support". Simplify regexp for "help stack".
5665
5666 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5667 to 60 seconds. Temporarily set match_max to 15000 around the
5668 "info copying" test.
5669
5670 * gdb.base/nodebug.exp: Don't try to do an inferior function
5671 call if the target doesn't support them.
5672 * gdb.base/printcmds.exp: Likewise.
5673 * gdb.base/setvar.exp: Likewise.
5674 * gdb.base/structs.exp: Likewise.
5675 * gdb.c++/templates.exp: Likewise.
5676 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5677
5678 * gdb.base/recurse.exp: Enable for the mn10200.
5679
5680 * configure.in: Do configure gdb.stabs directory for *-*-elf
5681 targets.
5682 * configure: Rebuilt.
5683
5684 * gdb.base/break.exp: Check for gdb,noresults before testing
5685 exit status and/or results from the target.
5686 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5687 * lib/gdb.exp: Remove old (now bogus) initialization of
5688 noinferior, noargs, noresults and nosignals.
5689
5690Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5691
5692 * config/sh.exp: New file.
5693
5694 * config/slite.exp: Try to connect multiple times to the board
5695 before rebooting. Only send a "monitor run" if need_monitor_run
5696 is set.
5697
5698 * gdb.base/break.exp: Don't do the "stub continue" test if
5699 the target has gdb_stub set.
5700
5701 * gdb.base/callfuncs.exp: Increase the timeout.
5702
5703 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5704 if the target has gdb,noinferiorio set.
5705
5706 * gdb.base/list.exp: Increase match_max to 10000 characters.
5707
5708 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5709
5710 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5711 target.
5712
5713 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5714
5715Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5716
5717 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5718 trying to delete the copy of gdb. Catch the file delete so we
5719 don't die if the delete fails; also, the file should be copied to
5720 the host, not to the build.
5721
5722Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5723
5724 * lib/gdb.exp(gdb_test): Surround the result pattern with
5725 parenthesis in case it contains multiple regexps separated
5726 with |.
5727
5728 * gdb.base/watchpoint.exp: Use gdb_test.
5729 * gdb.base/default.exp: Ditto.
5730
5731Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5732
99707966 5733 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5734
c906108c
SS
5735 * gdb.base/scope.exp: Use gdb_test.
5736 * gdb.c++/classes.exp: Ditto.
5737 * gdb.c++/inherit.exp: Ditto.
5738
5739Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5740
5741 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5742 remote_exec instead.
5743 * gdb.base/corefile.exp: Don't be ridiculous.
5744 * gdb.base/*.c: Add missing stub invocations.
5745
5746Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5747
5748 * config/slite.exp: Miscellaneous fixes.
5749
5750 * lib/gdb.exp: Fix runto.
5751
5752 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5753 the target.
5754
5755 * gdb.base/watchpoint.exp: Fix regexp.
5756
5757 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5758 close and wait commands, as the descriptor may now be
5759 invalid. Always call "remote_close host".
5760
5761Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5762
5763 Major rewrite for testsuite revision.
beb998c6 5764
c906108c
SS
5765 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5766 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5767 instead of relying on spawn_id to always contain a valid
5768 spawn id.
5769 (get_compiler_info): New procedure to build the ${binfile}.ci
5770 file, instead of replicating this in N different places.
5771 (gdb_compile): New procedure.
beb998c6 5772
c906108c
SS
5773 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5774 appropriate arguments) instead of compile. Use gdb_test in a lot
5775 more places. Use send_gdb instead of send. Always run gdb_start
5776 at the start of a testcase, as this is no longer done magically.
5777
5778 config/*-gdb.exp: Rename without the -gdb suffix.
5779
5780 config/mips.exp: Use remote_close instead of exit_remote_shell.
5781 config/monitor.exp: Use target_info instead of looking at
5782 baud, timeout, etc.
5783 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5784
5785Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5786
5787 * gdb.c++/templates.exp (test_ptype_of_templates),
5788 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5789 Update expect patterns for destructors and assignment operators
5790 to match corresponding c-typeprint.c changes.
5791 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5792 to destructor breakpoint test, GDB should be able to set the
5793 destructor breakpoint without specifying arguments.
5794
5795Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5796
5797 * gdb.threads/pthreads.exp: Change result for failure to compile due
5798 to lack of pthreads runtime support from an error to simply an
5799 unsupported test, per dejagnu standards.
5800
5801Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5802
5803 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5804 where GDB exits to reduce pattern match time.
5805 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5806
5807 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5808
dc96c6c7 5809Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5810
5811 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5812 * gdb.base/default.exp: ditto.
5813 * gdb.base/nodebug.exp: ditto.
5814 * gdb.base/printcmds.exp: ditto.
5815 * gdb.base/ptype.exp: ditto.
5816 * gdb.base/setvar.exp: ditto.
5817 * gdb.base/structs.exp: ditto.
5818 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5819
5820Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5821
5822 * configure, */configure: Rebuild with autoconf 2.12.
5823
5824Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5825
5826 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5827 use new i*86-pc-linux*-gnu quads.
5828 * gdb.base/corefile.exp: Ditto.
5829 * gdb.base/signals.exp: Ditto.
5830 * gdb.base/sigall.exp: Ditto.
5831 * gdb.base/interrupt.exp: Ditto.
5832
5833 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5834 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5835 RedHat 4.0.
beb998c6 5836
c906108c
SS
5837 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5838 linux. This allows the test case to at least compile on latest
5839 linux, but still not run due to missing the threads runtime library.
5840
5841Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5842
5843 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5844 directory to search gdb directory. Accept and step over conditional
5845 stack alignment code. Consume $prompt in failure cases.
5846 Reset timeout to $oldtimeout instead of some arbitrary value.
5847 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5848 timeout problems with infinite stack backtraces.
5849 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5850 Accept function parameters for linkfunc member.
5851
5852Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5853
5854 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5855 (CXXFLAGS): Remove, unreferenced.
5856 (B_OPTIONS): Add for -B options and add code to initialize with
5857 previous -B options and also add -B option to pick up cross compiled
5858 runtime.
5859 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5860 doing cross compiles.
5861 (target_alias): Declare global.
5862 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5863 to verify that gcc exists in build tree, and if so set CC to that
5864 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5865
c906108c
SS
5866Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5867
5868 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5869 ptype test for anonymous union. Fixup testcase to match
5870 current gcc debug output.
5871
5872Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5873
5874 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5875 force argument to an unsigned long type.
5876
5877Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5878
5879 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5880 tests and anonymous union print/ptype tests.
5881 * gdb.base/list.exp (test_forward-search): Increase timeout by
5882 5 minutes for the "search extremely long line" case.
5883 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5884 completely optional and that the pass/fail messages use the command as
5885 the message if that third arg is a null string.
5886 (gdb_test_exact): Arrange that a null string pattern means match a
5887 null string output rather than any output, which might include random
5888 errors.
5889 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5890 backtrace test.
5891 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5892 always failing and failure is now exposed by gdb.exp changes.
5893
5894Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5895
5896 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5897 weren't being noted.
5898
5899Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5900
5901 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5902 * gdb.stabs/weird.exp: Remove v_comb xfails.
5903
dc96c6c7 5904Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5905
5906 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5907 list.exp scope.exp watchpoint.exp]
5908 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5909
dc96c6c7 5910Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5911
5912 * config/monitor.exp: Increase download timeout to 1000 seconds.
5913
dc96c6c7 5914Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5915
5916 * config/m32r.exp: Increase timeout to 120 seconds.
5917
5918Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5919
5920 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5921 and accept older ordering as obsolescent gcc or gdb.
5922 * gdb.c++/templates.exp: Ditto.
5923 * gdb.c++/virtfunc.exp: Ditto.
5924
5925Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5926
5927 * gdb.base/coremaker.c: Add code to mmap some data so we
5928 can check that it ends up in the core file.
5929 * gdb.base/corefile.exp: Add test to read mmapped data
5930 from core file.
5931
dc96c6c7 5932Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5933
5934 * config/m32r.exp: New file.
5935
5936Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5937
5938 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5939 that cflags can contains -gstabs, and work correctly for other tests.
5940
dc96c6c7 5941Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5942
5943 * gdb.base/setshow.exp: New file, tests show and set.
5944 * gdb.base/setshow.c: New file, tests show and set.
5945 * gdb.base/help.exp: Add test for help set|show annotate.
5946 * gdb.base/default.exp: Add test for set|show annotate.
5947
5948Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5949
5950 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5951 errors unique.
5952 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5953 explicitly.
5954
5955Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5956
5957 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5958 and width commands. This is done elsewhere.
5959 * (gdb_start): Don't call gdb_start_sim here. That's already
5960 done in gdb_load. This fixes lots of failures in default.exp.
5961
5962Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5963
5964 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5965 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5966 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5967 in the same we we treat other failures (since it may be an expected
5968 condition), rather than as an error.
5969 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5970 old test format.
5971
5972Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5973
5974 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5975 (distclean maintainer-clean realclean): No need to remove files
5976 twice. Nuke the duplicates.
5977 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5978 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5979 Remove config.h along with other config files.
5980
5981Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5982
5983 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5984 "p func1 ()" and note that rests of tests are skipped.
5985 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5986 setup_xfails for "print func2::coremaker_local".
5987 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5988 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5989 affected by the previous run test.
5990 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5991 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5992 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5993 "pass int powerset tuple" and "pass modeless int powerset tuple".
5994 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5995 "real write 4" and "real write 8".
5996 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5997 setup_xfails for "print vs1 after tuple assign 2",
5998 "print \$i after tuple assign 2", and
5999 "print vs2 after tuple assign 2".
6000 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6001 meaningful error message and return -1 so the caller can
6002 suppress further tests and avoid a cascade of errors.
beb998c6 6003
c906108c
SS
6004Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6005
6006 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6007 format for printing version.
6008 * gdb.base/default.exp: Ditto.
6009 * gdb.base/interrupt.exp: Fix problem with cascade of
6010 errors if child process dies while calling a function.
beb998c6 6011
c906108c
SS
6012Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6013
6014 * Makefile.in (VPATH): Add
6015 * Makefile.in (Makefile, config.status): Fix rules so things get
6016 remade when necessary.
6017
6018Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6019
6020 * Makefile.in (just-check): Add path to sibling expect dir
6021 to environment variable specified by RPATH_ENVVAR.
6022
6023Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6024
6025 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6026 (just-check): Add shared library paths for libstdc++, tk,
6027 tcl, bfd, and opcodes to the environment variable specified
6028 in RPATH_ENVVAR.
6029 * configure.in: Add support to recognize --enable-shared flag
6030 and generate correct value for RPATH_ENVVAR.
6031 * configure: Regenerated with autoconf.
6032
6033Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6034
6035 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6036 include all osf versions.
6037 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6038 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6039 when target is linux. When failing to build pthreads test
6040 executable, give more meaningful message.
6041 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6042 arg for pthread_create.
beb998c6 6043
c906108c
SS
6044Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6045
6046 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6047 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6048 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6049 and -lpthreads (everybody else).
6050 (test_startup): Fail gracefully if threads are not supported.
6051 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6052 "p/c array_index("abcdef",2)" when not gcc compiled.
6053 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6054 "print func2::coremaker_local" when not gcc compiled.
6055 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6056 "ptype on opaque struct tagname (statically)",
6057 "ptype on opaque struct tagname (dynamically) 1", and
6058 "ptype on opaque struct tagname (dynamically) 2"
6059 for not compiled with gcc.
6060 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6061 backtrace when compiled with gcc.
beb998c6 6062 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6063 than always return success.
6064
6065Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6066
6067 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6068
6069Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6070
6071 * gdb.base/structs.exp: Undo last change.
6072
6073Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6074
6075 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6076 encapsulate all the steps/nexts done during self test, starting
6077 at main, and makes them less sensitive to optimization issues.
6078 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6079 signal handler" test.
6080 * gdb.threads/pthreads.exp: Only run this for native configs.
6081 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6082 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6083 tests.
6084 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6085 for "runto test_calls(void)" test.
beb998c6 6086
c906108c
SS
6087Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6088
6089 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6090 and don't expect address info in breakpoint confirmations.
6091
6092Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6093
6094 * gdb.base/list.exp (test_forward_search): Increase timeout
6095 temporarily by 60 seconds for searching extremely long line,
6096 and then reset to old value when done. Increase expect input
6097 buffer to 10000.
6098
6099Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6100
6101 * gdb.base/list.exp (test_forward_search): Fix to handle very
6102 long source line without overflowing expect's input buffer.
6103
6104Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6105
6106 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6107 "buffer_full".
6108
6109 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6110 "buffer_full".
6111
6112 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6113 "buffer_full".
6114
6115 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6116 "buffer_full".
6117
6118Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6119
6120 * configure.in (configdirs): Add gdb.threads.
6121 * configure: Regenerated with autoconf.
6122 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6123 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6124 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6125
c906108c
SS
6126Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6127
6128 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6129
6130Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6131
6132 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6133 each signal's status in the output of "handle all print".
6134 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6135 the \r\n sequence that immediately precedes the gdb prompt.
6136 * gdb.base/a1-selftest.exp: Save original timeout and restore
6137 after test.
6138
6139Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6140
6141 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6142 symbol.
6143
6144Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6145
6146 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6147
6148Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6149
6150 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6151 timeout by 60 seconds.
6152
6153Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6154
6155 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6156 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6157 error return.
6158
6159Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6160
6161 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6162 gdb initialization, also report how long dejagnu waited. Restore
6163 old timeout before doing error return. Temporarily increase timeout
6164 by 3 minutes to allow for slow startups over heavy NFS use.
6165
6166Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6167
6168 * lib/gdb.exp: Report timeout value for verbosity level 2.
6169 * config/gdbserver.exp: Ditto.
6170 * config/hppro.exp: Ditto.
6171 * config/mips-gdb.exp: Ditto.
6172 * config/monitor.exp: Ditto.
6173 * config/netware.exp: Ditto.
6174 * config/sim-gdb.exp: Ditto.
6175 * config/slite-gdb.exp: Ditto.
6176 * config/udi-gdb.exp: Ditto.
6177 * config/unix-gdb.exp: Ditto.
6178 * config/vx-gdb.exp: Ditto.
6179 * gdb.base/a1-selftest.exp: Ditto.
6180 * gdb.base/a2-run.exp: Ditto.
6181 * gdb.base/break.exp: Ditto.
6182 * gdb.base/corefile.exp: Ditto.
6183 * gdb.base/list.exp: Ditto.
6184 * gdb.base/recurse.exp: Ditto.
6185 * gdb.base/scope.exp: Ditto.
6186 * gdb.base/signals.exp: Ditto.
6187
6188Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6189
6190 * gdb.threads/Makefile.in (docdir): Removed.
6191
6192Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6193
6194 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6195 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6196 @srcdir@.
beb998c6 6197 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6198 autoconf 2.5 or higher.
6199 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6200
6201Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6202
6203 * configure: Regenerated.
6204 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6205 avoid name clashes with SunOS headers.
6206
6207Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6208
6209 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6210
6211Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6212
6213 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6214 prototype information ends up in the compiler info file.
6215
6216Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6217
6218 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6219 attempting to regenerate it. Eliminate use of a temporary file
6220 and just generate the info file directly. Source it immediately,
6221 for consistency of use.
6222 * gdb.base/corefile.exp: Ditto
6223 * gdb.base/exprs.exp: Ditto.
6224 * gdb.base/funcargs.exp: Ditto.
6225 * gdb.base/langs.exp: Ditto.
6226 * gdb.base/list.exp: Ditto.
6227 * gdb.base/mips_pro.exp: Ditto.
6228 * gdb.base/nodebug.exp: Ditto.
6229 * gdb.base/opaque.exp: Ditto.
6230 * gdb.base/ptype.exp: Ditto.
6231 * gdb.base/scope.exp: Ditto.
6232 * gdb.base/setvar.exp: Ditto.
6233 * gdb.base/signals.exp: Ditto.
6234 * gdb.base/whatis.exp: Ditto.
6235 * gdb.c++/templates.exp: Ditto.
6236 * gdb.c++/virtfunc.exp: Ditto.
6237 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6238 whether or not to add -lstdc++ to the compile command line args.
6239
6240Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6241
6242 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6243 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6244 Increase timeout, a lot of single stepping might be needed if the
6245 target has no hardware watchpoints.
6246
6247Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6248
6249 * gdb.base/break.exp: Ignore compiler warnings when compiling
6250 break.c.
6251 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6252 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6253 from remote-sim.
6254 * gdb.base/exprs.exp: Add h8300 xfails.
6255 * gdb.base/funcargs.exp: Likewise.
6256 * gdb.base/nodebug.exp: Likewise.
6257 * gdb.base/printcmds.exp: Likewise.
6258 * gdb.base/ptype.exp: Likewise.
6259 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6260 h8300 xfails.
beb998c6 6261 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6262 on the h8300.
6263 * gdb.base/funcargs.c: Explicitly make last constant argument to
6264 call_after_alloca_subr an unsigned long type.
6265 * gdb.base/return.c: Include stdio.h.
6266
6267Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6268
6269 * config/abug.exp: New file for the older Motorola Bug monitor
6270 that runs on the mvme13x series VME boards.
6271 * config/monitor.exp: Use the new config array for target settings
6272 if they exist.
6273
6274Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6275
6276 * sim-gdb.exp: Make the SH simulator allocate less space when
6277 it is targeted.
6278
6279Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6280
6281 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6282 test.
6283
6284Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6285
6286 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6287 "rs6000-*-*" for "list function in include file" when gcc compiled.
6288 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6289 for "p ctable1[120]".
6290 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6291 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6292 Remove setup_xfail for "rs6000-*-*" for
6293 "print 'scope0.c'::filelocal before run".
6294 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6295 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6296 since some compilers don't allow both options to be given
6297 on the same command line. Create object file and move it.
beb998c6 6298
c906108c
SS
6299Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6300
6301 * gdb.base/corefile.exp: Always regenerate the core file, since
6302 we always regenerate the coremaker program. Detect special case
6303 where registers cannot be read from core file.
beb998c6 6304
c906108c
SS
6305Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6306
6307 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6308 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6309 * gdb.c++/templates.exp: Only match on basename of file since
6310 some formats like xcoff don't encode directory information.
6311 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6312 and rs6000 AIX xcoff targets.
6313 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6314 * configure: Regenerate.
6315 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6316 here, rather than in distclean.
beb998c6 6317
c906108c
SS
6318Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6319
6320 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6321 defined, and use it to compile the test case with -O2. The
6322 native compilation still uses no optimization.
6323 * gdb.base/mips_pro.c: Remove inline assembly code since
6324 it is compiled PIC by default, which results in assembler
6325 warnings that make the testsuite think the compilation
6326 was unsuccessful.
6327
6328Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6329
6330 * gdb.c++/misc.exp: Add note to message for
6331 "print s.a for foo struct" that this is a known gcc 2.7.2
6332 and earlier bug.
6333
6334Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6335
6336 * gdb.base/break.exp: Fix pattern for matching "Delete all
6337 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6338 setup_xfail for deleting all breakpoints test. Fix various
6339 timeout messages to include "(timeout)".
6340 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6341 for "p t_float_values2(3.14159,float_val2)".
6342 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6343 for "continue to call2g" when gcc compiled.
6344 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6345 "up to foo in langs.exp", "show language at foo in langs.exp",
6346 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6347 and "show language at fsub in langs.exp".
6348 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6349 "list line 1 in include file", "list message for lines past EOF",
6350 "list function in include file", "list list0.h:foo", and
6351 "list filename:function; nonexistant function".
6352 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6353 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6354 and "ptype t_char_array" to be for native cc only.
beb998c6 6355
c906108c
SS
6356Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6357
beb998c6 6358 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6359 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6360 "print func2::coremaker_local", and "backtrace in corefile.exp".
6361
6362Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6363
6364 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6365 "bt in signals.exp". This problem only appears when running
6366 the testsuite, and then only intermittently.
6367
6368Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6369
6370 * gdb.base/return.exp (return_tests): Differentiate between
6371 two tests of continuing.
6372
6373Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6374
6375 * */Makefile.in (maintainer-clean): Remove config.log.
6376 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6377 * gdb.c++/Makefile.in (PROGS): Add inherit.
6378 (clean): Remove *.ci.
6379
6380Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6381
6382 * gdb.c++/misc.cc: Add test code from Mike Stump.
6383 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6384
6385Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6386
6387 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6388 to "alpha-*-osf2*" and add comment.
6389 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6390 setup_xfail for "step over execarg initialization" and
6391 "step over corearg initialization".
6392 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6393 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6394 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6395 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6396 "print func2::coremaker_local", and "backtrace in corefile.exp".
6397 * gdb.base/signals.exp: Build and source signals.ci.
6398 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6399 to be for gcc only.
6400 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6401
c906108c
SS
6402Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6403
6404 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6405 Feb 3 procfs.c change.
6406
6407Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6408
6409 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6410
6411Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6412
6413 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6414 from dejagnu's apparent default of 10 seconds, which gives random
6415 results when running the tests over NFS on moderately loaded systems.
6416 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6417
6418Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6419
6420 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6421 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6422 result reports.
6423
6424Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6425
6426 * configure.in (CY_AC_PATH_TCLH): Remove.
6427 * configure: Regenerate.
6428
6429Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6430
6431 * gdb.c++/Makefile.in (clean): Add missing '{'.
6432
6433Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6434
6435 * lib/gdb.exp: Provide a default value for noinferior.
6436
6437 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6438 Load libgloss.exp.
6439
6440Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6441
6442 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6443 the executable, not the .o to run the tests from.
6444
6445Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6446
6447 * gdb.base/break.exp: Don't test for program exit or exit status
6448 if $noresults if nonzero.
6449 * gdb.base/langs.exp: Likewise.
6450 * gdb.base/watchpoint.exp: Likewise.
6451
6452 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6453 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6454 trying to compile the testcase.
6455
6456Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6457
6458 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6459 * gdb.base/signals.exp (continue to handler): Likewise.
6460
6461Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6462
6463 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6464
6465 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6466
6467Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6468
6469 * gdb.base/corefile.exp: Recognize "not found" as failure
6470 when trying to determine if a core file was generated.
6471 If no core file was generate the first time, try again without
6472 the ulimit -c to work around braindamaged shells.
6473
6474Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6475
6476 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6477 [] tests with "test" and enclose string in quotes.
6478 * gdb.stabs/configure: Rebuild
beb998c6 6479
c906108c
SS
6480Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6481
6482 Changes in sync with expect:
6483 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6484 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6485 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6486 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6487 argument to AC_REQUIRE.
6488 * configure: Regenerated.
6489
6490Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6491
6492 * gdb.base/corefile.exp: When generating a core, discard any
6493 error messages about ulimit not found and the "core dumped"
6494 message from the shell that runs the coredumper.
6495
6496Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6497
6498 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6499
6500 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6501 which sed script to run. Expect failure for v_comb test
6502 on PA targets too.
beb998c6 6503
c906108c
SS
6504Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6505
6506 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6507 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6508
6509Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6510
6511 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6512 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6513 "sparc-sun-solaris*" xfails for "p v_comb".
6514 * lib/gdb.exp (default_gdb_start): Fix typo.
6515 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6516 messages to not include the full program name that caused
6517 the core dump since some systems (such as solaris) apparently
6518 truncate this path to about 80 characters.
6519 When generating a core file first try increasing the core file
6520 size limit to unlimited since some systems may default it to
6521 zero, and it is harmless to try it. Move the test for failing
6522 to generate a core file to where it will actually get executed.
6523 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6524 new gdb result from g++ debug info improvements and make old
6525 pattern obsolescent. Also account for size_t differences
6526 (may be int or long).
6527 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6528 initialization before function call is placed in the delay slot
6529 and thus appears to be skipped over by commands such as "next".
6530
6531Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6532
6533 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6534
6535Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6536
6537 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6538 input source file; fix code to compile test to deal with this
6539 convention.
6540 * gdb.c++/*.exp: Likewise.
6541
6542Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6543
6544 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6545 "bt in signals.exp".
6546
6547Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6548
6549 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6550 "step over execarg initialization" and
6551 "step over corearg initialization".
6552
6553Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6554
6555 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6556 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6557
6558Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6559
6560 From Rob Savoye (rob@poseidon.cygnus.com)
6561 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6562 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6563 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6564 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6565 configure.in}: Major reworking for autoconfig.
6566 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6567 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6568 New files.
6569 * config/unix-gdb.exp: Make GDB global.
6570 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6571 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6572 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6573 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6574 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6575 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6576 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6577 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6578 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6579 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6580 pr-8136.exp, result.exp, string.exp, tuples.exp},
6581 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6582 to returns as necessary, arrange for test to compile own testcase
6583 executable.
6584 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6585
c906108c
SS
6586Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6587
6588 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6589 clear_xfail at end of test which might not call either pass or fail.
6590 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6591 "backtrace through signal handler".
6592
6593Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6594
6595 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6596 continuing from a job control stop signal.
6597 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6598
6599Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6600
6601 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6602 * gdb.base/corefile.exp: Likewise.
6603 * gdb.base/funcargs.exp: Likewise.
6604
6605Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6606
6607 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6608 * config/monitor.exp: Add support for setting baud rate.
6609
6610Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6611
6612 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6613 i*86-*-linux* xfails for "backtrace through signal handler".
6614 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6615 "print func2::coremaker_local".
6616 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6617 alpha-dec-osf2* xfail for
6618 "delete all breakpoints when none".
6619
6620Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6621
6622 * gdb.base/break.exp: Change test that deletes all breakpoints
6623 when no user breakpoints are installed. A post 4.15 change
6624 causes gdb to no longer prompt in this case.
6625
6626Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6627
6628 * gdb.base/return.exp (return_tests): Change xfail for test
6629 "correct value returned double test" to stop xfailing at
6630 Solaris 2.5. Apparently the bug has been fixed.
6631
6632Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6633
6634 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6635 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6636
6637Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6638
6639 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6640 * gdb.disasm/hppa.s: Corresponding changes.
6641
6642Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6643
6644 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6645 makefile fragment.
6646 * config/mt-hpux: Deleted.
6647
6648Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6649
beb998c6 6650 * Many files: When warning about suppressed tests due to a
c906108c
SS
6651 nonexistant test binary, avoid incrementing the warning count.
6652
6653Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6654
6655 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6656
c906108c
SS
6657Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6658
6659 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6660 "sparc-*-solaris2*".
6661
6662Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6663
6664 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6665 Add global and local variables and initialize them.
6666 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6667 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6668 extracts the file name and terminating signal from the core file.
6669 * TODO: Remove note about tests for correct mapping of corefile.
6670 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6671 from optimizing it away.
6672 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6673 handles common blocks.
6674
6675Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6676
6677 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6678 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6679
6680Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6681
6682 * Makefile.in (maintainer-clean): New target, synonym for
6683 realclean.
6684 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6685 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6686 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6687 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6688 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6689 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6690
6691Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6692
6693 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6694 xfails when not gcc compiled for "print foo::funclocal".
6695 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6696 "print foo::funclocal at foo",
6697 "print 'scope1.c'::foo::funclocal at foo",
6698 "print foo::funclocal_bss at foo",
6699 "print 'scope1.c'::foo::funclocal_bss at foo",
6700 "print foo::funclocal_ro at foo",
6701 "print 'scope1.c'::foo::funclocal_ro at foo",
6702 "print bar::funclocal at foo" and
6703 "print 'scope1.c'::bar::funclocal at foo".
6704 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6705 gcc compiled for "print foo::funclocal at bar".
6706 Expand all messages to ensure that they identify that
6707 the test is at bar().
6708 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6709 gcc compiled for:
6710 "ptype on opaque struct pointer (statically)",
6711 "ptype on opaque struct tagname (statically)",
6712 "ptype on opaque struct pointer (dynamically) 1",
6713 "ptype on opaque struct tagname (dynamically) 1",
6714 "ptype on opaque struct pointer (dynamically) 2" and
6715 "ptype on opaque struct tagname (dynamically) 2
6716 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6717 gcc compiled for:
6718 "p datalocal"
6719 "whatis datalocal",
6720 "ptype datalocal",
6721 "p bsslocal",
6722 "whatis bsslocal", and
6723 "ptype bsslocal".
6724 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6725 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6726 when not gcc compiled.
6727 * gdb.base/funcargs.exp (float_and_integral_args): Add
6728 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6729 compiled.
6730 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6731 "backtrace from call6a" when not gcc compiled.
6732 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6733 "backtrace from call7a" when not gcc compiled.
6734 * gdb.base/callfuncs.exp (do_function_calls):
6735 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6736 "p t_char_array_values(char_array_val2,char_array_val1)",
6737 "p t_char_array_values(char_array_val1,char_array_val2)",
6738 "p t_char_array_values("carray 1","carray 2")",
6739 "p t_char_array_values("carray 1",char_array_val2)",
6740 "p t_char_array_values(char_array_val1,"carray 2")",
6741 "p sum_args(1,{2})",
6742 "p sum_args(2,{2,3})",
6743 "p sum_args(3,{2,3,4})",
6744 "p sum_args(4,{2,3,4,5})"
6745 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6746 "backtrace in corefile.exp" when not gcc compiled.
6747
6748Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6749
6750 * gdb.base/signals.exp: Rewrite `handle all print' test as
6751 a procedure. Accept blanks or TABs as whitespace, increase
6752 timeout and expect input buffer size for the large output
6753 from the command. Remove "i*86-*-bsdi2.0" xfail.
6754
6755Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6756
6757 * gdb.base/setvar.exp: Add new testcases for truncation when
6758 assigning invalid values to bitfields.
6759
6760Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6761
beb998c6 6762 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6763 mips-sgi-irix* xfail for
6764 "call inferior func with struct - returns char *"
6765 and fix test so that an optional (unsigned char *) cast is
6766 accepted in the result.
6767
6768Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6769
6770 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6771 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6772 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6773 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6774 that accidentally got checked in.
6775
6776Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6777
beb998c6 6778 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6779 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6780 compiled test.
6781 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6782 Add mips-sgi-irix5* xfail for not gcc compiled.
6783 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6784 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6785 "p top", "whatis top", "p middle", and "whatis middle".
6786 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6787 "whatis signed char" for not gcc compiled.
6788 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6789 "set variable signed char=-1 (-1)" and
6790 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6791 * gdb.base/funcargs.exp (float_and_integral_args):
6792 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6793 Add mips-sgi-irix* xfail when not gcc compiled for
6794 "continue to call2b".
6795 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6796 "continue to call2g".
6797 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6798 "backtrace from call6a"
6799 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6800 "backtrace from call7k".
6801 Add mips-sgi-irix5* xfail when not gcc compiled for
6802 "backtrace from call7a".
6803 (localvars_after_alloca): Fix gdb_test cmds for
6804 "print * after runto ...".
6805 Remove rs6000-*-* xfails for
6806 "print i after runto localvars_after_alloca" and
6807 "print l after runto localvars_after_alloca"
6808 for all compilers.
6809 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6810 when not compiled with gcc, for:
6811 "print signed char == (minus)",
6812 "print signed char != (minus)",
6813 "print signed char < (minus)",
6814 "print signed char > (minus)".
6815 * gdb.base/callfuncs.exp (do_function_calls):
6816 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6817 "call inferior func with struct - returns char *".
beb998c6 6818 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6819 "correct value returned double test" to include Solaris 2.4.
6820 * gdb.base/funcargs.exp (float_and_integral_args):
6821 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6822
c906108c
SS
6823Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6824
6825 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6826 enumeration bitfields if compiling with GNU C.
6827 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6828 to empty' prompt.
6829
6830Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6831
6832 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6833 test for PRO targets.
6834
6835 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6836 breakpoints in the inferior at any given time by making
6837 two groups of breakpoints for call2*, call6* and call7*
6838 tests.
6839
6840Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6841
6842 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6843 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6844 from optimizing it away.
6845 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6846 "call inferior func with struct".
6847
6848Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6849
6850 * configure.in: Only configure gdb.chill for particular targets.
6851
6852Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6853
6854 * gdb.base/Makefile.in: Add action to .c.o transformation
6855 rule that generates a .ci file for each .o file and remove
6856 explicit .c.o rules except for callfuncs.o.
6857 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6858 generates a .ci file for each .o file and remove explicit
6859 .cc.o rules.
6860 (clean): Remove *.tmp *.ci files.
6861 (EXECUTABLES): Remove templ-info.exp.
6862 * gdb.base/compiler.c: New file.
6863 * gdb.c++/compiler.cc: New file
6864 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6865 Change rs6000-*-* xfail for
6866 "print 'scope0.c'::filelocal_ro" and
6867 "print 'scope1.c'::filelocal" and
6868 "print 'scope1.c'::filelocal_bss" and
6869 "print 'scope1.c'::filelocal_ro" and
6870 "print 'scope1.c'::foo::funclocal" and
6871 "print 'scope1.c'::foo::funclocal_ro" and
6872 "print 'scope1.c'::bar::funclocal" and
6873 "print 'scope0.c'::filelocal_ro" and
6874 "print 'scope1.c'::filelocal at foo" and
6875 "print 'scope1.c'::filelocal_bss at foo" and
6876 "print 'scope1.c'::filelocal_ro at foo" and
6877 "print 'scope1.c'::foo::funclocal at foo" and
6878 "print 'scope1.c'::foo::funclocal_bss at foo" and
6879 "print 'scope1.c'::foo::funclocal_ro at foo" and
6880 "print 'scope1.c'::bar::funclocal at foo" and
6881 "print 'scope0.c'::filelocal_ro" and
6882 "print 'scope1.c'::filelocal" and
6883 "print 'scope1.c'::filelocal_bss" and
6884 "print 'scope1.c'::filelocal_ro" and
6885 "print 'scope1.c'::foo::funclocal" and
6886 "print 'scope1.c'::foo::funclocal_bss" and
6887 "print 'scope1.c'::foo::funclocal_ro" and
6888 "print 'scope1.c'::bar::funclocal" and
6889 "print 'scope1.c'::bar::funclocal_bss"
6890 to only be xfail'd when not compiled with gcc.
beb998c6 6891 Add rs6000-*-* xfail for
c906108c
SS
6892 "print 'scope0.c'::filelocal_bss before run"
6893 when compiled with gcc.
6894 (test_at_main): Add rs6000-*-* xfail for
6895 "print filelocal_ro in test_at_main"
6896 when compiled with gcc.
6897 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6898 Add rs6000-*-aix* xfail for
c906108c
SS
6899 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6900 "ptype t_char_array", not compiled with gcc.
6901 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6902 xfail for "list foo (in include file)" when gcc compiled.
6903 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6904 (integral_args): Add rs6000-*-* xfail for
6905 "run to call0a" if not compiled with gcc.
6906 (unsigned_integral_args): Add rs6000-*-* xfail for
6907 "run to call1a" if not compiled with gcc.
6908 (float_and_integral_args): Add rs6000-*-* xfail for
6909 "run to call2a" if not compiled with gcc and for
6910 "continue to call2b" for any compiler.
6911 Add rs6000-*-* xfail to
6912 "print f1 after run to call2a" for gcc compiled.
6913 (discard_and_shuffle): Add rs6000-*-* xfail for
6914 "run to call6a".
6915 (shuffle_round_robin): Add rs6000-*-* xfail for
6916 "backtrace from call7a" if not compiled with gcc.
6917 Add rs6000-*-* xfail for
6918 "backtrace from call7b" if compiled with gcc.
6919 (call_after_alloca): Add rs6000-*-* xfail for
6920 "print c in call_after_alloca" and
6921 "print s in call_after_alloca" and
6922 "backtrace from call_after_alloca_subr"
6923 if not compiled with gcc.
6924 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6925 "print c in localvars_in_indirect_call" and
6926 "print c in localvars_in_indirect_call" and
6927 "backtrace in indirectly called function" and
6928 "stepping into indirectly called function"
6929 if not compiled with gcc.
6930 (localvars_after_alloca): Add rs6000-*-* xfail for
6931 "print c after runto localvars_after_alloca" and
6932 "print s after runto localvars_after_alloca" and
6933 "print i after runto localvars_after_alloca" and
6934 "print l after runto localvars_after_alloca"
6935 for all compilers.
6936 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6937 than whatis-info.exp.
6938 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6939 than opaque-info.exp.
6940 Setup rs6000-*-* xfail for
beb998c6 6941 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6942 "ptype on opaque struct pointer (dynamically)" when
6943 not compiled with gcc.
6944 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6945 rather than callf-info.exp.
6946 (do_function_calls): Add clear_xfail for rs6000-*-* for
6947 "p t_float_values2(3.14159,float_val2)". Seems to work
6948 fine there, both with xlc and gcc. Need to find out what
6949 it is doing right and fix other platforms.
6950 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6951 "call inferior func with struct - returns int",
6952 "call inferior func with struct - returns long",
6953 "call inferior func with struct - returns float",
6954 "call inferior func with struct - returns double",
6955 "call inferior func with struct - returns char *",
6956 but only if not gcc compiled (presumes xlc compiled).
6957 Change rs6000-*-* xfails for
6958 "call inferior func with struct - returns char" and
6959 " call inferior func with struct - returns short" to only
6960 xfail if not using gcc.
6961 (clean mostlyclean): Remove *.ci and *.tmp files.
6962 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6963 than templ-info.exp.
6964 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6965 Add rs6000-*-* xfail for "up to foo in langs.exp"
6966 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6967 when not gcc compiled.
beb998c6 6968
c906108c
SS
6969Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6970
6971 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6972 * gdb.base/corefile.exp: Likewise.
6973 * gdb.base/list.exp: Likewise.
6974 * gdb.base/scope.exp: Likewise.
6975 * gdb.base/siganls.exp: Likewise.
6976
6977 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6978 compiler output.
6979 * gdb.base/whatis.exp: Likewise.
6980
6981Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6982
6983 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6984 failure (opcode table has been fixed to match reality).
6985
6986Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6987
6988 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6989 "call inferior func with struct - returns char",
6990 "call inferior func with struct - returns short"
6991
6992 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6993 "print 'scope0.c'::filelocal at main",
6994 "print 'scope0.c'::filelocal_bss in test_at_main",
6995 "print 'scope0.c'::filelocal at foo",
6996 "print 'scope0.c'::filelocal_bss in test_at_foo",
6997 "print 'scope0.c'::filelocal at bar",
6998 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6999
c906108c
SS
7000 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7001 in source file 1". This bug seems to have been fixed with both
7002 gcc and native cc (was native assembler bug?).
7003
7004Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7005
7006 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7007 "backtrace through signal handler" to "i*86-*-sysv4*".
7008 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7009 continue" case. Add "known SVR4 bug" to fail message.
7010 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7011 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7012 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7013 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7014 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7015 "up to foo in langs.exp", "show language at foo in
7016 langs.exp", "up to cppsub_ in langs.exp", "show
7017 language at cppsub_ in langs.exp", "up to fsub in
7018 langs.exp", and "show language at fsub in langs.exp".
7019 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7020 "bactrace in corefile.exp".
7021 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7022 "call inferior function with struct - returns float" and
7023 "call inferior function with struct - returns double".
beb998c6 7024
c906108c
SS
7025Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7026
7027 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7028 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7029 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7030 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7031
7032Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7033
7034 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7035 (or overriden) "CHILL" macro rather then bare "gcc".
7036 Also look for ../../gcc/xgcc since that is what we will
7037 actually need, not "Makefile". Remove following assignment
7038 of CHILL to CHILL_FOR_TARGET because that results in
7039 recursive definition.
7040
7041Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7042
7043 * gdb.base/corefile.exp: Change xfail for backtrace in
7044 corefile.exp from linuxaout to all linux.
7045 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7046 cases where we miss the breakpoint at the signal handler
7047 for some reason. Setup xfail for linuxoldld/linuxaout and
7048 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7049 hitting SIGURG breakpoint.
7050 * gdb.base/signals.exp: Setup xfail for "next" acting like
7051 continue to add linuxoldld. Setup xfail for all linux for
7052 "next to handler in signals_tests_1", "backtrace in
7053 signals_tests_1", "continue to func1", "pass SIGUSR1",
7054 and continue to handler".
7055
7056Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7057
7058 * Update all FSF addresses except those in COPYING* files.
7059
7060Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7061
7062 * gdb.base/a2-run.exp: Change messages to be more explicit about
7063 the status of args, and quote binfile in results.
7064
7065Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7066
7067 * gdb.base/callfuncs.exp: Add tests for passing structs to
7068 inferior functions and return various types.
7069 * gdb.base/callfuncs.c: Add functions to receive a struct
7070 and return a member of the struct, in various types.
7071
7072Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7073
7074 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7075
7076Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7077
7078 * config/vxworks29k.exp: New file, sources vxworks.exp.
7079
7080Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7081
7082 * config/gdbremote.exp: New file. Testing framework using
7083 gdbserver.
7084
7085Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7086
7087 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7088 "call function when asleep" and "send end of file".
7089 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7090 for "backtrace in corefile.exp".
7091 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7092 for "backtrace through signal handler".
7093 * gdb.base/corefile.exp: Make sure we actually generate a core file
7094 before trying the core tests. Some systems allow the user to suppress
7095 generation of core files and default to that (linux for example).
7096 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7097 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7098
7099Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7100
7101 * gdb.threads: New directory with some crude multi-threaded
7102 gdb tests (step.exp and step2.exp).
7103 * config/mt-lynx (STEP_EXECUTABLE): Define.
7104 (THREADFLAGS): Define.
7105
7106Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7107
7108 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7109
7110 * gdb.base/signals.exp: Disable whole file for lynx until
7111 further notice.
7112
7113 * gdb.base/signals.exp: xfail test where "next" acts like
7114 "continue" for lynx.
7115
7116 * gdb.base/interrupt.exp: xfail test for calling function while
7117 inferior is asleep for lynx.
7118
7119 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7120 than one cr-lf after each command.
7121
7122Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7123
7124 * configure.in: Reinstate setting of stabsdirs variable, fix
7125 typo in setting up configdirs for native builds.
7126
7127 * gdb.base/return.exp: Fix typo in return double test.
7128 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7129 compiler from optimizing them away.
7130
7131Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7132
7133 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7134 sequences to be echo'd by gdb when using gdb_test.
7135 * gdb.chill/chexp.exp: Likewise.
7136 * gdb.fortran/exprs.exp: Likewise
7137
7138Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7139
7140 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7141 after the inferior gdb has started.
7142
7143 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7144 after each command.
7145 * gdb.base/funcargs.exp: Likewise.
7146 * gdb.base/gdbvars.exp: Likewise.
7147 * gdb.base/interrupt.exp: Likewise.
7148 * gdb.base/list.exp: Likewise.
7149 * gdb.base/watchpoint.exp: Likewise.
7150 * gdb.c++/demangle.exp: Likewise.
7151 * gdb.c++/inherit.exp: Likewise.
7152 * gdb.chill/chexp.exp: Likewise.
7153 * gdb.fortran/exprs.exp: Likewise.
7154
7155 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7156 test if we can't handle IO to/from the inferior.
7157
7158 * gdb.c++/misc.exp: Always check for a program already being
7159 started after sending a "run" command to gdb.
7160
7161 * gdb.base/twice.exp: Start with a fresh gdb.
7162
7163 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7164 only depend on gdb's expression code, not the chill runtime.
7165
7166 * gdb.base/return.c: Put return values into variables so we
7167 can have gdb print them rather than depending on the program
7168 to print them.
7169 * gdb.base/return.exp: Corresponding changes.
7170
7171 * lib/gdb.exp: Provide default value for noinferiorio.
7172 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7173 the inferior.
7174
7175 * gdb.base/break.exp: Always check for a program already being
7176 started after sending a "run" command to gdb.
7177 (text_next_with_recursion): Don't check the output from the
7178 program's printf statement. Instead just make sure the program
7179 exited.
7180
7181 * gdb.base/commands.exp: Protect tests which need arguments with
7182 $noargs conditionals.
7183
7184Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7185
7186 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7187 of structure member arrays to match gdb/valops.c:value_addr change.
7188
7189Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7190
7191 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7192 cases.
7193
7194Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7195
7196 * configure.in (configdirs): Remove gdb.chill from default list
7197 of subdirs and then add it back in only if doing a native build.
7198 The current chill compiler does not yet work in any cross build.
7199 * Revert all signal changes from Jul 6.
7200 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7201 for sh-hms targets, allowing these tests to link, with no other
7202 changes. Testing is suppressed by setting "nosignals" in site.exp.
7203
7204Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7205
7206 * configure.in (signaldirs): Define and add to configdirs for all
7207 targets except some specific ones that are known to not support signals.
7208 Also clean up formatting.
7209 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7210 (signals, sigall): Remove rules to build.
7211 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7212 Moved to new gdb.signals directory.
7213 * gdb.signals: New test directory.
7214 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7215 signals.c signals.exp}: New or moved files.
7216
7217Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7218
7219 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7220
7221Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7222
7223 * gdb.base/return.exp: Xfail `return double' test failure
7224 on at least Solaris 2.3 and handle future/past versions on
7225 a case by case basis as appropriate. Also update message
7226 to include i*86 failures.
7227
7228Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7229
7230 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7231
7232 * lib/gdb.exp: Fix comment which erroneously identified
7233 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7234 gdb_file_cmd not gdb_load).
7235 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7236
7237 * gdb.base/setvar.exp: Make test names consistent between pass and
7238 fail cases. Use gdb_test more.
7239
7240Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7241
7242 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7243
7244Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7245
7246 * gdb.base/help.exp: Fix expected help string for `show commands'.
7247
7248Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7249
7250 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7251
7252 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7253 of a text section.
7254
7255Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7256
7257 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7258 that loop eventually terminates. Fix Connection refused logic so
7259 that testsuite will expire nicely.
7260
7261Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7262
7263 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7264 config/rom68k.exp: New tcl glue for the appropriate monitors.
7265 These all just end up calling monitor.exp.
7266 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7267 refused' by retrying. Cleanup some timeout issues.
7268 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7269 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7270 callers don't have to set/restore global timeout variable.
7271
7272 * The following set of changes centralizes management of the global
7273 timeout variable. This way, it can be set in one target dependent
7274 place instead of dozens of places scattered throughout the test suite.
7275 If you need to lengthen a timeout, then you should either set timeout
7276 in one of the config/{target}.exp files, or multiply it by a factor.
7277 Setting it to an absolute value is always going to lose for some
7278 targets.
7279 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7280 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7281 * gdb.base/funcargs.exp: Don't set timeout.
7282 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7283 * gdb.base/printcmds.exp (test_print_string_constants
7284 test_print_array_constants): Don't set timeout.
7285 * gdb.base/ptype.exp: Don't set timeout.
7286 * gdb.base/recurse.exp: Don't set timeout.
7287 * gdb.base/return.exp: Don't set timeout.
7288 * gdb.base/watchpoint.exp: Don't set timeout.
7289 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7290 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7291
7292Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7293
7294 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7295
7296Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7297
7298 * lib/gdb.exp: Disable chill tests for irix5.
7299
7300Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7301
7302 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7303 each test pass or fail.
7304
7305Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7306
7307 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7308 xlc not gcc.
7309
7310Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7311
7312 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7313
7314Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7315
7316 * config/est.exp: Fix copyright and comments. Remove dead code.
7317 Use targetname, serialport and baud variables instead of fixed
7318 constants.
7319 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7320 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7321
7322Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7323
7324 * gdb.base/watchpoint.exp: Don't run
7325 test_watchpoint_triggered_in_syscall for sunos.
7326
7327Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7328
7329 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7330 they don't seem to exist. Do include stdio.h.
7331
7332Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7333
7334 * gdb.base/a1-selftest.exp: Add alpha xfail.
7335
7336Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7337
7338 * gdb.base/watchpoint.c (main): Prompt before calling read().
7339 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7340 Revise accordingly. Remove cruft about sending "123" several
7341 times, until it gets noticed. Clean up the "print buf[0]" stuff
7342 so that it passes or fails, and waits for prompts in the usual way.
7343
7344Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7345
7346 * gdb.base/recurse.exp: Fix comment.
7347
7348 * TODO: Remove item about printing variables in nodebug.exp. Add
7349 item about enabling tests which are only run on some targets.
7350
7351 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7352 fail, make test names unique, use new gdb_test convention
7353 regarding pattern, use gdb_test more, etc.).
7354
7355 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7356 fail, make test names unique, etc.).
7357
7358Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7359
7360 * gdb.base/nodebug.c: Change return type of top and middle to
7361 short.
7362 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7363 are fixed by the recent mdebugread.c changes. Allow `short ()'
7364 as type for top and middle.
7365
7366Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7367
7368 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7369 nearly as I can tell, the whole thing was an accident in Stu's
7370 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7371 to replace a send/expect pair with gdb_test, but ended up only
7372 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7373 of 30 Mar 1995 took care of it, but left this vestigial comment
7374 which I am now nuking.
7375
7376Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7377
7378 * gdb.base/break.exp: Look for different line number for
7379 breakpoint at main depending on usestubs.
7380
7381Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7382
7383 * gdb.base/list.exp: Adjust some alternate expect patterns to
7384 match recent list0.c change. Add alternate expect pattern for
7385 output from `list default lines around main' for optimizing
7386 compilers.
7387
7388Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7389
7390 * lib/gdb.exp: If nosignals is not set, set it to 0.
7391
7392Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7393
7394 * config/slite-gdb.exp: Responds to load symbol table prompt.
7395 * gdb.base/break.exp: Adjust line number, fix rerun.
7396 * gdb.base/langs0.c: Add #ifdef usestubs.
7397
7398Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7399
7400 * gdb.base/list.exp: Adjust line contents after adding new lines in
7401 list0.c. Also fix a syntax error.
7402
7403 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7404 * gdb.base/break.exp: ditto.
7405 * gdb.base/list.exp: ditto.
7406 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7407 * gdb.base/run.c: ditto.
7408 * gdb.base/list0.c: ditto.
7409 * gdb.base/funcargs.c: ditto.
7410
7411Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7412
7413 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7414 $targetname, $serialport and $baud instead of hardwired variables.
7415 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7416 target doesn't support signals.
7417
7418Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7419
7420 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7421
7422Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7423
7424 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7425 Don't rely on the value of an auto variable before it has been
7426 initialized. Use gdb_test more.
7427
7428Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7429
7430 * lib/gdb.exp (default_gdb_version): A version number must start
7431 with a digit, but other than that contains all characters up to
7432 the first whitespace character.
7433
7434Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7435
7436 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7437
7438Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7439
7440 * gdb.c++/*.exp: Warn if executable does not exist. The original
7441 reason for skipping the warning was that configure.in sometimes
7442 intentionally skipped building the executables but the tcl code
7443 had no way of knowing. That (a) was always bogus with respect to
7444 error handling, (b) is no longer true (right now there is no way
7445 to skip C++ tests).
7446
7447 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7448
7449Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7450
7451 * gdb.base/list.exp: Add expect patterns for output from
7452 SunPRO compiled executables.
7453 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7454 types.
7455
7456Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7457
7458 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7459 number (we are already testing that the correct source line text
7460 gets printed).
7461
7462 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7463 that is what is intended, but something needed to be done to get
7464 sunos4 native working again.
7465
7466 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7467
7468 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7469 apparently went with a (very) old xfail.
7470
7471Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7472
7473 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7474 runto_main is a proc in gdb.exp that will do 'step' for target use
7475 stubs.
7476 * gdb.base/exprs.exp: ditto.
7477 * gdb.base/interrupt.exp: ditto.
7478 * gdb.base/opaque.exp: ditto.
7479 * gdb.base/printcmds.exp: ditto.
7480 * gdb.base/ptype.exp: ditto.
7481 * gdb.base/scope.exp: ditto.
7482 * gdb.base/setvar.exp: ditto.
7483 * gdb.base/signals.exp: ditto.
7484 * gdb.base/twice.exp: ditto.
7485 * gdb.c++/classes.exp: ditto.
7486 * gdb.c++/inherit.exp: ditto.
7487 * gdb.c++/templates.exp: ditto.
7488 * gdb.base/break.exp: no run and hit main for stubs. Change line
7489 numbers for breakpoints and info breakpoint.
7490 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7491 breakpoint().
7492 * gdb.base/callfuncs.c: ditto.
7493 * gdb.base/exprs: ditto.
7494 * gdb.base/interrupt.c: ditto.
7495 * gdb.base/opaque0.c: ditto.
7496 * gdb.base/printcmds.c: ditto.
7497 * gdb.base/ptype.c: ditto.
7498 * gdb.base/scope0.c: ditto.
7499 * gdb.base/setvar.c: ditto.
7500 * gdb.base/signals.c: ditto.
7501 * gdb.base/twice.c: ditto.
7502 * gdb.c++/misc.cc: ditto.
7503 * gdb.c++/templates.cc: ditto.
7504
7505Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7506
7507 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7508
7509 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7510 somewhere between `read' and `main.c'. I'm pretty sure the
7511 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7512 and it isn't particularly useful.
7513
7514 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7515
7516Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7517
7518 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7519
7520Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7521
7522 * config/mt-slite: add LIBS and -nostdlib.
7523 * config/slite-gdb.exp: add this new file to support sparclite target.
7524
7525Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7526
7527 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7528
7529 * gdb.base/a2-run.exp: Change argument to istarget from
7530 "*-*-vxworks" to "*-*-vxworks*".
7531 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7532
7533Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7534
7535 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7536 will not runto main but do a 'step' to step out of breakpoint().
7537 * config/mt-slite: add -Dusestubs.
7538
7539Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7540
7541 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7542 instead of just @.
7543
7544 * gdb.base/signals.exp: Add test for "handle all print".
7545 * TODO: Remove "handle all print". Also remove item about
7546 checking copyright date (I don't like the idea of a spurious FAIL
7547 based on when we run the tests).
7548
7549 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7550 for SunOS4 (reason for failure not investigated). Remove
7551 redundant test for $binfile.
7552
7553 * gdb.base/nodebug.c (array_index): Call malloc.
7554
7555 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7556
7557Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7558
7559 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7560 conventions and slightly simplify the matching regexp.
7561
7562Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7563
7564 * gdb.base/break.exp: Update gdb_test invocation to use new
7565 convention.
7566
7567 * lib/gdb.exp: If noargs is not set, set it to 0.
7568
7569 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7570 tests unique.
7571
7572 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7573
7574Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7575
7576 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7577 one argument of type "<non-float parameter>".
7578
7579Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7580
7581 * config/rom68k.exp: New file to support Motorola IDP board.
7582 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7583 * gdb.base/break.c: Change things around so that this program
7584 doesn't depend upon args. This is necessary to make remote
7585 targets work (in general, they can't take args).
7586 * gdb.base/break.exp: Don't try to send args to program. Don't
7587 expect output. Also, replace lots of code with gdb_test.
7588
7589Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7590
7591 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7592 printing of '\'' (which is what the comment says we are testing,
7593 even though we were not), not '''.
7594 (test_integer_literals_rejected): Test that printing ''' is an error.
7595
7596 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7597 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7598 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7599 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7600 Use gdb_test not test_print_accept.
7601 * lib/gdb.exp: Remove test_print_accept.
7602
7603 * gdb.base/signals.exp (signal_tests_1): Make pass message
7604 consistent with fail message.
7605
7606 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7607 unsigned char; the bug (PR 1821) is fixed.
7608
7609 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7610
7611 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7612 successful tests--makes xfailing them work right.
7613
7614Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7615
7616 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7617 only \r\n, not .*. The test can pass .* as the last thing in
7618 $pattern if that is what it wants. In addition to providing this
7619 flexibility, this change should speed up pattern matching in cases
7620 where the pattern already ended with .* (there were a number of
7621 them). This change also helps catch bad patterns--in the old
7622 scheme the typo "char \*" instead of "char \\*" would pass. Now
7623 it is caught.
7624 * Many .exp files: Update callers.
7625
7626 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7627 clearer and does not spuriously match multiple ('s. Likewise for
7628 ) and *.
7629
7630 * gdb.base/nodebug.exp: Test ability to call a function and pass
7631 it a string (even with no debugging info).
7632
7633 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7634 "p '\'", which is the same as "p ''" once tcl gets done with
7635 quoting, to "p '\\'", which I suspect is what is intended (one
7636 backslash gets sent to GDB).
7637
7638 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7639
7640Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7641
7642 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7643 1817) was fixed literally years ago.
7644
7645Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7646
7647 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7648 test, it causes stepping out of call_after_alloca_subr with
7649 optimizing compilers.
7650 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7651 fails.
7652
7653 * gdb.c++/templates.exp: Source templ-info.exp only if
7654 the templates executable exists.
7655
7656 * gdb.c++/misc.cc (class Contains_static_instance,
7657 class Contains_nested_static_instance),
7658 gdb.c++/classes.exp (test_static_members): Test printing of
7659 a class that contains a static instance of the class.
7660
7661Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7662
7663 * gdb.base/langs2.c (cppsub_): Don't prototype.
7664 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7665 only, I believe).
7666
7667Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7668
7669 * lib/gdb.exp (skip_chill_tests): New procedure.
7670
7671 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7672
7673Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7674
7675 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7676 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7677
7678Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7679
7680 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7681
7682 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7683 disassemble 8, not 16, instructions for part 4.
7684
7685 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7686 support the latter anymore.
7687
7688 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7689 -DNO_PROTOTYPES.
7690 * gdb.base/callfuncs.c: Control use of prototypes based on
7691 NO_PROTOTYPES, not __STDC__.
7692 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7693 t_float_values2 tests if prototypes in use.
7694
7695 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7696 t_double_values): When checking differences against DELTA, check
7697 that difference is within the range (-DELTA,DELTA), not just
7698 (-infinity,DELTA).
7699
7700Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7701
7702 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7703 'file' command firts, then 'target', then 'load', this is due to gdb
7704 target set up.
7705 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7706
7707Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7708
7709 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7710 FP load/store variants.
7711 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7712
7713Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7714
7715 * gdb.base/term.exp: Do not give a warning if not native, it is
7716 not an abnormal condition.
7717
7718Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7719
7720 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7721 t_char_array".
7722
7723Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7724
7725 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7726 are getting the version number.
7727
7728 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7729 if not native, it is not an abnormal condition.
7730
7731Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7732
7733 * lib/gdb.exp: Just use "file exists", rather than undocumented
7734 dejagnu procedure "findfile".
7735
7736Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7737
7738 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7739 (LDFLAGS): Set to -Xlinker -Ur.
7740
7741 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7742 Removed, these values are set by lib/gdb.exp.
7743
7744 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7745
7746Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7747
7748 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7749 of replicating gdb startup code.
7750
7751 * config/mt-vxworks (LDFLAGS): Set to -r.
7752 (CFLAGS_FOR_TARGET): Removed.
7753
7754 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7755 (gdb) and gdb for vxworks uses (vxgdb).
7756
7757 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7758 executable is not in the tree and host != target, use sed and
7759 program_transform_name to determine the gdb name used by the
7760 target.
7761
7762 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7763 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7764
7765Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7766
7767 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7768 floats, chars, and shorts where there are ANSI-style function
7769 definitions.
7770
7771 * gdb.base/langs.exp, gdb.base/langs*: New test.
7772 * gdb.base/Makefile.in: Build it.
7773 * TODO: Remove item about checking that C names don't get C++
7774 demangling applied; this test tests it.
7775
7776Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7777
7778 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7779 went with the const70 xfail. The xfail went away a year ago.
7780
7781 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7782
7783 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7784 for hp300.
7785
7786 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7787
7788 * gdb.base/a1-selftest.exp: Don't run on hp300.
7789
7790Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7791
7792 * Makefile.in (site.exp): Set host_alias and target_alias as well
7793 as host_triplet and target_triplet.
7794
7795Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7796
7797 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7798
7799 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7800 places as other ecoff systems).
7801
7802 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7803 ultrix.
7804
7805Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7806
7807 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7808 remove them.
7809 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7810 variable and "variable" in addition to "data variable".
7811 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7812
7813 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7814 2.
7815 * gdb.base/list1.c (long_line): Add additional statement at start
7816 of function.
7817 * gdb.base/list.exp (test_forward_search): Update line number to
7818 reflect new statement.
7819
7820Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7821
7822 * gdb.base/signals.exp: Reinitialize searched source directories
7823 after gdb_start call.
7824
7825Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7826
7827 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7828 * gdb.stabs/Makefile.in: Likewise.
7829
7830 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7831 change. Instead split the tests into smaller pieces.
7832 * gdb.disasm/hppa.s: Corresponding changes.
7833
7834Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7835
7836 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7837 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7838
7839 * gdb.base/funcargs.exp: Modify many tests so that every test
7840 either passes or fails. Make some test names unique.
7841
7842Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7843
7844 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7845 Call stty to set interrupt character.
7846
7847 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7848 for HP assembler versus GNU assembler based on actual behavior of
7849 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7850
7851 * TODO: Suggest a few more stepping tests.
7852
7853Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7854
7855 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7856 restart GDB for h8300 after a continue.
7857 (return): Add pattern to match a29k-udi behavior.
7858 * gdb.base/nodebug.exp: Remove obsolete comment.
7859 * gdb.base/regs.exp: New file, testing of register displays.
7860 * gdb.base/return.exp: Fix typo in reference to $objdir.
7861 * gdb.base/whatis.exp: Always start with a fresh GDB.
7862
7863Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7864
7865 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7866 higher, these tests generate a lot of output.
7867
7868Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7869
7870 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7871 code following the catch silently ignored some errors; without the
7872 catch they should be thrown like any other tcl error. Also, the
7873 catch used "" instead of {} which meant all the callers who wanted
7874 to include one of the characters "[]$ had to quote it an extra time.
7875 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7876 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7877 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7878 Remove extra quoting.
7879
7880Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7881
7882 * gdb.base/commands.exp: Make test names unique; every test either
7883 passes or fails. Update some comments.
7884
7885 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7886
7887Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7888
7889 The following fixes a FAIL caused by the fact that the alpha stabs
7890 configuration didn't use the ".if alpha" code in weird.def.
7891 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7892 bit pointer, so the 32 bit version works even on the alpha.
7893 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7894 Remove the stuff which allowed us to have separate versions for
7895 alpha and everything else.
7896
7897 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7898 regexp which "info func operator\[\](" is supposed to match. Fix
7899 string to send to GDB. Note that GDB still doesn't work right. Add a
7900 new test for "info func .perator\[\](" which GDB does handle correctly.
7901
7902 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7903
7904Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7905
7906 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7907 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7908 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7909 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7910 it makes the tests harder to understand and confuses test-o-matic.
7911 The preferred style is that each test provides a PASS or a FAIL,
7912 and has a unique message (e.g. "continue #54" not just "continue")
7913 which is the same for the pass and the fail.
7914 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7915 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7916 to lib/gdb.exp.
7917 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7918 prt_accept which was basically the same thing. Likewise for
7919 test_print_reject and prt_reject.
7920 * lib/gdb.exp (test_print_reject): Add some more error message
7921 patterns to match from the former printcmds.exp (prt_reject).
7922 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7923 One defect of the passcount stuff is that some of it failed to
7924 report XPASS where appropriate.
7925 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7926 stuff before and after arg in expected pattern.
7927 (test_paddr_operator_functions): Re-do test without print_addr_of;
7928 this is the only test which seems to want extra stuff there.
7929
7930Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7931
7932 * gdb.base/nodebug.exp: Update new tests to reflect improved
7933 wording of gdb output.
7934
7935 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7936 and "ptype" work on variables in files compiled without -g.
7937 Replaces commented out "maint print msymbol" tests.
7938
7939Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7940
7941 * gdb.base/setvar.c (dummy): Call malloc.
7942
7943 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7944 losing with the irix4 sed.
7945
7946 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7947 ALRM" on irix4.
7948
7949Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7950
7951 * TODO: Remove items about corefile.exp testing new exec-file and
7952 backtrace; both are now done. Add items about printing enums.
7953
7954Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7955
7956 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7957 "get signal $thissig" test fails.
7958
7959 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7960
7961Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7962
7963 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7964 compiler warning with dec alpha compiler.
7965
7966 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7967 extra \n from gdb_test call (this explains why the prompt test
7968 that I removed yesterday was there).
7969 (user_defined_command_test): Remove extra \n and prompt test.
7970
7971 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7972 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7973 doesn't exist.
7974 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7975 Also remove alpha workaround, which turns out to be because
7976 SIGABRT == SIGLOST.
7977
7978 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7979
7980 * gdb.base/help.exp: Don't test "help show".
7981
7982Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7983
7984 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7985 "set print address" is on.
7986 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7987 pass prompt to gdb_test; gdb_test already looks for the prompt.
7988
7989 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7990
7991 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7992 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7993 was to make sure that gdb can read a core file. But (a) the "read
7994 the corefile" part didn't make it to a1-selftest.exp, we just
7995 delete the corefile after creating it, and (b) we test reading
7996 corefiles in corefile.exp anyway. Also, this test left around a
7997 xgdb process on Solaris.
7998
7999 * gdb.base/corefile.exp: Also test backtrace.
8000
8001Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8002
8003 * gdb.base/commands.exp: Test a simple user defined command with
8004 arguments and if/while statements; verify the full user command is
8005 printed by "show user".
8006
8007 * gdb.base/commands.exp: Test if/while commands as part of a
8008 breakpoint command list; verify they appear in breakpoint
8009 information.
8010
8011Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8012
8013 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8014 than by dividing by zero.
8015
8016Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8017
8018 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8019 performing an inferior call with watchpoints enabled.
8020 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8021 call.
8022
8023Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8024
8025 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8026 of "file" command.
8027
8028 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8029 Add additional pattern for when "int operator int(void);" appears
8030 in a different order.
8031
8032Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8033
8034 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8035
8036 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8037 and "signal" with ".*".
8038
8039Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8040
8041 * TODO: Add note about "handle all nostop".
8042
8043 * gdb.base/{sigall.c, sigall.exp}: New test.
8044 * gdb.base/Makefile.in: Add it.
8045
8046Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8047
8048 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8049 when invoking GDB, suppresses any windowing interface.
8050
8051Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8052
8053 * config/sim-gdb: New file, simulator testing support.
8054
8055Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8056
8057 * gdb.base/interrupt.exp: Test calling func1 twice.
8058
8059Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8060
8061 * gdb.base/list.exp (test_forward_search): Set timeout higher
8062 when we'll be getting lots of output from gdb.
8063
8064 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8065 "init_malloc" to after the expect statement. Run it if that
8066 regexp is taken, but also for two others which happen if source
8067 cannot be found.
8068
8069Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8070
8071 * gdb.base/printcmds.exp: New test, for printing register before
8072 program is running.
8073
8074Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8075
8076 * gdb.base/list.exp: Correct some alternate expect patterns
8077 to reflect changes in list1.c.
8078
8079Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8080
8081 * TODO: Add item regarding large frames.
8082
8083 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8084
8085 * TODO: Remove item about enabling return.exp; it
8086 is enabled. Suggest a few more "return" tests.
8087
8088Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8089
8090 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8091 anonymous unions.
8092
8093Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8094
8095 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8096 and pr-5646.o, so "make" is the same as "make all", not "make
8097 pr-4975.o".
8098
8099Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8100
8101 * gdb.base/list.exp: Adjust expectations to reflect changes in
8102 list1.c.
8103 (test_forward_search): New test proc.
8104 * gdb.base/list1.c (long_line): New function, has long source line.
8105
8106Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8107
8108 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8109 additional line of code that was added.
8110
8111Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8112
8113 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8114 tests so as not to overflow expect's input buffers.
8115 * gdb.disasm/hppa.exp: Corresponding changes.
8116
8117Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8118
8119 Beginnings of template debugging tests.
8120 * gdb.c++/templ-info.cc: New file to test for template
8121 debugging capability of the compiler.
8122 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8123 templ-info.cc.
8124 * gdb.c++/templates.cc: Add explicit template instantiations
8125 to enable compiling with -fno-implicit-templates. Add destructor
8126 and 'value' method to T5 class for template tests.
8127 * gdb.c++/templates.exp: Add testcases for printing of template
8128 types, setting breakpoints on template methods and calling a
beb998c6 8129 template method.
c906108c
SS
8130
8131Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8132
8133 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8134 branch target since some assemblers (gas-2.5) may emit a
8135 relocation for the branch instead of resolving it in the
8136 assembler.
8137
8138Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8139
8140 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8141 through signal handler.
8142
8143Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8144
8145 * configure.in (*-*-netware): Use config/mt-netware.
8146
8147 * config/mt-netware: New file.
8148 * config/mt-i386-netware: Removed, separate configs for different
8149 netware architectures are no longer needed now that we have
8150 --with-headers.
8151
8152Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8153
8154 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8155 by the recent changes to use ANSI C arithmetic conversions.
8156
8157Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8158
8159 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8160 bug involving using inferior_pid to figure out whether to select a
8161 frame.
8162
8163Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8164
8165 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8166 match the current disassembler output.
8167
8168Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8169
8170 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8171 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8172 types, expect "int" as type of integer values (for now).
8173
8174Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8175
8176 * gdb.base/commands.exp: New tests for if/while commands.
8177
8178Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8179
8180 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8181 by .*, since hex values have different syntax in Chill mode.
8182
8183Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8184
8185 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8186 linefeed from expect pattern for repeated types with indices > 9.
8187
8188Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8189
8190 First part of Fortran test suite.
8191 * gdb.fortran: New directory.
8192 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8193
8194Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8195
8196 * gdb.base/default.exp: Update expect pattern for load command
8197 without arguments.
8198
8199Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8200
8201 * configure.in: Change i386 to i[345]86.
8202 * gdb.base/configure.in: Likewise.
8203 * gdb.c++/configure.in: Likewise.
8204 * gdb.chill/configure.in: Likewise.
8205
8206Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8207
8208 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8209 patterns, since that is not a valid context for comments.
8210
8211Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8212
8213 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8214 repeated types and repeated types with indices > 9.
8215
8216Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8217
8218 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8219 2417; old bug has been fixed.
8220
8221Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8222
8223 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8224 send the newline ourselves instead of assuming gdb_test will do
8225 so when passed an empty input string.
8226
8227 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8228 stabs testcode.
8229
8230Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8231
8232 * lib/gdb.exp (gdb_test): Don't send anything if the first
8233 argument is an empty string. This makes cases where we want to
8234 match output that is already in expect's buffers (for example,
8235 matching a breakpoint after gdb_run_cmd has been called) work
8236 reliably.
8237
8238Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8239
8240 * config/netware.exp: New file.
8241
8242Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8243
8244 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8245 the -B and -L prefixes so we can find the debugging stub.
8246
8247 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8248 there and we are using the gcc from the tree.
8249
8250 * gdb.base/types.c: Removed.
8251
8252 * gdb.base/configure.in: Look for makefile fragments in ../config.
8253 Recognize i386-*-netware.
8254 * gdb.c++/configure.in: Likewise.
8255
8256Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8257
8258 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8259 the correct TCL syntax.
8260
8261Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8262
8263 * gdb.base/opaque.exp: use runto instead of messing around with
8264 breakpoints. Simplify by using gdb_test.
8265
8266 * gdb.base/bitfields.exp: restart between tests on netware targets
8267 because breakpoints aren't relocated after target death. Run
8268 processes to completion.
8269
8270 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8271
8272Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8273
8274 * Makefile.in: Remove extra tabs that confuse some versions
8275 of "make". Use the newly built gdb to test with by default,
8276 rather than the first one in the tester's search path.
8277
8278Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8279
8280 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8281
8282 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8283 condition help.
8284
8285Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8286
8287 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8288
8289 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8290 running.
8291 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8292 * gdb.base/funcargs.exp: Likewise.
8293
8294 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8295 * gdb.base/funcargs.exp: Likewise.
8296
8297 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8298 message is "".
8299
8300Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8301
8302 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8303 return,signals,twice}.exp: Handle non-existant binaries
8304 consistantly.
8305
8306 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8307 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8308 might testing a cross development system.
8309
8310Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8311
8312 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8313 runtest script is relative to ${srcdir}, not ${rootdir}.
8314
8315Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8316
8317 * gdb.base/signals.exp: Allow for optionality of breakpoint
8318 address.
8319
8320Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8321
8322 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8323
8324Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8325
8326 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8327 for size_t definition.
8328 * gdb.c++/templates.cc: Likewise
8329
8330 * config/mt-i386-netware: New file.
8331
8332 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8333 defined.
8334
8335 * gdb.base/Makefile.in: Added support for systems that name core
8336 files by appending "core" to the program name.
8337 * gdb.base/a1-selftest.exp: Likewise.
8338
8339Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8340
8341 * gdb.base/return.exp: Add comment and message for `return double'
8342 test failure on Sparc Solaris.
8343
8344Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8345
8346 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8347
8348Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8349
8350 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8351 from optimizing them away.
8352 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8353 patterns to include default constructors and assignment operators,
8354 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8355 character in the output of the virtual base pointer.
8356
8357Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8358
8359 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8360 expression match in print_addr_of to avoid unintented matches.
8361 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8362 versions up to 2.5.8.
8363
8364Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8365
8366 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8367 included file to run under newer versions of expect.
8368 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8369 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8370 Remove xfail for the virtual table of BDDHookV.
8371
8372Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8373
8374 * lib/gdb.exp (string_to_regexp): Set a default result.
8375 (default_gdb_start): Fix misleading message.
8376
8377Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8378
8379 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8380 Remove all CC, etc definitions.
8381 * config/mt-hpux: New file.
8382 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8383 (CFLAGS, LDFLAGS): Define.
8384 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8385
8386 * Makefile.in (site.exp): Don't insert host_os, etc.
8387 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8388 (distclean): Check existence of subdir.
8389 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8390 * gdb.base/Makefile.in: General cleanup and simplification.
8391 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8392 to build executables. Use default rule to build .o files.
8393 (EXPECT, RUNTEST, CC): Fix relative pathname.
8394 (site.exp): Don't insert host_os, etc.
8395 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8396 and/or SIGUSR1 defined.
8397 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8398 * gdb.c++/Makefile.in: General cleanup and simplification.
8399 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8400 (CFLAGS): Remove.
8401 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8402
8403Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8404
8405 * gdb.base/recurse.exp: Misc changes to get tests running again
8406 after Kung's changes to the watchpoint code.
8407 * gdb.base/watchpoint.exp: Likewise.
8408
8409Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8410
8411 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8412
8413Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8414
8415 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8416 * lib/gdb.exp (default_gdb_start): Define.
8417 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8418 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8419 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8420 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8421 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8422 Don't call gdb_target_udi in between tests.
8423
8424Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8425
8426 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8427 (which was basically just a local version of the same thing). In
8428 addition to avoiding duplication, gdb_test_exact is faster.
8429 * lib/gdb.exp (gdb_test_exact): Fix typo.
8430
8431 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8432 don't give an error.
8433
8434 * gdb.base/term.exp: Call delete_breakpoints before starting.
8435
8436 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8437 (t10): Add comment.
8438
8439Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8440
8441 Reorganization of the GDB Test Suite.
8442
8443 * gdb.base: New directory, contains all the basic tests.
8444 * gdb.c++: New directory, tests specific to C++.
8445 * gdb.chill: New directory, tests specific to Chill.
8446 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8447 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8448 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8449 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8450 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8451 t30-31 to chill).
8452 * */gdbme.*: Rename to match appropriate expect scripts.
8453 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8454 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8455 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8456 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8457 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8458 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8459 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8460 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8461 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8462 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8463 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8464 gdb.c++/virtfunc.cc: New names of C++ files.
8465 * gdb.chill/chillvars.ch: New name of Chill file.
8466 * gdb.base/configure.in, gdb.c++/configure.in,
8467 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8468 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8469 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8470 * configure.in (configdirs): Update to reflect directory changes.
8471 (target_abbrev): No longer define for any configuration.
8472 * Makefile.in: Cosmetic improvements to header comments.
8473
8474Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8475
8476 Various changes to gdb.t31:
8477
8478 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8479 * gdbme.ch: Make all key-words and predefineds be upper-case.
8480 * chillvars.exp: Expect key-words and predefinds in upper-case.
8481
8482 * chillvars.exp: Use gdb_test_exact many places.
8483 Change expected output for arrays (which now includes index labels).
8484
8485 * pr-5020.exp, gdme.ch (module PR_5020):
8486 New test, for PR-5020.
8487
8488Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8489
8490 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8491 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8492
8493Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8494
8495 * Makefile.in: Fix bit-rot in definitions of CHILL,
8496 CHILL_FOR_TARGET and Chill_LIB.
8497 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8498 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8499 CHILL, and CHILL_LIB.
8500
8501Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8502
8503 * Revert the previous changes. Please see Rob's directory
8504 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8505
8506Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8507
8508 * Makefile.in, configure.in, config/mips-gdb.exp,
8509 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8510 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8511 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8512 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8513 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8514 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8515 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8516 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8517 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8518 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8519 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8520 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8521 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8522 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8523 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8524 changes from 94Q1.
8525
8526Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8527
8528 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8529 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8530 Rob's new testing fragments.
8531
8532Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8533
8534 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8535 lib/gdb.exp: Replace error proc calls with perror.
8536
8537Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8538
8539 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8540 version also, match on casted version strings, and match on
8541 gdb startup case where the line numbers might be messed up.
8542
8543Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8544
8545 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8546 (CFLAGS): Delete it from here.
8547
8548Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8549
8550 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8551
8552Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8553
8554 * Makefile.in (RUNTEST): Default to just "runtest".
8555
8556Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8557
8558 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8559 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8560 the code has been restructured.
8561
8562Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8563
8564 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8565 \n, not just one of each.
8566
8567 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8568 /bin/cc gives a warning if you do.
8569
8570Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8571
beb998c6 8572 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8573 __t10ListS_link1ZUiRCUiPT0
8574
8575Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8576
8577 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8578 on local variables in recursive functions.
8579
8580 * gdb.t07/Makefile.in: Build the new test.
8581
8582Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8583
8584 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8585 directly. Instead compare the return values from actual calls.
8586
8587Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8588
8589 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8590
8591Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8592
8593 * From Peter Schauer with minor modifications.
8594 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8595 stops in mid-line in the caller. Add xfail for returning a float
8596 value on X86 targets.
8597
8598Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8599
8600 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8601 to avoid expect lossage.
8602 (fmem_LRbug_tests): Likewise.
8603 * gdb.disasm/hppa.s: Corresponding changes.
8604
8605 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8606 conditions to work with latest dejagnu/expect.
8607
8608 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8609 expected to fail on the PA.
8610 (backtrace in call with trampolines): Explicitly require main
8611 to be frame #1 (no trampolines should show up in backtrace).
8612
8613 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8614 "continue -expect".
8615 * gdb.t06/break.exp: Likewise.
8616 * gdb.t07/watchpoint.exp: Likewise.
8617 * gdb.t13/bitfields.exp: Likewise.
8618 * gdb.t15/{funcargs,return}.exp: Likewise.
8619 * gdb.stabs/weird.exp: Likewise.
8620 * config/{mips,udi}-gdb.exp: Likewise.
8621
8622 * hppa.sed: Enclose comments within a sed command to avoid
8623 losing with the old OSF1 sed.
8624
8625Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8626
8627 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8628 sequent dynix.
8629 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8630 * gdb.t15/funcargs.exp: Conditionally step again to really
8631 finish from marker_call_with_trampolines. Handle the case where
8632 the first step from within call_with_trampolines already steps
8633 us back to main.
8634 * gdb.t15/gdbme.c: Add comment to closing brace of
8635 call_with_trampolines for funcargs.exp.
8636
8637Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8638
beb998c6 8639 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8640 Fix typo(s).
8641
8642Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8643
8644 * gdb.t07/gdbme.c: More code for watchpoint testing.
8645
8646 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8647 "Hardware watchpoint" throughout file.
8648 (test_watchpoint_triggered_in_syscall): New test.
8649 (test_complex_watchpoint): New test.
8650
8651Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8652
8653 * gdbme.c (call_with_trampolines): New function to try and step
8654 into. Tests trampoline problems on the PA.
8655
8656 * funcargs.exp (localvars_in_indirect_call): No longer expect
8657 stepping into indirect call to fail on PAs.
8658 (test_stepping_over_trampolines): New test.
8659
8660Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8661
8662 * TODO: Add suggestions for static member function tests, and
8663 completion tests.
8664
8665Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8666
8667 * TODO: Add suggestions for "p/a" tests.
8668
8669 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8670 (default_gdb_exit): Replace all the hair with sending "quit" to
8671 the process with a simple close.
8672
8673Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8674
8675 * TODO: Add suggestions for shared library tests.
8676
8677Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8678
8679 * TODO: Add suggestions for x/s tests.
8680
8681Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8682
8683 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8684 "enable once", and "enable breakpoints once" with ".*".
8685
8686Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8687
8688 * TODO: Add suggestions about structure passing tests.
8689
8690Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8691
8692 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8693 the primary1 test, use work around if __GNUC__ < 2.
8694 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8695 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8696 Test for bad output rather than waiting for timeout. Issue
8697 second continue only if first continue failed.
8698
8699Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8700
8701 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8702 operator[] test with gdb_test because the old code didn't seem to
8703 be getting the quoting right with the new dejagnu.
8704
8705Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8706
8707 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8708 one from the path.
8709 * Makefile.in: Use a fresh expect if there is one, use runtest
8710 from the src tree if there is one.
beb998c6 8711
c906108c
SS
8712Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8713
8714 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8715 next over recursive call. Revise the tests from that point on
8716 (which had been skipped) to match GDB's actual (correct) output.
8717
8718 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8719 with next over a breakpoint whose condition is false.
8720
8721 * gdb.t00/help.exp: Comment out "help set print" tests just like
8722 (and for same reason as) "help set" test.
8723
8724Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8725
8726 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8727 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8728
8729Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8730
8731 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8732 necessary gdb_target_udi.
8733
8734 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8735
8736 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8737 1838 and 2417; they are fixed.
8738
8739 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8740 gdb.t03/ptype.exp (ptype structure, ptype union):
8741 Remove xfails; the test is looser than when the xfails were added.
8742
8743 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8744 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8745
8746 * gdb.t01/run.exp: Only run shell test if isnative.
8747
8748 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8749 since "run" automatically loads if necessary. Call gdb_target_udi
8750 after the "file" since "file" kills any execution target.
8751
8752 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8753 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8754 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8755 argument for UDI.
8756
8757Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8758
8759 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8760
8761 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8762
8763Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8764
8765 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8766 properly quoting regexps. This makes the second argument to
8767 demangle a fixed string, which matches the callers, instead of a
8768 shell-style pattern which is what the previous implementation
8769 used. Update some of the callers.
8770
8771Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8772
8773 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8774 (comib_nullified_tests): Fix typo.
8775 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8776 strings. No longer expected to fail.
8777
8778 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8779 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8780 strings. No longer expected to fail.
8781
8782 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8783 string. No longer expected to fail.
8784
8785Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8786
8787 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8788 No longer expected to fail.
8789
8790 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8791 string. No longer expected to fail.
8792
8793Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8794
8795 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8796 only in the names (I probably got most of them). I was even
8797 generous with some which differed in underscores in names, and
8798 probably missed a few, and I *still* was able to remove almost a
8799 third of the file with almost no impact on testsuite coverage.
8800
8801Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8802
8803 * gdb.t00/default.exp: Match udi_attach error message as well as
8804 the one from child_attach.
8805
8806 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8807
8808 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8809
8810 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8811 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8812
8813 * Move test with enums and partial symbols back to
8814 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8815 Reverts the change of 26 May 93. Per today's change to
8816 stabs.texinfo, the behavior that weird.exp was expecting was
8817 unreasonable; what is important is that the compiler+gdb get
8818 things right, which happens with a recent gcc. Also fix the test
8819 to deal with native compilers which put out the stab gdb can't
8820 deal with.
8821
8822Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8823
8824 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8825 in the names. The main thing these accomplish is to slow things down.
8826 Many more such duplicates surely remain.
8827
8828 * gdb.t00/help.exp: Comment out "help support" test just like
8829 (and for same reason as) "help set" test.
8830
8831Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8832
8833 * gdb.t06/break.exp: Remove setup_xfails for
8834 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8835 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8836 about known bug in gcc to include up through 2.5.8.
8837 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8838 well as "_vb$".
8839 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8840 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8841 with latest gcc and gdb.
8842 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8843 well as "_vb$".
8844
8845Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8846
8847 * configure.in (hppa*-*-*): Also configure and build stabs-only
8848 tests.
8849
8850Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8851
8852 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8853 * gdb.t10/configure.in (hppa*-*-*): Use it.
8854
8855Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8856
8857 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8858
8859Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8860
8861 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8862 versions prior to 1.13.5.
8863
8864Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8865
8866 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8867 the prompt is at the start of a line.
8868
8869Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8870
8871 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8872 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8873 in the copr tests now.
8874 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8875 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8876 expected to fail.
8877
8878Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8879
8880 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8881 gdb.t31/chillvars.exp, lib/gdb.exp:
8882 Tweak to run under either version of expect.
8883 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8884 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8885 * gdb.t11/list.exp: Remove extraneous whitespace.
8886
8887Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8888
8889 * gdb.t16/printcmds.exp (test_print_strings): Accept
8890 "(unsigned char *) " before the string.
8891
8892 * TODO: Add notes about printing of fancy types and GDB expressions.
8893
8894Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8895
8896 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8897 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8898 if doing mips-idt-ecoff.
c906108c
SS
8899
8900Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8901
8902 * Most .exp files: Tweak to run under either version of expect.
8903
8904Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8905
8906 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8907 xfails; I'm not sure why they are failing, but not because of PR 1806.
8908
8909Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8910
8911 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8912 defined in lib/gdb.exp.
8913
8914Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8915
8916 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8917 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8918 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8919 have to be typeless.
8920
8921Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8922
8923 * TODO: Add suggestion for copyright year test.
8924
8925Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8926
8927 * configure.in (*-*-lynxos*): Add stabs tests.
8928
8929Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8930
8931 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8932 so insert a tab before any assembler directive in column zero.
8933
8934 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8935 stores.
8936 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8937 stores.
8938 (fpu_short_memory_tests): Likewise.
8939
8940Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8941
8942 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8943 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8944 .stabs directives in comments.
8945
8946Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8947
8948 * TODO: New file, describing tests we could write.
8949 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8950
8951Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8952
8953 * gdb.t06/signals.exp: Add kludge to force re-sync.
8954
8955 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8956 to xgdb instead of gdb, get out of gdb.
8957
8958Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8959
8960 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8961 for info.
8962
8963Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8964
8965 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8966 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8967 * gdb.stabs/hppa.sed: New sed script for the PA.
8968
8969Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * gdb.stabs: Re-write weird.def and configuration to use sed
8972 instead of cpp. sed is portable and POSIX; cpp is neither.
8973
8974Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8975
8976 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8977
8978Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8979
8980 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8981
8982Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8983
8984 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8985 "_vb$".
8986 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8987 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8988
8989Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8990
8991 * lib/gdb.exp: Comment out code which depends on non-existent
8992 `transform' procedure.
8993
8994Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8995
8996 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8997 * lib/gdb.exp: Transform tool name.
8998 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8999 1.1's new error handling system.
9000
9001Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9002
9003 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9004
9005Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9006
9007 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9008 They made pattern matching so slow that timeouts happened on
9009 heavily loaded systems. Now any output from "show print" which
9010 gets us back to the GDB prompt is a PASS.
9011
9012Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9013
9014 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9015
9016Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9017
9018 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9019
9020 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9021 It is not from PR 3220.
9022
9023Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9024
9025 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9026 just started failing because they depended on the order the
9027 subcommands are presented, or exact docstring text. This kind of
9028 test is a pain and has minimal benefit.
9029
9030Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9031
9032 * gdb.t09/corefile.exp: At end of test, use "core" command with
9033 no arguments.
9034
9035Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9036
9037 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9038 17}/Makefile.in: Make it possible to run the testsuite with Sun
9039 make and CC = cross gcc by adding explicit build rules for .o
9040 files.
9041
9042Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9043
9044 * gdb.t15/funcargs.exp: Don't put comments on same line as
9045 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9046
c906108c
SS
9047Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9048
9049 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9050
9051Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9052
9053 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9054 * gdb.t20/inherit.exp: remove three dumplicate entries.
9055
9056Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9057
9058 * gdb.t06/break.exp: For "next over recursive call", fail on any
9059 incorrect output, not just on "factorial (value=2)".
9060
9061Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9062
9063 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9064 working now. Add an xfail if accesing a bss variable causes
9065 a memory error if the target is not yet run.
9066
9067Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9068
9069 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9070 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9071 name of __st* demangling (2 strings). Did Kung really get the
9072 more than 95 others right without testing them?
9073
9074Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9075
9076 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9077
9078Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9079
9080 * configure.in (configdirs): Add gdb.disasm
9081 * gdb.disasm: New directory for GDB disassembler tests.
9082 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9083
9084Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9085
9086 * gdb.t00/help.exp: Don't test "help set".
9087
9088 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9089 from within expect statements. None of these happen anymore and
9090 they cause regressions to be silently unnoticed.
9091
9092 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9093 messages) about known failures with gcc cygnus-2.4.5-930417.
9094
9095 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9096 comp-info.exp so it gets built if it doesn't exist.
9097
9098 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9099 it is no longer used.
9100 * gdb.t13/comp-info.c: Removed.
9101
9102Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9103
9104 * gdb.t06/signals.exp: Add xfail for sun3.
9105
9106Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9107
9108 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9109 relevant because ^C doesn't get sent but failure can be reproduced
9110 interactively).
9111
9112Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9113
9114 * gdb.stabs/alpha.mt: New configuration file for alpha.
9115 * gdb.stabs/configure.in: Use it.
9116 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9117 sharing with alpha.mt, redefine long to word via preprocessor.
9118 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9119 for alpha.
9120 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9121 native cc.
9122 * gdb.t00/teststrategy.exp: Change expect string so that we
9123 consume the `(xgdb)' from the command echo and from the gdb prompt.
9124 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9125 gdb currently compares all values as long, so this failure probably
9126 applies to any configuration where LONGEST is bigger than a target int.
9127 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9128 with gcc.
9129 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9130 to handle opaque pointers, gcc is.
9131 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9132 as first argument. Include <sys/types.h> and change all operator
9133 new definitions to use size_t.
9134 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9135 now that we use size_t.
9136
9137Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9138
9139 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9140 a long or float array cast all array members to the same type.
9141 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9142 with 64 bit longs.
9143 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9144 on alpha.
9145 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9146
9147Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9148
9149 * gdb.t24 (demangle.exp): Constructors of templates have names like
9150 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9151 section 14.6 of the ARM.
9152
9153 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9154 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9155 accomplish little and slow down the testsuite.
9156
9157 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9158 Accept spaces various places.
9159
9160Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9161
9162 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9163 with watchpoint enabled.
9164
9165 * Makefile.in: Remove definition of CC and remove the second
9166 definition of CXX (the "CXX = gcc" one remains). These definitions
9167 were causing backquotes to be expanded within backquotes, which
9168 doesn't work.
9169
9170Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9171
9172 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9173
9174Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9175
9176 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9177 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9178 by mips cc and contains no stabs entries.
9179
9180Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9181
9182 * config/vx-gdb.exp: Use fake device to load files rather than
9183 NFS.
9184 * lib/gdb.exp: New proc to do "file" command.
9185 * config/unix-gdb.exp: Use new "file" proc.
9186
9187Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9188
9189 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9190 Rework board rebooting slightly.
9191 (gdb_exit): Don't exit from the remote shell; there isn't one.
9192 * gdb.stabs/weird.exp: If a program is being debugged already,
9193 kill it.
9194 * gdb.t04/setvar.exp: Stop and restart gdb.
9195 * gdb.t05/expr.exp: Likewise.
9196 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9197 restart gdb and reload the program.
9198 * gdb.t08/opaque.exp: Likewise.
9199 * gdb.t12/scope.exp: Likewise.
9200 * gdb.t13/bitfields.exp: Likewise.
9201 * gdb.t15/funcargs.exp: Likewise.
9202 * gdb.t20/classes.exp: Likewise.
9203 * gdb.t03/ptype.exp: Increase timeout.
9204 * gdb.t16/printcmds.exp (test_print_string_constants,
9205 test_print_array_constants): Likewise.
9206 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9207 * gdb.t20/classes.exp (do_tests): Likewise.
9208 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9209
9210Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9211
9212 * gdb.stabs: Renamed *wierd* to *weird*.
9213
9214Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9215
9216 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9217 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9218
9219Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9220
9221 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9222 (do_tests): Remove xfail for whatis on one_var and two_var.
9223
9224Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9225
9226 * Makefile.in: Made cross building work better by adding
9227 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9228
9229Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9230
9231 * gdb.t15/{return.c,return.exp,Makefile.in}:
9232 New test, currently commented out.
9233
9234Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9235
9236 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9237 still running and removes the leftover named socket so GDb can do
9238 clean restarts.
9239
9240Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9241
9242 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9243 console, not GDB.
9244 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9245 cross testing works better with "make check"
9246 * config/unix-gdb: Use default procedures for exit and version.
9247 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9248 with the newest VxWorks.
9249
9250Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9251
9252 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9253 old form.
9254
9255 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9256 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9257
9258 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9259
9260 * config/unix-gdb.exp: Remove this version of gdb_exit
9261 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9262 Rob says he'll look at it when he gets back to testing boards.
9263
9264Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9265
9266 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9267 an expected fail for certain ptype commands.
9268
9269 * gdb.t20/classes.exp: Update expected results of "ptype class
9270 Base1" to account for the constructor that now appears in the type.
9271
9272Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9273
9274 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9275 disappeared from list.
9276 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9277 "alldone" proc with call to cleanup and exit.
9278 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9279 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9280 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9281 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9282 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9283 "alldone" proc with simple returns that suppress remaining
9284 tests. The alldone proc went away many months ago.
9285
9286Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9287
9288 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9289
9290 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9291
9292Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9293
9294 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9295 as vax gdb will display them.
9296
9297Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9298
9299 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9300 optimizers.
9301
9302 * scope.exp: Change "bad value for localval" messages so each one
9303 is unique.
9304
9305 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9306 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9307
9308 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9309
9310Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9311
9312 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9313 doesn't exist (due to optimization).
9314
9315Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9316
9317 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9318 contains \r because the filename is long.
9319
9320 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9321 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9322
9323Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9324
9325 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9326 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9327 Ultrix.
9328 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9329 int tests.
9330 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9331
9332Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9333
9334 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9335
9336 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9337 to match does not match the passing case but still matches the
c906108c
SS
9338 failing case.
9339
9340Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9341
9342 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9343
9344Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9345
9346 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9347 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9348 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9349 Remove various versions of gdb_exit.
9350 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9351 gdb_exit.
9352 * config/unix-gdb.exp: gdb_exit remains here, and should override
9353 the generic version, since it's doing a lot of wierd stuff that
9354 the other versions aren't. FIXME, fold it in, or abandon this
9355 version.
9356
9357Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9358
9359 * gdb.t24/demangle.exp: Add tests for PR 3220.
9360
9361Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9362
9363 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9364
9365Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9366
9367 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9368 "i386-*-*". Works for i486 as well.
9369
9370 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9371 bug, and expand domain of xfail to all SVR4 systems, since the
9372 actual problem is likely to be in generic SVR4 /proc support.
9373
9374Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9375
9376 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9377
9378Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9379
9380 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9381 xfails for other systems. Match a missing 'Continuing.' as an
9382 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9383
9384 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9385 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9386 Only issue warning for missing executables if -all option is used.
9387
9388 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9389 file if -all option is used. It's like an unpredictable XFAIL.
9390
9391Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9392
9393 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9394 for dynamically linked binaries.
9395
9396 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9397
9398Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9399
9400 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9401 to state that this is a known bug in old versions of g++.
9402
9403Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9404
9405 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9406 while waiting for `Continuing'.
9407
9408Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9409
9410 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9411 in text, data, and bss.
9412 * gdb.t10/nodebug.c: Add local and global test variables for
9413 initialized and uninitialized data.
9414
9415Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9416
9417 * config/unix-gdb.exp (gdb_exit): Add "wait".
9418
9419Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9420
9421 * gdb.t06/signals.exp: xfail the continue from the handler for all
9422 targets.
9423
9424 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9425 function with watchpoints enabled, the i386 call dummy starts with
9426 a call.
9427
9428 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9429 386 bsd names its corefiles.
9430
9431Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9432
9433 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9434 compilers don't grok it.
9435 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9436 with small octal ints rather than character constants, which
9437 are signed and might not fit if first promoted to int.
9438
9439Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9440
9441 * gdb.t09/Makefile.in (clean): Remove corefile.
9442
9443Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9444
9445 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9446
9447Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9448 and Jim Kingdon (kingdon@cygnus.com)
9449
9450 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9451 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9452 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9453
9454Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9455
9456 * gdb.t17/interrupt.exp: Add xfail for hppa.
9457
9458Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9459
9460 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9461 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9462 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9463 to determine signed-ness of bitfields and use the result to setup
9464 the xfail.
9465 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9466 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9467 call line is reached if necessary.
9468
9469Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9470
9471 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9472
9473Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9474
9475 * gdb.t06/break.exp: Also test `clear' command.
9476
9477Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9478
9479 * gdb.t00/teststrategy.exp: Remove extra quote.
9480
9481 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9482 watchpoint enabled to be for all non-68k machines.
9483
9484 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9485
9486Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9487
9488 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9489 targets use aout.mt instead of ecoff.mt as gas understands
9490 standard aout format.
9491
9492Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9493
9494 * lib/gdb.exp (runto): Don't insist that function we are running to
9495 was compiled with -g.
9496
9497 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9498
9499 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9500 to get back into the read system call.
9501 Accept leading newline in case where we woke it up.
9502
9503Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9504
9505 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9506 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9507 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9508 enable ecoff configuration.
9509
9510Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9511
9512 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9513
9514Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9515
9516 * gdb.t16/printcmds.exp: Add another printf test.
9517
9518Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9519
9520 * configure.in: If configured -with-stabs on any target, add
9521 stabsdirs to configdirs.
9522
9523Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9524
9525 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9526 fun" so pattern does not match the command itself.
9527
9528Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9529
9530 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9531
9532Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9533
9534 * gdb.t17/interrupt.exp: Test for more things.
9535
9536Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9537
9538 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9539 compiler arranges the code and line numbers.
9540
9541 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9542
9543Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9544
9545 * gdb.t00/help.exp: Increase expect input buffer size.
9546
9547Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9548
9549 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9550
9551 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9552
9553 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9554
9555 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9556 [0-9]*, not just [0-9].
9557
9558Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9559
9560 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9561
9562 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9563
9564Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9565
9566 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9567
9568Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9569
9570 * gdb.t06/signals.c: Add xfails for sun3.
9571
9572 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9573
9574 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9575 test_stepping tests.
9576
9577Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9578
9579 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9580
9581 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9582
9583 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9584 rather than actually putting it through cpp twice.
9585
9586 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9587
9588Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9589
9590 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9591 no longer needed.
9592
9593Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9594
9595 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9596
9597 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9598 C++ features prints as "struct", make it a pass, not an xfail.
9599
9600Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9601
9602 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9603 Don't require VA to print as "class" rather than "struct".
9604
9605Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9606
9607 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9608
9609Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9610
9611 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9612
9613Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9614
9615 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9616 order.
9617
9618Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9619
9620 * gdb.t16/printcmds.exp: Add printf tests.
9621
9622 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9623
9624 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9625
9626Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9627
9628 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9629 pass counts, to counteract any existing or future setup_xfails.
9630
9631Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9632
9633 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9634 {BEGIN,END}_COMMON for common block instead of STAB.
9635 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9636
9637 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9638 intp_var should be N_GSYM not N_LSYM.
9639 wierd-aout.S: Use a label for the value of the N_SO.
9640 wierd.def: Remove all backslashes.
9641 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9642
9643Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9644
9645 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9646 get the expected next to inheritance3.
9647
9648Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9649
9650 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9651 now that gcc-2.4 gets it right.
9652
9653Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9654
9655 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9656
9657 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9658 generating comp-info.exp which works for cross-compilation.
9659
9660Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9661
9662 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9663 "*-*-sysv4.*".
9664
9665Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9666
9667 * gdb.t01/run.exp: Start with a fresh gdb.
9668 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9669 SVR4.x.
9670
9671Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9672
9673 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9674 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9675 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9676 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9677 things to remove.
9678
9679Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9680
9681 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9682 test cases from bug reports.
9683
9684Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9685
9686 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9687 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9688 avoid spurious xfails.
9689 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9690 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9691 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9692
9693Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9694
9695 * gdb.t00/teststrategy.exp: Rework to provide more useful
9696 description of each test, fix problem with systems that define
9697 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9698 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9699 results for "next over recursive call" so timeouts aren't taken
9700 by error.
9701
9702Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9703
9704 * gdb.t12/scope.exp: Test printing of variables before run.
9705
9706 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9707 printed in wrong order due to sorting.
9708
9709Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9710
9711 * gdb.t00/teststrategy.exp: Fix expected results for printing
9712 user entered string constant. Is array of char, prints with no
9713 address.
9714
9715 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9716 commands.
9717 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9718 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9719 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9720 of struct of char arrays.
9721 * gdb.t00/radix.exp: New tests for radix commands.
9722
9723Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9724
9725 * gdb.t16/printcmd.exp: Print a variable before running program
9726 (with xfail for AIX).
9727
9728Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9729
9730 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9731
9732 * gdb.t16/printcmd.exp: Don't print variables before running program.
9733
9734 * gdb.t06/break.exp: Don't require envp argument to main.
9735
9736 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9737
9738 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9739 Add xfails for rs6000.
9740
9741 * gdb.t02/whatis.exp: Change other tests not to re-test something
9742 we already tested.
9743
9744 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9745 each type used has a variable of that type.
9746
9747Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9748
9749 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9750
9751Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9752
9753 * configure.in: change srctrigger to be a file, not a directory
9754
9755Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9756
9757 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9758
9759 * gdb.t11/list.exp: Fixed a couple of typos.
9760
9761Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9762
9763 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9764 is fixed and PR is closed.
9765 * gdb.t16 (gdbme.c): Add simple test string variable.
9766 * gdb.t16 (printcmds.exp): Add tests with simple test string
9767 variable, primarily for boundaries on "set print elements".
9768
9769Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9770
9771 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9772 Make leading 0's optional and don't expect a tab in the middle
9773 of the number.
9774
9775 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9776
9777 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9778 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9779 don't end command passed to gdb_test with newline.
9780
9781 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9782 signed keyword away, don't expect signed bitfields to be signed.
9783
9784 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9785 printing with only as many 1's as are in the field as well as printing
9786 with 32 1's (see comment).
9787
9788Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9789
9790 * gdb.t00/default.exp: Start with a fresh gdb.
9791 * configure.in (configdirs): Remove gdb.t31 until the chill
9792 compiler works again. It no longer is able to find chillrt0
9793 since it isn't in libchill.a anymore.
9794 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9795 wierd.o, make more modular.
9796 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9797 spurious newlines that caused problems.
9798
9799Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9800
9801 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9802 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9803 gdb.stabs/wierd.{exp,def}: Many new tests.
9804
9805 * gdb.t00/default.exp: update info line for new message.
9806
9807 * gdb.t02/{whatis.exp,gdbme.c}:
9808 Test that "char *" doesn't print as "caddr_t".
9809
9810Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9811
9812 * gdb.t00/help.exp: Use .* in place of some help messages which
9813 just changed.
9814 gdb.t00/default.exp: Update "info frame" test for new message.
9815 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9816 Remove some xfails
9817
9818Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9819
9820 * gdb.t03/{gdbme.c,ptype.exp}:
9821 Add tests for typedef'd struct and union without tags.
9822 Also check "whatis" on a variable of a typedef'd enum without a tag.
9823
9824 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9825 PRMS 1823; the bug still exists but isn't reproduced by this test
9826 anymore), and remove rs6000 XFAIL (the bug is fixed).
9827
9828 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9829 duplicated from whatis.exp. For those that are left, accept
9830 "long", "long int", or "int" for long variables (whatis.exp already
9831 has an XFAIL for "int", so no need to fail it here).
9832
9833 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9834 Deal with GCC's names for types now that GDB uses the compiler's names.
9835
9836 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9837 setup_xfail's for sunos4. If we #defined the signed keyword away,
9838 don't expect GDB to know that char it is signed.
9839
9840 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9841
9842Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9843
9844 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9845 should work on any system, regardless of debugging format.
9846 * gdb.t21/demangle.exp: Move to gdb.t24.
9847 * gdb.t24/demangle.exp: Move from gdb.t21.
9848 * gdb.t24/{Makefile.in, configure.in}: New files.
9849
9850Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9851
9852 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9853 * gdb.stabs: New directory.
9854
9855Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9856
9857 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9858 not just "Quit anyway?".
9859
9860Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9861
9862 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9863 that all setup_xfails are immediately followed by clear_xfails.
9864
9865Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9866
9867 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9868 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9869 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9870 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9871 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9872 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9873 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9874 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9875 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9876 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9877 gdb.t31/chillvars.exp, lib/gdb.exp:
9878 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9879 bug-gdb@prep.ai.mit.edu.
9880
9881Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9882
9883 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9884 with 0.0, not integer 0.
9885
9886Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9887
9888 * gdb.t06/break.exp: Update for "Kill the program" message change.
9889
9890Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9891
9892 * Makefile.in (GDBFLAGS): Set to -nx.
9893 * Makefile.in (site.exp): Use GDBFLAGS.
9894
9895Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9896
9897 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9898 Makefiles.
9899 (check): depend on just-check.
9900 (just-check): added so that tests can be run without a noop
9901 build pass.
9902
9903Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9904
9905 Switch to using configure's configdirs.
9906 * Makefile.in (Makefile): add configure.in dependency.
9907 (SUBDIRS): removed redundant assignment.
9908 * configure.in: switch subdirs assignment to configdirs.
9909 * gdb.t*/configure.in: new files.
9910
9911Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9912
9913 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9914 works.
9915
9916Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9917
9918 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9919 in explicit rules. Apparently this is not supported by some makes.
9920
9921Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9922
9923 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9924
9925Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9926
9927 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9928 disappeared.
9929
9930Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9931
9932 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9933
9934Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9935
9936 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9937 watchpoint problem that is now fixed.
9938 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9939 uninitialized convenience variables.
9940 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9941 structures.
9942
9943Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9944
9945 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9946 which causes expect to get out of sync with gdb on long output
9947 from help set.
9948 * gdb.t09/corefile.exp: Make expected pattern for core file
9949 failing signal and frame output format less sun specific.
9950
9951Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9952
9953 * gdb.t31/chillvars.exp: Add and remove initial dummy
9954 breakpoint, so that symbol table is forced in.
9955 (Needed at least on Sunos4, though it seems not SVR4.)
9956 * gdb.t31/chillvars.exp: Update for changed output format.
9957
9958Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9959
9960 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9961
9962Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9963
9964 * Makefile.in: Added --srcdir when invoking runtest, removed the
9965 need for a local config file. (optional now)
9966
9967Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9968
9969 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9970 failure count used to force early termination. Add some more
9971 expected failures for gnu style demangling.
9972
9973Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9974
9975 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9976 pmi variable from gdb.t20/gdbme to get optimized away.
9977 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9978 Check for written corefile upon timeout _and_ eof.
9979
9980Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9981
9982 * config/unix-gdb.exp: Add missing return 0.
9983
9984Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9985
9986 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9987 test termination.
9988
9989Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9990
9991 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9992 disappeared.
9993
9994Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9995
9996 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9997 time as i860 support works.
9998
beb998c6 9999 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10000 "backtrace 100\r" rather than just "backtrace\r", to match last
10001 change.
10002
10003Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10004
10005 * config/udi-gdb.exp (gdb_exit): Remove close command.
10006 (gdb_target_udi): New procedure to set the UDI target.
10007 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10008 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10009 Added waits for prompts after several question responses. Added
10010 some more responses used by a29k-amd-udi-gdb.
10011 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10012 pass different arguments, restart UDI connection after program
10013 completion.
10014 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10015 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10016 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10017 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10018 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10019 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10020 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10021 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10022 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10023 after program completion.
10024 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10025 compiled with a SELECT_VECS setting.
10026 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10027 infinite recursion.
10028
10029 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10030 Added checks for COFF results, and made them expected failures for
10031 all targets. It would be better to make them expected failures
10032 for COFF targets only.
10033
10034Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10035
10036 * Makefile.in: add null dvi target, don't bother to recurse
10037 through test directories for info and install-info; rename
10038 $(datadir) to be dejagnu instead of deja-gnu
10039
10040Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10041
10042 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10043 compiler to coredump.
10044 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10045 code.
10046
10047Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10048
10049 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10050 coredump.
10051 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10052 code.
10053
10054Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10055
10056 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10057 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10058 which in a shell. Deletes xgdb when done.
10059 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10060 Tests the return from the "set height" or "set width" commands.
10061 Added a few return codes where needed.
10062
10063Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10064
10065 * Makefile.in (SUBDIRS): Add gdb.t17.
10066 * configure.in (subdirs): Add gdb.t17.
10067 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10068 files to test gdb's calling of functions in the inferior with
10069 the correct arguments and gdb's ability to retrieve any
10070 result returned.
10071
10072Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10073
10074 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10075 may be called after gdb goes away. Previous versions of expect
10076 needed these to avoid file descriptor leaks, but they cause
10077 errors with the current revision of expect.
10078 * gdb.t00/gdbvars.exp: Use -re on expected output after
10079 setting sevenbit-strings.
10080 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10081 to set sevenbit-strings consistent across tests.
10082 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10083 set sevenbit-strings consistent across tests.
10084
10085Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10086
10087 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10088 expected output to match current "expect" expectations.
10089
10090Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10091
10092 * gdb.t00/default.exp: Change expected output for default "source"
10093 command, to match new gdb behavior which requires a filename to
10094 source.
10095
10096Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10097
10098 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10099 expected fail for i486-*-* that misses the marker2 function.
10100 * gdb.t10/crossload.exp (bfddefault): Allow successful
10101 recognition of a format to pass even if no symbols are found.
10102 Explicitly catch failures where the format is not recognized
10103 or is ambiguous, and add the reason to the fail message.
10104 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10105 the cause is and invalid target and add reason to failure message.
10106 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10107 elf32-i386, elf32-sparc, and elf32-i860.
10108 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10109 Set up expected failure for 'filename'::variable scope resolution,
10110 which is now apparently broken on all targets.
10111 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10112 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10113 gdb.t23/templates.exp: Change failure for missing binfile into
10114 just a warning.
10115 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10116 references.
10117
10118Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10119
10120 * gdb.t00/default.exp: Add expected output for default "source"
10121 command, to match new gdb behavior.
10122 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10123
10124Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10125
10126 * config/*-gdb.exp: returns an error, rather than exiting on
10127 internal errors.
10128
10129Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10130
10131 * gdb.t03/gdbme.c: Add pointer to struct variable.
10132 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10133 referencing struct members.
10134
10135Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10136
10137 * configure.in (mips-idt-ecoff): New target.
10138 * config/mips-gdb.exp: New file for remote board using MIPS remote
10139 debugging protocol.
10140
10141 * Redid configuration scheme. Removed gdb.t*/configure.in.
10142 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10143 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10144 distclean targets. Built executables via .o files. Adjusted
10145 tests to account for source files in $(srcdir) rather than
10146 $(objdir).
10147 * lib/gdb.exp (runto): Don't expect () after the function name,
10148 because it may have arguments.
10149
10150Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10151
10152 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10153 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10154 expected failures for mips-idt-* and mips-sgi-*.
10155 * gdb.t00/default.exp (attach): Kill process if requested.
10156 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10157 that does not read core files.
10158 * gdb.t01/run.exp: Removed checks for exit status code.
10159 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10160 it is linked in.
10161 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10162 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10163 appropriate, rather than doing it by hand.
10164 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10165 execution.
10166 * gdb.t10/crossload.exp: Kill existing program if needed.
10167 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10168 appropriate, rather than doing it by hand. Always increase
10169 timeout for this test, not just for VxWorks.
10170
10171Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10172
10173 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10174 of Chill STRUCT types and STRUCT values.
10175 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10176 than "char".
10177 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10178 struct2): New struct definitions and initializations to test
c906108c
SS
10179 simple Chill STRUCT types.
10180
10181Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10182
10183 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10184 the null byte at the end of strings.
10185 * gdb.t00/default.exp: Make show version insensitive to copyright
10186 date.
10187 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10188 to avoid dependencies on target char signedness.
10189 * gdb.t16/printcmds.exp: Update expected results for explicitly
10190 unsigned char.
10191 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10192 now work.
10193 * gdb.t21/demangle.exp: Add many more patterns for template
10194 demangling, most of them being expected failures.
10195 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10196 string we are matching for, to match on the whole string.
10197 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10198 and fix a whole bunch that had incorrect expected output but were
10199 passing anyway because of the bug in "proc demangle".
10200 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10201 type.
10202 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10203
10204Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10205
10206 * gdb/testsuite: made modifications to testcases, etc., to allow
10207 them to work properly given the reorganization of deja-gnu and the
10208 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10209
10210Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10211
10212 * gdb/testsuite: Initial creation of gdb/testsuite.
10213 Migrated dejagnu testcases and support files for testing nm to
10214 gdb/testsuite from deja-gnu. These files were moved "as is"
10215 with no modifications. This migration is part of a major overhaul
10216 of dejagnu. The modifications to these testcases, etc., which
10217 will allow them to work with the new version of dejagnu will be
10218 made in a future update.
10219\f
10220Local Variables:
10221mode: indented-text
10222left-margin: 8
10223fill-column: 74
10224version-control: never
10225End:
This page took 0.885532 seconds and 4 git commands to generate.