]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2003-02-28 Andrew Cagney <cagney@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e8d359df
MS
12003-02-27 Michael Snyder <msnyder@redhat.com>
2
3 * gdb.base/restore.c (main): Return zero, so exit code
4 will be consistant.
5
0b71dc91
DC
62003-02-26 David Carlton <carlton@math.stanford.edu>
7
8 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
9 char *>::foo" test with respect to PR c++/33. Create a new test
10 which is identical to that one except that it doesn't put the
11 space between the "char" and the "*"; KFAIL it, too.
12
dd14ab43
DC
132003-02-26 David Carlton <carlton@math.stanford.edu>
14
15 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16 template types into either PASSes or KFAILs (corresponding to PR
17 c++/57). Tweak indentation. Update copyright.
18
1146c7f1
SC
192003-02-23 Stephane Carrez <stcarrez@nerim.fr>
20
21 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22
74641dfb
MC
232003-02-13 Michael Chastain <mec@shout.net>
24
25 * gdb.base/exprs.exp: Remove i960 remnants.
26 * gdb.base/funcargs.exp: Likewise.
27 * gdb.base/list.exp: Likewise.
28 * gdb.base/ptype.exp: Likewise.
29
559cd2d0
DC
302003-02-14 David Carlton <carlton@math.stanford.edu>
31
32 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
33 pEe->D::vg()" from XFAIL to KFAIL.
34
c4f90d87
JM
352003-02-13 Jason Molenda (jmolenda@apple.com)
36
37 * gdb.base/maint.exp: Update maint print statistics regexp to include
38 new entries.
39
cbc4d97c
MC
402003-02-13 Michael Chastain <mec@shout.net>
41
42 * gdb.c++/inherit.exp: Remove call to get_debug_format.
43
40f235b7
MC
442003-02-12 Michael Chastain <mec@shout.net>
45
46 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
47 * gdb.c++/inherit.exp: Likewise.
48 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
49 * gdb.c++/templates.exp: Likewise.
50 * gdb.c++/virtfunc.exp: Likewise.
51
c56716b0
JM
522003-02-06 Jason Molenda (jason-cl@molenda.com)
53
54 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
55 why the code is written that way.
56
070afcf8
MC
572003-02-05 Michael Chastain <mec@shout.net>
58
59 * gdb.base/dump.exp: Add missing copyright line.
60
5d0331e5
JM
612003-02-05 Jason Molenda (jason-cl@molenda.com)
62
f7ae6d3e 63 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
64 at the beginning so the breakpoint doesn't get set on the loop.
65
92851186
MC
662003-02-05 Michael Chastain <mec@shout.net>
67
68 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
69 output for configurations with gcc 2.95.3.
70
cbf1e085
AC
712003-02-05 Keith Seitz <keiths@redhat.com>
72 Andrew Cagney <ac131313@redhat.com>
73
74 * gdb.mi/mi-cli.exp: New file.
75
29518e1e
MC
762003-02-04 Michael Chastain <mec@shout.net>
77
78 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
79 Call perror and then continue.
80
5af1d5f3
MC
812003-02-03 Michael Chastain <mec@shout.net>
82
83 * gdb.c++/pr-1023.cc: New file.
84 * gdb.c++/pr-1023.exp: New file.
85
6b549786
JB
862003-02-05 Jim Blandy <jimb@redhat.com>
87
88 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
89 it's local to foobar. Check for it there, and check that it's not
90 present in main.
91 * gdb.c++/local.cc (marker2): New function.
92 (foobar): Call marker1.
93 (main): Call marker2 instead of marker1.
94
67f16606
AC
952003-02-04 Andrew Cagney <ac131313@redhat.com>
96
97 * gdb.disasm/mn10200.exp: Obsolete file.
98 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
99 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
100 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
101
1c5cb38e
DC
1022003-02-04 David Carlton <carlton@math.stanford.edu>
103
104 * gdb.c++/overload.exp: Test intToChar(1).
105 * gdb.c++/overload.cc (intToChar): New.
106 (main): Call intToChar.
107
d1fe6965
DC
1082003-02-03 David Carlton <carlton@math.stanford.edu>
109
110 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
111 'might_kfail' arg.
112 KFAIL some of the continue_to_bp_overloaded calls, according to
113 PR c++/1025.
114
9ba61c5d
MC
1152003-02-01 Michael Chastain <mec@shout.net>
116
117 * gdb.base/advance.c (marker1): New marker function.
118 * gdb.base/advance.exp: When the 'advance' command lands on the
119 return breakpoint, it can legitimately stop on either the
120 current line or the next line. Accommodate both outcomes.
121 * gdb.base/until.exp: Likewise.
122
e7494ffb
AC
1232003-02-02 Andrew Cagney <ac131313@redhat.com>
124
125 2002-11-10 Jason Molenda (jason-cl@molenda.com):
126 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
127 now a list, not a tuple.
128 * gdb.mi/mi-var-display.exp: Ditto.
129 * gdb.mi/gdb792.exp: Ditto.
130
075559bc
AC
1312003-02-01 Andrew Cagney <ac131313@redhat.com>
132
133 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
134 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
135 stack backtraces.
136 * gdb.mi/mi-syn-frame.c: Part of same.
137
2bd4c7b1
MK
1382003-02-01 Mark Kettenis <kettenis@gnu.org>
139
140 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
141 gdb.mi/mi1-pthreads.exp: Return instead of calling
142 gdb_suppress_entire_file.
143
eabd8992
MS
1442003-02-01 Mark Salter <msalter@redhat.com>
145
146 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
147
71469e2f
MS
1482003-01-31 Mark Salter <msalter@redhat.com>
149
150 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
151 Support empty arg.
152
38a94d44
MC
1532003-01-30 Michael Chastain <mec@shout.net>
154
155 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
156 This was a workaround for a UTF-8 bug in readline 4.3. The bug
157 has been fixed in gdb/readline on 2003-01-09.
158
19ea9e73
MS
1592003-01-29 Michael Snyder <msnyder@redhat.com>
160
e8d359df
MS
161 * gdb.base/maint.exp: Allow for leading underscore in symbol.
162 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
163 * gdb.base/args.exp: Skip if target does not support args passing.
164
2307bd6a
DJ
1652003-01-22 Daniel Jacobowitz <drow@mvista.com>
166
19ea9e73 167 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
168 gdb_test. Accept a list of expect arguments as the third
169 parameter.
170 (gdb_test): Use it.
171
f2dd3617
EZ
1722003-01-20 Elena Zannoni <ezannoni@redhat.com>
173
174 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
175 allow for different test tree configurations. Update some
176 tescases accordingly.
177 * gdb.arch/altivec-regs.exp: Ditto.
178 * gdb.asm/asm-source.exp: Ditto.
179 * gdb.base/advance.exp: Ditto.
180 * gdb.base/display.exp: Ditto.
181 * gdb.base/long_long.exp: Ditto.
182 * gdb.base/mips_pro.exp: Ditto.
183 * gdb.base/overlays.exp: Ditto.
184 * gdb.base/relocate.exp: Ditto.
185 * gdb.base/setshow.exp: Ditto.
186 * gdb.base/step-line.exp: Ditto.
187 * gdb.base/step-test.exp: Ditto.
188 * gdb.base/until.exp: Ditto.
189 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
190
c71cdefd
DC
1912003-01-17 David Carlton <carlton@math.stanford.edu>
192
193 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
194 corresponding to PR c++/945.
195 Update copyright.
196
fdba05d7
DC
1972003-01-17 David Carlton <carlton@math.stanford.edu>
198
199 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
200 corresponding to PR c++/68.
201
2022003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
203
204 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
205 (test_paddr_hairy_functions): Call print_addr_2_kfail for
206 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
207
c362c33a
EZ
2082003-01-15 Elena Zannoni <ezannoni@redhat.com>
209
0fbc361c
EZ
210 * gdb.base/break.exp: Fix change of default location, because of
211 removal of until tests.
212 * gdb.base/help.exp: Update test for new 'until' help message.
213 Add test for help on 'advance'.
c362c33a
EZ
214 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
215
dabf8a35
MK
2162003-01-15 Mark Kettenis <kettenis@gnu.org>
217
218 * gdb.base/default.exp: Adapt "info float" test for recent changes
219 to that command. Add test for "info vector".
220 * gdb.base/float.exp: New file. Add test for "info float" that
221 resembles the old test in gdb.base/default.exp.
222
a1769aca
DC
2232003-01-15 David Carlton <carlton@math.stanford.edu>
224
225 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
226
82025e13
EZ
2272003-01-15 Elena Zannoni <ezannoni@redhat.com>
228
229 * gdb.base/break.exp: Move the tests of until command from here...
230 * gdb.base/until.exp: ... to here. New file. Add other tests.
231 * gdb.base/advance.c: New file.
232 * gdb.base/advance.exp: New file.
233
8f9ab801
EZ
2342003-01-14 Elena Zannoni <ezannoni@redhat.com>
235
236 * gdb.base/args.c: New file.
237 * gdb.base/args.exp: New file.
238
9ae66589
DJ
2392003-01-14 Daniel Jacobowitz <drow@mvista.com>
240
241 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
242
8d77e5c3
DJ
2432003-01-14 Daniel Jacobowitz <drow@mvista.com>
244
245 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
246
12d2f0a1
DJ
2472003-01-14 Daniel Jacobowitz <drow@mvista.com>
248
249 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
250 dates.
251
6ca37014
DJ
2522003-01-13 Daniel Jacobowitz <drow@mvista.com>
253
254 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
255
b0023472
DJ
2562003-01-13 Daniel Jacobowitz <drow@mvista.com>
257
258 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
259 (ptype &*"foo").
260 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
261
d6abaea5
DJ
2622002-01-13 Daniel Jacobowitz <drow@mvista.com>
263
264 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
265 * gdb.mi/mi1-console.exp: Likewise.
266
dfd536a7
DJ
2672002-01-13 Daniel Jacobowitz <drow@mvista.com>
268
269 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
270 * gdb.mi/mi1-console.exp: Likewise.
271
a1fb14a2
DJ
2722003-01-13 Daniel Jacobowitz <drow@mvista.com>
273
274 * gdb.c++/overload.exp: Remove some fixed XFAILs.
275
c4cf40b7
DJ
2762003-01-09 Daniel Jacobowitz <drow@mvista.com>
277
278 * gdb.base/detach.exp: New test.
279
696d5a5b
DJ
2802003-01-09 Daniel Jacobowitz <drow@mvista.com>
281
282 * Makefile.in (ALL_SUBDIRS): New variable.
283 (subdirs, clean, distclean): Use it.
284 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
285 regenerating Makefile, since it is generated from the top level.
286 * gdb.asm/Makefile.in: Likewise.
287 * gdb.base/Makefile.in: Likewise.
288 * gdb.c++/Makefile.in: Likewise.
289 * gdb.disasm/Makefile.in: Likewise.
290 * gdb.java/Makefile.in: Likewise.
291 * gdb.mi/Makefile.in: Likewise.
292 * gdb.threads/Makefile.in: Likewise.
293 * gdb.trace/Makefile.in: Likewise.
294
754533e4
DC
2952003-01-09 David Carlton <carlton@math.stanford.edu>
296
297 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
298 Add copyright year 2003.
299
d8b3e9ee
MC
3002003-01-06 Michael Chastain <mec@shout.net>
301
302 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
303 When selecting a thread, 'line' and 'file' are optional.
304 * gdb.mi/mi1-pthreads.exp: Likewise.
305
8e9e0fe6
AS
3062003-01-06 Andreas Schwab <schwab@suse.de>
307
308 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
309 failures.
310
b5ab8ff3
DJ
3112003-01-04 Daniel Jacobowitz <drow@mvista.com>
312
313 Fix PR gdb/844
314 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
315 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
316
317 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
318 instead of calling gdb_suppress_entire_file.
319 * gdb.threads/print-threads.exp: Likewise.
320 * gdb.threads/schedlock.exp: Likewise.
321
322 * gdb.threads/killed.exp: Return instead of calling
323 gdb_suppress_entire_file.
324 * gdb.threads/linux-dp.exp: Likewise.
325 * gdb.threads/pthreads.exp: Likewise.
326
1e698235
DJ
3272003-01-04 Daniel Jacobowitz <drow@mvista.com>
328
329 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
330 stabs.
331 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
332 * gdb.base/whatis.exp: Always allow (void) after function names.
333
147ff08c
DJ
3342003-01-04 Daniel Jacobowitz <drow@mvista.com>
335
336 * gdb.c++/casts.exp: Correct regexp.
337
dc62bfc2
MK
3382003-01-04 Mark Kettenis <kettenis@gnu.org>
339
340 * configure.in: Call AC_CONFIG_HEADER. Don't call
341 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
342 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
343 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
344 aforementioned directories in the AC_OUPUT call.
345 * config.hin: New file.
346 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
347 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
348 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
349 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
350 pass -I$objdir instead of -I$objdir/$subdir in compilation.
351 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
352 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
353 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
354 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
355 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
356 gdb.threads/configure.in, gdb.threads/configure,
357 gdb.threads/config.in, gdb.trace/configure.in,
358 gdb.trace/configure: Removed.
359
77afa639
MC
3602003-01-03 Michael Chastain <mec@shout.net>
361
362 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
363 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
364
7634bb6e
DJ
3652003-01-03 Daniel Jacobowitz <drow@mvista.com>
366
367 * gdb.base/store.exp: Fix regular expressions.
368
b39c905e
MK
3692002-12-28 Mark Kettenis <kettenis@gnu.org>
370
371 * configure.in: Rewrite.
372 * configure: Regenerated.
373
0a8551dd
DC
3742003-01-03 David Carlton <carlton@math.stanford.edu>
375
376 * gdb.base/psymtab.exp: New file.
377 * gdb.base/psymtab1.c: Ditto.
378 * gdb.base/psymtab2.c: Ditto.
379
c60b7188
AF
3802002-12-23 Adam Fedor <fedor@gnu.org>
381
382 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
383
ee73db83
DC
3842002-12-23 David Carlton <carlton@math.stanford.edu>
385
386 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
387 and current_directory initialization.
388
d6c1774e
JB
3892002-12-22 Jim Blandy <jimb@redhat.com>
390
f0a847b8
JB
391 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
392 rather than as part of the output file name.
393
d6c1774e
JB
394 * gdb.base/attach.exp: There's no need to copy the test program to
395 /tmp; that was only ever necessary on HP/UX, and this test is
396 entirely disabled there anyway.
397
f0708dbb
JB
3982002-12-21 Jim Blandy <jimb@redhat.com>
399
4c2acfea
JB
400 * gdb.c++/psmang.exp: Doc fix.
401
f0708dbb
JB
402 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
403 test.
404
9579e000
DC
4052002-12-20 David Carlton <carlton@math.stanford.edu>
406
407 * gdb.c++/annota2.exp: KFAIL annotate-quit.
408
d1810171
MC
4092002-12-18 Michael Chastain <mec@shout.net>
410
411 * gdb.c++/annota2.exp: Add copyright year 2002.
412
76565097
DC
4132002-12-17 David Carlton <carlton@math.stanford.edu>
414
415 * gdb.c++/try_catch.cc: Add marker comments.
416 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
417 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
418 * gdb.c++/m-static.cc: Ditto.
419 * gdb.c++/m-static1.cc: Ditto.
420 * gdb.c++/try_catch.cc: Ditto.
421
da81390b
JJ
4222002-12-16 Jeff Johnston <jjohnstn@redhat.com>
423
424 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
425 to see whether we are using the new -environment-directory
426 command which resets via -r or the old version of the command
427 which may prompt the user. Part of fix for gdb/741.
428
b304d130
AC
4292002-12-13 Andrew Cagney <ac131313@redhat.com>
430
431 * gdb.fortran/types.exp: Update obsolete comment.
432 * gdb.fortran/exprs.exp: Ditto.
433 * lib/gdb.exp: Delete obsolete code.
434 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
435 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
436 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
437 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
438 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
439 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
440 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
441 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
442 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
443 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
444 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
445 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
446 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
447 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
448 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
449 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
450 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
451 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
452 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
453 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
454 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
455 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
456 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
457 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
458 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
459 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
460 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
461 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
462 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
463 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
464 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
465 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
466 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
467 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
468 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
469 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
470 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
471
a23b6e6a
DC
4722002-12-11 David Carlton <carlton@math.stanford.edu>
473
474 * gdb.c++/m-data.exp: Add test for members that shadow global
475 variables: see PR gdb/804.
476 * gdb.c++/m-data.cc: Ditto.
477
6604731b
DJ
4782002-12-10 Daniel Jacobowitz <drow@mvista.com>
479
480 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
481
de46ecd7
DC
4822002-12-06 David Carlton <carlton@math.stanford.edu>
483
484 * gdb.base/store.c: Don't declare functions static.
485
27e829d0
AC
4862002-12-04 Andrew Cagney <ac131313@redhat.com>
487
488 * gdb.base/store.exp, gdb.base/store.c: New files.
489
92806416
DJ
4902002-12-03 Daniel Jacobowitz <drow@mvista.com>
491
492 * gdb.base/selftest.exp: Update for current gdb.
493
3bcbaac5
DJ
4942002-12-03 Daniel Jacobowitz <drow@mvista.com>
495
496 * gdb.base/maint.exp: Only dump symbols from one source file
497 or objfile.
498
f4f00b1f
DJ
4992002-12-03 Daniel Jacobowitz <drow@mvista.com>
500
501 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
502 function call.
503
f1c8a949
JB
5042002-11-25 Jim Blandy <jimb@redhat.com>
505
506 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
507 function appearing in error message.
508
9e297a97
DJ
5092002-11-21 Daniel Jacobowitz <drow@mvista.com>
510
511 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
512
1f312e79
JJ
5132002-11-08 Jeff Johnston <jjohnstn@redhat.com>
514
515 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
516 for mi1 and current mi is in correct format. New mi startup message
517 should be in mi console format. This is part of fix for PR gdb/604.
518
83c31e7d
FN
5192002-09-18 Fernando Nasser <fnasser@redhat.com>
520
521 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
522 which explicitly prints the zero offset as "+0".
523
322b3f65
DJ
5242002-10-22 Daniel Jacobowitz <drow@mvista.com>
525
526 * gdb.threads/schedlock.c (args): Make unsigned.
527
5282002-10-21 Daniel Jacobowitz <drow@mvista.com>
529
530 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
531 numbers. Allow "foo2|selected stack frame".
532 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
533 * gdb.asm/asmsrc2.s: Likewise.
534 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
535 comments.
536 * gdb.asm/mips.inc: New file.
537
5e2fe5b8
AF
5382002-10-18 Adam Fedor <fedor@gnu.org>
539
540 * gdb.base/default.exp: Update expected output to include 'ObjC'.
541 * gdb.base/help.exp: Likewise.
542
abe1a5d0
KB
5432002-10-17 Kevin Buettner <kevinb@redhat.com>
544
545 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
546 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
547
10abb1d4
JB
5482002-10-02 Jim Blandy <jimb@redhat.com>
549
550 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
551
1f609b42
AC
5522002-10-01 Andrew Cagney <ac131313@redhat.com>
553
554 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
555 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
556 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
557 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
558 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
559 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
560 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
561
0aee02e4
AC
5622002-09-29 Andrew Cagney <ac131313@redhat.com>
563
564 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
565 * mi0-disassemble.exp, mi0-eval.exp: Delete.
566 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
567 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
568 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
569 * mi0-var-block.exp, mi0-var-child.exp: Delete.
570 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
571
6fde09ad
KB
5722002-09-27 Kevin Buettner <kevinb@redhat.com>
573
574 * gdb.base/annota1.exp (info break): Make directory components of
575 path optional since not all compilers emit this debug information.
576
577 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
578 step ends up stepping out of the function instead of stopping on
579 the epilogue.
580
9e8aab75
KS
5812002-09-26 Keith Seitz <keiths@redhat.com>
582
583 * lib/insight-support.exp (gdbtk_start): Figure out where
584 the insight executable is based on where gdb is. Use this
585 executable to start insight instead of gdb.
586
e36180d7
AC
5872002-09-25 Andrew Cagney <cagney@redhat.com>
588
589 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
590
9dd34b2b
AC
5912002-09-24 Andrew Cagney <ac131313@redhat.com>
592
593 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
594 test_isolated_complaints.
595 (test_empty_complaint): New function.
596 (test_empty_complaints): New function. Check no output when no
597 complaints.
598
dea97812
KB
5992002-09-19 Jim Blandy <jimb@redhat.com>
600
601 * gdb.base/charset.exp, gdb.base/charset.c: New files.
602
54951bd7
AC
6032002-09-19 Andrew Cagney <ac131313@redhat.com>
604
605 * gdb.gdb/complaints.exp: New file.
606
dec43320
AC
6072002-09-18 Andrew Cagney <ac131313@redhat.com>
608
609 * gdb.base/maint.exp: Check `help maint internal-warning'.
610
e70d6e3f
DC
6112002-09-18 David Carlton <carlton@math.stanford.edu>
612
613 * gdb.c++/m-static.exp: Remove breakpoints depending on line
614 numbers, and replace them by a single breakpoint after the
615 constructors are all finished.
616 Add test 4.
617 * gdb.c++/m-static.cc: Add test 4.
618 * gdb.c++/m-static.h: New file.
619 * gdb.c++/m-static1.cc: New file.
620
621 * gdb.c++/printmethod.exp: New file.
622 * gdb.c++/printmethod.cc: New file.
623
624 * gdb.c++/pr-574.exp: New file.
625 * gdb.c++/pr-574.cc: New file.
626
afb5c968
CV
6272002-09-18 Corinna Vinschen <vinschen@redhat.com>
628
629 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
630 embedded targets which never actually exit.
631
31e45dee
FN
6322002-09-18 Fernando Nasser <fnasser@redhat.com>
633
634 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
635 "don't step after run" as unresolved or unsupported, instead of xfail.
636
a283c5a1
CV
6372002-09-18 Corinna Vinschen <vinschen@redhat.com>
638
639 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
640 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
641 Add newline to expected string in "step out of main (status wrapper)"
642 case.
643
11350d2a
CV
6442002-09-18 Corinna Vinschen <vinschen@redhat.com>
645
646 * lib/gdb.exp (rerun_to_main): Allow restarting application.
647 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
648
0deec7d6
TT
6492002-09-17 Tom Tromey <tromey@redhat.com>
650
651 * gdb.base/printcmds.exp (test_print_string_constants): Expect
652 \000, not \0, in double-quoted string.
653
b2b4a1b5
CV
6542002-09-14 Corinna Vinschen <vinschen@redhat.com>
655
656 * gdb.base/command.exp: Don't expect a "Program exited normally"
657 string after running the commands execution on breakpoint tests.
658
1c56143a
CV
6592002-09-13 Corinna Vinschen <vinschen@redhat.com>
660
661 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
662
37f8da45
JB
6632002-09-12 Joel Brobecker <brobecker@gnat.com>
664
665 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
666
08b468e0
KS
6672002-09-10 Keith Seitz <keiths@redhat.com>
668
669 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
670 runto proc.
671 (mi_run_to_main): Use mi_runto.
672 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
673
dc360f58
KS
6742002-09-10 Keith Seitz <keiths@redhat.com>
675
676 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
677 regexp for stopping at main. Could have multiple event notifications.
678 Don't assume that main was declared with no parameters.
679 (mi_next): Use mi_step_to.
680 (mi_step): Use mi_next_to.
681
ce3abcfb
CV
6822002-09-09 Corinna Vinschen <vinschen@redhat.com>
683
684 * gdb.base/default.exp: Fix expected string in `info float' test.
685
d1f5b980
BE
6862002-09-09 Ben Elliston <bje@redhat.com>
687
688 * config/mips.exp: Update comments.
689 * config/mips-idt.exp: Likewise.
690 * config/nind.exp: Likewise.
691 * config/slite.exp: Likewise.
692 * config/sparclet.exp: Likewise.
693 * config/udi.exp: Likewise.
694 * config/vx.exp: Likewise.
695 * config/vxworks29k.exp: Likewise.
696
2f71430b
JB
6972002-09-05 Jim Blandy <jimb@redhat.com>
698
699 * gdb.threads/killed.exp: Fix test failure message.
700
7ddebc7e
KS
7012002-09-04 Keith Seitz <keiths@redhat.com>
702
703 * lib/mi-support.exp: Update copyright.
704 (mi_gdb_test): Increase the priority of the expected pattern
705 so that it matches gdb_test.
706
0ae67eb3
KS
7072002-09-03 Keith Seitz <keiths@redhat.com>
708
709 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
710 Use integer comparison instead of string comparison for testing
711 whether binary was built.
712
38fc42c8
JB
7132002-09-03 Jim Blandy <jimb@redhat.com>
714
715 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
716
b6ff0e81
JB
7172002-08-29 Jim Blandy <jimb@redhat.com>
718
719 * gdb.threads/pthreads.exp: Move the portable thread compilation
720 code into a function in lib/gdb.exp, and call that from here.
721 * lib/gdb.exp (gdb_compile_pthreads): New function.
722
07c98896
KS
7232002-08-29 Keith Seitz <keiths@redhat.com>
724
725 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
726 expect_out so that callers can get at it.
727
0312286c
DJ
7282002-08-23 Daniel Jacobowitz <drow@mvista.com>
729
730 * gdb.threads/print-threads.c: New file.
731 * gdb.threads/print-threads.exp: New file.
732 * gdb.threads/schedlock.c: New file.
733 * gdb.threads/schedlock.exp: New file.
734
dd039bc4
EZ
7352002-08-22 Elena Zannoni <ezannoni@redhat.com>
736
737 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
738 not altivec.c.
739
1f36144c
MK
7402002-08-17 Mark Kettenis <kettenis@gnu.org>
741
742 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
743 targets. The problem should be fixed now.
744
16057ec7 7452002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
746
747 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
748 2002-07-24 change that removes final dots from error messages.
749
3c1499ad
TT
7502002-08-13 Tom Tromey <tromey@redhat.com>
751
752 * gdb.base/readline.exp: New file.
753
a20ce2c3
AC
7542002-08-01 Andrew Cagney <ac131313@redhat.com>
755
756 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
757 supress message.
758
db034ac5
AC
7592002-08-01 Andrew Cagney <cagney@redhat.com>
760
761 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
762 CHILL_FOR_TARGET and CHILL_LIB.
763 * configure.in (configdirs): Remove gdb.chill.
764 * configure: Regenerate.
765 * lib/gdb.exp: Obsolete references to chill.
766 * gdb.fortran/types.exp: Ditto.
767 * gdb.fortran/exprs.exp: Ditto.
768
3e000b18
KB
7692002-07-30 Kevin Buettner <kevinb@redhat.com>
770
771 * gdb.base/shlib-call.exp (additional_flags): Conditionally
772 set Irix-specific compile and link flags.
773
28f4966b
KB
7742002-07-29 Kevin Buettner <kevinb@redhat.com>
775
776 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
777 source files. The ``-o'' option doesn't work with the ``-E'' option
778 when using the Irix compiler.
779
46c0d5a6
DJ
7802002-07-19 Daniel Jacobowitz <drow@mvista.com>
781
782 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
783 Improve support for reusing an exec file. Copy exec file
784 to target, and run gdbserver on the target instead of on the host.
785
eecf4bed
JB
7862002-07-18 Jim Blandy <jimb@redhat.com>
787
0f815cdf
JB
788 * gdb.base/ending-run.exp: Don't expect to see the program end in
789 some orderly fashion when we're running on a real stand-alone
790 board.
791
eecf4bed
JB
792 * gdb.base/interrupt.exp: Correct logic for skipping tests on
793 targets that don't support interrupts.
794
52d309e4
JB
7952002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
796
797 * gdb.base/attach.exp: Add patterns to match output from /proc-based
798 systems.
799 Move comments in expect statements to inside the actions, so that they
800 don't get matched against.
801
ff683d9e
MK
8022002-07-10 Mark Kettenis <kettenis@gnu.org>
803
804 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
805 function when asleep" test.
806
b5356753
AC
8072002-07-10 Andrew Cagney <ac131313@redhat.com>
808
809 * gdb.base/page.exp: Rewrite to handle problems with very long
810 `info set' output. Update copyright.
811
6aa4d13a
AC
8122002-06-26 Andrew Cagney <ac131313@redhat.com>
813
814 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
815 gdb.threads-hp.
816 * gdb.hp/configure: Regenerate.
817 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
818 * gdb.hp/gdb.threads-hp/configure: Delete file.
819 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
820
8cf8c2b8
AC
8212002-06-22 Andrew Cagney <ac131313@redhat.com>
822
823 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
824 setlocale, bindtextdomain and textdomain.
825
6827a8f8
JB
8262002-06-11 Jim Blandy <jimb@redhat.com>
827
919d772c
JB
828 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
829 preprocessor macro information is present.
830
6827a8f8
JB
831 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
832 tests.
833
c15b0d21
MS
8342002-06-06 Michael Snyder <msnyder@redhat.com>
835
c5984d70
MS
836 * gdb.base/overlays.exp: Record addresses of overlay
837 functions in TCL variables rather than in GDB variables,
838 to avoid having GDB convert them to pointers (with loss
839 of information).
840
99a8512b
MS
841 * gdb.base/d10v.ld: Merge in several years worth of
842 default linker script changes.
c15b0d21
MS
843 * gdb.base/long_long.exp: Add check for sizeof (long double).
844
be26fe0d
ML
8452002-06-06 Michal Ludvig <mludvig@suse.cz>
846
847 * gdb.asm/asm-source.exp: Add x86-64 target.
848 * gdb.asm/x86_64.inc: New.
849
258093ca 8502002-05-30 Michael Chastain <mec@shout.net>
258093ca 851
4b3153f1 852 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
853 * gdb.c++/m-static.cc: New file.
854 * gdb.c++/m-static.exp: New file.
855
241264c6
MS
8562002-05-28 Michael Snyder <msnyder@redhat.com>
857
858 * gdb.base/call-ar-st.exp: Allow for reduced floating point
859 precision.
860
9bba8c8f 8612002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 862
4b3153f1 863 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
864 * gdb.c++/m-data.cc: New file.
865 * gdb.c++/m-data.exp: New file.
866
8672002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 868
4b3153f1 869 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
870 * gdb.c++/try_catch.cc: New file.
871 * gdb.c++/try_catch.exp: New file.
872
def1b996
MC
8732002-05-27 Michael Chastain <mec@shout.net>
874
875 * gdb.c++/local.exp: Accept more nested types in output.
876
522ba268
MC
8772002-05-26 Michael Chastain <mec@shout.net>
878
879 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
880
277254ba
MS
8812002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
882
883 * lib/gdb.exp (gdb_wrapper_init): Just because
884 gdb_wrapper_file exists, this does not mean that the file
885 should not be rebuilt. That is what gdb_wrapper_initialized
886 is for.
887 (default_gdb_init): Reset gdb_wrapper_initialized.
888
b61a8733
MS
8892002-05-23 Michael Snyder <msnyder@redhat.com>
890
5bdb6d01
MS
891 * gdb.base/all-bin.exp: Revise previous patch by just reducing
892 the precision of the floating point test results.
893 * gdb.base/call-rt-st.exp: Ditto.
894
b61a8733
MS
895 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
896 * gdb.base/call-rt-st.exp: Ditto.
897
56f6e910
MC
8982002-05-19 Michael Chastain <mec@shout.net>
899
900 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
901
ad0b0016
EZ
9022002-05-19 Elena Zannoni <ezannoni@redhat.com>
903
904 * configure.in (configdirs): Add gdb.arch.
905 * configure: Regenerate.
906
f617d2b6
JB
9072002-05-17 Jim Blandy <jimb@redhat.com>
908
909 * gdb.base/completion.exp: Recognize the more detailed error
910 messages produced by the macro expander's lexical analyzer.
911
eac2a696
EZ
9122002-05-14 Elena Zannoni <ezannoni@redhat.com>
913
914 * gdb.arch/altivec-abi.c: New file.
915 * gdb.arch/altivec-abi.exp: New file.
916 * gdb.arch/altivec-regs.c: New file.
917 * gdb.arch/altivec-regs.exp: New file.
918
2fdde8f8
DJ
9192002-05-14 Daniel Jacobowitz <drow@mvista.com>
920
921 * gdb.base/maint.exp (maint print type): Update for new type
922 structure.
eac2a696 923
e31f1a7c
EZ
9242002-05-14 Elena Zannoni <ezannoni@redhat.com>
925
926 * gdb.arch: New directory.
927 * gdb.arch/configure.in: New file.
928 * gdb.arch/configure: New file.
929 * gdb.arch/Makefile.in: New file.
930
db589741
CV
9312002-05-13 Corinna Vinschen <vinschen@redhat.com>
932
933 * gdb.asm/asm-source.exp: Add v850 as supported target.
934 * gdb.asm/v850.inc: New file.
935
8ce2a7dc
DJ
9362002-05-13 Daniel Jacobowitz <drow@mvista.com>
937
938 * gdb.c++/annota2.exp (annotate-quit): Add comment.
939
df763c7f
DJ
9402002-05-12 Daniel Jacobowitz <drow@mvista.com>
941
942 * gdb.base/break.exp: Check 'break "marker2"'.
943
377daeed
MS
9442002-05-10 Michael Snyder <msnyder@redhat.com>
945
946 * gdb.base/long_long.exp: Fix typo.
947
c4b7bc2b
JB
9482002-05-10 Jim Blandy <jimb@redhat.com>
949
ecac9a4e
JB
950 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
951 a bug.
952
c4b7bc2b
JB
953 * gdb.base/printcmds.exp (test_integer_literals_rejected):
954 Recognize more detailed error message produced by the macro
955 expander's lexical analyzer.
956 * lib/gdb.exp (test_print_reject): Same.
957
e71019a1
MK
9582002-05-09 Mark Kettenis <kettenis@gnu.org>
959
960 * gdb.c++/method.exp: Fix typo.
961
fedfc8e6
MS
9622002-05-08 Michael Snyder <msnyder@redhat.com>
963
166a1957
MS
964 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
965 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 966 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
967 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
968 Add iftarget clause for strongarm.
969
f1c47eb2
MS
9702002-05-06 Michael Snyder <msnyder@redhat.com>
971
cb9a9d3e
MS
972 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
973 (gdb_continue_to_end): Accept output from status wrapper.
974 * gdb.base/ending-run.exp: Add case for output from status wrapper.
975 Clean up fail messages to match pass messages.
976
f1c47eb2
MS
977 Enable the "needs_status_wrapper" testsuite feature.
978 * lib/gdb.exp (gdb_wrapper_init): New procedure.
979 (gdb_compile): Conditionally call gdb_wrapper_init.
980 * gdb.base/a2-run.exp: Recognize output from status wrapper.
981 * gdb.c++/method.exp: Recognize output from status wrapper.
982
6079c749
BE
9832002-05-06 Ben Elliston <bje@redhat.com>
984From Graydon Hoare <graydon@redhat.com>
985
986 * config/sid.exp: Include support for "rawsid" protocol.
987
188baff3
JB
9882002-05-03 Jim Blandy <jimb@redhat.com>
989
990 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
991 * gdb.c++/hang3.C: New file.
992
b9c07f0f
AC
9932002-05-04 Andrew Cagney <ac131313@redhat.com>
994
995 * gdb.base/default.exp: Remove obsolete code.
996 * gdb.c++/misc.exp: Ditto. Update copyright.
997 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
998 * gdb.base/whatis.exp: Ditto. Update copyright.
999 * gdb.base/scope.exp: Ditto. Update copyright.
1000 * gdb.base/ptype.exp: Ditto. Update copyright.
1001 * gdb.base/printcmds.exp: Ditto. Update copyright.
1002 * gdb.base/opaque.exp: Ditto. Update copyright.
1003 * gdb.base/list.exp: Ditto.
1004 * gdb.base/funcargs.exp: Ditto. Update copyright.
1005 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1006 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1007 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1008 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1009 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1010 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1011
5c7a0397
MS
10122002-05-02 Michael Snyder <msnyder@redhat.com>
1013
d6dcc264 1014 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1015 * gdb.base/long_long.exp: Add xscale target.
1016 * gdb.base/default.exp: Add xscale target.
1017
eb7f1c48
JB
10182002-05-01 Jim Blandy <jimb@redhat.com>
1019
1020 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1021 gdb.c++/hang.exp: New test.
1022
a6befae8
FF
10232002-05-01 Fred Fish <fnf@redhat.com>
1024
1025 * gdb.base/completion.exp: Handle completions of "./Make" for
1026 more than one completion possibility, as is the case when we
1027 build and test in the source tree.
1028
0a310277
AG
10292002-04-29 Anthony Green <green@redhat.com>
1030
1031 * gdb.java/jmisc1.exp: New file.
1032 * gdb.java/jmisc2.exp: New file.
1033
6ff9af88
DJ
10342002-04-24 Daniel Jacobowitz <drow@mvista.com>
1035
1036 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1037
96b3d632
EZ
10382002-04-23 Elena Zannoni <ezannoni@redhat.com>
1039
1040 * gdb.base/help.exp: Change 'help status' to allow for target
1041 dependent output differences.
1042
5019bb54
MC
10432002-04-22 Michael Chastain <mec@shout.net>
1044
1045 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1046
a805a116
MC
10472002-04-22 Michael Chastain <mec@shout.net>
1048
1049 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1050
a1706bfd
DM
10512002-04-17 David S. Miller <davem@redhat.com>
1052
1053 * gdb.asm/sparc64.inc: New file.
1054 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1055
a73a20a2
EZ
10562002-04-19 Elena Zannoni <ezannoni@redhat.com>
1057
1058 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1059 instruction file directly into the build tree. Clean up at end of
1060 test.
1061
ba678339
DM
10622002-04-18 David S. Miller <davem@redhat.com>
1063
1064 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1065 handle 64-bit platforms correctly.
1066 * gdb.base/maint.exp: Likewise.
1067
b03399da
KB
10682002-04-18 Kevin Buettner <kevinb@redhat.com>
1069
1070 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1071 ``-fpic'' when compiling files comprising a shared library, but
1072 it does need additional linker flags in order to find shared
1073 libraries at run time.
1074
e2004992
KB
10752002-04-18 Kevin Buettner <kevinb@redhat.com>
1076
1077 * gdb.base/cvexpr.c (use): New function.
1078 (main): Invoke use() on all global variables to prevent
1079 some linkers from deleting these otherwise unused symbols.
1080
d8937120
MC
10812002-04-17 Michael Chastain <mec@shout.net>
1082From David S. Miller <davem@redhat.com>
1083
1084 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1085 handle 64-bit platforms correctly.
1086
ffd61a58
MS
10872002-04-12 Michael Snyder <msnyder@redhat.com>
1088From Jim Blandy <jimb@redhat.com>
1089 * gdb.base/foo.c (foox): Remove section attribute; the linker
1090 script can handle this instead.
1091 * gdb.base/bar.c (barx): Same.
1092 * gdb.base/baz.c (bazx): Same.
1093 * gdb.base/grbx.c (grbxx): Same.
1094
1095 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1096 manager doesn't automatically unmap overlays unnecessarily.
1097
6b8426a6
MH
10982002-04-10 Martin M. Hunt <hunt@redhat.com>
1099
1100 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1101 stepping out of main.
1102
34af4875
MC
11032002-04-09 Michael Chastain <mec@shout.net>
1104
1105 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1106 scope so that the nested scope tests will make sense.
1107 * gdb.c++/local.exp: Write patterns that actually work with gcc
1108 (the HP patterns "were never known to work with gcc").
1109 Keep the old aCC patterns too.
1110
2d1676a0
DJ
11112002-04-09 Daniel Jacobowitz <drow@mvista.com>
1112
1113 * gdb.base/attach.exp: Correct target board test.
1114
3a63e3f9
MC
11152002-04-08 Michael Chastain <mec@shout.net>
1116
1117 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1118 in a const method. Add some xfail and fail cases for configurations
1119 that do not emit the "const ...".
1120
f18dabd2
MC
11212002-04-07 Michael Chastain <mec@shout.net>
1122
1123 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1124 Accept "A * const" and "const A * const" as type of "this".
1125 Fix spelling of getFunky throughout. Make messages uniform.
1126
0fcddd82
EZ
11272002-04-07 Elena Zannoni <ezannoni@redhat.com>
1128
1129 Work around for PR gdb/285:
1130 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1131
16a8534a
EZ
11322002-04-07 Elena Zannoni <ezannoni@redhat.com>
1133
1134 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1135 instructions file at run time instead of configure time.
1136 Sometimes we run the test in a directory that is not the one we
1137 configured in.
1138 * gdb.asm/configure.in: Delete creation of symlink.
1139 * gdb.asm/configure: Regenerate.
1140
24181d81
JB
11412002-04-05 J. Brobecker <brobecker@gnat.com>
1142
1143 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1144 xfullpath () function.
1145
7cdb7107
DJ
11462002-04-04 Daniel Jacobowitz <drow@mvista.com>
1147
1148 * gdb.asm/Makefile.in: Correct dependencies.
1149
1150 * gdb.asm/powerpc.inc: New file.
1151 * gdb.asm/asm-source.exp: Add PowerPC.
1152 * gdb.asm/configure.in: Likewise.
1153 * gdb.asm/configure: Regenerated.
1154
a7d17088
DJ
11552002-04-04 Daniel Jacobowitz <drow@mvista.com>
1156
1157 * gdb.base/relocate.exp: New file.
1158 * gdb.base/relocate.c: New file.
1159
cd721503
FF
11602002-04-04 Fred Fish <fnf@redhat.com>
1161
1162 * gdb.base/step-test.exp: Update comment regarding stopping in
1163 memcpy/bcopy calls inserted as part of the compiler runtime.
1164
b22ad7a7
MS
11652002-04-04 Michael Snyder <msnyder@redhat.com>
1166
1167 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1168
5f279fa6
DJ
11692002-04-03 Daniel Jacobowitz <drow@mvista.com>
1170
1171 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1172 (gdb_expect): Remove $notransfer hack.
1173
dd0fd3ce
DJ
11742002-04-02 Daniel Jacobowitz <drow@mvista.com>
1175
1176 * gdb.c++/classes.exp ("calling method for small class"): Match
1177 updated register output.
1178
1e50cda1
DJ
11792002-03-30 Daniel Jacobowitz <drow@mvista.com>
1180
1181 Fix PR gdb/452
1182 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1183 when finished. Make gdb_file_cmd send "exec-file" when
1184 appropriate.
1185
24015922
DJ
11862002-03-30 Daniel Jacobowitz <drow@mvista.com>
1187
1188 * gdb.base/attach.exp: Remove extra setup_xfail.
1189
dd7dfd64
MS
11902002-03-26 Michael Snyder <msnyder@redhat.com>
1191
1192 * gdb.base/default.exp: Add tests for dump, append, and restore.
1193 * gdb.base/help.exp: Add tests for dump, append, and restore.
1194 * gdb.base/dump.exp: New file, test dump, append and restore.
1195 * gdb.base/dump.c: New file.
1196
48b2f8d7
MS
11972002-03-27 Michael Snyder <msnyder@redhat.com>
1198
1199 * gdb.base/help.exp: Modify expect strings to reflect
1200 clean-ups in help messages.
1201
05b4d525
FF
12022002-03-26 Fred Fish <fnf@redhat.com>
1203
1204 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1205 have debugging info for those functions and the compiler uses them
1206 internally to copy structs around.
1207
d7679631
FF
12082002-03-26 Fred Fish <fnf@redhat.com>
1209
1210 * gdb.base/list.exp: Revert the change made yesterday and add note
1211 about why we don't list the default lines for remote targets.
1212
523ac3f9
MS
12132002-03-25 Michael Snyder <msnyder@redhat.com>
1214
1215 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1216
754b2b8d
FF
12172002-03-25 Fred Fish <fnf@redhat.com>
1218
1219 * gdb.base/list.exp: This test works on remote targets so remove
1220 the short circuit for remote targets. Update copyright.
1221
33c3e192
FF
12222002-03-25 Fred Fish <fnf@redhat.com>
1223
1224 * gdb.base/attach.exp: Fix logic error that was suppressing this
1225 test for all non hppa*-*-hpux* targets, instead of the hp target.
1226 Move comments closer to the suppression point. Also now need to
1227 check that we are running natively.
1228
d43e73ee
MS
12292002-03-22 Michael Snyder <msnyder@redhat.com>
1230
882c8f02
MS
1231 * gdb.base/default.exp: Add test for gcore. Update copyright.
1232 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1233
04c12f60
FF
12342002-03-06 Fred Fish <fnf@redhat.com>
1235
1236 * gdb.base/funcargs.c: Remove extraneous ';' character.
1237 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1238
b43df995
MC
12392002-03-04 Michael Chastain <mec@shout.net>
1240
1241 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1242 accommodate gcc v3 function signature.
1243 * gdb.mi/mi0-var-cmd-exp: Ditto.
1244
92362027
AC
12452002-02-24 Andrew Cagney <ac131313@redhat.com>
1246
1247 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1248 ``GNU/Linux'' or ``Linux kernel''
1249 * testsuite/gdb.threads/pthreads.c: Ditto.
1250
258ad32d
MC
12512002-02-24 Michael Chastain <mec@shout.net>
1252
1253 * gdb.threads/pthreads.c (thread1): Add a return statement.
1254 (thread2): Likewise.
1255 (foo): Likewise.
1256
04c3b3d4
MC
12572002-02-23 Michael Chastain <mec@shout.net>
1258
1259 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1260 to placate gcc.
1261
5a2a0a20
MC
12622002-02-23 Michael Chastain <mec@shout.net>
1263
1264 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1265 test "ptype bint". The test passes on all my stabs configurations.
1266
a640f7fc
JB
12672002-02-21 Jim Blandy <jimb@redhat.com>
1268
27924826
JB
1269 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1270 filename at a time, and watch for the ones we want to see.
1271
a640f7fc
JB
1272 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1273 types of pointers to prototyped functions.
1274
edcc8c75
AC
12752002-02-20 Andrew Cagney <ac131313@redhat.com>
1276
1277 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1278 signed, unsigned and straight char.
1279 (padding_char, padding_short, padding_int, padding_long,
1280 padding_long_long, padding_float, padding_double,
1281 padding_long_double): New global variables.
1282 (fill, fill_structs): New functions.
1283
1284 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1285 for correctly sized writes. Update copyright.
1286 (get_valueof): New procedure.
1287 (get_sizeof): Call get_valueof.
1288 (check_valueof): New procedure.
1289 (check_padding): New procedure.
1290
ac57ea44
MC
12912002-02-20 Michael Chastain <mec@shout.net>
1292
1293 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1294 to setup_xfail. Document some of the remaining calls.
1295
7a10c941
MC
12962002-02-18 Michael Chastain <mec@shout.net>
1297
1298 * gdb.c++/userdef.exp: Update copyright year.
1299
fb8acdcc
DJ
13002002-02-18 Daniel Jacobowitz <drow@mvista.com>
1301
1302 * gdb.c++/userdef.exp: Test overloaded operators properly.
1303 Remove xfails.
1304
fda6ae12
MS
13052002-02-14 Michael Snyder <msnyder@redhat.com>
1306
1307 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1308
676a0442
DJ
13092002-02-14 Daniel Jacobowitz <drow@mvista.com>
1310
1311 * gdb.base/a2-run.exp: Check for a remote target properly.
1312 * gdb.base/annota1.exp: Likewise.
1313 * gdb.base/list.exp: Likewise.
1314 * gdb.base/reread.exp: Likewise.
1315 * gdb.base/scope.exp: Likewise.
1316 * gdb.base/shlib-call.exp: Likewise.
1317 * gdb.base/term.exp: Likewise.
1318 * gdb.c++/annota2.exp: Likewise.
1319
78b4f468
RE
13202002-02-13 Richard Earnshaw <rearnsha@arm.com>
1321
1322 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1323
9a81ba51
MC
13242002-02-10 Michael Chastain <mec@shout.net>
1325
1326 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1327 (call_after_alloca): Ditto.
1328
004af6c7
DJ
13292002-02-10 Daniel Jacobowitz <drow@mvista.com>
1330
1331 * gdb.base/ending-run.exp: Guard "cont" test with
1332 gdb_skip_stdio_test.
1333
37225f62
JB
13342002-02-06 Jim Blandy <jimb@redhat.com>
1335
1336 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1337 from here...
1338 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1339 To here. Disable this test on non-HP platforms. Add big comment.
1340
fe6fdd96
MS
13412002-02-04 Michael Snyder <msnyder@redhat.com>
1342
1343 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1344 other than d10v and m32r.
1345
036fad3f
RE
13462002-02-02 Richard Earnshaw <rearnsha@arm.com>
1347
1348 * gdb.base/default.exp: Rewrite test patterns to reduce time
1349 taken to match them.
1350
7148ab62
DJ
13512002-01-30 Daniel Jacobowitz <drow@mvista.com>
1352
1353 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1354 Allow a start function above main.
1355 * gdb.threads/linux-dp.exp: Fix copyright date.
1356
396cc255
DJ
13572002-01-30 Daniel Jacobowitz <drow@mvista.com>
1358
1359 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1360 (check_philosopher_stack): Check for manager thread before checking
1361 for a just-starting thread.
1362
f038d31b
DJ
13632002-01-30 Daniel Jacobowitz <drow@mvista.com>
1364
1365 From Neil Booth <neil@daikokuya.demon.co.uk>:
1366 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1367 warnings.
1368
b3ff9d9a
FF
13692002-01-21 Fred Fish <fnf@redhat.com>
1370
1371 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1372 not caller.
1373
39ad761d
JB
13742002-01-21 Jim Blandy <jimb@redhat.com>
1375
1376 * gdb.base/reread.exp: Check that GDB properly re-reads the
1377 executable file when it changes while no inferior is running.
1378
aaf320fa
FF
13792002-01-21 Fred Fish <fnf@redhat.com>
1380
1381 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1382 optionally accept the "shlib events" variation.
1383
808a31f5
JB
13842002-01-21 Jim Blandy <jimb@redhat.com>
1385
1386 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1387 call `fflush' after every `printf', so that the output is produced
1388 at predictable points, regardless of whatever buffering does (or
1389 doesn't) take place.
1390 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1391 at different points.
1392
4420d5e2
DJ
13932002-01-20 Daniel Jacobowitz <drow@mvista.com>
1394
1395 * gdb.c++/inherit.exp: Update copyright years.
1396 * gdb.c++/method.exp: Likewise.
1397
3e36a0f4
DJ
13982002-01-20 Daniel Jacobowitz <drow@mvista.com>
1399
1400 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1401 artificial methods/arguments.
1402 * gdb.c++/derivation.exp: Likewise.
1403 * gdb.c++/inherit.exp: Likewise.
1404 * gdb.c++/method.exp: Likewise.
1405 * gdb.c++/virtfunc.exp: Likewise.
1406
b4ceaee6
AC
14072002-01-18 Andrew Cagney <ac131313@redhat.com>
1408
1409 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1410 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1411 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1412 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1413 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1414 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1415
ecace851
JB
14162002-01-17 Jim Blandy <jimb@redhat.com>
1417
1418 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1419 anchoring the pattern matching the entry point symbol's name.
1420
375fc983
AC
14212002-01-17 Andrew Cagney <ac131313@redhat.com>
1422
1423 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1424 continue/quit query. Update copyright.
1425
fe6fdd96
MS
14262002-01-14 Michael Snyder <msnyder@redhat.com>
1427
1428 * gdb.base/gcore.exp: Remove extra debugging output.
1429
e017c81f
DJ
14302002-01-13 Daniel Jacobowitz <drow@mvista.com>
1431
1432 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1433 for slightly dubious v2 mangled string.
1434
37ab3bf8
DJ
14352002-01-13 Daniel Jacobowitz <drow@mvista.com>
1436
1437 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1438
1bc05c3a 14392002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1440
1bc05c3a 1441 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1442
1bc05c3a
JM
1443 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1444 constructors.
1445 * gdb.c++/derivation.exp: Likewise.
1446 * gdb.c++/templates.exp: Likewise.
1447 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1448
1bc05c3a
JM
14492002-01-10 Michael Snyder <msnyder@redhat.com>
1450
1451 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1452
a911c360
MS
14532002-01-08 Michael Snyder <msnyder@redhat.com>
1454
1455 * gdb.base/gcore.exp: New test for generate-core-file command.
1456 * gdb.base/gcore.c: Testcase for above.
1457 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1458
ea2119ec
JM
14592002-01-08 Jason Merrill <jason@redhat.com>
1460
1461 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1462
68203136
FF
14632002-01-07 Fred Fish <fnf@redhat.com>
1464
1465 * gdb.c++/overload.exp: Remove unconditional xfails for:
1466 print foo_instance1.overloadargs(1)
1467 print foo_instance1.overloadargs(1, 2)
1468 print foo_instance1.overloadargs(1, 2, 3)
1469 print foo_instance1.overloadargs(1, 2, 3, 4)
1470 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1471 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1472 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1473 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1474 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1475 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1476 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1477 print foo_instance1.overload1arg()
1478 print foo_instance1.overload1arg((char)arg2)
1479 print foo_instance1.overload1arg((signed char)arg3)
1480 print foo_instance1.overload1arg((unsigned char)arg4)
1481 print foo_instance1.overload1arg((int)arg7)
1482 print foo_instance1.overload1arg((unsigned int)arg8)
1483 print foo_instance1.overload1arg((float)arg11)
1484 print foo_instance1.overload1arg((double)arg12)
1485
21b9b5b1
MS
14862002-01-07 Michael Snyder <msnyder@redhat.com>
1487
1488 * gdb.base/huge.exp: New test. Print a very large target data object.
1489 (skip_huge_test): New test variable. Define if you want to skip this
1490 test. The test reads an 8 megabyte data object from the target, so it
1491 might be very time consuming on remote targets with a slow connection.
1492 * gdb.base/huge.c: New file. Test case for above.
1493
725f922e
FF
14942002-01-07 Fred Fish <fnf@redhat.com>
1495
1496 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1497 g_instance.bfoo, and g_instance.cfoo.
1498
634d57ec
JL
1499Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1500
f286b2c3
JL
1501 * gdb.base/break.c (multi_line_if_conditional): New function.
1502 (multi_ilne_while_conditional): Likewise.
1503 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1504 IF or WHILE condition puts the breakpoint at the start of
1505 the condition.
1506
634d57ec
JL
1507 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1508 hppa*-*-hpux* expected failure.
1509 * gdb.base/structs.exp (do_function_calls): Similarly.
1510
1511 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1512 watchpoints.
1513
9fbfe2dc
AC
15142002-01-06 Andrew Cagney <ac131313@redhat.com>
1515
1516 Fix PR gdb/66.
1517 * gdb.base/structs.exp: Replace skip for a29k with skip for
1518 gdb,cannot_call_functions.
1519 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1520 * gdb.base/callfuncs.exp: Ditto.
1521 * gdb.base/call-rt-st.exp: Ditto.
1522 * gdb.base/call-strs.exp: Ditto.
1523 * gdb.base/callfwmall.exp: Ditto.
1524 * gdb.base/scope.exp: Obsolete xfail a29k.
1525 * gdb.c++/misc.exp: Ditto.
1526 * gdb.c++/cplusfuncs.exp: Ditto.
1527 * gdb.base/ptype.exp: Ditto.
1528 * gdb.base/printcmds.exp: Ditto.
1529 * gdb.base/opaque.exp: Ditto.
1530 * gdb.base/list.exp: Ditto.
1531 * gdb.base/funcargs.exp: Ditto.
1532 * gdb.base/default.exp: Ditto.
1533
8ddad156
MS
15342002-01-04 Michael Snyder <msnyder@redhat.com>
1535
ca4976a6 1536 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1537 * gdb.base/maint.exp: Add tests for maint info sections options.
1538
1b074332
JL
1539Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1540
1541 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1542
7d159115
CV
15432001-12-20 Corinna Vinschen <vinschen@redhat.com>
1544
1545 * gdb.asm/arm.inc: New file.
1546 * gdb.asm/asm-source.exp: Add arm targets.
1547 * gdb.asm/configure.in: Ditto.
1548 * gdb.asm/configure: Recreated from configure.in.
1549
8fb87725
JL
1550Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1551
afabe08c
JL
1552 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1553 with HP's compiler.
1554 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1555 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1556 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1557 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1558
1559 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1560 either HP's compilers or GCC.
1561
db521deb
JL
1562 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1563 a SIGBUS or SIGSEGV.
1564
1565 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1566
1567 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1568 can be compiled with either HP's compiler or GCC.
1569
cfa88ab7
JL
1570 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1571 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1572 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1573
ca344dff
JL
1574 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1575 to match current gdb output. Update due to using auto-solib-limit
1576 for limiting instead of overloading auto-solib-add.
1577 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1578 test program.
1579
3f3c6e55 1580 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1581 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1582 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1583 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1584 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1585 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1586 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1587 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1588 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1589 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1590 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1591 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1592 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1593
8fb87725
JL
1594 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1595 a SIGTRAP to the inferior.
1596
cf599fa7
CV
15972001-12-19 Corinna Vinschen <vinschen@redhat.com>
1598
1599 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1600 Substitute call to target_link by call to gdb_compile.
1601
2cd045cd
JL
1602Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1603
1604 * gdb.base/break.exp: Fix HP specific search string when testing
1605 backtracing in a called function.
1606
1607 * gdb.base/constvars.exp: Only set lang to C++ if we're
1608 compiling the test with HP's compilers.
1609 * gdb.base/volatile.exp: Similarly.
1610
99ebe9ac
JB
16112001-12-19 Jim Blandy <jimb@redhat.com>
1612
1613 * gdb.base/printcmds.exp: Expect the null character to be printed
1614 as '\0', and the '\013' to be printed as '\v'.
1615 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1616 * gdb.base/setvar.exp: Same.
1617
b9891b29
JB
16182001-12-17 Jim Blandy <jimb@redhat.com>
1619
0eba65ab
JB
1620 * gdb.base/completion.exp: Rather than completing very long
1621 filenames, which can make the readline library produce output we
1622 don't recognize, cd to the directory first, and then complete
1623 using nice, short relative paths.
1624
6970b5b1
JB
1625 * gdb.base/completion.exp: On some systems, there is, in fact, a
1626 variable named `b' in scope, since GDB treats all static
1627 variables as being in scope. So use `no_var_named_this'
1628 instead of `b'.
1629
b9891b29
JB
1630 * gdb.base/corefile.exp: Recognize the message saying that GDB
1631 can't find the core file's registers as a failure.
1632
e6ccd35f
JSC
16332001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1634
1635 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1636 test expect string more specific.
1637
105ba819
CV
16382001-12-13 Corinna Vinschen <vinschen@redhat.com>
1639
1640 * gdb.asm/asm-source.exp: Add support for xstormy16.
1641 * gdb.asm/configure.in: Ditto.
1642 * gdb.asm/configure: Rebuild.
1643 * gdb.asm/xstormy16.inc: New file.
1644
e9e79dd9
FF
16452001-12-10 Fred Fish <fnf@redhat.com>
1646
1647 * gdb.base/maint.exp: Update to match changes in type dumping code.
1648
347dc97d
JB
16492001-12-10 Jim Blandy <jimb@redhat.com>
1650
1651 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1652 matching the entry point symbol's name at the beginning of the
1653 line.
1654
5178b9d6
DJ
16552001-12-07 Daniel Jacobowitz <drow@mvista.com>
1656
1657 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1658 gdb.c++/inherit.exp, gdb.c++/method.exp,
1659 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1660 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1661 and class layout support.
1662
af890c52
DJ
16632001-12-07 Daniel Jacobowitz <drow@mvista.com>
1664
1665 * gdb.c++/classes.exp: Add test for static member function.
1666 * gdb.c++/misc.cc: Add class with static member function.
1667
7a345fb3
JB
16682001-12-07 Jim Blandy <jimb@redhat.com>
1669
f2e54a80 1670 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1671 those tests as `unsupported'.
1672 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1673 Rewrite subsequent tests to use it.
1674
1675 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1676 those tests as `unsupported'.
1677 * gdb.base/structs.exp (call_struct_func): New function.
1678 (do_function_calls): Use call_struct_func to call the functions
1679 returning structs.
1680
0bc69509
JB
1681 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1682 whether functions are prototyped or not, so we can't possibly pass
1683 arguments to t_float_values2 properly.
1684
7a345fb3
JB
1685 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1686 value of `timeout' for targets other than the mips*tx39-*.
1687
edb6ede1
MS
16882001-12-06 Michael Snyder <msnyder@redhat.com>
1689
1690 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1691 and detect whether the start symbol has a leading underscore.
1692
2d842f13
JB
16932001-12-04 Jim Blandy <jimb@redhat.com>
1694
1695 * gdb.base/completion.exp: Clarify indentation.
1696
68550daf
JB
16972001-12-03 Jim Blandy <jimb@redhat.com>
1698
1699 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1700 variables on the S/390, not `.word'.
1701
cd5195a8
JB
17022001-11-30 Jim Blandy <jimb@redhat.com>
1703
1704 Add assembly-source tests for s390-ibm-linux.
1705 * gdb.asm/s390.inc: New file.
1706 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1707 the S/390 architecture.
1708 * gdb.asm/configure: Regenerated.
1709
ca9efc90
MS
17102001-11-30 Michael Snyder <msnyder@redhat.com>
1711
1712 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1713 next, info source, info sources, info line, global and static
1714 variables, and static functions.
1715 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1716 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1717 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1718 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1719 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1720 (gdbasm_leave): Restore frame pointer.
1721 (gdbasm_startup): Copy stack set-up from crt0.S.
1722
d0e66976
FN
17232001-11-26 Fernando Nasser <fnasser@redhat.com>
1724
1725 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1726 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1727 to a local (non-static) variable. Copy tstruct.a to a static buffer
1728 and return a pointer to that buffer.
1729 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1730
e2334072
MK
17312001-11-24 Mark Kettenis <kettenis@gnu.org>
1732
1733 * gdb.asm/configure.in: Fix recognition of ix86 target.
1734 * gdb.asm/configure: Regenerate.
1735
756caa3d
MS
17362001-11-21 Michael Snyder <msnyder@redhat.com>
1737
1738 * gdb.asm/sparc.inc: New file.
1739 * gdb.asm/asm-source.exp: Recognize sparc target.
1740 * gdb.asm/configure.in: Recognize sparc target.
1741 * gdb.asm/configure: Regenerate.
1742
9a4d72d5
MS
17432001-11-21 Michael Snyder <msnyder@redhat.com>
1744
1745 * gdb.asm/m32r.inc: New file.
1746 * gdb.asm/asm-source.exp: Recognize m32r target.
1747 * gdb.asm/configure.in: Recognize m32r target.
1748 * gdb.asm/configure: Regenerate.
1749
a773d1cd
MS
17502001-11-20 Michael Snyder <msnyder@redhat.com>
1751
017ac23d
MS
1752 * gdb.asm/i386.inc: New file.
1753 * gdb.asm/asm-source.exp: Recognize ix86 target.
1754 * gdb.asm/configure.in: Recognize ix86 target.
1755 * gdb.asm/configure: Regenerate.
1756
a773d1cd
MS
1757 * gdb.c++/namespace.exp: Fix quotes in output messages.
1758
bb632afb
MS
17592001-11-14 Michael Snyder <msnyder@redhat.com>
1760
25d559ca 1761 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1762 qualifier in a type cast expression, to designate an address
1763 in the instruction space (Harvard architecture).
1764
4749e309
MS
17652001-11-13 Michael Snyder <msnyder@redhat.com>
1766
1767 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1768 Tests for expressions using 'const' and 'volatile'.
1769
25050984
CV
17702001-11-13 Corinna Vinschen <vinschen@redhat.com>
1771
1772 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1773
1902c51f
DJ
17742001-11-12 Daniel Jacobowitz <drow@mvista.com>
1775
1776 * lib/mi-support.exp (mi_run_to_helper): Move comments
1777 outside of gdb_expect.
1778
dcf95b47
DJ
17792001-11-11 Daniel Jacobowitz <drow@mvista.com>
1780
1781 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1782 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1783 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1784 mi0_run_to): New functions.
1785 * gdb.mi/mi-simplerun.exp: Use them.
1786 * gdb.mi/mi0-simplerun.exp: Likewise.
1787 * gdb.mi/mi-var-cmd.exp: Likewise.
1788 * gdb.mi/mi0-var-cmd.exp: Likewise.
1789
45b074e1
AC
17902001-11-10 Andrew Cagney <ac131313@redhat.com>
1791
1792 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1793 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1794
bf50d346
AC
17952001-11-09 Andrew Cagney <ac131313@redhat.com>
1796
1797 * gdb.base/restore.exp: Include $expected value in restored test
1798 message.
1799
9383332c
AC
18002001-11-09 Andrew Cagney <ac131313@redhat.com>
1801
1802 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1803 implemented.
1804
db62520a
MS
18052001-11-08 Michael Snyder <msnyder@redhat.com>
1806
1807 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1808 Add pass/fail message for stop at breakpoint in call dummy function.
1809
b5703437
MS
18102001-11-07 Michael Snyder <msnyder@redhat.com>
1811
760f6330
MS
1812 * gdb.c++/templates.exp (test_template_breakpoints):
1813 If we get an overload menu, but it does not match what
1814 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1815 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1816 making the whitespace optional. Argument for "new" may be
1817 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1818 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1819 making the whitespace optional. Also replace "(void) with
1820 "((void|)), making the keyword "void" optional.
63f50499
MS
1821 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1822 making the whitespace optional. Also replace "(void) with
1823 "((void|)), making the keyword "void" optional.
3bf40917
MS
1824 * gdb.base/callfuncs.c (t_float_values): This function must
1825 _not_ be prototyped, and the following function (t_float_values2)
1826 must be prototyped (if the compiler supports it), so that GDB
1827 can be tested against both cases. Usually one case involves
1828 promotion of float to double, while the other does not.
1829 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1830 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1831 includes a stack frame for "start".
1832
c8ab4e6d
JB
18332001-11-05 Jim Blandy <jimb@redhat.com>
1834
1835 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1836 pointers are 32 bits long, and that offsets of relocs are always
1837 stored in the data (REL-style), and not in the reloc entry itself
1838 (RELA-style).
1839 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1840 stabs.
1841
3f08ced9
MS
18422001-11-01 Michael Snyder <msnyder@redhat.com>
1843
1844 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1845 and regular expression operators by using quoting.
1846
cbfa24cd
MS
18472001-10-31 Michael Snyder <msnyder@redhat.com>
1848
1849 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1850 depending on what the symbol table contains.
1851 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1852 the output of the ptype command. Similarly, accept both "const &"
1853 and "const&".
1854
aaa68313
CV
18552001-10-31 Corinna Vinschen <vinschen@redhat.com>
1856
1857 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1858 symbol `STORAGE' to allow to choose the storage class of
1859 the local datastructures.
1860 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1861 compiler directive.
1862
91740388
MS
18632001-10-30 Michael Snyder <msnyder@redhat.com>
1864
1865 * gdb.base/jump.exp: Allow it to run for all targets.
1866
1b7c05e7
CV
18672001-10-29 Corinna Vinschen <vinschen@redhat.com>
1868
1869 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1870 with new double_array size.
1871 (main): Change storage class of all local variables to static.
1872 Reduce size of double_array to 9.
1873 * gdb.base/call-ar-st.exp: Increase timeout value.
1874 Change expected output for double array to match new size in
1875 call-ar-st.c.
1876
36a22261
CV
18772001-10-29 Corinna Vinschen <vinschen@redhat.com>
1878
1879 * gdb.base/ending-run.exp: Create identical output when passing
1880 `step to end of run' case. Add regular expression branch satisfying
1881 Stormy16 target.
1882
92b8ae91
MK
18832001-10-28 Mark Kettenis <kettenis@gnu.org>
1884
1885 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1886 that we catch the expected failure under Linux/x86.
1887
cb135b83
OF
18882001-10-29 Orjan Friberg <orjanf@axis.com>
1889
1890 * gdb.base/setvar.exp: Escape curly braces.
1891 * gdb.stabs/weird.exp: Ditto.
1892
6884aa54
DJ
18932001-10-27 Daniel Jacobowitz <drow@mvista.com>
1894
1895 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1896 * gdm.mi/mi0-hack-cli.exp: Likewise.
1897
0398c9aa
AC
18982001-10-25 Andrew Cagney <ac131313@redhat.com>
1899
1900 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1901 messages.
1902
d20bf2e8
AC
19032001-10-21 Andrew Cagney <ac131313@redhat.com>
1904
1905 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1906 checking MI enabled.
1907
03dd63aa
CV
19082001-10-09 Corinna Vinschen <vinschen@redhat.com>
1909
1910 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1911
1d9d99f3
FCE
19122001-10-04 Frank Ch. Eigler <fche@redhat.com>
1913
1914 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1915 if gdb child process crashes, just signal an error.
1916
838ae6c4
JB
19172001-10-02 Jim Blandy <jimb@redhat.com>
1918
1919 * lib/gdb.exp (test_xfail_format): Simplify.
1920
1921 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1922 front of the variable name `format'. Simplify `if'.
1923
8f0cbc1c
DJ
19242001-10-01 Daniel Jacobowitz <drow@mvista.com>
1925
1926 * gdb.threads/pthreads.exp: Wait for output and delay
1927 before sending ^C.
1928
1f08dafd
DJ
19292001-10-01 Daniel Jacobowitz <drow@mvista.com>
1930
1931 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1932 some incorrect output instead of timing out.
1933 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1934
674f90ff
CV
19352001-09-28 Corinna Vinschen <vinschen@redhat.com>
1936
1937 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1938 check to allow additional `int'.
1939
9b284272
DJ
19402001-09-27 Daniel Jacobowitz <drow@mvista.com>
1941
1942 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1943 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1944
b55a4771
MS
19452001-09-27 Michael Snyder <msnyder@redhat.com>
1946
1947 * lib/gdb.exp (test_debug_format): New proc.
1948 (setup_xfail_format): Use new proc test_debug_format.
1949 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1950 proc; use new service proc test_debug_format.
1951 Replace all other "gcc_compiled" tests with this test.
1952 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1953 proc; use new service proc test_debug_format.
1954 Replace all other "gcc_compiled" tests with this test.
1955
19562001-09-27 Michael Snyder <msnyder@redhat.com>
1957
1958 * gdb.base/cvexpr.exp: New file.
1959 * gdb.base/cvexpr.c: New file
1960 Test for expressions using const and volatile keywords.
1961
4e6667ac
CV
19622001-09-26 Corinna Vinschen <vinschen@redhat.com>
1963
1964 * gdb.base/constvars.exp: Check for different orders of keywords
1965 and additional "int" strings in output.
1966
4f337972
AC
19672001-09-22 Andrew Cagney <ac131313@redhat.com>
1968
1969 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1970 responses from "help maint".
1971
2015650d
FCE
19722001-09-19 Frank Ch. Eigler <fche@redhat.com>
1973
1974 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1975 to localhost:NNN instead of :NNN, in case Xvfb is listening
1976 only on TCP.
1977
f3bcedc1
CV
19782001-09-19 Corinna Vinschen <vinschen@redhat.com>
1979
1980 * gdb.base/recurse.exp: When checking leaving the watchpoint
1981 scope, recognize when gdb is in function's epilogue and pass.
1982
6b819c92
KS
19832001-09-18 Keith Seitz <keiths@redhat.com>
1984
1985 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1986 support for running tests against sid targets.
1987 (gdbtk_done): Ditto.
1988
a10c9419
CV
19892001-09-18 Corinna Vinschen <vinschen@redhat.com>
1990
1991 * gdb.base/ending-run.c (main): Set stdout buffersize
1992 to the same reasonable value for any target.
1993 * gdb.base/ending-run.exp: Add a regular expression
1994 to make testsuite happy on Sanyo Stormy16 target.
1995
739d0d99
CV
19962001-09-17 Corinna Vinschen <vinschen@redhat.com>
1997
1998 * gdb.base/display.c (do_loops): Add float variable `f'.
1999 Increment f in loop.
2000 * gdb.base/display.exp: Increment timeout by 60 seconds.
2001 Change float display test to use variable `f'.
2002
1b8947f0
JB
20032001-09-17 Jim Blandy <jimb@redhat.com>
2004
2005 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2006 overflowing the limited breakpoint tables on some ROM monitors
2007 (like the ROM68K).
2008
9890ac81
FCE
20092001-09-15 Frank Ch. Eigler <fche@redhat.com>
2010
2011 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2012 the "-ac" (disable access control) flag.
2013
6db765ea
JH
20142001-08-30 Jeff Holcomb <jeffh@redhat.com>
2015
2016 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2017 ints.
2018
4c32cc04
KS
20192001-08-30 Keith Seitz <keiths@redhat.com>
2020
2021 * lib/gdb.exp: Move all insight-related functionality into
2022 separate file.
2023 * lib/insight-support.exp: New file.
2024
8d6e6f81
FCE
20252001-08-29 Frank Ch. Eigler <fche@redhat.com>
2026
2027 * config/sid.exp (sid_start): Never set sid verbosity; disable
2028 expect_background {} that consumed its stdout; tolerate </dev/null.
2029 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2030
6a90e1d0
AC
20312001-08-18 Andrew Cagney <ac131313@redhat.com>
2032
2033 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2034 CLI jump command to start it.
2035 (mi_run_to_main): Fail immediatly when unexpected output.
2036
1759b3c3
AC
20372001-08-18 Andrew Cagney <ac131313@redhat.com>
2038
2039 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2040 beginning of function. Fix PR gdb/191.
2041
61d11d80
FCE
20422001-08-16 Frank Ch. Eigler <fche@redhat.com>
2043
2044 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2045 what to force sid endianness to.
2046
942a4df2
KS
20472001-08-15 Keith Seitz <keiths@redhat.com>
2048
2049 * lib/gdb.exp (gdbtk_start): Don't set environment
2050 variables for TCL_LIBRARY and friends. Insight will
2051 now figure these out for itself.
2052
0521c418
MS
20532001-08-02 Michael Snyder <msnyder@redhat.com>
2054
2055 * gdb.base/completion.exp: Remove the symbol "a64l" from
2056 the expect string; this is target-specific, and not related
2057 to what is being tested.
2058
74a9a58a
DB
20592001-08-02 Dave Brolley <brolley@redhat.com>
2060
2061 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2062
c70819fa
MS
20632001-07-25 Michael Snyder <msnyder@redhat.com>
2064
c2b8fa57
MS
2065 * gdb.base/consecutive.exp: New file. Test stepping over
2066 breakpoints on consecutive instructions.
2067 * gdb.base/consecutive.c: New file.
2068
c70819fa
MS
2069 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2070 curly braces in regular expressions.
2071
2b1a1355
MS
20722001-07-25 Michael Snyder <msnyder@redhat.com>
2073
2074 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2075 legitimate output from stepping out of main.
2076
413eca6f
KS
20772001-07-22 Keith Seitz <keiths@redhat.com>
2078
2079 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2080 the empty string, do not run the tests.
2081
7e5a9322
SC
20822001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2083
2084 * gdb.base/long_long.exp: Detect size of pointer. Take into
2085 account 2-byte pointers when testing for p/a results.
2086
de58f10f
SC
20872001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2088
2089 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2090 and defined to 1K for m68hc11.
2091 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2092 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2093 (sizeof_random_data): New variable to tell the size of the data table;
2094 don't test past this size; always run to main.
2095
d6f5fea1
SC
20962001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2097
2098 * gdb.base/return2.exp: return of long long and double fails for
2099 68HC11; don't execute these tests on that platform.
2100 * gdb.base/return.exp: Return of a double fails for 68hc11.
2101
c477543d
SC
21022001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2103
2104 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2105 tests that print a float.
2106 * call-rt-st.exp: Likewise.
2107
63cf1c79
MK
21082001-07-12 Mark Kettenis <kettenis@gnu.org>
2109
2110 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2111 running this test on Linux.
2112
112f9ab5
MC
21132001-06-24 Michael Chastain <chastain@redhat.com>
2114
2115 * gdb.base/arithmet.exp: Remove some tests to make all test names
2116 unique.
2117
4970cb0f
MS
21182001-07-03 Michael Snyder <msnyder@redhat.com>
2119
2120 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2121 the output of the ptype command.
2122
d85da69f
MS
21232001-07-02 Michael Snyder <msnyder@redhat.com>
2124
4c8a82de
MS
2125 * gdb.base/completion.exp: Don't assume that break.c is the only
2126 source file that may contain functions named "marker".
d85da69f
MS
2127 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2128
8afc772b
AC
21292001-06-28 Andrew Cagney <ac131313@redhat.com>
2130
2131 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2132 of files to delete.
2133
2134 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2135 * gdb.disasm/h8300s.exp: New file.
2136 gdb.disasm/h8300s.s: Likewise.
2137
cff22675
AC
21382001-06-27 Andrew Cagney <ac131313@redhat.com>
2139
2140 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2141 empty breakpoint tables.
2142
68c81b54
AC
21432001-06-25 Andrew Cagney <ac131313@redhat.com>
2144
2145 * lib/mi-support.exp: Update args=... part of stop-reason
2146 patterns. Accept either a list or a tuple.
2147
2dd62704
AC
21482001-06-23 Andrew Cagney <ac131313@redhat.com>
2149
2150 * lib/mi-support.exp: Remove local emacs variable defining
2151 change-log-default-name.
2152
b4127474
MC
21532001-06-22 Michael Chastain <chastain@redhat.com>
2154
2155 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2156 This is operationally compatible with the previous version.
2157
8dbfb380
JB
21582001-06-13 Jim Blandy <jimb@redhat.com>
2159
2160 * lib/gdb.exp (gdb_test): Doc fix.
2161
f2d8c86d
MC
21622001-06-10 Michael Chastain <chastain@redhat.com>
2163
2164 * gdb.base/exprs.exp: Remove a duplicate test.
2165
81564d34
JB
21662001-06-06 Jim Blandy <jimb@redhat.com>
2167
2168 * gdb.base/return2.exp (main): Use values to test float and double
2169 returns that are not NaN's, to avoid being confused by IEEE
2170 comparison rules.
2171
da55addb
MS
21722001-06-04 Michael Snyder <msnyder@redhat.com>
2173
2174 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2175 non-zero if control_c fails. Terminate the test on failure,
2176 rather than wait for 12 more tests to time out.
2177
42c65987
JB
21782001-06-06 Jim Blandy <jimb@redhat.com>
2179
b18bced9
JB
2180 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2181 Don't forget to match the GDB prompt.
2182
42c65987
JB
2183 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2184
5b41e5f0
JB
21852001-06-04 Jim Blandy <jimb@redhat.com>
2186
2187 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2188 command.
2189
015e046f
KB
21902001-05-31 Kevin Buettner <kevinb@redhat.com>
2191
2192 * gdb.base/annota1.exp (info break): Match four or more spaces
2193 after "Address".
2194
fb1ffbbe
MC
21952001-05-31 Michael Chastain <chastain@redhat.com>
2196
2197 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2198 (dm_type_int_star): Likewise.
2199 (dm_type_long_star): Likewise.
2200 (dm_type_void_star): Likewise.
2201
5ea2a32c
KB
22022001-05-29 Kevin Buettner <kevinb@redhat.com>
2203
2204 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2205 to a known value in order to get consistent results regardless
2206 of the setting of INPUTRC or the presence or contents of .inputrc.
2207
ae23c492
MS
22082001-05-24 Michael Snyder <msnyder@redhat.com>
2209
ac55707e
MS
2210 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2211 Don't require that the main thread and the manager thread are the
2212 first in the list.
2213
ae23c492
MS
2214 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2215 debugging. If test fails, issue an "unsupported" not a "fail".
2216
400071f1
JB
22172001-05-24 Jim Blandy <jimb@redhat.com>
2218
2219 Don't assume that short is shorter than int.
2220 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2221 assume that shorts are smaller than ints. On a 16-bit machine,
2222 this isn't true.
2223 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2224 an int, is not equal to ~0 stored in an unsigned char. This tests
2225 the same thing that the previous test meant to, but works on
2226 16-bit machines, too.
2227 ("print unsigned char != (~0)"): Same test, complemented.
2228
0816a3e5
MS
22292001-05-24 Michael Snyder <msnyder@redhat.com>
2230
2231 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2232 test for (full_coverage == 0). This makes the test run faster,
2233 and prevents dejagnu getting out of step.
2234
f6dc23a9
KB
22352001-05-23 Kevin Buettner <kevinb@redhat.com>
2236
2237 * gdb.base/finish.exp (finish_void): Revise pattern for
2238 stopping on the call statement to not permit stopping at
2239 the start of the instructions comprising the call sequence.
2240
7dbd117d
MC
22412001-05-19 Michael Chastain <chastain@redhat.com>
2242
2243 * gdb.base/callfuncs.exp: Make all test names unique.
2244 * gdb.base/commands.exp: Make all test names unique.
2245 * gdb.base/condbreak.exp: Make all test names unique.
2246 * gdb.base/dbx.exp: Make all test names unique.
2247 * gdb.base/default.exp: Make all test names unique.
2248 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2249 and TIMEOUT messages to their corresponding PASS message.
2250 * gdb.base/ending-run.exp: Make all test names unique.
2251 * gdb.base/long_long.exp: Remove duplicate test.
2252
6b0b0a9e
KB
22532001-05-21 Kevin Buettner <kevinb@redhat.com>
2254
2255 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2256 stop on the call statement as well as the statement after the
2257 call.
2258
2caa35cb
MS
22592001-05-21 Michael Snyder <msnyder@redhat.com>
2260
2261 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2262
40713331
EZ
22632001-05-10 Elena Zannoni <ezannoni@redhat.com>
2264
2265 * gdb.base/completion.exp: Revamp test. Make it execute on all
2266 platforms.
2267
c2c1be8d
EZ
22682001-05-10 Elena Zannoni <ezannoni@redhat.com>
2269
2c9cd303
EZ
2270 * config/gdbserver.exp (gdb_load): Handle the case
2271 in which the arguments to gdbserver are given in the
2272 baseboard configuration file.
2273 Also handle the case in which the server needs to do a
2274 load.
2275
9671de48
KS
22762001-05-07 Keith Seitz <keiths@cygnus.com>
2277
2278 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2279 set up the display for testing.
2280 (gdbtk_start): Convert all paths to paths that tcl will like.
2281 Export target information to environment.
2282 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2283 necessary.
2284 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2285 (to_tcl_path): New proc to convert a given pathname into
2286 a path acceptible as an argument to a tcl command.
2287 (_gdbtk_export_target_info): New proc to export target info
2288 into the environment for gdbtk testing.
2289 (gdbtk_done): New proc to signal end-of-test.
2290
5a360f47
JB
22912001-05-06 Jim Blandy <jimb@redhat.com>
2292
2293 * restore.c: Make the code of caller0 correspond to its comment.
2294
66c756c6
MS
22952001-05-03 Michael Snyder <msnyder@redhat.com>
2296
2297 * config/sid.exp (gdb_target_sid): Check for error messages.
2298 On error or timeout, don't make expect exit (which will terminate
2299 all subsequent tests); instead just make gdb exit.
2300 (gdb_load): Check for error messages. On error or timeout,
2301 return a negative value.
2302
a966fde5
JB
23032001-04-24 Jim Blandy <jimb@redhat.com>
2304
851c18e0
JB
2305 * gdb.c++/templates.exp: If we see the prompt for the overload
2306 list, but we haven't recognized any of the longer patterns,
2307 arrange for this test to fail, not hang.
2308
a966fde5
JB
2309 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2310 variations.
2311
db144853
MC
23122001-04-22 Michael Chastain <chastain@redhat.com>
2313
2314 * gdb.c++/local.exp: Use the 'runto' library function.
2315 * gdb.c++/namespace.exp: Likewise.
2316 * gdb.c++/overload.exp: Likewise.
2317
3207ec21
KB
23182001-03-26 Kevin Buettner <kevinb@redhat.com>
2319
2320 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2321 * gdb.base/step-line.exp: New file. Test step/next in presence of
2322 #line directives.
2323 * gdb.base/step-line.c: New file. Test program for the above.
2324 * gdb.base/step-line.inp: New file. We pretend that this file has
2325 been transformed by some other tool into step-line.c.
2326
13b57657
JB
23272001-03-21 Jim Blandy <jimb@redhat.com>
2328
2329 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2330 unmangled operator names.
2331
754cbe1c
JB
23322001-03-20 Jim Blandy <jimb@redhat.com>
2333
2334 * gdb.threads/linux-dp.exp: Recognize an additional message
2335 generated by GDB when it doesn't understand how to debug threads
2336 on the target system.
2337
177495c9
AC
23382001-03-19 Andrew Cagney <ac131313@redhat.com>
2339
2340 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2341
f266096b
MC
23422001-03-12 Michael Chastain <chastain@redhat.com>
2343
2344 * gdb.c++/derivation.exp: Use the 'runto' library function.
2345
cac3c2ff
MC
23462001-03-12 Michael Chastain <chastain@redhat.com>
2347
2348 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2349
b6c11a24
MC
23502001-02-24 Michael Chastain <chastain@redhat.com>
2351
2352 * gdb.c++/ref-types.exp: Change handwritten code to library
2353 function 'runto'.
2354
6bae5bce
OF
23552001-03-16 Orjan Friberg <orjanf@axis.com>
2356
2357 * gdb.base/signals.exp: Set count to 0 explicitly.
2358
0015fd9a
MS
23592001-03-15 Mark Salter <msalter@redhat.com>
2360
2361 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2362 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2363 (gdb_load): Add support for additional target_info: gdb_download_size
2364 and gdb_load_timeout.
0015fd9a 2365
fc33412a
DT
2366Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2367
2368 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2369 file -- to prevent failing when the compile fails but we have no
2370 intention of running the tests anyway.
2371
2372 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2373 tests if set.
2374
2375 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2376 integers.
2377
2378 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2379 * gdb.c++/namespace.exp: Ditto.
2380
115f06de
OF
23812001-03-07 Orjan Friberg <orjanf@axis.com>
2382
2383 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2384 * gdb.base/pointers.exp: Relax pattern match of decimals.
2385
b6ba6518
KB
23862001-03-06 Kevin Buettner <kevinb@redhat.com>
2387
2388 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2389 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2390 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2391 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2392 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2393 config/sh.exp, config/sid.exp, config/slite.exp,
2394 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2395 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2396 config/vxworks.exp, config/vxworks29k.exp,
2397 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2398 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2399 gdb.base/arithmet.exp, gdb.base/assign.exp,
2400 gdb.base/async.exp, gdb.base/attach.exp,
2401 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2402 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2403 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2404 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2405 gdb.base/commands.exp, gdb.base/completion.exp,
2406 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2407 gdb.base/constvars.exp, gdb.base/corefile.exp,
2408 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2409 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2410 gdb.base/ending-run.exp, gdb.base/environ.exp,
2411 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2412 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2413 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2414 gdb.base/funcargs.exp, gdb.base/help.exp,
2415 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2416 gdb.base/logical.exp, gdb.base/long_long.exp,
2417 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2418 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2419 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2420 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2421 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2422 gdb.base/regs.exp, gdb.base/relational.exp,
2423 gdb.base/remote.exp, gdb.base/reread.exp,
2424 gdb.base/restore.exp, gdb.base/return2.exp,
2425 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2426 gdb.base/selftest.exp, gdb.base/setshow.exp,
2427 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2428 gdb.base/sigall.exp, gdb.base/signals.exp,
2429 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2430 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2431 gdb.base/step-test.exp, gdb.base/structs.c,
2432 gdb.base/structs.exp, gdb.base/structs2.exp,
2433 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2434 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2435 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2436 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2437 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2438 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2439 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2440 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2441 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2442 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2443 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2444 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2445 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2446 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2447 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2448 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2449 gdb.trace/circ.exp, gdb.trace/collection.exp,
2450 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2451 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2452 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2453 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2454 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2455 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2456 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2457 notices.
2458
dc96c6c7 24592001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2460
2461 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2462 first arg is int not float.
2463
dc96c6c7 24642001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2465
2466 * gdb.base/reread.exp: Unsupported for non-native targets;
2467 doesn't work for remote debugging.
2468
9b0c4aeb
FN
24692001-02-19 Fernando Nasser <fnasser@redhat.com>
2470
2471 From Drew Moseley <dmoseley@redhat.com>
2472 * gdb.base/ending-run.exp: Properly handle the BSP state when
2473 stepping past the end of main.
2474
02aa71d5
MC
24752001-02-19 John Moore <jmoore@redhat.com>
2476
2477 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2478 Converted HPUX fix for non-expected items following multiple
2479 step commands into general solution for all platforms.
2480
1fa449a4
MC
24812001-02-18 Michael Chastain <chastain@redhat.com>
2482
2483 * gdb.c++/classes.exp (do_tests): Change runto statements
2484 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2485 statements demangler agnostic.
2486 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2487 (gdb_virtfunc_restart): Likewise.
2488
b2f9ec70
MC
24892001-02-14 Michael Chastain <chastain@redhat.com>
2490
2491 * gdb.c++/inherit.exp (do_tests): Change runto statements
2492 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2493 statements demangler agnostic.
2494
cf74b8ca
AC
2495Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2496
2497 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2498 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2499 before calling common_routine 15 times'' tests.
2500
99f78f56
MC
25012001-02-11 Michael Chastain <chastain@redhat.com>
2502
2503 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2504 Helps the test script figure out which demangler is in use.
2505 (dm_type_foo_ref): Ditto.
2506 (dm_type_int_star): Ditto.
2507 (dm_type_long_star): Ditto.
2508 (dm_type_unsigned_int): Ditto.
2509 (dm_type_void): Ditto.
2510 (dm_type_void_star): Ditto.
99707966 2511 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2512 Probe the gdb demangler and set variables to accommodate
2513 formatting differences.
2514 (info_func_regexp): New function. Same as info_func, but
2515 matches against a regexp.
2516 (info_func): Match against a literal string.
2517 (print_addr_2): New function. Match against a literal string,
2518 which can be different from the input to gdb.
2519 (print_addr): Simply call print_addr_2 with the same argument twice.
2520 (test_lookup_operator_functions): Use demangler formatting variables.
2521 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2522 the tests in the same order as the C++ class declaration.
2523 (test_paddr_operator_functions): Ditto.
2524 (test_paddr_overloaded_functions): Ditto.
2525 (test_paddr_hairy_functions): Use demangler formatting variables.
2526 Add reference to gdb/19 for related tests.
2527 (do_tests): Call probe_demangler.
2528
1de8f023
KB
25292001-01-30 Kevin Buettner <kevinb@redhat.com>
2530
2531 * gdb.c++/templates.cc (printf): Remove unused function definition.
2532
ca3f91ed
MS
25332001-01-26 Felix Lee <flee@redhat.com>
2534
2535 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2536
25372001-01-25 matthew green <mrg@redhat.com>
2538
2539 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2540 up sid.
2541 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2542
25432001-01-25 matthew green <mrg@redhat.com>
2544
2545 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2546 Deprecate $sid_spawn_id.
2547 (sid_exit): Remove code necessary only for `spawn.'
2548
25492001-01-25 matthew green <mrg@redhat.com>
2550
2551 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2552
fb18ec4a
MC
25532001-01-28 Michael Chastain <chastain@redhat.com>
2554
2555 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2556 to call when tests fail. It takes gdb out of the overloaded
2557 function choice menu back to the main prompt, so that the test
2558 program stays synchronized.
2559 (set_bp_overloaded): New proc to collect all the common
2560 code for setting a breakpoint on an overloaded name. Calls
2561 take_gdb_out_of_choice_menu when needed.
2562 (menu_overload1arg): New variable to collect the repeated
2563 instances of the expected menu for an overloaded name. Change
2564 the regular expression to handle changes in g++ type encoding:
2565 "void" can be either "void" or "", and "unsigned int" can be
2566 either "unsigned int" or "unsigned".
2567 (continue_to_bp_overloaded): Change regular expressions to handle
2568 changes in g++ type encoding.
2569 (no proc): Call take_gdb_out_of_choice_menu when needed.
2570 Remove redundant calls to "info break". Accept either "canceled"
2571 or "cancelled". Change regular expressions in "info break"
2572 calls to handle changes in g++ type encoding. Give all tests
2573 unique strings.
2574
9c646a6e
BE
25752001-01-17 Ben Elliston <bje@redhat.com>
2576
2577 * config/sid.exp: New file.
2578
9549d9c1
AC
2579Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2580
2581 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2582
dc96c6c7 25832000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2584
2585 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2586 Add a RE to accept a non-ascii char if one is ever presented.
2587
b4df4f68
FN
25882000-12-20 Fernando Nasser <fnasser@redhat.com>
2589
297dd0fd 2590 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2591
dc96c6c7 25922000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2593
2594 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2595 in regexp. One '\' does not suffice on Linux.
2596
4a7bddb6
MC
25972000-12-09 Michael Chastain <chastain@redhat.com>
2598
2599 * gdb.base/break.exp (test_clear_command): Use a marker function
2600 rather than 'main' for the test function. Also move this
2601 test to an execution point where the marker function names are
2602 guaranteed to be bound to functions. (Executing tests after a
2603 'finish' from main runs into name conflicts with local names
2604 in __libc_start_main).
2605
dc96c6c7 26062000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2607
2608 * gdb.base/finish.exp: New test for gdb's "finish" command.
2609 * gdb.base/return2.exp: New test for gdb's "return" command.
2610 * gdb.base/return2.c: New source file for above.
2611
dc96c6c7 26122000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2613
2614 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2615 * gdb.base/miscexprs.exp: Ditto.
2616 * gdb.base/pointers.exp: Ditto.
2617 * gdb.c++/derivation.exp: Ditto.
2618 * gdb.c++/local.exp: Ditto.
2619 * gdb.c++/namespace.exp: Ditto.
2620 * gdb.c++/overload.exp: Ditto.
2621 * gdb.c++/ref-types.exp: Ditto.
2622
dc96c6c7 26232000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2624
2625 * gdb.base/constvars.exp: Test result of "up" command.
2626 * gdb.base/miscexprs.exp: Ditto.
2627 * gdb.base/pointers.exp: Ditto.
2628 * gdb.base/scope.exp: Ditto.
2629 * gdb.c++/derivation.exp: Ditto.
2630 * gdb.c++/local.exp: Ditto.
2631 * gdb.c++/namespace.exp: Ditto.
2632 * gdb.c++/overload.exp: Ditto.
2633 * gdb.c++/ref-types.exp: Ditto.
2634
44097287
FN
26352000-11-22 Michael Chastain <chastain@redhat.com>
2636
2637 * mips_pro.exp: Accept either "middle -> top -> main" or
2638 "middle -> main" in the backtrace, because gcc can optimize
2639 tail calls to jumps. Remove setup_xfail for the hppa case.
2640 Add a comment with the original warning messages from PR 3016,
2641 which was filed in 1993, to preserve them for posterity.
2642
9d2e1bab
ND
26432000-11-17 Nick Duffek <nsd@redhat.com>
2644
2645 * lib/gdb.exp (gdb_test): Override timeout with board info.
2646
1aca8eb7
ND
26472000-11-17 Nick Duffek <nsd@redhat.com>
2648
2649 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2650 the second kill and detach messages.
2651
93076499
ND
26522000-11-17 Nick Duffek <nsd@redhat.com>
2653
2654 * configure.in: Add AC_EXEEXT.
2655 * configure: Regenerate.
2656 * Makefile.in (just-check): Export EXEEXT.
2657 * lib/gdb.exp ($EXEEXT): Import from environment.
2658 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2659 expect "maint dump-me" on Cygwin.
2660 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2661 $EXEEXT.
2662
30e87cd3
ND
26632000-11-17 Nick Duffek <nsd@redhat.com>
2664
2665 * gdb.base/break.exp: Test backtrace and finish from called
2666 function on all platforms, not just HP-UX.
2667
dc96c6c7 26682000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2669
2670 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2671 code from gdb_target_monitor, so it can be used independantly
2672 for gdbserver. Also comment out an unnecessary PUTS.
2673
dc96c6c7 26742000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2675
2676 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2677 * gdb.base/corefile.exp: Expect the message "Program is being
2678 debugged already" when we send the "corefile" command, since
2679 the preceeding gdb_load may have connected gdb to a remote target.
2680 * gdb.base/display.exp: Disable hardware watchpoints if new
2681 board info variable "no_hardware_watchpoints" is true.
2682 Replace single-letter commands with more readable ones.
2683 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2684 if new board info variable "no_hardware_watchpoints" is true.
2685 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2686 to see if stdio (printf) testing is possible.
2687 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2688 board info variable "no_hardware_watchpoints" is true. Use new
2689 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2690
39124dea
FN
26912000-11-13 Fernando Nasser <fnasser@redhat.com>
2692
2693 From Orjan Friberg <orjanf@axis.com>:
2694 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2695 in array print pattern match.
2696
a9e2e984
FN
26972000-11-09 Fernando Nasser <fnasser@redhat.com>
2698
2699 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2700 spelling "cancelled" to U.S. spelling "canceled" to match changes
2701 made to gdb.
2702 * gdb.c++/ovldbreak.exp: Ditto.
2703
c7db355b
PS
27042000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2705
2706 * gdb.base/callfuncs.c (main): Moved to end of file, call
2707 t_double_values to initialize the FPU before inferior calls are made.
2708 * gdb.base/callfuncs.exp: Test for register preservation after calling
2709 inferior functions. Add tests for continuining, finishing and
2710 returning from a stop in a call dummy.
2711
dc96c6c7 27122000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2713
2714 * gdb.base/commands.exp: Break up long lines, and re-indent.
2715
dc96c6c7 27162000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2717
2718 * config/gdbserver.exp: Rewritten from the ground up, to make it
2719 compatible with the current dejagnu tree, and to make it work with
2720 the new "gdbserver" in libremote.
2721
dc96c6c7 27222000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2723
2724 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2725 * gdb.base/varargs.exp: Skip entire test if no printf support.
2726 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2727 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2728
dc96c6c7 27292000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2730
2731 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2732 no floating point support.
2733 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2734 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2735 * gdb.base/call-rt-st.exp: Ditto.
2736 * gdb.base/call-strs.exp: Ditto.
2737
bac5fc66
JG
27382000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2739
2740 * gdb.base/sizeof.c: include <stdio.h>.
2741
2742 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2743 'finish', otherwise uncaptured gdb_prompt would potentially
2744 throw remaining test points out of sync.
2745
b22a6027
SB
27462000-07-26 Scott Bambrough <scottb@netwinder.org>
2747
2748 * gdb.base/recurse.exp: Run tests for all targets.
2749 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2750 gnu-oldld case on ARM.
2751 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2752 for ARM targets.
2753
d8231941
AG
2754Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2755
2756 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2757 * gdb.java/configure: Rebuild.
2758
8caabe69
AG
2759Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2760
2761 * gdb.java/jv-exp.exp: New file.
2762
9d273ca3
AG
2763Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2764
2765 * configure: Rebuilt.
2766 * configure.in (configdirs): Add gdb.java.
2767 * gdb.java/jmisc.java: New file.
2768 * gdb.java/jmisc.exp: New file.
2769 * gdb.java/Makefile.in: New file.
2770 * gdb.java/configure: Rebuilt.
2771 * gdb.java/configure.in: New file.
2772 * lib/java.exp: New file.
2773
4f823a66
AC
2774Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2775
2776 * gdb.base/exprs.exp: Test casts to a pointer including over and
2777 underflow.
2778
2391e11d
AC
2779Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2780
2781 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2782 and the compilers sizes.
2783
54602222
ND
27842000-07-09 Nick Duffek <nsd@redhat.com>
2785
2786 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2787 (use_methods): New function.
2788 (main): Call use_methods().
2789 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2790 (do_tests): Call test_method_param_class.
2791
2bec0572
ND
27922000-07-09 Nick Duffek <nsd@redhat.com>
2793
2794 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2795 spelling.
2796 (test_enums): New procedure. Move enum tests from end of script
2797 to here. Set breakpoint on function name instead of line number.
2798 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2799 (enums2): New marker function.
2800 (enums1): New function.
2801 (main): Call enums1(). Move enum tests to enums1().
2802
78492fde
AC
2803Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2804
2805 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2806 compile/link program. Update line numbers.
2807 * gdb.asm/d10v.inc: Define ``startup''.
2808 * gdb.asm/asmsrc1.s: Add definition of _start.
2809
49a2cef8
AC
2810Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2811
2812 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2813
3e6c8688
EZ
28142000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2815
2816 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2817 of 'help maint print' command.
2818
9ff5cbe9
AC
2819Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2820
2821 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2822 they use gdb_expect_list.
2823
17c579bd
AC
2824Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2825
2826 * gdb.base/commands.exp: Use ``set remote
2827 memory-read-packet-size'' instead of ``set endian big'' to test
2828 long commands.
2829
e6d71bf3
DB
28302000-06-03 Daniel Berlin <dan@cgsoftware.com>
2831
2832 * gdb.c++/templates.exp (do_tests): Make all of these work under
2833 g++, and stop skipping them.
2834
2835 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2836 work under g++.
2837
e5f9ba7b
MS
2838 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2839 initialization.
2840
dc96c6c7 28412000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2842
2843 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2844 the regular expression: accept an (almost) arbitrary sequence of
2845 "frames-invalid" and "breakpoints-invalid" messages both before
2846 and after the "starting" message.
2847
dc96c6c7 28482000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2849
2850 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2851
dc96c6c7 28522000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2853
2854 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2855 Relax the regular expression a little, make it pass on Solaris 8.
2856
8216cda9
KB
28572000-05-12 Kevin Buettner <kevinb@redhat.com>
2858
2859 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2860 a call, do not require that gdb stop on the line after the call.
2861 Instead, it is permissible for gdb to stop on the line of the
2862 call itself.
2863
1a570b2f
MS
28642000-05-12 Michael Snyder <msnyder@.cygnus.com>
2865
2866 * gdb.base/break.exp (bp on small function, optimized file):
2867 Add a second pass pattern. The behavior differs here between stabs
2868 and dwarf for one-line functions. Stabs preserves two line symbols
2869 (one before the prologue and one after) with the same line number,
2870 but dwarf regards these as duplicates and discards one of them.
2871 Therefore the address after the prologue (where the breakpoint is)
2872 has no exactly matching line symbol, and GDB reports the breakpoint
2873 as if it were in the middle of a line rather than at the beginning.
2874
dc96c6c7 28752000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2876
2877 * gdb.base/interrupt.exp: Make "pass" message say "send"
2878 rather than "send_gdb" (for consistancy).
2879
7d418785
AC
2880Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2881
2882 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2883 * gdb.c++/templates.cc: Properly check for GCC version number.
2884 * lib/compiler.cc: Likewise
2885
dc96c6c7 28862000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2887
2888 * gdb.base/break.exp: When compiled with -O2 optimization,
2889 gdb may not stop at the first line of main, due to code motion.
2890
dc96c6c7 28912000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2892
2893 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2894 This test depends on parsing the printf output from the target.
2895 Since the sparclet stub doesn't do stdio, this will never work.
2896 * gdb.base/call-rt-st.exp: ditto.
2897 * gdb.base/call-strs: ditto.
2898
dc96c6c7 28992000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2900
2901 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2902
2903 * gdb.base/ending-run.exp: After connecting to a remote target,
2904 but before running, the target will appear to be in a random
2905 location. Specify both a file and a line for breakpoints.
2906 Also, the function that calls main may be called 'init'
2907 rather than 'start'.
2908
a5a51225
EZ
29092000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2910
2911 * gdb.base/help.exp: Update output for add-symbol-file command.
2912
7930cc7c
FN
29132000-04-10 Fernando Nasser <fnasser@cygnus.com>
2914
2915 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2916 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2917
23e37ab1
C
29182000-04-07 J.T. Conklin <jtc@redback.com>
2919
e93c542c
C
2920 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2921
23e37ab1
C
2922 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2923
591b8fa3
PDM
2924Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2925
2926 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2927 values that can be represented exactly.
2928 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2929 above change, and to not check against the directory part of the source
2930 file name.
2931 (step into print_long_arg_list): Likewise.
2932 (print print_small_structs from print_long_arg_list): Likewise.
2933 (print print_long_arg_list): Likewise.
2934
7a495180
EZ
29352000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2936
30b53638 2937 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2938
beb998c6
AC
2939Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2940
2941 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2942
1c689132
DB
29432000-03-25 Daniel Berlin <dan@cgsoftware.com>
2944
2945 * gdb.base/commands.exp (deprecated_command_test): Add test for
2946 deprecate with no arguments.
2947
c1790a9d
JL
29482000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2949
2950 * gdb.base/break.exp: Add new test for setting breakpoints on
2951 optimized code so we can test breakpoints work even when function
2952 prologues may be optimized away
2953
003ba290
FN
29542000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2955
2956 From David Whedon <dwhedon@gordian.com>
2957 * gdb.base/commands.exp : Added command deprecator tests.
2958
6837a0a2
DB
29592000-03-22 Daniel Berlin <dan@cgsoftware.com>
2960
2961 * gdb.base/help.exp: Added test for new apropos command.
2962
b9593231
KB
29632000-03-21 Kevin Buettner <kevinb@redhat.com>
2964
2965 * gdb.base/pointers.c (usevar): New function.
2966 (main): Make sure that global variables v_int_pointer2, rptr,
2967 and y are all referenced someplace in the program by calling
2968 usevar() on them. [Some linkers delete symbols which are
2969 never referenced. The space remains, but there's no way to
2970 get a (symbolic) handle on the variable from the debugger.]
2971
751a959b
EZ
29722000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2973
2974 * gdb.base/printcmds.c: Add typedeffed arrays.
2975
2976 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2977 procedure to test arrays that are typedef'd.
2978
73a93a32
JI
29792000-03-13 James Ingham <jingham@leda.cygnus.com>
2980
2981 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2982 the library directories.
73a93a32 2983
fb40c209
AC
2984Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2985
2986 * configure.in (configdirs): Add sub directory gdb.mi.
2987 * configure: Re-generate.
2988
2989 * gdb.mi: New directory.
beb998c6 2990
ee4dd2c9
AC
29912000-02-25 Scott Bambrough <scottb@netwinder.org>
2992
2993 * gdb.base/long_long.exp: Correct test suite failure when printing
2994 a long long value as a double on ARM platforms.
2995
70f0cc22
JB
29962000-02-16 Jim Blandy <jimb@redhat.com>
2997
2998 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2999 default source file is set properly before running this test.
3000
853819b8
EZ
30012000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3002
3003 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3004 gdbtk/library directory, not in gdbtcl2.
3005
dfcd3bfb
JM
30062000-02-04 Jim Blandy <jimb@redhat.com>
3007
3008 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3009 backslash from regexp pattern.
3010
3011 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3012 procedure. Use it to run all the "continue to bp overloaded"
3013 tests. Note that this changes the names of the tests slightly.
3014 If the breakpoint hit message includes a hex PC value, because
3015 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3016 from the real source code, still consider that a pass.
3017
3018 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3019 XFAIL here if the breakpoint message contains a hex address. Note
3020 similar change on 1999-11-02.
3021
3022 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3023
3024 * gdb.base/ptype.exp: Establish a default source file before
3025 calling get_debug_format.
3026
30272000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3028
3029 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3030
8b93c638
JM
30312000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3032
3033 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3034 of successive stepi commands -- while in the prologue we should see
3035 the function entry bracket.
3036
30372000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3038
3039 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3040 reach __change_mode() when stepping through the end of main().
3041
c5394b80
JM
30422000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3043
3044 * gdb.base/default.exp: Fix expected pattern.
3045 * gdb.base/help.exp: Same.
3046
0d06e24b
JM
30472000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3048
3049 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3050 Don't use xfail's because that affects only the following test.
beb998c6 3051
0d06e24b
JM
3052 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3053 solaris or linux.
3054
3055 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3056
dc96c6c7 30572000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3058
beb998c6 3059 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3060 "A syntax error" rather than "A parse error". Accept both.
3061
30622000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3063
3064 * gdb.base/default.exp: Remove OS dependent string from "target
3065 remote" test.
3066 * gdb.base/help.exp: Same for "help target remote" test.
3067
c3f6f71d
JM
30682000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3069
3070 From Jim Kingdon <kingdon@redhat.com>:
3071
3072 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3073 prompt (cleanup rather than necessity, but still might keep output
3074 from spilling to next test).
3075
30762000-01-02 Fred Fish <fnf@cygnus.com>
3077
3078 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3079 AIX, which defines them in <sys/types.h>.
3080
ed9a39eb 30811999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3082
ed9a39eb
JM
3083 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3084 float" test.
3085
30861999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3087
ed9a39eb 3088 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3089
3090 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3091 outermost frame disallowed".
3092
30931999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3094
3095 * gdb.base/setvar.exp: New tests for setting the value of a struct
3096 with a constant list.
3097
30981999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3099
3100 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3101 require the user to type a cast before setting the value of a struct.
3102
de57eccd
JM
31031999-12-06 Jim Blandy <jimb@cygnus.com>
3104
3105 * gdb.base/default.exp: Expect the new 'info float' command on
3106 all i386 platforms.
3107
3108 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3109 LinuxThreads libraries that don't support debugging.
3110
c2d11a7d
JM
3111Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3112
3113 * gdb.base/remote.c: Fill the buffer with truely random data.
3114 Change the buffer type to ``unsigned char'' to simplify size
3115 arithmetic.
3116
3117 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3118 stub only handles 400-1 byte packets. Verify that the download
3119 worked.
3120
31211999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3122
3123 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3124 tests, using UNRESOLVED for the untested cases. Also, does not wait
3125 for a timeout if the prompt was received before a recognizable pattern.
3126
31271999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3128
3129 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3130
31311999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3132
3133 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3134 watchpoints.
3135
31361999-11-24 Jason Merrill <jason@casey.cygnus.com>
3137
3138 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3139
3140 * gdb.c++/local.exp: Be more flexible in recognizing local class
3141 name mangling. Don't allow horribly truncated method names.
3142 * gdb.c++/derivation.exp: Expect protected inheritance.
3143 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3144 * gdb.c++/virtfunc.exp: Likewise.
3145 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3146 when printing a nested enum.
3147
31481999-11-22 Jim Blandy <jimb@cygnus.com>
3149
3150 * gdb.base/step-test.exp: Properly await GDB's response to setting
3151 a breakpoint on the call to large_struct_by_value.
3152
3153 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3154 just because we have debug info for the `start' function.
3155
31561999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3157
3158 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3159 "Unknown signal" messages, which indicate (on LinuxThreads) that
3160 GDB doesn't know how to debug threads on this system. This is
3161 better than hanging while philosopher 0 dumps chatter into gdb.log.
3162
31631999-11-18 Tom Tromey <tromey@cygnus.com>
3164
3165 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3166
31671999-11-18 Fred Fish <fnf@cygnus.com>
3168
3169 * gdb.base/coremaker2.c: Add sample program for generating
3170 cores that is more self contained than coremaker.c. Eventually
3171 I'll add more code to this and tie it into the testsuite.
3172
4ce44c66
JM
31731999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3174
3175 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3176
31771999-11-10 Jimmy Guo <guo@cup.hp.com>
3178
3179 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3180 from $srcdir/lib/.
3181 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3182 and gdb.c++/.
3183
3184 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3185
beb998c6 3186 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3187 'continue with watch' test point.
3188
31891999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3190
3191 Merged from p2linux-990323-branch:
beb998c6 3192
4ce44c66
JM
3193 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3194
11cf8741
JM
3195Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3196
3197 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3198 {limit,fixed}''. Test ``set download-write-size''.
3199
3200Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3201
3202 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3203 gdb_expect_list.
3204
3205Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3206
3207 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3208
32091999-11-03 Mark Salter <msalter@cygnus.com>
3210
3211 * gdb.base/break.exp: Fix "stub continue" pattern.
3212
32131999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3214
3215 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3216
32171999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3218
3219 * gdb.base/display.exp ("finish"): Add timeout clause.
3220
3221 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3222 plain prompt clause, so this doesn't have to time out in order to
3223 fail.
3224
3225 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3226 breakpoint hit messages include an address.
3227
3228 * gdb.base/display.exp: Don't forget to escape parens in regular
3229 expressions. Unix regexp notatation sucks.
3230
32311999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3232
3233 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3234 order for 'signalled' message.
3235
5c44784c
JM
32361999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3237
3238 From Jimmy Guo <guo@cup.hp.com>:
3239 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3240 * gdb.base/annota1.c: Add code for tests to work with.
3241
32421999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3243
3244 * gdb.base/remote.exp: New test for remote downloading settings.
3245 * gdb.base/remote.c: New file with large .data.
3246
917317f4
JM
32471999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3248
3249 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3250 for LinuxThreads support, merged from the Code Fusion branch.
3251
3252Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3253
3254 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3255 containing exp_continue into a while within an expect. Don't
3256 attempt a start more than three times. Check return value from
3257 gdb_load.
beb998c6 3258
2df3850c
JM
3259Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3260
3261 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3262 a pass case.
3263
2acceee2
JM
32641999-10-01 Kevin Buettner <kevinb@cygnus.com>
3265
3266 * gdb.base/break.c (main): Added a statement that we can step
3267 off of.
3268 * gdb.base/break.exp: Added tests for setting a breakpoint
3269 at an offset and stepping onto a breakpoint.
3270
32711999-10-01 Fred Fish <fnf@cygnus.com>
3272
beb998c6 3273 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3274 gdb output.
3275
c2c6d25f
JM
32761999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3277
3278 * gdb.base/break.exp: Code locations are in hex, don't forget!
3279 (For HP-UX.)
3280
32811999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3282
3283 * condbreak.exp: Use break.c as test program.
3284 * condbreak.c: Remove, redundant with break.c.
3285
32861999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3287
3288 * config/monitor.exp (gdb_target_monitor): Disable X- and
3289 Z-packets if the target needs it.
3290
32911999-09-13 James Ingham <jingham@leda.cygnus.com>
3292
3293 * gdb.c++/overload.exp: Added tests for listing overloaded
3294 functions with function pointers in the arg, explicitly calling
3295 out the version you want.
3296
cff3e48b
JM
32971999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3298
3299 * long_long.exp: Add variations of test cases that work for
3300 targets with 16-bit ints and 32-bit doubles.
3301
d4f3574e
SS
33021999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3303
3304 * break.c (main): Compare a possibly-uninitialized argc with an
3305 unlikely value that fits in 16 bits.
3306
33071999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3308
3309 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3310 0xfeeb, don't want negative numbers if ints are 16 bits.
3311
3312 * lib/gdb.exp (skip_cplus_tests): New proc.
3313 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3314 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3315 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3316 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3317 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3318 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3319 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3320 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3321
3322 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3323
3324Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3325
3326 * gdb.base/corefile.exp (up): Allow a parameter to appear
3327 in the frame that we're going up to.
3328
3329 From Jim Blandy <jimb@cygnus.com>:
3330
3331 * gdb.base/default.exp (info float): Expect some output now.
3332
3333 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3334 returning floating-point values to fail on the x86.
3335 * gdb.base/callfwmall.exp (do_function_calls): Same.
3336
3337 * gdb.base/list.exp (test_listsize): Correct expectations for
3338 listing line 1 with listsize 2. Also, listing a single line
3339 works now, as does listing three lines. [Kevin's note: There
3340 were a number of other cases fixed too where the expectations
3341 differed...]
3342
33431999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3344
3345 * gdb.base/selftest.exp: Add case for when version prints as
3346 constant string instead of char pointer.
3347
104c1213
JM
33481999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3349
3350 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3351 stepping out of main.
3352
3353 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3354 G++ used.
3355
3356 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3357 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3358
3359 * gdb.c++/ovldbreak.exp: Update match string in test that
3360 includes a warning of multiple breakpoints.
3361
33621999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3363
3364 * gdb.base/display.exp: Improve precision of step-after-finish
3365 added yesterday.
3366
3367 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3368 test.
3369
3370 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3371 configs when using G++, not just hppa*.
3372
33731999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3374
3375 * gdb.base/async.c: New file.
3376 * gdb.base/async.exp: New file.
3377
3378Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3379
3380 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3381 PA64.
3382
53a5351d
JM
3383Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3384
104c1213
JM
3385 * gdb.base/display.exp: "finish" can leave us mid-line on many
3386 targets, deal with it. Add a small constant to main, instead of
3387 1000 since main+1000 may not be a valid address in the target.
3388
53a5351d
JM
3389 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3390 on hpux11.
3391
3392 * gdb.base/attach.exp: Handle another hpux11 error message variant
3393 when attaching to a process that does not exist.
3394
33951999-08-19 J.T. Conklin <jtc@redback.com>
3396
3397 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3398 characters in 'continue to 1241' test.
3399
34001999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3401
3402 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3403 stop in print_long_arg_list, define and use a whitespace
3404 variable in print_small_structs test, add an XFAIL for Solaris.
3405 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3406 interested enough to fix.
3407
7be570e7
JM
34081999-08-13 Keith Seitz <keiths@cygnus.com>
3409
3410 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3411 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3412 proc knows about targets other than the natives.
3413 (test_assign): Use "gdb_run_cmd" to "run" the target.
3414 Check that we've actually hit the breakpoint at main.
3415 When we attempt to assign a value to a local variable, check
3416 that the variable is in the current scope, i.e., don't use
3417 a test with an empty result.
3418
3419Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3420
3421 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3422 command.
3423
34241999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3425
3426 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3427 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3428 gdb.compat, gdb.threads-hp.
3429 gdb.hp/configure, gdb.hp/configure.in: New files.
3430 gdb.hp/Makefile.in: Recurse into new subdirs.
3431 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3432 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3433 in object files.
3434 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3435
96baa820
JM
34361999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3437
3438 * gdb.base/display.exp: Help expect by putting a newline in the
3439 funky printf, remove a bogus p/a test.
3440
34411999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3442
3443 * gdb.base/display.exp: Make sure that when we say 'run', we are
3444 connected to the target. This is necessary when running not
3445 natively.
3446
34471999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3448
3449 * gdb.base/step-test.exp: Removed some extraneous messages.
3450
3451 * gdb.base/long_long.exp: Don't run memory examination tests
3452 on little-endian targets (they will need a different set of
3453 results to match).
3454
34551999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3456
3457 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3458 until somebody decides to fix GDB.
3459
3460 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3461 constant as "ULL".
3462 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3463 matches for a couple x/2 commands.
3464
a0b3c4fd
JM
34651999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3466
3467 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3468 by merging in ref-types2 tests.
3469 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3470
3471 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3472 * gdb.c++/Makefile.in: Add standard actions.
3473 (EXECUTABLES): Rename from PROGS, update list.
3474 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3475 from gdb.hp.
3476 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3477 foo and bar locals.
3478 * gdb.c++/anon-union.exp: Fix tests to match.
3479 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3480 expect matches to handle output variations.
3481 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3482 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3483 output, add HP alternatives for new and delete prints.
3484 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3485 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3486 * gdb.c++/demangle.exp: Use $style when reporting failure.
3487 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3488 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3489 match alternatives.
3490 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3491 compilers.
3492 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3493 * gdb.c++/method.exp: Add match alternatives.
3494 * gdb.c++/misc.cc: Add bool types.
3495 * gdb.c++/misc.exp: Add tests for bool types.
3496 * gdb.c++/overload.exp: Add xfails.
3497 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3498 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3499 add some more template parameter tests (only for HP currently).
3500 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3501 * gdb.c++/virtfunc.cc: Add return type and value for main.
3502 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3503 match alternatives.
beb998c6 3504
a0b3c4fd
JM
35051999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3506
3507 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3508
35091999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3510
3511 * gdb.base/signals.exp: Don't expect getting a backtrace from
3512 within a signal handler to fail on Linux.
3513
35141999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3515
3516 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3517 * lib/gdb.exp: Remove some gratuitious semicolons.
3518 (delete_breakpoints): Increase timeout.
3519 (gdb_expect): Add -notransfer option.
3520 (gdb_test): Use -notransfer option.
3521 (get_compiler_info): Add f77 case.
3522 (get_compiler): New proc, split out from gdb_preprocess, add f77
3523 case.
3524 (gdb_preprocess): Call get_compiler.
3525
3526 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3527 * gdb.base/attach.exp, gdb.base/display.exp,
3528 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3529 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3530 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3531 third arg to gdb_test.
3532 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3533 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3534 HP-UX xfails, add others.
3535 * gdb.base/completion.exp: Reflect name change of self-test.
3536 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3537 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3538 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3539 HP failure number.
3540 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3541 useless HP-UX 10.30 references.
3542 * gdb.base/maint.exp: Loosen matches.
3543 * gdb.base/pointers.c (main): Declare more_code.
3544 * gdb.base/pointers.exp: Match on output of a `next'.
3545 * gdb.base/structs.c: Add prototypes.
3546 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3547 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3548
35491999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3550
3551 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3552 command.
3553
35541999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3555
3556 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3557 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3558
3559 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3560 debug info. Deal with lack of signal hanlder info in stack.
3561
3562 From Jim Kingdon <kingdon@redhat.com>:
3563 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3564
5a2468f5
JM
35651999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3566
3567 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3568 gdb.base/foll-vfork.exp: Don't run for crosses.
3569
adf40b2e
JM
3570Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3571
3572 * gdb.base/configure.in: Check for gdbvars.exp instead of
3573 a1-selftest.exp.
3574 * gdb.base/configure: Re-generate.
3575
35761999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3577
3578 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3579 in trying to run first and name is too long.
3580
3581 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3582 pointers2.c and pointers2.exp, respectively.
3583 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3584 doschk happier.
3585
43e526b9
JM
35861999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3587
3588 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3589 callfuncs2.c and callfuncs2.exp.
3590
3591 * gdb.base/list.exp: Remove mistaken xfails.
3592 * gdb.base/list0.h: Add optional prototypes.
3593
9846de1b
JM
3594Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3595
3596 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3597 calling malloc.
3598 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3599 * ptype.exp: Move test for get_debug_format to before its first
3600 use.
3601
36021999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3603
3604 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3605 * gdb.base/annota2.cc, annota2.exp: Move from here.
3606 * gdb.c++/annota2.cc, annota2.exp: To here.
3607 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3608
43ff13b4
JM
3609Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3610
3611 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3612 a consistent format.
3613
085dd6e6
JM
36141999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3615
3616 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3617 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3618 HP compilers, also set the globals $true and $false.
3619
3620 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3621 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3622 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3623 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3624 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3625 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3626 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3627 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3628 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3629 whatis.c} Add C++ compatible function definitions and return
3630 types, add includes for library functions.
3631 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3632 * gdb.base/step-test.c (myglob): Rename from glob.
3633 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3634 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3635 files, move here from gdb.hp.
3636 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3637 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3638 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3639 Adjust line numbers in regexps.
3640
3641 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3642 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3643 instead of 0/1.
3644
3645 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3646 foll-vfork.exp: New files, move here from gdb.hp.
3647 * gdb.base/page.exp: New file, test of pagination command.
3648
3649 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3650 recursion test.
3651 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3652
3653 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3654 gdb.base/solib.exp: Fix compiler invocation process.
3655
3656 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3657 HP-UX 11, turn off overload resolution explicitly.
3658 * gdb.base/commands.exp: Set argument list explicitly, add
3659 watchpoint test.
3660 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3661 them work.
3662 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3663 expressions properly.
3664 * gdb.base/corefile.exp: Loosen the match slightly.
3665 * gdb.base/default.exp: Allow "Error accessing memory" message
3666 also.
3667 * gdb.base/display.exp: Skip over x/0 j if PA64.
3668 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3669 * gdb.base/interrupt.exp: Ditto.
3670 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3671 in use.
3672 * gdb.base/list.exp: Add xfails for HP-UX.
3673 * gdb.base/long_long.exp: Refine some of the numeric matches.
3674 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3675 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3676 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3677 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3678 * gdb.base/ptype.exp: Succeed on more varieties of output.
3679 * gdb.base/scope.exp: Add xfails for HP-UX.
3680 * gdb.base/sect-cmd.exp: Add more cases.
3681 * gdb.base/setvar.exp: Add xfails for HP-UX.
3682 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3683 * gdb.base/signals.exp: Match on void symbolically.
3684 * gdb.base/step-test.exp: Add case for PA64.
3685 * gdb.base/term.exp: Add exit and restart.
3686 * gdb.base/twice.exp: Clean up after self.
3687 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3688 * gdb.base/whatis.exp: Allow more ways to pass tests.
3689
3690 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3691 no longer useful.
3692
3693Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3694
3695 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3696 list of patterns.
3697 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3698 print_double_array(double_array)", "continuing to breakpoint
3699 1018", "print print_double_array(array_d)" and "continuing to
3700 1034" tests.
beb998c6 3701
085dd6e6
JM
37021999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3703
3704 * Makefile.in: Add empty html and install-html targets.
3705
37061999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3707
3708 * config/mt-*: Remove, these haven't been used since 1996.
3709
37101999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3711
3712 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3713 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3714 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3715
9e0b60a8
JM
37161999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3717
3718 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3719 simpler match case for the ptype of the big class.
3720
37211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3722
3723 * gdb.exp: Fix test for gdb_prompt existence.
3724
37251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3726
3727 * gdb.exp (gdb_test): Add fail after calls to perror.
3728
37291999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3730
3731 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3732
37331999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3734
3735 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3736
0f71a2f6
JM
3737Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3738
3739 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3740 malloc() is linked in.
3741
37421999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3743
3744 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3745 step at end.
3746
3747 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3748
37491999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3750
3751 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3752
cce74817
JM
3753Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3754
3755 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3756 * gdb.base/mips_pro.exp: Likewise.
3757
37581999-06-02 Keith Seitz <keiths@cygnus.com>
3759
3760 * gdb.c++/templates.cc: Change all "new" operators to throw
3761 an exception.
3762 * gdb.c++/cplusfuncs.cc: Likewise.
3763
3764 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3765
3766Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3767
3768 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3769 * gdb.base/ending-run.exp: When stepping out of main, accept a
3770 step into an arbitrary assembler file.
3771
392a587b
JM
37721999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3773
beb998c6 3774 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3775 "breakpoint-invalid" to be printed.
beb998c6 3776 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3777 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3778 * gdb.base/annota2.cc: Initialize a.x to 0.
3779
9e086581
JM
37801999-05-17 Keith Seitz <keiths@cygnus.com>
3781
3782 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3783 when "skip_float_tests" set.
3784 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3785 "print print_ten_doubles", and "step into print_long_arg_list".
3786 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3787 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3788 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3789 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3790 "skip_float_tests" is set.
3791 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3792 when "skip_float_tests" set.
beb998c6 3793
cd0fc7c3
SS
37941999-05-06 Keith Seitz <keiths@cygnus.com>
3795
3796 * gdb.base/annota2.cc: Include stdio.h.
3797
3798Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3799
3800 * gdb.base/crossload.exp: Remove, this has been disabled ever
3801 since BFD stopped including all targets, and cross-GDB gets
3802 plenty of testing anyway.
3803 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3804 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3805 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3806 * gdb.base/README: Remove, was doc for this.
3807 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3808 needed.
3809
b83266a0
SS
38101999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3811
3812 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3813 output.
3814
3815 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3816 * gdb.base/annota2.exp: New file. More annotation tests.
3817 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3818 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3819
38201999-04-23 Angela Marie Thomas <angela@cygnus.com>
3821
3822 * config/cfdbug.exp: New file.
3823
7a292a7a
SS
38241999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3825
3826 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3827 Marcus Daniel's and Dale Hawkins's demangler crashes.
3828
3829 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3830 test_lucid_style_demangling, test_arm_style_demangling,
3831 test_hp_style_demangling): Try Tom Tromey's core-dumping
3832 identifier under each demangling style.
3833
38341999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3835
3836 * gdb.c++/demangle.exp: Include the current demangling style
3837 in all test names.
3838 (current_demangling_style): New global variable.
3839 (set_demangling_style, test_demangling_core, test_demangling,
3840 test_demangling_exact): New functions.
3841 (test_gnu_style_demangling, test_lucid_style_demangling,
3842 test_arm_style_demangling, test_hp_style_demangling): Use those,
3843 instead of calling gdb_test and gdb_test_exact directly.
3844 (catch_demangling_errors): New function, which reports errors
3845 signalled by the demangling test functions in an orderly way.
3846 (do_tests): Use catch_demangling_errors.
3847
38481999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3849
3850 * gdb.base/signals.exp (test_handle_all_print): Use () for
3851 grouping in expressions, not {}.
3852
3853 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3854 initialized yet.
3855
38561999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3857
3858 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3859 are listed.
3860
38611999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3862
3863 * gdb.stabs/weird.exp: Test for CC being defined before
3864 looking at its value.
3865
38661999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3867
3868 * gdb.base/call-ar-st.exp: Remove stray '#'.
3869 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3870 "short int" and "long int".
3871 * gdb.c++/overload.cc: Cast the string added in the previous
3872 change, to mollify finicky HP compiler.
3873 * gdb.hp/reg-test.exp (testfile): Fix file name.
3874 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3875
7a292a7a
SS
3876 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3877 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3878 alternate form of enum ptype.
3879
c906108c
SS
38801999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3881
7a292a7a
SS
3882 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3883 * gdb.hp/*.exp: Change all to run compiler probe only after
3884 passing skip_hp_tests, so as not to waste time on guaranteed
3885 failure.
3886
c906108c
SS
3887 * gdb.c++/overload.cc: Pass string instead of char addr, always
3888 init ccpfoo.
3889 * gdb.c++/templates.cc: Fix syntax error.
3890
7a292a7a
SS
3891Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3892
3893 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3894 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3895 command.
3896
38971999-03-18 James Ingham <jingham@cygnus.com>
3898
3899 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3900
3901 * gdb.c++/method.exp: It was testing an uninitialized int on the
3902 stack and assuming it was positive.
3903
3904 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3905
3906 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3907 keep it from killing the rest of the tests.
7a292a7a
SS
3908 Use gdb_continue_to_end.
3909
3910 * gdb.base/sigall.exp: use gdb_continue_to_end.
3911
3912 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3913
3914 * gdb.base/display.exp: use runto_main, not run.
3915
beb998c6
AC
3916 * gdb.base/default.exp: Check for the current error message in the
3917 r abbreviation test.
7a292a7a
SS
3918 Add strongarm to the targets that know info float.
3919
beb998c6 3920 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3921 run which doesn't work with monitors.
3922
3923 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3924
3925 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3926
3927 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3928 program. Traps the case (in Cygmon) when the program never really
3929 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3930 more places, so I used my name. Sorry Mark...
3931
3932 * config/monitor.exp (gdb_target_monitor): added another
3933 target_info parameter: remotebinarydownload. This will set the
3934 remotebinarydownload flag if this is causing some boards trouble.
3935
39361999-03-18 Mark Salter <msalter@cygnus.com>
3937
3938 * lib/gdb.exp (continue_to_exit): New function.
3939
3940 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3941 * gdb.base/ending-run.exp: Ditto.
3942 * gdb.base/step-test.exp: Ditto.
3943
39441999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3945
3946 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3947 (suggested by Art Haas <ahaas@neosoft.com>).
3948
39491999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3950
3951 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3952
3953Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3954
3955 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3956 descriptions of types (short unsigned int vs unsigned short, etc).
3957
39581999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3959
3960 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3961 a call to strlen; sometimes we do have sources.
3962
39631999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3964
3965 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3966 character, so GDB won't print garbage after its end.
beb998c6 3967
c906108c
SS
3968 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3969 breakpoint there instead. Sometimes GCC emits memcpy to handle
3970 the large structures being passed by value, so we step into that
3971 instead of sum_array_print, which obscures what we're really testing.
3972 * gdb.base/step-test.exp: However, we do want a test that notices
3973 the bizarre steps into memcpy, so do that here. Add check for
3974 stepping into function calls that pass large structures by value.
3975 ("Is that a noun clause, or are you just happy to see me?")
3976 Remove all references to specific line numbers.
3977 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3978 New type and function.
3979 (main): Call large_struct_by_value, passing it a large struct by value.
3980 * lib/gdb.exp (gdb_get_line_number): New function.
3981
3982 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3983 more portable.
3984
7a292a7a
SS
39851999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3986
c906108c
SS
3987 * lib/gdb.exp: Doc fixes.
3988
7a292a7a
SS
39891999-03-05 Nick Clifton <nickc@cygnus.com>
3990
beb998c6 3991 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3992
39931999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3994
c906108c
SS
3995 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3996 commands. They're not germane to this test, and they don't work
3997 that way on remote targets.
3998
3fc11d3e
JM
39991999-03-01 James Ingham <jingham@cygnus.com>
4000
4001 * Changelog entries merged over from gdb development branch.
4002
3fc11d3e
JM
4003 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4004
4005 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4006 for outputting results of test run.
4007
2d4a1622 4008 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4009
4010 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4011
7a292a7a
SS
40121999-02-25 Felix Lee <flee@cygnus.com>
4013
4014 * lib/gdb.exp (debug_format): initialize
4015
c906108c
SS
40161999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4017
4018 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4019 * gdb.base/call-rt-st.c: Ditto.
4020
c906108c
SS
40211999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4022
4023 * gdb.threads/pthreads.exp (horiz): New variable.
4024 (test_startup): Fix regexps that capture thread numbers.
4025
40261999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4027
4028 * gdb.base/smoke.exp: Disambiguate two test case names (both
4029 called ``print'').
4030
4031Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4032
4033 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4034 compilation.
4035
40361999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4037
4038 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4039 actual output formatting.
4040 * gdb.base/smoke.exp: GDB removes leading 0's.
4041 * gdb.base/volatile.exp: Don't check type of remuneration;
4042 that variable is no longer defined in constvars.c.
4043 * gdb.base/step-test.c (main): Exit with explicit exit code.
4044 * gdb.base/step-test.exp: Remove two nexti checks--they are
4045 not portable.
4046
40471999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4048
4049 * gdb.base/help.exp ("help delete display"): Fix test to match
4050 gdb's output.
4051
4052 * gdb.base/long_long.c (known_types): Initialize values to zero.
4053 * gdb.base/long_long.exp: Step one more line
4054 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4055 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4056 unique test case names.
4057
4058Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4059
beb998c6 4060 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4061
4062 * gdb.c++/method.exp: Add missing close brace.
4063
40641999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4065
4066 * gdb.base/maint.exp: Use 'set height 0' to disable page
4067 prompting, not 'set height 400'.
4068
4069 Fix a bunch of timeouts.
4070 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4071 four separate tests, so expect doesn't take forever to match a ton
4072 of text against a regexp with lots of .* forms.
4073 ("maint print psymbols", "maint print symbols"): Make some of
4074 these greps more selective, so that expect doesn't try to wade
4075 through huge piles of output and time out.
4076
4077 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4078
4079 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4080 tests: one which doesn't expect shlib events to be reported, and
4081 another which does, but is XFAIL for all platforms other than
4082 HP/UX.
4083
4084 * gdb.base/break.exp: Teach the test suite that the `catch
4085 fork', `catch vfork', and `catch exec' commands produce error
4086 messages on platforms that don't provide these features.
4087
4088Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4089
4090 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4091 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4092 (shortening names from solib_threshold.exp etc), won't run on
4093 anything but HP-UX for the foreseeable future.
4094 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4095 reflect move.
4096
4097Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4098
4099 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4100 gdb.trace/Makefile.in (clean): Remove all test executables.
4101
4102Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4103
4104 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4105 successfully re-sets breakpoints in shared libraries.
4106 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4107
4108Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4109
beb998c6
AC
4110 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4111 and compiled w/o GCC.
c906108c
SS
4112
4113 * gdb.hp/watch-cmd.exp: ditto.
4114
4115 * gdb.hp/watch-hp.exp: ditto.
4116
4117 * gdb.hp/xdb1.exp: ditto.
4118
4119 * gdb.hp/xdb2.exp: ditto.
4120
4121 * gdb.hp/dbx.exp: ditto.
4122
4123Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4124
4125 * constvars.c: Remove C++-isms.
4126 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4127 with GCC.
4128
4129Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4130
4131 The following changes are part of the HP merge.
4132
4133 * gdb.base/break.exp: new tests to verify that catchpoints for
4134 fork, vfork, and exec don't trigger inappropriately.
4135
4136 * gdb.base/opaque.exp: compile one file at a time, then link.
4137
4138 * gdb.base/signals.exp: be more restrictive about which hppa
4139 systems receive a setup_xfail. new tests.
4140
4141 * gdb.base/solib_threshold.build: new file.
4142 * gdb.base/solib_threshold.exp: new file.
4143 * gdb.base/solib_threshold.link_opts: new file.
4144 * gdb.base/solib_threshold.mk: new file.
4145 * gdb.base/gen_solib_threshold.c: new file.
4146
4147 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4148 tests. New tests for enums inside classes.
4149
4150 * gdb.c++/compiler.cc: indicate support of template debugging.
4151
4152 * gdb.c++/demangle.exp: run hp style demangling tests.
4153
4154 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4155 tests.
4156
4157 * gdb.c++/misc.cc: changes to support new tests.
4158
4159 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4160 to support new tests.
4161
4162 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4163 gcc, then skip these tests.
4164
4165Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4166
4167 The following files are part of the HP merge; some had longer
4168 names at HP, but have been renamed to be no more than 14
4169 characters in length.
4170
4171 * gdb.hp/ambiguous.cc: new file.
4172 * gdb.hp/ambiguous.exp: new file.
4173 * gdb.hp/attach.exp: new file.
4174 * gdb.hp/attach2.exp: new file.
4175 * gdb.hp/classes-hp.exp: new file.
4176 * gdb.hp/ctti.exp: new file.
4177 * gdb.hp/ctti-add.cc: new file.
4178 * gdb.hp/ctti-add1.cc: new file.
4179 * gdb.hp/ctti-add2.cc: new file.
4180 * gdb.hp/ctti-add3.cc: new file.
4181 * gdb.hp/dbx.exp: new file.
4182 * gdb.hp/exception.cc: new file.
4183 * gdb.hp/exception.exp: new file.
4184 * gdb.hp/foll-exec.c: new file.
4185 * gdb.hp/foll-exec.exp: new file.
4186 * gdb.hp/foll-fork.c: new file.
4187 * gdb.hp/foll-fork.exp: new file.
4188 * gdb.hp/foll-vfork.c: new file.
4189 * gdb.hp/foll-vfork.exp: new file.
4190 * gdb.hp/inherit-hp.exp: new file.
4191 * gdb.hp/more-steps.exp: new file.
4192 * gdb.hp/namespace.cc: new file.
4193 * gdb.hp/namespace.exp: new file.
4194 * gdb.hp/optimize.exp: new file.
4195 * gdb.hp/pxdb.c: new file.
4196 * gdb.hp/pxdb.exp: new file.
4197 * gdb.hp/quicksort.exp: new file.
4198 * gdb.hp/reg-test.exp: new file.
4199 * gdb.hp/reg-test.s: new file.
4200 * gdb.hp/sized-enum.c: new file.
4201 * gdb.hp/sized-enum.exp: new file.
4202 * gdb.hp/start-stop.exp: new file.
4203 * gdb.hp/templ-hp.cc: new file.
4204 * gdb.hp/templ-hp.exp: new file.
4205 * gdb.hp/thr-lib.c: new file.
4206 * gdb.hp/thr-lib.exp: new file.
4207 * gdb.hp/thr-lib.h: new file.
4208 * gdb.hp/thr-liblib.c: new file.
4209 * gdb.hp/virtfun-hp.c: new file.
4210 * gdb.hp/virtfun-hp.exp: new file.
4211 * gdb.hp/watch-cmd.exp: new file.
4212 * gdb.hp/watch-hp.exp: new file.
4213 * gdb.hp/xdb1.exp: new file.
4214 * gdb.hp/xdb2.exp: new file.
4215 * gdb.hp/xdb3.exp: new file.
4216
4217Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4218
4219 The following files are part of the HP merge; some had longer
4220 names at HP, but have been renamed to be no more than 14
4221 characters in length.
4222
4223 * gdb.base/ss.h: new file.
4224 * gdb.base/call-ar-st.c: new file.
4225 * gdb.base/call-ar-st.exp: new file.
4226 * gdb.base/call-rt-st.c: new file.
4227 * gdb.base/call-rt-st-exp: new file.
4228 * gdb.base/call-strs.exp: new file.
4229 * gdb.base/ena-dis-br.exp: new file.
4230 * gdb.base/environ.exp: new file.
4231 * gdb.base/long_long.exp: new file.
4232 * gdb.base/sect-cmd.exp: new file.
4233 * gdb.base/shlib-cl2.exp: new file.
4234 * gdb.base/smoke.exp: new file.
4235 * gdb.base/so-impl-ld.c: new file.
4236 * gdb.base/so-impl-ld.exp: new file.
4237 * gdb.base/so-indr-cl.c: new file.
4238 * gdb.base/so-indr-cl.exp: new file.
4239 * gdb.base/varargs.exp: new file.
4240 * gdb.base/volatile.exp: new file.
4241 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4242 * gdb.base/display.exp: new file.
c906108c
SS
4243 * gdb.c++/derivation.exp: new file.
4244 * gdb.c++/local.exp: new file.
4245 * gdb.c++/member-ptr.exp: new file.
4246 * gdb.c++/overload.exp: new file.
4247 * gdb.c++/ovldbreak.exp: new file.
4248 * gdb.c++/ref-types.exp: new file.
4249 * gdb.c++/ref-types2.exp: new file.
4250 * gdb.c++/userdef.exp: new file.
beb998c6 4251
c906108c
SS
4252Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4253
4254 * gdb.base/default.exp: Reflect wording change in remote.c.
4255
dc96c6c7 4256Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4257
4258 * gdb.base/help.exp: Update to reflect current text.
4259
4260Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4261
4262 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4263 they're stack variables and contain garbage.
4264 * gdb.c++/anon-union.exp: new file.
4265
4266 The following changes were made by David Taylor
4267 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4268 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4269 in changes by HP.
4270
4271 * gdb.base/bitops.exp: new file.
4272 * gdb.base/default.exp: change expected messages for catch and
4273 info catch tests to reflect HP merge changes.
4274 * gdb.base/enable-disable-break.exp
4275 * gdb.base/ending-run.c: new file.
4276 * gdb.base/long_long.c: new file.
4277 * gdb.base/maint.exp: new file.
4278 * gdb.base/pointers2.exp: new file.
4279 * gdb.base/shlib-call2.exp: new file.
4280 * gdb.base/solib.exp: new file.
4281 * gdb.base/step-test.c: new file.
4282 * gdb.c++/anon-union.cc: new file.
4283 * gdb.c++/local.cc: new file.
4284 * gdb.c++/member-pointer.cc: new file.
4285 * gdb.c++/method.cc: new file.
4286 * gdb.c++/ref-types.cc: new file.
4287 * gdb.c++/ref-types2.cc: new file.
4288 * gdb.c++/userdef.cc: new file.
beb998c6 4289
c906108c
SS
4290 * gdb.base/scope.exp: compile one file at a time, then link.
4291 * gdb.base/langs.exp: ditto.
4292 * gdb.base/list.exp: ditto.
beb998c6 4293
c906108c
SS
4294Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4295
4296 The following changes were made by David Taylor
4297 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4298 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4299 in changes by HP.
beb998c6 4300
c906108c
SS
4301 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4302 skip tests. When compiling pass c++ flag to gdb_compile.
4303 * gdb.c++/
beb998c6 4304
c906108c
SS
4305 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4306 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4307 (skip_hp_tests): new function.
4308 (gdb_preprocess): new function.
4309
4310 * configure.in (hpdir): decide whether to configure gdb.hp.
4311 * configure: regenerated.
4312
4313 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4314 to delete on clean.
4315 (EXECUTABLES): update to reflect new additions.
4316 * gdb.base/commands.exp: update message expected.
4317 * gdb.base/default.exp: add copyright notice.
4318 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4319 * gdb.base/help.exp: update messages to reflect current text.
4320 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4321 targets for recurse tests.
4322 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4323 skip this file.
4324
4325 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4326 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4327 compilation.
4328 * gdb.c++/misc.exp: ditto.
4329 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4330 run the tests. tell gdb_compile that it's a c++ compilation.
4331
4332 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4333
c906108c
SS
4334 * gdb.base/all-bin.exp: new file.
4335 * gdb.base/arithmet.exp: new file.
4336 * gdb.base/assign.exp: new file.
4337 * gdb.base/completion.exp: new file.
4338 * gdb.base/cond-expr.exp: new file.
4339 * gdb.base/condbreak.exp: new file.
4340 * gdb.base/define.exp: new file.
4341 * gdb.base/dollar.exp: new file.
4342 * gdb.base/environment.exp: new file.
4343 * gdb.base/eval-skip.exp: new file.
4344 * gdb.base/jump.exp: new file.
4345 * gdb.base/logical.exp: new file.
4346 * gdb.base/pointers.exp: new file.
4347 * gdb.base/relational.exp: new file.
4348 * gdb.base/section_command.exp: new file.
4349 * gdb.base/whatis-expr.exp: new file.
4350
4351 * gdb.base/all-types.c: new file.
4352 * gdb.base/call-array-struct.c: new file.
4353 * gdb.base/call-return-struct.c: new file.
4354 * gdb.base/call-strings.c: new file.
4355 * gdb.base/callfuncs2.c: new file.
4356 * gdb.base/condbreak.c: new file.
4357 * gdb.base/constvars.c: new file.
4358 * gdb.base/display.c: new file.
4359 * gdb.base/int-type.c: new file.
4360 * gdb.base/jump.c: new file.
4361 * gdb.base/miscexprs.c: new file.
4362 * gdb.base/pointers.c: new file.
4363 * gdb.base/pointers2.c: new file.
4364 * gdb.base/shmain.c: new file.
4365 * gdb.base/shr1.c: new file.
4366 * gdb.base/shr2.c: new file.
4367 * gdb.base/solib.c: new file.
4368 * gdb.base/solib1.c: new file.
4369 * gdb.base/solib2.c: new file.
4370 * gdb.base/varargs.c: new file.
4371 * gdb.c++/derivation.cc: new file.
4372 * gdb.c++/overload.cc: new file.
4373 * gdb.c++/ovldbreak.cc: new file.
4374 * gdb.hp/attach.c: new file.
4375 * gdb.hp/attach2.c: new file.
4376 * gdb.hp/average.c: new file.
4377 * gdb.hp/compiler.c: new file.
4378 * gdb.hp/compiler.cc: new file.
4379 * gdb.hp/execd-program.c: new file.
4380 * gdb.hp/follow-exec.c: new file.
4381 * gdb.hp/follow-fork.c: new file.
4382 * gdb.hp/follow-vfork-and-exec.c: new file.
4383 * gdb.hp/misc-hp.cc: new file.
4384 * gdb.hp/more-steps.c: new file.
4385 * gdb.hp/optimize.c: new file.
4386 * gdb.hp/quicksort.c: new file.
4387 * gdb.hp/run-hp.c: new file.
4388 * gdb.hp/start-stop.c: new file.
4389 * gdb.hp/sum.c: new file.
4390 * gdb.hp/templates-hp.cc: new file.
4391 * gdb.hp/thread-local-in-lib.c: new file.
4392 * gdb.hp/thread-local-in-lib.h: new file.
4393 * gdb.hp/thread-local-in-lib.lib.c: new file.
4394 * gdb.hp/vforked-program.c: new file.
4395 * gdb.hp/virtfunc-hp.cc: new file.
4396 * gdb.hp/watchpoint-hp.c: new file.
4397 * gdb.hp/xdb.c: new file.
4398 * gdb.hp/xdb0.c: new file.
4399 * gdb.hp/xdb0.h: new file.
4400 * gdb.hp/xdb1.c: new file.
4401
4402Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4403
4404 The following change was made by Edith Epstein
4405 <eepstein@cygnus.com> as part of a project to merge in changes
4406 originally made by HP; HP did not create ChangeLog entries.
4407
4408 * gdb.c++/demangle.exp: changed the expected output for some
4409 ARM-style mangling -- removed second reference to datatype.
4410 For example, maint demangle __dt__11T1__pt__2_cFv
4411 T1<char>::~T1<char>(void)
4412 becomes,
4413 maint demangle __dt__11T1__pt__2_cFv
4414 T1<char>::~T1(void)
4415
4416 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4417
c906108c
SS
4418Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4419
4420 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4421 * gdb.trace/backtrace.exp: Likewise.
4422 * gdb.trace/circ.exp: Likewise.
4423 * gdb.trace/collection.exp: Likewise.
4424 * gdb.trace/deltrace.exp: Likewise.
4425 * gdb.trace/infotrace.exp: Likewise.
4426 * gdb.trace/limits.exp: Likewise.
4427 * gdb.trace/packetlen.exp: Likewise.
4428 * gdb.trace/passc-dyn.exp: Likewise.
4429 * gdb.trace/passcount.exp: Likewise.
4430 * gdb.trace/report.exp: Likewise.
4431 * gdb.trace/save-trace.exp: Likewise.
4432 * gdb.trace/tfind.exp: Likewise.
4433 * gdb.trace/tracecmd.exp: Likewise.
4434 * gdb.trace/while-dyn.exp: Likewise.
4435 * gdb.trace/while-stepping.exp: Likewise.
4436
44371998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4438
4439 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4440
4441Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4442
4443 From Brendan Kehoe:
4444 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4445 int return types.
4446
4447Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4448
4449 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4450 remote dos host testing right.
4451
4452Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4453
4454 * gdb.base/corefile.exp: remove some xfails.
4455
4456Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4457
4458 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4459 have different timestamps.
4460
4461Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4462
4463 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4464 gdb.base/default.exp: Replace "exec" with "executable".
4465
4466Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4467
4468 * gdb.base/default.exp: Change else if to elseif from previous
4469 delta.
4470
4471Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4472
4473 * gdb.base/default.exp: Add brace missing from previous delta.
4474
4475Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4476
4477 * gdb.base/default.exp: Support test for info float for all
4478 varieties of arm toolchain.
4479
dc96c6c7 4480Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4481
4482 * gdb.trace/*.exp: remove "remote_download" command.
4483
dc96c6c7 4484Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4485
4486 * gdb.trace/*.exp: remove -gdwarf from compile.
4487
4488Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4489
4490 * gdb.trace/configure.in(AC_INIT): typo
4491 * gdb.trace/configure: regenerated
4492
dc96c6c7 4493Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4494
4495 * config/m68k-emc.exp: New file.
4496 * lib/<emc-support.exp trace-support.exp}: New files.
4497 * configure.in: add new test directory gdb.trace.
4498 * gdb.trace/{configure configure.in Makefile.in}: New files.
4499 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4500 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4501 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4502 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4503 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4504 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4505 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4506
dc96c6c7 4507Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4508
4509 * gdb.c++/classes.exp: Change all regular expressions to match
4510 arbitrary combinations of newline/carriage-return, so that they
4511 will work equally well on Unix and Windows.
4512 * gdb.c++/inherit.exp: ditto.
4513 * gdb.c++/virtfunc.exp: ditto.
4514
45151998-08-11 Dawn Perchik <dawn@cygnus.com>
4516
4517 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4518
c2d11a7d
JM
4519Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4520
4521 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4522 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4523 to use a0-a3/d0-d3 as needed.
4524
4525Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4526
4527 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4528 * gdb.disasm/am33.exp: Corresponding changes.
4529
c906108c
SS
45301998-07-11 Felix Lee <flee@cygnus.com>
4531
4532 * gdb.base/callfuncs.exp: add cmp10 test.
4533 * gdb.base/callfuncs.c (cmp10): new function.
4534
4535Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4536
beb998c6 4537 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4538 into two parts to get around a synchronization problem in expect.
4539
3fc11d3e
JM
4540Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4541
4542 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4543
4544 * configure.in: Add options for gdbtk testsuite.
4545
4546 * configure: Regenerate.
4547
4548 * gdb.gdbtk: New directory to hold gdbtk tests.
4549
c906108c
SS
4550Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4551
4552 * gdb.fortran/types.exp: Escape brackets in expect patterns
4553 for test_float_literal_types_accepted tests.
4554 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4555 before run test.
4556
c2d11a7d
JM
4557Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4558
4559 * am33.exp: Just compile, do not link the testcase.
4560 * am33.s: Add ".am33" pseudoop to force am33 mode.
4561
c906108c
SS
45621998-06-25 Felix Lee <flee@cygnus.com>
4563
4564 * gdb.base/setshow.exp: make sure $pc is sane.
4565
4566 * gdb.stabs/weird.exp: split expect patterns properly.
4567
c2d11a7d
JM
4568Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4569
4570 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4571 * gdb.disasm/am33.exp: Run it.
4572
dc96c6c7 4573Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4574
4575 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4576 match processing (and eliminate spurious timeouts when running).
4577
dc96c6c7 4578Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4579
4580 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4581 exception test, but conditionalize it on target [mach | gnu].
4582
dc96c6c7 4583Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4584
4585 * gdb.base/overlays.exp: fixup compile line for linker script.
4586
4587Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4588
4589 * gdb.fortran/types.exp: don't guess at float size.
4590
4591Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4592
4593 * gdb.base/exprs.exp: delete test that depends on int size.
4594
4595Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4596
4597 * config/sim.exp: Removed checks for target triplets.
4598 (gdb_target_sim): Use gdb,target_sim_options.
4599
4600Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4601
4602 * gdb.base/reread.exp: New file.
4603 * gdb.base/reread1.c: New file.
4604 * gdb.base/reread2.c: New file.
4605
4606Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4607
4608 * config/sim.exp: Use 'target sim -sparclite' when running
4609 SPARClite programs.
4610
4611Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4612
4613 * gdb.base/structs2.exp: New file.
4614 * gdb.base/structs2.c: New file.
4615
4616Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4617
4618 * gdb.asm/common.inc: New file.
4619 * gdb.asm/d10v.inc: New file.
4620 * asm-source.exp: Pass -I's to gas to find .inc files.
4621 Update line numbers in expected output.
4622 * asmsrc1.s: Rewrite.
4623 * asmsrc2.s: Rewrite.
4624 * configure.in: Create arch.inc symlink.
4625 * configure: Regenerate.
4626 * Makefile.in (distclean): Delete arch.inc.
4627
4628Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4629
4630 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4631 (t_enum_value2): ditto
4632 (t_enum_value3): ditto
4633 (main): ditto
4634Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4635
4636 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4637 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4638 change.
4639 Use gdb_test instead of send_gdb/gdb_expect sequences.
4640
4641Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4642
4643 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4644 not void.
4645
4646Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4647
4648 * gdb.base/branches.c: Code with lots of loops and
4649 subroutines. Used to test gdbs ability to single step through PC
4650 changes, especially to test mips-tdep.c:mips_next_pc
4651
4652Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4653
4654 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4655 more rigorous EGCS C++ error checking.
4656
4657Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4658
4659 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4660 tests.
c906108c 4661 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4662 function when asleep.
c906108c 4663 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4664 for i*86 Linux and SVR4 signal handling problems.
4665 Remove linux xfail for `next to handler in signals_tests_1', fixed
4666 by recent infrun.c change.
c906108c 4667 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4668 stack backtraces.
c906108c
SS
4669 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4670 target.[ch] change.
4671
4672Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4673
4674 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4675 for a newline from gdb before continuing.
4676 (default_gdb_exit): Just look for y or n.
4677 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4678 it does, fail the rests of the tests in the file.
4679
4680Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4681
4682 * config/cygmon.exp: New file.
4683
4684Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4685
4686 * gdb.base/list.exp: Fix problem with "list default lines around
4687 main" test on remote targets.
4688
4689 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4690 run test on remote targets.
4691
4692Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4693
4694 * gdb.asm: New directory.
4695 * configure.in: Configure it.
4696 * configure: Regenerate.
4697 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4698 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4699
4700Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4701
4702 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4703
dc96c6c7 4704Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4705
c906108c
SS
4706 * gdb.base/overlays (several files): Merge the two overlay
4707 managers into one. Change variables (foox, barx, bazx, grbxx)
4708 back into ints but force them to load in their proper sections.
4709
4710Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4711
4712 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4713 on-chip insn memory and IMAP1 to upper 128k.
4714 (D10VCopy): Handle memory regions crossing 16k boundaries.
4715 (D10VCopy): Transfer data in 32 bit chunks.
4716
4717Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4718
4719 * gdb.base/overlays.c (main): Exit normally when result is
4720 correct.
4721
4722 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4723 map. Include space for printf in .text segment.
4724
4725 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4726 updated d10v memory VMA/LMA map.
4727 (D10VCopy): Call D10VTranslate.
beb998c6 4728
c906108c
SS
4729Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4730
4731 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4732
4733 * gdb.base/bar.c (barx, bar): Change variable to small array so
4734 that it won't be put into the .sdata - small data -
4735 section. Update reference.
4736 * gdb.base/baz.c (bazx, baz): Ditto.
4737 * gdb.base/foo.c (foox, foo): Ditto.
4738 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4739
4740 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4741 to be arrays.
beb998c6 4742
dc96c6c7 4743Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4744
c906108c
SS
4745 * gdb.base/overlays.exp: fix up and get working again.
4746 Add tests for backtraces from an overlay function.
beb998c6 4747
c906108c
SS
4748Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4749
4750 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4751 "calling function with watchpoint enabled".
4752
4753Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4754
4755 * gdb.base/break.exp (test_next_with_recursion): Remove
4756 gdb_suppress_tests for d10v-*-*.
4757 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4758 pending review of whether it is useful or not.
4759
4760Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4761
4762 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4763
4764Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4765
4766 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4767 * config/dve.exp: New file to support Densan boards.
4768
4769Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4770
4771 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4772 reads and BSD.
4773
4774Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4775
4776 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4777 response.
4778
4779 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4780
4781Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4782
4783 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4784 test.
4785
4786 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4787 target_sizeof_long and target_bigendian_p.
4788 (structs_by_value, structs_by_reference): Check values according
4789 to targets word size and endianess.
beb998c6 4790
c906108c
SS
4791Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4792
4793 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4794 output.
4795
4796Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4797
4798 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4799 Update test of set args help to match source change.
4800
4801Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4802
4803 * gdb.base/default.exp: Expect help system output to be in
4804 alphabetical order.
4805 * gdb.base/help.exp: Ditto.
4806
4807Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4808
4809 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4810 "i*86-pc-linux-gnu*".
4811 * gdb.base/interrupt.exp: Ditto.
4812 * gdb.base/corefile.exp: Ditto.
4813
4814 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4815 define vxworks when building the testcase.
4816
4817 * gdb.base/ptype.exp: Fix testnames to be unique.
4818 * gdb.base/radix.exp: Ditto.
4819 * gdb.base/term.exp: Ditto.
4820 * gdb.base/whatis.exp: Ditto.
4821 * gdb.c++/classes.exp: Ditto.
4822
4823Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4824
4825 * gdb.base/callfuncs.exp: Fix indentation.
4826
4827 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4828 suppress_flag has been set.
4829 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4830 target feature.
4831
4832Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4833
4834 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4835 the testcase.
4836
4837 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4838 set_debug_traps() and breakpoint().
4839 * gdb.c++/misc.cc (main): Ditto.
4840 * gdb.c++/templates.cc (main): Ditto.
4841 * gdb.c++/virtfunc.cc (main): Ditto.
4842
4843Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4844
4845 * lib/gdb.exp(gdb_step_for_stub): New function.
4846 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4847 exists, reload the executable and do a "continue" instead of
4848 doing a jump.
4849 (runto_main): Use gdb_step_for_stub.
beb998c6 4850
c906108c
SS
4851 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4852 tests to have unique names.
4853 * gdb.base/callfuncs.exp: Ditto.
4854 * gdb.base/commands.exp: Ditto.
4855 * gdb.base/default.exp: Ditto.
4856 * gdb.base/help.exp: Ditto.
4857 * gdb.base/list.exp: Ditto.
4858 * gdb.base/opaque.exp: Ditto.
4859 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4860 similar tests.
beb998c6 4861
c906108c
SS
4862 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4863 * gdb.c++/cplusfuncs.cc: Ditto.
4864 * gdb.c++/virtfunc.cc: Ditto.
4865
4866 * config/monitor.exp: Keep track of the last file we saw, rather
4867 than trying to get the info from gdb.
4868
4869 * gdb.fortran/types.exp: Move comment to previous line.
4870
4871Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4872
4873 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4874 target mode.
4875
4876Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4877
4878 From Bob Manson:
4879 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4880 string from GDB when it connects.
4881
4882 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4883
4884Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4885
4886 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4887 if we can't get a debug format from GDB (we may be testing an
4888 older GDB). Use a 10 second timeout when checking for the format.
4889
4890 * gdb.stabs/weird.exp: Fix quoting.
4891
4892 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4893
4894Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4895
4896 * config/arm-ice.exp: New file.
4897
4898Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4899
4900 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4901 until it has been modified to work with the new testsuite.
4902
99707966 4903 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4904 testcase won't compile, cause all of the testcases in the file to
4905 fail instead.
4906
4907 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4908 (gdb_clear_suppressed): New procedure.
4909 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4910 it contains a positive value.
4911
4912Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4913
4914 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4915
4916 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4917
4918Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4919
4920 * lib/gdb.exp (setup_xfail_format): New function.
4921 (get_debug_format): New function to get debug format.
4922 (debug_format): New global variable to hold last value set
4923 by get_debug_format.
4924 * gdb.base/list.exp: Call get_debug_format and expect some
4925 tests to fail for DWARF 1 and COFF formats.
4926 * gdb.c++/ptype.exp: Ditto.
4927 * gdb.c++/classes.exp: Ditto.
4928 * gdb.c++/cplusfuncs.exp: Ditto.
4929 * gdb.c++/inherit.exp: Ditto.
4930 * gdb.c++/templates.exp: Ditto.
4931 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4932
c906108c
SS
4933Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4934
4935 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4936 host doesn't have a currently-open connection.
4937
4938 * config/sparclet.exp: Cleanups and fixes to make it generic for
4939 any gdb stub target. Handle cases where gdb doesn't respond when
4940 interrupted in a sane fashion.
4941
4942 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4943 same thing in a totally different way.
4944
4945 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4946 setting "timeout".
4947 (gdb_start): We set the global gdb_prompt variable in
4948 default_gdb_init now.
4949
4950Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4951
4952 * gdb.base/printcmds.exp: Fix "check for floating addition"
4953 regexp to accept results within approx +/- .01 of exact value.
4954 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4955
4956Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4957
4958 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4959 properly.
4960 (gdb_expect): Add optional timeout parameter, and add timeout
4961 value to various calls.
4962 (gdb_suppress_tests): Only give one warning message per group.
4963
4964Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4965
4966 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4967 global variables. Handle getting a value for $timeout more
4968 gracefully.
4969
4970Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4971
4972 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4973 initialize.
4974 (default_gdb_init): New procedure; allow gdb_init to be overridden
4975 by a target configuration file.
4976 (gdb_expect): Pass the timeout to remote_expect.
4977
4978 * config/monitor.exp(gdb_load): Fix typo in regexp.
4979
4980Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4981
4982 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4983
4984Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4985
4986 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4987 here. Call gdb_target_exec before rebooting the target, to make
4988 sure the connection to the target is closed.
4989 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4990 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4991 Also detect "Timeout reading from remote" error.
4992
4993 * config/gdbserver.exp: Pass the executable being loaded to
4994 gdb_target_monitor. Don't call gdb_file_cmd here; let
4995 gdb_target_monitor do it.
4996
4997 * gdb.disasm/hppa.exp: Don't use exec_output.
4998
4999Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5000
5001 * gdb.base/list.exp: If we're debugging a non-native target,
5002 try to set the pc register to point to the start of the
5003 program before doing the first list command.
5004
5005 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5006 test_calls after restarting.
5007
5008 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5009 reloading.
5010
5011 * gdb.base/watchpoint.exp: Fix typo.
5012
5013 * gdb.base/setshow.exp: Check for use_gdb_stub.
5014
5015 * gdb.base/break.exp: Fix continue until exit test for the gdb
5016 stub case.
5017 * gdb.base/langs.exp: Ditto.
5018
5019 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5020 gdb_load_offset. If we weren't given a file to load, figure out
5021 what the current file is and use it.
5022
5023 * config/i386-bozo.exp: New file.
5024
5025Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5026
5027 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5028 feature.
5029
5030 * config/proelf.exp: New entry.
5031
5032Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5033
5034 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5035 of regexps.
5036
5037 * gdb.base/watchpoint.exp: Don't run the test_stepping
5038 tests if gdb can't call functions on the target.
5039
5040 * gdb.base/setshow.exp: Don't run the set prompt tests if
5041 the board has gdb_prompt set.
5042
5043Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5044
5045 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5046 * gdb.base/commands.exp: Likewise.
5047 * gdb.base/setshow.exp: Likewise.
5048
5049Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5050
5051 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5052 feature.
5053
5054 * config/i960.exp: New file.
5055
5056Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5057
5058 * gdb.base/funcargs.exp: Check for gdb,short_int target
5059 feature instead of looking for explicit target triplets.
5060
dc96c6c7 5061Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5062
beb998c6 5063 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5064 "p 123DEADBEEF", to check parse_number.
5065 * top.c: change "to enable to enable" to "to enable" in a couple
5066 of help strings.
5067
5068Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5069
5070 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5071 on the mn10300.
beb998c6 5072
c906108c
SS
5073Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5074
5075 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5076 where the test executable is run with explicit args.
5077 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5078
5079Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5080
5081 * gdb.base/run.c: Use FAKEARGV to build test executable that
5082 does not require a command line arg, since most simulators
5083 don't currently support passing such an arg into the simulated
5084 program.
5085 * gdb.base/commands.exp: Change tests to insert the proper
5086 value as the arg to the first recursive factorial call. Change
5087 compilation line to define FAKEARGV at compile time.
5088
5089Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5090
5091 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5092 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5093 function with watchpoint enabled" test.
5094
5095Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5096
5097 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5098 Don't call gdb_test when the command doesn't return to a gdb prompt.
5099
5100 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5101 "Tests restarted" messages.
5102
5103Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5104
5105 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5106
dc96c6c7 5107Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5108
5109 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5110 for INFO SYMBOL; add help tests for OVERLAY commands.
5111 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5112 add tests for OVERLAY commands
5113 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5114 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5115 * gdb.base/sigall.c: add usestubs code frag
5116 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5117
c906108c
SS
5118Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5119
5120 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5121 failures.
5122 (gdb_stop_suppressing_tests): Note that tests have restarted.
5123
5124Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5125
5126 * config/h8300.exp: New file.
5127
5128Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5129
5130 * gdb.base/setshow.exp: Check for the existence of a
5131 feature, not its value.
5132
5133Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5134
5135 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5136
5137 * gdb.base/scope.exp: It's now init0(), not init().
5138
5139 * gdb.base/scope0.c: For now, change init() to be init0().
5140
5141 * config/monitor.exp: Use gdb_serial in preference to serial
5142 or netport.
5143
5144 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5145 and it's not already set.
5146
5147Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5148
5149 * gdb.base/setshow.exp: Only test the run command if the target
5150 isn't using a stub and if it supports argument passing.
5151
5152Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5153
5154 * config/udi.exp(gdb_start): Make sure UDICONF is set
5155 properly before starting gdb.
5156
5157Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5158
5159 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5160 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5161 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5162
5163Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5164
5165 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5166 specialized code to reboot the board, use remote_reboot instead.
5167
5168 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5169
5170 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5171
5172 * config/monitor.exp: Make sure we disconnect from the target.
5173 Also, try a reboot/reload cycle instead of failing if the
5174 load fails.
5175
5176Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5177
5178 * gdb.base/default.exp: Don't set match_max.
5179 * gdb.base/help.exp: Ditto.
5180 * gdb.base/list.exp: Ditto.
5181 * gdb.base/signals.exp: Ditto.
5182
5183 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5184 set, use remote_ld to download the testcase instead of
5185 the GDB loader.
5186
5187Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5188
5189 * config/vr5000.exp: New file.
5190
5191 * config/monitor.exp(gdb_target_monitor): Add pattern for
5192 "Ending remote" to detect errors in connecting.
5193
5194 * gdb.base/setshow.exp: Add .* within auto language test.
5195
5196 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5197 target feature.
5198
5199 * config/monitor.exp(gdb_load): Check for a failure when loading,
5200 and reboot the board if necessary.
5201
5202 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5203 a set of tests. Remove print.* from the patterns being checked.
5204
5205Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5206
5207 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5208 refer to gdb_spawn_id.
5209
5210 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5211 longer used.
5212 * config/sparclet.exp: Ditto.
5213 * config/sparclet-old.exp: Ditto.
5214 * config/slite.exp: Ditto.
5215 * config/sim.exp: Ditto.
5216 * gdb.base/funcargs.exp: Ditto.
5217
5218 * lib/gdb.exp:Remove references to gdb_spawn_id.
5219 (gdb_expect): Move to remote.exp.
5220
5221Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5222
5223 * config/monitor.exp: Detect the "Couldn't establish connection"
5224 message from GDB.
5225
5226Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5227
5228 * gdb.base/bitfields.exp: Use runto instead of explicit
5229 gdb_run_cmd/gdb_expect sequences.
5230
5231 * gdb.base/break.exp(text_next_with_recursion): Add match for
5232 gdb_expect call.
5233
5234 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5235 We also need to handle the "A program is being debugged already"
5236 prompt from gdb. Use gdb_test to set the baud rate.
5237
5238 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5239 to 20000. Really. I mean it.
5240
5241Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5242
5243 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5244 fails. If suppress_flag is set, skip perror message about not
5245 being able to send to GDB.
5246 (send_gdb): If suppress_flag is set, don't try to send commands to
5247 GDB.
5248 (gdb_expect): If suppress_flag is set, always fail immediately.
5249 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5250 (gdb_init): Call gdb_stop_suppressing_tests.
5251 (default_gdb_exit): Ditto.
5252 (default_gdb_start): Ditto.
5253
5254 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5255 gdb_stop_suppressing_tests as appropriate.
5256 * gdb.base/break.exp: Ditto.
5257 * gdb.base/callfuncs.exp: Ditto.
5258 * gdb.base/commands.exp: Ditto.
5259 * gdb.base/exprs.exp: Ditto.
5260 * gdb.base/funcargs.exp: Ditto.
5261 * gdb.base/list.exp: Ditto.
5262 * gdb.base/recurse.exp: Ditto.
5263 * gdb.base/scope.exp: Ditto.
5264 * gdb.base/structs.exp: Ditto.
5265 * gdb.c++/inherit.exp: Ditto.
5266
5267Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5268
5269 * config/vr4300.exp: New file.
5270
99707966
MC
5271 * gdb.*/*.exp: Call gdb_expect instead of expect.
5272
5273 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5274
5275Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5276
5277 * lib/gdb.exp(gdb_init): New function.
5278
5279 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5280 for each individual variable set.
5281
5282 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5283 name.
5284
5285 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5286
5287 * gdb.base/scope.exp: Use gdb_test.
5288
5289 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5290 aborting; the testsuite driver will do that for us (see
5291 gdb_finish). Also, use gdb_test in a few more places.
5292
5293Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5294
5295 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5296
5297Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5298
5299 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5300 and "add_tests" are not at the same address.
5301
5302Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5303
5304 * gdb.base/ptype.exp: Use gdb_test.
5305
5306Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5307
5308 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5309 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5310 left in. No longer expect them to fail.
5311
5312 * gdb.stabs/*.mt; Deleted, no longer used.
5313 * gdb.stabs/configure.in: Remove references to target makefile
5314 frags.
5315 * gdb.stabs/configure: Rebuilt.
5316
5317 * gdb.disasm/*.mt: Deleted, no longer used.
5318 * gdb.disasm/configure.in: Remove references to target makefile
5319 frags. Use "sh3.s" as the unique filename for this directory.
5320 * gdb.disasm/configure: Rebuilt.
5321
5322 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5323 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5324 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5325
5326Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5327
5328 * config/udi.exp: Use mondfe,name instead of remote_host.
5329
5330Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5331
5332 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5333 a function with a watchpoint enabled on the mn10200.
5334
5335 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5336 before trying to create it!
5337
5338Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5339
5340 * config/vx.exp: Use hostname instead of netport.
5341
5342 * config/vxworks.exp: New file.
5343
5344 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5345
5346 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5347 gdb before assuming everything worked. Send a ^C if a timeout
5348 occurs.
5349
5350 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5351 $gdb_spawn_id directly.
5352 (gdb_run_cmd): Try _start as well as start. Use the target feature
5353 gdb,start_symbol as the symbol to start from when jumping.
5354
5355Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5356
5357 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5358 redundant) test.
5359
5360 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5361 it doesn't lose for 16bit integer systems.
5362
5363Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5364
5365 * gdb.fortran/types.exp: If the target doesn't support "double"
5366 data types, then expect "real" types to only be 4 bytes.
5367
5368 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5369 call tests if the target doesn't support inferior function calls.
5370
5371 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5372 in printf tests.
5373
5374Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5375
5376 * gdb.base/help.exp: Disable "help set", "help show", and
5377 "help support". Simplify regexp for "help stack".
5378
5379 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5380 to 60 seconds. Temporarily set match_max to 15000 around the
5381 "info copying" test.
5382
5383 * gdb.base/nodebug.exp: Don't try to do an inferior function
5384 call if the target doesn't support them.
5385 * gdb.base/printcmds.exp: Likewise.
5386 * gdb.base/setvar.exp: Likewise.
5387 * gdb.base/structs.exp: Likewise.
5388 * gdb.c++/templates.exp: Likewise.
5389 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5390
5391 * gdb.base/recurse.exp: Enable for the mn10200.
5392
5393 * configure.in: Do configure gdb.stabs directory for *-*-elf
5394 targets.
5395 * configure: Rebuilt.
5396
5397 * gdb.base/break.exp: Check for gdb,noresults before testing
5398 exit status and/or results from the target.
5399 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5400 * lib/gdb.exp: Remove old (now bogus) initialization of
5401 noinferior, noargs, noresults and nosignals.
5402
5403Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5404
5405 * config/sh.exp: New file.
5406
5407 * config/slite.exp: Try to connect multiple times to the board
5408 before rebooting. Only send a "monitor run" if need_monitor_run
5409 is set.
5410
5411 * gdb.base/break.exp: Don't do the "stub continue" test if
5412 the target has gdb_stub set.
5413
5414 * gdb.base/callfuncs.exp: Increase the timeout.
5415
5416 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5417 if the target has gdb,noinferiorio set.
5418
5419 * gdb.base/list.exp: Increase match_max to 10000 characters.
5420
5421 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5422
5423 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5424 target.
5425
5426 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5427
5428Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5429
5430 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5431 trying to delete the copy of gdb. Catch the file delete so we
5432 don't die if the delete fails; also, the file should be copied to
5433 the host, not to the build.
5434
5435Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5436
5437 * lib/gdb.exp(gdb_test): Surround the result pattern with
5438 parenthesis in case it contains multiple regexps separated
5439 with |.
5440
5441 * gdb.base/watchpoint.exp: Use gdb_test.
5442 * gdb.base/default.exp: Ditto.
5443
5444Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5445
99707966 5446 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5447
c906108c
SS
5448 * gdb.base/scope.exp: Use gdb_test.
5449 * gdb.c++/classes.exp: Ditto.
5450 * gdb.c++/inherit.exp: Ditto.
5451
5452Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5453
5454 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5455 remote_exec instead.
5456 * gdb.base/corefile.exp: Don't be ridiculous.
5457 * gdb.base/*.c: Add missing stub invocations.
5458
5459Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5460
5461 * config/slite.exp: Miscellaneous fixes.
5462
5463 * lib/gdb.exp: Fix runto.
5464
5465 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5466 the target.
5467
5468 * gdb.base/watchpoint.exp: Fix regexp.
5469
5470 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5471 close and wait commands, as the descriptor may now be
5472 invalid. Always call "remote_close host".
5473
5474Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5475
5476 Major rewrite for testsuite revision.
beb998c6 5477
c906108c
SS
5478 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5479 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5480 instead of relying on spawn_id to always contain a valid
5481 spawn id.
5482 (get_compiler_info): New procedure to build the ${binfile}.ci
5483 file, instead of replicating this in N different places.
5484 (gdb_compile): New procedure.
beb998c6 5485
c906108c
SS
5486 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5487 appropriate arguments) instead of compile. Use gdb_test in a lot
5488 more places. Use send_gdb instead of send. Always run gdb_start
5489 at the start of a testcase, as this is no longer done magically.
5490
5491 config/*-gdb.exp: Rename without the -gdb suffix.
5492
5493 config/mips.exp: Use remote_close instead of exit_remote_shell.
5494 config/monitor.exp: Use target_info instead of looking at
5495 baud, timeout, etc.
5496 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5497
5498Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5499
5500 * gdb.c++/templates.exp (test_ptype_of_templates),
5501 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5502 Update expect patterns for destructors and assignment operators
5503 to match corresponding c-typeprint.c changes.
5504 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5505 to destructor breakpoint test, GDB should be able to set the
5506 destructor breakpoint without specifying arguments.
5507
5508Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5509
5510 * gdb.threads/pthreads.exp: Change result for failure to compile due
5511 to lack of pthreads runtime support from an error to simply an
5512 unsupported test, per dejagnu standards.
5513
5514Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5515
5516 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5517 where GDB exits to reduce pattern match time.
5518 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5519
5520 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5521
dc96c6c7 5522Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5523
5524 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5525 * gdb.base/default.exp: ditto.
5526 * gdb.base/nodebug.exp: ditto.
5527 * gdb.base/printcmds.exp: ditto.
5528 * gdb.base/ptype.exp: ditto.
5529 * gdb.base/setvar.exp: ditto.
5530 * gdb.base/structs.exp: ditto.
5531 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5532
5533Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5534
5535 * configure, */configure: Rebuild with autoconf 2.12.
5536
5537Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5538
5539 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5540 use new i*86-pc-linux*-gnu quads.
5541 * gdb.base/corefile.exp: Ditto.
5542 * gdb.base/signals.exp: Ditto.
5543 * gdb.base/sigall.exp: Ditto.
5544 * gdb.base/interrupt.exp: Ditto.
5545
5546 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5547 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5548 RedHat 4.0.
beb998c6 5549
c906108c
SS
5550 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5551 linux. This allows the test case to at least compile on latest
5552 linux, but still not run due to missing the threads runtime library.
5553
5554Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5555
5556 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5557 directory to search gdb directory. Accept and step over conditional
5558 stack alignment code. Consume $prompt in failure cases.
5559 Reset timeout to $oldtimeout instead of some arbitrary value.
5560 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5561 timeout problems with infinite stack backtraces.
5562 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5563 Accept function parameters for linkfunc member.
5564
5565Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5566
5567 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5568 (CXXFLAGS): Remove, unreferenced.
5569 (B_OPTIONS): Add for -B options and add code to initialize with
5570 previous -B options and also add -B option to pick up cross compiled
5571 runtime.
5572 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5573 doing cross compiles.
5574 (target_alias): Declare global.
5575 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5576 to verify that gcc exists in build tree, and if so set CC to that
5577 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5578
c906108c
SS
5579Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5580
5581 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5582 ptype test for anonymous union. Fixup testcase to match
5583 current gcc debug output.
5584
5585Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5586
5587 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5588 force argument to an unsigned long type.
5589
5590Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5591
5592 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5593 tests and anonymous union print/ptype tests.
5594 * gdb.base/list.exp (test_forward-search): Increase timeout by
5595 5 minutes for the "search extremely long line" case.
5596 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5597 completely optional and that the pass/fail messages use the command as
5598 the message if that third arg is a null string.
5599 (gdb_test_exact): Arrange that a null string pattern means match a
5600 null string output rather than any output, which might include random
5601 errors.
5602 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5603 backtrace test.
5604 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5605 always failing and failure is now exposed by gdb.exp changes.
5606
5607Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5608
5609 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5610 weren't being noted.
5611
5612Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5613
5614 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5615 * gdb.stabs/weird.exp: Remove v_comb xfails.
5616
dc96c6c7 5617Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5618
5619 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5620 list.exp scope.exp watchpoint.exp]
5621 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5622
dc96c6c7 5623Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5624
5625 * config/monitor.exp: Increase download timeout to 1000 seconds.
5626
dc96c6c7 5627Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5628
5629 * config/m32r.exp: Increase timeout to 120 seconds.
5630
5631Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5632
5633 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5634 and accept older ordering as obsolescent gcc or gdb.
5635 * gdb.c++/templates.exp: Ditto.
5636 * gdb.c++/virtfunc.exp: Ditto.
5637
5638Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5639
5640 * gdb.base/coremaker.c: Add code to mmap some data so we
5641 can check that it ends up in the core file.
5642 * gdb.base/corefile.exp: Add test to read mmapped data
5643 from core file.
5644
dc96c6c7 5645Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5646
5647 * config/m32r.exp: New file.
5648
5649Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5650
5651 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5652 that cflags can contains -gstabs, and work correctly for other tests.
5653
dc96c6c7 5654Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5655
5656 * gdb.base/setshow.exp: New file, tests show and set.
5657 * gdb.base/setshow.c: New file, tests show and set.
5658 * gdb.base/help.exp: Add test for help set|show annotate.
5659 * gdb.base/default.exp: Add test for set|show annotate.
5660
5661Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5662
5663 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5664 errors unique.
5665 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5666 explicitly.
5667
5668Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5669
5670 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5671 and width commands. This is done elsewhere.
5672 * (gdb_start): Don't call gdb_start_sim here. That's already
5673 done in gdb_load. This fixes lots of failures in default.exp.
5674
5675Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5676
5677 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5678 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5679 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5680 in the same we we treat other failures (since it may be an expected
5681 condition), rather than as an error.
5682 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5683 old test format.
5684
5685Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5686
5687 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5688 (distclean maintainer-clean realclean): No need to remove files
5689 twice. Nuke the duplicates.
5690 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5691 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5692 Remove config.h along with other config files.
5693
5694Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5695
5696 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5697 "p func1 ()" and note that rests of tests are skipped.
5698 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5699 setup_xfails for "print func2::coremaker_local".
5700 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5701 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5702 affected by the previous run test.
5703 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5704 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5705 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5706 "pass int powerset tuple" and "pass modeless int powerset tuple".
5707 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5708 "real write 4" and "real write 8".
5709 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5710 setup_xfails for "print vs1 after tuple assign 2",
5711 "print \$i after tuple assign 2", and
5712 "print vs2 after tuple assign 2".
5713 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5714 meaningful error message and return -1 so the caller can
5715 suppress further tests and avoid a cascade of errors.
beb998c6 5716
c906108c
SS
5717Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5718
5719 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5720 format for printing version.
5721 * gdb.base/default.exp: Ditto.
5722 * gdb.base/interrupt.exp: Fix problem with cascade of
5723 errors if child process dies while calling a function.
beb998c6 5724
c906108c
SS
5725Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5726
5727 * Makefile.in (VPATH): Add
5728 * Makefile.in (Makefile, config.status): Fix rules so things get
5729 remade when necessary.
5730
5731Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5732
5733 * Makefile.in (just-check): Add path to sibling expect dir
5734 to environment variable specified by RPATH_ENVVAR.
5735
5736Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5737
5738 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5739 (just-check): Add shared library paths for libstdc++, tk,
5740 tcl, bfd, and opcodes to the environment variable specified
5741 in RPATH_ENVVAR.
5742 * configure.in: Add support to recognize --enable-shared flag
5743 and generate correct value for RPATH_ENVVAR.
5744 * configure: Regenerated with autoconf.
5745
5746Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5747
5748 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5749 include all osf versions.
5750 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5751 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5752 when target is linux. When failing to build pthreads test
5753 executable, give more meaningful message.
5754 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5755 arg for pthread_create.
beb998c6 5756
c906108c
SS
5757Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5758
5759 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5760 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5761 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5762 and -lpthreads (everybody else).
5763 (test_startup): Fail gracefully if threads are not supported.
5764 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5765 "p/c array_index("abcdef",2)" when not gcc compiled.
5766 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5767 "print func2::coremaker_local" when not gcc compiled.
5768 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5769 "ptype on opaque struct tagname (statically)",
5770 "ptype on opaque struct tagname (dynamically) 1", and
5771 "ptype on opaque struct tagname (dynamically) 2"
5772 for not compiled with gcc.
5773 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5774 backtrace when compiled with gcc.
beb998c6 5775 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5776 than always return success.
5777
5778Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5779
5780 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5781
5782Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5783
5784 * gdb.base/structs.exp: Undo last change.
5785
5786Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5787
5788 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5789 encapsulate all the steps/nexts done during self test, starting
5790 at main, and makes them less sensitive to optimization issues.
5791 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5792 signal handler" test.
5793 * gdb.threads/pthreads.exp: Only run this for native configs.
5794 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5795 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5796 tests.
5797 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5798 for "runto test_calls(void)" test.
beb998c6 5799
c906108c
SS
5800Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5801
5802 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5803 and don't expect address info in breakpoint confirmations.
5804
5805Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5806
5807 * gdb.base/list.exp (test_forward_search): Increase timeout
5808 temporarily by 60 seconds for searching extremely long line,
5809 and then reset to old value when done. Increase expect input
5810 buffer to 10000.
5811
5812Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5813
5814 * gdb.base/list.exp (test_forward_search): Fix to handle very
5815 long source line without overflowing expect's input buffer.
5816
5817Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5818
5819 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5820 "buffer_full".
5821
5822 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5823 "buffer_full".
5824
5825 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5826 "buffer_full".
5827
5828 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5829 "buffer_full".
5830
5831Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5832
5833 * configure.in (configdirs): Add gdb.threads.
5834 * configure: Regenerated with autoconf.
5835 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5836 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5837 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5838
c906108c
SS
5839Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5840
5841 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5842
5843Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5844
5845 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5846 each signal's status in the output of "handle all print".
5847 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5848 the \r\n sequence that immediately precedes the gdb prompt.
5849 * gdb.base/a1-selftest.exp: Save original timeout and restore
5850 after test.
5851
5852Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5853
5854 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5855 symbol.
5856
5857Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5858
5859 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5860
5861Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5862
5863 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5864 timeout by 60 seconds.
5865
5866Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5867
5868 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5869 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5870 error return.
5871
5872Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5873
5874 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5875 gdb initialization, also report how long dejagnu waited. Restore
5876 old timeout before doing error return. Temporarily increase timeout
5877 by 3 minutes to allow for slow startups over heavy NFS use.
5878
5879Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5880
5881 * lib/gdb.exp: Report timeout value for verbosity level 2.
5882 * config/gdbserver.exp: Ditto.
5883 * config/hppro.exp: Ditto.
5884 * config/mips-gdb.exp: Ditto.
5885 * config/monitor.exp: Ditto.
5886 * config/netware.exp: Ditto.
5887 * config/sim-gdb.exp: Ditto.
5888 * config/slite-gdb.exp: Ditto.
5889 * config/udi-gdb.exp: Ditto.
5890 * config/unix-gdb.exp: Ditto.
5891 * config/vx-gdb.exp: Ditto.
5892 * gdb.base/a1-selftest.exp: Ditto.
5893 * gdb.base/a2-run.exp: Ditto.
5894 * gdb.base/break.exp: Ditto.
5895 * gdb.base/corefile.exp: Ditto.
5896 * gdb.base/list.exp: Ditto.
5897 * gdb.base/recurse.exp: Ditto.
5898 * gdb.base/scope.exp: Ditto.
5899 * gdb.base/signals.exp: Ditto.
5900
5901Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5902
5903 * gdb.threads/Makefile.in (docdir): Removed.
5904
5905Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5906
5907 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5908 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5909 @srcdir@.
beb998c6 5910 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5911 autoconf 2.5 or higher.
5912 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5913
5914Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5915
5916 * configure: Regenerated.
5917 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5918 avoid name clashes with SunOS headers.
5919
5920Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5921
5922 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5923
5924Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5925
5926 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5927 prototype information ends up in the compiler info file.
5928
5929Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5930
5931 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5932 attempting to regenerate it. Eliminate use of a temporary file
5933 and just generate the info file directly. Source it immediately,
5934 for consistency of use.
5935 * gdb.base/corefile.exp: Ditto
5936 * gdb.base/exprs.exp: Ditto.
5937 * gdb.base/funcargs.exp: Ditto.
5938 * gdb.base/langs.exp: Ditto.
5939 * gdb.base/list.exp: Ditto.
5940 * gdb.base/mips_pro.exp: Ditto.
5941 * gdb.base/nodebug.exp: Ditto.
5942 * gdb.base/opaque.exp: Ditto.
5943 * gdb.base/ptype.exp: Ditto.
5944 * gdb.base/scope.exp: Ditto.
5945 * gdb.base/setvar.exp: Ditto.
5946 * gdb.base/signals.exp: Ditto.
5947 * gdb.base/whatis.exp: Ditto.
5948 * gdb.c++/templates.exp: Ditto.
5949 * gdb.c++/virtfunc.exp: Ditto.
5950 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5951 whether or not to add -lstdc++ to the compile command line args.
5952
5953Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5954
5955 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5956 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5957 Increase timeout, a lot of single stepping might be needed if the
5958 target has no hardware watchpoints.
5959
5960Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5961
5962 * gdb.base/break.exp: Ignore compiler warnings when compiling
5963 break.c.
5964 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5965 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5966 from remote-sim.
5967 * gdb.base/exprs.exp: Add h8300 xfails.
5968 * gdb.base/funcargs.exp: Likewise.
5969 * gdb.base/nodebug.exp: Likewise.
5970 * gdb.base/printcmds.exp: Likewise.
5971 * gdb.base/ptype.exp: Likewise.
5972 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5973 h8300 xfails.
beb998c6 5974 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5975 on the h8300.
5976 * gdb.base/funcargs.c: Explicitly make last constant argument to
5977 call_after_alloca_subr an unsigned long type.
5978 * gdb.base/return.c: Include stdio.h.
5979
5980Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5981
5982 * config/abug.exp: New file for the older Motorola Bug monitor
5983 that runs on the mvme13x series VME boards.
5984 * config/monitor.exp: Use the new config array for target settings
5985 if they exist.
5986
5987Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5988
5989 * sim-gdb.exp: Make the SH simulator allocate less space when
5990 it is targeted.
5991
5992Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5993
5994 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5995 test.
5996
5997Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5998
5999 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6000 "rs6000-*-*" for "list function in include file" when gcc compiled.
6001 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6002 for "p ctable1[120]".
6003 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6004 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6005 Remove setup_xfail for "rs6000-*-*" for
6006 "print 'scope0.c'::filelocal before run".
6007 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6008 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6009 since some compilers don't allow both options to be given
6010 on the same command line. Create object file and move it.
beb998c6 6011
c906108c
SS
6012Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6013
6014 * gdb.base/corefile.exp: Always regenerate the core file, since
6015 we always regenerate the coremaker program. Detect special case
6016 where registers cannot be read from core file.
beb998c6 6017
c906108c
SS
6018Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6019
6020 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6021 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6022 * gdb.c++/templates.exp: Only match on basename of file since
6023 some formats like xcoff don't encode directory information.
6024 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6025 and rs6000 AIX xcoff targets.
6026 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6027 * configure: Regenerate.
6028 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6029 here, rather than in distclean.
beb998c6 6030
c906108c
SS
6031Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6032
6033 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6034 defined, and use it to compile the test case with -O2. The
6035 native compilation still uses no optimization.
6036 * gdb.base/mips_pro.c: Remove inline assembly code since
6037 it is compiled PIC by default, which results in assembler
6038 warnings that make the testsuite think the compilation
6039 was unsuccessful.
6040
6041Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6042
6043 * gdb.c++/misc.exp: Add note to message for
6044 "print s.a for foo struct" that this is a known gcc 2.7.2
6045 and earlier bug.
6046
6047Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6048
6049 * gdb.base/break.exp: Fix pattern for matching "Delete all
6050 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6051 setup_xfail for deleting all breakpoints test. Fix various
6052 timeout messages to include "(timeout)".
6053 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6054 for "p t_float_values2(3.14159,float_val2)".
6055 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6056 for "continue to call2g" when gcc compiled.
6057 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6058 "up to foo in langs.exp", "show language at foo in langs.exp",
6059 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6060 and "show language at fsub in langs.exp".
6061 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6062 "list line 1 in include file", "list message for lines past EOF",
6063 "list function in include file", "list list0.h:foo", and
6064 "list filename:function; nonexistant function".
6065 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6066 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6067 and "ptype t_char_array" to be for native cc only.
beb998c6 6068
c906108c
SS
6069Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6070
beb998c6 6071 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6072 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6073 "print func2::coremaker_local", and "backtrace in corefile.exp".
6074
6075Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6076
6077 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6078 "bt in signals.exp". This problem only appears when running
6079 the testsuite, and then only intermittently.
6080
6081Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6082
6083 * gdb.base/return.exp (return_tests): Differentiate between
6084 two tests of continuing.
6085
6086Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6087
6088 * */Makefile.in (maintainer-clean): Remove config.log.
6089 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6090 * gdb.c++/Makefile.in (PROGS): Add inherit.
6091 (clean): Remove *.ci.
6092
6093Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6094
6095 * gdb.c++/misc.cc: Add test code from Mike Stump.
6096 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6097
6098Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6099
6100 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6101 to "alpha-*-osf2*" and add comment.
6102 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6103 setup_xfail for "step over execarg initialization" and
6104 "step over corearg initialization".
6105 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6106 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6107 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6108 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6109 "print func2::coremaker_local", and "backtrace in corefile.exp".
6110 * gdb.base/signals.exp: Build and source signals.ci.
6111 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6112 to be for gcc only.
6113 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6114
c906108c
SS
6115Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6116
6117 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6118 Feb 3 procfs.c change.
6119
6120Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6121
6122 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6123
6124Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6125
6126 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6127 from dejagnu's apparent default of 10 seconds, which gives random
6128 results when running the tests over NFS on moderately loaded systems.
6129 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6130
6131Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6132
6133 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6134 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6135 result reports.
6136
6137Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6138
6139 * configure.in (CY_AC_PATH_TCLH): Remove.
6140 * configure: Regenerate.
6141
6142Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6143
6144 * gdb.c++/Makefile.in (clean): Add missing '{'.
6145
6146Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6147
6148 * lib/gdb.exp: Provide a default value for noinferior.
6149
6150 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6151 Load libgloss.exp.
6152
6153Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6154
6155 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6156 the executable, not the .o to run the tests from.
6157
6158Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6159
6160 * gdb.base/break.exp: Don't test for program exit or exit status
6161 if $noresults if nonzero.
6162 * gdb.base/langs.exp: Likewise.
6163 * gdb.base/watchpoint.exp: Likewise.
6164
6165 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6166 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6167 trying to compile the testcase.
6168
6169Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6170
6171 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6172 * gdb.base/signals.exp (continue to handler): Likewise.
6173
6174Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6175
6176 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6177
6178 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6179
6180Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6181
6182 * gdb.base/corefile.exp: Recognize "not found" as failure
6183 when trying to determine if a core file was generated.
6184 If no core file was generate the first time, try again without
6185 the ulimit -c to work around braindamaged shells.
6186
6187Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6188
6189 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6190 [] tests with "test" and enclose string in quotes.
6191 * gdb.stabs/configure: Rebuild
beb998c6 6192
c906108c
SS
6193Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6194
6195 Changes in sync with expect:
6196 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6197 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6198 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6199 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6200 argument to AC_REQUIRE.
6201 * configure: Regenerated.
6202
6203Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6204
6205 * gdb.base/corefile.exp: When generating a core, discard any
6206 error messages about ulimit not found and the "core dumped"
6207 message from the shell that runs the coredumper.
6208
6209Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6210
6211 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6212
6213 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6214 which sed script to run. Expect failure for v_comb test
6215 on PA targets too.
beb998c6 6216
c906108c
SS
6217Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6218
6219 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6220 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6221
6222Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6223
6224 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6225 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6226 "sparc-sun-solaris*" xfails for "p v_comb".
6227 * lib/gdb.exp (default_gdb_start): Fix typo.
6228 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6229 messages to not include the full program name that caused
6230 the core dump since some systems (such as solaris) apparently
6231 truncate this path to about 80 characters.
6232 When generating a core file first try increasing the core file
6233 size limit to unlimited since some systems may default it to
6234 zero, and it is harmless to try it. Move the test for failing
6235 to generate a core file to where it will actually get executed.
6236 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6237 new gdb result from g++ debug info improvements and make old
6238 pattern obsolescent. Also account for size_t differences
6239 (may be int or long).
6240 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6241 initialization before function call is placed in the delay slot
6242 and thus appears to be skipped over by commands such as "next".
6243
6244Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6245
6246 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6247
6248Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6249
6250 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6251 input source file; fix code to compile test to deal with this
6252 convention.
6253 * gdb.c++/*.exp: Likewise.
6254
6255Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6256
6257 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6258 "bt in signals.exp".
6259
6260Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6261
6262 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6263 "step over execarg initialization" and
6264 "step over corearg initialization".
6265
6266Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6267
6268 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6269 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6270
6271Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6272
6273 From Rob Savoye (rob@poseidon.cygnus.com)
6274 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6275 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6276 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6277 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6278 configure.in}: Major reworking for autoconfig.
6279 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6280 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6281 New files.
6282 * config/unix-gdb.exp: Make GDB global.
6283 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6284 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6285 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6286 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6287 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6288 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6289 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6290 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6291 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6292 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6293 pr-8136.exp, result.exp, string.exp, tuples.exp},
6294 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6295 to returns as necessary, arrange for test to compile own testcase
6296 executable.
6297 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6298
c906108c
SS
6299Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6300
6301 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6302 clear_xfail at end of test which might not call either pass or fail.
6303 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6304 "backtrace through signal handler".
6305
6306Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6307
6308 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6309 continuing from a job control stop signal.
6310 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6311
6312Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6313
6314 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6315 * gdb.base/corefile.exp: Likewise.
6316 * gdb.base/funcargs.exp: Likewise.
6317
6318Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6319
6320 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6321 * config/monitor.exp: Add support for setting baud rate.
6322
6323Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6324
6325 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6326 i*86-*-linux* xfails for "backtrace through signal handler".
6327 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6328 "print func2::coremaker_local".
6329 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6330 alpha-dec-osf2* xfail for
6331 "delete all breakpoints when none".
6332
6333Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6334
6335 * gdb.base/break.exp: Change test that deletes all breakpoints
6336 when no user breakpoints are installed. A post 4.15 change
6337 causes gdb to no longer prompt in this case.
6338
6339Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6340
6341 * gdb.base/return.exp (return_tests): Change xfail for test
6342 "correct value returned double test" to stop xfailing at
6343 Solaris 2.5. Apparently the bug has been fixed.
6344
6345Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6346
6347 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6348 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6349
6350Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6351
6352 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6353 * gdb.disasm/hppa.s: Corresponding changes.
6354
6355Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6356
6357 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6358 makefile fragment.
6359 * config/mt-hpux: Deleted.
6360
6361Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6362
beb998c6 6363 * Many files: When warning about suppressed tests due to a
c906108c
SS
6364 nonexistant test binary, avoid incrementing the warning count.
6365
6366Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6367
6368 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6369
c906108c
SS
6370Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6371
6372 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6373 "sparc-*-solaris2*".
6374
6375Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6376
6377 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6378 Add global and local variables and initialize them.
6379 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6380 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6381 extracts the file name and terminating signal from the core file.
6382 * TODO: Remove note about tests for correct mapping of corefile.
6383 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6384 from optimizing it away.
6385 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6386 handles common blocks.
6387
6388Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6389
6390 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6391 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6392
6393Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6394
6395 * Makefile.in (maintainer-clean): New target, synonym for
6396 realclean.
6397 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6398 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6399 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6400 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6401 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6402 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6403
6404Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6405
6406 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6407 xfails when not gcc compiled for "print foo::funclocal".
6408 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6409 "print foo::funclocal at foo",
6410 "print 'scope1.c'::foo::funclocal at foo",
6411 "print foo::funclocal_bss at foo",
6412 "print 'scope1.c'::foo::funclocal_bss at foo",
6413 "print foo::funclocal_ro at foo",
6414 "print 'scope1.c'::foo::funclocal_ro at foo",
6415 "print bar::funclocal at foo" and
6416 "print 'scope1.c'::bar::funclocal at foo".
6417 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6418 gcc compiled for "print foo::funclocal at bar".
6419 Expand all messages to ensure that they identify that
6420 the test is at bar().
6421 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6422 gcc compiled for:
6423 "ptype on opaque struct pointer (statically)",
6424 "ptype on opaque struct tagname (statically)",
6425 "ptype on opaque struct pointer (dynamically) 1",
6426 "ptype on opaque struct tagname (dynamically) 1",
6427 "ptype on opaque struct pointer (dynamically) 2" and
6428 "ptype on opaque struct tagname (dynamically) 2
6429 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6430 gcc compiled for:
6431 "p datalocal"
6432 "whatis datalocal",
6433 "ptype datalocal",
6434 "p bsslocal",
6435 "whatis bsslocal", and
6436 "ptype bsslocal".
6437 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6438 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6439 when not gcc compiled.
6440 * gdb.base/funcargs.exp (float_and_integral_args): Add
6441 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6442 compiled.
6443 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6444 "backtrace from call6a" when not gcc compiled.
6445 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6446 "backtrace from call7a" when not gcc compiled.
6447 * gdb.base/callfuncs.exp (do_function_calls):
6448 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6449 "p t_char_array_values(char_array_val2,char_array_val1)",
6450 "p t_char_array_values(char_array_val1,char_array_val2)",
6451 "p t_char_array_values("carray 1","carray 2")",
6452 "p t_char_array_values("carray 1",char_array_val2)",
6453 "p t_char_array_values(char_array_val1,"carray 2")",
6454 "p sum_args(1,{2})",
6455 "p sum_args(2,{2,3})",
6456 "p sum_args(3,{2,3,4})",
6457 "p sum_args(4,{2,3,4,5})"
6458 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6459 "backtrace in corefile.exp" when not gcc compiled.
6460
6461Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6462
6463 * gdb.base/signals.exp: Rewrite `handle all print' test as
6464 a procedure. Accept blanks or TABs as whitespace, increase
6465 timeout and expect input buffer size for the large output
6466 from the command. Remove "i*86-*-bsdi2.0" xfail.
6467
6468Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6469
6470 * gdb.base/setvar.exp: Add new testcases for truncation when
6471 assigning invalid values to bitfields.
6472
6473Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6474
beb998c6 6475 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6476 mips-sgi-irix* xfail for
6477 "call inferior func with struct - returns char *"
6478 and fix test so that an optional (unsigned char *) cast is
6479 accepted in the result.
6480
6481Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6482
6483 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6484 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6485 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6486 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6487 that accidentally got checked in.
6488
6489Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6490
beb998c6 6491 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6492 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6493 compiled test.
6494 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6495 Add mips-sgi-irix5* xfail for not gcc compiled.
6496 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6497 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6498 "p top", "whatis top", "p middle", and "whatis middle".
6499 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6500 "whatis signed char" for not gcc compiled.
6501 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6502 "set variable signed char=-1 (-1)" and
6503 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6504 * gdb.base/funcargs.exp (float_and_integral_args):
6505 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6506 Add mips-sgi-irix* xfail when not gcc compiled for
6507 "continue to call2b".
6508 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6509 "continue to call2g".
6510 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6511 "backtrace from call6a"
6512 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6513 "backtrace from call7k".
6514 Add mips-sgi-irix5* xfail when not gcc compiled for
6515 "backtrace from call7a".
6516 (localvars_after_alloca): Fix gdb_test cmds for
6517 "print * after runto ...".
6518 Remove rs6000-*-* xfails for
6519 "print i after runto localvars_after_alloca" and
6520 "print l after runto localvars_after_alloca"
6521 for all compilers.
6522 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6523 when not compiled with gcc, for:
6524 "print signed char == (minus)",
6525 "print signed char != (minus)",
6526 "print signed char < (minus)",
6527 "print signed char > (minus)".
6528 * gdb.base/callfuncs.exp (do_function_calls):
6529 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6530 "call inferior func with struct - returns char *".
beb998c6 6531 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6532 "correct value returned double test" to include Solaris 2.4.
6533 * gdb.base/funcargs.exp (float_and_integral_args):
6534 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6535
c906108c
SS
6536Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6537
6538 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6539 enumeration bitfields if compiling with GNU C.
6540 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6541 to empty' prompt.
6542
6543Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6544
6545 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6546 test for PRO targets.
6547
6548 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6549 breakpoints in the inferior at any given time by making
6550 two groups of breakpoints for call2*, call6* and call7*
6551 tests.
6552
6553Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6554
6555 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6556 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6557 from optimizing it away.
6558 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6559 "call inferior func with struct".
6560
6561Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6562
6563 * configure.in: Only configure gdb.chill for particular targets.
6564
6565Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6566
6567 * gdb.base/Makefile.in: Add action to .c.o transformation
6568 rule that generates a .ci file for each .o file and remove
6569 explicit .c.o rules except for callfuncs.o.
6570 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6571 generates a .ci file for each .o file and remove explicit
6572 .cc.o rules.
6573 (clean): Remove *.tmp *.ci files.
6574 (EXECUTABLES): Remove templ-info.exp.
6575 * gdb.base/compiler.c: New file.
6576 * gdb.c++/compiler.cc: New file
6577 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6578 Change rs6000-*-* xfail for
6579 "print 'scope0.c'::filelocal_ro" and
6580 "print 'scope1.c'::filelocal" and
6581 "print 'scope1.c'::filelocal_bss" and
6582 "print 'scope1.c'::filelocal_ro" and
6583 "print 'scope1.c'::foo::funclocal" and
6584 "print 'scope1.c'::foo::funclocal_ro" and
6585 "print 'scope1.c'::bar::funclocal" and
6586 "print 'scope0.c'::filelocal_ro" and
6587 "print 'scope1.c'::filelocal at foo" and
6588 "print 'scope1.c'::filelocal_bss at foo" and
6589 "print 'scope1.c'::filelocal_ro at foo" and
6590 "print 'scope1.c'::foo::funclocal at foo" and
6591 "print 'scope1.c'::foo::funclocal_bss at foo" and
6592 "print 'scope1.c'::foo::funclocal_ro at foo" and
6593 "print 'scope1.c'::bar::funclocal at foo" and
6594 "print 'scope0.c'::filelocal_ro" and
6595 "print 'scope1.c'::filelocal" and
6596 "print 'scope1.c'::filelocal_bss" and
6597 "print 'scope1.c'::filelocal_ro" and
6598 "print 'scope1.c'::foo::funclocal" and
6599 "print 'scope1.c'::foo::funclocal_bss" and
6600 "print 'scope1.c'::foo::funclocal_ro" and
6601 "print 'scope1.c'::bar::funclocal" and
6602 "print 'scope1.c'::bar::funclocal_bss"
6603 to only be xfail'd when not compiled with gcc.
beb998c6 6604 Add rs6000-*-* xfail for
c906108c
SS
6605 "print 'scope0.c'::filelocal_bss before run"
6606 when compiled with gcc.
6607 (test_at_main): Add rs6000-*-* xfail for
6608 "print filelocal_ro in test_at_main"
6609 when compiled with gcc.
6610 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6611 Add rs6000-*-aix* xfail for
c906108c
SS
6612 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6613 "ptype t_char_array", not compiled with gcc.
6614 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6615 xfail for "list foo (in include file)" when gcc compiled.
6616 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6617 (integral_args): Add rs6000-*-* xfail for
6618 "run to call0a" if not compiled with gcc.
6619 (unsigned_integral_args): Add rs6000-*-* xfail for
6620 "run to call1a" if not compiled with gcc.
6621 (float_and_integral_args): Add rs6000-*-* xfail for
6622 "run to call2a" if not compiled with gcc and for
6623 "continue to call2b" for any compiler.
6624 Add rs6000-*-* xfail to
6625 "print f1 after run to call2a" for gcc compiled.
6626 (discard_and_shuffle): Add rs6000-*-* xfail for
6627 "run to call6a".
6628 (shuffle_round_robin): Add rs6000-*-* xfail for
6629 "backtrace from call7a" if not compiled with gcc.
6630 Add rs6000-*-* xfail for
6631 "backtrace from call7b" if compiled with gcc.
6632 (call_after_alloca): Add rs6000-*-* xfail for
6633 "print c in call_after_alloca" and
6634 "print s in call_after_alloca" and
6635 "backtrace from call_after_alloca_subr"
6636 if not compiled with gcc.
6637 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6638 "print c in localvars_in_indirect_call" and
6639 "print c in localvars_in_indirect_call" and
6640 "backtrace in indirectly called function" and
6641 "stepping into indirectly called function"
6642 if not compiled with gcc.
6643 (localvars_after_alloca): Add rs6000-*-* xfail for
6644 "print c after runto localvars_after_alloca" and
6645 "print s after runto localvars_after_alloca" and
6646 "print i after runto localvars_after_alloca" and
6647 "print l after runto localvars_after_alloca"
6648 for all compilers.
6649 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6650 than whatis-info.exp.
6651 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6652 than opaque-info.exp.
6653 Setup rs6000-*-* xfail for
beb998c6 6654 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6655 "ptype on opaque struct pointer (dynamically)" when
6656 not compiled with gcc.
6657 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6658 rather than callf-info.exp.
6659 (do_function_calls): Add clear_xfail for rs6000-*-* for
6660 "p t_float_values2(3.14159,float_val2)". Seems to work
6661 fine there, both with xlc and gcc. Need to find out what
6662 it is doing right and fix other platforms.
6663 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6664 "call inferior func with struct - returns int",
6665 "call inferior func with struct - returns long",
6666 "call inferior func with struct - returns float",
6667 "call inferior func with struct - returns double",
6668 "call inferior func with struct - returns char *",
6669 but only if not gcc compiled (presumes xlc compiled).
6670 Change rs6000-*-* xfails for
6671 "call inferior func with struct - returns char" and
6672 " call inferior func with struct - returns short" to only
6673 xfail if not using gcc.
6674 (clean mostlyclean): Remove *.ci and *.tmp files.
6675 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6676 than templ-info.exp.
6677 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6678 Add rs6000-*-* xfail for "up to foo in langs.exp"
6679 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6680 when not gcc compiled.
beb998c6 6681
c906108c
SS
6682Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6683
6684 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6685 * gdb.base/corefile.exp: Likewise.
6686 * gdb.base/list.exp: Likewise.
6687 * gdb.base/scope.exp: Likewise.
6688 * gdb.base/siganls.exp: Likewise.
6689
6690 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6691 compiler output.
6692 * gdb.base/whatis.exp: Likewise.
6693
6694Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6695
6696 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6697 failure (opcode table has been fixed to match reality).
6698
6699Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6700
6701 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6702 "call inferior func with struct - returns char",
6703 "call inferior func with struct - returns short"
6704
6705 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6706 "print 'scope0.c'::filelocal at main",
6707 "print 'scope0.c'::filelocal_bss in test_at_main",
6708 "print 'scope0.c'::filelocal at foo",
6709 "print 'scope0.c'::filelocal_bss in test_at_foo",
6710 "print 'scope0.c'::filelocal at bar",
6711 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6712
c906108c
SS
6713 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6714 in source file 1". This bug seems to have been fixed with both
6715 gcc and native cc (was native assembler bug?).
6716
6717Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6718
6719 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6720 "backtrace through signal handler" to "i*86-*-sysv4*".
6721 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6722 continue" case. Add "known SVR4 bug" to fail message.
6723 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6724 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6725 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6726 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6727 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6728 "up to foo in langs.exp", "show language at foo in
6729 langs.exp", "up to cppsub_ in langs.exp", "show
6730 language at cppsub_ in langs.exp", "up to fsub in
6731 langs.exp", and "show language at fsub in langs.exp".
6732 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6733 "bactrace in corefile.exp".
6734 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6735 "call inferior function with struct - returns float" and
6736 "call inferior function with struct - returns double".
beb998c6 6737
c906108c
SS
6738Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6739
6740 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6741 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6742 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6743 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6744
6745Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6746
6747 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6748 (or overriden) "CHILL" macro rather then bare "gcc".
6749 Also look for ../../gcc/xgcc since that is what we will
6750 actually need, not "Makefile". Remove following assignment
6751 of CHILL to CHILL_FOR_TARGET because that results in
6752 recursive definition.
6753
6754Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6755
6756 * gdb.base/corefile.exp: Change xfail for backtrace in
6757 corefile.exp from linuxaout to all linux.
6758 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6759 cases where we miss the breakpoint at the signal handler
6760 for some reason. Setup xfail for linuxoldld/linuxaout and
6761 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6762 hitting SIGURG breakpoint.
6763 * gdb.base/signals.exp: Setup xfail for "next" acting like
6764 continue to add linuxoldld. Setup xfail for all linux for
6765 "next to handler in signals_tests_1", "backtrace in
6766 signals_tests_1", "continue to func1", "pass SIGUSR1",
6767 and continue to handler".
6768
6769Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6770
6771 * Update all FSF addresses except those in COPYING* files.
6772
6773Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6774
6775 * gdb.base/a2-run.exp: Change messages to be more explicit about
6776 the status of args, and quote binfile in results.
6777
6778Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6779
6780 * gdb.base/callfuncs.exp: Add tests for passing structs to
6781 inferior functions and return various types.
6782 * gdb.base/callfuncs.c: Add functions to receive a struct
6783 and return a member of the struct, in various types.
6784
6785Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6786
6787 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6788
6789Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6790
6791 * config/vxworks29k.exp: New file, sources vxworks.exp.
6792
6793Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6794
6795 * config/gdbremote.exp: New file. Testing framework using
6796 gdbserver.
6797
6798Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6799
6800 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6801 "call function when asleep" and "send end of file".
6802 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6803 for "backtrace in corefile.exp".
6804 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6805 for "backtrace through signal handler".
6806 * gdb.base/corefile.exp: Make sure we actually generate a core file
6807 before trying the core tests. Some systems allow the user to suppress
6808 generation of core files and default to that (linux for example).
6809 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6810 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6811
6812Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6813
6814 * gdb.threads: New directory with some crude multi-threaded
6815 gdb tests (step.exp and step2.exp).
6816 * config/mt-lynx (STEP_EXECUTABLE): Define.
6817 (THREADFLAGS): Define.
6818
6819Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6820
6821 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6822
6823 * gdb.base/signals.exp: Disable whole file for lynx until
6824 further notice.
6825
6826 * gdb.base/signals.exp: xfail test where "next" acts like
6827 "continue" for lynx.
6828
6829 * gdb.base/interrupt.exp: xfail test for calling function while
6830 inferior is asleep for lynx.
6831
6832 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6833 than one cr-lf after each command.
6834
6835Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6836
6837 * configure.in: Reinstate setting of stabsdirs variable, fix
6838 typo in setting up configdirs for native builds.
6839
6840 * gdb.base/return.exp: Fix typo in return double test.
6841 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6842 compiler from optimizing them away.
6843
6844Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6845
6846 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6847 sequences to be echo'd by gdb when using gdb_test.
6848 * gdb.chill/chexp.exp: Likewise.
6849 * gdb.fortran/exprs.exp: Likewise
6850
6851Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6852
6853 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6854 after the inferior gdb has started.
6855
6856 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6857 after each command.
6858 * gdb.base/funcargs.exp: Likewise.
6859 * gdb.base/gdbvars.exp: Likewise.
6860 * gdb.base/interrupt.exp: Likewise.
6861 * gdb.base/list.exp: Likewise.
6862 * gdb.base/watchpoint.exp: Likewise.
6863 * gdb.c++/demangle.exp: Likewise.
6864 * gdb.c++/inherit.exp: Likewise.
6865 * gdb.chill/chexp.exp: Likewise.
6866 * gdb.fortran/exprs.exp: Likewise.
6867
6868 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6869 test if we can't handle IO to/from the inferior.
6870
6871 * gdb.c++/misc.exp: Always check for a program already being
6872 started after sending a "run" command to gdb.
6873
6874 * gdb.base/twice.exp: Start with a fresh gdb.
6875
6876 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6877 only depend on gdb's expression code, not the chill runtime.
6878
6879 * gdb.base/return.c: Put return values into variables so we
6880 can have gdb print them rather than depending on the program
6881 to print them.
6882 * gdb.base/return.exp: Corresponding changes.
6883
6884 * lib/gdb.exp: Provide default value for noinferiorio.
6885 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6886 the inferior.
6887
6888 * gdb.base/break.exp: Always check for a program already being
6889 started after sending a "run" command to gdb.
6890 (text_next_with_recursion): Don't check the output from the
6891 program's printf statement. Instead just make sure the program
6892 exited.
6893
6894 * gdb.base/commands.exp: Protect tests which need arguments with
6895 $noargs conditionals.
6896
6897Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6898
6899 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6900 of structure member arrays to match gdb/valops.c:value_addr change.
6901
6902Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6903
6904 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6905 cases.
6906
6907Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6908
6909 * configure.in (configdirs): Remove gdb.chill from default list
6910 of subdirs and then add it back in only if doing a native build.
6911 The current chill compiler does not yet work in any cross build.
6912 * Revert all signal changes from Jul 6.
6913 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6914 for sh-hms targets, allowing these tests to link, with no other
6915 changes. Testing is suppressed by setting "nosignals" in site.exp.
6916
6917Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6918
6919 * configure.in (signaldirs): Define and add to configdirs for all
6920 targets except some specific ones that are known to not support signals.
6921 Also clean up formatting.
6922 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6923 (signals, sigall): Remove rules to build.
6924 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6925 Moved to new gdb.signals directory.
6926 * gdb.signals: New test directory.
6927 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6928 signals.c signals.exp}: New or moved files.
6929
6930Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6931
6932 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6933
6934Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6935
6936 * gdb.base/return.exp: Xfail `return double' test failure
6937 on at least Solaris 2.3 and handle future/past versions on
6938 a case by case basis as appropriate. Also update message
6939 to include i*86 failures.
6940
6941Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6942
6943 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6944
6945 * lib/gdb.exp: Fix comment which erroneously identified
6946 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6947 gdb_file_cmd not gdb_load).
6948 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6949
6950 * gdb.base/setvar.exp: Make test names consistent between pass and
6951 fail cases. Use gdb_test more.
6952
6953Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6954
6955 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6956
6957Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6958
6959 * gdb.base/help.exp: Fix expected help string for `show commands'.
6960
6961Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6962
6963 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6964
6965 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6966 of a text section.
6967
6968Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6969
6970 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6971 that loop eventually terminates. Fix Connection refused logic so
6972 that testsuite will expire nicely.
6973
6974Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6975
6976 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6977 config/rom68k.exp: New tcl glue for the appropriate monitors.
6978 These all just end up calling monitor.exp.
6979 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6980 refused' by retrying. Cleanup some timeout issues.
6981 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6982 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6983 callers don't have to set/restore global timeout variable.
6984
6985 * The following set of changes centralizes management of the global
6986 timeout variable. This way, it can be set in one target dependent
6987 place instead of dozens of places scattered throughout the test suite.
6988 If you need to lengthen a timeout, then you should either set timeout
6989 in one of the config/{target}.exp files, or multiply it by a factor.
6990 Setting it to an absolute value is always going to lose for some
6991 targets.
6992 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6993 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6994 * gdb.base/funcargs.exp: Don't set timeout.
6995 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6996 * gdb.base/printcmds.exp (test_print_string_constants
6997 test_print_array_constants): Don't set timeout.
6998 * gdb.base/ptype.exp: Don't set timeout.
6999 * gdb.base/recurse.exp: Don't set timeout.
7000 * gdb.base/return.exp: Don't set timeout.
7001 * gdb.base/watchpoint.exp: Don't set timeout.
7002 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7003 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7004
7005Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7006
7007 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7008
7009Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7010
7011 * lib/gdb.exp: Disable chill tests for irix5.
7012
7013Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7014
7015 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7016 each test pass or fail.
7017
7018Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7019
7020 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7021 xlc not gcc.
7022
7023Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7024
7025 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7026
7027Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7028
7029 * config/est.exp: Fix copyright and comments. Remove dead code.
7030 Use targetname, serialport and baud variables instead of fixed
7031 constants.
7032 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7033 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7034
7035Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7036
7037 * gdb.base/watchpoint.exp: Don't run
7038 test_watchpoint_triggered_in_syscall for sunos.
7039
7040Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7041
7042 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7043 they don't seem to exist. Do include stdio.h.
7044
7045Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7046
7047 * gdb.base/a1-selftest.exp: Add alpha xfail.
7048
7049Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7050
7051 * gdb.base/watchpoint.c (main): Prompt before calling read().
7052 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7053 Revise accordingly. Remove cruft about sending "123" several
7054 times, until it gets noticed. Clean up the "print buf[0]" stuff
7055 so that it passes or fails, and waits for prompts in the usual way.
7056
7057Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7058
7059 * gdb.base/recurse.exp: Fix comment.
7060
7061 * TODO: Remove item about printing variables in nodebug.exp. Add
7062 item about enabling tests which are only run on some targets.
7063
7064 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7065 fail, make test names unique, use new gdb_test convention
7066 regarding pattern, use gdb_test more, etc.).
7067
7068 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7069 fail, make test names unique, etc.).
7070
7071Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7072
7073 * gdb.base/nodebug.c: Change return type of top and middle to
7074 short.
7075 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7076 are fixed by the recent mdebugread.c changes. Allow `short ()'
7077 as type for top and middle.
7078
7079Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7080
7081 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7082 nearly as I can tell, the whole thing was an accident in Stu's
7083 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7084 to replace a send/expect pair with gdb_test, but ended up only
7085 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7086 of 30 Mar 1995 took care of it, but left this vestigial comment
7087 which I am now nuking.
7088
7089Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7090
7091 * gdb.base/break.exp: Look for different line number for
7092 breakpoint at main depending on usestubs.
7093
7094Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7095
7096 * gdb.base/list.exp: Adjust some alternate expect patterns to
7097 match recent list0.c change. Add alternate expect pattern for
7098 output from `list default lines around main' for optimizing
7099 compilers.
7100
7101Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7102
7103 * lib/gdb.exp: If nosignals is not set, set it to 0.
7104
7105Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7106
7107 * config/slite-gdb.exp: Responds to load symbol table prompt.
7108 * gdb.base/break.exp: Adjust line number, fix rerun.
7109 * gdb.base/langs0.c: Add #ifdef usestubs.
7110
7111Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7112
7113 * gdb.base/list.exp: Adjust line contents after adding new lines in
7114 list0.c. Also fix a syntax error.
7115
7116 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7117 * gdb.base/break.exp: ditto.
7118 * gdb.base/list.exp: ditto.
7119 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7120 * gdb.base/run.c: ditto.
7121 * gdb.base/list0.c: ditto.
7122 * gdb.base/funcargs.c: ditto.
7123
7124Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7125
7126 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7127 $targetname, $serialport and $baud instead of hardwired variables.
7128 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7129 target doesn't support signals.
7130
7131Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7132
7133 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7134
7135Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7136
7137 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7138 Don't rely on the value of an auto variable before it has been
7139 initialized. Use gdb_test more.
7140
7141Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7142
7143 * lib/gdb.exp (default_gdb_version): A version number must start
7144 with a digit, but other than that contains all characters up to
7145 the first whitespace character.
7146
7147Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7148
7149 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7150
7151Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7152
7153 * gdb.c++/*.exp: Warn if executable does not exist. The original
7154 reason for skipping the warning was that configure.in sometimes
7155 intentionally skipped building the executables but the tcl code
7156 had no way of knowing. That (a) was always bogus with respect to
7157 error handling, (b) is no longer true (right now there is no way
7158 to skip C++ tests).
7159
7160 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7161
7162Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7163
7164 * gdb.base/list.exp: Add expect patterns for output from
7165 SunPRO compiled executables.
7166 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7167 types.
7168
7169Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7170
7171 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7172 number (we are already testing that the correct source line text
7173 gets printed).
7174
7175 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7176 that is what is intended, but something needed to be done to get
7177 sunos4 native working again.
7178
7179 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7180
7181 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7182 apparently went with a (very) old xfail.
7183
7184Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7185
7186 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7187 runto_main is a proc in gdb.exp that will do 'step' for target use
7188 stubs.
7189 * gdb.base/exprs.exp: ditto.
7190 * gdb.base/interrupt.exp: ditto.
7191 * gdb.base/opaque.exp: ditto.
7192 * gdb.base/printcmds.exp: ditto.
7193 * gdb.base/ptype.exp: ditto.
7194 * gdb.base/scope.exp: ditto.
7195 * gdb.base/setvar.exp: ditto.
7196 * gdb.base/signals.exp: ditto.
7197 * gdb.base/twice.exp: ditto.
7198 * gdb.c++/classes.exp: ditto.
7199 * gdb.c++/inherit.exp: ditto.
7200 * gdb.c++/templates.exp: ditto.
7201 * gdb.base/break.exp: no run and hit main for stubs. Change line
7202 numbers for breakpoints and info breakpoint.
7203 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7204 breakpoint().
7205 * gdb.base/callfuncs.c: ditto.
7206 * gdb.base/exprs: ditto.
7207 * gdb.base/interrupt.c: ditto.
7208 * gdb.base/opaque0.c: ditto.
7209 * gdb.base/printcmds.c: ditto.
7210 * gdb.base/ptype.c: ditto.
7211 * gdb.base/scope0.c: ditto.
7212 * gdb.base/setvar.c: ditto.
7213 * gdb.base/signals.c: ditto.
7214 * gdb.base/twice.c: ditto.
7215 * gdb.c++/misc.cc: ditto.
7216 * gdb.c++/templates.cc: ditto.
7217
7218Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7219
7220 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7221
7222 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7223 somewhere between `read' and `main.c'. I'm pretty sure the
7224 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7225 and it isn't particularly useful.
7226
7227 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7228
7229Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7230
7231 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7232
7233Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7234
7235 * config/mt-slite: add LIBS and -nostdlib.
7236 * config/slite-gdb.exp: add this new file to support sparclite target.
7237
7238Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7239
7240 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7241
7242 * gdb.base/a2-run.exp: Change argument to istarget from
7243 "*-*-vxworks" to "*-*-vxworks*".
7244 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7245
7246Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7247
7248 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7249 will not runto main but do a 'step' to step out of breakpoint().
7250 * config/mt-slite: add -Dusestubs.
7251
7252Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7253
7254 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7255 instead of just @.
7256
7257 * gdb.base/signals.exp: Add test for "handle all print".
7258 * TODO: Remove "handle all print". Also remove item about
7259 checking copyright date (I don't like the idea of a spurious FAIL
7260 based on when we run the tests).
7261
7262 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7263 for SunOS4 (reason for failure not investigated). Remove
7264 redundant test for $binfile.
7265
7266 * gdb.base/nodebug.c (array_index): Call malloc.
7267
7268 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7269
7270Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7271
7272 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7273 conventions and slightly simplify the matching regexp.
7274
7275Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7276
7277 * gdb.base/break.exp: Update gdb_test invocation to use new
7278 convention.
7279
7280 * lib/gdb.exp: If noargs is not set, set it to 0.
7281
7282 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7283 tests unique.
7284
7285 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7286
7287Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7288
7289 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7290 one argument of type "<non-float parameter>".
7291
7292Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7293
7294 * config/rom68k.exp: New file to support Motorola IDP board.
7295 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7296 * gdb.base/break.c: Change things around so that this program
7297 doesn't depend upon args. This is necessary to make remote
7298 targets work (in general, they can't take args).
7299 * gdb.base/break.exp: Don't try to send args to program. Don't
7300 expect output. Also, replace lots of code with gdb_test.
7301
7302Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7303
7304 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7305 printing of '\'' (which is what the comment says we are testing,
7306 even though we were not), not '''.
7307 (test_integer_literals_rejected): Test that printing ''' is an error.
7308
7309 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7310 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7311 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7312 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7313 Use gdb_test not test_print_accept.
7314 * lib/gdb.exp: Remove test_print_accept.
7315
7316 * gdb.base/signals.exp (signal_tests_1): Make pass message
7317 consistent with fail message.
7318
7319 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7320 unsigned char; the bug (PR 1821) is fixed.
7321
7322 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7323
7324 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7325 successful tests--makes xfailing them work right.
7326
7327Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7328
7329 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7330 only \r\n, not .*. The test can pass .* as the last thing in
7331 $pattern if that is what it wants. In addition to providing this
7332 flexibility, this change should speed up pattern matching in cases
7333 where the pattern already ended with .* (there were a number of
7334 them). This change also helps catch bad patterns--in the old
7335 scheme the typo "char \*" instead of "char \\*" would pass. Now
7336 it is caught.
7337 * Many .exp files: Update callers.
7338
7339 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7340 clearer and does not spuriously match multiple ('s. Likewise for
7341 ) and *.
7342
7343 * gdb.base/nodebug.exp: Test ability to call a function and pass
7344 it a string (even with no debugging info).
7345
7346 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7347 "p '\'", which is the same as "p ''" once tcl gets done with
7348 quoting, to "p '\\'", which I suspect is what is intended (one
7349 backslash gets sent to GDB).
7350
7351 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7352
7353Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7354
7355 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7356 1817) was fixed literally years ago.
7357
7358Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7359
7360 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7361 test, it causes stepping out of call_after_alloca_subr with
7362 optimizing compilers.
7363 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7364 fails.
7365
7366 * gdb.c++/templates.exp: Source templ-info.exp only if
7367 the templates executable exists.
7368
7369 * gdb.c++/misc.cc (class Contains_static_instance,
7370 class Contains_nested_static_instance),
7371 gdb.c++/classes.exp (test_static_members): Test printing of
7372 a class that contains a static instance of the class.
7373
7374Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7375
7376 * gdb.base/langs2.c (cppsub_): Don't prototype.
7377 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7378 only, I believe).
7379
7380Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7381
7382 * lib/gdb.exp (skip_chill_tests): New procedure.
7383
7384 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7385
7386Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7387
7388 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7389 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7390
7391Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7392
7393 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7394
7395 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7396 disassemble 8, not 16, instructions for part 4.
7397
7398 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7399 support the latter anymore.
7400
7401 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7402 -DNO_PROTOTYPES.
7403 * gdb.base/callfuncs.c: Control use of prototypes based on
7404 NO_PROTOTYPES, not __STDC__.
7405 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7406 t_float_values2 tests if prototypes in use.
7407
7408 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7409 t_double_values): When checking differences against DELTA, check
7410 that difference is within the range (-DELTA,DELTA), not just
7411 (-infinity,DELTA).
7412
7413Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7414
7415 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7416 'file' command firts, then 'target', then 'load', this is due to gdb
7417 target set up.
7418 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7419
7420Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7421
7422 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7423 FP load/store variants.
7424 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7425
7426Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7427
7428 * gdb.base/term.exp: Do not give a warning if not native, it is
7429 not an abnormal condition.
7430
7431Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7432
7433 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7434 t_char_array".
7435
7436Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7437
7438 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7439 are getting the version number.
7440
7441 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7442 if not native, it is not an abnormal condition.
7443
7444Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7445
7446 * lib/gdb.exp: Just use "file exists", rather than undocumented
7447 dejagnu procedure "findfile".
7448
7449Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7450
7451 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7452 (LDFLAGS): Set to -Xlinker -Ur.
7453
7454 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7455 Removed, these values are set by lib/gdb.exp.
7456
7457 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7458
7459Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7460
7461 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7462 of replicating gdb startup code.
7463
7464 * config/mt-vxworks (LDFLAGS): Set to -r.
7465 (CFLAGS_FOR_TARGET): Removed.
7466
7467 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7468 (gdb) and gdb for vxworks uses (vxgdb).
7469
7470 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7471 executable is not in the tree and host != target, use sed and
7472 program_transform_name to determine the gdb name used by the
7473 target.
7474
7475 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7476 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7477
7478Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7479
7480 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7481 floats, chars, and shorts where there are ANSI-style function
7482 definitions.
7483
7484 * gdb.base/langs.exp, gdb.base/langs*: New test.
7485 * gdb.base/Makefile.in: Build it.
7486 * TODO: Remove item about checking that C names don't get C++
7487 demangling applied; this test tests it.
7488
7489Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7490
7491 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7492 went with the const70 xfail. The xfail went away a year ago.
7493
7494 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7495
7496 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7497 for hp300.
7498
7499 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7500
7501 * gdb.base/a1-selftest.exp: Don't run on hp300.
7502
7503Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7504
7505 * Makefile.in (site.exp): Set host_alias and target_alias as well
7506 as host_triplet and target_triplet.
7507
7508Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7509
7510 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7511
7512 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7513 places as other ecoff systems).
7514
7515 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7516 ultrix.
7517
7518Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7519
7520 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7521 remove them.
7522 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7523 variable and "variable" in addition to "data variable".
7524 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7525
7526 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7527 2.
7528 * gdb.base/list1.c (long_line): Add additional statement at start
7529 of function.
7530 * gdb.base/list.exp (test_forward_search): Update line number to
7531 reflect new statement.
7532
7533Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7534
7535 * gdb.base/signals.exp: Reinitialize searched source directories
7536 after gdb_start call.
7537
7538Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7539
7540 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7541 * gdb.stabs/Makefile.in: Likewise.
7542
7543 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7544 change. Instead split the tests into smaller pieces.
7545 * gdb.disasm/hppa.s: Corresponding changes.
7546
7547Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7548
7549 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7550 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7551
7552 * gdb.base/funcargs.exp: Modify many tests so that every test
7553 either passes or fails. Make some test names unique.
7554
7555Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7556
7557 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7558 Call stty to set interrupt character.
7559
7560 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7561 for HP assembler versus GNU assembler based on actual behavior of
7562 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7563
7564 * TODO: Suggest a few more stepping tests.
7565
7566Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7567
7568 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7569 restart GDB for h8300 after a continue.
7570 (return): Add pattern to match a29k-udi behavior.
7571 * gdb.base/nodebug.exp: Remove obsolete comment.
7572 * gdb.base/regs.exp: New file, testing of register displays.
7573 * gdb.base/return.exp: Fix typo in reference to $objdir.
7574 * gdb.base/whatis.exp: Always start with a fresh GDB.
7575
7576Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7577
7578 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7579 higher, these tests generate a lot of output.
7580
7581Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7582
7583 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7584 code following the catch silently ignored some errors; without the
7585 catch they should be thrown like any other tcl error. Also, the
7586 catch used "" instead of {} which meant all the callers who wanted
7587 to include one of the characters "[]$ had to quote it an extra time.
7588 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7589 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7590 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7591 Remove extra quoting.
7592
7593Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7594
7595 * gdb.base/commands.exp: Make test names unique; every test either
7596 passes or fails. Update some comments.
7597
7598 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7599
7600Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7601
7602 The following fixes a FAIL caused by the fact that the alpha stabs
7603 configuration didn't use the ".if alpha" code in weird.def.
7604 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7605 bit pointer, so the 32 bit version works even on the alpha.
7606 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7607 Remove the stuff which allowed us to have separate versions for
7608 alpha and everything else.
7609
7610 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7611 regexp which "info func operator\[\](" is supposed to match. Fix
7612 string to send to GDB. Note that GDB still doesn't work right. Add a
7613 new test for "info func .perator\[\](" which GDB does handle correctly.
7614
7615 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7616
7617Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7618
7619 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7620 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7621 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7622 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7623 it makes the tests harder to understand and confuses test-o-matic.
7624 The preferred style is that each test provides a PASS or a FAIL,
7625 and has a unique message (e.g. "continue #54" not just "continue")
7626 which is the same for the pass and the fail.
7627 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7628 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7629 to lib/gdb.exp.
7630 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7631 prt_accept which was basically the same thing. Likewise for
7632 test_print_reject and prt_reject.
7633 * lib/gdb.exp (test_print_reject): Add some more error message
7634 patterns to match from the former printcmds.exp (prt_reject).
7635 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7636 One defect of the passcount stuff is that some of it failed to
7637 report XPASS where appropriate.
7638 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7639 stuff before and after arg in expected pattern.
7640 (test_paddr_operator_functions): Re-do test without print_addr_of;
7641 this is the only test which seems to want extra stuff there.
7642
7643Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7644
7645 * gdb.base/nodebug.exp: Update new tests to reflect improved
7646 wording of gdb output.
7647
7648 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7649 and "ptype" work on variables in files compiled without -g.
7650 Replaces commented out "maint print msymbol" tests.
7651
7652Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7653
7654 * gdb.base/setvar.c (dummy): Call malloc.
7655
7656 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7657 losing with the irix4 sed.
7658
7659 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7660 ALRM" on irix4.
7661
7662Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7663
7664 * TODO: Remove items about corefile.exp testing new exec-file and
7665 backtrace; both are now done. Add items about printing enums.
7666
7667Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7668
7669 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7670 "get signal $thissig" test fails.
7671
7672 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7673
7674Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7675
7676 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7677 compiler warning with dec alpha compiler.
7678
7679 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7680 extra \n from gdb_test call (this explains why the prompt test
7681 that I removed yesterday was there).
7682 (user_defined_command_test): Remove extra \n and prompt test.
7683
7684 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7685 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7686 doesn't exist.
7687 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7688 Also remove alpha workaround, which turns out to be because
7689 SIGABRT == SIGLOST.
7690
7691 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7692
7693 * gdb.base/help.exp: Don't test "help show".
7694
7695Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7696
7697 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7698 "set print address" is on.
7699 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7700 pass prompt to gdb_test; gdb_test already looks for the prompt.
7701
7702 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7703
7704 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7705 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7706 was to make sure that gdb can read a core file. But (a) the "read
7707 the corefile" part didn't make it to a1-selftest.exp, we just
7708 delete the corefile after creating it, and (b) we test reading
7709 corefiles in corefile.exp anyway. Also, this test left around a
7710 xgdb process on Solaris.
7711
7712 * gdb.base/corefile.exp: Also test backtrace.
7713
7714Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7715
7716 * gdb.base/commands.exp: Test a simple user defined command with
7717 arguments and if/while statements; verify the full user command is
7718 printed by "show user".
7719
7720 * gdb.base/commands.exp: Test if/while commands as part of a
7721 breakpoint command list; verify they appear in breakpoint
7722 information.
7723
7724Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7725
7726 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7727 than by dividing by zero.
7728
7729Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7730
7731 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7732 performing an inferior call with watchpoints enabled.
7733 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7734 call.
7735
7736Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7737
7738 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7739 of "file" command.
7740
7741 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7742 Add additional pattern for when "int operator int(void);" appears
7743 in a different order.
7744
7745Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7746
7747 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7748
7749 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7750 and "signal" with ".*".
7751
7752Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7753
7754 * TODO: Add note about "handle all nostop".
7755
7756 * gdb.base/{sigall.c, sigall.exp}: New test.
7757 * gdb.base/Makefile.in: Add it.
7758
7759Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7760
7761 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7762 when invoking GDB, suppresses any windowing interface.
7763
7764Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7765
7766 * config/sim-gdb: New file, simulator testing support.
7767
7768Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7769
7770 * gdb.base/interrupt.exp: Test calling func1 twice.
7771
7772Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7773
7774 * gdb.base/list.exp (test_forward_search): Set timeout higher
7775 when we'll be getting lots of output from gdb.
7776
7777 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7778 "init_malloc" to after the expect statement. Run it if that
7779 regexp is taken, but also for two others which happen if source
7780 cannot be found.
7781
7782Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7783
7784 * gdb.base/printcmds.exp: New test, for printing register before
7785 program is running.
7786
7787Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7788
7789 * gdb.base/list.exp: Correct some alternate expect patterns
7790 to reflect changes in list1.c.
7791
7792Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7793
7794 * TODO: Add item regarding large frames.
7795
7796 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7797
7798 * TODO: Remove item about enabling return.exp; it
7799 is enabled. Suggest a few more "return" tests.
7800
7801Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7802
7803 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7804 anonymous unions.
7805
7806Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7807
7808 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7809 and pr-5646.o, so "make" is the same as "make all", not "make
7810 pr-4975.o".
7811
7812Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7813
7814 * gdb.base/list.exp: Adjust expectations to reflect changes in
7815 list1.c.
7816 (test_forward_search): New test proc.
7817 * gdb.base/list1.c (long_line): New function, has long source line.
7818
7819Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7820
7821 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7822 additional line of code that was added.
7823
7824Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7825
7826 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7827 tests so as not to overflow expect's input buffers.
7828 * gdb.disasm/hppa.exp: Corresponding changes.
7829
7830Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7831
7832 Beginnings of template debugging tests.
7833 * gdb.c++/templ-info.cc: New file to test for template
7834 debugging capability of the compiler.
7835 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7836 templ-info.cc.
7837 * gdb.c++/templates.cc: Add explicit template instantiations
7838 to enable compiling with -fno-implicit-templates. Add destructor
7839 and 'value' method to T5 class for template tests.
7840 * gdb.c++/templates.exp: Add testcases for printing of template
7841 types, setting breakpoints on template methods and calling a
beb998c6 7842 template method.
c906108c
SS
7843
7844Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7845
7846 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7847 branch target since some assemblers (gas-2.5) may emit a
7848 relocation for the branch instead of resolving it in the
7849 assembler.
7850
7851Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7852
7853 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7854 through signal handler.
7855
7856Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7857
7858 * configure.in (*-*-netware): Use config/mt-netware.
7859
7860 * config/mt-netware: New file.
7861 * config/mt-i386-netware: Removed, separate configs for different
7862 netware architectures are no longer needed now that we have
7863 --with-headers.
7864
7865Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7866
7867 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7868 by the recent changes to use ANSI C arithmetic conversions.
7869
7870Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7871
7872 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7873 bug involving using inferior_pid to figure out whether to select a
7874 frame.
7875
7876Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7877
7878 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7879 match the current disassembler output.
7880
7881Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7882
7883 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7884 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7885 types, expect "int" as type of integer values (for now).
7886
7887Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7888
7889 * gdb.base/commands.exp: New tests for if/while commands.
7890
7891Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7892
7893 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7894 by .*, since hex values have different syntax in Chill mode.
7895
7896Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7897
7898 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7899 linefeed from expect pattern for repeated types with indices > 9.
7900
7901Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7902
7903 First part of Fortran test suite.
7904 * gdb.fortran: New directory.
7905 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7906
7907Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7908
7909 * gdb.base/default.exp: Update expect pattern for load command
7910 without arguments.
7911
7912Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7913
7914 * configure.in: Change i386 to i[345]86.
7915 * gdb.base/configure.in: Likewise.
7916 * gdb.c++/configure.in: Likewise.
7917 * gdb.chill/configure.in: Likewise.
7918
7919Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7920
7921 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7922 patterns, since that is not a valid context for comments.
7923
7924Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7925
7926 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7927 repeated types and repeated types with indices > 9.
7928
7929Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7930
7931 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7932 2417; old bug has been fixed.
7933
7934Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7935
7936 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7937 send the newline ourselves instead of assuming gdb_test will do
7938 so when passed an empty input string.
7939
7940 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7941 stabs testcode.
7942
7943Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7944
7945 * lib/gdb.exp (gdb_test): Don't send anything if the first
7946 argument is an empty string. This makes cases where we want to
7947 match output that is already in expect's buffers (for example,
7948 matching a breakpoint after gdb_run_cmd has been called) work
7949 reliably.
7950
7951Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7952
7953 * config/netware.exp: New file.
7954
7955Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7956
7957 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7958 the -B and -L prefixes so we can find the debugging stub.
7959
7960 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7961 there and we are using the gcc from the tree.
7962
7963 * gdb.base/types.c: Removed.
7964
7965 * gdb.base/configure.in: Look for makefile fragments in ../config.
7966 Recognize i386-*-netware.
7967 * gdb.c++/configure.in: Likewise.
7968
7969Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7970
7971 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7972 the correct TCL syntax.
7973
7974Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7975
7976 * gdb.base/opaque.exp: use runto instead of messing around with
7977 breakpoints. Simplify by using gdb_test.
7978
7979 * gdb.base/bitfields.exp: restart between tests on netware targets
7980 because breakpoints aren't relocated after target death. Run
7981 processes to completion.
7982
7983 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7984
7985Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7986
7987 * Makefile.in: Remove extra tabs that confuse some versions
7988 of "make". Use the newly built gdb to test with by default,
7989 rather than the first one in the tester's search path.
7990
7991Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7992
7993 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7994
7995 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7996 condition help.
7997
7998Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7999
8000 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8001
8002 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8003 running.
8004 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8005 * gdb.base/funcargs.exp: Likewise.
8006
8007 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8008 * gdb.base/funcargs.exp: Likewise.
8009
8010 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8011 message is "".
8012
8013Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8014
8015 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8016 return,signals,twice}.exp: Handle non-existant binaries
8017 consistantly.
8018
8019 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8020 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8021 might testing a cross development system.
8022
8023Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8024
8025 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8026 runtest script is relative to ${srcdir}, not ${rootdir}.
8027
8028Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8029
8030 * gdb.base/signals.exp: Allow for optionality of breakpoint
8031 address.
8032
8033Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8034
8035 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8036
8037Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8038
8039 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8040 for size_t definition.
8041 * gdb.c++/templates.cc: Likewise
8042
8043 * config/mt-i386-netware: New file.
8044
8045 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8046 defined.
8047
8048 * gdb.base/Makefile.in: Added support for systems that name core
8049 files by appending "core" to the program name.
8050 * gdb.base/a1-selftest.exp: Likewise.
8051
8052Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8053
8054 * gdb.base/return.exp: Add comment and message for `return double'
8055 test failure on Sparc Solaris.
8056
8057Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8058
8059 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8060
8061Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8062
8063 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8064 from optimizing them away.
8065 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8066 patterns to include default constructors and assignment operators,
8067 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8068 character in the output of the virtual base pointer.
8069
8070Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8071
8072 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8073 expression match in print_addr_of to avoid unintented matches.
8074 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8075 versions up to 2.5.8.
8076
8077Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8078
8079 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8080 included file to run under newer versions of expect.
8081 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8082 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8083 Remove xfail for the virtual table of BDDHookV.
8084
8085Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8086
8087 * lib/gdb.exp (string_to_regexp): Set a default result.
8088 (default_gdb_start): Fix misleading message.
8089
8090Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8091
8092 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8093 Remove all CC, etc definitions.
8094 * config/mt-hpux: New file.
8095 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8096 (CFLAGS, LDFLAGS): Define.
8097 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8098
8099 * Makefile.in (site.exp): Don't insert host_os, etc.
8100 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8101 (distclean): Check existence of subdir.
8102 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8103 * gdb.base/Makefile.in: General cleanup and simplification.
8104 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8105 to build executables. Use default rule to build .o files.
8106 (EXPECT, RUNTEST, CC): Fix relative pathname.
8107 (site.exp): Don't insert host_os, etc.
8108 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8109 and/or SIGUSR1 defined.
8110 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8111 * gdb.c++/Makefile.in: General cleanup and simplification.
8112 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8113 (CFLAGS): Remove.
8114 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8115
8116Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8117
8118 * gdb.base/recurse.exp: Misc changes to get tests running again
8119 after Kung's changes to the watchpoint code.
8120 * gdb.base/watchpoint.exp: Likewise.
8121
8122Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8123
8124 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8125
8126Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8127
8128 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8129 * lib/gdb.exp (default_gdb_start): Define.
8130 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8131 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8132 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8133 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8134 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8135 Don't call gdb_target_udi in between tests.
8136
8137Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8138
8139 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8140 (which was basically just a local version of the same thing). In
8141 addition to avoiding duplication, gdb_test_exact is faster.
8142 * lib/gdb.exp (gdb_test_exact): Fix typo.
8143
8144 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8145 don't give an error.
8146
8147 * gdb.base/term.exp: Call delete_breakpoints before starting.
8148
8149 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8150 (t10): Add comment.
8151
8152Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8153
8154 Reorganization of the GDB Test Suite.
8155
8156 * gdb.base: New directory, contains all the basic tests.
8157 * gdb.c++: New directory, tests specific to C++.
8158 * gdb.chill: New directory, tests specific to Chill.
8159 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8160 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8161 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8162 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8163 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8164 t30-31 to chill).
8165 * */gdbme.*: Rename to match appropriate expect scripts.
8166 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8167 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8168 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8169 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8170 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8171 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8172 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8173 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8174 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8175 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8176 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8177 gdb.c++/virtfunc.cc: New names of C++ files.
8178 * gdb.chill/chillvars.ch: New name of Chill file.
8179 * gdb.base/configure.in, gdb.c++/configure.in,
8180 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8181 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8182 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8183 * configure.in (configdirs): Update to reflect directory changes.
8184 (target_abbrev): No longer define for any configuration.
8185 * Makefile.in: Cosmetic improvements to header comments.
8186
8187Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8188
8189 Various changes to gdb.t31:
8190
8191 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8192 * gdbme.ch: Make all key-words and predefineds be upper-case.
8193 * chillvars.exp: Expect key-words and predefinds in upper-case.
8194
8195 * chillvars.exp: Use gdb_test_exact many places.
8196 Change expected output for arrays (which now includes index labels).
8197
8198 * pr-5020.exp, gdme.ch (module PR_5020):
8199 New test, for PR-5020.
8200
8201Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8202
8203 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8204 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8205
8206Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8207
8208 * Makefile.in: Fix bit-rot in definitions of CHILL,
8209 CHILL_FOR_TARGET and Chill_LIB.
8210 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8211 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8212 CHILL, and CHILL_LIB.
8213
8214Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8215
8216 * Revert the previous changes. Please see Rob's directory
8217 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8218
8219Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8220
8221 * Makefile.in, configure.in, config/mips-gdb.exp,
8222 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8223 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8224 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8225 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8226 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8227 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8228 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8229 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8230 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8231 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8232 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8233 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8234 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8235 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8236 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8237 changes from 94Q1.
8238
8239Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8240
8241 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8242 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8243 Rob's new testing fragments.
8244
8245Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8246
8247 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8248 lib/gdb.exp: Replace error proc calls with perror.
8249
8250Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8251
8252 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8253 version also, match on casted version strings, and match on
8254 gdb startup case where the line numbers might be messed up.
8255
8256Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8257
8258 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8259 (CFLAGS): Delete it from here.
8260
8261Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8262
8263 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8264
8265Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8266
8267 * Makefile.in (RUNTEST): Default to just "runtest".
8268
8269Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8270
8271 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8272 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8273 the code has been restructured.
8274
8275Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8276
8277 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8278 \n, not just one of each.
8279
8280 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8281 /bin/cc gives a warning if you do.
8282
8283Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8284
beb998c6 8285 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8286 __t10ListS_link1ZUiRCUiPT0
8287
8288Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8289
8290 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8291 on local variables in recursive functions.
8292
8293 * gdb.t07/Makefile.in: Build the new test.
8294
8295Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8296
8297 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8298 directly. Instead compare the return values from actual calls.
8299
8300Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8301
8302 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8303
8304Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8305
8306 * From Peter Schauer with minor modifications.
8307 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8308 stops in mid-line in the caller. Add xfail for returning a float
8309 value on X86 targets.
8310
8311Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8312
8313 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8314 to avoid expect lossage.
8315 (fmem_LRbug_tests): Likewise.
8316 * gdb.disasm/hppa.s: Corresponding changes.
8317
8318 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8319 conditions to work with latest dejagnu/expect.
8320
8321 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8322 expected to fail on the PA.
8323 (backtrace in call with trampolines): Explicitly require main
8324 to be frame #1 (no trampolines should show up in backtrace).
8325
8326 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8327 "continue -expect".
8328 * gdb.t06/break.exp: Likewise.
8329 * gdb.t07/watchpoint.exp: Likewise.
8330 * gdb.t13/bitfields.exp: Likewise.
8331 * gdb.t15/{funcargs,return}.exp: Likewise.
8332 * gdb.stabs/weird.exp: Likewise.
8333 * config/{mips,udi}-gdb.exp: Likewise.
8334
8335 * hppa.sed: Enclose comments within a sed command to avoid
8336 losing with the old OSF1 sed.
8337
8338Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8339
8340 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8341 sequent dynix.
8342 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8343 * gdb.t15/funcargs.exp: Conditionally step again to really
8344 finish from marker_call_with_trampolines. Handle the case where
8345 the first step from within call_with_trampolines already steps
8346 us back to main.
8347 * gdb.t15/gdbme.c: Add comment to closing brace of
8348 call_with_trampolines for funcargs.exp.
8349
8350Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8351
beb998c6 8352 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8353 Fix typo(s).
8354
8355Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8356
8357 * gdb.t07/gdbme.c: More code for watchpoint testing.
8358
8359 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8360 "Hardware watchpoint" throughout file.
8361 (test_watchpoint_triggered_in_syscall): New test.
8362 (test_complex_watchpoint): New test.
8363
8364Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8365
8366 * gdbme.c (call_with_trampolines): New function to try and step
8367 into. Tests trampoline problems on the PA.
8368
8369 * funcargs.exp (localvars_in_indirect_call): No longer expect
8370 stepping into indirect call to fail on PAs.
8371 (test_stepping_over_trampolines): New test.
8372
8373Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8374
8375 * TODO: Add suggestions for static member function tests, and
8376 completion tests.
8377
8378Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8379
8380 * TODO: Add suggestions for "p/a" tests.
8381
8382 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8383 (default_gdb_exit): Replace all the hair with sending "quit" to
8384 the process with a simple close.
8385
8386Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8387
8388 * TODO: Add suggestions for shared library tests.
8389
8390Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8391
8392 * TODO: Add suggestions for x/s tests.
8393
8394Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8395
8396 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8397 "enable once", and "enable breakpoints once" with ".*".
8398
8399Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8400
8401 * TODO: Add suggestions about structure passing tests.
8402
8403Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8404
8405 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8406 the primary1 test, use work around if __GNUC__ < 2.
8407 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8408 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8409 Test for bad output rather than waiting for timeout. Issue
8410 second continue only if first continue failed.
8411
8412Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8413
8414 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8415 operator[] test with gdb_test because the old code didn't seem to
8416 be getting the quoting right with the new dejagnu.
8417
8418Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8419
8420 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8421 one from the path.
8422 * Makefile.in: Use a fresh expect if there is one, use runtest
8423 from the src tree if there is one.
beb998c6 8424
c906108c
SS
8425Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8426
8427 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8428 next over recursive call. Revise the tests from that point on
8429 (which had been skipped) to match GDB's actual (correct) output.
8430
8431 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8432 with next over a breakpoint whose condition is false.
8433
8434 * gdb.t00/help.exp: Comment out "help set print" tests just like
8435 (and for same reason as) "help set" test.
8436
8437Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8438
8439 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8440 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8441
8442Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8443
8444 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8445 necessary gdb_target_udi.
8446
8447 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8448
8449 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8450 1838 and 2417; they are fixed.
8451
8452 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8453 gdb.t03/ptype.exp (ptype structure, ptype union):
8454 Remove xfails; the test is looser than when the xfails were added.
8455
8456 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8457 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8458
8459 * gdb.t01/run.exp: Only run shell test if isnative.
8460
8461 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8462 since "run" automatically loads if necessary. Call gdb_target_udi
8463 after the "file" since "file" kills any execution target.
8464
8465 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8466 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8467 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8468 argument for UDI.
8469
8470Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8471
8472 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8473
8474 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8475
8476Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8477
8478 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8479 properly quoting regexps. This makes the second argument to
8480 demangle a fixed string, which matches the callers, instead of a
8481 shell-style pattern which is what the previous implementation
8482 used. Update some of the callers.
8483
8484Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8485
8486 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8487 (comib_nullified_tests): Fix typo.
8488 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8489 strings. No longer expected to fail.
8490
8491 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8492 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8493 strings. No longer expected to fail.
8494
8495 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8496 string. No longer expected to fail.
8497
8498Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8499
8500 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8501 No longer expected to fail.
8502
8503 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8504 string. No longer expected to fail.
8505
8506Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8507
8508 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8509 only in the names (I probably got most of them). I was even
8510 generous with some which differed in underscores in names, and
8511 probably missed a few, and I *still* was able to remove almost a
8512 third of the file with almost no impact on testsuite coverage.
8513
8514Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8515
8516 * gdb.t00/default.exp: Match udi_attach error message as well as
8517 the one from child_attach.
8518
8519 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8520
8521 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8522
8523 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8524 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8525
8526 * Move test with enums and partial symbols back to
8527 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8528 Reverts the change of 26 May 93. Per today's change to
8529 stabs.texinfo, the behavior that weird.exp was expecting was
8530 unreasonable; what is important is that the compiler+gdb get
8531 things right, which happens with a recent gcc. Also fix the test
8532 to deal with native compilers which put out the stab gdb can't
8533 deal with.
8534
8535Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8536
8537 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8538 in the names. The main thing these accomplish is to slow things down.
8539 Many more such duplicates surely remain.
8540
8541 * gdb.t00/help.exp: Comment out "help support" test just like
8542 (and for same reason as) "help set" test.
8543
8544Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8545
8546 * gdb.t06/break.exp: Remove setup_xfails for
8547 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8548 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8549 about known bug in gcc to include up through 2.5.8.
8550 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8551 well as "_vb$".
8552 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8553 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8554 with latest gcc and gdb.
8555 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8556 well as "_vb$".
8557
8558Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8559
8560 * configure.in (hppa*-*-*): Also configure and build stabs-only
8561 tests.
8562
8563Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8564
8565 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8566 * gdb.t10/configure.in (hppa*-*-*): Use it.
8567
8568Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8569
8570 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8571
8572Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8573
8574 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8575 versions prior to 1.13.5.
8576
8577Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8578
8579 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8580 the prompt is at the start of a line.
8581
8582Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8583
8584 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8585 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8586 in the copr tests now.
8587 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8588 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8589 expected to fail.
8590
8591Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8592
8593 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8594 gdb.t31/chillvars.exp, lib/gdb.exp:
8595 Tweak to run under either version of expect.
8596 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8597 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8598 * gdb.t11/list.exp: Remove extraneous whitespace.
8599
8600Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8601
8602 * gdb.t16/printcmds.exp (test_print_strings): Accept
8603 "(unsigned char *) " before the string.
8604
8605 * TODO: Add notes about printing of fancy types and GDB expressions.
8606
8607Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8608
8609 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8610 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8611 if doing mips-idt-ecoff.
c906108c
SS
8612
8613Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8614
8615 * Most .exp files: Tweak to run under either version of expect.
8616
8617Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8618
8619 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8620 xfails; I'm not sure why they are failing, but not because of PR 1806.
8621
8622Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8623
8624 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8625 defined in lib/gdb.exp.
8626
8627Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8628
8629 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8630 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8631 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8632 have to be typeless.
8633
8634Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8635
8636 * TODO: Add suggestion for copyright year test.
8637
8638Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8639
8640 * configure.in (*-*-lynxos*): Add stabs tests.
8641
8642Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8643
8644 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8645 so insert a tab before any assembler directive in column zero.
8646
8647 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8648 stores.
8649 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8650 stores.
8651 (fpu_short_memory_tests): Likewise.
8652
8653Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8654
8655 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8656 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8657 .stabs directives in comments.
8658
8659Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8660
8661 * TODO: New file, describing tests we could write.
8662 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8663
8664Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8665
8666 * gdb.t06/signals.exp: Add kludge to force re-sync.
8667
8668 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8669 to xgdb instead of gdb, get out of gdb.
8670
8671Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8672
8673 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8674 for info.
8675
8676Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8677
8678 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8679 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8680 * gdb.stabs/hppa.sed: New sed script for the PA.
8681
8682Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8683
8684 * gdb.stabs: Re-write weird.def and configuration to use sed
8685 instead of cpp. sed is portable and POSIX; cpp is neither.
8686
8687Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8688
8689 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8690
8691Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8692
8693 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8694
8695Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8696
8697 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8698 "_vb$".
8699 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8700 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8701
8702Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8703
8704 * lib/gdb.exp: Comment out code which depends on non-existent
8705 `transform' procedure.
8706
8707Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8708
8709 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8710 * lib/gdb.exp: Transform tool name.
8711 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8712 1.1's new error handling system.
8713
8714Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8715
8716 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8717
8718Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8719
8720 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8721 They made pattern matching so slow that timeouts happened on
8722 heavily loaded systems. Now any output from "show print" which
8723 gets us back to the GDB prompt is a PASS.
8724
8725Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8726
8727 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8728
8729Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8730
8731 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8732
8733 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8734 It is not from PR 3220.
8735
8736Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8737
8738 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8739 just started failing because they depended on the order the
8740 subcommands are presented, or exact docstring text. This kind of
8741 test is a pain and has minimal benefit.
8742
8743Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8744
8745 * gdb.t09/corefile.exp: At end of test, use "core" command with
8746 no arguments.
8747
8748Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8749
8750 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8751 17}/Makefile.in: Make it possible to run the testsuite with Sun
8752 make and CC = cross gcc by adding explicit build rules for .o
8753 files.
8754
8755Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8756
8757 * gdb.t15/funcargs.exp: Don't put comments on same line as
8758 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8759
c906108c
SS
8760Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8761
8762 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8763
8764Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8765
8766 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8767 * gdb.t20/inherit.exp: remove three dumplicate entries.
8768
8769Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8770
8771 * gdb.t06/break.exp: For "next over recursive call", fail on any
8772 incorrect output, not just on "factorial (value=2)".
8773
8774Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8775
8776 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8777 working now. Add an xfail if accesing a bss variable causes
8778 a memory error if the target is not yet run.
8779
8780Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8781
8782 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8783 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8784 name of __st* demangling (2 strings). Did Kung really get the
8785 more than 95 others right without testing them?
8786
8787Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8788
8789 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8790
8791Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8792
8793 * configure.in (configdirs): Add gdb.disasm
8794 * gdb.disasm: New directory for GDB disassembler tests.
8795 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8796
8797Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8798
8799 * gdb.t00/help.exp: Don't test "help set".
8800
8801 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8802 from within expect statements. None of these happen anymore and
8803 they cause regressions to be silently unnoticed.
8804
8805 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8806 messages) about known failures with gcc cygnus-2.4.5-930417.
8807
8808 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8809 comp-info.exp so it gets built if it doesn't exist.
8810
8811 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8812 it is no longer used.
8813 * gdb.t13/comp-info.c: Removed.
8814
8815Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8816
8817 * gdb.t06/signals.exp: Add xfail for sun3.
8818
8819Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8820
8821 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8822 relevant because ^C doesn't get sent but failure can be reproduced
8823 interactively).
8824
8825Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8826
8827 * gdb.stabs/alpha.mt: New configuration file for alpha.
8828 * gdb.stabs/configure.in: Use it.
8829 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8830 sharing with alpha.mt, redefine long to word via preprocessor.
8831 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8832 for alpha.
8833 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8834 native cc.
8835 * gdb.t00/teststrategy.exp: Change expect string so that we
8836 consume the `(xgdb)' from the command echo and from the gdb prompt.
8837 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8838 gdb currently compares all values as long, so this failure probably
8839 applies to any configuration where LONGEST is bigger than a target int.
8840 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8841 with gcc.
8842 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8843 to handle opaque pointers, gcc is.
8844 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8845 as first argument. Include <sys/types.h> and change all operator
8846 new definitions to use size_t.
8847 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8848 now that we use size_t.
8849
8850Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8851
8852 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8853 a long or float array cast all array members to the same type.
8854 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8855 with 64 bit longs.
8856 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8857 on alpha.
8858 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8859
8860Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8861
8862 * gdb.t24 (demangle.exp): Constructors of templates have names like
8863 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8864 section 14.6 of the ARM.
8865
8866 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8867 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8868 accomplish little and slow down the testsuite.
8869
8870 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8871 Accept spaces various places.
8872
8873Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8874
8875 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8876 with watchpoint enabled.
8877
8878 * Makefile.in: Remove definition of CC and remove the second
8879 definition of CXX (the "CXX = gcc" one remains). These definitions
8880 were causing backquotes to be expanded within backquotes, which
8881 doesn't work.
8882
8883Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8884
8885 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8886
8887Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8888
8889 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8890 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8891 by mips cc and contains no stabs entries.
8892
8893Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8894
8895 * config/vx-gdb.exp: Use fake device to load files rather than
8896 NFS.
8897 * lib/gdb.exp: New proc to do "file" command.
8898 * config/unix-gdb.exp: Use new "file" proc.
8899
8900Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8901
8902 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8903 Rework board rebooting slightly.
8904 (gdb_exit): Don't exit from the remote shell; there isn't one.
8905 * gdb.stabs/weird.exp: If a program is being debugged already,
8906 kill it.
8907 * gdb.t04/setvar.exp: Stop and restart gdb.
8908 * gdb.t05/expr.exp: Likewise.
8909 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8910 restart gdb and reload the program.
8911 * gdb.t08/opaque.exp: Likewise.
8912 * gdb.t12/scope.exp: Likewise.
8913 * gdb.t13/bitfields.exp: Likewise.
8914 * gdb.t15/funcargs.exp: Likewise.
8915 * gdb.t20/classes.exp: Likewise.
8916 * gdb.t03/ptype.exp: Increase timeout.
8917 * gdb.t16/printcmds.exp (test_print_string_constants,
8918 test_print_array_constants): Likewise.
8919 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8920 * gdb.t20/classes.exp (do_tests): Likewise.
8921 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8922
8923Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8924
8925 * gdb.stabs: Renamed *wierd* to *weird*.
8926
8927Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8928
8929 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8930 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8931
8932Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8933
8934 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8935 (do_tests): Remove xfail for whatis on one_var and two_var.
8936
8937Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8938
8939 * Makefile.in: Made cross building work better by adding
8940 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8941
8942Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8943
8944 * gdb.t15/{return.c,return.exp,Makefile.in}:
8945 New test, currently commented out.
8946
8947Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8948
8949 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8950 still running and removes the leftover named socket so GDb can do
8951 clean restarts.
8952
8953Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8954
8955 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8956 console, not GDB.
8957 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8958 cross testing works better with "make check"
8959 * config/unix-gdb: Use default procedures for exit and version.
8960 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8961 with the newest VxWorks.
8962
8963Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8964
8965 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8966 old form.
8967
8968 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8969 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8970
8971 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8972
8973 * config/unix-gdb.exp: Remove this version of gdb_exit
8974 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8975 Rob says he'll look at it when he gets back to testing boards.
8976
8977Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8978
8979 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8980 an expected fail for certain ptype commands.
8981
8982 * gdb.t20/classes.exp: Update expected results of "ptype class
8983 Base1" to account for the constructor that now appears in the type.
8984
8985Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8986
8987 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8988 disappeared from list.
8989 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8990 "alldone" proc with call to cleanup and exit.
8991 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8992 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8993 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8994 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8995 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8996 "alldone" proc with simple returns that suppress remaining
8997 tests. The alldone proc went away many months ago.
8998
8999Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9000
9001 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9002
9003 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9004
9005Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9006
9007 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9008 as vax gdb will display them.
9009
9010Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9011
9012 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9013 optimizers.
9014
9015 * scope.exp: Change "bad value for localval" messages so each one
9016 is unique.
9017
9018 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9019 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9020
9021 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9022
9023Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9024
9025 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9026 doesn't exist (due to optimization).
9027
9028Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9029
9030 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9031 contains \r because the filename is long.
9032
9033 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9034 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9035
9036Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9037
9038 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9039 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9040 Ultrix.
9041 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9042 int tests.
9043 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9044
9045Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9046
9047 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9048
9049 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9050 to match does not match the passing case but still matches the
c906108c
SS
9051 failing case.
9052
9053Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9054
9055 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9056
9057Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9058
9059 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9060 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9061 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9062 Remove various versions of gdb_exit.
9063 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9064 gdb_exit.
9065 * config/unix-gdb.exp: gdb_exit remains here, and should override
9066 the generic version, since it's doing a lot of wierd stuff that
9067 the other versions aren't. FIXME, fold it in, or abandon this
9068 version.
9069
9070Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9071
9072 * gdb.t24/demangle.exp: Add tests for PR 3220.
9073
9074Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9075
9076 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9077
9078Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9079
9080 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9081 "i386-*-*". Works for i486 as well.
9082
9083 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9084 bug, and expand domain of xfail to all SVR4 systems, since the
9085 actual problem is likely to be in generic SVR4 /proc support.
9086
9087Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9088
9089 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9090
9091Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9092
9093 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9094 xfails for other systems. Match a missing 'Continuing.' as an
9095 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9096
9097 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9098 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9099 Only issue warning for missing executables if -all option is used.
9100
9101 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9102 file if -all option is used. It's like an unpredictable XFAIL.
9103
9104Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9105
9106 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9107 for dynamically linked binaries.
9108
9109 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9110
9111Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9112
9113 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9114 to state that this is a known bug in old versions of g++.
9115
9116Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9117
9118 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9119 while waiting for `Continuing'.
9120
9121Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9122
9123 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9124 in text, data, and bss.
9125 * gdb.t10/nodebug.c: Add local and global test variables for
9126 initialized and uninitialized data.
9127
9128Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9129
9130 * config/unix-gdb.exp (gdb_exit): Add "wait".
9131
9132Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9133
9134 * gdb.t06/signals.exp: xfail the continue from the handler for all
9135 targets.
9136
9137 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9138 function with watchpoints enabled, the i386 call dummy starts with
9139 a call.
9140
9141 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9142 386 bsd names its corefiles.
9143
9144Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9145
9146 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9147 compilers don't grok it.
9148 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9149 with small octal ints rather than character constants, which
9150 are signed and might not fit if first promoted to int.
9151
9152Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9153
9154 * gdb.t09/Makefile.in (clean): Remove corefile.
9155
9156Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9157
9158 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9159
9160Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9161 and Jim Kingdon (kingdon@cygnus.com)
9162
9163 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9164 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9165 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9166
9167Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9168
9169 * gdb.t17/interrupt.exp: Add xfail for hppa.
9170
9171Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9172
9173 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9174 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9175 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9176 to determine signed-ness of bitfields and use the result to setup
9177 the xfail.
9178 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9179 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9180 call line is reached if necessary.
9181
9182Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9183
9184 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9185
9186Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9187
9188 * gdb.t06/break.exp: Also test `clear' command.
9189
9190Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9191
9192 * gdb.t00/teststrategy.exp: Remove extra quote.
9193
9194 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9195 watchpoint enabled to be for all non-68k machines.
9196
9197 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9198
9199Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9200
9201 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9202 targets use aout.mt instead of ecoff.mt as gas understands
9203 standard aout format.
9204
9205Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9206
9207 * lib/gdb.exp (runto): Don't insist that function we are running to
9208 was compiled with -g.
9209
9210 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9211
9212 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9213 to get back into the read system call.
9214 Accept leading newline in case where we woke it up.
9215
9216Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9217
9218 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9219 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9220 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9221 enable ecoff configuration.
9222
9223Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9224
9225 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9226
9227Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9228
9229 * gdb.t16/printcmds.exp: Add another printf test.
9230
9231Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9232
9233 * configure.in: If configured -with-stabs on any target, add
9234 stabsdirs to configdirs.
9235
9236Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9237
9238 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9239 fun" so pattern does not match the command itself.
9240
9241Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9242
9243 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9244
9245Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9246
9247 * gdb.t17/interrupt.exp: Test for more things.
9248
9249Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9250
9251 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9252 compiler arranges the code and line numbers.
9253
9254 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9255
9256Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9257
9258 * gdb.t00/help.exp: Increase expect input buffer size.
9259
9260Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9261
9262 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9263
9264 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9265
9266 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9267
9268 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9269 [0-9]*, not just [0-9].
9270
9271Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9272
9273 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9274
9275 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9276
9277Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9278
9279 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9280
9281Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9282
9283 * gdb.t06/signals.c: Add xfails for sun3.
9284
9285 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9286
9287 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9288 test_stepping tests.
9289
9290Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9291
9292 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9293
9294 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9295
9296 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9297 rather than actually putting it through cpp twice.
9298
9299 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9300
9301Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9302
9303 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9304 no longer needed.
9305
9306Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9307
9308 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9309
9310 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9311 C++ features prints as "struct", make it a pass, not an xfail.
9312
9313Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9314
9315 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9316 Don't require VA to print as "class" rather than "struct".
9317
9318Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9319
9320 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9321
9322Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9323
9324 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9325
9326Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9327
9328 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9329 order.
9330
9331Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9332
9333 * gdb.t16/printcmds.exp: Add printf tests.
9334
9335 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9336
9337 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9338
9339Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9340
9341 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9342 pass counts, to counteract any existing or future setup_xfails.
9343
9344Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9345
9346 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9347 {BEGIN,END}_COMMON for common block instead of STAB.
9348 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9349
9350 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9351 intp_var should be N_GSYM not N_LSYM.
9352 wierd-aout.S: Use a label for the value of the N_SO.
9353 wierd.def: Remove all backslashes.
9354 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9355
9356Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9357
9358 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9359 get the expected next to inheritance3.
9360
9361Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9362
9363 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9364 now that gcc-2.4 gets it right.
9365
9366Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9367
9368 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9369
9370 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9371 generating comp-info.exp which works for cross-compilation.
9372
9373Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9374
9375 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9376 "*-*-sysv4.*".
9377
9378Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9379
9380 * gdb.t01/run.exp: Start with a fresh gdb.
9381 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9382 SVR4.x.
9383
9384Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9385
9386 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9387 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9388 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9389 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9390 things to remove.
9391
9392Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9393
9394 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9395 test cases from bug reports.
9396
9397Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9398
9399 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9400 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9401 avoid spurious xfails.
9402 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9403 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9404 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9405
9406Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9407
9408 * gdb.t00/teststrategy.exp: Rework to provide more useful
9409 description of each test, fix problem with systems that define
9410 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9411 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9412 results for "next over recursive call" so timeouts aren't taken
9413 by error.
9414
9415Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9416
9417 * gdb.t12/scope.exp: Test printing of variables before run.
9418
9419 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9420 printed in wrong order due to sorting.
9421
9422Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9423
9424 * gdb.t00/teststrategy.exp: Fix expected results for printing
9425 user entered string constant. Is array of char, prints with no
9426 address.
9427
9428 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9429 commands.
9430 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9431 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9432 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9433 of struct of char arrays.
9434 * gdb.t00/radix.exp: New tests for radix commands.
9435
9436Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9437
9438 * gdb.t16/printcmd.exp: Print a variable before running program
9439 (with xfail for AIX).
9440
9441Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9442
9443 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9444
9445 * gdb.t16/printcmd.exp: Don't print variables before running program.
9446
9447 * gdb.t06/break.exp: Don't require envp argument to main.
9448
9449 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9450
9451 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9452 Add xfails for rs6000.
9453
9454 * gdb.t02/whatis.exp: Change other tests not to re-test something
9455 we already tested.
9456
9457 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9458 each type used has a variable of that type.
9459
9460Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9461
9462 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9463
9464Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9465
9466 * configure.in: change srctrigger to be a file, not a directory
9467
9468Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9469
9470 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9471
9472 * gdb.t11/list.exp: Fixed a couple of typos.
9473
9474Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9475
9476 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9477 is fixed and PR is closed.
9478 * gdb.t16 (gdbme.c): Add simple test string variable.
9479 * gdb.t16 (printcmds.exp): Add tests with simple test string
9480 variable, primarily for boundaries on "set print elements".
9481
9482Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9483
9484 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9485 Make leading 0's optional and don't expect a tab in the middle
9486 of the number.
9487
9488 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9489
9490 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9491 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9492 don't end command passed to gdb_test with newline.
9493
9494 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9495 signed keyword away, don't expect signed bitfields to be signed.
9496
9497 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9498 printing with only as many 1's as are in the field as well as printing
9499 with 32 1's (see comment).
9500
9501Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9502
9503 * gdb.t00/default.exp: Start with a fresh gdb.
9504 * configure.in (configdirs): Remove gdb.t31 until the chill
9505 compiler works again. It no longer is able to find chillrt0
9506 since it isn't in libchill.a anymore.
9507 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9508 wierd.o, make more modular.
9509 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9510 spurious newlines that caused problems.
9511
9512Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9513
9514 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9515 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9516 gdb.stabs/wierd.{exp,def}: Many new tests.
9517
9518 * gdb.t00/default.exp: update info line for new message.
9519
9520 * gdb.t02/{whatis.exp,gdbme.c}:
9521 Test that "char *" doesn't print as "caddr_t".
9522
9523Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9524
9525 * gdb.t00/help.exp: Use .* in place of some help messages which
9526 just changed.
9527 gdb.t00/default.exp: Update "info frame" test for new message.
9528 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9529 Remove some xfails
9530
9531Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9532
9533 * gdb.t03/{gdbme.c,ptype.exp}:
9534 Add tests for typedef'd struct and union without tags.
9535 Also check "whatis" on a variable of a typedef'd enum without a tag.
9536
9537 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9538 PRMS 1823; the bug still exists but isn't reproduced by this test
9539 anymore), and remove rs6000 XFAIL (the bug is fixed).
9540
9541 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9542 duplicated from whatis.exp. For those that are left, accept
9543 "long", "long int", or "int" for long variables (whatis.exp already
9544 has an XFAIL for "int", so no need to fail it here).
9545
9546 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9547 Deal with GCC's names for types now that GDB uses the compiler's names.
9548
9549 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9550 setup_xfail's for sunos4. If we #defined the signed keyword away,
9551 don't expect GDB to know that char it is signed.
9552
9553 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9554
9555Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9556
9557 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9558 should work on any system, regardless of debugging format.
9559 * gdb.t21/demangle.exp: Move to gdb.t24.
9560 * gdb.t24/demangle.exp: Move from gdb.t21.
9561 * gdb.t24/{Makefile.in, configure.in}: New files.
9562
9563Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9564
9565 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9566 * gdb.stabs: New directory.
9567
9568Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9569
9570 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9571 not just "Quit anyway?".
9572
9573Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9574
9575 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9576 that all setup_xfails are immediately followed by clear_xfails.
9577
9578Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9579
9580 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9581 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9582 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9583 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9584 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9585 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9586 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9587 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9588 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9589 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9590 gdb.t31/chillvars.exp, lib/gdb.exp:
9591 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9592 bug-gdb@prep.ai.mit.edu.
9593
9594Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9595
9596 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9597 with 0.0, not integer 0.
9598
9599Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9600
9601 * gdb.t06/break.exp: Update for "Kill the program" message change.
9602
9603Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9604
9605 * Makefile.in (GDBFLAGS): Set to -nx.
9606 * Makefile.in (site.exp): Use GDBFLAGS.
9607
9608Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9609
9610 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9611 Makefiles.
9612 (check): depend on just-check.
9613 (just-check): added so that tests can be run without a noop
9614 build pass.
9615
9616Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9617
9618 Switch to using configure's configdirs.
9619 * Makefile.in (Makefile): add configure.in dependency.
9620 (SUBDIRS): removed redundant assignment.
9621 * configure.in: switch subdirs assignment to configdirs.
9622 * gdb.t*/configure.in: new files.
9623
9624Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9625
9626 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9627 works.
9628
9629Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9630
9631 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9632 in explicit rules. Apparently this is not supported by some makes.
9633
9634Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9635
9636 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9637
9638Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9639
9640 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9641 disappeared.
9642
9643Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9644
9645 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9646
9647Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9648
9649 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9650 watchpoint problem that is now fixed.
9651 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9652 uninitialized convenience variables.
9653 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9654 structures.
9655
9656Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9657
9658 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9659 which causes expect to get out of sync with gdb on long output
9660 from help set.
9661 * gdb.t09/corefile.exp: Make expected pattern for core file
9662 failing signal and frame output format less sun specific.
9663
9664Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9665
9666 * gdb.t31/chillvars.exp: Add and remove initial dummy
9667 breakpoint, so that symbol table is forced in.
9668 (Needed at least on Sunos4, though it seems not SVR4.)
9669 * gdb.t31/chillvars.exp: Update for changed output format.
9670
9671Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9672
9673 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9674
9675Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9676
9677 * Makefile.in: Added --srcdir when invoking runtest, removed the
9678 need for a local config file. (optional now)
9679
9680Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9681
9682 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9683 failure count used to force early termination. Add some more
9684 expected failures for gnu style demangling.
9685
9686Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9687
9688 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9689 pmi variable from gdb.t20/gdbme to get optimized away.
9690 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9691 Check for written corefile upon timeout _and_ eof.
9692
9693Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9694
9695 * config/unix-gdb.exp: Add missing return 0.
9696
9697Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9698
9699 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9700 test termination.
9701
9702Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9703
9704 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9705 disappeared.
9706
9707Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9708
9709 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9710 time as i860 support works.
9711
beb998c6 9712 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9713 "backtrace 100\r" rather than just "backtrace\r", to match last
9714 change.
9715
9716Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9717
9718 * config/udi-gdb.exp (gdb_exit): Remove close command.
9719 (gdb_target_udi): New procedure to set the UDI target.
9720 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9721 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9722 Added waits for prompts after several question responses. Added
9723 some more responses used by a29k-amd-udi-gdb.
9724 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9725 pass different arguments, restart UDI connection after program
9726 completion.
9727 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9728 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9729 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9730 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9731 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9732 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9733 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9734 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9735 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9736 after program completion.
9737 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9738 compiled with a SELECT_VECS setting.
9739 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9740 infinite recursion.
9741
9742 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9743 Added checks for COFF results, and made them expected failures for
9744 all targets. It would be better to make them expected failures
9745 for COFF targets only.
9746
9747Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9748
9749 * Makefile.in: add null dvi target, don't bother to recurse
9750 through test directories for info and install-info; rename
9751 $(datadir) to be dejagnu instead of deja-gnu
9752
9753Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9754
9755 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9756 compiler to coredump.
9757 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9758 code.
9759
9760Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9761
9762 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9763 coredump.
9764 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9765 code.
9766
9767Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9768
9769 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9770 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9771 which in a shell. Deletes xgdb when done.
9772 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9773 Tests the return from the "set height" or "set width" commands.
9774 Added a few return codes where needed.
9775
9776Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9777
9778 * Makefile.in (SUBDIRS): Add gdb.t17.
9779 * configure.in (subdirs): Add gdb.t17.
9780 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9781 files to test gdb's calling of functions in the inferior with
9782 the correct arguments and gdb's ability to retrieve any
9783 result returned.
9784
9785Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9786
9787 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9788 may be called after gdb goes away. Previous versions of expect
9789 needed these to avoid file descriptor leaks, but they cause
9790 errors with the current revision of expect.
9791 * gdb.t00/gdbvars.exp: Use -re on expected output after
9792 setting sevenbit-strings.
9793 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9794 to set sevenbit-strings consistent across tests.
9795 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9796 set sevenbit-strings consistent across tests.
9797
9798Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9799
9800 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9801 expected output to match current "expect" expectations.
9802
9803Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9804
9805 * gdb.t00/default.exp: Change expected output for default "source"
9806 command, to match new gdb behavior which requires a filename to
9807 source.
9808
9809Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9810
9811 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9812 expected fail for i486-*-* that misses the marker2 function.
9813 * gdb.t10/crossload.exp (bfddefault): Allow successful
9814 recognition of a format to pass even if no symbols are found.
9815 Explicitly catch failures where the format is not recognized
9816 or is ambiguous, and add the reason to the fail message.
9817 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9818 the cause is and invalid target and add reason to failure message.
9819 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9820 elf32-i386, elf32-sparc, and elf32-i860.
9821 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9822 Set up expected failure for 'filename'::variable scope resolution,
9823 which is now apparently broken on all targets.
9824 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9825 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9826 gdb.t23/templates.exp: Change failure for missing binfile into
9827 just a warning.
9828 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9829 references.
9830
9831Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9832
9833 * gdb.t00/default.exp: Add expected output for default "source"
9834 command, to match new gdb behavior.
9835 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9836
9837Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9838
9839 * config/*-gdb.exp: returns an error, rather than exiting on
9840 internal errors.
9841
9842Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9843
9844 * gdb.t03/gdbme.c: Add pointer to struct variable.
9845 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9846 referencing struct members.
9847
9848Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9849
9850 * configure.in (mips-idt-ecoff): New target.
9851 * config/mips-gdb.exp: New file for remote board using MIPS remote
9852 debugging protocol.
9853
9854 * Redid configuration scheme. Removed gdb.t*/configure.in.
9855 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9856 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9857 distclean targets. Built executables via .o files. Adjusted
9858 tests to account for source files in $(srcdir) rather than
9859 $(objdir).
9860 * lib/gdb.exp (runto): Don't expect () after the function name,
9861 because it may have arguments.
9862
9863Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9864
9865 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9866 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9867 expected failures for mips-idt-* and mips-sgi-*.
9868 * gdb.t00/default.exp (attach): Kill process if requested.
9869 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9870 that does not read core files.
9871 * gdb.t01/run.exp: Removed checks for exit status code.
9872 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9873 it is linked in.
9874 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9875 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9876 appropriate, rather than doing it by hand.
9877 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9878 execution.
9879 * gdb.t10/crossload.exp: Kill existing program if needed.
9880 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9881 appropriate, rather than doing it by hand. Always increase
9882 timeout for this test, not just for VxWorks.
9883
9884Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9885
9886 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9887 of Chill STRUCT types and STRUCT values.
9888 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9889 than "char".
9890 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9891 struct2): New struct definitions and initializations to test
c906108c
SS
9892 simple Chill STRUCT types.
9893
9894Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9895
9896 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9897 the null byte at the end of strings.
9898 * gdb.t00/default.exp: Make show version insensitive to copyright
9899 date.
9900 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9901 to avoid dependencies on target char signedness.
9902 * gdb.t16/printcmds.exp: Update expected results for explicitly
9903 unsigned char.
9904 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9905 now work.
9906 * gdb.t21/demangle.exp: Add many more patterns for template
9907 demangling, most of them being expected failures.
9908 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9909 string we are matching for, to match on the whole string.
9910 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9911 and fix a whole bunch that had incorrect expected output but were
9912 passing anyway because of the bug in "proc demangle".
9913 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9914 type.
9915 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9916
9917Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9918
9919 * gdb/testsuite: made modifications to testcases, etc., to allow
9920 them to work properly given the reorganization of deja-gnu and the
9921 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9922
9923Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9924
9925 * gdb/testsuite: Initial creation of gdb/testsuite.
9926 Migrated dejagnu testcases and support files for testing nm to
9927 gdb/testsuite from deja-gnu. These files were moved "as is"
9928 with no modifications. This migration is part of a major overhaul
9929 of dejagnu. The modifications to these testcases, etc., which
9930 will allow them to work with the new version of dejagnu will be
9931 made in a future update.
9932\f
9933Local Variables:
9934mode: indented-text
9935left-margin: 8
9936fill-column: 74
9937version-control: never
9938End: