]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add -l for compatibility with wrc, and rc. Use the short option as a key for
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8dfb4cf0
SC
12003-04-04 Stephane Carrez <stcarrez@nerim.fr>
2
3 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
4 with -DPROTOTYPES.
5
ed4c619a
AC
62003-04-02 Andrew Cagney <cagney@redhat.com>
7
8 * gdb.base/callfuncs.exp: Make "print add" messages unique.
9 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
10 matching directories by the name breakpoint.
11 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
12 Make "continue to marker1" consistent.
13 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14 message consistent.
15 * lib/gdb.exp: Put "the program is no longer running", and "the
16 program exited" in parenthesis.
17 * lib/mi-support.exp: Ditto.
18
4e35d5f0
BR
192003-04-02 Bob Rossi <bob_rossi@cox.net>
20
21 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22
71900fe8
AC
232003-03-29 Andrew Cagney <cagney@redhat.com>
24
25 * gdb.base/sizeof.c (main): Print the value of '\377'.
26 * gdb.base/sizeof.exp: Check the sign of '\377'.
27
c0655a16
MC
282003-03-27 Michael Chastain <mec@shout.net>
29
30 * gdb.base/gdb1090.exp: New file.
31 * gdb.base/gdb1090.cc: New file.
32
5b2a3989
JB
332003-03-27 J. Brobecker <brobecker@gnat.com>
34
35 * gdb.gdb/observer.exp: New regression test.
36
79876890
MC
372003-03-27 Michael Chastain <mec@shout.net>
38
39 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
40 * gdb.base/ptype.exp: Likewise.
41
6eac95e3
CV
422003-03-27 Corinna Vinschen <vinschen@redhat.com>
43
44 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
45
e8c71839
MC
462003-03-26 Michael Chastain <mec@shout.net>
47
48 * gdb.base/ptype.exp: Actually use some typedef'd types.
49
71b10041
SC
502003-03-21 Stephane Carrez <stcarrez@nerim.fr>
51
52 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
53 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
54
2512cf80
CV
552003-03-20 Corinna Vinschen <vinschen@redhat.com>
56
57 * gdb.base/default.exp: Fix regular expression.
58
0d195a4f
CV
592003-03-20 Corinna Vinschen <vinschen@redhat.com>
60
61 * gdb.base/args.exp: Fix regular expression.
62
8a2dbca8
CV
632003-03-20 Corinna Vinschen <vinschen@redhat.com>
64
65 * gdb.base/help.exp: Allow Win32 child process.
66
bf028682
CV
672003-03-20 Corinna Vinschen <vinschen@redhat.com>
68
69 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
70 when stepping out of main().
71
182dbe85
CV
722003-03-20 Corinna Vinschen <vinschen@redhat.com>
73
74 * gdb.base/default.exp: Check for win32 specific message when calling
75 "run" without executable.
76
d67a6ba5
CV
772003-03-20 Corinna Vinschen <vinschen@redhat.com>
78
79 * gdb.base/args.exp: Expect .exe in output.
80
a955b5bb
CV
812003-03-20 Corinna Vinschen <vinschen@redhat.com>
82
83 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
84 Cygwin native.
85
bf6bad4b
AC
862003-03-17 Andrew Cagney <cagney@redhat.com>
87
88 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
89 vector registes.
90 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
91 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
92
293e9a31
DC
932003-03-17 David Carlton <carlton@math.stanford.edu>
94
95 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
96 test, for PR breakpoints/38.
97 Call test_watchpoint_and_breakpoint.
98 * gdb.base/watchpoint.c (func3): New function.
99 (main): Call func3.
100
5330f2db
DC
1012003-03-04 David Carlton <carlton@math.stanford.edu>
102
103 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
104 Garply<Garply<char> >:: garply".
105 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
106 with respect to PR c++/1111; note also PR c++/1113.
107 (test_template_breakpoints): KFAIL "constructor breakpoint" with
108 respect to PR c++/1062.
109 KFAIL "destructor breakpoint" with respect to PR c++/1112.
110
6ece72da
DC
1112003-03-03 David Carlton <carlton@math.stanford.edu>
112
113 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
114 with respect to PR c++/57.
115 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
116 c++/826.
117 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
118 respect to PR c++/57.
119
85ca1584
DC
1202003-03-03 David Carlton <carlton@math.stanford.edu>
121
122 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
123 respect to PR c++/33 into FAILs.
124
98e9c5b8
MC
1252003-03-03 Michael Chastain <mec@shout.net>
126
7bedbf27
MC
127 * configure.in: Update copyright years.
128
1292003-03-03 Michael Chastain <mec@shout.net>
130
131 * Makefile.in: Update copyright years.
98e9c5b8 132
f683e100
DC
1332003-02-28 David Carlton <carlton@math.stanford.edu>
134
135 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
136 print class instead of struct and/or superfluous protection
137 specifiers, as long as the resulting output is equivalent to the
138 source code.
139 Delete FIXME from end of messages on tests that don't need
140 fixing.
141
a9e0cf2c
DC
1422003-02-28 David Carlton <carlton@math.stanford.edu>
143
144 * gdb.c++/templates.exp (do_tests): Allow const in the two
145 Foo<volatile char *>::foo tests.
146
e8d359df
MS
1472003-02-27 Michael Snyder <msnyder@redhat.com>
148
149 * gdb.base/restore.c (main): Return zero, so exit code
150 will be consistant.
151
0b71dc91
DC
1522003-02-26 David Carlton <carlton@math.stanford.edu>
153
154 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
155 char *>::foo" test with respect to PR c++/33. Create a new test
156 which is identical to that one except that it doesn't put the
157 space between the "char" and the "*"; KFAIL it, too.
158
dd14ab43
DC
1592003-02-26 David Carlton <carlton@math.stanford.edu>
160
161 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
162 template types into either PASSes or KFAILs (corresponding to PR
163 c++/57). Tweak indentation. Update copyright.
164
1146c7f1
SC
1652003-02-23 Stephane Carrez <stcarrez@nerim.fr>
166
167 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
168
74641dfb
MC
1692003-02-13 Michael Chastain <mec@shout.net>
170
171 * gdb.base/exprs.exp: Remove i960 remnants.
172 * gdb.base/funcargs.exp: Likewise.
173 * gdb.base/list.exp: Likewise.
174 * gdb.base/ptype.exp: Likewise.
175
559cd2d0
DC
1762003-02-14 David Carlton <carlton@math.stanford.edu>
177
178 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
179 pEe->D::vg()" from XFAIL to KFAIL.
180
c4f90d87
JM
1812003-02-13 Jason Molenda (jmolenda@apple.com)
182
183 * gdb.base/maint.exp: Update maint print statistics regexp to include
184 new entries.
185
cbc4d97c
MC
1862003-02-13 Michael Chastain <mec@shout.net>
187
188 * gdb.c++/inherit.exp: Remove call to get_debug_format.
189
40f235b7
MC
1902003-02-12 Michael Chastain <mec@shout.net>
191
192 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
193 * gdb.c++/inherit.exp: Likewise.
194 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
195 * gdb.c++/templates.exp: Likewise.
196 * gdb.c++/virtfunc.exp: Likewise.
197
c56716b0
JM
1982003-02-06 Jason Molenda (jason-cl@molenda.com)
199
200 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
201 why the code is written that way.
202
070afcf8
MC
2032003-02-05 Michael Chastain <mec@shout.net>
204
205 * gdb.base/dump.exp: Add missing copyright line.
206
5d0331e5
JM
2072003-02-05 Jason Molenda (jason-cl@molenda.com)
208
f7ae6d3e 209 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
210 at the beginning so the breakpoint doesn't get set on the loop.
211
92851186
MC
2122003-02-05 Michael Chastain <mec@shout.net>
213
214 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
215 output for configurations with gcc 2.95.3.
216
cbf1e085
AC
2172003-02-05 Keith Seitz <keiths@redhat.com>
218 Andrew Cagney <ac131313@redhat.com>
219
220 * gdb.mi/mi-cli.exp: New file.
221
29518e1e
MC
2222003-02-04 Michael Chastain <mec@shout.net>
223
224 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
225 Call perror and then continue.
226
5af1d5f3
MC
2272003-02-03 Michael Chastain <mec@shout.net>
228
229 * gdb.c++/pr-1023.cc: New file.
230 * gdb.c++/pr-1023.exp: New file.
231
6b549786
JB
2322003-02-05 Jim Blandy <jimb@redhat.com>
233
234 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
235 it's local to foobar. Check for it there, and check that it's not
236 present in main.
237 * gdb.c++/local.cc (marker2): New function.
238 (foobar): Call marker1.
239 (main): Call marker2 instead of marker1.
240
67f16606
AC
2412003-02-04 Andrew Cagney <ac131313@redhat.com>
242
243 * gdb.disasm/mn10200.exp: Obsolete file.
244 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
245 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
246 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
247
1c5cb38e
DC
2482003-02-04 David Carlton <carlton@math.stanford.edu>
249
250 * gdb.c++/overload.exp: Test intToChar(1).
251 * gdb.c++/overload.cc (intToChar): New.
252 (main): Call intToChar.
253
d1fe6965
DC
2542003-02-03 David Carlton <carlton@math.stanford.edu>
255
256 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
257 'might_kfail' arg.
258 KFAIL some of the continue_to_bp_overloaded calls, according to
259 PR c++/1025.
260
9ba61c5d
MC
2612003-02-01 Michael Chastain <mec@shout.net>
262
263 * gdb.base/advance.c (marker1): New marker function.
264 * gdb.base/advance.exp: When the 'advance' command lands on the
265 return breakpoint, it can legitimately stop on either the
266 current line or the next line. Accommodate both outcomes.
267 * gdb.base/until.exp: Likewise.
268
e7494ffb
AC
2692003-02-02 Andrew Cagney <ac131313@redhat.com>
270
271 2002-11-10 Jason Molenda (jason-cl@molenda.com):
272 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
273 now a list, not a tuple.
274 * gdb.mi/mi-var-display.exp: Ditto.
275 * gdb.mi/gdb792.exp: Ditto.
276
075559bc
AC
2772003-02-01 Andrew Cagney <ac131313@redhat.com>
278
279 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
280 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
281 stack backtraces.
282 * gdb.mi/mi-syn-frame.c: Part of same.
283
2bd4c7b1
MK
2842003-02-01 Mark Kettenis <kettenis@gnu.org>
285
286 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
287 gdb.mi/mi1-pthreads.exp: Return instead of calling
288 gdb_suppress_entire_file.
289
eabd8992
MS
2902003-02-01 Mark Salter <msalter@redhat.com>
291
292 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
293
71469e2f
MS
2942003-01-31 Mark Salter <msalter@redhat.com>
295
296 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
297 Support empty arg.
298
38a94d44
MC
2992003-01-30 Michael Chastain <mec@shout.net>
300
301 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
302 This was a workaround for a UTF-8 bug in readline 4.3. The bug
303 has been fixed in gdb/readline on 2003-01-09.
304
19ea9e73
MS
3052003-01-29 Michael Snyder <msnyder@redhat.com>
306
e8d359df
MS
307 * gdb.base/maint.exp: Allow for leading underscore in symbol.
308 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
309 * gdb.base/args.exp: Skip if target does not support args passing.
310
2307bd6a
DJ
3112003-01-22 Daniel Jacobowitz <drow@mvista.com>
312
19ea9e73 313 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
314 gdb_test. Accept a list of expect arguments as the third
315 parameter.
316 (gdb_test): Use it.
317
f2dd3617
EZ
3182003-01-20 Elena Zannoni <ezannoni@redhat.com>
319
320 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
321 allow for different test tree configurations. Update some
322 tescases accordingly.
323 * gdb.arch/altivec-regs.exp: Ditto.
324 * gdb.asm/asm-source.exp: Ditto.
325 * gdb.base/advance.exp: Ditto.
326 * gdb.base/display.exp: Ditto.
327 * gdb.base/long_long.exp: Ditto.
328 * gdb.base/mips_pro.exp: Ditto.
329 * gdb.base/overlays.exp: Ditto.
330 * gdb.base/relocate.exp: Ditto.
331 * gdb.base/setshow.exp: Ditto.
332 * gdb.base/step-line.exp: Ditto.
333 * gdb.base/step-test.exp: Ditto.
334 * gdb.base/until.exp: Ditto.
335 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
336
c71cdefd
DC
3372003-01-17 David Carlton <carlton@math.stanford.edu>
338
339 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
340 corresponding to PR c++/945.
341 Update copyright.
342
fdba05d7
DC
3432003-01-17 David Carlton <carlton@math.stanford.edu>
344
345 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
346 corresponding to PR c++/68.
347
3482003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
349
350 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
351 (test_paddr_hairy_functions): Call print_addr_2_kfail for
352 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
353
c362c33a
EZ
3542003-01-15 Elena Zannoni <ezannoni@redhat.com>
355
0fbc361c
EZ
356 * gdb.base/break.exp: Fix change of default location, because of
357 removal of until tests.
358 * gdb.base/help.exp: Update test for new 'until' help message.
359 Add test for help on 'advance'.
c362c33a
EZ
360 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
361
dabf8a35
MK
3622003-01-15 Mark Kettenis <kettenis@gnu.org>
363
364 * gdb.base/default.exp: Adapt "info float" test for recent changes
365 to that command. Add test for "info vector".
366 * gdb.base/float.exp: New file. Add test for "info float" that
367 resembles the old test in gdb.base/default.exp.
368
a1769aca
DC
3692003-01-15 David Carlton <carlton@math.stanford.edu>
370
371 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
372
82025e13
EZ
3732003-01-15 Elena Zannoni <ezannoni@redhat.com>
374
375 * gdb.base/break.exp: Move the tests of until command from here...
376 * gdb.base/until.exp: ... to here. New file. Add other tests.
377 * gdb.base/advance.c: New file.
378 * gdb.base/advance.exp: New file.
379
8f9ab801
EZ
3802003-01-14 Elena Zannoni <ezannoni@redhat.com>
381
382 * gdb.base/args.c: New file.
383 * gdb.base/args.exp: New file.
384
9ae66589
DJ
3852003-01-14 Daniel Jacobowitz <drow@mvista.com>
386
387 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
388
8d77e5c3
DJ
3892003-01-14 Daniel Jacobowitz <drow@mvista.com>
390
391 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
392
12d2f0a1
DJ
3932003-01-14 Daniel Jacobowitz <drow@mvista.com>
394
395 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
396 dates.
397
6ca37014
DJ
3982003-01-13 Daniel Jacobowitz <drow@mvista.com>
399
400 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
401
b0023472
DJ
4022003-01-13 Daniel Jacobowitz <drow@mvista.com>
403
404 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
405 (ptype &*"foo").
406 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
407
d6abaea5
DJ
4082002-01-13 Daniel Jacobowitz <drow@mvista.com>
409
410 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
411 * gdb.mi/mi1-console.exp: Likewise.
412
dfd536a7
DJ
4132002-01-13 Daniel Jacobowitz <drow@mvista.com>
414
415 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
416 * gdb.mi/mi1-console.exp: Likewise.
417
a1fb14a2
DJ
4182003-01-13 Daniel Jacobowitz <drow@mvista.com>
419
420 * gdb.c++/overload.exp: Remove some fixed XFAILs.
421
c4cf40b7
DJ
4222003-01-09 Daniel Jacobowitz <drow@mvista.com>
423
424 * gdb.base/detach.exp: New test.
425
696d5a5b
DJ
4262003-01-09 Daniel Jacobowitz <drow@mvista.com>
427
428 * Makefile.in (ALL_SUBDIRS): New variable.
429 (subdirs, clean, distclean): Use it.
430 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
431 regenerating Makefile, since it is generated from the top level.
432 * gdb.asm/Makefile.in: Likewise.
433 * gdb.base/Makefile.in: Likewise.
434 * gdb.c++/Makefile.in: Likewise.
435 * gdb.disasm/Makefile.in: Likewise.
436 * gdb.java/Makefile.in: Likewise.
437 * gdb.mi/Makefile.in: Likewise.
438 * gdb.threads/Makefile.in: Likewise.
439 * gdb.trace/Makefile.in: Likewise.
440
754533e4
DC
4412003-01-09 David Carlton <carlton@math.stanford.edu>
442
443 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
444 Add copyright year 2003.
445
d8b3e9ee
MC
4462003-01-06 Michael Chastain <mec@shout.net>
447
448 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
449 When selecting a thread, 'line' and 'file' are optional.
450 * gdb.mi/mi1-pthreads.exp: Likewise.
451
8e9e0fe6
AS
4522003-01-06 Andreas Schwab <schwab@suse.de>
453
454 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
455 failures.
456
b5ab8ff3
DJ
4572003-01-04 Daniel Jacobowitz <drow@mvista.com>
458
459 Fix PR gdb/844
460 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
461 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
462
463 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
464 instead of calling gdb_suppress_entire_file.
465 * gdb.threads/print-threads.exp: Likewise.
466 * gdb.threads/schedlock.exp: Likewise.
467
468 * gdb.threads/killed.exp: Return instead of calling
469 gdb_suppress_entire_file.
470 * gdb.threads/linux-dp.exp: Likewise.
471 * gdb.threads/pthreads.exp: Likewise.
472
1e698235
DJ
4732003-01-04 Daniel Jacobowitz <drow@mvista.com>
474
475 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
476 stabs.
477 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
478 * gdb.base/whatis.exp: Always allow (void) after function names.
479
147ff08c
DJ
4802003-01-04 Daniel Jacobowitz <drow@mvista.com>
481
482 * gdb.c++/casts.exp: Correct regexp.
483
dc62bfc2
MK
4842003-01-04 Mark Kettenis <kettenis@gnu.org>
485
486 * configure.in: Call AC_CONFIG_HEADER. Don't call
487 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
488 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
489 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
490 aforementioned directories in the AC_OUPUT call.
491 * config.hin: New file.
492 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
493 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
494 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
495 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
496 pass -I$objdir instead of -I$objdir/$subdir in compilation.
497 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
498 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
499 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
500 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
501 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
502 gdb.threads/configure.in, gdb.threads/configure,
503 gdb.threads/config.in, gdb.trace/configure.in,
504 gdb.trace/configure: Removed.
505
77afa639
MC
5062003-01-03 Michael Chastain <mec@shout.net>
507
508 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
509 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
510
7634bb6e
DJ
5112003-01-03 Daniel Jacobowitz <drow@mvista.com>
512
513 * gdb.base/store.exp: Fix regular expressions.
514
b39c905e
MK
5152002-12-28 Mark Kettenis <kettenis@gnu.org>
516
517 * configure.in: Rewrite.
518 * configure: Regenerated.
519
0a8551dd
DC
5202003-01-03 David Carlton <carlton@math.stanford.edu>
521
522 * gdb.base/psymtab.exp: New file.
523 * gdb.base/psymtab1.c: Ditto.
524 * gdb.base/psymtab2.c: Ditto.
525
c60b7188
AF
5262002-12-23 Adam Fedor <fedor@gnu.org>
527
528 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
529
ee73db83
DC
5302002-12-23 David Carlton <carlton@math.stanford.edu>
531
532 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
533 and current_directory initialization.
534
d6c1774e
JB
5352002-12-22 Jim Blandy <jimb@redhat.com>
536
f0a847b8
JB
537 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
538 rather than as part of the output file name.
539
d6c1774e
JB
540 * gdb.base/attach.exp: There's no need to copy the test program to
541 /tmp; that was only ever necessary on HP/UX, and this test is
542 entirely disabled there anyway.
543
f0708dbb
JB
5442002-12-21 Jim Blandy <jimb@redhat.com>
545
4c2acfea
JB
546 * gdb.c++/psmang.exp: Doc fix.
547
f0708dbb
JB
548 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
549 test.
550
9579e000
DC
5512002-12-20 David Carlton <carlton@math.stanford.edu>
552
553 * gdb.c++/annota2.exp: KFAIL annotate-quit.
554
d1810171
MC
5552002-12-18 Michael Chastain <mec@shout.net>
556
557 * gdb.c++/annota2.exp: Add copyright year 2002.
558
76565097
DC
5592002-12-17 David Carlton <carlton@math.stanford.edu>
560
561 * gdb.c++/try_catch.cc: Add marker comments.
562 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
563 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
564 * gdb.c++/m-static.cc: Ditto.
565 * gdb.c++/m-static1.cc: Ditto.
566 * gdb.c++/try_catch.cc: Ditto.
567
da81390b
JJ
5682002-12-16 Jeff Johnston <jjohnstn@redhat.com>
569
570 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
571 to see whether we are using the new -environment-directory
572 command which resets via -r or the old version of the command
573 which may prompt the user. Part of fix for gdb/741.
574
b304d130
AC
5752002-12-13 Andrew Cagney <ac131313@redhat.com>
576
577 * gdb.fortran/types.exp: Update obsolete comment.
578 * gdb.fortran/exprs.exp: Ditto.
579 * lib/gdb.exp: Delete obsolete code.
580 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
581 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
582 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
583 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
584 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
585 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
586 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
587 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
588 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
589 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
590 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
591 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
592 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
593 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
594 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
595 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
596 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
597 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
598 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
599 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
600 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
601 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
602 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
603 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
604 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
605 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
606 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
607 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
608 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
609 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
610 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
611 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
612 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
613 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
614 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
615 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
616 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
617
a23b6e6a
DC
6182002-12-11 David Carlton <carlton@math.stanford.edu>
619
620 * gdb.c++/m-data.exp: Add test for members that shadow global
621 variables: see PR gdb/804.
622 * gdb.c++/m-data.cc: Ditto.
623
6604731b
DJ
6242002-12-10 Daniel Jacobowitz <drow@mvista.com>
625
626 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
627
de46ecd7
DC
6282002-12-06 David Carlton <carlton@math.stanford.edu>
629
630 * gdb.base/store.c: Don't declare functions static.
631
27e829d0
AC
6322002-12-04 Andrew Cagney <ac131313@redhat.com>
633
634 * gdb.base/store.exp, gdb.base/store.c: New files.
635
92806416
DJ
6362002-12-03 Daniel Jacobowitz <drow@mvista.com>
637
638 * gdb.base/selftest.exp: Update for current gdb.
639
3bcbaac5
DJ
6402002-12-03 Daniel Jacobowitz <drow@mvista.com>
641
642 * gdb.base/maint.exp: Only dump symbols from one source file
643 or objfile.
644
f4f00b1f
DJ
6452002-12-03 Daniel Jacobowitz <drow@mvista.com>
646
647 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
648 function call.
649
f1c8a949
JB
6502002-11-25 Jim Blandy <jimb@redhat.com>
651
652 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
653 function appearing in error message.
654
9e297a97
DJ
6552002-11-21 Daniel Jacobowitz <drow@mvista.com>
656
657 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
658
1f312e79
JJ
6592002-11-08 Jeff Johnston <jjohnstn@redhat.com>
660
661 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
662 for mi1 and current mi is in correct format. New mi startup message
663 should be in mi console format. This is part of fix for PR gdb/604.
664
83c31e7d
FN
6652002-09-18 Fernando Nasser <fnasser@redhat.com>
666
667 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
668 which explicitly prints the zero offset as "+0".
669
322b3f65
DJ
6702002-10-22 Daniel Jacobowitz <drow@mvista.com>
671
672 * gdb.threads/schedlock.c (args): Make unsigned.
673
6742002-10-21 Daniel Jacobowitz <drow@mvista.com>
675
676 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
677 numbers. Allow "foo2|selected stack frame".
678 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
679 * gdb.asm/asmsrc2.s: Likewise.
680 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
681 comments.
682 * gdb.asm/mips.inc: New file.
683
5e2fe5b8
AF
6842002-10-18 Adam Fedor <fedor@gnu.org>
685
686 * gdb.base/default.exp: Update expected output to include 'ObjC'.
687 * gdb.base/help.exp: Likewise.
688
abe1a5d0
KB
6892002-10-17 Kevin Buettner <kevinb@redhat.com>
690
691 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
692 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
693
10abb1d4
JB
6942002-10-02 Jim Blandy <jimb@redhat.com>
695
696 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
697
1f609b42
AC
6982002-10-01 Andrew Cagney <ac131313@redhat.com>
699
700 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
701 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
702 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
703 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
704 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
705 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
706 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
707
0aee02e4
AC
7082002-09-29 Andrew Cagney <ac131313@redhat.com>
709
710 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
711 * mi0-disassemble.exp, mi0-eval.exp: Delete.
712 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
713 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
714 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
715 * mi0-var-block.exp, mi0-var-child.exp: Delete.
716 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
717
6fde09ad
KB
7182002-09-27 Kevin Buettner <kevinb@redhat.com>
719
720 * gdb.base/annota1.exp (info break): Make directory components of
721 path optional since not all compilers emit this debug information.
722
723 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
724 step ends up stepping out of the function instead of stopping on
725 the epilogue.
726
9e8aab75
KS
7272002-09-26 Keith Seitz <keiths@redhat.com>
728
729 * lib/insight-support.exp (gdbtk_start): Figure out where
730 the insight executable is based on where gdb is. Use this
731 executable to start insight instead of gdb.
732
e36180d7
AC
7332002-09-25 Andrew Cagney <cagney@redhat.com>
734
735 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
736
9dd34b2b
AC
7372002-09-24 Andrew Cagney <ac131313@redhat.com>
738
739 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
740 test_isolated_complaints.
741 (test_empty_complaint): New function.
742 (test_empty_complaints): New function. Check no output when no
743 complaints.
744
dea97812
KB
7452002-09-19 Jim Blandy <jimb@redhat.com>
746
747 * gdb.base/charset.exp, gdb.base/charset.c: New files.
748
54951bd7
AC
7492002-09-19 Andrew Cagney <ac131313@redhat.com>
750
751 * gdb.gdb/complaints.exp: New file.
752
dec43320
AC
7532002-09-18 Andrew Cagney <ac131313@redhat.com>
754
755 * gdb.base/maint.exp: Check `help maint internal-warning'.
756
e70d6e3f
DC
7572002-09-18 David Carlton <carlton@math.stanford.edu>
758
759 * gdb.c++/m-static.exp: Remove breakpoints depending on line
760 numbers, and replace them by a single breakpoint after the
761 constructors are all finished.
762 Add test 4.
763 * gdb.c++/m-static.cc: Add test 4.
764 * gdb.c++/m-static.h: New file.
765 * gdb.c++/m-static1.cc: New file.
766
767 * gdb.c++/printmethod.exp: New file.
768 * gdb.c++/printmethod.cc: New file.
769
770 * gdb.c++/pr-574.exp: New file.
771 * gdb.c++/pr-574.cc: New file.
772
afb5c968
CV
7732002-09-18 Corinna Vinschen <vinschen@redhat.com>
774
775 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
776 embedded targets which never actually exit.
777
31e45dee
FN
7782002-09-18 Fernando Nasser <fnasser@redhat.com>
779
780 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
781 "don't step after run" as unresolved or unsupported, instead of xfail.
782
a283c5a1
CV
7832002-09-18 Corinna Vinschen <vinschen@redhat.com>
784
785 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
786 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
787 Add newline to expected string in "step out of main (status wrapper)"
788 case.
789
11350d2a
CV
7902002-09-18 Corinna Vinschen <vinschen@redhat.com>
791
792 * lib/gdb.exp (rerun_to_main): Allow restarting application.
793 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
794
0deec7d6
TT
7952002-09-17 Tom Tromey <tromey@redhat.com>
796
797 * gdb.base/printcmds.exp (test_print_string_constants): Expect
798 \000, not \0, in double-quoted string.
799
b2b4a1b5
CV
8002002-09-14 Corinna Vinschen <vinschen@redhat.com>
801
802 * gdb.base/command.exp: Don't expect a "Program exited normally"
803 string after running the commands execution on breakpoint tests.
804
1c56143a
CV
8052002-09-13 Corinna Vinschen <vinschen@redhat.com>
806
807 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
808
37f8da45
JB
8092002-09-12 Joel Brobecker <brobecker@gnat.com>
810
811 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
812
08b468e0
KS
8132002-09-10 Keith Seitz <keiths@redhat.com>
814
815 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
816 runto proc.
817 (mi_run_to_main): Use mi_runto.
818 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
819
dc360f58
KS
8202002-09-10 Keith Seitz <keiths@redhat.com>
821
822 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
823 regexp for stopping at main. Could have multiple event notifications.
824 Don't assume that main was declared with no parameters.
825 (mi_next): Use mi_step_to.
826 (mi_step): Use mi_next_to.
827
ce3abcfb
CV
8282002-09-09 Corinna Vinschen <vinschen@redhat.com>
829
830 * gdb.base/default.exp: Fix expected string in `info float' test.
831
d1f5b980
BE
8322002-09-09 Ben Elliston <bje@redhat.com>
833
834 * config/mips.exp: Update comments.
835 * config/mips-idt.exp: Likewise.
836 * config/nind.exp: Likewise.
837 * config/slite.exp: Likewise.
838 * config/sparclet.exp: Likewise.
839 * config/udi.exp: Likewise.
840 * config/vx.exp: Likewise.
841 * config/vxworks29k.exp: Likewise.
842
2f71430b
JB
8432002-09-05 Jim Blandy <jimb@redhat.com>
844
845 * gdb.threads/killed.exp: Fix test failure message.
846
7ddebc7e
KS
8472002-09-04 Keith Seitz <keiths@redhat.com>
848
849 * lib/mi-support.exp: Update copyright.
850 (mi_gdb_test): Increase the priority of the expected pattern
851 so that it matches gdb_test.
852
0ae67eb3
KS
8532002-09-03 Keith Seitz <keiths@redhat.com>
854
855 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
856 Use integer comparison instead of string comparison for testing
857 whether binary was built.
858
38fc42c8
JB
8592002-09-03 Jim Blandy <jimb@redhat.com>
860
861 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
862
b6ff0e81
JB
8632002-08-29 Jim Blandy <jimb@redhat.com>
864
865 * gdb.threads/pthreads.exp: Move the portable thread compilation
866 code into a function in lib/gdb.exp, and call that from here.
867 * lib/gdb.exp (gdb_compile_pthreads): New function.
868
07c98896
KS
8692002-08-29 Keith Seitz <keiths@redhat.com>
870
871 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
872 expect_out so that callers can get at it.
873
0312286c
DJ
8742002-08-23 Daniel Jacobowitz <drow@mvista.com>
875
876 * gdb.threads/print-threads.c: New file.
877 * gdb.threads/print-threads.exp: New file.
878 * gdb.threads/schedlock.c: New file.
879 * gdb.threads/schedlock.exp: New file.
880
dd039bc4
EZ
8812002-08-22 Elena Zannoni <ezannoni@redhat.com>
882
883 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
884 not altivec.c.
885
1f36144c
MK
8862002-08-17 Mark Kettenis <kettenis@gnu.org>
887
888 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
889 targets. The problem should be fixed now.
890
16057ec7 8912002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
892
893 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
894 2002-07-24 change that removes final dots from error messages.
895
3c1499ad
TT
8962002-08-13 Tom Tromey <tromey@redhat.com>
897
898 * gdb.base/readline.exp: New file.
899
a20ce2c3
AC
9002002-08-01 Andrew Cagney <ac131313@redhat.com>
901
902 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
903 supress message.
904
db034ac5
AC
9052002-08-01 Andrew Cagney <cagney@redhat.com>
906
907 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
908 CHILL_FOR_TARGET and CHILL_LIB.
909 * configure.in (configdirs): Remove gdb.chill.
910 * configure: Regenerate.
911 * lib/gdb.exp: Obsolete references to chill.
912 * gdb.fortran/types.exp: Ditto.
913 * gdb.fortran/exprs.exp: Ditto.
914
3e000b18
KB
9152002-07-30 Kevin Buettner <kevinb@redhat.com>
916
917 * gdb.base/shlib-call.exp (additional_flags): Conditionally
918 set Irix-specific compile and link flags.
919
28f4966b
KB
9202002-07-29 Kevin Buettner <kevinb@redhat.com>
921
922 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
923 source files. The ``-o'' option doesn't work with the ``-E'' option
924 when using the Irix compiler.
925
46c0d5a6
DJ
9262002-07-19 Daniel Jacobowitz <drow@mvista.com>
927
928 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
929 Improve support for reusing an exec file. Copy exec file
930 to target, and run gdbserver on the target instead of on the host.
931
eecf4bed
JB
9322002-07-18 Jim Blandy <jimb@redhat.com>
933
0f815cdf
JB
934 * gdb.base/ending-run.exp: Don't expect to see the program end in
935 some orderly fashion when we're running on a real stand-alone
936 board.
937
eecf4bed
JB
938 * gdb.base/interrupt.exp: Correct logic for skipping tests on
939 targets that don't support interrupts.
940
52d309e4
JB
9412002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
942
943 * gdb.base/attach.exp: Add patterns to match output from /proc-based
944 systems.
945 Move comments in expect statements to inside the actions, so that they
946 don't get matched against.
947
ff683d9e
MK
9482002-07-10 Mark Kettenis <kettenis@gnu.org>
949
950 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
951 function when asleep" test.
952
b5356753
AC
9532002-07-10 Andrew Cagney <ac131313@redhat.com>
954
955 * gdb.base/page.exp: Rewrite to handle problems with very long
956 `info set' output. Update copyright.
957
6aa4d13a
AC
9582002-06-26 Andrew Cagney <ac131313@redhat.com>
959
960 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
961 gdb.threads-hp.
962 * gdb.hp/configure: Regenerate.
963 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
964 * gdb.hp/gdb.threads-hp/configure: Delete file.
965 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
966
8cf8c2b8
AC
9672002-06-22 Andrew Cagney <ac131313@redhat.com>
968
969 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
970 setlocale, bindtextdomain and textdomain.
971
6827a8f8
JB
9722002-06-11 Jim Blandy <jimb@redhat.com>
973
919d772c
JB
974 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
975 preprocessor macro information is present.
976
6827a8f8
JB
977 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
978 tests.
979
c15b0d21
MS
9802002-06-06 Michael Snyder <msnyder@redhat.com>
981
c5984d70
MS
982 * gdb.base/overlays.exp: Record addresses of overlay
983 functions in TCL variables rather than in GDB variables,
984 to avoid having GDB convert them to pointers (with loss
985 of information).
986
99a8512b
MS
987 * gdb.base/d10v.ld: Merge in several years worth of
988 default linker script changes.
c15b0d21
MS
989 * gdb.base/long_long.exp: Add check for sizeof (long double).
990
be26fe0d
ML
9912002-06-06 Michal Ludvig <mludvig@suse.cz>
992
993 * gdb.asm/asm-source.exp: Add x86-64 target.
994 * gdb.asm/x86_64.inc: New.
995
258093ca 9962002-05-30 Michael Chastain <mec@shout.net>
258093ca 997
4b3153f1 998 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
999 * gdb.c++/m-static.cc: New file.
1000 * gdb.c++/m-static.exp: New file.
1001
241264c6
MS
10022002-05-28 Michael Snyder <msnyder@redhat.com>
1003
1004 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1005 precision.
1006
9bba8c8f 10072002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1008
4b3153f1 1009 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1010 * gdb.c++/m-data.cc: New file.
1011 * gdb.c++/m-data.exp: New file.
1012
10132002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1014
4b3153f1 1015 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1016 * gdb.c++/try_catch.cc: New file.
1017 * gdb.c++/try_catch.exp: New file.
1018
def1b996
MC
10192002-05-27 Michael Chastain <mec@shout.net>
1020
1021 * gdb.c++/local.exp: Accept more nested types in output.
1022
522ba268
MC
10232002-05-26 Michael Chastain <mec@shout.net>
1024
1025 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1026
277254ba
MS
10272002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1028
1029 * lib/gdb.exp (gdb_wrapper_init): Just because
1030 gdb_wrapper_file exists, this does not mean that the file
1031 should not be rebuilt. That is what gdb_wrapper_initialized
1032 is for.
1033 (default_gdb_init): Reset gdb_wrapper_initialized.
1034
b61a8733
MS
10352002-05-23 Michael Snyder <msnyder@redhat.com>
1036
5bdb6d01
MS
1037 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1038 the precision of the floating point test results.
1039 * gdb.base/call-rt-st.exp: Ditto.
1040
b61a8733
MS
1041 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1042 * gdb.base/call-rt-st.exp: Ditto.
1043
56f6e910
MC
10442002-05-19 Michael Chastain <mec@shout.net>
1045
1046 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1047
ad0b0016
EZ
10482002-05-19 Elena Zannoni <ezannoni@redhat.com>
1049
1050 * configure.in (configdirs): Add gdb.arch.
1051 * configure: Regenerate.
1052
f617d2b6
JB
10532002-05-17 Jim Blandy <jimb@redhat.com>
1054
1055 * gdb.base/completion.exp: Recognize the more detailed error
1056 messages produced by the macro expander's lexical analyzer.
1057
eac2a696
EZ
10582002-05-14 Elena Zannoni <ezannoni@redhat.com>
1059
1060 * gdb.arch/altivec-abi.c: New file.
1061 * gdb.arch/altivec-abi.exp: New file.
1062 * gdb.arch/altivec-regs.c: New file.
1063 * gdb.arch/altivec-regs.exp: New file.
1064
2fdde8f8
DJ
10652002-05-14 Daniel Jacobowitz <drow@mvista.com>
1066
1067 * gdb.base/maint.exp (maint print type): Update for new type
1068 structure.
eac2a696 1069
e31f1a7c
EZ
10702002-05-14 Elena Zannoni <ezannoni@redhat.com>
1071
1072 * gdb.arch: New directory.
1073 * gdb.arch/configure.in: New file.
1074 * gdb.arch/configure: New file.
1075 * gdb.arch/Makefile.in: New file.
1076
db589741
CV
10772002-05-13 Corinna Vinschen <vinschen@redhat.com>
1078
1079 * gdb.asm/asm-source.exp: Add v850 as supported target.
1080 * gdb.asm/v850.inc: New file.
1081
8ce2a7dc
DJ
10822002-05-13 Daniel Jacobowitz <drow@mvista.com>
1083
1084 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1085
df763c7f
DJ
10862002-05-12 Daniel Jacobowitz <drow@mvista.com>
1087
1088 * gdb.base/break.exp: Check 'break "marker2"'.
1089
377daeed
MS
10902002-05-10 Michael Snyder <msnyder@redhat.com>
1091
1092 * gdb.base/long_long.exp: Fix typo.
1093
c4b7bc2b
JB
10942002-05-10 Jim Blandy <jimb@redhat.com>
1095
ecac9a4e
JB
1096 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1097 a bug.
1098
c4b7bc2b
JB
1099 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1100 Recognize more detailed error message produced by the macro
1101 expander's lexical analyzer.
1102 * lib/gdb.exp (test_print_reject): Same.
1103
e71019a1
MK
11042002-05-09 Mark Kettenis <kettenis@gnu.org>
1105
1106 * gdb.c++/method.exp: Fix typo.
1107
fedfc8e6
MS
11082002-05-08 Michael Snyder <msnyder@redhat.com>
1109
166a1957
MS
1110 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1111 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1112 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1113 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1114 Add iftarget clause for strongarm.
1115
f1c47eb2
MS
11162002-05-06 Michael Snyder <msnyder@redhat.com>
1117
cb9a9d3e
MS
1118 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1119 (gdb_continue_to_end): Accept output from status wrapper.
1120 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1121 Clean up fail messages to match pass messages.
1122
f1c47eb2
MS
1123 Enable the "needs_status_wrapper" testsuite feature.
1124 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1125 (gdb_compile): Conditionally call gdb_wrapper_init.
1126 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1127 * gdb.c++/method.exp: Recognize output from status wrapper.
1128
6079c749
BE
11292002-05-06 Ben Elliston <bje@redhat.com>
1130From Graydon Hoare <graydon@redhat.com>
1131
1132 * config/sid.exp: Include support for "rawsid" protocol.
1133
188baff3
JB
11342002-05-03 Jim Blandy <jimb@redhat.com>
1135
1136 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1137 * gdb.c++/hang3.C: New file.
1138
b9c07f0f
AC
11392002-05-04 Andrew Cagney <ac131313@redhat.com>
1140
1141 * gdb.base/default.exp: Remove obsolete code.
1142 * gdb.c++/misc.exp: Ditto. Update copyright.
1143 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1144 * gdb.base/whatis.exp: Ditto. Update copyright.
1145 * gdb.base/scope.exp: Ditto. Update copyright.
1146 * gdb.base/ptype.exp: Ditto. Update copyright.
1147 * gdb.base/printcmds.exp: Ditto. Update copyright.
1148 * gdb.base/opaque.exp: Ditto. Update copyright.
1149 * gdb.base/list.exp: Ditto.
1150 * gdb.base/funcargs.exp: Ditto. Update copyright.
1151 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1152 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1153 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1154 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1155 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1156 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1157
5c7a0397
MS
11582002-05-02 Michael Snyder <msnyder@redhat.com>
1159
d6dcc264 1160 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1161 * gdb.base/long_long.exp: Add xscale target.
1162 * gdb.base/default.exp: Add xscale target.
1163
eb7f1c48
JB
11642002-05-01 Jim Blandy <jimb@redhat.com>
1165
1166 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1167 gdb.c++/hang.exp: New test.
1168
a6befae8
FF
11692002-05-01 Fred Fish <fnf@redhat.com>
1170
1171 * gdb.base/completion.exp: Handle completions of "./Make" for
1172 more than one completion possibility, as is the case when we
1173 build and test in the source tree.
1174
0a310277
AG
11752002-04-29 Anthony Green <green@redhat.com>
1176
1177 * gdb.java/jmisc1.exp: New file.
1178 * gdb.java/jmisc2.exp: New file.
1179
6ff9af88
DJ
11802002-04-24 Daniel Jacobowitz <drow@mvista.com>
1181
1182 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1183
96b3d632
EZ
11842002-04-23 Elena Zannoni <ezannoni@redhat.com>
1185
1186 * gdb.base/help.exp: Change 'help status' to allow for target
1187 dependent output differences.
1188
5019bb54
MC
11892002-04-22 Michael Chastain <mec@shout.net>
1190
1191 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1192
a805a116
MC
11932002-04-22 Michael Chastain <mec@shout.net>
1194
1195 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1196
a1706bfd
DM
11972002-04-17 David S. Miller <davem@redhat.com>
1198
1199 * gdb.asm/sparc64.inc: New file.
1200 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1201
a73a20a2
EZ
12022002-04-19 Elena Zannoni <ezannoni@redhat.com>
1203
1204 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1205 instruction file directly into the build tree. Clean up at end of
1206 test.
1207
ba678339
DM
12082002-04-18 David S. Miller <davem@redhat.com>
1209
1210 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1211 handle 64-bit platforms correctly.
1212 * gdb.base/maint.exp: Likewise.
1213
b03399da
KB
12142002-04-18 Kevin Buettner <kevinb@redhat.com>
1215
1216 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1217 ``-fpic'' when compiling files comprising a shared library, but
1218 it does need additional linker flags in order to find shared
1219 libraries at run time.
1220
e2004992
KB
12212002-04-18 Kevin Buettner <kevinb@redhat.com>
1222
1223 * gdb.base/cvexpr.c (use): New function.
1224 (main): Invoke use() on all global variables to prevent
1225 some linkers from deleting these otherwise unused symbols.
1226
d8937120
MC
12272002-04-17 Michael Chastain <mec@shout.net>
1228From David S. Miller <davem@redhat.com>
1229
1230 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1231 handle 64-bit platforms correctly.
1232
ffd61a58
MS
12332002-04-12 Michael Snyder <msnyder@redhat.com>
1234From Jim Blandy <jimb@redhat.com>
1235 * gdb.base/foo.c (foox): Remove section attribute; the linker
1236 script can handle this instead.
1237 * gdb.base/bar.c (barx): Same.
1238 * gdb.base/baz.c (bazx): Same.
1239 * gdb.base/grbx.c (grbxx): Same.
1240
1241 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1242 manager doesn't automatically unmap overlays unnecessarily.
1243
6b8426a6
MH
12442002-04-10 Martin M. Hunt <hunt@redhat.com>
1245
1246 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1247 stepping out of main.
1248
34af4875
MC
12492002-04-09 Michael Chastain <mec@shout.net>
1250
1251 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1252 scope so that the nested scope tests will make sense.
1253 * gdb.c++/local.exp: Write patterns that actually work with gcc
1254 (the HP patterns "were never known to work with gcc").
1255 Keep the old aCC patterns too.
1256
2d1676a0
DJ
12572002-04-09 Daniel Jacobowitz <drow@mvista.com>
1258
1259 * gdb.base/attach.exp: Correct target board test.
1260
3a63e3f9
MC
12612002-04-08 Michael Chastain <mec@shout.net>
1262
1263 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1264 in a const method. Add some xfail and fail cases for configurations
1265 that do not emit the "const ...".
1266
f18dabd2
MC
12672002-04-07 Michael Chastain <mec@shout.net>
1268
1269 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1270 Accept "A * const" and "const A * const" as type of "this".
1271 Fix spelling of getFunky throughout. Make messages uniform.
1272
0fcddd82
EZ
12732002-04-07 Elena Zannoni <ezannoni@redhat.com>
1274
1275 Work around for PR gdb/285:
1276 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1277
16a8534a
EZ
12782002-04-07 Elena Zannoni <ezannoni@redhat.com>
1279
1280 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1281 instructions file at run time instead of configure time.
1282 Sometimes we run the test in a directory that is not the one we
1283 configured in.
1284 * gdb.asm/configure.in: Delete creation of symlink.
1285 * gdb.asm/configure: Regenerate.
1286
24181d81
JB
12872002-04-05 J. Brobecker <brobecker@gnat.com>
1288
1289 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1290 xfullpath () function.
1291
7cdb7107
DJ
12922002-04-04 Daniel Jacobowitz <drow@mvista.com>
1293
1294 * gdb.asm/Makefile.in: Correct dependencies.
1295
1296 * gdb.asm/powerpc.inc: New file.
1297 * gdb.asm/asm-source.exp: Add PowerPC.
1298 * gdb.asm/configure.in: Likewise.
1299 * gdb.asm/configure: Regenerated.
1300
a7d17088
DJ
13012002-04-04 Daniel Jacobowitz <drow@mvista.com>
1302
1303 * gdb.base/relocate.exp: New file.
1304 * gdb.base/relocate.c: New file.
1305
cd721503
FF
13062002-04-04 Fred Fish <fnf@redhat.com>
1307
1308 * gdb.base/step-test.exp: Update comment regarding stopping in
1309 memcpy/bcopy calls inserted as part of the compiler runtime.
1310
b22ad7a7
MS
13112002-04-04 Michael Snyder <msnyder@redhat.com>
1312
1313 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1314
5f279fa6
DJ
13152002-04-03 Daniel Jacobowitz <drow@mvista.com>
1316
1317 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1318 (gdb_expect): Remove $notransfer hack.
1319
dd0fd3ce
DJ
13202002-04-02 Daniel Jacobowitz <drow@mvista.com>
1321
1322 * gdb.c++/classes.exp ("calling method for small class"): Match
1323 updated register output.
1324
1e50cda1
DJ
13252002-03-30 Daniel Jacobowitz <drow@mvista.com>
1326
1327 Fix PR gdb/452
1328 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1329 when finished. Make gdb_file_cmd send "exec-file" when
1330 appropriate.
1331
24015922
DJ
13322002-03-30 Daniel Jacobowitz <drow@mvista.com>
1333
1334 * gdb.base/attach.exp: Remove extra setup_xfail.
1335
dd7dfd64
MS
13362002-03-26 Michael Snyder <msnyder@redhat.com>
1337
1338 * gdb.base/default.exp: Add tests for dump, append, and restore.
1339 * gdb.base/help.exp: Add tests for dump, append, and restore.
1340 * gdb.base/dump.exp: New file, test dump, append and restore.
1341 * gdb.base/dump.c: New file.
1342
48b2f8d7
MS
13432002-03-27 Michael Snyder <msnyder@redhat.com>
1344
1345 * gdb.base/help.exp: Modify expect strings to reflect
1346 clean-ups in help messages.
1347
05b4d525
FF
13482002-03-26 Fred Fish <fnf@redhat.com>
1349
1350 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1351 have debugging info for those functions and the compiler uses them
1352 internally to copy structs around.
1353
d7679631
FF
13542002-03-26 Fred Fish <fnf@redhat.com>
1355
1356 * gdb.base/list.exp: Revert the change made yesterday and add note
1357 about why we don't list the default lines for remote targets.
1358
523ac3f9
MS
13592002-03-25 Michael Snyder <msnyder@redhat.com>
1360
1361 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1362
754b2b8d
FF
13632002-03-25 Fred Fish <fnf@redhat.com>
1364
1365 * gdb.base/list.exp: This test works on remote targets so remove
1366 the short circuit for remote targets. Update copyright.
1367
33c3e192
FF
13682002-03-25 Fred Fish <fnf@redhat.com>
1369
1370 * gdb.base/attach.exp: Fix logic error that was suppressing this
1371 test for all non hppa*-*-hpux* targets, instead of the hp target.
1372 Move comments closer to the suppression point. Also now need to
1373 check that we are running natively.
1374
d43e73ee
MS
13752002-03-22 Michael Snyder <msnyder@redhat.com>
1376
882c8f02
MS
1377 * gdb.base/default.exp: Add test for gcore. Update copyright.
1378 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1379
04c12f60
FF
13802002-03-06 Fred Fish <fnf@redhat.com>
1381
1382 * gdb.base/funcargs.c: Remove extraneous ';' character.
1383 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1384
b43df995
MC
13852002-03-04 Michael Chastain <mec@shout.net>
1386
1387 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1388 accommodate gcc v3 function signature.
1389 * gdb.mi/mi0-var-cmd-exp: Ditto.
1390
92362027
AC
13912002-02-24 Andrew Cagney <ac131313@redhat.com>
1392
1393 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1394 ``GNU/Linux'' or ``Linux kernel''
1395 * testsuite/gdb.threads/pthreads.c: Ditto.
1396
258ad32d
MC
13972002-02-24 Michael Chastain <mec@shout.net>
1398
1399 * gdb.threads/pthreads.c (thread1): Add a return statement.
1400 (thread2): Likewise.
1401 (foo): Likewise.
1402
04c3b3d4
MC
14032002-02-23 Michael Chastain <mec@shout.net>
1404
1405 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1406 to placate gcc.
1407
5a2a0a20
MC
14082002-02-23 Michael Chastain <mec@shout.net>
1409
1410 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1411 test "ptype bint". The test passes on all my stabs configurations.
1412
a640f7fc
JB
14132002-02-21 Jim Blandy <jimb@redhat.com>
1414
27924826
JB
1415 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1416 filename at a time, and watch for the ones we want to see.
1417
a640f7fc
JB
1418 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1419 types of pointers to prototyped functions.
1420
edcc8c75
AC
14212002-02-20 Andrew Cagney <ac131313@redhat.com>
1422
1423 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1424 signed, unsigned and straight char.
1425 (padding_char, padding_short, padding_int, padding_long,
1426 padding_long_long, padding_float, padding_double,
1427 padding_long_double): New global variables.
1428 (fill, fill_structs): New functions.
1429
1430 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1431 for correctly sized writes. Update copyright.
1432 (get_valueof): New procedure.
1433 (get_sizeof): Call get_valueof.
1434 (check_valueof): New procedure.
1435 (check_padding): New procedure.
1436
ac57ea44
MC
14372002-02-20 Michael Chastain <mec@shout.net>
1438
1439 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1440 to setup_xfail. Document some of the remaining calls.
1441
7a10c941
MC
14422002-02-18 Michael Chastain <mec@shout.net>
1443
1444 * gdb.c++/userdef.exp: Update copyright year.
1445
fb8acdcc
DJ
14462002-02-18 Daniel Jacobowitz <drow@mvista.com>
1447
1448 * gdb.c++/userdef.exp: Test overloaded operators properly.
1449 Remove xfails.
1450
fda6ae12
MS
14512002-02-14 Michael Snyder <msnyder@redhat.com>
1452
1453 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1454
676a0442
DJ
14552002-02-14 Daniel Jacobowitz <drow@mvista.com>
1456
1457 * gdb.base/a2-run.exp: Check for a remote target properly.
1458 * gdb.base/annota1.exp: Likewise.
1459 * gdb.base/list.exp: Likewise.
1460 * gdb.base/reread.exp: Likewise.
1461 * gdb.base/scope.exp: Likewise.
1462 * gdb.base/shlib-call.exp: Likewise.
1463 * gdb.base/term.exp: Likewise.
1464 * gdb.c++/annota2.exp: Likewise.
1465
78b4f468
RE
14662002-02-13 Richard Earnshaw <rearnsha@arm.com>
1467
1468 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1469
9a81ba51
MC
14702002-02-10 Michael Chastain <mec@shout.net>
1471
1472 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1473 (call_after_alloca): Ditto.
1474
004af6c7
DJ
14752002-02-10 Daniel Jacobowitz <drow@mvista.com>
1476
1477 * gdb.base/ending-run.exp: Guard "cont" test with
1478 gdb_skip_stdio_test.
1479
37225f62
JB
14802002-02-06 Jim Blandy <jimb@redhat.com>
1481
1482 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1483 from here...
1484 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1485 To here. Disable this test on non-HP platforms. Add big comment.
1486
fe6fdd96
MS
14872002-02-04 Michael Snyder <msnyder@redhat.com>
1488
1489 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1490 other than d10v and m32r.
1491
036fad3f
RE
14922002-02-02 Richard Earnshaw <rearnsha@arm.com>
1493
1494 * gdb.base/default.exp: Rewrite test patterns to reduce time
1495 taken to match them.
1496
7148ab62
DJ
14972002-01-30 Daniel Jacobowitz <drow@mvista.com>
1498
1499 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1500 Allow a start function above main.
1501 * gdb.threads/linux-dp.exp: Fix copyright date.
1502
396cc255
DJ
15032002-01-30 Daniel Jacobowitz <drow@mvista.com>
1504
1505 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1506 (check_philosopher_stack): Check for manager thread before checking
1507 for a just-starting thread.
1508
f038d31b
DJ
15092002-01-30 Daniel Jacobowitz <drow@mvista.com>
1510
1511 From Neil Booth <neil@daikokuya.demon.co.uk>:
1512 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1513 warnings.
1514
b3ff9d9a
FF
15152002-01-21 Fred Fish <fnf@redhat.com>
1516
1517 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1518 not caller.
1519
39ad761d
JB
15202002-01-21 Jim Blandy <jimb@redhat.com>
1521
1522 * gdb.base/reread.exp: Check that GDB properly re-reads the
1523 executable file when it changes while no inferior is running.
1524
aaf320fa
FF
15252002-01-21 Fred Fish <fnf@redhat.com>
1526
1527 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1528 optionally accept the "shlib events" variation.
1529
808a31f5
JB
15302002-01-21 Jim Blandy <jimb@redhat.com>
1531
1532 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1533 call `fflush' after every `printf', so that the output is produced
1534 at predictable points, regardless of whatever buffering does (or
1535 doesn't) take place.
1536 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1537 at different points.
1538
4420d5e2
DJ
15392002-01-20 Daniel Jacobowitz <drow@mvista.com>
1540
1541 * gdb.c++/inherit.exp: Update copyright years.
1542 * gdb.c++/method.exp: Likewise.
1543
3e36a0f4
DJ
15442002-01-20 Daniel Jacobowitz <drow@mvista.com>
1545
1546 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1547 artificial methods/arguments.
1548 * gdb.c++/derivation.exp: Likewise.
1549 * gdb.c++/inherit.exp: Likewise.
1550 * gdb.c++/method.exp: Likewise.
1551 * gdb.c++/virtfunc.exp: Likewise.
1552
b4ceaee6
AC
15532002-01-18 Andrew Cagney <ac131313@redhat.com>
1554
1555 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1556 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1557 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1558 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1559 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1560 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1561
ecace851
JB
15622002-01-17 Jim Blandy <jimb@redhat.com>
1563
1564 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1565 anchoring the pattern matching the entry point symbol's name.
1566
375fc983
AC
15672002-01-17 Andrew Cagney <ac131313@redhat.com>
1568
1569 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1570 continue/quit query. Update copyright.
1571
fe6fdd96
MS
15722002-01-14 Michael Snyder <msnyder@redhat.com>
1573
1574 * gdb.base/gcore.exp: Remove extra debugging output.
1575
e017c81f
DJ
15762002-01-13 Daniel Jacobowitz <drow@mvista.com>
1577
1578 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1579 for slightly dubious v2 mangled string.
1580
37ab3bf8
DJ
15812002-01-13 Daniel Jacobowitz <drow@mvista.com>
1582
1583 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1584
1bc05c3a 15852002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1586
1bc05c3a 1587 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1588
1bc05c3a
JM
1589 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1590 constructors.
1591 * gdb.c++/derivation.exp: Likewise.
1592 * gdb.c++/templates.exp: Likewise.
1593 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1594
1bc05c3a
JM
15952002-01-10 Michael Snyder <msnyder@redhat.com>
1596
1597 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1598
a911c360
MS
15992002-01-08 Michael Snyder <msnyder@redhat.com>
1600
1601 * gdb.base/gcore.exp: New test for generate-core-file command.
1602 * gdb.base/gcore.c: Testcase for above.
1603 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1604
ea2119ec
JM
16052002-01-08 Jason Merrill <jason@redhat.com>
1606
1607 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1608
68203136
FF
16092002-01-07 Fred Fish <fnf@redhat.com>
1610
1611 * gdb.c++/overload.exp: Remove unconditional xfails for:
1612 print foo_instance1.overloadargs(1)
1613 print foo_instance1.overloadargs(1, 2)
1614 print foo_instance1.overloadargs(1, 2, 3)
1615 print foo_instance1.overloadargs(1, 2, 3, 4)
1616 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1617 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1618 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1619 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1620 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1621 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1622 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1623 print foo_instance1.overload1arg()
1624 print foo_instance1.overload1arg((char)arg2)
1625 print foo_instance1.overload1arg((signed char)arg3)
1626 print foo_instance1.overload1arg((unsigned char)arg4)
1627 print foo_instance1.overload1arg((int)arg7)
1628 print foo_instance1.overload1arg((unsigned int)arg8)
1629 print foo_instance1.overload1arg((float)arg11)
1630 print foo_instance1.overload1arg((double)arg12)
1631
21b9b5b1
MS
16322002-01-07 Michael Snyder <msnyder@redhat.com>
1633
1634 * gdb.base/huge.exp: New test. Print a very large target data object.
1635 (skip_huge_test): New test variable. Define if you want to skip this
1636 test. The test reads an 8 megabyte data object from the target, so it
1637 might be very time consuming on remote targets with a slow connection.
1638 * gdb.base/huge.c: New file. Test case for above.
1639
725f922e
FF
16402002-01-07 Fred Fish <fnf@redhat.com>
1641
1642 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1643 g_instance.bfoo, and g_instance.cfoo.
1644
634d57ec
JL
1645Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1646
f286b2c3
JL
1647 * gdb.base/break.c (multi_line_if_conditional): New function.
1648 (multi_ilne_while_conditional): Likewise.
1649 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1650 IF or WHILE condition puts the breakpoint at the start of
1651 the condition.
1652
634d57ec
JL
1653 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1654 hppa*-*-hpux* expected failure.
1655 * gdb.base/structs.exp (do_function_calls): Similarly.
1656
1657 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1658 watchpoints.
1659
9fbfe2dc
AC
16602002-01-06 Andrew Cagney <ac131313@redhat.com>
1661
1662 Fix PR gdb/66.
1663 * gdb.base/structs.exp: Replace skip for a29k with skip for
1664 gdb,cannot_call_functions.
1665 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1666 * gdb.base/callfuncs.exp: Ditto.
1667 * gdb.base/call-rt-st.exp: Ditto.
1668 * gdb.base/call-strs.exp: Ditto.
1669 * gdb.base/callfwmall.exp: Ditto.
1670 * gdb.base/scope.exp: Obsolete xfail a29k.
1671 * gdb.c++/misc.exp: Ditto.
1672 * gdb.c++/cplusfuncs.exp: Ditto.
1673 * gdb.base/ptype.exp: Ditto.
1674 * gdb.base/printcmds.exp: Ditto.
1675 * gdb.base/opaque.exp: Ditto.
1676 * gdb.base/list.exp: Ditto.
1677 * gdb.base/funcargs.exp: Ditto.
1678 * gdb.base/default.exp: Ditto.
1679
8ddad156
MS
16802002-01-04 Michael Snyder <msnyder@redhat.com>
1681
ca4976a6 1682 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1683 * gdb.base/maint.exp: Add tests for maint info sections options.
1684
1b074332
JL
1685Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1686
1687 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1688
7d159115
CV
16892001-12-20 Corinna Vinschen <vinschen@redhat.com>
1690
1691 * gdb.asm/arm.inc: New file.
1692 * gdb.asm/asm-source.exp: Add arm targets.
1693 * gdb.asm/configure.in: Ditto.
1694 * gdb.asm/configure: Recreated from configure.in.
1695
8fb87725
JL
1696Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1697
afabe08c
JL
1698 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1699 with HP's compiler.
1700 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1701 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1702 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1703 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1704
1705 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1706 either HP's compilers or GCC.
1707
db521deb
JL
1708 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1709 a SIGBUS or SIGSEGV.
1710
1711 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1712
1713 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1714 can be compiled with either HP's compiler or GCC.
1715
cfa88ab7
JL
1716 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1717 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1718 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1719
ca344dff
JL
1720 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1721 to match current gdb output. Update due to using auto-solib-limit
1722 for limiting instead of overloading auto-solib-add.
1723 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1724 test program.
1725
3f3c6e55 1726 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1727 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1728 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1729 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1730 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1731 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1732 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1733 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1734 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1735 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1736 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1737 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1738 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1739
8fb87725
JL
1740 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1741 a SIGTRAP to the inferior.
1742
cf599fa7
CV
17432001-12-19 Corinna Vinschen <vinschen@redhat.com>
1744
1745 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1746 Substitute call to target_link by call to gdb_compile.
1747
2cd045cd
JL
1748Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1749
1750 * gdb.base/break.exp: Fix HP specific search string when testing
1751 backtracing in a called function.
1752
1753 * gdb.base/constvars.exp: Only set lang to C++ if we're
1754 compiling the test with HP's compilers.
1755 * gdb.base/volatile.exp: Similarly.
1756
99ebe9ac
JB
17572001-12-19 Jim Blandy <jimb@redhat.com>
1758
1759 * gdb.base/printcmds.exp: Expect the null character to be printed
1760 as '\0', and the '\013' to be printed as '\v'.
1761 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1762 * gdb.base/setvar.exp: Same.
1763
b9891b29
JB
17642001-12-17 Jim Blandy <jimb@redhat.com>
1765
0eba65ab
JB
1766 * gdb.base/completion.exp: Rather than completing very long
1767 filenames, which can make the readline library produce output we
1768 don't recognize, cd to the directory first, and then complete
1769 using nice, short relative paths.
1770
6970b5b1
JB
1771 * gdb.base/completion.exp: On some systems, there is, in fact, a
1772 variable named `b' in scope, since GDB treats all static
1773 variables as being in scope. So use `no_var_named_this'
1774 instead of `b'.
1775
b9891b29
JB
1776 * gdb.base/corefile.exp: Recognize the message saying that GDB
1777 can't find the core file's registers as a failure.
1778
e6ccd35f
JSC
17792001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1780
1781 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1782 test expect string more specific.
1783
105ba819
CV
17842001-12-13 Corinna Vinschen <vinschen@redhat.com>
1785
1786 * gdb.asm/asm-source.exp: Add support for xstormy16.
1787 * gdb.asm/configure.in: Ditto.
1788 * gdb.asm/configure: Rebuild.
1789 * gdb.asm/xstormy16.inc: New file.
1790
e9e79dd9
FF
17912001-12-10 Fred Fish <fnf@redhat.com>
1792
1793 * gdb.base/maint.exp: Update to match changes in type dumping code.
1794
347dc97d
JB
17952001-12-10 Jim Blandy <jimb@redhat.com>
1796
1797 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1798 matching the entry point symbol's name at the beginning of the
1799 line.
1800
5178b9d6
DJ
18012001-12-07 Daniel Jacobowitz <drow@mvista.com>
1802
1803 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1804 gdb.c++/inherit.exp, gdb.c++/method.exp,
1805 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1806 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1807 and class layout support.
1808
af890c52
DJ
18092001-12-07 Daniel Jacobowitz <drow@mvista.com>
1810
1811 * gdb.c++/classes.exp: Add test for static member function.
1812 * gdb.c++/misc.cc: Add class with static member function.
1813
7a345fb3
JB
18142001-12-07 Jim Blandy <jimb@redhat.com>
1815
f2e54a80 1816 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1817 those tests as `unsupported'.
1818 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1819 Rewrite subsequent tests to use it.
1820
1821 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1822 those tests as `unsupported'.
1823 * gdb.base/structs.exp (call_struct_func): New function.
1824 (do_function_calls): Use call_struct_func to call the functions
1825 returning structs.
1826
0bc69509
JB
1827 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1828 whether functions are prototyped or not, so we can't possibly pass
1829 arguments to t_float_values2 properly.
1830
7a345fb3
JB
1831 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1832 value of `timeout' for targets other than the mips*tx39-*.
1833
edb6ede1
MS
18342001-12-06 Michael Snyder <msnyder@redhat.com>
1835
1836 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1837 and detect whether the start symbol has a leading underscore.
1838
2d842f13
JB
18392001-12-04 Jim Blandy <jimb@redhat.com>
1840
1841 * gdb.base/completion.exp: Clarify indentation.
1842
68550daf
JB
18432001-12-03 Jim Blandy <jimb@redhat.com>
1844
1845 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1846 variables on the S/390, not `.word'.
1847
cd5195a8
JB
18482001-11-30 Jim Blandy <jimb@redhat.com>
1849
1850 Add assembly-source tests for s390-ibm-linux.
1851 * gdb.asm/s390.inc: New file.
1852 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1853 the S/390 architecture.
1854 * gdb.asm/configure: Regenerated.
1855
ca9efc90
MS
18562001-11-30 Michael Snyder <msnyder@redhat.com>
1857
1858 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1859 next, info source, info sources, info line, global and static
1860 variables, and static functions.
1861 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1862 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1863 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1864 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1865 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1866 (gdbasm_leave): Restore frame pointer.
1867 (gdbasm_startup): Copy stack set-up from crt0.S.
1868
d0e66976
FN
18692001-11-26 Fernando Nasser <fnasser@redhat.com>
1870
1871 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1872 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1873 to a local (non-static) variable. Copy tstruct.a to a static buffer
1874 and return a pointer to that buffer.
1875 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1876
e2334072
MK
18772001-11-24 Mark Kettenis <kettenis@gnu.org>
1878
1879 * gdb.asm/configure.in: Fix recognition of ix86 target.
1880 * gdb.asm/configure: Regenerate.
1881
756caa3d
MS
18822001-11-21 Michael Snyder <msnyder@redhat.com>
1883
1884 * gdb.asm/sparc.inc: New file.
1885 * gdb.asm/asm-source.exp: Recognize sparc target.
1886 * gdb.asm/configure.in: Recognize sparc target.
1887 * gdb.asm/configure: Regenerate.
1888
9a4d72d5
MS
18892001-11-21 Michael Snyder <msnyder@redhat.com>
1890
1891 * gdb.asm/m32r.inc: New file.
1892 * gdb.asm/asm-source.exp: Recognize m32r target.
1893 * gdb.asm/configure.in: Recognize m32r target.
1894 * gdb.asm/configure: Regenerate.
1895
a773d1cd
MS
18962001-11-20 Michael Snyder <msnyder@redhat.com>
1897
017ac23d
MS
1898 * gdb.asm/i386.inc: New file.
1899 * gdb.asm/asm-source.exp: Recognize ix86 target.
1900 * gdb.asm/configure.in: Recognize ix86 target.
1901 * gdb.asm/configure: Regenerate.
1902
a773d1cd
MS
1903 * gdb.c++/namespace.exp: Fix quotes in output messages.
1904
bb632afb
MS
19052001-11-14 Michael Snyder <msnyder@redhat.com>
1906
25d559ca 1907 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1908 qualifier in a type cast expression, to designate an address
1909 in the instruction space (Harvard architecture).
1910
4749e309
MS
19112001-11-13 Michael Snyder <msnyder@redhat.com>
1912
1913 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1914 Tests for expressions using 'const' and 'volatile'.
1915
25050984
CV
19162001-11-13 Corinna Vinschen <vinschen@redhat.com>
1917
1918 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1919
1902c51f
DJ
19202001-11-12 Daniel Jacobowitz <drow@mvista.com>
1921
1922 * lib/mi-support.exp (mi_run_to_helper): Move comments
1923 outside of gdb_expect.
1924
dcf95b47
DJ
19252001-11-11 Daniel Jacobowitz <drow@mvista.com>
1926
1927 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1928 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1929 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1930 mi0_run_to): New functions.
1931 * gdb.mi/mi-simplerun.exp: Use them.
1932 * gdb.mi/mi0-simplerun.exp: Likewise.
1933 * gdb.mi/mi-var-cmd.exp: Likewise.
1934 * gdb.mi/mi0-var-cmd.exp: Likewise.
1935
45b074e1
AC
19362001-11-10 Andrew Cagney <ac131313@redhat.com>
1937
1938 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1939 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1940
bf50d346
AC
19412001-11-09 Andrew Cagney <ac131313@redhat.com>
1942
1943 * gdb.base/restore.exp: Include $expected value in restored test
1944 message.
1945
9383332c
AC
19462001-11-09 Andrew Cagney <ac131313@redhat.com>
1947
1948 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1949 implemented.
1950
db62520a
MS
19512001-11-08 Michael Snyder <msnyder@redhat.com>
1952
1953 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1954 Add pass/fail message for stop at breakpoint in call dummy function.
1955
b5703437
MS
19562001-11-07 Michael Snyder <msnyder@redhat.com>
1957
760f6330
MS
1958 * gdb.c++/templates.exp (test_template_breakpoints):
1959 If we get an overload menu, but it does not match what
1960 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1961 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1962 making the whitespace optional. Argument for "new" may be
1963 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1964 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1965 making the whitespace optional. Also replace "(void) with
1966 "((void|)), making the keyword "void" optional.
63f50499
MS
1967 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1968 making the whitespace optional. Also replace "(void) with
1969 "((void|)), making the keyword "void" optional.
3bf40917
MS
1970 * gdb.base/callfuncs.c (t_float_values): This function must
1971 _not_ be prototyped, and the following function (t_float_values2)
1972 must be prototyped (if the compiler supports it), so that GDB
1973 can be tested against both cases. Usually one case involves
1974 promotion of float to double, while the other does not.
1975 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1976 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1977 includes a stack frame for "start".
1978
c8ab4e6d
JB
19792001-11-05 Jim Blandy <jimb@redhat.com>
1980
1981 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1982 pointers are 32 bits long, and that offsets of relocs are always
1983 stored in the data (REL-style), and not in the reloc entry itself
1984 (RELA-style).
1985 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1986 stabs.
1987
3f08ced9
MS
19882001-11-01 Michael Snyder <msnyder@redhat.com>
1989
1990 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1991 and regular expression operators by using quoting.
1992
cbfa24cd
MS
19932001-10-31 Michael Snyder <msnyder@redhat.com>
1994
1995 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1996 depending on what the symbol table contains.
1997 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1998 the output of the ptype command. Similarly, accept both "const &"
1999 and "const&".
2000
aaa68313
CV
20012001-10-31 Corinna Vinschen <vinschen@redhat.com>
2002
2003 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2004 symbol `STORAGE' to allow to choose the storage class of
2005 the local datastructures.
2006 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2007 compiler directive.
2008
91740388
MS
20092001-10-30 Michael Snyder <msnyder@redhat.com>
2010
2011 * gdb.base/jump.exp: Allow it to run for all targets.
2012
1b7c05e7
CV
20132001-10-29 Corinna Vinschen <vinschen@redhat.com>
2014
2015 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2016 with new double_array size.
2017 (main): Change storage class of all local variables to static.
2018 Reduce size of double_array to 9.
2019 * gdb.base/call-ar-st.exp: Increase timeout value.
2020 Change expected output for double array to match new size in
2021 call-ar-st.c.
2022
36a22261
CV
20232001-10-29 Corinna Vinschen <vinschen@redhat.com>
2024
2025 * gdb.base/ending-run.exp: Create identical output when passing
2026 `step to end of run' case. Add regular expression branch satisfying
2027 Stormy16 target.
2028
92b8ae91
MK
20292001-10-28 Mark Kettenis <kettenis@gnu.org>
2030
2031 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2032 that we catch the expected failure under Linux/x86.
2033
cb135b83
OF
20342001-10-29 Orjan Friberg <orjanf@axis.com>
2035
2036 * gdb.base/setvar.exp: Escape curly braces.
2037 * gdb.stabs/weird.exp: Ditto.
2038
6884aa54
DJ
20392001-10-27 Daniel Jacobowitz <drow@mvista.com>
2040
2041 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2042 * gdm.mi/mi0-hack-cli.exp: Likewise.
2043
0398c9aa
AC
20442001-10-25 Andrew Cagney <ac131313@redhat.com>
2045
2046 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2047 messages.
2048
d20bf2e8
AC
20492001-10-21 Andrew Cagney <ac131313@redhat.com>
2050
2051 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2052 checking MI enabled.
2053
03dd63aa
CV
20542001-10-09 Corinna Vinschen <vinschen@redhat.com>
2055
2056 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2057
1d9d99f3
FCE
20582001-10-04 Frank Ch. Eigler <fche@redhat.com>
2059
2060 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2061 if gdb child process crashes, just signal an error.
2062
838ae6c4
JB
20632001-10-02 Jim Blandy <jimb@redhat.com>
2064
2065 * lib/gdb.exp (test_xfail_format): Simplify.
2066
2067 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2068 front of the variable name `format'. Simplify `if'.
2069
8f0cbc1c
DJ
20702001-10-01 Daniel Jacobowitz <drow@mvista.com>
2071
2072 * gdb.threads/pthreads.exp: Wait for output and delay
2073 before sending ^C.
2074
1f08dafd
DJ
20752001-10-01 Daniel Jacobowitz <drow@mvista.com>
2076
2077 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2078 some incorrect output instead of timing out.
2079 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2080
674f90ff
CV
20812001-09-28 Corinna Vinschen <vinschen@redhat.com>
2082
2083 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2084 check to allow additional `int'.
2085
9b284272
DJ
20862001-09-27 Daniel Jacobowitz <drow@mvista.com>
2087
2088 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2089 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2090
b55a4771
MS
20912001-09-27 Michael Snyder <msnyder@redhat.com>
2092
2093 * lib/gdb.exp (test_debug_format): New proc.
2094 (setup_xfail_format): Use new proc test_debug_format.
2095 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2096 proc; use new service proc test_debug_format.
2097 Replace all other "gcc_compiled" tests with this test.
2098 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2099 proc; use new service proc test_debug_format.
2100 Replace all other "gcc_compiled" tests with this test.
2101
21022001-09-27 Michael Snyder <msnyder@redhat.com>
2103
2104 * gdb.base/cvexpr.exp: New file.
2105 * gdb.base/cvexpr.c: New file
2106 Test for expressions using const and volatile keywords.
2107
4e6667ac
CV
21082001-09-26 Corinna Vinschen <vinschen@redhat.com>
2109
2110 * gdb.base/constvars.exp: Check for different orders of keywords
2111 and additional "int" strings in output.
2112
4f337972
AC
21132001-09-22 Andrew Cagney <ac131313@redhat.com>
2114
2115 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2116 responses from "help maint".
2117
2015650d
FCE
21182001-09-19 Frank Ch. Eigler <fche@redhat.com>
2119
2120 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2121 to localhost:NNN instead of :NNN, in case Xvfb is listening
2122 only on TCP.
2123
f3bcedc1
CV
21242001-09-19 Corinna Vinschen <vinschen@redhat.com>
2125
2126 * gdb.base/recurse.exp: When checking leaving the watchpoint
2127 scope, recognize when gdb is in function's epilogue and pass.
2128
6b819c92
KS
21292001-09-18 Keith Seitz <keiths@redhat.com>
2130
2131 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2132 support for running tests against sid targets.
2133 (gdbtk_done): Ditto.
2134
a10c9419
CV
21352001-09-18 Corinna Vinschen <vinschen@redhat.com>
2136
2137 * gdb.base/ending-run.c (main): Set stdout buffersize
2138 to the same reasonable value for any target.
2139 * gdb.base/ending-run.exp: Add a regular expression
2140 to make testsuite happy on Sanyo Stormy16 target.
2141
739d0d99
CV
21422001-09-17 Corinna Vinschen <vinschen@redhat.com>
2143
2144 * gdb.base/display.c (do_loops): Add float variable `f'.
2145 Increment f in loop.
2146 * gdb.base/display.exp: Increment timeout by 60 seconds.
2147 Change float display test to use variable `f'.
2148
1b8947f0
JB
21492001-09-17 Jim Blandy <jimb@redhat.com>
2150
2151 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2152 overflowing the limited breakpoint tables on some ROM monitors
2153 (like the ROM68K).
2154
9890ac81
FCE
21552001-09-15 Frank Ch. Eigler <fche@redhat.com>
2156
2157 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2158 the "-ac" (disable access control) flag.
2159
6db765ea
JH
21602001-08-30 Jeff Holcomb <jeffh@redhat.com>
2161
2162 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2163 ints.
2164
4c32cc04
KS
21652001-08-30 Keith Seitz <keiths@redhat.com>
2166
2167 * lib/gdb.exp: Move all insight-related functionality into
2168 separate file.
2169 * lib/insight-support.exp: New file.
2170
8d6e6f81
FCE
21712001-08-29 Frank Ch. Eigler <fche@redhat.com>
2172
2173 * config/sid.exp (sid_start): Never set sid verbosity; disable
2174 expect_background {} that consumed its stdout; tolerate </dev/null.
2175 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2176
6a90e1d0
AC
21772001-08-18 Andrew Cagney <ac131313@redhat.com>
2178
2179 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2180 CLI jump command to start it.
2181 (mi_run_to_main): Fail immediatly when unexpected output.
2182
1759b3c3
AC
21832001-08-18 Andrew Cagney <ac131313@redhat.com>
2184
2185 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2186 beginning of function. Fix PR gdb/191.
2187
61d11d80
FCE
21882001-08-16 Frank Ch. Eigler <fche@redhat.com>
2189
2190 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2191 what to force sid endianness to.
2192
942a4df2
KS
21932001-08-15 Keith Seitz <keiths@redhat.com>
2194
2195 * lib/gdb.exp (gdbtk_start): Don't set environment
2196 variables for TCL_LIBRARY and friends. Insight will
2197 now figure these out for itself.
2198
0521c418
MS
21992001-08-02 Michael Snyder <msnyder@redhat.com>
2200
2201 * gdb.base/completion.exp: Remove the symbol "a64l" from
2202 the expect string; this is target-specific, and not related
2203 to what is being tested.
2204
74a9a58a
DB
22052001-08-02 Dave Brolley <brolley@redhat.com>
2206
2207 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2208
c70819fa
MS
22092001-07-25 Michael Snyder <msnyder@redhat.com>
2210
c2b8fa57
MS
2211 * gdb.base/consecutive.exp: New file. Test stepping over
2212 breakpoints on consecutive instructions.
2213 * gdb.base/consecutive.c: New file.
2214
c70819fa
MS
2215 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2216 curly braces in regular expressions.
2217
2b1a1355
MS
22182001-07-25 Michael Snyder <msnyder@redhat.com>
2219
2220 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2221 legitimate output from stepping out of main.
2222
413eca6f
KS
22232001-07-22 Keith Seitz <keiths@redhat.com>
2224
2225 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2226 the empty string, do not run the tests.
2227
7e5a9322
SC
22282001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2229
2230 * gdb.base/long_long.exp: Detect size of pointer. Take into
2231 account 2-byte pointers when testing for p/a results.
2232
de58f10f
SC
22332001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2234
2235 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2236 and defined to 1K for m68hc11.
2237 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2238 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2239 (sizeof_random_data): New variable to tell the size of the data table;
2240 don't test past this size; always run to main.
2241
d6f5fea1
SC
22422001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2243
2244 * gdb.base/return2.exp: return of long long and double fails for
2245 68HC11; don't execute these tests on that platform.
2246 * gdb.base/return.exp: Return of a double fails for 68hc11.
2247
c477543d
SC
22482001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2249
2250 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2251 tests that print a float.
2252 * call-rt-st.exp: Likewise.
2253
63cf1c79
MK
22542001-07-12 Mark Kettenis <kettenis@gnu.org>
2255
2256 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2257 running this test on Linux.
2258
112f9ab5
MC
22592001-06-24 Michael Chastain <chastain@redhat.com>
2260
2261 * gdb.base/arithmet.exp: Remove some tests to make all test names
2262 unique.
2263
4970cb0f
MS
22642001-07-03 Michael Snyder <msnyder@redhat.com>
2265
2266 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2267 the output of the ptype command.
2268
d85da69f
MS
22692001-07-02 Michael Snyder <msnyder@redhat.com>
2270
4c8a82de
MS
2271 * gdb.base/completion.exp: Don't assume that break.c is the only
2272 source file that may contain functions named "marker".
d85da69f
MS
2273 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2274
8afc772b
AC
22752001-06-28 Andrew Cagney <ac131313@redhat.com>
2276
2277 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2278 of files to delete.
2279
2280 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2281 * gdb.disasm/h8300s.exp: New file.
2282 gdb.disasm/h8300s.s: Likewise.
2283
cff22675
AC
22842001-06-27 Andrew Cagney <ac131313@redhat.com>
2285
2286 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2287 empty breakpoint tables.
2288
68c81b54
AC
22892001-06-25 Andrew Cagney <ac131313@redhat.com>
2290
2291 * lib/mi-support.exp: Update args=... part of stop-reason
2292 patterns. Accept either a list or a tuple.
2293
2dd62704
AC
22942001-06-23 Andrew Cagney <ac131313@redhat.com>
2295
2296 * lib/mi-support.exp: Remove local emacs variable defining
2297 change-log-default-name.
2298
b4127474
MC
22992001-06-22 Michael Chastain <chastain@redhat.com>
2300
2301 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2302 This is operationally compatible with the previous version.
2303
8dbfb380
JB
23042001-06-13 Jim Blandy <jimb@redhat.com>
2305
2306 * lib/gdb.exp (gdb_test): Doc fix.
2307
f2d8c86d
MC
23082001-06-10 Michael Chastain <chastain@redhat.com>
2309
2310 * gdb.base/exprs.exp: Remove a duplicate test.
2311
81564d34
JB
23122001-06-06 Jim Blandy <jimb@redhat.com>
2313
2314 * gdb.base/return2.exp (main): Use values to test float and double
2315 returns that are not NaN's, to avoid being confused by IEEE
2316 comparison rules.
2317
da55addb
MS
23182001-06-04 Michael Snyder <msnyder@redhat.com>
2319
2320 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2321 non-zero if control_c fails. Terminate the test on failure,
2322 rather than wait for 12 more tests to time out.
2323
42c65987
JB
23242001-06-06 Jim Blandy <jimb@redhat.com>
2325
b18bced9
JB
2326 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2327 Don't forget to match the GDB prompt.
2328
42c65987
JB
2329 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2330
5b41e5f0
JB
23312001-06-04 Jim Blandy <jimb@redhat.com>
2332
2333 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2334 command.
2335
015e046f
KB
23362001-05-31 Kevin Buettner <kevinb@redhat.com>
2337
2338 * gdb.base/annota1.exp (info break): Match four or more spaces
2339 after "Address".
2340
fb1ffbbe
MC
23412001-05-31 Michael Chastain <chastain@redhat.com>
2342
2343 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2344 (dm_type_int_star): Likewise.
2345 (dm_type_long_star): Likewise.
2346 (dm_type_void_star): Likewise.
2347
5ea2a32c
KB
23482001-05-29 Kevin Buettner <kevinb@redhat.com>
2349
2350 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2351 to a known value in order to get consistent results regardless
2352 of the setting of INPUTRC or the presence or contents of .inputrc.
2353
ae23c492
MS
23542001-05-24 Michael Snyder <msnyder@redhat.com>
2355
ac55707e
MS
2356 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2357 Don't require that the main thread and the manager thread are the
2358 first in the list.
2359
ae23c492
MS
2360 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2361 debugging. If test fails, issue an "unsupported" not a "fail".
2362
400071f1
JB
23632001-05-24 Jim Blandy <jimb@redhat.com>
2364
2365 Don't assume that short is shorter than int.
2366 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2367 assume that shorts are smaller than ints. On a 16-bit machine,
2368 this isn't true.
2369 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2370 an int, is not equal to ~0 stored in an unsigned char. This tests
2371 the same thing that the previous test meant to, but works on
2372 16-bit machines, too.
2373 ("print unsigned char != (~0)"): Same test, complemented.
2374
0816a3e5
MS
23752001-05-24 Michael Snyder <msnyder@redhat.com>
2376
2377 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2378 test for (full_coverage == 0). This makes the test run faster,
2379 and prevents dejagnu getting out of step.
2380
f6dc23a9
KB
23812001-05-23 Kevin Buettner <kevinb@redhat.com>
2382
2383 * gdb.base/finish.exp (finish_void): Revise pattern for
2384 stopping on the call statement to not permit stopping at
2385 the start of the instructions comprising the call sequence.
2386
7dbd117d
MC
23872001-05-19 Michael Chastain <chastain@redhat.com>
2388
2389 * gdb.base/callfuncs.exp: Make all test names unique.
2390 * gdb.base/commands.exp: Make all test names unique.
2391 * gdb.base/condbreak.exp: Make all test names unique.
2392 * gdb.base/dbx.exp: Make all test names unique.
2393 * gdb.base/default.exp: Make all test names unique.
2394 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2395 and TIMEOUT messages to their corresponding PASS message.
2396 * gdb.base/ending-run.exp: Make all test names unique.
2397 * gdb.base/long_long.exp: Remove duplicate test.
2398
6b0b0a9e
KB
23992001-05-21 Kevin Buettner <kevinb@redhat.com>
2400
2401 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2402 stop on the call statement as well as the statement after the
2403 call.
2404
2caa35cb
MS
24052001-05-21 Michael Snyder <msnyder@redhat.com>
2406
2407 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2408
40713331
EZ
24092001-05-10 Elena Zannoni <ezannoni@redhat.com>
2410
2411 * gdb.base/completion.exp: Revamp test. Make it execute on all
2412 platforms.
2413
c2c1be8d
EZ
24142001-05-10 Elena Zannoni <ezannoni@redhat.com>
2415
2c9cd303
EZ
2416 * config/gdbserver.exp (gdb_load): Handle the case
2417 in which the arguments to gdbserver are given in the
2418 baseboard configuration file.
2419 Also handle the case in which the server needs to do a
2420 load.
2421
9671de48
KS
24222001-05-07 Keith Seitz <keiths@cygnus.com>
2423
2424 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2425 set up the display for testing.
2426 (gdbtk_start): Convert all paths to paths that tcl will like.
2427 Export target information to environment.
2428 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2429 necessary.
2430 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2431 (to_tcl_path): New proc to convert a given pathname into
2432 a path acceptible as an argument to a tcl command.
2433 (_gdbtk_export_target_info): New proc to export target info
2434 into the environment for gdbtk testing.
2435 (gdbtk_done): New proc to signal end-of-test.
2436
5a360f47
JB
24372001-05-06 Jim Blandy <jimb@redhat.com>
2438
2439 * restore.c: Make the code of caller0 correspond to its comment.
2440
66c756c6
MS
24412001-05-03 Michael Snyder <msnyder@redhat.com>
2442
2443 * config/sid.exp (gdb_target_sid): Check for error messages.
2444 On error or timeout, don't make expect exit (which will terminate
2445 all subsequent tests); instead just make gdb exit.
2446 (gdb_load): Check for error messages. On error or timeout,
2447 return a negative value.
2448
a966fde5
JB
24492001-04-24 Jim Blandy <jimb@redhat.com>
2450
851c18e0
JB
2451 * gdb.c++/templates.exp: If we see the prompt for the overload
2452 list, but we haven't recognized any of the longer patterns,
2453 arrange for this test to fail, not hang.
2454
a966fde5
JB
2455 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2456 variations.
2457
db144853
MC
24582001-04-22 Michael Chastain <chastain@redhat.com>
2459
2460 * gdb.c++/local.exp: Use the 'runto' library function.
2461 * gdb.c++/namespace.exp: Likewise.
2462 * gdb.c++/overload.exp: Likewise.
2463
3207ec21
KB
24642001-03-26 Kevin Buettner <kevinb@redhat.com>
2465
2466 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2467 * gdb.base/step-line.exp: New file. Test step/next in presence of
2468 #line directives.
2469 * gdb.base/step-line.c: New file. Test program for the above.
2470 * gdb.base/step-line.inp: New file. We pretend that this file has
2471 been transformed by some other tool into step-line.c.
2472
13b57657
JB
24732001-03-21 Jim Blandy <jimb@redhat.com>
2474
2475 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2476 unmangled operator names.
2477
754cbe1c
JB
24782001-03-20 Jim Blandy <jimb@redhat.com>
2479
2480 * gdb.threads/linux-dp.exp: Recognize an additional message
2481 generated by GDB when it doesn't understand how to debug threads
2482 on the target system.
2483
177495c9
AC
24842001-03-19 Andrew Cagney <ac131313@redhat.com>
2485
2486 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2487
f266096b
MC
24882001-03-12 Michael Chastain <chastain@redhat.com>
2489
2490 * gdb.c++/derivation.exp: Use the 'runto' library function.
2491
cac3c2ff
MC
24922001-03-12 Michael Chastain <chastain@redhat.com>
2493
2494 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2495
b6c11a24
MC
24962001-02-24 Michael Chastain <chastain@redhat.com>
2497
2498 * gdb.c++/ref-types.exp: Change handwritten code to library
2499 function 'runto'.
2500
6bae5bce
OF
25012001-03-16 Orjan Friberg <orjanf@axis.com>
2502
2503 * gdb.base/signals.exp: Set count to 0 explicitly.
2504
0015fd9a
MS
25052001-03-15 Mark Salter <msalter@redhat.com>
2506
2507 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2508 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2509 (gdb_load): Add support for additional target_info: gdb_download_size
2510 and gdb_load_timeout.
0015fd9a 2511
fc33412a
DT
2512Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2513
2514 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2515 file -- to prevent failing when the compile fails but we have no
2516 intention of running the tests anyway.
2517
2518 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2519 tests if set.
2520
2521 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2522 integers.
2523
2524 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2525 * gdb.c++/namespace.exp: Ditto.
2526
115f06de
OF
25272001-03-07 Orjan Friberg <orjanf@axis.com>
2528
2529 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2530 * gdb.base/pointers.exp: Relax pattern match of decimals.
2531
b6ba6518
KB
25322001-03-06 Kevin Buettner <kevinb@redhat.com>
2533
2534 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2535 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2536 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2537 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2538 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2539 config/sh.exp, config/sid.exp, config/slite.exp,
2540 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2541 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2542 config/vxworks.exp, config/vxworks29k.exp,
2543 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2544 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2545 gdb.base/arithmet.exp, gdb.base/assign.exp,
2546 gdb.base/async.exp, gdb.base/attach.exp,
2547 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2548 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2549 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2550 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2551 gdb.base/commands.exp, gdb.base/completion.exp,
2552 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2553 gdb.base/constvars.exp, gdb.base/corefile.exp,
2554 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2555 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2556 gdb.base/ending-run.exp, gdb.base/environ.exp,
2557 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2558 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2559 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2560 gdb.base/funcargs.exp, gdb.base/help.exp,
2561 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2562 gdb.base/logical.exp, gdb.base/long_long.exp,
2563 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2564 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2565 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2566 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2567 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2568 gdb.base/regs.exp, gdb.base/relational.exp,
2569 gdb.base/remote.exp, gdb.base/reread.exp,
2570 gdb.base/restore.exp, gdb.base/return2.exp,
2571 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2572 gdb.base/selftest.exp, gdb.base/setshow.exp,
2573 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2574 gdb.base/sigall.exp, gdb.base/signals.exp,
2575 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2576 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2577 gdb.base/step-test.exp, gdb.base/structs.c,
2578 gdb.base/structs.exp, gdb.base/structs2.exp,
2579 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2580 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2581 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2582 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2583 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2584 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2585 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2586 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2587 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2588 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2589 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2590 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2591 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2592 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2593 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2594 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2595 gdb.trace/circ.exp, gdb.trace/collection.exp,
2596 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2597 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2598 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2599 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2600 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2601 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2602 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2603 notices.
2604
dc96c6c7 26052001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2606
2607 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2608 first arg is int not float.
2609
dc96c6c7 26102001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2611
2612 * gdb.base/reread.exp: Unsupported for non-native targets;
2613 doesn't work for remote debugging.
2614
9b0c4aeb
FN
26152001-02-19 Fernando Nasser <fnasser@redhat.com>
2616
2617 From Drew Moseley <dmoseley@redhat.com>
2618 * gdb.base/ending-run.exp: Properly handle the BSP state when
2619 stepping past the end of main.
2620
02aa71d5
MC
26212001-02-19 John Moore <jmoore@redhat.com>
2622
2623 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2624 Converted HPUX fix for non-expected items following multiple
2625 step commands into general solution for all platforms.
2626
1fa449a4
MC
26272001-02-18 Michael Chastain <chastain@redhat.com>
2628
2629 * gdb.c++/classes.exp (do_tests): Change runto statements
2630 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2631 statements demangler agnostic.
2632 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2633 (gdb_virtfunc_restart): Likewise.
2634
b2f9ec70
MC
26352001-02-14 Michael Chastain <chastain@redhat.com>
2636
2637 * gdb.c++/inherit.exp (do_tests): Change runto statements
2638 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2639 statements demangler agnostic.
2640
cf74b8ca
AC
2641Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2642
2643 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2644 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2645 before calling common_routine 15 times'' tests.
2646
99f78f56
MC
26472001-02-11 Michael Chastain <chastain@redhat.com>
2648
2649 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2650 Helps the test script figure out which demangler is in use.
2651 (dm_type_foo_ref): Ditto.
2652 (dm_type_int_star): Ditto.
2653 (dm_type_long_star): Ditto.
2654 (dm_type_unsigned_int): Ditto.
2655 (dm_type_void): Ditto.
2656 (dm_type_void_star): Ditto.
99707966 2657 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2658 Probe the gdb demangler and set variables to accommodate
2659 formatting differences.
2660 (info_func_regexp): New function. Same as info_func, but
2661 matches against a regexp.
2662 (info_func): Match against a literal string.
2663 (print_addr_2): New function. Match against a literal string,
2664 which can be different from the input to gdb.
2665 (print_addr): Simply call print_addr_2 with the same argument twice.
2666 (test_lookup_operator_functions): Use demangler formatting variables.
2667 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2668 the tests in the same order as the C++ class declaration.
2669 (test_paddr_operator_functions): Ditto.
2670 (test_paddr_overloaded_functions): Ditto.
2671 (test_paddr_hairy_functions): Use demangler formatting variables.
2672 Add reference to gdb/19 for related tests.
2673 (do_tests): Call probe_demangler.
2674
1de8f023
KB
26752001-01-30 Kevin Buettner <kevinb@redhat.com>
2676
2677 * gdb.c++/templates.cc (printf): Remove unused function definition.
2678
ca3f91ed
MS
26792001-01-26 Felix Lee <flee@redhat.com>
2680
2681 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2682
26832001-01-25 matthew green <mrg@redhat.com>
2684
2685 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2686 up sid.
2687 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2688
26892001-01-25 matthew green <mrg@redhat.com>
2690
2691 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2692 Deprecate $sid_spawn_id.
2693 (sid_exit): Remove code necessary only for `spawn.'
2694
26952001-01-25 matthew green <mrg@redhat.com>
2696
2697 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2698
fb18ec4a
MC
26992001-01-28 Michael Chastain <chastain@redhat.com>
2700
2701 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2702 to call when tests fail. It takes gdb out of the overloaded
2703 function choice menu back to the main prompt, so that the test
2704 program stays synchronized.
2705 (set_bp_overloaded): New proc to collect all the common
2706 code for setting a breakpoint on an overloaded name. Calls
2707 take_gdb_out_of_choice_menu when needed.
2708 (menu_overload1arg): New variable to collect the repeated
2709 instances of the expected menu for an overloaded name. Change
2710 the regular expression to handle changes in g++ type encoding:
2711 "void" can be either "void" or "", and "unsigned int" can be
2712 either "unsigned int" or "unsigned".
2713 (continue_to_bp_overloaded): Change regular expressions to handle
2714 changes in g++ type encoding.
2715 (no proc): Call take_gdb_out_of_choice_menu when needed.
2716 Remove redundant calls to "info break". Accept either "canceled"
2717 or "cancelled". Change regular expressions in "info break"
2718 calls to handle changes in g++ type encoding. Give all tests
2719 unique strings.
2720
9c646a6e
BE
27212001-01-17 Ben Elliston <bje@redhat.com>
2722
2723 * config/sid.exp: New file.
2724
9549d9c1
AC
2725Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2726
2727 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2728
dc96c6c7 27292000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2730
2731 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2732 Add a RE to accept a non-ascii char if one is ever presented.
2733
b4df4f68
FN
27342000-12-20 Fernando Nasser <fnasser@redhat.com>
2735
297dd0fd 2736 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2737
dc96c6c7 27382000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2739
2740 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2741 in regexp. One '\' does not suffice on Linux.
2742
4a7bddb6
MC
27432000-12-09 Michael Chastain <chastain@redhat.com>
2744
2745 * gdb.base/break.exp (test_clear_command): Use a marker function
2746 rather than 'main' for the test function. Also move this
2747 test to an execution point where the marker function names are
2748 guaranteed to be bound to functions. (Executing tests after a
2749 'finish' from main runs into name conflicts with local names
2750 in __libc_start_main).
2751
dc96c6c7 27522000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2753
2754 * gdb.base/finish.exp: New test for gdb's "finish" command.
2755 * gdb.base/return2.exp: New test for gdb's "return" command.
2756 * gdb.base/return2.c: New source file for above.
2757
dc96c6c7 27582000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2759
2760 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2761 * gdb.base/miscexprs.exp: Ditto.
2762 * gdb.base/pointers.exp: Ditto.
2763 * gdb.c++/derivation.exp: Ditto.
2764 * gdb.c++/local.exp: Ditto.
2765 * gdb.c++/namespace.exp: Ditto.
2766 * gdb.c++/overload.exp: Ditto.
2767 * gdb.c++/ref-types.exp: Ditto.
2768
dc96c6c7 27692000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2770
2771 * gdb.base/constvars.exp: Test result of "up" command.
2772 * gdb.base/miscexprs.exp: Ditto.
2773 * gdb.base/pointers.exp: Ditto.
2774 * gdb.base/scope.exp: Ditto.
2775 * gdb.c++/derivation.exp: Ditto.
2776 * gdb.c++/local.exp: Ditto.
2777 * gdb.c++/namespace.exp: Ditto.
2778 * gdb.c++/overload.exp: Ditto.
2779 * gdb.c++/ref-types.exp: Ditto.
2780
44097287
FN
27812000-11-22 Michael Chastain <chastain@redhat.com>
2782
2783 * mips_pro.exp: Accept either "middle -> top -> main" or
2784 "middle -> main" in the backtrace, because gcc can optimize
2785 tail calls to jumps. Remove setup_xfail for the hppa case.
2786 Add a comment with the original warning messages from PR 3016,
2787 which was filed in 1993, to preserve them for posterity.
2788
9d2e1bab
ND
27892000-11-17 Nick Duffek <nsd@redhat.com>
2790
2791 * lib/gdb.exp (gdb_test): Override timeout with board info.
2792
1aca8eb7
ND
27932000-11-17 Nick Duffek <nsd@redhat.com>
2794
2795 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2796 the second kill and detach messages.
2797
93076499
ND
27982000-11-17 Nick Duffek <nsd@redhat.com>
2799
2800 * configure.in: Add AC_EXEEXT.
2801 * configure: Regenerate.
2802 * Makefile.in (just-check): Export EXEEXT.
2803 * lib/gdb.exp ($EXEEXT): Import from environment.
2804 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2805 expect "maint dump-me" on Cygwin.
2806 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2807 $EXEEXT.
2808
30e87cd3
ND
28092000-11-17 Nick Duffek <nsd@redhat.com>
2810
2811 * gdb.base/break.exp: Test backtrace and finish from called
2812 function on all platforms, not just HP-UX.
2813
dc96c6c7 28142000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2815
2816 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2817 code from gdb_target_monitor, so it can be used independantly
2818 for gdbserver. Also comment out an unnecessary PUTS.
2819
dc96c6c7 28202000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2821
2822 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2823 * gdb.base/corefile.exp: Expect the message "Program is being
2824 debugged already" when we send the "corefile" command, since
2825 the preceeding gdb_load may have connected gdb to a remote target.
2826 * gdb.base/display.exp: Disable hardware watchpoints if new
2827 board info variable "no_hardware_watchpoints" is true.
2828 Replace single-letter commands with more readable ones.
2829 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2830 if new board info variable "no_hardware_watchpoints" is true.
2831 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2832 to see if stdio (printf) testing is possible.
2833 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2834 board info variable "no_hardware_watchpoints" is true. Use new
2835 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2836
39124dea
FN
28372000-11-13 Fernando Nasser <fnasser@redhat.com>
2838
2839 From Orjan Friberg <orjanf@axis.com>:
2840 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2841 in array print pattern match.
2842
a9e2e984
FN
28432000-11-09 Fernando Nasser <fnasser@redhat.com>
2844
2845 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2846 spelling "cancelled" to U.S. spelling "canceled" to match changes
2847 made to gdb.
2848 * gdb.c++/ovldbreak.exp: Ditto.
2849
c7db355b
PS
28502000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2851
2852 * gdb.base/callfuncs.c (main): Moved to end of file, call
2853 t_double_values to initialize the FPU before inferior calls are made.
2854 * gdb.base/callfuncs.exp: Test for register preservation after calling
2855 inferior functions. Add tests for continuining, finishing and
2856 returning from a stop in a call dummy.
2857
dc96c6c7 28582000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2859
2860 * gdb.base/commands.exp: Break up long lines, and re-indent.
2861
dc96c6c7 28622000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2863
2864 * config/gdbserver.exp: Rewritten from the ground up, to make it
2865 compatible with the current dejagnu tree, and to make it work with
2866 the new "gdbserver" in libremote.
2867
dc96c6c7 28682000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2869
2870 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2871 * gdb.base/varargs.exp: Skip entire test if no printf support.
2872 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2873 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2874
dc96c6c7 28752000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2876
2877 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2878 no floating point support.
2879 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2880 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2881 * gdb.base/call-rt-st.exp: Ditto.
2882 * gdb.base/call-strs.exp: Ditto.
2883
bac5fc66
JG
28842000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2885
2886 * gdb.base/sizeof.c: include <stdio.h>.
2887
2888 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2889 'finish', otherwise uncaptured gdb_prompt would potentially
2890 throw remaining test points out of sync.
2891
b22a6027
SB
28922000-07-26 Scott Bambrough <scottb@netwinder.org>
2893
2894 * gdb.base/recurse.exp: Run tests for all targets.
2895 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2896 gnu-oldld case on ARM.
2897 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2898 for ARM targets.
2899
d8231941
AG
2900Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2901
2902 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2903 * gdb.java/configure: Rebuild.
2904
8caabe69
AG
2905Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2906
2907 * gdb.java/jv-exp.exp: New file.
2908
9d273ca3
AG
2909Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2910
2911 * configure: Rebuilt.
2912 * configure.in (configdirs): Add gdb.java.
2913 * gdb.java/jmisc.java: New file.
2914 * gdb.java/jmisc.exp: New file.
2915 * gdb.java/Makefile.in: New file.
2916 * gdb.java/configure: Rebuilt.
2917 * gdb.java/configure.in: New file.
2918 * lib/java.exp: New file.
2919
4f823a66
AC
2920Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2921
2922 * gdb.base/exprs.exp: Test casts to a pointer including over and
2923 underflow.
2924
2391e11d
AC
2925Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2926
2927 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2928 and the compilers sizes.
2929
54602222
ND
29302000-07-09 Nick Duffek <nsd@redhat.com>
2931
2932 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2933 (use_methods): New function.
2934 (main): Call use_methods().
2935 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2936 (do_tests): Call test_method_param_class.
2937
2bec0572
ND
29382000-07-09 Nick Duffek <nsd@redhat.com>
2939
2940 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2941 spelling.
2942 (test_enums): New procedure. Move enum tests from end of script
2943 to here. Set breakpoint on function name instead of line number.
2944 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2945 (enums2): New marker function.
2946 (enums1): New function.
2947 (main): Call enums1(). Move enum tests to enums1().
2948
78492fde
AC
2949Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2950
2951 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2952 compile/link program. Update line numbers.
2953 * gdb.asm/d10v.inc: Define ``startup''.
2954 * gdb.asm/asmsrc1.s: Add definition of _start.
2955
49a2cef8
AC
2956Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2957
2958 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2959
3e6c8688
EZ
29602000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2961
2962 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2963 of 'help maint print' command.
2964
9ff5cbe9
AC
2965Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2966
2967 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2968 they use gdb_expect_list.
2969
17c579bd
AC
2970Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2971
2972 * gdb.base/commands.exp: Use ``set remote
2973 memory-read-packet-size'' instead of ``set endian big'' to test
2974 long commands.
2975
e6d71bf3
DB
29762000-06-03 Daniel Berlin <dan@cgsoftware.com>
2977
2978 * gdb.c++/templates.exp (do_tests): Make all of these work under
2979 g++, and stop skipping them.
2980
2981 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2982 work under g++.
2983
e5f9ba7b
MS
2984 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2985 initialization.
2986
dc96c6c7 29872000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2988
2989 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2990 the regular expression: accept an (almost) arbitrary sequence of
2991 "frames-invalid" and "breakpoints-invalid" messages both before
2992 and after the "starting" message.
2993
dc96c6c7 29942000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2995
2996 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2997
dc96c6c7 29982000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2999
3000 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3001 Relax the regular expression a little, make it pass on Solaris 8.
3002
8216cda9
KB
30032000-05-12 Kevin Buettner <kevinb@redhat.com>
3004
3005 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3006 a call, do not require that gdb stop on the line after the call.
3007 Instead, it is permissible for gdb to stop on the line of the
3008 call itself.
3009
1a570b2f
MS
30102000-05-12 Michael Snyder <msnyder@.cygnus.com>
3011
3012 * gdb.base/break.exp (bp on small function, optimized file):
3013 Add a second pass pattern. The behavior differs here between stabs
3014 and dwarf for one-line functions. Stabs preserves two line symbols
3015 (one before the prologue and one after) with the same line number,
3016 but dwarf regards these as duplicates and discards one of them.
3017 Therefore the address after the prologue (where the breakpoint is)
3018 has no exactly matching line symbol, and GDB reports the breakpoint
3019 as if it were in the middle of a line rather than at the beginning.
3020
dc96c6c7 30212000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3022
3023 * gdb.base/interrupt.exp: Make "pass" message say "send"
3024 rather than "send_gdb" (for consistancy).
3025
7d418785
AC
3026Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3027
3028 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3029 * gdb.c++/templates.cc: Properly check for GCC version number.
3030 * lib/compiler.cc: Likewise
3031
dc96c6c7 30322000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3033
3034 * gdb.base/break.exp: When compiled with -O2 optimization,
3035 gdb may not stop at the first line of main, due to code motion.
3036
dc96c6c7 30372000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3038
3039 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3040 This test depends on parsing the printf output from the target.
3041 Since the sparclet stub doesn't do stdio, this will never work.
3042 * gdb.base/call-rt-st.exp: ditto.
3043 * gdb.base/call-strs: ditto.
3044
dc96c6c7 30452000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3046
3047 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3048
3049 * gdb.base/ending-run.exp: After connecting to a remote target,
3050 but before running, the target will appear to be in a random
3051 location. Specify both a file and a line for breakpoints.
3052 Also, the function that calls main may be called 'init'
3053 rather than 'start'.
3054
a5a51225
EZ
30552000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3056
3057 * gdb.base/help.exp: Update output for add-symbol-file command.
3058
7930cc7c
FN
30592000-04-10 Fernando Nasser <fnasser@cygnus.com>
3060
3061 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3062 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3063
23e37ab1
C
30642000-04-07 J.T. Conklin <jtc@redback.com>
3065
e93c542c
C
3066 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3067
23e37ab1
C
3068 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3069
591b8fa3
PDM
3070Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3071
3072 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3073 values that can be represented exactly.
3074 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3075 above change, and to not check against the directory part of the source
3076 file name.
3077 (step into print_long_arg_list): Likewise.
3078 (print print_small_structs from print_long_arg_list): Likewise.
3079 (print print_long_arg_list): Likewise.
3080
7a495180
EZ
30812000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3082
30b53638 3083 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3084
beb998c6
AC
3085Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3086
3087 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3088
1c689132
DB
30892000-03-25 Daniel Berlin <dan@cgsoftware.com>
3090
3091 * gdb.base/commands.exp (deprecated_command_test): Add test for
3092 deprecate with no arguments.
3093
c1790a9d
JL
30942000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3095
3096 * gdb.base/break.exp: Add new test for setting breakpoints on
3097 optimized code so we can test breakpoints work even when function
3098 prologues may be optimized away
3099
003ba290
FN
31002000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3101
3102 From David Whedon <dwhedon@gordian.com>
3103 * gdb.base/commands.exp : Added command deprecator tests.
3104
6837a0a2
DB
31052000-03-22 Daniel Berlin <dan@cgsoftware.com>
3106
3107 * gdb.base/help.exp: Added test for new apropos command.
3108
b9593231
KB
31092000-03-21 Kevin Buettner <kevinb@redhat.com>
3110
3111 * gdb.base/pointers.c (usevar): New function.
3112 (main): Make sure that global variables v_int_pointer2, rptr,
3113 and y are all referenced someplace in the program by calling
3114 usevar() on them. [Some linkers delete symbols which are
3115 never referenced. The space remains, but there's no way to
3116 get a (symbolic) handle on the variable from the debugger.]
3117
751a959b
EZ
31182000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3119
3120 * gdb.base/printcmds.c: Add typedeffed arrays.
3121
3122 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3123 procedure to test arrays that are typedef'd.
3124
73a93a32
JI
31252000-03-13 James Ingham <jingham@leda.cygnus.com>
3126
3127 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3128 the library directories.
73a93a32 3129
fb40c209
AC
3130Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3131
3132 * configure.in (configdirs): Add sub directory gdb.mi.
3133 * configure: Re-generate.
3134
3135 * gdb.mi: New directory.
beb998c6 3136
ee4dd2c9
AC
31372000-02-25 Scott Bambrough <scottb@netwinder.org>
3138
3139 * gdb.base/long_long.exp: Correct test suite failure when printing
3140 a long long value as a double on ARM platforms.
3141
70f0cc22
JB
31422000-02-16 Jim Blandy <jimb@redhat.com>
3143
3144 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3145 default source file is set properly before running this test.
3146
853819b8
EZ
31472000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3148
3149 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3150 gdbtk/library directory, not in gdbtcl2.
3151
dfcd3bfb
JM
31522000-02-04 Jim Blandy <jimb@redhat.com>
3153
3154 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3155 backslash from regexp pattern.
3156
3157 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3158 procedure. Use it to run all the "continue to bp overloaded"
3159 tests. Note that this changes the names of the tests slightly.
3160 If the breakpoint hit message includes a hex PC value, because
3161 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3162 from the real source code, still consider that a pass.
3163
3164 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3165 XFAIL here if the breakpoint message contains a hex address. Note
3166 similar change on 1999-11-02.
3167
3168 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3169
3170 * gdb.base/ptype.exp: Establish a default source file before
3171 calling get_debug_format.
3172
31732000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3174
3175 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3176
8b93c638
JM
31772000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3178
3179 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3180 of successive stepi commands -- while in the prologue we should see
3181 the function entry bracket.
3182
31832000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3184
3185 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3186 reach __change_mode() when stepping through the end of main().
3187
c5394b80
JM
31882000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3189
3190 * gdb.base/default.exp: Fix expected pattern.
3191 * gdb.base/help.exp: Same.
3192
0d06e24b
JM
31932000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3194
3195 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3196 Don't use xfail's because that affects only the following test.
beb998c6 3197
0d06e24b
JM
3198 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3199 solaris or linux.
3200
3201 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3202
dc96c6c7 32032000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3204
beb998c6 3205 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3206 "A syntax error" rather than "A parse error". Accept both.
3207
32082000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3209
3210 * gdb.base/default.exp: Remove OS dependent string from "target
3211 remote" test.
3212 * gdb.base/help.exp: Same for "help target remote" test.
3213
c3f6f71d
JM
32142000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3215
3216 From Jim Kingdon <kingdon@redhat.com>:
3217
3218 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3219 prompt (cleanup rather than necessity, but still might keep output
3220 from spilling to next test).
3221
32222000-01-02 Fred Fish <fnf@cygnus.com>
3223
3224 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3225 AIX, which defines them in <sys/types.h>.
3226
ed9a39eb 32271999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3228
ed9a39eb
JM
3229 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3230 float" test.
3231
32321999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3233
ed9a39eb 3234 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3235
3236 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3237 outermost frame disallowed".
3238
32391999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3240
3241 * gdb.base/setvar.exp: New tests for setting the value of a struct
3242 with a constant list.
3243
32441999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3245
3246 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3247 require the user to type a cast before setting the value of a struct.
3248
de57eccd
JM
32491999-12-06 Jim Blandy <jimb@cygnus.com>
3250
3251 * gdb.base/default.exp: Expect the new 'info float' command on
3252 all i386 platforms.
3253
3254 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3255 LinuxThreads libraries that don't support debugging.
3256
c2d11a7d
JM
3257Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3258
3259 * gdb.base/remote.c: Fill the buffer with truely random data.
3260 Change the buffer type to ``unsigned char'' to simplify size
3261 arithmetic.
3262
3263 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3264 stub only handles 400-1 byte packets. Verify that the download
3265 worked.
3266
32671999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3268
3269 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3270 tests, using UNRESOLVED for the untested cases. Also, does not wait
3271 for a timeout if the prompt was received before a recognizable pattern.
3272
32731999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3274
3275 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3276
32771999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3278
3279 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3280 watchpoints.
3281
32821999-11-24 Jason Merrill <jason@casey.cygnus.com>
3283
3284 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3285
3286 * gdb.c++/local.exp: Be more flexible in recognizing local class
3287 name mangling. Don't allow horribly truncated method names.
3288 * gdb.c++/derivation.exp: Expect protected inheritance.
3289 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3290 * gdb.c++/virtfunc.exp: Likewise.
3291 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3292 when printing a nested enum.
3293
32941999-11-22 Jim Blandy <jimb@cygnus.com>
3295
3296 * gdb.base/step-test.exp: Properly await GDB's response to setting
3297 a breakpoint on the call to large_struct_by_value.
3298
3299 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3300 just because we have debug info for the `start' function.
3301
33021999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3303
3304 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3305 "Unknown signal" messages, which indicate (on LinuxThreads) that
3306 GDB doesn't know how to debug threads on this system. This is
3307 better than hanging while philosopher 0 dumps chatter into gdb.log.
3308
33091999-11-18 Tom Tromey <tromey@cygnus.com>
3310
3311 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3312
33131999-11-18 Fred Fish <fnf@cygnus.com>
3314
3315 * gdb.base/coremaker2.c: Add sample program for generating
3316 cores that is more self contained than coremaker.c. Eventually
3317 I'll add more code to this and tie it into the testsuite.
3318
4ce44c66
JM
33191999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3320
3321 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3322
33231999-11-10 Jimmy Guo <guo@cup.hp.com>
3324
3325 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3326 from $srcdir/lib/.
3327 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3328 and gdb.c++/.
3329
3330 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3331
beb998c6 3332 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3333 'continue with watch' test point.
3334
33351999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3336
3337 Merged from p2linux-990323-branch:
beb998c6 3338
4ce44c66
JM
3339 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3340
11cf8741
JM
3341Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3342
3343 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3344 {limit,fixed}''. Test ``set download-write-size''.
3345
3346Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3347
3348 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3349 gdb_expect_list.
3350
3351Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3352
3353 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3354
33551999-11-03 Mark Salter <msalter@cygnus.com>
3356
3357 * gdb.base/break.exp: Fix "stub continue" pattern.
3358
33591999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3360
3361 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3362
33631999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3364
3365 * gdb.base/display.exp ("finish"): Add timeout clause.
3366
3367 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3368 plain prompt clause, so this doesn't have to time out in order to
3369 fail.
3370
3371 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3372 breakpoint hit messages include an address.
3373
3374 * gdb.base/display.exp: Don't forget to escape parens in regular
3375 expressions. Unix regexp notatation sucks.
3376
33771999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3378
3379 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3380 order for 'signalled' message.
3381
5c44784c
JM
33821999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3383
3384 From Jimmy Guo <guo@cup.hp.com>:
3385 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3386 * gdb.base/annota1.c: Add code for tests to work with.
3387
33881999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3389
3390 * gdb.base/remote.exp: New test for remote downloading settings.
3391 * gdb.base/remote.c: New file with large .data.
3392
917317f4
JM
33931999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3394
3395 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3396 for LinuxThreads support, merged from the Code Fusion branch.
3397
3398Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3399
3400 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3401 containing exp_continue into a while within an expect. Don't
3402 attempt a start more than three times. Check return value from
3403 gdb_load.
beb998c6 3404
2df3850c
JM
3405Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3406
3407 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3408 a pass case.
3409
2acceee2
JM
34101999-10-01 Kevin Buettner <kevinb@cygnus.com>
3411
3412 * gdb.base/break.c (main): Added a statement that we can step
3413 off of.
3414 * gdb.base/break.exp: Added tests for setting a breakpoint
3415 at an offset and stepping onto a breakpoint.
3416
34171999-10-01 Fred Fish <fnf@cygnus.com>
3418
beb998c6 3419 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3420 gdb output.
3421
c2c6d25f
JM
34221999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3423
3424 * gdb.base/break.exp: Code locations are in hex, don't forget!
3425 (For HP-UX.)
3426
34271999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3428
3429 * condbreak.exp: Use break.c as test program.
3430 * condbreak.c: Remove, redundant with break.c.
3431
34321999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3433
3434 * config/monitor.exp (gdb_target_monitor): Disable X- and
3435 Z-packets if the target needs it.
3436
34371999-09-13 James Ingham <jingham@leda.cygnus.com>
3438
3439 * gdb.c++/overload.exp: Added tests for listing overloaded
3440 functions with function pointers in the arg, explicitly calling
3441 out the version you want.
3442
cff3e48b
JM
34431999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3444
3445 * long_long.exp: Add variations of test cases that work for
3446 targets with 16-bit ints and 32-bit doubles.
3447
d4f3574e
SS
34481999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3449
3450 * break.c (main): Compare a possibly-uninitialized argc with an
3451 unlikely value that fits in 16 bits.
3452
34531999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3454
3455 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3456 0xfeeb, don't want negative numbers if ints are 16 bits.
3457
3458 * lib/gdb.exp (skip_cplus_tests): New proc.
3459 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3460 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3461 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3462 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3463 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3464 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3465 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3466 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3467
3468 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3469
3470Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3471
3472 * gdb.base/corefile.exp (up): Allow a parameter to appear
3473 in the frame that we're going up to.
3474
3475 From Jim Blandy <jimb@cygnus.com>:
3476
3477 * gdb.base/default.exp (info float): Expect some output now.
3478
3479 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3480 returning floating-point values to fail on the x86.
3481 * gdb.base/callfwmall.exp (do_function_calls): Same.
3482
3483 * gdb.base/list.exp (test_listsize): Correct expectations for
3484 listing line 1 with listsize 2. Also, listing a single line
3485 works now, as does listing three lines. [Kevin's note: There
3486 were a number of other cases fixed too where the expectations
3487 differed...]
3488
34891999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3490
3491 * gdb.base/selftest.exp: Add case for when version prints as
3492 constant string instead of char pointer.
3493
104c1213
JM
34941999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3495
3496 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3497 stepping out of main.
3498
3499 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3500 G++ used.
3501
3502 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3503 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3504
3505 * gdb.c++/ovldbreak.exp: Update match string in test that
3506 includes a warning of multiple breakpoints.
3507
35081999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3509
3510 * gdb.base/display.exp: Improve precision of step-after-finish
3511 added yesterday.
3512
3513 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3514 test.
3515
3516 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3517 configs when using G++, not just hppa*.
3518
35191999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3520
3521 * gdb.base/async.c: New file.
3522 * gdb.base/async.exp: New file.
3523
3524Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3525
3526 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3527 PA64.
3528
53a5351d
JM
3529Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3530
104c1213
JM
3531 * gdb.base/display.exp: "finish" can leave us mid-line on many
3532 targets, deal with it. Add a small constant to main, instead of
3533 1000 since main+1000 may not be a valid address in the target.
3534
53a5351d
JM
3535 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3536 on hpux11.
3537
3538 * gdb.base/attach.exp: Handle another hpux11 error message variant
3539 when attaching to a process that does not exist.
3540
35411999-08-19 J.T. Conklin <jtc@redback.com>
3542
3543 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3544 characters in 'continue to 1241' test.
3545
35461999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3547
3548 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3549 stop in print_long_arg_list, define and use a whitespace
3550 variable in print_small_structs test, add an XFAIL for Solaris.
3551 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3552 interested enough to fix.
3553
7be570e7
JM
35541999-08-13 Keith Seitz <keiths@cygnus.com>
3555
3556 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3557 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3558 proc knows about targets other than the natives.
3559 (test_assign): Use "gdb_run_cmd" to "run" the target.
3560 Check that we've actually hit the breakpoint at main.
3561 When we attempt to assign a value to a local variable, check
3562 that the variable is in the current scope, i.e., don't use
3563 a test with an empty result.
3564
3565Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3566
3567 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3568 command.
3569
35701999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3571
3572 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3573 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3574 gdb.compat, gdb.threads-hp.
3575 gdb.hp/configure, gdb.hp/configure.in: New files.
3576 gdb.hp/Makefile.in: Recurse into new subdirs.
3577 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3578 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3579 in object files.
3580 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3581
96baa820
JM
35821999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3583
3584 * gdb.base/display.exp: Help expect by putting a newline in the
3585 funky printf, remove a bogus p/a test.
3586
35871999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3588
3589 * gdb.base/display.exp: Make sure that when we say 'run', we are
3590 connected to the target. This is necessary when running not
3591 natively.
3592
35931999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3594
3595 * gdb.base/step-test.exp: Removed some extraneous messages.
3596
3597 * gdb.base/long_long.exp: Don't run memory examination tests
3598 on little-endian targets (they will need a different set of
3599 results to match).
3600
36011999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3602
3603 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3604 until somebody decides to fix GDB.
3605
3606 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3607 constant as "ULL".
3608 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3609 matches for a couple x/2 commands.
3610
a0b3c4fd
JM
36111999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3612
3613 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3614 by merging in ref-types2 tests.
3615 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3616
3617 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3618 * gdb.c++/Makefile.in: Add standard actions.
3619 (EXECUTABLES): Rename from PROGS, update list.
3620 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3621 from gdb.hp.
3622 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3623 foo and bar locals.
3624 * gdb.c++/anon-union.exp: Fix tests to match.
3625 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3626 expect matches to handle output variations.
3627 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3628 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3629 output, add HP alternatives for new and delete prints.
3630 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3631 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3632 * gdb.c++/demangle.exp: Use $style when reporting failure.
3633 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3634 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3635 match alternatives.
3636 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3637 compilers.
3638 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3639 * gdb.c++/method.exp: Add match alternatives.
3640 * gdb.c++/misc.cc: Add bool types.
3641 * gdb.c++/misc.exp: Add tests for bool types.
3642 * gdb.c++/overload.exp: Add xfails.
3643 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3644 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3645 add some more template parameter tests (only for HP currently).
3646 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3647 * gdb.c++/virtfunc.cc: Add return type and value for main.
3648 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3649 match alternatives.
beb998c6 3650
a0b3c4fd
JM
36511999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3652
3653 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3654
36551999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3656
3657 * gdb.base/signals.exp: Don't expect getting a backtrace from
3658 within a signal handler to fail on Linux.
3659
36601999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3661
3662 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3663 * lib/gdb.exp: Remove some gratuitious semicolons.
3664 (delete_breakpoints): Increase timeout.
3665 (gdb_expect): Add -notransfer option.
3666 (gdb_test): Use -notransfer option.
3667 (get_compiler_info): Add f77 case.
3668 (get_compiler): New proc, split out from gdb_preprocess, add f77
3669 case.
3670 (gdb_preprocess): Call get_compiler.
3671
3672 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3673 * gdb.base/attach.exp, gdb.base/display.exp,
3674 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3675 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3676 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3677 third arg to gdb_test.
3678 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3679 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3680 HP-UX xfails, add others.
3681 * gdb.base/completion.exp: Reflect name change of self-test.
3682 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3683 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3684 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3685 HP failure number.
3686 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3687 useless HP-UX 10.30 references.
3688 * gdb.base/maint.exp: Loosen matches.
3689 * gdb.base/pointers.c (main): Declare more_code.
3690 * gdb.base/pointers.exp: Match on output of a `next'.
3691 * gdb.base/structs.c: Add prototypes.
3692 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3693 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3694
36951999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3696
3697 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3698 command.
3699
37001999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3701
3702 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3703 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3704
3705 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3706 debug info. Deal with lack of signal hanlder info in stack.
3707
3708 From Jim Kingdon <kingdon@redhat.com>:
3709 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3710
5a2468f5
JM
37111999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3712
3713 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3714 gdb.base/foll-vfork.exp: Don't run for crosses.
3715
adf40b2e
JM
3716Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3717
3718 * gdb.base/configure.in: Check for gdbvars.exp instead of
3719 a1-selftest.exp.
3720 * gdb.base/configure: Re-generate.
3721
37221999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3723
3724 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3725 in trying to run first and name is too long.
3726
3727 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3728 pointers2.c and pointers2.exp, respectively.
3729 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3730 doschk happier.
3731
43e526b9
JM
37321999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3733
3734 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3735 callfuncs2.c and callfuncs2.exp.
3736
3737 * gdb.base/list.exp: Remove mistaken xfails.
3738 * gdb.base/list0.h: Add optional prototypes.
3739
9846de1b
JM
3740Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3741
3742 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3743 calling malloc.
3744 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3745 * ptype.exp: Move test for get_debug_format to before its first
3746 use.
3747
37481999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3749
3750 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3751 * gdb.base/annota2.cc, annota2.exp: Move from here.
3752 * gdb.c++/annota2.cc, annota2.exp: To here.
3753 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3754
43ff13b4
JM
3755Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3756
3757 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3758 a consistent format.
3759
085dd6e6
JM
37601999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3761
3762 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3763 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3764 HP compilers, also set the globals $true and $false.
3765
3766 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3767 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3768 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3769 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3770 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3771 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3772 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3773 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3774 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3775 whatis.c} Add C++ compatible function definitions and return
3776 types, add includes for library functions.
3777 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3778 * gdb.base/step-test.c (myglob): Rename from glob.
3779 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3780 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3781 files, move here from gdb.hp.
3782 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3783 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3784 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3785 Adjust line numbers in regexps.
3786
3787 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3788 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3789 instead of 0/1.
3790
3791 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3792 foll-vfork.exp: New files, move here from gdb.hp.
3793 * gdb.base/page.exp: New file, test of pagination command.
3794
3795 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3796 recursion test.
3797 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3798
3799 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3800 gdb.base/solib.exp: Fix compiler invocation process.
3801
3802 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3803 HP-UX 11, turn off overload resolution explicitly.
3804 * gdb.base/commands.exp: Set argument list explicitly, add
3805 watchpoint test.
3806 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3807 them work.
3808 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3809 expressions properly.
3810 * gdb.base/corefile.exp: Loosen the match slightly.
3811 * gdb.base/default.exp: Allow "Error accessing memory" message
3812 also.
3813 * gdb.base/display.exp: Skip over x/0 j if PA64.
3814 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3815 * gdb.base/interrupt.exp: Ditto.
3816 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3817 in use.
3818 * gdb.base/list.exp: Add xfails for HP-UX.
3819 * gdb.base/long_long.exp: Refine some of the numeric matches.
3820 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3821 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3822 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3823 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3824 * gdb.base/ptype.exp: Succeed on more varieties of output.
3825 * gdb.base/scope.exp: Add xfails for HP-UX.
3826 * gdb.base/sect-cmd.exp: Add more cases.
3827 * gdb.base/setvar.exp: Add xfails for HP-UX.
3828 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3829 * gdb.base/signals.exp: Match on void symbolically.
3830 * gdb.base/step-test.exp: Add case for PA64.
3831 * gdb.base/term.exp: Add exit and restart.
3832 * gdb.base/twice.exp: Clean up after self.
3833 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3834 * gdb.base/whatis.exp: Allow more ways to pass tests.
3835
3836 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3837 no longer useful.
3838
3839Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3840
3841 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3842 list of patterns.
3843 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3844 print_double_array(double_array)", "continuing to breakpoint
3845 1018", "print print_double_array(array_d)" and "continuing to
3846 1034" tests.
beb998c6 3847
085dd6e6
JM
38481999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3849
3850 * Makefile.in: Add empty html and install-html targets.
3851
38521999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3853
3854 * config/mt-*: Remove, these haven't been used since 1996.
3855
38561999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3857
3858 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3859 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3860 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3861
9e0b60a8
JM
38621999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3863
3864 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3865 simpler match case for the ptype of the big class.
3866
38671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3868
3869 * gdb.exp: Fix test for gdb_prompt existence.
3870
38711999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3872
3873 * gdb.exp (gdb_test): Add fail after calls to perror.
3874
38751999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3876
3877 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3878
38791999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3880
3881 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3882
0f71a2f6
JM
3883Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3884
3885 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3886 malloc() is linked in.
3887
38881999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3889
3890 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3891 step at end.
3892
3893 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3894
38951999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3896
3897 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3898
cce74817
JM
3899Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3900
3901 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3902 * gdb.base/mips_pro.exp: Likewise.
3903
39041999-06-02 Keith Seitz <keiths@cygnus.com>
3905
3906 * gdb.c++/templates.cc: Change all "new" operators to throw
3907 an exception.
3908 * gdb.c++/cplusfuncs.cc: Likewise.
3909
3910 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3911
3912Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3913
3914 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3915 * gdb.base/ending-run.exp: When stepping out of main, accept a
3916 step into an arbitrary assembler file.
3917
392a587b
JM
39181999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3919
beb998c6 3920 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3921 "breakpoint-invalid" to be printed.
beb998c6 3922 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3923 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3924 * gdb.base/annota2.cc: Initialize a.x to 0.
3925
9e086581
JM
39261999-05-17 Keith Seitz <keiths@cygnus.com>
3927
3928 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3929 when "skip_float_tests" set.
3930 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3931 "print print_ten_doubles", and "step into print_long_arg_list".
3932 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3933 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3934 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3935 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3936 "skip_float_tests" is set.
3937 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3938 when "skip_float_tests" set.
beb998c6 3939
cd0fc7c3
SS
39401999-05-06 Keith Seitz <keiths@cygnus.com>
3941
3942 * gdb.base/annota2.cc: Include stdio.h.
3943
3944Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3945
3946 * gdb.base/crossload.exp: Remove, this has been disabled ever
3947 since BFD stopped including all targets, and cross-GDB gets
3948 plenty of testing anyway.
3949 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3950 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3951 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3952 * gdb.base/README: Remove, was doc for this.
3953 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3954 needed.
3955
b83266a0
SS
39561999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3957
3958 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3959 output.
3960
3961 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3962 * gdb.base/annota2.exp: New file. More annotation tests.
3963 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3964 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3965
39661999-04-23 Angela Marie Thomas <angela@cygnus.com>
3967
3968 * config/cfdbug.exp: New file.
3969
7a292a7a
SS
39701999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3971
3972 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3973 Marcus Daniel's and Dale Hawkins's demangler crashes.
3974
3975 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3976 test_lucid_style_demangling, test_arm_style_demangling,
3977 test_hp_style_demangling): Try Tom Tromey's core-dumping
3978 identifier under each demangling style.
3979
39801999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3981
3982 * gdb.c++/demangle.exp: Include the current demangling style
3983 in all test names.
3984 (current_demangling_style): New global variable.
3985 (set_demangling_style, test_demangling_core, test_demangling,
3986 test_demangling_exact): New functions.
3987 (test_gnu_style_demangling, test_lucid_style_demangling,
3988 test_arm_style_demangling, test_hp_style_demangling): Use those,
3989 instead of calling gdb_test and gdb_test_exact directly.
3990 (catch_demangling_errors): New function, which reports errors
3991 signalled by the demangling test functions in an orderly way.
3992 (do_tests): Use catch_demangling_errors.
3993
39941999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3995
3996 * gdb.base/signals.exp (test_handle_all_print): Use () for
3997 grouping in expressions, not {}.
3998
3999 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4000 initialized yet.
4001
40021999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4003
4004 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4005 are listed.
4006
40071999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4008
4009 * gdb.stabs/weird.exp: Test for CC being defined before
4010 looking at its value.
4011
40121999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4013
4014 * gdb.base/call-ar-st.exp: Remove stray '#'.
4015 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4016 "short int" and "long int".
4017 * gdb.c++/overload.cc: Cast the string added in the previous
4018 change, to mollify finicky HP compiler.
4019 * gdb.hp/reg-test.exp (testfile): Fix file name.
4020 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4021
7a292a7a
SS
4022 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4023 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4024 alternate form of enum ptype.
4025
c906108c
SS
40261999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4027
7a292a7a
SS
4028 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4029 * gdb.hp/*.exp: Change all to run compiler probe only after
4030 passing skip_hp_tests, so as not to waste time on guaranteed
4031 failure.
4032
c906108c
SS
4033 * gdb.c++/overload.cc: Pass string instead of char addr, always
4034 init ccpfoo.
4035 * gdb.c++/templates.cc: Fix syntax error.
4036
7a292a7a
SS
4037Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4038
4039 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4040 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4041 command.
4042
40431999-03-18 James Ingham <jingham@cygnus.com>
4044
4045 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4046
4047 * gdb.c++/method.exp: It was testing an uninitialized int on the
4048 stack and assuming it was positive.
4049
4050 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4051
4052 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4053 keep it from killing the rest of the tests.
7a292a7a
SS
4054 Use gdb_continue_to_end.
4055
4056 * gdb.base/sigall.exp: use gdb_continue_to_end.
4057
4058 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4059
4060 * gdb.base/display.exp: use runto_main, not run.
4061
beb998c6
AC
4062 * gdb.base/default.exp: Check for the current error message in the
4063 r abbreviation test.
7a292a7a
SS
4064 Add strongarm to the targets that know info float.
4065
beb998c6 4066 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4067 run which doesn't work with monitors.
4068
4069 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4070
4071 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4072
4073 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4074 program. Traps the case (in Cygmon) when the program never really
4075 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4076 more places, so I used my name. Sorry Mark...
4077
4078 * config/monitor.exp (gdb_target_monitor): added another
4079 target_info parameter: remotebinarydownload. This will set the
4080 remotebinarydownload flag if this is causing some boards trouble.
4081
40821999-03-18 Mark Salter <msalter@cygnus.com>
4083
4084 * lib/gdb.exp (continue_to_exit): New function.
4085
4086 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4087 * gdb.base/ending-run.exp: Ditto.
4088 * gdb.base/step-test.exp: Ditto.
4089
40901999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4091
4092 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4093 (suggested by Art Haas <ahaas@neosoft.com>).
4094
40951999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4096
4097 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4098
4099Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4100
4101 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4102 descriptions of types (short unsigned int vs unsigned short, etc).
4103
41041999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4105
4106 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4107 a call to strlen; sometimes we do have sources.
4108
41091999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4110
4111 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4112 character, so GDB won't print garbage after its end.
beb998c6 4113
c906108c
SS
4114 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4115 breakpoint there instead. Sometimes GCC emits memcpy to handle
4116 the large structures being passed by value, so we step into that
4117 instead of sum_array_print, which obscures what we're really testing.
4118 * gdb.base/step-test.exp: However, we do want a test that notices
4119 the bizarre steps into memcpy, so do that here. Add check for
4120 stepping into function calls that pass large structures by value.
4121 ("Is that a noun clause, or are you just happy to see me?")
4122 Remove all references to specific line numbers.
4123 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4124 New type and function.
4125 (main): Call large_struct_by_value, passing it a large struct by value.
4126 * lib/gdb.exp (gdb_get_line_number): New function.
4127
4128 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4129 more portable.
4130
7a292a7a
SS
41311999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4132
c906108c
SS
4133 * lib/gdb.exp: Doc fixes.
4134
7a292a7a
SS
41351999-03-05 Nick Clifton <nickc@cygnus.com>
4136
beb998c6 4137 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4138
41391999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4140
c906108c
SS
4141 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4142 commands. They're not germane to this test, and they don't work
4143 that way on remote targets.
4144
3fc11d3e
JM
41451999-03-01 James Ingham <jingham@cygnus.com>
4146
4147 * Changelog entries merged over from gdb development branch.
4148
3fc11d3e
JM
4149 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4150
4151 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4152 for outputting results of test run.
4153
2d4a1622 4154 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4155
4156 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4157
7a292a7a
SS
41581999-02-25 Felix Lee <flee@cygnus.com>
4159
4160 * lib/gdb.exp (debug_format): initialize
4161
c906108c
SS
41621999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4163
4164 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4165 * gdb.base/call-rt-st.c: Ditto.
4166
c906108c
SS
41671999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4168
4169 * gdb.threads/pthreads.exp (horiz): New variable.
4170 (test_startup): Fix regexps that capture thread numbers.
4171
41721999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4173
4174 * gdb.base/smoke.exp: Disambiguate two test case names (both
4175 called ``print'').
4176
4177Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4178
4179 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4180 compilation.
4181
41821999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4183
4184 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4185 actual output formatting.
4186 * gdb.base/smoke.exp: GDB removes leading 0's.
4187 * gdb.base/volatile.exp: Don't check type of remuneration;
4188 that variable is no longer defined in constvars.c.
4189 * gdb.base/step-test.c (main): Exit with explicit exit code.
4190 * gdb.base/step-test.exp: Remove two nexti checks--they are
4191 not portable.
4192
41931999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4194
4195 * gdb.base/help.exp ("help delete display"): Fix test to match
4196 gdb's output.
4197
4198 * gdb.base/long_long.c (known_types): Initialize values to zero.
4199 * gdb.base/long_long.exp: Step one more line
4200 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4201 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4202 unique test case names.
4203
4204Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4205
beb998c6 4206 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4207
4208 * gdb.c++/method.exp: Add missing close brace.
4209
42101999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4211
4212 * gdb.base/maint.exp: Use 'set height 0' to disable page
4213 prompting, not 'set height 400'.
4214
4215 Fix a bunch of timeouts.
4216 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4217 four separate tests, so expect doesn't take forever to match a ton
4218 of text against a regexp with lots of .* forms.
4219 ("maint print psymbols", "maint print symbols"): Make some of
4220 these greps more selective, so that expect doesn't try to wade
4221 through huge piles of output and time out.
4222
4223 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4224
4225 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4226 tests: one which doesn't expect shlib events to be reported, and
4227 another which does, but is XFAIL for all platforms other than
4228 HP/UX.
4229
4230 * gdb.base/break.exp: Teach the test suite that the `catch
4231 fork', `catch vfork', and `catch exec' commands produce error
4232 messages on platforms that don't provide these features.
4233
4234Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4235
4236 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4237 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4238 (shortening names from solib_threshold.exp etc), won't run on
4239 anything but HP-UX for the foreseeable future.
4240 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4241 reflect move.
4242
4243Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4244
4245 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4246 gdb.trace/Makefile.in (clean): Remove all test executables.
4247
4248Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4249
4250 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4251 successfully re-sets breakpoints in shared libraries.
4252 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4253
4254Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4255
beb998c6
AC
4256 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4257 and compiled w/o GCC.
c906108c
SS
4258
4259 * gdb.hp/watch-cmd.exp: ditto.
4260
4261 * gdb.hp/watch-hp.exp: ditto.
4262
4263 * gdb.hp/xdb1.exp: ditto.
4264
4265 * gdb.hp/xdb2.exp: ditto.
4266
4267 * gdb.hp/dbx.exp: ditto.
4268
4269Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4270
4271 * constvars.c: Remove C++-isms.
4272 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4273 with GCC.
4274
4275Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4276
4277 The following changes are part of the HP merge.
4278
4279 * gdb.base/break.exp: new tests to verify that catchpoints for
4280 fork, vfork, and exec don't trigger inappropriately.
4281
4282 * gdb.base/opaque.exp: compile one file at a time, then link.
4283
4284 * gdb.base/signals.exp: be more restrictive about which hppa
4285 systems receive a setup_xfail. new tests.
4286
4287 * gdb.base/solib_threshold.build: new file.
4288 * gdb.base/solib_threshold.exp: new file.
4289 * gdb.base/solib_threshold.link_opts: new file.
4290 * gdb.base/solib_threshold.mk: new file.
4291 * gdb.base/gen_solib_threshold.c: new file.
4292
4293 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4294 tests. New tests for enums inside classes.
4295
4296 * gdb.c++/compiler.cc: indicate support of template debugging.
4297
4298 * gdb.c++/demangle.exp: run hp style demangling tests.
4299
4300 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4301 tests.
4302
4303 * gdb.c++/misc.cc: changes to support new tests.
4304
4305 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4306 to support new tests.
4307
4308 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4309 gcc, then skip these tests.
4310
4311Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4312
4313 The following files are part of the HP merge; some had longer
4314 names at HP, but have been renamed to be no more than 14
4315 characters in length.
4316
4317 * gdb.hp/ambiguous.cc: new file.
4318 * gdb.hp/ambiguous.exp: new file.
4319 * gdb.hp/attach.exp: new file.
4320 * gdb.hp/attach2.exp: new file.
4321 * gdb.hp/classes-hp.exp: new file.
4322 * gdb.hp/ctti.exp: new file.
4323 * gdb.hp/ctti-add.cc: new file.
4324 * gdb.hp/ctti-add1.cc: new file.
4325 * gdb.hp/ctti-add2.cc: new file.
4326 * gdb.hp/ctti-add3.cc: new file.
4327 * gdb.hp/dbx.exp: new file.
4328 * gdb.hp/exception.cc: new file.
4329 * gdb.hp/exception.exp: new file.
4330 * gdb.hp/foll-exec.c: new file.
4331 * gdb.hp/foll-exec.exp: new file.
4332 * gdb.hp/foll-fork.c: new file.
4333 * gdb.hp/foll-fork.exp: new file.
4334 * gdb.hp/foll-vfork.c: new file.
4335 * gdb.hp/foll-vfork.exp: new file.
4336 * gdb.hp/inherit-hp.exp: new file.
4337 * gdb.hp/more-steps.exp: new file.
4338 * gdb.hp/namespace.cc: new file.
4339 * gdb.hp/namespace.exp: new file.
4340 * gdb.hp/optimize.exp: new file.
4341 * gdb.hp/pxdb.c: new file.
4342 * gdb.hp/pxdb.exp: new file.
4343 * gdb.hp/quicksort.exp: new file.
4344 * gdb.hp/reg-test.exp: new file.
4345 * gdb.hp/reg-test.s: new file.
4346 * gdb.hp/sized-enum.c: new file.
4347 * gdb.hp/sized-enum.exp: new file.
4348 * gdb.hp/start-stop.exp: new file.
4349 * gdb.hp/templ-hp.cc: new file.
4350 * gdb.hp/templ-hp.exp: new file.
4351 * gdb.hp/thr-lib.c: new file.
4352 * gdb.hp/thr-lib.exp: new file.
4353 * gdb.hp/thr-lib.h: new file.
4354 * gdb.hp/thr-liblib.c: new file.
4355 * gdb.hp/virtfun-hp.c: new file.
4356 * gdb.hp/virtfun-hp.exp: new file.
4357 * gdb.hp/watch-cmd.exp: new file.
4358 * gdb.hp/watch-hp.exp: new file.
4359 * gdb.hp/xdb1.exp: new file.
4360 * gdb.hp/xdb2.exp: new file.
4361 * gdb.hp/xdb3.exp: new file.
4362
4363Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4364
4365 The following files are part of the HP merge; some had longer
4366 names at HP, but have been renamed to be no more than 14
4367 characters in length.
4368
4369 * gdb.base/ss.h: new file.
4370 * gdb.base/call-ar-st.c: new file.
4371 * gdb.base/call-ar-st.exp: new file.
4372 * gdb.base/call-rt-st.c: new file.
4373 * gdb.base/call-rt-st-exp: new file.
4374 * gdb.base/call-strs.exp: new file.
4375 * gdb.base/ena-dis-br.exp: new file.
4376 * gdb.base/environ.exp: new file.
4377 * gdb.base/long_long.exp: new file.
4378 * gdb.base/sect-cmd.exp: new file.
4379 * gdb.base/shlib-cl2.exp: new file.
4380 * gdb.base/smoke.exp: new file.
4381 * gdb.base/so-impl-ld.c: new file.
4382 * gdb.base/so-impl-ld.exp: new file.
4383 * gdb.base/so-indr-cl.c: new file.
4384 * gdb.base/so-indr-cl.exp: new file.
4385 * gdb.base/varargs.exp: new file.
4386 * gdb.base/volatile.exp: new file.
4387 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4388 * gdb.base/display.exp: new file.
c906108c
SS
4389 * gdb.c++/derivation.exp: new file.
4390 * gdb.c++/local.exp: new file.
4391 * gdb.c++/member-ptr.exp: new file.
4392 * gdb.c++/overload.exp: new file.
4393 * gdb.c++/ovldbreak.exp: new file.
4394 * gdb.c++/ref-types.exp: new file.
4395 * gdb.c++/ref-types2.exp: new file.
4396 * gdb.c++/userdef.exp: new file.
beb998c6 4397
c906108c
SS
4398Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4399
4400 * gdb.base/default.exp: Reflect wording change in remote.c.
4401
dc96c6c7 4402Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4403
4404 * gdb.base/help.exp: Update to reflect current text.
4405
4406Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4407
4408 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4409 they're stack variables and contain garbage.
4410 * gdb.c++/anon-union.exp: new file.
4411
4412 The following changes were made by David Taylor
4413 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4414 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4415 in changes by HP.
4416
4417 * gdb.base/bitops.exp: new file.
4418 * gdb.base/default.exp: change expected messages for catch and
4419 info catch tests to reflect HP merge changes.
4420 * gdb.base/enable-disable-break.exp
4421 * gdb.base/ending-run.c: new file.
4422 * gdb.base/long_long.c: new file.
4423 * gdb.base/maint.exp: new file.
4424 * gdb.base/pointers2.exp: new file.
4425 * gdb.base/shlib-call2.exp: new file.
4426 * gdb.base/solib.exp: new file.
4427 * gdb.base/step-test.c: new file.
4428 * gdb.c++/anon-union.cc: new file.
4429 * gdb.c++/local.cc: new file.
4430 * gdb.c++/member-pointer.cc: new file.
4431 * gdb.c++/method.cc: new file.
4432 * gdb.c++/ref-types.cc: new file.
4433 * gdb.c++/ref-types2.cc: new file.
4434 * gdb.c++/userdef.cc: new file.
beb998c6 4435
c906108c
SS
4436 * gdb.base/scope.exp: compile one file at a time, then link.
4437 * gdb.base/langs.exp: ditto.
4438 * gdb.base/list.exp: ditto.
beb998c6 4439
c906108c
SS
4440Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4441
4442 The following changes were made by David Taylor
4443 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4444 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4445 in changes by HP.
beb998c6 4446
c906108c
SS
4447 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4448 skip tests. When compiling pass c++ flag to gdb_compile.
4449 * gdb.c++/
beb998c6 4450
c906108c
SS
4451 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4452 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4453 (skip_hp_tests): new function.
4454 (gdb_preprocess): new function.
4455
4456 * configure.in (hpdir): decide whether to configure gdb.hp.
4457 * configure: regenerated.
4458
4459 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4460 to delete on clean.
4461 (EXECUTABLES): update to reflect new additions.
4462 * gdb.base/commands.exp: update message expected.
4463 * gdb.base/default.exp: add copyright notice.
4464 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4465 * gdb.base/help.exp: update messages to reflect current text.
4466 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4467 targets for recurse tests.
4468 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4469 skip this file.
4470
4471 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4472 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4473 compilation.
4474 * gdb.c++/misc.exp: ditto.
4475 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4476 run the tests. tell gdb_compile that it's a c++ compilation.
4477
4478 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4479
c906108c
SS
4480 * gdb.base/all-bin.exp: new file.
4481 * gdb.base/arithmet.exp: new file.
4482 * gdb.base/assign.exp: new file.
4483 * gdb.base/completion.exp: new file.
4484 * gdb.base/cond-expr.exp: new file.
4485 * gdb.base/condbreak.exp: new file.
4486 * gdb.base/define.exp: new file.
4487 * gdb.base/dollar.exp: new file.
4488 * gdb.base/environment.exp: new file.
4489 * gdb.base/eval-skip.exp: new file.
4490 * gdb.base/jump.exp: new file.
4491 * gdb.base/logical.exp: new file.
4492 * gdb.base/pointers.exp: new file.
4493 * gdb.base/relational.exp: new file.
4494 * gdb.base/section_command.exp: new file.
4495 * gdb.base/whatis-expr.exp: new file.
4496
4497 * gdb.base/all-types.c: new file.
4498 * gdb.base/call-array-struct.c: new file.
4499 * gdb.base/call-return-struct.c: new file.
4500 * gdb.base/call-strings.c: new file.
4501 * gdb.base/callfuncs2.c: new file.
4502 * gdb.base/condbreak.c: new file.
4503 * gdb.base/constvars.c: new file.
4504 * gdb.base/display.c: new file.
4505 * gdb.base/int-type.c: new file.
4506 * gdb.base/jump.c: new file.
4507 * gdb.base/miscexprs.c: new file.
4508 * gdb.base/pointers.c: new file.
4509 * gdb.base/pointers2.c: new file.
4510 * gdb.base/shmain.c: new file.
4511 * gdb.base/shr1.c: new file.
4512 * gdb.base/shr2.c: new file.
4513 * gdb.base/solib.c: new file.
4514 * gdb.base/solib1.c: new file.
4515 * gdb.base/solib2.c: new file.
4516 * gdb.base/varargs.c: new file.
4517 * gdb.c++/derivation.cc: new file.
4518 * gdb.c++/overload.cc: new file.
4519 * gdb.c++/ovldbreak.cc: new file.
4520 * gdb.hp/attach.c: new file.
4521 * gdb.hp/attach2.c: new file.
4522 * gdb.hp/average.c: new file.
4523 * gdb.hp/compiler.c: new file.
4524 * gdb.hp/compiler.cc: new file.
4525 * gdb.hp/execd-program.c: new file.
4526 * gdb.hp/follow-exec.c: new file.
4527 * gdb.hp/follow-fork.c: new file.
4528 * gdb.hp/follow-vfork-and-exec.c: new file.
4529 * gdb.hp/misc-hp.cc: new file.
4530 * gdb.hp/more-steps.c: new file.
4531 * gdb.hp/optimize.c: new file.
4532 * gdb.hp/quicksort.c: new file.
4533 * gdb.hp/run-hp.c: new file.
4534 * gdb.hp/start-stop.c: new file.
4535 * gdb.hp/sum.c: new file.
4536 * gdb.hp/templates-hp.cc: new file.
4537 * gdb.hp/thread-local-in-lib.c: new file.
4538 * gdb.hp/thread-local-in-lib.h: new file.
4539 * gdb.hp/thread-local-in-lib.lib.c: new file.
4540 * gdb.hp/vforked-program.c: new file.
4541 * gdb.hp/virtfunc-hp.cc: new file.
4542 * gdb.hp/watchpoint-hp.c: new file.
4543 * gdb.hp/xdb.c: new file.
4544 * gdb.hp/xdb0.c: new file.
4545 * gdb.hp/xdb0.h: new file.
4546 * gdb.hp/xdb1.c: new file.
4547
4548Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4549
4550 The following change was made by Edith Epstein
4551 <eepstein@cygnus.com> as part of a project to merge in changes
4552 originally made by HP; HP did not create ChangeLog entries.
4553
4554 * gdb.c++/demangle.exp: changed the expected output for some
4555 ARM-style mangling -- removed second reference to datatype.
4556 For example, maint demangle __dt__11T1__pt__2_cFv
4557 T1<char>::~T1<char>(void)
4558 becomes,
4559 maint demangle __dt__11T1__pt__2_cFv
4560 T1<char>::~T1(void)
4561
4562 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4563
c906108c
SS
4564Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4565
4566 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4567 * gdb.trace/backtrace.exp: Likewise.
4568 * gdb.trace/circ.exp: Likewise.
4569 * gdb.trace/collection.exp: Likewise.
4570 * gdb.trace/deltrace.exp: Likewise.
4571 * gdb.trace/infotrace.exp: Likewise.
4572 * gdb.trace/limits.exp: Likewise.
4573 * gdb.trace/packetlen.exp: Likewise.
4574 * gdb.trace/passc-dyn.exp: Likewise.
4575 * gdb.trace/passcount.exp: Likewise.
4576 * gdb.trace/report.exp: Likewise.
4577 * gdb.trace/save-trace.exp: Likewise.
4578 * gdb.trace/tfind.exp: Likewise.
4579 * gdb.trace/tracecmd.exp: Likewise.
4580 * gdb.trace/while-dyn.exp: Likewise.
4581 * gdb.trace/while-stepping.exp: Likewise.
4582
45831998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4584
4585 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4586
4587Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4588
4589 From Brendan Kehoe:
4590 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4591 int return types.
4592
4593Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4594
4595 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4596 remote dos host testing right.
4597
4598Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4599
4600 * gdb.base/corefile.exp: remove some xfails.
4601
4602Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4603
4604 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4605 have different timestamps.
4606
4607Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4608
4609 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4610 gdb.base/default.exp: Replace "exec" with "executable".
4611
4612Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4613
4614 * gdb.base/default.exp: Change else if to elseif from previous
4615 delta.
4616
4617Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4618
4619 * gdb.base/default.exp: Add brace missing from previous delta.
4620
4621Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4622
4623 * gdb.base/default.exp: Support test for info float for all
4624 varieties of arm toolchain.
4625
dc96c6c7 4626Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4627
4628 * gdb.trace/*.exp: remove "remote_download" command.
4629
dc96c6c7 4630Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4631
4632 * gdb.trace/*.exp: remove -gdwarf from compile.
4633
4634Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4635
4636 * gdb.trace/configure.in(AC_INIT): typo
4637 * gdb.trace/configure: regenerated
4638
dc96c6c7 4639Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4640
4641 * config/m68k-emc.exp: New file.
4642 * lib/<emc-support.exp trace-support.exp}: New files.
4643 * configure.in: add new test directory gdb.trace.
4644 * gdb.trace/{configure configure.in Makefile.in}: New files.
4645 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4646 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4647 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4648 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4649 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4650 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4651 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4652
dc96c6c7 4653Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4654
4655 * gdb.c++/classes.exp: Change all regular expressions to match
4656 arbitrary combinations of newline/carriage-return, so that they
4657 will work equally well on Unix and Windows.
4658 * gdb.c++/inherit.exp: ditto.
4659 * gdb.c++/virtfunc.exp: ditto.
4660
46611998-08-11 Dawn Perchik <dawn@cygnus.com>
4662
4663 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4664
c2d11a7d
JM
4665Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4666
4667 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4668 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4669 to use a0-a3/d0-d3 as needed.
4670
4671Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4672
4673 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4674 * gdb.disasm/am33.exp: Corresponding changes.
4675
c906108c
SS
46761998-07-11 Felix Lee <flee@cygnus.com>
4677
4678 * gdb.base/callfuncs.exp: add cmp10 test.
4679 * gdb.base/callfuncs.c (cmp10): new function.
4680
4681Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4682
beb998c6 4683 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4684 into two parts to get around a synchronization problem in expect.
4685
3fc11d3e
JM
4686Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4687
4688 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4689
4690 * configure.in: Add options for gdbtk testsuite.
4691
4692 * configure: Regenerate.
4693
4694 * gdb.gdbtk: New directory to hold gdbtk tests.
4695
c906108c
SS
4696Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4697
4698 * gdb.fortran/types.exp: Escape brackets in expect patterns
4699 for test_float_literal_types_accepted tests.
4700 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4701 before run test.
4702
c2d11a7d
JM
4703Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4704
4705 * am33.exp: Just compile, do not link the testcase.
4706 * am33.s: Add ".am33" pseudoop to force am33 mode.
4707
c906108c
SS
47081998-06-25 Felix Lee <flee@cygnus.com>
4709
4710 * gdb.base/setshow.exp: make sure $pc is sane.
4711
4712 * gdb.stabs/weird.exp: split expect patterns properly.
4713
c2d11a7d
JM
4714Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4715
4716 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4717 * gdb.disasm/am33.exp: Run it.
4718
dc96c6c7 4719Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4720
4721 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4722 match processing (and eliminate spurious timeouts when running).
4723
dc96c6c7 4724Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4725
4726 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4727 exception test, but conditionalize it on target [mach | gnu].
4728
dc96c6c7 4729Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4730
4731 * gdb.base/overlays.exp: fixup compile line for linker script.
4732
4733Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4734
4735 * gdb.fortran/types.exp: don't guess at float size.
4736
4737Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4738
4739 * gdb.base/exprs.exp: delete test that depends on int size.
4740
4741Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4742
4743 * config/sim.exp: Removed checks for target triplets.
4744 (gdb_target_sim): Use gdb,target_sim_options.
4745
4746Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4747
4748 * gdb.base/reread.exp: New file.
4749 * gdb.base/reread1.c: New file.
4750 * gdb.base/reread2.c: New file.
4751
4752Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4753
4754 * config/sim.exp: Use 'target sim -sparclite' when running
4755 SPARClite programs.
4756
4757Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4758
4759 * gdb.base/structs2.exp: New file.
4760 * gdb.base/structs2.c: New file.
4761
4762Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4763
4764 * gdb.asm/common.inc: New file.
4765 * gdb.asm/d10v.inc: New file.
4766 * asm-source.exp: Pass -I's to gas to find .inc files.
4767 Update line numbers in expected output.
4768 * asmsrc1.s: Rewrite.
4769 * asmsrc2.s: Rewrite.
4770 * configure.in: Create arch.inc symlink.
4771 * configure: Regenerate.
4772 * Makefile.in (distclean): Delete arch.inc.
4773
4774Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4775
4776 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4777 (t_enum_value2): ditto
4778 (t_enum_value3): ditto
4779 (main): ditto
4780Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4781
4782 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4783 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4784 change.
4785 Use gdb_test instead of send_gdb/gdb_expect sequences.
4786
4787Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4788
4789 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4790 not void.
4791
4792Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4793
4794 * gdb.base/branches.c: Code with lots of loops and
4795 subroutines. Used to test gdbs ability to single step through PC
4796 changes, especially to test mips-tdep.c:mips_next_pc
4797
4798Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4799
4800 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4801 more rigorous EGCS C++ error checking.
4802
4803Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4804
4805 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4806 tests.
c906108c 4807 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4808 function when asleep.
c906108c 4809 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4810 for i*86 Linux and SVR4 signal handling problems.
4811 Remove linux xfail for `next to handler in signals_tests_1', fixed
4812 by recent infrun.c change.
c906108c 4813 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4814 stack backtraces.
c906108c
SS
4815 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4816 target.[ch] change.
4817
4818Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4819
4820 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4821 for a newline from gdb before continuing.
4822 (default_gdb_exit): Just look for y or n.
4823 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4824 it does, fail the rests of the tests in the file.
4825
4826Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4827
4828 * config/cygmon.exp: New file.
4829
4830Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4831
4832 * gdb.base/list.exp: Fix problem with "list default lines around
4833 main" test on remote targets.
4834
4835 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4836 run test on remote targets.
4837
4838Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4839
4840 * gdb.asm: New directory.
4841 * configure.in: Configure it.
4842 * configure: Regenerate.
4843 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4844 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4845
4846Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4847
4848 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4849
dc96c6c7 4850Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4851
c906108c
SS
4852 * gdb.base/overlays (several files): Merge the two overlay
4853 managers into one. Change variables (foox, barx, bazx, grbxx)
4854 back into ints but force them to load in their proper sections.
4855
4856Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4857
4858 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4859 on-chip insn memory and IMAP1 to upper 128k.
4860 (D10VCopy): Handle memory regions crossing 16k boundaries.
4861 (D10VCopy): Transfer data in 32 bit chunks.
4862
4863Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4864
4865 * gdb.base/overlays.c (main): Exit normally when result is
4866 correct.
4867
4868 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4869 map. Include space for printf in .text segment.
4870
4871 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4872 updated d10v memory VMA/LMA map.
4873 (D10VCopy): Call D10VTranslate.
beb998c6 4874
c906108c
SS
4875Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4876
4877 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4878
4879 * gdb.base/bar.c (barx, bar): Change variable to small array so
4880 that it won't be put into the .sdata - small data -
4881 section. Update reference.
4882 * gdb.base/baz.c (bazx, baz): Ditto.
4883 * gdb.base/foo.c (foox, foo): Ditto.
4884 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4885
4886 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4887 to be arrays.
beb998c6 4888
dc96c6c7 4889Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4890
c906108c
SS
4891 * gdb.base/overlays.exp: fix up and get working again.
4892 Add tests for backtraces from an overlay function.
beb998c6 4893
c906108c
SS
4894Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4895
4896 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4897 "calling function with watchpoint enabled".
4898
4899Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4900
4901 * gdb.base/break.exp (test_next_with_recursion): Remove
4902 gdb_suppress_tests for d10v-*-*.
4903 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4904 pending review of whether it is useful or not.
4905
4906Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4907
4908 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4909
4910Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4911
4912 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4913 * config/dve.exp: New file to support Densan boards.
4914
4915Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4916
4917 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4918 reads and BSD.
4919
4920Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4921
4922 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4923 response.
4924
4925 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4926
4927Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4928
4929 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4930 test.
4931
4932 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4933 target_sizeof_long and target_bigendian_p.
4934 (structs_by_value, structs_by_reference): Check values according
4935 to targets word size and endianess.
beb998c6 4936
c906108c
SS
4937Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4938
4939 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4940 output.
4941
4942Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4943
4944 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4945 Update test of set args help to match source change.
4946
4947Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4948
4949 * gdb.base/default.exp: Expect help system output to be in
4950 alphabetical order.
4951 * gdb.base/help.exp: Ditto.
4952
4953Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4954
4955 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4956 "i*86-pc-linux-gnu*".
4957 * gdb.base/interrupt.exp: Ditto.
4958 * gdb.base/corefile.exp: Ditto.
4959
4960 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4961 define vxworks when building the testcase.
4962
4963 * gdb.base/ptype.exp: Fix testnames to be unique.
4964 * gdb.base/radix.exp: Ditto.
4965 * gdb.base/term.exp: Ditto.
4966 * gdb.base/whatis.exp: Ditto.
4967 * gdb.c++/classes.exp: Ditto.
4968
4969Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4970
4971 * gdb.base/callfuncs.exp: Fix indentation.
4972
4973 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4974 suppress_flag has been set.
4975 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4976 target feature.
4977
4978Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4979
4980 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4981 the testcase.
4982
4983 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4984 set_debug_traps() and breakpoint().
4985 * gdb.c++/misc.cc (main): Ditto.
4986 * gdb.c++/templates.cc (main): Ditto.
4987 * gdb.c++/virtfunc.cc (main): Ditto.
4988
4989Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4990
4991 * lib/gdb.exp(gdb_step_for_stub): New function.
4992 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4993 exists, reload the executable and do a "continue" instead of
4994 doing a jump.
4995 (runto_main): Use gdb_step_for_stub.
beb998c6 4996
c906108c
SS
4997 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4998 tests to have unique names.
4999 * gdb.base/callfuncs.exp: Ditto.
5000 * gdb.base/commands.exp: Ditto.
5001 * gdb.base/default.exp: Ditto.
5002 * gdb.base/help.exp: Ditto.
5003 * gdb.base/list.exp: Ditto.
5004 * gdb.base/opaque.exp: Ditto.
5005 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5006 similar tests.
beb998c6 5007
c906108c
SS
5008 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5009 * gdb.c++/cplusfuncs.cc: Ditto.
5010 * gdb.c++/virtfunc.cc: Ditto.
5011
5012 * config/monitor.exp: Keep track of the last file we saw, rather
5013 than trying to get the info from gdb.
5014
5015 * gdb.fortran/types.exp: Move comment to previous line.
5016
5017Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5018
5019 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5020 target mode.
5021
5022Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5023
5024 From Bob Manson:
5025 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5026 string from GDB when it connects.
5027
5028 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5029
5030Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5031
5032 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5033 if we can't get a debug format from GDB (we may be testing an
5034 older GDB). Use a 10 second timeout when checking for the format.
5035
5036 * gdb.stabs/weird.exp: Fix quoting.
5037
5038 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5039
5040Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5041
5042 * config/arm-ice.exp: New file.
5043
5044Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5045
5046 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5047 until it has been modified to work with the new testsuite.
5048
99707966 5049 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5050 testcase won't compile, cause all of the testcases in the file to
5051 fail instead.
5052
5053 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5054 (gdb_clear_suppressed): New procedure.
5055 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5056 it contains a positive value.
5057
5058Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5059
5060 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5061
5062 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5063
5064Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5065
5066 * lib/gdb.exp (setup_xfail_format): New function.
5067 (get_debug_format): New function to get debug format.
5068 (debug_format): New global variable to hold last value set
5069 by get_debug_format.
5070 * gdb.base/list.exp: Call get_debug_format and expect some
5071 tests to fail for DWARF 1 and COFF formats.
5072 * gdb.c++/ptype.exp: Ditto.
5073 * gdb.c++/classes.exp: Ditto.
5074 * gdb.c++/cplusfuncs.exp: Ditto.
5075 * gdb.c++/inherit.exp: Ditto.
5076 * gdb.c++/templates.exp: Ditto.
5077 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5078
c906108c
SS
5079Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5080
5081 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5082 host doesn't have a currently-open connection.
5083
5084 * config/sparclet.exp: Cleanups and fixes to make it generic for
5085 any gdb stub target. Handle cases where gdb doesn't respond when
5086 interrupted in a sane fashion.
5087
5088 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5089 same thing in a totally different way.
5090
5091 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5092 setting "timeout".
5093 (gdb_start): We set the global gdb_prompt variable in
5094 default_gdb_init now.
5095
5096Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5097
5098 * gdb.base/printcmds.exp: Fix "check for floating addition"
5099 regexp to accept results within approx +/- .01 of exact value.
5100 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5101
5102Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5103
5104 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5105 properly.
5106 (gdb_expect): Add optional timeout parameter, and add timeout
5107 value to various calls.
5108 (gdb_suppress_tests): Only give one warning message per group.
5109
5110Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5111
5112 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5113 global variables. Handle getting a value for $timeout more
5114 gracefully.
5115
5116Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5117
5118 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5119 initialize.
5120 (default_gdb_init): New procedure; allow gdb_init to be overridden
5121 by a target configuration file.
5122 (gdb_expect): Pass the timeout to remote_expect.
5123
5124 * config/monitor.exp(gdb_load): Fix typo in regexp.
5125
5126Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5127
5128 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5129
5130Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5131
5132 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5133 here. Call gdb_target_exec before rebooting the target, to make
5134 sure the connection to the target is closed.
5135 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5136 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5137 Also detect "Timeout reading from remote" error.
5138
5139 * config/gdbserver.exp: Pass the executable being loaded to
5140 gdb_target_monitor. Don't call gdb_file_cmd here; let
5141 gdb_target_monitor do it.
5142
5143 * gdb.disasm/hppa.exp: Don't use exec_output.
5144
5145Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5146
5147 * gdb.base/list.exp: If we're debugging a non-native target,
5148 try to set the pc register to point to the start of the
5149 program before doing the first list command.
5150
5151 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5152 test_calls after restarting.
5153
5154 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5155 reloading.
5156
5157 * gdb.base/watchpoint.exp: Fix typo.
5158
5159 * gdb.base/setshow.exp: Check for use_gdb_stub.
5160
5161 * gdb.base/break.exp: Fix continue until exit test for the gdb
5162 stub case.
5163 * gdb.base/langs.exp: Ditto.
5164
5165 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5166 gdb_load_offset. If we weren't given a file to load, figure out
5167 what the current file is and use it.
5168
5169 * config/i386-bozo.exp: New file.
5170
5171Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5172
5173 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5174 feature.
5175
5176 * config/proelf.exp: New entry.
5177
5178Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5179
5180 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5181 of regexps.
5182
5183 * gdb.base/watchpoint.exp: Don't run the test_stepping
5184 tests if gdb can't call functions on the target.
5185
5186 * gdb.base/setshow.exp: Don't run the set prompt tests if
5187 the board has gdb_prompt set.
5188
5189Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5190
5191 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5192 * gdb.base/commands.exp: Likewise.
5193 * gdb.base/setshow.exp: Likewise.
5194
5195Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5196
5197 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5198 feature.
5199
5200 * config/i960.exp: New file.
5201
5202Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5203
5204 * gdb.base/funcargs.exp: Check for gdb,short_int target
5205 feature instead of looking for explicit target triplets.
5206
dc96c6c7 5207Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5208
beb998c6 5209 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5210 "p 123DEADBEEF", to check parse_number.
5211 * top.c: change "to enable to enable" to "to enable" in a couple
5212 of help strings.
5213
5214Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5215
5216 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5217 on the mn10300.
beb998c6 5218
c906108c
SS
5219Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5220
5221 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5222 where the test executable is run with explicit args.
5223 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5224
5225Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5226
5227 * gdb.base/run.c: Use FAKEARGV to build test executable that
5228 does not require a command line arg, since most simulators
5229 don't currently support passing such an arg into the simulated
5230 program.
5231 * gdb.base/commands.exp: Change tests to insert the proper
5232 value as the arg to the first recursive factorial call. Change
5233 compilation line to define FAKEARGV at compile time.
5234
5235Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5236
5237 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5238 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5239 function with watchpoint enabled" test.
5240
5241Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5242
5243 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5244 Don't call gdb_test when the command doesn't return to a gdb prompt.
5245
5246 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5247 "Tests restarted" messages.
5248
5249Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5250
5251 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5252
dc96c6c7 5253Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5254
5255 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5256 for INFO SYMBOL; add help tests for OVERLAY commands.
5257 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5258 add tests for OVERLAY commands
5259 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5260 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5261 * gdb.base/sigall.c: add usestubs code frag
5262 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5263
c906108c
SS
5264Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5265
5266 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5267 failures.
5268 (gdb_stop_suppressing_tests): Note that tests have restarted.
5269
5270Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5271
5272 * config/h8300.exp: New file.
5273
5274Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5275
5276 * gdb.base/setshow.exp: Check for the existence of a
5277 feature, not its value.
5278
5279Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5280
5281 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5282
5283 * gdb.base/scope.exp: It's now init0(), not init().
5284
5285 * gdb.base/scope0.c: For now, change init() to be init0().
5286
5287 * config/monitor.exp: Use gdb_serial in preference to serial
5288 or netport.
5289
5290 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5291 and it's not already set.
5292
5293Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5294
5295 * gdb.base/setshow.exp: Only test the run command if the target
5296 isn't using a stub and if it supports argument passing.
5297
5298Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5299
5300 * config/udi.exp(gdb_start): Make sure UDICONF is set
5301 properly before starting gdb.
5302
5303Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5304
5305 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5306 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5307 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5308
5309Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5310
5311 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5312 specialized code to reboot the board, use remote_reboot instead.
5313
5314 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5315
5316 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5317
5318 * config/monitor.exp: Make sure we disconnect from the target.
5319 Also, try a reboot/reload cycle instead of failing if the
5320 load fails.
5321
5322Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5323
5324 * gdb.base/default.exp: Don't set match_max.
5325 * gdb.base/help.exp: Ditto.
5326 * gdb.base/list.exp: Ditto.
5327 * gdb.base/signals.exp: Ditto.
5328
5329 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5330 set, use remote_ld to download the testcase instead of
5331 the GDB loader.
5332
5333Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5334
5335 * config/vr5000.exp: New file.
5336
5337 * config/monitor.exp(gdb_target_monitor): Add pattern for
5338 "Ending remote" to detect errors in connecting.
5339
5340 * gdb.base/setshow.exp: Add .* within auto language test.
5341
5342 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5343 target feature.
5344
5345 * config/monitor.exp(gdb_load): Check for a failure when loading,
5346 and reboot the board if necessary.
5347
5348 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5349 a set of tests. Remove print.* from the patterns being checked.
5350
5351Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5352
5353 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5354 refer to gdb_spawn_id.
5355
5356 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5357 longer used.
5358 * config/sparclet.exp: Ditto.
5359 * config/sparclet-old.exp: Ditto.
5360 * config/slite.exp: Ditto.
5361 * config/sim.exp: Ditto.
5362 * gdb.base/funcargs.exp: Ditto.
5363
5364 * lib/gdb.exp:Remove references to gdb_spawn_id.
5365 (gdb_expect): Move to remote.exp.
5366
5367Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5368
5369 * config/monitor.exp: Detect the "Couldn't establish connection"
5370 message from GDB.
5371
5372Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5373
5374 * gdb.base/bitfields.exp: Use runto instead of explicit
5375 gdb_run_cmd/gdb_expect sequences.
5376
5377 * gdb.base/break.exp(text_next_with_recursion): Add match for
5378 gdb_expect call.
5379
5380 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5381 We also need to handle the "A program is being debugged already"
5382 prompt from gdb. Use gdb_test to set the baud rate.
5383
5384 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5385 to 20000. Really. I mean it.
5386
5387Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5388
5389 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5390 fails. If suppress_flag is set, skip perror message about not
5391 being able to send to GDB.
5392 (send_gdb): If suppress_flag is set, don't try to send commands to
5393 GDB.
5394 (gdb_expect): If suppress_flag is set, always fail immediately.
5395 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5396 (gdb_init): Call gdb_stop_suppressing_tests.
5397 (default_gdb_exit): Ditto.
5398 (default_gdb_start): Ditto.
5399
5400 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5401 gdb_stop_suppressing_tests as appropriate.
5402 * gdb.base/break.exp: Ditto.
5403 * gdb.base/callfuncs.exp: Ditto.
5404 * gdb.base/commands.exp: Ditto.
5405 * gdb.base/exprs.exp: Ditto.
5406 * gdb.base/funcargs.exp: Ditto.
5407 * gdb.base/list.exp: Ditto.
5408 * gdb.base/recurse.exp: Ditto.
5409 * gdb.base/scope.exp: Ditto.
5410 * gdb.base/structs.exp: Ditto.
5411 * gdb.c++/inherit.exp: Ditto.
5412
5413Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5414
5415 * config/vr4300.exp: New file.
5416
99707966
MC
5417 * gdb.*/*.exp: Call gdb_expect instead of expect.
5418
5419 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5420
5421Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5422
5423 * lib/gdb.exp(gdb_init): New function.
5424
5425 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5426 for each individual variable set.
5427
5428 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5429 name.
5430
5431 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5432
5433 * gdb.base/scope.exp: Use gdb_test.
5434
5435 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5436 aborting; the testsuite driver will do that for us (see
5437 gdb_finish). Also, use gdb_test in a few more places.
5438
5439Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5440
5441 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5442
5443Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5444
5445 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5446 and "add_tests" are not at the same address.
5447
5448Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5449
5450 * gdb.base/ptype.exp: Use gdb_test.
5451
5452Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5453
5454 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5455 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5456 left in. No longer expect them to fail.
5457
5458 * gdb.stabs/*.mt; Deleted, no longer used.
5459 * gdb.stabs/configure.in: Remove references to target makefile
5460 frags.
5461 * gdb.stabs/configure: Rebuilt.
5462
5463 * gdb.disasm/*.mt: Deleted, no longer used.
5464 * gdb.disasm/configure.in: Remove references to target makefile
5465 frags. Use "sh3.s" as the unique filename for this directory.
5466 * gdb.disasm/configure: Rebuilt.
5467
5468 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5469 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5470 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5471
5472Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5473
5474 * config/udi.exp: Use mondfe,name instead of remote_host.
5475
5476Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5477
5478 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5479 a function with a watchpoint enabled on the mn10200.
5480
5481 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5482 before trying to create it!
5483
5484Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5485
5486 * config/vx.exp: Use hostname instead of netport.
5487
5488 * config/vxworks.exp: New file.
5489
5490 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5491
5492 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5493 gdb before assuming everything worked. Send a ^C if a timeout
5494 occurs.
5495
5496 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5497 $gdb_spawn_id directly.
5498 (gdb_run_cmd): Try _start as well as start. Use the target feature
5499 gdb,start_symbol as the symbol to start from when jumping.
5500
5501Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5502
5503 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5504 redundant) test.
5505
5506 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5507 it doesn't lose for 16bit integer systems.
5508
5509Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5510
5511 * gdb.fortran/types.exp: If the target doesn't support "double"
5512 data types, then expect "real" types to only be 4 bytes.
5513
5514 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5515 call tests if the target doesn't support inferior function calls.
5516
5517 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5518 in printf tests.
5519
5520Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5521
5522 * gdb.base/help.exp: Disable "help set", "help show", and
5523 "help support". Simplify regexp for "help stack".
5524
5525 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5526 to 60 seconds. Temporarily set match_max to 15000 around the
5527 "info copying" test.
5528
5529 * gdb.base/nodebug.exp: Don't try to do an inferior function
5530 call if the target doesn't support them.
5531 * gdb.base/printcmds.exp: Likewise.
5532 * gdb.base/setvar.exp: Likewise.
5533 * gdb.base/structs.exp: Likewise.
5534 * gdb.c++/templates.exp: Likewise.
5535 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5536
5537 * gdb.base/recurse.exp: Enable for the mn10200.
5538
5539 * configure.in: Do configure gdb.stabs directory for *-*-elf
5540 targets.
5541 * configure: Rebuilt.
5542
5543 * gdb.base/break.exp: Check for gdb,noresults before testing
5544 exit status and/or results from the target.
5545 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5546 * lib/gdb.exp: Remove old (now bogus) initialization of
5547 noinferior, noargs, noresults and nosignals.
5548
5549Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5550
5551 * config/sh.exp: New file.
5552
5553 * config/slite.exp: Try to connect multiple times to the board
5554 before rebooting. Only send a "monitor run" if need_monitor_run
5555 is set.
5556
5557 * gdb.base/break.exp: Don't do the "stub continue" test if
5558 the target has gdb_stub set.
5559
5560 * gdb.base/callfuncs.exp: Increase the timeout.
5561
5562 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5563 if the target has gdb,noinferiorio set.
5564
5565 * gdb.base/list.exp: Increase match_max to 10000 characters.
5566
5567 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5568
5569 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5570 target.
5571
5572 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5573
5574Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5575
5576 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5577 trying to delete the copy of gdb. Catch the file delete so we
5578 don't die if the delete fails; also, the file should be copied to
5579 the host, not to the build.
5580
5581Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5582
5583 * lib/gdb.exp(gdb_test): Surround the result pattern with
5584 parenthesis in case it contains multiple regexps separated
5585 with |.
5586
5587 * gdb.base/watchpoint.exp: Use gdb_test.
5588 * gdb.base/default.exp: Ditto.
5589
5590Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5591
99707966 5592 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5593
c906108c
SS
5594 * gdb.base/scope.exp: Use gdb_test.
5595 * gdb.c++/classes.exp: Ditto.
5596 * gdb.c++/inherit.exp: Ditto.
5597
5598Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5599
5600 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5601 remote_exec instead.
5602 * gdb.base/corefile.exp: Don't be ridiculous.
5603 * gdb.base/*.c: Add missing stub invocations.
5604
5605Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5606
5607 * config/slite.exp: Miscellaneous fixes.
5608
5609 * lib/gdb.exp: Fix runto.
5610
5611 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5612 the target.
5613
5614 * gdb.base/watchpoint.exp: Fix regexp.
5615
5616 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5617 close and wait commands, as the descriptor may now be
5618 invalid. Always call "remote_close host".
5619
5620Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5621
5622 Major rewrite for testsuite revision.
beb998c6 5623
c906108c
SS
5624 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5625 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5626 instead of relying on spawn_id to always contain a valid
5627 spawn id.
5628 (get_compiler_info): New procedure to build the ${binfile}.ci
5629 file, instead of replicating this in N different places.
5630 (gdb_compile): New procedure.
beb998c6 5631
c906108c
SS
5632 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5633 appropriate arguments) instead of compile. Use gdb_test in a lot
5634 more places. Use send_gdb instead of send. Always run gdb_start
5635 at the start of a testcase, as this is no longer done magically.
5636
5637 config/*-gdb.exp: Rename without the -gdb suffix.
5638
5639 config/mips.exp: Use remote_close instead of exit_remote_shell.
5640 config/monitor.exp: Use target_info instead of looking at
5641 baud, timeout, etc.
5642 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5643
5644Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5645
5646 * gdb.c++/templates.exp (test_ptype_of_templates),
5647 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5648 Update expect patterns for destructors and assignment operators
5649 to match corresponding c-typeprint.c changes.
5650 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5651 to destructor breakpoint test, GDB should be able to set the
5652 destructor breakpoint without specifying arguments.
5653
5654Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5655
5656 * gdb.threads/pthreads.exp: Change result for failure to compile due
5657 to lack of pthreads runtime support from an error to simply an
5658 unsupported test, per dejagnu standards.
5659
5660Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5661
5662 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5663 where GDB exits to reduce pattern match time.
5664 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5665
5666 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5667
dc96c6c7 5668Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5669
5670 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5671 * gdb.base/default.exp: ditto.
5672 * gdb.base/nodebug.exp: ditto.
5673 * gdb.base/printcmds.exp: ditto.
5674 * gdb.base/ptype.exp: ditto.
5675 * gdb.base/setvar.exp: ditto.
5676 * gdb.base/structs.exp: ditto.
5677 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5678
5679Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5680
5681 * configure, */configure: Rebuild with autoconf 2.12.
5682
5683Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5684
5685 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5686 use new i*86-pc-linux*-gnu quads.
5687 * gdb.base/corefile.exp: Ditto.
5688 * gdb.base/signals.exp: Ditto.
5689 * gdb.base/sigall.exp: Ditto.
5690 * gdb.base/interrupt.exp: Ditto.
5691
5692 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5693 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5694 RedHat 4.0.
beb998c6 5695
c906108c
SS
5696 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5697 linux. This allows the test case to at least compile on latest
5698 linux, but still not run due to missing the threads runtime library.
5699
5700Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5701
5702 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5703 directory to search gdb directory. Accept and step over conditional
5704 stack alignment code. Consume $prompt in failure cases.
5705 Reset timeout to $oldtimeout instead of some arbitrary value.
5706 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5707 timeout problems with infinite stack backtraces.
5708 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5709 Accept function parameters for linkfunc member.
5710
5711Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5712
5713 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5714 (CXXFLAGS): Remove, unreferenced.
5715 (B_OPTIONS): Add for -B options and add code to initialize with
5716 previous -B options and also add -B option to pick up cross compiled
5717 runtime.
5718 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5719 doing cross compiles.
5720 (target_alias): Declare global.
5721 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5722 to verify that gcc exists in build tree, and if so set CC to that
5723 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5724
c906108c
SS
5725Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5726
5727 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5728 ptype test for anonymous union. Fixup testcase to match
5729 current gcc debug output.
5730
5731Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5732
5733 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5734 force argument to an unsigned long type.
5735
5736Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5737
5738 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5739 tests and anonymous union print/ptype tests.
5740 * gdb.base/list.exp (test_forward-search): Increase timeout by
5741 5 minutes for the "search extremely long line" case.
5742 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5743 completely optional and that the pass/fail messages use the command as
5744 the message if that third arg is a null string.
5745 (gdb_test_exact): Arrange that a null string pattern means match a
5746 null string output rather than any output, which might include random
5747 errors.
5748 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5749 backtrace test.
5750 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5751 always failing and failure is now exposed by gdb.exp changes.
5752
5753Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5754
5755 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5756 weren't being noted.
5757
5758Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5759
5760 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5761 * gdb.stabs/weird.exp: Remove v_comb xfails.
5762
dc96c6c7 5763Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5764
5765 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5766 list.exp scope.exp watchpoint.exp]
5767 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5768
dc96c6c7 5769Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5770
5771 * config/monitor.exp: Increase download timeout to 1000 seconds.
5772
dc96c6c7 5773Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5774
5775 * config/m32r.exp: Increase timeout to 120 seconds.
5776
5777Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5778
5779 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5780 and accept older ordering as obsolescent gcc or gdb.
5781 * gdb.c++/templates.exp: Ditto.
5782 * gdb.c++/virtfunc.exp: Ditto.
5783
5784Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5785
5786 * gdb.base/coremaker.c: Add code to mmap some data so we
5787 can check that it ends up in the core file.
5788 * gdb.base/corefile.exp: Add test to read mmapped data
5789 from core file.
5790
dc96c6c7 5791Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5792
5793 * config/m32r.exp: New file.
5794
5795Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5796
5797 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5798 that cflags can contains -gstabs, and work correctly for other tests.
5799
dc96c6c7 5800Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5801
5802 * gdb.base/setshow.exp: New file, tests show and set.
5803 * gdb.base/setshow.c: New file, tests show and set.
5804 * gdb.base/help.exp: Add test for help set|show annotate.
5805 * gdb.base/default.exp: Add test for set|show annotate.
5806
5807Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5808
5809 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5810 errors unique.
5811 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5812 explicitly.
5813
5814Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5815
5816 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5817 and width commands. This is done elsewhere.
5818 * (gdb_start): Don't call gdb_start_sim here. That's already
5819 done in gdb_load. This fixes lots of failures in default.exp.
5820
5821Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5822
5823 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5824 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5825 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5826 in the same we we treat other failures (since it may be an expected
5827 condition), rather than as an error.
5828 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5829 old test format.
5830
5831Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5832
5833 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5834 (distclean maintainer-clean realclean): No need to remove files
5835 twice. Nuke the duplicates.
5836 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5837 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5838 Remove config.h along with other config files.
5839
5840Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5841
5842 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5843 "p func1 ()" and note that rests of tests are skipped.
5844 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5845 setup_xfails for "print func2::coremaker_local".
5846 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5847 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5848 affected by the previous run test.
5849 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5850 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5851 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5852 "pass int powerset tuple" and "pass modeless int powerset tuple".
5853 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5854 "real write 4" and "real write 8".
5855 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5856 setup_xfails for "print vs1 after tuple assign 2",
5857 "print \$i after tuple assign 2", and
5858 "print vs2 after tuple assign 2".
5859 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5860 meaningful error message and return -1 so the caller can
5861 suppress further tests and avoid a cascade of errors.
beb998c6 5862
c906108c
SS
5863Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5864
5865 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5866 format for printing version.
5867 * gdb.base/default.exp: Ditto.
5868 * gdb.base/interrupt.exp: Fix problem with cascade of
5869 errors if child process dies while calling a function.
beb998c6 5870
c906108c
SS
5871Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5872
5873 * Makefile.in (VPATH): Add
5874 * Makefile.in (Makefile, config.status): Fix rules so things get
5875 remade when necessary.
5876
5877Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5878
5879 * Makefile.in (just-check): Add path to sibling expect dir
5880 to environment variable specified by RPATH_ENVVAR.
5881
5882Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5883
5884 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5885 (just-check): Add shared library paths for libstdc++, tk,
5886 tcl, bfd, and opcodes to the environment variable specified
5887 in RPATH_ENVVAR.
5888 * configure.in: Add support to recognize --enable-shared flag
5889 and generate correct value for RPATH_ENVVAR.
5890 * configure: Regenerated with autoconf.
5891
5892Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5893
5894 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5895 include all osf versions.
5896 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5897 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5898 when target is linux. When failing to build pthreads test
5899 executable, give more meaningful message.
5900 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5901 arg for pthread_create.
beb998c6 5902
c906108c
SS
5903Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5904
5905 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5906 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5907 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5908 and -lpthreads (everybody else).
5909 (test_startup): Fail gracefully if threads are not supported.
5910 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5911 "p/c array_index("abcdef",2)" when not gcc compiled.
5912 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5913 "print func2::coremaker_local" when not gcc compiled.
5914 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5915 "ptype on opaque struct tagname (statically)",
5916 "ptype on opaque struct tagname (dynamically) 1", and
5917 "ptype on opaque struct tagname (dynamically) 2"
5918 for not compiled with gcc.
5919 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5920 backtrace when compiled with gcc.
beb998c6 5921 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5922 than always return success.
5923
5924Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5925
5926 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5927
5928Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5929
5930 * gdb.base/structs.exp: Undo last change.
5931
5932Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5933
5934 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5935 encapsulate all the steps/nexts done during self test, starting
5936 at main, and makes them less sensitive to optimization issues.
5937 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5938 signal handler" test.
5939 * gdb.threads/pthreads.exp: Only run this for native configs.
5940 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5941 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5942 tests.
5943 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5944 for "runto test_calls(void)" test.
beb998c6 5945
c906108c
SS
5946Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5947
5948 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5949 and don't expect address info in breakpoint confirmations.
5950
5951Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5952
5953 * gdb.base/list.exp (test_forward_search): Increase timeout
5954 temporarily by 60 seconds for searching extremely long line,
5955 and then reset to old value when done. Increase expect input
5956 buffer to 10000.
5957
5958Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5959
5960 * gdb.base/list.exp (test_forward_search): Fix to handle very
5961 long source line without overflowing expect's input buffer.
5962
5963Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5964
5965 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5966 "buffer_full".
5967
5968 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5969 "buffer_full".
5970
5971 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5972 "buffer_full".
5973
5974 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5975 "buffer_full".
5976
5977Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5978
5979 * configure.in (configdirs): Add gdb.threads.
5980 * configure: Regenerated with autoconf.
5981 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5982 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5983 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5984
c906108c
SS
5985Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5986
5987 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5988
5989Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5990
5991 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5992 each signal's status in the output of "handle all print".
5993 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5994 the \r\n sequence that immediately precedes the gdb prompt.
5995 * gdb.base/a1-selftest.exp: Save original timeout and restore
5996 after test.
5997
5998Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5999
6000 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6001 symbol.
6002
6003Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6004
6005 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6006
6007Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6008
6009 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6010 timeout by 60 seconds.
6011
6012Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6013
6014 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6015 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6016 error return.
6017
6018Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6019
6020 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6021 gdb initialization, also report how long dejagnu waited. Restore
6022 old timeout before doing error return. Temporarily increase timeout
6023 by 3 minutes to allow for slow startups over heavy NFS use.
6024
6025Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6026
6027 * lib/gdb.exp: Report timeout value for verbosity level 2.
6028 * config/gdbserver.exp: Ditto.
6029 * config/hppro.exp: Ditto.
6030 * config/mips-gdb.exp: Ditto.
6031 * config/monitor.exp: Ditto.
6032 * config/netware.exp: Ditto.
6033 * config/sim-gdb.exp: Ditto.
6034 * config/slite-gdb.exp: Ditto.
6035 * config/udi-gdb.exp: Ditto.
6036 * config/unix-gdb.exp: Ditto.
6037 * config/vx-gdb.exp: Ditto.
6038 * gdb.base/a1-selftest.exp: Ditto.
6039 * gdb.base/a2-run.exp: Ditto.
6040 * gdb.base/break.exp: Ditto.
6041 * gdb.base/corefile.exp: Ditto.
6042 * gdb.base/list.exp: Ditto.
6043 * gdb.base/recurse.exp: Ditto.
6044 * gdb.base/scope.exp: Ditto.
6045 * gdb.base/signals.exp: Ditto.
6046
6047Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6048
6049 * gdb.threads/Makefile.in (docdir): Removed.
6050
6051Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6052
6053 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6054 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6055 @srcdir@.
beb998c6 6056 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6057 autoconf 2.5 or higher.
6058 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6059
6060Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6061
6062 * configure: Regenerated.
6063 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6064 avoid name clashes with SunOS headers.
6065
6066Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6067
6068 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6069
6070Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6071
6072 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6073 prototype information ends up in the compiler info file.
6074
6075Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6076
6077 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6078 attempting to regenerate it. Eliminate use of a temporary file
6079 and just generate the info file directly. Source it immediately,
6080 for consistency of use.
6081 * gdb.base/corefile.exp: Ditto
6082 * gdb.base/exprs.exp: Ditto.
6083 * gdb.base/funcargs.exp: Ditto.
6084 * gdb.base/langs.exp: Ditto.
6085 * gdb.base/list.exp: Ditto.
6086 * gdb.base/mips_pro.exp: Ditto.
6087 * gdb.base/nodebug.exp: Ditto.
6088 * gdb.base/opaque.exp: Ditto.
6089 * gdb.base/ptype.exp: Ditto.
6090 * gdb.base/scope.exp: Ditto.
6091 * gdb.base/setvar.exp: Ditto.
6092 * gdb.base/signals.exp: Ditto.
6093 * gdb.base/whatis.exp: Ditto.
6094 * gdb.c++/templates.exp: Ditto.
6095 * gdb.c++/virtfunc.exp: Ditto.
6096 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6097 whether or not to add -lstdc++ to the compile command line args.
6098
6099Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6100
6101 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6102 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6103 Increase timeout, a lot of single stepping might be needed if the
6104 target has no hardware watchpoints.
6105
6106Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6107
6108 * gdb.base/break.exp: Ignore compiler warnings when compiling
6109 break.c.
6110 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6111 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6112 from remote-sim.
6113 * gdb.base/exprs.exp: Add h8300 xfails.
6114 * gdb.base/funcargs.exp: Likewise.
6115 * gdb.base/nodebug.exp: Likewise.
6116 * gdb.base/printcmds.exp: Likewise.
6117 * gdb.base/ptype.exp: Likewise.
6118 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6119 h8300 xfails.
beb998c6 6120 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6121 on the h8300.
6122 * gdb.base/funcargs.c: Explicitly make last constant argument to
6123 call_after_alloca_subr an unsigned long type.
6124 * gdb.base/return.c: Include stdio.h.
6125
6126Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6127
6128 * config/abug.exp: New file for the older Motorola Bug monitor
6129 that runs on the mvme13x series VME boards.
6130 * config/monitor.exp: Use the new config array for target settings
6131 if they exist.
6132
6133Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6134
6135 * sim-gdb.exp: Make the SH simulator allocate less space when
6136 it is targeted.
6137
6138Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6139
6140 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6141 test.
6142
6143Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6144
6145 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6146 "rs6000-*-*" for "list function in include file" when gcc compiled.
6147 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6148 for "p ctable1[120]".
6149 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6150 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6151 Remove setup_xfail for "rs6000-*-*" for
6152 "print 'scope0.c'::filelocal before run".
6153 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6154 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6155 since some compilers don't allow both options to be given
6156 on the same command line. Create object file and move it.
beb998c6 6157
c906108c
SS
6158Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6159
6160 * gdb.base/corefile.exp: Always regenerate the core file, since
6161 we always regenerate the coremaker program. Detect special case
6162 where registers cannot be read from core file.
beb998c6 6163
c906108c
SS
6164Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6165
6166 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6167 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6168 * gdb.c++/templates.exp: Only match on basename of file since
6169 some formats like xcoff don't encode directory information.
6170 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6171 and rs6000 AIX xcoff targets.
6172 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6173 * configure: Regenerate.
6174 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6175 here, rather than in distclean.
beb998c6 6176
c906108c
SS
6177Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6178
6179 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6180 defined, and use it to compile the test case with -O2. The
6181 native compilation still uses no optimization.
6182 * gdb.base/mips_pro.c: Remove inline assembly code since
6183 it is compiled PIC by default, which results in assembler
6184 warnings that make the testsuite think the compilation
6185 was unsuccessful.
6186
6187Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6188
6189 * gdb.c++/misc.exp: Add note to message for
6190 "print s.a for foo struct" that this is a known gcc 2.7.2
6191 and earlier bug.
6192
6193Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6194
6195 * gdb.base/break.exp: Fix pattern for matching "Delete all
6196 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6197 setup_xfail for deleting all breakpoints test. Fix various
6198 timeout messages to include "(timeout)".
6199 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6200 for "p t_float_values2(3.14159,float_val2)".
6201 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6202 for "continue to call2g" when gcc compiled.
6203 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6204 "up to foo in langs.exp", "show language at foo in langs.exp",
6205 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6206 and "show language at fsub in langs.exp".
6207 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6208 "list line 1 in include file", "list message for lines past EOF",
6209 "list function in include file", "list list0.h:foo", and
6210 "list filename:function; nonexistant function".
6211 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6212 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6213 and "ptype t_char_array" to be for native cc only.
beb998c6 6214
c906108c
SS
6215Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6216
beb998c6 6217 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6218 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6219 "print func2::coremaker_local", and "backtrace in corefile.exp".
6220
6221Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6222
6223 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6224 "bt in signals.exp". This problem only appears when running
6225 the testsuite, and then only intermittently.
6226
6227Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6228
6229 * gdb.base/return.exp (return_tests): Differentiate between
6230 two tests of continuing.
6231
6232Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6233
6234 * */Makefile.in (maintainer-clean): Remove config.log.
6235 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6236 * gdb.c++/Makefile.in (PROGS): Add inherit.
6237 (clean): Remove *.ci.
6238
6239Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6240
6241 * gdb.c++/misc.cc: Add test code from Mike Stump.
6242 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6243
6244Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6245
6246 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6247 to "alpha-*-osf2*" and add comment.
6248 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6249 setup_xfail for "step over execarg initialization" and
6250 "step over corearg initialization".
6251 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6252 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6253 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6254 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6255 "print func2::coremaker_local", and "backtrace in corefile.exp".
6256 * gdb.base/signals.exp: Build and source signals.ci.
6257 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6258 to be for gcc only.
6259 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6260
c906108c
SS
6261Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6262
6263 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6264 Feb 3 procfs.c change.
6265
6266Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6267
6268 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6269
6270Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6271
6272 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6273 from dejagnu's apparent default of 10 seconds, which gives random
6274 results when running the tests over NFS on moderately loaded systems.
6275 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6276
6277Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6278
6279 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6280 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6281 result reports.
6282
6283Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6284
6285 * configure.in (CY_AC_PATH_TCLH): Remove.
6286 * configure: Regenerate.
6287
6288Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6289
6290 * gdb.c++/Makefile.in (clean): Add missing '{'.
6291
6292Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6293
6294 * lib/gdb.exp: Provide a default value for noinferior.
6295
6296 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6297 Load libgloss.exp.
6298
6299Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6300
6301 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6302 the executable, not the .o to run the tests from.
6303
6304Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6305
6306 * gdb.base/break.exp: Don't test for program exit or exit status
6307 if $noresults if nonzero.
6308 * gdb.base/langs.exp: Likewise.
6309 * gdb.base/watchpoint.exp: Likewise.
6310
6311 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6312 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6313 trying to compile the testcase.
6314
6315Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6316
6317 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6318 * gdb.base/signals.exp (continue to handler): Likewise.
6319
6320Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6321
6322 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6323
6324 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6325
6326Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6327
6328 * gdb.base/corefile.exp: Recognize "not found" as failure
6329 when trying to determine if a core file was generated.
6330 If no core file was generate the first time, try again without
6331 the ulimit -c to work around braindamaged shells.
6332
6333Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6334
6335 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6336 [] tests with "test" and enclose string in quotes.
6337 * gdb.stabs/configure: Rebuild
beb998c6 6338
c906108c
SS
6339Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6340
6341 Changes in sync with expect:
6342 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6343 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6344 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6345 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6346 argument to AC_REQUIRE.
6347 * configure: Regenerated.
6348
6349Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6350
6351 * gdb.base/corefile.exp: When generating a core, discard any
6352 error messages about ulimit not found and the "core dumped"
6353 message from the shell that runs the coredumper.
6354
6355Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6356
6357 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6358
6359 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6360 which sed script to run. Expect failure for v_comb test
6361 on PA targets too.
beb998c6 6362
c906108c
SS
6363Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6364
6365 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6366 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6367
6368Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6369
6370 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6371 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6372 "sparc-sun-solaris*" xfails for "p v_comb".
6373 * lib/gdb.exp (default_gdb_start): Fix typo.
6374 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6375 messages to not include the full program name that caused
6376 the core dump since some systems (such as solaris) apparently
6377 truncate this path to about 80 characters.
6378 When generating a core file first try increasing the core file
6379 size limit to unlimited since some systems may default it to
6380 zero, and it is harmless to try it. Move the test for failing
6381 to generate a core file to where it will actually get executed.
6382 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6383 new gdb result from g++ debug info improvements and make old
6384 pattern obsolescent. Also account for size_t differences
6385 (may be int or long).
6386 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6387 initialization before function call is placed in the delay slot
6388 and thus appears to be skipped over by commands such as "next".
6389
6390Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6391
6392 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6393
6394Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6395
6396 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6397 input source file; fix code to compile test to deal with this
6398 convention.
6399 * gdb.c++/*.exp: Likewise.
6400
6401Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6402
6403 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6404 "bt in signals.exp".
6405
6406Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6407
6408 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6409 "step over execarg initialization" and
6410 "step over corearg initialization".
6411
6412Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6413
6414 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6415 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6416
6417Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6418
6419 From Rob Savoye (rob@poseidon.cygnus.com)
6420 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6421 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6422 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6423 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6424 configure.in}: Major reworking for autoconfig.
6425 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6426 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6427 New files.
6428 * config/unix-gdb.exp: Make GDB global.
6429 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6430 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6431 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6432 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6433 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6434 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6435 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6436 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6437 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6438 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6439 pr-8136.exp, result.exp, string.exp, tuples.exp},
6440 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6441 to returns as necessary, arrange for test to compile own testcase
6442 executable.
6443 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6444
c906108c
SS
6445Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6446
6447 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6448 clear_xfail at end of test which might not call either pass or fail.
6449 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6450 "backtrace through signal handler".
6451
6452Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6453
6454 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6455 continuing from a job control stop signal.
6456 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6457
6458Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6459
6460 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6461 * gdb.base/corefile.exp: Likewise.
6462 * gdb.base/funcargs.exp: Likewise.
6463
6464Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6465
6466 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6467 * config/monitor.exp: Add support for setting baud rate.
6468
6469Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6470
6471 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6472 i*86-*-linux* xfails for "backtrace through signal handler".
6473 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6474 "print func2::coremaker_local".
6475 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6476 alpha-dec-osf2* xfail for
6477 "delete all breakpoints when none".
6478
6479Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6480
6481 * gdb.base/break.exp: Change test that deletes all breakpoints
6482 when no user breakpoints are installed. A post 4.15 change
6483 causes gdb to no longer prompt in this case.
6484
6485Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6486
6487 * gdb.base/return.exp (return_tests): Change xfail for test
6488 "correct value returned double test" to stop xfailing at
6489 Solaris 2.5. Apparently the bug has been fixed.
6490
6491Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6492
6493 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6494 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6495
6496Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6497
6498 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6499 * gdb.disasm/hppa.s: Corresponding changes.
6500
6501Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6502
6503 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6504 makefile fragment.
6505 * config/mt-hpux: Deleted.
6506
6507Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6508
beb998c6 6509 * Many files: When warning about suppressed tests due to a
c906108c
SS
6510 nonexistant test binary, avoid incrementing the warning count.
6511
6512Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6513
6514 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6515
c906108c
SS
6516Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6517
6518 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6519 "sparc-*-solaris2*".
6520
6521Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6522
6523 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6524 Add global and local variables and initialize them.
6525 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6526 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6527 extracts the file name and terminating signal from the core file.
6528 * TODO: Remove note about tests for correct mapping of corefile.
6529 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6530 from optimizing it away.
6531 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6532 handles common blocks.
6533
6534Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6535
6536 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6537 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6538
6539Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6540
6541 * Makefile.in (maintainer-clean): New target, synonym for
6542 realclean.
6543 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6544 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6545 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6546 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6547 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6548 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6549
6550Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6551
6552 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6553 xfails when not gcc compiled for "print foo::funclocal".
6554 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6555 "print foo::funclocal at foo",
6556 "print 'scope1.c'::foo::funclocal at foo",
6557 "print foo::funclocal_bss at foo",
6558 "print 'scope1.c'::foo::funclocal_bss at foo",
6559 "print foo::funclocal_ro at foo",
6560 "print 'scope1.c'::foo::funclocal_ro at foo",
6561 "print bar::funclocal at foo" and
6562 "print 'scope1.c'::bar::funclocal at foo".
6563 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6564 gcc compiled for "print foo::funclocal at bar".
6565 Expand all messages to ensure that they identify that
6566 the test is at bar().
6567 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6568 gcc compiled for:
6569 "ptype on opaque struct pointer (statically)",
6570 "ptype on opaque struct tagname (statically)",
6571 "ptype on opaque struct pointer (dynamically) 1",
6572 "ptype on opaque struct tagname (dynamically) 1",
6573 "ptype on opaque struct pointer (dynamically) 2" and
6574 "ptype on opaque struct tagname (dynamically) 2
6575 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6576 gcc compiled for:
6577 "p datalocal"
6578 "whatis datalocal",
6579 "ptype datalocal",
6580 "p bsslocal",
6581 "whatis bsslocal", and
6582 "ptype bsslocal".
6583 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6584 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6585 when not gcc compiled.
6586 * gdb.base/funcargs.exp (float_and_integral_args): Add
6587 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6588 compiled.
6589 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6590 "backtrace from call6a" when not gcc compiled.
6591 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6592 "backtrace from call7a" when not gcc compiled.
6593 * gdb.base/callfuncs.exp (do_function_calls):
6594 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6595 "p t_char_array_values(char_array_val2,char_array_val1)",
6596 "p t_char_array_values(char_array_val1,char_array_val2)",
6597 "p t_char_array_values("carray 1","carray 2")",
6598 "p t_char_array_values("carray 1",char_array_val2)",
6599 "p t_char_array_values(char_array_val1,"carray 2")",
6600 "p sum_args(1,{2})",
6601 "p sum_args(2,{2,3})",
6602 "p sum_args(3,{2,3,4})",
6603 "p sum_args(4,{2,3,4,5})"
6604 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6605 "backtrace in corefile.exp" when not gcc compiled.
6606
6607Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6608
6609 * gdb.base/signals.exp: Rewrite `handle all print' test as
6610 a procedure. Accept blanks or TABs as whitespace, increase
6611 timeout and expect input buffer size for the large output
6612 from the command. Remove "i*86-*-bsdi2.0" xfail.
6613
6614Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6615
6616 * gdb.base/setvar.exp: Add new testcases for truncation when
6617 assigning invalid values to bitfields.
6618
6619Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6620
beb998c6 6621 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6622 mips-sgi-irix* xfail for
6623 "call inferior func with struct - returns char *"
6624 and fix test so that an optional (unsigned char *) cast is
6625 accepted in the result.
6626
6627Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6628
6629 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6630 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6631 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6632 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6633 that accidentally got checked in.
6634
6635Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6636
beb998c6 6637 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6638 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6639 compiled test.
6640 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6641 Add mips-sgi-irix5* xfail for not gcc compiled.
6642 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6643 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6644 "p top", "whatis top", "p middle", and "whatis middle".
6645 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6646 "whatis signed char" for not gcc compiled.
6647 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6648 "set variable signed char=-1 (-1)" and
6649 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6650 * gdb.base/funcargs.exp (float_and_integral_args):
6651 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6652 Add mips-sgi-irix* xfail when not gcc compiled for
6653 "continue to call2b".
6654 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6655 "continue to call2g".
6656 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6657 "backtrace from call6a"
6658 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6659 "backtrace from call7k".
6660 Add mips-sgi-irix5* xfail when not gcc compiled for
6661 "backtrace from call7a".
6662 (localvars_after_alloca): Fix gdb_test cmds for
6663 "print * after runto ...".
6664 Remove rs6000-*-* xfails for
6665 "print i after runto localvars_after_alloca" and
6666 "print l after runto localvars_after_alloca"
6667 for all compilers.
6668 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6669 when not compiled with gcc, for:
6670 "print signed char == (minus)",
6671 "print signed char != (minus)",
6672 "print signed char < (minus)",
6673 "print signed char > (minus)".
6674 * gdb.base/callfuncs.exp (do_function_calls):
6675 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6676 "call inferior func with struct - returns char *".
beb998c6 6677 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6678 "correct value returned double test" to include Solaris 2.4.
6679 * gdb.base/funcargs.exp (float_and_integral_args):
6680 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6681
c906108c
SS
6682Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6683
6684 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6685 enumeration bitfields if compiling with GNU C.
6686 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6687 to empty' prompt.
6688
6689Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6690
6691 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6692 test for PRO targets.
6693
6694 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6695 breakpoints in the inferior at any given time by making
6696 two groups of breakpoints for call2*, call6* and call7*
6697 tests.
6698
6699Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6700
6701 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6702 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6703 from optimizing it away.
6704 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6705 "call inferior func with struct".
6706
6707Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6708
6709 * configure.in: Only configure gdb.chill for particular targets.
6710
6711Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6712
6713 * gdb.base/Makefile.in: Add action to .c.o transformation
6714 rule that generates a .ci file for each .o file and remove
6715 explicit .c.o rules except for callfuncs.o.
6716 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6717 generates a .ci file for each .o file and remove explicit
6718 .cc.o rules.
6719 (clean): Remove *.tmp *.ci files.
6720 (EXECUTABLES): Remove templ-info.exp.
6721 * gdb.base/compiler.c: New file.
6722 * gdb.c++/compiler.cc: New file
6723 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6724 Change rs6000-*-* xfail for
6725 "print 'scope0.c'::filelocal_ro" and
6726 "print 'scope1.c'::filelocal" and
6727 "print 'scope1.c'::filelocal_bss" and
6728 "print 'scope1.c'::filelocal_ro" and
6729 "print 'scope1.c'::foo::funclocal" and
6730 "print 'scope1.c'::foo::funclocal_ro" and
6731 "print 'scope1.c'::bar::funclocal" and
6732 "print 'scope0.c'::filelocal_ro" and
6733 "print 'scope1.c'::filelocal at foo" and
6734 "print 'scope1.c'::filelocal_bss at foo" and
6735 "print 'scope1.c'::filelocal_ro at foo" and
6736 "print 'scope1.c'::foo::funclocal at foo" and
6737 "print 'scope1.c'::foo::funclocal_bss at foo" and
6738 "print 'scope1.c'::foo::funclocal_ro at foo" and
6739 "print 'scope1.c'::bar::funclocal at foo" and
6740 "print 'scope0.c'::filelocal_ro" and
6741 "print 'scope1.c'::filelocal" and
6742 "print 'scope1.c'::filelocal_bss" and
6743 "print 'scope1.c'::filelocal_ro" and
6744 "print 'scope1.c'::foo::funclocal" and
6745 "print 'scope1.c'::foo::funclocal_bss" and
6746 "print 'scope1.c'::foo::funclocal_ro" and
6747 "print 'scope1.c'::bar::funclocal" and
6748 "print 'scope1.c'::bar::funclocal_bss"
6749 to only be xfail'd when not compiled with gcc.
beb998c6 6750 Add rs6000-*-* xfail for
c906108c
SS
6751 "print 'scope0.c'::filelocal_bss before run"
6752 when compiled with gcc.
6753 (test_at_main): Add rs6000-*-* xfail for
6754 "print filelocal_ro in test_at_main"
6755 when compiled with gcc.
6756 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6757 Add rs6000-*-aix* xfail for
c906108c
SS
6758 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6759 "ptype t_char_array", not compiled with gcc.
6760 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6761 xfail for "list foo (in include file)" when gcc compiled.
6762 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6763 (integral_args): Add rs6000-*-* xfail for
6764 "run to call0a" if not compiled with gcc.
6765 (unsigned_integral_args): Add rs6000-*-* xfail for
6766 "run to call1a" if not compiled with gcc.
6767 (float_and_integral_args): Add rs6000-*-* xfail for
6768 "run to call2a" if not compiled with gcc and for
6769 "continue to call2b" for any compiler.
6770 Add rs6000-*-* xfail to
6771 "print f1 after run to call2a" for gcc compiled.
6772 (discard_and_shuffle): Add rs6000-*-* xfail for
6773 "run to call6a".
6774 (shuffle_round_robin): Add rs6000-*-* xfail for
6775 "backtrace from call7a" if not compiled with gcc.
6776 Add rs6000-*-* xfail for
6777 "backtrace from call7b" if compiled with gcc.
6778 (call_after_alloca): Add rs6000-*-* xfail for
6779 "print c in call_after_alloca" and
6780 "print s in call_after_alloca" and
6781 "backtrace from call_after_alloca_subr"
6782 if not compiled with gcc.
6783 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6784 "print c in localvars_in_indirect_call" and
6785 "print c in localvars_in_indirect_call" and
6786 "backtrace in indirectly called function" and
6787 "stepping into indirectly called function"
6788 if not compiled with gcc.
6789 (localvars_after_alloca): Add rs6000-*-* xfail for
6790 "print c after runto localvars_after_alloca" and
6791 "print s after runto localvars_after_alloca" and
6792 "print i after runto localvars_after_alloca" and
6793 "print l after runto localvars_after_alloca"
6794 for all compilers.
6795 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6796 than whatis-info.exp.
6797 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6798 than opaque-info.exp.
6799 Setup rs6000-*-* xfail for
beb998c6 6800 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6801 "ptype on opaque struct pointer (dynamically)" when
6802 not compiled with gcc.
6803 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6804 rather than callf-info.exp.
6805 (do_function_calls): Add clear_xfail for rs6000-*-* for
6806 "p t_float_values2(3.14159,float_val2)". Seems to work
6807 fine there, both with xlc and gcc. Need to find out what
6808 it is doing right and fix other platforms.
6809 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6810 "call inferior func with struct - returns int",
6811 "call inferior func with struct - returns long",
6812 "call inferior func with struct - returns float",
6813 "call inferior func with struct - returns double",
6814 "call inferior func with struct - returns char *",
6815 but only if not gcc compiled (presumes xlc compiled).
6816 Change rs6000-*-* xfails for
6817 "call inferior func with struct - returns char" and
6818 " call inferior func with struct - returns short" to only
6819 xfail if not using gcc.
6820 (clean mostlyclean): Remove *.ci and *.tmp files.
6821 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6822 than templ-info.exp.
6823 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6824 Add rs6000-*-* xfail for "up to foo in langs.exp"
6825 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6826 when not gcc compiled.
beb998c6 6827
c906108c
SS
6828Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6829
6830 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6831 * gdb.base/corefile.exp: Likewise.
6832 * gdb.base/list.exp: Likewise.
6833 * gdb.base/scope.exp: Likewise.
6834 * gdb.base/siganls.exp: Likewise.
6835
6836 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6837 compiler output.
6838 * gdb.base/whatis.exp: Likewise.
6839
6840Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6841
6842 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6843 failure (opcode table has been fixed to match reality).
6844
6845Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6846
6847 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6848 "call inferior func with struct - returns char",
6849 "call inferior func with struct - returns short"
6850
6851 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6852 "print 'scope0.c'::filelocal at main",
6853 "print 'scope0.c'::filelocal_bss in test_at_main",
6854 "print 'scope0.c'::filelocal at foo",
6855 "print 'scope0.c'::filelocal_bss in test_at_foo",
6856 "print 'scope0.c'::filelocal at bar",
6857 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6858
c906108c
SS
6859 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6860 in source file 1". This bug seems to have been fixed with both
6861 gcc and native cc (was native assembler bug?).
6862
6863Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6864
6865 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6866 "backtrace through signal handler" to "i*86-*-sysv4*".
6867 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6868 continue" case. Add "known SVR4 bug" to fail message.
6869 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6870 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6871 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6872 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6873 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6874 "up to foo in langs.exp", "show language at foo in
6875 langs.exp", "up to cppsub_ in langs.exp", "show
6876 language at cppsub_ in langs.exp", "up to fsub in
6877 langs.exp", and "show language at fsub in langs.exp".
6878 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6879 "bactrace in corefile.exp".
6880 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6881 "call inferior function with struct - returns float" and
6882 "call inferior function with struct - returns double".
beb998c6 6883
c906108c
SS
6884Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6885
6886 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6887 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6888 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6889 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6890
6891Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6892
6893 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6894 (or overriden) "CHILL" macro rather then bare "gcc".
6895 Also look for ../../gcc/xgcc since that is what we will
6896 actually need, not "Makefile". Remove following assignment
6897 of CHILL to CHILL_FOR_TARGET because that results in
6898 recursive definition.
6899
6900Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6901
6902 * gdb.base/corefile.exp: Change xfail for backtrace in
6903 corefile.exp from linuxaout to all linux.
6904 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6905 cases where we miss the breakpoint at the signal handler
6906 for some reason. Setup xfail for linuxoldld/linuxaout and
6907 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6908 hitting SIGURG breakpoint.
6909 * gdb.base/signals.exp: Setup xfail for "next" acting like
6910 continue to add linuxoldld. Setup xfail for all linux for
6911 "next to handler in signals_tests_1", "backtrace in
6912 signals_tests_1", "continue to func1", "pass SIGUSR1",
6913 and continue to handler".
6914
6915Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6916
6917 * Update all FSF addresses except those in COPYING* files.
6918
6919Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6920
6921 * gdb.base/a2-run.exp: Change messages to be more explicit about
6922 the status of args, and quote binfile in results.
6923
6924Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6925
6926 * gdb.base/callfuncs.exp: Add tests for passing structs to
6927 inferior functions and return various types.
6928 * gdb.base/callfuncs.c: Add functions to receive a struct
6929 and return a member of the struct, in various types.
6930
6931Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6932
6933 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6934
6935Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6936
6937 * config/vxworks29k.exp: New file, sources vxworks.exp.
6938
6939Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6940
6941 * config/gdbremote.exp: New file. Testing framework using
6942 gdbserver.
6943
6944Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6945
6946 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6947 "call function when asleep" and "send end of file".
6948 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6949 for "backtrace in corefile.exp".
6950 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6951 for "backtrace through signal handler".
6952 * gdb.base/corefile.exp: Make sure we actually generate a core file
6953 before trying the core tests. Some systems allow the user to suppress
6954 generation of core files and default to that (linux for example).
6955 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6956 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6957
6958Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6959
6960 * gdb.threads: New directory with some crude multi-threaded
6961 gdb tests (step.exp and step2.exp).
6962 * config/mt-lynx (STEP_EXECUTABLE): Define.
6963 (THREADFLAGS): Define.
6964
6965Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6966
6967 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6968
6969 * gdb.base/signals.exp: Disable whole file for lynx until
6970 further notice.
6971
6972 * gdb.base/signals.exp: xfail test where "next" acts like
6973 "continue" for lynx.
6974
6975 * gdb.base/interrupt.exp: xfail test for calling function while
6976 inferior is asleep for lynx.
6977
6978 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6979 than one cr-lf after each command.
6980
6981Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6982
6983 * configure.in: Reinstate setting of stabsdirs variable, fix
6984 typo in setting up configdirs for native builds.
6985
6986 * gdb.base/return.exp: Fix typo in return double test.
6987 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6988 compiler from optimizing them away.
6989
6990Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6991
6992 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6993 sequences to be echo'd by gdb when using gdb_test.
6994 * gdb.chill/chexp.exp: Likewise.
6995 * gdb.fortran/exprs.exp: Likewise
6996
6997Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6998
6999 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7000 after the inferior gdb has started.
7001
7002 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7003 after each command.
7004 * gdb.base/funcargs.exp: Likewise.
7005 * gdb.base/gdbvars.exp: Likewise.
7006 * gdb.base/interrupt.exp: Likewise.
7007 * gdb.base/list.exp: Likewise.
7008 * gdb.base/watchpoint.exp: Likewise.
7009 * gdb.c++/demangle.exp: Likewise.
7010 * gdb.c++/inherit.exp: Likewise.
7011 * gdb.chill/chexp.exp: Likewise.
7012 * gdb.fortran/exprs.exp: Likewise.
7013
7014 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7015 test if we can't handle IO to/from the inferior.
7016
7017 * gdb.c++/misc.exp: Always check for a program already being
7018 started after sending a "run" command to gdb.
7019
7020 * gdb.base/twice.exp: Start with a fresh gdb.
7021
7022 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7023 only depend on gdb's expression code, not the chill runtime.
7024
7025 * gdb.base/return.c: Put return values into variables so we
7026 can have gdb print them rather than depending on the program
7027 to print them.
7028 * gdb.base/return.exp: Corresponding changes.
7029
7030 * lib/gdb.exp: Provide default value for noinferiorio.
7031 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7032 the inferior.
7033
7034 * gdb.base/break.exp: Always check for a program already being
7035 started after sending a "run" command to gdb.
7036 (text_next_with_recursion): Don't check the output from the
7037 program's printf statement. Instead just make sure the program
7038 exited.
7039
7040 * gdb.base/commands.exp: Protect tests which need arguments with
7041 $noargs conditionals.
7042
7043Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7044
7045 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7046 of structure member arrays to match gdb/valops.c:value_addr change.
7047
7048Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7049
7050 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7051 cases.
7052
7053Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7054
7055 * configure.in (configdirs): Remove gdb.chill from default list
7056 of subdirs and then add it back in only if doing a native build.
7057 The current chill compiler does not yet work in any cross build.
7058 * Revert all signal changes from Jul 6.
7059 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7060 for sh-hms targets, allowing these tests to link, with no other
7061 changes. Testing is suppressed by setting "nosignals" in site.exp.
7062
7063Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7064
7065 * configure.in (signaldirs): Define and add to configdirs for all
7066 targets except some specific ones that are known to not support signals.
7067 Also clean up formatting.
7068 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7069 (signals, sigall): Remove rules to build.
7070 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7071 Moved to new gdb.signals directory.
7072 * gdb.signals: New test directory.
7073 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7074 signals.c signals.exp}: New or moved files.
7075
7076Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7077
7078 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7079
7080Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7081
7082 * gdb.base/return.exp: Xfail `return double' test failure
7083 on at least Solaris 2.3 and handle future/past versions on
7084 a case by case basis as appropriate. Also update message
7085 to include i*86 failures.
7086
7087Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7088
7089 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7090
7091 * lib/gdb.exp: Fix comment which erroneously identified
7092 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7093 gdb_file_cmd not gdb_load).
7094 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7095
7096 * gdb.base/setvar.exp: Make test names consistent between pass and
7097 fail cases. Use gdb_test more.
7098
7099Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7100
7101 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7102
7103Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7104
7105 * gdb.base/help.exp: Fix expected help string for `show commands'.
7106
7107Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7108
7109 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7110
7111 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7112 of a text section.
7113
7114Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7115
7116 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7117 that loop eventually terminates. Fix Connection refused logic so
7118 that testsuite will expire nicely.
7119
7120Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7121
7122 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7123 config/rom68k.exp: New tcl glue for the appropriate monitors.
7124 These all just end up calling monitor.exp.
7125 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7126 refused' by retrying. Cleanup some timeout issues.
7127 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7128 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7129 callers don't have to set/restore global timeout variable.
7130
7131 * The following set of changes centralizes management of the global
7132 timeout variable. This way, it can be set in one target dependent
7133 place instead of dozens of places scattered throughout the test suite.
7134 If you need to lengthen a timeout, then you should either set timeout
7135 in one of the config/{target}.exp files, or multiply it by a factor.
7136 Setting it to an absolute value is always going to lose for some
7137 targets.
7138 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7139 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7140 * gdb.base/funcargs.exp: Don't set timeout.
7141 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7142 * gdb.base/printcmds.exp (test_print_string_constants
7143 test_print_array_constants): Don't set timeout.
7144 * gdb.base/ptype.exp: Don't set timeout.
7145 * gdb.base/recurse.exp: Don't set timeout.
7146 * gdb.base/return.exp: Don't set timeout.
7147 * gdb.base/watchpoint.exp: Don't set timeout.
7148 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7149 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7150
7151Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7152
7153 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7154
7155Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7156
7157 * lib/gdb.exp: Disable chill tests for irix5.
7158
7159Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7160
7161 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7162 each test pass or fail.
7163
7164Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7165
7166 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7167 xlc not gcc.
7168
7169Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7170
7171 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7172
7173Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7174
7175 * config/est.exp: Fix copyright and comments. Remove dead code.
7176 Use targetname, serialport and baud variables instead of fixed
7177 constants.
7178 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7179 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7180
7181Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7182
7183 * gdb.base/watchpoint.exp: Don't run
7184 test_watchpoint_triggered_in_syscall for sunos.
7185
7186Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7187
7188 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7189 they don't seem to exist. Do include stdio.h.
7190
7191Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7192
7193 * gdb.base/a1-selftest.exp: Add alpha xfail.
7194
7195Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7196
7197 * gdb.base/watchpoint.c (main): Prompt before calling read().
7198 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7199 Revise accordingly. Remove cruft about sending "123" several
7200 times, until it gets noticed. Clean up the "print buf[0]" stuff
7201 so that it passes or fails, and waits for prompts in the usual way.
7202
7203Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7204
7205 * gdb.base/recurse.exp: Fix comment.
7206
7207 * TODO: Remove item about printing variables in nodebug.exp. Add
7208 item about enabling tests which are only run on some targets.
7209
7210 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7211 fail, make test names unique, use new gdb_test convention
7212 regarding pattern, use gdb_test more, etc.).
7213
7214 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7215 fail, make test names unique, etc.).
7216
7217Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7218
7219 * gdb.base/nodebug.c: Change return type of top and middle to
7220 short.
7221 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7222 are fixed by the recent mdebugread.c changes. Allow `short ()'
7223 as type for top and middle.
7224
7225Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7226
7227 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7228 nearly as I can tell, the whole thing was an accident in Stu's
7229 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7230 to replace a send/expect pair with gdb_test, but ended up only
7231 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7232 of 30 Mar 1995 took care of it, but left this vestigial comment
7233 which I am now nuking.
7234
7235Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7236
7237 * gdb.base/break.exp: Look for different line number for
7238 breakpoint at main depending on usestubs.
7239
7240Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7241
7242 * gdb.base/list.exp: Adjust some alternate expect patterns to
7243 match recent list0.c change. Add alternate expect pattern for
7244 output from `list default lines around main' for optimizing
7245 compilers.
7246
7247Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7248
7249 * lib/gdb.exp: If nosignals is not set, set it to 0.
7250
7251Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7252
7253 * config/slite-gdb.exp: Responds to load symbol table prompt.
7254 * gdb.base/break.exp: Adjust line number, fix rerun.
7255 * gdb.base/langs0.c: Add #ifdef usestubs.
7256
7257Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7258
7259 * gdb.base/list.exp: Adjust line contents after adding new lines in
7260 list0.c. Also fix a syntax error.
7261
7262 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7263 * gdb.base/break.exp: ditto.
7264 * gdb.base/list.exp: ditto.
7265 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7266 * gdb.base/run.c: ditto.
7267 * gdb.base/list0.c: ditto.
7268 * gdb.base/funcargs.c: ditto.
7269
7270Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7271
7272 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7273 $targetname, $serialport and $baud instead of hardwired variables.
7274 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7275 target doesn't support signals.
7276
7277Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7278
7279 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7280
7281Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7282
7283 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7284 Don't rely on the value of an auto variable before it has been
7285 initialized. Use gdb_test more.
7286
7287Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7288
7289 * lib/gdb.exp (default_gdb_version): A version number must start
7290 with a digit, but other than that contains all characters up to
7291 the first whitespace character.
7292
7293Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7294
7295 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7296
7297Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7298
7299 * gdb.c++/*.exp: Warn if executable does not exist. The original
7300 reason for skipping the warning was that configure.in sometimes
7301 intentionally skipped building the executables but the tcl code
7302 had no way of knowing. That (a) was always bogus with respect to
7303 error handling, (b) is no longer true (right now there is no way
7304 to skip C++ tests).
7305
7306 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7307
7308Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7309
7310 * gdb.base/list.exp: Add expect patterns for output from
7311 SunPRO compiled executables.
7312 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7313 types.
7314
7315Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7316
7317 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7318 number (we are already testing that the correct source line text
7319 gets printed).
7320
7321 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7322 that is what is intended, but something needed to be done to get
7323 sunos4 native working again.
7324
7325 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7326
7327 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7328 apparently went with a (very) old xfail.
7329
7330Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7331
7332 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7333 runto_main is a proc in gdb.exp that will do 'step' for target use
7334 stubs.
7335 * gdb.base/exprs.exp: ditto.
7336 * gdb.base/interrupt.exp: ditto.
7337 * gdb.base/opaque.exp: ditto.
7338 * gdb.base/printcmds.exp: ditto.
7339 * gdb.base/ptype.exp: ditto.
7340 * gdb.base/scope.exp: ditto.
7341 * gdb.base/setvar.exp: ditto.
7342 * gdb.base/signals.exp: ditto.
7343 * gdb.base/twice.exp: ditto.
7344 * gdb.c++/classes.exp: ditto.
7345 * gdb.c++/inherit.exp: ditto.
7346 * gdb.c++/templates.exp: ditto.
7347 * gdb.base/break.exp: no run and hit main for stubs. Change line
7348 numbers for breakpoints and info breakpoint.
7349 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7350 breakpoint().
7351 * gdb.base/callfuncs.c: ditto.
7352 * gdb.base/exprs: ditto.
7353 * gdb.base/interrupt.c: ditto.
7354 * gdb.base/opaque0.c: ditto.
7355 * gdb.base/printcmds.c: ditto.
7356 * gdb.base/ptype.c: ditto.
7357 * gdb.base/scope0.c: ditto.
7358 * gdb.base/setvar.c: ditto.
7359 * gdb.base/signals.c: ditto.
7360 * gdb.base/twice.c: ditto.
7361 * gdb.c++/misc.cc: ditto.
7362 * gdb.c++/templates.cc: ditto.
7363
7364Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7365
7366 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7367
7368 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7369 somewhere between `read' and `main.c'. I'm pretty sure the
7370 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7371 and it isn't particularly useful.
7372
7373 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7374
7375Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7376
7377 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7378
7379Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7380
7381 * config/mt-slite: add LIBS and -nostdlib.
7382 * config/slite-gdb.exp: add this new file to support sparclite target.
7383
7384Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7385
7386 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7387
7388 * gdb.base/a2-run.exp: Change argument to istarget from
7389 "*-*-vxworks" to "*-*-vxworks*".
7390 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7391
7392Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7393
7394 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7395 will not runto main but do a 'step' to step out of breakpoint().
7396 * config/mt-slite: add -Dusestubs.
7397
7398Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7399
7400 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7401 instead of just @.
7402
7403 * gdb.base/signals.exp: Add test for "handle all print".
7404 * TODO: Remove "handle all print". Also remove item about
7405 checking copyright date (I don't like the idea of a spurious FAIL
7406 based on when we run the tests).
7407
7408 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7409 for SunOS4 (reason for failure not investigated). Remove
7410 redundant test for $binfile.
7411
7412 * gdb.base/nodebug.c (array_index): Call malloc.
7413
7414 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7415
7416Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7417
7418 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7419 conventions and slightly simplify the matching regexp.
7420
7421Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7422
7423 * gdb.base/break.exp: Update gdb_test invocation to use new
7424 convention.
7425
7426 * lib/gdb.exp: If noargs is not set, set it to 0.
7427
7428 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7429 tests unique.
7430
7431 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7432
7433Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7434
7435 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7436 one argument of type "<non-float parameter>".
7437
7438Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7439
7440 * config/rom68k.exp: New file to support Motorola IDP board.
7441 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7442 * gdb.base/break.c: Change things around so that this program
7443 doesn't depend upon args. This is necessary to make remote
7444 targets work (in general, they can't take args).
7445 * gdb.base/break.exp: Don't try to send args to program. Don't
7446 expect output. Also, replace lots of code with gdb_test.
7447
7448Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7449
7450 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7451 printing of '\'' (which is what the comment says we are testing,
7452 even though we were not), not '''.
7453 (test_integer_literals_rejected): Test that printing ''' is an error.
7454
7455 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7456 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7457 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7458 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7459 Use gdb_test not test_print_accept.
7460 * lib/gdb.exp: Remove test_print_accept.
7461
7462 * gdb.base/signals.exp (signal_tests_1): Make pass message
7463 consistent with fail message.
7464
7465 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7466 unsigned char; the bug (PR 1821) is fixed.
7467
7468 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7469
7470 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7471 successful tests--makes xfailing them work right.
7472
7473Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7474
7475 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7476 only \r\n, not .*. The test can pass .* as the last thing in
7477 $pattern if that is what it wants. In addition to providing this
7478 flexibility, this change should speed up pattern matching in cases
7479 where the pattern already ended with .* (there were a number of
7480 them). This change also helps catch bad patterns--in the old
7481 scheme the typo "char \*" instead of "char \\*" would pass. Now
7482 it is caught.
7483 * Many .exp files: Update callers.
7484
7485 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7486 clearer and does not spuriously match multiple ('s. Likewise for
7487 ) and *.
7488
7489 * gdb.base/nodebug.exp: Test ability to call a function and pass
7490 it a string (even with no debugging info).
7491
7492 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7493 "p '\'", which is the same as "p ''" once tcl gets done with
7494 quoting, to "p '\\'", which I suspect is what is intended (one
7495 backslash gets sent to GDB).
7496
7497 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7498
7499Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7500
7501 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7502 1817) was fixed literally years ago.
7503
7504Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7505
7506 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7507 test, it causes stepping out of call_after_alloca_subr with
7508 optimizing compilers.
7509 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7510 fails.
7511
7512 * gdb.c++/templates.exp: Source templ-info.exp only if
7513 the templates executable exists.
7514
7515 * gdb.c++/misc.cc (class Contains_static_instance,
7516 class Contains_nested_static_instance),
7517 gdb.c++/classes.exp (test_static_members): Test printing of
7518 a class that contains a static instance of the class.
7519
7520Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7521
7522 * gdb.base/langs2.c (cppsub_): Don't prototype.
7523 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7524 only, I believe).
7525
7526Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7527
7528 * lib/gdb.exp (skip_chill_tests): New procedure.
7529
7530 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7531
7532Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7533
7534 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7535 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7536
7537Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7538
7539 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7540
7541 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7542 disassemble 8, not 16, instructions for part 4.
7543
7544 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7545 support the latter anymore.
7546
7547 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7548 -DNO_PROTOTYPES.
7549 * gdb.base/callfuncs.c: Control use of prototypes based on
7550 NO_PROTOTYPES, not __STDC__.
7551 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7552 t_float_values2 tests if prototypes in use.
7553
7554 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7555 t_double_values): When checking differences against DELTA, check
7556 that difference is within the range (-DELTA,DELTA), not just
7557 (-infinity,DELTA).
7558
7559Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7560
7561 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7562 'file' command firts, then 'target', then 'load', this is due to gdb
7563 target set up.
7564 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7565
7566Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7567
7568 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7569 FP load/store variants.
7570 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7571
7572Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7573
7574 * gdb.base/term.exp: Do not give a warning if not native, it is
7575 not an abnormal condition.
7576
7577Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7578
7579 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7580 t_char_array".
7581
7582Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7583
7584 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7585 are getting the version number.
7586
7587 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7588 if not native, it is not an abnormal condition.
7589
7590Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7591
7592 * lib/gdb.exp: Just use "file exists", rather than undocumented
7593 dejagnu procedure "findfile".
7594
7595Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7596
7597 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7598 (LDFLAGS): Set to -Xlinker -Ur.
7599
7600 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7601 Removed, these values are set by lib/gdb.exp.
7602
7603 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7604
7605Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7606
7607 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7608 of replicating gdb startup code.
7609
7610 * config/mt-vxworks (LDFLAGS): Set to -r.
7611 (CFLAGS_FOR_TARGET): Removed.
7612
7613 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7614 (gdb) and gdb for vxworks uses (vxgdb).
7615
7616 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7617 executable is not in the tree and host != target, use sed and
7618 program_transform_name to determine the gdb name used by the
7619 target.
7620
7621 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7622 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7623
7624Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7625
7626 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7627 floats, chars, and shorts where there are ANSI-style function
7628 definitions.
7629
7630 * gdb.base/langs.exp, gdb.base/langs*: New test.
7631 * gdb.base/Makefile.in: Build it.
7632 * TODO: Remove item about checking that C names don't get C++
7633 demangling applied; this test tests it.
7634
7635Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7636
7637 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7638 went with the const70 xfail. The xfail went away a year ago.
7639
7640 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7641
7642 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7643 for hp300.
7644
7645 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7646
7647 * gdb.base/a1-selftest.exp: Don't run on hp300.
7648
7649Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7650
7651 * Makefile.in (site.exp): Set host_alias and target_alias as well
7652 as host_triplet and target_triplet.
7653
7654Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7655
7656 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7657
7658 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7659 places as other ecoff systems).
7660
7661 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7662 ultrix.
7663
7664Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7665
7666 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7667 remove them.
7668 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7669 variable and "variable" in addition to "data variable".
7670 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7671
7672 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7673 2.
7674 * gdb.base/list1.c (long_line): Add additional statement at start
7675 of function.
7676 * gdb.base/list.exp (test_forward_search): Update line number to
7677 reflect new statement.
7678
7679Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7680
7681 * gdb.base/signals.exp: Reinitialize searched source directories
7682 after gdb_start call.
7683
7684Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7685
7686 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7687 * gdb.stabs/Makefile.in: Likewise.
7688
7689 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7690 change. Instead split the tests into smaller pieces.
7691 * gdb.disasm/hppa.s: Corresponding changes.
7692
7693Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7694
7695 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7696 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7697
7698 * gdb.base/funcargs.exp: Modify many tests so that every test
7699 either passes or fails. Make some test names unique.
7700
7701Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7702
7703 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7704 Call stty to set interrupt character.
7705
7706 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7707 for HP assembler versus GNU assembler based on actual behavior of
7708 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7709
7710 * TODO: Suggest a few more stepping tests.
7711
7712Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7713
7714 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7715 restart GDB for h8300 after a continue.
7716 (return): Add pattern to match a29k-udi behavior.
7717 * gdb.base/nodebug.exp: Remove obsolete comment.
7718 * gdb.base/regs.exp: New file, testing of register displays.
7719 * gdb.base/return.exp: Fix typo in reference to $objdir.
7720 * gdb.base/whatis.exp: Always start with a fresh GDB.
7721
7722Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7723
7724 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7725 higher, these tests generate a lot of output.
7726
7727Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7728
7729 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7730 code following the catch silently ignored some errors; without the
7731 catch they should be thrown like any other tcl error. Also, the
7732 catch used "" instead of {} which meant all the callers who wanted
7733 to include one of the characters "[]$ had to quote it an extra time.
7734 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7735 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7736 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7737 Remove extra quoting.
7738
7739Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7740
7741 * gdb.base/commands.exp: Make test names unique; every test either
7742 passes or fails. Update some comments.
7743
7744 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7745
7746Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7747
7748 The following fixes a FAIL caused by the fact that the alpha stabs
7749 configuration didn't use the ".if alpha" code in weird.def.
7750 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7751 bit pointer, so the 32 bit version works even on the alpha.
7752 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7753 Remove the stuff which allowed us to have separate versions for
7754 alpha and everything else.
7755
7756 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7757 regexp which "info func operator\[\](" is supposed to match. Fix
7758 string to send to GDB. Note that GDB still doesn't work right. Add a
7759 new test for "info func .perator\[\](" which GDB does handle correctly.
7760
7761 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7762
7763Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7764
7765 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7766 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7767 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7768 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7769 it makes the tests harder to understand and confuses test-o-matic.
7770 The preferred style is that each test provides a PASS or a FAIL,
7771 and has a unique message (e.g. "continue #54" not just "continue")
7772 which is the same for the pass and the fail.
7773 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7774 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7775 to lib/gdb.exp.
7776 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7777 prt_accept which was basically the same thing. Likewise for
7778 test_print_reject and prt_reject.
7779 * lib/gdb.exp (test_print_reject): Add some more error message
7780 patterns to match from the former printcmds.exp (prt_reject).
7781 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7782 One defect of the passcount stuff is that some of it failed to
7783 report XPASS where appropriate.
7784 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7785 stuff before and after arg in expected pattern.
7786 (test_paddr_operator_functions): Re-do test without print_addr_of;
7787 this is the only test which seems to want extra stuff there.
7788
7789Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7790
7791 * gdb.base/nodebug.exp: Update new tests to reflect improved
7792 wording of gdb output.
7793
7794 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7795 and "ptype" work on variables in files compiled without -g.
7796 Replaces commented out "maint print msymbol" tests.
7797
7798Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7799
7800 * gdb.base/setvar.c (dummy): Call malloc.
7801
7802 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7803 losing with the irix4 sed.
7804
7805 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7806 ALRM" on irix4.
7807
7808Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7809
7810 * TODO: Remove items about corefile.exp testing new exec-file and
7811 backtrace; both are now done. Add items about printing enums.
7812
7813Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7814
7815 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7816 "get signal $thissig" test fails.
7817
7818 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7819
7820Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7821
7822 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7823 compiler warning with dec alpha compiler.
7824
7825 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7826 extra \n from gdb_test call (this explains why the prompt test
7827 that I removed yesterday was there).
7828 (user_defined_command_test): Remove extra \n and prompt test.
7829
7830 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7831 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7832 doesn't exist.
7833 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7834 Also remove alpha workaround, which turns out to be because
7835 SIGABRT == SIGLOST.
7836
7837 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7838
7839 * gdb.base/help.exp: Don't test "help show".
7840
7841Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7842
7843 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7844 "set print address" is on.
7845 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7846 pass prompt to gdb_test; gdb_test already looks for the prompt.
7847
7848 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7849
7850 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7851 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7852 was to make sure that gdb can read a core file. But (a) the "read
7853 the corefile" part didn't make it to a1-selftest.exp, we just
7854 delete the corefile after creating it, and (b) we test reading
7855 corefiles in corefile.exp anyway. Also, this test left around a
7856 xgdb process on Solaris.
7857
7858 * gdb.base/corefile.exp: Also test backtrace.
7859
7860Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7861
7862 * gdb.base/commands.exp: Test a simple user defined command with
7863 arguments and if/while statements; verify the full user command is
7864 printed by "show user".
7865
7866 * gdb.base/commands.exp: Test if/while commands as part of a
7867 breakpoint command list; verify they appear in breakpoint
7868 information.
7869
7870Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7871
7872 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7873 than by dividing by zero.
7874
7875Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7876
7877 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7878 performing an inferior call with watchpoints enabled.
7879 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7880 call.
7881
7882Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7883
7884 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7885 of "file" command.
7886
7887 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7888 Add additional pattern for when "int operator int(void);" appears
7889 in a different order.
7890
7891Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7892
7893 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7894
7895 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7896 and "signal" with ".*".
7897
7898Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7899
7900 * TODO: Add note about "handle all nostop".
7901
7902 * gdb.base/{sigall.c, sigall.exp}: New test.
7903 * gdb.base/Makefile.in: Add it.
7904
7905Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7906
7907 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7908 when invoking GDB, suppresses any windowing interface.
7909
7910Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7911
7912 * config/sim-gdb: New file, simulator testing support.
7913
7914Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7915
7916 * gdb.base/interrupt.exp: Test calling func1 twice.
7917
7918Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7919
7920 * gdb.base/list.exp (test_forward_search): Set timeout higher
7921 when we'll be getting lots of output from gdb.
7922
7923 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7924 "init_malloc" to after the expect statement. Run it if that
7925 regexp is taken, but also for two others which happen if source
7926 cannot be found.
7927
7928Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7929
7930 * gdb.base/printcmds.exp: New test, for printing register before
7931 program is running.
7932
7933Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7934
7935 * gdb.base/list.exp: Correct some alternate expect patterns
7936 to reflect changes in list1.c.
7937
7938Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7939
7940 * TODO: Add item regarding large frames.
7941
7942 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7943
7944 * TODO: Remove item about enabling return.exp; it
7945 is enabled. Suggest a few more "return" tests.
7946
7947Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7948
7949 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7950 anonymous unions.
7951
7952Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7953
7954 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7955 and pr-5646.o, so "make" is the same as "make all", not "make
7956 pr-4975.o".
7957
7958Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7959
7960 * gdb.base/list.exp: Adjust expectations to reflect changes in
7961 list1.c.
7962 (test_forward_search): New test proc.
7963 * gdb.base/list1.c (long_line): New function, has long source line.
7964
7965Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7966
7967 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7968 additional line of code that was added.
7969
7970Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7971
7972 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7973 tests so as not to overflow expect's input buffers.
7974 * gdb.disasm/hppa.exp: Corresponding changes.
7975
7976Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7977
7978 Beginnings of template debugging tests.
7979 * gdb.c++/templ-info.cc: New file to test for template
7980 debugging capability of the compiler.
7981 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7982 templ-info.cc.
7983 * gdb.c++/templates.cc: Add explicit template instantiations
7984 to enable compiling with -fno-implicit-templates. Add destructor
7985 and 'value' method to T5 class for template tests.
7986 * gdb.c++/templates.exp: Add testcases for printing of template
7987 types, setting breakpoints on template methods and calling a
beb998c6 7988 template method.
c906108c
SS
7989
7990Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7991
7992 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7993 branch target since some assemblers (gas-2.5) may emit a
7994 relocation for the branch instead of resolving it in the
7995 assembler.
7996
7997Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7998
7999 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8000 through signal handler.
8001
8002Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8003
8004 * configure.in (*-*-netware): Use config/mt-netware.
8005
8006 * config/mt-netware: New file.
8007 * config/mt-i386-netware: Removed, separate configs for different
8008 netware architectures are no longer needed now that we have
8009 --with-headers.
8010
8011Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8012
8013 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8014 by the recent changes to use ANSI C arithmetic conversions.
8015
8016Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8017
8018 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8019 bug involving using inferior_pid to figure out whether to select a
8020 frame.
8021
8022Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8023
8024 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8025 match the current disassembler output.
8026
8027Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8028
8029 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8030 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8031 types, expect "int" as type of integer values (for now).
8032
8033Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8034
8035 * gdb.base/commands.exp: New tests for if/while commands.
8036
8037Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8038
8039 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8040 by .*, since hex values have different syntax in Chill mode.
8041
8042Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8043
8044 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8045 linefeed from expect pattern for repeated types with indices > 9.
8046
8047Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8048
8049 First part of Fortran test suite.
8050 * gdb.fortran: New directory.
8051 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8052
8053Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8054
8055 * gdb.base/default.exp: Update expect pattern for load command
8056 without arguments.
8057
8058Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8059
8060 * configure.in: Change i386 to i[345]86.
8061 * gdb.base/configure.in: Likewise.
8062 * gdb.c++/configure.in: Likewise.
8063 * gdb.chill/configure.in: Likewise.
8064
8065Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8066
8067 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8068 patterns, since that is not a valid context for comments.
8069
8070Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8071
8072 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8073 repeated types and repeated types with indices > 9.
8074
8075Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8076
8077 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8078 2417; old bug has been fixed.
8079
8080Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8081
8082 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8083 send the newline ourselves instead of assuming gdb_test will do
8084 so when passed an empty input string.
8085
8086 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8087 stabs testcode.
8088
8089Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8090
8091 * lib/gdb.exp (gdb_test): Don't send anything if the first
8092 argument is an empty string. This makes cases where we want to
8093 match output that is already in expect's buffers (for example,
8094 matching a breakpoint after gdb_run_cmd has been called) work
8095 reliably.
8096
8097Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8098
8099 * config/netware.exp: New file.
8100
8101Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8102
8103 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8104 the -B and -L prefixes so we can find the debugging stub.
8105
8106 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8107 there and we are using the gcc from the tree.
8108
8109 * gdb.base/types.c: Removed.
8110
8111 * gdb.base/configure.in: Look for makefile fragments in ../config.
8112 Recognize i386-*-netware.
8113 * gdb.c++/configure.in: Likewise.
8114
8115Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8116
8117 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8118 the correct TCL syntax.
8119
8120Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8121
8122 * gdb.base/opaque.exp: use runto instead of messing around with
8123 breakpoints. Simplify by using gdb_test.
8124
8125 * gdb.base/bitfields.exp: restart between tests on netware targets
8126 because breakpoints aren't relocated after target death. Run
8127 processes to completion.
8128
8129 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8130
8131Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8132
8133 * Makefile.in: Remove extra tabs that confuse some versions
8134 of "make". Use the newly built gdb to test with by default,
8135 rather than the first one in the tester's search path.
8136
8137Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8138
8139 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8140
8141 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8142 condition help.
8143
8144Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8145
8146 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8147
8148 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8149 running.
8150 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8151 * gdb.base/funcargs.exp: Likewise.
8152
8153 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8154 * gdb.base/funcargs.exp: Likewise.
8155
8156 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8157 message is "".
8158
8159Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8160
8161 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8162 return,signals,twice}.exp: Handle non-existant binaries
8163 consistantly.
8164
8165 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8166 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8167 might testing a cross development system.
8168
8169Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8170
8171 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8172 runtest script is relative to ${srcdir}, not ${rootdir}.
8173
8174Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8175
8176 * gdb.base/signals.exp: Allow for optionality of breakpoint
8177 address.
8178
8179Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8180
8181 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8182
8183Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8184
8185 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8186 for size_t definition.
8187 * gdb.c++/templates.cc: Likewise
8188
8189 * config/mt-i386-netware: New file.
8190
8191 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8192 defined.
8193
8194 * gdb.base/Makefile.in: Added support for systems that name core
8195 files by appending "core" to the program name.
8196 * gdb.base/a1-selftest.exp: Likewise.
8197
8198Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8199
8200 * gdb.base/return.exp: Add comment and message for `return double'
8201 test failure on Sparc Solaris.
8202
8203Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8204
8205 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8206
8207Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8208
8209 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8210 from optimizing them away.
8211 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8212 patterns to include default constructors and assignment operators,
8213 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8214 character in the output of the virtual base pointer.
8215
8216Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8217
8218 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8219 expression match in print_addr_of to avoid unintented matches.
8220 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8221 versions up to 2.5.8.
8222
8223Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8224
8225 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8226 included file to run under newer versions of expect.
8227 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8228 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8229 Remove xfail for the virtual table of BDDHookV.
8230
8231Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8232
8233 * lib/gdb.exp (string_to_regexp): Set a default result.
8234 (default_gdb_start): Fix misleading message.
8235
8236Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8237
8238 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8239 Remove all CC, etc definitions.
8240 * config/mt-hpux: New file.
8241 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8242 (CFLAGS, LDFLAGS): Define.
8243 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8244
8245 * Makefile.in (site.exp): Don't insert host_os, etc.
8246 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8247 (distclean): Check existence of subdir.
8248 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8249 * gdb.base/Makefile.in: General cleanup and simplification.
8250 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8251 to build executables. Use default rule to build .o files.
8252 (EXPECT, RUNTEST, CC): Fix relative pathname.
8253 (site.exp): Don't insert host_os, etc.
8254 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8255 and/or SIGUSR1 defined.
8256 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8257 * gdb.c++/Makefile.in: General cleanup and simplification.
8258 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8259 (CFLAGS): Remove.
8260 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8261
8262Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8263
8264 * gdb.base/recurse.exp: Misc changes to get tests running again
8265 after Kung's changes to the watchpoint code.
8266 * gdb.base/watchpoint.exp: Likewise.
8267
8268Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8269
8270 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8271
8272Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8273
8274 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8275 * lib/gdb.exp (default_gdb_start): Define.
8276 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8277 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8278 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8279 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8280 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8281 Don't call gdb_target_udi in between tests.
8282
8283Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8284
8285 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8286 (which was basically just a local version of the same thing). In
8287 addition to avoiding duplication, gdb_test_exact is faster.
8288 * lib/gdb.exp (gdb_test_exact): Fix typo.
8289
8290 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8291 don't give an error.
8292
8293 * gdb.base/term.exp: Call delete_breakpoints before starting.
8294
8295 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8296 (t10): Add comment.
8297
8298Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8299
8300 Reorganization of the GDB Test Suite.
8301
8302 * gdb.base: New directory, contains all the basic tests.
8303 * gdb.c++: New directory, tests specific to C++.
8304 * gdb.chill: New directory, tests specific to Chill.
8305 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8306 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8307 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8308 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8309 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8310 t30-31 to chill).
8311 * */gdbme.*: Rename to match appropriate expect scripts.
8312 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8313 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8314 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8315 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8316 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8317 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8318 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8319 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8320 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8321 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8322 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8323 gdb.c++/virtfunc.cc: New names of C++ files.
8324 * gdb.chill/chillvars.ch: New name of Chill file.
8325 * gdb.base/configure.in, gdb.c++/configure.in,
8326 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8327 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8328 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8329 * configure.in (configdirs): Update to reflect directory changes.
8330 (target_abbrev): No longer define for any configuration.
8331 * Makefile.in: Cosmetic improvements to header comments.
8332
8333Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8334
8335 Various changes to gdb.t31:
8336
8337 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8338 * gdbme.ch: Make all key-words and predefineds be upper-case.
8339 * chillvars.exp: Expect key-words and predefinds in upper-case.
8340
8341 * chillvars.exp: Use gdb_test_exact many places.
8342 Change expected output for arrays (which now includes index labels).
8343
8344 * pr-5020.exp, gdme.ch (module PR_5020):
8345 New test, for PR-5020.
8346
8347Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8348
8349 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8350 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8351
8352Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8353
8354 * Makefile.in: Fix bit-rot in definitions of CHILL,
8355 CHILL_FOR_TARGET and Chill_LIB.
8356 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8357 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8358 CHILL, and CHILL_LIB.
8359
8360Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8361
8362 * Revert the previous changes. Please see Rob's directory
8363 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8364
8365Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8366
8367 * Makefile.in, configure.in, config/mips-gdb.exp,
8368 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8369 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8370 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8371 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8372 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8373 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8374 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8375 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8376 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8377 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8378 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8379 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8380 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8381 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8382 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8383 changes from 94Q1.
8384
8385Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8386
8387 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8388 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8389 Rob's new testing fragments.
8390
8391Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8392
8393 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8394 lib/gdb.exp: Replace error proc calls with perror.
8395
8396Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8397
8398 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8399 version also, match on casted version strings, and match on
8400 gdb startup case where the line numbers might be messed up.
8401
8402Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8403
8404 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8405 (CFLAGS): Delete it from here.
8406
8407Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8408
8409 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8410
8411Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8412
8413 * Makefile.in (RUNTEST): Default to just "runtest".
8414
8415Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8416
8417 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8418 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8419 the code has been restructured.
8420
8421Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8422
8423 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8424 \n, not just one of each.
8425
8426 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8427 /bin/cc gives a warning if you do.
8428
8429Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8430
beb998c6 8431 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8432 __t10ListS_link1ZUiRCUiPT0
8433
8434Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8435
8436 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8437 on local variables in recursive functions.
8438
8439 * gdb.t07/Makefile.in: Build the new test.
8440
8441Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8442
8443 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8444 directly. Instead compare the return values from actual calls.
8445
8446Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8447
8448 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8449
8450Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8451
8452 * From Peter Schauer with minor modifications.
8453 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8454 stops in mid-line in the caller. Add xfail for returning a float
8455 value on X86 targets.
8456
8457Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8458
8459 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8460 to avoid expect lossage.
8461 (fmem_LRbug_tests): Likewise.
8462 * gdb.disasm/hppa.s: Corresponding changes.
8463
8464 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8465 conditions to work with latest dejagnu/expect.
8466
8467 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8468 expected to fail on the PA.
8469 (backtrace in call with trampolines): Explicitly require main
8470 to be frame #1 (no trampolines should show up in backtrace).
8471
8472 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8473 "continue -expect".
8474 * gdb.t06/break.exp: Likewise.
8475 * gdb.t07/watchpoint.exp: Likewise.
8476 * gdb.t13/bitfields.exp: Likewise.
8477 * gdb.t15/{funcargs,return}.exp: Likewise.
8478 * gdb.stabs/weird.exp: Likewise.
8479 * config/{mips,udi}-gdb.exp: Likewise.
8480
8481 * hppa.sed: Enclose comments within a sed command to avoid
8482 losing with the old OSF1 sed.
8483
8484Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8485
8486 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8487 sequent dynix.
8488 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8489 * gdb.t15/funcargs.exp: Conditionally step again to really
8490 finish from marker_call_with_trampolines. Handle the case where
8491 the first step from within call_with_trampolines already steps
8492 us back to main.
8493 * gdb.t15/gdbme.c: Add comment to closing brace of
8494 call_with_trampolines for funcargs.exp.
8495
8496Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8497
beb998c6 8498 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8499 Fix typo(s).
8500
8501Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8502
8503 * gdb.t07/gdbme.c: More code for watchpoint testing.
8504
8505 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8506 "Hardware watchpoint" throughout file.
8507 (test_watchpoint_triggered_in_syscall): New test.
8508 (test_complex_watchpoint): New test.
8509
8510Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8511
8512 * gdbme.c (call_with_trampolines): New function to try and step
8513 into. Tests trampoline problems on the PA.
8514
8515 * funcargs.exp (localvars_in_indirect_call): No longer expect
8516 stepping into indirect call to fail on PAs.
8517 (test_stepping_over_trampolines): New test.
8518
8519Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8520
8521 * TODO: Add suggestions for static member function tests, and
8522 completion tests.
8523
8524Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8525
8526 * TODO: Add suggestions for "p/a" tests.
8527
8528 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8529 (default_gdb_exit): Replace all the hair with sending "quit" to
8530 the process with a simple close.
8531
8532Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8533
8534 * TODO: Add suggestions for shared library tests.
8535
8536Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8537
8538 * TODO: Add suggestions for x/s tests.
8539
8540Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8541
8542 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8543 "enable once", and "enable breakpoints once" with ".*".
8544
8545Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8546
8547 * TODO: Add suggestions about structure passing tests.
8548
8549Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8550
8551 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8552 the primary1 test, use work around if __GNUC__ < 2.
8553 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8554 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8555 Test for bad output rather than waiting for timeout. Issue
8556 second continue only if first continue failed.
8557
8558Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8559
8560 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8561 operator[] test with gdb_test because the old code didn't seem to
8562 be getting the quoting right with the new dejagnu.
8563
8564Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8565
8566 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8567 one from the path.
8568 * Makefile.in: Use a fresh expect if there is one, use runtest
8569 from the src tree if there is one.
beb998c6 8570
c906108c
SS
8571Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8572
8573 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8574 next over recursive call. Revise the tests from that point on
8575 (which had been skipped) to match GDB's actual (correct) output.
8576
8577 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8578 with next over a breakpoint whose condition is false.
8579
8580 * gdb.t00/help.exp: Comment out "help set print" tests just like
8581 (and for same reason as) "help set" test.
8582
8583Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8584
8585 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8586 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8587
8588Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8589
8590 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8591 necessary gdb_target_udi.
8592
8593 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8594
8595 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8596 1838 and 2417; they are fixed.
8597
8598 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8599 gdb.t03/ptype.exp (ptype structure, ptype union):
8600 Remove xfails; the test is looser than when the xfails were added.
8601
8602 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8603 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8604
8605 * gdb.t01/run.exp: Only run shell test if isnative.
8606
8607 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8608 since "run" automatically loads if necessary. Call gdb_target_udi
8609 after the "file" since "file" kills any execution target.
8610
8611 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8612 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8613 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8614 argument for UDI.
8615
8616Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8617
8618 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8619
8620 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8621
8622Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8623
8624 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8625 properly quoting regexps. This makes the second argument to
8626 demangle a fixed string, which matches the callers, instead of a
8627 shell-style pattern which is what the previous implementation
8628 used. Update some of the callers.
8629
8630Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8631
8632 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8633 (comib_nullified_tests): Fix typo.
8634 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8635 strings. No longer expected to fail.
8636
8637 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8638 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8639 strings. No longer expected to fail.
8640
8641 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8642 string. No longer expected to fail.
8643
8644Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8645
8646 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8647 No longer expected to fail.
8648
8649 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8650 string. No longer expected to fail.
8651
8652Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8653
8654 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8655 only in the names (I probably got most of them). I was even
8656 generous with some which differed in underscores in names, and
8657 probably missed a few, and I *still* was able to remove almost a
8658 third of the file with almost no impact on testsuite coverage.
8659
8660Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8661
8662 * gdb.t00/default.exp: Match udi_attach error message as well as
8663 the one from child_attach.
8664
8665 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8666
8667 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8668
8669 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8670 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8671
8672 * Move test with enums and partial symbols back to
8673 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8674 Reverts the change of 26 May 93. Per today's change to
8675 stabs.texinfo, the behavior that weird.exp was expecting was
8676 unreasonable; what is important is that the compiler+gdb get
8677 things right, which happens with a recent gcc. Also fix the test
8678 to deal with native compilers which put out the stab gdb can't
8679 deal with.
8680
8681Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8682
8683 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8684 in the names. The main thing these accomplish is to slow things down.
8685 Many more such duplicates surely remain.
8686
8687 * gdb.t00/help.exp: Comment out "help support" test just like
8688 (and for same reason as) "help set" test.
8689
8690Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8691
8692 * gdb.t06/break.exp: Remove setup_xfails for
8693 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8694 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8695 about known bug in gcc to include up through 2.5.8.
8696 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8697 well as "_vb$".
8698 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8699 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8700 with latest gcc and gdb.
8701 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8702 well as "_vb$".
8703
8704Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8705
8706 * configure.in (hppa*-*-*): Also configure and build stabs-only
8707 tests.
8708
8709Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8710
8711 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8712 * gdb.t10/configure.in (hppa*-*-*): Use it.
8713
8714Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8715
8716 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8717
8718Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8719
8720 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8721 versions prior to 1.13.5.
8722
8723Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8724
8725 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8726 the prompt is at the start of a line.
8727
8728Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8729
8730 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8731 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8732 in the copr tests now.
8733 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8734 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8735 expected to fail.
8736
8737Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8738
8739 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8740 gdb.t31/chillvars.exp, lib/gdb.exp:
8741 Tweak to run under either version of expect.
8742 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8743 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8744 * gdb.t11/list.exp: Remove extraneous whitespace.
8745
8746Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8747
8748 * gdb.t16/printcmds.exp (test_print_strings): Accept
8749 "(unsigned char *) " before the string.
8750
8751 * TODO: Add notes about printing of fancy types and GDB expressions.
8752
8753Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8754
8755 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8756 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8757 if doing mips-idt-ecoff.
c906108c
SS
8758
8759Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8760
8761 * Most .exp files: Tweak to run under either version of expect.
8762
8763Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8764
8765 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8766 xfails; I'm not sure why they are failing, but not because of PR 1806.
8767
8768Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8769
8770 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8771 defined in lib/gdb.exp.
8772
8773Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8774
8775 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8776 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8777 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8778 have to be typeless.
8779
8780Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8781
8782 * TODO: Add suggestion for copyright year test.
8783
8784Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8785
8786 * configure.in (*-*-lynxos*): Add stabs tests.
8787
8788Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8789
8790 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8791 so insert a tab before any assembler directive in column zero.
8792
8793 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8794 stores.
8795 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8796 stores.
8797 (fpu_short_memory_tests): Likewise.
8798
8799Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8800
8801 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8802 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8803 .stabs directives in comments.
8804
8805Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8806
8807 * TODO: New file, describing tests we could write.
8808 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8809
8810Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8811
8812 * gdb.t06/signals.exp: Add kludge to force re-sync.
8813
8814 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8815 to xgdb instead of gdb, get out of gdb.
8816
8817Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8818
8819 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8820 for info.
8821
8822Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8823
8824 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8825 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8826 * gdb.stabs/hppa.sed: New sed script for the PA.
8827
8828Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8829
8830 * gdb.stabs: Re-write weird.def and configuration to use sed
8831 instead of cpp. sed is portable and POSIX; cpp is neither.
8832
8833Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8834
8835 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8836
8837Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8838
8839 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8840
8841Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8842
8843 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8844 "_vb$".
8845 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8846 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8847
8848Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8849
8850 * lib/gdb.exp: Comment out code which depends on non-existent
8851 `transform' procedure.
8852
8853Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8854
8855 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8856 * lib/gdb.exp: Transform tool name.
8857 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8858 1.1's new error handling system.
8859
8860Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8861
8862 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8863
8864Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8865
8866 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8867 They made pattern matching so slow that timeouts happened on
8868 heavily loaded systems. Now any output from "show print" which
8869 gets us back to the GDB prompt is a PASS.
8870
8871Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8872
8873 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8874
8875Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8876
8877 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8878
8879 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8880 It is not from PR 3220.
8881
8882Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8883
8884 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8885 just started failing because they depended on the order the
8886 subcommands are presented, or exact docstring text. This kind of
8887 test is a pain and has minimal benefit.
8888
8889Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8890
8891 * gdb.t09/corefile.exp: At end of test, use "core" command with
8892 no arguments.
8893
8894Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8895
8896 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8897 17}/Makefile.in: Make it possible to run the testsuite with Sun
8898 make and CC = cross gcc by adding explicit build rules for .o
8899 files.
8900
8901Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8902
8903 * gdb.t15/funcargs.exp: Don't put comments on same line as
8904 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8905
c906108c
SS
8906Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8907
8908 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8909
8910Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8911
8912 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8913 * gdb.t20/inherit.exp: remove three dumplicate entries.
8914
8915Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8916
8917 * gdb.t06/break.exp: For "next over recursive call", fail on any
8918 incorrect output, not just on "factorial (value=2)".
8919
8920Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8921
8922 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8923 working now. Add an xfail if accesing a bss variable causes
8924 a memory error if the target is not yet run.
8925
8926Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8927
8928 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8929 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8930 name of __st* demangling (2 strings). Did Kung really get the
8931 more than 95 others right without testing them?
8932
8933Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8934
8935 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8936
8937Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8938
8939 * configure.in (configdirs): Add gdb.disasm
8940 * gdb.disasm: New directory for GDB disassembler tests.
8941 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8942
8943Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8944
8945 * gdb.t00/help.exp: Don't test "help set".
8946
8947 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8948 from within expect statements. None of these happen anymore and
8949 they cause regressions to be silently unnoticed.
8950
8951 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8952 messages) about known failures with gcc cygnus-2.4.5-930417.
8953
8954 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8955 comp-info.exp so it gets built if it doesn't exist.
8956
8957 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8958 it is no longer used.
8959 * gdb.t13/comp-info.c: Removed.
8960
8961Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8962
8963 * gdb.t06/signals.exp: Add xfail for sun3.
8964
8965Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8966
8967 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8968 relevant because ^C doesn't get sent but failure can be reproduced
8969 interactively).
8970
8971Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8972
8973 * gdb.stabs/alpha.mt: New configuration file for alpha.
8974 * gdb.stabs/configure.in: Use it.
8975 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8976 sharing with alpha.mt, redefine long to word via preprocessor.
8977 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8978 for alpha.
8979 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8980 native cc.
8981 * gdb.t00/teststrategy.exp: Change expect string so that we
8982 consume the `(xgdb)' from the command echo and from the gdb prompt.
8983 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8984 gdb currently compares all values as long, so this failure probably
8985 applies to any configuration where LONGEST is bigger than a target int.
8986 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8987 with gcc.
8988 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8989 to handle opaque pointers, gcc is.
8990 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8991 as first argument. Include <sys/types.h> and change all operator
8992 new definitions to use size_t.
8993 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8994 now that we use size_t.
8995
8996Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8997
8998 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8999 a long or float array cast all array members to the same type.
9000 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9001 with 64 bit longs.
9002 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9003 on alpha.
9004 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9005
9006Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9007
9008 * gdb.t24 (demangle.exp): Constructors of templates have names like
9009 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9010 section 14.6 of the ARM.
9011
9012 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9013 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9014 accomplish little and slow down the testsuite.
9015
9016 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9017 Accept spaces various places.
9018
9019Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9020
9021 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9022 with watchpoint enabled.
9023
9024 * Makefile.in: Remove definition of CC and remove the second
9025 definition of CXX (the "CXX = gcc" one remains). These definitions
9026 were causing backquotes to be expanded within backquotes, which
9027 doesn't work.
9028
9029Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9030
9031 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9032
9033Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9034
9035 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9036 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9037 by mips cc and contains no stabs entries.
9038
9039Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9040
9041 * config/vx-gdb.exp: Use fake device to load files rather than
9042 NFS.
9043 * lib/gdb.exp: New proc to do "file" command.
9044 * config/unix-gdb.exp: Use new "file" proc.
9045
9046Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9047
9048 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9049 Rework board rebooting slightly.
9050 (gdb_exit): Don't exit from the remote shell; there isn't one.
9051 * gdb.stabs/weird.exp: If a program is being debugged already,
9052 kill it.
9053 * gdb.t04/setvar.exp: Stop and restart gdb.
9054 * gdb.t05/expr.exp: Likewise.
9055 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9056 restart gdb and reload the program.
9057 * gdb.t08/opaque.exp: Likewise.
9058 * gdb.t12/scope.exp: Likewise.
9059 * gdb.t13/bitfields.exp: Likewise.
9060 * gdb.t15/funcargs.exp: Likewise.
9061 * gdb.t20/classes.exp: Likewise.
9062 * gdb.t03/ptype.exp: Increase timeout.
9063 * gdb.t16/printcmds.exp (test_print_string_constants,
9064 test_print_array_constants): Likewise.
9065 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9066 * gdb.t20/classes.exp (do_tests): Likewise.
9067 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9068
9069Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9070
9071 * gdb.stabs: Renamed *wierd* to *weird*.
9072
9073Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9074
9075 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9076 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9077
9078Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9079
9080 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9081 (do_tests): Remove xfail for whatis on one_var and two_var.
9082
9083Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9084
9085 * Makefile.in: Made cross building work better by adding
9086 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9087
9088Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9089
9090 * gdb.t15/{return.c,return.exp,Makefile.in}:
9091 New test, currently commented out.
9092
9093Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9094
9095 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9096 still running and removes the leftover named socket so GDb can do
9097 clean restarts.
9098
9099Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9100
9101 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9102 console, not GDB.
9103 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9104 cross testing works better with "make check"
9105 * config/unix-gdb: Use default procedures for exit and version.
9106 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9107 with the newest VxWorks.
9108
9109Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9110
9111 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9112 old form.
9113
9114 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9115 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9116
9117 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9118
9119 * config/unix-gdb.exp: Remove this version of gdb_exit
9120 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9121 Rob says he'll look at it when he gets back to testing boards.
9122
9123Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9124
9125 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9126 an expected fail for certain ptype commands.
9127
9128 * gdb.t20/classes.exp: Update expected results of "ptype class
9129 Base1" to account for the constructor that now appears in the type.
9130
9131Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9132
9133 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9134 disappeared from list.
9135 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9136 "alldone" proc with call to cleanup and exit.
9137 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9138 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9139 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9140 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9141 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9142 "alldone" proc with simple returns that suppress remaining
9143 tests. The alldone proc went away many months ago.
9144
9145Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9146
9147 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9148
9149 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9150
9151Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9152
9153 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9154 as vax gdb will display them.
9155
9156Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9157
9158 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9159 optimizers.
9160
9161 * scope.exp: Change "bad value for localval" messages so each one
9162 is unique.
9163
9164 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9165 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9166
9167 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9168
9169Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9170
9171 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9172 doesn't exist (due to optimization).
9173
9174Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9175
9176 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9177 contains \r because the filename is long.
9178
9179 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9180 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9181
9182Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9183
9184 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9185 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9186 Ultrix.
9187 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9188 int tests.
9189 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9190
9191Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9192
9193 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9194
9195 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9196 to match does not match the passing case but still matches the
c906108c
SS
9197 failing case.
9198
9199Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9200
9201 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9202
9203Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9204
9205 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9206 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9207 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9208 Remove various versions of gdb_exit.
9209 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9210 gdb_exit.
9211 * config/unix-gdb.exp: gdb_exit remains here, and should override
9212 the generic version, since it's doing a lot of wierd stuff that
9213 the other versions aren't. FIXME, fold it in, or abandon this
9214 version.
9215
9216Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9217
9218 * gdb.t24/demangle.exp: Add tests for PR 3220.
9219
9220Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9221
9222 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9223
9224Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9225
9226 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9227 "i386-*-*". Works for i486 as well.
9228
9229 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9230 bug, and expand domain of xfail to all SVR4 systems, since the
9231 actual problem is likely to be in generic SVR4 /proc support.
9232
9233Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9234
9235 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9236
9237Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9238
9239 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9240 xfails for other systems. Match a missing 'Continuing.' as an
9241 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9242
9243 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9244 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9245 Only issue warning for missing executables if -all option is used.
9246
9247 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9248 file if -all option is used. It's like an unpredictable XFAIL.
9249
9250Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9251
9252 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9253 for dynamically linked binaries.
9254
9255 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9256
9257Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9258
9259 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9260 to state that this is a known bug in old versions of g++.
9261
9262Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9263
9264 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9265 while waiting for `Continuing'.
9266
9267Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9268
9269 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9270 in text, data, and bss.
9271 * gdb.t10/nodebug.c: Add local and global test variables for
9272 initialized and uninitialized data.
9273
9274Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9275
9276 * config/unix-gdb.exp (gdb_exit): Add "wait".
9277
9278Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9279
9280 * gdb.t06/signals.exp: xfail the continue from the handler for all
9281 targets.
9282
9283 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9284 function with watchpoints enabled, the i386 call dummy starts with
9285 a call.
9286
9287 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9288 386 bsd names its corefiles.
9289
9290Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9291
9292 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9293 compilers don't grok it.
9294 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9295 with small octal ints rather than character constants, which
9296 are signed and might not fit if first promoted to int.
9297
9298Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9299
9300 * gdb.t09/Makefile.in (clean): Remove corefile.
9301
9302Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9303
9304 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9305
9306Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9307 and Jim Kingdon (kingdon@cygnus.com)
9308
9309 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9310 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9311 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9312
9313Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9314
9315 * gdb.t17/interrupt.exp: Add xfail for hppa.
9316
9317Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9318
9319 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9320 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9321 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9322 to determine signed-ness of bitfields and use the result to setup
9323 the xfail.
9324 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9325 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9326 call line is reached if necessary.
9327
9328Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9329
9330 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9331
9332Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9333
9334 * gdb.t06/break.exp: Also test `clear' command.
9335
9336Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9337
9338 * gdb.t00/teststrategy.exp: Remove extra quote.
9339
9340 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9341 watchpoint enabled to be for all non-68k machines.
9342
9343 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9344
9345Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9346
9347 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9348 targets use aout.mt instead of ecoff.mt as gas understands
9349 standard aout format.
9350
9351Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9352
9353 * lib/gdb.exp (runto): Don't insist that function we are running to
9354 was compiled with -g.
9355
9356 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9357
9358 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9359 to get back into the read system call.
9360 Accept leading newline in case where we woke it up.
9361
9362Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9363
9364 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9365 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9366 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9367 enable ecoff configuration.
9368
9369Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9370
9371 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9372
9373Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9374
9375 * gdb.t16/printcmds.exp: Add another printf test.
9376
9377Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9378
9379 * configure.in: If configured -with-stabs on any target, add
9380 stabsdirs to configdirs.
9381
9382Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9383
9384 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9385 fun" so pattern does not match the command itself.
9386
9387Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9388
9389 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9390
9391Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9392
9393 * gdb.t17/interrupt.exp: Test for more things.
9394
9395Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9396
9397 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9398 compiler arranges the code and line numbers.
9399
9400 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9401
9402Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9403
9404 * gdb.t00/help.exp: Increase expect input buffer size.
9405
9406Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9407
9408 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9409
9410 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9411
9412 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9413
9414 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9415 [0-9]*, not just [0-9].
9416
9417Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9418
9419 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9420
9421 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9422
9423Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9424
9425 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9426
9427Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9428
9429 * gdb.t06/signals.c: Add xfails for sun3.
9430
9431 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9432
9433 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9434 test_stepping tests.
9435
9436Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9437
9438 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9439
9440 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9441
9442 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9443 rather than actually putting it through cpp twice.
9444
9445 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9446
9447Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9448
9449 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9450 no longer needed.
9451
9452Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9453
9454 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9455
9456 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9457 C++ features prints as "struct", make it a pass, not an xfail.
9458
9459Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9460
9461 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9462 Don't require VA to print as "class" rather than "struct".
9463
9464Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9465
9466 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9467
9468Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9469
9470 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9471
9472Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9473
9474 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9475 order.
9476
9477Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9478
9479 * gdb.t16/printcmds.exp: Add printf tests.
9480
9481 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9482
9483 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9484
9485Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9486
9487 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9488 pass counts, to counteract any existing or future setup_xfails.
9489
9490Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9491
9492 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9493 {BEGIN,END}_COMMON for common block instead of STAB.
9494 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9495
9496 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9497 intp_var should be N_GSYM not N_LSYM.
9498 wierd-aout.S: Use a label for the value of the N_SO.
9499 wierd.def: Remove all backslashes.
9500 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9501
9502Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9503
9504 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9505 get the expected next to inheritance3.
9506
9507Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9508
9509 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9510 now that gcc-2.4 gets it right.
9511
9512Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9513
9514 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9515
9516 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9517 generating comp-info.exp which works for cross-compilation.
9518
9519Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9520
9521 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9522 "*-*-sysv4.*".
9523
9524Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9525
9526 * gdb.t01/run.exp: Start with a fresh gdb.
9527 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9528 SVR4.x.
9529
9530Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9531
9532 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9533 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9534 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9535 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9536 things to remove.
9537
9538Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9539
9540 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9541 test cases from bug reports.
9542
9543Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9544
9545 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9546 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9547 avoid spurious xfails.
9548 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9549 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9550 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9551
9552Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9553
9554 * gdb.t00/teststrategy.exp: Rework to provide more useful
9555 description of each test, fix problem with systems that define
9556 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9557 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9558 results for "next over recursive call" so timeouts aren't taken
9559 by error.
9560
9561Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9562
9563 * gdb.t12/scope.exp: Test printing of variables before run.
9564
9565 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9566 printed in wrong order due to sorting.
9567
9568Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9569
9570 * gdb.t00/teststrategy.exp: Fix expected results for printing
9571 user entered string constant. Is array of char, prints with no
9572 address.
9573
9574 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9575 commands.
9576 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9577 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9578 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9579 of struct of char arrays.
9580 * gdb.t00/radix.exp: New tests for radix commands.
9581
9582Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9583
9584 * gdb.t16/printcmd.exp: Print a variable before running program
9585 (with xfail for AIX).
9586
9587Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9588
9589 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9590
9591 * gdb.t16/printcmd.exp: Don't print variables before running program.
9592
9593 * gdb.t06/break.exp: Don't require envp argument to main.
9594
9595 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9596
9597 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9598 Add xfails for rs6000.
9599
9600 * gdb.t02/whatis.exp: Change other tests not to re-test something
9601 we already tested.
9602
9603 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9604 each type used has a variable of that type.
9605
9606Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9607
9608 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9609
9610Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9611
9612 * configure.in: change srctrigger to be a file, not a directory
9613
9614Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9615
9616 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9617
9618 * gdb.t11/list.exp: Fixed a couple of typos.
9619
9620Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9621
9622 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9623 is fixed and PR is closed.
9624 * gdb.t16 (gdbme.c): Add simple test string variable.
9625 * gdb.t16 (printcmds.exp): Add tests with simple test string
9626 variable, primarily for boundaries on "set print elements".
9627
9628Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9629
9630 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9631 Make leading 0's optional and don't expect a tab in the middle
9632 of the number.
9633
9634 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9635
9636 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9637 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9638 don't end command passed to gdb_test with newline.
9639
9640 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9641 signed keyword away, don't expect signed bitfields to be signed.
9642
9643 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9644 printing with only as many 1's as are in the field as well as printing
9645 with 32 1's (see comment).
9646
9647Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9648
9649 * gdb.t00/default.exp: Start with a fresh gdb.
9650 * configure.in (configdirs): Remove gdb.t31 until the chill
9651 compiler works again. It no longer is able to find chillrt0
9652 since it isn't in libchill.a anymore.
9653 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9654 wierd.o, make more modular.
9655 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9656 spurious newlines that caused problems.
9657
9658Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9659
9660 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9661 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9662 gdb.stabs/wierd.{exp,def}: Many new tests.
9663
9664 * gdb.t00/default.exp: update info line for new message.
9665
9666 * gdb.t02/{whatis.exp,gdbme.c}:
9667 Test that "char *" doesn't print as "caddr_t".
9668
9669Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9670
9671 * gdb.t00/help.exp: Use .* in place of some help messages which
9672 just changed.
9673 gdb.t00/default.exp: Update "info frame" test for new message.
9674 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9675 Remove some xfails
9676
9677Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9678
9679 * gdb.t03/{gdbme.c,ptype.exp}:
9680 Add tests for typedef'd struct and union without tags.
9681 Also check "whatis" on a variable of a typedef'd enum without a tag.
9682
9683 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9684 PRMS 1823; the bug still exists but isn't reproduced by this test
9685 anymore), and remove rs6000 XFAIL (the bug is fixed).
9686
9687 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9688 duplicated from whatis.exp. For those that are left, accept
9689 "long", "long int", or "int" for long variables (whatis.exp already
9690 has an XFAIL for "int", so no need to fail it here).
9691
9692 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9693 Deal with GCC's names for types now that GDB uses the compiler's names.
9694
9695 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9696 setup_xfail's for sunos4. If we #defined the signed keyword away,
9697 don't expect GDB to know that char it is signed.
9698
9699 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9700
9701Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9702
9703 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9704 should work on any system, regardless of debugging format.
9705 * gdb.t21/demangle.exp: Move to gdb.t24.
9706 * gdb.t24/demangle.exp: Move from gdb.t21.
9707 * gdb.t24/{Makefile.in, configure.in}: New files.
9708
9709Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9710
9711 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9712 * gdb.stabs: New directory.
9713
9714Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9715
9716 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9717 not just "Quit anyway?".
9718
9719Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9720
9721 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9722 that all setup_xfails are immediately followed by clear_xfails.
9723
9724Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9725
9726 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9727 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9728 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9729 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9730 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9731 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9732 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9733 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9734 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9735 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9736 gdb.t31/chillvars.exp, lib/gdb.exp:
9737 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9738 bug-gdb@prep.ai.mit.edu.
9739
9740Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9741
9742 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9743 with 0.0, not integer 0.
9744
9745Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9746
9747 * gdb.t06/break.exp: Update for "Kill the program" message change.
9748
9749Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9750
9751 * Makefile.in (GDBFLAGS): Set to -nx.
9752 * Makefile.in (site.exp): Use GDBFLAGS.
9753
9754Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9755
9756 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9757 Makefiles.
9758 (check): depend on just-check.
9759 (just-check): added so that tests can be run without a noop
9760 build pass.
9761
9762Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9763
9764 Switch to using configure's configdirs.
9765 * Makefile.in (Makefile): add configure.in dependency.
9766 (SUBDIRS): removed redundant assignment.
9767 * configure.in: switch subdirs assignment to configdirs.
9768 * gdb.t*/configure.in: new files.
9769
9770Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9771
9772 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9773 works.
9774
9775Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9776
9777 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9778 in explicit rules. Apparently this is not supported by some makes.
9779
9780Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9781
9782 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9783
9784Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9785
9786 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9787 disappeared.
9788
9789Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9790
9791 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9792
9793Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9794
9795 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9796 watchpoint problem that is now fixed.
9797 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9798 uninitialized convenience variables.
9799 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9800 structures.
9801
9802Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9803
9804 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9805 which causes expect to get out of sync with gdb on long output
9806 from help set.
9807 * gdb.t09/corefile.exp: Make expected pattern for core file
9808 failing signal and frame output format less sun specific.
9809
9810Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9811
9812 * gdb.t31/chillvars.exp: Add and remove initial dummy
9813 breakpoint, so that symbol table is forced in.
9814 (Needed at least on Sunos4, though it seems not SVR4.)
9815 * gdb.t31/chillvars.exp: Update for changed output format.
9816
9817Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9818
9819 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9820
9821Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9822
9823 * Makefile.in: Added --srcdir when invoking runtest, removed the
9824 need for a local config file. (optional now)
9825
9826Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9827
9828 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9829 failure count used to force early termination. Add some more
9830 expected failures for gnu style demangling.
9831
9832Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9833
9834 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9835 pmi variable from gdb.t20/gdbme to get optimized away.
9836 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9837 Check for written corefile upon timeout _and_ eof.
9838
9839Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9840
9841 * config/unix-gdb.exp: Add missing return 0.
9842
9843Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9844
9845 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9846 test termination.
9847
9848Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9849
9850 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9851 disappeared.
9852
9853Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9854
9855 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9856 time as i860 support works.
9857
beb998c6 9858 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9859 "backtrace 100\r" rather than just "backtrace\r", to match last
9860 change.
9861
9862Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9863
9864 * config/udi-gdb.exp (gdb_exit): Remove close command.
9865 (gdb_target_udi): New procedure to set the UDI target.
9866 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9867 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9868 Added waits for prompts after several question responses. Added
9869 some more responses used by a29k-amd-udi-gdb.
9870 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9871 pass different arguments, restart UDI connection after program
9872 completion.
9873 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9874 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9875 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9876 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9877 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9878 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9879 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9880 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9881 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9882 after program completion.
9883 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9884 compiled with a SELECT_VECS setting.
9885 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9886 infinite recursion.
9887
9888 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9889 Added checks for COFF results, and made them expected failures for
9890 all targets. It would be better to make them expected failures
9891 for COFF targets only.
9892
9893Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9894
9895 * Makefile.in: add null dvi target, don't bother to recurse
9896 through test directories for info and install-info; rename
9897 $(datadir) to be dejagnu instead of deja-gnu
9898
9899Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9900
9901 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9902 compiler to coredump.
9903 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9904 code.
9905
9906Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9907
9908 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9909 coredump.
9910 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9911 code.
9912
9913Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9914
9915 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9916 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9917 which in a shell. Deletes xgdb when done.
9918 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9919 Tests the return from the "set height" or "set width" commands.
9920 Added a few return codes where needed.
9921
9922Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9923
9924 * Makefile.in (SUBDIRS): Add gdb.t17.
9925 * configure.in (subdirs): Add gdb.t17.
9926 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9927 files to test gdb's calling of functions in the inferior with
9928 the correct arguments and gdb's ability to retrieve any
9929 result returned.
9930
9931Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9932
9933 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9934 may be called after gdb goes away. Previous versions of expect
9935 needed these to avoid file descriptor leaks, but they cause
9936 errors with the current revision of expect.
9937 * gdb.t00/gdbvars.exp: Use -re on expected output after
9938 setting sevenbit-strings.
9939 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9940 to set sevenbit-strings consistent across tests.
9941 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9942 set sevenbit-strings consistent across tests.
9943
9944Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9945
9946 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9947 expected output to match current "expect" expectations.
9948
9949Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9950
9951 * gdb.t00/default.exp: Change expected output for default "source"
9952 command, to match new gdb behavior which requires a filename to
9953 source.
9954
9955Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9956
9957 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9958 expected fail for i486-*-* that misses the marker2 function.
9959 * gdb.t10/crossload.exp (bfddefault): Allow successful
9960 recognition of a format to pass even if no symbols are found.
9961 Explicitly catch failures where the format is not recognized
9962 or is ambiguous, and add the reason to the fail message.
9963 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9964 the cause is and invalid target and add reason to failure message.
9965 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9966 elf32-i386, elf32-sparc, and elf32-i860.
9967 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9968 Set up expected failure for 'filename'::variable scope resolution,
9969 which is now apparently broken on all targets.
9970 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9971 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9972 gdb.t23/templates.exp: Change failure for missing binfile into
9973 just a warning.
9974 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9975 references.
9976
9977Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9978
9979 * gdb.t00/default.exp: Add expected output for default "source"
9980 command, to match new gdb behavior.
9981 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9982
9983Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9984
9985 * config/*-gdb.exp: returns an error, rather than exiting on
9986 internal errors.
9987
9988Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9989
9990 * gdb.t03/gdbme.c: Add pointer to struct variable.
9991 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9992 referencing struct members.
9993
9994Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9995
9996 * configure.in (mips-idt-ecoff): New target.
9997 * config/mips-gdb.exp: New file for remote board using MIPS remote
9998 debugging protocol.
9999
10000 * Redid configuration scheme. Removed gdb.t*/configure.in.
10001 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10002 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10003 distclean targets. Built executables via .o files. Adjusted
10004 tests to account for source files in $(srcdir) rather than
10005 $(objdir).
10006 * lib/gdb.exp (runto): Don't expect () after the function name,
10007 because it may have arguments.
10008
10009Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10010
10011 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10012 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10013 expected failures for mips-idt-* and mips-sgi-*.
10014 * gdb.t00/default.exp (attach): Kill process if requested.
10015 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10016 that does not read core files.
10017 * gdb.t01/run.exp: Removed checks for exit status code.
10018 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10019 it is linked in.
10020 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10021 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10022 appropriate, rather than doing it by hand.
10023 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10024 execution.
10025 * gdb.t10/crossload.exp: Kill existing program if needed.
10026 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10027 appropriate, rather than doing it by hand. Always increase
10028 timeout for this test, not just for VxWorks.
10029
10030Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10031
10032 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10033 of Chill STRUCT types and STRUCT values.
10034 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10035 than "char".
10036 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10037 struct2): New struct definitions and initializations to test
c906108c
SS
10038 simple Chill STRUCT types.
10039
10040Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10041
10042 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10043 the null byte at the end of strings.
10044 * gdb.t00/default.exp: Make show version insensitive to copyright
10045 date.
10046 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10047 to avoid dependencies on target char signedness.
10048 * gdb.t16/printcmds.exp: Update expected results for explicitly
10049 unsigned char.
10050 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10051 now work.
10052 * gdb.t21/demangle.exp: Add many more patterns for template
10053 demangling, most of them being expected failures.
10054 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10055 string we are matching for, to match on the whole string.
10056 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10057 and fix a whole bunch that had incorrect expected output but were
10058 passing anyway because of the bug in "proc demangle".
10059 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10060 type.
10061 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10062
10063Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10064
10065 * gdb/testsuite: made modifications to testcases, etc., to allow
10066 them to work properly given the reorganization of deja-gnu and the
10067 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10068
10069Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10070
10071 * gdb/testsuite: Initial creation of gdb/testsuite.
10072 Migrated dejagnu testcases and support files for testing nm to
10073 gdb/testsuite from deja-gnu. These files were moved "as is"
10074 with no modifications. This migration is part of a major overhaul
10075 of dejagnu. The modifications to these testcases, etc., which
10076 will allow them to work with the new version of dejagnu will be
10077 made in a future update.
10078\f
10079Local Variables:
10080mode: indented-text
10081left-margin: 8
10082fill-column: 74
10083version-control: never
10084End: