]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2003-03-03 David Carlton <carlton@math.stanford.edu>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
85ca1584
DC
12003-03-03 David Carlton <carlton@math.stanford.edu>
2
3 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
4 respect to PR c++/33 into FAILs.
5
98e9c5b8
MC
62003-03-03 Michael Chastain <mec@shout.net>
7
7bedbf27
MC
8 * configure.in: Update copyright years.
9
102003-03-03 Michael Chastain <mec@shout.net>
11
12 * Makefile.in: Update copyright years.
98e9c5b8 13
f683e100
DC
142003-02-28 David Carlton <carlton@math.stanford.edu>
15
16 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17 print class instead of struct and/or superfluous protection
18 specifiers, as long as the resulting output is equivalent to the
19 source code.
20 Delete FIXME from end of messages on tests that don't need
21 fixing.
22
a9e0cf2c
DC
232003-02-28 David Carlton <carlton@math.stanford.edu>
24
25 * gdb.c++/templates.exp (do_tests): Allow const in the two
26 Foo<volatile char *>::foo tests.
27
e8d359df
MS
282003-02-27 Michael Snyder <msnyder@redhat.com>
29
30 * gdb.base/restore.c (main): Return zero, so exit code
31 will be consistant.
32
0b71dc91
DC
332003-02-26 David Carlton <carlton@math.stanford.edu>
34
35 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
36 char *>::foo" test with respect to PR c++/33. Create a new test
37 which is identical to that one except that it doesn't put the
38 space between the "char" and the "*"; KFAIL it, too.
39
dd14ab43
DC
402003-02-26 David Carlton <carlton@math.stanford.edu>
41
42 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
43 template types into either PASSes or KFAILs (corresponding to PR
44 c++/57). Tweak indentation. Update copyright.
45
1146c7f1
SC
462003-02-23 Stephane Carrez <stcarrez@nerim.fr>
47
48 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
49
74641dfb
MC
502003-02-13 Michael Chastain <mec@shout.net>
51
52 * gdb.base/exprs.exp: Remove i960 remnants.
53 * gdb.base/funcargs.exp: Likewise.
54 * gdb.base/list.exp: Likewise.
55 * gdb.base/ptype.exp: Likewise.
56
559cd2d0
DC
572003-02-14 David Carlton <carlton@math.stanford.edu>
58
59 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
60 pEe->D::vg()" from XFAIL to KFAIL.
61
c4f90d87
JM
622003-02-13 Jason Molenda (jmolenda@apple.com)
63
64 * gdb.base/maint.exp: Update maint print statistics regexp to include
65 new entries.
66
cbc4d97c
MC
672003-02-13 Michael Chastain <mec@shout.net>
68
69 * gdb.c++/inherit.exp: Remove call to get_debug_format.
70
40f235b7
MC
712003-02-12 Michael Chastain <mec@shout.net>
72
73 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
74 * gdb.c++/inherit.exp: Likewise.
75 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
76 * gdb.c++/templates.exp: Likewise.
77 * gdb.c++/virtfunc.exp: Likewise.
78
c56716b0
JM
792003-02-06 Jason Molenda (jason-cl@molenda.com)
80
81 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
82 why the code is written that way.
83
070afcf8
MC
842003-02-05 Michael Chastain <mec@shout.net>
85
86 * gdb.base/dump.exp: Add missing copyright line.
87
5d0331e5
JM
882003-02-05 Jason Molenda (jason-cl@molenda.com)
89
f7ae6d3e 90 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
91 at the beginning so the breakpoint doesn't get set on the loop.
92
92851186
MC
932003-02-05 Michael Chastain <mec@shout.net>
94
95 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
96 output for configurations with gcc 2.95.3.
97
cbf1e085
AC
982003-02-05 Keith Seitz <keiths@redhat.com>
99 Andrew Cagney <ac131313@redhat.com>
100
101 * gdb.mi/mi-cli.exp: New file.
102
29518e1e
MC
1032003-02-04 Michael Chastain <mec@shout.net>
104
105 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
106 Call perror and then continue.
107
5af1d5f3
MC
1082003-02-03 Michael Chastain <mec@shout.net>
109
110 * gdb.c++/pr-1023.cc: New file.
111 * gdb.c++/pr-1023.exp: New file.
112
6b549786
JB
1132003-02-05 Jim Blandy <jimb@redhat.com>
114
115 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
116 it's local to foobar. Check for it there, and check that it's not
117 present in main.
118 * gdb.c++/local.cc (marker2): New function.
119 (foobar): Call marker1.
120 (main): Call marker2 instead of marker1.
121
67f16606
AC
1222003-02-04 Andrew Cagney <ac131313@redhat.com>
123
124 * gdb.disasm/mn10200.exp: Obsolete file.
125 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
126 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
127 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
128
1c5cb38e
DC
1292003-02-04 David Carlton <carlton@math.stanford.edu>
130
131 * gdb.c++/overload.exp: Test intToChar(1).
132 * gdb.c++/overload.cc (intToChar): New.
133 (main): Call intToChar.
134
d1fe6965
DC
1352003-02-03 David Carlton <carlton@math.stanford.edu>
136
137 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
138 'might_kfail' arg.
139 KFAIL some of the continue_to_bp_overloaded calls, according to
140 PR c++/1025.
141
9ba61c5d
MC
1422003-02-01 Michael Chastain <mec@shout.net>
143
144 * gdb.base/advance.c (marker1): New marker function.
145 * gdb.base/advance.exp: When the 'advance' command lands on the
146 return breakpoint, it can legitimately stop on either the
147 current line or the next line. Accommodate both outcomes.
148 * gdb.base/until.exp: Likewise.
149
e7494ffb
AC
1502003-02-02 Andrew Cagney <ac131313@redhat.com>
151
152 2002-11-10 Jason Molenda (jason-cl@molenda.com):
153 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
154 now a list, not a tuple.
155 * gdb.mi/mi-var-display.exp: Ditto.
156 * gdb.mi/gdb792.exp: Ditto.
157
075559bc
AC
1582003-02-01 Andrew Cagney <ac131313@redhat.com>
159
160 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
161 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
162 stack backtraces.
163 * gdb.mi/mi-syn-frame.c: Part of same.
164
2bd4c7b1
MK
1652003-02-01 Mark Kettenis <kettenis@gnu.org>
166
167 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
168 gdb.mi/mi1-pthreads.exp: Return instead of calling
169 gdb_suppress_entire_file.
170
eabd8992
MS
1712003-02-01 Mark Salter <msalter@redhat.com>
172
173 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
174
71469e2f
MS
1752003-01-31 Mark Salter <msalter@redhat.com>
176
177 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
178 Support empty arg.
179
38a94d44
MC
1802003-01-30 Michael Chastain <mec@shout.net>
181
182 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
183 This was a workaround for a UTF-8 bug in readline 4.3. The bug
184 has been fixed in gdb/readline on 2003-01-09.
185
19ea9e73
MS
1862003-01-29 Michael Snyder <msnyder@redhat.com>
187
e8d359df
MS
188 * gdb.base/maint.exp: Allow for leading underscore in symbol.
189 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
190 * gdb.base/args.exp: Skip if target does not support args passing.
191
2307bd6a
DJ
1922003-01-22 Daniel Jacobowitz <drow@mvista.com>
193
19ea9e73 194 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
195 gdb_test. Accept a list of expect arguments as the third
196 parameter.
197 (gdb_test): Use it.
198
f2dd3617
EZ
1992003-01-20 Elena Zannoni <ezannoni@redhat.com>
200
201 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
202 allow for different test tree configurations. Update some
203 tescases accordingly.
204 * gdb.arch/altivec-regs.exp: Ditto.
205 * gdb.asm/asm-source.exp: Ditto.
206 * gdb.base/advance.exp: Ditto.
207 * gdb.base/display.exp: Ditto.
208 * gdb.base/long_long.exp: Ditto.
209 * gdb.base/mips_pro.exp: Ditto.
210 * gdb.base/overlays.exp: Ditto.
211 * gdb.base/relocate.exp: Ditto.
212 * gdb.base/setshow.exp: Ditto.
213 * gdb.base/step-line.exp: Ditto.
214 * gdb.base/step-test.exp: Ditto.
215 * gdb.base/until.exp: Ditto.
216 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
217
c71cdefd
DC
2182003-01-17 David Carlton <carlton@math.stanford.edu>
219
220 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
221 corresponding to PR c++/945.
222 Update copyright.
223
fdba05d7
DC
2242003-01-17 David Carlton <carlton@math.stanford.edu>
225
226 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
227 corresponding to PR c++/68.
228
2292003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
230
231 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
232 (test_paddr_hairy_functions): Call print_addr_2_kfail for
233 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
234
c362c33a
EZ
2352003-01-15 Elena Zannoni <ezannoni@redhat.com>
236
0fbc361c
EZ
237 * gdb.base/break.exp: Fix change of default location, because of
238 removal of until tests.
239 * gdb.base/help.exp: Update test for new 'until' help message.
240 Add test for help on 'advance'.
c362c33a
EZ
241 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
242
dabf8a35
MK
2432003-01-15 Mark Kettenis <kettenis@gnu.org>
244
245 * gdb.base/default.exp: Adapt "info float" test for recent changes
246 to that command. Add test for "info vector".
247 * gdb.base/float.exp: New file. Add test for "info float" that
248 resembles the old test in gdb.base/default.exp.
249
a1769aca
DC
2502003-01-15 David Carlton <carlton@math.stanford.edu>
251
252 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
253
82025e13
EZ
2542003-01-15 Elena Zannoni <ezannoni@redhat.com>
255
256 * gdb.base/break.exp: Move the tests of until command from here...
257 * gdb.base/until.exp: ... to here. New file. Add other tests.
258 * gdb.base/advance.c: New file.
259 * gdb.base/advance.exp: New file.
260
8f9ab801
EZ
2612003-01-14 Elena Zannoni <ezannoni@redhat.com>
262
263 * gdb.base/args.c: New file.
264 * gdb.base/args.exp: New file.
265
9ae66589
DJ
2662003-01-14 Daniel Jacobowitz <drow@mvista.com>
267
268 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
269
8d77e5c3
DJ
2702003-01-14 Daniel Jacobowitz <drow@mvista.com>
271
272 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
273
12d2f0a1
DJ
2742003-01-14 Daniel Jacobowitz <drow@mvista.com>
275
276 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
277 dates.
278
6ca37014
DJ
2792003-01-13 Daniel Jacobowitz <drow@mvista.com>
280
281 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
282
b0023472
DJ
2832003-01-13 Daniel Jacobowitz <drow@mvista.com>
284
285 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
286 (ptype &*"foo").
287 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
288
d6abaea5
DJ
2892002-01-13 Daniel Jacobowitz <drow@mvista.com>
290
291 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
292 * gdb.mi/mi1-console.exp: Likewise.
293
dfd536a7
DJ
2942002-01-13 Daniel Jacobowitz <drow@mvista.com>
295
296 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
297 * gdb.mi/mi1-console.exp: Likewise.
298
a1fb14a2
DJ
2992003-01-13 Daniel Jacobowitz <drow@mvista.com>
300
301 * gdb.c++/overload.exp: Remove some fixed XFAILs.
302
c4cf40b7
DJ
3032003-01-09 Daniel Jacobowitz <drow@mvista.com>
304
305 * gdb.base/detach.exp: New test.
306
696d5a5b
DJ
3072003-01-09 Daniel Jacobowitz <drow@mvista.com>
308
309 * Makefile.in (ALL_SUBDIRS): New variable.
310 (subdirs, clean, distclean): Use it.
311 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
312 regenerating Makefile, since it is generated from the top level.
313 * gdb.asm/Makefile.in: Likewise.
314 * gdb.base/Makefile.in: Likewise.
315 * gdb.c++/Makefile.in: Likewise.
316 * gdb.disasm/Makefile.in: Likewise.
317 * gdb.java/Makefile.in: Likewise.
318 * gdb.mi/Makefile.in: Likewise.
319 * gdb.threads/Makefile.in: Likewise.
320 * gdb.trace/Makefile.in: Likewise.
321
754533e4
DC
3222003-01-09 David Carlton <carlton@math.stanford.edu>
323
324 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
325 Add copyright year 2003.
326
d8b3e9ee
MC
3272003-01-06 Michael Chastain <mec@shout.net>
328
329 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
330 When selecting a thread, 'line' and 'file' are optional.
331 * gdb.mi/mi1-pthreads.exp: Likewise.
332
8e9e0fe6
AS
3332003-01-06 Andreas Schwab <schwab@suse.de>
334
335 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
336 failures.
337
b5ab8ff3
DJ
3382003-01-04 Daniel Jacobowitz <drow@mvista.com>
339
340 Fix PR gdb/844
341 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
342 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
343
344 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
345 instead of calling gdb_suppress_entire_file.
346 * gdb.threads/print-threads.exp: Likewise.
347 * gdb.threads/schedlock.exp: Likewise.
348
349 * gdb.threads/killed.exp: Return instead of calling
350 gdb_suppress_entire_file.
351 * gdb.threads/linux-dp.exp: Likewise.
352 * gdb.threads/pthreads.exp: Likewise.
353
1e698235
DJ
3542003-01-04 Daniel Jacobowitz <drow@mvista.com>
355
356 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
357 stabs.
358 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
359 * gdb.base/whatis.exp: Always allow (void) after function names.
360
147ff08c
DJ
3612003-01-04 Daniel Jacobowitz <drow@mvista.com>
362
363 * gdb.c++/casts.exp: Correct regexp.
364
dc62bfc2
MK
3652003-01-04 Mark Kettenis <kettenis@gnu.org>
366
367 * configure.in: Call AC_CONFIG_HEADER. Don't call
368 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
369 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
370 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
371 aforementioned directories in the AC_OUPUT call.
372 * config.hin: New file.
373 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
374 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
375 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
376 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
377 pass -I$objdir instead of -I$objdir/$subdir in compilation.
378 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
379 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
380 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
381 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
382 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
383 gdb.threads/configure.in, gdb.threads/configure,
384 gdb.threads/config.in, gdb.trace/configure.in,
385 gdb.trace/configure: Removed.
386
77afa639
MC
3872003-01-03 Michael Chastain <mec@shout.net>
388
389 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
390 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
391
7634bb6e
DJ
3922003-01-03 Daniel Jacobowitz <drow@mvista.com>
393
394 * gdb.base/store.exp: Fix regular expressions.
395
b39c905e
MK
3962002-12-28 Mark Kettenis <kettenis@gnu.org>
397
398 * configure.in: Rewrite.
399 * configure: Regenerated.
400
0a8551dd
DC
4012003-01-03 David Carlton <carlton@math.stanford.edu>
402
403 * gdb.base/psymtab.exp: New file.
404 * gdb.base/psymtab1.c: Ditto.
405 * gdb.base/psymtab2.c: Ditto.
406
c60b7188
AF
4072002-12-23 Adam Fedor <fedor@gnu.org>
408
409 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
410
ee73db83
DC
4112002-12-23 David Carlton <carlton@math.stanford.edu>
412
413 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
414 and current_directory initialization.
415
d6c1774e
JB
4162002-12-22 Jim Blandy <jimb@redhat.com>
417
f0a847b8
JB
418 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
419 rather than as part of the output file name.
420
d6c1774e
JB
421 * gdb.base/attach.exp: There's no need to copy the test program to
422 /tmp; that was only ever necessary on HP/UX, and this test is
423 entirely disabled there anyway.
424
f0708dbb
JB
4252002-12-21 Jim Blandy <jimb@redhat.com>
426
4c2acfea
JB
427 * gdb.c++/psmang.exp: Doc fix.
428
f0708dbb
JB
429 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
430 test.
431
9579e000
DC
4322002-12-20 David Carlton <carlton@math.stanford.edu>
433
434 * gdb.c++/annota2.exp: KFAIL annotate-quit.
435
d1810171
MC
4362002-12-18 Michael Chastain <mec@shout.net>
437
438 * gdb.c++/annota2.exp: Add copyright year 2002.
439
76565097
DC
4402002-12-17 David Carlton <carlton@math.stanford.edu>
441
442 * gdb.c++/try_catch.cc: Add marker comments.
443 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
444 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
445 * gdb.c++/m-static.cc: Ditto.
446 * gdb.c++/m-static1.cc: Ditto.
447 * gdb.c++/try_catch.cc: Ditto.
448
da81390b
JJ
4492002-12-16 Jeff Johnston <jjohnstn@redhat.com>
450
451 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
452 to see whether we are using the new -environment-directory
453 command which resets via -r or the old version of the command
454 which may prompt the user. Part of fix for gdb/741.
455
b304d130
AC
4562002-12-13 Andrew Cagney <ac131313@redhat.com>
457
458 * gdb.fortran/types.exp: Update obsolete comment.
459 * gdb.fortran/exprs.exp: Ditto.
460 * lib/gdb.exp: Delete obsolete code.
461 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
462 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
463 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
464 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
465 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
466 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
467 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
468 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
469 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
470 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
471 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
472 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
473 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
474 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
475 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
476 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
477 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
478 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
479 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
480 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
481 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
482 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
483 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
484 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
485 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
486 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
487 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
488 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
489 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
490 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
491 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
492 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
493 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
494 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
495 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
496 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
497 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
498
a23b6e6a
DC
4992002-12-11 David Carlton <carlton@math.stanford.edu>
500
501 * gdb.c++/m-data.exp: Add test for members that shadow global
502 variables: see PR gdb/804.
503 * gdb.c++/m-data.cc: Ditto.
504
6604731b
DJ
5052002-12-10 Daniel Jacobowitz <drow@mvista.com>
506
507 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
508
de46ecd7
DC
5092002-12-06 David Carlton <carlton@math.stanford.edu>
510
511 * gdb.base/store.c: Don't declare functions static.
512
27e829d0
AC
5132002-12-04 Andrew Cagney <ac131313@redhat.com>
514
515 * gdb.base/store.exp, gdb.base/store.c: New files.
516
92806416
DJ
5172002-12-03 Daniel Jacobowitz <drow@mvista.com>
518
519 * gdb.base/selftest.exp: Update for current gdb.
520
3bcbaac5
DJ
5212002-12-03 Daniel Jacobowitz <drow@mvista.com>
522
523 * gdb.base/maint.exp: Only dump symbols from one source file
524 or objfile.
525
f4f00b1f
DJ
5262002-12-03 Daniel Jacobowitz <drow@mvista.com>
527
528 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
529 function call.
530
f1c8a949
JB
5312002-11-25 Jim Blandy <jimb@redhat.com>
532
533 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
534 function appearing in error message.
535
9e297a97
DJ
5362002-11-21 Daniel Jacobowitz <drow@mvista.com>
537
538 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
539
1f312e79
JJ
5402002-11-08 Jeff Johnston <jjohnstn@redhat.com>
541
542 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
543 for mi1 and current mi is in correct format. New mi startup message
544 should be in mi console format. This is part of fix for PR gdb/604.
545
83c31e7d
FN
5462002-09-18 Fernando Nasser <fnasser@redhat.com>
547
548 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
549 which explicitly prints the zero offset as "+0".
550
322b3f65
DJ
5512002-10-22 Daniel Jacobowitz <drow@mvista.com>
552
553 * gdb.threads/schedlock.c (args): Make unsigned.
554
5552002-10-21 Daniel Jacobowitz <drow@mvista.com>
556
557 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
558 numbers. Allow "foo2|selected stack frame".
559 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
560 * gdb.asm/asmsrc2.s: Likewise.
561 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
562 comments.
563 * gdb.asm/mips.inc: New file.
564
5e2fe5b8
AF
5652002-10-18 Adam Fedor <fedor@gnu.org>
566
567 * gdb.base/default.exp: Update expected output to include 'ObjC'.
568 * gdb.base/help.exp: Likewise.
569
abe1a5d0
KB
5702002-10-17 Kevin Buettner <kevinb@redhat.com>
571
572 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
573 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
574
10abb1d4
JB
5752002-10-02 Jim Blandy <jimb@redhat.com>
576
577 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
578
1f609b42
AC
5792002-10-01 Andrew Cagney <ac131313@redhat.com>
580
581 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
582 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
583 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
584 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
585 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
586 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
587 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
588
0aee02e4
AC
5892002-09-29 Andrew Cagney <ac131313@redhat.com>
590
591 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
592 * mi0-disassemble.exp, mi0-eval.exp: Delete.
593 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
594 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
595 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
596 * mi0-var-block.exp, mi0-var-child.exp: Delete.
597 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
598
6fde09ad
KB
5992002-09-27 Kevin Buettner <kevinb@redhat.com>
600
601 * gdb.base/annota1.exp (info break): Make directory components of
602 path optional since not all compilers emit this debug information.
603
604 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
605 step ends up stepping out of the function instead of stopping on
606 the epilogue.
607
9e8aab75
KS
6082002-09-26 Keith Seitz <keiths@redhat.com>
609
610 * lib/insight-support.exp (gdbtk_start): Figure out where
611 the insight executable is based on where gdb is. Use this
612 executable to start insight instead of gdb.
613
e36180d7
AC
6142002-09-25 Andrew Cagney <cagney@redhat.com>
615
616 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
617
9dd34b2b
AC
6182002-09-24 Andrew Cagney <ac131313@redhat.com>
619
620 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
621 test_isolated_complaints.
622 (test_empty_complaint): New function.
623 (test_empty_complaints): New function. Check no output when no
624 complaints.
625
dea97812
KB
6262002-09-19 Jim Blandy <jimb@redhat.com>
627
628 * gdb.base/charset.exp, gdb.base/charset.c: New files.
629
54951bd7
AC
6302002-09-19 Andrew Cagney <ac131313@redhat.com>
631
632 * gdb.gdb/complaints.exp: New file.
633
dec43320
AC
6342002-09-18 Andrew Cagney <ac131313@redhat.com>
635
636 * gdb.base/maint.exp: Check `help maint internal-warning'.
637
e70d6e3f
DC
6382002-09-18 David Carlton <carlton@math.stanford.edu>
639
640 * gdb.c++/m-static.exp: Remove breakpoints depending on line
641 numbers, and replace them by a single breakpoint after the
642 constructors are all finished.
643 Add test 4.
644 * gdb.c++/m-static.cc: Add test 4.
645 * gdb.c++/m-static.h: New file.
646 * gdb.c++/m-static1.cc: New file.
647
648 * gdb.c++/printmethod.exp: New file.
649 * gdb.c++/printmethod.cc: New file.
650
651 * gdb.c++/pr-574.exp: New file.
652 * gdb.c++/pr-574.cc: New file.
653
afb5c968
CV
6542002-09-18 Corinna Vinschen <vinschen@redhat.com>
655
656 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
657 embedded targets which never actually exit.
658
31e45dee
FN
6592002-09-18 Fernando Nasser <fnasser@redhat.com>
660
661 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
662 "don't step after run" as unresolved or unsupported, instead of xfail.
663
a283c5a1
CV
6642002-09-18 Corinna Vinschen <vinschen@redhat.com>
665
666 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
667 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
668 Add newline to expected string in "step out of main (status wrapper)"
669 case.
670
11350d2a
CV
6712002-09-18 Corinna Vinschen <vinschen@redhat.com>
672
673 * lib/gdb.exp (rerun_to_main): Allow restarting application.
674 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
675
0deec7d6
TT
6762002-09-17 Tom Tromey <tromey@redhat.com>
677
678 * gdb.base/printcmds.exp (test_print_string_constants): Expect
679 \000, not \0, in double-quoted string.
680
b2b4a1b5
CV
6812002-09-14 Corinna Vinschen <vinschen@redhat.com>
682
683 * gdb.base/command.exp: Don't expect a "Program exited normally"
684 string after running the commands execution on breakpoint tests.
685
1c56143a
CV
6862002-09-13 Corinna Vinschen <vinschen@redhat.com>
687
688 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
689
37f8da45
JB
6902002-09-12 Joel Brobecker <brobecker@gnat.com>
691
692 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
693
08b468e0
KS
6942002-09-10 Keith Seitz <keiths@redhat.com>
695
696 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
697 runto proc.
698 (mi_run_to_main): Use mi_runto.
699 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
700
dc360f58
KS
7012002-09-10 Keith Seitz <keiths@redhat.com>
702
703 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
704 regexp for stopping at main. Could have multiple event notifications.
705 Don't assume that main was declared with no parameters.
706 (mi_next): Use mi_step_to.
707 (mi_step): Use mi_next_to.
708
ce3abcfb
CV
7092002-09-09 Corinna Vinschen <vinschen@redhat.com>
710
711 * gdb.base/default.exp: Fix expected string in `info float' test.
712
d1f5b980
BE
7132002-09-09 Ben Elliston <bje@redhat.com>
714
715 * config/mips.exp: Update comments.
716 * config/mips-idt.exp: Likewise.
717 * config/nind.exp: Likewise.
718 * config/slite.exp: Likewise.
719 * config/sparclet.exp: Likewise.
720 * config/udi.exp: Likewise.
721 * config/vx.exp: Likewise.
722 * config/vxworks29k.exp: Likewise.
723
2f71430b
JB
7242002-09-05 Jim Blandy <jimb@redhat.com>
725
726 * gdb.threads/killed.exp: Fix test failure message.
727
7ddebc7e
KS
7282002-09-04 Keith Seitz <keiths@redhat.com>
729
730 * lib/mi-support.exp: Update copyright.
731 (mi_gdb_test): Increase the priority of the expected pattern
732 so that it matches gdb_test.
733
0ae67eb3
KS
7342002-09-03 Keith Seitz <keiths@redhat.com>
735
736 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
737 Use integer comparison instead of string comparison for testing
738 whether binary was built.
739
38fc42c8
JB
7402002-09-03 Jim Blandy <jimb@redhat.com>
741
742 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
743
b6ff0e81
JB
7442002-08-29 Jim Blandy <jimb@redhat.com>
745
746 * gdb.threads/pthreads.exp: Move the portable thread compilation
747 code into a function in lib/gdb.exp, and call that from here.
748 * lib/gdb.exp (gdb_compile_pthreads): New function.
749
07c98896
KS
7502002-08-29 Keith Seitz <keiths@redhat.com>
751
752 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
753 expect_out so that callers can get at it.
754
0312286c
DJ
7552002-08-23 Daniel Jacobowitz <drow@mvista.com>
756
757 * gdb.threads/print-threads.c: New file.
758 * gdb.threads/print-threads.exp: New file.
759 * gdb.threads/schedlock.c: New file.
760 * gdb.threads/schedlock.exp: New file.
761
dd039bc4
EZ
7622002-08-22 Elena Zannoni <ezannoni@redhat.com>
763
764 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
765 not altivec.c.
766
1f36144c
MK
7672002-08-17 Mark Kettenis <kettenis@gnu.org>
768
769 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
770 targets. The problem should be fixed now.
771
16057ec7 7722002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
773
774 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
775 2002-07-24 change that removes final dots from error messages.
776
3c1499ad
TT
7772002-08-13 Tom Tromey <tromey@redhat.com>
778
779 * gdb.base/readline.exp: New file.
780
a20ce2c3
AC
7812002-08-01 Andrew Cagney <ac131313@redhat.com>
782
783 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
784 supress message.
785
db034ac5
AC
7862002-08-01 Andrew Cagney <cagney@redhat.com>
787
788 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
789 CHILL_FOR_TARGET and CHILL_LIB.
790 * configure.in (configdirs): Remove gdb.chill.
791 * configure: Regenerate.
792 * lib/gdb.exp: Obsolete references to chill.
793 * gdb.fortran/types.exp: Ditto.
794 * gdb.fortran/exprs.exp: Ditto.
795
3e000b18
KB
7962002-07-30 Kevin Buettner <kevinb@redhat.com>
797
798 * gdb.base/shlib-call.exp (additional_flags): Conditionally
799 set Irix-specific compile and link flags.
800
28f4966b
KB
8012002-07-29 Kevin Buettner <kevinb@redhat.com>
802
803 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
804 source files. The ``-o'' option doesn't work with the ``-E'' option
805 when using the Irix compiler.
806
46c0d5a6
DJ
8072002-07-19 Daniel Jacobowitz <drow@mvista.com>
808
809 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
810 Improve support for reusing an exec file. Copy exec file
811 to target, and run gdbserver on the target instead of on the host.
812
eecf4bed
JB
8132002-07-18 Jim Blandy <jimb@redhat.com>
814
0f815cdf
JB
815 * gdb.base/ending-run.exp: Don't expect to see the program end in
816 some orderly fashion when we're running on a real stand-alone
817 board.
818
eecf4bed
JB
819 * gdb.base/interrupt.exp: Correct logic for skipping tests on
820 targets that don't support interrupts.
821
52d309e4
JB
8222002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
823
824 * gdb.base/attach.exp: Add patterns to match output from /proc-based
825 systems.
826 Move comments in expect statements to inside the actions, so that they
827 don't get matched against.
828
ff683d9e
MK
8292002-07-10 Mark Kettenis <kettenis@gnu.org>
830
831 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
832 function when asleep" test.
833
b5356753
AC
8342002-07-10 Andrew Cagney <ac131313@redhat.com>
835
836 * gdb.base/page.exp: Rewrite to handle problems with very long
837 `info set' output. Update copyright.
838
6aa4d13a
AC
8392002-06-26 Andrew Cagney <ac131313@redhat.com>
840
841 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
842 gdb.threads-hp.
843 * gdb.hp/configure: Regenerate.
844 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
845 * gdb.hp/gdb.threads-hp/configure: Delete file.
846 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
847
8cf8c2b8
AC
8482002-06-22 Andrew Cagney <ac131313@redhat.com>
849
850 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
851 setlocale, bindtextdomain and textdomain.
852
6827a8f8
JB
8532002-06-11 Jim Blandy <jimb@redhat.com>
854
919d772c
JB
855 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
856 preprocessor macro information is present.
857
6827a8f8
JB
858 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
859 tests.
860
c15b0d21
MS
8612002-06-06 Michael Snyder <msnyder@redhat.com>
862
c5984d70
MS
863 * gdb.base/overlays.exp: Record addresses of overlay
864 functions in TCL variables rather than in GDB variables,
865 to avoid having GDB convert them to pointers (with loss
866 of information).
867
99a8512b
MS
868 * gdb.base/d10v.ld: Merge in several years worth of
869 default linker script changes.
c15b0d21
MS
870 * gdb.base/long_long.exp: Add check for sizeof (long double).
871
be26fe0d
ML
8722002-06-06 Michal Ludvig <mludvig@suse.cz>
873
874 * gdb.asm/asm-source.exp: Add x86-64 target.
875 * gdb.asm/x86_64.inc: New.
876
258093ca 8772002-05-30 Michael Chastain <mec@shout.net>
258093ca 878
4b3153f1 879 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
880 * gdb.c++/m-static.cc: New file.
881 * gdb.c++/m-static.exp: New file.
882
241264c6
MS
8832002-05-28 Michael Snyder <msnyder@redhat.com>
884
885 * gdb.base/call-ar-st.exp: Allow for reduced floating point
886 precision.
887
9bba8c8f 8882002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 889
4b3153f1 890 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
891 * gdb.c++/m-data.cc: New file.
892 * gdb.c++/m-data.exp: New file.
893
8942002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 895
4b3153f1 896 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
897 * gdb.c++/try_catch.cc: New file.
898 * gdb.c++/try_catch.exp: New file.
899
def1b996
MC
9002002-05-27 Michael Chastain <mec@shout.net>
901
902 * gdb.c++/local.exp: Accept more nested types in output.
903
522ba268
MC
9042002-05-26 Michael Chastain <mec@shout.net>
905
906 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
907
277254ba
MS
9082002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
909
910 * lib/gdb.exp (gdb_wrapper_init): Just because
911 gdb_wrapper_file exists, this does not mean that the file
912 should not be rebuilt. That is what gdb_wrapper_initialized
913 is for.
914 (default_gdb_init): Reset gdb_wrapper_initialized.
915
b61a8733
MS
9162002-05-23 Michael Snyder <msnyder@redhat.com>
917
5bdb6d01
MS
918 * gdb.base/all-bin.exp: Revise previous patch by just reducing
919 the precision of the floating point test results.
920 * gdb.base/call-rt-st.exp: Ditto.
921
b61a8733
MS
922 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
923 * gdb.base/call-rt-st.exp: Ditto.
924
56f6e910
MC
9252002-05-19 Michael Chastain <mec@shout.net>
926
927 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
928
ad0b0016
EZ
9292002-05-19 Elena Zannoni <ezannoni@redhat.com>
930
931 * configure.in (configdirs): Add gdb.arch.
932 * configure: Regenerate.
933
f617d2b6
JB
9342002-05-17 Jim Blandy <jimb@redhat.com>
935
936 * gdb.base/completion.exp: Recognize the more detailed error
937 messages produced by the macro expander's lexical analyzer.
938
eac2a696
EZ
9392002-05-14 Elena Zannoni <ezannoni@redhat.com>
940
941 * gdb.arch/altivec-abi.c: New file.
942 * gdb.arch/altivec-abi.exp: New file.
943 * gdb.arch/altivec-regs.c: New file.
944 * gdb.arch/altivec-regs.exp: New file.
945
2fdde8f8
DJ
9462002-05-14 Daniel Jacobowitz <drow@mvista.com>
947
948 * gdb.base/maint.exp (maint print type): Update for new type
949 structure.
eac2a696 950
e31f1a7c
EZ
9512002-05-14 Elena Zannoni <ezannoni@redhat.com>
952
953 * gdb.arch: New directory.
954 * gdb.arch/configure.in: New file.
955 * gdb.arch/configure: New file.
956 * gdb.arch/Makefile.in: New file.
957
db589741
CV
9582002-05-13 Corinna Vinschen <vinschen@redhat.com>
959
960 * gdb.asm/asm-source.exp: Add v850 as supported target.
961 * gdb.asm/v850.inc: New file.
962
8ce2a7dc
DJ
9632002-05-13 Daniel Jacobowitz <drow@mvista.com>
964
965 * gdb.c++/annota2.exp (annotate-quit): Add comment.
966
df763c7f
DJ
9672002-05-12 Daniel Jacobowitz <drow@mvista.com>
968
969 * gdb.base/break.exp: Check 'break "marker2"'.
970
377daeed
MS
9712002-05-10 Michael Snyder <msnyder@redhat.com>
972
973 * gdb.base/long_long.exp: Fix typo.
974
c4b7bc2b
JB
9752002-05-10 Jim Blandy <jimb@redhat.com>
976
ecac9a4e
JB
977 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
978 a bug.
979
c4b7bc2b
JB
980 * gdb.base/printcmds.exp (test_integer_literals_rejected):
981 Recognize more detailed error message produced by the macro
982 expander's lexical analyzer.
983 * lib/gdb.exp (test_print_reject): Same.
984
e71019a1
MK
9852002-05-09 Mark Kettenis <kettenis@gnu.org>
986
987 * gdb.c++/method.exp: Fix typo.
988
fedfc8e6
MS
9892002-05-08 Michael Snyder <msnyder@redhat.com>
990
166a1957
MS
991 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
992 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 993 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
994 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
995 Add iftarget clause for strongarm.
996
f1c47eb2
MS
9972002-05-06 Michael Snyder <msnyder@redhat.com>
998
cb9a9d3e
MS
999 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1000 (gdb_continue_to_end): Accept output from status wrapper.
1001 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1002 Clean up fail messages to match pass messages.
1003
f1c47eb2
MS
1004 Enable the "needs_status_wrapper" testsuite feature.
1005 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1006 (gdb_compile): Conditionally call gdb_wrapper_init.
1007 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1008 * gdb.c++/method.exp: Recognize output from status wrapper.
1009
6079c749
BE
10102002-05-06 Ben Elliston <bje@redhat.com>
1011From Graydon Hoare <graydon@redhat.com>
1012
1013 * config/sid.exp: Include support for "rawsid" protocol.
1014
188baff3
JB
10152002-05-03 Jim Blandy <jimb@redhat.com>
1016
1017 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1018 * gdb.c++/hang3.C: New file.
1019
b9c07f0f
AC
10202002-05-04 Andrew Cagney <ac131313@redhat.com>
1021
1022 * gdb.base/default.exp: Remove obsolete code.
1023 * gdb.c++/misc.exp: Ditto. Update copyright.
1024 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1025 * gdb.base/whatis.exp: Ditto. Update copyright.
1026 * gdb.base/scope.exp: Ditto. Update copyright.
1027 * gdb.base/ptype.exp: Ditto. Update copyright.
1028 * gdb.base/printcmds.exp: Ditto. Update copyright.
1029 * gdb.base/opaque.exp: Ditto. Update copyright.
1030 * gdb.base/list.exp: Ditto.
1031 * gdb.base/funcargs.exp: Ditto. Update copyright.
1032 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1033 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1034 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1035 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1036 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1037 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1038
5c7a0397
MS
10392002-05-02 Michael Snyder <msnyder@redhat.com>
1040
d6dcc264 1041 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1042 * gdb.base/long_long.exp: Add xscale target.
1043 * gdb.base/default.exp: Add xscale target.
1044
eb7f1c48
JB
10452002-05-01 Jim Blandy <jimb@redhat.com>
1046
1047 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1048 gdb.c++/hang.exp: New test.
1049
a6befae8
FF
10502002-05-01 Fred Fish <fnf@redhat.com>
1051
1052 * gdb.base/completion.exp: Handle completions of "./Make" for
1053 more than one completion possibility, as is the case when we
1054 build and test in the source tree.
1055
0a310277
AG
10562002-04-29 Anthony Green <green@redhat.com>
1057
1058 * gdb.java/jmisc1.exp: New file.
1059 * gdb.java/jmisc2.exp: New file.
1060
6ff9af88
DJ
10612002-04-24 Daniel Jacobowitz <drow@mvista.com>
1062
1063 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1064
96b3d632
EZ
10652002-04-23 Elena Zannoni <ezannoni@redhat.com>
1066
1067 * gdb.base/help.exp: Change 'help status' to allow for target
1068 dependent output differences.
1069
5019bb54
MC
10702002-04-22 Michael Chastain <mec@shout.net>
1071
1072 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1073
a805a116
MC
10742002-04-22 Michael Chastain <mec@shout.net>
1075
1076 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1077
a1706bfd
DM
10782002-04-17 David S. Miller <davem@redhat.com>
1079
1080 * gdb.asm/sparc64.inc: New file.
1081 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1082
a73a20a2
EZ
10832002-04-19 Elena Zannoni <ezannoni@redhat.com>
1084
1085 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1086 instruction file directly into the build tree. Clean up at end of
1087 test.
1088
ba678339
DM
10892002-04-18 David S. Miller <davem@redhat.com>
1090
1091 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1092 handle 64-bit platforms correctly.
1093 * gdb.base/maint.exp: Likewise.
1094
b03399da
KB
10952002-04-18 Kevin Buettner <kevinb@redhat.com>
1096
1097 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1098 ``-fpic'' when compiling files comprising a shared library, but
1099 it does need additional linker flags in order to find shared
1100 libraries at run time.
1101
e2004992
KB
11022002-04-18 Kevin Buettner <kevinb@redhat.com>
1103
1104 * gdb.base/cvexpr.c (use): New function.
1105 (main): Invoke use() on all global variables to prevent
1106 some linkers from deleting these otherwise unused symbols.
1107
d8937120
MC
11082002-04-17 Michael Chastain <mec@shout.net>
1109From David S. Miller <davem@redhat.com>
1110
1111 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1112 handle 64-bit platforms correctly.
1113
ffd61a58
MS
11142002-04-12 Michael Snyder <msnyder@redhat.com>
1115From Jim Blandy <jimb@redhat.com>
1116 * gdb.base/foo.c (foox): Remove section attribute; the linker
1117 script can handle this instead.
1118 * gdb.base/bar.c (barx): Same.
1119 * gdb.base/baz.c (bazx): Same.
1120 * gdb.base/grbx.c (grbxx): Same.
1121
1122 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1123 manager doesn't automatically unmap overlays unnecessarily.
1124
6b8426a6
MH
11252002-04-10 Martin M. Hunt <hunt@redhat.com>
1126
1127 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1128 stepping out of main.
1129
34af4875
MC
11302002-04-09 Michael Chastain <mec@shout.net>
1131
1132 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1133 scope so that the nested scope tests will make sense.
1134 * gdb.c++/local.exp: Write patterns that actually work with gcc
1135 (the HP patterns "were never known to work with gcc").
1136 Keep the old aCC patterns too.
1137
2d1676a0
DJ
11382002-04-09 Daniel Jacobowitz <drow@mvista.com>
1139
1140 * gdb.base/attach.exp: Correct target board test.
1141
3a63e3f9
MC
11422002-04-08 Michael Chastain <mec@shout.net>
1143
1144 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1145 in a const method. Add some xfail and fail cases for configurations
1146 that do not emit the "const ...".
1147
f18dabd2
MC
11482002-04-07 Michael Chastain <mec@shout.net>
1149
1150 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1151 Accept "A * const" and "const A * const" as type of "this".
1152 Fix spelling of getFunky throughout. Make messages uniform.
1153
0fcddd82
EZ
11542002-04-07 Elena Zannoni <ezannoni@redhat.com>
1155
1156 Work around for PR gdb/285:
1157 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1158
16a8534a
EZ
11592002-04-07 Elena Zannoni <ezannoni@redhat.com>
1160
1161 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1162 instructions file at run time instead of configure time.
1163 Sometimes we run the test in a directory that is not the one we
1164 configured in.
1165 * gdb.asm/configure.in: Delete creation of symlink.
1166 * gdb.asm/configure: Regenerate.
1167
24181d81
JB
11682002-04-05 J. Brobecker <brobecker@gnat.com>
1169
1170 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1171 xfullpath () function.
1172
7cdb7107
DJ
11732002-04-04 Daniel Jacobowitz <drow@mvista.com>
1174
1175 * gdb.asm/Makefile.in: Correct dependencies.
1176
1177 * gdb.asm/powerpc.inc: New file.
1178 * gdb.asm/asm-source.exp: Add PowerPC.
1179 * gdb.asm/configure.in: Likewise.
1180 * gdb.asm/configure: Regenerated.
1181
a7d17088
DJ
11822002-04-04 Daniel Jacobowitz <drow@mvista.com>
1183
1184 * gdb.base/relocate.exp: New file.
1185 * gdb.base/relocate.c: New file.
1186
cd721503
FF
11872002-04-04 Fred Fish <fnf@redhat.com>
1188
1189 * gdb.base/step-test.exp: Update comment regarding stopping in
1190 memcpy/bcopy calls inserted as part of the compiler runtime.
1191
b22ad7a7
MS
11922002-04-04 Michael Snyder <msnyder@redhat.com>
1193
1194 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1195
5f279fa6
DJ
11962002-04-03 Daniel Jacobowitz <drow@mvista.com>
1197
1198 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1199 (gdb_expect): Remove $notransfer hack.
1200
dd0fd3ce
DJ
12012002-04-02 Daniel Jacobowitz <drow@mvista.com>
1202
1203 * gdb.c++/classes.exp ("calling method for small class"): Match
1204 updated register output.
1205
1e50cda1
DJ
12062002-03-30 Daniel Jacobowitz <drow@mvista.com>
1207
1208 Fix PR gdb/452
1209 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1210 when finished. Make gdb_file_cmd send "exec-file" when
1211 appropriate.
1212
24015922
DJ
12132002-03-30 Daniel Jacobowitz <drow@mvista.com>
1214
1215 * gdb.base/attach.exp: Remove extra setup_xfail.
1216
dd7dfd64
MS
12172002-03-26 Michael Snyder <msnyder@redhat.com>
1218
1219 * gdb.base/default.exp: Add tests for dump, append, and restore.
1220 * gdb.base/help.exp: Add tests for dump, append, and restore.
1221 * gdb.base/dump.exp: New file, test dump, append and restore.
1222 * gdb.base/dump.c: New file.
1223
48b2f8d7
MS
12242002-03-27 Michael Snyder <msnyder@redhat.com>
1225
1226 * gdb.base/help.exp: Modify expect strings to reflect
1227 clean-ups in help messages.
1228
05b4d525
FF
12292002-03-26 Fred Fish <fnf@redhat.com>
1230
1231 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1232 have debugging info for those functions and the compiler uses them
1233 internally to copy structs around.
1234
d7679631
FF
12352002-03-26 Fred Fish <fnf@redhat.com>
1236
1237 * gdb.base/list.exp: Revert the change made yesterday and add note
1238 about why we don't list the default lines for remote targets.
1239
523ac3f9
MS
12402002-03-25 Michael Snyder <msnyder@redhat.com>
1241
1242 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1243
754b2b8d
FF
12442002-03-25 Fred Fish <fnf@redhat.com>
1245
1246 * gdb.base/list.exp: This test works on remote targets so remove
1247 the short circuit for remote targets. Update copyright.
1248
33c3e192
FF
12492002-03-25 Fred Fish <fnf@redhat.com>
1250
1251 * gdb.base/attach.exp: Fix logic error that was suppressing this
1252 test for all non hppa*-*-hpux* targets, instead of the hp target.
1253 Move comments closer to the suppression point. Also now need to
1254 check that we are running natively.
1255
d43e73ee
MS
12562002-03-22 Michael Snyder <msnyder@redhat.com>
1257
882c8f02
MS
1258 * gdb.base/default.exp: Add test for gcore. Update copyright.
1259 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1260
04c12f60
FF
12612002-03-06 Fred Fish <fnf@redhat.com>
1262
1263 * gdb.base/funcargs.c: Remove extraneous ';' character.
1264 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1265
b43df995
MC
12662002-03-04 Michael Chastain <mec@shout.net>
1267
1268 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1269 accommodate gcc v3 function signature.
1270 * gdb.mi/mi0-var-cmd-exp: Ditto.
1271
92362027
AC
12722002-02-24 Andrew Cagney <ac131313@redhat.com>
1273
1274 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1275 ``GNU/Linux'' or ``Linux kernel''
1276 * testsuite/gdb.threads/pthreads.c: Ditto.
1277
258ad32d
MC
12782002-02-24 Michael Chastain <mec@shout.net>
1279
1280 * gdb.threads/pthreads.c (thread1): Add a return statement.
1281 (thread2): Likewise.
1282 (foo): Likewise.
1283
04c3b3d4
MC
12842002-02-23 Michael Chastain <mec@shout.net>
1285
1286 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1287 to placate gcc.
1288
5a2a0a20
MC
12892002-02-23 Michael Chastain <mec@shout.net>
1290
1291 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1292 test "ptype bint". The test passes on all my stabs configurations.
1293
a640f7fc
JB
12942002-02-21 Jim Blandy <jimb@redhat.com>
1295
27924826
JB
1296 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1297 filename at a time, and watch for the ones we want to see.
1298
a640f7fc
JB
1299 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1300 types of pointers to prototyped functions.
1301
edcc8c75
AC
13022002-02-20 Andrew Cagney <ac131313@redhat.com>
1303
1304 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1305 signed, unsigned and straight char.
1306 (padding_char, padding_short, padding_int, padding_long,
1307 padding_long_long, padding_float, padding_double,
1308 padding_long_double): New global variables.
1309 (fill, fill_structs): New functions.
1310
1311 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1312 for correctly sized writes. Update copyright.
1313 (get_valueof): New procedure.
1314 (get_sizeof): Call get_valueof.
1315 (check_valueof): New procedure.
1316 (check_padding): New procedure.
1317
ac57ea44
MC
13182002-02-20 Michael Chastain <mec@shout.net>
1319
1320 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1321 to setup_xfail. Document some of the remaining calls.
1322
7a10c941
MC
13232002-02-18 Michael Chastain <mec@shout.net>
1324
1325 * gdb.c++/userdef.exp: Update copyright year.
1326
fb8acdcc
DJ
13272002-02-18 Daniel Jacobowitz <drow@mvista.com>
1328
1329 * gdb.c++/userdef.exp: Test overloaded operators properly.
1330 Remove xfails.
1331
fda6ae12
MS
13322002-02-14 Michael Snyder <msnyder@redhat.com>
1333
1334 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1335
676a0442
DJ
13362002-02-14 Daniel Jacobowitz <drow@mvista.com>
1337
1338 * gdb.base/a2-run.exp: Check for a remote target properly.
1339 * gdb.base/annota1.exp: Likewise.
1340 * gdb.base/list.exp: Likewise.
1341 * gdb.base/reread.exp: Likewise.
1342 * gdb.base/scope.exp: Likewise.
1343 * gdb.base/shlib-call.exp: Likewise.
1344 * gdb.base/term.exp: Likewise.
1345 * gdb.c++/annota2.exp: Likewise.
1346
78b4f468
RE
13472002-02-13 Richard Earnshaw <rearnsha@arm.com>
1348
1349 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1350
9a81ba51
MC
13512002-02-10 Michael Chastain <mec@shout.net>
1352
1353 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1354 (call_after_alloca): Ditto.
1355
004af6c7
DJ
13562002-02-10 Daniel Jacobowitz <drow@mvista.com>
1357
1358 * gdb.base/ending-run.exp: Guard "cont" test with
1359 gdb_skip_stdio_test.
1360
37225f62
JB
13612002-02-06 Jim Blandy <jimb@redhat.com>
1362
1363 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1364 from here...
1365 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1366 To here. Disable this test on non-HP platforms. Add big comment.
1367
fe6fdd96
MS
13682002-02-04 Michael Snyder <msnyder@redhat.com>
1369
1370 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1371 other than d10v and m32r.
1372
036fad3f
RE
13732002-02-02 Richard Earnshaw <rearnsha@arm.com>
1374
1375 * gdb.base/default.exp: Rewrite test patterns to reduce time
1376 taken to match them.
1377
7148ab62
DJ
13782002-01-30 Daniel Jacobowitz <drow@mvista.com>
1379
1380 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1381 Allow a start function above main.
1382 * gdb.threads/linux-dp.exp: Fix copyright date.
1383
396cc255
DJ
13842002-01-30 Daniel Jacobowitz <drow@mvista.com>
1385
1386 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1387 (check_philosopher_stack): Check for manager thread before checking
1388 for a just-starting thread.
1389
f038d31b
DJ
13902002-01-30 Daniel Jacobowitz <drow@mvista.com>
1391
1392 From Neil Booth <neil@daikokuya.demon.co.uk>:
1393 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1394 warnings.
1395
b3ff9d9a
FF
13962002-01-21 Fred Fish <fnf@redhat.com>
1397
1398 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1399 not caller.
1400
39ad761d
JB
14012002-01-21 Jim Blandy <jimb@redhat.com>
1402
1403 * gdb.base/reread.exp: Check that GDB properly re-reads the
1404 executable file when it changes while no inferior is running.
1405
aaf320fa
FF
14062002-01-21 Fred Fish <fnf@redhat.com>
1407
1408 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1409 optionally accept the "shlib events" variation.
1410
808a31f5
JB
14112002-01-21 Jim Blandy <jimb@redhat.com>
1412
1413 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1414 call `fflush' after every `printf', so that the output is produced
1415 at predictable points, regardless of whatever buffering does (or
1416 doesn't) take place.
1417 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1418 at different points.
1419
4420d5e2
DJ
14202002-01-20 Daniel Jacobowitz <drow@mvista.com>
1421
1422 * gdb.c++/inherit.exp: Update copyright years.
1423 * gdb.c++/method.exp: Likewise.
1424
3e36a0f4
DJ
14252002-01-20 Daniel Jacobowitz <drow@mvista.com>
1426
1427 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1428 artificial methods/arguments.
1429 * gdb.c++/derivation.exp: Likewise.
1430 * gdb.c++/inherit.exp: Likewise.
1431 * gdb.c++/method.exp: Likewise.
1432 * gdb.c++/virtfunc.exp: Likewise.
1433
b4ceaee6
AC
14342002-01-18 Andrew Cagney <ac131313@redhat.com>
1435
1436 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1437 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1438 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1439 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1440 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1441 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1442
ecace851
JB
14432002-01-17 Jim Blandy <jimb@redhat.com>
1444
1445 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1446 anchoring the pattern matching the entry point symbol's name.
1447
375fc983
AC
14482002-01-17 Andrew Cagney <ac131313@redhat.com>
1449
1450 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1451 continue/quit query. Update copyright.
1452
fe6fdd96
MS
14532002-01-14 Michael Snyder <msnyder@redhat.com>
1454
1455 * gdb.base/gcore.exp: Remove extra debugging output.
1456
e017c81f
DJ
14572002-01-13 Daniel Jacobowitz <drow@mvista.com>
1458
1459 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1460 for slightly dubious v2 mangled string.
1461
37ab3bf8
DJ
14622002-01-13 Daniel Jacobowitz <drow@mvista.com>
1463
1464 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1465
1bc05c3a 14662002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1467
1bc05c3a 1468 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1469
1bc05c3a
JM
1470 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1471 constructors.
1472 * gdb.c++/derivation.exp: Likewise.
1473 * gdb.c++/templates.exp: Likewise.
1474 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1475
1bc05c3a
JM
14762002-01-10 Michael Snyder <msnyder@redhat.com>
1477
1478 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1479
a911c360
MS
14802002-01-08 Michael Snyder <msnyder@redhat.com>
1481
1482 * gdb.base/gcore.exp: New test for generate-core-file command.
1483 * gdb.base/gcore.c: Testcase for above.
1484 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1485
ea2119ec
JM
14862002-01-08 Jason Merrill <jason@redhat.com>
1487
1488 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1489
68203136
FF
14902002-01-07 Fred Fish <fnf@redhat.com>
1491
1492 * gdb.c++/overload.exp: Remove unconditional xfails for:
1493 print foo_instance1.overloadargs(1)
1494 print foo_instance1.overloadargs(1, 2)
1495 print foo_instance1.overloadargs(1, 2, 3)
1496 print foo_instance1.overloadargs(1, 2, 3, 4)
1497 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1498 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1499 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1500 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1501 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1502 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1503 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1504 print foo_instance1.overload1arg()
1505 print foo_instance1.overload1arg((char)arg2)
1506 print foo_instance1.overload1arg((signed char)arg3)
1507 print foo_instance1.overload1arg((unsigned char)arg4)
1508 print foo_instance1.overload1arg((int)arg7)
1509 print foo_instance1.overload1arg((unsigned int)arg8)
1510 print foo_instance1.overload1arg((float)arg11)
1511 print foo_instance1.overload1arg((double)arg12)
1512
21b9b5b1
MS
15132002-01-07 Michael Snyder <msnyder@redhat.com>
1514
1515 * gdb.base/huge.exp: New test. Print a very large target data object.
1516 (skip_huge_test): New test variable. Define if you want to skip this
1517 test. The test reads an 8 megabyte data object from the target, so it
1518 might be very time consuming on remote targets with a slow connection.
1519 * gdb.base/huge.c: New file. Test case for above.
1520
725f922e
FF
15212002-01-07 Fred Fish <fnf@redhat.com>
1522
1523 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1524 g_instance.bfoo, and g_instance.cfoo.
1525
634d57ec
JL
1526Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1527
f286b2c3
JL
1528 * gdb.base/break.c (multi_line_if_conditional): New function.
1529 (multi_ilne_while_conditional): Likewise.
1530 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1531 IF or WHILE condition puts the breakpoint at the start of
1532 the condition.
1533
634d57ec
JL
1534 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1535 hppa*-*-hpux* expected failure.
1536 * gdb.base/structs.exp (do_function_calls): Similarly.
1537
1538 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1539 watchpoints.
1540
9fbfe2dc
AC
15412002-01-06 Andrew Cagney <ac131313@redhat.com>
1542
1543 Fix PR gdb/66.
1544 * gdb.base/structs.exp: Replace skip for a29k with skip for
1545 gdb,cannot_call_functions.
1546 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1547 * gdb.base/callfuncs.exp: Ditto.
1548 * gdb.base/call-rt-st.exp: Ditto.
1549 * gdb.base/call-strs.exp: Ditto.
1550 * gdb.base/callfwmall.exp: Ditto.
1551 * gdb.base/scope.exp: Obsolete xfail a29k.
1552 * gdb.c++/misc.exp: Ditto.
1553 * gdb.c++/cplusfuncs.exp: Ditto.
1554 * gdb.base/ptype.exp: Ditto.
1555 * gdb.base/printcmds.exp: Ditto.
1556 * gdb.base/opaque.exp: Ditto.
1557 * gdb.base/list.exp: Ditto.
1558 * gdb.base/funcargs.exp: Ditto.
1559 * gdb.base/default.exp: Ditto.
1560
8ddad156
MS
15612002-01-04 Michael Snyder <msnyder@redhat.com>
1562
ca4976a6 1563 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1564 * gdb.base/maint.exp: Add tests for maint info sections options.
1565
1b074332
JL
1566Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1567
1568 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1569
7d159115
CV
15702001-12-20 Corinna Vinschen <vinschen@redhat.com>
1571
1572 * gdb.asm/arm.inc: New file.
1573 * gdb.asm/asm-source.exp: Add arm targets.
1574 * gdb.asm/configure.in: Ditto.
1575 * gdb.asm/configure: Recreated from configure.in.
1576
8fb87725
JL
1577Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1578
afabe08c
JL
1579 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1580 with HP's compiler.
1581 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1582 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1583 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1584 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1585
1586 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1587 either HP's compilers or GCC.
1588
db521deb
JL
1589 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1590 a SIGBUS or SIGSEGV.
1591
1592 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1593
1594 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1595 can be compiled with either HP's compiler or GCC.
1596
cfa88ab7
JL
1597 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1598 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1599 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1600
ca344dff
JL
1601 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1602 to match current gdb output. Update due to using auto-solib-limit
1603 for limiting instead of overloading auto-solib-add.
1604 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1605 test program.
1606
3f3c6e55 1607 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1608 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1609 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1610 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1611 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1612 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1613 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1614 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1615 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1616 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1617 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1618 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1619 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1620
8fb87725
JL
1621 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1622 a SIGTRAP to the inferior.
1623
cf599fa7
CV
16242001-12-19 Corinna Vinschen <vinschen@redhat.com>
1625
1626 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1627 Substitute call to target_link by call to gdb_compile.
1628
2cd045cd
JL
1629Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1630
1631 * gdb.base/break.exp: Fix HP specific search string when testing
1632 backtracing in a called function.
1633
1634 * gdb.base/constvars.exp: Only set lang to C++ if we're
1635 compiling the test with HP's compilers.
1636 * gdb.base/volatile.exp: Similarly.
1637
99ebe9ac
JB
16382001-12-19 Jim Blandy <jimb@redhat.com>
1639
1640 * gdb.base/printcmds.exp: Expect the null character to be printed
1641 as '\0', and the '\013' to be printed as '\v'.
1642 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1643 * gdb.base/setvar.exp: Same.
1644
b9891b29
JB
16452001-12-17 Jim Blandy <jimb@redhat.com>
1646
0eba65ab
JB
1647 * gdb.base/completion.exp: Rather than completing very long
1648 filenames, which can make the readline library produce output we
1649 don't recognize, cd to the directory first, and then complete
1650 using nice, short relative paths.
1651
6970b5b1
JB
1652 * gdb.base/completion.exp: On some systems, there is, in fact, a
1653 variable named `b' in scope, since GDB treats all static
1654 variables as being in scope. So use `no_var_named_this'
1655 instead of `b'.
1656
b9891b29
JB
1657 * gdb.base/corefile.exp: Recognize the message saying that GDB
1658 can't find the core file's registers as a failure.
1659
e6ccd35f
JSC
16602001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1661
1662 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1663 test expect string more specific.
1664
105ba819
CV
16652001-12-13 Corinna Vinschen <vinschen@redhat.com>
1666
1667 * gdb.asm/asm-source.exp: Add support for xstormy16.
1668 * gdb.asm/configure.in: Ditto.
1669 * gdb.asm/configure: Rebuild.
1670 * gdb.asm/xstormy16.inc: New file.
1671
e9e79dd9
FF
16722001-12-10 Fred Fish <fnf@redhat.com>
1673
1674 * gdb.base/maint.exp: Update to match changes in type dumping code.
1675
347dc97d
JB
16762001-12-10 Jim Blandy <jimb@redhat.com>
1677
1678 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1679 matching the entry point symbol's name at the beginning of the
1680 line.
1681
5178b9d6
DJ
16822001-12-07 Daniel Jacobowitz <drow@mvista.com>
1683
1684 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1685 gdb.c++/inherit.exp, gdb.c++/method.exp,
1686 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1687 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1688 and class layout support.
1689
af890c52
DJ
16902001-12-07 Daniel Jacobowitz <drow@mvista.com>
1691
1692 * gdb.c++/classes.exp: Add test for static member function.
1693 * gdb.c++/misc.cc: Add class with static member function.
1694
7a345fb3
JB
16952001-12-07 Jim Blandy <jimb@redhat.com>
1696
f2e54a80 1697 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1698 those tests as `unsupported'.
1699 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1700 Rewrite subsequent tests to use it.
1701
1702 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1703 those tests as `unsupported'.
1704 * gdb.base/structs.exp (call_struct_func): New function.
1705 (do_function_calls): Use call_struct_func to call the functions
1706 returning structs.
1707
0bc69509
JB
1708 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1709 whether functions are prototyped or not, so we can't possibly pass
1710 arguments to t_float_values2 properly.
1711
7a345fb3
JB
1712 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1713 value of `timeout' for targets other than the mips*tx39-*.
1714
edb6ede1
MS
17152001-12-06 Michael Snyder <msnyder@redhat.com>
1716
1717 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1718 and detect whether the start symbol has a leading underscore.
1719
2d842f13
JB
17202001-12-04 Jim Blandy <jimb@redhat.com>
1721
1722 * gdb.base/completion.exp: Clarify indentation.
1723
68550daf
JB
17242001-12-03 Jim Blandy <jimb@redhat.com>
1725
1726 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1727 variables on the S/390, not `.word'.
1728
cd5195a8
JB
17292001-11-30 Jim Blandy <jimb@redhat.com>
1730
1731 Add assembly-source tests for s390-ibm-linux.
1732 * gdb.asm/s390.inc: New file.
1733 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1734 the S/390 architecture.
1735 * gdb.asm/configure: Regenerated.
1736
ca9efc90
MS
17372001-11-30 Michael Snyder <msnyder@redhat.com>
1738
1739 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1740 next, info source, info sources, info line, global and static
1741 variables, and static functions.
1742 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1743 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1744 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1745 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1746 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1747 (gdbasm_leave): Restore frame pointer.
1748 (gdbasm_startup): Copy stack set-up from crt0.S.
1749
d0e66976
FN
17502001-11-26 Fernando Nasser <fnasser@redhat.com>
1751
1752 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1753 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1754 to a local (non-static) variable. Copy tstruct.a to a static buffer
1755 and return a pointer to that buffer.
1756 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1757
e2334072
MK
17582001-11-24 Mark Kettenis <kettenis@gnu.org>
1759
1760 * gdb.asm/configure.in: Fix recognition of ix86 target.
1761 * gdb.asm/configure: Regenerate.
1762
756caa3d
MS
17632001-11-21 Michael Snyder <msnyder@redhat.com>
1764
1765 * gdb.asm/sparc.inc: New file.
1766 * gdb.asm/asm-source.exp: Recognize sparc target.
1767 * gdb.asm/configure.in: Recognize sparc target.
1768 * gdb.asm/configure: Regenerate.
1769
9a4d72d5
MS
17702001-11-21 Michael Snyder <msnyder@redhat.com>
1771
1772 * gdb.asm/m32r.inc: New file.
1773 * gdb.asm/asm-source.exp: Recognize m32r target.
1774 * gdb.asm/configure.in: Recognize m32r target.
1775 * gdb.asm/configure: Regenerate.
1776
a773d1cd
MS
17772001-11-20 Michael Snyder <msnyder@redhat.com>
1778
017ac23d
MS
1779 * gdb.asm/i386.inc: New file.
1780 * gdb.asm/asm-source.exp: Recognize ix86 target.
1781 * gdb.asm/configure.in: Recognize ix86 target.
1782 * gdb.asm/configure: Regenerate.
1783
a773d1cd
MS
1784 * gdb.c++/namespace.exp: Fix quotes in output messages.
1785
bb632afb
MS
17862001-11-14 Michael Snyder <msnyder@redhat.com>
1787
25d559ca 1788 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1789 qualifier in a type cast expression, to designate an address
1790 in the instruction space (Harvard architecture).
1791
4749e309
MS
17922001-11-13 Michael Snyder <msnyder@redhat.com>
1793
1794 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1795 Tests for expressions using 'const' and 'volatile'.
1796
25050984
CV
17972001-11-13 Corinna Vinschen <vinschen@redhat.com>
1798
1799 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1800
1902c51f
DJ
18012001-11-12 Daniel Jacobowitz <drow@mvista.com>
1802
1803 * lib/mi-support.exp (mi_run_to_helper): Move comments
1804 outside of gdb_expect.
1805
dcf95b47
DJ
18062001-11-11 Daniel Jacobowitz <drow@mvista.com>
1807
1808 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1809 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1810 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1811 mi0_run_to): New functions.
1812 * gdb.mi/mi-simplerun.exp: Use them.
1813 * gdb.mi/mi0-simplerun.exp: Likewise.
1814 * gdb.mi/mi-var-cmd.exp: Likewise.
1815 * gdb.mi/mi0-var-cmd.exp: Likewise.
1816
45b074e1
AC
18172001-11-10 Andrew Cagney <ac131313@redhat.com>
1818
1819 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1820 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1821
bf50d346
AC
18222001-11-09 Andrew Cagney <ac131313@redhat.com>
1823
1824 * gdb.base/restore.exp: Include $expected value in restored test
1825 message.
1826
9383332c
AC
18272001-11-09 Andrew Cagney <ac131313@redhat.com>
1828
1829 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1830 implemented.
1831
db62520a
MS
18322001-11-08 Michael Snyder <msnyder@redhat.com>
1833
1834 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1835 Add pass/fail message for stop at breakpoint in call dummy function.
1836
b5703437
MS
18372001-11-07 Michael Snyder <msnyder@redhat.com>
1838
760f6330
MS
1839 * gdb.c++/templates.exp (test_template_breakpoints):
1840 If we get an overload menu, but it does not match what
1841 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1842 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1843 making the whitespace optional. Argument for "new" may be
1844 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1845 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1846 making the whitespace optional. Also replace "(void) with
1847 "((void|)), making the keyword "void" optional.
63f50499
MS
1848 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1849 making the whitespace optional. Also replace "(void) with
1850 "((void|)), making the keyword "void" optional.
3bf40917
MS
1851 * gdb.base/callfuncs.c (t_float_values): This function must
1852 _not_ be prototyped, and the following function (t_float_values2)
1853 must be prototyped (if the compiler supports it), so that GDB
1854 can be tested against both cases. Usually one case involves
1855 promotion of float to double, while the other does not.
1856 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1857 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1858 includes a stack frame for "start".
1859
c8ab4e6d
JB
18602001-11-05 Jim Blandy <jimb@redhat.com>
1861
1862 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1863 pointers are 32 bits long, and that offsets of relocs are always
1864 stored in the data (REL-style), and not in the reloc entry itself
1865 (RELA-style).
1866 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1867 stabs.
1868
3f08ced9
MS
18692001-11-01 Michael Snyder <msnyder@redhat.com>
1870
1871 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1872 and regular expression operators by using quoting.
1873
cbfa24cd
MS
18742001-10-31 Michael Snyder <msnyder@redhat.com>
1875
1876 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1877 depending on what the symbol table contains.
1878 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1879 the output of the ptype command. Similarly, accept both "const &"
1880 and "const&".
1881
aaa68313
CV
18822001-10-31 Corinna Vinschen <vinschen@redhat.com>
1883
1884 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1885 symbol `STORAGE' to allow to choose the storage class of
1886 the local datastructures.
1887 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1888 compiler directive.
1889
91740388
MS
18902001-10-30 Michael Snyder <msnyder@redhat.com>
1891
1892 * gdb.base/jump.exp: Allow it to run for all targets.
1893
1b7c05e7
CV
18942001-10-29 Corinna Vinschen <vinschen@redhat.com>
1895
1896 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1897 with new double_array size.
1898 (main): Change storage class of all local variables to static.
1899 Reduce size of double_array to 9.
1900 * gdb.base/call-ar-st.exp: Increase timeout value.
1901 Change expected output for double array to match new size in
1902 call-ar-st.c.
1903
36a22261
CV
19042001-10-29 Corinna Vinschen <vinschen@redhat.com>
1905
1906 * gdb.base/ending-run.exp: Create identical output when passing
1907 `step to end of run' case. Add regular expression branch satisfying
1908 Stormy16 target.
1909
92b8ae91
MK
19102001-10-28 Mark Kettenis <kettenis@gnu.org>
1911
1912 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1913 that we catch the expected failure under Linux/x86.
1914
cb135b83
OF
19152001-10-29 Orjan Friberg <orjanf@axis.com>
1916
1917 * gdb.base/setvar.exp: Escape curly braces.
1918 * gdb.stabs/weird.exp: Ditto.
1919
6884aa54
DJ
19202001-10-27 Daniel Jacobowitz <drow@mvista.com>
1921
1922 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1923 * gdm.mi/mi0-hack-cli.exp: Likewise.
1924
0398c9aa
AC
19252001-10-25 Andrew Cagney <ac131313@redhat.com>
1926
1927 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1928 messages.
1929
d20bf2e8
AC
19302001-10-21 Andrew Cagney <ac131313@redhat.com>
1931
1932 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1933 checking MI enabled.
1934
03dd63aa
CV
19352001-10-09 Corinna Vinschen <vinschen@redhat.com>
1936
1937 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1938
1d9d99f3
FCE
19392001-10-04 Frank Ch. Eigler <fche@redhat.com>
1940
1941 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1942 if gdb child process crashes, just signal an error.
1943
838ae6c4
JB
19442001-10-02 Jim Blandy <jimb@redhat.com>
1945
1946 * lib/gdb.exp (test_xfail_format): Simplify.
1947
1948 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1949 front of the variable name `format'. Simplify `if'.
1950
8f0cbc1c
DJ
19512001-10-01 Daniel Jacobowitz <drow@mvista.com>
1952
1953 * gdb.threads/pthreads.exp: Wait for output and delay
1954 before sending ^C.
1955
1f08dafd
DJ
19562001-10-01 Daniel Jacobowitz <drow@mvista.com>
1957
1958 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1959 some incorrect output instead of timing out.
1960 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1961
674f90ff
CV
19622001-09-28 Corinna Vinschen <vinschen@redhat.com>
1963
1964 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1965 check to allow additional `int'.
1966
9b284272
DJ
19672001-09-27 Daniel Jacobowitz <drow@mvista.com>
1968
1969 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1970 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1971
b55a4771
MS
19722001-09-27 Michael Snyder <msnyder@redhat.com>
1973
1974 * lib/gdb.exp (test_debug_format): New proc.
1975 (setup_xfail_format): Use new proc test_debug_format.
1976 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1977 proc; use new service proc test_debug_format.
1978 Replace all other "gcc_compiled" tests with this test.
1979 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1980 proc; use new service proc test_debug_format.
1981 Replace all other "gcc_compiled" tests with this test.
1982
19832001-09-27 Michael Snyder <msnyder@redhat.com>
1984
1985 * gdb.base/cvexpr.exp: New file.
1986 * gdb.base/cvexpr.c: New file
1987 Test for expressions using const and volatile keywords.
1988
4e6667ac
CV
19892001-09-26 Corinna Vinschen <vinschen@redhat.com>
1990
1991 * gdb.base/constvars.exp: Check for different orders of keywords
1992 and additional "int" strings in output.
1993
4f337972
AC
19942001-09-22 Andrew Cagney <ac131313@redhat.com>
1995
1996 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1997 responses from "help maint".
1998
2015650d
FCE
19992001-09-19 Frank Ch. Eigler <fche@redhat.com>
2000
2001 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2002 to localhost:NNN instead of :NNN, in case Xvfb is listening
2003 only on TCP.
2004
f3bcedc1
CV
20052001-09-19 Corinna Vinschen <vinschen@redhat.com>
2006
2007 * gdb.base/recurse.exp: When checking leaving the watchpoint
2008 scope, recognize when gdb is in function's epilogue and pass.
2009
6b819c92
KS
20102001-09-18 Keith Seitz <keiths@redhat.com>
2011
2012 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2013 support for running tests against sid targets.
2014 (gdbtk_done): Ditto.
2015
a10c9419
CV
20162001-09-18 Corinna Vinschen <vinschen@redhat.com>
2017
2018 * gdb.base/ending-run.c (main): Set stdout buffersize
2019 to the same reasonable value for any target.
2020 * gdb.base/ending-run.exp: Add a regular expression
2021 to make testsuite happy on Sanyo Stormy16 target.
2022
739d0d99
CV
20232001-09-17 Corinna Vinschen <vinschen@redhat.com>
2024
2025 * gdb.base/display.c (do_loops): Add float variable `f'.
2026 Increment f in loop.
2027 * gdb.base/display.exp: Increment timeout by 60 seconds.
2028 Change float display test to use variable `f'.
2029
1b8947f0
JB
20302001-09-17 Jim Blandy <jimb@redhat.com>
2031
2032 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2033 overflowing the limited breakpoint tables on some ROM monitors
2034 (like the ROM68K).
2035
9890ac81
FCE
20362001-09-15 Frank Ch. Eigler <fche@redhat.com>
2037
2038 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2039 the "-ac" (disable access control) flag.
2040
6db765ea
JH
20412001-08-30 Jeff Holcomb <jeffh@redhat.com>
2042
2043 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2044 ints.
2045
4c32cc04
KS
20462001-08-30 Keith Seitz <keiths@redhat.com>
2047
2048 * lib/gdb.exp: Move all insight-related functionality into
2049 separate file.
2050 * lib/insight-support.exp: New file.
2051
8d6e6f81
FCE
20522001-08-29 Frank Ch. Eigler <fche@redhat.com>
2053
2054 * config/sid.exp (sid_start): Never set sid verbosity; disable
2055 expect_background {} that consumed its stdout; tolerate </dev/null.
2056 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2057
6a90e1d0
AC
20582001-08-18 Andrew Cagney <ac131313@redhat.com>
2059
2060 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2061 CLI jump command to start it.
2062 (mi_run_to_main): Fail immediatly when unexpected output.
2063
1759b3c3
AC
20642001-08-18 Andrew Cagney <ac131313@redhat.com>
2065
2066 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2067 beginning of function. Fix PR gdb/191.
2068
61d11d80
FCE
20692001-08-16 Frank Ch. Eigler <fche@redhat.com>
2070
2071 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2072 what to force sid endianness to.
2073
942a4df2
KS
20742001-08-15 Keith Seitz <keiths@redhat.com>
2075
2076 * lib/gdb.exp (gdbtk_start): Don't set environment
2077 variables for TCL_LIBRARY and friends. Insight will
2078 now figure these out for itself.
2079
0521c418
MS
20802001-08-02 Michael Snyder <msnyder@redhat.com>
2081
2082 * gdb.base/completion.exp: Remove the symbol "a64l" from
2083 the expect string; this is target-specific, and not related
2084 to what is being tested.
2085
74a9a58a
DB
20862001-08-02 Dave Brolley <brolley@redhat.com>
2087
2088 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2089
c70819fa
MS
20902001-07-25 Michael Snyder <msnyder@redhat.com>
2091
c2b8fa57
MS
2092 * gdb.base/consecutive.exp: New file. Test stepping over
2093 breakpoints on consecutive instructions.
2094 * gdb.base/consecutive.c: New file.
2095
c70819fa
MS
2096 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2097 curly braces in regular expressions.
2098
2b1a1355
MS
20992001-07-25 Michael Snyder <msnyder@redhat.com>
2100
2101 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2102 legitimate output from stepping out of main.
2103
413eca6f
KS
21042001-07-22 Keith Seitz <keiths@redhat.com>
2105
2106 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2107 the empty string, do not run the tests.
2108
7e5a9322
SC
21092001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2110
2111 * gdb.base/long_long.exp: Detect size of pointer. Take into
2112 account 2-byte pointers when testing for p/a results.
2113
de58f10f
SC
21142001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2115
2116 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2117 and defined to 1K for m68hc11.
2118 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2119 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2120 (sizeof_random_data): New variable to tell the size of the data table;
2121 don't test past this size; always run to main.
2122
d6f5fea1
SC
21232001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2124
2125 * gdb.base/return2.exp: return of long long and double fails for
2126 68HC11; don't execute these tests on that platform.
2127 * gdb.base/return.exp: Return of a double fails for 68hc11.
2128
c477543d
SC
21292001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2130
2131 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2132 tests that print a float.
2133 * call-rt-st.exp: Likewise.
2134
63cf1c79
MK
21352001-07-12 Mark Kettenis <kettenis@gnu.org>
2136
2137 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2138 running this test on Linux.
2139
112f9ab5
MC
21402001-06-24 Michael Chastain <chastain@redhat.com>
2141
2142 * gdb.base/arithmet.exp: Remove some tests to make all test names
2143 unique.
2144
4970cb0f
MS
21452001-07-03 Michael Snyder <msnyder@redhat.com>
2146
2147 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2148 the output of the ptype command.
2149
d85da69f
MS
21502001-07-02 Michael Snyder <msnyder@redhat.com>
2151
4c8a82de
MS
2152 * gdb.base/completion.exp: Don't assume that break.c is the only
2153 source file that may contain functions named "marker".
d85da69f
MS
2154 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2155
8afc772b
AC
21562001-06-28 Andrew Cagney <ac131313@redhat.com>
2157
2158 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2159 of files to delete.
2160
2161 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2162 * gdb.disasm/h8300s.exp: New file.
2163 gdb.disasm/h8300s.s: Likewise.
2164
cff22675
AC
21652001-06-27 Andrew Cagney <ac131313@redhat.com>
2166
2167 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2168 empty breakpoint tables.
2169
68c81b54
AC
21702001-06-25 Andrew Cagney <ac131313@redhat.com>
2171
2172 * lib/mi-support.exp: Update args=... part of stop-reason
2173 patterns. Accept either a list or a tuple.
2174
2dd62704
AC
21752001-06-23 Andrew Cagney <ac131313@redhat.com>
2176
2177 * lib/mi-support.exp: Remove local emacs variable defining
2178 change-log-default-name.
2179
b4127474
MC
21802001-06-22 Michael Chastain <chastain@redhat.com>
2181
2182 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2183 This is operationally compatible with the previous version.
2184
8dbfb380
JB
21852001-06-13 Jim Blandy <jimb@redhat.com>
2186
2187 * lib/gdb.exp (gdb_test): Doc fix.
2188
f2d8c86d
MC
21892001-06-10 Michael Chastain <chastain@redhat.com>
2190
2191 * gdb.base/exprs.exp: Remove a duplicate test.
2192
81564d34
JB
21932001-06-06 Jim Blandy <jimb@redhat.com>
2194
2195 * gdb.base/return2.exp (main): Use values to test float and double
2196 returns that are not NaN's, to avoid being confused by IEEE
2197 comparison rules.
2198
da55addb
MS
21992001-06-04 Michael Snyder <msnyder@redhat.com>
2200
2201 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2202 non-zero if control_c fails. Terminate the test on failure,
2203 rather than wait for 12 more tests to time out.
2204
42c65987
JB
22052001-06-06 Jim Blandy <jimb@redhat.com>
2206
b18bced9
JB
2207 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2208 Don't forget to match the GDB prompt.
2209
42c65987
JB
2210 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2211
5b41e5f0
JB
22122001-06-04 Jim Blandy <jimb@redhat.com>
2213
2214 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2215 command.
2216
015e046f
KB
22172001-05-31 Kevin Buettner <kevinb@redhat.com>
2218
2219 * gdb.base/annota1.exp (info break): Match four or more spaces
2220 after "Address".
2221
fb1ffbbe
MC
22222001-05-31 Michael Chastain <chastain@redhat.com>
2223
2224 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2225 (dm_type_int_star): Likewise.
2226 (dm_type_long_star): Likewise.
2227 (dm_type_void_star): Likewise.
2228
5ea2a32c
KB
22292001-05-29 Kevin Buettner <kevinb@redhat.com>
2230
2231 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2232 to a known value in order to get consistent results regardless
2233 of the setting of INPUTRC or the presence or contents of .inputrc.
2234
ae23c492
MS
22352001-05-24 Michael Snyder <msnyder@redhat.com>
2236
ac55707e
MS
2237 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2238 Don't require that the main thread and the manager thread are the
2239 first in the list.
2240
ae23c492
MS
2241 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2242 debugging. If test fails, issue an "unsupported" not a "fail".
2243
400071f1
JB
22442001-05-24 Jim Blandy <jimb@redhat.com>
2245
2246 Don't assume that short is shorter than int.
2247 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2248 assume that shorts are smaller than ints. On a 16-bit machine,
2249 this isn't true.
2250 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2251 an int, is not equal to ~0 stored in an unsigned char. This tests
2252 the same thing that the previous test meant to, but works on
2253 16-bit machines, too.
2254 ("print unsigned char != (~0)"): Same test, complemented.
2255
0816a3e5
MS
22562001-05-24 Michael Snyder <msnyder@redhat.com>
2257
2258 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2259 test for (full_coverage == 0). This makes the test run faster,
2260 and prevents dejagnu getting out of step.
2261
f6dc23a9
KB
22622001-05-23 Kevin Buettner <kevinb@redhat.com>
2263
2264 * gdb.base/finish.exp (finish_void): Revise pattern for
2265 stopping on the call statement to not permit stopping at
2266 the start of the instructions comprising the call sequence.
2267
7dbd117d
MC
22682001-05-19 Michael Chastain <chastain@redhat.com>
2269
2270 * gdb.base/callfuncs.exp: Make all test names unique.
2271 * gdb.base/commands.exp: Make all test names unique.
2272 * gdb.base/condbreak.exp: Make all test names unique.
2273 * gdb.base/dbx.exp: Make all test names unique.
2274 * gdb.base/default.exp: Make all test names unique.
2275 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2276 and TIMEOUT messages to their corresponding PASS message.
2277 * gdb.base/ending-run.exp: Make all test names unique.
2278 * gdb.base/long_long.exp: Remove duplicate test.
2279
6b0b0a9e
KB
22802001-05-21 Kevin Buettner <kevinb@redhat.com>
2281
2282 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2283 stop on the call statement as well as the statement after the
2284 call.
2285
2caa35cb
MS
22862001-05-21 Michael Snyder <msnyder@redhat.com>
2287
2288 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2289
40713331
EZ
22902001-05-10 Elena Zannoni <ezannoni@redhat.com>
2291
2292 * gdb.base/completion.exp: Revamp test. Make it execute on all
2293 platforms.
2294
c2c1be8d
EZ
22952001-05-10 Elena Zannoni <ezannoni@redhat.com>
2296
2c9cd303
EZ
2297 * config/gdbserver.exp (gdb_load): Handle the case
2298 in which the arguments to gdbserver are given in the
2299 baseboard configuration file.
2300 Also handle the case in which the server needs to do a
2301 load.
2302
9671de48
KS
23032001-05-07 Keith Seitz <keiths@cygnus.com>
2304
2305 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2306 set up the display for testing.
2307 (gdbtk_start): Convert all paths to paths that tcl will like.
2308 Export target information to environment.
2309 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2310 necessary.
2311 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2312 (to_tcl_path): New proc to convert a given pathname into
2313 a path acceptible as an argument to a tcl command.
2314 (_gdbtk_export_target_info): New proc to export target info
2315 into the environment for gdbtk testing.
2316 (gdbtk_done): New proc to signal end-of-test.
2317
5a360f47
JB
23182001-05-06 Jim Blandy <jimb@redhat.com>
2319
2320 * restore.c: Make the code of caller0 correspond to its comment.
2321
66c756c6
MS
23222001-05-03 Michael Snyder <msnyder@redhat.com>
2323
2324 * config/sid.exp (gdb_target_sid): Check for error messages.
2325 On error or timeout, don't make expect exit (which will terminate
2326 all subsequent tests); instead just make gdb exit.
2327 (gdb_load): Check for error messages. On error or timeout,
2328 return a negative value.
2329
a966fde5
JB
23302001-04-24 Jim Blandy <jimb@redhat.com>
2331
851c18e0
JB
2332 * gdb.c++/templates.exp: If we see the prompt for the overload
2333 list, but we haven't recognized any of the longer patterns,
2334 arrange for this test to fail, not hang.
2335
a966fde5
JB
2336 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2337 variations.
2338
db144853
MC
23392001-04-22 Michael Chastain <chastain@redhat.com>
2340
2341 * gdb.c++/local.exp: Use the 'runto' library function.
2342 * gdb.c++/namespace.exp: Likewise.
2343 * gdb.c++/overload.exp: Likewise.
2344
3207ec21
KB
23452001-03-26 Kevin Buettner <kevinb@redhat.com>
2346
2347 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2348 * gdb.base/step-line.exp: New file. Test step/next in presence of
2349 #line directives.
2350 * gdb.base/step-line.c: New file. Test program for the above.
2351 * gdb.base/step-line.inp: New file. We pretend that this file has
2352 been transformed by some other tool into step-line.c.
2353
13b57657
JB
23542001-03-21 Jim Blandy <jimb@redhat.com>
2355
2356 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2357 unmangled operator names.
2358
754cbe1c
JB
23592001-03-20 Jim Blandy <jimb@redhat.com>
2360
2361 * gdb.threads/linux-dp.exp: Recognize an additional message
2362 generated by GDB when it doesn't understand how to debug threads
2363 on the target system.
2364
177495c9
AC
23652001-03-19 Andrew Cagney <ac131313@redhat.com>
2366
2367 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2368
f266096b
MC
23692001-03-12 Michael Chastain <chastain@redhat.com>
2370
2371 * gdb.c++/derivation.exp: Use the 'runto' library function.
2372
cac3c2ff
MC
23732001-03-12 Michael Chastain <chastain@redhat.com>
2374
2375 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2376
b6c11a24
MC
23772001-02-24 Michael Chastain <chastain@redhat.com>
2378
2379 * gdb.c++/ref-types.exp: Change handwritten code to library
2380 function 'runto'.
2381
6bae5bce
OF
23822001-03-16 Orjan Friberg <orjanf@axis.com>
2383
2384 * gdb.base/signals.exp: Set count to 0 explicitly.
2385
0015fd9a
MS
23862001-03-15 Mark Salter <msalter@redhat.com>
2387
2388 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2389 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2390 (gdb_load): Add support for additional target_info: gdb_download_size
2391 and gdb_load_timeout.
0015fd9a 2392
fc33412a
DT
2393Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2394
2395 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2396 file -- to prevent failing when the compile fails but we have no
2397 intention of running the tests anyway.
2398
2399 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2400 tests if set.
2401
2402 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2403 integers.
2404
2405 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2406 * gdb.c++/namespace.exp: Ditto.
2407
115f06de
OF
24082001-03-07 Orjan Friberg <orjanf@axis.com>
2409
2410 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2411 * gdb.base/pointers.exp: Relax pattern match of decimals.
2412
b6ba6518
KB
24132001-03-06 Kevin Buettner <kevinb@redhat.com>
2414
2415 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2416 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2417 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2418 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2419 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2420 config/sh.exp, config/sid.exp, config/slite.exp,
2421 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2422 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2423 config/vxworks.exp, config/vxworks29k.exp,
2424 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2425 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2426 gdb.base/arithmet.exp, gdb.base/assign.exp,
2427 gdb.base/async.exp, gdb.base/attach.exp,
2428 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2429 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2430 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2431 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2432 gdb.base/commands.exp, gdb.base/completion.exp,
2433 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2434 gdb.base/constvars.exp, gdb.base/corefile.exp,
2435 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2436 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2437 gdb.base/ending-run.exp, gdb.base/environ.exp,
2438 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2439 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2440 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2441 gdb.base/funcargs.exp, gdb.base/help.exp,
2442 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2443 gdb.base/logical.exp, gdb.base/long_long.exp,
2444 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2445 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2446 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2447 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2448 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2449 gdb.base/regs.exp, gdb.base/relational.exp,
2450 gdb.base/remote.exp, gdb.base/reread.exp,
2451 gdb.base/restore.exp, gdb.base/return2.exp,
2452 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2453 gdb.base/selftest.exp, gdb.base/setshow.exp,
2454 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2455 gdb.base/sigall.exp, gdb.base/signals.exp,
2456 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2457 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2458 gdb.base/step-test.exp, gdb.base/structs.c,
2459 gdb.base/structs.exp, gdb.base/structs2.exp,
2460 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2461 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2462 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2463 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2464 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2465 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2466 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2467 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2468 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2469 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2470 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2471 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2472 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2473 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2474 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2475 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2476 gdb.trace/circ.exp, gdb.trace/collection.exp,
2477 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2478 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2479 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2480 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2481 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2482 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2483 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2484 notices.
2485
dc96c6c7 24862001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2487
2488 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2489 first arg is int not float.
2490
dc96c6c7 24912001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2492
2493 * gdb.base/reread.exp: Unsupported for non-native targets;
2494 doesn't work for remote debugging.
2495
9b0c4aeb
FN
24962001-02-19 Fernando Nasser <fnasser@redhat.com>
2497
2498 From Drew Moseley <dmoseley@redhat.com>
2499 * gdb.base/ending-run.exp: Properly handle the BSP state when
2500 stepping past the end of main.
2501
02aa71d5
MC
25022001-02-19 John Moore <jmoore@redhat.com>
2503
2504 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2505 Converted HPUX fix for non-expected items following multiple
2506 step commands into general solution for all platforms.
2507
1fa449a4
MC
25082001-02-18 Michael Chastain <chastain@redhat.com>
2509
2510 * gdb.c++/classes.exp (do_tests): Change runto statements
2511 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2512 statements demangler agnostic.
2513 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2514 (gdb_virtfunc_restart): Likewise.
2515
b2f9ec70
MC
25162001-02-14 Michael Chastain <chastain@redhat.com>
2517
2518 * gdb.c++/inherit.exp (do_tests): Change runto statements
2519 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2520 statements demangler agnostic.
2521
cf74b8ca
AC
2522Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2523
2524 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2525 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2526 before calling common_routine 15 times'' tests.
2527
99f78f56
MC
25282001-02-11 Michael Chastain <chastain@redhat.com>
2529
2530 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2531 Helps the test script figure out which demangler is in use.
2532 (dm_type_foo_ref): Ditto.
2533 (dm_type_int_star): Ditto.
2534 (dm_type_long_star): Ditto.
2535 (dm_type_unsigned_int): Ditto.
2536 (dm_type_void): Ditto.
2537 (dm_type_void_star): Ditto.
99707966 2538 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2539 Probe the gdb demangler and set variables to accommodate
2540 formatting differences.
2541 (info_func_regexp): New function. Same as info_func, but
2542 matches against a regexp.
2543 (info_func): Match against a literal string.
2544 (print_addr_2): New function. Match against a literal string,
2545 which can be different from the input to gdb.
2546 (print_addr): Simply call print_addr_2 with the same argument twice.
2547 (test_lookup_operator_functions): Use demangler formatting variables.
2548 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2549 the tests in the same order as the C++ class declaration.
2550 (test_paddr_operator_functions): Ditto.
2551 (test_paddr_overloaded_functions): Ditto.
2552 (test_paddr_hairy_functions): Use demangler formatting variables.
2553 Add reference to gdb/19 for related tests.
2554 (do_tests): Call probe_demangler.
2555
1de8f023
KB
25562001-01-30 Kevin Buettner <kevinb@redhat.com>
2557
2558 * gdb.c++/templates.cc (printf): Remove unused function definition.
2559
ca3f91ed
MS
25602001-01-26 Felix Lee <flee@redhat.com>
2561
2562 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2563
25642001-01-25 matthew green <mrg@redhat.com>
2565
2566 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2567 up sid.
2568 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2569
25702001-01-25 matthew green <mrg@redhat.com>
2571
2572 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2573 Deprecate $sid_spawn_id.
2574 (sid_exit): Remove code necessary only for `spawn.'
2575
25762001-01-25 matthew green <mrg@redhat.com>
2577
2578 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2579
fb18ec4a
MC
25802001-01-28 Michael Chastain <chastain@redhat.com>
2581
2582 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2583 to call when tests fail. It takes gdb out of the overloaded
2584 function choice menu back to the main prompt, so that the test
2585 program stays synchronized.
2586 (set_bp_overloaded): New proc to collect all the common
2587 code for setting a breakpoint on an overloaded name. Calls
2588 take_gdb_out_of_choice_menu when needed.
2589 (menu_overload1arg): New variable to collect the repeated
2590 instances of the expected menu for an overloaded name. Change
2591 the regular expression to handle changes in g++ type encoding:
2592 "void" can be either "void" or "", and "unsigned int" can be
2593 either "unsigned int" or "unsigned".
2594 (continue_to_bp_overloaded): Change regular expressions to handle
2595 changes in g++ type encoding.
2596 (no proc): Call take_gdb_out_of_choice_menu when needed.
2597 Remove redundant calls to "info break". Accept either "canceled"
2598 or "cancelled". Change regular expressions in "info break"
2599 calls to handle changes in g++ type encoding. Give all tests
2600 unique strings.
2601
9c646a6e
BE
26022001-01-17 Ben Elliston <bje@redhat.com>
2603
2604 * config/sid.exp: New file.
2605
9549d9c1
AC
2606Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2607
2608 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2609
dc96c6c7 26102000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2611
2612 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2613 Add a RE to accept a non-ascii char if one is ever presented.
2614
b4df4f68
FN
26152000-12-20 Fernando Nasser <fnasser@redhat.com>
2616
297dd0fd 2617 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2618
dc96c6c7 26192000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2620
2621 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2622 in regexp. One '\' does not suffice on Linux.
2623
4a7bddb6
MC
26242000-12-09 Michael Chastain <chastain@redhat.com>
2625
2626 * gdb.base/break.exp (test_clear_command): Use a marker function
2627 rather than 'main' for the test function. Also move this
2628 test to an execution point where the marker function names are
2629 guaranteed to be bound to functions. (Executing tests after a
2630 'finish' from main runs into name conflicts with local names
2631 in __libc_start_main).
2632
dc96c6c7 26332000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2634
2635 * gdb.base/finish.exp: New test for gdb's "finish" command.
2636 * gdb.base/return2.exp: New test for gdb's "return" command.
2637 * gdb.base/return2.c: New source file for above.
2638
dc96c6c7 26392000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2640
2641 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2642 * gdb.base/miscexprs.exp: Ditto.
2643 * gdb.base/pointers.exp: Ditto.
2644 * gdb.c++/derivation.exp: Ditto.
2645 * gdb.c++/local.exp: Ditto.
2646 * gdb.c++/namespace.exp: Ditto.
2647 * gdb.c++/overload.exp: Ditto.
2648 * gdb.c++/ref-types.exp: Ditto.
2649
dc96c6c7 26502000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2651
2652 * gdb.base/constvars.exp: Test result of "up" command.
2653 * gdb.base/miscexprs.exp: Ditto.
2654 * gdb.base/pointers.exp: Ditto.
2655 * gdb.base/scope.exp: Ditto.
2656 * gdb.c++/derivation.exp: Ditto.
2657 * gdb.c++/local.exp: Ditto.
2658 * gdb.c++/namespace.exp: Ditto.
2659 * gdb.c++/overload.exp: Ditto.
2660 * gdb.c++/ref-types.exp: Ditto.
2661
44097287
FN
26622000-11-22 Michael Chastain <chastain@redhat.com>
2663
2664 * mips_pro.exp: Accept either "middle -> top -> main" or
2665 "middle -> main" in the backtrace, because gcc can optimize
2666 tail calls to jumps. Remove setup_xfail for the hppa case.
2667 Add a comment with the original warning messages from PR 3016,
2668 which was filed in 1993, to preserve them for posterity.
2669
9d2e1bab
ND
26702000-11-17 Nick Duffek <nsd@redhat.com>
2671
2672 * lib/gdb.exp (gdb_test): Override timeout with board info.
2673
1aca8eb7
ND
26742000-11-17 Nick Duffek <nsd@redhat.com>
2675
2676 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2677 the second kill and detach messages.
2678
93076499
ND
26792000-11-17 Nick Duffek <nsd@redhat.com>
2680
2681 * configure.in: Add AC_EXEEXT.
2682 * configure: Regenerate.
2683 * Makefile.in (just-check): Export EXEEXT.
2684 * lib/gdb.exp ($EXEEXT): Import from environment.
2685 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2686 expect "maint dump-me" on Cygwin.
2687 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2688 $EXEEXT.
2689
30e87cd3
ND
26902000-11-17 Nick Duffek <nsd@redhat.com>
2691
2692 * gdb.base/break.exp: Test backtrace and finish from called
2693 function on all platforms, not just HP-UX.
2694
dc96c6c7 26952000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2696
2697 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2698 code from gdb_target_monitor, so it can be used independantly
2699 for gdbserver. Also comment out an unnecessary PUTS.
2700
dc96c6c7 27012000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2702
2703 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2704 * gdb.base/corefile.exp: Expect the message "Program is being
2705 debugged already" when we send the "corefile" command, since
2706 the preceeding gdb_load may have connected gdb to a remote target.
2707 * gdb.base/display.exp: Disable hardware watchpoints if new
2708 board info variable "no_hardware_watchpoints" is true.
2709 Replace single-letter commands with more readable ones.
2710 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2711 if new board info variable "no_hardware_watchpoints" is true.
2712 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2713 to see if stdio (printf) testing is possible.
2714 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2715 board info variable "no_hardware_watchpoints" is true. Use new
2716 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2717
39124dea
FN
27182000-11-13 Fernando Nasser <fnasser@redhat.com>
2719
2720 From Orjan Friberg <orjanf@axis.com>:
2721 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2722 in array print pattern match.
2723
a9e2e984
FN
27242000-11-09 Fernando Nasser <fnasser@redhat.com>
2725
2726 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2727 spelling "cancelled" to U.S. spelling "canceled" to match changes
2728 made to gdb.
2729 * gdb.c++/ovldbreak.exp: Ditto.
2730
c7db355b
PS
27312000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2732
2733 * gdb.base/callfuncs.c (main): Moved to end of file, call
2734 t_double_values to initialize the FPU before inferior calls are made.
2735 * gdb.base/callfuncs.exp: Test for register preservation after calling
2736 inferior functions. Add tests for continuining, finishing and
2737 returning from a stop in a call dummy.
2738
dc96c6c7 27392000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2740
2741 * gdb.base/commands.exp: Break up long lines, and re-indent.
2742
dc96c6c7 27432000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2744
2745 * config/gdbserver.exp: Rewritten from the ground up, to make it
2746 compatible with the current dejagnu tree, and to make it work with
2747 the new "gdbserver" in libremote.
2748
dc96c6c7 27492000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2750
2751 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2752 * gdb.base/varargs.exp: Skip entire test if no printf support.
2753 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2754 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2755
dc96c6c7 27562000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2757
2758 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2759 no floating point support.
2760 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2761 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2762 * gdb.base/call-rt-st.exp: Ditto.
2763 * gdb.base/call-strs.exp: Ditto.
2764
bac5fc66
JG
27652000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2766
2767 * gdb.base/sizeof.c: include <stdio.h>.
2768
2769 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2770 'finish', otherwise uncaptured gdb_prompt would potentially
2771 throw remaining test points out of sync.
2772
b22a6027
SB
27732000-07-26 Scott Bambrough <scottb@netwinder.org>
2774
2775 * gdb.base/recurse.exp: Run tests for all targets.
2776 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2777 gnu-oldld case on ARM.
2778 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2779 for ARM targets.
2780
d8231941
AG
2781Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2782
2783 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2784 * gdb.java/configure: Rebuild.
2785
8caabe69
AG
2786Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2787
2788 * gdb.java/jv-exp.exp: New file.
2789
9d273ca3
AG
2790Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2791
2792 * configure: Rebuilt.
2793 * configure.in (configdirs): Add gdb.java.
2794 * gdb.java/jmisc.java: New file.
2795 * gdb.java/jmisc.exp: New file.
2796 * gdb.java/Makefile.in: New file.
2797 * gdb.java/configure: Rebuilt.
2798 * gdb.java/configure.in: New file.
2799 * lib/java.exp: New file.
2800
4f823a66
AC
2801Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2802
2803 * gdb.base/exprs.exp: Test casts to a pointer including over and
2804 underflow.
2805
2391e11d
AC
2806Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2807
2808 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2809 and the compilers sizes.
2810
54602222
ND
28112000-07-09 Nick Duffek <nsd@redhat.com>
2812
2813 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2814 (use_methods): New function.
2815 (main): Call use_methods().
2816 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2817 (do_tests): Call test_method_param_class.
2818
2bec0572
ND
28192000-07-09 Nick Duffek <nsd@redhat.com>
2820
2821 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2822 spelling.
2823 (test_enums): New procedure. Move enum tests from end of script
2824 to here. Set breakpoint on function name instead of line number.
2825 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2826 (enums2): New marker function.
2827 (enums1): New function.
2828 (main): Call enums1(). Move enum tests to enums1().
2829
78492fde
AC
2830Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2831
2832 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2833 compile/link program. Update line numbers.
2834 * gdb.asm/d10v.inc: Define ``startup''.
2835 * gdb.asm/asmsrc1.s: Add definition of _start.
2836
49a2cef8
AC
2837Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2838
2839 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2840
3e6c8688
EZ
28412000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2842
2843 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2844 of 'help maint print' command.
2845
9ff5cbe9
AC
2846Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2847
2848 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2849 they use gdb_expect_list.
2850
17c579bd
AC
2851Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2852
2853 * gdb.base/commands.exp: Use ``set remote
2854 memory-read-packet-size'' instead of ``set endian big'' to test
2855 long commands.
2856
e6d71bf3
DB
28572000-06-03 Daniel Berlin <dan@cgsoftware.com>
2858
2859 * gdb.c++/templates.exp (do_tests): Make all of these work under
2860 g++, and stop skipping them.
2861
2862 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2863 work under g++.
2864
e5f9ba7b
MS
2865 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2866 initialization.
2867
dc96c6c7 28682000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2869
2870 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2871 the regular expression: accept an (almost) arbitrary sequence of
2872 "frames-invalid" and "breakpoints-invalid" messages both before
2873 and after the "starting" message.
2874
dc96c6c7 28752000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2876
2877 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2878
dc96c6c7 28792000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2880
2881 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2882 Relax the regular expression a little, make it pass on Solaris 8.
2883
8216cda9
KB
28842000-05-12 Kevin Buettner <kevinb@redhat.com>
2885
2886 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2887 a call, do not require that gdb stop on the line after the call.
2888 Instead, it is permissible for gdb to stop on the line of the
2889 call itself.
2890
1a570b2f
MS
28912000-05-12 Michael Snyder <msnyder@.cygnus.com>
2892
2893 * gdb.base/break.exp (bp on small function, optimized file):
2894 Add a second pass pattern. The behavior differs here between stabs
2895 and dwarf for one-line functions. Stabs preserves two line symbols
2896 (one before the prologue and one after) with the same line number,
2897 but dwarf regards these as duplicates and discards one of them.
2898 Therefore the address after the prologue (where the breakpoint is)
2899 has no exactly matching line symbol, and GDB reports the breakpoint
2900 as if it were in the middle of a line rather than at the beginning.
2901
dc96c6c7 29022000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2903
2904 * gdb.base/interrupt.exp: Make "pass" message say "send"
2905 rather than "send_gdb" (for consistancy).
2906
7d418785
AC
2907Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2908
2909 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2910 * gdb.c++/templates.cc: Properly check for GCC version number.
2911 * lib/compiler.cc: Likewise
2912
dc96c6c7 29132000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2914
2915 * gdb.base/break.exp: When compiled with -O2 optimization,
2916 gdb may not stop at the first line of main, due to code motion.
2917
dc96c6c7 29182000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2919
2920 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2921 This test depends on parsing the printf output from the target.
2922 Since the sparclet stub doesn't do stdio, this will never work.
2923 * gdb.base/call-rt-st.exp: ditto.
2924 * gdb.base/call-strs: ditto.
2925
dc96c6c7 29262000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2927
2928 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2929
2930 * gdb.base/ending-run.exp: After connecting to a remote target,
2931 but before running, the target will appear to be in a random
2932 location. Specify both a file and a line for breakpoints.
2933 Also, the function that calls main may be called 'init'
2934 rather than 'start'.
2935
a5a51225
EZ
29362000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2937
2938 * gdb.base/help.exp: Update output for add-symbol-file command.
2939
7930cc7c
FN
29402000-04-10 Fernando Nasser <fnasser@cygnus.com>
2941
2942 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2943 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2944
23e37ab1
C
29452000-04-07 J.T. Conklin <jtc@redback.com>
2946
e93c542c
C
2947 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2948
23e37ab1
C
2949 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2950
591b8fa3
PDM
2951Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2952
2953 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2954 values that can be represented exactly.
2955 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2956 above change, and to not check against the directory part of the source
2957 file name.
2958 (step into print_long_arg_list): Likewise.
2959 (print print_small_structs from print_long_arg_list): Likewise.
2960 (print print_long_arg_list): Likewise.
2961
7a495180
EZ
29622000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2963
30b53638 2964 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2965
beb998c6
AC
2966Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2967
2968 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2969
1c689132
DB
29702000-03-25 Daniel Berlin <dan@cgsoftware.com>
2971
2972 * gdb.base/commands.exp (deprecated_command_test): Add test for
2973 deprecate with no arguments.
2974
c1790a9d
JL
29752000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2976
2977 * gdb.base/break.exp: Add new test for setting breakpoints on
2978 optimized code so we can test breakpoints work even when function
2979 prologues may be optimized away
2980
003ba290
FN
29812000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2982
2983 From David Whedon <dwhedon@gordian.com>
2984 * gdb.base/commands.exp : Added command deprecator tests.
2985
6837a0a2
DB
29862000-03-22 Daniel Berlin <dan@cgsoftware.com>
2987
2988 * gdb.base/help.exp: Added test for new apropos command.
2989
b9593231
KB
29902000-03-21 Kevin Buettner <kevinb@redhat.com>
2991
2992 * gdb.base/pointers.c (usevar): New function.
2993 (main): Make sure that global variables v_int_pointer2, rptr,
2994 and y are all referenced someplace in the program by calling
2995 usevar() on them. [Some linkers delete symbols which are
2996 never referenced. The space remains, but there's no way to
2997 get a (symbolic) handle on the variable from the debugger.]
2998
751a959b
EZ
29992000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3000
3001 * gdb.base/printcmds.c: Add typedeffed arrays.
3002
3003 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3004 procedure to test arrays that are typedef'd.
3005
73a93a32
JI
30062000-03-13 James Ingham <jingham@leda.cygnus.com>
3007
3008 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3009 the library directories.
73a93a32 3010
fb40c209
AC
3011Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3012
3013 * configure.in (configdirs): Add sub directory gdb.mi.
3014 * configure: Re-generate.
3015
3016 * gdb.mi: New directory.
beb998c6 3017
ee4dd2c9
AC
30182000-02-25 Scott Bambrough <scottb@netwinder.org>
3019
3020 * gdb.base/long_long.exp: Correct test suite failure when printing
3021 a long long value as a double on ARM platforms.
3022
70f0cc22
JB
30232000-02-16 Jim Blandy <jimb@redhat.com>
3024
3025 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3026 default source file is set properly before running this test.
3027
853819b8
EZ
30282000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3029
3030 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3031 gdbtk/library directory, not in gdbtcl2.
3032
dfcd3bfb
JM
30332000-02-04 Jim Blandy <jimb@redhat.com>
3034
3035 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3036 backslash from regexp pattern.
3037
3038 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3039 procedure. Use it to run all the "continue to bp overloaded"
3040 tests. Note that this changes the names of the tests slightly.
3041 If the breakpoint hit message includes a hex PC value, because
3042 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3043 from the real source code, still consider that a pass.
3044
3045 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3046 XFAIL here if the breakpoint message contains a hex address. Note
3047 similar change on 1999-11-02.
3048
3049 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3050
3051 * gdb.base/ptype.exp: Establish a default source file before
3052 calling get_debug_format.
3053
30542000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3055
3056 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3057
8b93c638
JM
30582000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3059
3060 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3061 of successive stepi commands -- while in the prologue we should see
3062 the function entry bracket.
3063
30642000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3065
3066 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3067 reach __change_mode() when stepping through the end of main().
3068
c5394b80
JM
30692000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3070
3071 * gdb.base/default.exp: Fix expected pattern.
3072 * gdb.base/help.exp: Same.
3073
0d06e24b
JM
30742000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3075
3076 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3077 Don't use xfail's because that affects only the following test.
beb998c6 3078
0d06e24b
JM
3079 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3080 solaris or linux.
3081
3082 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3083
dc96c6c7 30842000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3085
beb998c6 3086 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3087 "A syntax error" rather than "A parse error". Accept both.
3088
30892000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3090
3091 * gdb.base/default.exp: Remove OS dependent string from "target
3092 remote" test.
3093 * gdb.base/help.exp: Same for "help target remote" test.
3094
c3f6f71d
JM
30952000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3096
3097 From Jim Kingdon <kingdon@redhat.com>:
3098
3099 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3100 prompt (cleanup rather than necessity, but still might keep output
3101 from spilling to next test).
3102
31032000-01-02 Fred Fish <fnf@cygnus.com>
3104
3105 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3106 AIX, which defines them in <sys/types.h>.
3107
ed9a39eb 31081999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3109
ed9a39eb
JM
3110 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3111 float" test.
3112
31131999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3114
ed9a39eb 3115 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3116
3117 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3118 outermost frame disallowed".
3119
31201999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3121
3122 * gdb.base/setvar.exp: New tests for setting the value of a struct
3123 with a constant list.
3124
31251999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3126
3127 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3128 require the user to type a cast before setting the value of a struct.
3129
de57eccd
JM
31301999-12-06 Jim Blandy <jimb@cygnus.com>
3131
3132 * gdb.base/default.exp: Expect the new 'info float' command on
3133 all i386 platforms.
3134
3135 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3136 LinuxThreads libraries that don't support debugging.
3137
c2d11a7d
JM
3138Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3139
3140 * gdb.base/remote.c: Fill the buffer with truely random data.
3141 Change the buffer type to ``unsigned char'' to simplify size
3142 arithmetic.
3143
3144 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3145 stub only handles 400-1 byte packets. Verify that the download
3146 worked.
3147
31481999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3149
3150 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3151 tests, using UNRESOLVED for the untested cases. Also, does not wait
3152 for a timeout if the prompt was received before a recognizable pattern.
3153
31541999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3155
3156 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3157
31581999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3159
3160 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3161 watchpoints.
3162
31631999-11-24 Jason Merrill <jason@casey.cygnus.com>
3164
3165 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3166
3167 * gdb.c++/local.exp: Be more flexible in recognizing local class
3168 name mangling. Don't allow horribly truncated method names.
3169 * gdb.c++/derivation.exp: Expect protected inheritance.
3170 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3171 * gdb.c++/virtfunc.exp: Likewise.
3172 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3173 when printing a nested enum.
3174
31751999-11-22 Jim Blandy <jimb@cygnus.com>
3176
3177 * gdb.base/step-test.exp: Properly await GDB's response to setting
3178 a breakpoint on the call to large_struct_by_value.
3179
3180 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3181 just because we have debug info for the `start' function.
3182
31831999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3184
3185 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3186 "Unknown signal" messages, which indicate (on LinuxThreads) that
3187 GDB doesn't know how to debug threads on this system. This is
3188 better than hanging while philosopher 0 dumps chatter into gdb.log.
3189
31901999-11-18 Tom Tromey <tromey@cygnus.com>
3191
3192 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3193
31941999-11-18 Fred Fish <fnf@cygnus.com>
3195
3196 * gdb.base/coremaker2.c: Add sample program for generating
3197 cores that is more self contained than coremaker.c. Eventually
3198 I'll add more code to this and tie it into the testsuite.
3199
4ce44c66
JM
32001999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3201
3202 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3203
32041999-11-10 Jimmy Guo <guo@cup.hp.com>
3205
3206 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3207 from $srcdir/lib/.
3208 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3209 and gdb.c++/.
3210
3211 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3212
beb998c6 3213 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3214 'continue with watch' test point.
3215
32161999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3217
3218 Merged from p2linux-990323-branch:
beb998c6 3219
4ce44c66
JM
3220 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3221
11cf8741
JM
3222Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3223
3224 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3225 {limit,fixed}''. Test ``set download-write-size''.
3226
3227Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3228
3229 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3230 gdb_expect_list.
3231
3232Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3233
3234 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3235
32361999-11-03 Mark Salter <msalter@cygnus.com>
3237
3238 * gdb.base/break.exp: Fix "stub continue" pattern.
3239
32401999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3241
3242 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3243
32441999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3245
3246 * gdb.base/display.exp ("finish"): Add timeout clause.
3247
3248 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3249 plain prompt clause, so this doesn't have to time out in order to
3250 fail.
3251
3252 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3253 breakpoint hit messages include an address.
3254
3255 * gdb.base/display.exp: Don't forget to escape parens in regular
3256 expressions. Unix regexp notatation sucks.
3257
32581999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3259
3260 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3261 order for 'signalled' message.
3262
5c44784c
JM
32631999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3264
3265 From Jimmy Guo <guo@cup.hp.com>:
3266 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3267 * gdb.base/annota1.c: Add code for tests to work with.
3268
32691999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3270
3271 * gdb.base/remote.exp: New test for remote downloading settings.
3272 * gdb.base/remote.c: New file with large .data.
3273
917317f4
JM
32741999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3275
3276 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3277 for LinuxThreads support, merged from the Code Fusion branch.
3278
3279Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3280
3281 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3282 containing exp_continue into a while within an expect. Don't
3283 attempt a start more than three times. Check return value from
3284 gdb_load.
beb998c6 3285
2df3850c
JM
3286Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3287
3288 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3289 a pass case.
3290
2acceee2
JM
32911999-10-01 Kevin Buettner <kevinb@cygnus.com>
3292
3293 * gdb.base/break.c (main): Added a statement that we can step
3294 off of.
3295 * gdb.base/break.exp: Added tests for setting a breakpoint
3296 at an offset and stepping onto a breakpoint.
3297
32981999-10-01 Fred Fish <fnf@cygnus.com>
3299
beb998c6 3300 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3301 gdb output.
3302
c2c6d25f
JM
33031999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3304
3305 * gdb.base/break.exp: Code locations are in hex, don't forget!
3306 (For HP-UX.)
3307
33081999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3309
3310 * condbreak.exp: Use break.c as test program.
3311 * condbreak.c: Remove, redundant with break.c.
3312
33131999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3314
3315 * config/monitor.exp (gdb_target_monitor): Disable X- and
3316 Z-packets if the target needs it.
3317
33181999-09-13 James Ingham <jingham@leda.cygnus.com>
3319
3320 * gdb.c++/overload.exp: Added tests for listing overloaded
3321 functions with function pointers in the arg, explicitly calling
3322 out the version you want.
3323
cff3e48b
JM
33241999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3325
3326 * long_long.exp: Add variations of test cases that work for
3327 targets with 16-bit ints and 32-bit doubles.
3328
d4f3574e
SS
33291999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3330
3331 * break.c (main): Compare a possibly-uninitialized argc with an
3332 unlikely value that fits in 16 bits.
3333
33341999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3335
3336 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3337 0xfeeb, don't want negative numbers if ints are 16 bits.
3338
3339 * lib/gdb.exp (skip_cplus_tests): New proc.
3340 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3341 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3342 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3343 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3344 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3345 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3346 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3347 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3348
3349 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3350
3351Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3352
3353 * gdb.base/corefile.exp (up): Allow a parameter to appear
3354 in the frame that we're going up to.
3355
3356 From Jim Blandy <jimb@cygnus.com>:
3357
3358 * gdb.base/default.exp (info float): Expect some output now.
3359
3360 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3361 returning floating-point values to fail on the x86.
3362 * gdb.base/callfwmall.exp (do_function_calls): Same.
3363
3364 * gdb.base/list.exp (test_listsize): Correct expectations for
3365 listing line 1 with listsize 2. Also, listing a single line
3366 works now, as does listing three lines. [Kevin's note: There
3367 were a number of other cases fixed too where the expectations
3368 differed...]
3369
33701999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3371
3372 * gdb.base/selftest.exp: Add case for when version prints as
3373 constant string instead of char pointer.
3374
104c1213
JM
33751999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3376
3377 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3378 stepping out of main.
3379
3380 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3381 G++ used.
3382
3383 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3384 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3385
3386 * gdb.c++/ovldbreak.exp: Update match string in test that
3387 includes a warning of multiple breakpoints.
3388
33891999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3390
3391 * gdb.base/display.exp: Improve precision of step-after-finish
3392 added yesterday.
3393
3394 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3395 test.
3396
3397 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3398 configs when using G++, not just hppa*.
3399
34001999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3401
3402 * gdb.base/async.c: New file.
3403 * gdb.base/async.exp: New file.
3404
3405Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3406
3407 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3408 PA64.
3409
53a5351d
JM
3410Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3411
104c1213
JM
3412 * gdb.base/display.exp: "finish" can leave us mid-line on many
3413 targets, deal with it. Add a small constant to main, instead of
3414 1000 since main+1000 may not be a valid address in the target.
3415
53a5351d
JM
3416 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3417 on hpux11.
3418
3419 * gdb.base/attach.exp: Handle another hpux11 error message variant
3420 when attaching to a process that does not exist.
3421
34221999-08-19 J.T. Conklin <jtc@redback.com>
3423
3424 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3425 characters in 'continue to 1241' test.
3426
34271999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3428
3429 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3430 stop in print_long_arg_list, define and use a whitespace
3431 variable in print_small_structs test, add an XFAIL for Solaris.
3432 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3433 interested enough to fix.
3434
7be570e7
JM
34351999-08-13 Keith Seitz <keiths@cygnus.com>
3436
3437 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3438 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3439 proc knows about targets other than the natives.
3440 (test_assign): Use "gdb_run_cmd" to "run" the target.
3441 Check that we've actually hit the breakpoint at main.
3442 When we attempt to assign a value to a local variable, check
3443 that the variable is in the current scope, i.e., don't use
3444 a test with an empty result.
3445
3446Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3447
3448 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3449 command.
3450
34511999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3452
3453 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3454 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3455 gdb.compat, gdb.threads-hp.
3456 gdb.hp/configure, gdb.hp/configure.in: New files.
3457 gdb.hp/Makefile.in: Recurse into new subdirs.
3458 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3459 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3460 in object files.
3461 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3462
96baa820
JM
34631999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3464
3465 * gdb.base/display.exp: Help expect by putting a newline in the
3466 funky printf, remove a bogus p/a test.
3467
34681999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3469
3470 * gdb.base/display.exp: Make sure that when we say 'run', we are
3471 connected to the target. This is necessary when running not
3472 natively.
3473
34741999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3475
3476 * gdb.base/step-test.exp: Removed some extraneous messages.
3477
3478 * gdb.base/long_long.exp: Don't run memory examination tests
3479 on little-endian targets (they will need a different set of
3480 results to match).
3481
34821999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3483
3484 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3485 until somebody decides to fix GDB.
3486
3487 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3488 constant as "ULL".
3489 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3490 matches for a couple x/2 commands.
3491
a0b3c4fd
JM
34921999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3493
3494 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3495 by merging in ref-types2 tests.
3496 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3497
3498 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3499 * gdb.c++/Makefile.in: Add standard actions.
3500 (EXECUTABLES): Rename from PROGS, update list.
3501 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3502 from gdb.hp.
3503 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3504 foo and bar locals.
3505 * gdb.c++/anon-union.exp: Fix tests to match.
3506 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3507 expect matches to handle output variations.
3508 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3509 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3510 output, add HP alternatives for new and delete prints.
3511 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3512 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3513 * gdb.c++/demangle.exp: Use $style when reporting failure.
3514 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3515 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3516 match alternatives.
3517 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3518 compilers.
3519 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3520 * gdb.c++/method.exp: Add match alternatives.
3521 * gdb.c++/misc.cc: Add bool types.
3522 * gdb.c++/misc.exp: Add tests for bool types.
3523 * gdb.c++/overload.exp: Add xfails.
3524 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3525 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3526 add some more template parameter tests (only for HP currently).
3527 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3528 * gdb.c++/virtfunc.cc: Add return type and value for main.
3529 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3530 match alternatives.
beb998c6 3531
a0b3c4fd
JM
35321999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3533
3534 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3535
35361999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3537
3538 * gdb.base/signals.exp: Don't expect getting a backtrace from
3539 within a signal handler to fail on Linux.
3540
35411999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3542
3543 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3544 * lib/gdb.exp: Remove some gratuitious semicolons.
3545 (delete_breakpoints): Increase timeout.
3546 (gdb_expect): Add -notransfer option.
3547 (gdb_test): Use -notransfer option.
3548 (get_compiler_info): Add f77 case.
3549 (get_compiler): New proc, split out from gdb_preprocess, add f77
3550 case.
3551 (gdb_preprocess): Call get_compiler.
3552
3553 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3554 * gdb.base/attach.exp, gdb.base/display.exp,
3555 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3556 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3557 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3558 third arg to gdb_test.
3559 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3560 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3561 HP-UX xfails, add others.
3562 * gdb.base/completion.exp: Reflect name change of self-test.
3563 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3564 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3565 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3566 HP failure number.
3567 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3568 useless HP-UX 10.30 references.
3569 * gdb.base/maint.exp: Loosen matches.
3570 * gdb.base/pointers.c (main): Declare more_code.
3571 * gdb.base/pointers.exp: Match on output of a `next'.
3572 * gdb.base/structs.c: Add prototypes.
3573 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3574 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3575
35761999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3577
3578 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3579 command.
3580
35811999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3582
3583 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3584 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3585
3586 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3587 debug info. Deal with lack of signal hanlder info in stack.
3588
3589 From Jim Kingdon <kingdon@redhat.com>:
3590 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3591
5a2468f5
JM
35921999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3593
3594 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3595 gdb.base/foll-vfork.exp: Don't run for crosses.
3596
adf40b2e
JM
3597Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3598
3599 * gdb.base/configure.in: Check for gdbvars.exp instead of
3600 a1-selftest.exp.
3601 * gdb.base/configure: Re-generate.
3602
36031999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3604
3605 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3606 in trying to run first and name is too long.
3607
3608 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3609 pointers2.c and pointers2.exp, respectively.
3610 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3611 doschk happier.
3612
43e526b9
JM
36131999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3614
3615 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3616 callfuncs2.c and callfuncs2.exp.
3617
3618 * gdb.base/list.exp: Remove mistaken xfails.
3619 * gdb.base/list0.h: Add optional prototypes.
3620
9846de1b
JM
3621Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3622
3623 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3624 calling malloc.
3625 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3626 * ptype.exp: Move test for get_debug_format to before its first
3627 use.
3628
36291999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3630
3631 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3632 * gdb.base/annota2.cc, annota2.exp: Move from here.
3633 * gdb.c++/annota2.cc, annota2.exp: To here.
3634 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3635
43ff13b4
JM
3636Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3637
3638 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3639 a consistent format.
3640
085dd6e6
JM
36411999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3642
3643 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3644 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3645 HP compilers, also set the globals $true and $false.
3646
3647 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3648 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3649 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3650 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3651 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3652 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3653 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3654 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3655 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3656 whatis.c} Add C++ compatible function definitions and return
3657 types, add includes for library functions.
3658 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3659 * gdb.base/step-test.c (myglob): Rename from glob.
3660 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3661 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3662 files, move here from gdb.hp.
3663 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3664 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3665 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3666 Adjust line numbers in regexps.
3667
3668 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3669 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3670 instead of 0/1.
3671
3672 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3673 foll-vfork.exp: New files, move here from gdb.hp.
3674 * gdb.base/page.exp: New file, test of pagination command.
3675
3676 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3677 recursion test.
3678 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3679
3680 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3681 gdb.base/solib.exp: Fix compiler invocation process.
3682
3683 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3684 HP-UX 11, turn off overload resolution explicitly.
3685 * gdb.base/commands.exp: Set argument list explicitly, add
3686 watchpoint test.
3687 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3688 them work.
3689 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3690 expressions properly.
3691 * gdb.base/corefile.exp: Loosen the match slightly.
3692 * gdb.base/default.exp: Allow "Error accessing memory" message
3693 also.
3694 * gdb.base/display.exp: Skip over x/0 j if PA64.
3695 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3696 * gdb.base/interrupt.exp: Ditto.
3697 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3698 in use.
3699 * gdb.base/list.exp: Add xfails for HP-UX.
3700 * gdb.base/long_long.exp: Refine some of the numeric matches.
3701 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3702 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3703 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3704 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3705 * gdb.base/ptype.exp: Succeed on more varieties of output.
3706 * gdb.base/scope.exp: Add xfails for HP-UX.
3707 * gdb.base/sect-cmd.exp: Add more cases.
3708 * gdb.base/setvar.exp: Add xfails for HP-UX.
3709 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3710 * gdb.base/signals.exp: Match on void symbolically.
3711 * gdb.base/step-test.exp: Add case for PA64.
3712 * gdb.base/term.exp: Add exit and restart.
3713 * gdb.base/twice.exp: Clean up after self.
3714 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3715 * gdb.base/whatis.exp: Allow more ways to pass tests.
3716
3717 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3718 no longer useful.
3719
3720Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3721
3722 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3723 list of patterns.
3724 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3725 print_double_array(double_array)", "continuing to breakpoint
3726 1018", "print print_double_array(array_d)" and "continuing to
3727 1034" tests.
beb998c6 3728
085dd6e6
JM
37291999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3730
3731 * Makefile.in: Add empty html and install-html targets.
3732
37331999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3734
3735 * config/mt-*: Remove, these haven't been used since 1996.
3736
37371999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3738
3739 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3740 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3741 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3742
9e0b60a8
JM
37431999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3744
3745 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3746 simpler match case for the ptype of the big class.
3747
37481999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3749
3750 * gdb.exp: Fix test for gdb_prompt existence.
3751
37521999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3753
3754 * gdb.exp (gdb_test): Add fail after calls to perror.
3755
37561999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3757
3758 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3759
37601999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3761
3762 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3763
0f71a2f6
JM
3764Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3765
3766 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3767 malloc() is linked in.
3768
37691999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3770
3771 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3772 step at end.
3773
3774 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3775
37761999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3777
3778 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3779
cce74817
JM
3780Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3781
3782 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3783 * gdb.base/mips_pro.exp: Likewise.
3784
37851999-06-02 Keith Seitz <keiths@cygnus.com>
3786
3787 * gdb.c++/templates.cc: Change all "new" operators to throw
3788 an exception.
3789 * gdb.c++/cplusfuncs.cc: Likewise.
3790
3791 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3792
3793Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3794
3795 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3796 * gdb.base/ending-run.exp: When stepping out of main, accept a
3797 step into an arbitrary assembler file.
3798
392a587b
JM
37991999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3800
beb998c6 3801 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3802 "breakpoint-invalid" to be printed.
beb998c6 3803 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3804 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3805 * gdb.base/annota2.cc: Initialize a.x to 0.
3806
9e086581
JM
38071999-05-17 Keith Seitz <keiths@cygnus.com>
3808
3809 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3810 when "skip_float_tests" set.
3811 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3812 "print print_ten_doubles", and "step into print_long_arg_list".
3813 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3814 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3815 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3816 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3817 "skip_float_tests" is set.
3818 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3819 when "skip_float_tests" set.
beb998c6 3820
cd0fc7c3
SS
38211999-05-06 Keith Seitz <keiths@cygnus.com>
3822
3823 * gdb.base/annota2.cc: Include stdio.h.
3824
3825Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3826
3827 * gdb.base/crossload.exp: Remove, this has been disabled ever
3828 since BFD stopped including all targets, and cross-GDB gets
3829 plenty of testing anyway.
3830 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3831 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3832 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3833 * gdb.base/README: Remove, was doc for this.
3834 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3835 needed.
3836
b83266a0
SS
38371999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3838
3839 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3840 output.
3841
3842 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3843 * gdb.base/annota2.exp: New file. More annotation tests.
3844 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3845 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3846
38471999-04-23 Angela Marie Thomas <angela@cygnus.com>
3848
3849 * config/cfdbug.exp: New file.
3850
7a292a7a
SS
38511999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3852
3853 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3854 Marcus Daniel's and Dale Hawkins's demangler crashes.
3855
3856 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3857 test_lucid_style_demangling, test_arm_style_demangling,
3858 test_hp_style_demangling): Try Tom Tromey's core-dumping
3859 identifier under each demangling style.
3860
38611999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3862
3863 * gdb.c++/demangle.exp: Include the current demangling style
3864 in all test names.
3865 (current_demangling_style): New global variable.
3866 (set_demangling_style, test_demangling_core, test_demangling,
3867 test_demangling_exact): New functions.
3868 (test_gnu_style_demangling, test_lucid_style_demangling,
3869 test_arm_style_demangling, test_hp_style_demangling): Use those,
3870 instead of calling gdb_test and gdb_test_exact directly.
3871 (catch_demangling_errors): New function, which reports errors
3872 signalled by the demangling test functions in an orderly way.
3873 (do_tests): Use catch_demangling_errors.
3874
38751999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3876
3877 * gdb.base/signals.exp (test_handle_all_print): Use () for
3878 grouping in expressions, not {}.
3879
3880 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3881 initialized yet.
3882
38831999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3884
3885 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3886 are listed.
3887
38881999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3889
3890 * gdb.stabs/weird.exp: Test for CC being defined before
3891 looking at its value.
3892
38931999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3894
3895 * gdb.base/call-ar-st.exp: Remove stray '#'.
3896 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3897 "short int" and "long int".
3898 * gdb.c++/overload.cc: Cast the string added in the previous
3899 change, to mollify finicky HP compiler.
3900 * gdb.hp/reg-test.exp (testfile): Fix file name.
3901 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3902
7a292a7a
SS
3903 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3904 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3905 alternate form of enum ptype.
3906
c906108c
SS
39071999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3908
7a292a7a
SS
3909 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3910 * gdb.hp/*.exp: Change all to run compiler probe only after
3911 passing skip_hp_tests, so as not to waste time on guaranteed
3912 failure.
3913
c906108c
SS
3914 * gdb.c++/overload.cc: Pass string instead of char addr, always
3915 init ccpfoo.
3916 * gdb.c++/templates.cc: Fix syntax error.
3917
7a292a7a
SS
3918Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3919
3920 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3921 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3922 command.
3923
39241999-03-18 James Ingham <jingham@cygnus.com>
3925
3926 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3927
3928 * gdb.c++/method.exp: It was testing an uninitialized int on the
3929 stack and assuming it was positive.
3930
3931 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3932
3933 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3934 keep it from killing the rest of the tests.
7a292a7a
SS
3935 Use gdb_continue_to_end.
3936
3937 * gdb.base/sigall.exp: use gdb_continue_to_end.
3938
3939 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3940
3941 * gdb.base/display.exp: use runto_main, not run.
3942
beb998c6
AC
3943 * gdb.base/default.exp: Check for the current error message in the
3944 r abbreviation test.
7a292a7a
SS
3945 Add strongarm to the targets that know info float.
3946
beb998c6 3947 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3948 run which doesn't work with monitors.
3949
3950 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3951
3952 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3953
3954 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3955 program. Traps the case (in Cygmon) when the program never really
3956 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3957 more places, so I used my name. Sorry Mark...
3958
3959 * config/monitor.exp (gdb_target_monitor): added another
3960 target_info parameter: remotebinarydownload. This will set the
3961 remotebinarydownload flag if this is causing some boards trouble.
3962
39631999-03-18 Mark Salter <msalter@cygnus.com>
3964
3965 * lib/gdb.exp (continue_to_exit): New function.
3966
3967 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3968 * gdb.base/ending-run.exp: Ditto.
3969 * gdb.base/step-test.exp: Ditto.
3970
39711999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3972
3973 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3974 (suggested by Art Haas <ahaas@neosoft.com>).
3975
39761999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3977
3978 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3979
3980Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3981
3982 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3983 descriptions of types (short unsigned int vs unsigned short, etc).
3984
39851999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3986
3987 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3988 a call to strlen; sometimes we do have sources.
3989
39901999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3991
3992 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3993 character, so GDB won't print garbage after its end.
beb998c6 3994
c906108c
SS
3995 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3996 breakpoint there instead. Sometimes GCC emits memcpy to handle
3997 the large structures being passed by value, so we step into that
3998 instead of sum_array_print, which obscures what we're really testing.
3999 * gdb.base/step-test.exp: However, we do want a test that notices
4000 the bizarre steps into memcpy, so do that here. Add check for
4001 stepping into function calls that pass large structures by value.
4002 ("Is that a noun clause, or are you just happy to see me?")
4003 Remove all references to specific line numbers.
4004 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4005 New type and function.
4006 (main): Call large_struct_by_value, passing it a large struct by value.
4007 * lib/gdb.exp (gdb_get_line_number): New function.
4008
4009 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4010 more portable.
4011
7a292a7a
SS
40121999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4013
c906108c
SS
4014 * lib/gdb.exp: Doc fixes.
4015
7a292a7a
SS
40161999-03-05 Nick Clifton <nickc@cygnus.com>
4017
beb998c6 4018 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4019
40201999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4021
c906108c
SS
4022 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4023 commands. They're not germane to this test, and they don't work
4024 that way on remote targets.
4025
3fc11d3e
JM
40261999-03-01 James Ingham <jingham@cygnus.com>
4027
4028 * Changelog entries merged over from gdb development branch.
4029
3fc11d3e
JM
4030 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4031
4032 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4033 for outputting results of test run.
4034
2d4a1622 4035 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4036
4037 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4038
7a292a7a
SS
40391999-02-25 Felix Lee <flee@cygnus.com>
4040
4041 * lib/gdb.exp (debug_format): initialize
4042
c906108c
SS
40431999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4044
4045 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4046 * gdb.base/call-rt-st.c: Ditto.
4047
c906108c
SS
40481999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4049
4050 * gdb.threads/pthreads.exp (horiz): New variable.
4051 (test_startup): Fix regexps that capture thread numbers.
4052
40531999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4054
4055 * gdb.base/smoke.exp: Disambiguate two test case names (both
4056 called ``print'').
4057
4058Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4059
4060 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4061 compilation.
4062
40631999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4064
4065 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4066 actual output formatting.
4067 * gdb.base/smoke.exp: GDB removes leading 0's.
4068 * gdb.base/volatile.exp: Don't check type of remuneration;
4069 that variable is no longer defined in constvars.c.
4070 * gdb.base/step-test.c (main): Exit with explicit exit code.
4071 * gdb.base/step-test.exp: Remove two nexti checks--they are
4072 not portable.
4073
40741999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4075
4076 * gdb.base/help.exp ("help delete display"): Fix test to match
4077 gdb's output.
4078
4079 * gdb.base/long_long.c (known_types): Initialize values to zero.
4080 * gdb.base/long_long.exp: Step one more line
4081 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4082 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4083 unique test case names.
4084
4085Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4086
beb998c6 4087 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4088
4089 * gdb.c++/method.exp: Add missing close brace.
4090
40911999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4092
4093 * gdb.base/maint.exp: Use 'set height 0' to disable page
4094 prompting, not 'set height 400'.
4095
4096 Fix a bunch of timeouts.
4097 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4098 four separate tests, so expect doesn't take forever to match a ton
4099 of text against a regexp with lots of .* forms.
4100 ("maint print psymbols", "maint print symbols"): Make some of
4101 these greps more selective, so that expect doesn't try to wade
4102 through huge piles of output and time out.
4103
4104 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4105
4106 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4107 tests: one which doesn't expect shlib events to be reported, and
4108 another which does, but is XFAIL for all platforms other than
4109 HP/UX.
4110
4111 * gdb.base/break.exp: Teach the test suite that the `catch
4112 fork', `catch vfork', and `catch exec' commands produce error
4113 messages on platforms that don't provide these features.
4114
4115Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4116
4117 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4118 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4119 (shortening names from solib_threshold.exp etc), won't run on
4120 anything but HP-UX for the foreseeable future.
4121 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4122 reflect move.
4123
4124Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4125
4126 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4127 gdb.trace/Makefile.in (clean): Remove all test executables.
4128
4129Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4130
4131 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4132 successfully re-sets breakpoints in shared libraries.
4133 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4134
4135Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4136
beb998c6
AC
4137 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4138 and compiled w/o GCC.
c906108c
SS
4139
4140 * gdb.hp/watch-cmd.exp: ditto.
4141
4142 * gdb.hp/watch-hp.exp: ditto.
4143
4144 * gdb.hp/xdb1.exp: ditto.
4145
4146 * gdb.hp/xdb2.exp: ditto.
4147
4148 * gdb.hp/dbx.exp: ditto.
4149
4150Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4151
4152 * constvars.c: Remove C++-isms.
4153 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4154 with GCC.
4155
4156Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4157
4158 The following changes are part of the HP merge.
4159
4160 * gdb.base/break.exp: new tests to verify that catchpoints for
4161 fork, vfork, and exec don't trigger inappropriately.
4162
4163 * gdb.base/opaque.exp: compile one file at a time, then link.
4164
4165 * gdb.base/signals.exp: be more restrictive about which hppa
4166 systems receive a setup_xfail. new tests.
4167
4168 * gdb.base/solib_threshold.build: new file.
4169 * gdb.base/solib_threshold.exp: new file.
4170 * gdb.base/solib_threshold.link_opts: new file.
4171 * gdb.base/solib_threshold.mk: new file.
4172 * gdb.base/gen_solib_threshold.c: new file.
4173
4174 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4175 tests. New tests for enums inside classes.
4176
4177 * gdb.c++/compiler.cc: indicate support of template debugging.
4178
4179 * gdb.c++/demangle.exp: run hp style demangling tests.
4180
4181 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4182 tests.
4183
4184 * gdb.c++/misc.cc: changes to support new tests.
4185
4186 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4187 to support new tests.
4188
4189 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4190 gcc, then skip these tests.
4191
4192Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4193
4194 The following files are part of the HP merge; some had longer
4195 names at HP, but have been renamed to be no more than 14
4196 characters in length.
4197
4198 * gdb.hp/ambiguous.cc: new file.
4199 * gdb.hp/ambiguous.exp: new file.
4200 * gdb.hp/attach.exp: new file.
4201 * gdb.hp/attach2.exp: new file.
4202 * gdb.hp/classes-hp.exp: new file.
4203 * gdb.hp/ctti.exp: new file.
4204 * gdb.hp/ctti-add.cc: new file.
4205 * gdb.hp/ctti-add1.cc: new file.
4206 * gdb.hp/ctti-add2.cc: new file.
4207 * gdb.hp/ctti-add3.cc: new file.
4208 * gdb.hp/dbx.exp: new file.
4209 * gdb.hp/exception.cc: new file.
4210 * gdb.hp/exception.exp: new file.
4211 * gdb.hp/foll-exec.c: new file.
4212 * gdb.hp/foll-exec.exp: new file.
4213 * gdb.hp/foll-fork.c: new file.
4214 * gdb.hp/foll-fork.exp: new file.
4215 * gdb.hp/foll-vfork.c: new file.
4216 * gdb.hp/foll-vfork.exp: new file.
4217 * gdb.hp/inherit-hp.exp: new file.
4218 * gdb.hp/more-steps.exp: new file.
4219 * gdb.hp/namespace.cc: new file.
4220 * gdb.hp/namespace.exp: new file.
4221 * gdb.hp/optimize.exp: new file.
4222 * gdb.hp/pxdb.c: new file.
4223 * gdb.hp/pxdb.exp: new file.
4224 * gdb.hp/quicksort.exp: new file.
4225 * gdb.hp/reg-test.exp: new file.
4226 * gdb.hp/reg-test.s: new file.
4227 * gdb.hp/sized-enum.c: new file.
4228 * gdb.hp/sized-enum.exp: new file.
4229 * gdb.hp/start-stop.exp: new file.
4230 * gdb.hp/templ-hp.cc: new file.
4231 * gdb.hp/templ-hp.exp: new file.
4232 * gdb.hp/thr-lib.c: new file.
4233 * gdb.hp/thr-lib.exp: new file.
4234 * gdb.hp/thr-lib.h: new file.
4235 * gdb.hp/thr-liblib.c: new file.
4236 * gdb.hp/virtfun-hp.c: new file.
4237 * gdb.hp/virtfun-hp.exp: new file.
4238 * gdb.hp/watch-cmd.exp: new file.
4239 * gdb.hp/watch-hp.exp: new file.
4240 * gdb.hp/xdb1.exp: new file.
4241 * gdb.hp/xdb2.exp: new file.
4242 * gdb.hp/xdb3.exp: new file.
4243
4244Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4245
4246 The following files are part of the HP merge; some had longer
4247 names at HP, but have been renamed to be no more than 14
4248 characters in length.
4249
4250 * gdb.base/ss.h: new file.
4251 * gdb.base/call-ar-st.c: new file.
4252 * gdb.base/call-ar-st.exp: new file.
4253 * gdb.base/call-rt-st.c: new file.
4254 * gdb.base/call-rt-st-exp: new file.
4255 * gdb.base/call-strs.exp: new file.
4256 * gdb.base/ena-dis-br.exp: new file.
4257 * gdb.base/environ.exp: new file.
4258 * gdb.base/long_long.exp: new file.
4259 * gdb.base/sect-cmd.exp: new file.
4260 * gdb.base/shlib-cl2.exp: new file.
4261 * gdb.base/smoke.exp: new file.
4262 * gdb.base/so-impl-ld.c: new file.
4263 * gdb.base/so-impl-ld.exp: new file.
4264 * gdb.base/so-indr-cl.c: new file.
4265 * gdb.base/so-indr-cl.exp: new file.
4266 * gdb.base/varargs.exp: new file.
4267 * gdb.base/volatile.exp: new file.
4268 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4269 * gdb.base/display.exp: new file.
c906108c
SS
4270 * gdb.c++/derivation.exp: new file.
4271 * gdb.c++/local.exp: new file.
4272 * gdb.c++/member-ptr.exp: new file.
4273 * gdb.c++/overload.exp: new file.
4274 * gdb.c++/ovldbreak.exp: new file.
4275 * gdb.c++/ref-types.exp: new file.
4276 * gdb.c++/ref-types2.exp: new file.
4277 * gdb.c++/userdef.exp: new file.
beb998c6 4278
c906108c
SS
4279Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4280
4281 * gdb.base/default.exp: Reflect wording change in remote.c.
4282
dc96c6c7 4283Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4284
4285 * gdb.base/help.exp: Update to reflect current text.
4286
4287Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4288
4289 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4290 they're stack variables and contain garbage.
4291 * gdb.c++/anon-union.exp: new file.
4292
4293 The following changes were made by David Taylor
4294 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4295 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4296 in changes by HP.
4297
4298 * gdb.base/bitops.exp: new file.
4299 * gdb.base/default.exp: change expected messages for catch and
4300 info catch tests to reflect HP merge changes.
4301 * gdb.base/enable-disable-break.exp
4302 * gdb.base/ending-run.c: new file.
4303 * gdb.base/long_long.c: new file.
4304 * gdb.base/maint.exp: new file.
4305 * gdb.base/pointers2.exp: new file.
4306 * gdb.base/shlib-call2.exp: new file.
4307 * gdb.base/solib.exp: new file.
4308 * gdb.base/step-test.c: new file.
4309 * gdb.c++/anon-union.cc: new file.
4310 * gdb.c++/local.cc: new file.
4311 * gdb.c++/member-pointer.cc: new file.
4312 * gdb.c++/method.cc: new file.
4313 * gdb.c++/ref-types.cc: new file.
4314 * gdb.c++/ref-types2.cc: new file.
4315 * gdb.c++/userdef.cc: new file.
beb998c6 4316
c906108c
SS
4317 * gdb.base/scope.exp: compile one file at a time, then link.
4318 * gdb.base/langs.exp: ditto.
4319 * gdb.base/list.exp: ditto.
beb998c6 4320
c906108c
SS
4321Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4322
4323 The following changes were made by David Taylor
4324 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4325 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4326 in changes by HP.
beb998c6 4327
c906108c
SS
4328 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4329 skip tests. When compiling pass c++ flag to gdb_compile.
4330 * gdb.c++/
beb998c6 4331
c906108c
SS
4332 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4333 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4334 (skip_hp_tests): new function.
4335 (gdb_preprocess): new function.
4336
4337 * configure.in (hpdir): decide whether to configure gdb.hp.
4338 * configure: regenerated.
4339
4340 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4341 to delete on clean.
4342 (EXECUTABLES): update to reflect new additions.
4343 * gdb.base/commands.exp: update message expected.
4344 * gdb.base/default.exp: add copyright notice.
4345 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4346 * gdb.base/help.exp: update messages to reflect current text.
4347 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4348 targets for recurse tests.
4349 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4350 skip this file.
4351
4352 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4353 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4354 compilation.
4355 * gdb.c++/misc.exp: ditto.
4356 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4357 run the tests. tell gdb_compile that it's a c++ compilation.
4358
4359 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4360
c906108c
SS
4361 * gdb.base/all-bin.exp: new file.
4362 * gdb.base/arithmet.exp: new file.
4363 * gdb.base/assign.exp: new file.
4364 * gdb.base/completion.exp: new file.
4365 * gdb.base/cond-expr.exp: new file.
4366 * gdb.base/condbreak.exp: new file.
4367 * gdb.base/define.exp: new file.
4368 * gdb.base/dollar.exp: new file.
4369 * gdb.base/environment.exp: new file.
4370 * gdb.base/eval-skip.exp: new file.
4371 * gdb.base/jump.exp: new file.
4372 * gdb.base/logical.exp: new file.
4373 * gdb.base/pointers.exp: new file.
4374 * gdb.base/relational.exp: new file.
4375 * gdb.base/section_command.exp: new file.
4376 * gdb.base/whatis-expr.exp: new file.
4377
4378 * gdb.base/all-types.c: new file.
4379 * gdb.base/call-array-struct.c: new file.
4380 * gdb.base/call-return-struct.c: new file.
4381 * gdb.base/call-strings.c: new file.
4382 * gdb.base/callfuncs2.c: new file.
4383 * gdb.base/condbreak.c: new file.
4384 * gdb.base/constvars.c: new file.
4385 * gdb.base/display.c: new file.
4386 * gdb.base/int-type.c: new file.
4387 * gdb.base/jump.c: new file.
4388 * gdb.base/miscexprs.c: new file.
4389 * gdb.base/pointers.c: new file.
4390 * gdb.base/pointers2.c: new file.
4391 * gdb.base/shmain.c: new file.
4392 * gdb.base/shr1.c: new file.
4393 * gdb.base/shr2.c: new file.
4394 * gdb.base/solib.c: new file.
4395 * gdb.base/solib1.c: new file.
4396 * gdb.base/solib2.c: new file.
4397 * gdb.base/varargs.c: new file.
4398 * gdb.c++/derivation.cc: new file.
4399 * gdb.c++/overload.cc: new file.
4400 * gdb.c++/ovldbreak.cc: new file.
4401 * gdb.hp/attach.c: new file.
4402 * gdb.hp/attach2.c: new file.
4403 * gdb.hp/average.c: new file.
4404 * gdb.hp/compiler.c: new file.
4405 * gdb.hp/compiler.cc: new file.
4406 * gdb.hp/execd-program.c: new file.
4407 * gdb.hp/follow-exec.c: new file.
4408 * gdb.hp/follow-fork.c: new file.
4409 * gdb.hp/follow-vfork-and-exec.c: new file.
4410 * gdb.hp/misc-hp.cc: new file.
4411 * gdb.hp/more-steps.c: new file.
4412 * gdb.hp/optimize.c: new file.
4413 * gdb.hp/quicksort.c: new file.
4414 * gdb.hp/run-hp.c: new file.
4415 * gdb.hp/start-stop.c: new file.
4416 * gdb.hp/sum.c: new file.
4417 * gdb.hp/templates-hp.cc: new file.
4418 * gdb.hp/thread-local-in-lib.c: new file.
4419 * gdb.hp/thread-local-in-lib.h: new file.
4420 * gdb.hp/thread-local-in-lib.lib.c: new file.
4421 * gdb.hp/vforked-program.c: new file.
4422 * gdb.hp/virtfunc-hp.cc: new file.
4423 * gdb.hp/watchpoint-hp.c: new file.
4424 * gdb.hp/xdb.c: new file.
4425 * gdb.hp/xdb0.c: new file.
4426 * gdb.hp/xdb0.h: new file.
4427 * gdb.hp/xdb1.c: new file.
4428
4429Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4430
4431 The following change was made by Edith Epstein
4432 <eepstein@cygnus.com> as part of a project to merge in changes
4433 originally made by HP; HP did not create ChangeLog entries.
4434
4435 * gdb.c++/demangle.exp: changed the expected output for some
4436 ARM-style mangling -- removed second reference to datatype.
4437 For example, maint demangle __dt__11T1__pt__2_cFv
4438 T1<char>::~T1<char>(void)
4439 becomes,
4440 maint demangle __dt__11T1__pt__2_cFv
4441 T1<char>::~T1(void)
4442
4443 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4444
c906108c
SS
4445Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4446
4447 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4448 * gdb.trace/backtrace.exp: Likewise.
4449 * gdb.trace/circ.exp: Likewise.
4450 * gdb.trace/collection.exp: Likewise.
4451 * gdb.trace/deltrace.exp: Likewise.
4452 * gdb.trace/infotrace.exp: Likewise.
4453 * gdb.trace/limits.exp: Likewise.
4454 * gdb.trace/packetlen.exp: Likewise.
4455 * gdb.trace/passc-dyn.exp: Likewise.
4456 * gdb.trace/passcount.exp: Likewise.
4457 * gdb.trace/report.exp: Likewise.
4458 * gdb.trace/save-trace.exp: Likewise.
4459 * gdb.trace/tfind.exp: Likewise.
4460 * gdb.trace/tracecmd.exp: Likewise.
4461 * gdb.trace/while-dyn.exp: Likewise.
4462 * gdb.trace/while-stepping.exp: Likewise.
4463
44641998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4465
4466 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4467
4468Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4469
4470 From Brendan Kehoe:
4471 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4472 int return types.
4473
4474Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4475
4476 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4477 remote dos host testing right.
4478
4479Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4480
4481 * gdb.base/corefile.exp: remove some xfails.
4482
4483Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4484
4485 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4486 have different timestamps.
4487
4488Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4489
4490 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4491 gdb.base/default.exp: Replace "exec" with "executable".
4492
4493Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4494
4495 * gdb.base/default.exp: Change else if to elseif from previous
4496 delta.
4497
4498Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4499
4500 * gdb.base/default.exp: Add brace missing from previous delta.
4501
4502Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4503
4504 * gdb.base/default.exp: Support test for info float for all
4505 varieties of arm toolchain.
4506
dc96c6c7 4507Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4508
4509 * gdb.trace/*.exp: remove "remote_download" command.
4510
dc96c6c7 4511Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4512
4513 * gdb.trace/*.exp: remove -gdwarf from compile.
4514
4515Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4516
4517 * gdb.trace/configure.in(AC_INIT): typo
4518 * gdb.trace/configure: regenerated
4519
dc96c6c7 4520Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4521
4522 * config/m68k-emc.exp: New file.
4523 * lib/<emc-support.exp trace-support.exp}: New files.
4524 * configure.in: add new test directory gdb.trace.
4525 * gdb.trace/{configure configure.in Makefile.in}: New files.
4526 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4527 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4528 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4529 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4530 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4531 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4532 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4533
dc96c6c7 4534Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4535
4536 * gdb.c++/classes.exp: Change all regular expressions to match
4537 arbitrary combinations of newline/carriage-return, so that they
4538 will work equally well on Unix and Windows.
4539 * gdb.c++/inherit.exp: ditto.
4540 * gdb.c++/virtfunc.exp: ditto.
4541
45421998-08-11 Dawn Perchik <dawn@cygnus.com>
4543
4544 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4545
c2d11a7d
JM
4546Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4547
4548 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4549 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4550 to use a0-a3/d0-d3 as needed.
4551
4552Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4553
4554 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4555 * gdb.disasm/am33.exp: Corresponding changes.
4556
c906108c
SS
45571998-07-11 Felix Lee <flee@cygnus.com>
4558
4559 * gdb.base/callfuncs.exp: add cmp10 test.
4560 * gdb.base/callfuncs.c (cmp10): new function.
4561
4562Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4563
beb998c6 4564 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4565 into two parts to get around a synchronization problem in expect.
4566
3fc11d3e
JM
4567Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4568
4569 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4570
4571 * configure.in: Add options for gdbtk testsuite.
4572
4573 * configure: Regenerate.
4574
4575 * gdb.gdbtk: New directory to hold gdbtk tests.
4576
c906108c
SS
4577Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4578
4579 * gdb.fortran/types.exp: Escape brackets in expect patterns
4580 for test_float_literal_types_accepted tests.
4581 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4582 before run test.
4583
c2d11a7d
JM
4584Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4585
4586 * am33.exp: Just compile, do not link the testcase.
4587 * am33.s: Add ".am33" pseudoop to force am33 mode.
4588
c906108c
SS
45891998-06-25 Felix Lee <flee@cygnus.com>
4590
4591 * gdb.base/setshow.exp: make sure $pc is sane.
4592
4593 * gdb.stabs/weird.exp: split expect patterns properly.
4594
c2d11a7d
JM
4595Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4596
4597 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4598 * gdb.disasm/am33.exp: Run it.
4599
dc96c6c7 4600Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4601
4602 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4603 match processing (and eliminate spurious timeouts when running).
4604
dc96c6c7 4605Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4606
4607 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4608 exception test, but conditionalize it on target [mach | gnu].
4609
dc96c6c7 4610Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4611
4612 * gdb.base/overlays.exp: fixup compile line for linker script.
4613
4614Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4615
4616 * gdb.fortran/types.exp: don't guess at float size.
4617
4618Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4619
4620 * gdb.base/exprs.exp: delete test that depends on int size.
4621
4622Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4623
4624 * config/sim.exp: Removed checks for target triplets.
4625 (gdb_target_sim): Use gdb,target_sim_options.
4626
4627Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4628
4629 * gdb.base/reread.exp: New file.
4630 * gdb.base/reread1.c: New file.
4631 * gdb.base/reread2.c: New file.
4632
4633Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4634
4635 * config/sim.exp: Use 'target sim -sparclite' when running
4636 SPARClite programs.
4637
4638Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4639
4640 * gdb.base/structs2.exp: New file.
4641 * gdb.base/structs2.c: New file.
4642
4643Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4644
4645 * gdb.asm/common.inc: New file.
4646 * gdb.asm/d10v.inc: New file.
4647 * asm-source.exp: Pass -I's to gas to find .inc files.
4648 Update line numbers in expected output.
4649 * asmsrc1.s: Rewrite.
4650 * asmsrc2.s: Rewrite.
4651 * configure.in: Create arch.inc symlink.
4652 * configure: Regenerate.
4653 * Makefile.in (distclean): Delete arch.inc.
4654
4655Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4656
4657 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4658 (t_enum_value2): ditto
4659 (t_enum_value3): ditto
4660 (main): ditto
4661Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4662
4663 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4664 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4665 change.
4666 Use gdb_test instead of send_gdb/gdb_expect sequences.
4667
4668Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4669
4670 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4671 not void.
4672
4673Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4674
4675 * gdb.base/branches.c: Code with lots of loops and
4676 subroutines. Used to test gdbs ability to single step through PC
4677 changes, especially to test mips-tdep.c:mips_next_pc
4678
4679Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4680
4681 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4682 more rigorous EGCS C++ error checking.
4683
4684Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4685
4686 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4687 tests.
c906108c 4688 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4689 function when asleep.
c906108c 4690 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4691 for i*86 Linux and SVR4 signal handling problems.
4692 Remove linux xfail for `next to handler in signals_tests_1', fixed
4693 by recent infrun.c change.
c906108c 4694 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4695 stack backtraces.
c906108c
SS
4696 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4697 target.[ch] change.
4698
4699Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4700
4701 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4702 for a newline from gdb before continuing.
4703 (default_gdb_exit): Just look for y or n.
4704 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4705 it does, fail the rests of the tests in the file.
4706
4707Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4708
4709 * config/cygmon.exp: New file.
4710
4711Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4712
4713 * gdb.base/list.exp: Fix problem with "list default lines around
4714 main" test on remote targets.
4715
4716 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4717 run test on remote targets.
4718
4719Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4720
4721 * gdb.asm: New directory.
4722 * configure.in: Configure it.
4723 * configure: Regenerate.
4724 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4725 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4726
4727Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4728
4729 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4730
dc96c6c7 4731Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4732
c906108c
SS
4733 * gdb.base/overlays (several files): Merge the two overlay
4734 managers into one. Change variables (foox, barx, bazx, grbxx)
4735 back into ints but force them to load in their proper sections.
4736
4737Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4738
4739 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4740 on-chip insn memory and IMAP1 to upper 128k.
4741 (D10VCopy): Handle memory regions crossing 16k boundaries.
4742 (D10VCopy): Transfer data in 32 bit chunks.
4743
4744Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4745
4746 * gdb.base/overlays.c (main): Exit normally when result is
4747 correct.
4748
4749 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4750 map. Include space for printf in .text segment.
4751
4752 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4753 updated d10v memory VMA/LMA map.
4754 (D10VCopy): Call D10VTranslate.
beb998c6 4755
c906108c
SS
4756Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4757
4758 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4759
4760 * gdb.base/bar.c (barx, bar): Change variable to small array so
4761 that it won't be put into the .sdata - small data -
4762 section. Update reference.
4763 * gdb.base/baz.c (bazx, baz): Ditto.
4764 * gdb.base/foo.c (foox, foo): Ditto.
4765 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4766
4767 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4768 to be arrays.
beb998c6 4769
dc96c6c7 4770Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4771
c906108c
SS
4772 * gdb.base/overlays.exp: fix up and get working again.
4773 Add tests for backtraces from an overlay function.
beb998c6 4774
c906108c
SS
4775Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4776
4777 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4778 "calling function with watchpoint enabled".
4779
4780Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4781
4782 * gdb.base/break.exp (test_next_with_recursion): Remove
4783 gdb_suppress_tests for d10v-*-*.
4784 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4785 pending review of whether it is useful or not.
4786
4787Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4788
4789 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4790
4791Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4792
4793 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4794 * config/dve.exp: New file to support Densan boards.
4795
4796Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4797
4798 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4799 reads and BSD.
4800
4801Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4802
4803 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4804 response.
4805
4806 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4807
4808Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4809
4810 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4811 test.
4812
4813 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4814 target_sizeof_long and target_bigendian_p.
4815 (structs_by_value, structs_by_reference): Check values according
4816 to targets word size and endianess.
beb998c6 4817
c906108c
SS
4818Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4819
4820 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4821 output.
4822
4823Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4824
4825 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4826 Update test of set args help to match source change.
4827
4828Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4829
4830 * gdb.base/default.exp: Expect help system output to be in
4831 alphabetical order.
4832 * gdb.base/help.exp: Ditto.
4833
4834Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4835
4836 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4837 "i*86-pc-linux-gnu*".
4838 * gdb.base/interrupt.exp: Ditto.
4839 * gdb.base/corefile.exp: Ditto.
4840
4841 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4842 define vxworks when building the testcase.
4843
4844 * gdb.base/ptype.exp: Fix testnames to be unique.
4845 * gdb.base/radix.exp: Ditto.
4846 * gdb.base/term.exp: Ditto.
4847 * gdb.base/whatis.exp: Ditto.
4848 * gdb.c++/classes.exp: Ditto.
4849
4850Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4851
4852 * gdb.base/callfuncs.exp: Fix indentation.
4853
4854 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4855 suppress_flag has been set.
4856 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4857 target feature.
4858
4859Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4860
4861 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4862 the testcase.
4863
4864 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4865 set_debug_traps() and breakpoint().
4866 * gdb.c++/misc.cc (main): Ditto.
4867 * gdb.c++/templates.cc (main): Ditto.
4868 * gdb.c++/virtfunc.cc (main): Ditto.
4869
4870Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4871
4872 * lib/gdb.exp(gdb_step_for_stub): New function.
4873 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4874 exists, reload the executable and do a "continue" instead of
4875 doing a jump.
4876 (runto_main): Use gdb_step_for_stub.
beb998c6 4877
c906108c
SS
4878 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4879 tests to have unique names.
4880 * gdb.base/callfuncs.exp: Ditto.
4881 * gdb.base/commands.exp: Ditto.
4882 * gdb.base/default.exp: Ditto.
4883 * gdb.base/help.exp: Ditto.
4884 * gdb.base/list.exp: Ditto.
4885 * gdb.base/opaque.exp: Ditto.
4886 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4887 similar tests.
beb998c6 4888
c906108c
SS
4889 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4890 * gdb.c++/cplusfuncs.cc: Ditto.
4891 * gdb.c++/virtfunc.cc: Ditto.
4892
4893 * config/monitor.exp: Keep track of the last file we saw, rather
4894 than trying to get the info from gdb.
4895
4896 * gdb.fortran/types.exp: Move comment to previous line.
4897
4898Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4899
4900 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4901 target mode.
4902
4903Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4904
4905 From Bob Manson:
4906 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4907 string from GDB when it connects.
4908
4909 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4910
4911Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4912
4913 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4914 if we can't get a debug format from GDB (we may be testing an
4915 older GDB). Use a 10 second timeout when checking for the format.
4916
4917 * gdb.stabs/weird.exp: Fix quoting.
4918
4919 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4920
4921Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4922
4923 * config/arm-ice.exp: New file.
4924
4925Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4926
4927 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4928 until it has been modified to work with the new testsuite.
4929
99707966 4930 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4931 testcase won't compile, cause all of the testcases in the file to
4932 fail instead.
4933
4934 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4935 (gdb_clear_suppressed): New procedure.
4936 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4937 it contains a positive value.
4938
4939Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4940
4941 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4942
4943 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4944
4945Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4946
4947 * lib/gdb.exp (setup_xfail_format): New function.
4948 (get_debug_format): New function to get debug format.
4949 (debug_format): New global variable to hold last value set
4950 by get_debug_format.
4951 * gdb.base/list.exp: Call get_debug_format and expect some
4952 tests to fail for DWARF 1 and COFF formats.
4953 * gdb.c++/ptype.exp: Ditto.
4954 * gdb.c++/classes.exp: Ditto.
4955 * gdb.c++/cplusfuncs.exp: Ditto.
4956 * gdb.c++/inherit.exp: Ditto.
4957 * gdb.c++/templates.exp: Ditto.
4958 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4959
c906108c
SS
4960Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4961
4962 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4963 host doesn't have a currently-open connection.
4964
4965 * config/sparclet.exp: Cleanups and fixes to make it generic for
4966 any gdb stub target. Handle cases where gdb doesn't respond when
4967 interrupted in a sane fashion.
4968
4969 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4970 same thing in a totally different way.
4971
4972 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4973 setting "timeout".
4974 (gdb_start): We set the global gdb_prompt variable in
4975 default_gdb_init now.
4976
4977Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4978
4979 * gdb.base/printcmds.exp: Fix "check for floating addition"
4980 regexp to accept results within approx +/- .01 of exact value.
4981 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4982
4983Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4984
4985 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4986 properly.
4987 (gdb_expect): Add optional timeout parameter, and add timeout
4988 value to various calls.
4989 (gdb_suppress_tests): Only give one warning message per group.
4990
4991Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4992
4993 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4994 global variables. Handle getting a value for $timeout more
4995 gracefully.
4996
4997Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4998
4999 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5000 initialize.
5001 (default_gdb_init): New procedure; allow gdb_init to be overridden
5002 by a target configuration file.
5003 (gdb_expect): Pass the timeout to remote_expect.
5004
5005 * config/monitor.exp(gdb_load): Fix typo in regexp.
5006
5007Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5008
5009 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5010
5011Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5012
5013 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5014 here. Call gdb_target_exec before rebooting the target, to make
5015 sure the connection to the target is closed.
5016 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5017 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5018 Also detect "Timeout reading from remote" error.
5019
5020 * config/gdbserver.exp: Pass the executable being loaded to
5021 gdb_target_monitor. Don't call gdb_file_cmd here; let
5022 gdb_target_monitor do it.
5023
5024 * gdb.disasm/hppa.exp: Don't use exec_output.
5025
5026Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5027
5028 * gdb.base/list.exp: If we're debugging a non-native target,
5029 try to set the pc register to point to the start of the
5030 program before doing the first list command.
5031
5032 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5033 test_calls after restarting.
5034
5035 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5036 reloading.
5037
5038 * gdb.base/watchpoint.exp: Fix typo.
5039
5040 * gdb.base/setshow.exp: Check for use_gdb_stub.
5041
5042 * gdb.base/break.exp: Fix continue until exit test for the gdb
5043 stub case.
5044 * gdb.base/langs.exp: Ditto.
5045
5046 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5047 gdb_load_offset. If we weren't given a file to load, figure out
5048 what the current file is and use it.
5049
5050 * config/i386-bozo.exp: New file.
5051
5052Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5053
5054 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5055 feature.
5056
5057 * config/proelf.exp: New entry.
5058
5059Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5060
5061 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5062 of regexps.
5063
5064 * gdb.base/watchpoint.exp: Don't run the test_stepping
5065 tests if gdb can't call functions on the target.
5066
5067 * gdb.base/setshow.exp: Don't run the set prompt tests if
5068 the board has gdb_prompt set.
5069
5070Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5071
5072 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5073 * gdb.base/commands.exp: Likewise.
5074 * gdb.base/setshow.exp: Likewise.
5075
5076Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5077
5078 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5079 feature.
5080
5081 * config/i960.exp: New file.
5082
5083Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5084
5085 * gdb.base/funcargs.exp: Check for gdb,short_int target
5086 feature instead of looking for explicit target triplets.
5087
dc96c6c7 5088Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5089
beb998c6 5090 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5091 "p 123DEADBEEF", to check parse_number.
5092 * top.c: change "to enable to enable" to "to enable" in a couple
5093 of help strings.
5094
5095Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5096
5097 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5098 on the mn10300.
beb998c6 5099
c906108c
SS
5100Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5101
5102 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5103 where the test executable is run with explicit args.
5104 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5105
5106Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5107
5108 * gdb.base/run.c: Use FAKEARGV to build test executable that
5109 does not require a command line arg, since most simulators
5110 don't currently support passing such an arg into the simulated
5111 program.
5112 * gdb.base/commands.exp: Change tests to insert the proper
5113 value as the arg to the first recursive factorial call. Change
5114 compilation line to define FAKEARGV at compile time.
5115
5116Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5117
5118 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5119 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5120 function with watchpoint enabled" test.
5121
5122Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5123
5124 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5125 Don't call gdb_test when the command doesn't return to a gdb prompt.
5126
5127 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5128 "Tests restarted" messages.
5129
5130Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5131
5132 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5133
dc96c6c7 5134Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5135
5136 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5137 for INFO SYMBOL; add help tests for OVERLAY commands.
5138 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5139 add tests for OVERLAY commands
5140 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5141 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5142 * gdb.base/sigall.c: add usestubs code frag
5143 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5144
c906108c
SS
5145Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5146
5147 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5148 failures.
5149 (gdb_stop_suppressing_tests): Note that tests have restarted.
5150
5151Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5152
5153 * config/h8300.exp: New file.
5154
5155Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5156
5157 * gdb.base/setshow.exp: Check for the existence of a
5158 feature, not its value.
5159
5160Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5161
5162 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5163
5164 * gdb.base/scope.exp: It's now init0(), not init().
5165
5166 * gdb.base/scope0.c: For now, change init() to be init0().
5167
5168 * config/monitor.exp: Use gdb_serial in preference to serial
5169 or netport.
5170
5171 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5172 and it's not already set.
5173
5174Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5175
5176 * gdb.base/setshow.exp: Only test the run command if the target
5177 isn't using a stub and if it supports argument passing.
5178
5179Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5180
5181 * config/udi.exp(gdb_start): Make sure UDICONF is set
5182 properly before starting gdb.
5183
5184Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5185
5186 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5187 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5188 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5189
5190Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5191
5192 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5193 specialized code to reboot the board, use remote_reboot instead.
5194
5195 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5196
5197 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5198
5199 * config/monitor.exp: Make sure we disconnect from the target.
5200 Also, try a reboot/reload cycle instead of failing if the
5201 load fails.
5202
5203Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5204
5205 * gdb.base/default.exp: Don't set match_max.
5206 * gdb.base/help.exp: Ditto.
5207 * gdb.base/list.exp: Ditto.
5208 * gdb.base/signals.exp: Ditto.
5209
5210 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5211 set, use remote_ld to download the testcase instead of
5212 the GDB loader.
5213
5214Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5215
5216 * config/vr5000.exp: New file.
5217
5218 * config/monitor.exp(gdb_target_monitor): Add pattern for
5219 "Ending remote" to detect errors in connecting.
5220
5221 * gdb.base/setshow.exp: Add .* within auto language test.
5222
5223 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5224 target feature.
5225
5226 * config/monitor.exp(gdb_load): Check for a failure when loading,
5227 and reboot the board if necessary.
5228
5229 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5230 a set of tests. Remove print.* from the patterns being checked.
5231
5232Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5233
5234 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5235 refer to gdb_spawn_id.
5236
5237 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5238 longer used.
5239 * config/sparclet.exp: Ditto.
5240 * config/sparclet-old.exp: Ditto.
5241 * config/slite.exp: Ditto.
5242 * config/sim.exp: Ditto.
5243 * gdb.base/funcargs.exp: Ditto.
5244
5245 * lib/gdb.exp:Remove references to gdb_spawn_id.
5246 (gdb_expect): Move to remote.exp.
5247
5248Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5249
5250 * config/monitor.exp: Detect the "Couldn't establish connection"
5251 message from GDB.
5252
5253Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5254
5255 * gdb.base/bitfields.exp: Use runto instead of explicit
5256 gdb_run_cmd/gdb_expect sequences.
5257
5258 * gdb.base/break.exp(text_next_with_recursion): Add match for
5259 gdb_expect call.
5260
5261 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5262 We also need to handle the "A program is being debugged already"
5263 prompt from gdb. Use gdb_test to set the baud rate.
5264
5265 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5266 to 20000. Really. I mean it.
5267
5268Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5269
5270 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5271 fails. If suppress_flag is set, skip perror message about not
5272 being able to send to GDB.
5273 (send_gdb): If suppress_flag is set, don't try to send commands to
5274 GDB.
5275 (gdb_expect): If suppress_flag is set, always fail immediately.
5276 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5277 (gdb_init): Call gdb_stop_suppressing_tests.
5278 (default_gdb_exit): Ditto.
5279 (default_gdb_start): Ditto.
5280
5281 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5282 gdb_stop_suppressing_tests as appropriate.
5283 * gdb.base/break.exp: Ditto.
5284 * gdb.base/callfuncs.exp: Ditto.
5285 * gdb.base/commands.exp: Ditto.
5286 * gdb.base/exprs.exp: Ditto.
5287 * gdb.base/funcargs.exp: Ditto.
5288 * gdb.base/list.exp: Ditto.
5289 * gdb.base/recurse.exp: Ditto.
5290 * gdb.base/scope.exp: Ditto.
5291 * gdb.base/structs.exp: Ditto.
5292 * gdb.c++/inherit.exp: Ditto.
5293
5294Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5295
5296 * config/vr4300.exp: New file.
5297
99707966
MC
5298 * gdb.*/*.exp: Call gdb_expect instead of expect.
5299
5300 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5301
5302Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5303
5304 * lib/gdb.exp(gdb_init): New function.
5305
5306 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5307 for each individual variable set.
5308
5309 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5310 name.
5311
5312 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5313
5314 * gdb.base/scope.exp: Use gdb_test.
5315
5316 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5317 aborting; the testsuite driver will do that for us (see
5318 gdb_finish). Also, use gdb_test in a few more places.
5319
5320Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5321
5322 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5323
5324Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5325
5326 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5327 and "add_tests" are not at the same address.
5328
5329Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5330
5331 * gdb.base/ptype.exp: Use gdb_test.
5332
5333Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5334
5335 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5336 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5337 left in. No longer expect them to fail.
5338
5339 * gdb.stabs/*.mt; Deleted, no longer used.
5340 * gdb.stabs/configure.in: Remove references to target makefile
5341 frags.
5342 * gdb.stabs/configure: Rebuilt.
5343
5344 * gdb.disasm/*.mt: Deleted, no longer used.
5345 * gdb.disasm/configure.in: Remove references to target makefile
5346 frags. Use "sh3.s" as the unique filename for this directory.
5347 * gdb.disasm/configure: Rebuilt.
5348
5349 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5350 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5351 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5352
5353Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5354
5355 * config/udi.exp: Use mondfe,name instead of remote_host.
5356
5357Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5358
5359 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5360 a function with a watchpoint enabled on the mn10200.
5361
5362 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5363 before trying to create it!
5364
5365Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5366
5367 * config/vx.exp: Use hostname instead of netport.
5368
5369 * config/vxworks.exp: New file.
5370
5371 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5372
5373 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5374 gdb before assuming everything worked. Send a ^C if a timeout
5375 occurs.
5376
5377 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5378 $gdb_spawn_id directly.
5379 (gdb_run_cmd): Try _start as well as start. Use the target feature
5380 gdb,start_symbol as the symbol to start from when jumping.
5381
5382Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5383
5384 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5385 redundant) test.
5386
5387 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5388 it doesn't lose for 16bit integer systems.
5389
5390Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5391
5392 * gdb.fortran/types.exp: If the target doesn't support "double"
5393 data types, then expect "real" types to only be 4 bytes.
5394
5395 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5396 call tests if the target doesn't support inferior function calls.
5397
5398 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5399 in printf tests.
5400
5401Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5402
5403 * gdb.base/help.exp: Disable "help set", "help show", and
5404 "help support". Simplify regexp for "help stack".
5405
5406 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5407 to 60 seconds. Temporarily set match_max to 15000 around the
5408 "info copying" test.
5409
5410 * gdb.base/nodebug.exp: Don't try to do an inferior function
5411 call if the target doesn't support them.
5412 * gdb.base/printcmds.exp: Likewise.
5413 * gdb.base/setvar.exp: Likewise.
5414 * gdb.base/structs.exp: Likewise.
5415 * gdb.c++/templates.exp: Likewise.
5416 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5417
5418 * gdb.base/recurse.exp: Enable for the mn10200.
5419
5420 * configure.in: Do configure gdb.stabs directory for *-*-elf
5421 targets.
5422 * configure: Rebuilt.
5423
5424 * gdb.base/break.exp: Check for gdb,noresults before testing
5425 exit status and/or results from the target.
5426 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5427 * lib/gdb.exp: Remove old (now bogus) initialization of
5428 noinferior, noargs, noresults and nosignals.
5429
5430Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5431
5432 * config/sh.exp: New file.
5433
5434 * config/slite.exp: Try to connect multiple times to the board
5435 before rebooting. Only send a "monitor run" if need_monitor_run
5436 is set.
5437
5438 * gdb.base/break.exp: Don't do the "stub continue" test if
5439 the target has gdb_stub set.
5440
5441 * gdb.base/callfuncs.exp: Increase the timeout.
5442
5443 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5444 if the target has gdb,noinferiorio set.
5445
5446 * gdb.base/list.exp: Increase match_max to 10000 characters.
5447
5448 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5449
5450 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5451 target.
5452
5453 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5454
5455Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5456
5457 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5458 trying to delete the copy of gdb. Catch the file delete so we
5459 don't die if the delete fails; also, the file should be copied to
5460 the host, not to the build.
5461
5462Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5463
5464 * lib/gdb.exp(gdb_test): Surround the result pattern with
5465 parenthesis in case it contains multiple regexps separated
5466 with |.
5467
5468 * gdb.base/watchpoint.exp: Use gdb_test.
5469 * gdb.base/default.exp: Ditto.
5470
5471Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5472
99707966 5473 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5474
c906108c
SS
5475 * gdb.base/scope.exp: Use gdb_test.
5476 * gdb.c++/classes.exp: Ditto.
5477 * gdb.c++/inherit.exp: Ditto.
5478
5479Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5480
5481 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5482 remote_exec instead.
5483 * gdb.base/corefile.exp: Don't be ridiculous.
5484 * gdb.base/*.c: Add missing stub invocations.
5485
5486Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5487
5488 * config/slite.exp: Miscellaneous fixes.
5489
5490 * lib/gdb.exp: Fix runto.
5491
5492 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5493 the target.
5494
5495 * gdb.base/watchpoint.exp: Fix regexp.
5496
5497 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5498 close and wait commands, as the descriptor may now be
5499 invalid. Always call "remote_close host".
5500
5501Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5502
5503 Major rewrite for testsuite revision.
beb998c6 5504
c906108c
SS
5505 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5506 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5507 instead of relying on spawn_id to always contain a valid
5508 spawn id.
5509 (get_compiler_info): New procedure to build the ${binfile}.ci
5510 file, instead of replicating this in N different places.
5511 (gdb_compile): New procedure.
beb998c6 5512
c906108c
SS
5513 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5514 appropriate arguments) instead of compile. Use gdb_test in a lot
5515 more places. Use send_gdb instead of send. Always run gdb_start
5516 at the start of a testcase, as this is no longer done magically.
5517
5518 config/*-gdb.exp: Rename without the -gdb suffix.
5519
5520 config/mips.exp: Use remote_close instead of exit_remote_shell.
5521 config/monitor.exp: Use target_info instead of looking at
5522 baud, timeout, etc.
5523 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5524
5525Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5526
5527 * gdb.c++/templates.exp (test_ptype_of_templates),
5528 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5529 Update expect patterns for destructors and assignment operators
5530 to match corresponding c-typeprint.c changes.
5531 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5532 to destructor breakpoint test, GDB should be able to set the
5533 destructor breakpoint without specifying arguments.
5534
5535Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5536
5537 * gdb.threads/pthreads.exp: Change result for failure to compile due
5538 to lack of pthreads runtime support from an error to simply an
5539 unsupported test, per dejagnu standards.
5540
5541Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5542
5543 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5544 where GDB exits to reduce pattern match time.
5545 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5546
5547 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5548
dc96c6c7 5549Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5550
5551 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5552 * gdb.base/default.exp: ditto.
5553 * gdb.base/nodebug.exp: ditto.
5554 * gdb.base/printcmds.exp: ditto.
5555 * gdb.base/ptype.exp: ditto.
5556 * gdb.base/setvar.exp: ditto.
5557 * gdb.base/structs.exp: ditto.
5558 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5559
5560Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5561
5562 * configure, */configure: Rebuild with autoconf 2.12.
5563
5564Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5565
5566 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5567 use new i*86-pc-linux*-gnu quads.
5568 * gdb.base/corefile.exp: Ditto.
5569 * gdb.base/signals.exp: Ditto.
5570 * gdb.base/sigall.exp: Ditto.
5571 * gdb.base/interrupt.exp: Ditto.
5572
5573 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5574 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5575 RedHat 4.0.
beb998c6 5576
c906108c
SS
5577 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5578 linux. This allows the test case to at least compile on latest
5579 linux, but still not run due to missing the threads runtime library.
5580
5581Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5582
5583 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5584 directory to search gdb directory. Accept and step over conditional
5585 stack alignment code. Consume $prompt in failure cases.
5586 Reset timeout to $oldtimeout instead of some arbitrary value.
5587 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5588 timeout problems with infinite stack backtraces.
5589 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5590 Accept function parameters for linkfunc member.
5591
5592Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5593
5594 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5595 (CXXFLAGS): Remove, unreferenced.
5596 (B_OPTIONS): Add for -B options and add code to initialize with
5597 previous -B options and also add -B option to pick up cross compiled
5598 runtime.
5599 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5600 doing cross compiles.
5601 (target_alias): Declare global.
5602 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5603 to verify that gcc exists in build tree, and if so set CC to that
5604 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5605
c906108c
SS
5606Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5607
5608 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5609 ptype test for anonymous union. Fixup testcase to match
5610 current gcc debug output.
5611
5612Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5613
5614 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5615 force argument to an unsigned long type.
5616
5617Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5618
5619 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5620 tests and anonymous union print/ptype tests.
5621 * gdb.base/list.exp (test_forward-search): Increase timeout by
5622 5 minutes for the "search extremely long line" case.
5623 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5624 completely optional and that the pass/fail messages use the command as
5625 the message if that third arg is a null string.
5626 (gdb_test_exact): Arrange that a null string pattern means match a
5627 null string output rather than any output, which might include random
5628 errors.
5629 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5630 backtrace test.
5631 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5632 always failing and failure is now exposed by gdb.exp changes.
5633
5634Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5635
5636 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5637 weren't being noted.
5638
5639Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5640
5641 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5642 * gdb.stabs/weird.exp: Remove v_comb xfails.
5643
dc96c6c7 5644Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5645
5646 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5647 list.exp scope.exp watchpoint.exp]
5648 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5649
dc96c6c7 5650Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5651
5652 * config/monitor.exp: Increase download timeout to 1000 seconds.
5653
dc96c6c7 5654Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5655
5656 * config/m32r.exp: Increase timeout to 120 seconds.
5657
5658Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5659
5660 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5661 and accept older ordering as obsolescent gcc or gdb.
5662 * gdb.c++/templates.exp: Ditto.
5663 * gdb.c++/virtfunc.exp: Ditto.
5664
5665Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5666
5667 * gdb.base/coremaker.c: Add code to mmap some data so we
5668 can check that it ends up in the core file.
5669 * gdb.base/corefile.exp: Add test to read mmapped data
5670 from core file.
5671
dc96c6c7 5672Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5673
5674 * config/m32r.exp: New file.
5675
5676Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5677
5678 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5679 that cflags can contains -gstabs, and work correctly for other tests.
5680
dc96c6c7 5681Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5682
5683 * gdb.base/setshow.exp: New file, tests show and set.
5684 * gdb.base/setshow.c: New file, tests show and set.
5685 * gdb.base/help.exp: Add test for help set|show annotate.
5686 * gdb.base/default.exp: Add test for set|show annotate.
5687
5688Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5689
5690 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5691 errors unique.
5692 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5693 explicitly.
5694
5695Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5696
5697 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5698 and width commands. This is done elsewhere.
5699 * (gdb_start): Don't call gdb_start_sim here. That's already
5700 done in gdb_load. This fixes lots of failures in default.exp.
5701
5702Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5703
5704 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5705 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5706 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5707 in the same we we treat other failures (since it may be an expected
5708 condition), rather than as an error.
5709 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5710 old test format.
5711
5712Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5713
5714 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5715 (distclean maintainer-clean realclean): No need to remove files
5716 twice. Nuke the duplicates.
5717 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5718 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5719 Remove config.h along with other config files.
5720
5721Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5722
5723 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5724 "p func1 ()" and note that rests of tests are skipped.
5725 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5726 setup_xfails for "print func2::coremaker_local".
5727 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5728 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5729 affected by the previous run test.
5730 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5731 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5732 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5733 "pass int powerset tuple" and "pass modeless int powerset tuple".
5734 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5735 "real write 4" and "real write 8".
5736 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5737 setup_xfails for "print vs1 after tuple assign 2",
5738 "print \$i after tuple assign 2", and
5739 "print vs2 after tuple assign 2".
5740 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5741 meaningful error message and return -1 so the caller can
5742 suppress further tests and avoid a cascade of errors.
beb998c6 5743
c906108c
SS
5744Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5745
5746 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5747 format for printing version.
5748 * gdb.base/default.exp: Ditto.
5749 * gdb.base/interrupt.exp: Fix problem with cascade of
5750 errors if child process dies while calling a function.
beb998c6 5751
c906108c
SS
5752Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5753
5754 * Makefile.in (VPATH): Add
5755 * Makefile.in (Makefile, config.status): Fix rules so things get
5756 remade when necessary.
5757
5758Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5759
5760 * Makefile.in (just-check): Add path to sibling expect dir
5761 to environment variable specified by RPATH_ENVVAR.
5762
5763Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5764
5765 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5766 (just-check): Add shared library paths for libstdc++, tk,
5767 tcl, bfd, and opcodes to the environment variable specified
5768 in RPATH_ENVVAR.
5769 * configure.in: Add support to recognize --enable-shared flag
5770 and generate correct value for RPATH_ENVVAR.
5771 * configure: Regenerated with autoconf.
5772
5773Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5774
5775 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5776 include all osf versions.
5777 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5778 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5779 when target is linux. When failing to build pthreads test
5780 executable, give more meaningful message.
5781 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5782 arg for pthread_create.
beb998c6 5783
c906108c
SS
5784Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5785
5786 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5787 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5788 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5789 and -lpthreads (everybody else).
5790 (test_startup): Fail gracefully if threads are not supported.
5791 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5792 "p/c array_index("abcdef",2)" when not gcc compiled.
5793 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5794 "print func2::coremaker_local" when not gcc compiled.
5795 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5796 "ptype on opaque struct tagname (statically)",
5797 "ptype on opaque struct tagname (dynamically) 1", and
5798 "ptype on opaque struct tagname (dynamically) 2"
5799 for not compiled with gcc.
5800 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5801 backtrace when compiled with gcc.
beb998c6 5802 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5803 than always return success.
5804
5805Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5806
5807 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5808
5809Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5810
5811 * gdb.base/structs.exp: Undo last change.
5812
5813Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5814
5815 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5816 encapsulate all the steps/nexts done during self test, starting
5817 at main, and makes them less sensitive to optimization issues.
5818 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5819 signal handler" test.
5820 * gdb.threads/pthreads.exp: Only run this for native configs.
5821 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5822 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5823 tests.
5824 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5825 for "runto test_calls(void)" test.
beb998c6 5826
c906108c
SS
5827Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5828
5829 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5830 and don't expect address info in breakpoint confirmations.
5831
5832Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5833
5834 * gdb.base/list.exp (test_forward_search): Increase timeout
5835 temporarily by 60 seconds for searching extremely long line,
5836 and then reset to old value when done. Increase expect input
5837 buffer to 10000.
5838
5839Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5840
5841 * gdb.base/list.exp (test_forward_search): Fix to handle very
5842 long source line without overflowing expect's input buffer.
5843
5844Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5845
5846 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5847 "buffer_full".
5848
5849 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5850 "buffer_full".
5851
5852 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5853 "buffer_full".
5854
5855 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5856 "buffer_full".
5857
5858Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5859
5860 * configure.in (configdirs): Add gdb.threads.
5861 * configure: Regenerated with autoconf.
5862 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5863 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5864 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5865
c906108c
SS
5866Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5867
5868 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5869
5870Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5871
5872 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5873 each signal's status in the output of "handle all print".
5874 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5875 the \r\n sequence that immediately precedes the gdb prompt.
5876 * gdb.base/a1-selftest.exp: Save original timeout and restore
5877 after test.
5878
5879Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5880
5881 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5882 symbol.
5883
5884Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5885
5886 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5887
5888Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5889
5890 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5891 timeout by 60 seconds.
5892
5893Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5894
5895 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5896 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5897 error return.
5898
5899Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5900
5901 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5902 gdb initialization, also report how long dejagnu waited. Restore
5903 old timeout before doing error return. Temporarily increase timeout
5904 by 3 minutes to allow for slow startups over heavy NFS use.
5905
5906Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5907
5908 * lib/gdb.exp: Report timeout value for verbosity level 2.
5909 * config/gdbserver.exp: Ditto.
5910 * config/hppro.exp: Ditto.
5911 * config/mips-gdb.exp: Ditto.
5912 * config/monitor.exp: Ditto.
5913 * config/netware.exp: Ditto.
5914 * config/sim-gdb.exp: Ditto.
5915 * config/slite-gdb.exp: Ditto.
5916 * config/udi-gdb.exp: Ditto.
5917 * config/unix-gdb.exp: Ditto.
5918 * config/vx-gdb.exp: Ditto.
5919 * gdb.base/a1-selftest.exp: Ditto.
5920 * gdb.base/a2-run.exp: Ditto.
5921 * gdb.base/break.exp: Ditto.
5922 * gdb.base/corefile.exp: Ditto.
5923 * gdb.base/list.exp: Ditto.
5924 * gdb.base/recurse.exp: Ditto.
5925 * gdb.base/scope.exp: Ditto.
5926 * gdb.base/signals.exp: Ditto.
5927
5928Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5929
5930 * gdb.threads/Makefile.in (docdir): Removed.
5931
5932Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5933
5934 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5935 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5936 @srcdir@.
beb998c6 5937 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5938 autoconf 2.5 or higher.
5939 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5940
5941Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5942
5943 * configure: Regenerated.
5944 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5945 avoid name clashes with SunOS headers.
5946
5947Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5948
5949 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5950
5951Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5952
5953 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5954 prototype information ends up in the compiler info file.
5955
5956Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5957
5958 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5959 attempting to regenerate it. Eliminate use of a temporary file
5960 and just generate the info file directly. Source it immediately,
5961 for consistency of use.
5962 * gdb.base/corefile.exp: Ditto
5963 * gdb.base/exprs.exp: Ditto.
5964 * gdb.base/funcargs.exp: Ditto.
5965 * gdb.base/langs.exp: Ditto.
5966 * gdb.base/list.exp: Ditto.
5967 * gdb.base/mips_pro.exp: Ditto.
5968 * gdb.base/nodebug.exp: Ditto.
5969 * gdb.base/opaque.exp: Ditto.
5970 * gdb.base/ptype.exp: Ditto.
5971 * gdb.base/scope.exp: Ditto.
5972 * gdb.base/setvar.exp: Ditto.
5973 * gdb.base/signals.exp: Ditto.
5974 * gdb.base/whatis.exp: Ditto.
5975 * gdb.c++/templates.exp: Ditto.
5976 * gdb.c++/virtfunc.exp: Ditto.
5977 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5978 whether or not to add -lstdc++ to the compile command line args.
5979
5980Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5981
5982 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5983 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5984 Increase timeout, a lot of single stepping might be needed if the
5985 target has no hardware watchpoints.
5986
5987Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5988
5989 * gdb.base/break.exp: Ignore compiler warnings when compiling
5990 break.c.
5991 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5992 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5993 from remote-sim.
5994 * gdb.base/exprs.exp: Add h8300 xfails.
5995 * gdb.base/funcargs.exp: Likewise.
5996 * gdb.base/nodebug.exp: Likewise.
5997 * gdb.base/printcmds.exp: Likewise.
5998 * gdb.base/ptype.exp: Likewise.
5999 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6000 h8300 xfails.
beb998c6 6001 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6002 on the h8300.
6003 * gdb.base/funcargs.c: Explicitly make last constant argument to
6004 call_after_alloca_subr an unsigned long type.
6005 * gdb.base/return.c: Include stdio.h.
6006
6007Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6008
6009 * config/abug.exp: New file for the older Motorola Bug monitor
6010 that runs on the mvme13x series VME boards.
6011 * config/monitor.exp: Use the new config array for target settings
6012 if they exist.
6013
6014Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6015
6016 * sim-gdb.exp: Make the SH simulator allocate less space when
6017 it is targeted.
6018
6019Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6020
6021 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6022 test.
6023
6024Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6025
6026 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6027 "rs6000-*-*" for "list function in include file" when gcc compiled.
6028 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6029 for "p ctable1[120]".
6030 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6031 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6032 Remove setup_xfail for "rs6000-*-*" for
6033 "print 'scope0.c'::filelocal before run".
6034 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6035 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6036 since some compilers don't allow both options to be given
6037 on the same command line. Create object file and move it.
beb998c6 6038
c906108c
SS
6039Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6040
6041 * gdb.base/corefile.exp: Always regenerate the core file, since
6042 we always regenerate the coremaker program. Detect special case
6043 where registers cannot be read from core file.
beb998c6 6044
c906108c
SS
6045Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6046
6047 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6048 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6049 * gdb.c++/templates.exp: Only match on basename of file since
6050 some formats like xcoff don't encode directory information.
6051 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6052 and rs6000 AIX xcoff targets.
6053 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6054 * configure: Regenerate.
6055 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6056 here, rather than in distclean.
beb998c6 6057
c906108c
SS
6058Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6059
6060 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6061 defined, and use it to compile the test case with -O2. The
6062 native compilation still uses no optimization.
6063 * gdb.base/mips_pro.c: Remove inline assembly code since
6064 it is compiled PIC by default, which results in assembler
6065 warnings that make the testsuite think the compilation
6066 was unsuccessful.
6067
6068Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6069
6070 * gdb.c++/misc.exp: Add note to message for
6071 "print s.a for foo struct" that this is a known gcc 2.7.2
6072 and earlier bug.
6073
6074Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6075
6076 * gdb.base/break.exp: Fix pattern for matching "Delete all
6077 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6078 setup_xfail for deleting all breakpoints test. Fix various
6079 timeout messages to include "(timeout)".
6080 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6081 for "p t_float_values2(3.14159,float_val2)".
6082 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6083 for "continue to call2g" when gcc compiled.
6084 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6085 "up to foo in langs.exp", "show language at foo in langs.exp",
6086 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6087 and "show language at fsub in langs.exp".
6088 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6089 "list line 1 in include file", "list message for lines past EOF",
6090 "list function in include file", "list list0.h:foo", and
6091 "list filename:function; nonexistant function".
6092 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6093 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6094 and "ptype t_char_array" to be for native cc only.
beb998c6 6095
c906108c
SS
6096Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6097
beb998c6 6098 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6099 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6100 "print func2::coremaker_local", and "backtrace in corefile.exp".
6101
6102Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6103
6104 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6105 "bt in signals.exp". This problem only appears when running
6106 the testsuite, and then only intermittently.
6107
6108Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6109
6110 * gdb.base/return.exp (return_tests): Differentiate between
6111 two tests of continuing.
6112
6113Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6114
6115 * */Makefile.in (maintainer-clean): Remove config.log.
6116 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6117 * gdb.c++/Makefile.in (PROGS): Add inherit.
6118 (clean): Remove *.ci.
6119
6120Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6121
6122 * gdb.c++/misc.cc: Add test code from Mike Stump.
6123 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6124
6125Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6126
6127 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6128 to "alpha-*-osf2*" and add comment.
6129 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6130 setup_xfail for "step over execarg initialization" and
6131 "step over corearg initialization".
6132 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6133 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6134 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6135 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6136 "print func2::coremaker_local", and "backtrace in corefile.exp".
6137 * gdb.base/signals.exp: Build and source signals.ci.
6138 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6139 to be for gcc only.
6140 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6141
c906108c
SS
6142Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6143
6144 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6145 Feb 3 procfs.c change.
6146
6147Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6148
6149 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6150
6151Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6152
6153 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6154 from dejagnu's apparent default of 10 seconds, which gives random
6155 results when running the tests over NFS on moderately loaded systems.
6156 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6157
6158Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6159
6160 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6161 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6162 result reports.
6163
6164Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6165
6166 * configure.in (CY_AC_PATH_TCLH): Remove.
6167 * configure: Regenerate.
6168
6169Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6170
6171 * gdb.c++/Makefile.in (clean): Add missing '{'.
6172
6173Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6174
6175 * lib/gdb.exp: Provide a default value for noinferior.
6176
6177 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6178 Load libgloss.exp.
6179
6180Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6181
6182 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6183 the executable, not the .o to run the tests from.
6184
6185Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6186
6187 * gdb.base/break.exp: Don't test for program exit or exit status
6188 if $noresults if nonzero.
6189 * gdb.base/langs.exp: Likewise.
6190 * gdb.base/watchpoint.exp: Likewise.
6191
6192 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6193 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6194 trying to compile the testcase.
6195
6196Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6197
6198 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6199 * gdb.base/signals.exp (continue to handler): Likewise.
6200
6201Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6202
6203 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6204
6205 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6206
6207Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6208
6209 * gdb.base/corefile.exp: Recognize "not found" as failure
6210 when trying to determine if a core file was generated.
6211 If no core file was generate the first time, try again without
6212 the ulimit -c to work around braindamaged shells.
6213
6214Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6215
6216 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6217 [] tests with "test" and enclose string in quotes.
6218 * gdb.stabs/configure: Rebuild
beb998c6 6219
c906108c
SS
6220Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6221
6222 Changes in sync with expect:
6223 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6224 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6225 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6226 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6227 argument to AC_REQUIRE.
6228 * configure: Regenerated.
6229
6230Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6231
6232 * gdb.base/corefile.exp: When generating a core, discard any
6233 error messages about ulimit not found and the "core dumped"
6234 message from the shell that runs the coredumper.
6235
6236Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6237
6238 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6239
6240 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6241 which sed script to run. Expect failure for v_comb test
6242 on PA targets too.
beb998c6 6243
c906108c
SS
6244Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6245
6246 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6247 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6248
6249Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6250
6251 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6252 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6253 "sparc-sun-solaris*" xfails for "p v_comb".
6254 * lib/gdb.exp (default_gdb_start): Fix typo.
6255 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6256 messages to not include the full program name that caused
6257 the core dump since some systems (such as solaris) apparently
6258 truncate this path to about 80 characters.
6259 When generating a core file first try increasing the core file
6260 size limit to unlimited since some systems may default it to
6261 zero, and it is harmless to try it. Move the test for failing
6262 to generate a core file to where it will actually get executed.
6263 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6264 new gdb result from g++ debug info improvements and make old
6265 pattern obsolescent. Also account for size_t differences
6266 (may be int or long).
6267 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6268 initialization before function call is placed in the delay slot
6269 and thus appears to be skipped over by commands such as "next".
6270
6271Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6272
6273 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6274
6275Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6276
6277 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6278 input source file; fix code to compile test to deal with this
6279 convention.
6280 * gdb.c++/*.exp: Likewise.
6281
6282Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6283
6284 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6285 "bt in signals.exp".
6286
6287Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6288
6289 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6290 "step over execarg initialization" and
6291 "step over corearg initialization".
6292
6293Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6294
6295 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6296 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6297
6298Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6299
6300 From Rob Savoye (rob@poseidon.cygnus.com)
6301 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6302 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6303 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6304 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6305 configure.in}: Major reworking for autoconfig.
6306 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6307 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6308 New files.
6309 * config/unix-gdb.exp: Make GDB global.
6310 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6311 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6312 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6313 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6314 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6315 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6316 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6317 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6318 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6319 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6320 pr-8136.exp, result.exp, string.exp, tuples.exp},
6321 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6322 to returns as necessary, arrange for test to compile own testcase
6323 executable.
6324 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6325
c906108c
SS
6326Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6327
6328 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6329 clear_xfail at end of test which might not call either pass or fail.
6330 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6331 "backtrace through signal handler".
6332
6333Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6334
6335 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6336 continuing from a job control stop signal.
6337 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6338
6339Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6340
6341 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6342 * gdb.base/corefile.exp: Likewise.
6343 * gdb.base/funcargs.exp: Likewise.
6344
6345Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6346
6347 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6348 * config/monitor.exp: Add support for setting baud rate.
6349
6350Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6351
6352 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6353 i*86-*-linux* xfails for "backtrace through signal handler".
6354 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6355 "print func2::coremaker_local".
6356 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6357 alpha-dec-osf2* xfail for
6358 "delete all breakpoints when none".
6359
6360Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6361
6362 * gdb.base/break.exp: Change test that deletes all breakpoints
6363 when no user breakpoints are installed. A post 4.15 change
6364 causes gdb to no longer prompt in this case.
6365
6366Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6367
6368 * gdb.base/return.exp (return_tests): Change xfail for test
6369 "correct value returned double test" to stop xfailing at
6370 Solaris 2.5. Apparently the bug has been fixed.
6371
6372Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6373
6374 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6375 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6376
6377Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6378
6379 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6380 * gdb.disasm/hppa.s: Corresponding changes.
6381
6382Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6383
6384 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6385 makefile fragment.
6386 * config/mt-hpux: Deleted.
6387
6388Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6389
beb998c6 6390 * Many files: When warning about suppressed tests due to a
c906108c
SS
6391 nonexistant test binary, avoid incrementing the warning count.
6392
6393Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6394
6395 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6396
c906108c
SS
6397Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6398
6399 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6400 "sparc-*-solaris2*".
6401
6402Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6403
6404 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6405 Add global and local variables and initialize them.
6406 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6407 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6408 extracts the file name and terminating signal from the core file.
6409 * TODO: Remove note about tests for correct mapping of corefile.
6410 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6411 from optimizing it away.
6412 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6413 handles common blocks.
6414
6415Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6416
6417 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6418 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6419
6420Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6421
6422 * Makefile.in (maintainer-clean): New target, synonym for
6423 realclean.
6424 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6425 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6426 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6427 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6428 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6429 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6430
6431Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6432
6433 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6434 xfails when not gcc compiled for "print foo::funclocal".
6435 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6436 "print foo::funclocal at foo",
6437 "print 'scope1.c'::foo::funclocal at foo",
6438 "print foo::funclocal_bss at foo",
6439 "print 'scope1.c'::foo::funclocal_bss at foo",
6440 "print foo::funclocal_ro at foo",
6441 "print 'scope1.c'::foo::funclocal_ro at foo",
6442 "print bar::funclocal at foo" and
6443 "print 'scope1.c'::bar::funclocal at foo".
6444 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6445 gcc compiled for "print foo::funclocal at bar".
6446 Expand all messages to ensure that they identify that
6447 the test is at bar().
6448 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6449 gcc compiled for:
6450 "ptype on opaque struct pointer (statically)",
6451 "ptype on opaque struct tagname (statically)",
6452 "ptype on opaque struct pointer (dynamically) 1",
6453 "ptype on opaque struct tagname (dynamically) 1",
6454 "ptype on opaque struct pointer (dynamically) 2" and
6455 "ptype on opaque struct tagname (dynamically) 2
6456 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6457 gcc compiled for:
6458 "p datalocal"
6459 "whatis datalocal",
6460 "ptype datalocal",
6461 "p bsslocal",
6462 "whatis bsslocal", and
6463 "ptype bsslocal".
6464 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6465 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6466 when not gcc compiled.
6467 * gdb.base/funcargs.exp (float_and_integral_args): Add
6468 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6469 compiled.
6470 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6471 "backtrace from call6a" when not gcc compiled.
6472 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6473 "backtrace from call7a" when not gcc compiled.
6474 * gdb.base/callfuncs.exp (do_function_calls):
6475 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6476 "p t_char_array_values(char_array_val2,char_array_val1)",
6477 "p t_char_array_values(char_array_val1,char_array_val2)",
6478 "p t_char_array_values("carray 1","carray 2")",
6479 "p t_char_array_values("carray 1",char_array_val2)",
6480 "p t_char_array_values(char_array_val1,"carray 2")",
6481 "p sum_args(1,{2})",
6482 "p sum_args(2,{2,3})",
6483 "p sum_args(3,{2,3,4})",
6484 "p sum_args(4,{2,3,4,5})"
6485 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6486 "backtrace in corefile.exp" when not gcc compiled.
6487
6488Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6489
6490 * gdb.base/signals.exp: Rewrite `handle all print' test as
6491 a procedure. Accept blanks or TABs as whitespace, increase
6492 timeout and expect input buffer size for the large output
6493 from the command. Remove "i*86-*-bsdi2.0" xfail.
6494
6495Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6496
6497 * gdb.base/setvar.exp: Add new testcases for truncation when
6498 assigning invalid values to bitfields.
6499
6500Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6501
beb998c6 6502 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6503 mips-sgi-irix* xfail for
6504 "call inferior func with struct - returns char *"
6505 and fix test so that an optional (unsigned char *) cast is
6506 accepted in the result.
6507
6508Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6509
6510 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6511 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6512 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6513 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6514 that accidentally got checked in.
6515
6516Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6517
beb998c6 6518 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6519 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6520 compiled test.
6521 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6522 Add mips-sgi-irix5* xfail for not gcc compiled.
6523 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6524 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6525 "p top", "whatis top", "p middle", and "whatis middle".
6526 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6527 "whatis signed char" for not gcc compiled.
6528 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6529 "set variable signed char=-1 (-1)" and
6530 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6531 * gdb.base/funcargs.exp (float_and_integral_args):
6532 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6533 Add mips-sgi-irix* xfail when not gcc compiled for
6534 "continue to call2b".
6535 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6536 "continue to call2g".
6537 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6538 "backtrace from call6a"
6539 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6540 "backtrace from call7k".
6541 Add mips-sgi-irix5* xfail when not gcc compiled for
6542 "backtrace from call7a".
6543 (localvars_after_alloca): Fix gdb_test cmds for
6544 "print * after runto ...".
6545 Remove rs6000-*-* xfails for
6546 "print i after runto localvars_after_alloca" and
6547 "print l after runto localvars_after_alloca"
6548 for all compilers.
6549 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6550 when not compiled with gcc, for:
6551 "print signed char == (minus)",
6552 "print signed char != (minus)",
6553 "print signed char < (minus)",
6554 "print signed char > (minus)".
6555 * gdb.base/callfuncs.exp (do_function_calls):
6556 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6557 "call inferior func with struct - returns char *".
beb998c6 6558 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6559 "correct value returned double test" to include Solaris 2.4.
6560 * gdb.base/funcargs.exp (float_and_integral_args):
6561 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6562
c906108c
SS
6563Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6564
6565 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6566 enumeration bitfields if compiling with GNU C.
6567 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6568 to empty' prompt.
6569
6570Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6571
6572 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6573 test for PRO targets.
6574
6575 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6576 breakpoints in the inferior at any given time by making
6577 two groups of breakpoints for call2*, call6* and call7*
6578 tests.
6579
6580Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6581
6582 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6583 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6584 from optimizing it away.
6585 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6586 "call inferior func with struct".
6587
6588Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6589
6590 * configure.in: Only configure gdb.chill for particular targets.
6591
6592Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6593
6594 * gdb.base/Makefile.in: Add action to .c.o transformation
6595 rule that generates a .ci file for each .o file and remove
6596 explicit .c.o rules except for callfuncs.o.
6597 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6598 generates a .ci file for each .o file and remove explicit
6599 .cc.o rules.
6600 (clean): Remove *.tmp *.ci files.
6601 (EXECUTABLES): Remove templ-info.exp.
6602 * gdb.base/compiler.c: New file.
6603 * gdb.c++/compiler.cc: New file
6604 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6605 Change rs6000-*-* xfail for
6606 "print 'scope0.c'::filelocal_ro" and
6607 "print 'scope1.c'::filelocal" and
6608 "print 'scope1.c'::filelocal_bss" and
6609 "print 'scope1.c'::filelocal_ro" and
6610 "print 'scope1.c'::foo::funclocal" and
6611 "print 'scope1.c'::foo::funclocal_ro" and
6612 "print 'scope1.c'::bar::funclocal" and
6613 "print 'scope0.c'::filelocal_ro" and
6614 "print 'scope1.c'::filelocal at foo" and
6615 "print 'scope1.c'::filelocal_bss at foo" and
6616 "print 'scope1.c'::filelocal_ro at foo" and
6617 "print 'scope1.c'::foo::funclocal at foo" and
6618 "print 'scope1.c'::foo::funclocal_bss at foo" and
6619 "print 'scope1.c'::foo::funclocal_ro at foo" and
6620 "print 'scope1.c'::bar::funclocal at foo" and
6621 "print 'scope0.c'::filelocal_ro" and
6622 "print 'scope1.c'::filelocal" and
6623 "print 'scope1.c'::filelocal_bss" and
6624 "print 'scope1.c'::filelocal_ro" and
6625 "print 'scope1.c'::foo::funclocal" and
6626 "print 'scope1.c'::foo::funclocal_bss" and
6627 "print 'scope1.c'::foo::funclocal_ro" and
6628 "print 'scope1.c'::bar::funclocal" and
6629 "print 'scope1.c'::bar::funclocal_bss"
6630 to only be xfail'd when not compiled with gcc.
beb998c6 6631 Add rs6000-*-* xfail for
c906108c
SS
6632 "print 'scope0.c'::filelocal_bss before run"
6633 when compiled with gcc.
6634 (test_at_main): Add rs6000-*-* xfail for
6635 "print filelocal_ro in test_at_main"
6636 when compiled with gcc.
6637 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6638 Add rs6000-*-aix* xfail for
c906108c
SS
6639 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6640 "ptype t_char_array", not compiled with gcc.
6641 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6642 xfail for "list foo (in include file)" when gcc compiled.
6643 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6644 (integral_args): Add rs6000-*-* xfail for
6645 "run to call0a" if not compiled with gcc.
6646 (unsigned_integral_args): Add rs6000-*-* xfail for
6647 "run to call1a" if not compiled with gcc.
6648 (float_and_integral_args): Add rs6000-*-* xfail for
6649 "run to call2a" if not compiled with gcc and for
6650 "continue to call2b" for any compiler.
6651 Add rs6000-*-* xfail to
6652 "print f1 after run to call2a" for gcc compiled.
6653 (discard_and_shuffle): Add rs6000-*-* xfail for
6654 "run to call6a".
6655 (shuffle_round_robin): Add rs6000-*-* xfail for
6656 "backtrace from call7a" if not compiled with gcc.
6657 Add rs6000-*-* xfail for
6658 "backtrace from call7b" if compiled with gcc.
6659 (call_after_alloca): Add rs6000-*-* xfail for
6660 "print c in call_after_alloca" and
6661 "print s in call_after_alloca" and
6662 "backtrace from call_after_alloca_subr"
6663 if not compiled with gcc.
6664 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6665 "print c in localvars_in_indirect_call" and
6666 "print c in localvars_in_indirect_call" and
6667 "backtrace in indirectly called function" and
6668 "stepping into indirectly called function"
6669 if not compiled with gcc.
6670 (localvars_after_alloca): Add rs6000-*-* xfail for
6671 "print c after runto localvars_after_alloca" and
6672 "print s after runto localvars_after_alloca" and
6673 "print i after runto localvars_after_alloca" and
6674 "print l after runto localvars_after_alloca"
6675 for all compilers.
6676 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6677 than whatis-info.exp.
6678 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6679 than opaque-info.exp.
6680 Setup rs6000-*-* xfail for
beb998c6 6681 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6682 "ptype on opaque struct pointer (dynamically)" when
6683 not compiled with gcc.
6684 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6685 rather than callf-info.exp.
6686 (do_function_calls): Add clear_xfail for rs6000-*-* for
6687 "p t_float_values2(3.14159,float_val2)". Seems to work
6688 fine there, both with xlc and gcc. Need to find out what
6689 it is doing right and fix other platforms.
6690 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6691 "call inferior func with struct - returns int",
6692 "call inferior func with struct - returns long",
6693 "call inferior func with struct - returns float",
6694 "call inferior func with struct - returns double",
6695 "call inferior func with struct - returns char *",
6696 but only if not gcc compiled (presumes xlc compiled).
6697 Change rs6000-*-* xfails for
6698 "call inferior func with struct - returns char" and
6699 " call inferior func with struct - returns short" to only
6700 xfail if not using gcc.
6701 (clean mostlyclean): Remove *.ci and *.tmp files.
6702 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6703 than templ-info.exp.
6704 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6705 Add rs6000-*-* xfail for "up to foo in langs.exp"
6706 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6707 when not gcc compiled.
beb998c6 6708
c906108c
SS
6709Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6710
6711 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6712 * gdb.base/corefile.exp: Likewise.
6713 * gdb.base/list.exp: Likewise.
6714 * gdb.base/scope.exp: Likewise.
6715 * gdb.base/siganls.exp: Likewise.
6716
6717 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6718 compiler output.
6719 * gdb.base/whatis.exp: Likewise.
6720
6721Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6722
6723 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6724 failure (opcode table has been fixed to match reality).
6725
6726Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6727
6728 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6729 "call inferior func with struct - returns char",
6730 "call inferior func with struct - returns short"
6731
6732 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6733 "print 'scope0.c'::filelocal at main",
6734 "print 'scope0.c'::filelocal_bss in test_at_main",
6735 "print 'scope0.c'::filelocal at foo",
6736 "print 'scope0.c'::filelocal_bss in test_at_foo",
6737 "print 'scope0.c'::filelocal at bar",
6738 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6739
c906108c
SS
6740 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6741 in source file 1". This bug seems to have been fixed with both
6742 gcc and native cc (was native assembler bug?).
6743
6744Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6745
6746 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6747 "backtrace through signal handler" to "i*86-*-sysv4*".
6748 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6749 continue" case. Add "known SVR4 bug" to fail message.
6750 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6751 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6752 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6753 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6754 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6755 "up to foo in langs.exp", "show language at foo in
6756 langs.exp", "up to cppsub_ in langs.exp", "show
6757 language at cppsub_ in langs.exp", "up to fsub in
6758 langs.exp", and "show language at fsub in langs.exp".
6759 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6760 "bactrace in corefile.exp".
6761 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6762 "call inferior function with struct - returns float" and
6763 "call inferior function with struct - returns double".
beb998c6 6764
c906108c
SS
6765Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6766
6767 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6768 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6769 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6770 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6771
6772Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6773
6774 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6775 (or overriden) "CHILL" macro rather then bare "gcc".
6776 Also look for ../../gcc/xgcc since that is what we will
6777 actually need, not "Makefile". Remove following assignment
6778 of CHILL to CHILL_FOR_TARGET because that results in
6779 recursive definition.
6780
6781Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6782
6783 * gdb.base/corefile.exp: Change xfail for backtrace in
6784 corefile.exp from linuxaout to all linux.
6785 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6786 cases where we miss the breakpoint at the signal handler
6787 for some reason. Setup xfail for linuxoldld/linuxaout and
6788 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6789 hitting SIGURG breakpoint.
6790 * gdb.base/signals.exp: Setup xfail for "next" acting like
6791 continue to add linuxoldld. Setup xfail for all linux for
6792 "next to handler in signals_tests_1", "backtrace in
6793 signals_tests_1", "continue to func1", "pass SIGUSR1",
6794 and continue to handler".
6795
6796Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6797
6798 * Update all FSF addresses except those in COPYING* files.
6799
6800Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6801
6802 * gdb.base/a2-run.exp: Change messages to be more explicit about
6803 the status of args, and quote binfile in results.
6804
6805Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6806
6807 * gdb.base/callfuncs.exp: Add tests for passing structs to
6808 inferior functions and return various types.
6809 * gdb.base/callfuncs.c: Add functions to receive a struct
6810 and return a member of the struct, in various types.
6811
6812Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6813
6814 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6815
6816Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6817
6818 * config/vxworks29k.exp: New file, sources vxworks.exp.
6819
6820Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6821
6822 * config/gdbremote.exp: New file. Testing framework using
6823 gdbserver.
6824
6825Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6826
6827 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6828 "call function when asleep" and "send end of file".
6829 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6830 for "backtrace in corefile.exp".
6831 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6832 for "backtrace through signal handler".
6833 * gdb.base/corefile.exp: Make sure we actually generate a core file
6834 before trying the core tests. Some systems allow the user to suppress
6835 generation of core files and default to that (linux for example).
6836 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6837 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6838
6839Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6840
6841 * gdb.threads: New directory with some crude multi-threaded
6842 gdb tests (step.exp and step2.exp).
6843 * config/mt-lynx (STEP_EXECUTABLE): Define.
6844 (THREADFLAGS): Define.
6845
6846Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6847
6848 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6849
6850 * gdb.base/signals.exp: Disable whole file for lynx until
6851 further notice.
6852
6853 * gdb.base/signals.exp: xfail test where "next" acts like
6854 "continue" for lynx.
6855
6856 * gdb.base/interrupt.exp: xfail test for calling function while
6857 inferior is asleep for lynx.
6858
6859 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6860 than one cr-lf after each command.
6861
6862Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6863
6864 * configure.in: Reinstate setting of stabsdirs variable, fix
6865 typo in setting up configdirs for native builds.
6866
6867 * gdb.base/return.exp: Fix typo in return double test.
6868 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6869 compiler from optimizing them away.
6870
6871Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6872
6873 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6874 sequences to be echo'd by gdb when using gdb_test.
6875 * gdb.chill/chexp.exp: Likewise.
6876 * gdb.fortran/exprs.exp: Likewise
6877
6878Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6879
6880 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6881 after the inferior gdb has started.
6882
6883 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6884 after each command.
6885 * gdb.base/funcargs.exp: Likewise.
6886 * gdb.base/gdbvars.exp: Likewise.
6887 * gdb.base/interrupt.exp: Likewise.
6888 * gdb.base/list.exp: Likewise.
6889 * gdb.base/watchpoint.exp: Likewise.
6890 * gdb.c++/demangle.exp: Likewise.
6891 * gdb.c++/inherit.exp: Likewise.
6892 * gdb.chill/chexp.exp: Likewise.
6893 * gdb.fortran/exprs.exp: Likewise.
6894
6895 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6896 test if we can't handle IO to/from the inferior.
6897
6898 * gdb.c++/misc.exp: Always check for a program already being
6899 started after sending a "run" command to gdb.
6900
6901 * gdb.base/twice.exp: Start with a fresh gdb.
6902
6903 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6904 only depend on gdb's expression code, not the chill runtime.
6905
6906 * gdb.base/return.c: Put return values into variables so we
6907 can have gdb print them rather than depending on the program
6908 to print them.
6909 * gdb.base/return.exp: Corresponding changes.
6910
6911 * lib/gdb.exp: Provide default value for noinferiorio.
6912 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6913 the inferior.
6914
6915 * gdb.base/break.exp: Always check for a program already being
6916 started after sending a "run" command to gdb.
6917 (text_next_with_recursion): Don't check the output from the
6918 program's printf statement. Instead just make sure the program
6919 exited.
6920
6921 * gdb.base/commands.exp: Protect tests which need arguments with
6922 $noargs conditionals.
6923
6924Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6925
6926 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6927 of structure member arrays to match gdb/valops.c:value_addr change.
6928
6929Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6930
6931 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6932 cases.
6933
6934Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6935
6936 * configure.in (configdirs): Remove gdb.chill from default list
6937 of subdirs and then add it back in only if doing a native build.
6938 The current chill compiler does not yet work in any cross build.
6939 * Revert all signal changes from Jul 6.
6940 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6941 for sh-hms targets, allowing these tests to link, with no other
6942 changes. Testing is suppressed by setting "nosignals" in site.exp.
6943
6944Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6945
6946 * configure.in (signaldirs): Define and add to configdirs for all
6947 targets except some specific ones that are known to not support signals.
6948 Also clean up formatting.
6949 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6950 (signals, sigall): Remove rules to build.
6951 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6952 Moved to new gdb.signals directory.
6953 * gdb.signals: New test directory.
6954 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6955 signals.c signals.exp}: New or moved files.
6956
6957Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6958
6959 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6960
6961Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6962
6963 * gdb.base/return.exp: Xfail `return double' test failure
6964 on at least Solaris 2.3 and handle future/past versions on
6965 a case by case basis as appropriate. Also update message
6966 to include i*86 failures.
6967
6968Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6969
6970 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6971
6972 * lib/gdb.exp: Fix comment which erroneously identified
6973 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6974 gdb_file_cmd not gdb_load).
6975 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6976
6977 * gdb.base/setvar.exp: Make test names consistent between pass and
6978 fail cases. Use gdb_test more.
6979
6980Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6981
6982 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6983
6984Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6985
6986 * gdb.base/help.exp: Fix expected help string for `show commands'.
6987
6988Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6989
6990 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6991
6992 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6993 of a text section.
6994
6995Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6996
6997 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6998 that loop eventually terminates. Fix Connection refused logic so
6999 that testsuite will expire nicely.
7000
7001Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7002
7003 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7004 config/rom68k.exp: New tcl glue for the appropriate monitors.
7005 These all just end up calling monitor.exp.
7006 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7007 refused' by retrying. Cleanup some timeout issues.
7008 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7009 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7010 callers don't have to set/restore global timeout variable.
7011
7012 * The following set of changes centralizes management of the global
7013 timeout variable. This way, it can be set in one target dependent
7014 place instead of dozens of places scattered throughout the test suite.
7015 If you need to lengthen a timeout, then you should either set timeout
7016 in one of the config/{target}.exp files, or multiply it by a factor.
7017 Setting it to an absolute value is always going to lose for some
7018 targets.
7019 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7020 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7021 * gdb.base/funcargs.exp: Don't set timeout.
7022 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7023 * gdb.base/printcmds.exp (test_print_string_constants
7024 test_print_array_constants): Don't set timeout.
7025 * gdb.base/ptype.exp: Don't set timeout.
7026 * gdb.base/recurse.exp: Don't set timeout.
7027 * gdb.base/return.exp: Don't set timeout.
7028 * gdb.base/watchpoint.exp: Don't set timeout.
7029 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7030 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7031
7032Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7033
7034 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7035
7036Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7037
7038 * lib/gdb.exp: Disable chill tests for irix5.
7039
7040Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7041
7042 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7043 each test pass or fail.
7044
7045Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7046
7047 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7048 xlc not gcc.
7049
7050Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7051
7052 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7053
7054Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7055
7056 * config/est.exp: Fix copyright and comments. Remove dead code.
7057 Use targetname, serialport and baud variables instead of fixed
7058 constants.
7059 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7060 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7061
7062Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7063
7064 * gdb.base/watchpoint.exp: Don't run
7065 test_watchpoint_triggered_in_syscall for sunos.
7066
7067Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7068
7069 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7070 they don't seem to exist. Do include stdio.h.
7071
7072Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7073
7074 * gdb.base/a1-selftest.exp: Add alpha xfail.
7075
7076Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7077
7078 * gdb.base/watchpoint.c (main): Prompt before calling read().
7079 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7080 Revise accordingly. Remove cruft about sending "123" several
7081 times, until it gets noticed. Clean up the "print buf[0]" stuff
7082 so that it passes or fails, and waits for prompts in the usual way.
7083
7084Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7085
7086 * gdb.base/recurse.exp: Fix comment.
7087
7088 * TODO: Remove item about printing variables in nodebug.exp. Add
7089 item about enabling tests which are only run on some targets.
7090
7091 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7092 fail, make test names unique, use new gdb_test convention
7093 regarding pattern, use gdb_test more, etc.).
7094
7095 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7096 fail, make test names unique, etc.).
7097
7098Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7099
7100 * gdb.base/nodebug.c: Change return type of top and middle to
7101 short.
7102 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7103 are fixed by the recent mdebugread.c changes. Allow `short ()'
7104 as type for top and middle.
7105
7106Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7107
7108 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7109 nearly as I can tell, the whole thing was an accident in Stu's
7110 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7111 to replace a send/expect pair with gdb_test, but ended up only
7112 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7113 of 30 Mar 1995 took care of it, but left this vestigial comment
7114 which I am now nuking.
7115
7116Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7117
7118 * gdb.base/break.exp: Look for different line number for
7119 breakpoint at main depending on usestubs.
7120
7121Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7122
7123 * gdb.base/list.exp: Adjust some alternate expect patterns to
7124 match recent list0.c change. Add alternate expect pattern for
7125 output from `list default lines around main' for optimizing
7126 compilers.
7127
7128Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7129
7130 * lib/gdb.exp: If nosignals is not set, set it to 0.
7131
7132Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7133
7134 * config/slite-gdb.exp: Responds to load symbol table prompt.
7135 * gdb.base/break.exp: Adjust line number, fix rerun.
7136 * gdb.base/langs0.c: Add #ifdef usestubs.
7137
7138Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7139
7140 * gdb.base/list.exp: Adjust line contents after adding new lines in
7141 list0.c. Also fix a syntax error.
7142
7143 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7144 * gdb.base/break.exp: ditto.
7145 * gdb.base/list.exp: ditto.
7146 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7147 * gdb.base/run.c: ditto.
7148 * gdb.base/list0.c: ditto.
7149 * gdb.base/funcargs.c: ditto.
7150
7151Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7152
7153 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7154 $targetname, $serialport and $baud instead of hardwired variables.
7155 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7156 target doesn't support signals.
7157
7158Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7159
7160 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7161
7162Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7163
7164 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7165 Don't rely on the value of an auto variable before it has been
7166 initialized. Use gdb_test more.
7167
7168Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7169
7170 * lib/gdb.exp (default_gdb_version): A version number must start
7171 with a digit, but other than that contains all characters up to
7172 the first whitespace character.
7173
7174Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7175
7176 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7177
7178Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7179
7180 * gdb.c++/*.exp: Warn if executable does not exist. The original
7181 reason for skipping the warning was that configure.in sometimes
7182 intentionally skipped building the executables but the tcl code
7183 had no way of knowing. That (a) was always bogus with respect to
7184 error handling, (b) is no longer true (right now there is no way
7185 to skip C++ tests).
7186
7187 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7188
7189Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7190
7191 * gdb.base/list.exp: Add expect patterns for output from
7192 SunPRO compiled executables.
7193 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7194 types.
7195
7196Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7197
7198 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7199 number (we are already testing that the correct source line text
7200 gets printed).
7201
7202 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7203 that is what is intended, but something needed to be done to get
7204 sunos4 native working again.
7205
7206 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7207
7208 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7209 apparently went with a (very) old xfail.
7210
7211Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7212
7213 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7214 runto_main is a proc in gdb.exp that will do 'step' for target use
7215 stubs.
7216 * gdb.base/exprs.exp: ditto.
7217 * gdb.base/interrupt.exp: ditto.
7218 * gdb.base/opaque.exp: ditto.
7219 * gdb.base/printcmds.exp: ditto.
7220 * gdb.base/ptype.exp: ditto.
7221 * gdb.base/scope.exp: ditto.
7222 * gdb.base/setvar.exp: ditto.
7223 * gdb.base/signals.exp: ditto.
7224 * gdb.base/twice.exp: ditto.
7225 * gdb.c++/classes.exp: ditto.
7226 * gdb.c++/inherit.exp: ditto.
7227 * gdb.c++/templates.exp: ditto.
7228 * gdb.base/break.exp: no run and hit main for stubs. Change line
7229 numbers for breakpoints and info breakpoint.
7230 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7231 breakpoint().
7232 * gdb.base/callfuncs.c: ditto.
7233 * gdb.base/exprs: ditto.
7234 * gdb.base/interrupt.c: ditto.
7235 * gdb.base/opaque0.c: ditto.
7236 * gdb.base/printcmds.c: ditto.
7237 * gdb.base/ptype.c: ditto.
7238 * gdb.base/scope0.c: ditto.
7239 * gdb.base/setvar.c: ditto.
7240 * gdb.base/signals.c: ditto.
7241 * gdb.base/twice.c: ditto.
7242 * gdb.c++/misc.cc: ditto.
7243 * gdb.c++/templates.cc: ditto.
7244
7245Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7246
7247 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7248
7249 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7250 somewhere between `read' and `main.c'. I'm pretty sure the
7251 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7252 and it isn't particularly useful.
7253
7254 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7255
7256Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7257
7258 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7259
7260Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7261
7262 * config/mt-slite: add LIBS and -nostdlib.
7263 * config/slite-gdb.exp: add this new file to support sparclite target.
7264
7265Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7266
7267 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7268
7269 * gdb.base/a2-run.exp: Change argument to istarget from
7270 "*-*-vxworks" to "*-*-vxworks*".
7271 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7272
7273Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7274
7275 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7276 will not runto main but do a 'step' to step out of breakpoint().
7277 * config/mt-slite: add -Dusestubs.
7278
7279Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7280
7281 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7282 instead of just @.
7283
7284 * gdb.base/signals.exp: Add test for "handle all print".
7285 * TODO: Remove "handle all print". Also remove item about
7286 checking copyright date (I don't like the idea of a spurious FAIL
7287 based on when we run the tests).
7288
7289 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7290 for SunOS4 (reason for failure not investigated). Remove
7291 redundant test for $binfile.
7292
7293 * gdb.base/nodebug.c (array_index): Call malloc.
7294
7295 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7296
7297Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7298
7299 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7300 conventions and slightly simplify the matching regexp.
7301
7302Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7303
7304 * gdb.base/break.exp: Update gdb_test invocation to use new
7305 convention.
7306
7307 * lib/gdb.exp: If noargs is not set, set it to 0.
7308
7309 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7310 tests unique.
7311
7312 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7313
7314Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7315
7316 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7317 one argument of type "<non-float parameter>".
7318
7319Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7320
7321 * config/rom68k.exp: New file to support Motorola IDP board.
7322 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7323 * gdb.base/break.c: Change things around so that this program
7324 doesn't depend upon args. This is necessary to make remote
7325 targets work (in general, they can't take args).
7326 * gdb.base/break.exp: Don't try to send args to program. Don't
7327 expect output. Also, replace lots of code with gdb_test.
7328
7329Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7330
7331 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7332 printing of '\'' (which is what the comment says we are testing,
7333 even though we were not), not '''.
7334 (test_integer_literals_rejected): Test that printing ''' is an error.
7335
7336 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7337 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7338 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7339 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7340 Use gdb_test not test_print_accept.
7341 * lib/gdb.exp: Remove test_print_accept.
7342
7343 * gdb.base/signals.exp (signal_tests_1): Make pass message
7344 consistent with fail message.
7345
7346 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7347 unsigned char; the bug (PR 1821) is fixed.
7348
7349 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7350
7351 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7352 successful tests--makes xfailing them work right.
7353
7354Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7355
7356 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7357 only \r\n, not .*. The test can pass .* as the last thing in
7358 $pattern if that is what it wants. In addition to providing this
7359 flexibility, this change should speed up pattern matching in cases
7360 where the pattern already ended with .* (there were a number of
7361 them). This change also helps catch bad patterns--in the old
7362 scheme the typo "char \*" instead of "char \\*" would pass. Now
7363 it is caught.
7364 * Many .exp files: Update callers.
7365
7366 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7367 clearer and does not spuriously match multiple ('s. Likewise for
7368 ) and *.
7369
7370 * gdb.base/nodebug.exp: Test ability to call a function and pass
7371 it a string (even with no debugging info).
7372
7373 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7374 "p '\'", which is the same as "p ''" once tcl gets done with
7375 quoting, to "p '\\'", which I suspect is what is intended (one
7376 backslash gets sent to GDB).
7377
7378 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7379
7380Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7381
7382 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7383 1817) was fixed literally years ago.
7384
7385Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7386
7387 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7388 test, it causes stepping out of call_after_alloca_subr with
7389 optimizing compilers.
7390 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7391 fails.
7392
7393 * gdb.c++/templates.exp: Source templ-info.exp only if
7394 the templates executable exists.
7395
7396 * gdb.c++/misc.cc (class Contains_static_instance,
7397 class Contains_nested_static_instance),
7398 gdb.c++/classes.exp (test_static_members): Test printing of
7399 a class that contains a static instance of the class.
7400
7401Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7402
7403 * gdb.base/langs2.c (cppsub_): Don't prototype.
7404 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7405 only, I believe).
7406
7407Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7408
7409 * lib/gdb.exp (skip_chill_tests): New procedure.
7410
7411 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7412
7413Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7414
7415 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7416 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7417
7418Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7419
7420 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7421
7422 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7423 disassemble 8, not 16, instructions for part 4.
7424
7425 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7426 support the latter anymore.
7427
7428 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7429 -DNO_PROTOTYPES.
7430 * gdb.base/callfuncs.c: Control use of prototypes based on
7431 NO_PROTOTYPES, not __STDC__.
7432 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7433 t_float_values2 tests if prototypes in use.
7434
7435 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7436 t_double_values): When checking differences against DELTA, check
7437 that difference is within the range (-DELTA,DELTA), not just
7438 (-infinity,DELTA).
7439
7440Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7441
7442 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7443 'file' command firts, then 'target', then 'load', this is due to gdb
7444 target set up.
7445 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7446
7447Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7448
7449 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7450 FP load/store variants.
7451 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7452
7453Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7454
7455 * gdb.base/term.exp: Do not give a warning if not native, it is
7456 not an abnormal condition.
7457
7458Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7459
7460 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7461 t_char_array".
7462
7463Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7464
7465 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7466 are getting the version number.
7467
7468 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7469 if not native, it is not an abnormal condition.
7470
7471Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7472
7473 * lib/gdb.exp: Just use "file exists", rather than undocumented
7474 dejagnu procedure "findfile".
7475
7476Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7477
7478 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7479 (LDFLAGS): Set to -Xlinker -Ur.
7480
7481 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7482 Removed, these values are set by lib/gdb.exp.
7483
7484 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7485
7486Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7487
7488 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7489 of replicating gdb startup code.
7490
7491 * config/mt-vxworks (LDFLAGS): Set to -r.
7492 (CFLAGS_FOR_TARGET): Removed.
7493
7494 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7495 (gdb) and gdb for vxworks uses (vxgdb).
7496
7497 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7498 executable is not in the tree and host != target, use sed and
7499 program_transform_name to determine the gdb name used by the
7500 target.
7501
7502 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7503 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7504
7505Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7506
7507 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7508 floats, chars, and shorts where there are ANSI-style function
7509 definitions.
7510
7511 * gdb.base/langs.exp, gdb.base/langs*: New test.
7512 * gdb.base/Makefile.in: Build it.
7513 * TODO: Remove item about checking that C names don't get C++
7514 demangling applied; this test tests it.
7515
7516Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7517
7518 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7519 went with the const70 xfail. The xfail went away a year ago.
7520
7521 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7522
7523 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7524 for hp300.
7525
7526 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7527
7528 * gdb.base/a1-selftest.exp: Don't run on hp300.
7529
7530Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7531
7532 * Makefile.in (site.exp): Set host_alias and target_alias as well
7533 as host_triplet and target_triplet.
7534
7535Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7536
7537 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7538
7539 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7540 places as other ecoff systems).
7541
7542 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7543 ultrix.
7544
7545Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7546
7547 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7548 remove them.
7549 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7550 variable and "variable" in addition to "data variable".
7551 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7552
7553 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7554 2.
7555 * gdb.base/list1.c (long_line): Add additional statement at start
7556 of function.
7557 * gdb.base/list.exp (test_forward_search): Update line number to
7558 reflect new statement.
7559
7560Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7561
7562 * gdb.base/signals.exp: Reinitialize searched source directories
7563 after gdb_start call.
7564
7565Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7566
7567 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7568 * gdb.stabs/Makefile.in: Likewise.
7569
7570 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7571 change. Instead split the tests into smaller pieces.
7572 * gdb.disasm/hppa.s: Corresponding changes.
7573
7574Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7575
7576 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7577 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7578
7579 * gdb.base/funcargs.exp: Modify many tests so that every test
7580 either passes or fails. Make some test names unique.
7581
7582Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7583
7584 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7585 Call stty to set interrupt character.
7586
7587 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7588 for HP assembler versus GNU assembler based on actual behavior of
7589 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7590
7591 * TODO: Suggest a few more stepping tests.
7592
7593Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7594
7595 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7596 restart GDB for h8300 after a continue.
7597 (return): Add pattern to match a29k-udi behavior.
7598 * gdb.base/nodebug.exp: Remove obsolete comment.
7599 * gdb.base/regs.exp: New file, testing of register displays.
7600 * gdb.base/return.exp: Fix typo in reference to $objdir.
7601 * gdb.base/whatis.exp: Always start with a fresh GDB.
7602
7603Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7604
7605 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7606 higher, these tests generate a lot of output.
7607
7608Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7609
7610 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7611 code following the catch silently ignored some errors; without the
7612 catch they should be thrown like any other tcl error. Also, the
7613 catch used "" instead of {} which meant all the callers who wanted
7614 to include one of the characters "[]$ had to quote it an extra time.
7615 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7616 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7617 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7618 Remove extra quoting.
7619
7620Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7621
7622 * gdb.base/commands.exp: Make test names unique; every test either
7623 passes or fails. Update some comments.
7624
7625 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7626
7627Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7628
7629 The following fixes a FAIL caused by the fact that the alpha stabs
7630 configuration didn't use the ".if alpha" code in weird.def.
7631 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7632 bit pointer, so the 32 bit version works even on the alpha.
7633 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7634 Remove the stuff which allowed us to have separate versions for
7635 alpha and everything else.
7636
7637 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7638 regexp which "info func operator\[\](" is supposed to match. Fix
7639 string to send to GDB. Note that GDB still doesn't work right. Add a
7640 new test for "info func .perator\[\](" which GDB does handle correctly.
7641
7642 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7643
7644Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7645
7646 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7647 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7648 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7649 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7650 it makes the tests harder to understand and confuses test-o-matic.
7651 The preferred style is that each test provides a PASS or a FAIL,
7652 and has a unique message (e.g. "continue #54" not just "continue")
7653 which is the same for the pass and the fail.
7654 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7655 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7656 to lib/gdb.exp.
7657 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7658 prt_accept which was basically the same thing. Likewise for
7659 test_print_reject and prt_reject.
7660 * lib/gdb.exp (test_print_reject): Add some more error message
7661 patterns to match from the former printcmds.exp (prt_reject).
7662 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7663 One defect of the passcount stuff is that some of it failed to
7664 report XPASS where appropriate.
7665 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7666 stuff before and after arg in expected pattern.
7667 (test_paddr_operator_functions): Re-do test without print_addr_of;
7668 this is the only test which seems to want extra stuff there.
7669
7670Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7671
7672 * gdb.base/nodebug.exp: Update new tests to reflect improved
7673 wording of gdb output.
7674
7675 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7676 and "ptype" work on variables in files compiled without -g.
7677 Replaces commented out "maint print msymbol" tests.
7678
7679Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7680
7681 * gdb.base/setvar.c (dummy): Call malloc.
7682
7683 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7684 losing with the irix4 sed.
7685
7686 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7687 ALRM" on irix4.
7688
7689Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7690
7691 * TODO: Remove items about corefile.exp testing new exec-file and
7692 backtrace; both are now done. Add items about printing enums.
7693
7694Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7695
7696 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7697 "get signal $thissig" test fails.
7698
7699 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7700
7701Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7702
7703 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7704 compiler warning with dec alpha compiler.
7705
7706 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7707 extra \n from gdb_test call (this explains why the prompt test
7708 that I removed yesterday was there).
7709 (user_defined_command_test): Remove extra \n and prompt test.
7710
7711 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7712 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7713 doesn't exist.
7714 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7715 Also remove alpha workaround, which turns out to be because
7716 SIGABRT == SIGLOST.
7717
7718 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7719
7720 * gdb.base/help.exp: Don't test "help show".
7721
7722Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7723
7724 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7725 "set print address" is on.
7726 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7727 pass prompt to gdb_test; gdb_test already looks for the prompt.
7728
7729 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7730
7731 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7732 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7733 was to make sure that gdb can read a core file. But (a) the "read
7734 the corefile" part didn't make it to a1-selftest.exp, we just
7735 delete the corefile after creating it, and (b) we test reading
7736 corefiles in corefile.exp anyway. Also, this test left around a
7737 xgdb process on Solaris.
7738
7739 * gdb.base/corefile.exp: Also test backtrace.
7740
7741Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7742
7743 * gdb.base/commands.exp: Test a simple user defined command with
7744 arguments and if/while statements; verify the full user command is
7745 printed by "show user".
7746
7747 * gdb.base/commands.exp: Test if/while commands as part of a
7748 breakpoint command list; verify they appear in breakpoint
7749 information.
7750
7751Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7752
7753 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7754 than by dividing by zero.
7755
7756Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7757
7758 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7759 performing an inferior call with watchpoints enabled.
7760 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7761 call.
7762
7763Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7764
7765 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7766 of "file" command.
7767
7768 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7769 Add additional pattern for when "int operator int(void);" appears
7770 in a different order.
7771
7772Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7773
7774 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7775
7776 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7777 and "signal" with ".*".
7778
7779Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7780
7781 * TODO: Add note about "handle all nostop".
7782
7783 * gdb.base/{sigall.c, sigall.exp}: New test.
7784 * gdb.base/Makefile.in: Add it.
7785
7786Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7787
7788 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7789 when invoking GDB, suppresses any windowing interface.
7790
7791Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7792
7793 * config/sim-gdb: New file, simulator testing support.
7794
7795Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7796
7797 * gdb.base/interrupt.exp: Test calling func1 twice.
7798
7799Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7800
7801 * gdb.base/list.exp (test_forward_search): Set timeout higher
7802 when we'll be getting lots of output from gdb.
7803
7804 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7805 "init_malloc" to after the expect statement. Run it if that
7806 regexp is taken, but also for two others which happen if source
7807 cannot be found.
7808
7809Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7810
7811 * gdb.base/printcmds.exp: New test, for printing register before
7812 program is running.
7813
7814Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7815
7816 * gdb.base/list.exp: Correct some alternate expect patterns
7817 to reflect changes in list1.c.
7818
7819Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7820
7821 * TODO: Add item regarding large frames.
7822
7823 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7824
7825 * TODO: Remove item about enabling return.exp; it
7826 is enabled. Suggest a few more "return" tests.
7827
7828Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7829
7830 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7831 anonymous unions.
7832
7833Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7834
7835 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7836 and pr-5646.o, so "make" is the same as "make all", not "make
7837 pr-4975.o".
7838
7839Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7840
7841 * gdb.base/list.exp: Adjust expectations to reflect changes in
7842 list1.c.
7843 (test_forward_search): New test proc.
7844 * gdb.base/list1.c (long_line): New function, has long source line.
7845
7846Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7847
7848 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7849 additional line of code that was added.
7850
7851Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7852
7853 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7854 tests so as not to overflow expect's input buffers.
7855 * gdb.disasm/hppa.exp: Corresponding changes.
7856
7857Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7858
7859 Beginnings of template debugging tests.
7860 * gdb.c++/templ-info.cc: New file to test for template
7861 debugging capability of the compiler.
7862 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7863 templ-info.cc.
7864 * gdb.c++/templates.cc: Add explicit template instantiations
7865 to enable compiling with -fno-implicit-templates. Add destructor
7866 and 'value' method to T5 class for template tests.
7867 * gdb.c++/templates.exp: Add testcases for printing of template
7868 types, setting breakpoints on template methods and calling a
beb998c6 7869 template method.
c906108c
SS
7870
7871Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7872
7873 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7874 branch target since some assemblers (gas-2.5) may emit a
7875 relocation for the branch instead of resolving it in the
7876 assembler.
7877
7878Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7879
7880 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7881 through signal handler.
7882
7883Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7884
7885 * configure.in (*-*-netware): Use config/mt-netware.
7886
7887 * config/mt-netware: New file.
7888 * config/mt-i386-netware: Removed, separate configs for different
7889 netware architectures are no longer needed now that we have
7890 --with-headers.
7891
7892Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7893
7894 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7895 by the recent changes to use ANSI C arithmetic conversions.
7896
7897Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7898
7899 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7900 bug involving using inferior_pid to figure out whether to select a
7901 frame.
7902
7903Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7904
7905 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7906 match the current disassembler output.
7907
7908Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7909
7910 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7911 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7912 types, expect "int" as type of integer values (for now).
7913
7914Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7915
7916 * gdb.base/commands.exp: New tests for if/while commands.
7917
7918Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7919
7920 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7921 by .*, since hex values have different syntax in Chill mode.
7922
7923Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7924
7925 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7926 linefeed from expect pattern for repeated types with indices > 9.
7927
7928Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7929
7930 First part of Fortran test suite.
7931 * gdb.fortran: New directory.
7932 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7933
7934Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7935
7936 * gdb.base/default.exp: Update expect pattern for load command
7937 without arguments.
7938
7939Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7940
7941 * configure.in: Change i386 to i[345]86.
7942 * gdb.base/configure.in: Likewise.
7943 * gdb.c++/configure.in: Likewise.
7944 * gdb.chill/configure.in: Likewise.
7945
7946Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7947
7948 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7949 patterns, since that is not a valid context for comments.
7950
7951Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7952
7953 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7954 repeated types and repeated types with indices > 9.
7955
7956Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7957
7958 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7959 2417; old bug has been fixed.
7960
7961Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7962
7963 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7964 send the newline ourselves instead of assuming gdb_test will do
7965 so when passed an empty input string.
7966
7967 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7968 stabs testcode.
7969
7970Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7971
7972 * lib/gdb.exp (gdb_test): Don't send anything if the first
7973 argument is an empty string. This makes cases where we want to
7974 match output that is already in expect's buffers (for example,
7975 matching a breakpoint after gdb_run_cmd has been called) work
7976 reliably.
7977
7978Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7979
7980 * config/netware.exp: New file.
7981
7982Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7983
7984 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7985 the -B and -L prefixes so we can find the debugging stub.
7986
7987 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7988 there and we are using the gcc from the tree.
7989
7990 * gdb.base/types.c: Removed.
7991
7992 * gdb.base/configure.in: Look for makefile fragments in ../config.
7993 Recognize i386-*-netware.
7994 * gdb.c++/configure.in: Likewise.
7995
7996Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7997
7998 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7999 the correct TCL syntax.
8000
8001Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8002
8003 * gdb.base/opaque.exp: use runto instead of messing around with
8004 breakpoints. Simplify by using gdb_test.
8005
8006 * gdb.base/bitfields.exp: restart between tests on netware targets
8007 because breakpoints aren't relocated after target death. Run
8008 processes to completion.
8009
8010 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8011
8012Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8013
8014 * Makefile.in: Remove extra tabs that confuse some versions
8015 of "make". Use the newly built gdb to test with by default,
8016 rather than the first one in the tester's search path.
8017
8018Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8019
8020 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8021
8022 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8023 condition help.
8024
8025Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8026
8027 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8028
8029 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8030 running.
8031 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8032 * gdb.base/funcargs.exp: Likewise.
8033
8034 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8035 * gdb.base/funcargs.exp: Likewise.
8036
8037 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8038 message is "".
8039
8040Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8041
8042 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8043 return,signals,twice}.exp: Handle non-existant binaries
8044 consistantly.
8045
8046 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8047 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8048 might testing a cross development system.
8049
8050Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8051
8052 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8053 runtest script is relative to ${srcdir}, not ${rootdir}.
8054
8055Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8056
8057 * gdb.base/signals.exp: Allow for optionality of breakpoint
8058 address.
8059
8060Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8061
8062 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8063
8064Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8065
8066 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8067 for size_t definition.
8068 * gdb.c++/templates.cc: Likewise
8069
8070 * config/mt-i386-netware: New file.
8071
8072 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8073 defined.
8074
8075 * gdb.base/Makefile.in: Added support for systems that name core
8076 files by appending "core" to the program name.
8077 * gdb.base/a1-selftest.exp: Likewise.
8078
8079Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8080
8081 * gdb.base/return.exp: Add comment and message for `return double'
8082 test failure on Sparc Solaris.
8083
8084Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8085
8086 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8087
8088Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8089
8090 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8091 from optimizing them away.
8092 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8093 patterns to include default constructors and assignment operators,
8094 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8095 character in the output of the virtual base pointer.
8096
8097Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8098
8099 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8100 expression match in print_addr_of to avoid unintented matches.
8101 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8102 versions up to 2.5.8.
8103
8104Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8105
8106 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8107 included file to run under newer versions of expect.
8108 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8109 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8110 Remove xfail for the virtual table of BDDHookV.
8111
8112Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8113
8114 * lib/gdb.exp (string_to_regexp): Set a default result.
8115 (default_gdb_start): Fix misleading message.
8116
8117Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8118
8119 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8120 Remove all CC, etc definitions.
8121 * config/mt-hpux: New file.
8122 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8123 (CFLAGS, LDFLAGS): Define.
8124 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8125
8126 * Makefile.in (site.exp): Don't insert host_os, etc.
8127 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8128 (distclean): Check existence of subdir.
8129 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8130 * gdb.base/Makefile.in: General cleanup and simplification.
8131 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8132 to build executables. Use default rule to build .o files.
8133 (EXPECT, RUNTEST, CC): Fix relative pathname.
8134 (site.exp): Don't insert host_os, etc.
8135 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8136 and/or SIGUSR1 defined.
8137 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8138 * gdb.c++/Makefile.in: General cleanup and simplification.
8139 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8140 (CFLAGS): Remove.
8141 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8142
8143Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8144
8145 * gdb.base/recurse.exp: Misc changes to get tests running again
8146 after Kung's changes to the watchpoint code.
8147 * gdb.base/watchpoint.exp: Likewise.
8148
8149Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8150
8151 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8152
8153Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8154
8155 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8156 * lib/gdb.exp (default_gdb_start): Define.
8157 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8158 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8159 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8160 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8161 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8162 Don't call gdb_target_udi in between tests.
8163
8164Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8165
8166 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8167 (which was basically just a local version of the same thing). In
8168 addition to avoiding duplication, gdb_test_exact is faster.
8169 * lib/gdb.exp (gdb_test_exact): Fix typo.
8170
8171 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8172 don't give an error.
8173
8174 * gdb.base/term.exp: Call delete_breakpoints before starting.
8175
8176 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8177 (t10): Add comment.
8178
8179Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8180
8181 Reorganization of the GDB Test Suite.
8182
8183 * gdb.base: New directory, contains all the basic tests.
8184 * gdb.c++: New directory, tests specific to C++.
8185 * gdb.chill: New directory, tests specific to Chill.
8186 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8187 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8188 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8189 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8190 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8191 t30-31 to chill).
8192 * */gdbme.*: Rename to match appropriate expect scripts.
8193 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8194 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8195 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8196 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8197 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8198 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8199 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8200 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8201 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8202 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8203 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8204 gdb.c++/virtfunc.cc: New names of C++ files.
8205 * gdb.chill/chillvars.ch: New name of Chill file.
8206 * gdb.base/configure.in, gdb.c++/configure.in,
8207 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8208 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8209 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8210 * configure.in (configdirs): Update to reflect directory changes.
8211 (target_abbrev): No longer define for any configuration.
8212 * Makefile.in: Cosmetic improvements to header comments.
8213
8214Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8215
8216 Various changes to gdb.t31:
8217
8218 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8219 * gdbme.ch: Make all key-words and predefineds be upper-case.
8220 * chillvars.exp: Expect key-words and predefinds in upper-case.
8221
8222 * chillvars.exp: Use gdb_test_exact many places.
8223 Change expected output for arrays (which now includes index labels).
8224
8225 * pr-5020.exp, gdme.ch (module PR_5020):
8226 New test, for PR-5020.
8227
8228Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8229
8230 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8231 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8232
8233Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8234
8235 * Makefile.in: Fix bit-rot in definitions of CHILL,
8236 CHILL_FOR_TARGET and Chill_LIB.
8237 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8238 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8239 CHILL, and CHILL_LIB.
8240
8241Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8242
8243 * Revert the previous changes. Please see Rob's directory
8244 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8245
8246Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8247
8248 * Makefile.in, configure.in, config/mips-gdb.exp,
8249 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8250 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8251 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8252 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8253 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8254 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8255 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8256 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8257 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8258 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8259 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8260 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8261 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8262 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8263 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8264 changes from 94Q1.
8265
8266Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8267
8268 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8269 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8270 Rob's new testing fragments.
8271
8272Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8273
8274 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8275 lib/gdb.exp: Replace error proc calls with perror.
8276
8277Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8278
8279 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8280 version also, match on casted version strings, and match on
8281 gdb startup case where the line numbers might be messed up.
8282
8283Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8284
8285 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8286 (CFLAGS): Delete it from here.
8287
8288Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8289
8290 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8291
8292Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8293
8294 * Makefile.in (RUNTEST): Default to just "runtest".
8295
8296Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8297
8298 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8299 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8300 the code has been restructured.
8301
8302Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8303
8304 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8305 \n, not just one of each.
8306
8307 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8308 /bin/cc gives a warning if you do.
8309
8310Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8311
beb998c6 8312 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8313 __t10ListS_link1ZUiRCUiPT0
8314
8315Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8316
8317 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8318 on local variables in recursive functions.
8319
8320 * gdb.t07/Makefile.in: Build the new test.
8321
8322Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8323
8324 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8325 directly. Instead compare the return values from actual calls.
8326
8327Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8328
8329 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8330
8331Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8332
8333 * From Peter Schauer with minor modifications.
8334 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8335 stops in mid-line in the caller. Add xfail for returning a float
8336 value on X86 targets.
8337
8338Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8339
8340 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8341 to avoid expect lossage.
8342 (fmem_LRbug_tests): Likewise.
8343 * gdb.disasm/hppa.s: Corresponding changes.
8344
8345 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8346 conditions to work with latest dejagnu/expect.
8347
8348 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8349 expected to fail on the PA.
8350 (backtrace in call with trampolines): Explicitly require main
8351 to be frame #1 (no trampolines should show up in backtrace).
8352
8353 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8354 "continue -expect".
8355 * gdb.t06/break.exp: Likewise.
8356 * gdb.t07/watchpoint.exp: Likewise.
8357 * gdb.t13/bitfields.exp: Likewise.
8358 * gdb.t15/{funcargs,return}.exp: Likewise.
8359 * gdb.stabs/weird.exp: Likewise.
8360 * config/{mips,udi}-gdb.exp: Likewise.
8361
8362 * hppa.sed: Enclose comments within a sed command to avoid
8363 losing with the old OSF1 sed.
8364
8365Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8366
8367 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8368 sequent dynix.
8369 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8370 * gdb.t15/funcargs.exp: Conditionally step again to really
8371 finish from marker_call_with_trampolines. Handle the case where
8372 the first step from within call_with_trampolines already steps
8373 us back to main.
8374 * gdb.t15/gdbme.c: Add comment to closing brace of
8375 call_with_trampolines for funcargs.exp.
8376
8377Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8378
beb998c6 8379 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8380 Fix typo(s).
8381
8382Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8383
8384 * gdb.t07/gdbme.c: More code for watchpoint testing.
8385
8386 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8387 "Hardware watchpoint" throughout file.
8388 (test_watchpoint_triggered_in_syscall): New test.
8389 (test_complex_watchpoint): New test.
8390
8391Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8392
8393 * gdbme.c (call_with_trampolines): New function to try and step
8394 into. Tests trampoline problems on the PA.
8395
8396 * funcargs.exp (localvars_in_indirect_call): No longer expect
8397 stepping into indirect call to fail on PAs.
8398 (test_stepping_over_trampolines): New test.
8399
8400Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8401
8402 * TODO: Add suggestions for static member function tests, and
8403 completion tests.
8404
8405Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8406
8407 * TODO: Add suggestions for "p/a" tests.
8408
8409 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8410 (default_gdb_exit): Replace all the hair with sending "quit" to
8411 the process with a simple close.
8412
8413Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8414
8415 * TODO: Add suggestions for shared library tests.
8416
8417Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8418
8419 * TODO: Add suggestions for x/s tests.
8420
8421Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8422
8423 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8424 "enable once", and "enable breakpoints once" with ".*".
8425
8426Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8427
8428 * TODO: Add suggestions about structure passing tests.
8429
8430Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8431
8432 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8433 the primary1 test, use work around if __GNUC__ < 2.
8434 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8435 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8436 Test for bad output rather than waiting for timeout. Issue
8437 second continue only if first continue failed.
8438
8439Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8440
8441 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8442 operator[] test with gdb_test because the old code didn't seem to
8443 be getting the quoting right with the new dejagnu.
8444
8445Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8446
8447 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8448 one from the path.
8449 * Makefile.in: Use a fresh expect if there is one, use runtest
8450 from the src tree if there is one.
beb998c6 8451
c906108c
SS
8452Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8453
8454 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8455 next over recursive call. Revise the tests from that point on
8456 (which had been skipped) to match GDB's actual (correct) output.
8457
8458 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8459 with next over a breakpoint whose condition is false.
8460
8461 * gdb.t00/help.exp: Comment out "help set print" tests just like
8462 (and for same reason as) "help set" test.
8463
8464Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8465
8466 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8467 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8468
8469Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8470
8471 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8472 necessary gdb_target_udi.
8473
8474 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8475
8476 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8477 1838 and 2417; they are fixed.
8478
8479 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8480 gdb.t03/ptype.exp (ptype structure, ptype union):
8481 Remove xfails; the test is looser than when the xfails were added.
8482
8483 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8484 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8485
8486 * gdb.t01/run.exp: Only run shell test if isnative.
8487
8488 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8489 since "run" automatically loads if necessary. Call gdb_target_udi
8490 after the "file" since "file" kills any execution target.
8491
8492 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8493 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8494 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8495 argument for UDI.
8496
8497Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8498
8499 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8500
8501 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8502
8503Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8504
8505 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8506 properly quoting regexps. This makes the second argument to
8507 demangle a fixed string, which matches the callers, instead of a
8508 shell-style pattern which is what the previous implementation
8509 used. Update some of the callers.
8510
8511Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8512
8513 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8514 (comib_nullified_tests): Fix typo.
8515 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8516 strings. No longer expected to fail.
8517
8518 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8519 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8520 strings. No longer expected to fail.
8521
8522 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8523 string. No longer expected to fail.
8524
8525Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8526
8527 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8528 No longer expected to fail.
8529
8530 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8531 string. No longer expected to fail.
8532
8533Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8534
8535 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8536 only in the names (I probably got most of them). I was even
8537 generous with some which differed in underscores in names, and
8538 probably missed a few, and I *still* was able to remove almost a
8539 third of the file with almost no impact on testsuite coverage.
8540
8541Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8542
8543 * gdb.t00/default.exp: Match udi_attach error message as well as
8544 the one from child_attach.
8545
8546 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8547
8548 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8549
8550 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8551 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8552
8553 * Move test with enums and partial symbols back to
8554 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8555 Reverts the change of 26 May 93. Per today's change to
8556 stabs.texinfo, the behavior that weird.exp was expecting was
8557 unreasonable; what is important is that the compiler+gdb get
8558 things right, which happens with a recent gcc. Also fix the test
8559 to deal with native compilers which put out the stab gdb can't
8560 deal with.
8561
8562Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8563
8564 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8565 in the names. The main thing these accomplish is to slow things down.
8566 Many more such duplicates surely remain.
8567
8568 * gdb.t00/help.exp: Comment out "help support" test just like
8569 (and for same reason as) "help set" test.
8570
8571Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8572
8573 * gdb.t06/break.exp: Remove setup_xfails for
8574 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8575 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8576 about known bug in gcc to include up through 2.5.8.
8577 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8578 well as "_vb$".
8579 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8580 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8581 with latest gcc and gdb.
8582 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8583 well as "_vb$".
8584
8585Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8586
8587 * configure.in (hppa*-*-*): Also configure and build stabs-only
8588 tests.
8589
8590Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8591
8592 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8593 * gdb.t10/configure.in (hppa*-*-*): Use it.
8594
8595Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8596
8597 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8598
8599Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8600
8601 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8602 versions prior to 1.13.5.
8603
8604Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8605
8606 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8607 the prompt is at the start of a line.
8608
8609Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8610
8611 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8612 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8613 in the copr tests now.
8614 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8615 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8616 expected to fail.
8617
8618Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8619
8620 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8621 gdb.t31/chillvars.exp, lib/gdb.exp:
8622 Tweak to run under either version of expect.
8623 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8624 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8625 * gdb.t11/list.exp: Remove extraneous whitespace.
8626
8627Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8628
8629 * gdb.t16/printcmds.exp (test_print_strings): Accept
8630 "(unsigned char *) " before the string.
8631
8632 * TODO: Add notes about printing of fancy types and GDB expressions.
8633
8634Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8635
8636 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8637 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8638 if doing mips-idt-ecoff.
c906108c
SS
8639
8640Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8641
8642 * Most .exp files: Tweak to run under either version of expect.
8643
8644Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8645
8646 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8647 xfails; I'm not sure why they are failing, but not because of PR 1806.
8648
8649Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8650
8651 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8652 defined in lib/gdb.exp.
8653
8654Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8655
8656 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8657 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8658 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8659 have to be typeless.
8660
8661Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8662
8663 * TODO: Add suggestion for copyright year test.
8664
8665Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8666
8667 * configure.in (*-*-lynxos*): Add stabs tests.
8668
8669Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8670
8671 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8672 so insert a tab before any assembler directive in column zero.
8673
8674 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8675 stores.
8676 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8677 stores.
8678 (fpu_short_memory_tests): Likewise.
8679
8680Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8681
8682 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8683 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8684 .stabs directives in comments.
8685
8686Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8687
8688 * TODO: New file, describing tests we could write.
8689 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8690
8691Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8692
8693 * gdb.t06/signals.exp: Add kludge to force re-sync.
8694
8695 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8696 to xgdb instead of gdb, get out of gdb.
8697
8698Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8699
8700 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8701 for info.
8702
8703Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8704
8705 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8706 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8707 * gdb.stabs/hppa.sed: New sed script for the PA.
8708
8709Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8710
8711 * gdb.stabs: Re-write weird.def and configuration to use sed
8712 instead of cpp. sed is portable and POSIX; cpp is neither.
8713
8714Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8715
8716 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8717
8718Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8719
8720 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8721
8722Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8723
8724 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8725 "_vb$".
8726 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8727 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8728
8729Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8730
8731 * lib/gdb.exp: Comment out code which depends on non-existent
8732 `transform' procedure.
8733
8734Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8735
8736 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8737 * lib/gdb.exp: Transform tool name.
8738 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8739 1.1's new error handling system.
8740
8741Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8742
8743 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8744
8745Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8746
8747 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8748 They made pattern matching so slow that timeouts happened on
8749 heavily loaded systems. Now any output from "show print" which
8750 gets us back to the GDB prompt is a PASS.
8751
8752Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8753
8754 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8755
8756Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8757
8758 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8759
8760 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8761 It is not from PR 3220.
8762
8763Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8764
8765 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8766 just started failing because they depended on the order the
8767 subcommands are presented, or exact docstring text. This kind of
8768 test is a pain and has minimal benefit.
8769
8770Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8771
8772 * gdb.t09/corefile.exp: At end of test, use "core" command with
8773 no arguments.
8774
8775Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8776
8777 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8778 17}/Makefile.in: Make it possible to run the testsuite with Sun
8779 make and CC = cross gcc by adding explicit build rules for .o
8780 files.
8781
8782Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8783
8784 * gdb.t15/funcargs.exp: Don't put comments on same line as
8785 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8786
c906108c
SS
8787Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8788
8789 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8790
8791Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8792
8793 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8794 * gdb.t20/inherit.exp: remove three dumplicate entries.
8795
8796Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8797
8798 * gdb.t06/break.exp: For "next over recursive call", fail on any
8799 incorrect output, not just on "factorial (value=2)".
8800
8801Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8802
8803 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8804 working now. Add an xfail if accesing a bss variable causes
8805 a memory error if the target is not yet run.
8806
8807Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8808
8809 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8810 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8811 name of __st* demangling (2 strings). Did Kung really get the
8812 more than 95 others right without testing them?
8813
8814Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8815
8816 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8817
8818Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8819
8820 * configure.in (configdirs): Add gdb.disasm
8821 * gdb.disasm: New directory for GDB disassembler tests.
8822 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8823
8824Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8825
8826 * gdb.t00/help.exp: Don't test "help set".
8827
8828 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8829 from within expect statements. None of these happen anymore and
8830 they cause regressions to be silently unnoticed.
8831
8832 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8833 messages) about known failures with gcc cygnus-2.4.5-930417.
8834
8835 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8836 comp-info.exp so it gets built if it doesn't exist.
8837
8838 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8839 it is no longer used.
8840 * gdb.t13/comp-info.c: Removed.
8841
8842Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8843
8844 * gdb.t06/signals.exp: Add xfail for sun3.
8845
8846Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8847
8848 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8849 relevant because ^C doesn't get sent but failure can be reproduced
8850 interactively).
8851
8852Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8853
8854 * gdb.stabs/alpha.mt: New configuration file for alpha.
8855 * gdb.stabs/configure.in: Use it.
8856 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8857 sharing with alpha.mt, redefine long to word via preprocessor.
8858 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8859 for alpha.
8860 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8861 native cc.
8862 * gdb.t00/teststrategy.exp: Change expect string so that we
8863 consume the `(xgdb)' from the command echo and from the gdb prompt.
8864 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8865 gdb currently compares all values as long, so this failure probably
8866 applies to any configuration where LONGEST is bigger than a target int.
8867 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8868 with gcc.
8869 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8870 to handle opaque pointers, gcc is.
8871 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8872 as first argument. Include <sys/types.h> and change all operator
8873 new definitions to use size_t.
8874 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8875 now that we use size_t.
8876
8877Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8878
8879 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8880 a long or float array cast all array members to the same type.
8881 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8882 with 64 bit longs.
8883 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8884 on alpha.
8885 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8886
8887Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8888
8889 * gdb.t24 (demangle.exp): Constructors of templates have names like
8890 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8891 section 14.6 of the ARM.
8892
8893 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8894 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8895 accomplish little and slow down the testsuite.
8896
8897 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8898 Accept spaces various places.
8899
8900Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8901
8902 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8903 with watchpoint enabled.
8904
8905 * Makefile.in: Remove definition of CC and remove the second
8906 definition of CXX (the "CXX = gcc" one remains). These definitions
8907 were causing backquotes to be expanded within backquotes, which
8908 doesn't work.
8909
8910Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8911
8912 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8913
8914Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8915
8916 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8917 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8918 by mips cc and contains no stabs entries.
8919
8920Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8921
8922 * config/vx-gdb.exp: Use fake device to load files rather than
8923 NFS.
8924 * lib/gdb.exp: New proc to do "file" command.
8925 * config/unix-gdb.exp: Use new "file" proc.
8926
8927Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8928
8929 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8930 Rework board rebooting slightly.
8931 (gdb_exit): Don't exit from the remote shell; there isn't one.
8932 * gdb.stabs/weird.exp: If a program is being debugged already,
8933 kill it.
8934 * gdb.t04/setvar.exp: Stop and restart gdb.
8935 * gdb.t05/expr.exp: Likewise.
8936 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8937 restart gdb and reload the program.
8938 * gdb.t08/opaque.exp: Likewise.
8939 * gdb.t12/scope.exp: Likewise.
8940 * gdb.t13/bitfields.exp: Likewise.
8941 * gdb.t15/funcargs.exp: Likewise.
8942 * gdb.t20/classes.exp: Likewise.
8943 * gdb.t03/ptype.exp: Increase timeout.
8944 * gdb.t16/printcmds.exp (test_print_string_constants,
8945 test_print_array_constants): Likewise.
8946 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8947 * gdb.t20/classes.exp (do_tests): Likewise.
8948 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8949
8950Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8951
8952 * gdb.stabs: Renamed *wierd* to *weird*.
8953
8954Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8955
8956 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8957 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8958
8959Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8960
8961 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8962 (do_tests): Remove xfail for whatis on one_var and two_var.
8963
8964Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8965
8966 * Makefile.in: Made cross building work better by adding
8967 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8968
8969Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * gdb.t15/{return.c,return.exp,Makefile.in}:
8972 New test, currently commented out.
8973
8974Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8975
8976 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8977 still running and removes the leftover named socket so GDb can do
8978 clean restarts.
8979
8980Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8981
8982 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8983 console, not GDB.
8984 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8985 cross testing works better with "make check"
8986 * config/unix-gdb: Use default procedures for exit and version.
8987 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8988 with the newest VxWorks.
8989
8990Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8991
8992 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8993 old form.
8994
8995 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8996 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8997
8998 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8999
9000 * config/unix-gdb.exp: Remove this version of gdb_exit
9001 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9002 Rob says he'll look at it when he gets back to testing boards.
9003
9004Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9005
9006 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9007 an expected fail for certain ptype commands.
9008
9009 * gdb.t20/classes.exp: Update expected results of "ptype class
9010 Base1" to account for the constructor that now appears in the type.
9011
9012Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9013
9014 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9015 disappeared from list.
9016 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9017 "alldone" proc with call to cleanup and exit.
9018 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9019 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9020 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9021 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9022 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9023 "alldone" proc with simple returns that suppress remaining
9024 tests. The alldone proc went away many months ago.
9025
9026Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9027
9028 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9029
9030 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9031
9032Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9033
9034 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9035 as vax gdb will display them.
9036
9037Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9038
9039 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9040 optimizers.
9041
9042 * scope.exp: Change "bad value for localval" messages so each one
9043 is unique.
9044
9045 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9046 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9047
9048 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9049
9050Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9051
9052 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9053 doesn't exist (due to optimization).
9054
9055Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9056
9057 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9058 contains \r because the filename is long.
9059
9060 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9061 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9062
9063Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9064
9065 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9066 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9067 Ultrix.
9068 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9069 int tests.
9070 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9071
9072Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9073
9074 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9075
9076 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9077 to match does not match the passing case but still matches the
c906108c
SS
9078 failing case.
9079
9080Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9081
9082 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9083
9084Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9085
9086 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9087 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9088 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9089 Remove various versions of gdb_exit.
9090 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9091 gdb_exit.
9092 * config/unix-gdb.exp: gdb_exit remains here, and should override
9093 the generic version, since it's doing a lot of wierd stuff that
9094 the other versions aren't. FIXME, fold it in, or abandon this
9095 version.
9096
9097Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9098
9099 * gdb.t24/demangle.exp: Add tests for PR 3220.
9100
9101Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9102
9103 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9104
9105Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9106
9107 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9108 "i386-*-*". Works for i486 as well.
9109
9110 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9111 bug, and expand domain of xfail to all SVR4 systems, since the
9112 actual problem is likely to be in generic SVR4 /proc support.
9113
9114Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9115
9116 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9117
9118Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9119
9120 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9121 xfails for other systems. Match a missing 'Continuing.' as an
9122 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9123
9124 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9125 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9126 Only issue warning for missing executables if -all option is used.
9127
9128 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9129 file if -all option is used. It's like an unpredictable XFAIL.
9130
9131Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9132
9133 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9134 for dynamically linked binaries.
9135
9136 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9137
9138Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9139
9140 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9141 to state that this is a known bug in old versions of g++.
9142
9143Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9144
9145 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9146 while waiting for `Continuing'.
9147
9148Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9149
9150 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9151 in text, data, and bss.
9152 * gdb.t10/nodebug.c: Add local and global test variables for
9153 initialized and uninitialized data.
9154
9155Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9156
9157 * config/unix-gdb.exp (gdb_exit): Add "wait".
9158
9159Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9160
9161 * gdb.t06/signals.exp: xfail the continue from the handler for all
9162 targets.
9163
9164 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9165 function with watchpoints enabled, the i386 call dummy starts with
9166 a call.
9167
9168 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9169 386 bsd names its corefiles.
9170
9171Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9172
9173 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9174 compilers don't grok it.
9175 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9176 with small octal ints rather than character constants, which
9177 are signed and might not fit if first promoted to int.
9178
9179Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9180
9181 * gdb.t09/Makefile.in (clean): Remove corefile.
9182
9183Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9184
9185 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9186
9187Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9188 and Jim Kingdon (kingdon@cygnus.com)
9189
9190 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9191 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9192 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9193
9194Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9195
9196 * gdb.t17/interrupt.exp: Add xfail for hppa.
9197
9198Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9199
9200 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9201 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9202 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9203 to determine signed-ness of bitfields and use the result to setup
9204 the xfail.
9205 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9206 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9207 call line is reached if necessary.
9208
9209Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9210
9211 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9212
9213Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9214
9215 * gdb.t06/break.exp: Also test `clear' command.
9216
9217Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9218
9219 * gdb.t00/teststrategy.exp: Remove extra quote.
9220
9221 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9222 watchpoint enabled to be for all non-68k machines.
9223
9224 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9225
9226Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9227
9228 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9229 targets use aout.mt instead of ecoff.mt as gas understands
9230 standard aout format.
9231
9232Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9233
9234 * lib/gdb.exp (runto): Don't insist that function we are running to
9235 was compiled with -g.
9236
9237 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9238
9239 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9240 to get back into the read system call.
9241 Accept leading newline in case where we woke it up.
9242
9243Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9244
9245 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9246 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9247 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9248 enable ecoff configuration.
9249
9250Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9251
9252 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9253
9254Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9255
9256 * gdb.t16/printcmds.exp: Add another printf test.
9257
9258Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9259
9260 * configure.in: If configured -with-stabs on any target, add
9261 stabsdirs to configdirs.
9262
9263Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9264
9265 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9266 fun" so pattern does not match the command itself.
9267
9268Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9269
9270 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9271
9272Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9273
9274 * gdb.t17/interrupt.exp: Test for more things.
9275
9276Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9277
9278 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9279 compiler arranges the code and line numbers.
9280
9281 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9282
9283Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9284
9285 * gdb.t00/help.exp: Increase expect input buffer size.
9286
9287Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9288
9289 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9290
9291 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9292
9293 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9294
9295 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9296 [0-9]*, not just [0-9].
9297
9298Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9299
9300 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9301
9302 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9303
9304Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9305
9306 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9307
9308Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9309
9310 * gdb.t06/signals.c: Add xfails for sun3.
9311
9312 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9313
9314 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9315 test_stepping tests.
9316
9317Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9318
9319 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9320
9321 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9322
9323 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9324 rather than actually putting it through cpp twice.
9325
9326 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9327
9328Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9329
9330 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9331 no longer needed.
9332
9333Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9334
9335 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9336
9337 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9338 C++ features prints as "struct", make it a pass, not an xfail.
9339
9340Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9341
9342 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9343 Don't require VA to print as "class" rather than "struct".
9344
9345Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9346
9347 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9348
9349Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9350
9351 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9352
9353Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9354
9355 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9356 order.
9357
9358Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9359
9360 * gdb.t16/printcmds.exp: Add printf tests.
9361
9362 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9363
9364 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9365
9366Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9367
9368 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9369 pass counts, to counteract any existing or future setup_xfails.
9370
9371Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9372
9373 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9374 {BEGIN,END}_COMMON for common block instead of STAB.
9375 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9376
9377 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9378 intp_var should be N_GSYM not N_LSYM.
9379 wierd-aout.S: Use a label for the value of the N_SO.
9380 wierd.def: Remove all backslashes.
9381 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9382
9383Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9384
9385 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9386 get the expected next to inheritance3.
9387
9388Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9389
9390 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9391 now that gcc-2.4 gets it right.
9392
9393Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9394
9395 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9396
9397 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9398 generating comp-info.exp which works for cross-compilation.
9399
9400Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9401
9402 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9403 "*-*-sysv4.*".
9404
9405Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9406
9407 * gdb.t01/run.exp: Start with a fresh gdb.
9408 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9409 SVR4.x.
9410
9411Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9412
9413 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9414 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9415 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9416 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9417 things to remove.
9418
9419Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9420
9421 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9422 test cases from bug reports.
9423
9424Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9425
9426 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9427 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9428 avoid spurious xfails.
9429 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9430 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9431 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9432
9433Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9434
9435 * gdb.t00/teststrategy.exp: Rework to provide more useful
9436 description of each test, fix problem with systems that define
9437 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9438 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9439 results for "next over recursive call" so timeouts aren't taken
9440 by error.
9441
9442Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9443
9444 * gdb.t12/scope.exp: Test printing of variables before run.
9445
9446 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9447 printed in wrong order due to sorting.
9448
9449Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9450
9451 * gdb.t00/teststrategy.exp: Fix expected results for printing
9452 user entered string constant. Is array of char, prints with no
9453 address.
9454
9455 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9456 commands.
9457 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9458 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9459 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9460 of struct of char arrays.
9461 * gdb.t00/radix.exp: New tests for radix commands.
9462
9463Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9464
9465 * gdb.t16/printcmd.exp: Print a variable before running program
9466 (with xfail for AIX).
9467
9468Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9469
9470 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9471
9472 * gdb.t16/printcmd.exp: Don't print variables before running program.
9473
9474 * gdb.t06/break.exp: Don't require envp argument to main.
9475
9476 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9477
9478 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9479 Add xfails for rs6000.
9480
9481 * gdb.t02/whatis.exp: Change other tests not to re-test something
9482 we already tested.
9483
9484 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9485 each type used has a variable of that type.
9486
9487Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9488
9489 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9490
9491Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9492
9493 * configure.in: change srctrigger to be a file, not a directory
9494
9495Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9496
9497 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9498
9499 * gdb.t11/list.exp: Fixed a couple of typos.
9500
9501Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9502
9503 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9504 is fixed and PR is closed.
9505 * gdb.t16 (gdbme.c): Add simple test string variable.
9506 * gdb.t16 (printcmds.exp): Add tests with simple test string
9507 variable, primarily for boundaries on "set print elements".
9508
9509Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9510
9511 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9512 Make leading 0's optional and don't expect a tab in the middle
9513 of the number.
9514
9515 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9516
9517 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9518 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9519 don't end command passed to gdb_test with newline.
9520
9521 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9522 signed keyword away, don't expect signed bitfields to be signed.
9523
9524 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9525 printing with only as many 1's as are in the field as well as printing
9526 with 32 1's (see comment).
9527
9528Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9529
9530 * gdb.t00/default.exp: Start with a fresh gdb.
9531 * configure.in (configdirs): Remove gdb.t31 until the chill
9532 compiler works again. It no longer is able to find chillrt0
9533 since it isn't in libchill.a anymore.
9534 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9535 wierd.o, make more modular.
9536 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9537 spurious newlines that caused problems.
9538
9539Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9540
9541 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9542 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9543 gdb.stabs/wierd.{exp,def}: Many new tests.
9544
9545 * gdb.t00/default.exp: update info line for new message.
9546
9547 * gdb.t02/{whatis.exp,gdbme.c}:
9548 Test that "char *" doesn't print as "caddr_t".
9549
9550Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9551
9552 * gdb.t00/help.exp: Use .* in place of some help messages which
9553 just changed.
9554 gdb.t00/default.exp: Update "info frame" test for new message.
9555 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9556 Remove some xfails
9557
9558Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9559
9560 * gdb.t03/{gdbme.c,ptype.exp}:
9561 Add tests for typedef'd struct and union without tags.
9562 Also check "whatis" on a variable of a typedef'd enum without a tag.
9563
9564 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9565 PRMS 1823; the bug still exists but isn't reproduced by this test
9566 anymore), and remove rs6000 XFAIL (the bug is fixed).
9567
9568 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9569 duplicated from whatis.exp. For those that are left, accept
9570 "long", "long int", or "int" for long variables (whatis.exp already
9571 has an XFAIL for "int", so no need to fail it here).
9572
9573 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9574 Deal with GCC's names for types now that GDB uses the compiler's names.
9575
9576 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9577 setup_xfail's for sunos4. If we #defined the signed keyword away,
9578 don't expect GDB to know that char it is signed.
9579
9580 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9581
9582Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9583
9584 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9585 should work on any system, regardless of debugging format.
9586 * gdb.t21/demangle.exp: Move to gdb.t24.
9587 * gdb.t24/demangle.exp: Move from gdb.t21.
9588 * gdb.t24/{Makefile.in, configure.in}: New files.
9589
9590Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9591
9592 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9593 * gdb.stabs: New directory.
9594
9595Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9596
9597 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9598 not just "Quit anyway?".
9599
9600Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9601
9602 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9603 that all setup_xfails are immediately followed by clear_xfails.
9604
9605Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9606
9607 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9608 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9609 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9610 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9611 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9612 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9613 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9614 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9615 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9616 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9617 gdb.t31/chillvars.exp, lib/gdb.exp:
9618 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9619 bug-gdb@prep.ai.mit.edu.
9620
9621Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9622
9623 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9624 with 0.0, not integer 0.
9625
9626Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9627
9628 * gdb.t06/break.exp: Update for "Kill the program" message change.
9629
9630Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9631
9632 * Makefile.in (GDBFLAGS): Set to -nx.
9633 * Makefile.in (site.exp): Use GDBFLAGS.
9634
9635Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9636
9637 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9638 Makefiles.
9639 (check): depend on just-check.
9640 (just-check): added so that tests can be run without a noop
9641 build pass.
9642
9643Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9644
9645 Switch to using configure's configdirs.
9646 * Makefile.in (Makefile): add configure.in dependency.
9647 (SUBDIRS): removed redundant assignment.
9648 * configure.in: switch subdirs assignment to configdirs.
9649 * gdb.t*/configure.in: new files.
9650
9651Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9652
9653 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9654 works.
9655
9656Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9657
9658 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9659 in explicit rules. Apparently this is not supported by some makes.
9660
9661Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9662
9663 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9664
9665Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9666
9667 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9668 disappeared.
9669
9670Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9671
9672 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9673
9674Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9675
9676 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9677 watchpoint problem that is now fixed.
9678 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9679 uninitialized convenience variables.
9680 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9681 structures.
9682
9683Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9684
9685 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9686 which causes expect to get out of sync with gdb on long output
9687 from help set.
9688 * gdb.t09/corefile.exp: Make expected pattern for core file
9689 failing signal and frame output format less sun specific.
9690
9691Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9692
9693 * gdb.t31/chillvars.exp: Add and remove initial dummy
9694 breakpoint, so that symbol table is forced in.
9695 (Needed at least on Sunos4, though it seems not SVR4.)
9696 * gdb.t31/chillvars.exp: Update for changed output format.
9697
9698Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9699
9700 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9701
9702Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9703
9704 * Makefile.in: Added --srcdir when invoking runtest, removed the
9705 need for a local config file. (optional now)
9706
9707Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9708
9709 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9710 failure count used to force early termination. Add some more
9711 expected failures for gnu style demangling.
9712
9713Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9714
9715 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9716 pmi variable from gdb.t20/gdbme to get optimized away.
9717 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9718 Check for written corefile upon timeout _and_ eof.
9719
9720Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9721
9722 * config/unix-gdb.exp: Add missing return 0.
9723
9724Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9725
9726 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9727 test termination.
9728
9729Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9730
9731 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9732 disappeared.
9733
9734Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9735
9736 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9737 time as i860 support works.
9738
beb998c6 9739 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9740 "backtrace 100\r" rather than just "backtrace\r", to match last
9741 change.
9742
9743Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9744
9745 * config/udi-gdb.exp (gdb_exit): Remove close command.
9746 (gdb_target_udi): New procedure to set the UDI target.
9747 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9748 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9749 Added waits for prompts after several question responses. Added
9750 some more responses used by a29k-amd-udi-gdb.
9751 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9752 pass different arguments, restart UDI connection after program
9753 completion.
9754 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9755 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9756 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9757 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9758 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9759 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9760 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9761 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9762 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9763 after program completion.
9764 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9765 compiled with a SELECT_VECS setting.
9766 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9767 infinite recursion.
9768
9769 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9770 Added checks for COFF results, and made them expected failures for
9771 all targets. It would be better to make them expected failures
9772 for COFF targets only.
9773
9774Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9775
9776 * Makefile.in: add null dvi target, don't bother to recurse
9777 through test directories for info and install-info; rename
9778 $(datadir) to be dejagnu instead of deja-gnu
9779
9780Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9781
9782 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9783 compiler to coredump.
9784 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9785 code.
9786
9787Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9788
9789 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9790 coredump.
9791 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9792 code.
9793
9794Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9795
9796 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9797 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9798 which in a shell. Deletes xgdb when done.
9799 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9800 Tests the return from the "set height" or "set width" commands.
9801 Added a few return codes where needed.
9802
9803Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9804
9805 * Makefile.in (SUBDIRS): Add gdb.t17.
9806 * configure.in (subdirs): Add gdb.t17.
9807 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9808 files to test gdb's calling of functions in the inferior with
9809 the correct arguments and gdb's ability to retrieve any
9810 result returned.
9811
9812Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9813
9814 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9815 may be called after gdb goes away. Previous versions of expect
9816 needed these to avoid file descriptor leaks, but they cause
9817 errors with the current revision of expect.
9818 * gdb.t00/gdbvars.exp: Use -re on expected output after
9819 setting sevenbit-strings.
9820 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9821 to set sevenbit-strings consistent across tests.
9822 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9823 set sevenbit-strings consistent across tests.
9824
9825Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9826
9827 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9828 expected output to match current "expect" expectations.
9829
9830Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9831
9832 * gdb.t00/default.exp: Change expected output for default "source"
9833 command, to match new gdb behavior which requires a filename to
9834 source.
9835
9836Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9837
9838 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9839 expected fail for i486-*-* that misses the marker2 function.
9840 * gdb.t10/crossload.exp (bfddefault): Allow successful
9841 recognition of a format to pass even if no symbols are found.
9842 Explicitly catch failures where the format is not recognized
9843 or is ambiguous, and add the reason to the fail message.
9844 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9845 the cause is and invalid target and add reason to failure message.
9846 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9847 elf32-i386, elf32-sparc, and elf32-i860.
9848 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9849 Set up expected failure for 'filename'::variable scope resolution,
9850 which is now apparently broken on all targets.
9851 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9852 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9853 gdb.t23/templates.exp: Change failure for missing binfile into
9854 just a warning.
9855 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9856 references.
9857
9858Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9859
9860 * gdb.t00/default.exp: Add expected output for default "source"
9861 command, to match new gdb behavior.
9862 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9863
9864Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9865
9866 * config/*-gdb.exp: returns an error, rather than exiting on
9867 internal errors.
9868
9869Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9870
9871 * gdb.t03/gdbme.c: Add pointer to struct variable.
9872 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9873 referencing struct members.
9874
9875Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9876
9877 * configure.in (mips-idt-ecoff): New target.
9878 * config/mips-gdb.exp: New file for remote board using MIPS remote
9879 debugging protocol.
9880
9881 * Redid configuration scheme. Removed gdb.t*/configure.in.
9882 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9883 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9884 distclean targets. Built executables via .o files. Adjusted
9885 tests to account for source files in $(srcdir) rather than
9886 $(objdir).
9887 * lib/gdb.exp (runto): Don't expect () after the function name,
9888 because it may have arguments.
9889
9890Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9891
9892 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9893 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9894 expected failures for mips-idt-* and mips-sgi-*.
9895 * gdb.t00/default.exp (attach): Kill process if requested.
9896 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9897 that does not read core files.
9898 * gdb.t01/run.exp: Removed checks for exit status code.
9899 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9900 it is linked in.
9901 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9902 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9903 appropriate, rather than doing it by hand.
9904 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9905 execution.
9906 * gdb.t10/crossload.exp: Kill existing program if needed.
9907 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9908 appropriate, rather than doing it by hand. Always increase
9909 timeout for this test, not just for VxWorks.
9910
9911Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9912
9913 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9914 of Chill STRUCT types and STRUCT values.
9915 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9916 than "char".
9917 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9918 struct2): New struct definitions and initializations to test
c906108c
SS
9919 simple Chill STRUCT types.
9920
9921Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9922
9923 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9924 the null byte at the end of strings.
9925 * gdb.t00/default.exp: Make show version insensitive to copyright
9926 date.
9927 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9928 to avoid dependencies on target char signedness.
9929 * gdb.t16/printcmds.exp: Update expected results for explicitly
9930 unsigned char.
9931 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9932 now work.
9933 * gdb.t21/demangle.exp: Add many more patterns for template
9934 demangling, most of them being expected failures.
9935 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9936 string we are matching for, to match on the whole string.
9937 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9938 and fix a whole bunch that had incorrect expected output but were
9939 passing anyway because of the bug in "proc demangle".
9940 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9941 type.
9942 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9943
9944Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9945
9946 * gdb/testsuite: made modifications to testcases, etc., to allow
9947 them to work properly given the reorganization of deja-gnu and the
9948 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9949
9950Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9951
9952 * gdb/testsuite: Initial creation of gdb/testsuite.
9953 Migrated dejagnu testcases and support files for testing nm to
9954 gdb/testsuite from deja-gnu. These files were moved "as is"
9955 with no modifications. This migration is part of a major overhaul
9956 of dejagnu. The modifications to these testcases, etc., which
9957 will allow them to work with the new version of dejagnu will be
9958 made in a future update.
9959\f
9960Local Variables:
9961mode: indented-text
9962left-margin: 8
9963fill-column: 74
9964version-control: never
9965End: