* configure.in: Check for stdlib.h.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5330f2db
DC
12003-03-04 David Carlton <carlton@math.stanford.edu>
2
3 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
4 Garply<Garply<char> >:: garply".
5 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
6 with respect to PR c++/1111; note also PR c++/1113.
7 (test_template_breakpoints): KFAIL "constructor breakpoint" with
8 respect to PR c++/1062.
9 KFAIL "destructor breakpoint" with respect to PR c++/1112.
10
6ece72da
DC
112003-03-03 David Carlton <carlton@math.stanford.edu>
12
13 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14 with respect to PR c++/57.
15 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16 c++/826.
17 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
18 respect to PR c++/57.
19
85ca1584
DC
202003-03-03 David Carlton <carlton@math.stanford.edu>
21
22 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23 respect to PR c++/33 into FAILs.
24
98e9c5b8
MC
252003-03-03 Michael Chastain <mec@shout.net>
26
7bedbf27
MC
27 * configure.in: Update copyright years.
28
292003-03-03 Michael Chastain <mec@shout.net>
30
31 * Makefile.in: Update copyright years.
98e9c5b8 32
f683e100
DC
332003-02-28 David Carlton <carlton@math.stanford.edu>
34
35 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
36 print class instead of struct and/or superfluous protection
37 specifiers, as long as the resulting output is equivalent to the
38 source code.
39 Delete FIXME from end of messages on tests that don't need
40 fixing.
41
a9e0cf2c
DC
422003-02-28 David Carlton <carlton@math.stanford.edu>
43
44 * gdb.c++/templates.exp (do_tests): Allow const in the two
45 Foo<volatile char *>::foo tests.
46
e8d359df
MS
472003-02-27 Michael Snyder <msnyder@redhat.com>
48
49 * gdb.base/restore.c (main): Return zero, so exit code
50 will be consistant.
51
0b71dc91
DC
522003-02-26 David Carlton <carlton@math.stanford.edu>
53
54 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
55 char *>::foo" test with respect to PR c++/33. Create a new test
56 which is identical to that one except that it doesn't put the
57 space between the "char" and the "*"; KFAIL it, too.
58
dd14ab43
DC
592003-02-26 David Carlton <carlton@math.stanford.edu>
60
61 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
62 template types into either PASSes or KFAILs (corresponding to PR
63 c++/57). Tweak indentation. Update copyright.
64
1146c7f1
SC
652003-02-23 Stephane Carrez <stcarrez@nerim.fr>
66
67 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
68
74641dfb
MC
692003-02-13 Michael Chastain <mec@shout.net>
70
71 * gdb.base/exprs.exp: Remove i960 remnants.
72 * gdb.base/funcargs.exp: Likewise.
73 * gdb.base/list.exp: Likewise.
74 * gdb.base/ptype.exp: Likewise.
75
559cd2d0
DC
762003-02-14 David Carlton <carlton@math.stanford.edu>
77
78 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
79 pEe->D::vg()" from XFAIL to KFAIL.
80
c4f90d87
JM
812003-02-13 Jason Molenda (jmolenda@apple.com)
82
83 * gdb.base/maint.exp: Update maint print statistics regexp to include
84 new entries.
85
cbc4d97c
MC
862003-02-13 Michael Chastain <mec@shout.net>
87
88 * gdb.c++/inherit.exp: Remove call to get_debug_format.
89
40f235b7
MC
902003-02-12 Michael Chastain <mec@shout.net>
91
92 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
93 * gdb.c++/inherit.exp: Likewise.
94 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
95 * gdb.c++/templates.exp: Likewise.
96 * gdb.c++/virtfunc.exp: Likewise.
97
c56716b0
JM
982003-02-06 Jason Molenda (jason-cl@molenda.com)
99
100 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
101 why the code is written that way.
102
070afcf8
MC
1032003-02-05 Michael Chastain <mec@shout.net>
104
105 * gdb.base/dump.exp: Add missing copyright line.
106
5d0331e5
JM
1072003-02-05 Jason Molenda (jason-cl@molenda.com)
108
f7ae6d3e 109 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
110 at the beginning so the breakpoint doesn't get set on the loop.
111
92851186
MC
1122003-02-05 Michael Chastain <mec@shout.net>
113
114 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
115 output for configurations with gcc 2.95.3.
116
cbf1e085
AC
1172003-02-05 Keith Seitz <keiths@redhat.com>
118 Andrew Cagney <ac131313@redhat.com>
119
120 * gdb.mi/mi-cli.exp: New file.
121
29518e1e
MC
1222003-02-04 Michael Chastain <mec@shout.net>
123
124 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
125 Call perror and then continue.
126
5af1d5f3
MC
1272003-02-03 Michael Chastain <mec@shout.net>
128
129 * gdb.c++/pr-1023.cc: New file.
130 * gdb.c++/pr-1023.exp: New file.
131
6b549786
JB
1322003-02-05 Jim Blandy <jimb@redhat.com>
133
134 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
135 it's local to foobar. Check for it there, and check that it's not
136 present in main.
137 * gdb.c++/local.cc (marker2): New function.
138 (foobar): Call marker1.
139 (main): Call marker2 instead of marker1.
140
67f16606
AC
1412003-02-04 Andrew Cagney <ac131313@redhat.com>
142
143 * gdb.disasm/mn10200.exp: Obsolete file.
144 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
145 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
146 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
147
1c5cb38e
DC
1482003-02-04 David Carlton <carlton@math.stanford.edu>
149
150 * gdb.c++/overload.exp: Test intToChar(1).
151 * gdb.c++/overload.cc (intToChar): New.
152 (main): Call intToChar.
153
d1fe6965
DC
1542003-02-03 David Carlton <carlton@math.stanford.edu>
155
156 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
157 'might_kfail' arg.
158 KFAIL some of the continue_to_bp_overloaded calls, according to
159 PR c++/1025.
160
9ba61c5d
MC
1612003-02-01 Michael Chastain <mec@shout.net>
162
163 * gdb.base/advance.c (marker1): New marker function.
164 * gdb.base/advance.exp: When the 'advance' command lands on the
165 return breakpoint, it can legitimately stop on either the
166 current line or the next line. Accommodate both outcomes.
167 * gdb.base/until.exp: Likewise.
168
e7494ffb
AC
1692003-02-02 Andrew Cagney <ac131313@redhat.com>
170
171 2002-11-10 Jason Molenda (jason-cl@molenda.com):
172 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
173 now a list, not a tuple.
174 * gdb.mi/mi-var-display.exp: Ditto.
175 * gdb.mi/gdb792.exp: Ditto.
176
075559bc
AC
1772003-02-01 Andrew Cagney <ac131313@redhat.com>
178
179 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
180 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
181 stack backtraces.
182 * gdb.mi/mi-syn-frame.c: Part of same.
183
2bd4c7b1
MK
1842003-02-01 Mark Kettenis <kettenis@gnu.org>
185
186 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
187 gdb.mi/mi1-pthreads.exp: Return instead of calling
188 gdb_suppress_entire_file.
189
eabd8992
MS
1902003-02-01 Mark Salter <msalter@redhat.com>
191
192 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
193
71469e2f
MS
1942003-01-31 Mark Salter <msalter@redhat.com>
195
196 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
197 Support empty arg.
198
38a94d44
MC
1992003-01-30 Michael Chastain <mec@shout.net>
200
201 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
202 This was a workaround for a UTF-8 bug in readline 4.3. The bug
203 has been fixed in gdb/readline on 2003-01-09.
204
19ea9e73
MS
2052003-01-29 Michael Snyder <msnyder@redhat.com>
206
e8d359df
MS
207 * gdb.base/maint.exp: Allow for leading underscore in symbol.
208 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
209 * gdb.base/args.exp: Skip if target does not support args passing.
210
2307bd6a
DJ
2112003-01-22 Daniel Jacobowitz <drow@mvista.com>
212
19ea9e73 213 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
214 gdb_test. Accept a list of expect arguments as the third
215 parameter.
216 (gdb_test): Use it.
217
f2dd3617
EZ
2182003-01-20 Elena Zannoni <ezannoni@redhat.com>
219
220 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
221 allow for different test tree configurations. Update some
222 tescases accordingly.
223 * gdb.arch/altivec-regs.exp: Ditto.
224 * gdb.asm/asm-source.exp: Ditto.
225 * gdb.base/advance.exp: Ditto.
226 * gdb.base/display.exp: Ditto.
227 * gdb.base/long_long.exp: Ditto.
228 * gdb.base/mips_pro.exp: Ditto.
229 * gdb.base/overlays.exp: Ditto.
230 * gdb.base/relocate.exp: Ditto.
231 * gdb.base/setshow.exp: Ditto.
232 * gdb.base/step-line.exp: Ditto.
233 * gdb.base/step-test.exp: Ditto.
234 * gdb.base/until.exp: Ditto.
235 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
236
c71cdefd
DC
2372003-01-17 David Carlton <carlton@math.stanford.edu>
238
239 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
240 corresponding to PR c++/945.
241 Update copyright.
242
fdba05d7
DC
2432003-01-17 David Carlton <carlton@math.stanford.edu>
244
245 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
246 corresponding to PR c++/68.
247
2482003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
249
250 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
251 (test_paddr_hairy_functions): Call print_addr_2_kfail for
252 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
253
c362c33a
EZ
2542003-01-15 Elena Zannoni <ezannoni@redhat.com>
255
0fbc361c
EZ
256 * gdb.base/break.exp: Fix change of default location, because of
257 removal of until tests.
258 * gdb.base/help.exp: Update test for new 'until' help message.
259 Add test for help on 'advance'.
c362c33a
EZ
260 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
261
dabf8a35
MK
2622003-01-15 Mark Kettenis <kettenis@gnu.org>
263
264 * gdb.base/default.exp: Adapt "info float" test for recent changes
265 to that command. Add test for "info vector".
266 * gdb.base/float.exp: New file. Add test for "info float" that
267 resembles the old test in gdb.base/default.exp.
268
a1769aca
DC
2692003-01-15 David Carlton <carlton@math.stanford.edu>
270
271 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
272
82025e13
EZ
2732003-01-15 Elena Zannoni <ezannoni@redhat.com>
274
275 * gdb.base/break.exp: Move the tests of until command from here...
276 * gdb.base/until.exp: ... to here. New file. Add other tests.
277 * gdb.base/advance.c: New file.
278 * gdb.base/advance.exp: New file.
279
8f9ab801
EZ
2802003-01-14 Elena Zannoni <ezannoni@redhat.com>
281
282 * gdb.base/args.c: New file.
283 * gdb.base/args.exp: New file.
284
9ae66589
DJ
2852003-01-14 Daniel Jacobowitz <drow@mvista.com>
286
287 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
288
8d77e5c3
DJ
2892003-01-14 Daniel Jacobowitz <drow@mvista.com>
290
291 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
292
12d2f0a1
DJ
2932003-01-14 Daniel Jacobowitz <drow@mvista.com>
294
295 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
296 dates.
297
6ca37014
DJ
2982003-01-13 Daniel Jacobowitz <drow@mvista.com>
299
300 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
301
b0023472
DJ
3022003-01-13 Daniel Jacobowitz <drow@mvista.com>
303
304 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
305 (ptype &*"foo").
306 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
307
d6abaea5
DJ
3082002-01-13 Daniel Jacobowitz <drow@mvista.com>
309
310 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
311 * gdb.mi/mi1-console.exp: Likewise.
312
dfd536a7
DJ
3132002-01-13 Daniel Jacobowitz <drow@mvista.com>
314
315 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
316 * gdb.mi/mi1-console.exp: Likewise.
317
a1fb14a2
DJ
3182003-01-13 Daniel Jacobowitz <drow@mvista.com>
319
320 * gdb.c++/overload.exp: Remove some fixed XFAILs.
321
c4cf40b7
DJ
3222003-01-09 Daniel Jacobowitz <drow@mvista.com>
323
324 * gdb.base/detach.exp: New test.
325
696d5a5b
DJ
3262003-01-09 Daniel Jacobowitz <drow@mvista.com>
327
328 * Makefile.in (ALL_SUBDIRS): New variable.
329 (subdirs, clean, distclean): Use it.
330 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
331 regenerating Makefile, since it is generated from the top level.
332 * gdb.asm/Makefile.in: Likewise.
333 * gdb.base/Makefile.in: Likewise.
334 * gdb.c++/Makefile.in: Likewise.
335 * gdb.disasm/Makefile.in: Likewise.
336 * gdb.java/Makefile.in: Likewise.
337 * gdb.mi/Makefile.in: Likewise.
338 * gdb.threads/Makefile.in: Likewise.
339 * gdb.trace/Makefile.in: Likewise.
340
754533e4
DC
3412003-01-09 David Carlton <carlton@math.stanford.edu>
342
343 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
344 Add copyright year 2003.
345
d8b3e9ee
MC
3462003-01-06 Michael Chastain <mec@shout.net>
347
348 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
349 When selecting a thread, 'line' and 'file' are optional.
350 * gdb.mi/mi1-pthreads.exp: Likewise.
351
8e9e0fe6
AS
3522003-01-06 Andreas Schwab <schwab@suse.de>
353
354 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
355 failures.
356
b5ab8ff3
DJ
3572003-01-04 Daniel Jacobowitz <drow@mvista.com>
358
359 Fix PR gdb/844
360 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
361 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
362
363 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
364 instead of calling gdb_suppress_entire_file.
365 * gdb.threads/print-threads.exp: Likewise.
366 * gdb.threads/schedlock.exp: Likewise.
367
368 * gdb.threads/killed.exp: Return instead of calling
369 gdb_suppress_entire_file.
370 * gdb.threads/linux-dp.exp: Likewise.
371 * gdb.threads/pthreads.exp: Likewise.
372
1e698235
DJ
3732003-01-04 Daniel Jacobowitz <drow@mvista.com>
374
375 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
376 stabs.
377 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
378 * gdb.base/whatis.exp: Always allow (void) after function names.
379
147ff08c
DJ
3802003-01-04 Daniel Jacobowitz <drow@mvista.com>
381
382 * gdb.c++/casts.exp: Correct regexp.
383
dc62bfc2
MK
3842003-01-04 Mark Kettenis <kettenis@gnu.org>
385
386 * configure.in: Call AC_CONFIG_HEADER. Don't call
387 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
388 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
389 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
390 aforementioned directories in the AC_OUPUT call.
391 * config.hin: New file.
392 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
393 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
394 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
395 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
396 pass -I$objdir instead of -I$objdir/$subdir in compilation.
397 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
398 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
399 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
400 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
401 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
402 gdb.threads/configure.in, gdb.threads/configure,
403 gdb.threads/config.in, gdb.trace/configure.in,
404 gdb.trace/configure: Removed.
405
77afa639
MC
4062003-01-03 Michael Chastain <mec@shout.net>
407
408 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
409 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
410
7634bb6e
DJ
4112003-01-03 Daniel Jacobowitz <drow@mvista.com>
412
413 * gdb.base/store.exp: Fix regular expressions.
414
b39c905e
MK
4152002-12-28 Mark Kettenis <kettenis@gnu.org>
416
417 * configure.in: Rewrite.
418 * configure: Regenerated.
419
0a8551dd
DC
4202003-01-03 David Carlton <carlton@math.stanford.edu>
421
422 * gdb.base/psymtab.exp: New file.
423 * gdb.base/psymtab1.c: Ditto.
424 * gdb.base/psymtab2.c: Ditto.
425
c60b7188
AF
4262002-12-23 Adam Fedor <fedor@gnu.org>
427
428 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
429
ee73db83
DC
4302002-12-23 David Carlton <carlton@math.stanford.edu>
431
432 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
433 and current_directory initialization.
434
d6c1774e
JB
4352002-12-22 Jim Blandy <jimb@redhat.com>
436
f0a847b8
JB
437 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
438 rather than as part of the output file name.
439
d6c1774e
JB
440 * gdb.base/attach.exp: There's no need to copy the test program to
441 /tmp; that was only ever necessary on HP/UX, and this test is
442 entirely disabled there anyway.
443
f0708dbb
JB
4442002-12-21 Jim Blandy <jimb@redhat.com>
445
4c2acfea
JB
446 * gdb.c++/psmang.exp: Doc fix.
447
f0708dbb
JB
448 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
449 test.
450
9579e000
DC
4512002-12-20 David Carlton <carlton@math.stanford.edu>
452
453 * gdb.c++/annota2.exp: KFAIL annotate-quit.
454
d1810171
MC
4552002-12-18 Michael Chastain <mec@shout.net>
456
457 * gdb.c++/annota2.exp: Add copyright year 2002.
458
76565097
DC
4592002-12-17 David Carlton <carlton@math.stanford.edu>
460
461 * gdb.c++/try_catch.cc: Add marker comments.
462 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
463 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
464 * gdb.c++/m-static.cc: Ditto.
465 * gdb.c++/m-static1.cc: Ditto.
466 * gdb.c++/try_catch.cc: Ditto.
467
da81390b
JJ
4682002-12-16 Jeff Johnston <jjohnstn@redhat.com>
469
470 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
471 to see whether we are using the new -environment-directory
472 command which resets via -r or the old version of the command
473 which may prompt the user. Part of fix for gdb/741.
474
b304d130
AC
4752002-12-13 Andrew Cagney <ac131313@redhat.com>
476
477 * gdb.fortran/types.exp: Update obsolete comment.
478 * gdb.fortran/exprs.exp: Ditto.
479 * lib/gdb.exp: Delete obsolete code.
480 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
481 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
482 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
483 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
484 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
485 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
486 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
487 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
488 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
489 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
490 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
491 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
492 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
493 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
494 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
495 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
496 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
497 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
498 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
499 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
500 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
501 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
502 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
503 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
504 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
505 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
506 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
507 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
508 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
509 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
510 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
511 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
512 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
513 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
514 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
515 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
516 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
517
a23b6e6a
DC
5182002-12-11 David Carlton <carlton@math.stanford.edu>
519
520 * gdb.c++/m-data.exp: Add test for members that shadow global
521 variables: see PR gdb/804.
522 * gdb.c++/m-data.cc: Ditto.
523
6604731b
DJ
5242002-12-10 Daniel Jacobowitz <drow@mvista.com>
525
526 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
527
de46ecd7
DC
5282002-12-06 David Carlton <carlton@math.stanford.edu>
529
530 * gdb.base/store.c: Don't declare functions static.
531
27e829d0
AC
5322002-12-04 Andrew Cagney <ac131313@redhat.com>
533
534 * gdb.base/store.exp, gdb.base/store.c: New files.
535
92806416
DJ
5362002-12-03 Daniel Jacobowitz <drow@mvista.com>
537
538 * gdb.base/selftest.exp: Update for current gdb.
539
3bcbaac5
DJ
5402002-12-03 Daniel Jacobowitz <drow@mvista.com>
541
542 * gdb.base/maint.exp: Only dump symbols from one source file
543 or objfile.
544
f4f00b1f
DJ
5452002-12-03 Daniel Jacobowitz <drow@mvista.com>
546
547 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
548 function call.
549
f1c8a949
JB
5502002-11-25 Jim Blandy <jimb@redhat.com>
551
552 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
553 function appearing in error message.
554
9e297a97
DJ
5552002-11-21 Daniel Jacobowitz <drow@mvista.com>
556
557 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
558
1f312e79
JJ
5592002-11-08 Jeff Johnston <jjohnstn@redhat.com>
560
561 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
562 for mi1 and current mi is in correct format. New mi startup message
563 should be in mi console format. This is part of fix for PR gdb/604.
564
83c31e7d
FN
5652002-09-18 Fernando Nasser <fnasser@redhat.com>
566
567 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
568 which explicitly prints the zero offset as "+0".
569
322b3f65
DJ
5702002-10-22 Daniel Jacobowitz <drow@mvista.com>
571
572 * gdb.threads/schedlock.c (args): Make unsigned.
573
5742002-10-21 Daniel Jacobowitz <drow@mvista.com>
575
576 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
577 numbers. Allow "foo2|selected stack frame".
578 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
579 * gdb.asm/asmsrc2.s: Likewise.
580 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
581 comments.
582 * gdb.asm/mips.inc: New file.
583
5e2fe5b8
AF
5842002-10-18 Adam Fedor <fedor@gnu.org>
585
586 * gdb.base/default.exp: Update expected output to include 'ObjC'.
587 * gdb.base/help.exp: Likewise.
588
abe1a5d0
KB
5892002-10-17 Kevin Buettner <kevinb@redhat.com>
590
591 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
592 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
593
10abb1d4
JB
5942002-10-02 Jim Blandy <jimb@redhat.com>
595
596 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
597
1f609b42
AC
5982002-10-01 Andrew Cagney <ac131313@redhat.com>
599
600 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
601 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
602 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
603 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
604 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
605 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
606 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
607
0aee02e4
AC
6082002-09-29 Andrew Cagney <ac131313@redhat.com>
609
610 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
611 * mi0-disassemble.exp, mi0-eval.exp: Delete.
612 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
613 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
614 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
615 * mi0-var-block.exp, mi0-var-child.exp: Delete.
616 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
617
6fde09ad
KB
6182002-09-27 Kevin Buettner <kevinb@redhat.com>
619
620 * gdb.base/annota1.exp (info break): Make directory components of
621 path optional since not all compilers emit this debug information.
622
623 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
624 step ends up stepping out of the function instead of stopping on
625 the epilogue.
626
9e8aab75
KS
6272002-09-26 Keith Seitz <keiths@redhat.com>
628
629 * lib/insight-support.exp (gdbtk_start): Figure out where
630 the insight executable is based on where gdb is. Use this
631 executable to start insight instead of gdb.
632
e36180d7
AC
6332002-09-25 Andrew Cagney <cagney@redhat.com>
634
635 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
636
9dd34b2b
AC
6372002-09-24 Andrew Cagney <ac131313@redhat.com>
638
639 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
640 test_isolated_complaints.
641 (test_empty_complaint): New function.
642 (test_empty_complaints): New function. Check no output when no
643 complaints.
644
dea97812
KB
6452002-09-19 Jim Blandy <jimb@redhat.com>
646
647 * gdb.base/charset.exp, gdb.base/charset.c: New files.
648
54951bd7
AC
6492002-09-19 Andrew Cagney <ac131313@redhat.com>
650
651 * gdb.gdb/complaints.exp: New file.
652
dec43320
AC
6532002-09-18 Andrew Cagney <ac131313@redhat.com>
654
655 * gdb.base/maint.exp: Check `help maint internal-warning'.
656
e70d6e3f
DC
6572002-09-18 David Carlton <carlton@math.stanford.edu>
658
659 * gdb.c++/m-static.exp: Remove breakpoints depending on line
660 numbers, and replace them by a single breakpoint after the
661 constructors are all finished.
662 Add test 4.
663 * gdb.c++/m-static.cc: Add test 4.
664 * gdb.c++/m-static.h: New file.
665 * gdb.c++/m-static1.cc: New file.
666
667 * gdb.c++/printmethod.exp: New file.
668 * gdb.c++/printmethod.cc: New file.
669
670 * gdb.c++/pr-574.exp: New file.
671 * gdb.c++/pr-574.cc: New file.
672
afb5c968
CV
6732002-09-18 Corinna Vinschen <vinschen@redhat.com>
674
675 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
676 embedded targets which never actually exit.
677
31e45dee
FN
6782002-09-18 Fernando Nasser <fnasser@redhat.com>
679
680 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
681 "don't step after run" as unresolved or unsupported, instead of xfail.
682
a283c5a1
CV
6832002-09-18 Corinna Vinschen <vinschen@redhat.com>
684
685 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
686 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
687 Add newline to expected string in "step out of main (status wrapper)"
688 case.
689
11350d2a
CV
6902002-09-18 Corinna Vinschen <vinschen@redhat.com>
691
692 * lib/gdb.exp (rerun_to_main): Allow restarting application.
693 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
694
0deec7d6
TT
6952002-09-17 Tom Tromey <tromey@redhat.com>
696
697 * gdb.base/printcmds.exp (test_print_string_constants): Expect
698 \000, not \0, in double-quoted string.
699
b2b4a1b5
CV
7002002-09-14 Corinna Vinschen <vinschen@redhat.com>
701
702 * gdb.base/command.exp: Don't expect a "Program exited normally"
703 string after running the commands execution on breakpoint tests.
704
1c56143a
CV
7052002-09-13 Corinna Vinschen <vinschen@redhat.com>
706
707 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
708
37f8da45
JB
7092002-09-12 Joel Brobecker <brobecker@gnat.com>
710
711 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
712
08b468e0
KS
7132002-09-10 Keith Seitz <keiths@redhat.com>
714
715 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
716 runto proc.
717 (mi_run_to_main): Use mi_runto.
718 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
719
dc360f58
KS
7202002-09-10 Keith Seitz <keiths@redhat.com>
721
722 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
723 regexp for stopping at main. Could have multiple event notifications.
724 Don't assume that main was declared with no parameters.
725 (mi_next): Use mi_step_to.
726 (mi_step): Use mi_next_to.
727
ce3abcfb
CV
7282002-09-09 Corinna Vinschen <vinschen@redhat.com>
729
730 * gdb.base/default.exp: Fix expected string in `info float' test.
731
d1f5b980
BE
7322002-09-09 Ben Elliston <bje@redhat.com>
733
734 * config/mips.exp: Update comments.
735 * config/mips-idt.exp: Likewise.
736 * config/nind.exp: Likewise.
737 * config/slite.exp: Likewise.
738 * config/sparclet.exp: Likewise.
739 * config/udi.exp: Likewise.
740 * config/vx.exp: Likewise.
741 * config/vxworks29k.exp: Likewise.
742
2f71430b
JB
7432002-09-05 Jim Blandy <jimb@redhat.com>
744
745 * gdb.threads/killed.exp: Fix test failure message.
746
7ddebc7e
KS
7472002-09-04 Keith Seitz <keiths@redhat.com>
748
749 * lib/mi-support.exp: Update copyright.
750 (mi_gdb_test): Increase the priority of the expected pattern
751 so that it matches gdb_test.
752
0ae67eb3
KS
7532002-09-03 Keith Seitz <keiths@redhat.com>
754
755 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
756 Use integer comparison instead of string comparison for testing
757 whether binary was built.
758
38fc42c8
JB
7592002-09-03 Jim Blandy <jimb@redhat.com>
760
761 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
762
b6ff0e81
JB
7632002-08-29 Jim Blandy <jimb@redhat.com>
764
765 * gdb.threads/pthreads.exp: Move the portable thread compilation
766 code into a function in lib/gdb.exp, and call that from here.
767 * lib/gdb.exp (gdb_compile_pthreads): New function.
768
07c98896
KS
7692002-08-29 Keith Seitz <keiths@redhat.com>
770
771 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
772 expect_out so that callers can get at it.
773
0312286c
DJ
7742002-08-23 Daniel Jacobowitz <drow@mvista.com>
775
776 * gdb.threads/print-threads.c: New file.
777 * gdb.threads/print-threads.exp: New file.
778 * gdb.threads/schedlock.c: New file.
779 * gdb.threads/schedlock.exp: New file.
780
dd039bc4
EZ
7812002-08-22 Elena Zannoni <ezannoni@redhat.com>
782
783 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
784 not altivec.c.
785
1f36144c
MK
7862002-08-17 Mark Kettenis <kettenis@gnu.org>
787
788 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
789 targets. The problem should be fixed now.
790
16057ec7 7912002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
792
793 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
794 2002-07-24 change that removes final dots from error messages.
795
3c1499ad
TT
7962002-08-13 Tom Tromey <tromey@redhat.com>
797
798 * gdb.base/readline.exp: New file.
799
a20ce2c3
AC
8002002-08-01 Andrew Cagney <ac131313@redhat.com>
801
802 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
803 supress message.
804
db034ac5
AC
8052002-08-01 Andrew Cagney <cagney@redhat.com>
806
807 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
808 CHILL_FOR_TARGET and CHILL_LIB.
809 * configure.in (configdirs): Remove gdb.chill.
810 * configure: Regenerate.
811 * lib/gdb.exp: Obsolete references to chill.
812 * gdb.fortran/types.exp: Ditto.
813 * gdb.fortran/exprs.exp: Ditto.
814
3e000b18
KB
8152002-07-30 Kevin Buettner <kevinb@redhat.com>
816
817 * gdb.base/shlib-call.exp (additional_flags): Conditionally
818 set Irix-specific compile and link flags.
819
28f4966b
KB
8202002-07-29 Kevin Buettner <kevinb@redhat.com>
821
822 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
823 source files. The ``-o'' option doesn't work with the ``-E'' option
824 when using the Irix compiler.
825
46c0d5a6
DJ
8262002-07-19 Daniel Jacobowitz <drow@mvista.com>
827
828 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
829 Improve support for reusing an exec file. Copy exec file
830 to target, and run gdbserver on the target instead of on the host.
831
eecf4bed
JB
8322002-07-18 Jim Blandy <jimb@redhat.com>
833
0f815cdf
JB
834 * gdb.base/ending-run.exp: Don't expect to see the program end in
835 some orderly fashion when we're running on a real stand-alone
836 board.
837
eecf4bed
JB
838 * gdb.base/interrupt.exp: Correct logic for skipping tests on
839 targets that don't support interrupts.
840
52d309e4
JB
8412002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
842
843 * gdb.base/attach.exp: Add patterns to match output from /proc-based
844 systems.
845 Move comments in expect statements to inside the actions, so that they
846 don't get matched against.
847
ff683d9e
MK
8482002-07-10 Mark Kettenis <kettenis@gnu.org>
849
850 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
851 function when asleep" test.
852
b5356753
AC
8532002-07-10 Andrew Cagney <ac131313@redhat.com>
854
855 * gdb.base/page.exp: Rewrite to handle problems with very long
856 `info set' output. Update copyright.
857
6aa4d13a
AC
8582002-06-26 Andrew Cagney <ac131313@redhat.com>
859
860 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
861 gdb.threads-hp.
862 * gdb.hp/configure: Regenerate.
863 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
864 * gdb.hp/gdb.threads-hp/configure: Delete file.
865 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
866
8cf8c2b8
AC
8672002-06-22 Andrew Cagney <ac131313@redhat.com>
868
869 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
870 setlocale, bindtextdomain and textdomain.
871
6827a8f8
JB
8722002-06-11 Jim Blandy <jimb@redhat.com>
873
919d772c
JB
874 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
875 preprocessor macro information is present.
876
6827a8f8
JB
877 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
878 tests.
879
c15b0d21
MS
8802002-06-06 Michael Snyder <msnyder@redhat.com>
881
c5984d70
MS
882 * gdb.base/overlays.exp: Record addresses of overlay
883 functions in TCL variables rather than in GDB variables,
884 to avoid having GDB convert them to pointers (with loss
885 of information).
886
99a8512b
MS
887 * gdb.base/d10v.ld: Merge in several years worth of
888 default linker script changes.
c15b0d21
MS
889 * gdb.base/long_long.exp: Add check for sizeof (long double).
890
be26fe0d
ML
8912002-06-06 Michal Ludvig <mludvig@suse.cz>
892
893 * gdb.asm/asm-source.exp: Add x86-64 target.
894 * gdb.asm/x86_64.inc: New.
895
258093ca 8962002-05-30 Michael Chastain <mec@shout.net>
258093ca 897
4b3153f1 898 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
899 * gdb.c++/m-static.cc: New file.
900 * gdb.c++/m-static.exp: New file.
901
241264c6
MS
9022002-05-28 Michael Snyder <msnyder@redhat.com>
903
904 * gdb.base/call-ar-st.exp: Allow for reduced floating point
905 precision.
906
9bba8c8f 9072002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 908
4b3153f1 909 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
910 * gdb.c++/m-data.cc: New file.
911 * gdb.c++/m-data.exp: New file.
912
9132002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 914
4b3153f1 915 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
916 * gdb.c++/try_catch.cc: New file.
917 * gdb.c++/try_catch.exp: New file.
918
def1b996
MC
9192002-05-27 Michael Chastain <mec@shout.net>
920
921 * gdb.c++/local.exp: Accept more nested types in output.
922
522ba268
MC
9232002-05-26 Michael Chastain <mec@shout.net>
924
925 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
926
277254ba
MS
9272002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
928
929 * lib/gdb.exp (gdb_wrapper_init): Just because
930 gdb_wrapper_file exists, this does not mean that the file
931 should not be rebuilt. That is what gdb_wrapper_initialized
932 is for.
933 (default_gdb_init): Reset gdb_wrapper_initialized.
934
b61a8733
MS
9352002-05-23 Michael Snyder <msnyder@redhat.com>
936
5bdb6d01
MS
937 * gdb.base/all-bin.exp: Revise previous patch by just reducing
938 the precision of the floating point test results.
939 * gdb.base/call-rt-st.exp: Ditto.
940
b61a8733
MS
941 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
942 * gdb.base/call-rt-st.exp: Ditto.
943
56f6e910
MC
9442002-05-19 Michael Chastain <mec@shout.net>
945
946 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
947
ad0b0016
EZ
9482002-05-19 Elena Zannoni <ezannoni@redhat.com>
949
950 * configure.in (configdirs): Add gdb.arch.
951 * configure: Regenerate.
952
f617d2b6
JB
9532002-05-17 Jim Blandy <jimb@redhat.com>
954
955 * gdb.base/completion.exp: Recognize the more detailed error
956 messages produced by the macro expander's lexical analyzer.
957
eac2a696
EZ
9582002-05-14 Elena Zannoni <ezannoni@redhat.com>
959
960 * gdb.arch/altivec-abi.c: New file.
961 * gdb.arch/altivec-abi.exp: New file.
962 * gdb.arch/altivec-regs.c: New file.
963 * gdb.arch/altivec-regs.exp: New file.
964
2fdde8f8
DJ
9652002-05-14 Daniel Jacobowitz <drow@mvista.com>
966
967 * gdb.base/maint.exp (maint print type): Update for new type
968 structure.
eac2a696 969
e31f1a7c
EZ
9702002-05-14 Elena Zannoni <ezannoni@redhat.com>
971
972 * gdb.arch: New directory.
973 * gdb.arch/configure.in: New file.
974 * gdb.arch/configure: New file.
975 * gdb.arch/Makefile.in: New file.
976
db589741
CV
9772002-05-13 Corinna Vinschen <vinschen@redhat.com>
978
979 * gdb.asm/asm-source.exp: Add v850 as supported target.
980 * gdb.asm/v850.inc: New file.
981
8ce2a7dc
DJ
9822002-05-13 Daniel Jacobowitz <drow@mvista.com>
983
984 * gdb.c++/annota2.exp (annotate-quit): Add comment.
985
df763c7f
DJ
9862002-05-12 Daniel Jacobowitz <drow@mvista.com>
987
988 * gdb.base/break.exp: Check 'break "marker2"'.
989
377daeed
MS
9902002-05-10 Michael Snyder <msnyder@redhat.com>
991
992 * gdb.base/long_long.exp: Fix typo.
993
c4b7bc2b
JB
9942002-05-10 Jim Blandy <jimb@redhat.com>
995
ecac9a4e
JB
996 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
997 a bug.
998
c4b7bc2b
JB
999 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1000 Recognize more detailed error message produced by the macro
1001 expander's lexical analyzer.
1002 * lib/gdb.exp (test_print_reject): Same.
1003
e71019a1
MK
10042002-05-09 Mark Kettenis <kettenis@gnu.org>
1005
1006 * gdb.c++/method.exp: Fix typo.
1007
fedfc8e6
MS
10082002-05-08 Michael Snyder <msnyder@redhat.com>
1009
166a1957
MS
1010 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1011 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1012 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1013 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1014 Add iftarget clause for strongarm.
1015
f1c47eb2
MS
10162002-05-06 Michael Snyder <msnyder@redhat.com>
1017
cb9a9d3e
MS
1018 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1019 (gdb_continue_to_end): Accept output from status wrapper.
1020 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1021 Clean up fail messages to match pass messages.
1022
f1c47eb2
MS
1023 Enable the "needs_status_wrapper" testsuite feature.
1024 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1025 (gdb_compile): Conditionally call gdb_wrapper_init.
1026 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1027 * gdb.c++/method.exp: Recognize output from status wrapper.
1028
6079c749
BE
10292002-05-06 Ben Elliston <bje@redhat.com>
1030From Graydon Hoare <graydon@redhat.com>
1031
1032 * config/sid.exp: Include support for "rawsid" protocol.
1033
188baff3
JB
10342002-05-03 Jim Blandy <jimb@redhat.com>
1035
1036 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1037 * gdb.c++/hang3.C: New file.
1038
b9c07f0f
AC
10392002-05-04 Andrew Cagney <ac131313@redhat.com>
1040
1041 * gdb.base/default.exp: Remove obsolete code.
1042 * gdb.c++/misc.exp: Ditto. Update copyright.
1043 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1044 * gdb.base/whatis.exp: Ditto. Update copyright.
1045 * gdb.base/scope.exp: Ditto. Update copyright.
1046 * gdb.base/ptype.exp: Ditto. Update copyright.
1047 * gdb.base/printcmds.exp: Ditto. Update copyright.
1048 * gdb.base/opaque.exp: Ditto. Update copyright.
1049 * gdb.base/list.exp: Ditto.
1050 * gdb.base/funcargs.exp: Ditto. Update copyright.
1051 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1052 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1053 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1054 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1055 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1056 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1057
5c7a0397
MS
10582002-05-02 Michael Snyder <msnyder@redhat.com>
1059
d6dcc264 1060 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1061 * gdb.base/long_long.exp: Add xscale target.
1062 * gdb.base/default.exp: Add xscale target.
1063
eb7f1c48
JB
10642002-05-01 Jim Blandy <jimb@redhat.com>
1065
1066 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1067 gdb.c++/hang.exp: New test.
1068
a6befae8
FF
10692002-05-01 Fred Fish <fnf@redhat.com>
1070
1071 * gdb.base/completion.exp: Handle completions of "./Make" for
1072 more than one completion possibility, as is the case when we
1073 build and test in the source tree.
1074
0a310277
AG
10752002-04-29 Anthony Green <green@redhat.com>
1076
1077 * gdb.java/jmisc1.exp: New file.
1078 * gdb.java/jmisc2.exp: New file.
1079
6ff9af88
DJ
10802002-04-24 Daniel Jacobowitz <drow@mvista.com>
1081
1082 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1083
96b3d632
EZ
10842002-04-23 Elena Zannoni <ezannoni@redhat.com>
1085
1086 * gdb.base/help.exp: Change 'help status' to allow for target
1087 dependent output differences.
1088
5019bb54
MC
10892002-04-22 Michael Chastain <mec@shout.net>
1090
1091 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1092
a805a116
MC
10932002-04-22 Michael Chastain <mec@shout.net>
1094
1095 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1096
a1706bfd
DM
10972002-04-17 David S. Miller <davem@redhat.com>
1098
1099 * gdb.asm/sparc64.inc: New file.
1100 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1101
a73a20a2
EZ
11022002-04-19 Elena Zannoni <ezannoni@redhat.com>
1103
1104 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1105 instruction file directly into the build tree. Clean up at end of
1106 test.
1107
ba678339
DM
11082002-04-18 David S. Miller <davem@redhat.com>
1109
1110 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1111 handle 64-bit platforms correctly.
1112 * gdb.base/maint.exp: Likewise.
1113
b03399da
KB
11142002-04-18 Kevin Buettner <kevinb@redhat.com>
1115
1116 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1117 ``-fpic'' when compiling files comprising a shared library, but
1118 it does need additional linker flags in order to find shared
1119 libraries at run time.
1120
e2004992
KB
11212002-04-18 Kevin Buettner <kevinb@redhat.com>
1122
1123 * gdb.base/cvexpr.c (use): New function.
1124 (main): Invoke use() on all global variables to prevent
1125 some linkers from deleting these otherwise unused symbols.
1126
d8937120
MC
11272002-04-17 Michael Chastain <mec@shout.net>
1128From David S. Miller <davem@redhat.com>
1129
1130 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1131 handle 64-bit platforms correctly.
1132
ffd61a58
MS
11332002-04-12 Michael Snyder <msnyder@redhat.com>
1134From Jim Blandy <jimb@redhat.com>
1135 * gdb.base/foo.c (foox): Remove section attribute; the linker
1136 script can handle this instead.
1137 * gdb.base/bar.c (barx): Same.
1138 * gdb.base/baz.c (bazx): Same.
1139 * gdb.base/grbx.c (grbxx): Same.
1140
1141 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1142 manager doesn't automatically unmap overlays unnecessarily.
1143
6b8426a6
MH
11442002-04-10 Martin M. Hunt <hunt@redhat.com>
1145
1146 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1147 stepping out of main.
1148
34af4875
MC
11492002-04-09 Michael Chastain <mec@shout.net>
1150
1151 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1152 scope so that the nested scope tests will make sense.
1153 * gdb.c++/local.exp: Write patterns that actually work with gcc
1154 (the HP patterns "were never known to work with gcc").
1155 Keep the old aCC patterns too.
1156
2d1676a0
DJ
11572002-04-09 Daniel Jacobowitz <drow@mvista.com>
1158
1159 * gdb.base/attach.exp: Correct target board test.
1160
3a63e3f9
MC
11612002-04-08 Michael Chastain <mec@shout.net>
1162
1163 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1164 in a const method. Add some xfail and fail cases for configurations
1165 that do not emit the "const ...".
1166
f18dabd2
MC
11672002-04-07 Michael Chastain <mec@shout.net>
1168
1169 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1170 Accept "A * const" and "const A * const" as type of "this".
1171 Fix spelling of getFunky throughout. Make messages uniform.
1172
0fcddd82
EZ
11732002-04-07 Elena Zannoni <ezannoni@redhat.com>
1174
1175 Work around for PR gdb/285:
1176 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1177
16a8534a
EZ
11782002-04-07 Elena Zannoni <ezannoni@redhat.com>
1179
1180 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1181 instructions file at run time instead of configure time.
1182 Sometimes we run the test in a directory that is not the one we
1183 configured in.
1184 * gdb.asm/configure.in: Delete creation of symlink.
1185 * gdb.asm/configure: Regenerate.
1186
24181d81
JB
11872002-04-05 J. Brobecker <brobecker@gnat.com>
1188
1189 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1190 xfullpath () function.
1191
7cdb7107
DJ
11922002-04-04 Daniel Jacobowitz <drow@mvista.com>
1193
1194 * gdb.asm/Makefile.in: Correct dependencies.
1195
1196 * gdb.asm/powerpc.inc: New file.
1197 * gdb.asm/asm-source.exp: Add PowerPC.
1198 * gdb.asm/configure.in: Likewise.
1199 * gdb.asm/configure: Regenerated.
1200
a7d17088
DJ
12012002-04-04 Daniel Jacobowitz <drow@mvista.com>
1202
1203 * gdb.base/relocate.exp: New file.
1204 * gdb.base/relocate.c: New file.
1205
cd721503
FF
12062002-04-04 Fred Fish <fnf@redhat.com>
1207
1208 * gdb.base/step-test.exp: Update comment regarding stopping in
1209 memcpy/bcopy calls inserted as part of the compiler runtime.
1210
b22ad7a7
MS
12112002-04-04 Michael Snyder <msnyder@redhat.com>
1212
1213 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1214
5f279fa6
DJ
12152002-04-03 Daniel Jacobowitz <drow@mvista.com>
1216
1217 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1218 (gdb_expect): Remove $notransfer hack.
1219
dd0fd3ce
DJ
12202002-04-02 Daniel Jacobowitz <drow@mvista.com>
1221
1222 * gdb.c++/classes.exp ("calling method for small class"): Match
1223 updated register output.
1224
1e50cda1
DJ
12252002-03-30 Daniel Jacobowitz <drow@mvista.com>
1226
1227 Fix PR gdb/452
1228 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1229 when finished. Make gdb_file_cmd send "exec-file" when
1230 appropriate.
1231
24015922
DJ
12322002-03-30 Daniel Jacobowitz <drow@mvista.com>
1233
1234 * gdb.base/attach.exp: Remove extra setup_xfail.
1235
dd7dfd64
MS
12362002-03-26 Michael Snyder <msnyder@redhat.com>
1237
1238 * gdb.base/default.exp: Add tests for dump, append, and restore.
1239 * gdb.base/help.exp: Add tests for dump, append, and restore.
1240 * gdb.base/dump.exp: New file, test dump, append and restore.
1241 * gdb.base/dump.c: New file.
1242
48b2f8d7
MS
12432002-03-27 Michael Snyder <msnyder@redhat.com>
1244
1245 * gdb.base/help.exp: Modify expect strings to reflect
1246 clean-ups in help messages.
1247
05b4d525
FF
12482002-03-26 Fred Fish <fnf@redhat.com>
1249
1250 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1251 have debugging info for those functions and the compiler uses them
1252 internally to copy structs around.
1253
d7679631
FF
12542002-03-26 Fred Fish <fnf@redhat.com>
1255
1256 * gdb.base/list.exp: Revert the change made yesterday and add note
1257 about why we don't list the default lines for remote targets.
1258
523ac3f9
MS
12592002-03-25 Michael Snyder <msnyder@redhat.com>
1260
1261 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1262
754b2b8d
FF
12632002-03-25 Fred Fish <fnf@redhat.com>
1264
1265 * gdb.base/list.exp: This test works on remote targets so remove
1266 the short circuit for remote targets. Update copyright.
1267
33c3e192
FF
12682002-03-25 Fred Fish <fnf@redhat.com>
1269
1270 * gdb.base/attach.exp: Fix logic error that was suppressing this
1271 test for all non hppa*-*-hpux* targets, instead of the hp target.
1272 Move comments closer to the suppression point. Also now need to
1273 check that we are running natively.
1274
d43e73ee
MS
12752002-03-22 Michael Snyder <msnyder@redhat.com>
1276
882c8f02
MS
1277 * gdb.base/default.exp: Add test for gcore. Update copyright.
1278 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1279
04c12f60
FF
12802002-03-06 Fred Fish <fnf@redhat.com>
1281
1282 * gdb.base/funcargs.c: Remove extraneous ';' character.
1283 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1284
b43df995
MC
12852002-03-04 Michael Chastain <mec@shout.net>
1286
1287 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1288 accommodate gcc v3 function signature.
1289 * gdb.mi/mi0-var-cmd-exp: Ditto.
1290
92362027
AC
12912002-02-24 Andrew Cagney <ac131313@redhat.com>
1292
1293 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1294 ``GNU/Linux'' or ``Linux kernel''
1295 * testsuite/gdb.threads/pthreads.c: Ditto.
1296
258ad32d
MC
12972002-02-24 Michael Chastain <mec@shout.net>
1298
1299 * gdb.threads/pthreads.c (thread1): Add a return statement.
1300 (thread2): Likewise.
1301 (foo): Likewise.
1302
04c3b3d4
MC
13032002-02-23 Michael Chastain <mec@shout.net>
1304
1305 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1306 to placate gcc.
1307
5a2a0a20
MC
13082002-02-23 Michael Chastain <mec@shout.net>
1309
1310 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1311 test "ptype bint". The test passes on all my stabs configurations.
1312
a640f7fc
JB
13132002-02-21 Jim Blandy <jimb@redhat.com>
1314
27924826
JB
1315 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1316 filename at a time, and watch for the ones we want to see.
1317
a640f7fc
JB
1318 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1319 types of pointers to prototyped functions.
1320
edcc8c75
AC
13212002-02-20 Andrew Cagney <ac131313@redhat.com>
1322
1323 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1324 signed, unsigned and straight char.
1325 (padding_char, padding_short, padding_int, padding_long,
1326 padding_long_long, padding_float, padding_double,
1327 padding_long_double): New global variables.
1328 (fill, fill_structs): New functions.
1329
1330 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1331 for correctly sized writes. Update copyright.
1332 (get_valueof): New procedure.
1333 (get_sizeof): Call get_valueof.
1334 (check_valueof): New procedure.
1335 (check_padding): New procedure.
1336
ac57ea44
MC
13372002-02-20 Michael Chastain <mec@shout.net>
1338
1339 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1340 to setup_xfail. Document some of the remaining calls.
1341
7a10c941
MC
13422002-02-18 Michael Chastain <mec@shout.net>
1343
1344 * gdb.c++/userdef.exp: Update copyright year.
1345
fb8acdcc
DJ
13462002-02-18 Daniel Jacobowitz <drow@mvista.com>
1347
1348 * gdb.c++/userdef.exp: Test overloaded operators properly.
1349 Remove xfails.
1350
fda6ae12
MS
13512002-02-14 Michael Snyder <msnyder@redhat.com>
1352
1353 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1354
676a0442
DJ
13552002-02-14 Daniel Jacobowitz <drow@mvista.com>
1356
1357 * gdb.base/a2-run.exp: Check for a remote target properly.
1358 * gdb.base/annota1.exp: Likewise.
1359 * gdb.base/list.exp: Likewise.
1360 * gdb.base/reread.exp: Likewise.
1361 * gdb.base/scope.exp: Likewise.
1362 * gdb.base/shlib-call.exp: Likewise.
1363 * gdb.base/term.exp: Likewise.
1364 * gdb.c++/annota2.exp: Likewise.
1365
78b4f468
RE
13662002-02-13 Richard Earnshaw <rearnsha@arm.com>
1367
1368 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1369
9a81ba51
MC
13702002-02-10 Michael Chastain <mec@shout.net>
1371
1372 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1373 (call_after_alloca): Ditto.
1374
004af6c7
DJ
13752002-02-10 Daniel Jacobowitz <drow@mvista.com>
1376
1377 * gdb.base/ending-run.exp: Guard "cont" test with
1378 gdb_skip_stdio_test.
1379
37225f62
JB
13802002-02-06 Jim Blandy <jimb@redhat.com>
1381
1382 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1383 from here...
1384 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1385 To here. Disable this test on non-HP platforms. Add big comment.
1386
fe6fdd96
MS
13872002-02-04 Michael Snyder <msnyder@redhat.com>
1388
1389 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1390 other than d10v and m32r.
1391
036fad3f
RE
13922002-02-02 Richard Earnshaw <rearnsha@arm.com>
1393
1394 * gdb.base/default.exp: Rewrite test patterns to reduce time
1395 taken to match them.
1396
7148ab62
DJ
13972002-01-30 Daniel Jacobowitz <drow@mvista.com>
1398
1399 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1400 Allow a start function above main.
1401 * gdb.threads/linux-dp.exp: Fix copyright date.
1402
396cc255
DJ
14032002-01-30 Daniel Jacobowitz <drow@mvista.com>
1404
1405 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1406 (check_philosopher_stack): Check for manager thread before checking
1407 for a just-starting thread.
1408
f038d31b
DJ
14092002-01-30 Daniel Jacobowitz <drow@mvista.com>
1410
1411 From Neil Booth <neil@daikokuya.demon.co.uk>:
1412 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1413 warnings.
1414
b3ff9d9a
FF
14152002-01-21 Fred Fish <fnf@redhat.com>
1416
1417 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1418 not caller.
1419
39ad761d
JB
14202002-01-21 Jim Blandy <jimb@redhat.com>
1421
1422 * gdb.base/reread.exp: Check that GDB properly re-reads the
1423 executable file when it changes while no inferior is running.
1424
aaf320fa
FF
14252002-01-21 Fred Fish <fnf@redhat.com>
1426
1427 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1428 optionally accept the "shlib events" variation.
1429
808a31f5
JB
14302002-01-21 Jim Blandy <jimb@redhat.com>
1431
1432 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1433 call `fflush' after every `printf', so that the output is produced
1434 at predictable points, regardless of whatever buffering does (or
1435 doesn't) take place.
1436 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1437 at different points.
1438
4420d5e2
DJ
14392002-01-20 Daniel Jacobowitz <drow@mvista.com>
1440
1441 * gdb.c++/inherit.exp: Update copyright years.
1442 * gdb.c++/method.exp: Likewise.
1443
3e36a0f4
DJ
14442002-01-20 Daniel Jacobowitz <drow@mvista.com>
1445
1446 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1447 artificial methods/arguments.
1448 * gdb.c++/derivation.exp: Likewise.
1449 * gdb.c++/inherit.exp: Likewise.
1450 * gdb.c++/method.exp: Likewise.
1451 * gdb.c++/virtfunc.exp: Likewise.
1452
b4ceaee6
AC
14532002-01-18 Andrew Cagney <ac131313@redhat.com>
1454
1455 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1456 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1457 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1458 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1459 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1460 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1461
ecace851
JB
14622002-01-17 Jim Blandy <jimb@redhat.com>
1463
1464 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1465 anchoring the pattern matching the entry point symbol's name.
1466
375fc983
AC
14672002-01-17 Andrew Cagney <ac131313@redhat.com>
1468
1469 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1470 continue/quit query. Update copyright.
1471
fe6fdd96
MS
14722002-01-14 Michael Snyder <msnyder@redhat.com>
1473
1474 * gdb.base/gcore.exp: Remove extra debugging output.
1475
e017c81f
DJ
14762002-01-13 Daniel Jacobowitz <drow@mvista.com>
1477
1478 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1479 for slightly dubious v2 mangled string.
1480
37ab3bf8
DJ
14812002-01-13 Daniel Jacobowitz <drow@mvista.com>
1482
1483 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1484
1bc05c3a 14852002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1486
1bc05c3a 1487 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1488
1bc05c3a
JM
1489 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1490 constructors.
1491 * gdb.c++/derivation.exp: Likewise.
1492 * gdb.c++/templates.exp: Likewise.
1493 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1494
1bc05c3a
JM
14952002-01-10 Michael Snyder <msnyder@redhat.com>
1496
1497 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1498
a911c360
MS
14992002-01-08 Michael Snyder <msnyder@redhat.com>
1500
1501 * gdb.base/gcore.exp: New test for generate-core-file command.
1502 * gdb.base/gcore.c: Testcase for above.
1503 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1504
ea2119ec
JM
15052002-01-08 Jason Merrill <jason@redhat.com>
1506
1507 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1508
68203136
FF
15092002-01-07 Fred Fish <fnf@redhat.com>
1510
1511 * gdb.c++/overload.exp: Remove unconditional xfails for:
1512 print foo_instance1.overloadargs(1)
1513 print foo_instance1.overloadargs(1, 2)
1514 print foo_instance1.overloadargs(1, 2, 3)
1515 print foo_instance1.overloadargs(1, 2, 3, 4)
1516 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1517 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1518 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1519 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1520 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1521 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1522 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1523 print foo_instance1.overload1arg()
1524 print foo_instance1.overload1arg((char)arg2)
1525 print foo_instance1.overload1arg((signed char)arg3)
1526 print foo_instance1.overload1arg((unsigned char)arg4)
1527 print foo_instance1.overload1arg((int)arg7)
1528 print foo_instance1.overload1arg((unsigned int)arg8)
1529 print foo_instance1.overload1arg((float)arg11)
1530 print foo_instance1.overload1arg((double)arg12)
1531
21b9b5b1
MS
15322002-01-07 Michael Snyder <msnyder@redhat.com>
1533
1534 * gdb.base/huge.exp: New test. Print a very large target data object.
1535 (skip_huge_test): New test variable. Define if you want to skip this
1536 test. The test reads an 8 megabyte data object from the target, so it
1537 might be very time consuming on remote targets with a slow connection.
1538 * gdb.base/huge.c: New file. Test case for above.
1539
725f922e
FF
15402002-01-07 Fred Fish <fnf@redhat.com>
1541
1542 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1543 g_instance.bfoo, and g_instance.cfoo.
1544
634d57ec
JL
1545Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1546
f286b2c3
JL
1547 * gdb.base/break.c (multi_line_if_conditional): New function.
1548 (multi_ilne_while_conditional): Likewise.
1549 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1550 IF or WHILE condition puts the breakpoint at the start of
1551 the condition.
1552
634d57ec
JL
1553 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1554 hppa*-*-hpux* expected failure.
1555 * gdb.base/structs.exp (do_function_calls): Similarly.
1556
1557 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1558 watchpoints.
1559
9fbfe2dc
AC
15602002-01-06 Andrew Cagney <ac131313@redhat.com>
1561
1562 Fix PR gdb/66.
1563 * gdb.base/structs.exp: Replace skip for a29k with skip for
1564 gdb,cannot_call_functions.
1565 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1566 * gdb.base/callfuncs.exp: Ditto.
1567 * gdb.base/call-rt-st.exp: Ditto.
1568 * gdb.base/call-strs.exp: Ditto.
1569 * gdb.base/callfwmall.exp: Ditto.
1570 * gdb.base/scope.exp: Obsolete xfail a29k.
1571 * gdb.c++/misc.exp: Ditto.
1572 * gdb.c++/cplusfuncs.exp: Ditto.
1573 * gdb.base/ptype.exp: Ditto.
1574 * gdb.base/printcmds.exp: Ditto.
1575 * gdb.base/opaque.exp: Ditto.
1576 * gdb.base/list.exp: Ditto.
1577 * gdb.base/funcargs.exp: Ditto.
1578 * gdb.base/default.exp: Ditto.
1579
8ddad156
MS
15802002-01-04 Michael Snyder <msnyder@redhat.com>
1581
ca4976a6 1582 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1583 * gdb.base/maint.exp: Add tests for maint info sections options.
1584
1b074332
JL
1585Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1586
1587 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1588
7d159115
CV
15892001-12-20 Corinna Vinschen <vinschen@redhat.com>
1590
1591 * gdb.asm/arm.inc: New file.
1592 * gdb.asm/asm-source.exp: Add arm targets.
1593 * gdb.asm/configure.in: Ditto.
1594 * gdb.asm/configure: Recreated from configure.in.
1595
8fb87725
JL
1596Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1597
afabe08c
JL
1598 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1599 with HP's compiler.
1600 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1601 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1602 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1603 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1604
1605 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1606 either HP's compilers or GCC.
1607
db521deb
JL
1608 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1609 a SIGBUS or SIGSEGV.
1610
1611 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1612
1613 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1614 can be compiled with either HP's compiler or GCC.
1615
cfa88ab7
JL
1616 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1617 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1618 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1619
ca344dff
JL
1620 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1621 to match current gdb output. Update due to using auto-solib-limit
1622 for limiting instead of overloading auto-solib-add.
1623 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1624 test program.
1625
3f3c6e55 1626 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1627 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1628 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1629 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1630 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1631 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1632 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1633 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1634 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1635 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1636 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1637 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1638 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1639
8fb87725
JL
1640 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1641 a SIGTRAP to the inferior.
1642
cf599fa7
CV
16432001-12-19 Corinna Vinschen <vinschen@redhat.com>
1644
1645 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1646 Substitute call to target_link by call to gdb_compile.
1647
2cd045cd
JL
1648Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1649
1650 * gdb.base/break.exp: Fix HP specific search string when testing
1651 backtracing in a called function.
1652
1653 * gdb.base/constvars.exp: Only set lang to C++ if we're
1654 compiling the test with HP's compilers.
1655 * gdb.base/volatile.exp: Similarly.
1656
99ebe9ac
JB
16572001-12-19 Jim Blandy <jimb@redhat.com>
1658
1659 * gdb.base/printcmds.exp: Expect the null character to be printed
1660 as '\0', and the '\013' to be printed as '\v'.
1661 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1662 * gdb.base/setvar.exp: Same.
1663
b9891b29
JB
16642001-12-17 Jim Blandy <jimb@redhat.com>
1665
0eba65ab
JB
1666 * gdb.base/completion.exp: Rather than completing very long
1667 filenames, which can make the readline library produce output we
1668 don't recognize, cd to the directory first, and then complete
1669 using nice, short relative paths.
1670
6970b5b1
JB
1671 * gdb.base/completion.exp: On some systems, there is, in fact, a
1672 variable named `b' in scope, since GDB treats all static
1673 variables as being in scope. So use `no_var_named_this'
1674 instead of `b'.
1675
b9891b29
JB
1676 * gdb.base/corefile.exp: Recognize the message saying that GDB
1677 can't find the core file's registers as a failure.
1678
e6ccd35f
JSC
16792001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1680
1681 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1682 test expect string more specific.
1683
105ba819
CV
16842001-12-13 Corinna Vinschen <vinschen@redhat.com>
1685
1686 * gdb.asm/asm-source.exp: Add support for xstormy16.
1687 * gdb.asm/configure.in: Ditto.
1688 * gdb.asm/configure: Rebuild.
1689 * gdb.asm/xstormy16.inc: New file.
1690
e9e79dd9
FF
16912001-12-10 Fred Fish <fnf@redhat.com>
1692
1693 * gdb.base/maint.exp: Update to match changes in type dumping code.
1694
347dc97d
JB
16952001-12-10 Jim Blandy <jimb@redhat.com>
1696
1697 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1698 matching the entry point symbol's name at the beginning of the
1699 line.
1700
5178b9d6
DJ
17012001-12-07 Daniel Jacobowitz <drow@mvista.com>
1702
1703 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1704 gdb.c++/inherit.exp, gdb.c++/method.exp,
1705 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1706 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1707 and class layout support.
1708
af890c52
DJ
17092001-12-07 Daniel Jacobowitz <drow@mvista.com>
1710
1711 * gdb.c++/classes.exp: Add test for static member function.
1712 * gdb.c++/misc.cc: Add class with static member function.
1713
7a345fb3
JB
17142001-12-07 Jim Blandy <jimb@redhat.com>
1715
f2e54a80 1716 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1717 those tests as `unsupported'.
1718 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1719 Rewrite subsequent tests to use it.
1720
1721 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1722 those tests as `unsupported'.
1723 * gdb.base/structs.exp (call_struct_func): New function.
1724 (do_function_calls): Use call_struct_func to call the functions
1725 returning structs.
1726
0bc69509
JB
1727 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1728 whether functions are prototyped or not, so we can't possibly pass
1729 arguments to t_float_values2 properly.
1730
7a345fb3
JB
1731 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1732 value of `timeout' for targets other than the mips*tx39-*.
1733
edb6ede1
MS
17342001-12-06 Michael Snyder <msnyder@redhat.com>
1735
1736 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1737 and detect whether the start symbol has a leading underscore.
1738
2d842f13
JB
17392001-12-04 Jim Blandy <jimb@redhat.com>
1740
1741 * gdb.base/completion.exp: Clarify indentation.
1742
68550daf
JB
17432001-12-03 Jim Blandy <jimb@redhat.com>
1744
1745 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1746 variables on the S/390, not `.word'.
1747
cd5195a8
JB
17482001-11-30 Jim Blandy <jimb@redhat.com>
1749
1750 Add assembly-source tests for s390-ibm-linux.
1751 * gdb.asm/s390.inc: New file.
1752 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1753 the S/390 architecture.
1754 * gdb.asm/configure: Regenerated.
1755
ca9efc90
MS
17562001-11-30 Michael Snyder <msnyder@redhat.com>
1757
1758 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1759 next, info source, info sources, info line, global and static
1760 variables, and static functions.
1761 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1762 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1763 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1764 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1765 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1766 (gdbasm_leave): Restore frame pointer.
1767 (gdbasm_startup): Copy stack set-up from crt0.S.
1768
d0e66976
FN
17692001-11-26 Fernando Nasser <fnasser@redhat.com>
1770
1771 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1772 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1773 to a local (non-static) variable. Copy tstruct.a to a static buffer
1774 and return a pointer to that buffer.
1775 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1776
e2334072
MK
17772001-11-24 Mark Kettenis <kettenis@gnu.org>
1778
1779 * gdb.asm/configure.in: Fix recognition of ix86 target.
1780 * gdb.asm/configure: Regenerate.
1781
756caa3d
MS
17822001-11-21 Michael Snyder <msnyder@redhat.com>
1783
1784 * gdb.asm/sparc.inc: New file.
1785 * gdb.asm/asm-source.exp: Recognize sparc target.
1786 * gdb.asm/configure.in: Recognize sparc target.
1787 * gdb.asm/configure: Regenerate.
1788
9a4d72d5
MS
17892001-11-21 Michael Snyder <msnyder@redhat.com>
1790
1791 * gdb.asm/m32r.inc: New file.
1792 * gdb.asm/asm-source.exp: Recognize m32r target.
1793 * gdb.asm/configure.in: Recognize m32r target.
1794 * gdb.asm/configure: Regenerate.
1795
a773d1cd
MS
17962001-11-20 Michael Snyder <msnyder@redhat.com>
1797
017ac23d
MS
1798 * gdb.asm/i386.inc: New file.
1799 * gdb.asm/asm-source.exp: Recognize ix86 target.
1800 * gdb.asm/configure.in: Recognize ix86 target.
1801 * gdb.asm/configure: Regenerate.
1802
a773d1cd
MS
1803 * gdb.c++/namespace.exp: Fix quotes in output messages.
1804
bb632afb
MS
18052001-11-14 Michael Snyder <msnyder@redhat.com>
1806
25d559ca 1807 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1808 qualifier in a type cast expression, to designate an address
1809 in the instruction space (Harvard architecture).
1810
4749e309
MS
18112001-11-13 Michael Snyder <msnyder@redhat.com>
1812
1813 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1814 Tests for expressions using 'const' and 'volatile'.
1815
25050984
CV
18162001-11-13 Corinna Vinschen <vinschen@redhat.com>
1817
1818 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1819
1902c51f
DJ
18202001-11-12 Daniel Jacobowitz <drow@mvista.com>
1821
1822 * lib/mi-support.exp (mi_run_to_helper): Move comments
1823 outside of gdb_expect.
1824
dcf95b47
DJ
18252001-11-11 Daniel Jacobowitz <drow@mvista.com>
1826
1827 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1828 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1829 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1830 mi0_run_to): New functions.
1831 * gdb.mi/mi-simplerun.exp: Use them.
1832 * gdb.mi/mi0-simplerun.exp: Likewise.
1833 * gdb.mi/mi-var-cmd.exp: Likewise.
1834 * gdb.mi/mi0-var-cmd.exp: Likewise.
1835
45b074e1
AC
18362001-11-10 Andrew Cagney <ac131313@redhat.com>
1837
1838 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1839 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1840
bf50d346
AC
18412001-11-09 Andrew Cagney <ac131313@redhat.com>
1842
1843 * gdb.base/restore.exp: Include $expected value in restored test
1844 message.
1845
9383332c
AC
18462001-11-09 Andrew Cagney <ac131313@redhat.com>
1847
1848 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1849 implemented.
1850
db62520a
MS
18512001-11-08 Michael Snyder <msnyder@redhat.com>
1852
1853 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1854 Add pass/fail message for stop at breakpoint in call dummy function.
1855
b5703437
MS
18562001-11-07 Michael Snyder <msnyder@redhat.com>
1857
760f6330
MS
1858 * gdb.c++/templates.exp (test_template_breakpoints):
1859 If we get an overload menu, but it does not match what
1860 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1861 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1862 making the whitespace optional. Argument for "new" may be
1863 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1864 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1865 making the whitespace optional. Also replace "(void) with
1866 "((void|)), making the keyword "void" optional.
63f50499
MS
1867 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1868 making the whitespace optional. Also replace "(void) with
1869 "((void|)), making the keyword "void" optional.
3bf40917
MS
1870 * gdb.base/callfuncs.c (t_float_values): This function must
1871 _not_ be prototyped, and the following function (t_float_values2)
1872 must be prototyped (if the compiler supports it), so that GDB
1873 can be tested against both cases. Usually one case involves
1874 promotion of float to double, while the other does not.
1875 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1876 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1877 includes a stack frame for "start".
1878
c8ab4e6d
JB
18792001-11-05 Jim Blandy <jimb@redhat.com>
1880
1881 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1882 pointers are 32 bits long, and that offsets of relocs are always
1883 stored in the data (REL-style), and not in the reloc entry itself
1884 (RELA-style).
1885 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1886 stabs.
1887
3f08ced9
MS
18882001-11-01 Michael Snyder <msnyder@redhat.com>
1889
1890 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1891 and regular expression operators by using quoting.
1892
cbfa24cd
MS
18932001-10-31 Michael Snyder <msnyder@redhat.com>
1894
1895 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1896 depending on what the symbol table contains.
1897 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1898 the output of the ptype command. Similarly, accept both "const &"
1899 and "const&".
1900
aaa68313
CV
19012001-10-31 Corinna Vinschen <vinschen@redhat.com>
1902
1903 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1904 symbol `STORAGE' to allow to choose the storage class of
1905 the local datastructures.
1906 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1907 compiler directive.
1908
91740388
MS
19092001-10-30 Michael Snyder <msnyder@redhat.com>
1910
1911 * gdb.base/jump.exp: Allow it to run for all targets.
1912
1b7c05e7
CV
19132001-10-29 Corinna Vinschen <vinschen@redhat.com>
1914
1915 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1916 with new double_array size.
1917 (main): Change storage class of all local variables to static.
1918 Reduce size of double_array to 9.
1919 * gdb.base/call-ar-st.exp: Increase timeout value.
1920 Change expected output for double array to match new size in
1921 call-ar-st.c.
1922
36a22261
CV
19232001-10-29 Corinna Vinschen <vinschen@redhat.com>
1924
1925 * gdb.base/ending-run.exp: Create identical output when passing
1926 `step to end of run' case. Add regular expression branch satisfying
1927 Stormy16 target.
1928
92b8ae91
MK
19292001-10-28 Mark Kettenis <kettenis@gnu.org>
1930
1931 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1932 that we catch the expected failure under Linux/x86.
1933
cb135b83
OF
19342001-10-29 Orjan Friberg <orjanf@axis.com>
1935
1936 * gdb.base/setvar.exp: Escape curly braces.
1937 * gdb.stabs/weird.exp: Ditto.
1938
6884aa54
DJ
19392001-10-27 Daniel Jacobowitz <drow@mvista.com>
1940
1941 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1942 * gdm.mi/mi0-hack-cli.exp: Likewise.
1943
0398c9aa
AC
19442001-10-25 Andrew Cagney <ac131313@redhat.com>
1945
1946 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1947 messages.
1948
d20bf2e8
AC
19492001-10-21 Andrew Cagney <ac131313@redhat.com>
1950
1951 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1952 checking MI enabled.
1953
03dd63aa
CV
19542001-10-09 Corinna Vinschen <vinschen@redhat.com>
1955
1956 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1957
1d9d99f3
FCE
19582001-10-04 Frank Ch. Eigler <fche@redhat.com>
1959
1960 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1961 if gdb child process crashes, just signal an error.
1962
838ae6c4
JB
19632001-10-02 Jim Blandy <jimb@redhat.com>
1964
1965 * lib/gdb.exp (test_xfail_format): Simplify.
1966
1967 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1968 front of the variable name `format'. Simplify `if'.
1969
8f0cbc1c
DJ
19702001-10-01 Daniel Jacobowitz <drow@mvista.com>
1971
1972 * gdb.threads/pthreads.exp: Wait for output and delay
1973 before sending ^C.
1974
1f08dafd
DJ
19752001-10-01 Daniel Jacobowitz <drow@mvista.com>
1976
1977 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1978 some incorrect output instead of timing out.
1979 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1980
674f90ff
CV
19812001-09-28 Corinna Vinschen <vinschen@redhat.com>
1982
1983 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1984 check to allow additional `int'.
1985
9b284272
DJ
19862001-09-27 Daniel Jacobowitz <drow@mvista.com>
1987
1988 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1989 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1990
b55a4771
MS
19912001-09-27 Michael Snyder <msnyder@redhat.com>
1992
1993 * lib/gdb.exp (test_debug_format): New proc.
1994 (setup_xfail_format): Use new proc test_debug_format.
1995 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1996 proc; use new service proc test_debug_format.
1997 Replace all other "gcc_compiled" tests with this test.
1998 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1999 proc; use new service proc test_debug_format.
2000 Replace all other "gcc_compiled" tests with this test.
2001
20022001-09-27 Michael Snyder <msnyder@redhat.com>
2003
2004 * gdb.base/cvexpr.exp: New file.
2005 * gdb.base/cvexpr.c: New file
2006 Test for expressions using const and volatile keywords.
2007
4e6667ac
CV
20082001-09-26 Corinna Vinschen <vinschen@redhat.com>
2009
2010 * gdb.base/constvars.exp: Check for different orders of keywords
2011 and additional "int" strings in output.
2012
4f337972
AC
20132001-09-22 Andrew Cagney <ac131313@redhat.com>
2014
2015 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2016 responses from "help maint".
2017
2015650d
FCE
20182001-09-19 Frank Ch. Eigler <fche@redhat.com>
2019
2020 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2021 to localhost:NNN instead of :NNN, in case Xvfb is listening
2022 only on TCP.
2023
f3bcedc1
CV
20242001-09-19 Corinna Vinschen <vinschen@redhat.com>
2025
2026 * gdb.base/recurse.exp: When checking leaving the watchpoint
2027 scope, recognize when gdb is in function's epilogue and pass.
2028
6b819c92
KS
20292001-09-18 Keith Seitz <keiths@redhat.com>
2030
2031 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2032 support for running tests against sid targets.
2033 (gdbtk_done): Ditto.
2034
a10c9419
CV
20352001-09-18 Corinna Vinschen <vinschen@redhat.com>
2036
2037 * gdb.base/ending-run.c (main): Set stdout buffersize
2038 to the same reasonable value for any target.
2039 * gdb.base/ending-run.exp: Add a regular expression
2040 to make testsuite happy on Sanyo Stormy16 target.
2041
739d0d99
CV
20422001-09-17 Corinna Vinschen <vinschen@redhat.com>
2043
2044 * gdb.base/display.c (do_loops): Add float variable `f'.
2045 Increment f in loop.
2046 * gdb.base/display.exp: Increment timeout by 60 seconds.
2047 Change float display test to use variable `f'.
2048
1b8947f0
JB
20492001-09-17 Jim Blandy <jimb@redhat.com>
2050
2051 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2052 overflowing the limited breakpoint tables on some ROM monitors
2053 (like the ROM68K).
2054
9890ac81
FCE
20552001-09-15 Frank Ch. Eigler <fche@redhat.com>
2056
2057 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2058 the "-ac" (disable access control) flag.
2059
6db765ea
JH
20602001-08-30 Jeff Holcomb <jeffh@redhat.com>
2061
2062 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2063 ints.
2064
4c32cc04
KS
20652001-08-30 Keith Seitz <keiths@redhat.com>
2066
2067 * lib/gdb.exp: Move all insight-related functionality into
2068 separate file.
2069 * lib/insight-support.exp: New file.
2070
8d6e6f81
FCE
20712001-08-29 Frank Ch. Eigler <fche@redhat.com>
2072
2073 * config/sid.exp (sid_start): Never set sid verbosity; disable
2074 expect_background {} that consumed its stdout; tolerate </dev/null.
2075 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2076
6a90e1d0
AC
20772001-08-18 Andrew Cagney <ac131313@redhat.com>
2078
2079 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2080 CLI jump command to start it.
2081 (mi_run_to_main): Fail immediatly when unexpected output.
2082
1759b3c3
AC
20832001-08-18 Andrew Cagney <ac131313@redhat.com>
2084
2085 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2086 beginning of function. Fix PR gdb/191.
2087
61d11d80
FCE
20882001-08-16 Frank Ch. Eigler <fche@redhat.com>
2089
2090 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2091 what to force sid endianness to.
2092
942a4df2
KS
20932001-08-15 Keith Seitz <keiths@redhat.com>
2094
2095 * lib/gdb.exp (gdbtk_start): Don't set environment
2096 variables for TCL_LIBRARY and friends. Insight will
2097 now figure these out for itself.
2098
0521c418
MS
20992001-08-02 Michael Snyder <msnyder@redhat.com>
2100
2101 * gdb.base/completion.exp: Remove the symbol "a64l" from
2102 the expect string; this is target-specific, and not related
2103 to what is being tested.
2104
74a9a58a
DB
21052001-08-02 Dave Brolley <brolley@redhat.com>
2106
2107 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2108
c70819fa
MS
21092001-07-25 Michael Snyder <msnyder@redhat.com>
2110
c2b8fa57
MS
2111 * gdb.base/consecutive.exp: New file. Test stepping over
2112 breakpoints on consecutive instructions.
2113 * gdb.base/consecutive.c: New file.
2114
c70819fa
MS
2115 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2116 curly braces in regular expressions.
2117
2b1a1355
MS
21182001-07-25 Michael Snyder <msnyder@redhat.com>
2119
2120 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2121 legitimate output from stepping out of main.
2122
413eca6f
KS
21232001-07-22 Keith Seitz <keiths@redhat.com>
2124
2125 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2126 the empty string, do not run the tests.
2127
7e5a9322
SC
21282001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2129
2130 * gdb.base/long_long.exp: Detect size of pointer. Take into
2131 account 2-byte pointers when testing for p/a results.
2132
de58f10f
SC
21332001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2134
2135 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2136 and defined to 1K for m68hc11.
2137 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2138 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2139 (sizeof_random_data): New variable to tell the size of the data table;
2140 don't test past this size; always run to main.
2141
d6f5fea1
SC
21422001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2143
2144 * gdb.base/return2.exp: return of long long and double fails for
2145 68HC11; don't execute these tests on that platform.
2146 * gdb.base/return.exp: Return of a double fails for 68hc11.
2147
c477543d
SC
21482001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2149
2150 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2151 tests that print a float.
2152 * call-rt-st.exp: Likewise.
2153
63cf1c79
MK
21542001-07-12 Mark Kettenis <kettenis@gnu.org>
2155
2156 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2157 running this test on Linux.
2158
112f9ab5
MC
21592001-06-24 Michael Chastain <chastain@redhat.com>
2160
2161 * gdb.base/arithmet.exp: Remove some tests to make all test names
2162 unique.
2163
4970cb0f
MS
21642001-07-03 Michael Snyder <msnyder@redhat.com>
2165
2166 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2167 the output of the ptype command.
2168
d85da69f
MS
21692001-07-02 Michael Snyder <msnyder@redhat.com>
2170
4c8a82de
MS
2171 * gdb.base/completion.exp: Don't assume that break.c is the only
2172 source file that may contain functions named "marker".
d85da69f
MS
2173 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2174
8afc772b
AC
21752001-06-28 Andrew Cagney <ac131313@redhat.com>
2176
2177 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2178 of files to delete.
2179
2180 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2181 * gdb.disasm/h8300s.exp: New file.
2182 gdb.disasm/h8300s.s: Likewise.
2183
cff22675
AC
21842001-06-27 Andrew Cagney <ac131313@redhat.com>
2185
2186 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2187 empty breakpoint tables.
2188
68c81b54
AC
21892001-06-25 Andrew Cagney <ac131313@redhat.com>
2190
2191 * lib/mi-support.exp: Update args=... part of stop-reason
2192 patterns. Accept either a list or a tuple.
2193
2dd62704
AC
21942001-06-23 Andrew Cagney <ac131313@redhat.com>
2195
2196 * lib/mi-support.exp: Remove local emacs variable defining
2197 change-log-default-name.
2198
b4127474
MC
21992001-06-22 Michael Chastain <chastain@redhat.com>
2200
2201 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2202 This is operationally compatible with the previous version.
2203
8dbfb380
JB
22042001-06-13 Jim Blandy <jimb@redhat.com>
2205
2206 * lib/gdb.exp (gdb_test): Doc fix.
2207
f2d8c86d
MC
22082001-06-10 Michael Chastain <chastain@redhat.com>
2209
2210 * gdb.base/exprs.exp: Remove a duplicate test.
2211
81564d34
JB
22122001-06-06 Jim Blandy <jimb@redhat.com>
2213
2214 * gdb.base/return2.exp (main): Use values to test float and double
2215 returns that are not NaN's, to avoid being confused by IEEE
2216 comparison rules.
2217
da55addb
MS
22182001-06-04 Michael Snyder <msnyder@redhat.com>
2219
2220 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2221 non-zero if control_c fails. Terminate the test on failure,
2222 rather than wait for 12 more tests to time out.
2223
42c65987
JB
22242001-06-06 Jim Blandy <jimb@redhat.com>
2225
b18bced9
JB
2226 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2227 Don't forget to match the GDB prompt.
2228
42c65987
JB
2229 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2230
5b41e5f0
JB
22312001-06-04 Jim Blandy <jimb@redhat.com>
2232
2233 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2234 command.
2235
015e046f
KB
22362001-05-31 Kevin Buettner <kevinb@redhat.com>
2237
2238 * gdb.base/annota1.exp (info break): Match four or more spaces
2239 after "Address".
2240
fb1ffbbe
MC
22412001-05-31 Michael Chastain <chastain@redhat.com>
2242
2243 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2244 (dm_type_int_star): Likewise.
2245 (dm_type_long_star): Likewise.
2246 (dm_type_void_star): Likewise.
2247
5ea2a32c
KB
22482001-05-29 Kevin Buettner <kevinb@redhat.com>
2249
2250 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2251 to a known value in order to get consistent results regardless
2252 of the setting of INPUTRC or the presence or contents of .inputrc.
2253
ae23c492
MS
22542001-05-24 Michael Snyder <msnyder@redhat.com>
2255
ac55707e
MS
2256 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2257 Don't require that the main thread and the manager thread are the
2258 first in the list.
2259
ae23c492
MS
2260 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2261 debugging. If test fails, issue an "unsupported" not a "fail".
2262
400071f1
JB
22632001-05-24 Jim Blandy <jimb@redhat.com>
2264
2265 Don't assume that short is shorter than int.
2266 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2267 assume that shorts are smaller than ints. On a 16-bit machine,
2268 this isn't true.
2269 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2270 an int, is not equal to ~0 stored in an unsigned char. This tests
2271 the same thing that the previous test meant to, but works on
2272 16-bit machines, too.
2273 ("print unsigned char != (~0)"): Same test, complemented.
2274
0816a3e5
MS
22752001-05-24 Michael Snyder <msnyder@redhat.com>
2276
2277 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2278 test for (full_coverage == 0). This makes the test run faster,
2279 and prevents dejagnu getting out of step.
2280
f6dc23a9
KB
22812001-05-23 Kevin Buettner <kevinb@redhat.com>
2282
2283 * gdb.base/finish.exp (finish_void): Revise pattern for
2284 stopping on the call statement to not permit stopping at
2285 the start of the instructions comprising the call sequence.
2286
7dbd117d
MC
22872001-05-19 Michael Chastain <chastain@redhat.com>
2288
2289 * gdb.base/callfuncs.exp: Make all test names unique.
2290 * gdb.base/commands.exp: Make all test names unique.
2291 * gdb.base/condbreak.exp: Make all test names unique.
2292 * gdb.base/dbx.exp: Make all test names unique.
2293 * gdb.base/default.exp: Make all test names unique.
2294 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2295 and TIMEOUT messages to their corresponding PASS message.
2296 * gdb.base/ending-run.exp: Make all test names unique.
2297 * gdb.base/long_long.exp: Remove duplicate test.
2298
6b0b0a9e
KB
22992001-05-21 Kevin Buettner <kevinb@redhat.com>
2300
2301 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2302 stop on the call statement as well as the statement after the
2303 call.
2304
2caa35cb
MS
23052001-05-21 Michael Snyder <msnyder@redhat.com>
2306
2307 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2308
40713331
EZ
23092001-05-10 Elena Zannoni <ezannoni@redhat.com>
2310
2311 * gdb.base/completion.exp: Revamp test. Make it execute on all
2312 platforms.
2313
c2c1be8d
EZ
23142001-05-10 Elena Zannoni <ezannoni@redhat.com>
2315
2c9cd303
EZ
2316 * config/gdbserver.exp (gdb_load): Handle the case
2317 in which the arguments to gdbserver are given in the
2318 baseboard configuration file.
2319 Also handle the case in which the server needs to do a
2320 load.
2321
9671de48
KS
23222001-05-07 Keith Seitz <keiths@cygnus.com>
2323
2324 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2325 set up the display for testing.
2326 (gdbtk_start): Convert all paths to paths that tcl will like.
2327 Export target information to environment.
2328 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2329 necessary.
2330 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2331 (to_tcl_path): New proc to convert a given pathname into
2332 a path acceptible as an argument to a tcl command.
2333 (_gdbtk_export_target_info): New proc to export target info
2334 into the environment for gdbtk testing.
2335 (gdbtk_done): New proc to signal end-of-test.
2336
5a360f47
JB
23372001-05-06 Jim Blandy <jimb@redhat.com>
2338
2339 * restore.c: Make the code of caller0 correspond to its comment.
2340
66c756c6
MS
23412001-05-03 Michael Snyder <msnyder@redhat.com>
2342
2343 * config/sid.exp (gdb_target_sid): Check for error messages.
2344 On error or timeout, don't make expect exit (which will terminate
2345 all subsequent tests); instead just make gdb exit.
2346 (gdb_load): Check for error messages. On error or timeout,
2347 return a negative value.
2348
a966fde5
JB
23492001-04-24 Jim Blandy <jimb@redhat.com>
2350
851c18e0
JB
2351 * gdb.c++/templates.exp: If we see the prompt for the overload
2352 list, but we haven't recognized any of the longer patterns,
2353 arrange for this test to fail, not hang.
2354
a966fde5
JB
2355 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2356 variations.
2357
db144853
MC
23582001-04-22 Michael Chastain <chastain@redhat.com>
2359
2360 * gdb.c++/local.exp: Use the 'runto' library function.
2361 * gdb.c++/namespace.exp: Likewise.
2362 * gdb.c++/overload.exp: Likewise.
2363
3207ec21
KB
23642001-03-26 Kevin Buettner <kevinb@redhat.com>
2365
2366 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2367 * gdb.base/step-line.exp: New file. Test step/next in presence of
2368 #line directives.
2369 * gdb.base/step-line.c: New file. Test program for the above.
2370 * gdb.base/step-line.inp: New file. We pretend that this file has
2371 been transformed by some other tool into step-line.c.
2372
13b57657
JB
23732001-03-21 Jim Blandy <jimb@redhat.com>
2374
2375 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2376 unmangled operator names.
2377
754cbe1c
JB
23782001-03-20 Jim Blandy <jimb@redhat.com>
2379
2380 * gdb.threads/linux-dp.exp: Recognize an additional message
2381 generated by GDB when it doesn't understand how to debug threads
2382 on the target system.
2383
177495c9
AC
23842001-03-19 Andrew Cagney <ac131313@redhat.com>
2385
2386 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2387
f266096b
MC
23882001-03-12 Michael Chastain <chastain@redhat.com>
2389
2390 * gdb.c++/derivation.exp: Use the 'runto' library function.
2391
cac3c2ff
MC
23922001-03-12 Michael Chastain <chastain@redhat.com>
2393
2394 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2395
b6c11a24
MC
23962001-02-24 Michael Chastain <chastain@redhat.com>
2397
2398 * gdb.c++/ref-types.exp: Change handwritten code to library
2399 function 'runto'.
2400
6bae5bce
OF
24012001-03-16 Orjan Friberg <orjanf@axis.com>
2402
2403 * gdb.base/signals.exp: Set count to 0 explicitly.
2404
0015fd9a
MS
24052001-03-15 Mark Salter <msalter@redhat.com>
2406
2407 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2408 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2409 (gdb_load): Add support for additional target_info: gdb_download_size
2410 and gdb_load_timeout.
0015fd9a 2411
fc33412a
DT
2412Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2413
2414 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2415 file -- to prevent failing when the compile fails but we have no
2416 intention of running the tests anyway.
2417
2418 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2419 tests if set.
2420
2421 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2422 integers.
2423
2424 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2425 * gdb.c++/namespace.exp: Ditto.
2426
115f06de
OF
24272001-03-07 Orjan Friberg <orjanf@axis.com>
2428
2429 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2430 * gdb.base/pointers.exp: Relax pattern match of decimals.
2431
b6ba6518
KB
24322001-03-06 Kevin Buettner <kevinb@redhat.com>
2433
2434 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2435 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2436 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2437 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2438 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2439 config/sh.exp, config/sid.exp, config/slite.exp,
2440 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2441 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2442 config/vxworks.exp, config/vxworks29k.exp,
2443 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2444 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2445 gdb.base/arithmet.exp, gdb.base/assign.exp,
2446 gdb.base/async.exp, gdb.base/attach.exp,
2447 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2448 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2449 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2450 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2451 gdb.base/commands.exp, gdb.base/completion.exp,
2452 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2453 gdb.base/constvars.exp, gdb.base/corefile.exp,
2454 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2455 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2456 gdb.base/ending-run.exp, gdb.base/environ.exp,
2457 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2458 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2459 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2460 gdb.base/funcargs.exp, gdb.base/help.exp,
2461 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2462 gdb.base/logical.exp, gdb.base/long_long.exp,
2463 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2464 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2465 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2466 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2467 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2468 gdb.base/regs.exp, gdb.base/relational.exp,
2469 gdb.base/remote.exp, gdb.base/reread.exp,
2470 gdb.base/restore.exp, gdb.base/return2.exp,
2471 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2472 gdb.base/selftest.exp, gdb.base/setshow.exp,
2473 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2474 gdb.base/sigall.exp, gdb.base/signals.exp,
2475 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2476 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2477 gdb.base/step-test.exp, gdb.base/structs.c,
2478 gdb.base/structs.exp, gdb.base/structs2.exp,
2479 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2480 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2481 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2482 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2483 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2484 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2485 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2486 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2487 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2488 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2489 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2490 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2491 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2492 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2493 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2494 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2495 gdb.trace/circ.exp, gdb.trace/collection.exp,
2496 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2497 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2498 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2499 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2500 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2501 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2502 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2503 notices.
2504
dc96c6c7 25052001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2506
2507 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2508 first arg is int not float.
2509
dc96c6c7 25102001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2511
2512 * gdb.base/reread.exp: Unsupported for non-native targets;
2513 doesn't work for remote debugging.
2514
9b0c4aeb
FN
25152001-02-19 Fernando Nasser <fnasser@redhat.com>
2516
2517 From Drew Moseley <dmoseley@redhat.com>
2518 * gdb.base/ending-run.exp: Properly handle the BSP state when
2519 stepping past the end of main.
2520
02aa71d5
MC
25212001-02-19 John Moore <jmoore@redhat.com>
2522
2523 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2524 Converted HPUX fix for non-expected items following multiple
2525 step commands into general solution for all platforms.
2526
1fa449a4
MC
25272001-02-18 Michael Chastain <chastain@redhat.com>
2528
2529 * gdb.c++/classes.exp (do_tests): Change runto statements
2530 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2531 statements demangler agnostic.
2532 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2533 (gdb_virtfunc_restart): Likewise.
2534
b2f9ec70
MC
25352001-02-14 Michael Chastain <chastain@redhat.com>
2536
2537 * gdb.c++/inherit.exp (do_tests): Change runto statements
2538 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2539 statements demangler agnostic.
2540
cf74b8ca
AC
2541Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2542
2543 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2544 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2545 before calling common_routine 15 times'' tests.
2546
99f78f56
MC
25472001-02-11 Michael Chastain <chastain@redhat.com>
2548
2549 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2550 Helps the test script figure out which demangler is in use.
2551 (dm_type_foo_ref): Ditto.
2552 (dm_type_int_star): Ditto.
2553 (dm_type_long_star): Ditto.
2554 (dm_type_unsigned_int): Ditto.
2555 (dm_type_void): Ditto.
2556 (dm_type_void_star): Ditto.
99707966 2557 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2558 Probe the gdb demangler and set variables to accommodate
2559 formatting differences.
2560 (info_func_regexp): New function. Same as info_func, but
2561 matches against a regexp.
2562 (info_func): Match against a literal string.
2563 (print_addr_2): New function. Match against a literal string,
2564 which can be different from the input to gdb.
2565 (print_addr): Simply call print_addr_2 with the same argument twice.
2566 (test_lookup_operator_functions): Use demangler formatting variables.
2567 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2568 the tests in the same order as the C++ class declaration.
2569 (test_paddr_operator_functions): Ditto.
2570 (test_paddr_overloaded_functions): Ditto.
2571 (test_paddr_hairy_functions): Use demangler formatting variables.
2572 Add reference to gdb/19 for related tests.
2573 (do_tests): Call probe_demangler.
2574
1de8f023
KB
25752001-01-30 Kevin Buettner <kevinb@redhat.com>
2576
2577 * gdb.c++/templates.cc (printf): Remove unused function definition.
2578
ca3f91ed
MS
25792001-01-26 Felix Lee <flee@redhat.com>
2580
2581 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2582
25832001-01-25 matthew green <mrg@redhat.com>
2584
2585 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2586 up sid.
2587 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2588
25892001-01-25 matthew green <mrg@redhat.com>
2590
2591 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2592 Deprecate $sid_spawn_id.
2593 (sid_exit): Remove code necessary only for `spawn.'
2594
25952001-01-25 matthew green <mrg@redhat.com>
2596
2597 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2598
fb18ec4a
MC
25992001-01-28 Michael Chastain <chastain@redhat.com>
2600
2601 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2602 to call when tests fail. It takes gdb out of the overloaded
2603 function choice menu back to the main prompt, so that the test
2604 program stays synchronized.
2605 (set_bp_overloaded): New proc to collect all the common
2606 code for setting a breakpoint on an overloaded name. Calls
2607 take_gdb_out_of_choice_menu when needed.
2608 (menu_overload1arg): New variable to collect the repeated
2609 instances of the expected menu for an overloaded name. Change
2610 the regular expression to handle changes in g++ type encoding:
2611 "void" can be either "void" or "", and "unsigned int" can be
2612 either "unsigned int" or "unsigned".
2613 (continue_to_bp_overloaded): Change regular expressions to handle
2614 changes in g++ type encoding.
2615 (no proc): Call take_gdb_out_of_choice_menu when needed.
2616 Remove redundant calls to "info break". Accept either "canceled"
2617 or "cancelled". Change regular expressions in "info break"
2618 calls to handle changes in g++ type encoding. Give all tests
2619 unique strings.
2620
9c646a6e
BE
26212001-01-17 Ben Elliston <bje@redhat.com>
2622
2623 * config/sid.exp: New file.
2624
9549d9c1
AC
2625Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2626
2627 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2628
dc96c6c7 26292000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2630
2631 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2632 Add a RE to accept a non-ascii char if one is ever presented.
2633
b4df4f68
FN
26342000-12-20 Fernando Nasser <fnasser@redhat.com>
2635
297dd0fd 2636 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2637
dc96c6c7 26382000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2639
2640 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2641 in regexp. One '\' does not suffice on Linux.
2642
4a7bddb6
MC
26432000-12-09 Michael Chastain <chastain@redhat.com>
2644
2645 * gdb.base/break.exp (test_clear_command): Use a marker function
2646 rather than 'main' for the test function. Also move this
2647 test to an execution point where the marker function names are
2648 guaranteed to be bound to functions. (Executing tests after a
2649 'finish' from main runs into name conflicts with local names
2650 in __libc_start_main).
2651
dc96c6c7 26522000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2653
2654 * gdb.base/finish.exp: New test for gdb's "finish" command.
2655 * gdb.base/return2.exp: New test for gdb's "return" command.
2656 * gdb.base/return2.c: New source file for above.
2657
dc96c6c7 26582000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2659
2660 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2661 * gdb.base/miscexprs.exp: Ditto.
2662 * gdb.base/pointers.exp: Ditto.
2663 * gdb.c++/derivation.exp: Ditto.
2664 * gdb.c++/local.exp: Ditto.
2665 * gdb.c++/namespace.exp: Ditto.
2666 * gdb.c++/overload.exp: Ditto.
2667 * gdb.c++/ref-types.exp: Ditto.
2668
dc96c6c7 26692000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2670
2671 * gdb.base/constvars.exp: Test result of "up" command.
2672 * gdb.base/miscexprs.exp: Ditto.
2673 * gdb.base/pointers.exp: Ditto.
2674 * gdb.base/scope.exp: Ditto.
2675 * gdb.c++/derivation.exp: Ditto.
2676 * gdb.c++/local.exp: Ditto.
2677 * gdb.c++/namespace.exp: Ditto.
2678 * gdb.c++/overload.exp: Ditto.
2679 * gdb.c++/ref-types.exp: Ditto.
2680
44097287
FN
26812000-11-22 Michael Chastain <chastain@redhat.com>
2682
2683 * mips_pro.exp: Accept either "middle -> top -> main" or
2684 "middle -> main" in the backtrace, because gcc can optimize
2685 tail calls to jumps. Remove setup_xfail for the hppa case.
2686 Add a comment with the original warning messages from PR 3016,
2687 which was filed in 1993, to preserve them for posterity.
2688
9d2e1bab
ND
26892000-11-17 Nick Duffek <nsd@redhat.com>
2690
2691 * lib/gdb.exp (gdb_test): Override timeout with board info.
2692
1aca8eb7
ND
26932000-11-17 Nick Duffek <nsd@redhat.com>
2694
2695 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2696 the second kill and detach messages.
2697
93076499
ND
26982000-11-17 Nick Duffek <nsd@redhat.com>
2699
2700 * configure.in: Add AC_EXEEXT.
2701 * configure: Regenerate.
2702 * Makefile.in (just-check): Export EXEEXT.
2703 * lib/gdb.exp ($EXEEXT): Import from environment.
2704 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2705 expect "maint dump-me" on Cygwin.
2706 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2707 $EXEEXT.
2708
30e87cd3
ND
27092000-11-17 Nick Duffek <nsd@redhat.com>
2710
2711 * gdb.base/break.exp: Test backtrace and finish from called
2712 function on all platforms, not just HP-UX.
2713
dc96c6c7 27142000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2715
2716 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2717 code from gdb_target_monitor, so it can be used independantly
2718 for gdbserver. Also comment out an unnecessary PUTS.
2719
dc96c6c7 27202000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2721
2722 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2723 * gdb.base/corefile.exp: Expect the message "Program is being
2724 debugged already" when we send the "corefile" command, since
2725 the preceeding gdb_load may have connected gdb to a remote target.
2726 * gdb.base/display.exp: Disable hardware watchpoints if new
2727 board info variable "no_hardware_watchpoints" is true.
2728 Replace single-letter commands with more readable ones.
2729 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2730 if new board info variable "no_hardware_watchpoints" is true.
2731 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2732 to see if stdio (printf) testing is possible.
2733 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2734 board info variable "no_hardware_watchpoints" is true. Use new
2735 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2736
39124dea
FN
27372000-11-13 Fernando Nasser <fnasser@redhat.com>
2738
2739 From Orjan Friberg <orjanf@axis.com>:
2740 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2741 in array print pattern match.
2742
a9e2e984
FN
27432000-11-09 Fernando Nasser <fnasser@redhat.com>
2744
2745 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2746 spelling "cancelled" to U.S. spelling "canceled" to match changes
2747 made to gdb.
2748 * gdb.c++/ovldbreak.exp: Ditto.
2749
c7db355b
PS
27502000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2751
2752 * gdb.base/callfuncs.c (main): Moved to end of file, call
2753 t_double_values to initialize the FPU before inferior calls are made.
2754 * gdb.base/callfuncs.exp: Test for register preservation after calling
2755 inferior functions. Add tests for continuining, finishing and
2756 returning from a stop in a call dummy.
2757
dc96c6c7 27582000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2759
2760 * gdb.base/commands.exp: Break up long lines, and re-indent.
2761
dc96c6c7 27622000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2763
2764 * config/gdbserver.exp: Rewritten from the ground up, to make it
2765 compatible with the current dejagnu tree, and to make it work with
2766 the new "gdbserver" in libremote.
2767
dc96c6c7 27682000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2769
2770 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2771 * gdb.base/varargs.exp: Skip entire test if no printf support.
2772 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2773 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2774
dc96c6c7 27752000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2776
2777 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2778 no floating point support.
2779 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2780 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2781 * gdb.base/call-rt-st.exp: Ditto.
2782 * gdb.base/call-strs.exp: Ditto.
2783
bac5fc66
JG
27842000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2785
2786 * gdb.base/sizeof.c: include <stdio.h>.
2787
2788 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2789 'finish', otherwise uncaptured gdb_prompt would potentially
2790 throw remaining test points out of sync.
2791
b22a6027
SB
27922000-07-26 Scott Bambrough <scottb@netwinder.org>
2793
2794 * gdb.base/recurse.exp: Run tests for all targets.
2795 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2796 gnu-oldld case on ARM.
2797 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2798 for ARM targets.
2799
d8231941
AG
2800Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2801
2802 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2803 * gdb.java/configure: Rebuild.
2804
8caabe69
AG
2805Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2806
2807 * gdb.java/jv-exp.exp: New file.
2808
9d273ca3
AG
2809Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2810
2811 * configure: Rebuilt.
2812 * configure.in (configdirs): Add gdb.java.
2813 * gdb.java/jmisc.java: New file.
2814 * gdb.java/jmisc.exp: New file.
2815 * gdb.java/Makefile.in: New file.
2816 * gdb.java/configure: Rebuilt.
2817 * gdb.java/configure.in: New file.
2818 * lib/java.exp: New file.
2819
4f823a66
AC
2820Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2821
2822 * gdb.base/exprs.exp: Test casts to a pointer including over and
2823 underflow.
2824
2391e11d
AC
2825Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2826
2827 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2828 and the compilers sizes.
2829
54602222
ND
28302000-07-09 Nick Duffek <nsd@redhat.com>
2831
2832 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2833 (use_methods): New function.
2834 (main): Call use_methods().
2835 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2836 (do_tests): Call test_method_param_class.
2837
2bec0572
ND
28382000-07-09 Nick Duffek <nsd@redhat.com>
2839
2840 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2841 spelling.
2842 (test_enums): New procedure. Move enum tests from end of script
2843 to here. Set breakpoint on function name instead of line number.
2844 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2845 (enums2): New marker function.
2846 (enums1): New function.
2847 (main): Call enums1(). Move enum tests to enums1().
2848
78492fde
AC
2849Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2850
2851 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2852 compile/link program. Update line numbers.
2853 * gdb.asm/d10v.inc: Define ``startup''.
2854 * gdb.asm/asmsrc1.s: Add definition of _start.
2855
49a2cef8
AC
2856Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2857
2858 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2859
3e6c8688
EZ
28602000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2861
2862 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2863 of 'help maint print' command.
2864
9ff5cbe9
AC
2865Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2866
2867 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2868 they use gdb_expect_list.
2869
17c579bd
AC
2870Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2871
2872 * gdb.base/commands.exp: Use ``set remote
2873 memory-read-packet-size'' instead of ``set endian big'' to test
2874 long commands.
2875
e6d71bf3
DB
28762000-06-03 Daniel Berlin <dan@cgsoftware.com>
2877
2878 * gdb.c++/templates.exp (do_tests): Make all of these work under
2879 g++, and stop skipping them.
2880
2881 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2882 work under g++.
2883
e5f9ba7b
MS
2884 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2885 initialization.
2886
dc96c6c7 28872000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2888
2889 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2890 the regular expression: accept an (almost) arbitrary sequence of
2891 "frames-invalid" and "breakpoints-invalid" messages both before
2892 and after the "starting" message.
2893
dc96c6c7 28942000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2895
2896 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2897
dc96c6c7 28982000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2899
2900 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2901 Relax the regular expression a little, make it pass on Solaris 8.
2902
8216cda9
KB
29032000-05-12 Kevin Buettner <kevinb@redhat.com>
2904
2905 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2906 a call, do not require that gdb stop on the line after the call.
2907 Instead, it is permissible for gdb to stop on the line of the
2908 call itself.
2909
1a570b2f
MS
29102000-05-12 Michael Snyder <msnyder@.cygnus.com>
2911
2912 * gdb.base/break.exp (bp on small function, optimized file):
2913 Add a second pass pattern. The behavior differs here between stabs
2914 and dwarf for one-line functions. Stabs preserves two line symbols
2915 (one before the prologue and one after) with the same line number,
2916 but dwarf regards these as duplicates and discards one of them.
2917 Therefore the address after the prologue (where the breakpoint is)
2918 has no exactly matching line symbol, and GDB reports the breakpoint
2919 as if it were in the middle of a line rather than at the beginning.
2920
dc96c6c7 29212000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2922
2923 * gdb.base/interrupt.exp: Make "pass" message say "send"
2924 rather than "send_gdb" (for consistancy).
2925
7d418785
AC
2926Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2927
2928 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2929 * gdb.c++/templates.cc: Properly check for GCC version number.
2930 * lib/compiler.cc: Likewise
2931
dc96c6c7 29322000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2933
2934 * gdb.base/break.exp: When compiled with -O2 optimization,
2935 gdb may not stop at the first line of main, due to code motion.
2936
dc96c6c7 29372000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2938
2939 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2940 This test depends on parsing the printf output from the target.
2941 Since the sparclet stub doesn't do stdio, this will never work.
2942 * gdb.base/call-rt-st.exp: ditto.
2943 * gdb.base/call-strs: ditto.
2944
dc96c6c7 29452000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2946
2947 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2948
2949 * gdb.base/ending-run.exp: After connecting to a remote target,
2950 but before running, the target will appear to be in a random
2951 location. Specify both a file and a line for breakpoints.
2952 Also, the function that calls main may be called 'init'
2953 rather than 'start'.
2954
a5a51225
EZ
29552000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2956
2957 * gdb.base/help.exp: Update output for add-symbol-file command.
2958
7930cc7c
FN
29592000-04-10 Fernando Nasser <fnasser@cygnus.com>
2960
2961 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2962 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2963
23e37ab1
C
29642000-04-07 J.T. Conklin <jtc@redback.com>
2965
e93c542c
C
2966 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2967
23e37ab1
C
2968 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2969
591b8fa3
PDM
2970Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2971
2972 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2973 values that can be represented exactly.
2974 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2975 above change, and to not check against the directory part of the source
2976 file name.
2977 (step into print_long_arg_list): Likewise.
2978 (print print_small_structs from print_long_arg_list): Likewise.
2979 (print print_long_arg_list): Likewise.
2980
7a495180
EZ
29812000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2982
30b53638 2983 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2984
beb998c6
AC
2985Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2986
2987 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2988
1c689132
DB
29892000-03-25 Daniel Berlin <dan@cgsoftware.com>
2990
2991 * gdb.base/commands.exp (deprecated_command_test): Add test for
2992 deprecate with no arguments.
2993
c1790a9d
JL
29942000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2995
2996 * gdb.base/break.exp: Add new test for setting breakpoints on
2997 optimized code so we can test breakpoints work even when function
2998 prologues may be optimized away
2999
003ba290
FN
30002000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3001
3002 From David Whedon <dwhedon@gordian.com>
3003 * gdb.base/commands.exp : Added command deprecator tests.
3004
6837a0a2
DB
30052000-03-22 Daniel Berlin <dan@cgsoftware.com>
3006
3007 * gdb.base/help.exp: Added test for new apropos command.
3008
b9593231
KB
30092000-03-21 Kevin Buettner <kevinb@redhat.com>
3010
3011 * gdb.base/pointers.c (usevar): New function.
3012 (main): Make sure that global variables v_int_pointer2, rptr,
3013 and y are all referenced someplace in the program by calling
3014 usevar() on them. [Some linkers delete symbols which are
3015 never referenced. The space remains, but there's no way to
3016 get a (symbolic) handle on the variable from the debugger.]
3017
751a959b
EZ
30182000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3019
3020 * gdb.base/printcmds.c: Add typedeffed arrays.
3021
3022 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3023 procedure to test arrays that are typedef'd.
3024
73a93a32
JI
30252000-03-13 James Ingham <jingham@leda.cygnus.com>
3026
3027 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3028 the library directories.
73a93a32 3029
fb40c209
AC
3030Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3031
3032 * configure.in (configdirs): Add sub directory gdb.mi.
3033 * configure: Re-generate.
3034
3035 * gdb.mi: New directory.
beb998c6 3036
ee4dd2c9
AC
30372000-02-25 Scott Bambrough <scottb@netwinder.org>
3038
3039 * gdb.base/long_long.exp: Correct test suite failure when printing
3040 a long long value as a double on ARM platforms.
3041
70f0cc22
JB
30422000-02-16 Jim Blandy <jimb@redhat.com>
3043
3044 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3045 default source file is set properly before running this test.
3046
853819b8
EZ
30472000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3048
3049 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3050 gdbtk/library directory, not in gdbtcl2.
3051
dfcd3bfb
JM
30522000-02-04 Jim Blandy <jimb@redhat.com>
3053
3054 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3055 backslash from regexp pattern.
3056
3057 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3058 procedure. Use it to run all the "continue to bp overloaded"
3059 tests. Note that this changes the names of the tests slightly.
3060 If the breakpoint hit message includes a hex PC value, because
3061 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3062 from the real source code, still consider that a pass.
3063
3064 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3065 XFAIL here if the breakpoint message contains a hex address. Note
3066 similar change on 1999-11-02.
3067
3068 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3069
3070 * gdb.base/ptype.exp: Establish a default source file before
3071 calling get_debug_format.
3072
30732000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3074
3075 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3076
8b93c638
JM
30772000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3078
3079 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3080 of successive stepi commands -- while in the prologue we should see
3081 the function entry bracket.
3082
30832000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3084
3085 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3086 reach __change_mode() when stepping through the end of main().
3087
c5394b80
JM
30882000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3089
3090 * gdb.base/default.exp: Fix expected pattern.
3091 * gdb.base/help.exp: Same.
3092
0d06e24b
JM
30932000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3094
3095 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3096 Don't use xfail's because that affects only the following test.
beb998c6 3097
0d06e24b
JM
3098 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3099 solaris or linux.
3100
3101 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3102
dc96c6c7 31032000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3104
beb998c6 3105 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3106 "A syntax error" rather than "A parse error". Accept both.
3107
31082000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3109
3110 * gdb.base/default.exp: Remove OS dependent string from "target
3111 remote" test.
3112 * gdb.base/help.exp: Same for "help target remote" test.
3113
c3f6f71d
JM
31142000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3115
3116 From Jim Kingdon <kingdon@redhat.com>:
3117
3118 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3119 prompt (cleanup rather than necessity, but still might keep output
3120 from spilling to next test).
3121
31222000-01-02 Fred Fish <fnf@cygnus.com>
3123
3124 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3125 AIX, which defines them in <sys/types.h>.
3126
ed9a39eb 31271999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3128
ed9a39eb
JM
3129 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3130 float" test.
3131
31321999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3133
ed9a39eb 3134 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3135
3136 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3137 outermost frame disallowed".
3138
31391999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3140
3141 * gdb.base/setvar.exp: New tests for setting the value of a struct
3142 with a constant list.
3143
31441999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3145
3146 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3147 require the user to type a cast before setting the value of a struct.
3148
de57eccd
JM
31491999-12-06 Jim Blandy <jimb@cygnus.com>
3150
3151 * gdb.base/default.exp: Expect the new 'info float' command on
3152 all i386 platforms.
3153
3154 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3155 LinuxThreads libraries that don't support debugging.
3156
c2d11a7d
JM
3157Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3158
3159 * gdb.base/remote.c: Fill the buffer with truely random data.
3160 Change the buffer type to ``unsigned char'' to simplify size
3161 arithmetic.
3162
3163 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3164 stub only handles 400-1 byte packets. Verify that the download
3165 worked.
3166
31671999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3168
3169 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3170 tests, using UNRESOLVED for the untested cases. Also, does not wait
3171 for a timeout if the prompt was received before a recognizable pattern.
3172
31731999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3174
3175 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3176
31771999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3178
3179 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3180 watchpoints.
3181
31821999-11-24 Jason Merrill <jason@casey.cygnus.com>
3183
3184 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3185
3186 * gdb.c++/local.exp: Be more flexible in recognizing local class
3187 name mangling. Don't allow horribly truncated method names.
3188 * gdb.c++/derivation.exp: Expect protected inheritance.
3189 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3190 * gdb.c++/virtfunc.exp: Likewise.
3191 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3192 when printing a nested enum.
3193
31941999-11-22 Jim Blandy <jimb@cygnus.com>
3195
3196 * gdb.base/step-test.exp: Properly await GDB's response to setting
3197 a breakpoint on the call to large_struct_by_value.
3198
3199 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3200 just because we have debug info for the `start' function.
3201
32021999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3203
3204 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3205 "Unknown signal" messages, which indicate (on LinuxThreads) that
3206 GDB doesn't know how to debug threads on this system. This is
3207 better than hanging while philosopher 0 dumps chatter into gdb.log.
3208
32091999-11-18 Tom Tromey <tromey@cygnus.com>
3210
3211 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3212
32131999-11-18 Fred Fish <fnf@cygnus.com>
3214
3215 * gdb.base/coremaker2.c: Add sample program for generating
3216 cores that is more self contained than coremaker.c. Eventually
3217 I'll add more code to this and tie it into the testsuite.
3218
4ce44c66
JM
32191999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3220
3221 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3222
32231999-11-10 Jimmy Guo <guo@cup.hp.com>
3224
3225 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3226 from $srcdir/lib/.
3227 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3228 and gdb.c++/.
3229
3230 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3231
beb998c6 3232 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3233 'continue with watch' test point.
3234
32351999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3236
3237 Merged from p2linux-990323-branch:
beb998c6 3238
4ce44c66
JM
3239 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3240
11cf8741
JM
3241Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3242
3243 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3244 {limit,fixed}''. Test ``set download-write-size''.
3245
3246Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3247
3248 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3249 gdb_expect_list.
3250
3251Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3252
3253 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3254
32551999-11-03 Mark Salter <msalter@cygnus.com>
3256
3257 * gdb.base/break.exp: Fix "stub continue" pattern.
3258
32591999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3260
3261 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3262
32631999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3264
3265 * gdb.base/display.exp ("finish"): Add timeout clause.
3266
3267 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3268 plain prompt clause, so this doesn't have to time out in order to
3269 fail.
3270
3271 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3272 breakpoint hit messages include an address.
3273
3274 * gdb.base/display.exp: Don't forget to escape parens in regular
3275 expressions. Unix regexp notatation sucks.
3276
32771999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3278
3279 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3280 order for 'signalled' message.
3281
5c44784c
JM
32821999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3283
3284 From Jimmy Guo <guo@cup.hp.com>:
3285 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3286 * gdb.base/annota1.c: Add code for tests to work with.
3287
32881999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3289
3290 * gdb.base/remote.exp: New test for remote downloading settings.
3291 * gdb.base/remote.c: New file with large .data.
3292
917317f4
JM
32931999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3294
3295 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3296 for LinuxThreads support, merged from the Code Fusion branch.
3297
3298Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3299
3300 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3301 containing exp_continue into a while within an expect. Don't
3302 attempt a start more than three times. Check return value from
3303 gdb_load.
beb998c6 3304
2df3850c
JM
3305Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3306
3307 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3308 a pass case.
3309
2acceee2
JM
33101999-10-01 Kevin Buettner <kevinb@cygnus.com>
3311
3312 * gdb.base/break.c (main): Added a statement that we can step
3313 off of.
3314 * gdb.base/break.exp: Added tests for setting a breakpoint
3315 at an offset and stepping onto a breakpoint.
3316
33171999-10-01 Fred Fish <fnf@cygnus.com>
3318
beb998c6 3319 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3320 gdb output.
3321
c2c6d25f
JM
33221999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3323
3324 * gdb.base/break.exp: Code locations are in hex, don't forget!
3325 (For HP-UX.)
3326
33271999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3328
3329 * condbreak.exp: Use break.c as test program.
3330 * condbreak.c: Remove, redundant with break.c.
3331
33321999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3333
3334 * config/monitor.exp (gdb_target_monitor): Disable X- and
3335 Z-packets if the target needs it.
3336
33371999-09-13 James Ingham <jingham@leda.cygnus.com>
3338
3339 * gdb.c++/overload.exp: Added tests for listing overloaded
3340 functions with function pointers in the arg, explicitly calling
3341 out the version you want.
3342
cff3e48b
JM
33431999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3344
3345 * long_long.exp: Add variations of test cases that work for
3346 targets with 16-bit ints and 32-bit doubles.
3347
d4f3574e
SS
33481999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3349
3350 * break.c (main): Compare a possibly-uninitialized argc with an
3351 unlikely value that fits in 16 bits.
3352
33531999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3354
3355 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3356 0xfeeb, don't want negative numbers if ints are 16 bits.
3357
3358 * lib/gdb.exp (skip_cplus_tests): New proc.
3359 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3360 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3361 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3362 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3363 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3364 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3365 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3366 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3367
3368 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3369
3370Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3371
3372 * gdb.base/corefile.exp (up): Allow a parameter to appear
3373 in the frame that we're going up to.
3374
3375 From Jim Blandy <jimb@cygnus.com>:
3376
3377 * gdb.base/default.exp (info float): Expect some output now.
3378
3379 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3380 returning floating-point values to fail on the x86.
3381 * gdb.base/callfwmall.exp (do_function_calls): Same.
3382
3383 * gdb.base/list.exp (test_listsize): Correct expectations for
3384 listing line 1 with listsize 2. Also, listing a single line
3385 works now, as does listing three lines. [Kevin's note: There
3386 were a number of other cases fixed too where the expectations
3387 differed...]
3388
33891999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3390
3391 * gdb.base/selftest.exp: Add case for when version prints as
3392 constant string instead of char pointer.
3393
104c1213
JM
33941999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3395
3396 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3397 stepping out of main.
3398
3399 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3400 G++ used.
3401
3402 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3403 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3404
3405 * gdb.c++/ovldbreak.exp: Update match string in test that
3406 includes a warning of multiple breakpoints.
3407
34081999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3409
3410 * gdb.base/display.exp: Improve precision of step-after-finish
3411 added yesterday.
3412
3413 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3414 test.
3415
3416 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3417 configs when using G++, not just hppa*.
3418
34191999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3420
3421 * gdb.base/async.c: New file.
3422 * gdb.base/async.exp: New file.
3423
3424Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3425
3426 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3427 PA64.
3428
53a5351d
JM
3429Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3430
104c1213
JM
3431 * gdb.base/display.exp: "finish" can leave us mid-line on many
3432 targets, deal with it. Add a small constant to main, instead of
3433 1000 since main+1000 may not be a valid address in the target.
3434
53a5351d
JM
3435 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3436 on hpux11.
3437
3438 * gdb.base/attach.exp: Handle another hpux11 error message variant
3439 when attaching to a process that does not exist.
3440
34411999-08-19 J.T. Conklin <jtc@redback.com>
3442
3443 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3444 characters in 'continue to 1241' test.
3445
34461999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3447
3448 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3449 stop in print_long_arg_list, define and use a whitespace
3450 variable in print_small_structs test, add an XFAIL for Solaris.
3451 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3452 interested enough to fix.
3453
7be570e7
JM
34541999-08-13 Keith Seitz <keiths@cygnus.com>
3455
3456 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3457 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3458 proc knows about targets other than the natives.
3459 (test_assign): Use "gdb_run_cmd" to "run" the target.
3460 Check that we've actually hit the breakpoint at main.
3461 When we attempt to assign a value to a local variable, check
3462 that the variable is in the current scope, i.e., don't use
3463 a test with an empty result.
3464
3465Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3466
3467 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3468 command.
3469
34701999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3471
3472 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3473 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3474 gdb.compat, gdb.threads-hp.
3475 gdb.hp/configure, gdb.hp/configure.in: New files.
3476 gdb.hp/Makefile.in: Recurse into new subdirs.
3477 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3478 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3479 in object files.
3480 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3481
96baa820
JM
34821999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3483
3484 * gdb.base/display.exp: Help expect by putting a newline in the
3485 funky printf, remove a bogus p/a test.
3486
34871999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3488
3489 * gdb.base/display.exp: Make sure that when we say 'run', we are
3490 connected to the target. This is necessary when running not
3491 natively.
3492
34931999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3494
3495 * gdb.base/step-test.exp: Removed some extraneous messages.
3496
3497 * gdb.base/long_long.exp: Don't run memory examination tests
3498 on little-endian targets (they will need a different set of
3499 results to match).
3500
35011999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3502
3503 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3504 until somebody decides to fix GDB.
3505
3506 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3507 constant as "ULL".
3508 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3509 matches for a couple x/2 commands.
3510
a0b3c4fd
JM
35111999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3512
3513 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3514 by merging in ref-types2 tests.
3515 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3516
3517 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3518 * gdb.c++/Makefile.in: Add standard actions.
3519 (EXECUTABLES): Rename from PROGS, update list.
3520 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3521 from gdb.hp.
3522 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3523 foo and bar locals.
3524 * gdb.c++/anon-union.exp: Fix tests to match.
3525 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3526 expect matches to handle output variations.
3527 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3528 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3529 output, add HP alternatives for new and delete prints.
3530 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3531 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3532 * gdb.c++/demangle.exp: Use $style when reporting failure.
3533 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3534 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3535 match alternatives.
3536 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3537 compilers.
3538 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3539 * gdb.c++/method.exp: Add match alternatives.
3540 * gdb.c++/misc.cc: Add bool types.
3541 * gdb.c++/misc.exp: Add tests for bool types.
3542 * gdb.c++/overload.exp: Add xfails.
3543 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3544 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3545 add some more template parameter tests (only for HP currently).
3546 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3547 * gdb.c++/virtfunc.cc: Add return type and value for main.
3548 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3549 match alternatives.
beb998c6 3550
a0b3c4fd
JM
35511999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3552
3553 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3554
35551999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3556
3557 * gdb.base/signals.exp: Don't expect getting a backtrace from
3558 within a signal handler to fail on Linux.
3559
35601999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3561
3562 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3563 * lib/gdb.exp: Remove some gratuitious semicolons.
3564 (delete_breakpoints): Increase timeout.
3565 (gdb_expect): Add -notransfer option.
3566 (gdb_test): Use -notransfer option.
3567 (get_compiler_info): Add f77 case.
3568 (get_compiler): New proc, split out from gdb_preprocess, add f77
3569 case.
3570 (gdb_preprocess): Call get_compiler.
3571
3572 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3573 * gdb.base/attach.exp, gdb.base/display.exp,
3574 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3575 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3576 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3577 third arg to gdb_test.
3578 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3579 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3580 HP-UX xfails, add others.
3581 * gdb.base/completion.exp: Reflect name change of self-test.
3582 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3583 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3584 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3585 HP failure number.
3586 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3587 useless HP-UX 10.30 references.
3588 * gdb.base/maint.exp: Loosen matches.
3589 * gdb.base/pointers.c (main): Declare more_code.
3590 * gdb.base/pointers.exp: Match on output of a `next'.
3591 * gdb.base/structs.c: Add prototypes.
3592 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3593 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3594
35951999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3596
3597 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3598 command.
3599
36001999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3601
3602 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3603 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3604
3605 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3606 debug info. Deal with lack of signal hanlder info in stack.
3607
3608 From Jim Kingdon <kingdon@redhat.com>:
3609 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3610
5a2468f5
JM
36111999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3612
3613 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3614 gdb.base/foll-vfork.exp: Don't run for crosses.
3615
adf40b2e
JM
3616Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3617
3618 * gdb.base/configure.in: Check for gdbvars.exp instead of
3619 a1-selftest.exp.
3620 * gdb.base/configure: Re-generate.
3621
36221999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3623
3624 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3625 in trying to run first and name is too long.
3626
3627 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3628 pointers2.c and pointers2.exp, respectively.
3629 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3630 doschk happier.
3631
43e526b9
JM
36321999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3633
3634 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3635 callfuncs2.c and callfuncs2.exp.
3636
3637 * gdb.base/list.exp: Remove mistaken xfails.
3638 * gdb.base/list0.h: Add optional prototypes.
3639
9846de1b
JM
3640Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3641
3642 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3643 calling malloc.
3644 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3645 * ptype.exp: Move test for get_debug_format to before its first
3646 use.
3647
36481999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3649
3650 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3651 * gdb.base/annota2.cc, annota2.exp: Move from here.
3652 * gdb.c++/annota2.cc, annota2.exp: To here.
3653 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3654
43ff13b4
JM
3655Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3656
3657 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3658 a consistent format.
3659
085dd6e6
JM
36601999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3661
3662 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3663 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3664 HP compilers, also set the globals $true and $false.
3665
3666 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3667 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3668 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3669 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3670 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3671 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3672 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3673 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3674 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3675 whatis.c} Add C++ compatible function definitions and return
3676 types, add includes for library functions.
3677 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3678 * gdb.base/step-test.c (myglob): Rename from glob.
3679 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3680 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3681 files, move here from gdb.hp.
3682 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3683 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3684 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3685 Adjust line numbers in regexps.
3686
3687 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3688 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3689 instead of 0/1.
3690
3691 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3692 foll-vfork.exp: New files, move here from gdb.hp.
3693 * gdb.base/page.exp: New file, test of pagination command.
3694
3695 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3696 recursion test.
3697 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3698
3699 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3700 gdb.base/solib.exp: Fix compiler invocation process.
3701
3702 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3703 HP-UX 11, turn off overload resolution explicitly.
3704 * gdb.base/commands.exp: Set argument list explicitly, add
3705 watchpoint test.
3706 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3707 them work.
3708 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3709 expressions properly.
3710 * gdb.base/corefile.exp: Loosen the match slightly.
3711 * gdb.base/default.exp: Allow "Error accessing memory" message
3712 also.
3713 * gdb.base/display.exp: Skip over x/0 j if PA64.
3714 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3715 * gdb.base/interrupt.exp: Ditto.
3716 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3717 in use.
3718 * gdb.base/list.exp: Add xfails for HP-UX.
3719 * gdb.base/long_long.exp: Refine some of the numeric matches.
3720 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3721 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3722 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3723 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3724 * gdb.base/ptype.exp: Succeed on more varieties of output.
3725 * gdb.base/scope.exp: Add xfails for HP-UX.
3726 * gdb.base/sect-cmd.exp: Add more cases.
3727 * gdb.base/setvar.exp: Add xfails for HP-UX.
3728 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3729 * gdb.base/signals.exp: Match on void symbolically.
3730 * gdb.base/step-test.exp: Add case for PA64.
3731 * gdb.base/term.exp: Add exit and restart.
3732 * gdb.base/twice.exp: Clean up after self.
3733 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3734 * gdb.base/whatis.exp: Allow more ways to pass tests.
3735
3736 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3737 no longer useful.
3738
3739Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3740
3741 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3742 list of patterns.
3743 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3744 print_double_array(double_array)", "continuing to breakpoint
3745 1018", "print print_double_array(array_d)" and "continuing to
3746 1034" tests.
beb998c6 3747
085dd6e6
JM
37481999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3749
3750 * Makefile.in: Add empty html and install-html targets.
3751
37521999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3753
3754 * config/mt-*: Remove, these haven't been used since 1996.
3755
37561999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3757
3758 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3759 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3760 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3761
9e0b60a8
JM
37621999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3763
3764 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3765 simpler match case for the ptype of the big class.
3766
37671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3768
3769 * gdb.exp: Fix test for gdb_prompt existence.
3770
37711999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3772
3773 * gdb.exp (gdb_test): Add fail after calls to perror.
3774
37751999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3776
3777 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3778
37791999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3780
3781 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3782
0f71a2f6
JM
3783Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3784
3785 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3786 malloc() is linked in.
3787
37881999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3789
3790 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3791 step at end.
3792
3793 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3794
37951999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3796
3797 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3798
cce74817
JM
3799Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3800
3801 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3802 * gdb.base/mips_pro.exp: Likewise.
3803
38041999-06-02 Keith Seitz <keiths@cygnus.com>
3805
3806 * gdb.c++/templates.cc: Change all "new" operators to throw
3807 an exception.
3808 * gdb.c++/cplusfuncs.cc: Likewise.
3809
3810 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3811
3812Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3813
3814 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3815 * gdb.base/ending-run.exp: When stepping out of main, accept a
3816 step into an arbitrary assembler file.
3817
392a587b
JM
38181999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3819
beb998c6 3820 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3821 "breakpoint-invalid" to be printed.
beb998c6 3822 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3823 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3824 * gdb.base/annota2.cc: Initialize a.x to 0.
3825
9e086581
JM
38261999-05-17 Keith Seitz <keiths@cygnus.com>
3827
3828 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3829 when "skip_float_tests" set.
3830 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3831 "print print_ten_doubles", and "step into print_long_arg_list".
3832 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3833 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3834 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3835 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3836 "skip_float_tests" is set.
3837 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3838 when "skip_float_tests" set.
beb998c6 3839
cd0fc7c3
SS
38401999-05-06 Keith Seitz <keiths@cygnus.com>
3841
3842 * gdb.base/annota2.cc: Include stdio.h.
3843
3844Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3845
3846 * gdb.base/crossload.exp: Remove, this has been disabled ever
3847 since BFD stopped including all targets, and cross-GDB gets
3848 plenty of testing anyway.
3849 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3850 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3851 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3852 * gdb.base/README: Remove, was doc for this.
3853 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3854 needed.
3855
b83266a0
SS
38561999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3857
3858 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3859 output.
3860
3861 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3862 * gdb.base/annota2.exp: New file. More annotation tests.
3863 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3864 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3865
38661999-04-23 Angela Marie Thomas <angela@cygnus.com>
3867
3868 * config/cfdbug.exp: New file.
3869
7a292a7a
SS
38701999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3871
3872 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3873 Marcus Daniel's and Dale Hawkins's demangler crashes.
3874
3875 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3876 test_lucid_style_demangling, test_arm_style_demangling,
3877 test_hp_style_demangling): Try Tom Tromey's core-dumping
3878 identifier under each demangling style.
3879
38801999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3881
3882 * gdb.c++/demangle.exp: Include the current demangling style
3883 in all test names.
3884 (current_demangling_style): New global variable.
3885 (set_demangling_style, test_demangling_core, test_demangling,
3886 test_demangling_exact): New functions.
3887 (test_gnu_style_demangling, test_lucid_style_demangling,
3888 test_arm_style_demangling, test_hp_style_demangling): Use those,
3889 instead of calling gdb_test and gdb_test_exact directly.
3890 (catch_demangling_errors): New function, which reports errors
3891 signalled by the demangling test functions in an orderly way.
3892 (do_tests): Use catch_demangling_errors.
3893
38941999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3895
3896 * gdb.base/signals.exp (test_handle_all_print): Use () for
3897 grouping in expressions, not {}.
3898
3899 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3900 initialized yet.
3901
39021999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3903
3904 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3905 are listed.
3906
39071999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3908
3909 * gdb.stabs/weird.exp: Test for CC being defined before
3910 looking at its value.
3911
39121999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3913
3914 * gdb.base/call-ar-st.exp: Remove stray '#'.
3915 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3916 "short int" and "long int".
3917 * gdb.c++/overload.cc: Cast the string added in the previous
3918 change, to mollify finicky HP compiler.
3919 * gdb.hp/reg-test.exp (testfile): Fix file name.
3920 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3921
7a292a7a
SS
3922 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3923 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3924 alternate form of enum ptype.
3925
c906108c
SS
39261999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3927
7a292a7a
SS
3928 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3929 * gdb.hp/*.exp: Change all to run compiler probe only after
3930 passing skip_hp_tests, so as not to waste time on guaranteed
3931 failure.
3932
c906108c
SS
3933 * gdb.c++/overload.cc: Pass string instead of char addr, always
3934 init ccpfoo.
3935 * gdb.c++/templates.cc: Fix syntax error.
3936
7a292a7a
SS
3937Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3938
3939 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3940 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3941 command.
3942
39431999-03-18 James Ingham <jingham@cygnus.com>
3944
3945 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3946
3947 * gdb.c++/method.exp: It was testing an uninitialized int on the
3948 stack and assuming it was positive.
3949
3950 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3951
3952 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3953 keep it from killing the rest of the tests.
7a292a7a
SS
3954 Use gdb_continue_to_end.
3955
3956 * gdb.base/sigall.exp: use gdb_continue_to_end.
3957
3958 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3959
3960 * gdb.base/display.exp: use runto_main, not run.
3961
beb998c6
AC
3962 * gdb.base/default.exp: Check for the current error message in the
3963 r abbreviation test.
7a292a7a
SS
3964 Add strongarm to the targets that know info float.
3965
beb998c6 3966 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3967 run which doesn't work with monitors.
3968
3969 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3970
3971 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3972
3973 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3974 program. Traps the case (in Cygmon) when the program never really
3975 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3976 more places, so I used my name. Sorry Mark...
3977
3978 * config/monitor.exp (gdb_target_monitor): added another
3979 target_info parameter: remotebinarydownload. This will set the
3980 remotebinarydownload flag if this is causing some boards trouble.
3981
39821999-03-18 Mark Salter <msalter@cygnus.com>
3983
3984 * lib/gdb.exp (continue_to_exit): New function.
3985
3986 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3987 * gdb.base/ending-run.exp: Ditto.
3988 * gdb.base/step-test.exp: Ditto.
3989
39901999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3991
3992 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3993 (suggested by Art Haas <ahaas@neosoft.com>).
3994
39951999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3996
3997 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3998
3999Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4000
4001 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4002 descriptions of types (short unsigned int vs unsigned short, etc).
4003
40041999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4005
4006 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4007 a call to strlen; sometimes we do have sources.
4008
40091999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4010
4011 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4012 character, so GDB won't print garbage after its end.
beb998c6 4013
c906108c
SS
4014 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4015 breakpoint there instead. Sometimes GCC emits memcpy to handle
4016 the large structures being passed by value, so we step into that
4017 instead of sum_array_print, which obscures what we're really testing.
4018 * gdb.base/step-test.exp: However, we do want a test that notices
4019 the bizarre steps into memcpy, so do that here. Add check for
4020 stepping into function calls that pass large structures by value.
4021 ("Is that a noun clause, or are you just happy to see me?")
4022 Remove all references to specific line numbers.
4023 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4024 New type and function.
4025 (main): Call large_struct_by_value, passing it a large struct by value.
4026 * lib/gdb.exp (gdb_get_line_number): New function.
4027
4028 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4029 more portable.
4030
7a292a7a
SS
40311999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4032
c906108c
SS
4033 * lib/gdb.exp: Doc fixes.
4034
7a292a7a
SS
40351999-03-05 Nick Clifton <nickc@cygnus.com>
4036
beb998c6 4037 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4038
40391999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4040
c906108c
SS
4041 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4042 commands. They're not germane to this test, and they don't work
4043 that way on remote targets.
4044
3fc11d3e
JM
40451999-03-01 James Ingham <jingham@cygnus.com>
4046
4047 * Changelog entries merged over from gdb development branch.
4048
3fc11d3e
JM
4049 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4050
4051 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4052 for outputting results of test run.
4053
2d4a1622 4054 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4055
4056 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4057
7a292a7a
SS
40581999-02-25 Felix Lee <flee@cygnus.com>
4059
4060 * lib/gdb.exp (debug_format): initialize
4061
c906108c
SS
40621999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4063
4064 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4065 * gdb.base/call-rt-st.c: Ditto.
4066
c906108c
SS
40671999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4068
4069 * gdb.threads/pthreads.exp (horiz): New variable.
4070 (test_startup): Fix regexps that capture thread numbers.
4071
40721999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4073
4074 * gdb.base/smoke.exp: Disambiguate two test case names (both
4075 called ``print'').
4076
4077Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4078
4079 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4080 compilation.
4081
40821999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4083
4084 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4085 actual output formatting.
4086 * gdb.base/smoke.exp: GDB removes leading 0's.
4087 * gdb.base/volatile.exp: Don't check type of remuneration;
4088 that variable is no longer defined in constvars.c.
4089 * gdb.base/step-test.c (main): Exit with explicit exit code.
4090 * gdb.base/step-test.exp: Remove two nexti checks--they are
4091 not portable.
4092
40931999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4094
4095 * gdb.base/help.exp ("help delete display"): Fix test to match
4096 gdb's output.
4097
4098 * gdb.base/long_long.c (known_types): Initialize values to zero.
4099 * gdb.base/long_long.exp: Step one more line
4100 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4101 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4102 unique test case names.
4103
4104Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4105
beb998c6 4106 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4107
4108 * gdb.c++/method.exp: Add missing close brace.
4109
41101999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4111
4112 * gdb.base/maint.exp: Use 'set height 0' to disable page
4113 prompting, not 'set height 400'.
4114
4115 Fix a bunch of timeouts.
4116 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4117 four separate tests, so expect doesn't take forever to match a ton
4118 of text against a regexp with lots of .* forms.
4119 ("maint print psymbols", "maint print symbols"): Make some of
4120 these greps more selective, so that expect doesn't try to wade
4121 through huge piles of output and time out.
4122
4123 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4124
4125 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4126 tests: one which doesn't expect shlib events to be reported, and
4127 another which does, but is XFAIL for all platforms other than
4128 HP/UX.
4129
4130 * gdb.base/break.exp: Teach the test suite that the `catch
4131 fork', `catch vfork', and `catch exec' commands produce error
4132 messages on platforms that don't provide these features.
4133
4134Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4135
4136 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4137 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4138 (shortening names from solib_threshold.exp etc), won't run on
4139 anything but HP-UX for the foreseeable future.
4140 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4141 reflect move.
4142
4143Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4144
4145 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4146 gdb.trace/Makefile.in (clean): Remove all test executables.
4147
4148Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4149
4150 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4151 successfully re-sets breakpoints in shared libraries.
4152 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4153
4154Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4155
beb998c6
AC
4156 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4157 and compiled w/o GCC.
c906108c
SS
4158
4159 * gdb.hp/watch-cmd.exp: ditto.
4160
4161 * gdb.hp/watch-hp.exp: ditto.
4162
4163 * gdb.hp/xdb1.exp: ditto.
4164
4165 * gdb.hp/xdb2.exp: ditto.
4166
4167 * gdb.hp/dbx.exp: ditto.
4168
4169Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4170
4171 * constvars.c: Remove C++-isms.
4172 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4173 with GCC.
4174
4175Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4176
4177 The following changes are part of the HP merge.
4178
4179 * gdb.base/break.exp: new tests to verify that catchpoints for
4180 fork, vfork, and exec don't trigger inappropriately.
4181
4182 * gdb.base/opaque.exp: compile one file at a time, then link.
4183
4184 * gdb.base/signals.exp: be more restrictive about which hppa
4185 systems receive a setup_xfail. new tests.
4186
4187 * gdb.base/solib_threshold.build: new file.
4188 * gdb.base/solib_threshold.exp: new file.
4189 * gdb.base/solib_threshold.link_opts: new file.
4190 * gdb.base/solib_threshold.mk: new file.
4191 * gdb.base/gen_solib_threshold.c: new file.
4192
4193 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4194 tests. New tests for enums inside classes.
4195
4196 * gdb.c++/compiler.cc: indicate support of template debugging.
4197
4198 * gdb.c++/demangle.exp: run hp style demangling tests.
4199
4200 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4201 tests.
4202
4203 * gdb.c++/misc.cc: changes to support new tests.
4204
4205 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4206 to support new tests.
4207
4208 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4209 gcc, then skip these tests.
4210
4211Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4212
4213 The following files are part of the HP merge; some had longer
4214 names at HP, but have been renamed to be no more than 14
4215 characters in length.
4216
4217 * gdb.hp/ambiguous.cc: new file.
4218 * gdb.hp/ambiguous.exp: new file.
4219 * gdb.hp/attach.exp: new file.
4220 * gdb.hp/attach2.exp: new file.
4221 * gdb.hp/classes-hp.exp: new file.
4222 * gdb.hp/ctti.exp: new file.
4223 * gdb.hp/ctti-add.cc: new file.
4224 * gdb.hp/ctti-add1.cc: new file.
4225 * gdb.hp/ctti-add2.cc: new file.
4226 * gdb.hp/ctti-add3.cc: new file.
4227 * gdb.hp/dbx.exp: new file.
4228 * gdb.hp/exception.cc: new file.
4229 * gdb.hp/exception.exp: new file.
4230 * gdb.hp/foll-exec.c: new file.
4231 * gdb.hp/foll-exec.exp: new file.
4232 * gdb.hp/foll-fork.c: new file.
4233 * gdb.hp/foll-fork.exp: new file.
4234 * gdb.hp/foll-vfork.c: new file.
4235 * gdb.hp/foll-vfork.exp: new file.
4236 * gdb.hp/inherit-hp.exp: new file.
4237 * gdb.hp/more-steps.exp: new file.
4238 * gdb.hp/namespace.cc: new file.
4239 * gdb.hp/namespace.exp: new file.
4240 * gdb.hp/optimize.exp: new file.
4241 * gdb.hp/pxdb.c: new file.
4242 * gdb.hp/pxdb.exp: new file.
4243 * gdb.hp/quicksort.exp: new file.
4244 * gdb.hp/reg-test.exp: new file.
4245 * gdb.hp/reg-test.s: new file.
4246 * gdb.hp/sized-enum.c: new file.
4247 * gdb.hp/sized-enum.exp: new file.
4248 * gdb.hp/start-stop.exp: new file.
4249 * gdb.hp/templ-hp.cc: new file.
4250 * gdb.hp/templ-hp.exp: new file.
4251 * gdb.hp/thr-lib.c: new file.
4252 * gdb.hp/thr-lib.exp: new file.
4253 * gdb.hp/thr-lib.h: new file.
4254 * gdb.hp/thr-liblib.c: new file.
4255 * gdb.hp/virtfun-hp.c: new file.
4256 * gdb.hp/virtfun-hp.exp: new file.
4257 * gdb.hp/watch-cmd.exp: new file.
4258 * gdb.hp/watch-hp.exp: new file.
4259 * gdb.hp/xdb1.exp: new file.
4260 * gdb.hp/xdb2.exp: new file.
4261 * gdb.hp/xdb3.exp: new file.
4262
4263Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4264
4265 The following files are part of the HP merge; some had longer
4266 names at HP, but have been renamed to be no more than 14
4267 characters in length.
4268
4269 * gdb.base/ss.h: new file.
4270 * gdb.base/call-ar-st.c: new file.
4271 * gdb.base/call-ar-st.exp: new file.
4272 * gdb.base/call-rt-st.c: new file.
4273 * gdb.base/call-rt-st-exp: new file.
4274 * gdb.base/call-strs.exp: new file.
4275 * gdb.base/ena-dis-br.exp: new file.
4276 * gdb.base/environ.exp: new file.
4277 * gdb.base/long_long.exp: new file.
4278 * gdb.base/sect-cmd.exp: new file.
4279 * gdb.base/shlib-cl2.exp: new file.
4280 * gdb.base/smoke.exp: new file.
4281 * gdb.base/so-impl-ld.c: new file.
4282 * gdb.base/so-impl-ld.exp: new file.
4283 * gdb.base/so-indr-cl.c: new file.
4284 * gdb.base/so-indr-cl.exp: new file.
4285 * gdb.base/varargs.exp: new file.
4286 * gdb.base/volatile.exp: new file.
4287 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4288 * gdb.base/display.exp: new file.
c906108c
SS
4289 * gdb.c++/derivation.exp: new file.
4290 * gdb.c++/local.exp: new file.
4291 * gdb.c++/member-ptr.exp: new file.
4292 * gdb.c++/overload.exp: new file.
4293 * gdb.c++/ovldbreak.exp: new file.
4294 * gdb.c++/ref-types.exp: new file.
4295 * gdb.c++/ref-types2.exp: new file.
4296 * gdb.c++/userdef.exp: new file.
beb998c6 4297
c906108c
SS
4298Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4299
4300 * gdb.base/default.exp: Reflect wording change in remote.c.
4301
dc96c6c7 4302Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4303
4304 * gdb.base/help.exp: Update to reflect current text.
4305
4306Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4307
4308 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4309 they're stack variables and contain garbage.
4310 * gdb.c++/anon-union.exp: new file.
4311
4312 The following changes were made by David Taylor
4313 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4314 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4315 in changes by HP.
4316
4317 * gdb.base/bitops.exp: new file.
4318 * gdb.base/default.exp: change expected messages for catch and
4319 info catch tests to reflect HP merge changes.
4320 * gdb.base/enable-disable-break.exp
4321 * gdb.base/ending-run.c: new file.
4322 * gdb.base/long_long.c: new file.
4323 * gdb.base/maint.exp: new file.
4324 * gdb.base/pointers2.exp: new file.
4325 * gdb.base/shlib-call2.exp: new file.
4326 * gdb.base/solib.exp: new file.
4327 * gdb.base/step-test.c: new file.
4328 * gdb.c++/anon-union.cc: new file.
4329 * gdb.c++/local.cc: new file.
4330 * gdb.c++/member-pointer.cc: new file.
4331 * gdb.c++/method.cc: new file.
4332 * gdb.c++/ref-types.cc: new file.
4333 * gdb.c++/ref-types2.cc: new file.
4334 * gdb.c++/userdef.cc: new file.
beb998c6 4335
c906108c
SS
4336 * gdb.base/scope.exp: compile one file at a time, then link.
4337 * gdb.base/langs.exp: ditto.
4338 * gdb.base/list.exp: ditto.
beb998c6 4339
c906108c
SS
4340Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4341
4342 The following changes were made by David Taylor
4343 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4344 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4345 in changes by HP.
beb998c6 4346
c906108c
SS
4347 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4348 skip tests. When compiling pass c++ flag to gdb_compile.
4349 * gdb.c++/
beb998c6 4350
c906108c
SS
4351 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4352 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4353 (skip_hp_tests): new function.
4354 (gdb_preprocess): new function.
4355
4356 * configure.in (hpdir): decide whether to configure gdb.hp.
4357 * configure: regenerated.
4358
4359 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4360 to delete on clean.
4361 (EXECUTABLES): update to reflect new additions.
4362 * gdb.base/commands.exp: update message expected.
4363 * gdb.base/default.exp: add copyright notice.
4364 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4365 * gdb.base/help.exp: update messages to reflect current text.
4366 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4367 targets for recurse tests.
4368 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4369 skip this file.
4370
4371 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4372 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4373 compilation.
4374 * gdb.c++/misc.exp: ditto.
4375 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4376 run the tests. tell gdb_compile that it's a c++ compilation.
4377
4378 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4379
c906108c
SS
4380 * gdb.base/all-bin.exp: new file.
4381 * gdb.base/arithmet.exp: new file.
4382 * gdb.base/assign.exp: new file.
4383 * gdb.base/completion.exp: new file.
4384 * gdb.base/cond-expr.exp: new file.
4385 * gdb.base/condbreak.exp: new file.
4386 * gdb.base/define.exp: new file.
4387 * gdb.base/dollar.exp: new file.
4388 * gdb.base/environment.exp: new file.
4389 * gdb.base/eval-skip.exp: new file.
4390 * gdb.base/jump.exp: new file.
4391 * gdb.base/logical.exp: new file.
4392 * gdb.base/pointers.exp: new file.
4393 * gdb.base/relational.exp: new file.
4394 * gdb.base/section_command.exp: new file.
4395 * gdb.base/whatis-expr.exp: new file.
4396
4397 * gdb.base/all-types.c: new file.
4398 * gdb.base/call-array-struct.c: new file.
4399 * gdb.base/call-return-struct.c: new file.
4400 * gdb.base/call-strings.c: new file.
4401 * gdb.base/callfuncs2.c: new file.
4402 * gdb.base/condbreak.c: new file.
4403 * gdb.base/constvars.c: new file.
4404 * gdb.base/display.c: new file.
4405 * gdb.base/int-type.c: new file.
4406 * gdb.base/jump.c: new file.
4407 * gdb.base/miscexprs.c: new file.
4408 * gdb.base/pointers.c: new file.
4409 * gdb.base/pointers2.c: new file.
4410 * gdb.base/shmain.c: new file.
4411 * gdb.base/shr1.c: new file.
4412 * gdb.base/shr2.c: new file.
4413 * gdb.base/solib.c: new file.
4414 * gdb.base/solib1.c: new file.
4415 * gdb.base/solib2.c: new file.
4416 * gdb.base/varargs.c: new file.
4417 * gdb.c++/derivation.cc: new file.
4418 * gdb.c++/overload.cc: new file.
4419 * gdb.c++/ovldbreak.cc: new file.
4420 * gdb.hp/attach.c: new file.
4421 * gdb.hp/attach2.c: new file.
4422 * gdb.hp/average.c: new file.
4423 * gdb.hp/compiler.c: new file.
4424 * gdb.hp/compiler.cc: new file.
4425 * gdb.hp/execd-program.c: new file.
4426 * gdb.hp/follow-exec.c: new file.
4427 * gdb.hp/follow-fork.c: new file.
4428 * gdb.hp/follow-vfork-and-exec.c: new file.
4429 * gdb.hp/misc-hp.cc: new file.
4430 * gdb.hp/more-steps.c: new file.
4431 * gdb.hp/optimize.c: new file.
4432 * gdb.hp/quicksort.c: new file.
4433 * gdb.hp/run-hp.c: new file.
4434 * gdb.hp/start-stop.c: new file.
4435 * gdb.hp/sum.c: new file.
4436 * gdb.hp/templates-hp.cc: new file.
4437 * gdb.hp/thread-local-in-lib.c: new file.
4438 * gdb.hp/thread-local-in-lib.h: new file.
4439 * gdb.hp/thread-local-in-lib.lib.c: new file.
4440 * gdb.hp/vforked-program.c: new file.
4441 * gdb.hp/virtfunc-hp.cc: new file.
4442 * gdb.hp/watchpoint-hp.c: new file.
4443 * gdb.hp/xdb.c: new file.
4444 * gdb.hp/xdb0.c: new file.
4445 * gdb.hp/xdb0.h: new file.
4446 * gdb.hp/xdb1.c: new file.
4447
4448Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4449
4450 The following change was made by Edith Epstein
4451 <eepstein@cygnus.com> as part of a project to merge in changes
4452 originally made by HP; HP did not create ChangeLog entries.
4453
4454 * gdb.c++/demangle.exp: changed the expected output for some
4455 ARM-style mangling -- removed second reference to datatype.
4456 For example, maint demangle __dt__11T1__pt__2_cFv
4457 T1<char>::~T1<char>(void)
4458 becomes,
4459 maint demangle __dt__11T1__pt__2_cFv
4460 T1<char>::~T1(void)
4461
4462 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4463
c906108c
SS
4464Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4465
4466 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4467 * gdb.trace/backtrace.exp: Likewise.
4468 * gdb.trace/circ.exp: Likewise.
4469 * gdb.trace/collection.exp: Likewise.
4470 * gdb.trace/deltrace.exp: Likewise.
4471 * gdb.trace/infotrace.exp: Likewise.
4472 * gdb.trace/limits.exp: Likewise.
4473 * gdb.trace/packetlen.exp: Likewise.
4474 * gdb.trace/passc-dyn.exp: Likewise.
4475 * gdb.trace/passcount.exp: Likewise.
4476 * gdb.trace/report.exp: Likewise.
4477 * gdb.trace/save-trace.exp: Likewise.
4478 * gdb.trace/tfind.exp: Likewise.
4479 * gdb.trace/tracecmd.exp: Likewise.
4480 * gdb.trace/while-dyn.exp: Likewise.
4481 * gdb.trace/while-stepping.exp: Likewise.
4482
44831998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4484
4485 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4486
4487Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4488
4489 From Brendan Kehoe:
4490 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4491 int return types.
4492
4493Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4494
4495 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4496 remote dos host testing right.
4497
4498Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4499
4500 * gdb.base/corefile.exp: remove some xfails.
4501
4502Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4503
4504 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4505 have different timestamps.
4506
4507Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4508
4509 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4510 gdb.base/default.exp: Replace "exec" with "executable".
4511
4512Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4513
4514 * gdb.base/default.exp: Change else if to elseif from previous
4515 delta.
4516
4517Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4518
4519 * gdb.base/default.exp: Add brace missing from previous delta.
4520
4521Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4522
4523 * gdb.base/default.exp: Support test for info float for all
4524 varieties of arm toolchain.
4525
dc96c6c7 4526Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4527
4528 * gdb.trace/*.exp: remove "remote_download" command.
4529
dc96c6c7 4530Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4531
4532 * gdb.trace/*.exp: remove -gdwarf from compile.
4533
4534Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4535
4536 * gdb.trace/configure.in(AC_INIT): typo
4537 * gdb.trace/configure: regenerated
4538
dc96c6c7 4539Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4540
4541 * config/m68k-emc.exp: New file.
4542 * lib/<emc-support.exp trace-support.exp}: New files.
4543 * configure.in: add new test directory gdb.trace.
4544 * gdb.trace/{configure configure.in Makefile.in}: New files.
4545 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4546 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4547 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4548 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4549 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4550 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4551 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4552
dc96c6c7 4553Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4554
4555 * gdb.c++/classes.exp: Change all regular expressions to match
4556 arbitrary combinations of newline/carriage-return, so that they
4557 will work equally well on Unix and Windows.
4558 * gdb.c++/inherit.exp: ditto.
4559 * gdb.c++/virtfunc.exp: ditto.
4560
45611998-08-11 Dawn Perchik <dawn@cygnus.com>
4562
4563 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4564
c2d11a7d
JM
4565Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4566
4567 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4568 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4569 to use a0-a3/d0-d3 as needed.
4570
4571Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4572
4573 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4574 * gdb.disasm/am33.exp: Corresponding changes.
4575
c906108c
SS
45761998-07-11 Felix Lee <flee@cygnus.com>
4577
4578 * gdb.base/callfuncs.exp: add cmp10 test.
4579 * gdb.base/callfuncs.c (cmp10): new function.
4580
4581Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4582
beb998c6 4583 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4584 into two parts to get around a synchronization problem in expect.
4585
3fc11d3e
JM
4586Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4587
4588 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4589
4590 * configure.in: Add options for gdbtk testsuite.
4591
4592 * configure: Regenerate.
4593
4594 * gdb.gdbtk: New directory to hold gdbtk tests.
4595
c906108c
SS
4596Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4597
4598 * gdb.fortran/types.exp: Escape brackets in expect patterns
4599 for test_float_literal_types_accepted tests.
4600 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4601 before run test.
4602
c2d11a7d
JM
4603Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4604
4605 * am33.exp: Just compile, do not link the testcase.
4606 * am33.s: Add ".am33" pseudoop to force am33 mode.
4607
c906108c
SS
46081998-06-25 Felix Lee <flee@cygnus.com>
4609
4610 * gdb.base/setshow.exp: make sure $pc is sane.
4611
4612 * gdb.stabs/weird.exp: split expect patterns properly.
4613
c2d11a7d
JM
4614Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4615
4616 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4617 * gdb.disasm/am33.exp: Run it.
4618
dc96c6c7 4619Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4620
4621 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4622 match processing (and eliminate spurious timeouts when running).
4623
dc96c6c7 4624Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4625
4626 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4627 exception test, but conditionalize it on target [mach | gnu].
4628
dc96c6c7 4629Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4630
4631 * gdb.base/overlays.exp: fixup compile line for linker script.
4632
4633Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4634
4635 * gdb.fortran/types.exp: don't guess at float size.
4636
4637Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4638
4639 * gdb.base/exprs.exp: delete test that depends on int size.
4640
4641Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4642
4643 * config/sim.exp: Removed checks for target triplets.
4644 (gdb_target_sim): Use gdb,target_sim_options.
4645
4646Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4647
4648 * gdb.base/reread.exp: New file.
4649 * gdb.base/reread1.c: New file.
4650 * gdb.base/reread2.c: New file.
4651
4652Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4653
4654 * config/sim.exp: Use 'target sim -sparclite' when running
4655 SPARClite programs.
4656
4657Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4658
4659 * gdb.base/structs2.exp: New file.
4660 * gdb.base/structs2.c: New file.
4661
4662Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4663
4664 * gdb.asm/common.inc: New file.
4665 * gdb.asm/d10v.inc: New file.
4666 * asm-source.exp: Pass -I's to gas to find .inc files.
4667 Update line numbers in expected output.
4668 * asmsrc1.s: Rewrite.
4669 * asmsrc2.s: Rewrite.
4670 * configure.in: Create arch.inc symlink.
4671 * configure: Regenerate.
4672 * Makefile.in (distclean): Delete arch.inc.
4673
4674Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4675
4676 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4677 (t_enum_value2): ditto
4678 (t_enum_value3): ditto
4679 (main): ditto
4680Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4681
4682 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4683 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4684 change.
4685 Use gdb_test instead of send_gdb/gdb_expect sequences.
4686
4687Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4688
4689 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4690 not void.
4691
4692Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4693
4694 * gdb.base/branches.c: Code with lots of loops and
4695 subroutines. Used to test gdbs ability to single step through PC
4696 changes, especially to test mips-tdep.c:mips_next_pc
4697
4698Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4699
4700 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4701 more rigorous EGCS C++ error checking.
4702
4703Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4704
4705 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4706 tests.
c906108c 4707 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4708 function when asleep.
c906108c 4709 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4710 for i*86 Linux and SVR4 signal handling problems.
4711 Remove linux xfail for `next to handler in signals_tests_1', fixed
4712 by recent infrun.c change.
c906108c 4713 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4714 stack backtraces.
c906108c
SS
4715 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4716 target.[ch] change.
4717
4718Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4719
4720 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4721 for a newline from gdb before continuing.
4722 (default_gdb_exit): Just look for y or n.
4723 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4724 it does, fail the rests of the tests in the file.
4725
4726Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4727
4728 * config/cygmon.exp: New file.
4729
4730Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4731
4732 * gdb.base/list.exp: Fix problem with "list default lines around
4733 main" test on remote targets.
4734
4735 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4736 run test on remote targets.
4737
4738Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4739
4740 * gdb.asm: New directory.
4741 * configure.in: Configure it.
4742 * configure: Regenerate.
4743 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4744 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4745
4746Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4747
4748 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4749
dc96c6c7 4750Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4751
c906108c
SS
4752 * gdb.base/overlays (several files): Merge the two overlay
4753 managers into one. Change variables (foox, barx, bazx, grbxx)
4754 back into ints but force them to load in their proper sections.
4755
4756Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4757
4758 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4759 on-chip insn memory and IMAP1 to upper 128k.
4760 (D10VCopy): Handle memory regions crossing 16k boundaries.
4761 (D10VCopy): Transfer data in 32 bit chunks.
4762
4763Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4764
4765 * gdb.base/overlays.c (main): Exit normally when result is
4766 correct.
4767
4768 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4769 map. Include space for printf in .text segment.
4770
4771 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4772 updated d10v memory VMA/LMA map.
4773 (D10VCopy): Call D10VTranslate.
beb998c6 4774
c906108c
SS
4775Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4776
4777 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4778
4779 * gdb.base/bar.c (barx, bar): Change variable to small array so
4780 that it won't be put into the .sdata - small data -
4781 section. Update reference.
4782 * gdb.base/baz.c (bazx, baz): Ditto.
4783 * gdb.base/foo.c (foox, foo): Ditto.
4784 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4785
4786 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4787 to be arrays.
beb998c6 4788
dc96c6c7 4789Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4790
c906108c
SS
4791 * gdb.base/overlays.exp: fix up and get working again.
4792 Add tests for backtraces from an overlay function.
beb998c6 4793
c906108c
SS
4794Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4795
4796 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4797 "calling function with watchpoint enabled".
4798
4799Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4800
4801 * gdb.base/break.exp (test_next_with_recursion): Remove
4802 gdb_suppress_tests for d10v-*-*.
4803 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4804 pending review of whether it is useful or not.
4805
4806Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4807
4808 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4809
4810Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4811
4812 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4813 * config/dve.exp: New file to support Densan boards.
4814
4815Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4816
4817 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4818 reads and BSD.
4819
4820Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4821
4822 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4823 response.
4824
4825 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4826
4827Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4828
4829 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4830 test.
4831
4832 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4833 target_sizeof_long and target_bigendian_p.
4834 (structs_by_value, structs_by_reference): Check values according
4835 to targets word size and endianess.
beb998c6 4836
c906108c
SS
4837Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4838
4839 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4840 output.
4841
4842Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4843
4844 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4845 Update test of set args help to match source change.
4846
4847Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4848
4849 * gdb.base/default.exp: Expect help system output to be in
4850 alphabetical order.
4851 * gdb.base/help.exp: Ditto.
4852
4853Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4854
4855 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4856 "i*86-pc-linux-gnu*".
4857 * gdb.base/interrupt.exp: Ditto.
4858 * gdb.base/corefile.exp: Ditto.
4859
4860 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4861 define vxworks when building the testcase.
4862
4863 * gdb.base/ptype.exp: Fix testnames to be unique.
4864 * gdb.base/radix.exp: Ditto.
4865 * gdb.base/term.exp: Ditto.
4866 * gdb.base/whatis.exp: Ditto.
4867 * gdb.c++/classes.exp: Ditto.
4868
4869Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4870
4871 * gdb.base/callfuncs.exp: Fix indentation.
4872
4873 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4874 suppress_flag has been set.
4875 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4876 target feature.
4877
4878Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4879
4880 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4881 the testcase.
4882
4883 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4884 set_debug_traps() and breakpoint().
4885 * gdb.c++/misc.cc (main): Ditto.
4886 * gdb.c++/templates.cc (main): Ditto.
4887 * gdb.c++/virtfunc.cc (main): Ditto.
4888
4889Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4890
4891 * lib/gdb.exp(gdb_step_for_stub): New function.
4892 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4893 exists, reload the executable and do a "continue" instead of
4894 doing a jump.
4895 (runto_main): Use gdb_step_for_stub.
beb998c6 4896
c906108c
SS
4897 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4898 tests to have unique names.
4899 * gdb.base/callfuncs.exp: Ditto.
4900 * gdb.base/commands.exp: Ditto.
4901 * gdb.base/default.exp: Ditto.
4902 * gdb.base/help.exp: Ditto.
4903 * gdb.base/list.exp: Ditto.
4904 * gdb.base/opaque.exp: Ditto.
4905 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4906 similar tests.
beb998c6 4907
c906108c
SS
4908 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4909 * gdb.c++/cplusfuncs.cc: Ditto.
4910 * gdb.c++/virtfunc.cc: Ditto.
4911
4912 * config/monitor.exp: Keep track of the last file we saw, rather
4913 than trying to get the info from gdb.
4914
4915 * gdb.fortran/types.exp: Move comment to previous line.
4916
4917Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4918
4919 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4920 target mode.
4921
4922Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4923
4924 From Bob Manson:
4925 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4926 string from GDB when it connects.
4927
4928 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4929
4930Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4931
4932 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4933 if we can't get a debug format from GDB (we may be testing an
4934 older GDB). Use a 10 second timeout when checking for the format.
4935
4936 * gdb.stabs/weird.exp: Fix quoting.
4937
4938 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4939
4940Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4941
4942 * config/arm-ice.exp: New file.
4943
4944Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4945
4946 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4947 until it has been modified to work with the new testsuite.
4948
99707966 4949 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4950 testcase won't compile, cause all of the testcases in the file to
4951 fail instead.
4952
4953 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4954 (gdb_clear_suppressed): New procedure.
4955 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4956 it contains a positive value.
4957
4958Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4959
4960 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4961
4962 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4963
4964Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4965
4966 * lib/gdb.exp (setup_xfail_format): New function.
4967 (get_debug_format): New function to get debug format.
4968 (debug_format): New global variable to hold last value set
4969 by get_debug_format.
4970 * gdb.base/list.exp: Call get_debug_format and expect some
4971 tests to fail for DWARF 1 and COFF formats.
4972 * gdb.c++/ptype.exp: Ditto.
4973 * gdb.c++/classes.exp: Ditto.
4974 * gdb.c++/cplusfuncs.exp: Ditto.
4975 * gdb.c++/inherit.exp: Ditto.
4976 * gdb.c++/templates.exp: Ditto.
4977 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4978
c906108c
SS
4979Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4980
4981 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4982 host doesn't have a currently-open connection.
4983
4984 * config/sparclet.exp: Cleanups and fixes to make it generic for
4985 any gdb stub target. Handle cases where gdb doesn't respond when
4986 interrupted in a sane fashion.
4987
4988 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4989 same thing in a totally different way.
4990
4991 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4992 setting "timeout".
4993 (gdb_start): We set the global gdb_prompt variable in
4994 default_gdb_init now.
4995
4996Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4997
4998 * gdb.base/printcmds.exp: Fix "check for floating addition"
4999 regexp to accept results within approx +/- .01 of exact value.
5000 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5001
5002Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5003
5004 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5005 properly.
5006 (gdb_expect): Add optional timeout parameter, and add timeout
5007 value to various calls.
5008 (gdb_suppress_tests): Only give one warning message per group.
5009
5010Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5011
5012 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5013 global variables. Handle getting a value for $timeout more
5014 gracefully.
5015
5016Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5017
5018 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5019 initialize.
5020 (default_gdb_init): New procedure; allow gdb_init to be overridden
5021 by a target configuration file.
5022 (gdb_expect): Pass the timeout to remote_expect.
5023
5024 * config/monitor.exp(gdb_load): Fix typo in regexp.
5025
5026Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5027
5028 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5029
5030Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5031
5032 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5033 here. Call gdb_target_exec before rebooting the target, to make
5034 sure the connection to the target is closed.
5035 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5036 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5037 Also detect "Timeout reading from remote" error.
5038
5039 * config/gdbserver.exp: Pass the executable being loaded to
5040 gdb_target_monitor. Don't call gdb_file_cmd here; let
5041 gdb_target_monitor do it.
5042
5043 * gdb.disasm/hppa.exp: Don't use exec_output.
5044
5045Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5046
5047 * gdb.base/list.exp: If we're debugging a non-native target,
5048 try to set the pc register to point to the start of the
5049 program before doing the first list command.
5050
5051 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5052 test_calls after restarting.
5053
5054 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5055 reloading.
5056
5057 * gdb.base/watchpoint.exp: Fix typo.
5058
5059 * gdb.base/setshow.exp: Check for use_gdb_stub.
5060
5061 * gdb.base/break.exp: Fix continue until exit test for the gdb
5062 stub case.
5063 * gdb.base/langs.exp: Ditto.
5064
5065 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5066 gdb_load_offset. If we weren't given a file to load, figure out
5067 what the current file is and use it.
5068
5069 * config/i386-bozo.exp: New file.
5070
5071Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5072
5073 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5074 feature.
5075
5076 * config/proelf.exp: New entry.
5077
5078Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5079
5080 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5081 of regexps.
5082
5083 * gdb.base/watchpoint.exp: Don't run the test_stepping
5084 tests if gdb can't call functions on the target.
5085
5086 * gdb.base/setshow.exp: Don't run the set prompt tests if
5087 the board has gdb_prompt set.
5088
5089Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5090
5091 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5092 * gdb.base/commands.exp: Likewise.
5093 * gdb.base/setshow.exp: Likewise.
5094
5095Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5096
5097 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5098 feature.
5099
5100 * config/i960.exp: New file.
5101
5102Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5103
5104 * gdb.base/funcargs.exp: Check for gdb,short_int target
5105 feature instead of looking for explicit target triplets.
5106
dc96c6c7 5107Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5108
beb998c6 5109 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5110 "p 123DEADBEEF", to check parse_number.
5111 * top.c: change "to enable to enable" to "to enable" in a couple
5112 of help strings.
5113
5114Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5115
5116 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5117 on the mn10300.
beb998c6 5118
c906108c
SS
5119Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5120
5121 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5122 where the test executable is run with explicit args.
5123 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5124
5125Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5126
5127 * gdb.base/run.c: Use FAKEARGV to build test executable that
5128 does not require a command line arg, since most simulators
5129 don't currently support passing such an arg into the simulated
5130 program.
5131 * gdb.base/commands.exp: Change tests to insert the proper
5132 value as the arg to the first recursive factorial call. Change
5133 compilation line to define FAKEARGV at compile time.
5134
5135Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5136
5137 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5138 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5139 function with watchpoint enabled" test.
5140
5141Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5142
5143 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5144 Don't call gdb_test when the command doesn't return to a gdb prompt.
5145
5146 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5147 "Tests restarted" messages.
5148
5149Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5150
5151 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5152
dc96c6c7 5153Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5154
5155 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5156 for INFO SYMBOL; add help tests for OVERLAY commands.
5157 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5158 add tests for OVERLAY commands
5159 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5160 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5161 * gdb.base/sigall.c: add usestubs code frag
5162 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5163
c906108c
SS
5164Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5165
5166 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5167 failures.
5168 (gdb_stop_suppressing_tests): Note that tests have restarted.
5169
5170Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5171
5172 * config/h8300.exp: New file.
5173
5174Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5175
5176 * gdb.base/setshow.exp: Check for the existence of a
5177 feature, not its value.
5178
5179Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5180
5181 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5182
5183 * gdb.base/scope.exp: It's now init0(), not init().
5184
5185 * gdb.base/scope0.c: For now, change init() to be init0().
5186
5187 * config/monitor.exp: Use gdb_serial in preference to serial
5188 or netport.
5189
5190 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5191 and it's not already set.
5192
5193Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5194
5195 * gdb.base/setshow.exp: Only test the run command if the target
5196 isn't using a stub and if it supports argument passing.
5197
5198Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5199
5200 * config/udi.exp(gdb_start): Make sure UDICONF is set
5201 properly before starting gdb.
5202
5203Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5204
5205 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5206 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5207 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5208
5209Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5210
5211 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5212 specialized code to reboot the board, use remote_reboot instead.
5213
5214 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5215
5216 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5217
5218 * config/monitor.exp: Make sure we disconnect from the target.
5219 Also, try a reboot/reload cycle instead of failing if the
5220 load fails.
5221
5222Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5223
5224 * gdb.base/default.exp: Don't set match_max.
5225 * gdb.base/help.exp: Ditto.
5226 * gdb.base/list.exp: Ditto.
5227 * gdb.base/signals.exp: Ditto.
5228
5229 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5230 set, use remote_ld to download the testcase instead of
5231 the GDB loader.
5232
5233Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5234
5235 * config/vr5000.exp: New file.
5236
5237 * config/monitor.exp(gdb_target_monitor): Add pattern for
5238 "Ending remote" to detect errors in connecting.
5239
5240 * gdb.base/setshow.exp: Add .* within auto language test.
5241
5242 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5243 target feature.
5244
5245 * config/monitor.exp(gdb_load): Check for a failure when loading,
5246 and reboot the board if necessary.
5247
5248 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5249 a set of tests. Remove print.* from the patterns being checked.
5250
5251Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5252
5253 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5254 refer to gdb_spawn_id.
5255
5256 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5257 longer used.
5258 * config/sparclet.exp: Ditto.
5259 * config/sparclet-old.exp: Ditto.
5260 * config/slite.exp: Ditto.
5261 * config/sim.exp: Ditto.
5262 * gdb.base/funcargs.exp: Ditto.
5263
5264 * lib/gdb.exp:Remove references to gdb_spawn_id.
5265 (gdb_expect): Move to remote.exp.
5266
5267Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5268
5269 * config/monitor.exp: Detect the "Couldn't establish connection"
5270 message from GDB.
5271
5272Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5273
5274 * gdb.base/bitfields.exp: Use runto instead of explicit
5275 gdb_run_cmd/gdb_expect sequences.
5276
5277 * gdb.base/break.exp(text_next_with_recursion): Add match for
5278 gdb_expect call.
5279
5280 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5281 We also need to handle the "A program is being debugged already"
5282 prompt from gdb. Use gdb_test to set the baud rate.
5283
5284 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5285 to 20000. Really. I mean it.
5286
5287Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5288
5289 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5290 fails. If suppress_flag is set, skip perror message about not
5291 being able to send to GDB.
5292 (send_gdb): If suppress_flag is set, don't try to send commands to
5293 GDB.
5294 (gdb_expect): If suppress_flag is set, always fail immediately.
5295 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5296 (gdb_init): Call gdb_stop_suppressing_tests.
5297 (default_gdb_exit): Ditto.
5298 (default_gdb_start): Ditto.
5299
5300 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5301 gdb_stop_suppressing_tests as appropriate.
5302 * gdb.base/break.exp: Ditto.
5303 * gdb.base/callfuncs.exp: Ditto.
5304 * gdb.base/commands.exp: Ditto.
5305 * gdb.base/exprs.exp: Ditto.
5306 * gdb.base/funcargs.exp: Ditto.
5307 * gdb.base/list.exp: Ditto.
5308 * gdb.base/recurse.exp: Ditto.
5309 * gdb.base/scope.exp: Ditto.
5310 * gdb.base/structs.exp: Ditto.
5311 * gdb.c++/inherit.exp: Ditto.
5312
5313Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5314
5315 * config/vr4300.exp: New file.
5316
99707966
MC
5317 * gdb.*/*.exp: Call gdb_expect instead of expect.
5318
5319 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5320
5321Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5322
5323 * lib/gdb.exp(gdb_init): New function.
5324
5325 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5326 for each individual variable set.
5327
5328 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5329 name.
5330
5331 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5332
5333 * gdb.base/scope.exp: Use gdb_test.
5334
5335 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5336 aborting; the testsuite driver will do that for us (see
5337 gdb_finish). Also, use gdb_test in a few more places.
5338
5339Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5340
5341 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5342
5343Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5344
5345 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5346 and "add_tests" are not at the same address.
5347
5348Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5349
5350 * gdb.base/ptype.exp: Use gdb_test.
5351
5352Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5353
5354 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5355 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5356 left in. No longer expect them to fail.
5357
5358 * gdb.stabs/*.mt; Deleted, no longer used.
5359 * gdb.stabs/configure.in: Remove references to target makefile
5360 frags.
5361 * gdb.stabs/configure: Rebuilt.
5362
5363 * gdb.disasm/*.mt: Deleted, no longer used.
5364 * gdb.disasm/configure.in: Remove references to target makefile
5365 frags. Use "sh3.s" as the unique filename for this directory.
5366 * gdb.disasm/configure: Rebuilt.
5367
5368 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5369 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5370 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5371
5372Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5373
5374 * config/udi.exp: Use mondfe,name instead of remote_host.
5375
5376Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5377
5378 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5379 a function with a watchpoint enabled on the mn10200.
5380
5381 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5382 before trying to create it!
5383
5384Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5385
5386 * config/vx.exp: Use hostname instead of netport.
5387
5388 * config/vxworks.exp: New file.
5389
5390 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5391
5392 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5393 gdb before assuming everything worked. Send a ^C if a timeout
5394 occurs.
5395
5396 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5397 $gdb_spawn_id directly.
5398 (gdb_run_cmd): Try _start as well as start. Use the target feature
5399 gdb,start_symbol as the symbol to start from when jumping.
5400
5401Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5402
5403 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5404 redundant) test.
5405
5406 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5407 it doesn't lose for 16bit integer systems.
5408
5409Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5410
5411 * gdb.fortran/types.exp: If the target doesn't support "double"
5412 data types, then expect "real" types to only be 4 bytes.
5413
5414 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5415 call tests if the target doesn't support inferior function calls.
5416
5417 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5418 in printf tests.
5419
5420Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5421
5422 * gdb.base/help.exp: Disable "help set", "help show", and
5423 "help support". Simplify regexp for "help stack".
5424
5425 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5426 to 60 seconds. Temporarily set match_max to 15000 around the
5427 "info copying" test.
5428
5429 * gdb.base/nodebug.exp: Don't try to do an inferior function
5430 call if the target doesn't support them.
5431 * gdb.base/printcmds.exp: Likewise.
5432 * gdb.base/setvar.exp: Likewise.
5433 * gdb.base/structs.exp: Likewise.
5434 * gdb.c++/templates.exp: Likewise.
5435 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5436
5437 * gdb.base/recurse.exp: Enable for the mn10200.
5438
5439 * configure.in: Do configure gdb.stabs directory for *-*-elf
5440 targets.
5441 * configure: Rebuilt.
5442
5443 * gdb.base/break.exp: Check for gdb,noresults before testing
5444 exit status and/or results from the target.
5445 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5446 * lib/gdb.exp: Remove old (now bogus) initialization of
5447 noinferior, noargs, noresults and nosignals.
5448
5449Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5450
5451 * config/sh.exp: New file.
5452
5453 * config/slite.exp: Try to connect multiple times to the board
5454 before rebooting. Only send a "monitor run" if need_monitor_run
5455 is set.
5456
5457 * gdb.base/break.exp: Don't do the "stub continue" test if
5458 the target has gdb_stub set.
5459
5460 * gdb.base/callfuncs.exp: Increase the timeout.
5461
5462 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5463 if the target has gdb,noinferiorio set.
5464
5465 * gdb.base/list.exp: Increase match_max to 10000 characters.
5466
5467 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5468
5469 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5470 target.
5471
5472 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5473
5474Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5475
5476 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5477 trying to delete the copy of gdb. Catch the file delete so we
5478 don't die if the delete fails; also, the file should be copied to
5479 the host, not to the build.
5480
5481Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5482
5483 * lib/gdb.exp(gdb_test): Surround the result pattern with
5484 parenthesis in case it contains multiple regexps separated
5485 with |.
5486
5487 * gdb.base/watchpoint.exp: Use gdb_test.
5488 * gdb.base/default.exp: Ditto.
5489
5490Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5491
99707966 5492 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5493
c906108c
SS
5494 * gdb.base/scope.exp: Use gdb_test.
5495 * gdb.c++/classes.exp: Ditto.
5496 * gdb.c++/inherit.exp: Ditto.
5497
5498Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5499
5500 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5501 remote_exec instead.
5502 * gdb.base/corefile.exp: Don't be ridiculous.
5503 * gdb.base/*.c: Add missing stub invocations.
5504
5505Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5506
5507 * config/slite.exp: Miscellaneous fixes.
5508
5509 * lib/gdb.exp: Fix runto.
5510
5511 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5512 the target.
5513
5514 * gdb.base/watchpoint.exp: Fix regexp.
5515
5516 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5517 close and wait commands, as the descriptor may now be
5518 invalid. Always call "remote_close host".
5519
5520Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5521
5522 Major rewrite for testsuite revision.
beb998c6 5523
c906108c
SS
5524 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5525 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5526 instead of relying on spawn_id to always contain a valid
5527 spawn id.
5528 (get_compiler_info): New procedure to build the ${binfile}.ci
5529 file, instead of replicating this in N different places.
5530 (gdb_compile): New procedure.
beb998c6 5531
c906108c
SS
5532 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5533 appropriate arguments) instead of compile. Use gdb_test in a lot
5534 more places. Use send_gdb instead of send. Always run gdb_start
5535 at the start of a testcase, as this is no longer done magically.
5536
5537 config/*-gdb.exp: Rename without the -gdb suffix.
5538
5539 config/mips.exp: Use remote_close instead of exit_remote_shell.
5540 config/monitor.exp: Use target_info instead of looking at
5541 baud, timeout, etc.
5542 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5543
5544Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5545
5546 * gdb.c++/templates.exp (test_ptype_of_templates),
5547 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5548 Update expect patterns for destructors and assignment operators
5549 to match corresponding c-typeprint.c changes.
5550 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5551 to destructor breakpoint test, GDB should be able to set the
5552 destructor breakpoint without specifying arguments.
5553
5554Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5555
5556 * gdb.threads/pthreads.exp: Change result for failure to compile due
5557 to lack of pthreads runtime support from an error to simply an
5558 unsupported test, per dejagnu standards.
5559
5560Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5561
5562 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5563 where GDB exits to reduce pattern match time.
5564 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5565
5566 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5567
dc96c6c7 5568Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5569
5570 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5571 * gdb.base/default.exp: ditto.
5572 * gdb.base/nodebug.exp: ditto.
5573 * gdb.base/printcmds.exp: ditto.
5574 * gdb.base/ptype.exp: ditto.
5575 * gdb.base/setvar.exp: ditto.
5576 * gdb.base/structs.exp: ditto.
5577 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5578
5579Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5580
5581 * configure, */configure: Rebuild with autoconf 2.12.
5582
5583Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5584
5585 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5586 use new i*86-pc-linux*-gnu quads.
5587 * gdb.base/corefile.exp: Ditto.
5588 * gdb.base/signals.exp: Ditto.
5589 * gdb.base/sigall.exp: Ditto.
5590 * gdb.base/interrupt.exp: Ditto.
5591
5592 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5593 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5594 RedHat 4.0.
beb998c6 5595
c906108c
SS
5596 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5597 linux. This allows the test case to at least compile on latest
5598 linux, but still not run due to missing the threads runtime library.
5599
5600Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5601
5602 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5603 directory to search gdb directory. Accept and step over conditional
5604 stack alignment code. Consume $prompt in failure cases.
5605 Reset timeout to $oldtimeout instead of some arbitrary value.
5606 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5607 timeout problems with infinite stack backtraces.
5608 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5609 Accept function parameters for linkfunc member.
5610
5611Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5612
5613 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5614 (CXXFLAGS): Remove, unreferenced.
5615 (B_OPTIONS): Add for -B options and add code to initialize with
5616 previous -B options and also add -B option to pick up cross compiled
5617 runtime.
5618 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5619 doing cross compiles.
5620 (target_alias): Declare global.
5621 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5622 to verify that gcc exists in build tree, and if so set CC to that
5623 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5624
c906108c
SS
5625Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5626
5627 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5628 ptype test for anonymous union. Fixup testcase to match
5629 current gcc debug output.
5630
5631Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5632
5633 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5634 force argument to an unsigned long type.
5635
5636Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5637
5638 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5639 tests and anonymous union print/ptype tests.
5640 * gdb.base/list.exp (test_forward-search): Increase timeout by
5641 5 minutes for the "search extremely long line" case.
5642 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5643 completely optional and that the pass/fail messages use the command as
5644 the message if that third arg is a null string.
5645 (gdb_test_exact): Arrange that a null string pattern means match a
5646 null string output rather than any output, which might include random
5647 errors.
5648 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5649 backtrace test.
5650 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5651 always failing and failure is now exposed by gdb.exp changes.
5652
5653Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5654
5655 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5656 weren't being noted.
5657
5658Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5659
5660 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5661 * gdb.stabs/weird.exp: Remove v_comb xfails.
5662
dc96c6c7 5663Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5664
5665 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5666 list.exp scope.exp watchpoint.exp]
5667 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5668
dc96c6c7 5669Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5670
5671 * config/monitor.exp: Increase download timeout to 1000 seconds.
5672
dc96c6c7 5673Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5674
5675 * config/m32r.exp: Increase timeout to 120 seconds.
5676
5677Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5678
5679 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5680 and accept older ordering as obsolescent gcc or gdb.
5681 * gdb.c++/templates.exp: Ditto.
5682 * gdb.c++/virtfunc.exp: Ditto.
5683
5684Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5685
5686 * gdb.base/coremaker.c: Add code to mmap some data so we
5687 can check that it ends up in the core file.
5688 * gdb.base/corefile.exp: Add test to read mmapped data
5689 from core file.
5690
dc96c6c7 5691Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5692
5693 * config/m32r.exp: New file.
5694
5695Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5696
5697 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5698 that cflags can contains -gstabs, and work correctly for other tests.
5699
dc96c6c7 5700Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5701
5702 * gdb.base/setshow.exp: New file, tests show and set.
5703 * gdb.base/setshow.c: New file, tests show and set.
5704 * gdb.base/help.exp: Add test for help set|show annotate.
5705 * gdb.base/default.exp: Add test for set|show annotate.
5706
5707Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5708
5709 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5710 errors unique.
5711 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5712 explicitly.
5713
5714Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5715
5716 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5717 and width commands. This is done elsewhere.
5718 * (gdb_start): Don't call gdb_start_sim here. That's already
5719 done in gdb_load. This fixes lots of failures in default.exp.
5720
5721Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5722
5723 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5724 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5725 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5726 in the same we we treat other failures (since it may be an expected
5727 condition), rather than as an error.
5728 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5729 old test format.
5730
5731Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5732
5733 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5734 (distclean maintainer-clean realclean): No need to remove files
5735 twice. Nuke the duplicates.
5736 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5737 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5738 Remove config.h along with other config files.
5739
5740Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5741
5742 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5743 "p func1 ()" and note that rests of tests are skipped.
5744 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5745 setup_xfails for "print func2::coremaker_local".
5746 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5747 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5748 affected by the previous run test.
5749 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5750 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5751 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5752 "pass int powerset tuple" and "pass modeless int powerset tuple".
5753 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5754 "real write 4" and "real write 8".
5755 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5756 setup_xfails for "print vs1 after tuple assign 2",
5757 "print \$i after tuple assign 2", and
5758 "print vs2 after tuple assign 2".
5759 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5760 meaningful error message and return -1 so the caller can
5761 suppress further tests and avoid a cascade of errors.
beb998c6 5762
c906108c
SS
5763Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5764
5765 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5766 format for printing version.
5767 * gdb.base/default.exp: Ditto.
5768 * gdb.base/interrupt.exp: Fix problem with cascade of
5769 errors if child process dies while calling a function.
beb998c6 5770
c906108c
SS
5771Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5772
5773 * Makefile.in (VPATH): Add
5774 * Makefile.in (Makefile, config.status): Fix rules so things get
5775 remade when necessary.
5776
5777Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5778
5779 * Makefile.in (just-check): Add path to sibling expect dir
5780 to environment variable specified by RPATH_ENVVAR.
5781
5782Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5783
5784 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5785 (just-check): Add shared library paths for libstdc++, tk,
5786 tcl, bfd, and opcodes to the environment variable specified
5787 in RPATH_ENVVAR.
5788 * configure.in: Add support to recognize --enable-shared flag
5789 and generate correct value for RPATH_ENVVAR.
5790 * configure: Regenerated with autoconf.
5791
5792Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5793
5794 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5795 include all osf versions.
5796 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5797 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5798 when target is linux. When failing to build pthreads test
5799 executable, give more meaningful message.
5800 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5801 arg for pthread_create.
beb998c6 5802
c906108c
SS
5803Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5804
5805 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5806 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5807 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5808 and -lpthreads (everybody else).
5809 (test_startup): Fail gracefully if threads are not supported.
5810 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5811 "p/c array_index("abcdef",2)" when not gcc compiled.
5812 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5813 "print func2::coremaker_local" when not gcc compiled.
5814 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5815 "ptype on opaque struct tagname (statically)",
5816 "ptype on opaque struct tagname (dynamically) 1", and
5817 "ptype on opaque struct tagname (dynamically) 2"
5818 for not compiled with gcc.
5819 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5820 backtrace when compiled with gcc.
beb998c6 5821 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5822 than always return success.
5823
5824Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5825
5826 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5827
5828Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5829
5830 * gdb.base/structs.exp: Undo last change.
5831
5832Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5833
5834 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5835 encapsulate all the steps/nexts done during self test, starting
5836 at main, and makes them less sensitive to optimization issues.
5837 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5838 signal handler" test.
5839 * gdb.threads/pthreads.exp: Only run this for native configs.
5840 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5841 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5842 tests.
5843 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5844 for "runto test_calls(void)" test.
beb998c6 5845
c906108c
SS
5846Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5847
5848 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5849 and don't expect address info in breakpoint confirmations.
5850
5851Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5852
5853 * gdb.base/list.exp (test_forward_search): Increase timeout
5854 temporarily by 60 seconds for searching extremely long line,
5855 and then reset to old value when done. Increase expect input
5856 buffer to 10000.
5857
5858Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5859
5860 * gdb.base/list.exp (test_forward_search): Fix to handle very
5861 long source line without overflowing expect's input buffer.
5862
5863Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5864
5865 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5866 "buffer_full".
5867
5868 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5869 "buffer_full".
5870
5871 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5872 "buffer_full".
5873
5874 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5875 "buffer_full".
5876
5877Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5878
5879 * configure.in (configdirs): Add gdb.threads.
5880 * configure: Regenerated with autoconf.
5881 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5882 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5883 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5884
c906108c
SS
5885Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5886
5887 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5888
5889Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5890
5891 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5892 each signal's status in the output of "handle all print".
5893 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5894 the \r\n sequence that immediately precedes the gdb prompt.
5895 * gdb.base/a1-selftest.exp: Save original timeout and restore
5896 after test.
5897
5898Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5899
5900 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5901 symbol.
5902
5903Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5904
5905 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5906
5907Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5908
5909 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5910 timeout by 60 seconds.
5911
5912Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5913
5914 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5915 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5916 error return.
5917
5918Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5919
5920 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5921 gdb initialization, also report how long dejagnu waited. Restore
5922 old timeout before doing error return. Temporarily increase timeout
5923 by 3 minutes to allow for slow startups over heavy NFS use.
5924
5925Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5926
5927 * lib/gdb.exp: Report timeout value for verbosity level 2.
5928 * config/gdbserver.exp: Ditto.
5929 * config/hppro.exp: Ditto.
5930 * config/mips-gdb.exp: Ditto.
5931 * config/monitor.exp: Ditto.
5932 * config/netware.exp: Ditto.
5933 * config/sim-gdb.exp: Ditto.
5934 * config/slite-gdb.exp: Ditto.
5935 * config/udi-gdb.exp: Ditto.
5936 * config/unix-gdb.exp: Ditto.
5937 * config/vx-gdb.exp: Ditto.
5938 * gdb.base/a1-selftest.exp: Ditto.
5939 * gdb.base/a2-run.exp: Ditto.
5940 * gdb.base/break.exp: Ditto.
5941 * gdb.base/corefile.exp: Ditto.
5942 * gdb.base/list.exp: Ditto.
5943 * gdb.base/recurse.exp: Ditto.
5944 * gdb.base/scope.exp: Ditto.
5945 * gdb.base/signals.exp: Ditto.
5946
5947Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5948
5949 * gdb.threads/Makefile.in (docdir): Removed.
5950
5951Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5952
5953 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5954 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5955 @srcdir@.
beb998c6 5956 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5957 autoconf 2.5 or higher.
5958 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5959
5960Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5961
5962 * configure: Regenerated.
5963 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5964 avoid name clashes with SunOS headers.
5965
5966Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5967
5968 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5969
5970Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5971
5972 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5973 prototype information ends up in the compiler info file.
5974
5975Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5976
5977 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5978 attempting to regenerate it. Eliminate use of a temporary file
5979 and just generate the info file directly. Source it immediately,
5980 for consistency of use.
5981 * gdb.base/corefile.exp: Ditto
5982 * gdb.base/exprs.exp: Ditto.
5983 * gdb.base/funcargs.exp: Ditto.
5984 * gdb.base/langs.exp: Ditto.
5985 * gdb.base/list.exp: Ditto.
5986 * gdb.base/mips_pro.exp: Ditto.
5987 * gdb.base/nodebug.exp: Ditto.
5988 * gdb.base/opaque.exp: Ditto.
5989 * gdb.base/ptype.exp: Ditto.
5990 * gdb.base/scope.exp: Ditto.
5991 * gdb.base/setvar.exp: Ditto.
5992 * gdb.base/signals.exp: Ditto.
5993 * gdb.base/whatis.exp: Ditto.
5994 * gdb.c++/templates.exp: Ditto.
5995 * gdb.c++/virtfunc.exp: Ditto.
5996 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5997 whether or not to add -lstdc++ to the compile command line args.
5998
5999Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6000
6001 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6002 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6003 Increase timeout, a lot of single stepping might be needed if the
6004 target has no hardware watchpoints.
6005
6006Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6007
6008 * gdb.base/break.exp: Ignore compiler warnings when compiling
6009 break.c.
6010 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6011 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6012 from remote-sim.
6013 * gdb.base/exprs.exp: Add h8300 xfails.
6014 * gdb.base/funcargs.exp: Likewise.
6015 * gdb.base/nodebug.exp: Likewise.
6016 * gdb.base/printcmds.exp: Likewise.
6017 * gdb.base/ptype.exp: Likewise.
6018 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6019 h8300 xfails.
beb998c6 6020 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6021 on the h8300.
6022 * gdb.base/funcargs.c: Explicitly make last constant argument to
6023 call_after_alloca_subr an unsigned long type.
6024 * gdb.base/return.c: Include stdio.h.
6025
6026Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6027
6028 * config/abug.exp: New file for the older Motorola Bug monitor
6029 that runs on the mvme13x series VME boards.
6030 * config/monitor.exp: Use the new config array for target settings
6031 if they exist.
6032
6033Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6034
6035 * sim-gdb.exp: Make the SH simulator allocate less space when
6036 it is targeted.
6037
6038Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6039
6040 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6041 test.
6042
6043Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6044
6045 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6046 "rs6000-*-*" for "list function in include file" when gcc compiled.
6047 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6048 for "p ctable1[120]".
6049 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6050 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6051 Remove setup_xfail for "rs6000-*-*" for
6052 "print 'scope0.c'::filelocal before run".
6053 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6054 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6055 since some compilers don't allow both options to be given
6056 on the same command line. Create object file and move it.
beb998c6 6057
c906108c
SS
6058Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6059
6060 * gdb.base/corefile.exp: Always regenerate the core file, since
6061 we always regenerate the coremaker program. Detect special case
6062 where registers cannot be read from core file.
beb998c6 6063
c906108c
SS
6064Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6065
6066 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6067 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6068 * gdb.c++/templates.exp: Only match on basename of file since
6069 some formats like xcoff don't encode directory information.
6070 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6071 and rs6000 AIX xcoff targets.
6072 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6073 * configure: Regenerate.
6074 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6075 here, rather than in distclean.
beb998c6 6076
c906108c
SS
6077Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6078
6079 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6080 defined, and use it to compile the test case with -O2. The
6081 native compilation still uses no optimization.
6082 * gdb.base/mips_pro.c: Remove inline assembly code since
6083 it is compiled PIC by default, which results in assembler
6084 warnings that make the testsuite think the compilation
6085 was unsuccessful.
6086
6087Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6088
6089 * gdb.c++/misc.exp: Add note to message for
6090 "print s.a for foo struct" that this is a known gcc 2.7.2
6091 and earlier bug.
6092
6093Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6094
6095 * gdb.base/break.exp: Fix pattern for matching "Delete all
6096 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6097 setup_xfail for deleting all breakpoints test. Fix various
6098 timeout messages to include "(timeout)".
6099 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6100 for "p t_float_values2(3.14159,float_val2)".
6101 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6102 for "continue to call2g" when gcc compiled.
6103 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6104 "up to foo in langs.exp", "show language at foo in langs.exp",
6105 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6106 and "show language at fsub in langs.exp".
6107 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6108 "list line 1 in include file", "list message for lines past EOF",
6109 "list function in include file", "list list0.h:foo", and
6110 "list filename:function; nonexistant function".
6111 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6112 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6113 and "ptype t_char_array" to be for native cc only.
beb998c6 6114
c906108c
SS
6115Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6116
beb998c6 6117 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6118 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6119 "print func2::coremaker_local", and "backtrace in corefile.exp".
6120
6121Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6122
6123 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6124 "bt in signals.exp". This problem only appears when running
6125 the testsuite, and then only intermittently.
6126
6127Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6128
6129 * gdb.base/return.exp (return_tests): Differentiate between
6130 two tests of continuing.
6131
6132Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6133
6134 * */Makefile.in (maintainer-clean): Remove config.log.
6135 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6136 * gdb.c++/Makefile.in (PROGS): Add inherit.
6137 (clean): Remove *.ci.
6138
6139Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6140
6141 * gdb.c++/misc.cc: Add test code from Mike Stump.
6142 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6143
6144Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6145
6146 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6147 to "alpha-*-osf2*" and add comment.
6148 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6149 setup_xfail for "step over execarg initialization" and
6150 "step over corearg initialization".
6151 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6152 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6153 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6154 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6155 "print func2::coremaker_local", and "backtrace in corefile.exp".
6156 * gdb.base/signals.exp: Build and source signals.ci.
6157 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6158 to be for gcc only.
6159 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6160
c906108c
SS
6161Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6162
6163 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6164 Feb 3 procfs.c change.
6165
6166Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6167
6168 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6169
6170Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6171
6172 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6173 from dejagnu's apparent default of 10 seconds, which gives random
6174 results when running the tests over NFS on moderately loaded systems.
6175 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6176
6177Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6178
6179 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6180 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6181 result reports.
6182
6183Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6184
6185 * configure.in (CY_AC_PATH_TCLH): Remove.
6186 * configure: Regenerate.
6187
6188Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6189
6190 * gdb.c++/Makefile.in (clean): Add missing '{'.
6191
6192Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6193
6194 * lib/gdb.exp: Provide a default value for noinferior.
6195
6196 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6197 Load libgloss.exp.
6198
6199Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6200
6201 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6202 the executable, not the .o to run the tests from.
6203
6204Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6205
6206 * gdb.base/break.exp: Don't test for program exit or exit status
6207 if $noresults if nonzero.
6208 * gdb.base/langs.exp: Likewise.
6209 * gdb.base/watchpoint.exp: Likewise.
6210
6211 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6212 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6213 trying to compile the testcase.
6214
6215Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6216
6217 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6218 * gdb.base/signals.exp (continue to handler): Likewise.
6219
6220Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6221
6222 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6223
6224 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6225
6226Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6227
6228 * gdb.base/corefile.exp: Recognize "not found" as failure
6229 when trying to determine if a core file was generated.
6230 If no core file was generate the first time, try again without
6231 the ulimit -c to work around braindamaged shells.
6232
6233Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6234
6235 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6236 [] tests with "test" and enclose string in quotes.
6237 * gdb.stabs/configure: Rebuild
beb998c6 6238
c906108c
SS
6239Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6240
6241 Changes in sync with expect:
6242 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6243 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6244 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6245 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6246 argument to AC_REQUIRE.
6247 * configure: Regenerated.
6248
6249Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6250
6251 * gdb.base/corefile.exp: When generating a core, discard any
6252 error messages about ulimit not found and the "core dumped"
6253 message from the shell that runs the coredumper.
6254
6255Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6256
6257 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6258
6259 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6260 which sed script to run. Expect failure for v_comb test
6261 on PA targets too.
beb998c6 6262
c906108c
SS
6263Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6264
6265 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6266 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6267
6268Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6269
6270 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6271 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6272 "sparc-sun-solaris*" xfails for "p v_comb".
6273 * lib/gdb.exp (default_gdb_start): Fix typo.
6274 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6275 messages to not include the full program name that caused
6276 the core dump since some systems (such as solaris) apparently
6277 truncate this path to about 80 characters.
6278 When generating a core file first try increasing the core file
6279 size limit to unlimited since some systems may default it to
6280 zero, and it is harmless to try it. Move the test for failing
6281 to generate a core file to where it will actually get executed.
6282 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6283 new gdb result from g++ debug info improvements and make old
6284 pattern obsolescent. Also account for size_t differences
6285 (may be int or long).
6286 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6287 initialization before function call is placed in the delay slot
6288 and thus appears to be skipped over by commands such as "next".
6289
6290Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6291
6292 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6293
6294Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6295
6296 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6297 input source file; fix code to compile test to deal with this
6298 convention.
6299 * gdb.c++/*.exp: Likewise.
6300
6301Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6302
6303 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6304 "bt in signals.exp".
6305
6306Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6307
6308 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6309 "step over execarg initialization" and
6310 "step over corearg initialization".
6311
6312Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6313
6314 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6315 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6316
6317Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6318
6319 From Rob Savoye (rob@poseidon.cygnus.com)
6320 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6321 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6322 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6323 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6324 configure.in}: Major reworking for autoconfig.
6325 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6326 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6327 New files.
6328 * config/unix-gdb.exp: Make GDB global.
6329 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6330 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6331 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6332 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6333 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6334 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6335 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6336 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6337 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6338 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6339 pr-8136.exp, result.exp, string.exp, tuples.exp},
6340 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6341 to returns as necessary, arrange for test to compile own testcase
6342 executable.
6343 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6344
c906108c
SS
6345Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6346
6347 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6348 clear_xfail at end of test which might not call either pass or fail.
6349 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6350 "backtrace through signal handler".
6351
6352Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6353
6354 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6355 continuing from a job control stop signal.
6356 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6357
6358Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6359
6360 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6361 * gdb.base/corefile.exp: Likewise.
6362 * gdb.base/funcargs.exp: Likewise.
6363
6364Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6365
6366 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6367 * config/monitor.exp: Add support for setting baud rate.
6368
6369Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6370
6371 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6372 i*86-*-linux* xfails for "backtrace through signal handler".
6373 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6374 "print func2::coremaker_local".
6375 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6376 alpha-dec-osf2* xfail for
6377 "delete all breakpoints when none".
6378
6379Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6380
6381 * gdb.base/break.exp: Change test that deletes all breakpoints
6382 when no user breakpoints are installed. A post 4.15 change
6383 causes gdb to no longer prompt in this case.
6384
6385Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6386
6387 * gdb.base/return.exp (return_tests): Change xfail for test
6388 "correct value returned double test" to stop xfailing at
6389 Solaris 2.5. Apparently the bug has been fixed.
6390
6391Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6392
6393 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6394 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6395
6396Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6397
6398 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6399 * gdb.disasm/hppa.s: Corresponding changes.
6400
6401Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6402
6403 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6404 makefile fragment.
6405 * config/mt-hpux: Deleted.
6406
6407Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6408
beb998c6 6409 * Many files: When warning about suppressed tests due to a
c906108c
SS
6410 nonexistant test binary, avoid incrementing the warning count.
6411
6412Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6413
6414 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6415
c906108c
SS
6416Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6417
6418 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6419 "sparc-*-solaris2*".
6420
6421Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6422
6423 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6424 Add global and local variables and initialize them.
6425 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6426 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6427 extracts the file name and terminating signal from the core file.
6428 * TODO: Remove note about tests for correct mapping of corefile.
6429 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6430 from optimizing it away.
6431 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6432 handles common blocks.
6433
6434Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6435
6436 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6437 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6438
6439Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6440
6441 * Makefile.in (maintainer-clean): New target, synonym for
6442 realclean.
6443 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6444 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6445 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6446 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6447 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6448 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6449
6450Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6451
6452 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6453 xfails when not gcc compiled for "print foo::funclocal".
6454 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6455 "print foo::funclocal at foo",
6456 "print 'scope1.c'::foo::funclocal at foo",
6457 "print foo::funclocal_bss at foo",
6458 "print 'scope1.c'::foo::funclocal_bss at foo",
6459 "print foo::funclocal_ro at foo",
6460 "print 'scope1.c'::foo::funclocal_ro at foo",
6461 "print bar::funclocal at foo" and
6462 "print 'scope1.c'::bar::funclocal at foo".
6463 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6464 gcc compiled for "print foo::funclocal at bar".
6465 Expand all messages to ensure that they identify that
6466 the test is at bar().
6467 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6468 gcc compiled for:
6469 "ptype on opaque struct pointer (statically)",
6470 "ptype on opaque struct tagname (statically)",
6471 "ptype on opaque struct pointer (dynamically) 1",
6472 "ptype on opaque struct tagname (dynamically) 1",
6473 "ptype on opaque struct pointer (dynamically) 2" and
6474 "ptype on opaque struct tagname (dynamically) 2
6475 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6476 gcc compiled for:
6477 "p datalocal"
6478 "whatis datalocal",
6479 "ptype datalocal",
6480 "p bsslocal",
6481 "whatis bsslocal", and
6482 "ptype bsslocal".
6483 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6484 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6485 when not gcc compiled.
6486 * gdb.base/funcargs.exp (float_and_integral_args): Add
6487 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6488 compiled.
6489 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6490 "backtrace from call6a" when not gcc compiled.
6491 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6492 "backtrace from call7a" when not gcc compiled.
6493 * gdb.base/callfuncs.exp (do_function_calls):
6494 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6495 "p t_char_array_values(char_array_val2,char_array_val1)",
6496 "p t_char_array_values(char_array_val1,char_array_val2)",
6497 "p t_char_array_values("carray 1","carray 2")",
6498 "p t_char_array_values("carray 1",char_array_val2)",
6499 "p t_char_array_values(char_array_val1,"carray 2")",
6500 "p sum_args(1,{2})",
6501 "p sum_args(2,{2,3})",
6502 "p sum_args(3,{2,3,4})",
6503 "p sum_args(4,{2,3,4,5})"
6504 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6505 "backtrace in corefile.exp" when not gcc compiled.
6506
6507Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6508
6509 * gdb.base/signals.exp: Rewrite `handle all print' test as
6510 a procedure. Accept blanks or TABs as whitespace, increase
6511 timeout and expect input buffer size for the large output
6512 from the command. Remove "i*86-*-bsdi2.0" xfail.
6513
6514Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6515
6516 * gdb.base/setvar.exp: Add new testcases for truncation when
6517 assigning invalid values to bitfields.
6518
6519Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6520
beb998c6 6521 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6522 mips-sgi-irix* xfail for
6523 "call inferior func with struct - returns char *"
6524 and fix test so that an optional (unsigned char *) cast is
6525 accepted in the result.
6526
6527Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6528
6529 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6530 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6531 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6532 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6533 that accidentally got checked in.
6534
6535Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6536
beb998c6 6537 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6538 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6539 compiled test.
6540 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6541 Add mips-sgi-irix5* xfail for not gcc compiled.
6542 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6543 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6544 "p top", "whatis top", "p middle", and "whatis middle".
6545 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6546 "whatis signed char" for not gcc compiled.
6547 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6548 "set variable signed char=-1 (-1)" and
6549 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6550 * gdb.base/funcargs.exp (float_and_integral_args):
6551 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6552 Add mips-sgi-irix* xfail when not gcc compiled for
6553 "continue to call2b".
6554 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6555 "continue to call2g".
6556 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6557 "backtrace from call6a"
6558 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6559 "backtrace from call7k".
6560 Add mips-sgi-irix5* xfail when not gcc compiled for
6561 "backtrace from call7a".
6562 (localvars_after_alloca): Fix gdb_test cmds for
6563 "print * after runto ...".
6564 Remove rs6000-*-* xfails for
6565 "print i after runto localvars_after_alloca" and
6566 "print l after runto localvars_after_alloca"
6567 for all compilers.
6568 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6569 when not compiled with gcc, for:
6570 "print signed char == (minus)",
6571 "print signed char != (minus)",
6572 "print signed char < (minus)",
6573 "print signed char > (minus)".
6574 * gdb.base/callfuncs.exp (do_function_calls):
6575 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6576 "call inferior func with struct - returns char *".
beb998c6 6577 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6578 "correct value returned double test" to include Solaris 2.4.
6579 * gdb.base/funcargs.exp (float_and_integral_args):
6580 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6581
c906108c
SS
6582Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6583
6584 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6585 enumeration bitfields if compiling with GNU C.
6586 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6587 to empty' prompt.
6588
6589Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6590
6591 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6592 test for PRO targets.
6593
6594 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6595 breakpoints in the inferior at any given time by making
6596 two groups of breakpoints for call2*, call6* and call7*
6597 tests.
6598
6599Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6600
6601 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6602 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6603 from optimizing it away.
6604 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6605 "call inferior func with struct".
6606
6607Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6608
6609 * configure.in: Only configure gdb.chill for particular targets.
6610
6611Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6612
6613 * gdb.base/Makefile.in: Add action to .c.o transformation
6614 rule that generates a .ci file for each .o file and remove
6615 explicit .c.o rules except for callfuncs.o.
6616 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6617 generates a .ci file for each .o file and remove explicit
6618 .cc.o rules.
6619 (clean): Remove *.tmp *.ci files.
6620 (EXECUTABLES): Remove templ-info.exp.
6621 * gdb.base/compiler.c: New file.
6622 * gdb.c++/compiler.cc: New file
6623 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6624 Change rs6000-*-* xfail for
6625 "print 'scope0.c'::filelocal_ro" and
6626 "print 'scope1.c'::filelocal" and
6627 "print 'scope1.c'::filelocal_bss" and
6628 "print 'scope1.c'::filelocal_ro" and
6629 "print 'scope1.c'::foo::funclocal" and
6630 "print 'scope1.c'::foo::funclocal_ro" and
6631 "print 'scope1.c'::bar::funclocal" and
6632 "print 'scope0.c'::filelocal_ro" and
6633 "print 'scope1.c'::filelocal at foo" and
6634 "print 'scope1.c'::filelocal_bss at foo" and
6635 "print 'scope1.c'::filelocal_ro at foo" and
6636 "print 'scope1.c'::foo::funclocal at foo" and
6637 "print 'scope1.c'::foo::funclocal_bss at foo" and
6638 "print 'scope1.c'::foo::funclocal_ro at foo" and
6639 "print 'scope1.c'::bar::funclocal at foo" and
6640 "print 'scope0.c'::filelocal_ro" and
6641 "print 'scope1.c'::filelocal" and
6642 "print 'scope1.c'::filelocal_bss" and
6643 "print 'scope1.c'::filelocal_ro" and
6644 "print 'scope1.c'::foo::funclocal" and
6645 "print 'scope1.c'::foo::funclocal_bss" and
6646 "print 'scope1.c'::foo::funclocal_ro" and
6647 "print 'scope1.c'::bar::funclocal" and
6648 "print 'scope1.c'::bar::funclocal_bss"
6649 to only be xfail'd when not compiled with gcc.
beb998c6 6650 Add rs6000-*-* xfail for
c906108c
SS
6651 "print 'scope0.c'::filelocal_bss before run"
6652 when compiled with gcc.
6653 (test_at_main): Add rs6000-*-* xfail for
6654 "print filelocal_ro in test_at_main"
6655 when compiled with gcc.
6656 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6657 Add rs6000-*-aix* xfail for
c906108c
SS
6658 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6659 "ptype t_char_array", not compiled with gcc.
6660 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6661 xfail for "list foo (in include file)" when gcc compiled.
6662 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6663 (integral_args): Add rs6000-*-* xfail for
6664 "run to call0a" if not compiled with gcc.
6665 (unsigned_integral_args): Add rs6000-*-* xfail for
6666 "run to call1a" if not compiled with gcc.
6667 (float_and_integral_args): Add rs6000-*-* xfail for
6668 "run to call2a" if not compiled with gcc and for
6669 "continue to call2b" for any compiler.
6670 Add rs6000-*-* xfail to
6671 "print f1 after run to call2a" for gcc compiled.
6672 (discard_and_shuffle): Add rs6000-*-* xfail for
6673 "run to call6a".
6674 (shuffle_round_robin): Add rs6000-*-* xfail for
6675 "backtrace from call7a" if not compiled with gcc.
6676 Add rs6000-*-* xfail for
6677 "backtrace from call7b" if compiled with gcc.
6678 (call_after_alloca): Add rs6000-*-* xfail for
6679 "print c in call_after_alloca" and
6680 "print s in call_after_alloca" and
6681 "backtrace from call_after_alloca_subr"
6682 if not compiled with gcc.
6683 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6684 "print c in localvars_in_indirect_call" and
6685 "print c in localvars_in_indirect_call" and
6686 "backtrace in indirectly called function" and
6687 "stepping into indirectly called function"
6688 if not compiled with gcc.
6689 (localvars_after_alloca): Add rs6000-*-* xfail for
6690 "print c after runto localvars_after_alloca" and
6691 "print s after runto localvars_after_alloca" and
6692 "print i after runto localvars_after_alloca" and
6693 "print l after runto localvars_after_alloca"
6694 for all compilers.
6695 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6696 than whatis-info.exp.
6697 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6698 than opaque-info.exp.
6699 Setup rs6000-*-* xfail for
beb998c6 6700 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6701 "ptype on opaque struct pointer (dynamically)" when
6702 not compiled with gcc.
6703 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6704 rather than callf-info.exp.
6705 (do_function_calls): Add clear_xfail for rs6000-*-* for
6706 "p t_float_values2(3.14159,float_val2)". Seems to work
6707 fine there, both with xlc and gcc. Need to find out what
6708 it is doing right and fix other platforms.
6709 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6710 "call inferior func with struct - returns int",
6711 "call inferior func with struct - returns long",
6712 "call inferior func with struct - returns float",
6713 "call inferior func with struct - returns double",
6714 "call inferior func with struct - returns char *",
6715 but only if not gcc compiled (presumes xlc compiled).
6716 Change rs6000-*-* xfails for
6717 "call inferior func with struct - returns char" and
6718 " call inferior func with struct - returns short" to only
6719 xfail if not using gcc.
6720 (clean mostlyclean): Remove *.ci and *.tmp files.
6721 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6722 than templ-info.exp.
6723 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6724 Add rs6000-*-* xfail for "up to foo in langs.exp"
6725 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6726 when not gcc compiled.
beb998c6 6727
c906108c
SS
6728Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6729
6730 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6731 * gdb.base/corefile.exp: Likewise.
6732 * gdb.base/list.exp: Likewise.
6733 * gdb.base/scope.exp: Likewise.
6734 * gdb.base/siganls.exp: Likewise.
6735
6736 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6737 compiler output.
6738 * gdb.base/whatis.exp: Likewise.
6739
6740Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6741
6742 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6743 failure (opcode table has been fixed to match reality).
6744
6745Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6746
6747 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6748 "call inferior func with struct - returns char",
6749 "call inferior func with struct - returns short"
6750
6751 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6752 "print 'scope0.c'::filelocal at main",
6753 "print 'scope0.c'::filelocal_bss in test_at_main",
6754 "print 'scope0.c'::filelocal at foo",
6755 "print 'scope0.c'::filelocal_bss in test_at_foo",
6756 "print 'scope0.c'::filelocal at bar",
6757 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6758
c906108c
SS
6759 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6760 in source file 1". This bug seems to have been fixed with both
6761 gcc and native cc (was native assembler bug?).
6762
6763Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6764
6765 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6766 "backtrace through signal handler" to "i*86-*-sysv4*".
6767 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6768 continue" case. Add "known SVR4 bug" to fail message.
6769 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6770 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6771 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6772 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6773 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6774 "up to foo in langs.exp", "show language at foo in
6775 langs.exp", "up to cppsub_ in langs.exp", "show
6776 language at cppsub_ in langs.exp", "up to fsub in
6777 langs.exp", and "show language at fsub in langs.exp".
6778 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6779 "bactrace in corefile.exp".
6780 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6781 "call inferior function with struct - returns float" and
6782 "call inferior function with struct - returns double".
beb998c6 6783
c906108c
SS
6784Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6785
6786 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6787 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6788 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6789 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6790
6791Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6792
6793 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6794 (or overriden) "CHILL" macro rather then bare "gcc".
6795 Also look for ../../gcc/xgcc since that is what we will
6796 actually need, not "Makefile". Remove following assignment
6797 of CHILL to CHILL_FOR_TARGET because that results in
6798 recursive definition.
6799
6800Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6801
6802 * gdb.base/corefile.exp: Change xfail for backtrace in
6803 corefile.exp from linuxaout to all linux.
6804 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6805 cases where we miss the breakpoint at the signal handler
6806 for some reason. Setup xfail for linuxoldld/linuxaout and
6807 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6808 hitting SIGURG breakpoint.
6809 * gdb.base/signals.exp: Setup xfail for "next" acting like
6810 continue to add linuxoldld. Setup xfail for all linux for
6811 "next to handler in signals_tests_1", "backtrace in
6812 signals_tests_1", "continue to func1", "pass SIGUSR1",
6813 and continue to handler".
6814
6815Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6816
6817 * Update all FSF addresses except those in COPYING* files.
6818
6819Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6820
6821 * gdb.base/a2-run.exp: Change messages to be more explicit about
6822 the status of args, and quote binfile in results.
6823
6824Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6825
6826 * gdb.base/callfuncs.exp: Add tests for passing structs to
6827 inferior functions and return various types.
6828 * gdb.base/callfuncs.c: Add functions to receive a struct
6829 and return a member of the struct, in various types.
6830
6831Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6832
6833 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6834
6835Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6836
6837 * config/vxworks29k.exp: New file, sources vxworks.exp.
6838
6839Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6840
6841 * config/gdbremote.exp: New file. Testing framework using
6842 gdbserver.
6843
6844Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6845
6846 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6847 "call function when asleep" and "send end of file".
6848 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6849 for "backtrace in corefile.exp".
6850 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6851 for "backtrace through signal handler".
6852 * gdb.base/corefile.exp: Make sure we actually generate a core file
6853 before trying the core tests. Some systems allow the user to suppress
6854 generation of core files and default to that (linux for example).
6855 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6856 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6857
6858Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6859
6860 * gdb.threads: New directory with some crude multi-threaded
6861 gdb tests (step.exp and step2.exp).
6862 * config/mt-lynx (STEP_EXECUTABLE): Define.
6863 (THREADFLAGS): Define.
6864
6865Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6866
6867 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6868
6869 * gdb.base/signals.exp: Disable whole file for lynx until
6870 further notice.
6871
6872 * gdb.base/signals.exp: xfail test where "next" acts like
6873 "continue" for lynx.
6874
6875 * gdb.base/interrupt.exp: xfail test for calling function while
6876 inferior is asleep for lynx.
6877
6878 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6879 than one cr-lf after each command.
6880
6881Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6882
6883 * configure.in: Reinstate setting of stabsdirs variable, fix
6884 typo in setting up configdirs for native builds.
6885
6886 * gdb.base/return.exp: Fix typo in return double test.
6887 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6888 compiler from optimizing them away.
6889
6890Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6891
6892 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6893 sequences to be echo'd by gdb when using gdb_test.
6894 * gdb.chill/chexp.exp: Likewise.
6895 * gdb.fortran/exprs.exp: Likewise
6896
6897Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6898
6899 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6900 after the inferior gdb has started.
6901
6902 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6903 after each command.
6904 * gdb.base/funcargs.exp: Likewise.
6905 * gdb.base/gdbvars.exp: Likewise.
6906 * gdb.base/interrupt.exp: Likewise.
6907 * gdb.base/list.exp: Likewise.
6908 * gdb.base/watchpoint.exp: Likewise.
6909 * gdb.c++/demangle.exp: Likewise.
6910 * gdb.c++/inherit.exp: Likewise.
6911 * gdb.chill/chexp.exp: Likewise.
6912 * gdb.fortran/exprs.exp: Likewise.
6913
6914 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6915 test if we can't handle IO to/from the inferior.
6916
6917 * gdb.c++/misc.exp: Always check for a program already being
6918 started after sending a "run" command to gdb.
6919
6920 * gdb.base/twice.exp: Start with a fresh gdb.
6921
6922 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6923 only depend on gdb's expression code, not the chill runtime.
6924
6925 * gdb.base/return.c: Put return values into variables so we
6926 can have gdb print them rather than depending on the program
6927 to print them.
6928 * gdb.base/return.exp: Corresponding changes.
6929
6930 * lib/gdb.exp: Provide default value for noinferiorio.
6931 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6932 the inferior.
6933
6934 * gdb.base/break.exp: Always check for a program already being
6935 started after sending a "run" command to gdb.
6936 (text_next_with_recursion): Don't check the output from the
6937 program's printf statement. Instead just make sure the program
6938 exited.
6939
6940 * gdb.base/commands.exp: Protect tests which need arguments with
6941 $noargs conditionals.
6942
6943Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6944
6945 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6946 of structure member arrays to match gdb/valops.c:value_addr change.
6947
6948Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6949
6950 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6951 cases.
6952
6953Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6954
6955 * configure.in (configdirs): Remove gdb.chill from default list
6956 of subdirs and then add it back in only if doing a native build.
6957 The current chill compiler does not yet work in any cross build.
6958 * Revert all signal changes from Jul 6.
6959 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6960 for sh-hms targets, allowing these tests to link, with no other
6961 changes. Testing is suppressed by setting "nosignals" in site.exp.
6962
6963Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6964
6965 * configure.in (signaldirs): Define and add to configdirs for all
6966 targets except some specific ones that are known to not support signals.
6967 Also clean up formatting.
6968 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6969 (signals, sigall): Remove rules to build.
6970 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6971 Moved to new gdb.signals directory.
6972 * gdb.signals: New test directory.
6973 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6974 signals.c signals.exp}: New or moved files.
6975
6976Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6977
6978 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6979
6980Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6981
6982 * gdb.base/return.exp: Xfail `return double' test failure
6983 on at least Solaris 2.3 and handle future/past versions on
6984 a case by case basis as appropriate. Also update message
6985 to include i*86 failures.
6986
6987Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6988
6989 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6990
6991 * lib/gdb.exp: Fix comment which erroneously identified
6992 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6993 gdb_file_cmd not gdb_load).
6994 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6995
6996 * gdb.base/setvar.exp: Make test names consistent between pass and
6997 fail cases. Use gdb_test more.
6998
6999Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7000
7001 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7002
7003Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7004
7005 * gdb.base/help.exp: Fix expected help string for `show commands'.
7006
7007Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7008
7009 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7010
7011 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7012 of a text section.
7013
7014Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7015
7016 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7017 that loop eventually terminates. Fix Connection refused logic so
7018 that testsuite will expire nicely.
7019
7020Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7021
7022 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7023 config/rom68k.exp: New tcl glue for the appropriate monitors.
7024 These all just end up calling monitor.exp.
7025 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7026 refused' by retrying. Cleanup some timeout issues.
7027 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7028 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7029 callers don't have to set/restore global timeout variable.
7030
7031 * The following set of changes centralizes management of the global
7032 timeout variable. This way, it can be set in one target dependent
7033 place instead of dozens of places scattered throughout the test suite.
7034 If you need to lengthen a timeout, then you should either set timeout
7035 in one of the config/{target}.exp files, or multiply it by a factor.
7036 Setting it to an absolute value is always going to lose for some
7037 targets.
7038 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7039 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7040 * gdb.base/funcargs.exp: Don't set timeout.
7041 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7042 * gdb.base/printcmds.exp (test_print_string_constants
7043 test_print_array_constants): Don't set timeout.
7044 * gdb.base/ptype.exp: Don't set timeout.
7045 * gdb.base/recurse.exp: Don't set timeout.
7046 * gdb.base/return.exp: Don't set timeout.
7047 * gdb.base/watchpoint.exp: Don't set timeout.
7048 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7049 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7050
7051Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7052
7053 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7054
7055Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7056
7057 * lib/gdb.exp: Disable chill tests for irix5.
7058
7059Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7060
7061 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7062 each test pass or fail.
7063
7064Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7065
7066 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7067 xlc not gcc.
7068
7069Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7070
7071 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7072
7073Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7074
7075 * config/est.exp: Fix copyright and comments. Remove dead code.
7076 Use targetname, serialport and baud variables instead of fixed
7077 constants.
7078 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7079 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7080
7081Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7082
7083 * gdb.base/watchpoint.exp: Don't run
7084 test_watchpoint_triggered_in_syscall for sunos.
7085
7086Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7087
7088 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7089 they don't seem to exist. Do include stdio.h.
7090
7091Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7092
7093 * gdb.base/a1-selftest.exp: Add alpha xfail.
7094
7095Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7096
7097 * gdb.base/watchpoint.c (main): Prompt before calling read().
7098 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7099 Revise accordingly. Remove cruft about sending "123" several
7100 times, until it gets noticed. Clean up the "print buf[0]" stuff
7101 so that it passes or fails, and waits for prompts in the usual way.
7102
7103Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7104
7105 * gdb.base/recurse.exp: Fix comment.
7106
7107 * TODO: Remove item about printing variables in nodebug.exp. Add
7108 item about enabling tests which are only run on some targets.
7109
7110 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7111 fail, make test names unique, use new gdb_test convention
7112 regarding pattern, use gdb_test more, etc.).
7113
7114 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7115 fail, make test names unique, etc.).
7116
7117Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7118
7119 * gdb.base/nodebug.c: Change return type of top and middle to
7120 short.
7121 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7122 are fixed by the recent mdebugread.c changes. Allow `short ()'
7123 as type for top and middle.
7124
7125Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7126
7127 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7128 nearly as I can tell, the whole thing was an accident in Stu's
7129 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7130 to replace a send/expect pair with gdb_test, but ended up only
7131 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7132 of 30 Mar 1995 took care of it, but left this vestigial comment
7133 which I am now nuking.
7134
7135Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7136
7137 * gdb.base/break.exp: Look for different line number for
7138 breakpoint at main depending on usestubs.
7139
7140Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7141
7142 * gdb.base/list.exp: Adjust some alternate expect patterns to
7143 match recent list0.c change. Add alternate expect pattern for
7144 output from `list default lines around main' for optimizing
7145 compilers.
7146
7147Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7148
7149 * lib/gdb.exp: If nosignals is not set, set it to 0.
7150
7151Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7152
7153 * config/slite-gdb.exp: Responds to load symbol table prompt.
7154 * gdb.base/break.exp: Adjust line number, fix rerun.
7155 * gdb.base/langs0.c: Add #ifdef usestubs.
7156
7157Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7158
7159 * gdb.base/list.exp: Adjust line contents after adding new lines in
7160 list0.c. Also fix a syntax error.
7161
7162 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7163 * gdb.base/break.exp: ditto.
7164 * gdb.base/list.exp: ditto.
7165 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7166 * gdb.base/run.c: ditto.
7167 * gdb.base/list0.c: ditto.
7168 * gdb.base/funcargs.c: ditto.
7169
7170Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7171
7172 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7173 $targetname, $serialport and $baud instead of hardwired variables.
7174 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7175 target doesn't support signals.
7176
7177Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7178
7179 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7180
7181Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7182
7183 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7184 Don't rely on the value of an auto variable before it has been
7185 initialized. Use gdb_test more.
7186
7187Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7188
7189 * lib/gdb.exp (default_gdb_version): A version number must start
7190 with a digit, but other than that contains all characters up to
7191 the first whitespace character.
7192
7193Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7194
7195 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7196
7197Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7198
7199 * gdb.c++/*.exp: Warn if executable does not exist. The original
7200 reason for skipping the warning was that configure.in sometimes
7201 intentionally skipped building the executables but the tcl code
7202 had no way of knowing. That (a) was always bogus with respect to
7203 error handling, (b) is no longer true (right now there is no way
7204 to skip C++ tests).
7205
7206 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7207
7208Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7209
7210 * gdb.base/list.exp: Add expect patterns for output from
7211 SunPRO compiled executables.
7212 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7213 types.
7214
7215Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7216
7217 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7218 number (we are already testing that the correct source line text
7219 gets printed).
7220
7221 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7222 that is what is intended, but something needed to be done to get
7223 sunos4 native working again.
7224
7225 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7226
7227 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7228 apparently went with a (very) old xfail.
7229
7230Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7231
7232 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7233 runto_main is a proc in gdb.exp that will do 'step' for target use
7234 stubs.
7235 * gdb.base/exprs.exp: ditto.
7236 * gdb.base/interrupt.exp: ditto.
7237 * gdb.base/opaque.exp: ditto.
7238 * gdb.base/printcmds.exp: ditto.
7239 * gdb.base/ptype.exp: ditto.
7240 * gdb.base/scope.exp: ditto.
7241 * gdb.base/setvar.exp: ditto.
7242 * gdb.base/signals.exp: ditto.
7243 * gdb.base/twice.exp: ditto.
7244 * gdb.c++/classes.exp: ditto.
7245 * gdb.c++/inherit.exp: ditto.
7246 * gdb.c++/templates.exp: ditto.
7247 * gdb.base/break.exp: no run and hit main for stubs. Change line
7248 numbers for breakpoints and info breakpoint.
7249 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7250 breakpoint().
7251 * gdb.base/callfuncs.c: ditto.
7252 * gdb.base/exprs: ditto.
7253 * gdb.base/interrupt.c: ditto.
7254 * gdb.base/opaque0.c: ditto.
7255 * gdb.base/printcmds.c: ditto.
7256 * gdb.base/ptype.c: ditto.
7257 * gdb.base/scope0.c: ditto.
7258 * gdb.base/setvar.c: ditto.
7259 * gdb.base/signals.c: ditto.
7260 * gdb.base/twice.c: ditto.
7261 * gdb.c++/misc.cc: ditto.
7262 * gdb.c++/templates.cc: ditto.
7263
7264Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7265
7266 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7267
7268 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7269 somewhere between `read' and `main.c'. I'm pretty sure the
7270 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7271 and it isn't particularly useful.
7272
7273 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7274
7275Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7276
7277 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7278
7279Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7280
7281 * config/mt-slite: add LIBS and -nostdlib.
7282 * config/slite-gdb.exp: add this new file to support sparclite target.
7283
7284Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7285
7286 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7287
7288 * gdb.base/a2-run.exp: Change argument to istarget from
7289 "*-*-vxworks" to "*-*-vxworks*".
7290 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7291
7292Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7293
7294 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7295 will not runto main but do a 'step' to step out of breakpoint().
7296 * config/mt-slite: add -Dusestubs.
7297
7298Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7299
7300 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7301 instead of just @.
7302
7303 * gdb.base/signals.exp: Add test for "handle all print".
7304 * TODO: Remove "handle all print". Also remove item about
7305 checking copyright date (I don't like the idea of a spurious FAIL
7306 based on when we run the tests).
7307
7308 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7309 for SunOS4 (reason for failure not investigated). Remove
7310 redundant test for $binfile.
7311
7312 * gdb.base/nodebug.c (array_index): Call malloc.
7313
7314 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7315
7316Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7317
7318 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7319 conventions and slightly simplify the matching regexp.
7320
7321Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7322
7323 * gdb.base/break.exp: Update gdb_test invocation to use new
7324 convention.
7325
7326 * lib/gdb.exp: If noargs is not set, set it to 0.
7327
7328 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7329 tests unique.
7330
7331 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7332
7333Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7334
7335 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7336 one argument of type "<non-float parameter>".
7337
7338Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7339
7340 * config/rom68k.exp: New file to support Motorola IDP board.
7341 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7342 * gdb.base/break.c: Change things around so that this program
7343 doesn't depend upon args. This is necessary to make remote
7344 targets work (in general, they can't take args).
7345 * gdb.base/break.exp: Don't try to send args to program. Don't
7346 expect output. Also, replace lots of code with gdb_test.
7347
7348Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7349
7350 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7351 printing of '\'' (which is what the comment says we are testing,
7352 even though we were not), not '''.
7353 (test_integer_literals_rejected): Test that printing ''' is an error.
7354
7355 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7356 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7357 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7358 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7359 Use gdb_test not test_print_accept.
7360 * lib/gdb.exp: Remove test_print_accept.
7361
7362 * gdb.base/signals.exp (signal_tests_1): Make pass message
7363 consistent with fail message.
7364
7365 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7366 unsigned char; the bug (PR 1821) is fixed.
7367
7368 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7369
7370 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7371 successful tests--makes xfailing them work right.
7372
7373Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7374
7375 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7376 only \r\n, not .*. The test can pass .* as the last thing in
7377 $pattern if that is what it wants. In addition to providing this
7378 flexibility, this change should speed up pattern matching in cases
7379 where the pattern already ended with .* (there were a number of
7380 them). This change also helps catch bad patterns--in the old
7381 scheme the typo "char \*" instead of "char \\*" would pass. Now
7382 it is caught.
7383 * Many .exp files: Update callers.
7384
7385 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7386 clearer and does not spuriously match multiple ('s. Likewise for
7387 ) and *.
7388
7389 * gdb.base/nodebug.exp: Test ability to call a function and pass
7390 it a string (even with no debugging info).
7391
7392 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7393 "p '\'", which is the same as "p ''" once tcl gets done with
7394 quoting, to "p '\\'", which I suspect is what is intended (one
7395 backslash gets sent to GDB).
7396
7397 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7398
7399Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7400
7401 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7402 1817) was fixed literally years ago.
7403
7404Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7405
7406 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7407 test, it causes stepping out of call_after_alloca_subr with
7408 optimizing compilers.
7409 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7410 fails.
7411
7412 * gdb.c++/templates.exp: Source templ-info.exp only if
7413 the templates executable exists.
7414
7415 * gdb.c++/misc.cc (class Contains_static_instance,
7416 class Contains_nested_static_instance),
7417 gdb.c++/classes.exp (test_static_members): Test printing of
7418 a class that contains a static instance of the class.
7419
7420Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7421
7422 * gdb.base/langs2.c (cppsub_): Don't prototype.
7423 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7424 only, I believe).
7425
7426Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7427
7428 * lib/gdb.exp (skip_chill_tests): New procedure.
7429
7430 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7431
7432Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7433
7434 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7435 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7436
7437Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7438
7439 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7440
7441 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7442 disassemble 8, not 16, instructions for part 4.
7443
7444 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7445 support the latter anymore.
7446
7447 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7448 -DNO_PROTOTYPES.
7449 * gdb.base/callfuncs.c: Control use of prototypes based on
7450 NO_PROTOTYPES, not __STDC__.
7451 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7452 t_float_values2 tests if prototypes in use.
7453
7454 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7455 t_double_values): When checking differences against DELTA, check
7456 that difference is within the range (-DELTA,DELTA), not just
7457 (-infinity,DELTA).
7458
7459Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7460
7461 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7462 'file' command firts, then 'target', then 'load', this is due to gdb
7463 target set up.
7464 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7465
7466Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7467
7468 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7469 FP load/store variants.
7470 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7471
7472Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7473
7474 * gdb.base/term.exp: Do not give a warning if not native, it is
7475 not an abnormal condition.
7476
7477Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7478
7479 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7480 t_char_array".
7481
7482Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7483
7484 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7485 are getting the version number.
7486
7487 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7488 if not native, it is not an abnormal condition.
7489
7490Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7491
7492 * lib/gdb.exp: Just use "file exists", rather than undocumented
7493 dejagnu procedure "findfile".
7494
7495Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7496
7497 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7498 (LDFLAGS): Set to -Xlinker -Ur.
7499
7500 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7501 Removed, these values are set by lib/gdb.exp.
7502
7503 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7504
7505Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7506
7507 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7508 of replicating gdb startup code.
7509
7510 * config/mt-vxworks (LDFLAGS): Set to -r.
7511 (CFLAGS_FOR_TARGET): Removed.
7512
7513 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7514 (gdb) and gdb for vxworks uses (vxgdb).
7515
7516 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7517 executable is not in the tree and host != target, use sed and
7518 program_transform_name to determine the gdb name used by the
7519 target.
7520
7521 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7522 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7523
7524Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7525
7526 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7527 floats, chars, and shorts where there are ANSI-style function
7528 definitions.
7529
7530 * gdb.base/langs.exp, gdb.base/langs*: New test.
7531 * gdb.base/Makefile.in: Build it.
7532 * TODO: Remove item about checking that C names don't get C++
7533 demangling applied; this test tests it.
7534
7535Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7536
7537 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7538 went with the const70 xfail. The xfail went away a year ago.
7539
7540 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7541
7542 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7543 for hp300.
7544
7545 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7546
7547 * gdb.base/a1-selftest.exp: Don't run on hp300.
7548
7549Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7550
7551 * Makefile.in (site.exp): Set host_alias and target_alias as well
7552 as host_triplet and target_triplet.
7553
7554Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7555
7556 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7557
7558 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7559 places as other ecoff systems).
7560
7561 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7562 ultrix.
7563
7564Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7565
7566 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7567 remove them.
7568 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7569 variable and "variable" in addition to "data variable".
7570 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7571
7572 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7573 2.
7574 * gdb.base/list1.c (long_line): Add additional statement at start
7575 of function.
7576 * gdb.base/list.exp (test_forward_search): Update line number to
7577 reflect new statement.
7578
7579Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7580
7581 * gdb.base/signals.exp: Reinitialize searched source directories
7582 after gdb_start call.
7583
7584Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7585
7586 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7587 * gdb.stabs/Makefile.in: Likewise.
7588
7589 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7590 change. Instead split the tests into smaller pieces.
7591 * gdb.disasm/hppa.s: Corresponding changes.
7592
7593Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7594
7595 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7596 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7597
7598 * gdb.base/funcargs.exp: Modify many tests so that every test
7599 either passes or fails. Make some test names unique.
7600
7601Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7602
7603 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7604 Call stty to set interrupt character.
7605
7606 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7607 for HP assembler versus GNU assembler based on actual behavior of
7608 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7609
7610 * TODO: Suggest a few more stepping tests.
7611
7612Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7613
7614 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7615 restart GDB for h8300 after a continue.
7616 (return): Add pattern to match a29k-udi behavior.
7617 * gdb.base/nodebug.exp: Remove obsolete comment.
7618 * gdb.base/regs.exp: New file, testing of register displays.
7619 * gdb.base/return.exp: Fix typo in reference to $objdir.
7620 * gdb.base/whatis.exp: Always start with a fresh GDB.
7621
7622Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7623
7624 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7625 higher, these tests generate a lot of output.
7626
7627Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7628
7629 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7630 code following the catch silently ignored some errors; without the
7631 catch they should be thrown like any other tcl error. Also, the
7632 catch used "" instead of {} which meant all the callers who wanted
7633 to include one of the characters "[]$ had to quote it an extra time.
7634 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7635 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7636 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7637 Remove extra quoting.
7638
7639Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7640
7641 * gdb.base/commands.exp: Make test names unique; every test either
7642 passes or fails. Update some comments.
7643
7644 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7645
7646Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7647
7648 The following fixes a FAIL caused by the fact that the alpha stabs
7649 configuration didn't use the ".if alpha" code in weird.def.
7650 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7651 bit pointer, so the 32 bit version works even on the alpha.
7652 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7653 Remove the stuff which allowed us to have separate versions for
7654 alpha and everything else.
7655
7656 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7657 regexp which "info func operator\[\](" is supposed to match. Fix
7658 string to send to GDB. Note that GDB still doesn't work right. Add a
7659 new test for "info func .perator\[\](" which GDB does handle correctly.
7660
7661 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7662
7663Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7664
7665 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7666 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7667 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7668 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7669 it makes the tests harder to understand and confuses test-o-matic.
7670 The preferred style is that each test provides a PASS or a FAIL,
7671 and has a unique message (e.g. "continue #54" not just "continue")
7672 which is the same for the pass and the fail.
7673 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7674 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7675 to lib/gdb.exp.
7676 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7677 prt_accept which was basically the same thing. Likewise for
7678 test_print_reject and prt_reject.
7679 * lib/gdb.exp (test_print_reject): Add some more error message
7680 patterns to match from the former printcmds.exp (prt_reject).
7681 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7682 One defect of the passcount stuff is that some of it failed to
7683 report XPASS where appropriate.
7684 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7685 stuff before and after arg in expected pattern.
7686 (test_paddr_operator_functions): Re-do test without print_addr_of;
7687 this is the only test which seems to want extra stuff there.
7688
7689Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7690
7691 * gdb.base/nodebug.exp: Update new tests to reflect improved
7692 wording of gdb output.
7693
7694 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7695 and "ptype" work on variables in files compiled without -g.
7696 Replaces commented out "maint print msymbol" tests.
7697
7698Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7699
7700 * gdb.base/setvar.c (dummy): Call malloc.
7701
7702 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7703 losing with the irix4 sed.
7704
7705 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7706 ALRM" on irix4.
7707
7708Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7709
7710 * TODO: Remove items about corefile.exp testing new exec-file and
7711 backtrace; both are now done. Add items about printing enums.
7712
7713Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7714
7715 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7716 "get signal $thissig" test fails.
7717
7718 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7719
7720Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7721
7722 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7723 compiler warning with dec alpha compiler.
7724
7725 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7726 extra \n from gdb_test call (this explains why the prompt test
7727 that I removed yesterday was there).
7728 (user_defined_command_test): Remove extra \n and prompt test.
7729
7730 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7731 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7732 doesn't exist.
7733 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7734 Also remove alpha workaround, which turns out to be because
7735 SIGABRT == SIGLOST.
7736
7737 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7738
7739 * gdb.base/help.exp: Don't test "help show".
7740
7741Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7742
7743 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7744 "set print address" is on.
7745 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7746 pass prompt to gdb_test; gdb_test already looks for the prompt.
7747
7748 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7749
7750 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7751 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7752 was to make sure that gdb can read a core file. But (a) the "read
7753 the corefile" part didn't make it to a1-selftest.exp, we just
7754 delete the corefile after creating it, and (b) we test reading
7755 corefiles in corefile.exp anyway. Also, this test left around a
7756 xgdb process on Solaris.
7757
7758 * gdb.base/corefile.exp: Also test backtrace.
7759
7760Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7761
7762 * gdb.base/commands.exp: Test a simple user defined command with
7763 arguments and if/while statements; verify the full user command is
7764 printed by "show user".
7765
7766 * gdb.base/commands.exp: Test if/while commands as part of a
7767 breakpoint command list; verify they appear in breakpoint
7768 information.
7769
7770Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7771
7772 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7773 than by dividing by zero.
7774
7775Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7776
7777 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7778 performing an inferior call with watchpoints enabled.
7779 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7780 call.
7781
7782Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7783
7784 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7785 of "file" command.
7786
7787 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7788 Add additional pattern for when "int operator int(void);" appears
7789 in a different order.
7790
7791Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7792
7793 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7794
7795 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7796 and "signal" with ".*".
7797
7798Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7799
7800 * TODO: Add note about "handle all nostop".
7801
7802 * gdb.base/{sigall.c, sigall.exp}: New test.
7803 * gdb.base/Makefile.in: Add it.
7804
7805Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7806
7807 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7808 when invoking GDB, suppresses any windowing interface.
7809
7810Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7811
7812 * config/sim-gdb: New file, simulator testing support.
7813
7814Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7815
7816 * gdb.base/interrupt.exp: Test calling func1 twice.
7817
7818Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7819
7820 * gdb.base/list.exp (test_forward_search): Set timeout higher
7821 when we'll be getting lots of output from gdb.
7822
7823 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7824 "init_malloc" to after the expect statement. Run it if that
7825 regexp is taken, but also for two others which happen if source
7826 cannot be found.
7827
7828Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7829
7830 * gdb.base/printcmds.exp: New test, for printing register before
7831 program is running.
7832
7833Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7834
7835 * gdb.base/list.exp: Correct some alternate expect patterns
7836 to reflect changes in list1.c.
7837
7838Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7839
7840 * TODO: Add item regarding large frames.
7841
7842 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7843
7844 * TODO: Remove item about enabling return.exp; it
7845 is enabled. Suggest a few more "return" tests.
7846
7847Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7848
7849 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7850 anonymous unions.
7851
7852Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7853
7854 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7855 and pr-5646.o, so "make" is the same as "make all", not "make
7856 pr-4975.o".
7857
7858Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7859
7860 * gdb.base/list.exp: Adjust expectations to reflect changes in
7861 list1.c.
7862 (test_forward_search): New test proc.
7863 * gdb.base/list1.c (long_line): New function, has long source line.
7864
7865Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7866
7867 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7868 additional line of code that was added.
7869
7870Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7871
7872 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7873 tests so as not to overflow expect's input buffers.
7874 * gdb.disasm/hppa.exp: Corresponding changes.
7875
7876Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7877
7878 Beginnings of template debugging tests.
7879 * gdb.c++/templ-info.cc: New file to test for template
7880 debugging capability of the compiler.
7881 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7882 templ-info.cc.
7883 * gdb.c++/templates.cc: Add explicit template instantiations
7884 to enable compiling with -fno-implicit-templates. Add destructor
7885 and 'value' method to T5 class for template tests.
7886 * gdb.c++/templates.exp: Add testcases for printing of template
7887 types, setting breakpoints on template methods and calling a
beb998c6 7888 template method.
c906108c
SS
7889
7890Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7891
7892 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7893 branch target since some assemblers (gas-2.5) may emit a
7894 relocation for the branch instead of resolving it in the
7895 assembler.
7896
7897Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7898
7899 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7900 through signal handler.
7901
7902Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7903
7904 * configure.in (*-*-netware): Use config/mt-netware.
7905
7906 * config/mt-netware: New file.
7907 * config/mt-i386-netware: Removed, separate configs for different
7908 netware architectures are no longer needed now that we have
7909 --with-headers.
7910
7911Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7912
7913 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7914 by the recent changes to use ANSI C arithmetic conversions.
7915
7916Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7917
7918 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7919 bug involving using inferior_pid to figure out whether to select a
7920 frame.
7921
7922Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7923
7924 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7925 match the current disassembler output.
7926
7927Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7928
7929 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7930 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7931 types, expect "int" as type of integer values (for now).
7932
7933Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7934
7935 * gdb.base/commands.exp: New tests for if/while commands.
7936
7937Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7938
7939 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7940 by .*, since hex values have different syntax in Chill mode.
7941
7942Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7943
7944 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7945 linefeed from expect pattern for repeated types with indices > 9.
7946
7947Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7948
7949 First part of Fortran test suite.
7950 * gdb.fortran: New directory.
7951 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7952
7953Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7954
7955 * gdb.base/default.exp: Update expect pattern for load command
7956 without arguments.
7957
7958Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7959
7960 * configure.in: Change i386 to i[345]86.
7961 * gdb.base/configure.in: Likewise.
7962 * gdb.c++/configure.in: Likewise.
7963 * gdb.chill/configure.in: Likewise.
7964
7965Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7966
7967 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7968 patterns, since that is not a valid context for comments.
7969
7970Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7971
7972 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7973 repeated types and repeated types with indices > 9.
7974
7975Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7976
7977 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7978 2417; old bug has been fixed.
7979
7980Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7981
7982 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7983 send the newline ourselves instead of assuming gdb_test will do
7984 so when passed an empty input string.
7985
7986 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7987 stabs testcode.
7988
7989Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7990
7991 * lib/gdb.exp (gdb_test): Don't send anything if the first
7992 argument is an empty string. This makes cases where we want to
7993 match output that is already in expect's buffers (for example,
7994 matching a breakpoint after gdb_run_cmd has been called) work
7995 reliably.
7996
7997Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7998
7999 * config/netware.exp: New file.
8000
8001Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8002
8003 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8004 the -B and -L prefixes so we can find the debugging stub.
8005
8006 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8007 there and we are using the gcc from the tree.
8008
8009 * gdb.base/types.c: Removed.
8010
8011 * gdb.base/configure.in: Look for makefile fragments in ../config.
8012 Recognize i386-*-netware.
8013 * gdb.c++/configure.in: Likewise.
8014
8015Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8016
8017 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8018 the correct TCL syntax.
8019
8020Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8021
8022 * gdb.base/opaque.exp: use runto instead of messing around with
8023 breakpoints. Simplify by using gdb_test.
8024
8025 * gdb.base/bitfields.exp: restart between tests on netware targets
8026 because breakpoints aren't relocated after target death. Run
8027 processes to completion.
8028
8029 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8030
8031Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8032
8033 * Makefile.in: Remove extra tabs that confuse some versions
8034 of "make". Use the newly built gdb to test with by default,
8035 rather than the first one in the tester's search path.
8036
8037Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8038
8039 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8040
8041 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8042 condition help.
8043
8044Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8045
8046 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8047
8048 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8049 running.
8050 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8051 * gdb.base/funcargs.exp: Likewise.
8052
8053 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8054 * gdb.base/funcargs.exp: Likewise.
8055
8056 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8057 message is "".
8058
8059Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8060
8061 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8062 return,signals,twice}.exp: Handle non-existant binaries
8063 consistantly.
8064
8065 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8066 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8067 might testing a cross development system.
8068
8069Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8070
8071 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8072 runtest script is relative to ${srcdir}, not ${rootdir}.
8073
8074Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8075
8076 * gdb.base/signals.exp: Allow for optionality of breakpoint
8077 address.
8078
8079Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8080
8081 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8082
8083Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8084
8085 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8086 for size_t definition.
8087 * gdb.c++/templates.cc: Likewise
8088
8089 * config/mt-i386-netware: New file.
8090
8091 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8092 defined.
8093
8094 * gdb.base/Makefile.in: Added support for systems that name core
8095 files by appending "core" to the program name.
8096 * gdb.base/a1-selftest.exp: Likewise.
8097
8098Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8099
8100 * gdb.base/return.exp: Add comment and message for `return double'
8101 test failure on Sparc Solaris.
8102
8103Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8104
8105 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8106
8107Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8108
8109 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8110 from optimizing them away.
8111 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8112 patterns to include default constructors and assignment operators,
8113 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8114 character in the output of the virtual base pointer.
8115
8116Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8117
8118 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8119 expression match in print_addr_of to avoid unintented matches.
8120 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8121 versions up to 2.5.8.
8122
8123Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8124
8125 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8126 included file to run under newer versions of expect.
8127 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8128 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8129 Remove xfail for the virtual table of BDDHookV.
8130
8131Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8132
8133 * lib/gdb.exp (string_to_regexp): Set a default result.
8134 (default_gdb_start): Fix misleading message.
8135
8136Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8137
8138 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8139 Remove all CC, etc definitions.
8140 * config/mt-hpux: New file.
8141 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8142 (CFLAGS, LDFLAGS): Define.
8143 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8144
8145 * Makefile.in (site.exp): Don't insert host_os, etc.
8146 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8147 (distclean): Check existence of subdir.
8148 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8149 * gdb.base/Makefile.in: General cleanup and simplification.
8150 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8151 to build executables. Use default rule to build .o files.
8152 (EXPECT, RUNTEST, CC): Fix relative pathname.
8153 (site.exp): Don't insert host_os, etc.
8154 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8155 and/or SIGUSR1 defined.
8156 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8157 * gdb.c++/Makefile.in: General cleanup and simplification.
8158 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8159 (CFLAGS): Remove.
8160 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8161
8162Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8163
8164 * gdb.base/recurse.exp: Misc changes to get tests running again
8165 after Kung's changes to the watchpoint code.
8166 * gdb.base/watchpoint.exp: Likewise.
8167
8168Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8169
8170 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8171
8172Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8173
8174 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8175 * lib/gdb.exp (default_gdb_start): Define.
8176 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8177 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8178 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8179 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8180 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8181 Don't call gdb_target_udi in between tests.
8182
8183Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8184
8185 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8186 (which was basically just a local version of the same thing). In
8187 addition to avoiding duplication, gdb_test_exact is faster.
8188 * lib/gdb.exp (gdb_test_exact): Fix typo.
8189
8190 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8191 don't give an error.
8192
8193 * gdb.base/term.exp: Call delete_breakpoints before starting.
8194
8195 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8196 (t10): Add comment.
8197
8198Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8199
8200 Reorganization of the GDB Test Suite.
8201
8202 * gdb.base: New directory, contains all the basic tests.
8203 * gdb.c++: New directory, tests specific to C++.
8204 * gdb.chill: New directory, tests specific to Chill.
8205 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8206 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8207 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8208 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8209 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8210 t30-31 to chill).
8211 * */gdbme.*: Rename to match appropriate expect scripts.
8212 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8213 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8214 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8215 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8216 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8217 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8218 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8219 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8220 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8221 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8222 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8223 gdb.c++/virtfunc.cc: New names of C++ files.
8224 * gdb.chill/chillvars.ch: New name of Chill file.
8225 * gdb.base/configure.in, gdb.c++/configure.in,
8226 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8227 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8228 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8229 * configure.in (configdirs): Update to reflect directory changes.
8230 (target_abbrev): No longer define for any configuration.
8231 * Makefile.in: Cosmetic improvements to header comments.
8232
8233Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8234
8235 Various changes to gdb.t31:
8236
8237 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8238 * gdbme.ch: Make all key-words and predefineds be upper-case.
8239 * chillvars.exp: Expect key-words and predefinds in upper-case.
8240
8241 * chillvars.exp: Use gdb_test_exact many places.
8242 Change expected output for arrays (which now includes index labels).
8243
8244 * pr-5020.exp, gdme.ch (module PR_5020):
8245 New test, for PR-5020.
8246
8247Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8248
8249 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8250 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8251
8252Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8253
8254 * Makefile.in: Fix bit-rot in definitions of CHILL,
8255 CHILL_FOR_TARGET and Chill_LIB.
8256 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8257 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8258 CHILL, and CHILL_LIB.
8259
8260Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8261
8262 * Revert the previous changes. Please see Rob's directory
8263 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8264
8265Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8266
8267 * Makefile.in, configure.in, config/mips-gdb.exp,
8268 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8269 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8270 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8271 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8272 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8273 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8274 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8275 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8276 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8277 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8278 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8279 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8280 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8281 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8282 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8283 changes from 94Q1.
8284
8285Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8286
8287 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8288 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8289 Rob's new testing fragments.
8290
8291Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8292
8293 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8294 lib/gdb.exp: Replace error proc calls with perror.
8295
8296Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8297
8298 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8299 version also, match on casted version strings, and match on
8300 gdb startup case where the line numbers might be messed up.
8301
8302Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8303
8304 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8305 (CFLAGS): Delete it from here.
8306
8307Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8308
8309 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8310
8311Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8312
8313 * Makefile.in (RUNTEST): Default to just "runtest".
8314
8315Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8316
8317 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8318 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8319 the code has been restructured.
8320
8321Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8322
8323 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8324 \n, not just one of each.
8325
8326 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8327 /bin/cc gives a warning if you do.
8328
8329Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8330
beb998c6 8331 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8332 __t10ListS_link1ZUiRCUiPT0
8333
8334Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8335
8336 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8337 on local variables in recursive functions.
8338
8339 * gdb.t07/Makefile.in: Build the new test.
8340
8341Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8342
8343 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8344 directly. Instead compare the return values from actual calls.
8345
8346Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8347
8348 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8349
8350Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8351
8352 * From Peter Schauer with minor modifications.
8353 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8354 stops in mid-line in the caller. Add xfail for returning a float
8355 value on X86 targets.
8356
8357Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8358
8359 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8360 to avoid expect lossage.
8361 (fmem_LRbug_tests): Likewise.
8362 * gdb.disasm/hppa.s: Corresponding changes.
8363
8364 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8365 conditions to work with latest dejagnu/expect.
8366
8367 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8368 expected to fail on the PA.
8369 (backtrace in call with trampolines): Explicitly require main
8370 to be frame #1 (no trampolines should show up in backtrace).
8371
8372 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8373 "continue -expect".
8374 * gdb.t06/break.exp: Likewise.
8375 * gdb.t07/watchpoint.exp: Likewise.
8376 * gdb.t13/bitfields.exp: Likewise.
8377 * gdb.t15/{funcargs,return}.exp: Likewise.
8378 * gdb.stabs/weird.exp: Likewise.
8379 * config/{mips,udi}-gdb.exp: Likewise.
8380
8381 * hppa.sed: Enclose comments within a sed command to avoid
8382 losing with the old OSF1 sed.
8383
8384Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8385
8386 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8387 sequent dynix.
8388 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8389 * gdb.t15/funcargs.exp: Conditionally step again to really
8390 finish from marker_call_with_trampolines. Handle the case where
8391 the first step from within call_with_trampolines already steps
8392 us back to main.
8393 * gdb.t15/gdbme.c: Add comment to closing brace of
8394 call_with_trampolines for funcargs.exp.
8395
8396Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8397
beb998c6 8398 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8399 Fix typo(s).
8400
8401Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8402
8403 * gdb.t07/gdbme.c: More code for watchpoint testing.
8404
8405 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8406 "Hardware watchpoint" throughout file.
8407 (test_watchpoint_triggered_in_syscall): New test.
8408 (test_complex_watchpoint): New test.
8409
8410Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8411
8412 * gdbme.c (call_with_trampolines): New function to try and step
8413 into. Tests trampoline problems on the PA.
8414
8415 * funcargs.exp (localvars_in_indirect_call): No longer expect
8416 stepping into indirect call to fail on PAs.
8417 (test_stepping_over_trampolines): New test.
8418
8419Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8420
8421 * TODO: Add suggestions for static member function tests, and
8422 completion tests.
8423
8424Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8425
8426 * TODO: Add suggestions for "p/a" tests.
8427
8428 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8429 (default_gdb_exit): Replace all the hair with sending "quit" to
8430 the process with a simple close.
8431
8432Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8433
8434 * TODO: Add suggestions for shared library tests.
8435
8436Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8437
8438 * TODO: Add suggestions for x/s tests.
8439
8440Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8441
8442 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8443 "enable once", and "enable breakpoints once" with ".*".
8444
8445Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8446
8447 * TODO: Add suggestions about structure passing tests.
8448
8449Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8450
8451 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8452 the primary1 test, use work around if __GNUC__ < 2.
8453 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8454 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8455 Test for bad output rather than waiting for timeout. Issue
8456 second continue only if first continue failed.
8457
8458Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8459
8460 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8461 operator[] test with gdb_test because the old code didn't seem to
8462 be getting the quoting right with the new dejagnu.
8463
8464Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8465
8466 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8467 one from the path.
8468 * Makefile.in: Use a fresh expect if there is one, use runtest
8469 from the src tree if there is one.
beb998c6 8470
c906108c
SS
8471Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8472
8473 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8474 next over recursive call. Revise the tests from that point on
8475 (which had been skipped) to match GDB's actual (correct) output.
8476
8477 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8478 with next over a breakpoint whose condition is false.
8479
8480 * gdb.t00/help.exp: Comment out "help set print" tests just like
8481 (and for same reason as) "help set" test.
8482
8483Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8484
8485 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8486 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8487
8488Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8489
8490 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8491 necessary gdb_target_udi.
8492
8493 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8494
8495 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8496 1838 and 2417; they are fixed.
8497
8498 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8499 gdb.t03/ptype.exp (ptype structure, ptype union):
8500 Remove xfails; the test is looser than when the xfails were added.
8501
8502 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8503 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8504
8505 * gdb.t01/run.exp: Only run shell test if isnative.
8506
8507 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8508 since "run" automatically loads if necessary. Call gdb_target_udi
8509 after the "file" since "file" kills any execution target.
8510
8511 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8512 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8513 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8514 argument for UDI.
8515
8516Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8517
8518 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8519
8520 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8521
8522Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8523
8524 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8525 properly quoting regexps. This makes the second argument to
8526 demangle a fixed string, which matches the callers, instead of a
8527 shell-style pattern which is what the previous implementation
8528 used. Update some of the callers.
8529
8530Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8531
8532 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8533 (comib_nullified_tests): Fix typo.
8534 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8535 strings. No longer expected to fail.
8536
8537 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8538 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8539 strings. No longer expected to fail.
8540
8541 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8542 string. No longer expected to fail.
8543
8544Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8545
8546 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8547 No longer expected to fail.
8548
8549 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8550 string. No longer expected to fail.
8551
8552Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8553
8554 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8555 only in the names (I probably got most of them). I was even
8556 generous with some which differed in underscores in names, and
8557 probably missed a few, and I *still* was able to remove almost a
8558 third of the file with almost no impact on testsuite coverage.
8559
8560Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8561
8562 * gdb.t00/default.exp: Match udi_attach error message as well as
8563 the one from child_attach.
8564
8565 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8566
8567 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8568
8569 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8570 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8571
8572 * Move test with enums and partial symbols back to
8573 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8574 Reverts the change of 26 May 93. Per today's change to
8575 stabs.texinfo, the behavior that weird.exp was expecting was
8576 unreasonable; what is important is that the compiler+gdb get
8577 things right, which happens with a recent gcc. Also fix the test
8578 to deal with native compilers which put out the stab gdb can't
8579 deal with.
8580
8581Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8582
8583 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8584 in the names. The main thing these accomplish is to slow things down.
8585 Many more such duplicates surely remain.
8586
8587 * gdb.t00/help.exp: Comment out "help support" test just like
8588 (and for same reason as) "help set" test.
8589
8590Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8591
8592 * gdb.t06/break.exp: Remove setup_xfails for
8593 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8594 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8595 about known bug in gcc to include up through 2.5.8.
8596 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8597 well as "_vb$".
8598 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8599 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8600 with latest gcc and gdb.
8601 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8602 well as "_vb$".
8603
8604Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8605
8606 * configure.in (hppa*-*-*): Also configure and build stabs-only
8607 tests.
8608
8609Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8610
8611 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8612 * gdb.t10/configure.in (hppa*-*-*): Use it.
8613
8614Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8615
8616 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8617
8618Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8619
8620 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8621 versions prior to 1.13.5.
8622
8623Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8624
8625 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8626 the prompt is at the start of a line.
8627
8628Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8629
8630 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8631 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8632 in the copr tests now.
8633 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8634 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8635 expected to fail.
8636
8637Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8638
8639 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8640 gdb.t31/chillvars.exp, lib/gdb.exp:
8641 Tweak to run under either version of expect.
8642 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8643 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8644 * gdb.t11/list.exp: Remove extraneous whitespace.
8645
8646Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8647
8648 * gdb.t16/printcmds.exp (test_print_strings): Accept
8649 "(unsigned char *) " before the string.
8650
8651 * TODO: Add notes about printing of fancy types and GDB expressions.
8652
8653Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8654
8655 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8656 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8657 if doing mips-idt-ecoff.
c906108c
SS
8658
8659Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8660
8661 * Most .exp files: Tweak to run under either version of expect.
8662
8663Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8664
8665 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8666 xfails; I'm not sure why they are failing, but not because of PR 1806.
8667
8668Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8669
8670 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8671 defined in lib/gdb.exp.
8672
8673Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8674
8675 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8676 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8677 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8678 have to be typeless.
8679
8680Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8681
8682 * TODO: Add suggestion for copyright year test.
8683
8684Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8685
8686 * configure.in (*-*-lynxos*): Add stabs tests.
8687
8688Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8689
8690 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8691 so insert a tab before any assembler directive in column zero.
8692
8693 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8694 stores.
8695 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8696 stores.
8697 (fpu_short_memory_tests): Likewise.
8698
8699Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8700
8701 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8702 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8703 .stabs directives in comments.
8704
8705Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8706
8707 * TODO: New file, describing tests we could write.
8708 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8709
8710Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8711
8712 * gdb.t06/signals.exp: Add kludge to force re-sync.
8713
8714 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8715 to xgdb instead of gdb, get out of gdb.
8716
8717Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8718
8719 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8720 for info.
8721
8722Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8723
8724 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8725 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8726 * gdb.stabs/hppa.sed: New sed script for the PA.
8727
8728Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8729
8730 * gdb.stabs: Re-write weird.def and configuration to use sed
8731 instead of cpp. sed is portable and POSIX; cpp is neither.
8732
8733Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8734
8735 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8736
8737Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8738
8739 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8740
8741Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8742
8743 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8744 "_vb$".
8745 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8746 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8747
8748Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8749
8750 * lib/gdb.exp: Comment out code which depends on non-existent
8751 `transform' procedure.
8752
8753Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8754
8755 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8756 * lib/gdb.exp: Transform tool name.
8757 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8758 1.1's new error handling system.
8759
8760Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8761
8762 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8763
8764Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8765
8766 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8767 They made pattern matching so slow that timeouts happened on
8768 heavily loaded systems. Now any output from "show print" which
8769 gets us back to the GDB prompt is a PASS.
8770
8771Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8772
8773 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8774
8775Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8776
8777 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8778
8779 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8780 It is not from PR 3220.
8781
8782Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8783
8784 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8785 just started failing because they depended on the order the
8786 subcommands are presented, or exact docstring text. This kind of
8787 test is a pain and has minimal benefit.
8788
8789Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8790
8791 * gdb.t09/corefile.exp: At end of test, use "core" command with
8792 no arguments.
8793
8794Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8795
8796 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8797 17}/Makefile.in: Make it possible to run the testsuite with Sun
8798 make and CC = cross gcc by adding explicit build rules for .o
8799 files.
8800
8801Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8802
8803 * gdb.t15/funcargs.exp: Don't put comments on same line as
8804 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8805
c906108c
SS
8806Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8807
8808 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8809
8810Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8811
8812 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8813 * gdb.t20/inherit.exp: remove three dumplicate entries.
8814
8815Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8816
8817 * gdb.t06/break.exp: For "next over recursive call", fail on any
8818 incorrect output, not just on "factorial (value=2)".
8819
8820Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8821
8822 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8823 working now. Add an xfail if accesing a bss variable causes
8824 a memory error if the target is not yet run.
8825
8826Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8827
8828 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8829 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8830 name of __st* demangling (2 strings). Did Kung really get the
8831 more than 95 others right without testing them?
8832
8833Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8834
8835 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8836
8837Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8838
8839 * configure.in (configdirs): Add gdb.disasm
8840 * gdb.disasm: New directory for GDB disassembler tests.
8841 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8842
8843Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8844
8845 * gdb.t00/help.exp: Don't test "help set".
8846
8847 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8848 from within expect statements. None of these happen anymore and
8849 they cause regressions to be silently unnoticed.
8850
8851 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8852 messages) about known failures with gcc cygnus-2.4.5-930417.
8853
8854 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8855 comp-info.exp so it gets built if it doesn't exist.
8856
8857 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8858 it is no longer used.
8859 * gdb.t13/comp-info.c: Removed.
8860
8861Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8862
8863 * gdb.t06/signals.exp: Add xfail for sun3.
8864
8865Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8866
8867 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8868 relevant because ^C doesn't get sent but failure can be reproduced
8869 interactively).
8870
8871Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8872
8873 * gdb.stabs/alpha.mt: New configuration file for alpha.
8874 * gdb.stabs/configure.in: Use it.
8875 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8876 sharing with alpha.mt, redefine long to word via preprocessor.
8877 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8878 for alpha.
8879 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8880 native cc.
8881 * gdb.t00/teststrategy.exp: Change expect string so that we
8882 consume the `(xgdb)' from the command echo and from the gdb prompt.
8883 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8884 gdb currently compares all values as long, so this failure probably
8885 applies to any configuration where LONGEST is bigger than a target int.
8886 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8887 with gcc.
8888 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8889 to handle opaque pointers, gcc is.
8890 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8891 as first argument. Include <sys/types.h> and change all operator
8892 new definitions to use size_t.
8893 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8894 now that we use size_t.
8895
8896Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8897
8898 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8899 a long or float array cast all array members to the same type.
8900 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8901 with 64 bit longs.
8902 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8903 on alpha.
8904 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8905
8906Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8907
8908 * gdb.t24 (demangle.exp): Constructors of templates have names like
8909 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8910 section 14.6 of the ARM.
8911
8912 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8913 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8914 accomplish little and slow down the testsuite.
8915
8916 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8917 Accept spaces various places.
8918
8919Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8920
8921 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8922 with watchpoint enabled.
8923
8924 * Makefile.in: Remove definition of CC and remove the second
8925 definition of CXX (the "CXX = gcc" one remains). These definitions
8926 were causing backquotes to be expanded within backquotes, which
8927 doesn't work.
8928
8929Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8930
8931 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8932
8933Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8934
8935 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8936 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8937 by mips cc and contains no stabs entries.
8938
8939Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8940
8941 * config/vx-gdb.exp: Use fake device to load files rather than
8942 NFS.
8943 * lib/gdb.exp: New proc to do "file" command.
8944 * config/unix-gdb.exp: Use new "file" proc.
8945
8946Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8947
8948 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8949 Rework board rebooting slightly.
8950 (gdb_exit): Don't exit from the remote shell; there isn't one.
8951 * gdb.stabs/weird.exp: If a program is being debugged already,
8952 kill it.
8953 * gdb.t04/setvar.exp: Stop and restart gdb.
8954 * gdb.t05/expr.exp: Likewise.
8955 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8956 restart gdb and reload the program.
8957 * gdb.t08/opaque.exp: Likewise.
8958 * gdb.t12/scope.exp: Likewise.
8959 * gdb.t13/bitfields.exp: Likewise.
8960 * gdb.t15/funcargs.exp: Likewise.
8961 * gdb.t20/classes.exp: Likewise.
8962 * gdb.t03/ptype.exp: Increase timeout.
8963 * gdb.t16/printcmds.exp (test_print_string_constants,
8964 test_print_array_constants): Likewise.
8965 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8966 * gdb.t20/classes.exp (do_tests): Likewise.
8967 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8968
8969Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8970
8971 * gdb.stabs: Renamed *wierd* to *weird*.
8972
8973Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8974
8975 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8976 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8977
8978Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8979
8980 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8981 (do_tests): Remove xfail for whatis on one_var and two_var.
8982
8983Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8984
8985 * Makefile.in: Made cross building work better by adding
8986 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8987
8988Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8989
8990 * gdb.t15/{return.c,return.exp,Makefile.in}:
8991 New test, currently commented out.
8992
8993Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8994
8995 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8996 still running and removes the leftover named socket so GDb can do
8997 clean restarts.
8998
8999Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9000
9001 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9002 console, not GDB.
9003 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9004 cross testing works better with "make check"
9005 * config/unix-gdb: Use default procedures for exit and version.
9006 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9007 with the newest VxWorks.
9008
9009Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9010
9011 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9012 old form.
9013
9014 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9015 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9016
9017 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9018
9019 * config/unix-gdb.exp: Remove this version of gdb_exit
9020 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9021 Rob says he'll look at it when he gets back to testing boards.
9022
9023Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9024
9025 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9026 an expected fail for certain ptype commands.
9027
9028 * gdb.t20/classes.exp: Update expected results of "ptype class
9029 Base1" to account for the constructor that now appears in the type.
9030
9031Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9032
9033 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9034 disappeared from list.
9035 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9036 "alldone" proc with call to cleanup and exit.
9037 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9038 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9039 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9040 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9041 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9042 "alldone" proc with simple returns that suppress remaining
9043 tests. The alldone proc went away many months ago.
9044
9045Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9046
9047 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9048
9049 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9050
9051Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9052
9053 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9054 as vax gdb will display them.
9055
9056Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9057
9058 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9059 optimizers.
9060
9061 * scope.exp: Change "bad value for localval" messages so each one
9062 is unique.
9063
9064 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9065 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9066
9067 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9068
9069Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9070
9071 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9072 doesn't exist (due to optimization).
9073
9074Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9075
9076 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9077 contains \r because the filename is long.
9078
9079 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9080 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9081
9082Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9083
9084 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9085 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9086 Ultrix.
9087 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9088 int tests.
9089 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9090
9091Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9092
9093 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9094
9095 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9096 to match does not match the passing case but still matches the
c906108c
SS
9097 failing case.
9098
9099Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9100
9101 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9102
9103Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9104
9105 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9106 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9107 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9108 Remove various versions of gdb_exit.
9109 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9110 gdb_exit.
9111 * config/unix-gdb.exp: gdb_exit remains here, and should override
9112 the generic version, since it's doing a lot of wierd stuff that
9113 the other versions aren't. FIXME, fold it in, or abandon this
9114 version.
9115
9116Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9117
9118 * gdb.t24/demangle.exp: Add tests for PR 3220.
9119
9120Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9121
9122 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9123
9124Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9125
9126 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9127 "i386-*-*". Works for i486 as well.
9128
9129 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9130 bug, and expand domain of xfail to all SVR4 systems, since the
9131 actual problem is likely to be in generic SVR4 /proc support.
9132
9133Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9134
9135 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9136
9137Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9138
9139 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9140 xfails for other systems. Match a missing 'Continuing.' as an
9141 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9142
9143 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9144 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9145 Only issue warning for missing executables if -all option is used.
9146
9147 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9148 file if -all option is used. It's like an unpredictable XFAIL.
9149
9150Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9151
9152 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9153 for dynamically linked binaries.
9154
9155 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9156
9157Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9158
9159 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9160 to state that this is a known bug in old versions of g++.
9161
9162Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9163
9164 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9165 while waiting for `Continuing'.
9166
9167Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9168
9169 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9170 in text, data, and bss.
9171 * gdb.t10/nodebug.c: Add local and global test variables for
9172 initialized and uninitialized data.
9173
9174Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9175
9176 * config/unix-gdb.exp (gdb_exit): Add "wait".
9177
9178Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9179
9180 * gdb.t06/signals.exp: xfail the continue from the handler for all
9181 targets.
9182
9183 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9184 function with watchpoints enabled, the i386 call dummy starts with
9185 a call.
9186
9187 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9188 386 bsd names its corefiles.
9189
9190Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9191
9192 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9193 compilers don't grok it.
9194 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9195 with small octal ints rather than character constants, which
9196 are signed and might not fit if first promoted to int.
9197
9198Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9199
9200 * gdb.t09/Makefile.in (clean): Remove corefile.
9201
9202Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9203
9204 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9205
9206Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9207 and Jim Kingdon (kingdon@cygnus.com)
9208
9209 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9210 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9211 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9212
9213Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9214
9215 * gdb.t17/interrupt.exp: Add xfail for hppa.
9216
9217Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9218
9219 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9220 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9221 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9222 to determine signed-ness of bitfields and use the result to setup
9223 the xfail.
9224 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9225 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9226 call line is reached if necessary.
9227
9228Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9229
9230 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9231
9232Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9233
9234 * gdb.t06/break.exp: Also test `clear' command.
9235
9236Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9237
9238 * gdb.t00/teststrategy.exp: Remove extra quote.
9239
9240 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9241 watchpoint enabled to be for all non-68k machines.
9242
9243 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9244
9245Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9246
9247 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9248 targets use aout.mt instead of ecoff.mt as gas understands
9249 standard aout format.
9250
9251Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9252
9253 * lib/gdb.exp (runto): Don't insist that function we are running to
9254 was compiled with -g.
9255
9256 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9257
9258 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9259 to get back into the read system call.
9260 Accept leading newline in case where we woke it up.
9261
9262Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9263
9264 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9265 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9266 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9267 enable ecoff configuration.
9268
9269Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9270
9271 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9272
9273Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9274
9275 * gdb.t16/printcmds.exp: Add another printf test.
9276
9277Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9278
9279 * configure.in: If configured -with-stabs on any target, add
9280 stabsdirs to configdirs.
9281
9282Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9283
9284 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9285 fun" so pattern does not match the command itself.
9286
9287Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9288
9289 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9290
9291Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9292
9293 * gdb.t17/interrupt.exp: Test for more things.
9294
9295Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9296
9297 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9298 compiler arranges the code and line numbers.
9299
9300 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9301
9302Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9303
9304 * gdb.t00/help.exp: Increase expect input buffer size.
9305
9306Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9307
9308 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9309
9310 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9311
9312 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9313
9314 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9315 [0-9]*, not just [0-9].
9316
9317Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9318
9319 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9320
9321 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9322
9323Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9324
9325 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9326
9327Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9328
9329 * gdb.t06/signals.c: Add xfails for sun3.
9330
9331 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9332
9333 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9334 test_stepping tests.
9335
9336Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9337
9338 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9339
9340 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9341
9342 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9343 rather than actually putting it through cpp twice.
9344
9345 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9346
9347Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9348
9349 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9350 no longer needed.
9351
9352Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9353
9354 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9355
9356 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9357 C++ features prints as "struct", make it a pass, not an xfail.
9358
9359Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9360
9361 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9362 Don't require VA to print as "class" rather than "struct".
9363
9364Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9365
9366 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9367
9368Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9369
9370 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9371
9372Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9373
9374 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9375 order.
9376
9377Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9378
9379 * gdb.t16/printcmds.exp: Add printf tests.
9380
9381 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9382
9383 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9384
9385Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9386
9387 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9388 pass counts, to counteract any existing or future setup_xfails.
9389
9390Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9391
9392 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9393 {BEGIN,END}_COMMON for common block instead of STAB.
9394 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9395
9396 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9397 intp_var should be N_GSYM not N_LSYM.
9398 wierd-aout.S: Use a label for the value of the N_SO.
9399 wierd.def: Remove all backslashes.
9400 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9401
9402Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9403
9404 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9405 get the expected next to inheritance3.
9406
9407Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9408
9409 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9410 now that gcc-2.4 gets it right.
9411
9412Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9413
9414 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9415
9416 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9417 generating comp-info.exp which works for cross-compilation.
9418
9419Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9420
9421 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9422 "*-*-sysv4.*".
9423
9424Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9425
9426 * gdb.t01/run.exp: Start with a fresh gdb.
9427 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9428 SVR4.x.
9429
9430Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9431
9432 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9433 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9434 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9435 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9436 things to remove.
9437
9438Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9439
9440 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9441 test cases from bug reports.
9442
9443Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9444
9445 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9446 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9447 avoid spurious xfails.
9448 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9449 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9450 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9451
9452Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9453
9454 * gdb.t00/teststrategy.exp: Rework to provide more useful
9455 description of each test, fix problem with systems that define
9456 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9457 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9458 results for "next over recursive call" so timeouts aren't taken
9459 by error.
9460
9461Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9462
9463 * gdb.t12/scope.exp: Test printing of variables before run.
9464
9465 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9466 printed in wrong order due to sorting.
9467
9468Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9469
9470 * gdb.t00/teststrategy.exp: Fix expected results for printing
9471 user entered string constant. Is array of char, prints with no
9472 address.
9473
9474 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9475 commands.
9476 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9477 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9478 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9479 of struct of char arrays.
9480 * gdb.t00/radix.exp: New tests for radix commands.
9481
9482Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9483
9484 * gdb.t16/printcmd.exp: Print a variable before running program
9485 (with xfail for AIX).
9486
9487Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9488
9489 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9490
9491 * gdb.t16/printcmd.exp: Don't print variables before running program.
9492
9493 * gdb.t06/break.exp: Don't require envp argument to main.
9494
9495 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9496
9497 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9498 Add xfails for rs6000.
9499
9500 * gdb.t02/whatis.exp: Change other tests not to re-test something
9501 we already tested.
9502
9503 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9504 each type used has a variable of that type.
9505
9506Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9507
9508 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9509
9510Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9511
9512 * configure.in: change srctrigger to be a file, not a directory
9513
9514Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9515
9516 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9517
9518 * gdb.t11/list.exp: Fixed a couple of typos.
9519
9520Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9521
9522 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9523 is fixed and PR is closed.
9524 * gdb.t16 (gdbme.c): Add simple test string variable.
9525 * gdb.t16 (printcmds.exp): Add tests with simple test string
9526 variable, primarily for boundaries on "set print elements".
9527
9528Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9529
9530 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9531 Make leading 0's optional and don't expect a tab in the middle
9532 of the number.
9533
9534 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9535
9536 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9537 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9538 don't end command passed to gdb_test with newline.
9539
9540 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9541 signed keyword away, don't expect signed bitfields to be signed.
9542
9543 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9544 printing with only as many 1's as are in the field as well as printing
9545 with 32 1's (see comment).
9546
9547Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9548
9549 * gdb.t00/default.exp: Start with a fresh gdb.
9550 * configure.in (configdirs): Remove gdb.t31 until the chill
9551 compiler works again. It no longer is able to find chillrt0
9552 since it isn't in libchill.a anymore.
9553 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9554 wierd.o, make more modular.
9555 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9556 spurious newlines that caused problems.
9557
9558Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9559
9560 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9561 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9562 gdb.stabs/wierd.{exp,def}: Many new tests.
9563
9564 * gdb.t00/default.exp: update info line for new message.
9565
9566 * gdb.t02/{whatis.exp,gdbme.c}:
9567 Test that "char *" doesn't print as "caddr_t".
9568
9569Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9570
9571 * gdb.t00/help.exp: Use .* in place of some help messages which
9572 just changed.
9573 gdb.t00/default.exp: Update "info frame" test for new message.
9574 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9575 Remove some xfails
9576
9577Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9578
9579 * gdb.t03/{gdbme.c,ptype.exp}:
9580 Add tests for typedef'd struct and union without tags.
9581 Also check "whatis" on a variable of a typedef'd enum without a tag.
9582
9583 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9584 PRMS 1823; the bug still exists but isn't reproduced by this test
9585 anymore), and remove rs6000 XFAIL (the bug is fixed).
9586
9587 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9588 duplicated from whatis.exp. For those that are left, accept
9589 "long", "long int", or "int" for long variables (whatis.exp already
9590 has an XFAIL for "int", so no need to fail it here).
9591
9592 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9593 Deal with GCC's names for types now that GDB uses the compiler's names.
9594
9595 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9596 setup_xfail's for sunos4. If we #defined the signed keyword away,
9597 don't expect GDB to know that char it is signed.
9598
9599 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9600
9601Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9602
9603 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9604 should work on any system, regardless of debugging format.
9605 * gdb.t21/demangle.exp: Move to gdb.t24.
9606 * gdb.t24/demangle.exp: Move from gdb.t21.
9607 * gdb.t24/{Makefile.in, configure.in}: New files.
9608
9609Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9610
9611 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9612 * gdb.stabs: New directory.
9613
9614Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9615
9616 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9617 not just "Quit anyway?".
9618
9619Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9620
9621 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9622 that all setup_xfails are immediately followed by clear_xfails.
9623
9624Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9625
9626 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9627 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9628 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9629 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9630 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9631 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9632 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9633 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9634 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9635 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9636 gdb.t31/chillvars.exp, lib/gdb.exp:
9637 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9638 bug-gdb@prep.ai.mit.edu.
9639
9640Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9641
9642 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9643 with 0.0, not integer 0.
9644
9645Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9646
9647 * gdb.t06/break.exp: Update for "Kill the program" message change.
9648
9649Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9650
9651 * Makefile.in (GDBFLAGS): Set to -nx.
9652 * Makefile.in (site.exp): Use GDBFLAGS.
9653
9654Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9655
9656 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9657 Makefiles.
9658 (check): depend on just-check.
9659 (just-check): added so that tests can be run without a noop
9660 build pass.
9661
9662Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9663
9664 Switch to using configure's configdirs.
9665 * Makefile.in (Makefile): add configure.in dependency.
9666 (SUBDIRS): removed redundant assignment.
9667 * configure.in: switch subdirs assignment to configdirs.
9668 * gdb.t*/configure.in: new files.
9669
9670Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9671
9672 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9673 works.
9674
9675Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9676
9677 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9678 in explicit rules. Apparently this is not supported by some makes.
9679
9680Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9681
9682 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9683
9684Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9685
9686 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9687 disappeared.
9688
9689Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9690
9691 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9692
9693Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9694
9695 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9696 watchpoint problem that is now fixed.
9697 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9698 uninitialized convenience variables.
9699 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9700 structures.
9701
9702Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9703
9704 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9705 which causes expect to get out of sync with gdb on long output
9706 from help set.
9707 * gdb.t09/corefile.exp: Make expected pattern for core file
9708 failing signal and frame output format less sun specific.
9709
9710Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9711
9712 * gdb.t31/chillvars.exp: Add and remove initial dummy
9713 breakpoint, so that symbol table is forced in.
9714 (Needed at least on Sunos4, though it seems not SVR4.)
9715 * gdb.t31/chillvars.exp: Update for changed output format.
9716
9717Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9718
9719 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9720
9721Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9722
9723 * Makefile.in: Added --srcdir when invoking runtest, removed the
9724 need for a local config file. (optional now)
9725
9726Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9727
9728 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9729 failure count used to force early termination. Add some more
9730 expected failures for gnu style demangling.
9731
9732Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9733
9734 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9735 pmi variable from gdb.t20/gdbme to get optimized away.
9736 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9737 Check for written corefile upon timeout _and_ eof.
9738
9739Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9740
9741 * config/unix-gdb.exp: Add missing return 0.
9742
9743Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9744
9745 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9746 test termination.
9747
9748Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9749
9750 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9751 disappeared.
9752
9753Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9754
9755 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9756 time as i860 support works.
9757
beb998c6 9758 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9759 "backtrace 100\r" rather than just "backtrace\r", to match last
9760 change.
9761
9762Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9763
9764 * config/udi-gdb.exp (gdb_exit): Remove close command.
9765 (gdb_target_udi): New procedure to set the UDI target.
9766 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9767 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9768 Added waits for prompts after several question responses. Added
9769 some more responses used by a29k-amd-udi-gdb.
9770 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9771 pass different arguments, restart UDI connection after program
9772 completion.
9773 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9774 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9775 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9776 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9777 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9778 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9779 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9780 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9781 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9782 after program completion.
9783 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9784 compiled with a SELECT_VECS setting.
9785 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9786 infinite recursion.
9787
9788 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9789 Added checks for COFF results, and made them expected failures for
9790 all targets. It would be better to make them expected failures
9791 for COFF targets only.
9792
9793Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9794
9795 * Makefile.in: add null dvi target, don't bother to recurse
9796 through test directories for info and install-info; rename
9797 $(datadir) to be dejagnu instead of deja-gnu
9798
9799Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9800
9801 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9802 compiler to coredump.
9803 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9804 code.
9805
9806Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9807
9808 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9809 coredump.
9810 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9811 code.
9812
9813Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9814
9815 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9816 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9817 which in a shell. Deletes xgdb when done.
9818 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9819 Tests the return from the "set height" or "set width" commands.
9820 Added a few return codes where needed.
9821
9822Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9823
9824 * Makefile.in (SUBDIRS): Add gdb.t17.
9825 * configure.in (subdirs): Add gdb.t17.
9826 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9827 files to test gdb's calling of functions in the inferior with
9828 the correct arguments and gdb's ability to retrieve any
9829 result returned.
9830
9831Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9832
9833 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9834 may be called after gdb goes away. Previous versions of expect
9835 needed these to avoid file descriptor leaks, but they cause
9836 errors with the current revision of expect.
9837 * gdb.t00/gdbvars.exp: Use -re on expected output after
9838 setting sevenbit-strings.
9839 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9840 to set sevenbit-strings consistent across tests.
9841 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9842 set sevenbit-strings consistent across tests.
9843
9844Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9845
9846 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9847 expected output to match current "expect" expectations.
9848
9849Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9850
9851 * gdb.t00/default.exp: Change expected output for default "source"
9852 command, to match new gdb behavior which requires a filename to
9853 source.
9854
9855Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9856
9857 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9858 expected fail for i486-*-* that misses the marker2 function.
9859 * gdb.t10/crossload.exp (bfddefault): Allow successful
9860 recognition of a format to pass even if no symbols are found.
9861 Explicitly catch failures where the format is not recognized
9862 or is ambiguous, and add the reason to the fail message.
9863 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9864 the cause is and invalid target and add reason to failure message.
9865 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9866 elf32-i386, elf32-sparc, and elf32-i860.
9867 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9868 Set up expected failure for 'filename'::variable scope resolution,
9869 which is now apparently broken on all targets.
9870 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9871 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9872 gdb.t23/templates.exp: Change failure for missing binfile into
9873 just a warning.
9874 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9875 references.
9876
9877Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9878
9879 * gdb.t00/default.exp: Add expected output for default "source"
9880 command, to match new gdb behavior.
9881 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9882
9883Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9884
9885 * config/*-gdb.exp: returns an error, rather than exiting on
9886 internal errors.
9887
9888Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9889
9890 * gdb.t03/gdbme.c: Add pointer to struct variable.
9891 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9892 referencing struct members.
9893
9894Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9895
9896 * configure.in (mips-idt-ecoff): New target.
9897 * config/mips-gdb.exp: New file for remote board using MIPS remote
9898 debugging protocol.
9899
9900 * Redid configuration scheme. Removed gdb.t*/configure.in.
9901 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9902 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9903 distclean targets. Built executables via .o files. Adjusted
9904 tests to account for source files in $(srcdir) rather than
9905 $(objdir).
9906 * lib/gdb.exp (runto): Don't expect () after the function name,
9907 because it may have arguments.
9908
9909Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9910
9911 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9912 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9913 expected failures for mips-idt-* and mips-sgi-*.
9914 * gdb.t00/default.exp (attach): Kill process if requested.
9915 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9916 that does not read core files.
9917 * gdb.t01/run.exp: Removed checks for exit status code.
9918 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9919 it is linked in.
9920 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9921 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9922 appropriate, rather than doing it by hand.
9923 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9924 execution.
9925 * gdb.t10/crossload.exp: Kill existing program if needed.
9926 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9927 appropriate, rather than doing it by hand. Always increase
9928 timeout for this test, not just for VxWorks.
9929
9930Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9931
9932 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9933 of Chill STRUCT types and STRUCT values.
9934 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9935 than "char".
9936 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9937 struct2): New struct definitions and initializations to test
c906108c
SS
9938 simple Chill STRUCT types.
9939
9940Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9941
9942 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9943 the null byte at the end of strings.
9944 * gdb.t00/default.exp: Make show version insensitive to copyright
9945 date.
9946 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9947 to avoid dependencies on target char signedness.
9948 * gdb.t16/printcmds.exp: Update expected results for explicitly
9949 unsigned char.
9950 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9951 now work.
9952 * gdb.t21/demangle.exp: Add many more patterns for template
9953 demangling, most of them being expected failures.
9954 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9955 string we are matching for, to match on the whole string.
9956 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9957 and fix a whole bunch that had incorrect expected output but were
9958 passing anyway because of the bug in "proc demangle".
9959 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9960 type.
9961 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9962
9963Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9964
9965 * gdb/testsuite: made modifications to testcases, etc., to allow
9966 them to work properly given the reorganization of deja-gnu and the
9967 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9968
9969Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9970
9971 * gdb/testsuite: Initial creation of gdb/testsuite.
9972 Migrated dejagnu testcases and support files for testing nm to
9973 gdb/testsuite from deja-gnu. These files were moved "as is"
9974 with no modifications. This migration is part of a major overhaul
9975 of dejagnu. The modifications to these testcases, etc., which
9976 will allow them to work with the new version of dejagnu will be
9977 made in a future update.
9978\f
9979Local Variables:
9980mode: indented-text
9981left-margin: 8
9982fill-column: 74
9983version-control: never
9984End:
This page took 0.747173 seconds and 4 git commands to generate.