* gdb.base/args.exp: Expect .exe in output.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d67a6ba5
CV
12003-03-20 Corinna Vinschen <vinschen@redhat.com>
2
3 * gdb.base/args.exp: Expect .exe in output.
4
a955b5bb
CV
52003-03-20 Corinna Vinschen <vinschen@redhat.com>
6
7 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
8 Cygwin native.
9
bf6bad4b
AC
102003-03-17 Andrew Cagney <cagney@redhat.com>
11
12 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13 vector registes.
14 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16
293e9a31
DC
172003-03-17 David Carlton <carlton@math.stanford.edu>
18
19 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
20 test, for PR breakpoints/38.
21 Call test_watchpoint_and_breakpoint.
22 * gdb.base/watchpoint.c (func3): New function.
23 (main): Call func3.
24
5330f2db
DC
252003-03-04 David Carlton <carlton@math.stanford.edu>
26
27 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
28 Garply<Garply<char> >:: garply".
29 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
30 with respect to PR c++/1111; note also PR c++/1113.
31 (test_template_breakpoints): KFAIL "constructor breakpoint" with
32 respect to PR c++/1062.
33 KFAIL "destructor breakpoint" with respect to PR c++/1112.
34
6ece72da
DC
352003-03-03 David Carlton <carlton@math.stanford.edu>
36
37 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
38 with respect to PR c++/57.
39 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
40 c++/826.
41 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
42 respect to PR c++/57.
43
85ca1584
DC
442003-03-03 David Carlton <carlton@math.stanford.edu>
45
46 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
47 respect to PR c++/33 into FAILs.
48
98e9c5b8
MC
492003-03-03 Michael Chastain <mec@shout.net>
50
7bedbf27
MC
51 * configure.in: Update copyright years.
52
532003-03-03 Michael Chastain <mec@shout.net>
54
55 * Makefile.in: Update copyright years.
98e9c5b8 56
f683e100
DC
572003-02-28 David Carlton <carlton@math.stanford.edu>
58
59 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
60 print class instead of struct and/or superfluous protection
61 specifiers, as long as the resulting output is equivalent to the
62 source code.
63 Delete FIXME from end of messages on tests that don't need
64 fixing.
65
a9e0cf2c
DC
662003-02-28 David Carlton <carlton@math.stanford.edu>
67
68 * gdb.c++/templates.exp (do_tests): Allow const in the two
69 Foo<volatile char *>::foo tests.
70
e8d359df
MS
712003-02-27 Michael Snyder <msnyder@redhat.com>
72
73 * gdb.base/restore.c (main): Return zero, so exit code
74 will be consistant.
75
0b71dc91
DC
762003-02-26 David Carlton <carlton@math.stanford.edu>
77
78 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
79 char *>::foo" test with respect to PR c++/33. Create a new test
80 which is identical to that one except that it doesn't put the
81 space between the "char" and the "*"; KFAIL it, too.
82
dd14ab43
DC
832003-02-26 David Carlton <carlton@math.stanford.edu>
84
85 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
86 template types into either PASSes or KFAILs (corresponding to PR
87 c++/57). Tweak indentation. Update copyright.
88
1146c7f1
SC
892003-02-23 Stephane Carrez <stcarrez@nerim.fr>
90
91 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
92
74641dfb
MC
932003-02-13 Michael Chastain <mec@shout.net>
94
95 * gdb.base/exprs.exp: Remove i960 remnants.
96 * gdb.base/funcargs.exp: Likewise.
97 * gdb.base/list.exp: Likewise.
98 * gdb.base/ptype.exp: Likewise.
99
559cd2d0
DC
1002003-02-14 David Carlton <carlton@math.stanford.edu>
101
102 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
103 pEe->D::vg()" from XFAIL to KFAIL.
104
c4f90d87
JM
1052003-02-13 Jason Molenda (jmolenda@apple.com)
106
107 * gdb.base/maint.exp: Update maint print statistics regexp to include
108 new entries.
109
cbc4d97c
MC
1102003-02-13 Michael Chastain <mec@shout.net>
111
112 * gdb.c++/inherit.exp: Remove call to get_debug_format.
113
40f235b7
MC
1142003-02-12 Michael Chastain <mec@shout.net>
115
116 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
117 * gdb.c++/inherit.exp: Likewise.
118 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
119 * gdb.c++/templates.exp: Likewise.
120 * gdb.c++/virtfunc.exp: Likewise.
121
c56716b0
JM
1222003-02-06 Jason Molenda (jason-cl@molenda.com)
123
124 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
125 why the code is written that way.
126
070afcf8
MC
1272003-02-05 Michael Chastain <mec@shout.net>
128
129 * gdb.base/dump.exp: Add missing copyright line.
130
5d0331e5
JM
1312003-02-05 Jason Molenda (jason-cl@molenda.com)
132
f7ae6d3e 133 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
134 at the beginning so the breakpoint doesn't get set on the loop.
135
92851186
MC
1362003-02-05 Michael Chastain <mec@shout.net>
137
138 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
139 output for configurations with gcc 2.95.3.
140
cbf1e085
AC
1412003-02-05 Keith Seitz <keiths@redhat.com>
142 Andrew Cagney <ac131313@redhat.com>
143
144 * gdb.mi/mi-cli.exp: New file.
145
29518e1e
MC
1462003-02-04 Michael Chastain <mec@shout.net>
147
148 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
149 Call perror and then continue.
150
5af1d5f3
MC
1512003-02-03 Michael Chastain <mec@shout.net>
152
153 * gdb.c++/pr-1023.cc: New file.
154 * gdb.c++/pr-1023.exp: New file.
155
6b549786
JB
1562003-02-05 Jim Blandy <jimb@redhat.com>
157
158 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
159 it's local to foobar. Check for it there, and check that it's not
160 present in main.
161 * gdb.c++/local.cc (marker2): New function.
162 (foobar): Call marker1.
163 (main): Call marker2 instead of marker1.
164
67f16606
AC
1652003-02-04 Andrew Cagney <ac131313@redhat.com>
166
167 * gdb.disasm/mn10200.exp: Obsolete file.
168 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
169 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
170 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
171
1c5cb38e
DC
1722003-02-04 David Carlton <carlton@math.stanford.edu>
173
174 * gdb.c++/overload.exp: Test intToChar(1).
175 * gdb.c++/overload.cc (intToChar): New.
176 (main): Call intToChar.
177
d1fe6965
DC
1782003-02-03 David Carlton <carlton@math.stanford.edu>
179
180 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
181 'might_kfail' arg.
182 KFAIL some of the continue_to_bp_overloaded calls, according to
183 PR c++/1025.
184
9ba61c5d
MC
1852003-02-01 Michael Chastain <mec@shout.net>
186
187 * gdb.base/advance.c (marker1): New marker function.
188 * gdb.base/advance.exp: When the 'advance' command lands on the
189 return breakpoint, it can legitimately stop on either the
190 current line or the next line. Accommodate both outcomes.
191 * gdb.base/until.exp: Likewise.
192
e7494ffb
AC
1932003-02-02 Andrew Cagney <ac131313@redhat.com>
194
195 2002-11-10 Jason Molenda (jason-cl@molenda.com):
196 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
197 now a list, not a tuple.
198 * gdb.mi/mi-var-display.exp: Ditto.
199 * gdb.mi/gdb792.exp: Ditto.
200
075559bc
AC
2012003-02-01 Andrew Cagney <ac131313@redhat.com>
202
203 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
204 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
205 stack backtraces.
206 * gdb.mi/mi-syn-frame.c: Part of same.
207
2bd4c7b1
MK
2082003-02-01 Mark Kettenis <kettenis@gnu.org>
209
210 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
211 gdb.mi/mi1-pthreads.exp: Return instead of calling
212 gdb_suppress_entire_file.
213
eabd8992
MS
2142003-02-01 Mark Salter <msalter@redhat.com>
215
216 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
217
71469e2f
MS
2182003-01-31 Mark Salter <msalter@redhat.com>
219
220 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
221 Support empty arg.
222
38a94d44
MC
2232003-01-30 Michael Chastain <mec@shout.net>
224
225 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
226 This was a workaround for a UTF-8 bug in readline 4.3. The bug
227 has been fixed in gdb/readline on 2003-01-09.
228
19ea9e73
MS
2292003-01-29 Michael Snyder <msnyder@redhat.com>
230
e8d359df
MS
231 * gdb.base/maint.exp: Allow for leading underscore in symbol.
232 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
233 * gdb.base/args.exp: Skip if target does not support args passing.
234
2307bd6a
DJ
2352003-01-22 Daniel Jacobowitz <drow@mvista.com>
236
19ea9e73 237 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
238 gdb_test. Accept a list of expect arguments as the third
239 parameter.
240 (gdb_test): Use it.
241
f2dd3617
EZ
2422003-01-20 Elena Zannoni <ezannoni@redhat.com>
243
244 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
245 allow for different test tree configurations. Update some
246 tescases accordingly.
247 * gdb.arch/altivec-regs.exp: Ditto.
248 * gdb.asm/asm-source.exp: Ditto.
249 * gdb.base/advance.exp: Ditto.
250 * gdb.base/display.exp: Ditto.
251 * gdb.base/long_long.exp: Ditto.
252 * gdb.base/mips_pro.exp: Ditto.
253 * gdb.base/overlays.exp: Ditto.
254 * gdb.base/relocate.exp: Ditto.
255 * gdb.base/setshow.exp: Ditto.
256 * gdb.base/step-line.exp: Ditto.
257 * gdb.base/step-test.exp: Ditto.
258 * gdb.base/until.exp: Ditto.
259 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
260
c71cdefd
DC
2612003-01-17 David Carlton <carlton@math.stanford.edu>
262
263 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
264 corresponding to PR c++/945.
265 Update copyright.
266
fdba05d7
DC
2672003-01-17 David Carlton <carlton@math.stanford.edu>
268
269 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
270 corresponding to PR c++/68.
271
2722003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
273
274 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
275 (test_paddr_hairy_functions): Call print_addr_2_kfail for
276 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
277
c362c33a
EZ
2782003-01-15 Elena Zannoni <ezannoni@redhat.com>
279
0fbc361c
EZ
280 * gdb.base/break.exp: Fix change of default location, because of
281 removal of until tests.
282 * gdb.base/help.exp: Update test for new 'until' help message.
283 Add test for help on 'advance'.
c362c33a
EZ
284 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
285
dabf8a35
MK
2862003-01-15 Mark Kettenis <kettenis@gnu.org>
287
288 * gdb.base/default.exp: Adapt "info float" test for recent changes
289 to that command. Add test for "info vector".
290 * gdb.base/float.exp: New file. Add test for "info float" that
291 resembles the old test in gdb.base/default.exp.
292
a1769aca
DC
2932003-01-15 David Carlton <carlton@math.stanford.edu>
294
295 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
296
82025e13
EZ
2972003-01-15 Elena Zannoni <ezannoni@redhat.com>
298
299 * gdb.base/break.exp: Move the tests of until command from here...
300 * gdb.base/until.exp: ... to here. New file. Add other tests.
301 * gdb.base/advance.c: New file.
302 * gdb.base/advance.exp: New file.
303
8f9ab801
EZ
3042003-01-14 Elena Zannoni <ezannoni@redhat.com>
305
306 * gdb.base/args.c: New file.
307 * gdb.base/args.exp: New file.
308
9ae66589
DJ
3092003-01-14 Daniel Jacobowitz <drow@mvista.com>
310
311 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
312
8d77e5c3
DJ
3132003-01-14 Daniel Jacobowitz <drow@mvista.com>
314
315 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
316
12d2f0a1
DJ
3172003-01-14 Daniel Jacobowitz <drow@mvista.com>
318
319 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
320 dates.
321
6ca37014
DJ
3222003-01-13 Daniel Jacobowitz <drow@mvista.com>
323
324 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
325
b0023472
DJ
3262003-01-13 Daniel Jacobowitz <drow@mvista.com>
327
328 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
329 (ptype &*"foo").
330 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
331
d6abaea5
DJ
3322002-01-13 Daniel Jacobowitz <drow@mvista.com>
333
334 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
335 * gdb.mi/mi1-console.exp: Likewise.
336
dfd536a7
DJ
3372002-01-13 Daniel Jacobowitz <drow@mvista.com>
338
339 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
340 * gdb.mi/mi1-console.exp: Likewise.
341
a1fb14a2
DJ
3422003-01-13 Daniel Jacobowitz <drow@mvista.com>
343
344 * gdb.c++/overload.exp: Remove some fixed XFAILs.
345
c4cf40b7
DJ
3462003-01-09 Daniel Jacobowitz <drow@mvista.com>
347
348 * gdb.base/detach.exp: New test.
349
696d5a5b
DJ
3502003-01-09 Daniel Jacobowitz <drow@mvista.com>
351
352 * Makefile.in (ALL_SUBDIRS): New variable.
353 (subdirs, clean, distclean): Use it.
354 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
355 regenerating Makefile, since it is generated from the top level.
356 * gdb.asm/Makefile.in: Likewise.
357 * gdb.base/Makefile.in: Likewise.
358 * gdb.c++/Makefile.in: Likewise.
359 * gdb.disasm/Makefile.in: Likewise.
360 * gdb.java/Makefile.in: Likewise.
361 * gdb.mi/Makefile.in: Likewise.
362 * gdb.threads/Makefile.in: Likewise.
363 * gdb.trace/Makefile.in: Likewise.
364
754533e4
DC
3652003-01-09 David Carlton <carlton@math.stanford.edu>
366
367 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
368 Add copyright year 2003.
369
d8b3e9ee
MC
3702003-01-06 Michael Chastain <mec@shout.net>
371
372 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
373 When selecting a thread, 'line' and 'file' are optional.
374 * gdb.mi/mi1-pthreads.exp: Likewise.
375
8e9e0fe6
AS
3762003-01-06 Andreas Schwab <schwab@suse.de>
377
378 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
379 failures.
380
b5ab8ff3
DJ
3812003-01-04 Daniel Jacobowitz <drow@mvista.com>
382
383 Fix PR gdb/844
384 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
385 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
386
387 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
388 instead of calling gdb_suppress_entire_file.
389 * gdb.threads/print-threads.exp: Likewise.
390 * gdb.threads/schedlock.exp: Likewise.
391
392 * gdb.threads/killed.exp: Return instead of calling
393 gdb_suppress_entire_file.
394 * gdb.threads/linux-dp.exp: Likewise.
395 * gdb.threads/pthreads.exp: Likewise.
396
1e698235
DJ
3972003-01-04 Daniel Jacobowitz <drow@mvista.com>
398
399 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
400 stabs.
401 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
402 * gdb.base/whatis.exp: Always allow (void) after function names.
403
147ff08c
DJ
4042003-01-04 Daniel Jacobowitz <drow@mvista.com>
405
406 * gdb.c++/casts.exp: Correct regexp.
407
dc62bfc2
MK
4082003-01-04 Mark Kettenis <kettenis@gnu.org>
409
410 * configure.in: Call AC_CONFIG_HEADER. Don't call
411 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
412 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
413 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
414 aforementioned directories in the AC_OUPUT call.
415 * config.hin: New file.
416 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
417 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
418 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
419 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
420 pass -I$objdir instead of -I$objdir/$subdir in compilation.
421 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
422 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
423 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
424 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
425 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
426 gdb.threads/configure.in, gdb.threads/configure,
427 gdb.threads/config.in, gdb.trace/configure.in,
428 gdb.trace/configure: Removed.
429
77afa639
MC
4302003-01-03 Michael Chastain <mec@shout.net>
431
432 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
433 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
434
7634bb6e
DJ
4352003-01-03 Daniel Jacobowitz <drow@mvista.com>
436
437 * gdb.base/store.exp: Fix regular expressions.
438
b39c905e
MK
4392002-12-28 Mark Kettenis <kettenis@gnu.org>
440
441 * configure.in: Rewrite.
442 * configure: Regenerated.
443
0a8551dd
DC
4442003-01-03 David Carlton <carlton@math.stanford.edu>
445
446 * gdb.base/psymtab.exp: New file.
447 * gdb.base/psymtab1.c: Ditto.
448 * gdb.base/psymtab2.c: Ditto.
449
c60b7188
AF
4502002-12-23 Adam Fedor <fedor@gnu.org>
451
452 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
453
ee73db83
DC
4542002-12-23 David Carlton <carlton@math.stanford.edu>
455
456 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
457 and current_directory initialization.
458
d6c1774e
JB
4592002-12-22 Jim Blandy <jimb@redhat.com>
460
f0a847b8
JB
461 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
462 rather than as part of the output file name.
463
d6c1774e
JB
464 * gdb.base/attach.exp: There's no need to copy the test program to
465 /tmp; that was only ever necessary on HP/UX, and this test is
466 entirely disabled there anyway.
467
f0708dbb
JB
4682002-12-21 Jim Blandy <jimb@redhat.com>
469
4c2acfea
JB
470 * gdb.c++/psmang.exp: Doc fix.
471
f0708dbb
JB
472 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
473 test.
474
9579e000
DC
4752002-12-20 David Carlton <carlton@math.stanford.edu>
476
477 * gdb.c++/annota2.exp: KFAIL annotate-quit.
478
d1810171
MC
4792002-12-18 Michael Chastain <mec@shout.net>
480
481 * gdb.c++/annota2.exp: Add copyright year 2002.
482
76565097
DC
4832002-12-17 David Carlton <carlton@math.stanford.edu>
484
485 * gdb.c++/try_catch.cc: Add marker comments.
486 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
487 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
488 * gdb.c++/m-static.cc: Ditto.
489 * gdb.c++/m-static1.cc: Ditto.
490 * gdb.c++/try_catch.cc: Ditto.
491
da81390b
JJ
4922002-12-16 Jeff Johnston <jjohnstn@redhat.com>
493
494 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
495 to see whether we are using the new -environment-directory
496 command which resets via -r or the old version of the command
497 which may prompt the user. Part of fix for gdb/741.
498
b304d130
AC
4992002-12-13 Andrew Cagney <ac131313@redhat.com>
500
501 * gdb.fortran/types.exp: Update obsolete comment.
502 * gdb.fortran/exprs.exp: Ditto.
503 * lib/gdb.exp: Delete obsolete code.
504 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
505 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
506 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
507 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
508 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
509 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
510 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
511 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
512 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
513 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
514 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
515 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
516 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
517 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
518 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
519 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
520 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
521 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
522 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
523 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
524 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
525 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
526 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
527 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
528 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
529 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
530 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
531 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
532 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
533 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
534 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
535 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
536 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
537 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
538 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
539 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
540 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
541
a23b6e6a
DC
5422002-12-11 David Carlton <carlton@math.stanford.edu>
543
544 * gdb.c++/m-data.exp: Add test for members that shadow global
545 variables: see PR gdb/804.
546 * gdb.c++/m-data.cc: Ditto.
547
6604731b
DJ
5482002-12-10 Daniel Jacobowitz <drow@mvista.com>
549
550 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
551
de46ecd7
DC
5522002-12-06 David Carlton <carlton@math.stanford.edu>
553
554 * gdb.base/store.c: Don't declare functions static.
555
27e829d0
AC
5562002-12-04 Andrew Cagney <ac131313@redhat.com>
557
558 * gdb.base/store.exp, gdb.base/store.c: New files.
559
92806416
DJ
5602002-12-03 Daniel Jacobowitz <drow@mvista.com>
561
562 * gdb.base/selftest.exp: Update for current gdb.
563
3bcbaac5
DJ
5642002-12-03 Daniel Jacobowitz <drow@mvista.com>
565
566 * gdb.base/maint.exp: Only dump symbols from one source file
567 or objfile.
568
f4f00b1f
DJ
5692002-12-03 Daniel Jacobowitz <drow@mvista.com>
570
571 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
572 function call.
573
f1c8a949
JB
5742002-11-25 Jim Blandy <jimb@redhat.com>
575
576 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
577 function appearing in error message.
578
9e297a97
DJ
5792002-11-21 Daniel Jacobowitz <drow@mvista.com>
580
581 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
582
1f312e79
JJ
5832002-11-08 Jeff Johnston <jjohnstn@redhat.com>
584
585 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
586 for mi1 and current mi is in correct format. New mi startup message
587 should be in mi console format. This is part of fix for PR gdb/604.
588
83c31e7d
FN
5892002-09-18 Fernando Nasser <fnasser@redhat.com>
590
591 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
592 which explicitly prints the zero offset as "+0".
593
322b3f65
DJ
5942002-10-22 Daniel Jacobowitz <drow@mvista.com>
595
596 * gdb.threads/schedlock.c (args): Make unsigned.
597
5982002-10-21 Daniel Jacobowitz <drow@mvista.com>
599
600 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
601 numbers. Allow "foo2|selected stack frame".
602 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
603 * gdb.asm/asmsrc2.s: Likewise.
604 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
605 comments.
606 * gdb.asm/mips.inc: New file.
607
5e2fe5b8
AF
6082002-10-18 Adam Fedor <fedor@gnu.org>
609
610 * gdb.base/default.exp: Update expected output to include 'ObjC'.
611 * gdb.base/help.exp: Likewise.
612
abe1a5d0
KB
6132002-10-17 Kevin Buettner <kevinb@redhat.com>
614
615 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
616 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
617
10abb1d4
JB
6182002-10-02 Jim Blandy <jimb@redhat.com>
619
620 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
621
1f609b42
AC
6222002-10-01 Andrew Cagney <ac131313@redhat.com>
623
624 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
625 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
626 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
627 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
628 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
629 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
630 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
631
0aee02e4
AC
6322002-09-29 Andrew Cagney <ac131313@redhat.com>
633
634 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
635 * mi0-disassemble.exp, mi0-eval.exp: Delete.
636 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
637 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
638 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
639 * mi0-var-block.exp, mi0-var-child.exp: Delete.
640 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
641
6fde09ad
KB
6422002-09-27 Kevin Buettner <kevinb@redhat.com>
643
644 * gdb.base/annota1.exp (info break): Make directory components of
645 path optional since not all compilers emit this debug information.
646
647 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
648 step ends up stepping out of the function instead of stopping on
649 the epilogue.
650
9e8aab75
KS
6512002-09-26 Keith Seitz <keiths@redhat.com>
652
653 * lib/insight-support.exp (gdbtk_start): Figure out where
654 the insight executable is based on where gdb is. Use this
655 executable to start insight instead of gdb.
656
e36180d7
AC
6572002-09-25 Andrew Cagney <cagney@redhat.com>
658
659 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
660
9dd34b2b
AC
6612002-09-24 Andrew Cagney <ac131313@redhat.com>
662
663 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
664 test_isolated_complaints.
665 (test_empty_complaint): New function.
666 (test_empty_complaints): New function. Check no output when no
667 complaints.
668
dea97812
KB
6692002-09-19 Jim Blandy <jimb@redhat.com>
670
671 * gdb.base/charset.exp, gdb.base/charset.c: New files.
672
54951bd7
AC
6732002-09-19 Andrew Cagney <ac131313@redhat.com>
674
675 * gdb.gdb/complaints.exp: New file.
676
dec43320
AC
6772002-09-18 Andrew Cagney <ac131313@redhat.com>
678
679 * gdb.base/maint.exp: Check `help maint internal-warning'.
680
e70d6e3f
DC
6812002-09-18 David Carlton <carlton@math.stanford.edu>
682
683 * gdb.c++/m-static.exp: Remove breakpoints depending on line
684 numbers, and replace them by a single breakpoint after the
685 constructors are all finished.
686 Add test 4.
687 * gdb.c++/m-static.cc: Add test 4.
688 * gdb.c++/m-static.h: New file.
689 * gdb.c++/m-static1.cc: New file.
690
691 * gdb.c++/printmethod.exp: New file.
692 * gdb.c++/printmethod.cc: New file.
693
694 * gdb.c++/pr-574.exp: New file.
695 * gdb.c++/pr-574.cc: New file.
696
afb5c968
CV
6972002-09-18 Corinna Vinschen <vinschen@redhat.com>
698
699 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
700 embedded targets which never actually exit.
701
31e45dee
FN
7022002-09-18 Fernando Nasser <fnasser@redhat.com>
703
704 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
705 "don't step after run" as unresolved or unsupported, instead of xfail.
706
a283c5a1
CV
7072002-09-18 Corinna Vinschen <vinschen@redhat.com>
708
709 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
710 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
711 Add newline to expected string in "step out of main (status wrapper)"
712 case.
713
11350d2a
CV
7142002-09-18 Corinna Vinschen <vinschen@redhat.com>
715
716 * lib/gdb.exp (rerun_to_main): Allow restarting application.
717 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
718
0deec7d6
TT
7192002-09-17 Tom Tromey <tromey@redhat.com>
720
721 * gdb.base/printcmds.exp (test_print_string_constants): Expect
722 \000, not \0, in double-quoted string.
723
b2b4a1b5
CV
7242002-09-14 Corinna Vinschen <vinschen@redhat.com>
725
726 * gdb.base/command.exp: Don't expect a "Program exited normally"
727 string after running the commands execution on breakpoint tests.
728
1c56143a
CV
7292002-09-13 Corinna Vinschen <vinschen@redhat.com>
730
731 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
732
37f8da45
JB
7332002-09-12 Joel Brobecker <brobecker@gnat.com>
734
735 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
736
08b468e0
KS
7372002-09-10 Keith Seitz <keiths@redhat.com>
738
739 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
740 runto proc.
741 (mi_run_to_main): Use mi_runto.
742 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
743
dc360f58
KS
7442002-09-10 Keith Seitz <keiths@redhat.com>
745
746 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
747 regexp for stopping at main. Could have multiple event notifications.
748 Don't assume that main was declared with no parameters.
749 (mi_next): Use mi_step_to.
750 (mi_step): Use mi_next_to.
751
ce3abcfb
CV
7522002-09-09 Corinna Vinschen <vinschen@redhat.com>
753
754 * gdb.base/default.exp: Fix expected string in `info float' test.
755
d1f5b980
BE
7562002-09-09 Ben Elliston <bje@redhat.com>
757
758 * config/mips.exp: Update comments.
759 * config/mips-idt.exp: Likewise.
760 * config/nind.exp: Likewise.
761 * config/slite.exp: Likewise.
762 * config/sparclet.exp: Likewise.
763 * config/udi.exp: Likewise.
764 * config/vx.exp: Likewise.
765 * config/vxworks29k.exp: Likewise.
766
2f71430b
JB
7672002-09-05 Jim Blandy <jimb@redhat.com>
768
769 * gdb.threads/killed.exp: Fix test failure message.
770
7ddebc7e
KS
7712002-09-04 Keith Seitz <keiths@redhat.com>
772
773 * lib/mi-support.exp: Update copyright.
774 (mi_gdb_test): Increase the priority of the expected pattern
775 so that it matches gdb_test.
776
0ae67eb3
KS
7772002-09-03 Keith Seitz <keiths@redhat.com>
778
779 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
780 Use integer comparison instead of string comparison for testing
781 whether binary was built.
782
38fc42c8
JB
7832002-09-03 Jim Blandy <jimb@redhat.com>
784
785 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
786
b6ff0e81
JB
7872002-08-29 Jim Blandy <jimb@redhat.com>
788
789 * gdb.threads/pthreads.exp: Move the portable thread compilation
790 code into a function in lib/gdb.exp, and call that from here.
791 * lib/gdb.exp (gdb_compile_pthreads): New function.
792
07c98896
KS
7932002-08-29 Keith Seitz <keiths@redhat.com>
794
795 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
796 expect_out so that callers can get at it.
797
0312286c
DJ
7982002-08-23 Daniel Jacobowitz <drow@mvista.com>
799
800 * gdb.threads/print-threads.c: New file.
801 * gdb.threads/print-threads.exp: New file.
802 * gdb.threads/schedlock.c: New file.
803 * gdb.threads/schedlock.exp: New file.
804
dd039bc4
EZ
8052002-08-22 Elena Zannoni <ezannoni@redhat.com>
806
807 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
808 not altivec.c.
809
1f36144c
MK
8102002-08-17 Mark Kettenis <kettenis@gnu.org>
811
812 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
813 targets. The problem should be fixed now.
814
16057ec7 8152002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
816
817 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
818 2002-07-24 change that removes final dots from error messages.
819
3c1499ad
TT
8202002-08-13 Tom Tromey <tromey@redhat.com>
821
822 * gdb.base/readline.exp: New file.
823
a20ce2c3
AC
8242002-08-01 Andrew Cagney <ac131313@redhat.com>
825
826 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
827 supress message.
828
db034ac5
AC
8292002-08-01 Andrew Cagney <cagney@redhat.com>
830
831 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
832 CHILL_FOR_TARGET and CHILL_LIB.
833 * configure.in (configdirs): Remove gdb.chill.
834 * configure: Regenerate.
835 * lib/gdb.exp: Obsolete references to chill.
836 * gdb.fortran/types.exp: Ditto.
837 * gdb.fortran/exprs.exp: Ditto.
838
3e000b18
KB
8392002-07-30 Kevin Buettner <kevinb@redhat.com>
840
841 * gdb.base/shlib-call.exp (additional_flags): Conditionally
842 set Irix-specific compile and link flags.
843
28f4966b
KB
8442002-07-29 Kevin Buettner <kevinb@redhat.com>
845
846 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
847 source files. The ``-o'' option doesn't work with the ``-E'' option
848 when using the Irix compiler.
849
46c0d5a6
DJ
8502002-07-19 Daniel Jacobowitz <drow@mvista.com>
851
852 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
853 Improve support for reusing an exec file. Copy exec file
854 to target, and run gdbserver on the target instead of on the host.
855
eecf4bed
JB
8562002-07-18 Jim Blandy <jimb@redhat.com>
857
0f815cdf
JB
858 * gdb.base/ending-run.exp: Don't expect to see the program end in
859 some orderly fashion when we're running on a real stand-alone
860 board.
861
eecf4bed
JB
862 * gdb.base/interrupt.exp: Correct logic for skipping tests on
863 targets that don't support interrupts.
864
52d309e4
JB
8652002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
866
867 * gdb.base/attach.exp: Add patterns to match output from /proc-based
868 systems.
869 Move comments in expect statements to inside the actions, so that they
870 don't get matched against.
871
ff683d9e
MK
8722002-07-10 Mark Kettenis <kettenis@gnu.org>
873
874 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
875 function when asleep" test.
876
b5356753
AC
8772002-07-10 Andrew Cagney <ac131313@redhat.com>
878
879 * gdb.base/page.exp: Rewrite to handle problems with very long
880 `info set' output. Update copyright.
881
6aa4d13a
AC
8822002-06-26 Andrew Cagney <ac131313@redhat.com>
883
884 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
885 gdb.threads-hp.
886 * gdb.hp/configure: Regenerate.
887 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
888 * gdb.hp/gdb.threads-hp/configure: Delete file.
889 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
890
8cf8c2b8
AC
8912002-06-22 Andrew Cagney <ac131313@redhat.com>
892
893 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
894 setlocale, bindtextdomain and textdomain.
895
6827a8f8
JB
8962002-06-11 Jim Blandy <jimb@redhat.com>
897
919d772c
JB
898 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
899 preprocessor macro information is present.
900
6827a8f8
JB
901 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
902 tests.
903
c15b0d21
MS
9042002-06-06 Michael Snyder <msnyder@redhat.com>
905
c5984d70
MS
906 * gdb.base/overlays.exp: Record addresses of overlay
907 functions in TCL variables rather than in GDB variables,
908 to avoid having GDB convert them to pointers (with loss
909 of information).
910
99a8512b
MS
911 * gdb.base/d10v.ld: Merge in several years worth of
912 default linker script changes.
c15b0d21
MS
913 * gdb.base/long_long.exp: Add check for sizeof (long double).
914
be26fe0d
ML
9152002-06-06 Michal Ludvig <mludvig@suse.cz>
916
917 * gdb.asm/asm-source.exp: Add x86-64 target.
918 * gdb.asm/x86_64.inc: New.
919
258093ca 9202002-05-30 Michael Chastain <mec@shout.net>
258093ca 921
4b3153f1 922 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
923 * gdb.c++/m-static.cc: New file.
924 * gdb.c++/m-static.exp: New file.
925
241264c6
MS
9262002-05-28 Michael Snyder <msnyder@redhat.com>
927
928 * gdb.base/call-ar-st.exp: Allow for reduced floating point
929 precision.
930
9bba8c8f 9312002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 932
4b3153f1 933 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
934 * gdb.c++/m-data.cc: New file.
935 * gdb.c++/m-data.exp: New file.
936
9372002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 938
4b3153f1 939 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
940 * gdb.c++/try_catch.cc: New file.
941 * gdb.c++/try_catch.exp: New file.
942
def1b996
MC
9432002-05-27 Michael Chastain <mec@shout.net>
944
945 * gdb.c++/local.exp: Accept more nested types in output.
946
522ba268
MC
9472002-05-26 Michael Chastain <mec@shout.net>
948
949 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
950
277254ba
MS
9512002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
952
953 * lib/gdb.exp (gdb_wrapper_init): Just because
954 gdb_wrapper_file exists, this does not mean that the file
955 should not be rebuilt. That is what gdb_wrapper_initialized
956 is for.
957 (default_gdb_init): Reset gdb_wrapper_initialized.
958
b61a8733
MS
9592002-05-23 Michael Snyder <msnyder@redhat.com>
960
5bdb6d01
MS
961 * gdb.base/all-bin.exp: Revise previous patch by just reducing
962 the precision of the floating point test results.
963 * gdb.base/call-rt-st.exp: Ditto.
964
b61a8733
MS
965 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
966 * gdb.base/call-rt-st.exp: Ditto.
967
56f6e910
MC
9682002-05-19 Michael Chastain <mec@shout.net>
969
970 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
971
ad0b0016
EZ
9722002-05-19 Elena Zannoni <ezannoni@redhat.com>
973
974 * configure.in (configdirs): Add gdb.arch.
975 * configure: Regenerate.
976
f617d2b6
JB
9772002-05-17 Jim Blandy <jimb@redhat.com>
978
979 * gdb.base/completion.exp: Recognize the more detailed error
980 messages produced by the macro expander's lexical analyzer.
981
eac2a696
EZ
9822002-05-14 Elena Zannoni <ezannoni@redhat.com>
983
984 * gdb.arch/altivec-abi.c: New file.
985 * gdb.arch/altivec-abi.exp: New file.
986 * gdb.arch/altivec-regs.c: New file.
987 * gdb.arch/altivec-regs.exp: New file.
988
2fdde8f8
DJ
9892002-05-14 Daniel Jacobowitz <drow@mvista.com>
990
991 * gdb.base/maint.exp (maint print type): Update for new type
992 structure.
eac2a696 993
e31f1a7c
EZ
9942002-05-14 Elena Zannoni <ezannoni@redhat.com>
995
996 * gdb.arch: New directory.
997 * gdb.arch/configure.in: New file.
998 * gdb.arch/configure: New file.
999 * gdb.arch/Makefile.in: New file.
1000
db589741
CV
10012002-05-13 Corinna Vinschen <vinschen@redhat.com>
1002
1003 * gdb.asm/asm-source.exp: Add v850 as supported target.
1004 * gdb.asm/v850.inc: New file.
1005
8ce2a7dc
DJ
10062002-05-13 Daniel Jacobowitz <drow@mvista.com>
1007
1008 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1009
df763c7f
DJ
10102002-05-12 Daniel Jacobowitz <drow@mvista.com>
1011
1012 * gdb.base/break.exp: Check 'break "marker2"'.
1013
377daeed
MS
10142002-05-10 Michael Snyder <msnyder@redhat.com>
1015
1016 * gdb.base/long_long.exp: Fix typo.
1017
c4b7bc2b
JB
10182002-05-10 Jim Blandy <jimb@redhat.com>
1019
ecac9a4e
JB
1020 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1021 a bug.
1022
c4b7bc2b
JB
1023 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1024 Recognize more detailed error message produced by the macro
1025 expander's lexical analyzer.
1026 * lib/gdb.exp (test_print_reject): Same.
1027
e71019a1
MK
10282002-05-09 Mark Kettenis <kettenis@gnu.org>
1029
1030 * gdb.c++/method.exp: Fix typo.
1031
fedfc8e6
MS
10322002-05-08 Michael Snyder <msnyder@redhat.com>
1033
166a1957
MS
1034 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1035 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1036 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1037 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1038 Add iftarget clause for strongarm.
1039
f1c47eb2
MS
10402002-05-06 Michael Snyder <msnyder@redhat.com>
1041
cb9a9d3e
MS
1042 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1043 (gdb_continue_to_end): Accept output from status wrapper.
1044 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1045 Clean up fail messages to match pass messages.
1046
f1c47eb2
MS
1047 Enable the "needs_status_wrapper" testsuite feature.
1048 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1049 (gdb_compile): Conditionally call gdb_wrapper_init.
1050 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1051 * gdb.c++/method.exp: Recognize output from status wrapper.
1052
6079c749
BE
10532002-05-06 Ben Elliston <bje@redhat.com>
1054From Graydon Hoare <graydon@redhat.com>
1055
1056 * config/sid.exp: Include support for "rawsid" protocol.
1057
188baff3
JB
10582002-05-03 Jim Blandy <jimb@redhat.com>
1059
1060 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1061 * gdb.c++/hang3.C: New file.
1062
b9c07f0f
AC
10632002-05-04 Andrew Cagney <ac131313@redhat.com>
1064
1065 * gdb.base/default.exp: Remove obsolete code.
1066 * gdb.c++/misc.exp: Ditto. Update copyright.
1067 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1068 * gdb.base/whatis.exp: Ditto. Update copyright.
1069 * gdb.base/scope.exp: Ditto. Update copyright.
1070 * gdb.base/ptype.exp: Ditto. Update copyright.
1071 * gdb.base/printcmds.exp: Ditto. Update copyright.
1072 * gdb.base/opaque.exp: Ditto. Update copyright.
1073 * gdb.base/list.exp: Ditto.
1074 * gdb.base/funcargs.exp: Ditto. Update copyright.
1075 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1076 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1077 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1078 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1079 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1080 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1081
5c7a0397
MS
10822002-05-02 Michael Snyder <msnyder@redhat.com>
1083
d6dcc264 1084 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1085 * gdb.base/long_long.exp: Add xscale target.
1086 * gdb.base/default.exp: Add xscale target.
1087
eb7f1c48
JB
10882002-05-01 Jim Blandy <jimb@redhat.com>
1089
1090 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1091 gdb.c++/hang.exp: New test.
1092
a6befae8
FF
10932002-05-01 Fred Fish <fnf@redhat.com>
1094
1095 * gdb.base/completion.exp: Handle completions of "./Make" for
1096 more than one completion possibility, as is the case when we
1097 build and test in the source tree.
1098
0a310277
AG
10992002-04-29 Anthony Green <green@redhat.com>
1100
1101 * gdb.java/jmisc1.exp: New file.
1102 * gdb.java/jmisc2.exp: New file.
1103
6ff9af88
DJ
11042002-04-24 Daniel Jacobowitz <drow@mvista.com>
1105
1106 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1107
96b3d632
EZ
11082002-04-23 Elena Zannoni <ezannoni@redhat.com>
1109
1110 * gdb.base/help.exp: Change 'help status' to allow for target
1111 dependent output differences.
1112
5019bb54
MC
11132002-04-22 Michael Chastain <mec@shout.net>
1114
1115 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1116
a805a116
MC
11172002-04-22 Michael Chastain <mec@shout.net>
1118
1119 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1120
a1706bfd
DM
11212002-04-17 David S. Miller <davem@redhat.com>
1122
1123 * gdb.asm/sparc64.inc: New file.
1124 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1125
a73a20a2
EZ
11262002-04-19 Elena Zannoni <ezannoni@redhat.com>
1127
1128 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1129 instruction file directly into the build tree. Clean up at end of
1130 test.
1131
ba678339
DM
11322002-04-18 David S. Miller <davem@redhat.com>
1133
1134 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1135 handle 64-bit platforms correctly.
1136 * gdb.base/maint.exp: Likewise.
1137
b03399da
KB
11382002-04-18 Kevin Buettner <kevinb@redhat.com>
1139
1140 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1141 ``-fpic'' when compiling files comprising a shared library, but
1142 it does need additional linker flags in order to find shared
1143 libraries at run time.
1144
e2004992
KB
11452002-04-18 Kevin Buettner <kevinb@redhat.com>
1146
1147 * gdb.base/cvexpr.c (use): New function.
1148 (main): Invoke use() on all global variables to prevent
1149 some linkers from deleting these otherwise unused symbols.
1150
d8937120
MC
11512002-04-17 Michael Chastain <mec@shout.net>
1152From David S. Miller <davem@redhat.com>
1153
1154 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1155 handle 64-bit platforms correctly.
1156
ffd61a58
MS
11572002-04-12 Michael Snyder <msnyder@redhat.com>
1158From Jim Blandy <jimb@redhat.com>
1159 * gdb.base/foo.c (foox): Remove section attribute; the linker
1160 script can handle this instead.
1161 * gdb.base/bar.c (barx): Same.
1162 * gdb.base/baz.c (bazx): Same.
1163 * gdb.base/grbx.c (grbxx): Same.
1164
1165 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1166 manager doesn't automatically unmap overlays unnecessarily.
1167
6b8426a6
MH
11682002-04-10 Martin M. Hunt <hunt@redhat.com>
1169
1170 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1171 stepping out of main.
1172
34af4875
MC
11732002-04-09 Michael Chastain <mec@shout.net>
1174
1175 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1176 scope so that the nested scope tests will make sense.
1177 * gdb.c++/local.exp: Write patterns that actually work with gcc
1178 (the HP patterns "were never known to work with gcc").
1179 Keep the old aCC patterns too.
1180
2d1676a0
DJ
11812002-04-09 Daniel Jacobowitz <drow@mvista.com>
1182
1183 * gdb.base/attach.exp: Correct target board test.
1184
3a63e3f9
MC
11852002-04-08 Michael Chastain <mec@shout.net>
1186
1187 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1188 in a const method. Add some xfail and fail cases for configurations
1189 that do not emit the "const ...".
1190
f18dabd2
MC
11912002-04-07 Michael Chastain <mec@shout.net>
1192
1193 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1194 Accept "A * const" and "const A * const" as type of "this".
1195 Fix spelling of getFunky throughout. Make messages uniform.
1196
0fcddd82
EZ
11972002-04-07 Elena Zannoni <ezannoni@redhat.com>
1198
1199 Work around for PR gdb/285:
1200 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1201
16a8534a
EZ
12022002-04-07 Elena Zannoni <ezannoni@redhat.com>
1203
1204 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1205 instructions file at run time instead of configure time.
1206 Sometimes we run the test in a directory that is not the one we
1207 configured in.
1208 * gdb.asm/configure.in: Delete creation of symlink.
1209 * gdb.asm/configure: Regenerate.
1210
24181d81
JB
12112002-04-05 J. Brobecker <brobecker@gnat.com>
1212
1213 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1214 xfullpath () function.
1215
7cdb7107
DJ
12162002-04-04 Daniel Jacobowitz <drow@mvista.com>
1217
1218 * gdb.asm/Makefile.in: Correct dependencies.
1219
1220 * gdb.asm/powerpc.inc: New file.
1221 * gdb.asm/asm-source.exp: Add PowerPC.
1222 * gdb.asm/configure.in: Likewise.
1223 * gdb.asm/configure: Regenerated.
1224
a7d17088
DJ
12252002-04-04 Daniel Jacobowitz <drow@mvista.com>
1226
1227 * gdb.base/relocate.exp: New file.
1228 * gdb.base/relocate.c: New file.
1229
cd721503
FF
12302002-04-04 Fred Fish <fnf@redhat.com>
1231
1232 * gdb.base/step-test.exp: Update comment regarding stopping in
1233 memcpy/bcopy calls inserted as part of the compiler runtime.
1234
b22ad7a7
MS
12352002-04-04 Michael Snyder <msnyder@redhat.com>
1236
1237 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1238
5f279fa6
DJ
12392002-04-03 Daniel Jacobowitz <drow@mvista.com>
1240
1241 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1242 (gdb_expect): Remove $notransfer hack.
1243
dd0fd3ce
DJ
12442002-04-02 Daniel Jacobowitz <drow@mvista.com>
1245
1246 * gdb.c++/classes.exp ("calling method for small class"): Match
1247 updated register output.
1248
1e50cda1
DJ
12492002-03-30 Daniel Jacobowitz <drow@mvista.com>
1250
1251 Fix PR gdb/452
1252 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1253 when finished. Make gdb_file_cmd send "exec-file" when
1254 appropriate.
1255
24015922
DJ
12562002-03-30 Daniel Jacobowitz <drow@mvista.com>
1257
1258 * gdb.base/attach.exp: Remove extra setup_xfail.
1259
dd7dfd64
MS
12602002-03-26 Michael Snyder <msnyder@redhat.com>
1261
1262 * gdb.base/default.exp: Add tests for dump, append, and restore.
1263 * gdb.base/help.exp: Add tests for dump, append, and restore.
1264 * gdb.base/dump.exp: New file, test dump, append and restore.
1265 * gdb.base/dump.c: New file.
1266
48b2f8d7
MS
12672002-03-27 Michael Snyder <msnyder@redhat.com>
1268
1269 * gdb.base/help.exp: Modify expect strings to reflect
1270 clean-ups in help messages.
1271
05b4d525
FF
12722002-03-26 Fred Fish <fnf@redhat.com>
1273
1274 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1275 have debugging info for those functions and the compiler uses them
1276 internally to copy structs around.
1277
d7679631
FF
12782002-03-26 Fred Fish <fnf@redhat.com>
1279
1280 * gdb.base/list.exp: Revert the change made yesterday and add note
1281 about why we don't list the default lines for remote targets.
1282
523ac3f9
MS
12832002-03-25 Michael Snyder <msnyder@redhat.com>
1284
1285 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1286
754b2b8d
FF
12872002-03-25 Fred Fish <fnf@redhat.com>
1288
1289 * gdb.base/list.exp: This test works on remote targets so remove
1290 the short circuit for remote targets. Update copyright.
1291
33c3e192
FF
12922002-03-25 Fred Fish <fnf@redhat.com>
1293
1294 * gdb.base/attach.exp: Fix logic error that was suppressing this
1295 test for all non hppa*-*-hpux* targets, instead of the hp target.
1296 Move comments closer to the suppression point. Also now need to
1297 check that we are running natively.
1298
d43e73ee
MS
12992002-03-22 Michael Snyder <msnyder@redhat.com>
1300
882c8f02
MS
1301 * gdb.base/default.exp: Add test for gcore. Update copyright.
1302 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1303
04c12f60
FF
13042002-03-06 Fred Fish <fnf@redhat.com>
1305
1306 * gdb.base/funcargs.c: Remove extraneous ';' character.
1307 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1308
b43df995
MC
13092002-03-04 Michael Chastain <mec@shout.net>
1310
1311 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1312 accommodate gcc v3 function signature.
1313 * gdb.mi/mi0-var-cmd-exp: Ditto.
1314
92362027
AC
13152002-02-24 Andrew Cagney <ac131313@redhat.com>
1316
1317 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1318 ``GNU/Linux'' or ``Linux kernel''
1319 * testsuite/gdb.threads/pthreads.c: Ditto.
1320
258ad32d
MC
13212002-02-24 Michael Chastain <mec@shout.net>
1322
1323 * gdb.threads/pthreads.c (thread1): Add a return statement.
1324 (thread2): Likewise.
1325 (foo): Likewise.
1326
04c3b3d4
MC
13272002-02-23 Michael Chastain <mec@shout.net>
1328
1329 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1330 to placate gcc.
1331
5a2a0a20
MC
13322002-02-23 Michael Chastain <mec@shout.net>
1333
1334 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1335 test "ptype bint". The test passes on all my stabs configurations.
1336
a640f7fc
JB
13372002-02-21 Jim Blandy <jimb@redhat.com>
1338
27924826
JB
1339 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1340 filename at a time, and watch for the ones we want to see.
1341
a640f7fc
JB
1342 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1343 types of pointers to prototyped functions.
1344
edcc8c75
AC
13452002-02-20 Andrew Cagney <ac131313@redhat.com>
1346
1347 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1348 signed, unsigned and straight char.
1349 (padding_char, padding_short, padding_int, padding_long,
1350 padding_long_long, padding_float, padding_double,
1351 padding_long_double): New global variables.
1352 (fill, fill_structs): New functions.
1353
1354 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1355 for correctly sized writes. Update copyright.
1356 (get_valueof): New procedure.
1357 (get_sizeof): Call get_valueof.
1358 (check_valueof): New procedure.
1359 (check_padding): New procedure.
1360
ac57ea44
MC
13612002-02-20 Michael Chastain <mec@shout.net>
1362
1363 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1364 to setup_xfail. Document some of the remaining calls.
1365
7a10c941
MC
13662002-02-18 Michael Chastain <mec@shout.net>
1367
1368 * gdb.c++/userdef.exp: Update copyright year.
1369
fb8acdcc
DJ
13702002-02-18 Daniel Jacobowitz <drow@mvista.com>
1371
1372 * gdb.c++/userdef.exp: Test overloaded operators properly.
1373 Remove xfails.
1374
fda6ae12
MS
13752002-02-14 Michael Snyder <msnyder@redhat.com>
1376
1377 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1378
676a0442
DJ
13792002-02-14 Daniel Jacobowitz <drow@mvista.com>
1380
1381 * gdb.base/a2-run.exp: Check for a remote target properly.
1382 * gdb.base/annota1.exp: Likewise.
1383 * gdb.base/list.exp: Likewise.
1384 * gdb.base/reread.exp: Likewise.
1385 * gdb.base/scope.exp: Likewise.
1386 * gdb.base/shlib-call.exp: Likewise.
1387 * gdb.base/term.exp: Likewise.
1388 * gdb.c++/annota2.exp: Likewise.
1389
78b4f468
RE
13902002-02-13 Richard Earnshaw <rearnsha@arm.com>
1391
1392 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1393
9a81ba51
MC
13942002-02-10 Michael Chastain <mec@shout.net>
1395
1396 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1397 (call_after_alloca): Ditto.
1398
004af6c7
DJ
13992002-02-10 Daniel Jacobowitz <drow@mvista.com>
1400
1401 * gdb.base/ending-run.exp: Guard "cont" test with
1402 gdb_skip_stdio_test.
1403
37225f62
JB
14042002-02-06 Jim Blandy <jimb@redhat.com>
1405
1406 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1407 from here...
1408 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1409 To here. Disable this test on non-HP platforms. Add big comment.
1410
fe6fdd96
MS
14112002-02-04 Michael Snyder <msnyder@redhat.com>
1412
1413 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1414 other than d10v and m32r.
1415
036fad3f
RE
14162002-02-02 Richard Earnshaw <rearnsha@arm.com>
1417
1418 * gdb.base/default.exp: Rewrite test patterns to reduce time
1419 taken to match them.
1420
7148ab62
DJ
14212002-01-30 Daniel Jacobowitz <drow@mvista.com>
1422
1423 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1424 Allow a start function above main.
1425 * gdb.threads/linux-dp.exp: Fix copyright date.
1426
396cc255
DJ
14272002-01-30 Daniel Jacobowitz <drow@mvista.com>
1428
1429 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1430 (check_philosopher_stack): Check for manager thread before checking
1431 for a just-starting thread.
1432
f038d31b
DJ
14332002-01-30 Daniel Jacobowitz <drow@mvista.com>
1434
1435 From Neil Booth <neil@daikokuya.demon.co.uk>:
1436 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1437 warnings.
1438
b3ff9d9a
FF
14392002-01-21 Fred Fish <fnf@redhat.com>
1440
1441 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1442 not caller.
1443
39ad761d
JB
14442002-01-21 Jim Blandy <jimb@redhat.com>
1445
1446 * gdb.base/reread.exp: Check that GDB properly re-reads the
1447 executable file when it changes while no inferior is running.
1448
aaf320fa
FF
14492002-01-21 Fred Fish <fnf@redhat.com>
1450
1451 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1452 optionally accept the "shlib events" variation.
1453
808a31f5
JB
14542002-01-21 Jim Blandy <jimb@redhat.com>
1455
1456 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1457 call `fflush' after every `printf', so that the output is produced
1458 at predictable points, regardless of whatever buffering does (or
1459 doesn't) take place.
1460 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1461 at different points.
1462
4420d5e2
DJ
14632002-01-20 Daniel Jacobowitz <drow@mvista.com>
1464
1465 * gdb.c++/inherit.exp: Update copyright years.
1466 * gdb.c++/method.exp: Likewise.
1467
3e36a0f4
DJ
14682002-01-20 Daniel Jacobowitz <drow@mvista.com>
1469
1470 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1471 artificial methods/arguments.
1472 * gdb.c++/derivation.exp: Likewise.
1473 * gdb.c++/inherit.exp: Likewise.
1474 * gdb.c++/method.exp: Likewise.
1475 * gdb.c++/virtfunc.exp: Likewise.
1476
b4ceaee6
AC
14772002-01-18 Andrew Cagney <ac131313@redhat.com>
1478
1479 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1480 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1481 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1482 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1483 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1484 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1485
ecace851
JB
14862002-01-17 Jim Blandy <jimb@redhat.com>
1487
1488 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1489 anchoring the pattern matching the entry point symbol's name.
1490
375fc983
AC
14912002-01-17 Andrew Cagney <ac131313@redhat.com>
1492
1493 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1494 continue/quit query. Update copyright.
1495
fe6fdd96
MS
14962002-01-14 Michael Snyder <msnyder@redhat.com>
1497
1498 * gdb.base/gcore.exp: Remove extra debugging output.
1499
e017c81f
DJ
15002002-01-13 Daniel Jacobowitz <drow@mvista.com>
1501
1502 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1503 for slightly dubious v2 mangled string.
1504
37ab3bf8
DJ
15052002-01-13 Daniel Jacobowitz <drow@mvista.com>
1506
1507 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1508
1bc05c3a 15092002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1510
1bc05c3a 1511 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1512
1bc05c3a
JM
1513 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1514 constructors.
1515 * gdb.c++/derivation.exp: Likewise.
1516 * gdb.c++/templates.exp: Likewise.
1517 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1518
1bc05c3a
JM
15192002-01-10 Michael Snyder <msnyder@redhat.com>
1520
1521 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1522
a911c360
MS
15232002-01-08 Michael Snyder <msnyder@redhat.com>
1524
1525 * gdb.base/gcore.exp: New test for generate-core-file command.
1526 * gdb.base/gcore.c: Testcase for above.
1527 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1528
ea2119ec
JM
15292002-01-08 Jason Merrill <jason@redhat.com>
1530
1531 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1532
68203136
FF
15332002-01-07 Fred Fish <fnf@redhat.com>
1534
1535 * gdb.c++/overload.exp: Remove unconditional xfails for:
1536 print foo_instance1.overloadargs(1)
1537 print foo_instance1.overloadargs(1, 2)
1538 print foo_instance1.overloadargs(1, 2, 3)
1539 print foo_instance1.overloadargs(1, 2, 3, 4)
1540 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1541 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1542 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1543 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1544 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1545 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1546 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1547 print foo_instance1.overload1arg()
1548 print foo_instance1.overload1arg((char)arg2)
1549 print foo_instance1.overload1arg((signed char)arg3)
1550 print foo_instance1.overload1arg((unsigned char)arg4)
1551 print foo_instance1.overload1arg((int)arg7)
1552 print foo_instance1.overload1arg((unsigned int)arg8)
1553 print foo_instance1.overload1arg((float)arg11)
1554 print foo_instance1.overload1arg((double)arg12)
1555
21b9b5b1
MS
15562002-01-07 Michael Snyder <msnyder@redhat.com>
1557
1558 * gdb.base/huge.exp: New test. Print a very large target data object.
1559 (skip_huge_test): New test variable. Define if you want to skip this
1560 test. The test reads an 8 megabyte data object from the target, so it
1561 might be very time consuming on remote targets with a slow connection.
1562 * gdb.base/huge.c: New file. Test case for above.
1563
725f922e
FF
15642002-01-07 Fred Fish <fnf@redhat.com>
1565
1566 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1567 g_instance.bfoo, and g_instance.cfoo.
1568
634d57ec
JL
1569Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1570
f286b2c3
JL
1571 * gdb.base/break.c (multi_line_if_conditional): New function.
1572 (multi_ilne_while_conditional): Likewise.
1573 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1574 IF or WHILE condition puts the breakpoint at the start of
1575 the condition.
1576
634d57ec
JL
1577 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1578 hppa*-*-hpux* expected failure.
1579 * gdb.base/structs.exp (do_function_calls): Similarly.
1580
1581 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1582 watchpoints.
1583
9fbfe2dc
AC
15842002-01-06 Andrew Cagney <ac131313@redhat.com>
1585
1586 Fix PR gdb/66.
1587 * gdb.base/structs.exp: Replace skip for a29k with skip for
1588 gdb,cannot_call_functions.
1589 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1590 * gdb.base/callfuncs.exp: Ditto.
1591 * gdb.base/call-rt-st.exp: Ditto.
1592 * gdb.base/call-strs.exp: Ditto.
1593 * gdb.base/callfwmall.exp: Ditto.
1594 * gdb.base/scope.exp: Obsolete xfail a29k.
1595 * gdb.c++/misc.exp: Ditto.
1596 * gdb.c++/cplusfuncs.exp: Ditto.
1597 * gdb.base/ptype.exp: Ditto.
1598 * gdb.base/printcmds.exp: Ditto.
1599 * gdb.base/opaque.exp: Ditto.
1600 * gdb.base/list.exp: Ditto.
1601 * gdb.base/funcargs.exp: Ditto.
1602 * gdb.base/default.exp: Ditto.
1603
8ddad156
MS
16042002-01-04 Michael Snyder <msnyder@redhat.com>
1605
ca4976a6 1606 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1607 * gdb.base/maint.exp: Add tests for maint info sections options.
1608
1b074332
JL
1609Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1610
1611 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1612
7d159115
CV
16132001-12-20 Corinna Vinschen <vinschen@redhat.com>
1614
1615 * gdb.asm/arm.inc: New file.
1616 * gdb.asm/asm-source.exp: Add arm targets.
1617 * gdb.asm/configure.in: Ditto.
1618 * gdb.asm/configure: Recreated from configure.in.
1619
8fb87725
JL
1620Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1621
afabe08c
JL
1622 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1623 with HP's compiler.
1624 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1625 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1626 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1627 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1628
1629 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1630 either HP's compilers or GCC.
1631
db521deb
JL
1632 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1633 a SIGBUS or SIGSEGV.
1634
1635 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1636
1637 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1638 can be compiled with either HP's compiler or GCC.
1639
cfa88ab7
JL
1640 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1641 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1642 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1643
ca344dff
JL
1644 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1645 to match current gdb output. Update due to using auto-solib-limit
1646 for limiting instead of overloading auto-solib-add.
1647 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1648 test program.
1649
3f3c6e55 1650 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1651 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1652 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1653 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1654 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1655 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1656 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1657 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1658 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1659 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1660 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1661 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1662 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1663
8fb87725
JL
1664 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1665 a SIGTRAP to the inferior.
1666
cf599fa7
CV
16672001-12-19 Corinna Vinschen <vinschen@redhat.com>
1668
1669 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1670 Substitute call to target_link by call to gdb_compile.
1671
2cd045cd
JL
1672Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1673
1674 * gdb.base/break.exp: Fix HP specific search string when testing
1675 backtracing in a called function.
1676
1677 * gdb.base/constvars.exp: Only set lang to C++ if we're
1678 compiling the test with HP's compilers.
1679 * gdb.base/volatile.exp: Similarly.
1680
99ebe9ac
JB
16812001-12-19 Jim Blandy <jimb@redhat.com>
1682
1683 * gdb.base/printcmds.exp: Expect the null character to be printed
1684 as '\0', and the '\013' to be printed as '\v'.
1685 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1686 * gdb.base/setvar.exp: Same.
1687
b9891b29
JB
16882001-12-17 Jim Blandy <jimb@redhat.com>
1689
0eba65ab
JB
1690 * gdb.base/completion.exp: Rather than completing very long
1691 filenames, which can make the readline library produce output we
1692 don't recognize, cd to the directory first, and then complete
1693 using nice, short relative paths.
1694
6970b5b1
JB
1695 * gdb.base/completion.exp: On some systems, there is, in fact, a
1696 variable named `b' in scope, since GDB treats all static
1697 variables as being in scope. So use `no_var_named_this'
1698 instead of `b'.
1699
b9891b29
JB
1700 * gdb.base/corefile.exp: Recognize the message saying that GDB
1701 can't find the core file's registers as a failure.
1702
e6ccd35f
JSC
17032001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1704
1705 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1706 test expect string more specific.
1707
105ba819
CV
17082001-12-13 Corinna Vinschen <vinschen@redhat.com>
1709
1710 * gdb.asm/asm-source.exp: Add support for xstormy16.
1711 * gdb.asm/configure.in: Ditto.
1712 * gdb.asm/configure: Rebuild.
1713 * gdb.asm/xstormy16.inc: New file.
1714
e9e79dd9
FF
17152001-12-10 Fred Fish <fnf@redhat.com>
1716
1717 * gdb.base/maint.exp: Update to match changes in type dumping code.
1718
347dc97d
JB
17192001-12-10 Jim Blandy <jimb@redhat.com>
1720
1721 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1722 matching the entry point symbol's name at the beginning of the
1723 line.
1724
5178b9d6
DJ
17252001-12-07 Daniel Jacobowitz <drow@mvista.com>
1726
1727 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1728 gdb.c++/inherit.exp, gdb.c++/method.exp,
1729 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1730 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1731 and class layout support.
1732
af890c52
DJ
17332001-12-07 Daniel Jacobowitz <drow@mvista.com>
1734
1735 * gdb.c++/classes.exp: Add test for static member function.
1736 * gdb.c++/misc.cc: Add class with static member function.
1737
7a345fb3
JB
17382001-12-07 Jim Blandy <jimb@redhat.com>
1739
f2e54a80 1740 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1741 those tests as `unsupported'.
1742 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1743 Rewrite subsequent tests to use it.
1744
1745 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1746 those tests as `unsupported'.
1747 * gdb.base/structs.exp (call_struct_func): New function.
1748 (do_function_calls): Use call_struct_func to call the functions
1749 returning structs.
1750
0bc69509
JB
1751 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1752 whether functions are prototyped or not, so we can't possibly pass
1753 arguments to t_float_values2 properly.
1754
7a345fb3
JB
1755 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1756 value of `timeout' for targets other than the mips*tx39-*.
1757
edb6ede1
MS
17582001-12-06 Michael Snyder <msnyder@redhat.com>
1759
1760 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1761 and detect whether the start symbol has a leading underscore.
1762
2d842f13
JB
17632001-12-04 Jim Blandy <jimb@redhat.com>
1764
1765 * gdb.base/completion.exp: Clarify indentation.
1766
68550daf
JB
17672001-12-03 Jim Blandy <jimb@redhat.com>
1768
1769 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1770 variables on the S/390, not `.word'.
1771
cd5195a8
JB
17722001-11-30 Jim Blandy <jimb@redhat.com>
1773
1774 Add assembly-source tests for s390-ibm-linux.
1775 * gdb.asm/s390.inc: New file.
1776 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1777 the S/390 architecture.
1778 * gdb.asm/configure: Regenerated.
1779
ca9efc90
MS
17802001-11-30 Michael Snyder <msnyder@redhat.com>
1781
1782 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1783 next, info source, info sources, info line, global and static
1784 variables, and static functions.
1785 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1786 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1787 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1788 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1789 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1790 (gdbasm_leave): Restore frame pointer.
1791 (gdbasm_startup): Copy stack set-up from crt0.S.
1792
d0e66976
FN
17932001-11-26 Fernando Nasser <fnasser@redhat.com>
1794
1795 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1796 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1797 to a local (non-static) variable. Copy tstruct.a to a static buffer
1798 and return a pointer to that buffer.
1799 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1800
e2334072
MK
18012001-11-24 Mark Kettenis <kettenis@gnu.org>
1802
1803 * gdb.asm/configure.in: Fix recognition of ix86 target.
1804 * gdb.asm/configure: Regenerate.
1805
756caa3d
MS
18062001-11-21 Michael Snyder <msnyder@redhat.com>
1807
1808 * gdb.asm/sparc.inc: New file.
1809 * gdb.asm/asm-source.exp: Recognize sparc target.
1810 * gdb.asm/configure.in: Recognize sparc target.
1811 * gdb.asm/configure: Regenerate.
1812
9a4d72d5
MS
18132001-11-21 Michael Snyder <msnyder@redhat.com>
1814
1815 * gdb.asm/m32r.inc: New file.
1816 * gdb.asm/asm-source.exp: Recognize m32r target.
1817 * gdb.asm/configure.in: Recognize m32r target.
1818 * gdb.asm/configure: Regenerate.
1819
a773d1cd
MS
18202001-11-20 Michael Snyder <msnyder@redhat.com>
1821
017ac23d
MS
1822 * gdb.asm/i386.inc: New file.
1823 * gdb.asm/asm-source.exp: Recognize ix86 target.
1824 * gdb.asm/configure.in: Recognize ix86 target.
1825 * gdb.asm/configure: Regenerate.
1826
a773d1cd
MS
1827 * gdb.c++/namespace.exp: Fix quotes in output messages.
1828
bb632afb
MS
18292001-11-14 Michael Snyder <msnyder@redhat.com>
1830
25d559ca 1831 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1832 qualifier in a type cast expression, to designate an address
1833 in the instruction space (Harvard architecture).
1834
4749e309
MS
18352001-11-13 Michael Snyder <msnyder@redhat.com>
1836
1837 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1838 Tests for expressions using 'const' and 'volatile'.
1839
25050984
CV
18402001-11-13 Corinna Vinschen <vinschen@redhat.com>
1841
1842 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1843
1902c51f
DJ
18442001-11-12 Daniel Jacobowitz <drow@mvista.com>
1845
1846 * lib/mi-support.exp (mi_run_to_helper): Move comments
1847 outside of gdb_expect.
1848
dcf95b47
DJ
18492001-11-11 Daniel Jacobowitz <drow@mvista.com>
1850
1851 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1852 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1853 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1854 mi0_run_to): New functions.
1855 * gdb.mi/mi-simplerun.exp: Use them.
1856 * gdb.mi/mi0-simplerun.exp: Likewise.
1857 * gdb.mi/mi-var-cmd.exp: Likewise.
1858 * gdb.mi/mi0-var-cmd.exp: Likewise.
1859
45b074e1
AC
18602001-11-10 Andrew Cagney <ac131313@redhat.com>
1861
1862 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1863 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1864
bf50d346
AC
18652001-11-09 Andrew Cagney <ac131313@redhat.com>
1866
1867 * gdb.base/restore.exp: Include $expected value in restored test
1868 message.
1869
9383332c
AC
18702001-11-09 Andrew Cagney <ac131313@redhat.com>
1871
1872 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1873 implemented.
1874
db62520a
MS
18752001-11-08 Michael Snyder <msnyder@redhat.com>
1876
1877 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1878 Add pass/fail message for stop at breakpoint in call dummy function.
1879
b5703437
MS
18802001-11-07 Michael Snyder <msnyder@redhat.com>
1881
760f6330
MS
1882 * gdb.c++/templates.exp (test_template_breakpoints):
1883 If we get an overload menu, but it does not match what
1884 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1885 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1886 making the whitespace optional. Argument for "new" may be
1887 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1888 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1889 making the whitespace optional. Also replace "(void) with
1890 "((void|)), making the keyword "void" optional.
63f50499
MS
1891 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1892 making the whitespace optional. Also replace "(void) with
1893 "((void|)), making the keyword "void" optional.
3bf40917
MS
1894 * gdb.base/callfuncs.c (t_float_values): This function must
1895 _not_ be prototyped, and the following function (t_float_values2)
1896 must be prototyped (if the compiler supports it), so that GDB
1897 can be tested against both cases. Usually one case involves
1898 promotion of float to double, while the other does not.
1899 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1900 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1901 includes a stack frame for "start".
1902
c8ab4e6d
JB
19032001-11-05 Jim Blandy <jimb@redhat.com>
1904
1905 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1906 pointers are 32 bits long, and that offsets of relocs are always
1907 stored in the data (REL-style), and not in the reloc entry itself
1908 (RELA-style).
1909 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1910 stabs.
1911
3f08ced9
MS
19122001-11-01 Michael Snyder <msnyder@redhat.com>
1913
1914 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1915 and regular expression operators by using quoting.
1916
cbfa24cd
MS
19172001-10-31 Michael Snyder <msnyder@redhat.com>
1918
1919 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1920 depending on what the symbol table contains.
1921 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1922 the output of the ptype command. Similarly, accept both "const &"
1923 and "const&".
1924
aaa68313
CV
19252001-10-31 Corinna Vinschen <vinschen@redhat.com>
1926
1927 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1928 symbol `STORAGE' to allow to choose the storage class of
1929 the local datastructures.
1930 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1931 compiler directive.
1932
91740388
MS
19332001-10-30 Michael Snyder <msnyder@redhat.com>
1934
1935 * gdb.base/jump.exp: Allow it to run for all targets.
1936
1b7c05e7
CV
19372001-10-29 Corinna Vinschen <vinschen@redhat.com>
1938
1939 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1940 with new double_array size.
1941 (main): Change storage class of all local variables to static.
1942 Reduce size of double_array to 9.
1943 * gdb.base/call-ar-st.exp: Increase timeout value.
1944 Change expected output for double array to match new size in
1945 call-ar-st.c.
1946
36a22261
CV
19472001-10-29 Corinna Vinschen <vinschen@redhat.com>
1948
1949 * gdb.base/ending-run.exp: Create identical output when passing
1950 `step to end of run' case. Add regular expression branch satisfying
1951 Stormy16 target.
1952
92b8ae91
MK
19532001-10-28 Mark Kettenis <kettenis@gnu.org>
1954
1955 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1956 that we catch the expected failure under Linux/x86.
1957
cb135b83
OF
19582001-10-29 Orjan Friberg <orjanf@axis.com>
1959
1960 * gdb.base/setvar.exp: Escape curly braces.
1961 * gdb.stabs/weird.exp: Ditto.
1962
6884aa54
DJ
19632001-10-27 Daniel Jacobowitz <drow@mvista.com>
1964
1965 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1966 * gdm.mi/mi0-hack-cli.exp: Likewise.
1967
0398c9aa
AC
19682001-10-25 Andrew Cagney <ac131313@redhat.com>
1969
1970 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1971 messages.
1972
d20bf2e8
AC
19732001-10-21 Andrew Cagney <ac131313@redhat.com>
1974
1975 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1976 checking MI enabled.
1977
03dd63aa
CV
19782001-10-09 Corinna Vinschen <vinschen@redhat.com>
1979
1980 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1981
1d9d99f3
FCE
19822001-10-04 Frank Ch. Eigler <fche@redhat.com>
1983
1984 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1985 if gdb child process crashes, just signal an error.
1986
838ae6c4
JB
19872001-10-02 Jim Blandy <jimb@redhat.com>
1988
1989 * lib/gdb.exp (test_xfail_format): Simplify.
1990
1991 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1992 front of the variable name `format'. Simplify `if'.
1993
8f0cbc1c
DJ
19942001-10-01 Daniel Jacobowitz <drow@mvista.com>
1995
1996 * gdb.threads/pthreads.exp: Wait for output and delay
1997 before sending ^C.
1998
1f08dafd
DJ
19992001-10-01 Daniel Jacobowitz <drow@mvista.com>
2000
2001 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2002 some incorrect output instead of timing out.
2003 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2004
674f90ff
CV
20052001-09-28 Corinna Vinschen <vinschen@redhat.com>
2006
2007 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2008 check to allow additional `int'.
2009
9b284272
DJ
20102001-09-27 Daniel Jacobowitz <drow@mvista.com>
2011
2012 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2013 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2014
b55a4771
MS
20152001-09-27 Michael Snyder <msnyder@redhat.com>
2016
2017 * lib/gdb.exp (test_debug_format): New proc.
2018 (setup_xfail_format): Use new proc test_debug_format.
2019 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2020 proc; use new service proc test_debug_format.
2021 Replace all other "gcc_compiled" tests with this test.
2022 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2023 proc; use new service proc test_debug_format.
2024 Replace all other "gcc_compiled" tests with this test.
2025
20262001-09-27 Michael Snyder <msnyder@redhat.com>
2027
2028 * gdb.base/cvexpr.exp: New file.
2029 * gdb.base/cvexpr.c: New file
2030 Test for expressions using const and volatile keywords.
2031
4e6667ac
CV
20322001-09-26 Corinna Vinschen <vinschen@redhat.com>
2033
2034 * gdb.base/constvars.exp: Check for different orders of keywords
2035 and additional "int" strings in output.
2036
4f337972
AC
20372001-09-22 Andrew Cagney <ac131313@redhat.com>
2038
2039 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2040 responses from "help maint".
2041
2015650d
FCE
20422001-09-19 Frank Ch. Eigler <fche@redhat.com>
2043
2044 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2045 to localhost:NNN instead of :NNN, in case Xvfb is listening
2046 only on TCP.
2047
f3bcedc1
CV
20482001-09-19 Corinna Vinschen <vinschen@redhat.com>
2049
2050 * gdb.base/recurse.exp: When checking leaving the watchpoint
2051 scope, recognize when gdb is in function's epilogue and pass.
2052
6b819c92
KS
20532001-09-18 Keith Seitz <keiths@redhat.com>
2054
2055 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2056 support for running tests against sid targets.
2057 (gdbtk_done): Ditto.
2058
a10c9419
CV
20592001-09-18 Corinna Vinschen <vinschen@redhat.com>
2060
2061 * gdb.base/ending-run.c (main): Set stdout buffersize
2062 to the same reasonable value for any target.
2063 * gdb.base/ending-run.exp: Add a regular expression
2064 to make testsuite happy on Sanyo Stormy16 target.
2065
739d0d99
CV
20662001-09-17 Corinna Vinschen <vinschen@redhat.com>
2067
2068 * gdb.base/display.c (do_loops): Add float variable `f'.
2069 Increment f in loop.
2070 * gdb.base/display.exp: Increment timeout by 60 seconds.
2071 Change float display test to use variable `f'.
2072
1b8947f0
JB
20732001-09-17 Jim Blandy <jimb@redhat.com>
2074
2075 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2076 overflowing the limited breakpoint tables on some ROM monitors
2077 (like the ROM68K).
2078
9890ac81
FCE
20792001-09-15 Frank Ch. Eigler <fche@redhat.com>
2080
2081 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2082 the "-ac" (disable access control) flag.
2083
6db765ea
JH
20842001-08-30 Jeff Holcomb <jeffh@redhat.com>
2085
2086 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2087 ints.
2088
4c32cc04
KS
20892001-08-30 Keith Seitz <keiths@redhat.com>
2090
2091 * lib/gdb.exp: Move all insight-related functionality into
2092 separate file.
2093 * lib/insight-support.exp: New file.
2094
8d6e6f81
FCE
20952001-08-29 Frank Ch. Eigler <fche@redhat.com>
2096
2097 * config/sid.exp (sid_start): Never set sid verbosity; disable
2098 expect_background {} that consumed its stdout; tolerate </dev/null.
2099 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2100
6a90e1d0
AC
21012001-08-18 Andrew Cagney <ac131313@redhat.com>
2102
2103 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2104 CLI jump command to start it.
2105 (mi_run_to_main): Fail immediatly when unexpected output.
2106
1759b3c3
AC
21072001-08-18 Andrew Cagney <ac131313@redhat.com>
2108
2109 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2110 beginning of function. Fix PR gdb/191.
2111
61d11d80
FCE
21122001-08-16 Frank Ch. Eigler <fche@redhat.com>
2113
2114 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2115 what to force sid endianness to.
2116
942a4df2
KS
21172001-08-15 Keith Seitz <keiths@redhat.com>
2118
2119 * lib/gdb.exp (gdbtk_start): Don't set environment
2120 variables for TCL_LIBRARY and friends. Insight will
2121 now figure these out for itself.
2122
0521c418
MS
21232001-08-02 Michael Snyder <msnyder@redhat.com>
2124
2125 * gdb.base/completion.exp: Remove the symbol "a64l" from
2126 the expect string; this is target-specific, and not related
2127 to what is being tested.
2128
74a9a58a
DB
21292001-08-02 Dave Brolley <brolley@redhat.com>
2130
2131 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2132
c70819fa
MS
21332001-07-25 Michael Snyder <msnyder@redhat.com>
2134
c2b8fa57
MS
2135 * gdb.base/consecutive.exp: New file. Test stepping over
2136 breakpoints on consecutive instructions.
2137 * gdb.base/consecutive.c: New file.
2138
c70819fa
MS
2139 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2140 curly braces in regular expressions.
2141
2b1a1355
MS
21422001-07-25 Michael Snyder <msnyder@redhat.com>
2143
2144 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2145 legitimate output from stepping out of main.
2146
413eca6f
KS
21472001-07-22 Keith Seitz <keiths@redhat.com>
2148
2149 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2150 the empty string, do not run the tests.
2151
7e5a9322
SC
21522001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2153
2154 * gdb.base/long_long.exp: Detect size of pointer. Take into
2155 account 2-byte pointers when testing for p/a results.
2156
de58f10f
SC
21572001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2158
2159 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2160 and defined to 1K for m68hc11.
2161 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2162 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2163 (sizeof_random_data): New variable to tell the size of the data table;
2164 don't test past this size; always run to main.
2165
d6f5fea1
SC
21662001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2167
2168 * gdb.base/return2.exp: return of long long and double fails for
2169 68HC11; don't execute these tests on that platform.
2170 * gdb.base/return.exp: Return of a double fails for 68hc11.
2171
c477543d
SC
21722001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2173
2174 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2175 tests that print a float.
2176 * call-rt-st.exp: Likewise.
2177
63cf1c79
MK
21782001-07-12 Mark Kettenis <kettenis@gnu.org>
2179
2180 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2181 running this test on Linux.
2182
112f9ab5
MC
21832001-06-24 Michael Chastain <chastain@redhat.com>
2184
2185 * gdb.base/arithmet.exp: Remove some tests to make all test names
2186 unique.
2187
4970cb0f
MS
21882001-07-03 Michael Snyder <msnyder@redhat.com>
2189
2190 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2191 the output of the ptype command.
2192
d85da69f
MS
21932001-07-02 Michael Snyder <msnyder@redhat.com>
2194
4c8a82de
MS
2195 * gdb.base/completion.exp: Don't assume that break.c is the only
2196 source file that may contain functions named "marker".
d85da69f
MS
2197 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2198
8afc772b
AC
21992001-06-28 Andrew Cagney <ac131313@redhat.com>
2200
2201 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2202 of files to delete.
2203
2204 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2205 * gdb.disasm/h8300s.exp: New file.
2206 gdb.disasm/h8300s.s: Likewise.
2207
cff22675
AC
22082001-06-27 Andrew Cagney <ac131313@redhat.com>
2209
2210 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2211 empty breakpoint tables.
2212
68c81b54
AC
22132001-06-25 Andrew Cagney <ac131313@redhat.com>
2214
2215 * lib/mi-support.exp: Update args=... part of stop-reason
2216 patterns. Accept either a list or a tuple.
2217
2dd62704
AC
22182001-06-23 Andrew Cagney <ac131313@redhat.com>
2219
2220 * lib/mi-support.exp: Remove local emacs variable defining
2221 change-log-default-name.
2222
b4127474
MC
22232001-06-22 Michael Chastain <chastain@redhat.com>
2224
2225 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2226 This is operationally compatible with the previous version.
2227
8dbfb380
JB
22282001-06-13 Jim Blandy <jimb@redhat.com>
2229
2230 * lib/gdb.exp (gdb_test): Doc fix.
2231
f2d8c86d
MC
22322001-06-10 Michael Chastain <chastain@redhat.com>
2233
2234 * gdb.base/exprs.exp: Remove a duplicate test.
2235
81564d34
JB
22362001-06-06 Jim Blandy <jimb@redhat.com>
2237
2238 * gdb.base/return2.exp (main): Use values to test float and double
2239 returns that are not NaN's, to avoid being confused by IEEE
2240 comparison rules.
2241
da55addb
MS
22422001-06-04 Michael Snyder <msnyder@redhat.com>
2243
2244 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2245 non-zero if control_c fails. Terminate the test on failure,
2246 rather than wait for 12 more tests to time out.
2247
42c65987
JB
22482001-06-06 Jim Blandy <jimb@redhat.com>
2249
b18bced9
JB
2250 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2251 Don't forget to match the GDB prompt.
2252
42c65987
JB
2253 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2254
5b41e5f0
JB
22552001-06-04 Jim Blandy <jimb@redhat.com>
2256
2257 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2258 command.
2259
015e046f
KB
22602001-05-31 Kevin Buettner <kevinb@redhat.com>
2261
2262 * gdb.base/annota1.exp (info break): Match four or more spaces
2263 after "Address".
2264
fb1ffbbe
MC
22652001-05-31 Michael Chastain <chastain@redhat.com>
2266
2267 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2268 (dm_type_int_star): Likewise.
2269 (dm_type_long_star): Likewise.
2270 (dm_type_void_star): Likewise.
2271
5ea2a32c
KB
22722001-05-29 Kevin Buettner <kevinb@redhat.com>
2273
2274 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2275 to a known value in order to get consistent results regardless
2276 of the setting of INPUTRC or the presence or contents of .inputrc.
2277
ae23c492
MS
22782001-05-24 Michael Snyder <msnyder@redhat.com>
2279
ac55707e
MS
2280 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2281 Don't require that the main thread and the manager thread are the
2282 first in the list.
2283
ae23c492
MS
2284 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2285 debugging. If test fails, issue an "unsupported" not a "fail".
2286
400071f1
JB
22872001-05-24 Jim Blandy <jimb@redhat.com>
2288
2289 Don't assume that short is shorter than int.
2290 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2291 assume that shorts are smaller than ints. On a 16-bit machine,
2292 this isn't true.
2293 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2294 an int, is not equal to ~0 stored in an unsigned char. This tests
2295 the same thing that the previous test meant to, but works on
2296 16-bit machines, too.
2297 ("print unsigned char != (~0)"): Same test, complemented.
2298
0816a3e5
MS
22992001-05-24 Michael Snyder <msnyder@redhat.com>
2300
2301 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2302 test for (full_coverage == 0). This makes the test run faster,
2303 and prevents dejagnu getting out of step.
2304
f6dc23a9
KB
23052001-05-23 Kevin Buettner <kevinb@redhat.com>
2306
2307 * gdb.base/finish.exp (finish_void): Revise pattern for
2308 stopping on the call statement to not permit stopping at
2309 the start of the instructions comprising the call sequence.
2310
7dbd117d
MC
23112001-05-19 Michael Chastain <chastain@redhat.com>
2312
2313 * gdb.base/callfuncs.exp: Make all test names unique.
2314 * gdb.base/commands.exp: Make all test names unique.
2315 * gdb.base/condbreak.exp: Make all test names unique.
2316 * gdb.base/dbx.exp: Make all test names unique.
2317 * gdb.base/default.exp: Make all test names unique.
2318 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2319 and TIMEOUT messages to their corresponding PASS message.
2320 * gdb.base/ending-run.exp: Make all test names unique.
2321 * gdb.base/long_long.exp: Remove duplicate test.
2322
6b0b0a9e
KB
23232001-05-21 Kevin Buettner <kevinb@redhat.com>
2324
2325 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2326 stop on the call statement as well as the statement after the
2327 call.
2328
2caa35cb
MS
23292001-05-21 Michael Snyder <msnyder@redhat.com>
2330
2331 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2332
40713331
EZ
23332001-05-10 Elena Zannoni <ezannoni@redhat.com>
2334
2335 * gdb.base/completion.exp: Revamp test. Make it execute on all
2336 platforms.
2337
c2c1be8d
EZ
23382001-05-10 Elena Zannoni <ezannoni@redhat.com>
2339
2c9cd303
EZ
2340 * config/gdbserver.exp (gdb_load): Handle the case
2341 in which the arguments to gdbserver are given in the
2342 baseboard configuration file.
2343 Also handle the case in which the server needs to do a
2344 load.
2345
9671de48
KS
23462001-05-07 Keith Seitz <keiths@cygnus.com>
2347
2348 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2349 set up the display for testing.
2350 (gdbtk_start): Convert all paths to paths that tcl will like.
2351 Export target information to environment.
2352 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2353 necessary.
2354 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2355 (to_tcl_path): New proc to convert a given pathname into
2356 a path acceptible as an argument to a tcl command.
2357 (_gdbtk_export_target_info): New proc to export target info
2358 into the environment for gdbtk testing.
2359 (gdbtk_done): New proc to signal end-of-test.
2360
5a360f47
JB
23612001-05-06 Jim Blandy <jimb@redhat.com>
2362
2363 * restore.c: Make the code of caller0 correspond to its comment.
2364
66c756c6
MS
23652001-05-03 Michael Snyder <msnyder@redhat.com>
2366
2367 * config/sid.exp (gdb_target_sid): Check for error messages.
2368 On error or timeout, don't make expect exit (which will terminate
2369 all subsequent tests); instead just make gdb exit.
2370 (gdb_load): Check for error messages. On error or timeout,
2371 return a negative value.
2372
a966fde5
JB
23732001-04-24 Jim Blandy <jimb@redhat.com>
2374
851c18e0
JB
2375 * gdb.c++/templates.exp: If we see the prompt for the overload
2376 list, but we haven't recognized any of the longer patterns,
2377 arrange for this test to fail, not hang.
2378
a966fde5
JB
2379 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2380 variations.
2381
db144853
MC
23822001-04-22 Michael Chastain <chastain@redhat.com>
2383
2384 * gdb.c++/local.exp: Use the 'runto' library function.
2385 * gdb.c++/namespace.exp: Likewise.
2386 * gdb.c++/overload.exp: Likewise.
2387
3207ec21
KB
23882001-03-26 Kevin Buettner <kevinb@redhat.com>
2389
2390 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2391 * gdb.base/step-line.exp: New file. Test step/next in presence of
2392 #line directives.
2393 * gdb.base/step-line.c: New file. Test program for the above.
2394 * gdb.base/step-line.inp: New file. We pretend that this file has
2395 been transformed by some other tool into step-line.c.
2396
13b57657
JB
23972001-03-21 Jim Blandy <jimb@redhat.com>
2398
2399 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2400 unmangled operator names.
2401
754cbe1c
JB
24022001-03-20 Jim Blandy <jimb@redhat.com>
2403
2404 * gdb.threads/linux-dp.exp: Recognize an additional message
2405 generated by GDB when it doesn't understand how to debug threads
2406 on the target system.
2407
177495c9
AC
24082001-03-19 Andrew Cagney <ac131313@redhat.com>
2409
2410 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2411
f266096b
MC
24122001-03-12 Michael Chastain <chastain@redhat.com>
2413
2414 * gdb.c++/derivation.exp: Use the 'runto' library function.
2415
cac3c2ff
MC
24162001-03-12 Michael Chastain <chastain@redhat.com>
2417
2418 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2419
b6c11a24
MC
24202001-02-24 Michael Chastain <chastain@redhat.com>
2421
2422 * gdb.c++/ref-types.exp: Change handwritten code to library
2423 function 'runto'.
2424
6bae5bce
OF
24252001-03-16 Orjan Friberg <orjanf@axis.com>
2426
2427 * gdb.base/signals.exp: Set count to 0 explicitly.
2428
0015fd9a
MS
24292001-03-15 Mark Salter <msalter@redhat.com>
2430
2431 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2432 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2433 (gdb_load): Add support for additional target_info: gdb_download_size
2434 and gdb_load_timeout.
0015fd9a 2435
fc33412a
DT
2436Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2437
2438 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2439 file -- to prevent failing when the compile fails but we have no
2440 intention of running the tests anyway.
2441
2442 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2443 tests if set.
2444
2445 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2446 integers.
2447
2448 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2449 * gdb.c++/namespace.exp: Ditto.
2450
115f06de
OF
24512001-03-07 Orjan Friberg <orjanf@axis.com>
2452
2453 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2454 * gdb.base/pointers.exp: Relax pattern match of decimals.
2455
b6ba6518
KB
24562001-03-06 Kevin Buettner <kevinb@redhat.com>
2457
2458 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2459 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2460 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2461 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2462 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2463 config/sh.exp, config/sid.exp, config/slite.exp,
2464 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2465 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2466 config/vxworks.exp, config/vxworks29k.exp,
2467 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2468 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2469 gdb.base/arithmet.exp, gdb.base/assign.exp,
2470 gdb.base/async.exp, gdb.base/attach.exp,
2471 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2472 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2473 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2474 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2475 gdb.base/commands.exp, gdb.base/completion.exp,
2476 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2477 gdb.base/constvars.exp, gdb.base/corefile.exp,
2478 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2479 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2480 gdb.base/ending-run.exp, gdb.base/environ.exp,
2481 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2482 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2483 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2484 gdb.base/funcargs.exp, gdb.base/help.exp,
2485 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2486 gdb.base/logical.exp, gdb.base/long_long.exp,
2487 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2488 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2489 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2490 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2491 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2492 gdb.base/regs.exp, gdb.base/relational.exp,
2493 gdb.base/remote.exp, gdb.base/reread.exp,
2494 gdb.base/restore.exp, gdb.base/return2.exp,
2495 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2496 gdb.base/selftest.exp, gdb.base/setshow.exp,
2497 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2498 gdb.base/sigall.exp, gdb.base/signals.exp,
2499 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2500 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2501 gdb.base/step-test.exp, gdb.base/structs.c,
2502 gdb.base/structs.exp, gdb.base/structs2.exp,
2503 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2504 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2505 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2506 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2507 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2508 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2509 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2510 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2511 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2512 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2513 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2514 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2515 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2516 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2517 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2518 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2519 gdb.trace/circ.exp, gdb.trace/collection.exp,
2520 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2521 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2522 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2523 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2524 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2525 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2526 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2527 notices.
2528
dc96c6c7 25292001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2530
2531 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2532 first arg is int not float.
2533
dc96c6c7 25342001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2535
2536 * gdb.base/reread.exp: Unsupported for non-native targets;
2537 doesn't work for remote debugging.
2538
9b0c4aeb
FN
25392001-02-19 Fernando Nasser <fnasser@redhat.com>
2540
2541 From Drew Moseley <dmoseley@redhat.com>
2542 * gdb.base/ending-run.exp: Properly handle the BSP state when
2543 stepping past the end of main.
2544
02aa71d5
MC
25452001-02-19 John Moore <jmoore@redhat.com>
2546
2547 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2548 Converted HPUX fix for non-expected items following multiple
2549 step commands into general solution for all platforms.
2550
1fa449a4
MC
25512001-02-18 Michael Chastain <chastain@redhat.com>
2552
2553 * gdb.c++/classes.exp (do_tests): Change runto statements
2554 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2555 statements demangler agnostic.
2556 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2557 (gdb_virtfunc_restart): Likewise.
2558
b2f9ec70
MC
25592001-02-14 Michael Chastain <chastain@redhat.com>
2560
2561 * gdb.c++/inherit.exp (do_tests): Change runto statements
2562 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2563 statements demangler agnostic.
2564
cf74b8ca
AC
2565Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2566
2567 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2568 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2569 before calling common_routine 15 times'' tests.
2570
99f78f56
MC
25712001-02-11 Michael Chastain <chastain@redhat.com>
2572
2573 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2574 Helps the test script figure out which demangler is in use.
2575 (dm_type_foo_ref): Ditto.
2576 (dm_type_int_star): Ditto.
2577 (dm_type_long_star): Ditto.
2578 (dm_type_unsigned_int): Ditto.
2579 (dm_type_void): Ditto.
2580 (dm_type_void_star): Ditto.
99707966 2581 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2582 Probe the gdb demangler and set variables to accommodate
2583 formatting differences.
2584 (info_func_regexp): New function. Same as info_func, but
2585 matches against a regexp.
2586 (info_func): Match against a literal string.
2587 (print_addr_2): New function. Match against a literal string,
2588 which can be different from the input to gdb.
2589 (print_addr): Simply call print_addr_2 with the same argument twice.
2590 (test_lookup_operator_functions): Use demangler formatting variables.
2591 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2592 the tests in the same order as the C++ class declaration.
2593 (test_paddr_operator_functions): Ditto.
2594 (test_paddr_overloaded_functions): Ditto.
2595 (test_paddr_hairy_functions): Use demangler formatting variables.
2596 Add reference to gdb/19 for related tests.
2597 (do_tests): Call probe_demangler.
2598
1de8f023
KB
25992001-01-30 Kevin Buettner <kevinb@redhat.com>
2600
2601 * gdb.c++/templates.cc (printf): Remove unused function definition.
2602
ca3f91ed
MS
26032001-01-26 Felix Lee <flee@redhat.com>
2604
2605 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2606
26072001-01-25 matthew green <mrg@redhat.com>
2608
2609 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2610 up sid.
2611 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2612
26132001-01-25 matthew green <mrg@redhat.com>
2614
2615 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2616 Deprecate $sid_spawn_id.
2617 (sid_exit): Remove code necessary only for `spawn.'
2618
26192001-01-25 matthew green <mrg@redhat.com>
2620
2621 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2622
fb18ec4a
MC
26232001-01-28 Michael Chastain <chastain@redhat.com>
2624
2625 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2626 to call when tests fail. It takes gdb out of the overloaded
2627 function choice menu back to the main prompt, so that the test
2628 program stays synchronized.
2629 (set_bp_overloaded): New proc to collect all the common
2630 code for setting a breakpoint on an overloaded name. Calls
2631 take_gdb_out_of_choice_menu when needed.
2632 (menu_overload1arg): New variable to collect the repeated
2633 instances of the expected menu for an overloaded name. Change
2634 the regular expression to handle changes in g++ type encoding:
2635 "void" can be either "void" or "", and "unsigned int" can be
2636 either "unsigned int" or "unsigned".
2637 (continue_to_bp_overloaded): Change regular expressions to handle
2638 changes in g++ type encoding.
2639 (no proc): Call take_gdb_out_of_choice_menu when needed.
2640 Remove redundant calls to "info break". Accept either "canceled"
2641 or "cancelled". Change regular expressions in "info break"
2642 calls to handle changes in g++ type encoding. Give all tests
2643 unique strings.
2644
9c646a6e
BE
26452001-01-17 Ben Elliston <bje@redhat.com>
2646
2647 * config/sid.exp: New file.
2648
9549d9c1
AC
2649Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2650
2651 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2652
dc96c6c7 26532000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2654
2655 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2656 Add a RE to accept a non-ascii char if one is ever presented.
2657
b4df4f68
FN
26582000-12-20 Fernando Nasser <fnasser@redhat.com>
2659
297dd0fd 2660 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2661
dc96c6c7 26622000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2663
2664 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2665 in regexp. One '\' does not suffice on Linux.
2666
4a7bddb6
MC
26672000-12-09 Michael Chastain <chastain@redhat.com>
2668
2669 * gdb.base/break.exp (test_clear_command): Use a marker function
2670 rather than 'main' for the test function. Also move this
2671 test to an execution point where the marker function names are
2672 guaranteed to be bound to functions. (Executing tests after a
2673 'finish' from main runs into name conflicts with local names
2674 in __libc_start_main).
2675
dc96c6c7 26762000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2677
2678 * gdb.base/finish.exp: New test for gdb's "finish" command.
2679 * gdb.base/return2.exp: New test for gdb's "return" command.
2680 * gdb.base/return2.c: New source file for above.
2681
dc96c6c7 26822000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2683
2684 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2685 * gdb.base/miscexprs.exp: Ditto.
2686 * gdb.base/pointers.exp: Ditto.
2687 * gdb.c++/derivation.exp: Ditto.
2688 * gdb.c++/local.exp: Ditto.
2689 * gdb.c++/namespace.exp: Ditto.
2690 * gdb.c++/overload.exp: Ditto.
2691 * gdb.c++/ref-types.exp: Ditto.
2692
dc96c6c7 26932000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2694
2695 * gdb.base/constvars.exp: Test result of "up" command.
2696 * gdb.base/miscexprs.exp: Ditto.
2697 * gdb.base/pointers.exp: Ditto.
2698 * gdb.base/scope.exp: Ditto.
2699 * gdb.c++/derivation.exp: Ditto.
2700 * gdb.c++/local.exp: Ditto.
2701 * gdb.c++/namespace.exp: Ditto.
2702 * gdb.c++/overload.exp: Ditto.
2703 * gdb.c++/ref-types.exp: Ditto.
2704
44097287
FN
27052000-11-22 Michael Chastain <chastain@redhat.com>
2706
2707 * mips_pro.exp: Accept either "middle -> top -> main" or
2708 "middle -> main" in the backtrace, because gcc can optimize
2709 tail calls to jumps. Remove setup_xfail for the hppa case.
2710 Add a comment with the original warning messages from PR 3016,
2711 which was filed in 1993, to preserve them for posterity.
2712
9d2e1bab
ND
27132000-11-17 Nick Duffek <nsd@redhat.com>
2714
2715 * lib/gdb.exp (gdb_test): Override timeout with board info.
2716
1aca8eb7
ND
27172000-11-17 Nick Duffek <nsd@redhat.com>
2718
2719 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2720 the second kill and detach messages.
2721
93076499
ND
27222000-11-17 Nick Duffek <nsd@redhat.com>
2723
2724 * configure.in: Add AC_EXEEXT.
2725 * configure: Regenerate.
2726 * Makefile.in (just-check): Export EXEEXT.
2727 * lib/gdb.exp ($EXEEXT): Import from environment.
2728 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2729 expect "maint dump-me" on Cygwin.
2730 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2731 $EXEEXT.
2732
30e87cd3
ND
27332000-11-17 Nick Duffek <nsd@redhat.com>
2734
2735 * gdb.base/break.exp: Test backtrace and finish from called
2736 function on all platforms, not just HP-UX.
2737
dc96c6c7 27382000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2739
2740 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2741 code from gdb_target_monitor, so it can be used independantly
2742 for gdbserver. Also comment out an unnecessary PUTS.
2743
dc96c6c7 27442000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2745
2746 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2747 * gdb.base/corefile.exp: Expect the message "Program is being
2748 debugged already" when we send the "corefile" command, since
2749 the preceeding gdb_load may have connected gdb to a remote target.
2750 * gdb.base/display.exp: Disable hardware watchpoints if new
2751 board info variable "no_hardware_watchpoints" is true.
2752 Replace single-letter commands with more readable ones.
2753 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2754 if new board info variable "no_hardware_watchpoints" is true.
2755 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2756 to see if stdio (printf) testing is possible.
2757 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2758 board info variable "no_hardware_watchpoints" is true. Use new
2759 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2760
39124dea
FN
27612000-11-13 Fernando Nasser <fnasser@redhat.com>
2762
2763 From Orjan Friberg <orjanf@axis.com>:
2764 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2765 in array print pattern match.
2766
a9e2e984
FN
27672000-11-09 Fernando Nasser <fnasser@redhat.com>
2768
2769 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2770 spelling "cancelled" to U.S. spelling "canceled" to match changes
2771 made to gdb.
2772 * gdb.c++/ovldbreak.exp: Ditto.
2773
c7db355b
PS
27742000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2775
2776 * gdb.base/callfuncs.c (main): Moved to end of file, call
2777 t_double_values to initialize the FPU before inferior calls are made.
2778 * gdb.base/callfuncs.exp: Test for register preservation after calling
2779 inferior functions. Add tests for continuining, finishing and
2780 returning from a stop in a call dummy.
2781
dc96c6c7 27822000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2783
2784 * gdb.base/commands.exp: Break up long lines, and re-indent.
2785
dc96c6c7 27862000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2787
2788 * config/gdbserver.exp: Rewritten from the ground up, to make it
2789 compatible with the current dejagnu tree, and to make it work with
2790 the new "gdbserver" in libremote.
2791
dc96c6c7 27922000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2793
2794 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2795 * gdb.base/varargs.exp: Skip entire test if no printf support.
2796 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2797 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2798
dc96c6c7 27992000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2800
2801 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2802 no floating point support.
2803 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2804 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2805 * gdb.base/call-rt-st.exp: Ditto.
2806 * gdb.base/call-strs.exp: Ditto.
2807
bac5fc66
JG
28082000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2809
2810 * gdb.base/sizeof.c: include <stdio.h>.
2811
2812 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2813 'finish', otherwise uncaptured gdb_prompt would potentially
2814 throw remaining test points out of sync.
2815
b22a6027
SB
28162000-07-26 Scott Bambrough <scottb@netwinder.org>
2817
2818 * gdb.base/recurse.exp: Run tests for all targets.
2819 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2820 gnu-oldld case on ARM.
2821 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2822 for ARM targets.
2823
d8231941
AG
2824Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2825
2826 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2827 * gdb.java/configure: Rebuild.
2828
8caabe69
AG
2829Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2830
2831 * gdb.java/jv-exp.exp: New file.
2832
9d273ca3
AG
2833Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2834
2835 * configure: Rebuilt.
2836 * configure.in (configdirs): Add gdb.java.
2837 * gdb.java/jmisc.java: New file.
2838 * gdb.java/jmisc.exp: New file.
2839 * gdb.java/Makefile.in: New file.
2840 * gdb.java/configure: Rebuilt.
2841 * gdb.java/configure.in: New file.
2842 * lib/java.exp: New file.
2843
4f823a66
AC
2844Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2845
2846 * gdb.base/exprs.exp: Test casts to a pointer including over and
2847 underflow.
2848
2391e11d
AC
2849Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2850
2851 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2852 and the compilers sizes.
2853
54602222
ND
28542000-07-09 Nick Duffek <nsd@redhat.com>
2855
2856 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2857 (use_methods): New function.
2858 (main): Call use_methods().
2859 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2860 (do_tests): Call test_method_param_class.
2861
2bec0572
ND
28622000-07-09 Nick Duffek <nsd@redhat.com>
2863
2864 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2865 spelling.
2866 (test_enums): New procedure. Move enum tests from end of script
2867 to here. Set breakpoint on function name instead of line number.
2868 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2869 (enums2): New marker function.
2870 (enums1): New function.
2871 (main): Call enums1(). Move enum tests to enums1().
2872
78492fde
AC
2873Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2874
2875 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2876 compile/link program. Update line numbers.
2877 * gdb.asm/d10v.inc: Define ``startup''.
2878 * gdb.asm/asmsrc1.s: Add definition of _start.
2879
49a2cef8
AC
2880Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2881
2882 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2883
3e6c8688
EZ
28842000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2885
2886 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2887 of 'help maint print' command.
2888
9ff5cbe9
AC
2889Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2890
2891 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2892 they use gdb_expect_list.
2893
17c579bd
AC
2894Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2895
2896 * gdb.base/commands.exp: Use ``set remote
2897 memory-read-packet-size'' instead of ``set endian big'' to test
2898 long commands.
2899
e6d71bf3
DB
29002000-06-03 Daniel Berlin <dan@cgsoftware.com>
2901
2902 * gdb.c++/templates.exp (do_tests): Make all of these work under
2903 g++, and stop skipping them.
2904
2905 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2906 work under g++.
2907
e5f9ba7b
MS
2908 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2909 initialization.
2910
dc96c6c7 29112000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2912
2913 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2914 the regular expression: accept an (almost) arbitrary sequence of
2915 "frames-invalid" and "breakpoints-invalid" messages both before
2916 and after the "starting" message.
2917
dc96c6c7 29182000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2919
2920 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2921
dc96c6c7 29222000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2923
2924 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2925 Relax the regular expression a little, make it pass on Solaris 8.
2926
8216cda9
KB
29272000-05-12 Kevin Buettner <kevinb@redhat.com>
2928
2929 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2930 a call, do not require that gdb stop on the line after the call.
2931 Instead, it is permissible for gdb to stop on the line of the
2932 call itself.
2933
1a570b2f
MS
29342000-05-12 Michael Snyder <msnyder@.cygnus.com>
2935
2936 * gdb.base/break.exp (bp on small function, optimized file):
2937 Add a second pass pattern. The behavior differs here between stabs
2938 and dwarf for one-line functions. Stabs preserves two line symbols
2939 (one before the prologue and one after) with the same line number,
2940 but dwarf regards these as duplicates and discards one of them.
2941 Therefore the address after the prologue (where the breakpoint is)
2942 has no exactly matching line symbol, and GDB reports the breakpoint
2943 as if it were in the middle of a line rather than at the beginning.
2944
dc96c6c7 29452000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2946
2947 * gdb.base/interrupt.exp: Make "pass" message say "send"
2948 rather than "send_gdb" (for consistancy).
2949
7d418785
AC
2950Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2951
2952 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2953 * gdb.c++/templates.cc: Properly check for GCC version number.
2954 * lib/compiler.cc: Likewise
2955
dc96c6c7 29562000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2957
2958 * gdb.base/break.exp: When compiled with -O2 optimization,
2959 gdb may not stop at the first line of main, due to code motion.
2960
dc96c6c7 29612000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2962
2963 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2964 This test depends on parsing the printf output from the target.
2965 Since the sparclet stub doesn't do stdio, this will never work.
2966 * gdb.base/call-rt-st.exp: ditto.
2967 * gdb.base/call-strs: ditto.
2968
dc96c6c7 29692000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2970
2971 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2972
2973 * gdb.base/ending-run.exp: After connecting to a remote target,
2974 but before running, the target will appear to be in a random
2975 location. Specify both a file and a line for breakpoints.
2976 Also, the function that calls main may be called 'init'
2977 rather than 'start'.
2978
a5a51225
EZ
29792000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2980
2981 * gdb.base/help.exp: Update output for add-symbol-file command.
2982
7930cc7c
FN
29832000-04-10 Fernando Nasser <fnasser@cygnus.com>
2984
2985 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2986 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2987
23e37ab1
C
29882000-04-07 J.T. Conklin <jtc@redback.com>
2989
e93c542c
C
2990 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2991
23e37ab1
C
2992 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2993
591b8fa3
PDM
2994Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2995
2996 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2997 values that can be represented exactly.
2998 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2999 above change, and to not check against the directory part of the source
3000 file name.
3001 (step into print_long_arg_list): Likewise.
3002 (print print_small_structs from print_long_arg_list): Likewise.
3003 (print print_long_arg_list): Likewise.
3004
7a495180
EZ
30052000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3006
30b53638 3007 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3008
beb998c6
AC
3009Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3010
3011 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3012
1c689132
DB
30132000-03-25 Daniel Berlin <dan@cgsoftware.com>
3014
3015 * gdb.base/commands.exp (deprecated_command_test): Add test for
3016 deprecate with no arguments.
3017
c1790a9d
JL
30182000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3019
3020 * gdb.base/break.exp: Add new test for setting breakpoints on
3021 optimized code so we can test breakpoints work even when function
3022 prologues may be optimized away
3023
003ba290
FN
30242000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3025
3026 From David Whedon <dwhedon@gordian.com>
3027 * gdb.base/commands.exp : Added command deprecator tests.
3028
6837a0a2
DB
30292000-03-22 Daniel Berlin <dan@cgsoftware.com>
3030
3031 * gdb.base/help.exp: Added test for new apropos command.
3032
b9593231
KB
30332000-03-21 Kevin Buettner <kevinb@redhat.com>
3034
3035 * gdb.base/pointers.c (usevar): New function.
3036 (main): Make sure that global variables v_int_pointer2, rptr,
3037 and y are all referenced someplace in the program by calling
3038 usevar() on them. [Some linkers delete symbols which are
3039 never referenced. The space remains, but there's no way to
3040 get a (symbolic) handle on the variable from the debugger.]
3041
751a959b
EZ
30422000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3043
3044 * gdb.base/printcmds.c: Add typedeffed arrays.
3045
3046 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3047 procedure to test arrays that are typedef'd.
3048
73a93a32
JI
30492000-03-13 James Ingham <jingham@leda.cygnus.com>
3050
3051 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3052 the library directories.
73a93a32 3053
fb40c209
AC
3054Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3055
3056 * configure.in (configdirs): Add sub directory gdb.mi.
3057 * configure: Re-generate.
3058
3059 * gdb.mi: New directory.
beb998c6 3060
ee4dd2c9
AC
30612000-02-25 Scott Bambrough <scottb@netwinder.org>
3062
3063 * gdb.base/long_long.exp: Correct test suite failure when printing
3064 a long long value as a double on ARM platforms.
3065
70f0cc22
JB
30662000-02-16 Jim Blandy <jimb@redhat.com>
3067
3068 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3069 default source file is set properly before running this test.
3070
853819b8
EZ
30712000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3072
3073 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3074 gdbtk/library directory, not in gdbtcl2.
3075
dfcd3bfb
JM
30762000-02-04 Jim Blandy <jimb@redhat.com>
3077
3078 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3079 backslash from regexp pattern.
3080
3081 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3082 procedure. Use it to run all the "continue to bp overloaded"
3083 tests. Note that this changes the names of the tests slightly.
3084 If the breakpoint hit message includes a hex PC value, because
3085 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3086 from the real source code, still consider that a pass.
3087
3088 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3089 XFAIL here if the breakpoint message contains a hex address. Note
3090 similar change on 1999-11-02.
3091
3092 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3093
3094 * gdb.base/ptype.exp: Establish a default source file before
3095 calling get_debug_format.
3096
30972000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3098
3099 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3100
8b93c638
JM
31012000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3102
3103 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3104 of successive stepi commands -- while in the prologue we should see
3105 the function entry bracket.
3106
31072000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3108
3109 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3110 reach __change_mode() when stepping through the end of main().
3111
c5394b80
JM
31122000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3113
3114 * gdb.base/default.exp: Fix expected pattern.
3115 * gdb.base/help.exp: Same.
3116
0d06e24b
JM
31172000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3118
3119 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3120 Don't use xfail's because that affects only the following test.
beb998c6 3121
0d06e24b
JM
3122 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3123 solaris or linux.
3124
3125 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3126
dc96c6c7 31272000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3128
beb998c6 3129 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3130 "A syntax error" rather than "A parse error". Accept both.
3131
31322000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3133
3134 * gdb.base/default.exp: Remove OS dependent string from "target
3135 remote" test.
3136 * gdb.base/help.exp: Same for "help target remote" test.
3137
c3f6f71d
JM
31382000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3139
3140 From Jim Kingdon <kingdon@redhat.com>:
3141
3142 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3143 prompt (cleanup rather than necessity, but still might keep output
3144 from spilling to next test).
3145
31462000-01-02 Fred Fish <fnf@cygnus.com>
3147
3148 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3149 AIX, which defines them in <sys/types.h>.
3150
ed9a39eb 31511999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3152
ed9a39eb
JM
3153 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3154 float" test.
3155
31561999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3157
ed9a39eb 3158 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3159
3160 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3161 outermost frame disallowed".
3162
31631999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3164
3165 * gdb.base/setvar.exp: New tests for setting the value of a struct
3166 with a constant list.
3167
31681999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3169
3170 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3171 require the user to type a cast before setting the value of a struct.
3172
de57eccd
JM
31731999-12-06 Jim Blandy <jimb@cygnus.com>
3174
3175 * gdb.base/default.exp: Expect the new 'info float' command on
3176 all i386 platforms.
3177
3178 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3179 LinuxThreads libraries that don't support debugging.
3180
c2d11a7d
JM
3181Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3182
3183 * gdb.base/remote.c: Fill the buffer with truely random data.
3184 Change the buffer type to ``unsigned char'' to simplify size
3185 arithmetic.
3186
3187 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3188 stub only handles 400-1 byte packets. Verify that the download
3189 worked.
3190
31911999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3192
3193 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3194 tests, using UNRESOLVED for the untested cases. Also, does not wait
3195 for a timeout if the prompt was received before a recognizable pattern.
3196
31971999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3198
3199 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3200
32011999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3202
3203 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3204 watchpoints.
3205
32061999-11-24 Jason Merrill <jason@casey.cygnus.com>
3207
3208 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3209
3210 * gdb.c++/local.exp: Be more flexible in recognizing local class
3211 name mangling. Don't allow horribly truncated method names.
3212 * gdb.c++/derivation.exp: Expect protected inheritance.
3213 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3214 * gdb.c++/virtfunc.exp: Likewise.
3215 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3216 when printing a nested enum.
3217
32181999-11-22 Jim Blandy <jimb@cygnus.com>
3219
3220 * gdb.base/step-test.exp: Properly await GDB's response to setting
3221 a breakpoint on the call to large_struct_by_value.
3222
3223 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3224 just because we have debug info for the `start' function.
3225
32261999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3227
3228 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3229 "Unknown signal" messages, which indicate (on LinuxThreads) that
3230 GDB doesn't know how to debug threads on this system. This is
3231 better than hanging while philosopher 0 dumps chatter into gdb.log.
3232
32331999-11-18 Tom Tromey <tromey@cygnus.com>
3234
3235 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3236
32371999-11-18 Fred Fish <fnf@cygnus.com>
3238
3239 * gdb.base/coremaker2.c: Add sample program for generating
3240 cores that is more self contained than coremaker.c. Eventually
3241 I'll add more code to this and tie it into the testsuite.
3242
4ce44c66
JM
32431999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3244
3245 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3246
32471999-11-10 Jimmy Guo <guo@cup.hp.com>
3248
3249 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3250 from $srcdir/lib/.
3251 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3252 and gdb.c++/.
3253
3254 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3255
beb998c6 3256 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3257 'continue with watch' test point.
3258
32591999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3260
3261 Merged from p2linux-990323-branch:
beb998c6 3262
4ce44c66
JM
3263 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3264
11cf8741
JM
3265Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3266
3267 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3268 {limit,fixed}''. Test ``set download-write-size''.
3269
3270Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3271
3272 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3273 gdb_expect_list.
3274
3275Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3276
3277 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3278
32791999-11-03 Mark Salter <msalter@cygnus.com>
3280
3281 * gdb.base/break.exp: Fix "stub continue" pattern.
3282
32831999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3284
3285 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3286
32871999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3288
3289 * gdb.base/display.exp ("finish"): Add timeout clause.
3290
3291 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3292 plain prompt clause, so this doesn't have to time out in order to
3293 fail.
3294
3295 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3296 breakpoint hit messages include an address.
3297
3298 * gdb.base/display.exp: Don't forget to escape parens in regular
3299 expressions. Unix regexp notatation sucks.
3300
33011999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3302
3303 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3304 order for 'signalled' message.
3305
5c44784c
JM
33061999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3307
3308 From Jimmy Guo <guo@cup.hp.com>:
3309 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3310 * gdb.base/annota1.c: Add code for tests to work with.
3311
33121999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3313
3314 * gdb.base/remote.exp: New test for remote downloading settings.
3315 * gdb.base/remote.c: New file with large .data.
3316
917317f4
JM
33171999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3318
3319 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3320 for LinuxThreads support, merged from the Code Fusion branch.
3321
3322Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3323
3324 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3325 containing exp_continue into a while within an expect. Don't
3326 attempt a start more than three times. Check return value from
3327 gdb_load.
beb998c6 3328
2df3850c
JM
3329Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3330
3331 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3332 a pass case.
3333
2acceee2
JM
33341999-10-01 Kevin Buettner <kevinb@cygnus.com>
3335
3336 * gdb.base/break.c (main): Added a statement that we can step
3337 off of.
3338 * gdb.base/break.exp: Added tests for setting a breakpoint
3339 at an offset and stepping onto a breakpoint.
3340
33411999-10-01 Fred Fish <fnf@cygnus.com>
3342
beb998c6 3343 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3344 gdb output.
3345
c2c6d25f
JM
33461999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3347
3348 * gdb.base/break.exp: Code locations are in hex, don't forget!
3349 (For HP-UX.)
3350
33511999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3352
3353 * condbreak.exp: Use break.c as test program.
3354 * condbreak.c: Remove, redundant with break.c.
3355
33561999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3357
3358 * config/monitor.exp (gdb_target_monitor): Disable X- and
3359 Z-packets if the target needs it.
3360
33611999-09-13 James Ingham <jingham@leda.cygnus.com>
3362
3363 * gdb.c++/overload.exp: Added tests for listing overloaded
3364 functions with function pointers in the arg, explicitly calling
3365 out the version you want.
3366
cff3e48b
JM
33671999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3368
3369 * long_long.exp: Add variations of test cases that work for
3370 targets with 16-bit ints and 32-bit doubles.
3371
d4f3574e
SS
33721999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3373
3374 * break.c (main): Compare a possibly-uninitialized argc with an
3375 unlikely value that fits in 16 bits.
3376
33771999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3378
3379 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3380 0xfeeb, don't want negative numbers if ints are 16 bits.
3381
3382 * lib/gdb.exp (skip_cplus_tests): New proc.
3383 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3384 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3385 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3386 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3387 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3388 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3389 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3390 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3391
3392 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3393
3394Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3395
3396 * gdb.base/corefile.exp (up): Allow a parameter to appear
3397 in the frame that we're going up to.
3398
3399 From Jim Blandy <jimb@cygnus.com>:
3400
3401 * gdb.base/default.exp (info float): Expect some output now.
3402
3403 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3404 returning floating-point values to fail on the x86.
3405 * gdb.base/callfwmall.exp (do_function_calls): Same.
3406
3407 * gdb.base/list.exp (test_listsize): Correct expectations for
3408 listing line 1 with listsize 2. Also, listing a single line
3409 works now, as does listing three lines. [Kevin's note: There
3410 were a number of other cases fixed too where the expectations
3411 differed...]
3412
34131999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3414
3415 * gdb.base/selftest.exp: Add case for when version prints as
3416 constant string instead of char pointer.
3417
104c1213
JM
34181999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3419
3420 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3421 stepping out of main.
3422
3423 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3424 G++ used.
3425
3426 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3427 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3428
3429 * gdb.c++/ovldbreak.exp: Update match string in test that
3430 includes a warning of multiple breakpoints.
3431
34321999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3433
3434 * gdb.base/display.exp: Improve precision of step-after-finish
3435 added yesterday.
3436
3437 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3438 test.
3439
3440 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3441 configs when using G++, not just hppa*.
3442
34431999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3444
3445 * gdb.base/async.c: New file.
3446 * gdb.base/async.exp: New file.
3447
3448Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3449
3450 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3451 PA64.
3452
53a5351d
JM
3453Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3454
104c1213
JM
3455 * gdb.base/display.exp: "finish" can leave us mid-line on many
3456 targets, deal with it. Add a small constant to main, instead of
3457 1000 since main+1000 may not be a valid address in the target.
3458
53a5351d
JM
3459 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3460 on hpux11.
3461
3462 * gdb.base/attach.exp: Handle another hpux11 error message variant
3463 when attaching to a process that does not exist.
3464
34651999-08-19 J.T. Conklin <jtc@redback.com>
3466
3467 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3468 characters in 'continue to 1241' test.
3469
34701999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3471
3472 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3473 stop in print_long_arg_list, define and use a whitespace
3474 variable in print_small_structs test, add an XFAIL for Solaris.
3475 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3476 interested enough to fix.
3477
7be570e7
JM
34781999-08-13 Keith Seitz <keiths@cygnus.com>
3479
3480 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3481 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3482 proc knows about targets other than the natives.
3483 (test_assign): Use "gdb_run_cmd" to "run" the target.
3484 Check that we've actually hit the breakpoint at main.
3485 When we attempt to assign a value to a local variable, check
3486 that the variable is in the current scope, i.e., don't use
3487 a test with an empty result.
3488
3489Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3490
3491 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3492 command.
3493
34941999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3495
3496 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3497 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3498 gdb.compat, gdb.threads-hp.
3499 gdb.hp/configure, gdb.hp/configure.in: New files.
3500 gdb.hp/Makefile.in: Recurse into new subdirs.
3501 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3502 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3503 in object files.
3504 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3505
96baa820
JM
35061999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3507
3508 * gdb.base/display.exp: Help expect by putting a newline in the
3509 funky printf, remove a bogus p/a test.
3510
35111999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3512
3513 * gdb.base/display.exp: Make sure that when we say 'run', we are
3514 connected to the target. This is necessary when running not
3515 natively.
3516
35171999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3518
3519 * gdb.base/step-test.exp: Removed some extraneous messages.
3520
3521 * gdb.base/long_long.exp: Don't run memory examination tests
3522 on little-endian targets (they will need a different set of
3523 results to match).
3524
35251999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3526
3527 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3528 until somebody decides to fix GDB.
3529
3530 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3531 constant as "ULL".
3532 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3533 matches for a couple x/2 commands.
3534
a0b3c4fd
JM
35351999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3536
3537 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3538 by merging in ref-types2 tests.
3539 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3540
3541 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3542 * gdb.c++/Makefile.in: Add standard actions.
3543 (EXECUTABLES): Rename from PROGS, update list.
3544 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3545 from gdb.hp.
3546 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3547 foo and bar locals.
3548 * gdb.c++/anon-union.exp: Fix tests to match.
3549 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3550 expect matches to handle output variations.
3551 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3552 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3553 output, add HP alternatives for new and delete prints.
3554 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3555 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3556 * gdb.c++/demangle.exp: Use $style when reporting failure.
3557 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3558 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3559 match alternatives.
3560 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3561 compilers.
3562 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3563 * gdb.c++/method.exp: Add match alternatives.
3564 * gdb.c++/misc.cc: Add bool types.
3565 * gdb.c++/misc.exp: Add tests for bool types.
3566 * gdb.c++/overload.exp: Add xfails.
3567 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3568 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3569 add some more template parameter tests (only for HP currently).
3570 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3571 * gdb.c++/virtfunc.cc: Add return type and value for main.
3572 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3573 match alternatives.
beb998c6 3574
a0b3c4fd
JM
35751999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3576
3577 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3578
35791999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3580
3581 * gdb.base/signals.exp: Don't expect getting a backtrace from
3582 within a signal handler to fail on Linux.
3583
35841999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3585
3586 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3587 * lib/gdb.exp: Remove some gratuitious semicolons.
3588 (delete_breakpoints): Increase timeout.
3589 (gdb_expect): Add -notransfer option.
3590 (gdb_test): Use -notransfer option.
3591 (get_compiler_info): Add f77 case.
3592 (get_compiler): New proc, split out from gdb_preprocess, add f77
3593 case.
3594 (gdb_preprocess): Call get_compiler.
3595
3596 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3597 * gdb.base/attach.exp, gdb.base/display.exp,
3598 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3599 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3600 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3601 third arg to gdb_test.
3602 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3603 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3604 HP-UX xfails, add others.
3605 * gdb.base/completion.exp: Reflect name change of self-test.
3606 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3607 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3608 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3609 HP failure number.
3610 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3611 useless HP-UX 10.30 references.
3612 * gdb.base/maint.exp: Loosen matches.
3613 * gdb.base/pointers.c (main): Declare more_code.
3614 * gdb.base/pointers.exp: Match on output of a `next'.
3615 * gdb.base/structs.c: Add prototypes.
3616 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3617 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3618
36191999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3620
3621 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3622 command.
3623
36241999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3625
3626 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3627 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3628
3629 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3630 debug info. Deal with lack of signal hanlder info in stack.
3631
3632 From Jim Kingdon <kingdon@redhat.com>:
3633 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3634
5a2468f5
JM
36351999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3636
3637 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3638 gdb.base/foll-vfork.exp: Don't run for crosses.
3639
adf40b2e
JM
3640Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3641
3642 * gdb.base/configure.in: Check for gdbvars.exp instead of
3643 a1-selftest.exp.
3644 * gdb.base/configure: Re-generate.
3645
36461999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3647
3648 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3649 in trying to run first and name is too long.
3650
3651 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3652 pointers2.c and pointers2.exp, respectively.
3653 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3654 doschk happier.
3655
43e526b9
JM
36561999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3657
3658 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3659 callfuncs2.c and callfuncs2.exp.
3660
3661 * gdb.base/list.exp: Remove mistaken xfails.
3662 * gdb.base/list0.h: Add optional prototypes.
3663
9846de1b
JM
3664Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3665
3666 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3667 calling malloc.
3668 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3669 * ptype.exp: Move test for get_debug_format to before its first
3670 use.
3671
36721999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3673
3674 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3675 * gdb.base/annota2.cc, annota2.exp: Move from here.
3676 * gdb.c++/annota2.cc, annota2.exp: To here.
3677 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3678
43ff13b4
JM
3679Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3680
3681 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3682 a consistent format.
3683
085dd6e6
JM
36841999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3685
3686 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3687 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3688 HP compilers, also set the globals $true and $false.
3689
3690 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3691 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3692 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3693 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3694 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3695 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3696 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3697 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3698 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3699 whatis.c} Add C++ compatible function definitions and return
3700 types, add includes for library functions.
3701 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3702 * gdb.base/step-test.c (myglob): Rename from glob.
3703 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3704 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3705 files, move here from gdb.hp.
3706 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3707 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3708 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3709 Adjust line numbers in regexps.
3710
3711 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3712 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3713 instead of 0/1.
3714
3715 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3716 foll-vfork.exp: New files, move here from gdb.hp.
3717 * gdb.base/page.exp: New file, test of pagination command.
3718
3719 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3720 recursion test.
3721 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3722
3723 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3724 gdb.base/solib.exp: Fix compiler invocation process.
3725
3726 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3727 HP-UX 11, turn off overload resolution explicitly.
3728 * gdb.base/commands.exp: Set argument list explicitly, add
3729 watchpoint test.
3730 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3731 them work.
3732 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3733 expressions properly.
3734 * gdb.base/corefile.exp: Loosen the match slightly.
3735 * gdb.base/default.exp: Allow "Error accessing memory" message
3736 also.
3737 * gdb.base/display.exp: Skip over x/0 j if PA64.
3738 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3739 * gdb.base/interrupt.exp: Ditto.
3740 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3741 in use.
3742 * gdb.base/list.exp: Add xfails for HP-UX.
3743 * gdb.base/long_long.exp: Refine some of the numeric matches.
3744 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3745 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3746 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3747 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3748 * gdb.base/ptype.exp: Succeed on more varieties of output.
3749 * gdb.base/scope.exp: Add xfails for HP-UX.
3750 * gdb.base/sect-cmd.exp: Add more cases.
3751 * gdb.base/setvar.exp: Add xfails for HP-UX.
3752 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3753 * gdb.base/signals.exp: Match on void symbolically.
3754 * gdb.base/step-test.exp: Add case for PA64.
3755 * gdb.base/term.exp: Add exit and restart.
3756 * gdb.base/twice.exp: Clean up after self.
3757 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3758 * gdb.base/whatis.exp: Allow more ways to pass tests.
3759
3760 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3761 no longer useful.
3762
3763Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3764
3765 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3766 list of patterns.
3767 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3768 print_double_array(double_array)", "continuing to breakpoint
3769 1018", "print print_double_array(array_d)" and "continuing to
3770 1034" tests.
beb998c6 3771
085dd6e6
JM
37721999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3773
3774 * Makefile.in: Add empty html and install-html targets.
3775
37761999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3777
3778 * config/mt-*: Remove, these haven't been used since 1996.
3779
37801999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3781
3782 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3783 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3784 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3785
9e0b60a8
JM
37861999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3787
3788 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3789 simpler match case for the ptype of the big class.
3790
37911999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3792
3793 * gdb.exp: Fix test for gdb_prompt existence.
3794
37951999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3796
3797 * gdb.exp (gdb_test): Add fail after calls to perror.
3798
37991999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3800
3801 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3802
38031999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3804
3805 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3806
0f71a2f6
JM
3807Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3808
3809 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3810 malloc() is linked in.
3811
38121999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3813
3814 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3815 step at end.
3816
3817 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3818
38191999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3820
3821 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3822
cce74817
JM
3823Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3824
3825 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3826 * gdb.base/mips_pro.exp: Likewise.
3827
38281999-06-02 Keith Seitz <keiths@cygnus.com>
3829
3830 * gdb.c++/templates.cc: Change all "new" operators to throw
3831 an exception.
3832 * gdb.c++/cplusfuncs.cc: Likewise.
3833
3834 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3835
3836Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3837
3838 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3839 * gdb.base/ending-run.exp: When stepping out of main, accept a
3840 step into an arbitrary assembler file.
3841
392a587b
JM
38421999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3843
beb998c6 3844 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3845 "breakpoint-invalid" to be printed.
beb998c6 3846 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3847 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3848 * gdb.base/annota2.cc: Initialize a.x to 0.
3849
9e086581
JM
38501999-05-17 Keith Seitz <keiths@cygnus.com>
3851
3852 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3853 when "skip_float_tests" set.
3854 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3855 "print print_ten_doubles", and "step into print_long_arg_list".
3856 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3857 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3858 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3859 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3860 "skip_float_tests" is set.
3861 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3862 when "skip_float_tests" set.
beb998c6 3863
cd0fc7c3
SS
38641999-05-06 Keith Seitz <keiths@cygnus.com>
3865
3866 * gdb.base/annota2.cc: Include stdio.h.
3867
3868Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3869
3870 * gdb.base/crossload.exp: Remove, this has been disabled ever
3871 since BFD stopped including all targets, and cross-GDB gets
3872 plenty of testing anyway.
3873 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3874 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3875 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3876 * gdb.base/README: Remove, was doc for this.
3877 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3878 needed.
3879
b83266a0
SS
38801999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3881
3882 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3883 output.
3884
3885 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3886 * gdb.base/annota2.exp: New file. More annotation tests.
3887 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3888 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3889
38901999-04-23 Angela Marie Thomas <angela@cygnus.com>
3891
3892 * config/cfdbug.exp: New file.
3893
7a292a7a
SS
38941999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3895
3896 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3897 Marcus Daniel's and Dale Hawkins's demangler crashes.
3898
3899 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3900 test_lucid_style_demangling, test_arm_style_demangling,
3901 test_hp_style_demangling): Try Tom Tromey's core-dumping
3902 identifier under each demangling style.
3903
39041999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3905
3906 * gdb.c++/demangle.exp: Include the current demangling style
3907 in all test names.
3908 (current_demangling_style): New global variable.
3909 (set_demangling_style, test_demangling_core, test_demangling,
3910 test_demangling_exact): New functions.
3911 (test_gnu_style_demangling, test_lucid_style_demangling,
3912 test_arm_style_demangling, test_hp_style_demangling): Use those,
3913 instead of calling gdb_test and gdb_test_exact directly.
3914 (catch_demangling_errors): New function, which reports errors
3915 signalled by the demangling test functions in an orderly way.
3916 (do_tests): Use catch_demangling_errors.
3917
39181999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3919
3920 * gdb.base/signals.exp (test_handle_all_print): Use () for
3921 grouping in expressions, not {}.
3922
3923 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3924 initialized yet.
3925
39261999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3927
3928 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3929 are listed.
3930
39311999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3932
3933 * gdb.stabs/weird.exp: Test for CC being defined before
3934 looking at its value.
3935
39361999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3937
3938 * gdb.base/call-ar-st.exp: Remove stray '#'.
3939 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3940 "short int" and "long int".
3941 * gdb.c++/overload.cc: Cast the string added in the previous
3942 change, to mollify finicky HP compiler.
3943 * gdb.hp/reg-test.exp (testfile): Fix file name.
3944 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3945
7a292a7a
SS
3946 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3947 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3948 alternate form of enum ptype.
3949
c906108c
SS
39501999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3951
7a292a7a
SS
3952 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3953 * gdb.hp/*.exp: Change all to run compiler probe only after
3954 passing skip_hp_tests, so as not to waste time on guaranteed
3955 failure.
3956
c906108c
SS
3957 * gdb.c++/overload.cc: Pass string instead of char addr, always
3958 init ccpfoo.
3959 * gdb.c++/templates.cc: Fix syntax error.
3960
7a292a7a
SS
3961Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3962
3963 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3964 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3965 command.
3966
39671999-03-18 James Ingham <jingham@cygnus.com>
3968
3969 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3970
3971 * gdb.c++/method.exp: It was testing an uninitialized int on the
3972 stack and assuming it was positive.
3973
3974 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3975
3976 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3977 keep it from killing the rest of the tests.
7a292a7a
SS
3978 Use gdb_continue_to_end.
3979
3980 * gdb.base/sigall.exp: use gdb_continue_to_end.
3981
3982 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3983
3984 * gdb.base/display.exp: use runto_main, not run.
3985
beb998c6
AC
3986 * gdb.base/default.exp: Check for the current error message in the
3987 r abbreviation test.
7a292a7a
SS
3988 Add strongarm to the targets that know info float.
3989
beb998c6 3990 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3991 run which doesn't work with monitors.
3992
3993 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3994
3995 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3996
3997 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3998 program. Traps the case (in Cygmon) when the program never really
3999 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4000 more places, so I used my name. Sorry Mark...
4001
4002 * config/monitor.exp (gdb_target_monitor): added another
4003 target_info parameter: remotebinarydownload. This will set the
4004 remotebinarydownload flag if this is causing some boards trouble.
4005
40061999-03-18 Mark Salter <msalter@cygnus.com>
4007
4008 * lib/gdb.exp (continue_to_exit): New function.
4009
4010 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4011 * gdb.base/ending-run.exp: Ditto.
4012 * gdb.base/step-test.exp: Ditto.
4013
40141999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4015
4016 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4017 (suggested by Art Haas <ahaas@neosoft.com>).
4018
40191999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4020
4021 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4022
4023Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4024
4025 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4026 descriptions of types (short unsigned int vs unsigned short, etc).
4027
40281999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4029
4030 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4031 a call to strlen; sometimes we do have sources.
4032
40331999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4034
4035 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4036 character, so GDB won't print garbage after its end.
beb998c6 4037
c906108c
SS
4038 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4039 breakpoint there instead. Sometimes GCC emits memcpy to handle
4040 the large structures being passed by value, so we step into that
4041 instead of sum_array_print, which obscures what we're really testing.
4042 * gdb.base/step-test.exp: However, we do want a test that notices
4043 the bizarre steps into memcpy, so do that here. Add check for
4044 stepping into function calls that pass large structures by value.
4045 ("Is that a noun clause, or are you just happy to see me?")
4046 Remove all references to specific line numbers.
4047 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4048 New type and function.
4049 (main): Call large_struct_by_value, passing it a large struct by value.
4050 * lib/gdb.exp (gdb_get_line_number): New function.
4051
4052 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4053 more portable.
4054
7a292a7a
SS
40551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4056
c906108c
SS
4057 * lib/gdb.exp: Doc fixes.
4058
7a292a7a
SS
40591999-03-05 Nick Clifton <nickc@cygnus.com>
4060
beb998c6 4061 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4062
40631999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4064
c906108c
SS
4065 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4066 commands. They're not germane to this test, and they don't work
4067 that way on remote targets.
4068
3fc11d3e
JM
40691999-03-01 James Ingham <jingham@cygnus.com>
4070
4071 * Changelog entries merged over from gdb development branch.
4072
3fc11d3e
JM
4073 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4074
4075 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4076 for outputting results of test run.
4077
2d4a1622 4078 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4079
4080 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4081
7a292a7a
SS
40821999-02-25 Felix Lee <flee@cygnus.com>
4083
4084 * lib/gdb.exp (debug_format): initialize
4085
c906108c
SS
40861999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4087
4088 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4089 * gdb.base/call-rt-st.c: Ditto.
4090
c906108c
SS
40911999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4092
4093 * gdb.threads/pthreads.exp (horiz): New variable.
4094 (test_startup): Fix regexps that capture thread numbers.
4095
40961999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4097
4098 * gdb.base/smoke.exp: Disambiguate two test case names (both
4099 called ``print'').
4100
4101Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4102
4103 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4104 compilation.
4105
41061999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4107
4108 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4109 actual output formatting.
4110 * gdb.base/smoke.exp: GDB removes leading 0's.
4111 * gdb.base/volatile.exp: Don't check type of remuneration;
4112 that variable is no longer defined in constvars.c.
4113 * gdb.base/step-test.c (main): Exit with explicit exit code.
4114 * gdb.base/step-test.exp: Remove two nexti checks--they are
4115 not portable.
4116
41171999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4118
4119 * gdb.base/help.exp ("help delete display"): Fix test to match
4120 gdb's output.
4121
4122 * gdb.base/long_long.c (known_types): Initialize values to zero.
4123 * gdb.base/long_long.exp: Step one more line
4124 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4125 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4126 unique test case names.
4127
4128Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4129
beb998c6 4130 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4131
4132 * gdb.c++/method.exp: Add missing close brace.
4133
41341999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4135
4136 * gdb.base/maint.exp: Use 'set height 0' to disable page
4137 prompting, not 'set height 400'.
4138
4139 Fix a bunch of timeouts.
4140 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4141 four separate tests, so expect doesn't take forever to match a ton
4142 of text against a regexp with lots of .* forms.
4143 ("maint print psymbols", "maint print symbols"): Make some of
4144 these greps more selective, so that expect doesn't try to wade
4145 through huge piles of output and time out.
4146
4147 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4148
4149 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4150 tests: one which doesn't expect shlib events to be reported, and
4151 another which does, but is XFAIL for all platforms other than
4152 HP/UX.
4153
4154 * gdb.base/break.exp: Teach the test suite that the `catch
4155 fork', `catch vfork', and `catch exec' commands produce error
4156 messages on platforms that don't provide these features.
4157
4158Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4159
4160 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4161 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4162 (shortening names from solib_threshold.exp etc), won't run on
4163 anything but HP-UX for the foreseeable future.
4164 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4165 reflect move.
4166
4167Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4168
4169 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4170 gdb.trace/Makefile.in (clean): Remove all test executables.
4171
4172Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4173
4174 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4175 successfully re-sets breakpoints in shared libraries.
4176 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4177
4178Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4179
beb998c6
AC
4180 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4181 and compiled w/o GCC.
c906108c
SS
4182
4183 * gdb.hp/watch-cmd.exp: ditto.
4184
4185 * gdb.hp/watch-hp.exp: ditto.
4186
4187 * gdb.hp/xdb1.exp: ditto.
4188
4189 * gdb.hp/xdb2.exp: ditto.
4190
4191 * gdb.hp/dbx.exp: ditto.
4192
4193Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4194
4195 * constvars.c: Remove C++-isms.
4196 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4197 with GCC.
4198
4199Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4200
4201 The following changes are part of the HP merge.
4202
4203 * gdb.base/break.exp: new tests to verify that catchpoints for
4204 fork, vfork, and exec don't trigger inappropriately.
4205
4206 * gdb.base/opaque.exp: compile one file at a time, then link.
4207
4208 * gdb.base/signals.exp: be more restrictive about which hppa
4209 systems receive a setup_xfail. new tests.
4210
4211 * gdb.base/solib_threshold.build: new file.
4212 * gdb.base/solib_threshold.exp: new file.
4213 * gdb.base/solib_threshold.link_opts: new file.
4214 * gdb.base/solib_threshold.mk: new file.
4215 * gdb.base/gen_solib_threshold.c: new file.
4216
4217 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4218 tests. New tests for enums inside classes.
4219
4220 * gdb.c++/compiler.cc: indicate support of template debugging.
4221
4222 * gdb.c++/demangle.exp: run hp style demangling tests.
4223
4224 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4225 tests.
4226
4227 * gdb.c++/misc.cc: changes to support new tests.
4228
4229 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4230 to support new tests.
4231
4232 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4233 gcc, then skip these tests.
4234
4235Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4236
4237 The following files are part of the HP merge; some had longer
4238 names at HP, but have been renamed to be no more than 14
4239 characters in length.
4240
4241 * gdb.hp/ambiguous.cc: new file.
4242 * gdb.hp/ambiguous.exp: new file.
4243 * gdb.hp/attach.exp: new file.
4244 * gdb.hp/attach2.exp: new file.
4245 * gdb.hp/classes-hp.exp: new file.
4246 * gdb.hp/ctti.exp: new file.
4247 * gdb.hp/ctti-add.cc: new file.
4248 * gdb.hp/ctti-add1.cc: new file.
4249 * gdb.hp/ctti-add2.cc: new file.
4250 * gdb.hp/ctti-add3.cc: new file.
4251 * gdb.hp/dbx.exp: new file.
4252 * gdb.hp/exception.cc: new file.
4253 * gdb.hp/exception.exp: new file.
4254 * gdb.hp/foll-exec.c: new file.
4255 * gdb.hp/foll-exec.exp: new file.
4256 * gdb.hp/foll-fork.c: new file.
4257 * gdb.hp/foll-fork.exp: new file.
4258 * gdb.hp/foll-vfork.c: new file.
4259 * gdb.hp/foll-vfork.exp: new file.
4260 * gdb.hp/inherit-hp.exp: new file.
4261 * gdb.hp/more-steps.exp: new file.
4262 * gdb.hp/namespace.cc: new file.
4263 * gdb.hp/namespace.exp: new file.
4264 * gdb.hp/optimize.exp: new file.
4265 * gdb.hp/pxdb.c: new file.
4266 * gdb.hp/pxdb.exp: new file.
4267 * gdb.hp/quicksort.exp: new file.
4268 * gdb.hp/reg-test.exp: new file.
4269 * gdb.hp/reg-test.s: new file.
4270 * gdb.hp/sized-enum.c: new file.
4271 * gdb.hp/sized-enum.exp: new file.
4272 * gdb.hp/start-stop.exp: new file.
4273 * gdb.hp/templ-hp.cc: new file.
4274 * gdb.hp/templ-hp.exp: new file.
4275 * gdb.hp/thr-lib.c: new file.
4276 * gdb.hp/thr-lib.exp: new file.
4277 * gdb.hp/thr-lib.h: new file.
4278 * gdb.hp/thr-liblib.c: new file.
4279 * gdb.hp/virtfun-hp.c: new file.
4280 * gdb.hp/virtfun-hp.exp: new file.
4281 * gdb.hp/watch-cmd.exp: new file.
4282 * gdb.hp/watch-hp.exp: new file.
4283 * gdb.hp/xdb1.exp: new file.
4284 * gdb.hp/xdb2.exp: new file.
4285 * gdb.hp/xdb3.exp: new file.
4286
4287Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4288
4289 The following files are part of the HP merge; some had longer
4290 names at HP, but have been renamed to be no more than 14
4291 characters in length.
4292
4293 * gdb.base/ss.h: new file.
4294 * gdb.base/call-ar-st.c: new file.
4295 * gdb.base/call-ar-st.exp: new file.
4296 * gdb.base/call-rt-st.c: new file.
4297 * gdb.base/call-rt-st-exp: new file.
4298 * gdb.base/call-strs.exp: new file.
4299 * gdb.base/ena-dis-br.exp: new file.
4300 * gdb.base/environ.exp: new file.
4301 * gdb.base/long_long.exp: new file.
4302 * gdb.base/sect-cmd.exp: new file.
4303 * gdb.base/shlib-cl2.exp: new file.
4304 * gdb.base/smoke.exp: new file.
4305 * gdb.base/so-impl-ld.c: new file.
4306 * gdb.base/so-impl-ld.exp: new file.
4307 * gdb.base/so-indr-cl.c: new file.
4308 * gdb.base/so-indr-cl.exp: new file.
4309 * gdb.base/varargs.exp: new file.
4310 * gdb.base/volatile.exp: new file.
4311 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4312 * gdb.base/display.exp: new file.
c906108c
SS
4313 * gdb.c++/derivation.exp: new file.
4314 * gdb.c++/local.exp: new file.
4315 * gdb.c++/member-ptr.exp: new file.
4316 * gdb.c++/overload.exp: new file.
4317 * gdb.c++/ovldbreak.exp: new file.
4318 * gdb.c++/ref-types.exp: new file.
4319 * gdb.c++/ref-types2.exp: new file.
4320 * gdb.c++/userdef.exp: new file.
beb998c6 4321
c906108c
SS
4322Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4323
4324 * gdb.base/default.exp: Reflect wording change in remote.c.
4325
dc96c6c7 4326Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4327
4328 * gdb.base/help.exp: Update to reflect current text.
4329
4330Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4331
4332 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4333 they're stack variables and contain garbage.
4334 * gdb.c++/anon-union.exp: new file.
4335
4336 The following changes were made by David Taylor
4337 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4338 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4339 in changes by HP.
4340
4341 * gdb.base/bitops.exp: new file.
4342 * gdb.base/default.exp: change expected messages for catch and
4343 info catch tests to reflect HP merge changes.
4344 * gdb.base/enable-disable-break.exp
4345 * gdb.base/ending-run.c: new file.
4346 * gdb.base/long_long.c: new file.
4347 * gdb.base/maint.exp: new file.
4348 * gdb.base/pointers2.exp: new file.
4349 * gdb.base/shlib-call2.exp: new file.
4350 * gdb.base/solib.exp: new file.
4351 * gdb.base/step-test.c: new file.
4352 * gdb.c++/anon-union.cc: new file.
4353 * gdb.c++/local.cc: new file.
4354 * gdb.c++/member-pointer.cc: new file.
4355 * gdb.c++/method.cc: new file.
4356 * gdb.c++/ref-types.cc: new file.
4357 * gdb.c++/ref-types2.cc: new file.
4358 * gdb.c++/userdef.cc: new file.
beb998c6 4359
c906108c
SS
4360 * gdb.base/scope.exp: compile one file at a time, then link.
4361 * gdb.base/langs.exp: ditto.
4362 * gdb.base/list.exp: ditto.
beb998c6 4363
c906108c
SS
4364Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4365
4366 The following changes were made by David Taylor
4367 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4368 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4369 in changes by HP.
beb998c6 4370
c906108c
SS
4371 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4372 skip tests. When compiling pass c++ flag to gdb_compile.
4373 * gdb.c++/
beb998c6 4374
c906108c
SS
4375 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4376 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4377 (skip_hp_tests): new function.
4378 (gdb_preprocess): new function.
4379
4380 * configure.in (hpdir): decide whether to configure gdb.hp.
4381 * configure: regenerated.
4382
4383 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4384 to delete on clean.
4385 (EXECUTABLES): update to reflect new additions.
4386 * gdb.base/commands.exp: update message expected.
4387 * gdb.base/default.exp: add copyright notice.
4388 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4389 * gdb.base/help.exp: update messages to reflect current text.
4390 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4391 targets for recurse tests.
4392 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4393 skip this file.
4394
4395 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4396 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4397 compilation.
4398 * gdb.c++/misc.exp: ditto.
4399 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4400 run the tests. tell gdb_compile that it's a c++ compilation.
4401
4402 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4403
c906108c
SS
4404 * gdb.base/all-bin.exp: new file.
4405 * gdb.base/arithmet.exp: new file.
4406 * gdb.base/assign.exp: new file.
4407 * gdb.base/completion.exp: new file.
4408 * gdb.base/cond-expr.exp: new file.
4409 * gdb.base/condbreak.exp: new file.
4410 * gdb.base/define.exp: new file.
4411 * gdb.base/dollar.exp: new file.
4412 * gdb.base/environment.exp: new file.
4413 * gdb.base/eval-skip.exp: new file.
4414 * gdb.base/jump.exp: new file.
4415 * gdb.base/logical.exp: new file.
4416 * gdb.base/pointers.exp: new file.
4417 * gdb.base/relational.exp: new file.
4418 * gdb.base/section_command.exp: new file.
4419 * gdb.base/whatis-expr.exp: new file.
4420
4421 * gdb.base/all-types.c: new file.
4422 * gdb.base/call-array-struct.c: new file.
4423 * gdb.base/call-return-struct.c: new file.
4424 * gdb.base/call-strings.c: new file.
4425 * gdb.base/callfuncs2.c: new file.
4426 * gdb.base/condbreak.c: new file.
4427 * gdb.base/constvars.c: new file.
4428 * gdb.base/display.c: new file.
4429 * gdb.base/int-type.c: new file.
4430 * gdb.base/jump.c: new file.
4431 * gdb.base/miscexprs.c: new file.
4432 * gdb.base/pointers.c: new file.
4433 * gdb.base/pointers2.c: new file.
4434 * gdb.base/shmain.c: new file.
4435 * gdb.base/shr1.c: new file.
4436 * gdb.base/shr2.c: new file.
4437 * gdb.base/solib.c: new file.
4438 * gdb.base/solib1.c: new file.
4439 * gdb.base/solib2.c: new file.
4440 * gdb.base/varargs.c: new file.
4441 * gdb.c++/derivation.cc: new file.
4442 * gdb.c++/overload.cc: new file.
4443 * gdb.c++/ovldbreak.cc: new file.
4444 * gdb.hp/attach.c: new file.
4445 * gdb.hp/attach2.c: new file.
4446 * gdb.hp/average.c: new file.
4447 * gdb.hp/compiler.c: new file.
4448 * gdb.hp/compiler.cc: new file.
4449 * gdb.hp/execd-program.c: new file.
4450 * gdb.hp/follow-exec.c: new file.
4451 * gdb.hp/follow-fork.c: new file.
4452 * gdb.hp/follow-vfork-and-exec.c: new file.
4453 * gdb.hp/misc-hp.cc: new file.
4454 * gdb.hp/more-steps.c: new file.
4455 * gdb.hp/optimize.c: new file.
4456 * gdb.hp/quicksort.c: new file.
4457 * gdb.hp/run-hp.c: new file.
4458 * gdb.hp/start-stop.c: new file.
4459 * gdb.hp/sum.c: new file.
4460 * gdb.hp/templates-hp.cc: new file.
4461 * gdb.hp/thread-local-in-lib.c: new file.
4462 * gdb.hp/thread-local-in-lib.h: new file.
4463 * gdb.hp/thread-local-in-lib.lib.c: new file.
4464 * gdb.hp/vforked-program.c: new file.
4465 * gdb.hp/virtfunc-hp.cc: new file.
4466 * gdb.hp/watchpoint-hp.c: new file.
4467 * gdb.hp/xdb.c: new file.
4468 * gdb.hp/xdb0.c: new file.
4469 * gdb.hp/xdb0.h: new file.
4470 * gdb.hp/xdb1.c: new file.
4471
4472Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4473
4474 The following change was made by Edith Epstein
4475 <eepstein@cygnus.com> as part of a project to merge in changes
4476 originally made by HP; HP did not create ChangeLog entries.
4477
4478 * gdb.c++/demangle.exp: changed the expected output for some
4479 ARM-style mangling -- removed second reference to datatype.
4480 For example, maint demangle __dt__11T1__pt__2_cFv
4481 T1<char>::~T1<char>(void)
4482 becomes,
4483 maint demangle __dt__11T1__pt__2_cFv
4484 T1<char>::~T1(void)
4485
4486 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4487
c906108c
SS
4488Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4489
4490 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4491 * gdb.trace/backtrace.exp: Likewise.
4492 * gdb.trace/circ.exp: Likewise.
4493 * gdb.trace/collection.exp: Likewise.
4494 * gdb.trace/deltrace.exp: Likewise.
4495 * gdb.trace/infotrace.exp: Likewise.
4496 * gdb.trace/limits.exp: Likewise.
4497 * gdb.trace/packetlen.exp: Likewise.
4498 * gdb.trace/passc-dyn.exp: Likewise.
4499 * gdb.trace/passcount.exp: Likewise.
4500 * gdb.trace/report.exp: Likewise.
4501 * gdb.trace/save-trace.exp: Likewise.
4502 * gdb.trace/tfind.exp: Likewise.
4503 * gdb.trace/tracecmd.exp: Likewise.
4504 * gdb.trace/while-dyn.exp: Likewise.
4505 * gdb.trace/while-stepping.exp: Likewise.
4506
45071998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4508
4509 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4510
4511Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4512
4513 From Brendan Kehoe:
4514 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4515 int return types.
4516
4517Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4518
4519 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4520 remote dos host testing right.
4521
4522Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4523
4524 * gdb.base/corefile.exp: remove some xfails.
4525
4526Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4527
4528 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4529 have different timestamps.
4530
4531Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4532
4533 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4534 gdb.base/default.exp: Replace "exec" with "executable".
4535
4536Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4537
4538 * gdb.base/default.exp: Change else if to elseif from previous
4539 delta.
4540
4541Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4542
4543 * gdb.base/default.exp: Add brace missing from previous delta.
4544
4545Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4546
4547 * gdb.base/default.exp: Support test for info float for all
4548 varieties of arm toolchain.
4549
dc96c6c7 4550Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4551
4552 * gdb.trace/*.exp: remove "remote_download" command.
4553
dc96c6c7 4554Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4555
4556 * gdb.trace/*.exp: remove -gdwarf from compile.
4557
4558Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4559
4560 * gdb.trace/configure.in(AC_INIT): typo
4561 * gdb.trace/configure: regenerated
4562
dc96c6c7 4563Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4564
4565 * config/m68k-emc.exp: New file.
4566 * lib/<emc-support.exp trace-support.exp}: New files.
4567 * configure.in: add new test directory gdb.trace.
4568 * gdb.trace/{configure configure.in Makefile.in}: New files.
4569 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4570 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4571 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4572 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4573 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4574 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4575 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4576
dc96c6c7 4577Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4578
4579 * gdb.c++/classes.exp: Change all regular expressions to match
4580 arbitrary combinations of newline/carriage-return, so that they
4581 will work equally well on Unix and Windows.
4582 * gdb.c++/inherit.exp: ditto.
4583 * gdb.c++/virtfunc.exp: ditto.
4584
45851998-08-11 Dawn Perchik <dawn@cygnus.com>
4586
4587 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4588
c2d11a7d
JM
4589Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4590
4591 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4592 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4593 to use a0-a3/d0-d3 as needed.
4594
4595Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4596
4597 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4598 * gdb.disasm/am33.exp: Corresponding changes.
4599
c906108c
SS
46001998-07-11 Felix Lee <flee@cygnus.com>
4601
4602 * gdb.base/callfuncs.exp: add cmp10 test.
4603 * gdb.base/callfuncs.c (cmp10): new function.
4604
4605Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4606
beb998c6 4607 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4608 into two parts to get around a synchronization problem in expect.
4609
3fc11d3e
JM
4610Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4611
4612 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4613
4614 * configure.in: Add options for gdbtk testsuite.
4615
4616 * configure: Regenerate.
4617
4618 * gdb.gdbtk: New directory to hold gdbtk tests.
4619
c906108c
SS
4620Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4621
4622 * gdb.fortran/types.exp: Escape brackets in expect patterns
4623 for test_float_literal_types_accepted tests.
4624 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4625 before run test.
4626
c2d11a7d
JM
4627Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4628
4629 * am33.exp: Just compile, do not link the testcase.
4630 * am33.s: Add ".am33" pseudoop to force am33 mode.
4631
c906108c
SS
46321998-06-25 Felix Lee <flee@cygnus.com>
4633
4634 * gdb.base/setshow.exp: make sure $pc is sane.
4635
4636 * gdb.stabs/weird.exp: split expect patterns properly.
4637
c2d11a7d
JM
4638Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4639
4640 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4641 * gdb.disasm/am33.exp: Run it.
4642
dc96c6c7 4643Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4644
4645 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4646 match processing (and eliminate spurious timeouts when running).
4647
dc96c6c7 4648Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4649
4650 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4651 exception test, but conditionalize it on target [mach | gnu].
4652
dc96c6c7 4653Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4654
4655 * gdb.base/overlays.exp: fixup compile line for linker script.
4656
4657Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4658
4659 * gdb.fortran/types.exp: don't guess at float size.
4660
4661Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4662
4663 * gdb.base/exprs.exp: delete test that depends on int size.
4664
4665Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4666
4667 * config/sim.exp: Removed checks for target triplets.
4668 (gdb_target_sim): Use gdb,target_sim_options.
4669
4670Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4671
4672 * gdb.base/reread.exp: New file.
4673 * gdb.base/reread1.c: New file.
4674 * gdb.base/reread2.c: New file.
4675
4676Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4677
4678 * config/sim.exp: Use 'target sim -sparclite' when running
4679 SPARClite programs.
4680
4681Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4682
4683 * gdb.base/structs2.exp: New file.
4684 * gdb.base/structs2.c: New file.
4685
4686Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4687
4688 * gdb.asm/common.inc: New file.
4689 * gdb.asm/d10v.inc: New file.
4690 * asm-source.exp: Pass -I's to gas to find .inc files.
4691 Update line numbers in expected output.
4692 * asmsrc1.s: Rewrite.
4693 * asmsrc2.s: Rewrite.
4694 * configure.in: Create arch.inc symlink.
4695 * configure: Regenerate.
4696 * Makefile.in (distclean): Delete arch.inc.
4697
4698Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4699
4700 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4701 (t_enum_value2): ditto
4702 (t_enum_value3): ditto
4703 (main): ditto
4704Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4705
4706 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4707 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4708 change.
4709 Use gdb_test instead of send_gdb/gdb_expect sequences.
4710
4711Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4712
4713 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4714 not void.
4715
4716Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4717
4718 * gdb.base/branches.c: Code with lots of loops and
4719 subroutines. Used to test gdbs ability to single step through PC
4720 changes, especially to test mips-tdep.c:mips_next_pc
4721
4722Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4723
4724 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4725 more rigorous EGCS C++ error checking.
4726
4727Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4728
4729 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4730 tests.
c906108c 4731 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4732 function when asleep.
c906108c 4733 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4734 for i*86 Linux and SVR4 signal handling problems.
4735 Remove linux xfail for `next to handler in signals_tests_1', fixed
4736 by recent infrun.c change.
c906108c 4737 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4738 stack backtraces.
c906108c
SS
4739 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4740 target.[ch] change.
4741
4742Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4743
4744 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4745 for a newline from gdb before continuing.
4746 (default_gdb_exit): Just look for y or n.
4747 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4748 it does, fail the rests of the tests in the file.
4749
4750Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4751
4752 * config/cygmon.exp: New file.
4753
4754Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4755
4756 * gdb.base/list.exp: Fix problem with "list default lines around
4757 main" test on remote targets.
4758
4759 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4760 run test on remote targets.
4761
4762Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4763
4764 * gdb.asm: New directory.
4765 * configure.in: Configure it.
4766 * configure: Regenerate.
4767 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4768 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4769
4770Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4771
4772 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4773
dc96c6c7 4774Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4775
c906108c
SS
4776 * gdb.base/overlays (several files): Merge the two overlay
4777 managers into one. Change variables (foox, barx, bazx, grbxx)
4778 back into ints but force them to load in their proper sections.
4779
4780Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4781
4782 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4783 on-chip insn memory and IMAP1 to upper 128k.
4784 (D10VCopy): Handle memory regions crossing 16k boundaries.
4785 (D10VCopy): Transfer data in 32 bit chunks.
4786
4787Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4788
4789 * gdb.base/overlays.c (main): Exit normally when result is
4790 correct.
4791
4792 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4793 map. Include space for printf in .text segment.
4794
4795 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4796 updated d10v memory VMA/LMA map.
4797 (D10VCopy): Call D10VTranslate.
beb998c6 4798
c906108c
SS
4799Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4800
4801 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4802
4803 * gdb.base/bar.c (barx, bar): Change variable to small array so
4804 that it won't be put into the .sdata - small data -
4805 section. Update reference.
4806 * gdb.base/baz.c (bazx, baz): Ditto.
4807 * gdb.base/foo.c (foox, foo): Ditto.
4808 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4809
4810 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4811 to be arrays.
beb998c6 4812
dc96c6c7 4813Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4814
c906108c
SS
4815 * gdb.base/overlays.exp: fix up and get working again.
4816 Add tests for backtraces from an overlay function.
beb998c6 4817
c906108c
SS
4818Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4819
4820 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4821 "calling function with watchpoint enabled".
4822
4823Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4824
4825 * gdb.base/break.exp (test_next_with_recursion): Remove
4826 gdb_suppress_tests for d10v-*-*.
4827 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4828 pending review of whether it is useful or not.
4829
4830Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4831
4832 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4833
4834Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4835
4836 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4837 * config/dve.exp: New file to support Densan boards.
4838
4839Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4840
4841 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4842 reads and BSD.
4843
4844Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4845
4846 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4847 response.
4848
4849 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4850
4851Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4852
4853 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4854 test.
4855
4856 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4857 target_sizeof_long and target_bigendian_p.
4858 (structs_by_value, structs_by_reference): Check values according
4859 to targets word size and endianess.
beb998c6 4860
c906108c
SS
4861Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4862
4863 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4864 output.
4865
4866Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4867
4868 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4869 Update test of set args help to match source change.
4870
4871Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4872
4873 * gdb.base/default.exp: Expect help system output to be in
4874 alphabetical order.
4875 * gdb.base/help.exp: Ditto.
4876
4877Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4878
4879 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4880 "i*86-pc-linux-gnu*".
4881 * gdb.base/interrupt.exp: Ditto.
4882 * gdb.base/corefile.exp: Ditto.
4883
4884 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4885 define vxworks when building the testcase.
4886
4887 * gdb.base/ptype.exp: Fix testnames to be unique.
4888 * gdb.base/radix.exp: Ditto.
4889 * gdb.base/term.exp: Ditto.
4890 * gdb.base/whatis.exp: Ditto.
4891 * gdb.c++/classes.exp: Ditto.
4892
4893Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4894
4895 * gdb.base/callfuncs.exp: Fix indentation.
4896
4897 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4898 suppress_flag has been set.
4899 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4900 target feature.
4901
4902Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4903
4904 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4905 the testcase.
4906
4907 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4908 set_debug_traps() and breakpoint().
4909 * gdb.c++/misc.cc (main): Ditto.
4910 * gdb.c++/templates.cc (main): Ditto.
4911 * gdb.c++/virtfunc.cc (main): Ditto.
4912
4913Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4914
4915 * lib/gdb.exp(gdb_step_for_stub): New function.
4916 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4917 exists, reload the executable and do a "continue" instead of
4918 doing a jump.
4919 (runto_main): Use gdb_step_for_stub.
beb998c6 4920
c906108c
SS
4921 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4922 tests to have unique names.
4923 * gdb.base/callfuncs.exp: Ditto.
4924 * gdb.base/commands.exp: Ditto.
4925 * gdb.base/default.exp: Ditto.
4926 * gdb.base/help.exp: Ditto.
4927 * gdb.base/list.exp: Ditto.
4928 * gdb.base/opaque.exp: Ditto.
4929 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4930 similar tests.
beb998c6 4931
c906108c
SS
4932 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4933 * gdb.c++/cplusfuncs.cc: Ditto.
4934 * gdb.c++/virtfunc.cc: Ditto.
4935
4936 * config/monitor.exp: Keep track of the last file we saw, rather
4937 than trying to get the info from gdb.
4938
4939 * gdb.fortran/types.exp: Move comment to previous line.
4940
4941Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4942
4943 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4944 target mode.
4945
4946Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4947
4948 From Bob Manson:
4949 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4950 string from GDB when it connects.
4951
4952 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4953
4954Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4955
4956 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4957 if we can't get a debug format from GDB (we may be testing an
4958 older GDB). Use a 10 second timeout when checking for the format.
4959
4960 * gdb.stabs/weird.exp: Fix quoting.
4961
4962 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4963
4964Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4965
4966 * config/arm-ice.exp: New file.
4967
4968Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4969
4970 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4971 until it has been modified to work with the new testsuite.
4972
99707966 4973 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4974 testcase won't compile, cause all of the testcases in the file to
4975 fail instead.
4976
4977 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4978 (gdb_clear_suppressed): New procedure.
4979 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4980 it contains a positive value.
4981
4982Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4983
4984 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4985
4986 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4987
4988Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4989
4990 * lib/gdb.exp (setup_xfail_format): New function.
4991 (get_debug_format): New function to get debug format.
4992 (debug_format): New global variable to hold last value set
4993 by get_debug_format.
4994 * gdb.base/list.exp: Call get_debug_format and expect some
4995 tests to fail for DWARF 1 and COFF formats.
4996 * gdb.c++/ptype.exp: Ditto.
4997 * gdb.c++/classes.exp: Ditto.
4998 * gdb.c++/cplusfuncs.exp: Ditto.
4999 * gdb.c++/inherit.exp: Ditto.
5000 * gdb.c++/templates.exp: Ditto.
5001 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5002
c906108c
SS
5003Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5004
5005 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5006 host doesn't have a currently-open connection.
5007
5008 * config/sparclet.exp: Cleanups and fixes to make it generic for
5009 any gdb stub target. Handle cases where gdb doesn't respond when
5010 interrupted in a sane fashion.
5011
5012 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5013 same thing in a totally different way.
5014
5015 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5016 setting "timeout".
5017 (gdb_start): We set the global gdb_prompt variable in
5018 default_gdb_init now.
5019
5020Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5021
5022 * gdb.base/printcmds.exp: Fix "check for floating addition"
5023 regexp to accept results within approx +/- .01 of exact value.
5024 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5025
5026Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5027
5028 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5029 properly.
5030 (gdb_expect): Add optional timeout parameter, and add timeout
5031 value to various calls.
5032 (gdb_suppress_tests): Only give one warning message per group.
5033
5034Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5035
5036 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5037 global variables. Handle getting a value for $timeout more
5038 gracefully.
5039
5040Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5041
5042 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5043 initialize.
5044 (default_gdb_init): New procedure; allow gdb_init to be overridden
5045 by a target configuration file.
5046 (gdb_expect): Pass the timeout to remote_expect.
5047
5048 * config/monitor.exp(gdb_load): Fix typo in regexp.
5049
5050Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5051
5052 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5053
5054Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5055
5056 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5057 here. Call gdb_target_exec before rebooting the target, to make
5058 sure the connection to the target is closed.
5059 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5060 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5061 Also detect "Timeout reading from remote" error.
5062
5063 * config/gdbserver.exp: Pass the executable being loaded to
5064 gdb_target_monitor. Don't call gdb_file_cmd here; let
5065 gdb_target_monitor do it.
5066
5067 * gdb.disasm/hppa.exp: Don't use exec_output.
5068
5069Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5070
5071 * gdb.base/list.exp: If we're debugging a non-native target,
5072 try to set the pc register to point to the start of the
5073 program before doing the first list command.
5074
5075 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5076 test_calls after restarting.
5077
5078 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5079 reloading.
5080
5081 * gdb.base/watchpoint.exp: Fix typo.
5082
5083 * gdb.base/setshow.exp: Check for use_gdb_stub.
5084
5085 * gdb.base/break.exp: Fix continue until exit test for the gdb
5086 stub case.
5087 * gdb.base/langs.exp: Ditto.
5088
5089 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5090 gdb_load_offset. If we weren't given a file to load, figure out
5091 what the current file is and use it.
5092
5093 * config/i386-bozo.exp: New file.
5094
5095Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5096
5097 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5098 feature.
5099
5100 * config/proelf.exp: New entry.
5101
5102Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5103
5104 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5105 of regexps.
5106
5107 * gdb.base/watchpoint.exp: Don't run the test_stepping
5108 tests if gdb can't call functions on the target.
5109
5110 * gdb.base/setshow.exp: Don't run the set prompt tests if
5111 the board has gdb_prompt set.
5112
5113Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5114
5115 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5116 * gdb.base/commands.exp: Likewise.
5117 * gdb.base/setshow.exp: Likewise.
5118
5119Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5120
5121 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5122 feature.
5123
5124 * config/i960.exp: New file.
5125
5126Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5127
5128 * gdb.base/funcargs.exp: Check for gdb,short_int target
5129 feature instead of looking for explicit target triplets.
5130
dc96c6c7 5131Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5132
beb998c6 5133 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5134 "p 123DEADBEEF", to check parse_number.
5135 * top.c: change "to enable to enable" to "to enable" in a couple
5136 of help strings.
5137
5138Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5139
5140 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5141 on the mn10300.
beb998c6 5142
c906108c
SS
5143Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5144
5145 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5146 where the test executable is run with explicit args.
5147 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5148
5149Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5150
5151 * gdb.base/run.c: Use FAKEARGV to build test executable that
5152 does not require a command line arg, since most simulators
5153 don't currently support passing such an arg into the simulated
5154 program.
5155 * gdb.base/commands.exp: Change tests to insert the proper
5156 value as the arg to the first recursive factorial call. Change
5157 compilation line to define FAKEARGV at compile time.
5158
5159Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5160
5161 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5162 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5163 function with watchpoint enabled" test.
5164
5165Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5166
5167 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5168 Don't call gdb_test when the command doesn't return to a gdb prompt.
5169
5170 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5171 "Tests restarted" messages.
5172
5173Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5174
5175 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5176
dc96c6c7 5177Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5178
5179 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5180 for INFO SYMBOL; add help tests for OVERLAY commands.
5181 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5182 add tests for OVERLAY commands
5183 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5184 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5185 * gdb.base/sigall.c: add usestubs code frag
5186 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5187
c906108c
SS
5188Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5189
5190 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5191 failures.
5192 (gdb_stop_suppressing_tests): Note that tests have restarted.
5193
5194Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5195
5196 * config/h8300.exp: New file.
5197
5198Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5199
5200 * gdb.base/setshow.exp: Check for the existence of a
5201 feature, not its value.
5202
5203Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5204
5205 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5206
5207 * gdb.base/scope.exp: It's now init0(), not init().
5208
5209 * gdb.base/scope0.c: For now, change init() to be init0().
5210
5211 * config/monitor.exp: Use gdb_serial in preference to serial
5212 or netport.
5213
5214 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5215 and it's not already set.
5216
5217Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5218
5219 * gdb.base/setshow.exp: Only test the run command if the target
5220 isn't using a stub and if it supports argument passing.
5221
5222Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5223
5224 * config/udi.exp(gdb_start): Make sure UDICONF is set
5225 properly before starting gdb.
5226
5227Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5228
5229 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5230 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5231 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5232
5233Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5234
5235 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5236 specialized code to reboot the board, use remote_reboot instead.
5237
5238 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5239
5240 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5241
5242 * config/monitor.exp: Make sure we disconnect from the target.
5243 Also, try a reboot/reload cycle instead of failing if the
5244 load fails.
5245
5246Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5247
5248 * gdb.base/default.exp: Don't set match_max.
5249 * gdb.base/help.exp: Ditto.
5250 * gdb.base/list.exp: Ditto.
5251 * gdb.base/signals.exp: Ditto.
5252
5253 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5254 set, use remote_ld to download the testcase instead of
5255 the GDB loader.
5256
5257Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5258
5259 * config/vr5000.exp: New file.
5260
5261 * config/monitor.exp(gdb_target_monitor): Add pattern for
5262 "Ending remote" to detect errors in connecting.
5263
5264 * gdb.base/setshow.exp: Add .* within auto language test.
5265
5266 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5267 target feature.
5268
5269 * config/monitor.exp(gdb_load): Check for a failure when loading,
5270 and reboot the board if necessary.
5271
5272 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5273 a set of tests. Remove print.* from the patterns being checked.
5274
5275Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5276
5277 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5278 refer to gdb_spawn_id.
5279
5280 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5281 longer used.
5282 * config/sparclet.exp: Ditto.
5283 * config/sparclet-old.exp: Ditto.
5284 * config/slite.exp: Ditto.
5285 * config/sim.exp: Ditto.
5286 * gdb.base/funcargs.exp: Ditto.
5287
5288 * lib/gdb.exp:Remove references to gdb_spawn_id.
5289 (gdb_expect): Move to remote.exp.
5290
5291Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5292
5293 * config/monitor.exp: Detect the "Couldn't establish connection"
5294 message from GDB.
5295
5296Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5297
5298 * gdb.base/bitfields.exp: Use runto instead of explicit
5299 gdb_run_cmd/gdb_expect sequences.
5300
5301 * gdb.base/break.exp(text_next_with_recursion): Add match for
5302 gdb_expect call.
5303
5304 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5305 We also need to handle the "A program is being debugged already"
5306 prompt from gdb. Use gdb_test to set the baud rate.
5307
5308 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5309 to 20000. Really. I mean it.
5310
5311Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5312
5313 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5314 fails. If suppress_flag is set, skip perror message about not
5315 being able to send to GDB.
5316 (send_gdb): If suppress_flag is set, don't try to send commands to
5317 GDB.
5318 (gdb_expect): If suppress_flag is set, always fail immediately.
5319 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5320 (gdb_init): Call gdb_stop_suppressing_tests.
5321 (default_gdb_exit): Ditto.
5322 (default_gdb_start): Ditto.
5323
5324 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5325 gdb_stop_suppressing_tests as appropriate.
5326 * gdb.base/break.exp: Ditto.
5327 * gdb.base/callfuncs.exp: Ditto.
5328 * gdb.base/commands.exp: Ditto.
5329 * gdb.base/exprs.exp: Ditto.
5330 * gdb.base/funcargs.exp: Ditto.
5331 * gdb.base/list.exp: Ditto.
5332 * gdb.base/recurse.exp: Ditto.
5333 * gdb.base/scope.exp: Ditto.
5334 * gdb.base/structs.exp: Ditto.
5335 * gdb.c++/inherit.exp: Ditto.
5336
5337Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5338
5339 * config/vr4300.exp: New file.
5340
99707966
MC
5341 * gdb.*/*.exp: Call gdb_expect instead of expect.
5342
5343 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5344
5345Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5346
5347 * lib/gdb.exp(gdb_init): New function.
5348
5349 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5350 for each individual variable set.
5351
5352 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5353 name.
5354
5355 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5356
5357 * gdb.base/scope.exp: Use gdb_test.
5358
5359 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5360 aborting; the testsuite driver will do that for us (see
5361 gdb_finish). Also, use gdb_test in a few more places.
5362
5363Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5364
5365 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5366
5367Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5368
5369 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5370 and "add_tests" are not at the same address.
5371
5372Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5373
5374 * gdb.base/ptype.exp: Use gdb_test.
5375
5376Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5377
5378 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5379 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5380 left in. No longer expect them to fail.
5381
5382 * gdb.stabs/*.mt; Deleted, no longer used.
5383 * gdb.stabs/configure.in: Remove references to target makefile
5384 frags.
5385 * gdb.stabs/configure: Rebuilt.
5386
5387 * gdb.disasm/*.mt: Deleted, no longer used.
5388 * gdb.disasm/configure.in: Remove references to target makefile
5389 frags. Use "sh3.s" as the unique filename for this directory.
5390 * gdb.disasm/configure: Rebuilt.
5391
5392 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5393 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5394 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5395
5396Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5397
5398 * config/udi.exp: Use mondfe,name instead of remote_host.
5399
5400Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5401
5402 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5403 a function with a watchpoint enabled on the mn10200.
5404
5405 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5406 before trying to create it!
5407
5408Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5409
5410 * config/vx.exp: Use hostname instead of netport.
5411
5412 * config/vxworks.exp: New file.
5413
5414 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5415
5416 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5417 gdb before assuming everything worked. Send a ^C if a timeout
5418 occurs.
5419
5420 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5421 $gdb_spawn_id directly.
5422 (gdb_run_cmd): Try _start as well as start. Use the target feature
5423 gdb,start_symbol as the symbol to start from when jumping.
5424
5425Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5426
5427 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5428 redundant) test.
5429
5430 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5431 it doesn't lose for 16bit integer systems.
5432
5433Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5434
5435 * gdb.fortran/types.exp: If the target doesn't support "double"
5436 data types, then expect "real" types to only be 4 bytes.
5437
5438 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5439 call tests if the target doesn't support inferior function calls.
5440
5441 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5442 in printf tests.
5443
5444Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5445
5446 * gdb.base/help.exp: Disable "help set", "help show", and
5447 "help support". Simplify regexp for "help stack".
5448
5449 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5450 to 60 seconds. Temporarily set match_max to 15000 around the
5451 "info copying" test.
5452
5453 * gdb.base/nodebug.exp: Don't try to do an inferior function
5454 call if the target doesn't support them.
5455 * gdb.base/printcmds.exp: Likewise.
5456 * gdb.base/setvar.exp: Likewise.
5457 * gdb.base/structs.exp: Likewise.
5458 * gdb.c++/templates.exp: Likewise.
5459 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5460
5461 * gdb.base/recurse.exp: Enable for the mn10200.
5462
5463 * configure.in: Do configure gdb.stabs directory for *-*-elf
5464 targets.
5465 * configure: Rebuilt.
5466
5467 * gdb.base/break.exp: Check for gdb,noresults before testing
5468 exit status and/or results from the target.
5469 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5470 * lib/gdb.exp: Remove old (now bogus) initialization of
5471 noinferior, noargs, noresults and nosignals.
5472
5473Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5474
5475 * config/sh.exp: New file.
5476
5477 * config/slite.exp: Try to connect multiple times to the board
5478 before rebooting. Only send a "monitor run" if need_monitor_run
5479 is set.
5480
5481 * gdb.base/break.exp: Don't do the "stub continue" test if
5482 the target has gdb_stub set.
5483
5484 * gdb.base/callfuncs.exp: Increase the timeout.
5485
5486 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5487 if the target has gdb,noinferiorio set.
5488
5489 * gdb.base/list.exp: Increase match_max to 10000 characters.
5490
5491 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5492
5493 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5494 target.
5495
5496 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5497
5498Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5499
5500 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5501 trying to delete the copy of gdb. Catch the file delete so we
5502 don't die if the delete fails; also, the file should be copied to
5503 the host, not to the build.
5504
5505Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5506
5507 * lib/gdb.exp(gdb_test): Surround the result pattern with
5508 parenthesis in case it contains multiple regexps separated
5509 with |.
5510
5511 * gdb.base/watchpoint.exp: Use gdb_test.
5512 * gdb.base/default.exp: Ditto.
5513
5514Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5515
99707966 5516 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5517
c906108c
SS
5518 * gdb.base/scope.exp: Use gdb_test.
5519 * gdb.c++/classes.exp: Ditto.
5520 * gdb.c++/inherit.exp: Ditto.
5521
5522Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5523
5524 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5525 remote_exec instead.
5526 * gdb.base/corefile.exp: Don't be ridiculous.
5527 * gdb.base/*.c: Add missing stub invocations.
5528
5529Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5530
5531 * config/slite.exp: Miscellaneous fixes.
5532
5533 * lib/gdb.exp: Fix runto.
5534
5535 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5536 the target.
5537
5538 * gdb.base/watchpoint.exp: Fix regexp.
5539
5540 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5541 close and wait commands, as the descriptor may now be
5542 invalid. Always call "remote_close host".
5543
5544Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5545
5546 Major rewrite for testsuite revision.
beb998c6 5547
c906108c
SS
5548 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5549 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5550 instead of relying on spawn_id to always contain a valid
5551 spawn id.
5552 (get_compiler_info): New procedure to build the ${binfile}.ci
5553 file, instead of replicating this in N different places.
5554 (gdb_compile): New procedure.
beb998c6 5555
c906108c
SS
5556 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5557 appropriate arguments) instead of compile. Use gdb_test in a lot
5558 more places. Use send_gdb instead of send. Always run gdb_start
5559 at the start of a testcase, as this is no longer done magically.
5560
5561 config/*-gdb.exp: Rename without the -gdb suffix.
5562
5563 config/mips.exp: Use remote_close instead of exit_remote_shell.
5564 config/monitor.exp: Use target_info instead of looking at
5565 baud, timeout, etc.
5566 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5567
5568Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5569
5570 * gdb.c++/templates.exp (test_ptype_of_templates),
5571 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5572 Update expect patterns for destructors and assignment operators
5573 to match corresponding c-typeprint.c changes.
5574 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5575 to destructor breakpoint test, GDB should be able to set the
5576 destructor breakpoint without specifying arguments.
5577
5578Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5579
5580 * gdb.threads/pthreads.exp: Change result for failure to compile due
5581 to lack of pthreads runtime support from an error to simply an
5582 unsupported test, per dejagnu standards.
5583
5584Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5585
5586 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5587 where GDB exits to reduce pattern match time.
5588 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5589
5590 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5591
dc96c6c7 5592Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5593
5594 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5595 * gdb.base/default.exp: ditto.
5596 * gdb.base/nodebug.exp: ditto.
5597 * gdb.base/printcmds.exp: ditto.
5598 * gdb.base/ptype.exp: ditto.
5599 * gdb.base/setvar.exp: ditto.
5600 * gdb.base/structs.exp: ditto.
5601 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5602
5603Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5604
5605 * configure, */configure: Rebuild with autoconf 2.12.
5606
5607Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5608
5609 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5610 use new i*86-pc-linux*-gnu quads.
5611 * gdb.base/corefile.exp: Ditto.
5612 * gdb.base/signals.exp: Ditto.
5613 * gdb.base/sigall.exp: Ditto.
5614 * gdb.base/interrupt.exp: Ditto.
5615
5616 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5617 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5618 RedHat 4.0.
beb998c6 5619
c906108c
SS
5620 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5621 linux. This allows the test case to at least compile on latest
5622 linux, but still not run due to missing the threads runtime library.
5623
5624Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5625
5626 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5627 directory to search gdb directory. Accept and step over conditional
5628 stack alignment code. Consume $prompt in failure cases.
5629 Reset timeout to $oldtimeout instead of some arbitrary value.
5630 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5631 timeout problems with infinite stack backtraces.
5632 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5633 Accept function parameters for linkfunc member.
5634
5635Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5636
5637 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5638 (CXXFLAGS): Remove, unreferenced.
5639 (B_OPTIONS): Add for -B options and add code to initialize with
5640 previous -B options and also add -B option to pick up cross compiled
5641 runtime.
5642 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5643 doing cross compiles.
5644 (target_alias): Declare global.
5645 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5646 to verify that gcc exists in build tree, and if so set CC to that
5647 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5648
c906108c
SS
5649Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5650
5651 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5652 ptype test for anonymous union. Fixup testcase to match
5653 current gcc debug output.
5654
5655Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5656
5657 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5658 force argument to an unsigned long type.
5659
5660Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5661
5662 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5663 tests and anonymous union print/ptype tests.
5664 * gdb.base/list.exp (test_forward-search): Increase timeout by
5665 5 minutes for the "search extremely long line" case.
5666 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5667 completely optional and that the pass/fail messages use the command as
5668 the message if that third arg is a null string.
5669 (gdb_test_exact): Arrange that a null string pattern means match a
5670 null string output rather than any output, which might include random
5671 errors.
5672 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5673 backtrace test.
5674 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5675 always failing and failure is now exposed by gdb.exp changes.
5676
5677Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5678
5679 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5680 weren't being noted.
5681
5682Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5683
5684 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5685 * gdb.stabs/weird.exp: Remove v_comb xfails.
5686
dc96c6c7 5687Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5688
5689 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5690 list.exp scope.exp watchpoint.exp]
5691 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5692
dc96c6c7 5693Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5694
5695 * config/monitor.exp: Increase download timeout to 1000 seconds.
5696
dc96c6c7 5697Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5698
5699 * config/m32r.exp: Increase timeout to 120 seconds.
5700
5701Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5702
5703 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5704 and accept older ordering as obsolescent gcc or gdb.
5705 * gdb.c++/templates.exp: Ditto.
5706 * gdb.c++/virtfunc.exp: Ditto.
5707
5708Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5709
5710 * gdb.base/coremaker.c: Add code to mmap some data so we
5711 can check that it ends up in the core file.
5712 * gdb.base/corefile.exp: Add test to read mmapped data
5713 from core file.
5714
dc96c6c7 5715Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5716
5717 * config/m32r.exp: New file.
5718
5719Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5720
5721 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5722 that cflags can contains -gstabs, and work correctly for other tests.
5723
dc96c6c7 5724Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5725
5726 * gdb.base/setshow.exp: New file, tests show and set.
5727 * gdb.base/setshow.c: New file, tests show and set.
5728 * gdb.base/help.exp: Add test for help set|show annotate.
5729 * gdb.base/default.exp: Add test for set|show annotate.
5730
5731Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5732
5733 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5734 errors unique.
5735 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5736 explicitly.
5737
5738Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5739
5740 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5741 and width commands. This is done elsewhere.
5742 * (gdb_start): Don't call gdb_start_sim here. That's already
5743 done in gdb_load. This fixes lots of failures in default.exp.
5744
5745Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5746
5747 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5748 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5749 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5750 in the same we we treat other failures (since it may be an expected
5751 condition), rather than as an error.
5752 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5753 old test format.
5754
5755Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5756
5757 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5758 (distclean maintainer-clean realclean): No need to remove files
5759 twice. Nuke the duplicates.
5760 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5761 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5762 Remove config.h along with other config files.
5763
5764Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5765
5766 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5767 "p func1 ()" and note that rests of tests are skipped.
5768 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5769 setup_xfails for "print func2::coremaker_local".
5770 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5771 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5772 affected by the previous run test.
5773 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5774 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5775 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5776 "pass int powerset tuple" and "pass modeless int powerset tuple".
5777 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5778 "real write 4" and "real write 8".
5779 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5780 setup_xfails for "print vs1 after tuple assign 2",
5781 "print \$i after tuple assign 2", and
5782 "print vs2 after tuple assign 2".
5783 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5784 meaningful error message and return -1 so the caller can
5785 suppress further tests and avoid a cascade of errors.
beb998c6 5786
c906108c
SS
5787Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5788
5789 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5790 format for printing version.
5791 * gdb.base/default.exp: Ditto.
5792 * gdb.base/interrupt.exp: Fix problem with cascade of
5793 errors if child process dies while calling a function.
beb998c6 5794
c906108c
SS
5795Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5796
5797 * Makefile.in (VPATH): Add
5798 * Makefile.in (Makefile, config.status): Fix rules so things get
5799 remade when necessary.
5800
5801Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5802
5803 * Makefile.in (just-check): Add path to sibling expect dir
5804 to environment variable specified by RPATH_ENVVAR.
5805
5806Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5807
5808 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5809 (just-check): Add shared library paths for libstdc++, tk,
5810 tcl, bfd, and opcodes to the environment variable specified
5811 in RPATH_ENVVAR.
5812 * configure.in: Add support to recognize --enable-shared flag
5813 and generate correct value for RPATH_ENVVAR.
5814 * configure: Regenerated with autoconf.
5815
5816Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5817
5818 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5819 include all osf versions.
5820 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5821 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5822 when target is linux. When failing to build pthreads test
5823 executable, give more meaningful message.
5824 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5825 arg for pthread_create.
beb998c6 5826
c906108c
SS
5827Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5828
5829 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5830 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5831 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5832 and -lpthreads (everybody else).
5833 (test_startup): Fail gracefully if threads are not supported.
5834 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5835 "p/c array_index("abcdef",2)" when not gcc compiled.
5836 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5837 "print func2::coremaker_local" when not gcc compiled.
5838 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5839 "ptype on opaque struct tagname (statically)",
5840 "ptype on opaque struct tagname (dynamically) 1", and
5841 "ptype on opaque struct tagname (dynamically) 2"
5842 for not compiled with gcc.
5843 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5844 backtrace when compiled with gcc.
beb998c6 5845 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5846 than always return success.
5847
5848Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5849
5850 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5851
5852Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5853
5854 * gdb.base/structs.exp: Undo last change.
5855
5856Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5857
5858 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5859 encapsulate all the steps/nexts done during self test, starting
5860 at main, and makes them less sensitive to optimization issues.
5861 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5862 signal handler" test.
5863 * gdb.threads/pthreads.exp: Only run this for native configs.
5864 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5865 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5866 tests.
5867 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5868 for "runto test_calls(void)" test.
beb998c6 5869
c906108c
SS
5870Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5871
5872 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5873 and don't expect address info in breakpoint confirmations.
5874
5875Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5876
5877 * gdb.base/list.exp (test_forward_search): Increase timeout
5878 temporarily by 60 seconds for searching extremely long line,
5879 and then reset to old value when done. Increase expect input
5880 buffer to 10000.
5881
5882Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5883
5884 * gdb.base/list.exp (test_forward_search): Fix to handle very
5885 long source line without overflowing expect's input buffer.
5886
5887Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5888
5889 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5890 "buffer_full".
5891
5892 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5893 "buffer_full".
5894
5895 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5896 "buffer_full".
5897
5898 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5899 "buffer_full".
5900
5901Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5902
5903 * configure.in (configdirs): Add gdb.threads.
5904 * configure: Regenerated with autoconf.
5905 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5906 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5907 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5908
c906108c
SS
5909Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5910
5911 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5912
5913Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5914
5915 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5916 each signal's status in the output of "handle all print".
5917 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5918 the \r\n sequence that immediately precedes the gdb prompt.
5919 * gdb.base/a1-selftest.exp: Save original timeout and restore
5920 after test.
5921
5922Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5923
5924 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5925 symbol.
5926
5927Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5928
5929 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5930
5931Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5932
5933 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5934 timeout by 60 seconds.
5935
5936Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5937
5938 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5939 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5940 error return.
5941
5942Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5943
5944 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5945 gdb initialization, also report how long dejagnu waited. Restore
5946 old timeout before doing error return. Temporarily increase timeout
5947 by 3 minutes to allow for slow startups over heavy NFS use.
5948
5949Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5950
5951 * lib/gdb.exp: Report timeout value for verbosity level 2.
5952 * config/gdbserver.exp: Ditto.
5953 * config/hppro.exp: Ditto.
5954 * config/mips-gdb.exp: Ditto.
5955 * config/monitor.exp: Ditto.
5956 * config/netware.exp: Ditto.
5957 * config/sim-gdb.exp: Ditto.
5958 * config/slite-gdb.exp: Ditto.
5959 * config/udi-gdb.exp: Ditto.
5960 * config/unix-gdb.exp: Ditto.
5961 * config/vx-gdb.exp: Ditto.
5962 * gdb.base/a1-selftest.exp: Ditto.
5963 * gdb.base/a2-run.exp: Ditto.
5964 * gdb.base/break.exp: Ditto.
5965 * gdb.base/corefile.exp: Ditto.
5966 * gdb.base/list.exp: Ditto.
5967 * gdb.base/recurse.exp: Ditto.
5968 * gdb.base/scope.exp: Ditto.
5969 * gdb.base/signals.exp: Ditto.
5970
5971Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5972
5973 * gdb.threads/Makefile.in (docdir): Removed.
5974
5975Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5976
5977 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5978 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5979 @srcdir@.
beb998c6 5980 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5981 autoconf 2.5 or higher.
5982 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5983
5984Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5985
5986 * configure: Regenerated.
5987 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5988 avoid name clashes with SunOS headers.
5989
5990Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5991
5992 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5993
5994Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5995
5996 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5997 prototype information ends up in the compiler info file.
5998
5999Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6000
6001 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6002 attempting to regenerate it. Eliminate use of a temporary file
6003 and just generate the info file directly. Source it immediately,
6004 for consistency of use.
6005 * gdb.base/corefile.exp: Ditto
6006 * gdb.base/exprs.exp: Ditto.
6007 * gdb.base/funcargs.exp: Ditto.
6008 * gdb.base/langs.exp: Ditto.
6009 * gdb.base/list.exp: Ditto.
6010 * gdb.base/mips_pro.exp: Ditto.
6011 * gdb.base/nodebug.exp: Ditto.
6012 * gdb.base/opaque.exp: Ditto.
6013 * gdb.base/ptype.exp: Ditto.
6014 * gdb.base/scope.exp: Ditto.
6015 * gdb.base/setvar.exp: Ditto.
6016 * gdb.base/signals.exp: Ditto.
6017 * gdb.base/whatis.exp: Ditto.
6018 * gdb.c++/templates.exp: Ditto.
6019 * gdb.c++/virtfunc.exp: Ditto.
6020 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6021 whether or not to add -lstdc++ to the compile command line args.
6022
6023Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6024
6025 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6026 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6027 Increase timeout, a lot of single stepping might be needed if the
6028 target has no hardware watchpoints.
6029
6030Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6031
6032 * gdb.base/break.exp: Ignore compiler warnings when compiling
6033 break.c.
6034 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6035 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6036 from remote-sim.
6037 * gdb.base/exprs.exp: Add h8300 xfails.
6038 * gdb.base/funcargs.exp: Likewise.
6039 * gdb.base/nodebug.exp: Likewise.
6040 * gdb.base/printcmds.exp: Likewise.
6041 * gdb.base/ptype.exp: Likewise.
6042 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6043 h8300 xfails.
beb998c6 6044 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6045 on the h8300.
6046 * gdb.base/funcargs.c: Explicitly make last constant argument to
6047 call_after_alloca_subr an unsigned long type.
6048 * gdb.base/return.c: Include stdio.h.
6049
6050Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6051
6052 * config/abug.exp: New file for the older Motorola Bug monitor
6053 that runs on the mvme13x series VME boards.
6054 * config/monitor.exp: Use the new config array for target settings
6055 if they exist.
6056
6057Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6058
6059 * sim-gdb.exp: Make the SH simulator allocate less space when
6060 it is targeted.
6061
6062Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6063
6064 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6065 test.
6066
6067Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6068
6069 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6070 "rs6000-*-*" for "list function in include file" when gcc compiled.
6071 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6072 for "p ctable1[120]".
6073 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6074 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6075 Remove setup_xfail for "rs6000-*-*" for
6076 "print 'scope0.c'::filelocal before run".
6077 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6078 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6079 since some compilers don't allow both options to be given
6080 on the same command line. Create object file and move it.
beb998c6 6081
c906108c
SS
6082Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6083
6084 * gdb.base/corefile.exp: Always regenerate the core file, since
6085 we always regenerate the coremaker program. Detect special case
6086 where registers cannot be read from core file.
beb998c6 6087
c906108c
SS
6088Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6089
6090 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6091 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6092 * gdb.c++/templates.exp: Only match on basename of file since
6093 some formats like xcoff don't encode directory information.
6094 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6095 and rs6000 AIX xcoff targets.
6096 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6097 * configure: Regenerate.
6098 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6099 here, rather than in distclean.
beb998c6 6100
c906108c
SS
6101Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6102
6103 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6104 defined, and use it to compile the test case with -O2. The
6105 native compilation still uses no optimization.
6106 * gdb.base/mips_pro.c: Remove inline assembly code since
6107 it is compiled PIC by default, which results in assembler
6108 warnings that make the testsuite think the compilation
6109 was unsuccessful.
6110
6111Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6112
6113 * gdb.c++/misc.exp: Add note to message for
6114 "print s.a for foo struct" that this is a known gcc 2.7.2
6115 and earlier bug.
6116
6117Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6118
6119 * gdb.base/break.exp: Fix pattern for matching "Delete all
6120 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6121 setup_xfail for deleting all breakpoints test. Fix various
6122 timeout messages to include "(timeout)".
6123 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6124 for "p t_float_values2(3.14159,float_val2)".
6125 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6126 for "continue to call2g" when gcc compiled.
6127 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6128 "up to foo in langs.exp", "show language at foo in langs.exp",
6129 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6130 and "show language at fsub in langs.exp".
6131 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6132 "list line 1 in include file", "list message for lines past EOF",
6133 "list function in include file", "list list0.h:foo", and
6134 "list filename:function; nonexistant function".
6135 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6136 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6137 and "ptype t_char_array" to be for native cc only.
beb998c6 6138
c906108c
SS
6139Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6140
beb998c6 6141 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6142 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6143 "print func2::coremaker_local", and "backtrace in corefile.exp".
6144
6145Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6146
6147 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6148 "bt in signals.exp". This problem only appears when running
6149 the testsuite, and then only intermittently.
6150
6151Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6152
6153 * gdb.base/return.exp (return_tests): Differentiate between
6154 two tests of continuing.
6155
6156Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6157
6158 * */Makefile.in (maintainer-clean): Remove config.log.
6159 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6160 * gdb.c++/Makefile.in (PROGS): Add inherit.
6161 (clean): Remove *.ci.
6162
6163Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6164
6165 * gdb.c++/misc.cc: Add test code from Mike Stump.
6166 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6167
6168Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6169
6170 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6171 to "alpha-*-osf2*" and add comment.
6172 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6173 setup_xfail for "step over execarg initialization" and
6174 "step over corearg initialization".
6175 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6176 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6177 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6178 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6179 "print func2::coremaker_local", and "backtrace in corefile.exp".
6180 * gdb.base/signals.exp: Build and source signals.ci.
6181 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6182 to be for gcc only.
6183 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6184
c906108c
SS
6185Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6186
6187 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6188 Feb 3 procfs.c change.
6189
6190Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6191
6192 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6193
6194Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6195
6196 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6197 from dejagnu's apparent default of 10 seconds, which gives random
6198 results when running the tests over NFS on moderately loaded systems.
6199 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6200
6201Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6202
6203 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6204 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6205 result reports.
6206
6207Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6208
6209 * configure.in (CY_AC_PATH_TCLH): Remove.
6210 * configure: Regenerate.
6211
6212Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6213
6214 * gdb.c++/Makefile.in (clean): Add missing '{'.
6215
6216Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6217
6218 * lib/gdb.exp: Provide a default value for noinferior.
6219
6220 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6221 Load libgloss.exp.
6222
6223Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6224
6225 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6226 the executable, not the .o to run the tests from.
6227
6228Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6229
6230 * gdb.base/break.exp: Don't test for program exit or exit status
6231 if $noresults if nonzero.
6232 * gdb.base/langs.exp: Likewise.
6233 * gdb.base/watchpoint.exp: Likewise.
6234
6235 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6236 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6237 trying to compile the testcase.
6238
6239Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6240
6241 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6242 * gdb.base/signals.exp (continue to handler): Likewise.
6243
6244Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6245
6246 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6247
6248 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6249
6250Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6251
6252 * gdb.base/corefile.exp: Recognize "not found" as failure
6253 when trying to determine if a core file was generated.
6254 If no core file was generate the first time, try again without
6255 the ulimit -c to work around braindamaged shells.
6256
6257Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6258
6259 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6260 [] tests with "test" and enclose string in quotes.
6261 * gdb.stabs/configure: Rebuild
beb998c6 6262
c906108c
SS
6263Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6264
6265 Changes in sync with expect:
6266 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6267 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6268 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6269 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6270 argument to AC_REQUIRE.
6271 * configure: Regenerated.
6272
6273Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6274
6275 * gdb.base/corefile.exp: When generating a core, discard any
6276 error messages about ulimit not found and the "core dumped"
6277 message from the shell that runs the coredumper.
6278
6279Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6280
6281 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6282
6283 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6284 which sed script to run. Expect failure for v_comb test
6285 on PA targets too.
beb998c6 6286
c906108c
SS
6287Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6288
6289 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6290 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6291
6292Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6293
6294 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6295 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6296 "sparc-sun-solaris*" xfails for "p v_comb".
6297 * lib/gdb.exp (default_gdb_start): Fix typo.
6298 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6299 messages to not include the full program name that caused
6300 the core dump since some systems (such as solaris) apparently
6301 truncate this path to about 80 characters.
6302 When generating a core file first try increasing the core file
6303 size limit to unlimited since some systems may default it to
6304 zero, and it is harmless to try it. Move the test for failing
6305 to generate a core file to where it will actually get executed.
6306 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6307 new gdb result from g++ debug info improvements and make old
6308 pattern obsolescent. Also account for size_t differences
6309 (may be int or long).
6310 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6311 initialization before function call is placed in the delay slot
6312 and thus appears to be skipped over by commands such as "next".
6313
6314Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6315
6316 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6317
6318Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6319
6320 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6321 input source file; fix code to compile test to deal with this
6322 convention.
6323 * gdb.c++/*.exp: Likewise.
6324
6325Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6326
6327 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6328 "bt in signals.exp".
6329
6330Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6331
6332 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6333 "step over execarg initialization" and
6334 "step over corearg initialization".
6335
6336Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6337
6338 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6339 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6340
6341Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6342
6343 From Rob Savoye (rob@poseidon.cygnus.com)
6344 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6345 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6346 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6347 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6348 configure.in}: Major reworking for autoconfig.
6349 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6350 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6351 New files.
6352 * config/unix-gdb.exp: Make GDB global.
6353 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6354 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6355 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6356 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6357 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6358 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6359 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6360 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6361 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6362 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6363 pr-8136.exp, result.exp, string.exp, tuples.exp},
6364 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6365 to returns as necessary, arrange for test to compile own testcase
6366 executable.
6367 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6368
c906108c
SS
6369Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6370
6371 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6372 clear_xfail at end of test which might not call either pass or fail.
6373 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6374 "backtrace through signal handler".
6375
6376Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6377
6378 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6379 continuing from a job control stop signal.
6380 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6381
6382Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6383
6384 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6385 * gdb.base/corefile.exp: Likewise.
6386 * gdb.base/funcargs.exp: Likewise.
6387
6388Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6389
6390 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6391 * config/monitor.exp: Add support for setting baud rate.
6392
6393Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6394
6395 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6396 i*86-*-linux* xfails for "backtrace through signal handler".
6397 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6398 "print func2::coremaker_local".
6399 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6400 alpha-dec-osf2* xfail for
6401 "delete all breakpoints when none".
6402
6403Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6404
6405 * gdb.base/break.exp: Change test that deletes all breakpoints
6406 when no user breakpoints are installed. A post 4.15 change
6407 causes gdb to no longer prompt in this case.
6408
6409Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6410
6411 * gdb.base/return.exp (return_tests): Change xfail for test
6412 "correct value returned double test" to stop xfailing at
6413 Solaris 2.5. Apparently the bug has been fixed.
6414
6415Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6416
6417 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6418 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6419
6420Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6421
6422 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6423 * gdb.disasm/hppa.s: Corresponding changes.
6424
6425Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6426
6427 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6428 makefile fragment.
6429 * config/mt-hpux: Deleted.
6430
6431Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6432
beb998c6 6433 * Many files: When warning about suppressed tests due to a
c906108c
SS
6434 nonexistant test binary, avoid incrementing the warning count.
6435
6436Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6437
6438 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6439
c906108c
SS
6440Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6441
6442 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6443 "sparc-*-solaris2*".
6444
6445Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6446
6447 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6448 Add global and local variables and initialize them.
6449 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6450 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6451 extracts the file name and terminating signal from the core file.
6452 * TODO: Remove note about tests for correct mapping of corefile.
6453 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6454 from optimizing it away.
6455 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6456 handles common blocks.
6457
6458Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6459
6460 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6461 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6462
6463Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6464
6465 * Makefile.in (maintainer-clean): New target, synonym for
6466 realclean.
6467 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6468 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6469 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6470 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6471 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6472 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6473
6474Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6475
6476 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6477 xfails when not gcc compiled for "print foo::funclocal".
6478 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6479 "print foo::funclocal at foo",
6480 "print 'scope1.c'::foo::funclocal at foo",
6481 "print foo::funclocal_bss at foo",
6482 "print 'scope1.c'::foo::funclocal_bss at foo",
6483 "print foo::funclocal_ro at foo",
6484 "print 'scope1.c'::foo::funclocal_ro at foo",
6485 "print bar::funclocal at foo" and
6486 "print 'scope1.c'::bar::funclocal at foo".
6487 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6488 gcc compiled for "print foo::funclocal at bar".
6489 Expand all messages to ensure that they identify that
6490 the test is at bar().
6491 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6492 gcc compiled for:
6493 "ptype on opaque struct pointer (statically)",
6494 "ptype on opaque struct tagname (statically)",
6495 "ptype on opaque struct pointer (dynamically) 1",
6496 "ptype on opaque struct tagname (dynamically) 1",
6497 "ptype on opaque struct pointer (dynamically) 2" and
6498 "ptype on opaque struct tagname (dynamically) 2
6499 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6500 gcc compiled for:
6501 "p datalocal"
6502 "whatis datalocal",
6503 "ptype datalocal",
6504 "p bsslocal",
6505 "whatis bsslocal", and
6506 "ptype bsslocal".
6507 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6508 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6509 when not gcc compiled.
6510 * gdb.base/funcargs.exp (float_and_integral_args): Add
6511 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6512 compiled.
6513 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6514 "backtrace from call6a" when not gcc compiled.
6515 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6516 "backtrace from call7a" when not gcc compiled.
6517 * gdb.base/callfuncs.exp (do_function_calls):
6518 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6519 "p t_char_array_values(char_array_val2,char_array_val1)",
6520 "p t_char_array_values(char_array_val1,char_array_val2)",
6521 "p t_char_array_values("carray 1","carray 2")",
6522 "p t_char_array_values("carray 1",char_array_val2)",
6523 "p t_char_array_values(char_array_val1,"carray 2")",
6524 "p sum_args(1,{2})",
6525 "p sum_args(2,{2,3})",
6526 "p sum_args(3,{2,3,4})",
6527 "p sum_args(4,{2,3,4,5})"
6528 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6529 "backtrace in corefile.exp" when not gcc compiled.
6530
6531Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6532
6533 * gdb.base/signals.exp: Rewrite `handle all print' test as
6534 a procedure. Accept blanks or TABs as whitespace, increase
6535 timeout and expect input buffer size for the large output
6536 from the command. Remove "i*86-*-bsdi2.0" xfail.
6537
6538Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6539
6540 * gdb.base/setvar.exp: Add new testcases for truncation when
6541 assigning invalid values to bitfields.
6542
6543Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6544
beb998c6 6545 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6546 mips-sgi-irix* xfail for
6547 "call inferior func with struct - returns char *"
6548 and fix test so that an optional (unsigned char *) cast is
6549 accepted in the result.
6550
6551Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6552
6553 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6554 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6555 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6556 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6557 that accidentally got checked in.
6558
6559Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6560
beb998c6 6561 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6562 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6563 compiled test.
6564 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6565 Add mips-sgi-irix5* xfail for not gcc compiled.
6566 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6567 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6568 "p top", "whatis top", "p middle", and "whatis middle".
6569 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6570 "whatis signed char" for not gcc compiled.
6571 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6572 "set variable signed char=-1 (-1)" and
6573 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6574 * gdb.base/funcargs.exp (float_and_integral_args):
6575 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6576 Add mips-sgi-irix* xfail when not gcc compiled for
6577 "continue to call2b".
6578 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6579 "continue to call2g".
6580 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6581 "backtrace from call6a"
6582 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6583 "backtrace from call7k".
6584 Add mips-sgi-irix5* xfail when not gcc compiled for
6585 "backtrace from call7a".
6586 (localvars_after_alloca): Fix gdb_test cmds for
6587 "print * after runto ...".
6588 Remove rs6000-*-* xfails for
6589 "print i after runto localvars_after_alloca" and
6590 "print l after runto localvars_after_alloca"
6591 for all compilers.
6592 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6593 when not compiled with gcc, for:
6594 "print signed char == (minus)",
6595 "print signed char != (minus)",
6596 "print signed char < (minus)",
6597 "print signed char > (minus)".
6598 * gdb.base/callfuncs.exp (do_function_calls):
6599 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6600 "call inferior func with struct - returns char *".
beb998c6 6601 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6602 "correct value returned double test" to include Solaris 2.4.
6603 * gdb.base/funcargs.exp (float_and_integral_args):
6604 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6605
c906108c
SS
6606Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6607
6608 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6609 enumeration bitfields if compiling with GNU C.
6610 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6611 to empty' prompt.
6612
6613Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6614
6615 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6616 test for PRO targets.
6617
6618 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6619 breakpoints in the inferior at any given time by making
6620 two groups of breakpoints for call2*, call6* and call7*
6621 tests.
6622
6623Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6624
6625 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6626 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6627 from optimizing it away.
6628 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6629 "call inferior func with struct".
6630
6631Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6632
6633 * configure.in: Only configure gdb.chill for particular targets.
6634
6635Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6636
6637 * gdb.base/Makefile.in: Add action to .c.o transformation
6638 rule that generates a .ci file for each .o file and remove
6639 explicit .c.o rules except for callfuncs.o.
6640 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6641 generates a .ci file for each .o file and remove explicit
6642 .cc.o rules.
6643 (clean): Remove *.tmp *.ci files.
6644 (EXECUTABLES): Remove templ-info.exp.
6645 * gdb.base/compiler.c: New file.
6646 * gdb.c++/compiler.cc: New file
6647 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6648 Change rs6000-*-* xfail for
6649 "print 'scope0.c'::filelocal_ro" and
6650 "print 'scope1.c'::filelocal" and
6651 "print 'scope1.c'::filelocal_bss" and
6652 "print 'scope1.c'::filelocal_ro" and
6653 "print 'scope1.c'::foo::funclocal" and
6654 "print 'scope1.c'::foo::funclocal_ro" and
6655 "print 'scope1.c'::bar::funclocal" and
6656 "print 'scope0.c'::filelocal_ro" and
6657 "print 'scope1.c'::filelocal at foo" and
6658 "print 'scope1.c'::filelocal_bss at foo" and
6659 "print 'scope1.c'::filelocal_ro at foo" and
6660 "print 'scope1.c'::foo::funclocal at foo" and
6661 "print 'scope1.c'::foo::funclocal_bss at foo" and
6662 "print 'scope1.c'::foo::funclocal_ro at foo" and
6663 "print 'scope1.c'::bar::funclocal at foo" and
6664 "print 'scope0.c'::filelocal_ro" and
6665 "print 'scope1.c'::filelocal" and
6666 "print 'scope1.c'::filelocal_bss" and
6667 "print 'scope1.c'::filelocal_ro" and
6668 "print 'scope1.c'::foo::funclocal" and
6669 "print 'scope1.c'::foo::funclocal_bss" and
6670 "print 'scope1.c'::foo::funclocal_ro" and
6671 "print 'scope1.c'::bar::funclocal" and
6672 "print 'scope1.c'::bar::funclocal_bss"
6673 to only be xfail'd when not compiled with gcc.
beb998c6 6674 Add rs6000-*-* xfail for
c906108c
SS
6675 "print 'scope0.c'::filelocal_bss before run"
6676 when compiled with gcc.
6677 (test_at_main): Add rs6000-*-* xfail for
6678 "print filelocal_ro in test_at_main"
6679 when compiled with gcc.
6680 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6681 Add rs6000-*-aix* xfail for
c906108c
SS
6682 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6683 "ptype t_char_array", not compiled with gcc.
6684 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6685 xfail for "list foo (in include file)" when gcc compiled.
6686 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6687 (integral_args): Add rs6000-*-* xfail for
6688 "run to call0a" if not compiled with gcc.
6689 (unsigned_integral_args): Add rs6000-*-* xfail for
6690 "run to call1a" if not compiled with gcc.
6691 (float_and_integral_args): Add rs6000-*-* xfail for
6692 "run to call2a" if not compiled with gcc and for
6693 "continue to call2b" for any compiler.
6694 Add rs6000-*-* xfail to
6695 "print f1 after run to call2a" for gcc compiled.
6696 (discard_and_shuffle): Add rs6000-*-* xfail for
6697 "run to call6a".
6698 (shuffle_round_robin): Add rs6000-*-* xfail for
6699 "backtrace from call7a" if not compiled with gcc.
6700 Add rs6000-*-* xfail for
6701 "backtrace from call7b" if compiled with gcc.
6702 (call_after_alloca): Add rs6000-*-* xfail for
6703 "print c in call_after_alloca" and
6704 "print s in call_after_alloca" and
6705 "backtrace from call_after_alloca_subr"
6706 if not compiled with gcc.
6707 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6708 "print c in localvars_in_indirect_call" and
6709 "print c in localvars_in_indirect_call" and
6710 "backtrace in indirectly called function" and
6711 "stepping into indirectly called function"
6712 if not compiled with gcc.
6713 (localvars_after_alloca): Add rs6000-*-* xfail for
6714 "print c after runto localvars_after_alloca" and
6715 "print s after runto localvars_after_alloca" and
6716 "print i after runto localvars_after_alloca" and
6717 "print l after runto localvars_after_alloca"
6718 for all compilers.
6719 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6720 than whatis-info.exp.
6721 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6722 than opaque-info.exp.
6723 Setup rs6000-*-* xfail for
beb998c6 6724 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6725 "ptype on opaque struct pointer (dynamically)" when
6726 not compiled with gcc.
6727 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6728 rather than callf-info.exp.
6729 (do_function_calls): Add clear_xfail for rs6000-*-* for
6730 "p t_float_values2(3.14159,float_val2)". Seems to work
6731 fine there, both with xlc and gcc. Need to find out what
6732 it is doing right and fix other platforms.
6733 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6734 "call inferior func with struct - returns int",
6735 "call inferior func with struct - returns long",
6736 "call inferior func with struct - returns float",
6737 "call inferior func with struct - returns double",
6738 "call inferior func with struct - returns char *",
6739 but only if not gcc compiled (presumes xlc compiled).
6740 Change rs6000-*-* xfails for
6741 "call inferior func with struct - returns char" and
6742 " call inferior func with struct - returns short" to only
6743 xfail if not using gcc.
6744 (clean mostlyclean): Remove *.ci and *.tmp files.
6745 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6746 than templ-info.exp.
6747 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6748 Add rs6000-*-* xfail for "up to foo in langs.exp"
6749 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6750 when not gcc compiled.
beb998c6 6751
c906108c
SS
6752Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6753
6754 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6755 * gdb.base/corefile.exp: Likewise.
6756 * gdb.base/list.exp: Likewise.
6757 * gdb.base/scope.exp: Likewise.
6758 * gdb.base/siganls.exp: Likewise.
6759
6760 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6761 compiler output.
6762 * gdb.base/whatis.exp: Likewise.
6763
6764Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6765
6766 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6767 failure (opcode table has been fixed to match reality).
6768
6769Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6770
6771 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6772 "call inferior func with struct - returns char",
6773 "call inferior func with struct - returns short"
6774
6775 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6776 "print 'scope0.c'::filelocal at main",
6777 "print 'scope0.c'::filelocal_bss in test_at_main",
6778 "print 'scope0.c'::filelocal at foo",
6779 "print 'scope0.c'::filelocal_bss in test_at_foo",
6780 "print 'scope0.c'::filelocal at bar",
6781 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6782
c906108c
SS
6783 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6784 in source file 1". This bug seems to have been fixed with both
6785 gcc and native cc (was native assembler bug?).
6786
6787Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6788
6789 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6790 "backtrace through signal handler" to "i*86-*-sysv4*".
6791 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6792 continue" case. Add "known SVR4 bug" to fail message.
6793 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6794 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6795 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6796 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6797 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6798 "up to foo in langs.exp", "show language at foo in
6799 langs.exp", "up to cppsub_ in langs.exp", "show
6800 language at cppsub_ in langs.exp", "up to fsub in
6801 langs.exp", and "show language at fsub in langs.exp".
6802 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6803 "bactrace in corefile.exp".
6804 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6805 "call inferior function with struct - returns float" and
6806 "call inferior function with struct - returns double".
beb998c6 6807
c906108c
SS
6808Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6809
6810 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6811 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6812 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6813 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6814
6815Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6816
6817 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6818 (or overriden) "CHILL" macro rather then bare "gcc".
6819 Also look for ../../gcc/xgcc since that is what we will
6820 actually need, not "Makefile". Remove following assignment
6821 of CHILL to CHILL_FOR_TARGET because that results in
6822 recursive definition.
6823
6824Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6825
6826 * gdb.base/corefile.exp: Change xfail for backtrace in
6827 corefile.exp from linuxaout to all linux.
6828 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6829 cases where we miss the breakpoint at the signal handler
6830 for some reason. Setup xfail for linuxoldld/linuxaout and
6831 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6832 hitting SIGURG breakpoint.
6833 * gdb.base/signals.exp: Setup xfail for "next" acting like
6834 continue to add linuxoldld. Setup xfail for all linux for
6835 "next to handler in signals_tests_1", "backtrace in
6836 signals_tests_1", "continue to func1", "pass SIGUSR1",
6837 and continue to handler".
6838
6839Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6840
6841 * Update all FSF addresses except those in COPYING* files.
6842
6843Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6844
6845 * gdb.base/a2-run.exp: Change messages to be more explicit about
6846 the status of args, and quote binfile in results.
6847
6848Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6849
6850 * gdb.base/callfuncs.exp: Add tests for passing structs to
6851 inferior functions and return various types.
6852 * gdb.base/callfuncs.c: Add functions to receive a struct
6853 and return a member of the struct, in various types.
6854
6855Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6856
6857 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6858
6859Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6860
6861 * config/vxworks29k.exp: New file, sources vxworks.exp.
6862
6863Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6864
6865 * config/gdbremote.exp: New file. Testing framework using
6866 gdbserver.
6867
6868Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6869
6870 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6871 "call function when asleep" and "send end of file".
6872 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6873 for "backtrace in corefile.exp".
6874 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6875 for "backtrace through signal handler".
6876 * gdb.base/corefile.exp: Make sure we actually generate a core file
6877 before trying the core tests. Some systems allow the user to suppress
6878 generation of core files and default to that (linux for example).
6879 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6880 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6881
6882Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6883
6884 * gdb.threads: New directory with some crude multi-threaded
6885 gdb tests (step.exp and step2.exp).
6886 * config/mt-lynx (STEP_EXECUTABLE): Define.
6887 (THREADFLAGS): Define.
6888
6889Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6890
6891 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6892
6893 * gdb.base/signals.exp: Disable whole file for lynx until
6894 further notice.
6895
6896 * gdb.base/signals.exp: xfail test where "next" acts like
6897 "continue" for lynx.
6898
6899 * gdb.base/interrupt.exp: xfail test for calling function while
6900 inferior is asleep for lynx.
6901
6902 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6903 than one cr-lf after each command.
6904
6905Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6906
6907 * configure.in: Reinstate setting of stabsdirs variable, fix
6908 typo in setting up configdirs for native builds.
6909
6910 * gdb.base/return.exp: Fix typo in return double test.
6911 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6912 compiler from optimizing them away.
6913
6914Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6915
6916 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6917 sequences to be echo'd by gdb when using gdb_test.
6918 * gdb.chill/chexp.exp: Likewise.
6919 * gdb.fortran/exprs.exp: Likewise
6920
6921Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6922
6923 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6924 after the inferior gdb has started.
6925
6926 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6927 after each command.
6928 * gdb.base/funcargs.exp: Likewise.
6929 * gdb.base/gdbvars.exp: Likewise.
6930 * gdb.base/interrupt.exp: Likewise.
6931 * gdb.base/list.exp: Likewise.
6932 * gdb.base/watchpoint.exp: Likewise.
6933 * gdb.c++/demangle.exp: Likewise.
6934 * gdb.c++/inherit.exp: Likewise.
6935 * gdb.chill/chexp.exp: Likewise.
6936 * gdb.fortran/exprs.exp: Likewise.
6937
6938 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6939 test if we can't handle IO to/from the inferior.
6940
6941 * gdb.c++/misc.exp: Always check for a program already being
6942 started after sending a "run" command to gdb.
6943
6944 * gdb.base/twice.exp: Start with a fresh gdb.
6945
6946 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6947 only depend on gdb's expression code, not the chill runtime.
6948
6949 * gdb.base/return.c: Put return values into variables so we
6950 can have gdb print them rather than depending on the program
6951 to print them.
6952 * gdb.base/return.exp: Corresponding changes.
6953
6954 * lib/gdb.exp: Provide default value for noinferiorio.
6955 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6956 the inferior.
6957
6958 * gdb.base/break.exp: Always check for a program already being
6959 started after sending a "run" command to gdb.
6960 (text_next_with_recursion): Don't check the output from the
6961 program's printf statement. Instead just make sure the program
6962 exited.
6963
6964 * gdb.base/commands.exp: Protect tests which need arguments with
6965 $noargs conditionals.
6966
6967Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6968
6969 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6970 of structure member arrays to match gdb/valops.c:value_addr change.
6971
6972Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6973
6974 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6975 cases.
6976
6977Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6978
6979 * configure.in (configdirs): Remove gdb.chill from default list
6980 of subdirs and then add it back in only if doing a native build.
6981 The current chill compiler does not yet work in any cross build.
6982 * Revert all signal changes from Jul 6.
6983 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6984 for sh-hms targets, allowing these tests to link, with no other
6985 changes. Testing is suppressed by setting "nosignals" in site.exp.
6986
6987Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6988
6989 * configure.in (signaldirs): Define and add to configdirs for all
6990 targets except some specific ones that are known to not support signals.
6991 Also clean up formatting.
6992 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6993 (signals, sigall): Remove rules to build.
6994 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6995 Moved to new gdb.signals directory.
6996 * gdb.signals: New test directory.
6997 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6998 signals.c signals.exp}: New or moved files.
6999
7000Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7001
7002 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7003
7004Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7005
7006 * gdb.base/return.exp: Xfail `return double' test failure
7007 on at least Solaris 2.3 and handle future/past versions on
7008 a case by case basis as appropriate. Also update message
7009 to include i*86 failures.
7010
7011Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7012
7013 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7014
7015 * lib/gdb.exp: Fix comment which erroneously identified
7016 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7017 gdb_file_cmd not gdb_load).
7018 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7019
7020 * gdb.base/setvar.exp: Make test names consistent between pass and
7021 fail cases. Use gdb_test more.
7022
7023Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7024
7025 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7026
7027Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7028
7029 * gdb.base/help.exp: Fix expected help string for `show commands'.
7030
7031Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7032
7033 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7034
7035 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7036 of a text section.
7037
7038Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7039
7040 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7041 that loop eventually terminates. Fix Connection refused logic so
7042 that testsuite will expire nicely.
7043
7044Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7045
7046 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7047 config/rom68k.exp: New tcl glue for the appropriate monitors.
7048 These all just end up calling monitor.exp.
7049 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7050 refused' by retrying. Cleanup some timeout issues.
7051 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7052 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7053 callers don't have to set/restore global timeout variable.
7054
7055 * The following set of changes centralizes management of the global
7056 timeout variable. This way, it can be set in one target dependent
7057 place instead of dozens of places scattered throughout the test suite.
7058 If you need to lengthen a timeout, then you should either set timeout
7059 in one of the config/{target}.exp files, or multiply it by a factor.
7060 Setting it to an absolute value is always going to lose for some
7061 targets.
7062 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7063 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7064 * gdb.base/funcargs.exp: Don't set timeout.
7065 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7066 * gdb.base/printcmds.exp (test_print_string_constants
7067 test_print_array_constants): Don't set timeout.
7068 * gdb.base/ptype.exp: Don't set timeout.
7069 * gdb.base/recurse.exp: Don't set timeout.
7070 * gdb.base/return.exp: Don't set timeout.
7071 * gdb.base/watchpoint.exp: Don't set timeout.
7072 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7073 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7074
7075Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7076
7077 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7078
7079Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7080
7081 * lib/gdb.exp: Disable chill tests for irix5.
7082
7083Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7084
7085 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7086 each test pass or fail.
7087
7088Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7089
7090 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7091 xlc not gcc.
7092
7093Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7094
7095 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7096
7097Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7098
7099 * config/est.exp: Fix copyright and comments. Remove dead code.
7100 Use targetname, serialport and baud variables instead of fixed
7101 constants.
7102 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7103 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7104
7105Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7106
7107 * gdb.base/watchpoint.exp: Don't run
7108 test_watchpoint_triggered_in_syscall for sunos.
7109
7110Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7111
7112 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7113 they don't seem to exist. Do include stdio.h.
7114
7115Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7116
7117 * gdb.base/a1-selftest.exp: Add alpha xfail.
7118
7119Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7120
7121 * gdb.base/watchpoint.c (main): Prompt before calling read().
7122 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7123 Revise accordingly. Remove cruft about sending "123" several
7124 times, until it gets noticed. Clean up the "print buf[0]" stuff
7125 so that it passes or fails, and waits for prompts in the usual way.
7126
7127Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7128
7129 * gdb.base/recurse.exp: Fix comment.
7130
7131 * TODO: Remove item about printing variables in nodebug.exp. Add
7132 item about enabling tests which are only run on some targets.
7133
7134 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7135 fail, make test names unique, use new gdb_test convention
7136 regarding pattern, use gdb_test more, etc.).
7137
7138 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7139 fail, make test names unique, etc.).
7140
7141Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7142
7143 * gdb.base/nodebug.c: Change return type of top and middle to
7144 short.
7145 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7146 are fixed by the recent mdebugread.c changes. Allow `short ()'
7147 as type for top and middle.
7148
7149Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7150
7151 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7152 nearly as I can tell, the whole thing was an accident in Stu's
7153 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7154 to replace a send/expect pair with gdb_test, but ended up only
7155 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7156 of 30 Mar 1995 took care of it, but left this vestigial comment
7157 which I am now nuking.
7158
7159Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7160
7161 * gdb.base/break.exp: Look for different line number for
7162 breakpoint at main depending on usestubs.
7163
7164Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7165
7166 * gdb.base/list.exp: Adjust some alternate expect patterns to
7167 match recent list0.c change. Add alternate expect pattern for
7168 output from `list default lines around main' for optimizing
7169 compilers.
7170
7171Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7172
7173 * lib/gdb.exp: If nosignals is not set, set it to 0.
7174
7175Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7176
7177 * config/slite-gdb.exp: Responds to load symbol table prompt.
7178 * gdb.base/break.exp: Adjust line number, fix rerun.
7179 * gdb.base/langs0.c: Add #ifdef usestubs.
7180
7181Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7182
7183 * gdb.base/list.exp: Adjust line contents after adding new lines in
7184 list0.c. Also fix a syntax error.
7185
7186 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7187 * gdb.base/break.exp: ditto.
7188 * gdb.base/list.exp: ditto.
7189 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7190 * gdb.base/run.c: ditto.
7191 * gdb.base/list0.c: ditto.
7192 * gdb.base/funcargs.c: ditto.
7193
7194Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7195
7196 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7197 $targetname, $serialport and $baud instead of hardwired variables.
7198 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7199 target doesn't support signals.
7200
7201Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7202
7203 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7204
7205Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7206
7207 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7208 Don't rely on the value of an auto variable before it has been
7209 initialized. Use gdb_test more.
7210
7211Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7212
7213 * lib/gdb.exp (default_gdb_version): A version number must start
7214 with a digit, but other than that contains all characters up to
7215 the first whitespace character.
7216
7217Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7218
7219 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7220
7221Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7222
7223 * gdb.c++/*.exp: Warn if executable does not exist. The original
7224 reason for skipping the warning was that configure.in sometimes
7225 intentionally skipped building the executables but the tcl code
7226 had no way of knowing. That (a) was always bogus with respect to
7227 error handling, (b) is no longer true (right now there is no way
7228 to skip C++ tests).
7229
7230 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7231
7232Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7233
7234 * gdb.base/list.exp: Add expect patterns for output from
7235 SunPRO compiled executables.
7236 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7237 types.
7238
7239Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7240
7241 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7242 number (we are already testing that the correct source line text
7243 gets printed).
7244
7245 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7246 that is what is intended, but something needed to be done to get
7247 sunos4 native working again.
7248
7249 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7250
7251 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7252 apparently went with a (very) old xfail.
7253
7254Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7255
7256 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7257 runto_main is a proc in gdb.exp that will do 'step' for target use
7258 stubs.
7259 * gdb.base/exprs.exp: ditto.
7260 * gdb.base/interrupt.exp: ditto.
7261 * gdb.base/opaque.exp: ditto.
7262 * gdb.base/printcmds.exp: ditto.
7263 * gdb.base/ptype.exp: ditto.
7264 * gdb.base/scope.exp: ditto.
7265 * gdb.base/setvar.exp: ditto.
7266 * gdb.base/signals.exp: ditto.
7267 * gdb.base/twice.exp: ditto.
7268 * gdb.c++/classes.exp: ditto.
7269 * gdb.c++/inherit.exp: ditto.
7270 * gdb.c++/templates.exp: ditto.
7271 * gdb.base/break.exp: no run and hit main for stubs. Change line
7272 numbers for breakpoints and info breakpoint.
7273 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7274 breakpoint().
7275 * gdb.base/callfuncs.c: ditto.
7276 * gdb.base/exprs: ditto.
7277 * gdb.base/interrupt.c: ditto.
7278 * gdb.base/opaque0.c: ditto.
7279 * gdb.base/printcmds.c: ditto.
7280 * gdb.base/ptype.c: ditto.
7281 * gdb.base/scope0.c: ditto.
7282 * gdb.base/setvar.c: ditto.
7283 * gdb.base/signals.c: ditto.
7284 * gdb.base/twice.c: ditto.
7285 * gdb.c++/misc.cc: ditto.
7286 * gdb.c++/templates.cc: ditto.
7287
7288Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7289
7290 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7291
7292 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7293 somewhere between `read' and `main.c'. I'm pretty sure the
7294 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7295 and it isn't particularly useful.
7296
7297 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7298
7299Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7300
7301 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7302
7303Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7304
7305 * config/mt-slite: add LIBS and -nostdlib.
7306 * config/slite-gdb.exp: add this new file to support sparclite target.
7307
7308Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7309
7310 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7311
7312 * gdb.base/a2-run.exp: Change argument to istarget from
7313 "*-*-vxworks" to "*-*-vxworks*".
7314 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7315
7316Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7317
7318 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7319 will not runto main but do a 'step' to step out of breakpoint().
7320 * config/mt-slite: add -Dusestubs.
7321
7322Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7323
7324 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7325 instead of just @.
7326
7327 * gdb.base/signals.exp: Add test for "handle all print".
7328 * TODO: Remove "handle all print". Also remove item about
7329 checking copyright date (I don't like the idea of a spurious FAIL
7330 based on when we run the tests).
7331
7332 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7333 for SunOS4 (reason for failure not investigated). Remove
7334 redundant test for $binfile.
7335
7336 * gdb.base/nodebug.c (array_index): Call malloc.
7337
7338 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7339
7340Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7341
7342 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7343 conventions and slightly simplify the matching regexp.
7344
7345Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7346
7347 * gdb.base/break.exp: Update gdb_test invocation to use new
7348 convention.
7349
7350 * lib/gdb.exp: If noargs is not set, set it to 0.
7351
7352 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7353 tests unique.
7354
7355 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7356
7357Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7358
7359 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7360 one argument of type "<non-float parameter>".
7361
7362Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7363
7364 * config/rom68k.exp: New file to support Motorola IDP board.
7365 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7366 * gdb.base/break.c: Change things around so that this program
7367 doesn't depend upon args. This is necessary to make remote
7368 targets work (in general, they can't take args).
7369 * gdb.base/break.exp: Don't try to send args to program. Don't
7370 expect output. Also, replace lots of code with gdb_test.
7371
7372Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7373
7374 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7375 printing of '\'' (which is what the comment says we are testing,
7376 even though we were not), not '''.
7377 (test_integer_literals_rejected): Test that printing ''' is an error.
7378
7379 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7380 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7381 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7382 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7383 Use gdb_test not test_print_accept.
7384 * lib/gdb.exp: Remove test_print_accept.
7385
7386 * gdb.base/signals.exp (signal_tests_1): Make pass message
7387 consistent with fail message.
7388
7389 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7390 unsigned char; the bug (PR 1821) is fixed.
7391
7392 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7393
7394 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7395 successful tests--makes xfailing them work right.
7396
7397Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7398
7399 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7400 only \r\n, not .*. The test can pass .* as the last thing in
7401 $pattern if that is what it wants. In addition to providing this
7402 flexibility, this change should speed up pattern matching in cases
7403 where the pattern already ended with .* (there were a number of
7404 them). This change also helps catch bad patterns--in the old
7405 scheme the typo "char \*" instead of "char \\*" would pass. Now
7406 it is caught.
7407 * Many .exp files: Update callers.
7408
7409 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7410 clearer and does not spuriously match multiple ('s. Likewise for
7411 ) and *.
7412
7413 * gdb.base/nodebug.exp: Test ability to call a function and pass
7414 it a string (even with no debugging info).
7415
7416 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7417 "p '\'", which is the same as "p ''" once tcl gets done with
7418 quoting, to "p '\\'", which I suspect is what is intended (one
7419 backslash gets sent to GDB).
7420
7421 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7422
7423Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7424
7425 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7426 1817) was fixed literally years ago.
7427
7428Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7429
7430 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7431 test, it causes stepping out of call_after_alloca_subr with
7432 optimizing compilers.
7433 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7434 fails.
7435
7436 * gdb.c++/templates.exp: Source templ-info.exp only if
7437 the templates executable exists.
7438
7439 * gdb.c++/misc.cc (class Contains_static_instance,
7440 class Contains_nested_static_instance),
7441 gdb.c++/classes.exp (test_static_members): Test printing of
7442 a class that contains a static instance of the class.
7443
7444Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7445
7446 * gdb.base/langs2.c (cppsub_): Don't prototype.
7447 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7448 only, I believe).
7449
7450Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7451
7452 * lib/gdb.exp (skip_chill_tests): New procedure.
7453
7454 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7455
7456Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7457
7458 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7459 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7460
7461Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7462
7463 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7464
7465 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7466 disassemble 8, not 16, instructions for part 4.
7467
7468 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7469 support the latter anymore.
7470
7471 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7472 -DNO_PROTOTYPES.
7473 * gdb.base/callfuncs.c: Control use of prototypes based on
7474 NO_PROTOTYPES, not __STDC__.
7475 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7476 t_float_values2 tests if prototypes in use.
7477
7478 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7479 t_double_values): When checking differences against DELTA, check
7480 that difference is within the range (-DELTA,DELTA), not just
7481 (-infinity,DELTA).
7482
7483Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7484
7485 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7486 'file' command firts, then 'target', then 'load', this is due to gdb
7487 target set up.
7488 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7489
7490Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7491
7492 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7493 FP load/store variants.
7494 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7495
7496Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7497
7498 * gdb.base/term.exp: Do not give a warning if not native, it is
7499 not an abnormal condition.
7500
7501Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7502
7503 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7504 t_char_array".
7505
7506Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7507
7508 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7509 are getting the version number.
7510
7511 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7512 if not native, it is not an abnormal condition.
7513
7514Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7515
7516 * lib/gdb.exp: Just use "file exists", rather than undocumented
7517 dejagnu procedure "findfile".
7518
7519Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7520
7521 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7522 (LDFLAGS): Set to -Xlinker -Ur.
7523
7524 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7525 Removed, these values are set by lib/gdb.exp.
7526
7527 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7528
7529Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7530
7531 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7532 of replicating gdb startup code.
7533
7534 * config/mt-vxworks (LDFLAGS): Set to -r.
7535 (CFLAGS_FOR_TARGET): Removed.
7536
7537 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7538 (gdb) and gdb for vxworks uses (vxgdb).
7539
7540 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7541 executable is not in the tree and host != target, use sed and
7542 program_transform_name to determine the gdb name used by the
7543 target.
7544
7545 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7546 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7547
7548Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7549
7550 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7551 floats, chars, and shorts where there are ANSI-style function
7552 definitions.
7553
7554 * gdb.base/langs.exp, gdb.base/langs*: New test.
7555 * gdb.base/Makefile.in: Build it.
7556 * TODO: Remove item about checking that C names don't get C++
7557 demangling applied; this test tests it.
7558
7559Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7560
7561 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7562 went with the const70 xfail. The xfail went away a year ago.
7563
7564 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7565
7566 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7567 for hp300.
7568
7569 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7570
7571 * gdb.base/a1-selftest.exp: Don't run on hp300.
7572
7573Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7574
7575 * Makefile.in (site.exp): Set host_alias and target_alias as well
7576 as host_triplet and target_triplet.
7577
7578Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7579
7580 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7581
7582 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7583 places as other ecoff systems).
7584
7585 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7586 ultrix.
7587
7588Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7589
7590 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7591 remove them.
7592 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7593 variable and "variable" in addition to "data variable".
7594 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7595
7596 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7597 2.
7598 * gdb.base/list1.c (long_line): Add additional statement at start
7599 of function.
7600 * gdb.base/list.exp (test_forward_search): Update line number to
7601 reflect new statement.
7602
7603Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7604
7605 * gdb.base/signals.exp: Reinitialize searched source directories
7606 after gdb_start call.
7607
7608Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7609
7610 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7611 * gdb.stabs/Makefile.in: Likewise.
7612
7613 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7614 change. Instead split the tests into smaller pieces.
7615 * gdb.disasm/hppa.s: Corresponding changes.
7616
7617Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7618
7619 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7620 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7621
7622 * gdb.base/funcargs.exp: Modify many tests so that every test
7623 either passes or fails. Make some test names unique.
7624
7625Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7626
7627 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7628 Call stty to set interrupt character.
7629
7630 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7631 for HP assembler versus GNU assembler based on actual behavior of
7632 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7633
7634 * TODO: Suggest a few more stepping tests.
7635
7636Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7637
7638 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7639 restart GDB for h8300 after a continue.
7640 (return): Add pattern to match a29k-udi behavior.
7641 * gdb.base/nodebug.exp: Remove obsolete comment.
7642 * gdb.base/regs.exp: New file, testing of register displays.
7643 * gdb.base/return.exp: Fix typo in reference to $objdir.
7644 * gdb.base/whatis.exp: Always start with a fresh GDB.
7645
7646Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7647
7648 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7649 higher, these tests generate a lot of output.
7650
7651Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7652
7653 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7654 code following the catch silently ignored some errors; without the
7655 catch they should be thrown like any other tcl error. Also, the
7656 catch used "" instead of {} which meant all the callers who wanted
7657 to include one of the characters "[]$ had to quote it an extra time.
7658 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7659 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7660 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7661 Remove extra quoting.
7662
7663Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7664
7665 * gdb.base/commands.exp: Make test names unique; every test either
7666 passes or fails. Update some comments.
7667
7668 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7669
7670Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7671
7672 The following fixes a FAIL caused by the fact that the alpha stabs
7673 configuration didn't use the ".if alpha" code in weird.def.
7674 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7675 bit pointer, so the 32 bit version works even on the alpha.
7676 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7677 Remove the stuff which allowed us to have separate versions for
7678 alpha and everything else.
7679
7680 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7681 regexp which "info func operator\[\](" is supposed to match. Fix
7682 string to send to GDB. Note that GDB still doesn't work right. Add a
7683 new test for "info func .perator\[\](" which GDB does handle correctly.
7684
7685 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7686
7687Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7688
7689 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7690 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7691 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7692 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7693 it makes the tests harder to understand and confuses test-o-matic.
7694 The preferred style is that each test provides a PASS or a FAIL,
7695 and has a unique message (e.g. "continue #54" not just "continue")
7696 which is the same for the pass and the fail.
7697 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7698 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7699 to lib/gdb.exp.
7700 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7701 prt_accept which was basically the same thing. Likewise for
7702 test_print_reject and prt_reject.
7703 * lib/gdb.exp (test_print_reject): Add some more error message
7704 patterns to match from the former printcmds.exp (prt_reject).
7705 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7706 One defect of the passcount stuff is that some of it failed to
7707 report XPASS where appropriate.
7708 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7709 stuff before and after arg in expected pattern.
7710 (test_paddr_operator_functions): Re-do test without print_addr_of;
7711 this is the only test which seems to want extra stuff there.
7712
7713Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7714
7715 * gdb.base/nodebug.exp: Update new tests to reflect improved
7716 wording of gdb output.
7717
7718 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7719 and "ptype" work on variables in files compiled without -g.
7720 Replaces commented out "maint print msymbol" tests.
7721
7722Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7723
7724 * gdb.base/setvar.c (dummy): Call malloc.
7725
7726 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7727 losing with the irix4 sed.
7728
7729 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7730 ALRM" on irix4.
7731
7732Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7733
7734 * TODO: Remove items about corefile.exp testing new exec-file and
7735 backtrace; both are now done. Add items about printing enums.
7736
7737Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7738
7739 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7740 "get signal $thissig" test fails.
7741
7742 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7743
7744Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7745
7746 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7747 compiler warning with dec alpha compiler.
7748
7749 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7750 extra \n from gdb_test call (this explains why the prompt test
7751 that I removed yesterday was there).
7752 (user_defined_command_test): Remove extra \n and prompt test.
7753
7754 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7755 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7756 doesn't exist.
7757 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7758 Also remove alpha workaround, which turns out to be because
7759 SIGABRT == SIGLOST.
7760
7761 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7762
7763 * gdb.base/help.exp: Don't test "help show".
7764
7765Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7766
7767 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7768 "set print address" is on.
7769 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7770 pass prompt to gdb_test; gdb_test already looks for the prompt.
7771
7772 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7773
7774 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7775 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7776 was to make sure that gdb can read a core file. But (a) the "read
7777 the corefile" part didn't make it to a1-selftest.exp, we just
7778 delete the corefile after creating it, and (b) we test reading
7779 corefiles in corefile.exp anyway. Also, this test left around a
7780 xgdb process on Solaris.
7781
7782 * gdb.base/corefile.exp: Also test backtrace.
7783
7784Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7785
7786 * gdb.base/commands.exp: Test a simple user defined command with
7787 arguments and if/while statements; verify the full user command is
7788 printed by "show user".
7789
7790 * gdb.base/commands.exp: Test if/while commands as part of a
7791 breakpoint command list; verify they appear in breakpoint
7792 information.
7793
7794Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7795
7796 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7797 than by dividing by zero.
7798
7799Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7800
7801 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7802 performing an inferior call with watchpoints enabled.
7803 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7804 call.
7805
7806Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7807
7808 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7809 of "file" command.
7810
7811 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7812 Add additional pattern for when "int operator int(void);" appears
7813 in a different order.
7814
7815Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7816
7817 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7818
7819 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7820 and "signal" with ".*".
7821
7822Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7823
7824 * TODO: Add note about "handle all nostop".
7825
7826 * gdb.base/{sigall.c, sigall.exp}: New test.
7827 * gdb.base/Makefile.in: Add it.
7828
7829Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7830
7831 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7832 when invoking GDB, suppresses any windowing interface.
7833
7834Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7835
7836 * config/sim-gdb: New file, simulator testing support.
7837
7838Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7839
7840 * gdb.base/interrupt.exp: Test calling func1 twice.
7841
7842Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7843
7844 * gdb.base/list.exp (test_forward_search): Set timeout higher
7845 when we'll be getting lots of output from gdb.
7846
7847 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7848 "init_malloc" to after the expect statement. Run it if that
7849 regexp is taken, but also for two others which happen if source
7850 cannot be found.
7851
7852Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7853
7854 * gdb.base/printcmds.exp: New test, for printing register before
7855 program is running.
7856
7857Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7858
7859 * gdb.base/list.exp: Correct some alternate expect patterns
7860 to reflect changes in list1.c.
7861
7862Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7863
7864 * TODO: Add item regarding large frames.
7865
7866 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7867
7868 * TODO: Remove item about enabling return.exp; it
7869 is enabled. Suggest a few more "return" tests.
7870
7871Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7872
7873 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7874 anonymous unions.
7875
7876Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7877
7878 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7879 and pr-5646.o, so "make" is the same as "make all", not "make
7880 pr-4975.o".
7881
7882Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7883
7884 * gdb.base/list.exp: Adjust expectations to reflect changes in
7885 list1.c.
7886 (test_forward_search): New test proc.
7887 * gdb.base/list1.c (long_line): New function, has long source line.
7888
7889Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7890
7891 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7892 additional line of code that was added.
7893
7894Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7895
7896 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7897 tests so as not to overflow expect's input buffers.
7898 * gdb.disasm/hppa.exp: Corresponding changes.
7899
7900Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7901
7902 Beginnings of template debugging tests.
7903 * gdb.c++/templ-info.cc: New file to test for template
7904 debugging capability of the compiler.
7905 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7906 templ-info.cc.
7907 * gdb.c++/templates.cc: Add explicit template instantiations
7908 to enable compiling with -fno-implicit-templates. Add destructor
7909 and 'value' method to T5 class for template tests.
7910 * gdb.c++/templates.exp: Add testcases for printing of template
7911 types, setting breakpoints on template methods and calling a
beb998c6 7912 template method.
c906108c
SS
7913
7914Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7915
7916 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7917 branch target since some assemblers (gas-2.5) may emit a
7918 relocation for the branch instead of resolving it in the
7919 assembler.
7920
7921Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7922
7923 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7924 through signal handler.
7925
7926Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7927
7928 * configure.in (*-*-netware): Use config/mt-netware.
7929
7930 * config/mt-netware: New file.
7931 * config/mt-i386-netware: Removed, separate configs for different
7932 netware architectures are no longer needed now that we have
7933 --with-headers.
7934
7935Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7936
7937 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7938 by the recent changes to use ANSI C arithmetic conversions.
7939
7940Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7941
7942 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7943 bug involving using inferior_pid to figure out whether to select a
7944 frame.
7945
7946Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7947
7948 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7949 match the current disassembler output.
7950
7951Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7952
7953 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7954 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7955 types, expect "int" as type of integer values (for now).
7956
7957Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7958
7959 * gdb.base/commands.exp: New tests for if/while commands.
7960
7961Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7962
7963 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7964 by .*, since hex values have different syntax in Chill mode.
7965
7966Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7967
7968 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7969 linefeed from expect pattern for repeated types with indices > 9.
7970
7971Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7972
7973 First part of Fortran test suite.
7974 * gdb.fortran: New directory.
7975 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7976
7977Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7978
7979 * gdb.base/default.exp: Update expect pattern for load command
7980 without arguments.
7981
7982Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7983
7984 * configure.in: Change i386 to i[345]86.
7985 * gdb.base/configure.in: Likewise.
7986 * gdb.c++/configure.in: Likewise.
7987 * gdb.chill/configure.in: Likewise.
7988
7989Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7990
7991 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7992 patterns, since that is not a valid context for comments.
7993
7994Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7995
7996 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7997 repeated types and repeated types with indices > 9.
7998
7999Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8000
8001 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8002 2417; old bug has been fixed.
8003
8004Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8005
8006 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8007 send the newline ourselves instead of assuming gdb_test will do
8008 so when passed an empty input string.
8009
8010 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8011 stabs testcode.
8012
8013Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8014
8015 * lib/gdb.exp (gdb_test): Don't send anything if the first
8016 argument is an empty string. This makes cases where we want to
8017 match output that is already in expect's buffers (for example,
8018 matching a breakpoint after gdb_run_cmd has been called) work
8019 reliably.
8020
8021Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8022
8023 * config/netware.exp: New file.
8024
8025Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8026
8027 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8028 the -B and -L prefixes so we can find the debugging stub.
8029
8030 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8031 there and we are using the gcc from the tree.
8032
8033 * gdb.base/types.c: Removed.
8034
8035 * gdb.base/configure.in: Look for makefile fragments in ../config.
8036 Recognize i386-*-netware.
8037 * gdb.c++/configure.in: Likewise.
8038
8039Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8040
8041 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8042 the correct TCL syntax.
8043
8044Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8045
8046 * gdb.base/opaque.exp: use runto instead of messing around with
8047 breakpoints. Simplify by using gdb_test.
8048
8049 * gdb.base/bitfields.exp: restart between tests on netware targets
8050 because breakpoints aren't relocated after target death. Run
8051 processes to completion.
8052
8053 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8054
8055Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8056
8057 * Makefile.in: Remove extra tabs that confuse some versions
8058 of "make". Use the newly built gdb to test with by default,
8059 rather than the first one in the tester's search path.
8060
8061Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8062
8063 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8064
8065 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8066 condition help.
8067
8068Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8069
8070 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8071
8072 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8073 running.
8074 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8075 * gdb.base/funcargs.exp: Likewise.
8076
8077 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8078 * gdb.base/funcargs.exp: Likewise.
8079
8080 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8081 message is "".
8082
8083Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8084
8085 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8086 return,signals,twice}.exp: Handle non-existant binaries
8087 consistantly.
8088
8089 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8090 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8091 might testing a cross development system.
8092
8093Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8094
8095 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8096 runtest script is relative to ${srcdir}, not ${rootdir}.
8097
8098Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8099
8100 * gdb.base/signals.exp: Allow for optionality of breakpoint
8101 address.
8102
8103Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8104
8105 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8106
8107Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8108
8109 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8110 for size_t definition.
8111 * gdb.c++/templates.cc: Likewise
8112
8113 * config/mt-i386-netware: New file.
8114
8115 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8116 defined.
8117
8118 * gdb.base/Makefile.in: Added support for systems that name core
8119 files by appending "core" to the program name.
8120 * gdb.base/a1-selftest.exp: Likewise.
8121
8122Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8123
8124 * gdb.base/return.exp: Add comment and message for `return double'
8125 test failure on Sparc Solaris.
8126
8127Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8128
8129 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8130
8131Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8132
8133 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8134 from optimizing them away.
8135 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8136 patterns to include default constructors and assignment operators,
8137 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8138 character in the output of the virtual base pointer.
8139
8140Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8141
8142 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8143 expression match in print_addr_of to avoid unintented matches.
8144 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8145 versions up to 2.5.8.
8146
8147Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8148
8149 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8150 included file to run under newer versions of expect.
8151 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8152 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8153 Remove xfail for the virtual table of BDDHookV.
8154
8155Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8156
8157 * lib/gdb.exp (string_to_regexp): Set a default result.
8158 (default_gdb_start): Fix misleading message.
8159
8160Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8161
8162 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8163 Remove all CC, etc definitions.
8164 * config/mt-hpux: New file.
8165 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8166 (CFLAGS, LDFLAGS): Define.
8167 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8168
8169 * Makefile.in (site.exp): Don't insert host_os, etc.
8170 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8171 (distclean): Check existence of subdir.
8172 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8173 * gdb.base/Makefile.in: General cleanup and simplification.
8174 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8175 to build executables. Use default rule to build .o files.
8176 (EXPECT, RUNTEST, CC): Fix relative pathname.
8177 (site.exp): Don't insert host_os, etc.
8178 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8179 and/or SIGUSR1 defined.
8180 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8181 * gdb.c++/Makefile.in: General cleanup and simplification.
8182 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8183 (CFLAGS): Remove.
8184 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8185
8186Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8187
8188 * gdb.base/recurse.exp: Misc changes to get tests running again
8189 after Kung's changes to the watchpoint code.
8190 * gdb.base/watchpoint.exp: Likewise.
8191
8192Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8193
8194 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8195
8196Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8197
8198 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8199 * lib/gdb.exp (default_gdb_start): Define.
8200 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8201 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8202 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8203 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8204 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8205 Don't call gdb_target_udi in between tests.
8206
8207Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8208
8209 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8210 (which was basically just a local version of the same thing). In
8211 addition to avoiding duplication, gdb_test_exact is faster.
8212 * lib/gdb.exp (gdb_test_exact): Fix typo.
8213
8214 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8215 don't give an error.
8216
8217 * gdb.base/term.exp: Call delete_breakpoints before starting.
8218
8219 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8220 (t10): Add comment.
8221
8222Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8223
8224 Reorganization of the GDB Test Suite.
8225
8226 * gdb.base: New directory, contains all the basic tests.
8227 * gdb.c++: New directory, tests specific to C++.
8228 * gdb.chill: New directory, tests specific to Chill.
8229 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8230 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8231 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8232 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8233 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8234 t30-31 to chill).
8235 * */gdbme.*: Rename to match appropriate expect scripts.
8236 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8237 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8238 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8239 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8240 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8241 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8242 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8243 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8244 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8245 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8246 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8247 gdb.c++/virtfunc.cc: New names of C++ files.
8248 * gdb.chill/chillvars.ch: New name of Chill file.
8249 * gdb.base/configure.in, gdb.c++/configure.in,
8250 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8251 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8252 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8253 * configure.in (configdirs): Update to reflect directory changes.
8254 (target_abbrev): No longer define for any configuration.
8255 * Makefile.in: Cosmetic improvements to header comments.
8256
8257Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8258
8259 Various changes to gdb.t31:
8260
8261 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8262 * gdbme.ch: Make all key-words and predefineds be upper-case.
8263 * chillvars.exp: Expect key-words and predefinds in upper-case.
8264
8265 * chillvars.exp: Use gdb_test_exact many places.
8266 Change expected output for arrays (which now includes index labels).
8267
8268 * pr-5020.exp, gdme.ch (module PR_5020):
8269 New test, for PR-5020.
8270
8271Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8272
8273 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8274 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8275
8276Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8277
8278 * Makefile.in: Fix bit-rot in definitions of CHILL,
8279 CHILL_FOR_TARGET and Chill_LIB.
8280 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8281 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8282 CHILL, and CHILL_LIB.
8283
8284Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8285
8286 * Revert the previous changes. Please see Rob's directory
8287 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8288
8289Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8290
8291 * Makefile.in, configure.in, config/mips-gdb.exp,
8292 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8293 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8294 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8295 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8296 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8297 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8298 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8299 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8300 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8301 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8302 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8303 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8304 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8305 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8306 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8307 changes from 94Q1.
8308
8309Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8310
8311 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8312 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8313 Rob's new testing fragments.
8314
8315Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8316
8317 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8318 lib/gdb.exp: Replace error proc calls with perror.
8319
8320Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8321
8322 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8323 version also, match on casted version strings, and match on
8324 gdb startup case where the line numbers might be messed up.
8325
8326Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8327
8328 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8329 (CFLAGS): Delete it from here.
8330
8331Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8332
8333 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8334
8335Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8336
8337 * Makefile.in (RUNTEST): Default to just "runtest".
8338
8339Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8340
8341 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8342 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8343 the code has been restructured.
8344
8345Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8346
8347 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8348 \n, not just one of each.
8349
8350 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8351 /bin/cc gives a warning if you do.
8352
8353Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8354
beb998c6 8355 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8356 __t10ListS_link1ZUiRCUiPT0
8357
8358Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8359
8360 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8361 on local variables in recursive functions.
8362
8363 * gdb.t07/Makefile.in: Build the new test.
8364
8365Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8366
8367 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8368 directly. Instead compare the return values from actual calls.
8369
8370Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8371
8372 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8373
8374Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8375
8376 * From Peter Schauer with minor modifications.
8377 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8378 stops in mid-line in the caller. Add xfail for returning a float
8379 value on X86 targets.
8380
8381Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8382
8383 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8384 to avoid expect lossage.
8385 (fmem_LRbug_tests): Likewise.
8386 * gdb.disasm/hppa.s: Corresponding changes.
8387
8388 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8389 conditions to work with latest dejagnu/expect.
8390
8391 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8392 expected to fail on the PA.
8393 (backtrace in call with trampolines): Explicitly require main
8394 to be frame #1 (no trampolines should show up in backtrace).
8395
8396 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8397 "continue -expect".
8398 * gdb.t06/break.exp: Likewise.
8399 * gdb.t07/watchpoint.exp: Likewise.
8400 * gdb.t13/bitfields.exp: Likewise.
8401 * gdb.t15/{funcargs,return}.exp: Likewise.
8402 * gdb.stabs/weird.exp: Likewise.
8403 * config/{mips,udi}-gdb.exp: Likewise.
8404
8405 * hppa.sed: Enclose comments within a sed command to avoid
8406 losing with the old OSF1 sed.
8407
8408Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8409
8410 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8411 sequent dynix.
8412 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8413 * gdb.t15/funcargs.exp: Conditionally step again to really
8414 finish from marker_call_with_trampolines. Handle the case where
8415 the first step from within call_with_trampolines already steps
8416 us back to main.
8417 * gdb.t15/gdbme.c: Add comment to closing brace of
8418 call_with_trampolines for funcargs.exp.
8419
8420Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8421
beb998c6 8422 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8423 Fix typo(s).
8424
8425Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8426
8427 * gdb.t07/gdbme.c: More code for watchpoint testing.
8428
8429 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8430 "Hardware watchpoint" throughout file.
8431 (test_watchpoint_triggered_in_syscall): New test.
8432 (test_complex_watchpoint): New test.
8433
8434Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8435
8436 * gdbme.c (call_with_trampolines): New function to try and step
8437 into. Tests trampoline problems on the PA.
8438
8439 * funcargs.exp (localvars_in_indirect_call): No longer expect
8440 stepping into indirect call to fail on PAs.
8441 (test_stepping_over_trampolines): New test.
8442
8443Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8444
8445 * TODO: Add suggestions for static member function tests, and
8446 completion tests.
8447
8448Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8449
8450 * TODO: Add suggestions for "p/a" tests.
8451
8452 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8453 (default_gdb_exit): Replace all the hair with sending "quit" to
8454 the process with a simple close.
8455
8456Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8457
8458 * TODO: Add suggestions for shared library tests.
8459
8460Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8461
8462 * TODO: Add suggestions for x/s tests.
8463
8464Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8465
8466 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8467 "enable once", and "enable breakpoints once" with ".*".
8468
8469Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8470
8471 * TODO: Add suggestions about structure passing tests.
8472
8473Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8474
8475 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8476 the primary1 test, use work around if __GNUC__ < 2.
8477 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8478 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8479 Test for bad output rather than waiting for timeout. Issue
8480 second continue only if first continue failed.
8481
8482Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8483
8484 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8485 operator[] test with gdb_test because the old code didn't seem to
8486 be getting the quoting right with the new dejagnu.
8487
8488Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8489
8490 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8491 one from the path.
8492 * Makefile.in: Use a fresh expect if there is one, use runtest
8493 from the src tree if there is one.
beb998c6 8494
c906108c
SS
8495Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8496
8497 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8498 next over recursive call. Revise the tests from that point on
8499 (which had been skipped) to match GDB's actual (correct) output.
8500
8501 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8502 with next over a breakpoint whose condition is false.
8503
8504 * gdb.t00/help.exp: Comment out "help set print" tests just like
8505 (and for same reason as) "help set" test.
8506
8507Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8508
8509 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8510 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8511
8512Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8513
8514 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8515 necessary gdb_target_udi.
8516
8517 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8518
8519 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8520 1838 and 2417; they are fixed.
8521
8522 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8523 gdb.t03/ptype.exp (ptype structure, ptype union):
8524 Remove xfails; the test is looser than when the xfails were added.
8525
8526 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8527 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8528
8529 * gdb.t01/run.exp: Only run shell test if isnative.
8530
8531 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8532 since "run" automatically loads if necessary. Call gdb_target_udi
8533 after the "file" since "file" kills any execution target.
8534
8535 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8536 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8537 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8538 argument for UDI.
8539
8540Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8541
8542 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8543
8544 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8545
8546Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8547
8548 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8549 properly quoting regexps. This makes the second argument to
8550 demangle a fixed string, which matches the callers, instead of a
8551 shell-style pattern which is what the previous implementation
8552 used. Update some of the callers.
8553
8554Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8555
8556 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8557 (comib_nullified_tests): Fix typo.
8558 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8559 strings. No longer expected to fail.
8560
8561 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8562 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8563 strings. No longer expected to fail.
8564
8565 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8566 string. No longer expected to fail.
8567
8568Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8569
8570 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8571 No longer expected to fail.
8572
8573 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8574 string. No longer expected to fail.
8575
8576Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8577
8578 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8579 only in the names (I probably got most of them). I was even
8580 generous with some which differed in underscores in names, and
8581 probably missed a few, and I *still* was able to remove almost a
8582 third of the file with almost no impact on testsuite coverage.
8583
8584Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8585
8586 * gdb.t00/default.exp: Match udi_attach error message as well as
8587 the one from child_attach.
8588
8589 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8590
8591 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8592
8593 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8594 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8595
8596 * Move test with enums and partial symbols back to
8597 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8598 Reverts the change of 26 May 93. Per today's change to
8599 stabs.texinfo, the behavior that weird.exp was expecting was
8600 unreasonable; what is important is that the compiler+gdb get
8601 things right, which happens with a recent gcc. Also fix the test
8602 to deal with native compilers which put out the stab gdb can't
8603 deal with.
8604
8605Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8606
8607 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8608 in the names. The main thing these accomplish is to slow things down.
8609 Many more such duplicates surely remain.
8610
8611 * gdb.t00/help.exp: Comment out "help support" test just like
8612 (and for same reason as) "help set" test.
8613
8614Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8615
8616 * gdb.t06/break.exp: Remove setup_xfails for
8617 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8618 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8619 about known bug in gcc to include up through 2.5.8.
8620 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8621 well as "_vb$".
8622 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8623 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8624 with latest gcc and gdb.
8625 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8626 well as "_vb$".
8627
8628Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8629
8630 * configure.in (hppa*-*-*): Also configure and build stabs-only
8631 tests.
8632
8633Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8634
8635 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8636 * gdb.t10/configure.in (hppa*-*-*): Use it.
8637
8638Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8639
8640 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8641
8642Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8643
8644 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8645 versions prior to 1.13.5.
8646
8647Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8648
8649 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8650 the prompt is at the start of a line.
8651
8652Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8653
8654 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8655 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8656 in the copr tests now.
8657 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8658 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8659 expected to fail.
8660
8661Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8662
8663 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8664 gdb.t31/chillvars.exp, lib/gdb.exp:
8665 Tweak to run under either version of expect.
8666 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8667 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8668 * gdb.t11/list.exp: Remove extraneous whitespace.
8669
8670Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8671
8672 * gdb.t16/printcmds.exp (test_print_strings): Accept
8673 "(unsigned char *) " before the string.
8674
8675 * TODO: Add notes about printing of fancy types and GDB expressions.
8676
8677Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8678
8679 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8680 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8681 if doing mips-idt-ecoff.
c906108c
SS
8682
8683Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8684
8685 * Most .exp files: Tweak to run under either version of expect.
8686
8687Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8688
8689 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8690 xfails; I'm not sure why they are failing, but not because of PR 1806.
8691
8692Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8693
8694 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8695 defined in lib/gdb.exp.
8696
8697Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8698
8699 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8700 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8701 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8702 have to be typeless.
8703
8704Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8705
8706 * TODO: Add suggestion for copyright year test.
8707
8708Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8709
8710 * configure.in (*-*-lynxos*): Add stabs tests.
8711
8712Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8713
8714 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8715 so insert a tab before any assembler directive in column zero.
8716
8717 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8718 stores.
8719 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8720 stores.
8721 (fpu_short_memory_tests): Likewise.
8722
8723Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8724
8725 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8726 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8727 .stabs directives in comments.
8728
8729Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8730
8731 * TODO: New file, describing tests we could write.
8732 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8733
8734Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8735
8736 * gdb.t06/signals.exp: Add kludge to force re-sync.
8737
8738 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8739 to xgdb instead of gdb, get out of gdb.
8740
8741Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8742
8743 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8744 for info.
8745
8746Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8747
8748 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8749 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8750 * gdb.stabs/hppa.sed: New sed script for the PA.
8751
8752Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8753
8754 * gdb.stabs: Re-write weird.def and configuration to use sed
8755 instead of cpp. sed is portable and POSIX; cpp is neither.
8756
8757Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8758
8759 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8760
8761Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8762
8763 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8764
8765Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8766
8767 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8768 "_vb$".
8769 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8770 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8771
8772Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8773
8774 * lib/gdb.exp: Comment out code which depends on non-existent
8775 `transform' procedure.
8776
8777Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8778
8779 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8780 * lib/gdb.exp: Transform tool name.
8781 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8782 1.1's new error handling system.
8783
8784Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8785
8786 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8787
8788Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8789
8790 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8791 They made pattern matching so slow that timeouts happened on
8792 heavily loaded systems. Now any output from "show print" which
8793 gets us back to the GDB prompt is a PASS.
8794
8795Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8796
8797 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8798
8799Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8800
8801 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8802
8803 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8804 It is not from PR 3220.
8805
8806Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8807
8808 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8809 just started failing because they depended on the order the
8810 subcommands are presented, or exact docstring text. This kind of
8811 test is a pain and has minimal benefit.
8812
8813Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8814
8815 * gdb.t09/corefile.exp: At end of test, use "core" command with
8816 no arguments.
8817
8818Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8819
8820 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8821 17}/Makefile.in: Make it possible to run the testsuite with Sun
8822 make and CC = cross gcc by adding explicit build rules for .o
8823 files.
8824
8825Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8826
8827 * gdb.t15/funcargs.exp: Don't put comments on same line as
8828 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8829
c906108c
SS
8830Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8831
8832 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8833
8834Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8835
8836 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8837 * gdb.t20/inherit.exp: remove three dumplicate entries.
8838
8839Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8840
8841 * gdb.t06/break.exp: For "next over recursive call", fail on any
8842 incorrect output, not just on "factorial (value=2)".
8843
8844Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8845
8846 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8847 working now. Add an xfail if accesing a bss variable causes
8848 a memory error if the target is not yet run.
8849
8850Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8851
8852 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8853 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8854 name of __st* demangling (2 strings). Did Kung really get the
8855 more than 95 others right without testing them?
8856
8857Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8858
8859 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8860
8861Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8862
8863 * configure.in (configdirs): Add gdb.disasm
8864 * gdb.disasm: New directory for GDB disassembler tests.
8865 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8866
8867Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8868
8869 * gdb.t00/help.exp: Don't test "help set".
8870
8871 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8872 from within expect statements. None of these happen anymore and
8873 they cause regressions to be silently unnoticed.
8874
8875 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8876 messages) about known failures with gcc cygnus-2.4.5-930417.
8877
8878 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8879 comp-info.exp so it gets built if it doesn't exist.
8880
8881 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8882 it is no longer used.
8883 * gdb.t13/comp-info.c: Removed.
8884
8885Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8886
8887 * gdb.t06/signals.exp: Add xfail for sun3.
8888
8889Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8890
8891 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8892 relevant because ^C doesn't get sent but failure can be reproduced
8893 interactively).
8894
8895Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8896
8897 * gdb.stabs/alpha.mt: New configuration file for alpha.
8898 * gdb.stabs/configure.in: Use it.
8899 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8900 sharing with alpha.mt, redefine long to word via preprocessor.
8901 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8902 for alpha.
8903 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8904 native cc.
8905 * gdb.t00/teststrategy.exp: Change expect string so that we
8906 consume the `(xgdb)' from the command echo and from the gdb prompt.
8907 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8908 gdb currently compares all values as long, so this failure probably
8909 applies to any configuration where LONGEST is bigger than a target int.
8910 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8911 with gcc.
8912 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8913 to handle opaque pointers, gcc is.
8914 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8915 as first argument. Include <sys/types.h> and change all operator
8916 new definitions to use size_t.
8917 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8918 now that we use size_t.
8919
8920Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8921
8922 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8923 a long or float array cast all array members to the same type.
8924 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8925 with 64 bit longs.
8926 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8927 on alpha.
8928 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8929
8930Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8931
8932 * gdb.t24 (demangle.exp): Constructors of templates have names like
8933 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8934 section 14.6 of the ARM.
8935
8936 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8937 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8938 accomplish little and slow down the testsuite.
8939
8940 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8941 Accept spaces various places.
8942
8943Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8944
8945 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8946 with watchpoint enabled.
8947
8948 * Makefile.in: Remove definition of CC and remove the second
8949 definition of CXX (the "CXX = gcc" one remains). These definitions
8950 were causing backquotes to be expanded within backquotes, which
8951 doesn't work.
8952
8953Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8954
8955 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8956
8957Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8958
8959 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8960 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8961 by mips cc and contains no stabs entries.
8962
8963Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8964
8965 * config/vx-gdb.exp: Use fake device to load files rather than
8966 NFS.
8967 * lib/gdb.exp: New proc to do "file" command.
8968 * config/unix-gdb.exp: Use new "file" proc.
8969
8970Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8971
8972 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8973 Rework board rebooting slightly.
8974 (gdb_exit): Don't exit from the remote shell; there isn't one.
8975 * gdb.stabs/weird.exp: If a program is being debugged already,
8976 kill it.
8977 * gdb.t04/setvar.exp: Stop and restart gdb.
8978 * gdb.t05/expr.exp: Likewise.
8979 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8980 restart gdb and reload the program.
8981 * gdb.t08/opaque.exp: Likewise.
8982 * gdb.t12/scope.exp: Likewise.
8983 * gdb.t13/bitfields.exp: Likewise.
8984 * gdb.t15/funcargs.exp: Likewise.
8985 * gdb.t20/classes.exp: Likewise.
8986 * gdb.t03/ptype.exp: Increase timeout.
8987 * gdb.t16/printcmds.exp (test_print_string_constants,
8988 test_print_array_constants): Likewise.
8989 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8990 * gdb.t20/classes.exp (do_tests): Likewise.
8991 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8992
8993Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8994
8995 * gdb.stabs: Renamed *wierd* to *weird*.
8996
8997Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8998
8999 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9000 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9001
9002Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9003
9004 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9005 (do_tests): Remove xfail for whatis on one_var and two_var.
9006
9007Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9008
9009 * Makefile.in: Made cross building work better by adding
9010 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9011
9012Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9013
9014 * gdb.t15/{return.c,return.exp,Makefile.in}:
9015 New test, currently commented out.
9016
9017Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9018
9019 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9020 still running and removes the leftover named socket so GDb can do
9021 clean restarts.
9022
9023Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9024
9025 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9026 console, not GDB.
9027 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9028 cross testing works better with "make check"
9029 * config/unix-gdb: Use default procedures for exit and version.
9030 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9031 with the newest VxWorks.
9032
9033Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9034
9035 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9036 old form.
9037
9038 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9039 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9040
9041 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9042
9043 * config/unix-gdb.exp: Remove this version of gdb_exit
9044 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9045 Rob says he'll look at it when he gets back to testing boards.
9046
9047Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9048
9049 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9050 an expected fail for certain ptype commands.
9051
9052 * gdb.t20/classes.exp: Update expected results of "ptype class
9053 Base1" to account for the constructor that now appears in the type.
9054
9055Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9056
9057 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9058 disappeared from list.
9059 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9060 "alldone" proc with call to cleanup and exit.
9061 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9062 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9063 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9064 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9065 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9066 "alldone" proc with simple returns that suppress remaining
9067 tests. The alldone proc went away many months ago.
9068
9069Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9070
9071 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9072
9073 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9074
9075Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9076
9077 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9078 as vax gdb will display them.
9079
9080Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9081
9082 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9083 optimizers.
9084
9085 * scope.exp: Change "bad value for localval" messages so each one
9086 is unique.
9087
9088 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9089 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9090
9091 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9092
9093Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9094
9095 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9096 doesn't exist (due to optimization).
9097
9098Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9099
9100 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9101 contains \r because the filename is long.
9102
9103 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9104 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9105
9106Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9107
9108 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9109 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9110 Ultrix.
9111 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9112 int tests.
9113 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9114
9115Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9116
9117 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9118
9119 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9120 to match does not match the passing case but still matches the
c906108c
SS
9121 failing case.
9122
9123Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9124
9125 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9126
9127Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9128
9129 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9130 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9131 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9132 Remove various versions of gdb_exit.
9133 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9134 gdb_exit.
9135 * config/unix-gdb.exp: gdb_exit remains here, and should override
9136 the generic version, since it's doing a lot of wierd stuff that
9137 the other versions aren't. FIXME, fold it in, or abandon this
9138 version.
9139
9140Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9141
9142 * gdb.t24/demangle.exp: Add tests for PR 3220.
9143
9144Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9145
9146 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9147
9148Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9149
9150 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9151 "i386-*-*". Works for i486 as well.
9152
9153 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9154 bug, and expand domain of xfail to all SVR4 systems, since the
9155 actual problem is likely to be in generic SVR4 /proc support.
9156
9157Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9158
9159 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9160
9161Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9162
9163 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9164 xfails for other systems. Match a missing 'Continuing.' as an
9165 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9166
9167 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9168 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9169 Only issue warning for missing executables if -all option is used.
9170
9171 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9172 file if -all option is used. It's like an unpredictable XFAIL.
9173
9174Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9175
9176 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9177 for dynamically linked binaries.
9178
9179 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9180
9181Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9182
9183 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9184 to state that this is a known bug in old versions of g++.
9185
9186Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9187
9188 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9189 while waiting for `Continuing'.
9190
9191Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9192
9193 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9194 in text, data, and bss.
9195 * gdb.t10/nodebug.c: Add local and global test variables for
9196 initialized and uninitialized data.
9197
9198Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9199
9200 * config/unix-gdb.exp (gdb_exit): Add "wait".
9201
9202Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9203
9204 * gdb.t06/signals.exp: xfail the continue from the handler for all
9205 targets.
9206
9207 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9208 function with watchpoints enabled, the i386 call dummy starts with
9209 a call.
9210
9211 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9212 386 bsd names its corefiles.
9213
9214Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9215
9216 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9217 compilers don't grok it.
9218 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9219 with small octal ints rather than character constants, which
9220 are signed and might not fit if first promoted to int.
9221
9222Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9223
9224 * gdb.t09/Makefile.in (clean): Remove corefile.
9225
9226Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9227
9228 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9229
9230Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9231 and Jim Kingdon (kingdon@cygnus.com)
9232
9233 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9234 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9235 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9236
9237Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9238
9239 * gdb.t17/interrupt.exp: Add xfail for hppa.
9240
9241Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9242
9243 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9244 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9245 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9246 to determine signed-ness of bitfields and use the result to setup
9247 the xfail.
9248 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9249 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9250 call line is reached if necessary.
9251
9252Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9253
9254 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9255
9256Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9257
9258 * gdb.t06/break.exp: Also test `clear' command.
9259
9260Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9261
9262 * gdb.t00/teststrategy.exp: Remove extra quote.
9263
9264 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9265 watchpoint enabled to be for all non-68k machines.
9266
9267 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9268
9269Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9270
9271 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9272 targets use aout.mt instead of ecoff.mt as gas understands
9273 standard aout format.
9274
9275Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9276
9277 * lib/gdb.exp (runto): Don't insist that function we are running to
9278 was compiled with -g.
9279
9280 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9281
9282 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9283 to get back into the read system call.
9284 Accept leading newline in case where we woke it up.
9285
9286Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9287
9288 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9289 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9290 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9291 enable ecoff configuration.
9292
9293Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9294
9295 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9296
9297Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9298
9299 * gdb.t16/printcmds.exp: Add another printf test.
9300
9301Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9302
9303 * configure.in: If configured -with-stabs on any target, add
9304 stabsdirs to configdirs.
9305
9306Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9307
9308 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9309 fun" so pattern does not match the command itself.
9310
9311Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9312
9313 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9314
9315Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9316
9317 * gdb.t17/interrupt.exp: Test for more things.
9318
9319Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9320
9321 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9322 compiler arranges the code and line numbers.
9323
9324 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9325
9326Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9327
9328 * gdb.t00/help.exp: Increase expect input buffer size.
9329
9330Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9331
9332 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9333
9334 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9335
9336 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9337
9338 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9339 [0-9]*, not just [0-9].
9340
9341Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9342
9343 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9344
9345 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9346
9347Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9348
9349 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9350
9351Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9352
9353 * gdb.t06/signals.c: Add xfails for sun3.
9354
9355 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9356
9357 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9358 test_stepping tests.
9359
9360Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9361
9362 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9363
9364 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9365
9366 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9367 rather than actually putting it through cpp twice.
9368
9369 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9370
9371Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9372
9373 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9374 no longer needed.
9375
9376Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9377
9378 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9379
9380 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9381 C++ features prints as "struct", make it a pass, not an xfail.
9382
9383Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9384
9385 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9386 Don't require VA to print as "class" rather than "struct".
9387
9388Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9389
9390 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9391
9392Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9393
9394 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9395
9396Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9397
9398 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9399 order.
9400
9401Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9402
9403 * gdb.t16/printcmds.exp: Add printf tests.
9404
9405 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9406
9407 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9408
9409Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9410
9411 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9412 pass counts, to counteract any existing or future setup_xfails.
9413
9414Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9415
9416 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9417 {BEGIN,END}_COMMON for common block instead of STAB.
9418 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9419
9420 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9421 intp_var should be N_GSYM not N_LSYM.
9422 wierd-aout.S: Use a label for the value of the N_SO.
9423 wierd.def: Remove all backslashes.
9424 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9425
9426Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9427
9428 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9429 get the expected next to inheritance3.
9430
9431Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9432
9433 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9434 now that gcc-2.4 gets it right.
9435
9436Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9437
9438 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9439
9440 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9441 generating comp-info.exp which works for cross-compilation.
9442
9443Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9444
9445 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9446 "*-*-sysv4.*".
9447
9448Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9449
9450 * gdb.t01/run.exp: Start with a fresh gdb.
9451 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9452 SVR4.x.
9453
9454Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9455
9456 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9457 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9458 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9459 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9460 things to remove.
9461
9462Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9463
9464 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9465 test cases from bug reports.
9466
9467Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9468
9469 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9470 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9471 avoid spurious xfails.
9472 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9473 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9474 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9475
9476Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9477
9478 * gdb.t00/teststrategy.exp: Rework to provide more useful
9479 description of each test, fix problem with systems that define
9480 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9481 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9482 results for "next over recursive call" so timeouts aren't taken
9483 by error.
9484
9485Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9486
9487 * gdb.t12/scope.exp: Test printing of variables before run.
9488
9489 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9490 printed in wrong order due to sorting.
9491
9492Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9493
9494 * gdb.t00/teststrategy.exp: Fix expected results for printing
9495 user entered string constant. Is array of char, prints with no
9496 address.
9497
9498 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9499 commands.
9500 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9501 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9502 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9503 of struct of char arrays.
9504 * gdb.t00/radix.exp: New tests for radix commands.
9505
9506Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9507
9508 * gdb.t16/printcmd.exp: Print a variable before running program
9509 (with xfail for AIX).
9510
9511Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9512
9513 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9514
9515 * gdb.t16/printcmd.exp: Don't print variables before running program.
9516
9517 * gdb.t06/break.exp: Don't require envp argument to main.
9518
9519 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9520
9521 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9522 Add xfails for rs6000.
9523
9524 * gdb.t02/whatis.exp: Change other tests not to re-test something
9525 we already tested.
9526
9527 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9528 each type used has a variable of that type.
9529
9530Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9531
9532 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9533
9534Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9535
9536 * configure.in: change srctrigger to be a file, not a directory
9537
9538Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9539
9540 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9541
9542 * gdb.t11/list.exp: Fixed a couple of typos.
9543
9544Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9545
9546 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9547 is fixed and PR is closed.
9548 * gdb.t16 (gdbme.c): Add simple test string variable.
9549 * gdb.t16 (printcmds.exp): Add tests with simple test string
9550 variable, primarily for boundaries on "set print elements".
9551
9552Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9553
9554 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9555 Make leading 0's optional and don't expect a tab in the middle
9556 of the number.
9557
9558 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9559
9560 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9561 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9562 don't end command passed to gdb_test with newline.
9563
9564 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9565 signed keyword away, don't expect signed bitfields to be signed.
9566
9567 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9568 printing with only as many 1's as are in the field as well as printing
9569 with 32 1's (see comment).
9570
9571Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9572
9573 * gdb.t00/default.exp: Start with a fresh gdb.
9574 * configure.in (configdirs): Remove gdb.t31 until the chill
9575 compiler works again. It no longer is able to find chillrt0
9576 since it isn't in libchill.a anymore.
9577 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9578 wierd.o, make more modular.
9579 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9580 spurious newlines that caused problems.
9581
9582Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9583
9584 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9585 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9586 gdb.stabs/wierd.{exp,def}: Many new tests.
9587
9588 * gdb.t00/default.exp: update info line for new message.
9589
9590 * gdb.t02/{whatis.exp,gdbme.c}:
9591 Test that "char *" doesn't print as "caddr_t".
9592
9593Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9594
9595 * gdb.t00/help.exp: Use .* in place of some help messages which
9596 just changed.
9597 gdb.t00/default.exp: Update "info frame" test for new message.
9598 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9599 Remove some xfails
9600
9601Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9602
9603 * gdb.t03/{gdbme.c,ptype.exp}:
9604 Add tests for typedef'd struct and union without tags.
9605 Also check "whatis" on a variable of a typedef'd enum without a tag.
9606
9607 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9608 PRMS 1823; the bug still exists but isn't reproduced by this test
9609 anymore), and remove rs6000 XFAIL (the bug is fixed).
9610
9611 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9612 duplicated from whatis.exp. For those that are left, accept
9613 "long", "long int", or "int" for long variables (whatis.exp already
9614 has an XFAIL for "int", so no need to fail it here).
9615
9616 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9617 Deal with GCC's names for types now that GDB uses the compiler's names.
9618
9619 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9620 setup_xfail's for sunos4. If we #defined the signed keyword away,
9621 don't expect GDB to know that char it is signed.
9622
9623 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9624
9625Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9626
9627 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9628 should work on any system, regardless of debugging format.
9629 * gdb.t21/demangle.exp: Move to gdb.t24.
9630 * gdb.t24/demangle.exp: Move from gdb.t21.
9631 * gdb.t24/{Makefile.in, configure.in}: New files.
9632
9633Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9634
9635 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9636 * gdb.stabs: New directory.
9637
9638Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9639
9640 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9641 not just "Quit anyway?".
9642
9643Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9644
9645 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9646 that all setup_xfails are immediately followed by clear_xfails.
9647
9648Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9649
9650 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9651 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9652 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9653 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9654 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9655 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9656 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9657 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9658 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9659 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9660 gdb.t31/chillvars.exp, lib/gdb.exp:
9661 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9662 bug-gdb@prep.ai.mit.edu.
9663
9664Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9665
9666 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9667 with 0.0, not integer 0.
9668
9669Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9670
9671 * gdb.t06/break.exp: Update for "Kill the program" message change.
9672
9673Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9674
9675 * Makefile.in (GDBFLAGS): Set to -nx.
9676 * Makefile.in (site.exp): Use GDBFLAGS.
9677
9678Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9679
9680 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9681 Makefiles.
9682 (check): depend on just-check.
9683 (just-check): added so that tests can be run without a noop
9684 build pass.
9685
9686Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9687
9688 Switch to using configure's configdirs.
9689 * Makefile.in (Makefile): add configure.in dependency.
9690 (SUBDIRS): removed redundant assignment.
9691 * configure.in: switch subdirs assignment to configdirs.
9692 * gdb.t*/configure.in: new files.
9693
9694Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9695
9696 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9697 works.
9698
9699Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9700
9701 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9702 in explicit rules. Apparently this is not supported by some makes.
9703
9704Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9705
9706 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9707
9708Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9709
9710 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9711 disappeared.
9712
9713Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9714
9715 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9716
9717Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9718
9719 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9720 watchpoint problem that is now fixed.
9721 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9722 uninitialized convenience variables.
9723 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9724 structures.
9725
9726Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9727
9728 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9729 which causes expect to get out of sync with gdb on long output
9730 from help set.
9731 * gdb.t09/corefile.exp: Make expected pattern for core file
9732 failing signal and frame output format less sun specific.
9733
9734Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9735
9736 * gdb.t31/chillvars.exp: Add and remove initial dummy
9737 breakpoint, so that symbol table is forced in.
9738 (Needed at least on Sunos4, though it seems not SVR4.)
9739 * gdb.t31/chillvars.exp: Update for changed output format.
9740
9741Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9742
9743 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9744
9745Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9746
9747 * Makefile.in: Added --srcdir when invoking runtest, removed the
9748 need for a local config file. (optional now)
9749
9750Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9751
9752 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9753 failure count used to force early termination. Add some more
9754 expected failures for gnu style demangling.
9755
9756Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9757
9758 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9759 pmi variable from gdb.t20/gdbme to get optimized away.
9760 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9761 Check for written corefile upon timeout _and_ eof.
9762
9763Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9764
9765 * config/unix-gdb.exp: Add missing return 0.
9766
9767Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9768
9769 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9770 test termination.
9771
9772Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9773
9774 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9775 disappeared.
9776
9777Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9778
9779 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9780 time as i860 support works.
9781
beb998c6 9782 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9783 "backtrace 100\r" rather than just "backtrace\r", to match last
9784 change.
9785
9786Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9787
9788 * config/udi-gdb.exp (gdb_exit): Remove close command.
9789 (gdb_target_udi): New procedure to set the UDI target.
9790 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9791 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9792 Added waits for prompts after several question responses. Added
9793 some more responses used by a29k-amd-udi-gdb.
9794 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9795 pass different arguments, restart UDI connection after program
9796 completion.
9797 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9798 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9799 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9800 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9801 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9802 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9803 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9804 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9805 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9806 after program completion.
9807 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9808 compiled with a SELECT_VECS setting.
9809 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9810 infinite recursion.
9811
9812 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9813 Added checks for COFF results, and made them expected failures for
9814 all targets. It would be better to make them expected failures
9815 for COFF targets only.
9816
9817Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9818
9819 * Makefile.in: add null dvi target, don't bother to recurse
9820 through test directories for info and install-info; rename
9821 $(datadir) to be dejagnu instead of deja-gnu
9822
9823Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9824
9825 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9826 compiler to coredump.
9827 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9828 code.
9829
9830Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9831
9832 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9833 coredump.
9834 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9835 code.
9836
9837Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9838
9839 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9840 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9841 which in a shell. Deletes xgdb when done.
9842 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9843 Tests the return from the "set height" or "set width" commands.
9844 Added a few return codes where needed.
9845
9846Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9847
9848 * Makefile.in (SUBDIRS): Add gdb.t17.
9849 * configure.in (subdirs): Add gdb.t17.
9850 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9851 files to test gdb's calling of functions in the inferior with
9852 the correct arguments and gdb's ability to retrieve any
9853 result returned.
9854
9855Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9856
9857 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9858 may be called after gdb goes away. Previous versions of expect
9859 needed these to avoid file descriptor leaks, but they cause
9860 errors with the current revision of expect.
9861 * gdb.t00/gdbvars.exp: Use -re on expected output after
9862 setting sevenbit-strings.
9863 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9864 to set sevenbit-strings consistent across tests.
9865 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9866 set sevenbit-strings consistent across tests.
9867
9868Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9869
9870 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9871 expected output to match current "expect" expectations.
9872
9873Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9874
9875 * gdb.t00/default.exp: Change expected output for default "source"
9876 command, to match new gdb behavior which requires a filename to
9877 source.
9878
9879Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9880
9881 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9882 expected fail for i486-*-* that misses the marker2 function.
9883 * gdb.t10/crossload.exp (bfddefault): Allow successful
9884 recognition of a format to pass even if no symbols are found.
9885 Explicitly catch failures where the format is not recognized
9886 or is ambiguous, and add the reason to the fail message.
9887 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9888 the cause is and invalid target and add reason to failure message.
9889 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9890 elf32-i386, elf32-sparc, and elf32-i860.
9891 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9892 Set up expected failure for 'filename'::variable scope resolution,
9893 which is now apparently broken on all targets.
9894 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9895 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9896 gdb.t23/templates.exp: Change failure for missing binfile into
9897 just a warning.
9898 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9899 references.
9900
9901Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9902
9903 * gdb.t00/default.exp: Add expected output for default "source"
9904 command, to match new gdb behavior.
9905 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9906
9907Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9908
9909 * config/*-gdb.exp: returns an error, rather than exiting on
9910 internal errors.
9911
9912Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9913
9914 * gdb.t03/gdbme.c: Add pointer to struct variable.
9915 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9916 referencing struct members.
9917
9918Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9919
9920 * configure.in (mips-idt-ecoff): New target.
9921 * config/mips-gdb.exp: New file for remote board using MIPS remote
9922 debugging protocol.
9923
9924 * Redid configuration scheme. Removed gdb.t*/configure.in.
9925 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9926 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9927 distclean targets. Built executables via .o files. Adjusted
9928 tests to account for source files in $(srcdir) rather than
9929 $(objdir).
9930 * lib/gdb.exp (runto): Don't expect () after the function name,
9931 because it may have arguments.
9932
9933Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9934
9935 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9936 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9937 expected failures for mips-idt-* and mips-sgi-*.
9938 * gdb.t00/default.exp (attach): Kill process if requested.
9939 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9940 that does not read core files.
9941 * gdb.t01/run.exp: Removed checks for exit status code.
9942 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9943 it is linked in.
9944 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9945 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9946 appropriate, rather than doing it by hand.
9947 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9948 execution.
9949 * gdb.t10/crossload.exp: Kill existing program if needed.
9950 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9951 appropriate, rather than doing it by hand. Always increase
9952 timeout for this test, not just for VxWorks.
9953
9954Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9955
9956 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9957 of Chill STRUCT types and STRUCT values.
9958 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9959 than "char".
9960 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9961 struct2): New struct definitions and initializations to test
c906108c
SS
9962 simple Chill STRUCT types.
9963
9964Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9965
9966 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9967 the null byte at the end of strings.
9968 * gdb.t00/default.exp: Make show version insensitive to copyright
9969 date.
9970 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9971 to avoid dependencies on target char signedness.
9972 * gdb.t16/printcmds.exp: Update expected results for explicitly
9973 unsigned char.
9974 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9975 now work.
9976 * gdb.t21/demangle.exp: Add many more patterns for template
9977 demangling, most of them being expected failures.
9978 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9979 string we are matching for, to match on the whole string.
9980 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9981 and fix a whole bunch that had incorrect expected output but were
9982 passing anyway because of the bug in "proc demangle".
9983 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9984 type.
9985 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9986
9987Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9988
9989 * gdb/testsuite: made modifications to testcases, etc., to allow
9990 them to work properly given the reorganization of deja-gnu and the
9991 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9992
9993Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9994
9995 * gdb/testsuite: Initial creation of gdb/testsuite.
9996 Migrated dejagnu testcases and support files for testing nm to
9997 gdb/testsuite from deja-gnu. These files were moved "as is"
9998 with no modifications. This migration is part of a major overhaul
9999 of dejagnu. The modifications to these testcases, etc., which
10000 will allow them to work with the new version of dejagnu will be
10001 made in a future update.
10002\f
10003Local Variables:
10004mode: indented-text
10005left-margin: 8
10006fill-column: 74
10007version-control: never
10008End:
This page took 0.841976 seconds and 4 git commands to generate.