gdb:
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e33d66ec
EZ
12003-05-02 Elena Zannoni <ezannoni@redhat.com>
2
3 * gdb.base/charset.exp: Update based on new behavior of set/show
4 charset commands.
5
2b6fd0d8
AC
62003-05-01 Andrew Cagney <cagney@redhat.com>
7
8 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
9 variable do not give memory errors.
10
130cacce
AF
112003-04-30 Adam Fedor <fedor@gnu.org>
12
13 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16 gdb.objc/basicclass.m: : New files
17
18 * lib/gdb.exp (gdb_compile_objc): New procedure.
19
bea71854
DJ
202003-04-27 Daniel Jacobowitz <drow@mvista.com>
21
22 * gdb.base/signals.exp: Make backtrace tests more specific.
23
0f20eeea
DC
242003-04-23 David Carlton <carlton@bactrian.org>
25
26 * gdb.c++/maint.exp (test_first_component): Add tests for
27 'operator' in more locations.
28
c8c4d8dc
KB
292003-04-16 Kevin Buettner <kevinb@redhat.com>
30
31 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
32
3fe60e3c
EZ
332003-04-16 Elena Zannoni <ezannoni@redhat.com>
34
35 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
36 func marke' instead. Update test name.
37
9219021c
DC
382003-04-15 David Carlton <carlton@math.stanford.edu>
39
40 * gdb.c++/maint.exp: New file.
41
5dd55bdd
EZ
422003-04-14 Elena Zannoni <ezannoni@redhat.com>
43
44 * gdb.threads/schedlock.c: Change type of thread function argument
45 to long, to avoid warnings on 64-bit platforms.
46
00890572
EZ
472003-04-14 Elena Zannoni <ezannoni@redhat.com>
48
49 * gdb.base/attach.exp: Add new message from ptrace in case of
50 attaching to nonexistent process.
51
93201743
JB
522003-04-11 Jim Blandy <jimb@redhat.com>
53
54 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
55 gdb.c++/userdef.cc: Place comments on the lines to which the
56 marker function might return.
57 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
58 gdb.c++/userdef.exp: Look for those comments to check that we've
59 returned to the right place, instead of checking line numbers.
60
2a11c64d
EZ
612003-04-11 Elena Zannoni <ezannoni@redhat.com>
62
63 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
64 match on sourcefile name, instead of directory name.
65
68ab8fc5
EZ
662003-04-10 Elena Zannoni <ezannoni@redhat.com>
67
68 * gdb.base/completion.exp: Use string_to_regexp to match the
69 working directory name.
70
5624293a
JB
712003-04-09 Jim Blandy <jimb@redhat.com>
72
73 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
74 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
75 after an inferior function call, report the failure, but allow the
76 test to continue.
77
f1f02ee4
SC
782003-04-05 Stephane Carrez <stcarrez@nerim.fr>
79
80 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
81 with -DPROTOTYPES.
82
6eb79af0
SC
832003-04-05 Stephane Carrez <stcarrez@nerim.fr>
84
85 * gdb.base/break.exp: Revert last patch.
86
8dfb4cf0
SC
872003-04-04 Stephane Carrez <stcarrez@nerim.fr>
88
89 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
90 with -DPROTOTYPES.
91
ed4c619a
AC
922003-04-02 Andrew Cagney <cagney@redhat.com>
93
94 * gdb.base/callfuncs.exp: Make "print add" messages unique.
95 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
96 matching directories by the name breakpoint.
97 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
98 Make "continue to marker1" consistent.
99 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
100 message consistent.
101 * lib/gdb.exp: Put "the program is no longer running", and "the
102 program exited" in parenthesis.
103 * lib/mi-support.exp: Ditto.
104
4e35d5f0
BR
1052003-04-02 Bob Rossi <bob_rossi@cox.net>
106
107 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
108
71900fe8
AC
1092003-03-29 Andrew Cagney <cagney@redhat.com>
110
111 * gdb.base/sizeof.c (main): Print the value of '\377'.
112 * gdb.base/sizeof.exp: Check the sign of '\377'.
113
c0655a16
MC
1142003-03-27 Michael Chastain <mec@shout.net>
115
116 * gdb.base/gdb1090.exp: New file.
117 * gdb.base/gdb1090.cc: New file.
118
5b2a3989
JB
1192003-03-27 J. Brobecker <brobecker@gnat.com>
120
121 * gdb.gdb/observer.exp: New regression test.
122
79876890
MC
1232003-03-27 Michael Chastain <mec@shout.net>
124
125 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
126 * gdb.base/ptype.exp: Likewise.
127
6eac95e3
CV
1282003-03-27 Corinna Vinschen <vinschen@redhat.com>
129
130 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
131
e8c71839
MC
1322003-03-26 Michael Chastain <mec@shout.net>
133
134 * gdb.base/ptype.exp: Actually use some typedef'd types.
135
71b10041
SC
1362003-03-21 Stephane Carrez <stcarrez@nerim.fr>
137
138 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
139 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
140
2512cf80
CV
1412003-03-20 Corinna Vinschen <vinschen@redhat.com>
142
143 * gdb.base/default.exp: Fix regular expression.
144
0d195a4f
CV
1452003-03-20 Corinna Vinschen <vinschen@redhat.com>
146
147 * gdb.base/args.exp: Fix regular expression.
148
8a2dbca8
CV
1492003-03-20 Corinna Vinschen <vinschen@redhat.com>
150
151 * gdb.base/help.exp: Allow Win32 child process.
152
bf028682
CV
1532003-03-20 Corinna Vinschen <vinschen@redhat.com>
154
155 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
156 when stepping out of main().
157
182dbe85
CV
1582003-03-20 Corinna Vinschen <vinschen@redhat.com>
159
160 * gdb.base/default.exp: Check for win32 specific message when calling
161 "run" without executable.
162
d67a6ba5
CV
1632003-03-20 Corinna Vinschen <vinschen@redhat.com>
164
165 * gdb.base/args.exp: Expect .exe in output.
166
a955b5bb
CV
1672003-03-20 Corinna Vinschen <vinschen@redhat.com>
168
169 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
170 Cygwin native.
171
bf6bad4b
AC
1722003-03-17 Andrew Cagney <cagney@redhat.com>
173
174 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
175 vector registes.
176 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
177 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
178
293e9a31
DC
1792003-03-17 David Carlton <carlton@math.stanford.edu>
180
181 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
182 test, for PR breakpoints/38.
183 Call test_watchpoint_and_breakpoint.
184 * gdb.base/watchpoint.c (func3): New function.
185 (main): Call func3.
186
5330f2db
DC
1872003-03-04 David Carlton <carlton@math.stanford.edu>
188
189 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
190 Garply<Garply<char> >:: garply".
191 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
192 with respect to PR c++/1111; note also PR c++/1113.
193 (test_template_breakpoints): KFAIL "constructor breakpoint" with
194 respect to PR c++/1062.
195 KFAIL "destructor breakpoint" with respect to PR c++/1112.
196
6ece72da
DC
1972003-03-03 David Carlton <carlton@math.stanford.edu>
198
199 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
200 with respect to PR c++/57.
201 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
202 c++/826.
203 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
204 respect to PR c++/57.
205
85ca1584
DC
2062003-03-03 David Carlton <carlton@math.stanford.edu>
207
208 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
209 respect to PR c++/33 into FAILs.
210
98e9c5b8
MC
2112003-03-03 Michael Chastain <mec@shout.net>
212
7bedbf27
MC
213 * configure.in: Update copyright years.
214
2152003-03-03 Michael Chastain <mec@shout.net>
216
217 * Makefile.in: Update copyright years.
98e9c5b8 218
f683e100
DC
2192003-02-28 David Carlton <carlton@math.stanford.edu>
220
221 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
222 print class instead of struct and/or superfluous protection
223 specifiers, as long as the resulting output is equivalent to the
224 source code.
225 Delete FIXME from end of messages on tests that don't need
226 fixing.
227
a9e0cf2c
DC
2282003-02-28 David Carlton <carlton@math.stanford.edu>
229
230 * gdb.c++/templates.exp (do_tests): Allow const in the two
231 Foo<volatile char *>::foo tests.
232
e8d359df
MS
2332003-02-27 Michael Snyder <msnyder@redhat.com>
234
235 * gdb.base/restore.c (main): Return zero, so exit code
236 will be consistant.
237
0b71dc91
DC
2382003-02-26 David Carlton <carlton@math.stanford.edu>
239
240 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
241 char *>::foo" test with respect to PR c++/33. Create a new test
242 which is identical to that one except that it doesn't put the
243 space between the "char" and the "*"; KFAIL it, too.
244
dd14ab43
DC
2452003-02-26 David Carlton <carlton@math.stanford.edu>
246
247 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
248 template types into either PASSes or KFAILs (corresponding to PR
249 c++/57). Tweak indentation. Update copyright.
250
1146c7f1
SC
2512003-02-23 Stephane Carrez <stcarrez@nerim.fr>
252
253 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
254
74641dfb
MC
2552003-02-13 Michael Chastain <mec@shout.net>
256
257 * gdb.base/exprs.exp: Remove i960 remnants.
258 * gdb.base/funcargs.exp: Likewise.
259 * gdb.base/list.exp: Likewise.
260 * gdb.base/ptype.exp: Likewise.
261
559cd2d0
DC
2622003-02-14 David Carlton <carlton@math.stanford.edu>
263
264 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
265 pEe->D::vg()" from XFAIL to KFAIL.
266
c4f90d87
JM
2672003-02-13 Jason Molenda (jmolenda@apple.com)
268
269 * gdb.base/maint.exp: Update maint print statistics regexp to include
270 new entries.
271
cbc4d97c
MC
2722003-02-13 Michael Chastain <mec@shout.net>
273
274 * gdb.c++/inherit.exp: Remove call to get_debug_format.
275
40f235b7
MC
2762003-02-12 Michael Chastain <mec@shout.net>
277
278 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
279 * gdb.c++/inherit.exp: Likewise.
280 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
281 * gdb.c++/templates.exp: Likewise.
282 * gdb.c++/virtfunc.exp: Likewise.
283
c56716b0
JM
2842003-02-06 Jason Molenda (jason-cl@molenda.com)
285
286 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
287 why the code is written that way.
288
070afcf8
MC
2892003-02-05 Michael Chastain <mec@shout.net>
290
291 * gdb.base/dump.exp: Add missing copyright line.
292
5d0331e5
JM
2932003-02-05 Jason Molenda (jason-cl@molenda.com)
294
f7ae6d3e 295 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
296 at the beginning so the breakpoint doesn't get set on the loop.
297
92851186
MC
2982003-02-05 Michael Chastain <mec@shout.net>
299
300 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
301 output for configurations with gcc 2.95.3.
302
cbf1e085
AC
3032003-02-05 Keith Seitz <keiths@redhat.com>
304 Andrew Cagney <ac131313@redhat.com>
305
306 * gdb.mi/mi-cli.exp: New file.
307
29518e1e
MC
3082003-02-04 Michael Chastain <mec@shout.net>
309
310 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
311 Call perror and then continue.
312
5af1d5f3
MC
3132003-02-03 Michael Chastain <mec@shout.net>
314
315 * gdb.c++/pr-1023.cc: New file.
316 * gdb.c++/pr-1023.exp: New file.
317
6b549786
JB
3182003-02-05 Jim Blandy <jimb@redhat.com>
319
320 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
321 it's local to foobar. Check for it there, and check that it's not
322 present in main.
323 * gdb.c++/local.cc (marker2): New function.
324 (foobar): Call marker1.
325 (main): Call marker2 instead of marker1.
326
67f16606
AC
3272003-02-04 Andrew Cagney <ac131313@redhat.com>
328
329 * gdb.disasm/mn10200.exp: Obsolete file.
330 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
331 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
332 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
333
1c5cb38e
DC
3342003-02-04 David Carlton <carlton@math.stanford.edu>
335
336 * gdb.c++/overload.exp: Test intToChar(1).
337 * gdb.c++/overload.cc (intToChar): New.
338 (main): Call intToChar.
339
d1fe6965
DC
3402003-02-03 David Carlton <carlton@math.stanford.edu>
341
342 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
343 'might_kfail' arg.
344 KFAIL some of the continue_to_bp_overloaded calls, according to
345 PR c++/1025.
346
9ba61c5d
MC
3472003-02-01 Michael Chastain <mec@shout.net>
348
349 * gdb.base/advance.c (marker1): New marker function.
350 * gdb.base/advance.exp: When the 'advance' command lands on the
351 return breakpoint, it can legitimately stop on either the
352 current line or the next line. Accommodate both outcomes.
353 * gdb.base/until.exp: Likewise.
354
e7494ffb
AC
3552003-02-02 Andrew Cagney <ac131313@redhat.com>
356
357 2002-11-10 Jason Molenda (jason-cl@molenda.com):
358 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
359 now a list, not a tuple.
360 * gdb.mi/mi-var-display.exp: Ditto.
361 * gdb.mi/gdb792.exp: Ditto.
362
075559bc
AC
3632003-02-01 Andrew Cagney <ac131313@redhat.com>
364
365 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
366 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
367 stack backtraces.
368 * gdb.mi/mi-syn-frame.c: Part of same.
369
2bd4c7b1
MK
3702003-02-01 Mark Kettenis <kettenis@gnu.org>
371
372 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
373 gdb.mi/mi1-pthreads.exp: Return instead of calling
374 gdb_suppress_entire_file.
375
eabd8992
MS
3762003-02-01 Mark Salter <msalter@redhat.com>
377
378 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
379
71469e2f
MS
3802003-01-31 Mark Salter <msalter@redhat.com>
381
382 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
383 Support empty arg.
384
38a94d44
MC
3852003-01-30 Michael Chastain <mec@shout.net>
386
387 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
388 This was a workaround for a UTF-8 bug in readline 4.3. The bug
389 has been fixed in gdb/readline on 2003-01-09.
390
19ea9e73
MS
3912003-01-29 Michael Snyder <msnyder@redhat.com>
392
e8d359df
MS
393 * gdb.base/maint.exp: Allow for leading underscore in symbol.
394 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
395 * gdb.base/args.exp: Skip if target does not support args passing.
396
2307bd6a
DJ
3972003-01-22 Daniel Jacobowitz <drow@mvista.com>
398
19ea9e73 399 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
400 gdb_test. Accept a list of expect arguments as the third
401 parameter.
402 (gdb_test): Use it.
403
f2dd3617
EZ
4042003-01-20 Elena Zannoni <ezannoni@redhat.com>
405
406 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
407 allow for different test tree configurations. Update some
408 tescases accordingly.
409 * gdb.arch/altivec-regs.exp: Ditto.
410 * gdb.asm/asm-source.exp: Ditto.
411 * gdb.base/advance.exp: Ditto.
412 * gdb.base/display.exp: Ditto.
413 * gdb.base/long_long.exp: Ditto.
414 * gdb.base/mips_pro.exp: Ditto.
415 * gdb.base/overlays.exp: Ditto.
416 * gdb.base/relocate.exp: Ditto.
417 * gdb.base/setshow.exp: Ditto.
418 * gdb.base/step-line.exp: Ditto.
419 * gdb.base/step-test.exp: Ditto.
420 * gdb.base/until.exp: Ditto.
421 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
422
c71cdefd
DC
4232003-01-17 David Carlton <carlton@math.stanford.edu>
424
425 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
426 corresponding to PR c++/945.
427 Update copyright.
428
fdba05d7
DC
4292003-01-17 David Carlton <carlton@math.stanford.edu>
430
431 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
432 corresponding to PR c++/68.
433
4342003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
435
436 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
437 (test_paddr_hairy_functions): Call print_addr_2_kfail for
438 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
439
c362c33a
EZ
4402003-01-15 Elena Zannoni <ezannoni@redhat.com>
441
0fbc361c
EZ
442 * gdb.base/break.exp: Fix change of default location, because of
443 removal of until tests.
444 * gdb.base/help.exp: Update test for new 'until' help message.
445 Add test for help on 'advance'.
c362c33a
EZ
446 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
447
dabf8a35
MK
4482003-01-15 Mark Kettenis <kettenis@gnu.org>
449
450 * gdb.base/default.exp: Adapt "info float" test for recent changes
451 to that command. Add test for "info vector".
452 * gdb.base/float.exp: New file. Add test for "info float" that
453 resembles the old test in gdb.base/default.exp.
454
a1769aca
DC
4552003-01-15 David Carlton <carlton@math.stanford.edu>
456
457 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
458
82025e13
EZ
4592003-01-15 Elena Zannoni <ezannoni@redhat.com>
460
461 * gdb.base/break.exp: Move the tests of until command from here...
462 * gdb.base/until.exp: ... to here. New file. Add other tests.
463 * gdb.base/advance.c: New file.
464 * gdb.base/advance.exp: New file.
465
8f9ab801
EZ
4662003-01-14 Elena Zannoni <ezannoni@redhat.com>
467
468 * gdb.base/args.c: New file.
469 * gdb.base/args.exp: New file.
470
9ae66589
DJ
4712003-01-14 Daniel Jacobowitz <drow@mvista.com>
472
473 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
474
8d77e5c3
DJ
4752003-01-14 Daniel Jacobowitz <drow@mvista.com>
476
477 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
478
12d2f0a1
DJ
4792003-01-14 Daniel Jacobowitz <drow@mvista.com>
480
481 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
482 dates.
483
6ca37014
DJ
4842003-01-13 Daniel Jacobowitz <drow@mvista.com>
485
486 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
487
b0023472
DJ
4882003-01-13 Daniel Jacobowitz <drow@mvista.com>
489
490 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
491 (ptype &*"foo").
492 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
493
d6abaea5
DJ
4942002-01-13 Daniel Jacobowitz <drow@mvista.com>
495
496 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
497 * gdb.mi/mi1-console.exp: Likewise.
498
dfd536a7
DJ
4992002-01-13 Daniel Jacobowitz <drow@mvista.com>
500
501 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
502 * gdb.mi/mi1-console.exp: Likewise.
503
a1fb14a2
DJ
5042003-01-13 Daniel Jacobowitz <drow@mvista.com>
505
506 * gdb.c++/overload.exp: Remove some fixed XFAILs.
507
c4cf40b7
DJ
5082003-01-09 Daniel Jacobowitz <drow@mvista.com>
509
510 * gdb.base/detach.exp: New test.
511
696d5a5b
DJ
5122003-01-09 Daniel Jacobowitz <drow@mvista.com>
513
514 * Makefile.in (ALL_SUBDIRS): New variable.
515 (subdirs, clean, distclean): Use it.
516 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
517 regenerating Makefile, since it is generated from the top level.
518 * gdb.asm/Makefile.in: Likewise.
519 * gdb.base/Makefile.in: Likewise.
520 * gdb.c++/Makefile.in: Likewise.
521 * gdb.disasm/Makefile.in: Likewise.
522 * gdb.java/Makefile.in: Likewise.
523 * gdb.mi/Makefile.in: Likewise.
524 * gdb.threads/Makefile.in: Likewise.
525 * gdb.trace/Makefile.in: Likewise.
526
754533e4
DC
5272003-01-09 David Carlton <carlton@math.stanford.edu>
528
529 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
530 Add copyright year 2003.
531
d8b3e9ee
MC
5322003-01-06 Michael Chastain <mec@shout.net>
533
534 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
535 When selecting a thread, 'line' and 'file' are optional.
536 * gdb.mi/mi1-pthreads.exp: Likewise.
537
8e9e0fe6
AS
5382003-01-06 Andreas Schwab <schwab@suse.de>
539
540 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
541 failures.
542
b5ab8ff3
DJ
5432003-01-04 Daniel Jacobowitz <drow@mvista.com>
544
545 Fix PR gdb/844
546 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
547 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
548
549 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
550 instead of calling gdb_suppress_entire_file.
551 * gdb.threads/print-threads.exp: Likewise.
552 * gdb.threads/schedlock.exp: Likewise.
553
554 * gdb.threads/killed.exp: Return instead of calling
555 gdb_suppress_entire_file.
556 * gdb.threads/linux-dp.exp: Likewise.
557 * gdb.threads/pthreads.exp: Likewise.
558
1e698235
DJ
5592003-01-04 Daniel Jacobowitz <drow@mvista.com>
560
561 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
562 stabs.
563 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
564 * gdb.base/whatis.exp: Always allow (void) after function names.
565
147ff08c
DJ
5662003-01-04 Daniel Jacobowitz <drow@mvista.com>
567
568 * gdb.c++/casts.exp: Correct regexp.
569
dc62bfc2
MK
5702003-01-04 Mark Kettenis <kettenis@gnu.org>
571
572 * configure.in: Call AC_CONFIG_HEADER. Don't call
573 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
574 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
575 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
576 aforementioned directories in the AC_OUPUT call.
577 * config.hin: New file.
578 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
579 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
580 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
581 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
582 pass -I$objdir instead of -I$objdir/$subdir in compilation.
583 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
584 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
585 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
586 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
587 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
588 gdb.threads/configure.in, gdb.threads/configure,
589 gdb.threads/config.in, gdb.trace/configure.in,
590 gdb.trace/configure: Removed.
591
77afa639
MC
5922003-01-03 Michael Chastain <mec@shout.net>
593
594 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
595 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
596
7634bb6e
DJ
5972003-01-03 Daniel Jacobowitz <drow@mvista.com>
598
599 * gdb.base/store.exp: Fix regular expressions.
600
b39c905e
MK
6012002-12-28 Mark Kettenis <kettenis@gnu.org>
602
603 * configure.in: Rewrite.
604 * configure: Regenerated.
605
0a8551dd
DC
6062003-01-03 David Carlton <carlton@math.stanford.edu>
607
608 * gdb.base/psymtab.exp: New file.
609 * gdb.base/psymtab1.c: Ditto.
610 * gdb.base/psymtab2.c: Ditto.
611
c60b7188
AF
6122002-12-23 Adam Fedor <fedor@gnu.org>
613
614 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
615
ee73db83
DC
6162002-12-23 David Carlton <carlton@math.stanford.edu>
617
618 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
619 and current_directory initialization.
620
d6c1774e
JB
6212002-12-22 Jim Blandy <jimb@redhat.com>
622
f0a847b8
JB
623 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
624 rather than as part of the output file name.
625
d6c1774e
JB
626 * gdb.base/attach.exp: There's no need to copy the test program to
627 /tmp; that was only ever necessary on HP/UX, and this test is
628 entirely disabled there anyway.
629
f0708dbb
JB
6302002-12-21 Jim Blandy <jimb@redhat.com>
631
4c2acfea
JB
632 * gdb.c++/psmang.exp: Doc fix.
633
f0708dbb
JB
634 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
635 test.
636
9579e000
DC
6372002-12-20 David Carlton <carlton@math.stanford.edu>
638
639 * gdb.c++/annota2.exp: KFAIL annotate-quit.
640
d1810171
MC
6412002-12-18 Michael Chastain <mec@shout.net>
642
643 * gdb.c++/annota2.exp: Add copyright year 2002.
644
76565097
DC
6452002-12-17 David Carlton <carlton@math.stanford.edu>
646
647 * gdb.c++/try_catch.cc: Add marker comments.
648 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
649 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
650 * gdb.c++/m-static.cc: Ditto.
651 * gdb.c++/m-static1.cc: Ditto.
652 * gdb.c++/try_catch.cc: Ditto.
653
da81390b
JJ
6542002-12-16 Jeff Johnston <jjohnstn@redhat.com>
655
656 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
657 to see whether we are using the new -environment-directory
658 command which resets via -r or the old version of the command
659 which may prompt the user. Part of fix for gdb/741.
660
b304d130
AC
6612002-12-13 Andrew Cagney <ac131313@redhat.com>
662
663 * gdb.fortran/types.exp: Update obsolete comment.
664 * gdb.fortran/exprs.exp: Ditto.
665 * lib/gdb.exp: Delete obsolete code.
666 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
667 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
668 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
669 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
670 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
671 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
672 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
673 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
674 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
675 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
676 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
677 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
678 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
679 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
680 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
681 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
682 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
683 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
684 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
685 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
686 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
687 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
688 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
689 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
690 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
691 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
692 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
693 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
694 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
695 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
696 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
697 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
698 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
699 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
700 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
701 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
702 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
703
a23b6e6a
DC
7042002-12-11 David Carlton <carlton@math.stanford.edu>
705
706 * gdb.c++/m-data.exp: Add test for members that shadow global
707 variables: see PR gdb/804.
708 * gdb.c++/m-data.cc: Ditto.
709
6604731b
DJ
7102002-12-10 Daniel Jacobowitz <drow@mvista.com>
711
712 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
713
de46ecd7
DC
7142002-12-06 David Carlton <carlton@math.stanford.edu>
715
716 * gdb.base/store.c: Don't declare functions static.
717
27e829d0
AC
7182002-12-04 Andrew Cagney <ac131313@redhat.com>
719
720 * gdb.base/store.exp, gdb.base/store.c: New files.
721
92806416
DJ
7222002-12-03 Daniel Jacobowitz <drow@mvista.com>
723
724 * gdb.base/selftest.exp: Update for current gdb.
725
3bcbaac5
DJ
7262002-12-03 Daniel Jacobowitz <drow@mvista.com>
727
728 * gdb.base/maint.exp: Only dump symbols from one source file
729 or objfile.
730
f4f00b1f
DJ
7312002-12-03 Daniel Jacobowitz <drow@mvista.com>
732
733 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
734 function call.
735
f1c8a949
JB
7362002-11-25 Jim Blandy <jimb@redhat.com>
737
738 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
739 function appearing in error message.
740
9e297a97
DJ
7412002-11-21 Daniel Jacobowitz <drow@mvista.com>
742
743 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
744
1f312e79
JJ
7452002-11-08 Jeff Johnston <jjohnstn@redhat.com>
746
747 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
748 for mi1 and current mi is in correct format. New mi startup message
749 should be in mi console format. This is part of fix for PR gdb/604.
750
83c31e7d
FN
7512002-09-18 Fernando Nasser <fnasser@redhat.com>
752
753 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
754 which explicitly prints the zero offset as "+0".
755
322b3f65
DJ
7562002-10-22 Daniel Jacobowitz <drow@mvista.com>
757
758 * gdb.threads/schedlock.c (args): Make unsigned.
759
7602002-10-21 Daniel Jacobowitz <drow@mvista.com>
761
762 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
763 numbers. Allow "foo2|selected stack frame".
764 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
765 * gdb.asm/asmsrc2.s: Likewise.
766 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
767 comments.
768 * gdb.asm/mips.inc: New file.
769
5e2fe5b8
AF
7702002-10-18 Adam Fedor <fedor@gnu.org>
771
772 * gdb.base/default.exp: Update expected output to include 'ObjC'.
773 * gdb.base/help.exp: Likewise.
774
abe1a5d0
KB
7752002-10-17 Kevin Buettner <kevinb@redhat.com>
776
777 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
778 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
779
10abb1d4
JB
7802002-10-02 Jim Blandy <jimb@redhat.com>
781
782 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
783
1f609b42
AC
7842002-10-01 Andrew Cagney <ac131313@redhat.com>
785
786 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
787 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
788 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
789 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
790 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
791 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
792 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
793
0aee02e4
AC
7942002-09-29 Andrew Cagney <ac131313@redhat.com>
795
796 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
797 * mi0-disassemble.exp, mi0-eval.exp: Delete.
798 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
799 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
800 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
801 * mi0-var-block.exp, mi0-var-child.exp: Delete.
802 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
803
6fde09ad
KB
8042002-09-27 Kevin Buettner <kevinb@redhat.com>
805
806 * gdb.base/annota1.exp (info break): Make directory components of
807 path optional since not all compilers emit this debug information.
808
809 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
810 step ends up stepping out of the function instead of stopping on
811 the epilogue.
812
9e8aab75
KS
8132002-09-26 Keith Seitz <keiths@redhat.com>
814
815 * lib/insight-support.exp (gdbtk_start): Figure out where
816 the insight executable is based on where gdb is. Use this
817 executable to start insight instead of gdb.
818
e36180d7
AC
8192002-09-25 Andrew Cagney <cagney@redhat.com>
820
821 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
822
9dd34b2b
AC
8232002-09-24 Andrew Cagney <ac131313@redhat.com>
824
825 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
826 test_isolated_complaints.
827 (test_empty_complaint): New function.
828 (test_empty_complaints): New function. Check no output when no
829 complaints.
830
dea97812
KB
8312002-09-19 Jim Blandy <jimb@redhat.com>
832
833 * gdb.base/charset.exp, gdb.base/charset.c: New files.
834
54951bd7
AC
8352002-09-19 Andrew Cagney <ac131313@redhat.com>
836
837 * gdb.gdb/complaints.exp: New file.
838
dec43320
AC
8392002-09-18 Andrew Cagney <ac131313@redhat.com>
840
841 * gdb.base/maint.exp: Check `help maint internal-warning'.
842
e70d6e3f
DC
8432002-09-18 David Carlton <carlton@math.stanford.edu>
844
845 * gdb.c++/m-static.exp: Remove breakpoints depending on line
846 numbers, and replace them by a single breakpoint after the
847 constructors are all finished.
848 Add test 4.
849 * gdb.c++/m-static.cc: Add test 4.
850 * gdb.c++/m-static.h: New file.
851 * gdb.c++/m-static1.cc: New file.
852
853 * gdb.c++/printmethod.exp: New file.
854 * gdb.c++/printmethod.cc: New file.
855
856 * gdb.c++/pr-574.exp: New file.
857 * gdb.c++/pr-574.cc: New file.
858
afb5c968
CV
8592002-09-18 Corinna Vinschen <vinschen@redhat.com>
860
861 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
862 embedded targets which never actually exit.
863
31e45dee
FN
8642002-09-18 Fernando Nasser <fnasser@redhat.com>
865
866 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
867 "don't step after run" as unresolved or unsupported, instead of xfail.
868
a283c5a1
CV
8692002-09-18 Corinna Vinschen <vinschen@redhat.com>
870
871 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
872 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
873 Add newline to expected string in "step out of main (status wrapper)"
874 case.
875
11350d2a
CV
8762002-09-18 Corinna Vinschen <vinschen@redhat.com>
877
878 * lib/gdb.exp (rerun_to_main): Allow restarting application.
879 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
880
0deec7d6
TT
8812002-09-17 Tom Tromey <tromey@redhat.com>
882
883 * gdb.base/printcmds.exp (test_print_string_constants): Expect
884 \000, not \0, in double-quoted string.
885
b2b4a1b5
CV
8862002-09-14 Corinna Vinschen <vinschen@redhat.com>
887
888 * gdb.base/command.exp: Don't expect a "Program exited normally"
889 string after running the commands execution on breakpoint tests.
890
1c56143a
CV
8912002-09-13 Corinna Vinschen <vinschen@redhat.com>
892
893 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
894
37f8da45
JB
8952002-09-12 Joel Brobecker <brobecker@gnat.com>
896
897 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
898
08b468e0
KS
8992002-09-10 Keith Seitz <keiths@redhat.com>
900
901 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
902 runto proc.
903 (mi_run_to_main): Use mi_runto.
904 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
905
dc360f58
KS
9062002-09-10 Keith Seitz <keiths@redhat.com>
907
908 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
909 regexp for stopping at main. Could have multiple event notifications.
910 Don't assume that main was declared with no parameters.
911 (mi_next): Use mi_step_to.
912 (mi_step): Use mi_next_to.
913
ce3abcfb
CV
9142002-09-09 Corinna Vinschen <vinschen@redhat.com>
915
916 * gdb.base/default.exp: Fix expected string in `info float' test.
917
d1f5b980
BE
9182002-09-09 Ben Elliston <bje@redhat.com>
919
920 * config/mips.exp: Update comments.
921 * config/mips-idt.exp: Likewise.
922 * config/nind.exp: Likewise.
923 * config/slite.exp: Likewise.
924 * config/sparclet.exp: Likewise.
925 * config/udi.exp: Likewise.
926 * config/vx.exp: Likewise.
927 * config/vxworks29k.exp: Likewise.
928
2f71430b
JB
9292002-09-05 Jim Blandy <jimb@redhat.com>
930
931 * gdb.threads/killed.exp: Fix test failure message.
932
7ddebc7e
KS
9332002-09-04 Keith Seitz <keiths@redhat.com>
934
935 * lib/mi-support.exp: Update copyright.
936 (mi_gdb_test): Increase the priority of the expected pattern
937 so that it matches gdb_test.
938
0ae67eb3
KS
9392002-09-03 Keith Seitz <keiths@redhat.com>
940
941 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
942 Use integer comparison instead of string comparison for testing
943 whether binary was built.
944
38fc42c8
JB
9452002-09-03 Jim Blandy <jimb@redhat.com>
946
947 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
948
b6ff0e81
JB
9492002-08-29 Jim Blandy <jimb@redhat.com>
950
951 * gdb.threads/pthreads.exp: Move the portable thread compilation
952 code into a function in lib/gdb.exp, and call that from here.
953 * lib/gdb.exp (gdb_compile_pthreads): New function.
954
07c98896
KS
9552002-08-29 Keith Seitz <keiths@redhat.com>
956
957 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
958 expect_out so that callers can get at it.
959
0312286c
DJ
9602002-08-23 Daniel Jacobowitz <drow@mvista.com>
961
962 * gdb.threads/print-threads.c: New file.
963 * gdb.threads/print-threads.exp: New file.
964 * gdb.threads/schedlock.c: New file.
965 * gdb.threads/schedlock.exp: New file.
966
dd039bc4
EZ
9672002-08-22 Elena Zannoni <ezannoni@redhat.com>
968
969 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
970 not altivec.c.
971
1f36144c
MK
9722002-08-17 Mark Kettenis <kettenis@gnu.org>
973
974 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
975 targets. The problem should be fixed now.
976
16057ec7 9772002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
978
979 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
980 2002-07-24 change that removes final dots from error messages.
981
3c1499ad
TT
9822002-08-13 Tom Tromey <tromey@redhat.com>
983
984 * gdb.base/readline.exp: New file.
985
a20ce2c3
AC
9862002-08-01 Andrew Cagney <ac131313@redhat.com>
987
988 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
989 supress message.
990
db034ac5
AC
9912002-08-01 Andrew Cagney <cagney@redhat.com>
992
993 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
994 CHILL_FOR_TARGET and CHILL_LIB.
995 * configure.in (configdirs): Remove gdb.chill.
996 * configure: Regenerate.
997 * lib/gdb.exp: Obsolete references to chill.
998 * gdb.fortran/types.exp: Ditto.
999 * gdb.fortran/exprs.exp: Ditto.
1000
3e000b18
KB
10012002-07-30 Kevin Buettner <kevinb@redhat.com>
1002
1003 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1004 set Irix-specific compile and link flags.
1005
28f4966b
KB
10062002-07-29 Kevin Buettner <kevinb@redhat.com>
1007
1008 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1009 source files. The ``-o'' option doesn't work with the ``-E'' option
1010 when using the Irix compiler.
1011
46c0d5a6
DJ
10122002-07-19 Daniel Jacobowitz <drow@mvista.com>
1013
1014 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1015 Improve support for reusing an exec file. Copy exec file
1016 to target, and run gdbserver on the target instead of on the host.
1017
eecf4bed
JB
10182002-07-18 Jim Blandy <jimb@redhat.com>
1019
0f815cdf
JB
1020 * gdb.base/ending-run.exp: Don't expect to see the program end in
1021 some orderly fashion when we're running on a real stand-alone
1022 board.
1023
eecf4bed
JB
1024 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1025 targets that don't support interrupts.
1026
52d309e4
JB
10272002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1028
1029 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1030 systems.
1031 Move comments in expect statements to inside the actions, so that they
1032 don't get matched against.
1033
ff683d9e
MK
10342002-07-10 Mark Kettenis <kettenis@gnu.org>
1035
1036 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1037 function when asleep" test.
1038
b5356753
AC
10392002-07-10 Andrew Cagney <ac131313@redhat.com>
1040
1041 * gdb.base/page.exp: Rewrite to handle problems with very long
1042 `info set' output. Update copyright.
1043
6aa4d13a
AC
10442002-06-26 Andrew Cagney <ac131313@redhat.com>
1045
1046 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1047 gdb.threads-hp.
1048 * gdb.hp/configure: Regenerate.
1049 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1050 * gdb.hp/gdb.threads-hp/configure: Delete file.
1051 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1052
8cf8c2b8
AC
10532002-06-22 Andrew Cagney <ac131313@redhat.com>
1054
1055 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1056 setlocale, bindtextdomain and textdomain.
1057
6827a8f8
JB
10582002-06-11 Jim Blandy <jimb@redhat.com>
1059
919d772c
JB
1060 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1061 preprocessor macro information is present.
1062
6827a8f8
JB
1063 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1064 tests.
1065
c15b0d21
MS
10662002-06-06 Michael Snyder <msnyder@redhat.com>
1067
c5984d70
MS
1068 * gdb.base/overlays.exp: Record addresses of overlay
1069 functions in TCL variables rather than in GDB variables,
1070 to avoid having GDB convert them to pointers (with loss
1071 of information).
1072
99a8512b
MS
1073 * gdb.base/d10v.ld: Merge in several years worth of
1074 default linker script changes.
c15b0d21
MS
1075 * gdb.base/long_long.exp: Add check for sizeof (long double).
1076
be26fe0d
ML
10772002-06-06 Michal Ludvig <mludvig@suse.cz>
1078
1079 * gdb.asm/asm-source.exp: Add x86-64 target.
1080 * gdb.asm/x86_64.inc: New.
1081
258093ca 10822002-05-30 Michael Chastain <mec@shout.net>
258093ca 1083
4b3153f1 1084 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1085 * gdb.c++/m-static.cc: New file.
1086 * gdb.c++/m-static.exp: New file.
1087
241264c6
MS
10882002-05-28 Michael Snyder <msnyder@redhat.com>
1089
1090 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1091 precision.
1092
9bba8c8f 10932002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1094
4b3153f1 1095 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1096 * gdb.c++/m-data.cc: New file.
1097 * gdb.c++/m-data.exp: New file.
1098
10992002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1100
4b3153f1 1101 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1102 * gdb.c++/try_catch.cc: New file.
1103 * gdb.c++/try_catch.exp: New file.
1104
def1b996
MC
11052002-05-27 Michael Chastain <mec@shout.net>
1106
1107 * gdb.c++/local.exp: Accept more nested types in output.
1108
522ba268
MC
11092002-05-26 Michael Chastain <mec@shout.net>
1110
1111 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1112
277254ba
MS
11132002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1114
1115 * lib/gdb.exp (gdb_wrapper_init): Just because
1116 gdb_wrapper_file exists, this does not mean that the file
1117 should not be rebuilt. That is what gdb_wrapper_initialized
1118 is for.
1119 (default_gdb_init): Reset gdb_wrapper_initialized.
1120
b61a8733
MS
11212002-05-23 Michael Snyder <msnyder@redhat.com>
1122
5bdb6d01
MS
1123 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1124 the precision of the floating point test results.
1125 * gdb.base/call-rt-st.exp: Ditto.
1126
b61a8733
MS
1127 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1128 * gdb.base/call-rt-st.exp: Ditto.
1129
56f6e910
MC
11302002-05-19 Michael Chastain <mec@shout.net>
1131
1132 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1133
ad0b0016
EZ
11342002-05-19 Elena Zannoni <ezannoni@redhat.com>
1135
1136 * configure.in (configdirs): Add gdb.arch.
1137 * configure: Regenerate.
1138
f617d2b6
JB
11392002-05-17 Jim Blandy <jimb@redhat.com>
1140
1141 * gdb.base/completion.exp: Recognize the more detailed error
1142 messages produced by the macro expander's lexical analyzer.
1143
eac2a696
EZ
11442002-05-14 Elena Zannoni <ezannoni@redhat.com>
1145
1146 * gdb.arch/altivec-abi.c: New file.
1147 * gdb.arch/altivec-abi.exp: New file.
1148 * gdb.arch/altivec-regs.c: New file.
1149 * gdb.arch/altivec-regs.exp: New file.
1150
2fdde8f8
DJ
11512002-05-14 Daniel Jacobowitz <drow@mvista.com>
1152
1153 * gdb.base/maint.exp (maint print type): Update for new type
1154 structure.
eac2a696 1155
e31f1a7c
EZ
11562002-05-14 Elena Zannoni <ezannoni@redhat.com>
1157
1158 * gdb.arch: New directory.
1159 * gdb.arch/configure.in: New file.
1160 * gdb.arch/configure: New file.
1161 * gdb.arch/Makefile.in: New file.
1162
db589741
CV
11632002-05-13 Corinna Vinschen <vinschen@redhat.com>
1164
1165 * gdb.asm/asm-source.exp: Add v850 as supported target.
1166 * gdb.asm/v850.inc: New file.
1167
8ce2a7dc
DJ
11682002-05-13 Daniel Jacobowitz <drow@mvista.com>
1169
1170 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1171
df763c7f
DJ
11722002-05-12 Daniel Jacobowitz <drow@mvista.com>
1173
1174 * gdb.base/break.exp: Check 'break "marker2"'.
1175
377daeed
MS
11762002-05-10 Michael Snyder <msnyder@redhat.com>
1177
1178 * gdb.base/long_long.exp: Fix typo.
1179
c4b7bc2b
JB
11802002-05-10 Jim Blandy <jimb@redhat.com>
1181
ecac9a4e
JB
1182 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1183 a bug.
1184
c4b7bc2b
JB
1185 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1186 Recognize more detailed error message produced by the macro
1187 expander's lexical analyzer.
1188 * lib/gdb.exp (test_print_reject): Same.
1189
e71019a1
MK
11902002-05-09 Mark Kettenis <kettenis@gnu.org>
1191
1192 * gdb.c++/method.exp: Fix typo.
1193
fedfc8e6
MS
11942002-05-08 Michael Snyder <msnyder@redhat.com>
1195
166a1957
MS
1196 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1197 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1198 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1199 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1200 Add iftarget clause for strongarm.
1201
f1c47eb2
MS
12022002-05-06 Michael Snyder <msnyder@redhat.com>
1203
cb9a9d3e
MS
1204 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1205 (gdb_continue_to_end): Accept output from status wrapper.
1206 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1207 Clean up fail messages to match pass messages.
1208
f1c47eb2
MS
1209 Enable the "needs_status_wrapper" testsuite feature.
1210 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1211 (gdb_compile): Conditionally call gdb_wrapper_init.
1212 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1213 * gdb.c++/method.exp: Recognize output from status wrapper.
1214
6079c749
BE
12152002-05-06 Ben Elliston <bje@redhat.com>
1216From Graydon Hoare <graydon@redhat.com>
1217
1218 * config/sid.exp: Include support for "rawsid" protocol.
1219
188baff3
JB
12202002-05-03 Jim Blandy <jimb@redhat.com>
1221
1222 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1223 * gdb.c++/hang3.C: New file.
1224
b9c07f0f
AC
12252002-05-04 Andrew Cagney <ac131313@redhat.com>
1226
1227 * gdb.base/default.exp: Remove obsolete code.
1228 * gdb.c++/misc.exp: Ditto. Update copyright.
1229 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1230 * gdb.base/whatis.exp: Ditto. Update copyright.
1231 * gdb.base/scope.exp: Ditto. Update copyright.
1232 * gdb.base/ptype.exp: Ditto. Update copyright.
1233 * gdb.base/printcmds.exp: Ditto. Update copyright.
1234 * gdb.base/opaque.exp: Ditto. Update copyright.
1235 * gdb.base/list.exp: Ditto.
1236 * gdb.base/funcargs.exp: Ditto. Update copyright.
1237 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1238 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1239 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1240 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1241 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1242 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1243
5c7a0397
MS
12442002-05-02 Michael Snyder <msnyder@redhat.com>
1245
d6dcc264 1246 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1247 * gdb.base/long_long.exp: Add xscale target.
1248 * gdb.base/default.exp: Add xscale target.
1249
eb7f1c48
JB
12502002-05-01 Jim Blandy <jimb@redhat.com>
1251
1252 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1253 gdb.c++/hang.exp: New test.
1254
a6befae8
FF
12552002-05-01 Fred Fish <fnf@redhat.com>
1256
1257 * gdb.base/completion.exp: Handle completions of "./Make" for
1258 more than one completion possibility, as is the case when we
1259 build and test in the source tree.
1260
0a310277
AG
12612002-04-29 Anthony Green <green@redhat.com>
1262
1263 * gdb.java/jmisc1.exp: New file.
1264 * gdb.java/jmisc2.exp: New file.
1265
6ff9af88
DJ
12662002-04-24 Daniel Jacobowitz <drow@mvista.com>
1267
1268 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1269
96b3d632
EZ
12702002-04-23 Elena Zannoni <ezannoni@redhat.com>
1271
1272 * gdb.base/help.exp: Change 'help status' to allow for target
1273 dependent output differences.
1274
5019bb54
MC
12752002-04-22 Michael Chastain <mec@shout.net>
1276
1277 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1278
a805a116
MC
12792002-04-22 Michael Chastain <mec@shout.net>
1280
1281 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1282
a1706bfd
DM
12832002-04-17 David S. Miller <davem@redhat.com>
1284
1285 * gdb.asm/sparc64.inc: New file.
1286 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1287
a73a20a2
EZ
12882002-04-19 Elena Zannoni <ezannoni@redhat.com>
1289
1290 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1291 instruction file directly into the build tree. Clean up at end of
1292 test.
1293
ba678339
DM
12942002-04-18 David S. Miller <davem@redhat.com>
1295
1296 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1297 handle 64-bit platforms correctly.
1298 * gdb.base/maint.exp: Likewise.
1299
b03399da
KB
13002002-04-18 Kevin Buettner <kevinb@redhat.com>
1301
1302 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1303 ``-fpic'' when compiling files comprising a shared library, but
1304 it does need additional linker flags in order to find shared
1305 libraries at run time.
1306
e2004992
KB
13072002-04-18 Kevin Buettner <kevinb@redhat.com>
1308
1309 * gdb.base/cvexpr.c (use): New function.
1310 (main): Invoke use() on all global variables to prevent
1311 some linkers from deleting these otherwise unused symbols.
1312
d8937120
MC
13132002-04-17 Michael Chastain <mec@shout.net>
1314From David S. Miller <davem@redhat.com>
1315
1316 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1317 handle 64-bit platforms correctly.
1318
ffd61a58
MS
13192002-04-12 Michael Snyder <msnyder@redhat.com>
1320From Jim Blandy <jimb@redhat.com>
1321 * gdb.base/foo.c (foox): Remove section attribute; the linker
1322 script can handle this instead.
1323 * gdb.base/bar.c (barx): Same.
1324 * gdb.base/baz.c (bazx): Same.
1325 * gdb.base/grbx.c (grbxx): Same.
1326
1327 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1328 manager doesn't automatically unmap overlays unnecessarily.
1329
6b8426a6
MH
13302002-04-10 Martin M. Hunt <hunt@redhat.com>
1331
1332 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1333 stepping out of main.
1334
34af4875
MC
13352002-04-09 Michael Chastain <mec@shout.net>
1336
1337 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1338 scope so that the nested scope tests will make sense.
1339 * gdb.c++/local.exp: Write patterns that actually work with gcc
1340 (the HP patterns "were never known to work with gcc").
1341 Keep the old aCC patterns too.
1342
2d1676a0
DJ
13432002-04-09 Daniel Jacobowitz <drow@mvista.com>
1344
1345 * gdb.base/attach.exp: Correct target board test.
1346
3a63e3f9
MC
13472002-04-08 Michael Chastain <mec@shout.net>
1348
1349 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1350 in a const method. Add some xfail and fail cases for configurations
1351 that do not emit the "const ...".
1352
f18dabd2
MC
13532002-04-07 Michael Chastain <mec@shout.net>
1354
1355 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1356 Accept "A * const" and "const A * const" as type of "this".
1357 Fix spelling of getFunky throughout. Make messages uniform.
1358
0fcddd82
EZ
13592002-04-07 Elena Zannoni <ezannoni@redhat.com>
1360
1361 Work around for PR gdb/285:
1362 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1363
16a8534a
EZ
13642002-04-07 Elena Zannoni <ezannoni@redhat.com>
1365
1366 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1367 instructions file at run time instead of configure time.
1368 Sometimes we run the test in a directory that is not the one we
1369 configured in.
1370 * gdb.asm/configure.in: Delete creation of symlink.
1371 * gdb.asm/configure: Regenerate.
1372
24181d81
JB
13732002-04-05 J. Brobecker <brobecker@gnat.com>
1374
1375 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1376 xfullpath () function.
1377
7cdb7107
DJ
13782002-04-04 Daniel Jacobowitz <drow@mvista.com>
1379
1380 * gdb.asm/Makefile.in: Correct dependencies.
1381
1382 * gdb.asm/powerpc.inc: New file.
1383 * gdb.asm/asm-source.exp: Add PowerPC.
1384 * gdb.asm/configure.in: Likewise.
1385 * gdb.asm/configure: Regenerated.
1386
a7d17088
DJ
13872002-04-04 Daniel Jacobowitz <drow@mvista.com>
1388
1389 * gdb.base/relocate.exp: New file.
1390 * gdb.base/relocate.c: New file.
1391
cd721503
FF
13922002-04-04 Fred Fish <fnf@redhat.com>
1393
1394 * gdb.base/step-test.exp: Update comment regarding stopping in
1395 memcpy/bcopy calls inserted as part of the compiler runtime.
1396
b22ad7a7
MS
13972002-04-04 Michael Snyder <msnyder@redhat.com>
1398
1399 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1400
5f279fa6
DJ
14012002-04-03 Daniel Jacobowitz <drow@mvista.com>
1402
1403 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1404 (gdb_expect): Remove $notransfer hack.
1405
dd0fd3ce
DJ
14062002-04-02 Daniel Jacobowitz <drow@mvista.com>
1407
1408 * gdb.c++/classes.exp ("calling method for small class"): Match
1409 updated register output.
1410
1e50cda1
DJ
14112002-03-30 Daniel Jacobowitz <drow@mvista.com>
1412
1413 Fix PR gdb/452
1414 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1415 when finished. Make gdb_file_cmd send "exec-file" when
1416 appropriate.
1417
24015922
DJ
14182002-03-30 Daniel Jacobowitz <drow@mvista.com>
1419
1420 * gdb.base/attach.exp: Remove extra setup_xfail.
1421
dd7dfd64
MS
14222002-03-26 Michael Snyder <msnyder@redhat.com>
1423
1424 * gdb.base/default.exp: Add tests for dump, append, and restore.
1425 * gdb.base/help.exp: Add tests for dump, append, and restore.
1426 * gdb.base/dump.exp: New file, test dump, append and restore.
1427 * gdb.base/dump.c: New file.
1428
48b2f8d7
MS
14292002-03-27 Michael Snyder <msnyder@redhat.com>
1430
1431 * gdb.base/help.exp: Modify expect strings to reflect
1432 clean-ups in help messages.
1433
05b4d525
FF
14342002-03-26 Fred Fish <fnf@redhat.com>
1435
1436 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1437 have debugging info for those functions and the compiler uses them
1438 internally to copy structs around.
1439
d7679631
FF
14402002-03-26 Fred Fish <fnf@redhat.com>
1441
1442 * gdb.base/list.exp: Revert the change made yesterday and add note
1443 about why we don't list the default lines for remote targets.
1444
523ac3f9
MS
14452002-03-25 Michael Snyder <msnyder@redhat.com>
1446
1447 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1448
754b2b8d
FF
14492002-03-25 Fred Fish <fnf@redhat.com>
1450
1451 * gdb.base/list.exp: This test works on remote targets so remove
1452 the short circuit for remote targets. Update copyright.
1453
33c3e192
FF
14542002-03-25 Fred Fish <fnf@redhat.com>
1455
1456 * gdb.base/attach.exp: Fix logic error that was suppressing this
1457 test for all non hppa*-*-hpux* targets, instead of the hp target.
1458 Move comments closer to the suppression point. Also now need to
1459 check that we are running natively.
1460
d43e73ee
MS
14612002-03-22 Michael Snyder <msnyder@redhat.com>
1462
882c8f02
MS
1463 * gdb.base/default.exp: Add test for gcore. Update copyright.
1464 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1465
04c12f60
FF
14662002-03-06 Fred Fish <fnf@redhat.com>
1467
1468 * gdb.base/funcargs.c: Remove extraneous ';' character.
1469 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1470
b43df995
MC
14712002-03-04 Michael Chastain <mec@shout.net>
1472
1473 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1474 accommodate gcc v3 function signature.
1475 * gdb.mi/mi0-var-cmd-exp: Ditto.
1476
92362027
AC
14772002-02-24 Andrew Cagney <ac131313@redhat.com>
1478
1479 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1480 ``GNU/Linux'' or ``Linux kernel''
1481 * testsuite/gdb.threads/pthreads.c: Ditto.
1482
258ad32d
MC
14832002-02-24 Michael Chastain <mec@shout.net>
1484
1485 * gdb.threads/pthreads.c (thread1): Add a return statement.
1486 (thread2): Likewise.
1487 (foo): Likewise.
1488
04c3b3d4
MC
14892002-02-23 Michael Chastain <mec@shout.net>
1490
1491 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1492 to placate gcc.
1493
5a2a0a20
MC
14942002-02-23 Michael Chastain <mec@shout.net>
1495
1496 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1497 test "ptype bint". The test passes on all my stabs configurations.
1498
a640f7fc
JB
14992002-02-21 Jim Blandy <jimb@redhat.com>
1500
27924826
JB
1501 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1502 filename at a time, and watch for the ones we want to see.
1503
a640f7fc
JB
1504 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1505 types of pointers to prototyped functions.
1506
edcc8c75
AC
15072002-02-20 Andrew Cagney <ac131313@redhat.com>
1508
1509 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1510 signed, unsigned and straight char.
1511 (padding_char, padding_short, padding_int, padding_long,
1512 padding_long_long, padding_float, padding_double,
1513 padding_long_double): New global variables.
1514 (fill, fill_structs): New functions.
1515
1516 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1517 for correctly sized writes. Update copyright.
1518 (get_valueof): New procedure.
1519 (get_sizeof): Call get_valueof.
1520 (check_valueof): New procedure.
1521 (check_padding): New procedure.
1522
ac57ea44
MC
15232002-02-20 Michael Chastain <mec@shout.net>
1524
1525 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1526 to setup_xfail. Document some of the remaining calls.
1527
7a10c941
MC
15282002-02-18 Michael Chastain <mec@shout.net>
1529
1530 * gdb.c++/userdef.exp: Update copyright year.
1531
fb8acdcc
DJ
15322002-02-18 Daniel Jacobowitz <drow@mvista.com>
1533
1534 * gdb.c++/userdef.exp: Test overloaded operators properly.
1535 Remove xfails.
1536
fda6ae12
MS
15372002-02-14 Michael Snyder <msnyder@redhat.com>
1538
1539 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1540
676a0442
DJ
15412002-02-14 Daniel Jacobowitz <drow@mvista.com>
1542
1543 * gdb.base/a2-run.exp: Check for a remote target properly.
1544 * gdb.base/annota1.exp: Likewise.
1545 * gdb.base/list.exp: Likewise.
1546 * gdb.base/reread.exp: Likewise.
1547 * gdb.base/scope.exp: Likewise.
1548 * gdb.base/shlib-call.exp: Likewise.
1549 * gdb.base/term.exp: Likewise.
1550 * gdb.c++/annota2.exp: Likewise.
1551
78b4f468
RE
15522002-02-13 Richard Earnshaw <rearnsha@arm.com>
1553
1554 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1555
9a81ba51
MC
15562002-02-10 Michael Chastain <mec@shout.net>
1557
1558 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1559 (call_after_alloca): Ditto.
1560
004af6c7
DJ
15612002-02-10 Daniel Jacobowitz <drow@mvista.com>
1562
1563 * gdb.base/ending-run.exp: Guard "cont" test with
1564 gdb_skip_stdio_test.
1565
37225f62
JB
15662002-02-06 Jim Blandy <jimb@redhat.com>
1567
1568 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1569 from here...
1570 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1571 To here. Disable this test on non-HP platforms. Add big comment.
1572
fe6fdd96
MS
15732002-02-04 Michael Snyder <msnyder@redhat.com>
1574
1575 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1576 other than d10v and m32r.
1577
036fad3f
RE
15782002-02-02 Richard Earnshaw <rearnsha@arm.com>
1579
1580 * gdb.base/default.exp: Rewrite test patterns to reduce time
1581 taken to match them.
1582
7148ab62
DJ
15832002-01-30 Daniel Jacobowitz <drow@mvista.com>
1584
1585 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1586 Allow a start function above main.
1587 * gdb.threads/linux-dp.exp: Fix copyright date.
1588
396cc255
DJ
15892002-01-30 Daniel Jacobowitz <drow@mvista.com>
1590
1591 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1592 (check_philosopher_stack): Check for manager thread before checking
1593 for a just-starting thread.
1594
f038d31b
DJ
15952002-01-30 Daniel Jacobowitz <drow@mvista.com>
1596
1597 From Neil Booth <neil@daikokuya.demon.co.uk>:
1598 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1599 warnings.
1600
b3ff9d9a
FF
16012002-01-21 Fred Fish <fnf@redhat.com>
1602
1603 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1604 not caller.
1605
39ad761d
JB
16062002-01-21 Jim Blandy <jimb@redhat.com>
1607
1608 * gdb.base/reread.exp: Check that GDB properly re-reads the
1609 executable file when it changes while no inferior is running.
1610
aaf320fa
FF
16112002-01-21 Fred Fish <fnf@redhat.com>
1612
1613 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1614 optionally accept the "shlib events" variation.
1615
808a31f5
JB
16162002-01-21 Jim Blandy <jimb@redhat.com>
1617
1618 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1619 call `fflush' after every `printf', so that the output is produced
1620 at predictable points, regardless of whatever buffering does (or
1621 doesn't) take place.
1622 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1623 at different points.
1624
4420d5e2
DJ
16252002-01-20 Daniel Jacobowitz <drow@mvista.com>
1626
1627 * gdb.c++/inherit.exp: Update copyright years.
1628 * gdb.c++/method.exp: Likewise.
1629
3e36a0f4
DJ
16302002-01-20 Daniel Jacobowitz <drow@mvista.com>
1631
1632 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1633 artificial methods/arguments.
1634 * gdb.c++/derivation.exp: Likewise.
1635 * gdb.c++/inherit.exp: Likewise.
1636 * gdb.c++/method.exp: Likewise.
1637 * gdb.c++/virtfunc.exp: Likewise.
1638
b4ceaee6
AC
16392002-01-18 Andrew Cagney <ac131313@redhat.com>
1640
1641 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1642 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1643 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1644 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1645 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1646 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1647
ecace851
JB
16482002-01-17 Jim Blandy <jimb@redhat.com>
1649
1650 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1651 anchoring the pattern matching the entry point symbol's name.
1652
375fc983
AC
16532002-01-17 Andrew Cagney <ac131313@redhat.com>
1654
1655 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1656 continue/quit query. Update copyright.
1657
fe6fdd96
MS
16582002-01-14 Michael Snyder <msnyder@redhat.com>
1659
1660 * gdb.base/gcore.exp: Remove extra debugging output.
1661
e017c81f
DJ
16622002-01-13 Daniel Jacobowitz <drow@mvista.com>
1663
1664 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1665 for slightly dubious v2 mangled string.
1666
37ab3bf8
DJ
16672002-01-13 Daniel Jacobowitz <drow@mvista.com>
1668
1669 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1670
1bc05c3a 16712002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1672
1bc05c3a 1673 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1674
1bc05c3a
JM
1675 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1676 constructors.
1677 * gdb.c++/derivation.exp: Likewise.
1678 * gdb.c++/templates.exp: Likewise.
1679 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1680
1bc05c3a
JM
16812002-01-10 Michael Snyder <msnyder@redhat.com>
1682
1683 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1684
a911c360
MS
16852002-01-08 Michael Snyder <msnyder@redhat.com>
1686
1687 * gdb.base/gcore.exp: New test for generate-core-file command.
1688 * gdb.base/gcore.c: Testcase for above.
1689 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1690
ea2119ec
JM
16912002-01-08 Jason Merrill <jason@redhat.com>
1692
1693 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1694
68203136
FF
16952002-01-07 Fred Fish <fnf@redhat.com>
1696
1697 * gdb.c++/overload.exp: Remove unconditional xfails for:
1698 print foo_instance1.overloadargs(1)
1699 print foo_instance1.overloadargs(1, 2)
1700 print foo_instance1.overloadargs(1, 2, 3)
1701 print foo_instance1.overloadargs(1, 2, 3, 4)
1702 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1703 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1704 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1705 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1706 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1707 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1708 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1709 print foo_instance1.overload1arg()
1710 print foo_instance1.overload1arg((char)arg2)
1711 print foo_instance1.overload1arg((signed char)arg3)
1712 print foo_instance1.overload1arg((unsigned char)arg4)
1713 print foo_instance1.overload1arg((int)arg7)
1714 print foo_instance1.overload1arg((unsigned int)arg8)
1715 print foo_instance1.overload1arg((float)arg11)
1716 print foo_instance1.overload1arg((double)arg12)
1717
21b9b5b1
MS
17182002-01-07 Michael Snyder <msnyder@redhat.com>
1719
1720 * gdb.base/huge.exp: New test. Print a very large target data object.
1721 (skip_huge_test): New test variable. Define if you want to skip this
1722 test. The test reads an 8 megabyte data object from the target, so it
1723 might be very time consuming on remote targets with a slow connection.
1724 * gdb.base/huge.c: New file. Test case for above.
1725
725f922e
FF
17262002-01-07 Fred Fish <fnf@redhat.com>
1727
1728 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1729 g_instance.bfoo, and g_instance.cfoo.
1730
634d57ec
JL
1731Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1732
f286b2c3
JL
1733 * gdb.base/break.c (multi_line_if_conditional): New function.
1734 (multi_ilne_while_conditional): Likewise.
1735 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1736 IF or WHILE condition puts the breakpoint at the start of
1737 the condition.
1738
634d57ec
JL
1739 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1740 hppa*-*-hpux* expected failure.
1741 * gdb.base/structs.exp (do_function_calls): Similarly.
1742
1743 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1744 watchpoints.
1745
9fbfe2dc
AC
17462002-01-06 Andrew Cagney <ac131313@redhat.com>
1747
1748 Fix PR gdb/66.
1749 * gdb.base/structs.exp: Replace skip for a29k with skip for
1750 gdb,cannot_call_functions.
1751 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1752 * gdb.base/callfuncs.exp: Ditto.
1753 * gdb.base/call-rt-st.exp: Ditto.
1754 * gdb.base/call-strs.exp: Ditto.
1755 * gdb.base/callfwmall.exp: Ditto.
1756 * gdb.base/scope.exp: Obsolete xfail a29k.
1757 * gdb.c++/misc.exp: Ditto.
1758 * gdb.c++/cplusfuncs.exp: Ditto.
1759 * gdb.base/ptype.exp: Ditto.
1760 * gdb.base/printcmds.exp: Ditto.
1761 * gdb.base/opaque.exp: Ditto.
1762 * gdb.base/list.exp: Ditto.
1763 * gdb.base/funcargs.exp: Ditto.
1764 * gdb.base/default.exp: Ditto.
1765
8ddad156
MS
17662002-01-04 Michael Snyder <msnyder@redhat.com>
1767
ca4976a6 1768 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1769 * gdb.base/maint.exp: Add tests for maint info sections options.
1770
1b074332
JL
1771Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1772
1773 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1774
7d159115
CV
17752001-12-20 Corinna Vinschen <vinschen@redhat.com>
1776
1777 * gdb.asm/arm.inc: New file.
1778 * gdb.asm/asm-source.exp: Add arm targets.
1779 * gdb.asm/configure.in: Ditto.
1780 * gdb.asm/configure: Recreated from configure.in.
1781
8fb87725
JL
1782Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1783
afabe08c
JL
1784 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1785 with HP's compiler.
1786 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1787 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1788 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1789 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1790
1791 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1792 either HP's compilers or GCC.
1793
db521deb
JL
1794 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1795 a SIGBUS or SIGSEGV.
1796
1797 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1798
1799 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1800 can be compiled with either HP's compiler or GCC.
1801
cfa88ab7
JL
1802 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1803 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1804 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1805
ca344dff
JL
1806 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1807 to match current gdb output. Update due to using auto-solib-limit
1808 for limiting instead of overloading auto-solib-add.
1809 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1810 test program.
1811
3f3c6e55 1812 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1813 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1814 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1815 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1816 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1817 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1818 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1819 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1820 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1821 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1822 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1823 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1824 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1825
8fb87725
JL
1826 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1827 a SIGTRAP to the inferior.
1828
cf599fa7
CV
18292001-12-19 Corinna Vinschen <vinschen@redhat.com>
1830
1831 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1832 Substitute call to target_link by call to gdb_compile.
1833
2cd045cd
JL
1834Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1835
1836 * gdb.base/break.exp: Fix HP specific search string when testing
1837 backtracing in a called function.
1838
1839 * gdb.base/constvars.exp: Only set lang to C++ if we're
1840 compiling the test with HP's compilers.
1841 * gdb.base/volatile.exp: Similarly.
1842
99ebe9ac
JB
18432001-12-19 Jim Blandy <jimb@redhat.com>
1844
1845 * gdb.base/printcmds.exp: Expect the null character to be printed
1846 as '\0', and the '\013' to be printed as '\v'.
1847 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1848 * gdb.base/setvar.exp: Same.
1849
b9891b29
JB
18502001-12-17 Jim Blandy <jimb@redhat.com>
1851
0eba65ab
JB
1852 * gdb.base/completion.exp: Rather than completing very long
1853 filenames, which can make the readline library produce output we
1854 don't recognize, cd to the directory first, and then complete
1855 using nice, short relative paths.
1856
6970b5b1
JB
1857 * gdb.base/completion.exp: On some systems, there is, in fact, a
1858 variable named `b' in scope, since GDB treats all static
1859 variables as being in scope. So use `no_var_named_this'
1860 instead of `b'.
1861
b9891b29
JB
1862 * gdb.base/corefile.exp: Recognize the message saying that GDB
1863 can't find the core file's registers as a failure.
1864
e6ccd35f
JSC
18652001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1866
1867 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1868 test expect string more specific.
1869
105ba819
CV
18702001-12-13 Corinna Vinschen <vinschen@redhat.com>
1871
1872 * gdb.asm/asm-source.exp: Add support for xstormy16.
1873 * gdb.asm/configure.in: Ditto.
1874 * gdb.asm/configure: Rebuild.
1875 * gdb.asm/xstormy16.inc: New file.
1876
e9e79dd9
FF
18772001-12-10 Fred Fish <fnf@redhat.com>
1878
1879 * gdb.base/maint.exp: Update to match changes in type dumping code.
1880
347dc97d
JB
18812001-12-10 Jim Blandy <jimb@redhat.com>
1882
1883 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1884 matching the entry point symbol's name at the beginning of the
1885 line.
1886
5178b9d6
DJ
18872001-12-07 Daniel Jacobowitz <drow@mvista.com>
1888
1889 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1890 gdb.c++/inherit.exp, gdb.c++/method.exp,
1891 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1892 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1893 and class layout support.
1894
af890c52
DJ
18952001-12-07 Daniel Jacobowitz <drow@mvista.com>
1896
1897 * gdb.c++/classes.exp: Add test for static member function.
1898 * gdb.c++/misc.cc: Add class with static member function.
1899
7a345fb3
JB
19002001-12-07 Jim Blandy <jimb@redhat.com>
1901
f2e54a80 1902 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1903 those tests as `unsupported'.
1904 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1905 Rewrite subsequent tests to use it.
1906
1907 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1908 those tests as `unsupported'.
1909 * gdb.base/structs.exp (call_struct_func): New function.
1910 (do_function_calls): Use call_struct_func to call the functions
1911 returning structs.
1912
0bc69509
JB
1913 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1914 whether functions are prototyped or not, so we can't possibly pass
1915 arguments to t_float_values2 properly.
1916
7a345fb3
JB
1917 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1918 value of `timeout' for targets other than the mips*tx39-*.
1919
edb6ede1
MS
19202001-12-06 Michael Snyder <msnyder@redhat.com>
1921
1922 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1923 and detect whether the start symbol has a leading underscore.
1924
2d842f13
JB
19252001-12-04 Jim Blandy <jimb@redhat.com>
1926
1927 * gdb.base/completion.exp: Clarify indentation.
1928
68550daf
JB
19292001-12-03 Jim Blandy <jimb@redhat.com>
1930
1931 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1932 variables on the S/390, not `.word'.
1933
cd5195a8
JB
19342001-11-30 Jim Blandy <jimb@redhat.com>
1935
1936 Add assembly-source tests for s390-ibm-linux.
1937 * gdb.asm/s390.inc: New file.
1938 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1939 the S/390 architecture.
1940 * gdb.asm/configure: Regenerated.
1941
ca9efc90
MS
19422001-11-30 Michael Snyder <msnyder@redhat.com>
1943
1944 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1945 next, info source, info sources, info line, global and static
1946 variables, and static functions.
1947 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1948 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1949 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1950 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1951 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1952 (gdbasm_leave): Restore frame pointer.
1953 (gdbasm_startup): Copy stack set-up from crt0.S.
1954
d0e66976
FN
19552001-11-26 Fernando Nasser <fnasser@redhat.com>
1956
1957 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1958 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1959 to a local (non-static) variable. Copy tstruct.a to a static buffer
1960 and return a pointer to that buffer.
1961 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1962
e2334072
MK
19632001-11-24 Mark Kettenis <kettenis@gnu.org>
1964
1965 * gdb.asm/configure.in: Fix recognition of ix86 target.
1966 * gdb.asm/configure: Regenerate.
1967
756caa3d
MS
19682001-11-21 Michael Snyder <msnyder@redhat.com>
1969
1970 * gdb.asm/sparc.inc: New file.
1971 * gdb.asm/asm-source.exp: Recognize sparc target.
1972 * gdb.asm/configure.in: Recognize sparc target.
1973 * gdb.asm/configure: Regenerate.
1974
9a4d72d5
MS
19752001-11-21 Michael Snyder <msnyder@redhat.com>
1976
1977 * gdb.asm/m32r.inc: New file.
1978 * gdb.asm/asm-source.exp: Recognize m32r target.
1979 * gdb.asm/configure.in: Recognize m32r target.
1980 * gdb.asm/configure: Regenerate.
1981
a773d1cd
MS
19822001-11-20 Michael Snyder <msnyder@redhat.com>
1983
017ac23d
MS
1984 * gdb.asm/i386.inc: New file.
1985 * gdb.asm/asm-source.exp: Recognize ix86 target.
1986 * gdb.asm/configure.in: Recognize ix86 target.
1987 * gdb.asm/configure: Regenerate.
1988
a773d1cd
MS
1989 * gdb.c++/namespace.exp: Fix quotes in output messages.
1990
bb632afb
MS
19912001-11-14 Michael Snyder <msnyder@redhat.com>
1992
25d559ca 1993 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1994 qualifier in a type cast expression, to designate an address
1995 in the instruction space (Harvard architecture).
1996
4749e309
MS
19972001-11-13 Michael Snyder <msnyder@redhat.com>
1998
1999 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2000 Tests for expressions using 'const' and 'volatile'.
2001
25050984
CV
20022001-11-13 Corinna Vinschen <vinschen@redhat.com>
2003
2004 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2005
1902c51f
DJ
20062001-11-12 Daniel Jacobowitz <drow@mvista.com>
2007
2008 * lib/mi-support.exp (mi_run_to_helper): Move comments
2009 outside of gdb_expect.
2010
dcf95b47
DJ
20112001-11-11 Daniel Jacobowitz <drow@mvista.com>
2012
2013 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2014 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2015 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2016 mi0_run_to): New functions.
2017 * gdb.mi/mi-simplerun.exp: Use them.
2018 * gdb.mi/mi0-simplerun.exp: Likewise.
2019 * gdb.mi/mi-var-cmd.exp: Likewise.
2020 * gdb.mi/mi0-var-cmd.exp: Likewise.
2021
45b074e1
AC
20222001-11-10 Andrew Cagney <ac131313@redhat.com>
2023
2024 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2025 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2026
bf50d346
AC
20272001-11-09 Andrew Cagney <ac131313@redhat.com>
2028
2029 * gdb.base/restore.exp: Include $expected value in restored test
2030 message.
2031
9383332c
AC
20322001-11-09 Andrew Cagney <ac131313@redhat.com>
2033
2034 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2035 implemented.
2036
db62520a
MS
20372001-11-08 Michael Snyder <msnyder@redhat.com>
2038
2039 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2040 Add pass/fail message for stop at breakpoint in call dummy function.
2041
b5703437
MS
20422001-11-07 Michael Snyder <msnyder@redhat.com>
2043
760f6330
MS
2044 * gdb.c++/templates.exp (test_template_breakpoints):
2045 If we get an overload menu, but it does not match what
2046 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2047 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2048 making the whitespace optional. Argument for "new" may be
2049 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2050 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2051 making the whitespace optional. Also replace "(void) with
2052 "((void|)), making the keyword "void" optional.
63f50499
MS
2053 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2054 making the whitespace optional. Also replace "(void) with
2055 "((void|)), making the keyword "void" optional.
3bf40917
MS
2056 * gdb.base/callfuncs.c (t_float_values): This function must
2057 _not_ be prototyped, and the following function (t_float_values2)
2058 must be prototyped (if the compiler supports it), so that GDB
2059 can be tested against both cases. Usually one case involves
2060 promotion of float to double, while the other does not.
2061 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2062 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2063 includes a stack frame for "start".
2064
c8ab4e6d
JB
20652001-11-05 Jim Blandy <jimb@redhat.com>
2066
2067 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2068 pointers are 32 bits long, and that offsets of relocs are always
2069 stored in the data (REL-style), and not in the reloc entry itself
2070 (RELA-style).
2071 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2072 stabs.
2073
3f08ced9
MS
20742001-11-01 Michael Snyder <msnyder@redhat.com>
2075
2076 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2077 and regular expression operators by using quoting.
2078
cbfa24cd
MS
20792001-10-31 Michael Snyder <msnyder@redhat.com>
2080
2081 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2082 depending on what the symbol table contains.
2083 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2084 the output of the ptype command. Similarly, accept both "const &"
2085 and "const&".
2086
aaa68313
CV
20872001-10-31 Corinna Vinschen <vinschen@redhat.com>
2088
2089 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2090 symbol `STORAGE' to allow to choose the storage class of
2091 the local datastructures.
2092 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2093 compiler directive.
2094
91740388
MS
20952001-10-30 Michael Snyder <msnyder@redhat.com>
2096
2097 * gdb.base/jump.exp: Allow it to run for all targets.
2098
1b7c05e7
CV
20992001-10-29 Corinna Vinschen <vinschen@redhat.com>
2100
2101 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2102 with new double_array size.
2103 (main): Change storage class of all local variables to static.
2104 Reduce size of double_array to 9.
2105 * gdb.base/call-ar-st.exp: Increase timeout value.
2106 Change expected output for double array to match new size in
2107 call-ar-st.c.
2108
36a22261
CV
21092001-10-29 Corinna Vinschen <vinschen@redhat.com>
2110
2111 * gdb.base/ending-run.exp: Create identical output when passing
2112 `step to end of run' case. Add regular expression branch satisfying
2113 Stormy16 target.
2114
92b8ae91
MK
21152001-10-28 Mark Kettenis <kettenis@gnu.org>
2116
2117 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2118 that we catch the expected failure under Linux/x86.
2119
cb135b83
OF
21202001-10-29 Orjan Friberg <orjanf@axis.com>
2121
2122 * gdb.base/setvar.exp: Escape curly braces.
2123 * gdb.stabs/weird.exp: Ditto.
2124
6884aa54
DJ
21252001-10-27 Daniel Jacobowitz <drow@mvista.com>
2126
2127 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2128 * gdm.mi/mi0-hack-cli.exp: Likewise.
2129
0398c9aa
AC
21302001-10-25 Andrew Cagney <ac131313@redhat.com>
2131
2132 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2133 messages.
2134
d20bf2e8
AC
21352001-10-21 Andrew Cagney <ac131313@redhat.com>
2136
2137 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2138 checking MI enabled.
2139
03dd63aa
CV
21402001-10-09 Corinna Vinschen <vinschen@redhat.com>
2141
2142 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2143
1d9d99f3
FCE
21442001-10-04 Frank Ch. Eigler <fche@redhat.com>
2145
2146 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2147 if gdb child process crashes, just signal an error.
2148
838ae6c4
JB
21492001-10-02 Jim Blandy <jimb@redhat.com>
2150
2151 * lib/gdb.exp (test_xfail_format): Simplify.
2152
2153 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2154 front of the variable name `format'. Simplify `if'.
2155
8f0cbc1c
DJ
21562001-10-01 Daniel Jacobowitz <drow@mvista.com>
2157
2158 * gdb.threads/pthreads.exp: Wait for output and delay
2159 before sending ^C.
2160
1f08dafd
DJ
21612001-10-01 Daniel Jacobowitz <drow@mvista.com>
2162
2163 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2164 some incorrect output instead of timing out.
2165 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2166
674f90ff
CV
21672001-09-28 Corinna Vinschen <vinschen@redhat.com>
2168
2169 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2170 check to allow additional `int'.
2171
9b284272
DJ
21722001-09-27 Daniel Jacobowitz <drow@mvista.com>
2173
2174 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2175 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2176
b55a4771
MS
21772001-09-27 Michael Snyder <msnyder@redhat.com>
2178
2179 * lib/gdb.exp (test_debug_format): New proc.
2180 (setup_xfail_format): Use new proc test_debug_format.
2181 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2182 proc; use new service proc test_debug_format.
2183 Replace all other "gcc_compiled" tests with this test.
2184 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2185 proc; use new service proc test_debug_format.
2186 Replace all other "gcc_compiled" tests with this test.
2187
21882001-09-27 Michael Snyder <msnyder@redhat.com>
2189
2190 * gdb.base/cvexpr.exp: New file.
2191 * gdb.base/cvexpr.c: New file
2192 Test for expressions using const and volatile keywords.
2193
4e6667ac
CV
21942001-09-26 Corinna Vinschen <vinschen@redhat.com>
2195
2196 * gdb.base/constvars.exp: Check for different orders of keywords
2197 and additional "int" strings in output.
2198
4f337972
AC
21992001-09-22 Andrew Cagney <ac131313@redhat.com>
2200
2201 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2202 responses from "help maint".
2203
2015650d
FCE
22042001-09-19 Frank Ch. Eigler <fche@redhat.com>
2205
2206 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2207 to localhost:NNN instead of :NNN, in case Xvfb is listening
2208 only on TCP.
2209
f3bcedc1
CV
22102001-09-19 Corinna Vinschen <vinschen@redhat.com>
2211
2212 * gdb.base/recurse.exp: When checking leaving the watchpoint
2213 scope, recognize when gdb is in function's epilogue and pass.
2214
6b819c92
KS
22152001-09-18 Keith Seitz <keiths@redhat.com>
2216
2217 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2218 support for running tests against sid targets.
2219 (gdbtk_done): Ditto.
2220
a10c9419
CV
22212001-09-18 Corinna Vinschen <vinschen@redhat.com>
2222
2223 * gdb.base/ending-run.c (main): Set stdout buffersize
2224 to the same reasonable value for any target.
2225 * gdb.base/ending-run.exp: Add a regular expression
2226 to make testsuite happy on Sanyo Stormy16 target.
2227
739d0d99
CV
22282001-09-17 Corinna Vinschen <vinschen@redhat.com>
2229
2230 * gdb.base/display.c (do_loops): Add float variable `f'.
2231 Increment f in loop.
2232 * gdb.base/display.exp: Increment timeout by 60 seconds.
2233 Change float display test to use variable `f'.
2234
1b8947f0
JB
22352001-09-17 Jim Blandy <jimb@redhat.com>
2236
2237 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2238 overflowing the limited breakpoint tables on some ROM monitors
2239 (like the ROM68K).
2240
9890ac81
FCE
22412001-09-15 Frank Ch. Eigler <fche@redhat.com>
2242
2243 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2244 the "-ac" (disable access control) flag.
2245
6db765ea
JH
22462001-08-30 Jeff Holcomb <jeffh@redhat.com>
2247
2248 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2249 ints.
2250
4c32cc04
KS
22512001-08-30 Keith Seitz <keiths@redhat.com>
2252
2253 * lib/gdb.exp: Move all insight-related functionality into
2254 separate file.
2255 * lib/insight-support.exp: New file.
2256
8d6e6f81
FCE
22572001-08-29 Frank Ch. Eigler <fche@redhat.com>
2258
2259 * config/sid.exp (sid_start): Never set sid verbosity; disable
2260 expect_background {} that consumed its stdout; tolerate </dev/null.
2261 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2262
6a90e1d0
AC
22632001-08-18 Andrew Cagney <ac131313@redhat.com>
2264
2265 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2266 CLI jump command to start it.
2267 (mi_run_to_main): Fail immediatly when unexpected output.
2268
1759b3c3
AC
22692001-08-18 Andrew Cagney <ac131313@redhat.com>
2270
2271 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2272 beginning of function. Fix PR gdb/191.
2273
61d11d80
FCE
22742001-08-16 Frank Ch. Eigler <fche@redhat.com>
2275
2276 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2277 what to force sid endianness to.
2278
942a4df2
KS
22792001-08-15 Keith Seitz <keiths@redhat.com>
2280
2281 * lib/gdb.exp (gdbtk_start): Don't set environment
2282 variables for TCL_LIBRARY and friends. Insight will
2283 now figure these out for itself.
2284
0521c418
MS
22852001-08-02 Michael Snyder <msnyder@redhat.com>
2286
2287 * gdb.base/completion.exp: Remove the symbol "a64l" from
2288 the expect string; this is target-specific, and not related
2289 to what is being tested.
2290
74a9a58a
DB
22912001-08-02 Dave Brolley <brolley@redhat.com>
2292
2293 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2294
c70819fa
MS
22952001-07-25 Michael Snyder <msnyder@redhat.com>
2296
c2b8fa57
MS
2297 * gdb.base/consecutive.exp: New file. Test stepping over
2298 breakpoints on consecutive instructions.
2299 * gdb.base/consecutive.c: New file.
2300
c70819fa
MS
2301 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2302 curly braces in regular expressions.
2303
2b1a1355
MS
23042001-07-25 Michael Snyder <msnyder@redhat.com>
2305
2306 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2307 legitimate output from stepping out of main.
2308
413eca6f
KS
23092001-07-22 Keith Seitz <keiths@redhat.com>
2310
2311 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2312 the empty string, do not run the tests.
2313
7e5a9322
SC
23142001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2315
2316 * gdb.base/long_long.exp: Detect size of pointer. Take into
2317 account 2-byte pointers when testing for p/a results.
2318
de58f10f
SC
23192001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2320
2321 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2322 and defined to 1K for m68hc11.
2323 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2324 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2325 (sizeof_random_data): New variable to tell the size of the data table;
2326 don't test past this size; always run to main.
2327
d6f5fea1
SC
23282001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2329
2330 * gdb.base/return2.exp: return of long long and double fails for
2331 68HC11; don't execute these tests on that platform.
2332 * gdb.base/return.exp: Return of a double fails for 68hc11.
2333
c477543d
SC
23342001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2335
2336 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2337 tests that print a float.
2338 * call-rt-st.exp: Likewise.
2339
63cf1c79
MK
23402001-07-12 Mark Kettenis <kettenis@gnu.org>
2341
2342 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2343 running this test on Linux.
2344
112f9ab5
MC
23452001-06-24 Michael Chastain <chastain@redhat.com>
2346
2347 * gdb.base/arithmet.exp: Remove some tests to make all test names
2348 unique.
2349
4970cb0f
MS
23502001-07-03 Michael Snyder <msnyder@redhat.com>
2351
2352 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2353 the output of the ptype command.
2354
d85da69f
MS
23552001-07-02 Michael Snyder <msnyder@redhat.com>
2356
4c8a82de
MS
2357 * gdb.base/completion.exp: Don't assume that break.c is the only
2358 source file that may contain functions named "marker".
d85da69f
MS
2359 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2360
8afc772b
AC
23612001-06-28 Andrew Cagney <ac131313@redhat.com>
2362
2363 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2364 of files to delete.
2365
2366 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2367 * gdb.disasm/h8300s.exp: New file.
2368 gdb.disasm/h8300s.s: Likewise.
2369
cff22675
AC
23702001-06-27 Andrew Cagney <ac131313@redhat.com>
2371
2372 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2373 empty breakpoint tables.
2374
68c81b54
AC
23752001-06-25 Andrew Cagney <ac131313@redhat.com>
2376
2377 * lib/mi-support.exp: Update args=... part of stop-reason
2378 patterns. Accept either a list or a tuple.
2379
2dd62704
AC
23802001-06-23 Andrew Cagney <ac131313@redhat.com>
2381
2382 * lib/mi-support.exp: Remove local emacs variable defining
2383 change-log-default-name.
2384
b4127474
MC
23852001-06-22 Michael Chastain <chastain@redhat.com>
2386
2387 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2388 This is operationally compatible with the previous version.
2389
8dbfb380
JB
23902001-06-13 Jim Blandy <jimb@redhat.com>
2391
2392 * lib/gdb.exp (gdb_test): Doc fix.
2393
f2d8c86d
MC
23942001-06-10 Michael Chastain <chastain@redhat.com>
2395
2396 * gdb.base/exprs.exp: Remove a duplicate test.
2397
81564d34
JB
23982001-06-06 Jim Blandy <jimb@redhat.com>
2399
2400 * gdb.base/return2.exp (main): Use values to test float and double
2401 returns that are not NaN's, to avoid being confused by IEEE
2402 comparison rules.
2403
da55addb
MS
24042001-06-04 Michael Snyder <msnyder@redhat.com>
2405
2406 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2407 non-zero if control_c fails. Terminate the test on failure,
2408 rather than wait for 12 more tests to time out.
2409
42c65987
JB
24102001-06-06 Jim Blandy <jimb@redhat.com>
2411
b18bced9
JB
2412 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2413 Don't forget to match the GDB prompt.
2414
42c65987
JB
2415 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2416
5b41e5f0
JB
24172001-06-04 Jim Blandy <jimb@redhat.com>
2418
2419 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2420 command.
2421
015e046f
KB
24222001-05-31 Kevin Buettner <kevinb@redhat.com>
2423
2424 * gdb.base/annota1.exp (info break): Match four or more spaces
2425 after "Address".
2426
fb1ffbbe
MC
24272001-05-31 Michael Chastain <chastain@redhat.com>
2428
2429 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2430 (dm_type_int_star): Likewise.
2431 (dm_type_long_star): Likewise.
2432 (dm_type_void_star): Likewise.
2433
5ea2a32c
KB
24342001-05-29 Kevin Buettner <kevinb@redhat.com>
2435
2436 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2437 to a known value in order to get consistent results regardless
2438 of the setting of INPUTRC or the presence or contents of .inputrc.
2439
ae23c492
MS
24402001-05-24 Michael Snyder <msnyder@redhat.com>
2441
ac55707e
MS
2442 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2443 Don't require that the main thread and the manager thread are the
2444 first in the list.
2445
ae23c492
MS
2446 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2447 debugging. If test fails, issue an "unsupported" not a "fail".
2448
400071f1
JB
24492001-05-24 Jim Blandy <jimb@redhat.com>
2450
2451 Don't assume that short is shorter than int.
2452 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2453 assume that shorts are smaller than ints. On a 16-bit machine,
2454 this isn't true.
2455 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2456 an int, is not equal to ~0 stored in an unsigned char. This tests
2457 the same thing that the previous test meant to, but works on
2458 16-bit machines, too.
2459 ("print unsigned char != (~0)"): Same test, complemented.
2460
0816a3e5
MS
24612001-05-24 Michael Snyder <msnyder@redhat.com>
2462
2463 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2464 test for (full_coverage == 0). This makes the test run faster,
2465 and prevents dejagnu getting out of step.
2466
f6dc23a9
KB
24672001-05-23 Kevin Buettner <kevinb@redhat.com>
2468
2469 * gdb.base/finish.exp (finish_void): Revise pattern for
2470 stopping on the call statement to not permit stopping at
2471 the start of the instructions comprising the call sequence.
2472
7dbd117d
MC
24732001-05-19 Michael Chastain <chastain@redhat.com>
2474
2475 * gdb.base/callfuncs.exp: Make all test names unique.
2476 * gdb.base/commands.exp: Make all test names unique.
2477 * gdb.base/condbreak.exp: Make all test names unique.
2478 * gdb.base/dbx.exp: Make all test names unique.
2479 * gdb.base/default.exp: Make all test names unique.
2480 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2481 and TIMEOUT messages to their corresponding PASS message.
2482 * gdb.base/ending-run.exp: Make all test names unique.
2483 * gdb.base/long_long.exp: Remove duplicate test.
2484
6b0b0a9e
KB
24852001-05-21 Kevin Buettner <kevinb@redhat.com>
2486
2487 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2488 stop on the call statement as well as the statement after the
2489 call.
2490
2caa35cb
MS
24912001-05-21 Michael Snyder <msnyder@redhat.com>
2492
2493 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2494
40713331
EZ
24952001-05-10 Elena Zannoni <ezannoni@redhat.com>
2496
2497 * gdb.base/completion.exp: Revamp test. Make it execute on all
2498 platforms.
2499
c2c1be8d
EZ
25002001-05-10 Elena Zannoni <ezannoni@redhat.com>
2501
2c9cd303
EZ
2502 * config/gdbserver.exp (gdb_load): Handle the case
2503 in which the arguments to gdbserver are given in the
2504 baseboard configuration file.
2505 Also handle the case in which the server needs to do a
2506 load.
2507
9671de48
KS
25082001-05-07 Keith Seitz <keiths@cygnus.com>
2509
2510 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2511 set up the display for testing.
2512 (gdbtk_start): Convert all paths to paths that tcl will like.
2513 Export target information to environment.
2514 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2515 necessary.
2516 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2517 (to_tcl_path): New proc to convert a given pathname into
2518 a path acceptible as an argument to a tcl command.
2519 (_gdbtk_export_target_info): New proc to export target info
2520 into the environment for gdbtk testing.
2521 (gdbtk_done): New proc to signal end-of-test.
2522
5a360f47
JB
25232001-05-06 Jim Blandy <jimb@redhat.com>
2524
2525 * restore.c: Make the code of caller0 correspond to its comment.
2526
66c756c6
MS
25272001-05-03 Michael Snyder <msnyder@redhat.com>
2528
2529 * config/sid.exp (gdb_target_sid): Check for error messages.
2530 On error or timeout, don't make expect exit (which will terminate
2531 all subsequent tests); instead just make gdb exit.
2532 (gdb_load): Check for error messages. On error or timeout,
2533 return a negative value.
2534
a966fde5
JB
25352001-04-24 Jim Blandy <jimb@redhat.com>
2536
851c18e0
JB
2537 * gdb.c++/templates.exp: If we see the prompt for the overload
2538 list, but we haven't recognized any of the longer patterns,
2539 arrange for this test to fail, not hang.
2540
a966fde5
JB
2541 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2542 variations.
2543
db144853
MC
25442001-04-22 Michael Chastain <chastain@redhat.com>
2545
2546 * gdb.c++/local.exp: Use the 'runto' library function.
2547 * gdb.c++/namespace.exp: Likewise.
2548 * gdb.c++/overload.exp: Likewise.
2549
3207ec21
KB
25502001-03-26 Kevin Buettner <kevinb@redhat.com>
2551
2552 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2553 * gdb.base/step-line.exp: New file. Test step/next in presence of
2554 #line directives.
2555 * gdb.base/step-line.c: New file. Test program for the above.
2556 * gdb.base/step-line.inp: New file. We pretend that this file has
2557 been transformed by some other tool into step-line.c.
2558
13b57657
JB
25592001-03-21 Jim Blandy <jimb@redhat.com>
2560
2561 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2562 unmangled operator names.
2563
754cbe1c
JB
25642001-03-20 Jim Blandy <jimb@redhat.com>
2565
2566 * gdb.threads/linux-dp.exp: Recognize an additional message
2567 generated by GDB when it doesn't understand how to debug threads
2568 on the target system.
2569
177495c9
AC
25702001-03-19 Andrew Cagney <ac131313@redhat.com>
2571
2572 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2573
f266096b
MC
25742001-03-12 Michael Chastain <chastain@redhat.com>
2575
2576 * gdb.c++/derivation.exp: Use the 'runto' library function.
2577
cac3c2ff
MC
25782001-03-12 Michael Chastain <chastain@redhat.com>
2579
2580 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2581
b6c11a24
MC
25822001-02-24 Michael Chastain <chastain@redhat.com>
2583
2584 * gdb.c++/ref-types.exp: Change handwritten code to library
2585 function 'runto'.
2586
6bae5bce
OF
25872001-03-16 Orjan Friberg <orjanf@axis.com>
2588
2589 * gdb.base/signals.exp: Set count to 0 explicitly.
2590
0015fd9a
MS
25912001-03-15 Mark Salter <msalter@redhat.com>
2592
2593 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2594 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2595 (gdb_load): Add support for additional target_info: gdb_download_size
2596 and gdb_load_timeout.
0015fd9a 2597
fc33412a
DT
2598Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2599
2600 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2601 file -- to prevent failing when the compile fails but we have no
2602 intention of running the tests anyway.
2603
2604 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2605 tests if set.
2606
2607 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2608 integers.
2609
2610 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2611 * gdb.c++/namespace.exp: Ditto.
2612
115f06de
OF
26132001-03-07 Orjan Friberg <orjanf@axis.com>
2614
2615 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2616 * gdb.base/pointers.exp: Relax pattern match of decimals.
2617
b6ba6518
KB
26182001-03-06 Kevin Buettner <kevinb@redhat.com>
2619
2620 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2621 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2622 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2623 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2624 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2625 config/sh.exp, config/sid.exp, config/slite.exp,
2626 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2627 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2628 config/vxworks.exp, config/vxworks29k.exp,
2629 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2630 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2631 gdb.base/arithmet.exp, gdb.base/assign.exp,
2632 gdb.base/async.exp, gdb.base/attach.exp,
2633 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2634 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2635 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2636 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2637 gdb.base/commands.exp, gdb.base/completion.exp,
2638 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2639 gdb.base/constvars.exp, gdb.base/corefile.exp,
2640 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2641 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2642 gdb.base/ending-run.exp, gdb.base/environ.exp,
2643 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2644 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2645 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2646 gdb.base/funcargs.exp, gdb.base/help.exp,
2647 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2648 gdb.base/logical.exp, gdb.base/long_long.exp,
2649 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2650 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2651 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2652 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2653 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2654 gdb.base/regs.exp, gdb.base/relational.exp,
2655 gdb.base/remote.exp, gdb.base/reread.exp,
2656 gdb.base/restore.exp, gdb.base/return2.exp,
2657 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2658 gdb.base/selftest.exp, gdb.base/setshow.exp,
2659 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2660 gdb.base/sigall.exp, gdb.base/signals.exp,
2661 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2662 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2663 gdb.base/step-test.exp, gdb.base/structs.c,
2664 gdb.base/structs.exp, gdb.base/structs2.exp,
2665 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2666 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2667 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2668 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2669 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2670 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2671 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2672 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2673 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2674 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2675 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2676 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2677 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2678 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2679 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2680 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2681 gdb.trace/circ.exp, gdb.trace/collection.exp,
2682 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2683 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2684 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2685 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2686 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2687 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2688 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2689 notices.
2690
dc96c6c7 26912001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2692
2693 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2694 first arg is int not float.
2695
dc96c6c7 26962001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2697
2698 * gdb.base/reread.exp: Unsupported for non-native targets;
2699 doesn't work for remote debugging.
2700
9b0c4aeb
FN
27012001-02-19 Fernando Nasser <fnasser@redhat.com>
2702
2703 From Drew Moseley <dmoseley@redhat.com>
2704 * gdb.base/ending-run.exp: Properly handle the BSP state when
2705 stepping past the end of main.
2706
02aa71d5
MC
27072001-02-19 John Moore <jmoore@redhat.com>
2708
2709 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2710 Converted HPUX fix for non-expected items following multiple
2711 step commands into general solution for all platforms.
2712
1fa449a4
MC
27132001-02-18 Michael Chastain <chastain@redhat.com>
2714
2715 * gdb.c++/classes.exp (do_tests): Change runto statements
2716 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2717 statements demangler agnostic.
2718 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2719 (gdb_virtfunc_restart): Likewise.
2720
b2f9ec70
MC
27212001-02-14 Michael Chastain <chastain@redhat.com>
2722
2723 * gdb.c++/inherit.exp (do_tests): Change runto statements
2724 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2725 statements demangler agnostic.
2726
cf74b8ca
AC
2727Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2728
2729 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2730 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2731 before calling common_routine 15 times'' tests.
2732
99f78f56
MC
27332001-02-11 Michael Chastain <chastain@redhat.com>
2734
2735 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2736 Helps the test script figure out which demangler is in use.
2737 (dm_type_foo_ref): Ditto.
2738 (dm_type_int_star): Ditto.
2739 (dm_type_long_star): Ditto.
2740 (dm_type_unsigned_int): Ditto.
2741 (dm_type_void): Ditto.
2742 (dm_type_void_star): Ditto.
99707966 2743 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2744 Probe the gdb demangler and set variables to accommodate
2745 formatting differences.
2746 (info_func_regexp): New function. Same as info_func, but
2747 matches against a regexp.
2748 (info_func): Match against a literal string.
2749 (print_addr_2): New function. Match against a literal string,
2750 which can be different from the input to gdb.
2751 (print_addr): Simply call print_addr_2 with the same argument twice.
2752 (test_lookup_operator_functions): Use demangler formatting variables.
2753 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2754 the tests in the same order as the C++ class declaration.
2755 (test_paddr_operator_functions): Ditto.
2756 (test_paddr_overloaded_functions): Ditto.
2757 (test_paddr_hairy_functions): Use demangler formatting variables.
2758 Add reference to gdb/19 for related tests.
2759 (do_tests): Call probe_demangler.
2760
1de8f023
KB
27612001-01-30 Kevin Buettner <kevinb@redhat.com>
2762
2763 * gdb.c++/templates.cc (printf): Remove unused function definition.
2764
ca3f91ed
MS
27652001-01-26 Felix Lee <flee@redhat.com>
2766
2767 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2768
27692001-01-25 matthew green <mrg@redhat.com>
2770
2771 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2772 up sid.
2773 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2774
27752001-01-25 matthew green <mrg@redhat.com>
2776
2777 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2778 Deprecate $sid_spawn_id.
2779 (sid_exit): Remove code necessary only for `spawn.'
2780
27812001-01-25 matthew green <mrg@redhat.com>
2782
2783 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2784
fb18ec4a
MC
27852001-01-28 Michael Chastain <chastain@redhat.com>
2786
2787 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2788 to call when tests fail. It takes gdb out of the overloaded
2789 function choice menu back to the main prompt, so that the test
2790 program stays synchronized.
2791 (set_bp_overloaded): New proc to collect all the common
2792 code for setting a breakpoint on an overloaded name. Calls
2793 take_gdb_out_of_choice_menu when needed.
2794 (menu_overload1arg): New variable to collect the repeated
2795 instances of the expected menu for an overloaded name. Change
2796 the regular expression to handle changes in g++ type encoding:
2797 "void" can be either "void" or "", and "unsigned int" can be
2798 either "unsigned int" or "unsigned".
2799 (continue_to_bp_overloaded): Change regular expressions to handle
2800 changes in g++ type encoding.
2801 (no proc): Call take_gdb_out_of_choice_menu when needed.
2802 Remove redundant calls to "info break". Accept either "canceled"
2803 or "cancelled". Change regular expressions in "info break"
2804 calls to handle changes in g++ type encoding. Give all tests
2805 unique strings.
2806
9c646a6e
BE
28072001-01-17 Ben Elliston <bje@redhat.com>
2808
2809 * config/sid.exp: New file.
2810
9549d9c1
AC
2811Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2812
2813 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2814
dc96c6c7 28152000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2816
2817 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2818 Add a RE to accept a non-ascii char if one is ever presented.
2819
b4df4f68
FN
28202000-12-20 Fernando Nasser <fnasser@redhat.com>
2821
297dd0fd 2822 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2823
dc96c6c7 28242000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2825
2826 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2827 in regexp. One '\' does not suffice on Linux.
2828
4a7bddb6
MC
28292000-12-09 Michael Chastain <chastain@redhat.com>
2830
2831 * gdb.base/break.exp (test_clear_command): Use a marker function
2832 rather than 'main' for the test function. Also move this
2833 test to an execution point where the marker function names are
2834 guaranteed to be bound to functions. (Executing tests after a
2835 'finish' from main runs into name conflicts with local names
2836 in __libc_start_main).
2837
dc96c6c7 28382000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2839
2840 * gdb.base/finish.exp: New test for gdb's "finish" command.
2841 * gdb.base/return2.exp: New test for gdb's "return" command.
2842 * gdb.base/return2.c: New source file for above.
2843
dc96c6c7 28442000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2845
2846 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2847 * gdb.base/miscexprs.exp: Ditto.
2848 * gdb.base/pointers.exp: Ditto.
2849 * gdb.c++/derivation.exp: Ditto.
2850 * gdb.c++/local.exp: Ditto.
2851 * gdb.c++/namespace.exp: Ditto.
2852 * gdb.c++/overload.exp: Ditto.
2853 * gdb.c++/ref-types.exp: Ditto.
2854
dc96c6c7 28552000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2856
2857 * gdb.base/constvars.exp: Test result of "up" command.
2858 * gdb.base/miscexprs.exp: Ditto.
2859 * gdb.base/pointers.exp: Ditto.
2860 * gdb.base/scope.exp: Ditto.
2861 * gdb.c++/derivation.exp: Ditto.
2862 * gdb.c++/local.exp: Ditto.
2863 * gdb.c++/namespace.exp: Ditto.
2864 * gdb.c++/overload.exp: Ditto.
2865 * gdb.c++/ref-types.exp: Ditto.
2866
44097287
FN
28672000-11-22 Michael Chastain <chastain@redhat.com>
2868
2869 * mips_pro.exp: Accept either "middle -> top -> main" or
2870 "middle -> main" in the backtrace, because gcc can optimize
2871 tail calls to jumps. Remove setup_xfail for the hppa case.
2872 Add a comment with the original warning messages from PR 3016,
2873 which was filed in 1993, to preserve them for posterity.
2874
9d2e1bab
ND
28752000-11-17 Nick Duffek <nsd@redhat.com>
2876
2877 * lib/gdb.exp (gdb_test): Override timeout with board info.
2878
1aca8eb7
ND
28792000-11-17 Nick Duffek <nsd@redhat.com>
2880
2881 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2882 the second kill and detach messages.
2883
93076499
ND
28842000-11-17 Nick Duffek <nsd@redhat.com>
2885
2886 * configure.in: Add AC_EXEEXT.
2887 * configure: Regenerate.
2888 * Makefile.in (just-check): Export EXEEXT.
2889 * lib/gdb.exp ($EXEEXT): Import from environment.
2890 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2891 expect "maint dump-me" on Cygwin.
2892 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2893 $EXEEXT.
2894
30e87cd3
ND
28952000-11-17 Nick Duffek <nsd@redhat.com>
2896
2897 * gdb.base/break.exp: Test backtrace and finish from called
2898 function on all platforms, not just HP-UX.
2899
dc96c6c7 29002000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2901
2902 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2903 code from gdb_target_monitor, so it can be used independantly
2904 for gdbserver. Also comment out an unnecessary PUTS.
2905
dc96c6c7 29062000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2907
2908 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2909 * gdb.base/corefile.exp: Expect the message "Program is being
2910 debugged already" when we send the "corefile" command, since
2911 the preceeding gdb_load may have connected gdb to a remote target.
2912 * gdb.base/display.exp: Disable hardware watchpoints if new
2913 board info variable "no_hardware_watchpoints" is true.
2914 Replace single-letter commands with more readable ones.
2915 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2916 if new board info variable "no_hardware_watchpoints" is true.
2917 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2918 to see if stdio (printf) testing is possible.
2919 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2920 board info variable "no_hardware_watchpoints" is true. Use new
2921 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2922
39124dea
FN
29232000-11-13 Fernando Nasser <fnasser@redhat.com>
2924
2925 From Orjan Friberg <orjanf@axis.com>:
2926 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2927 in array print pattern match.
2928
a9e2e984
FN
29292000-11-09 Fernando Nasser <fnasser@redhat.com>
2930
2931 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2932 spelling "cancelled" to U.S. spelling "canceled" to match changes
2933 made to gdb.
2934 * gdb.c++/ovldbreak.exp: Ditto.
2935
c7db355b
PS
29362000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2937
2938 * gdb.base/callfuncs.c (main): Moved to end of file, call
2939 t_double_values to initialize the FPU before inferior calls are made.
2940 * gdb.base/callfuncs.exp: Test for register preservation after calling
2941 inferior functions. Add tests for continuining, finishing and
2942 returning from a stop in a call dummy.
2943
dc96c6c7 29442000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2945
2946 * gdb.base/commands.exp: Break up long lines, and re-indent.
2947
dc96c6c7 29482000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2949
2950 * config/gdbserver.exp: Rewritten from the ground up, to make it
2951 compatible with the current dejagnu tree, and to make it work with
2952 the new "gdbserver" in libremote.
2953
dc96c6c7 29542000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2955
2956 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2957 * gdb.base/varargs.exp: Skip entire test if no printf support.
2958 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2959 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2960
dc96c6c7 29612000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2962
2963 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2964 no floating point support.
2965 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2966 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2967 * gdb.base/call-rt-st.exp: Ditto.
2968 * gdb.base/call-strs.exp: Ditto.
2969
bac5fc66
JG
29702000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2971
2972 * gdb.base/sizeof.c: include <stdio.h>.
2973
2974 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2975 'finish', otherwise uncaptured gdb_prompt would potentially
2976 throw remaining test points out of sync.
2977
b22a6027
SB
29782000-07-26 Scott Bambrough <scottb@netwinder.org>
2979
2980 * gdb.base/recurse.exp: Run tests for all targets.
2981 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2982 gnu-oldld case on ARM.
2983 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2984 for ARM targets.
2985
d8231941
AG
2986Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2987
2988 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2989 * gdb.java/configure: Rebuild.
2990
8caabe69
AG
2991Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2992
2993 * gdb.java/jv-exp.exp: New file.
2994
9d273ca3
AG
2995Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2996
2997 * configure: Rebuilt.
2998 * configure.in (configdirs): Add gdb.java.
2999 * gdb.java/jmisc.java: New file.
3000 * gdb.java/jmisc.exp: New file.
3001 * gdb.java/Makefile.in: New file.
3002 * gdb.java/configure: Rebuilt.
3003 * gdb.java/configure.in: New file.
3004 * lib/java.exp: New file.
3005
4f823a66
AC
3006Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3007
3008 * gdb.base/exprs.exp: Test casts to a pointer including over and
3009 underflow.
3010
2391e11d
AC
3011Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3012
3013 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3014 and the compilers sizes.
3015
54602222
ND
30162000-07-09 Nick Duffek <nsd@redhat.com>
3017
3018 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3019 (use_methods): New function.
3020 (main): Call use_methods().
3021 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3022 (do_tests): Call test_method_param_class.
3023
2bec0572
ND
30242000-07-09 Nick Duffek <nsd@redhat.com>
3025
3026 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3027 spelling.
3028 (test_enums): New procedure. Move enum tests from end of script
3029 to here. Set breakpoint on function name instead of line number.
3030 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3031 (enums2): New marker function.
3032 (enums1): New function.
3033 (main): Call enums1(). Move enum tests to enums1().
3034
78492fde
AC
3035Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3036
3037 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3038 compile/link program. Update line numbers.
3039 * gdb.asm/d10v.inc: Define ``startup''.
3040 * gdb.asm/asmsrc1.s: Add definition of _start.
3041
49a2cef8
AC
3042Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3043
3044 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3045
3e6c8688
EZ
30462000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3047
3048 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3049 of 'help maint print' command.
3050
9ff5cbe9
AC
3051Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3052
3053 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3054 they use gdb_expect_list.
3055
17c579bd
AC
3056Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3057
3058 * gdb.base/commands.exp: Use ``set remote
3059 memory-read-packet-size'' instead of ``set endian big'' to test
3060 long commands.
3061
e6d71bf3
DB
30622000-06-03 Daniel Berlin <dan@cgsoftware.com>
3063
3064 * gdb.c++/templates.exp (do_tests): Make all of these work under
3065 g++, and stop skipping them.
3066
3067 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3068 work under g++.
3069
e5f9ba7b
MS
3070 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3071 initialization.
3072
dc96c6c7 30732000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3074
3075 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3076 the regular expression: accept an (almost) arbitrary sequence of
3077 "frames-invalid" and "breakpoints-invalid" messages both before
3078 and after the "starting" message.
3079
dc96c6c7 30802000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3081
3082 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3083
dc96c6c7 30842000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3085
3086 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3087 Relax the regular expression a little, make it pass on Solaris 8.
3088
8216cda9
KB
30892000-05-12 Kevin Buettner <kevinb@redhat.com>
3090
3091 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3092 a call, do not require that gdb stop on the line after the call.
3093 Instead, it is permissible for gdb to stop on the line of the
3094 call itself.
3095
1a570b2f
MS
30962000-05-12 Michael Snyder <msnyder@.cygnus.com>
3097
3098 * gdb.base/break.exp (bp on small function, optimized file):
3099 Add a second pass pattern. The behavior differs here between stabs
3100 and dwarf for one-line functions. Stabs preserves two line symbols
3101 (one before the prologue and one after) with the same line number,
3102 but dwarf regards these as duplicates and discards one of them.
3103 Therefore the address after the prologue (where the breakpoint is)
3104 has no exactly matching line symbol, and GDB reports the breakpoint
3105 as if it were in the middle of a line rather than at the beginning.
3106
dc96c6c7 31072000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3108
3109 * gdb.base/interrupt.exp: Make "pass" message say "send"
3110 rather than "send_gdb" (for consistancy).
3111
7d418785
AC
3112Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3113
3114 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3115 * gdb.c++/templates.cc: Properly check for GCC version number.
3116 * lib/compiler.cc: Likewise
3117
dc96c6c7 31182000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3119
3120 * gdb.base/break.exp: When compiled with -O2 optimization,
3121 gdb may not stop at the first line of main, due to code motion.
3122
dc96c6c7 31232000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3124
3125 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3126 This test depends on parsing the printf output from the target.
3127 Since the sparclet stub doesn't do stdio, this will never work.
3128 * gdb.base/call-rt-st.exp: ditto.
3129 * gdb.base/call-strs: ditto.
3130
dc96c6c7 31312000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3132
3133 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3134
3135 * gdb.base/ending-run.exp: After connecting to a remote target,
3136 but before running, the target will appear to be in a random
3137 location. Specify both a file and a line for breakpoints.
3138 Also, the function that calls main may be called 'init'
3139 rather than 'start'.
3140
a5a51225
EZ
31412000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3142
3143 * gdb.base/help.exp: Update output for add-symbol-file command.
3144
7930cc7c
FN
31452000-04-10 Fernando Nasser <fnasser@cygnus.com>
3146
3147 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3148 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3149
23e37ab1
C
31502000-04-07 J.T. Conklin <jtc@redback.com>
3151
e93c542c
C
3152 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3153
23e37ab1
C
3154 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3155
591b8fa3
PDM
3156Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3157
3158 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3159 values that can be represented exactly.
3160 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3161 above change, and to not check against the directory part of the source
3162 file name.
3163 (step into print_long_arg_list): Likewise.
3164 (print print_small_structs from print_long_arg_list): Likewise.
3165 (print print_long_arg_list): Likewise.
3166
7a495180
EZ
31672000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3168
30b53638 3169 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3170
beb998c6
AC
3171Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3172
3173 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3174
1c689132
DB
31752000-03-25 Daniel Berlin <dan@cgsoftware.com>
3176
3177 * gdb.base/commands.exp (deprecated_command_test): Add test for
3178 deprecate with no arguments.
3179
c1790a9d
JL
31802000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3181
3182 * gdb.base/break.exp: Add new test for setting breakpoints on
3183 optimized code so we can test breakpoints work even when function
3184 prologues may be optimized away
3185
003ba290
FN
31862000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3187
3188 From David Whedon <dwhedon@gordian.com>
3189 * gdb.base/commands.exp : Added command deprecator tests.
3190
6837a0a2
DB
31912000-03-22 Daniel Berlin <dan@cgsoftware.com>
3192
3193 * gdb.base/help.exp: Added test for new apropos command.
3194
b9593231
KB
31952000-03-21 Kevin Buettner <kevinb@redhat.com>
3196
3197 * gdb.base/pointers.c (usevar): New function.
3198 (main): Make sure that global variables v_int_pointer2, rptr,
3199 and y are all referenced someplace in the program by calling
3200 usevar() on them. [Some linkers delete symbols which are
3201 never referenced. The space remains, but there's no way to
3202 get a (symbolic) handle on the variable from the debugger.]
3203
751a959b
EZ
32042000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3205
3206 * gdb.base/printcmds.c: Add typedeffed arrays.
3207
3208 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3209 procedure to test arrays that are typedef'd.
3210
73a93a32
JI
32112000-03-13 James Ingham <jingham@leda.cygnus.com>
3212
3213 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3214 the library directories.
73a93a32 3215
fb40c209
AC
3216Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3217
3218 * configure.in (configdirs): Add sub directory gdb.mi.
3219 * configure: Re-generate.
3220
3221 * gdb.mi: New directory.
beb998c6 3222
ee4dd2c9
AC
32232000-02-25 Scott Bambrough <scottb@netwinder.org>
3224
3225 * gdb.base/long_long.exp: Correct test suite failure when printing
3226 a long long value as a double on ARM platforms.
3227
70f0cc22
JB
32282000-02-16 Jim Blandy <jimb@redhat.com>
3229
3230 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3231 default source file is set properly before running this test.
3232
853819b8
EZ
32332000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3234
3235 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3236 gdbtk/library directory, not in gdbtcl2.
3237
dfcd3bfb
JM
32382000-02-04 Jim Blandy <jimb@redhat.com>
3239
3240 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3241 backslash from regexp pattern.
3242
3243 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3244 procedure. Use it to run all the "continue to bp overloaded"
3245 tests. Note that this changes the names of the tests slightly.
3246 If the breakpoint hit message includes a hex PC value, because
3247 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3248 from the real source code, still consider that a pass.
3249
3250 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3251 XFAIL here if the breakpoint message contains a hex address. Note
3252 similar change on 1999-11-02.
3253
3254 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3255
3256 * gdb.base/ptype.exp: Establish a default source file before
3257 calling get_debug_format.
3258
32592000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3260
3261 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3262
8b93c638
JM
32632000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3264
3265 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3266 of successive stepi commands -- while in the prologue we should see
3267 the function entry bracket.
3268
32692000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3270
3271 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3272 reach __change_mode() when stepping through the end of main().
3273
c5394b80
JM
32742000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3275
3276 * gdb.base/default.exp: Fix expected pattern.
3277 * gdb.base/help.exp: Same.
3278
0d06e24b
JM
32792000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3280
3281 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3282 Don't use xfail's because that affects only the following test.
beb998c6 3283
0d06e24b
JM
3284 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3285 solaris or linux.
3286
3287 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3288
dc96c6c7 32892000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3290
beb998c6 3291 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3292 "A syntax error" rather than "A parse error". Accept both.
3293
32942000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3295
3296 * gdb.base/default.exp: Remove OS dependent string from "target
3297 remote" test.
3298 * gdb.base/help.exp: Same for "help target remote" test.
3299
c3f6f71d
JM
33002000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3301
3302 From Jim Kingdon <kingdon@redhat.com>:
3303
3304 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3305 prompt (cleanup rather than necessity, but still might keep output
3306 from spilling to next test).
3307
33082000-01-02 Fred Fish <fnf@cygnus.com>
3309
3310 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3311 AIX, which defines them in <sys/types.h>.
3312
ed9a39eb 33131999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3314
ed9a39eb
JM
3315 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3316 float" test.
3317
33181999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3319
ed9a39eb 3320 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3321
3322 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3323 outermost frame disallowed".
3324
33251999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3326
3327 * gdb.base/setvar.exp: New tests for setting the value of a struct
3328 with a constant list.
3329
33301999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3331
3332 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3333 require the user to type a cast before setting the value of a struct.
3334
de57eccd
JM
33351999-12-06 Jim Blandy <jimb@cygnus.com>
3336
3337 * gdb.base/default.exp: Expect the new 'info float' command on
3338 all i386 platforms.
3339
3340 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3341 LinuxThreads libraries that don't support debugging.
3342
c2d11a7d
JM
3343Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3344
3345 * gdb.base/remote.c: Fill the buffer with truely random data.
3346 Change the buffer type to ``unsigned char'' to simplify size
3347 arithmetic.
3348
3349 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3350 stub only handles 400-1 byte packets. Verify that the download
3351 worked.
3352
33531999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3354
3355 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3356 tests, using UNRESOLVED for the untested cases. Also, does not wait
3357 for a timeout if the prompt was received before a recognizable pattern.
3358
33591999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3360
3361 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3362
33631999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3364
3365 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3366 watchpoints.
3367
33681999-11-24 Jason Merrill <jason@casey.cygnus.com>
3369
3370 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3371
3372 * gdb.c++/local.exp: Be more flexible in recognizing local class
3373 name mangling. Don't allow horribly truncated method names.
3374 * gdb.c++/derivation.exp: Expect protected inheritance.
3375 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3376 * gdb.c++/virtfunc.exp: Likewise.
3377 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3378 when printing a nested enum.
3379
33801999-11-22 Jim Blandy <jimb@cygnus.com>
3381
3382 * gdb.base/step-test.exp: Properly await GDB's response to setting
3383 a breakpoint on the call to large_struct_by_value.
3384
3385 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3386 just because we have debug info for the `start' function.
3387
33881999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3389
3390 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3391 "Unknown signal" messages, which indicate (on LinuxThreads) that
3392 GDB doesn't know how to debug threads on this system. This is
3393 better than hanging while philosopher 0 dumps chatter into gdb.log.
3394
33951999-11-18 Tom Tromey <tromey@cygnus.com>
3396
3397 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3398
33991999-11-18 Fred Fish <fnf@cygnus.com>
3400
3401 * gdb.base/coremaker2.c: Add sample program for generating
3402 cores that is more self contained than coremaker.c. Eventually
3403 I'll add more code to this and tie it into the testsuite.
3404
4ce44c66
JM
34051999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3406
3407 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3408
34091999-11-10 Jimmy Guo <guo@cup.hp.com>
3410
3411 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3412 from $srcdir/lib/.
3413 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3414 and gdb.c++/.
3415
3416 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3417
beb998c6 3418 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3419 'continue with watch' test point.
3420
34211999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3422
3423 Merged from p2linux-990323-branch:
beb998c6 3424
4ce44c66
JM
3425 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3426
11cf8741
JM
3427Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3428
3429 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3430 {limit,fixed}''. Test ``set download-write-size''.
3431
3432Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3433
3434 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3435 gdb_expect_list.
3436
3437Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3438
3439 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3440
34411999-11-03 Mark Salter <msalter@cygnus.com>
3442
3443 * gdb.base/break.exp: Fix "stub continue" pattern.
3444
34451999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3446
3447 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3448
34491999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3450
3451 * gdb.base/display.exp ("finish"): Add timeout clause.
3452
3453 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3454 plain prompt clause, so this doesn't have to time out in order to
3455 fail.
3456
3457 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3458 breakpoint hit messages include an address.
3459
3460 * gdb.base/display.exp: Don't forget to escape parens in regular
3461 expressions. Unix regexp notatation sucks.
3462
34631999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3464
3465 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3466 order for 'signalled' message.
3467
5c44784c
JM
34681999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3469
3470 From Jimmy Guo <guo@cup.hp.com>:
3471 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3472 * gdb.base/annota1.c: Add code for tests to work with.
3473
34741999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3475
3476 * gdb.base/remote.exp: New test for remote downloading settings.
3477 * gdb.base/remote.c: New file with large .data.
3478
917317f4
JM
34791999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3480
3481 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3482 for LinuxThreads support, merged from the Code Fusion branch.
3483
3484Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3485
3486 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3487 containing exp_continue into a while within an expect. Don't
3488 attempt a start more than three times. Check return value from
3489 gdb_load.
beb998c6 3490
2df3850c
JM
3491Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3492
3493 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3494 a pass case.
3495
2acceee2
JM
34961999-10-01 Kevin Buettner <kevinb@cygnus.com>
3497
3498 * gdb.base/break.c (main): Added a statement that we can step
3499 off of.
3500 * gdb.base/break.exp: Added tests for setting a breakpoint
3501 at an offset and stepping onto a breakpoint.
3502
35031999-10-01 Fred Fish <fnf@cygnus.com>
3504
beb998c6 3505 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3506 gdb output.
3507
c2c6d25f
JM
35081999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3509
3510 * gdb.base/break.exp: Code locations are in hex, don't forget!
3511 (For HP-UX.)
3512
35131999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3514
3515 * condbreak.exp: Use break.c as test program.
3516 * condbreak.c: Remove, redundant with break.c.
3517
35181999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3519
3520 * config/monitor.exp (gdb_target_monitor): Disable X- and
3521 Z-packets if the target needs it.
3522
35231999-09-13 James Ingham <jingham@leda.cygnus.com>
3524
3525 * gdb.c++/overload.exp: Added tests for listing overloaded
3526 functions with function pointers in the arg, explicitly calling
3527 out the version you want.
3528
cff3e48b
JM
35291999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3530
3531 * long_long.exp: Add variations of test cases that work for
3532 targets with 16-bit ints and 32-bit doubles.
3533
d4f3574e
SS
35341999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3535
3536 * break.c (main): Compare a possibly-uninitialized argc with an
3537 unlikely value that fits in 16 bits.
3538
35391999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3540
3541 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3542 0xfeeb, don't want negative numbers if ints are 16 bits.
3543
3544 * lib/gdb.exp (skip_cplus_tests): New proc.
3545 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3546 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3547 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3548 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3549 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3550 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3551 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3552 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3553
3554 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3555
3556Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3557
3558 * gdb.base/corefile.exp (up): Allow a parameter to appear
3559 in the frame that we're going up to.
3560
3561 From Jim Blandy <jimb@cygnus.com>:
3562
3563 * gdb.base/default.exp (info float): Expect some output now.
3564
3565 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3566 returning floating-point values to fail on the x86.
3567 * gdb.base/callfwmall.exp (do_function_calls): Same.
3568
3569 * gdb.base/list.exp (test_listsize): Correct expectations for
3570 listing line 1 with listsize 2. Also, listing a single line
3571 works now, as does listing three lines. [Kevin's note: There
3572 were a number of other cases fixed too where the expectations
3573 differed...]
3574
35751999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3576
3577 * gdb.base/selftest.exp: Add case for when version prints as
3578 constant string instead of char pointer.
3579
104c1213
JM
35801999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3581
3582 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3583 stepping out of main.
3584
3585 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3586 G++ used.
3587
3588 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3589 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3590
3591 * gdb.c++/ovldbreak.exp: Update match string in test that
3592 includes a warning of multiple breakpoints.
3593
35941999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3595
3596 * gdb.base/display.exp: Improve precision of step-after-finish
3597 added yesterday.
3598
3599 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3600 test.
3601
3602 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3603 configs when using G++, not just hppa*.
3604
36051999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3606
3607 * gdb.base/async.c: New file.
3608 * gdb.base/async.exp: New file.
3609
3610Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3611
3612 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3613 PA64.
3614
53a5351d
JM
3615Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3616
104c1213
JM
3617 * gdb.base/display.exp: "finish" can leave us mid-line on many
3618 targets, deal with it. Add a small constant to main, instead of
3619 1000 since main+1000 may not be a valid address in the target.
3620
53a5351d
JM
3621 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3622 on hpux11.
3623
3624 * gdb.base/attach.exp: Handle another hpux11 error message variant
3625 when attaching to a process that does not exist.
3626
36271999-08-19 J.T. Conklin <jtc@redback.com>
3628
3629 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3630 characters in 'continue to 1241' test.
3631
36321999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3633
3634 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3635 stop in print_long_arg_list, define and use a whitespace
3636 variable in print_small_structs test, add an XFAIL for Solaris.
3637 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3638 interested enough to fix.
3639
7be570e7
JM
36401999-08-13 Keith Seitz <keiths@cygnus.com>
3641
3642 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3643 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3644 proc knows about targets other than the natives.
3645 (test_assign): Use "gdb_run_cmd" to "run" the target.
3646 Check that we've actually hit the breakpoint at main.
3647 When we attempt to assign a value to a local variable, check
3648 that the variable is in the current scope, i.e., don't use
3649 a test with an empty result.
3650
3651Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3652
3653 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3654 command.
3655
36561999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3657
3658 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3659 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3660 gdb.compat, gdb.threads-hp.
3661 gdb.hp/configure, gdb.hp/configure.in: New files.
3662 gdb.hp/Makefile.in: Recurse into new subdirs.
3663 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3664 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3665 in object files.
3666 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3667
96baa820
JM
36681999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3669
3670 * gdb.base/display.exp: Help expect by putting a newline in the
3671 funky printf, remove a bogus p/a test.
3672
36731999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3674
3675 * gdb.base/display.exp: Make sure that when we say 'run', we are
3676 connected to the target. This is necessary when running not
3677 natively.
3678
36791999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3680
3681 * gdb.base/step-test.exp: Removed some extraneous messages.
3682
3683 * gdb.base/long_long.exp: Don't run memory examination tests
3684 on little-endian targets (they will need a different set of
3685 results to match).
3686
36871999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3688
3689 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3690 until somebody decides to fix GDB.
3691
3692 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3693 constant as "ULL".
3694 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3695 matches for a couple x/2 commands.
3696
a0b3c4fd
JM
36971999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3698
3699 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3700 by merging in ref-types2 tests.
3701 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3702
3703 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3704 * gdb.c++/Makefile.in: Add standard actions.
3705 (EXECUTABLES): Rename from PROGS, update list.
3706 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3707 from gdb.hp.
3708 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3709 foo and bar locals.
3710 * gdb.c++/anon-union.exp: Fix tests to match.
3711 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3712 expect matches to handle output variations.
3713 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3714 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3715 output, add HP alternatives for new and delete prints.
3716 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3717 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3718 * gdb.c++/demangle.exp: Use $style when reporting failure.
3719 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3720 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3721 match alternatives.
3722 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3723 compilers.
3724 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3725 * gdb.c++/method.exp: Add match alternatives.
3726 * gdb.c++/misc.cc: Add bool types.
3727 * gdb.c++/misc.exp: Add tests for bool types.
3728 * gdb.c++/overload.exp: Add xfails.
3729 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3730 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3731 add some more template parameter tests (only for HP currently).
3732 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3733 * gdb.c++/virtfunc.cc: Add return type and value for main.
3734 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3735 match alternatives.
beb998c6 3736
a0b3c4fd
JM
37371999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3738
3739 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3740
37411999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3742
3743 * gdb.base/signals.exp: Don't expect getting a backtrace from
3744 within a signal handler to fail on Linux.
3745
37461999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3747
3748 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3749 * lib/gdb.exp: Remove some gratuitious semicolons.
3750 (delete_breakpoints): Increase timeout.
3751 (gdb_expect): Add -notransfer option.
3752 (gdb_test): Use -notransfer option.
3753 (get_compiler_info): Add f77 case.
3754 (get_compiler): New proc, split out from gdb_preprocess, add f77
3755 case.
3756 (gdb_preprocess): Call get_compiler.
3757
3758 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3759 * gdb.base/attach.exp, gdb.base/display.exp,
3760 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3761 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3762 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3763 third arg to gdb_test.
3764 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3765 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3766 HP-UX xfails, add others.
3767 * gdb.base/completion.exp: Reflect name change of self-test.
3768 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3769 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3770 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3771 HP failure number.
3772 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3773 useless HP-UX 10.30 references.
3774 * gdb.base/maint.exp: Loosen matches.
3775 * gdb.base/pointers.c (main): Declare more_code.
3776 * gdb.base/pointers.exp: Match on output of a `next'.
3777 * gdb.base/structs.c: Add prototypes.
3778 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3779 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3780
37811999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3782
3783 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3784 command.
3785
37861999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3787
3788 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3789 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3790
3791 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3792 debug info. Deal with lack of signal hanlder info in stack.
3793
3794 From Jim Kingdon <kingdon@redhat.com>:
3795 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3796
5a2468f5
JM
37971999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3798
3799 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3800 gdb.base/foll-vfork.exp: Don't run for crosses.
3801
adf40b2e
JM
3802Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3803
3804 * gdb.base/configure.in: Check for gdbvars.exp instead of
3805 a1-selftest.exp.
3806 * gdb.base/configure: Re-generate.
3807
38081999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3809
3810 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3811 in trying to run first and name is too long.
3812
3813 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3814 pointers2.c and pointers2.exp, respectively.
3815 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3816 doschk happier.
3817
43e526b9
JM
38181999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3819
3820 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3821 callfuncs2.c and callfuncs2.exp.
3822
3823 * gdb.base/list.exp: Remove mistaken xfails.
3824 * gdb.base/list0.h: Add optional prototypes.
3825
9846de1b
JM
3826Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3827
3828 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3829 calling malloc.
3830 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3831 * ptype.exp: Move test for get_debug_format to before its first
3832 use.
3833
38341999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3835
3836 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3837 * gdb.base/annota2.cc, annota2.exp: Move from here.
3838 * gdb.c++/annota2.cc, annota2.exp: To here.
3839 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3840
43ff13b4
JM
3841Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3842
3843 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3844 a consistent format.
3845
085dd6e6
JM
38461999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3847
3848 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3849 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3850 HP compilers, also set the globals $true and $false.
3851
3852 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3853 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3854 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3855 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3856 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3857 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3858 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3859 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3860 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3861 whatis.c} Add C++ compatible function definitions and return
3862 types, add includes for library functions.
3863 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3864 * gdb.base/step-test.c (myglob): Rename from glob.
3865 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3866 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3867 files, move here from gdb.hp.
3868 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3869 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3870 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3871 Adjust line numbers in regexps.
3872
3873 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3874 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3875 instead of 0/1.
3876
3877 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3878 foll-vfork.exp: New files, move here from gdb.hp.
3879 * gdb.base/page.exp: New file, test of pagination command.
3880
3881 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3882 recursion test.
3883 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3884
3885 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3886 gdb.base/solib.exp: Fix compiler invocation process.
3887
3888 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3889 HP-UX 11, turn off overload resolution explicitly.
3890 * gdb.base/commands.exp: Set argument list explicitly, add
3891 watchpoint test.
3892 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3893 them work.
3894 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3895 expressions properly.
3896 * gdb.base/corefile.exp: Loosen the match slightly.
3897 * gdb.base/default.exp: Allow "Error accessing memory" message
3898 also.
3899 * gdb.base/display.exp: Skip over x/0 j if PA64.
3900 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3901 * gdb.base/interrupt.exp: Ditto.
3902 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3903 in use.
3904 * gdb.base/list.exp: Add xfails for HP-UX.
3905 * gdb.base/long_long.exp: Refine some of the numeric matches.
3906 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3907 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3908 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3909 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3910 * gdb.base/ptype.exp: Succeed on more varieties of output.
3911 * gdb.base/scope.exp: Add xfails for HP-UX.
3912 * gdb.base/sect-cmd.exp: Add more cases.
3913 * gdb.base/setvar.exp: Add xfails for HP-UX.
3914 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3915 * gdb.base/signals.exp: Match on void symbolically.
3916 * gdb.base/step-test.exp: Add case for PA64.
3917 * gdb.base/term.exp: Add exit and restart.
3918 * gdb.base/twice.exp: Clean up after self.
3919 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3920 * gdb.base/whatis.exp: Allow more ways to pass tests.
3921
3922 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3923 no longer useful.
3924
3925Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3926
3927 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3928 list of patterns.
3929 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3930 print_double_array(double_array)", "continuing to breakpoint
3931 1018", "print print_double_array(array_d)" and "continuing to
3932 1034" tests.
beb998c6 3933
085dd6e6
JM
39341999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3935
3936 * Makefile.in: Add empty html and install-html targets.
3937
39381999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3939
3940 * config/mt-*: Remove, these haven't been used since 1996.
3941
39421999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3943
3944 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3945 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3946 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3947
9e0b60a8
JM
39481999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3949
3950 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3951 simpler match case for the ptype of the big class.
3952
39531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3954
3955 * gdb.exp: Fix test for gdb_prompt existence.
3956
39571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3958
3959 * gdb.exp (gdb_test): Add fail after calls to perror.
3960
39611999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3962
3963 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3964
39651999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3966
3967 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3968
0f71a2f6
JM
3969Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3970
3971 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3972 malloc() is linked in.
3973
39741999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3975
3976 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3977 step at end.
3978
3979 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3980
39811999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3982
3983 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3984
cce74817
JM
3985Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3986
3987 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3988 * gdb.base/mips_pro.exp: Likewise.
3989
39901999-06-02 Keith Seitz <keiths@cygnus.com>
3991
3992 * gdb.c++/templates.cc: Change all "new" operators to throw
3993 an exception.
3994 * gdb.c++/cplusfuncs.cc: Likewise.
3995
3996 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3997
3998Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3999
4000 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4001 * gdb.base/ending-run.exp: When stepping out of main, accept a
4002 step into an arbitrary assembler file.
4003
392a587b
JM
40041999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4005
beb998c6 4006 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4007 "breakpoint-invalid" to be printed.
beb998c6 4008 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4009 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4010 * gdb.base/annota2.cc: Initialize a.x to 0.
4011
9e086581
JM
40121999-05-17 Keith Seitz <keiths@cygnus.com>
4013
4014 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4015 when "skip_float_tests" set.
4016 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4017 "print print_ten_doubles", and "step into print_long_arg_list".
4018 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4019 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4020 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4021 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4022 "skip_float_tests" is set.
4023 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4024 when "skip_float_tests" set.
beb998c6 4025
cd0fc7c3
SS
40261999-05-06 Keith Seitz <keiths@cygnus.com>
4027
4028 * gdb.base/annota2.cc: Include stdio.h.
4029
4030Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4031
4032 * gdb.base/crossload.exp: Remove, this has been disabled ever
4033 since BFD stopped including all targets, and cross-GDB gets
4034 plenty of testing anyway.
4035 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4036 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4037 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4038 * gdb.base/README: Remove, was doc for this.
4039 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4040 needed.
4041
b83266a0
SS
40421999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4043
4044 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4045 output.
4046
4047 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4048 * gdb.base/annota2.exp: New file. More annotation tests.
4049 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4050 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4051
40521999-04-23 Angela Marie Thomas <angela@cygnus.com>
4053
4054 * config/cfdbug.exp: New file.
4055
7a292a7a
SS
40561999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4057
4058 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4059 Marcus Daniel's and Dale Hawkins's demangler crashes.
4060
4061 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4062 test_lucid_style_demangling, test_arm_style_demangling,
4063 test_hp_style_demangling): Try Tom Tromey's core-dumping
4064 identifier under each demangling style.
4065
40661999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4067
4068 * gdb.c++/demangle.exp: Include the current demangling style
4069 in all test names.
4070 (current_demangling_style): New global variable.
4071 (set_demangling_style, test_demangling_core, test_demangling,
4072 test_demangling_exact): New functions.
4073 (test_gnu_style_demangling, test_lucid_style_demangling,
4074 test_arm_style_demangling, test_hp_style_demangling): Use those,
4075 instead of calling gdb_test and gdb_test_exact directly.
4076 (catch_demangling_errors): New function, which reports errors
4077 signalled by the demangling test functions in an orderly way.
4078 (do_tests): Use catch_demangling_errors.
4079
40801999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4081
4082 * gdb.base/signals.exp (test_handle_all_print): Use () for
4083 grouping in expressions, not {}.
4084
4085 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4086 initialized yet.
4087
40881999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4089
4090 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4091 are listed.
4092
40931999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4094
4095 * gdb.stabs/weird.exp: Test for CC being defined before
4096 looking at its value.
4097
40981999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4099
4100 * gdb.base/call-ar-st.exp: Remove stray '#'.
4101 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4102 "short int" and "long int".
4103 * gdb.c++/overload.cc: Cast the string added in the previous
4104 change, to mollify finicky HP compiler.
4105 * gdb.hp/reg-test.exp (testfile): Fix file name.
4106 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4107
7a292a7a
SS
4108 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4109 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4110 alternate form of enum ptype.
4111
c906108c
SS
41121999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4113
7a292a7a
SS
4114 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4115 * gdb.hp/*.exp: Change all to run compiler probe only after
4116 passing skip_hp_tests, so as not to waste time on guaranteed
4117 failure.
4118
c906108c
SS
4119 * gdb.c++/overload.cc: Pass string instead of char addr, always
4120 init ccpfoo.
4121 * gdb.c++/templates.cc: Fix syntax error.
4122
7a292a7a
SS
4123Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4124
4125 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4126 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4127 command.
4128
41291999-03-18 James Ingham <jingham@cygnus.com>
4130
4131 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4132
4133 * gdb.c++/method.exp: It was testing an uninitialized int on the
4134 stack and assuming it was positive.
4135
4136 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4137
4138 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4139 keep it from killing the rest of the tests.
7a292a7a
SS
4140 Use gdb_continue_to_end.
4141
4142 * gdb.base/sigall.exp: use gdb_continue_to_end.
4143
4144 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4145
4146 * gdb.base/display.exp: use runto_main, not run.
4147
beb998c6
AC
4148 * gdb.base/default.exp: Check for the current error message in the
4149 r abbreviation test.
7a292a7a
SS
4150 Add strongarm to the targets that know info float.
4151
beb998c6 4152 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4153 run which doesn't work with monitors.
4154
4155 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4156
4157 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4158
4159 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4160 program. Traps the case (in Cygmon) when the program never really
4161 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4162 more places, so I used my name. Sorry Mark...
4163
4164 * config/monitor.exp (gdb_target_monitor): added another
4165 target_info parameter: remotebinarydownload. This will set the
4166 remotebinarydownload flag if this is causing some boards trouble.
4167
41681999-03-18 Mark Salter <msalter@cygnus.com>
4169
4170 * lib/gdb.exp (continue_to_exit): New function.
4171
4172 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4173 * gdb.base/ending-run.exp: Ditto.
4174 * gdb.base/step-test.exp: Ditto.
4175
41761999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4177
4178 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4179 (suggested by Art Haas <ahaas@neosoft.com>).
4180
41811999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4182
4183 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4184
4185Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4186
4187 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4188 descriptions of types (short unsigned int vs unsigned short, etc).
4189
41901999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4191
4192 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4193 a call to strlen; sometimes we do have sources.
4194
41951999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4196
4197 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4198 character, so GDB won't print garbage after its end.
beb998c6 4199
c906108c
SS
4200 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4201 breakpoint there instead. Sometimes GCC emits memcpy to handle
4202 the large structures being passed by value, so we step into that
4203 instead of sum_array_print, which obscures what we're really testing.
4204 * gdb.base/step-test.exp: However, we do want a test that notices
4205 the bizarre steps into memcpy, so do that here. Add check for
4206 stepping into function calls that pass large structures by value.
4207 ("Is that a noun clause, or are you just happy to see me?")
4208 Remove all references to specific line numbers.
4209 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4210 New type and function.
4211 (main): Call large_struct_by_value, passing it a large struct by value.
4212 * lib/gdb.exp (gdb_get_line_number): New function.
4213
4214 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4215 more portable.
4216
7a292a7a
SS
42171999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4218
c906108c
SS
4219 * lib/gdb.exp: Doc fixes.
4220
7a292a7a
SS
42211999-03-05 Nick Clifton <nickc@cygnus.com>
4222
beb998c6 4223 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4224
42251999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4226
c906108c
SS
4227 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4228 commands. They're not germane to this test, and they don't work
4229 that way on remote targets.
4230
3fc11d3e
JM
42311999-03-01 James Ingham <jingham@cygnus.com>
4232
4233 * Changelog entries merged over from gdb development branch.
4234
3fc11d3e
JM
4235 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4236
4237 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4238 for outputting results of test run.
4239
2d4a1622 4240 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4241
4242 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4243
7a292a7a
SS
42441999-02-25 Felix Lee <flee@cygnus.com>
4245
4246 * lib/gdb.exp (debug_format): initialize
4247
c906108c
SS
42481999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4249
4250 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4251 * gdb.base/call-rt-st.c: Ditto.
4252
c906108c
SS
42531999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4254
4255 * gdb.threads/pthreads.exp (horiz): New variable.
4256 (test_startup): Fix regexps that capture thread numbers.
4257
42581999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4259
4260 * gdb.base/smoke.exp: Disambiguate two test case names (both
4261 called ``print'').
4262
4263Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4264
4265 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4266 compilation.
4267
42681999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4269
4270 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4271 actual output formatting.
4272 * gdb.base/smoke.exp: GDB removes leading 0's.
4273 * gdb.base/volatile.exp: Don't check type of remuneration;
4274 that variable is no longer defined in constvars.c.
4275 * gdb.base/step-test.c (main): Exit with explicit exit code.
4276 * gdb.base/step-test.exp: Remove two nexti checks--they are
4277 not portable.
4278
42791999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4280
4281 * gdb.base/help.exp ("help delete display"): Fix test to match
4282 gdb's output.
4283
4284 * gdb.base/long_long.c (known_types): Initialize values to zero.
4285 * gdb.base/long_long.exp: Step one more line
4286 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4287 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4288 unique test case names.
4289
4290Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4291
beb998c6 4292 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4293
4294 * gdb.c++/method.exp: Add missing close brace.
4295
42961999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4297
4298 * gdb.base/maint.exp: Use 'set height 0' to disable page
4299 prompting, not 'set height 400'.
4300
4301 Fix a bunch of timeouts.
4302 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4303 four separate tests, so expect doesn't take forever to match a ton
4304 of text against a regexp with lots of .* forms.
4305 ("maint print psymbols", "maint print symbols"): Make some of
4306 these greps more selective, so that expect doesn't try to wade
4307 through huge piles of output and time out.
4308
4309 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4310
4311 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4312 tests: one which doesn't expect shlib events to be reported, and
4313 another which does, but is XFAIL for all platforms other than
4314 HP/UX.
4315
4316 * gdb.base/break.exp: Teach the test suite that the `catch
4317 fork', `catch vfork', and `catch exec' commands produce error
4318 messages on platforms that don't provide these features.
4319
4320Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4321
4322 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4323 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4324 (shortening names from solib_threshold.exp etc), won't run on
4325 anything but HP-UX for the foreseeable future.
4326 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4327 reflect move.
4328
4329Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4330
4331 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4332 gdb.trace/Makefile.in (clean): Remove all test executables.
4333
4334Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4335
4336 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4337 successfully re-sets breakpoints in shared libraries.
4338 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4339
4340Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4341
beb998c6
AC
4342 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4343 and compiled w/o GCC.
c906108c
SS
4344
4345 * gdb.hp/watch-cmd.exp: ditto.
4346
4347 * gdb.hp/watch-hp.exp: ditto.
4348
4349 * gdb.hp/xdb1.exp: ditto.
4350
4351 * gdb.hp/xdb2.exp: ditto.
4352
4353 * gdb.hp/dbx.exp: ditto.
4354
4355Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4356
4357 * constvars.c: Remove C++-isms.
4358 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4359 with GCC.
4360
4361Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4362
4363 The following changes are part of the HP merge.
4364
4365 * gdb.base/break.exp: new tests to verify that catchpoints for
4366 fork, vfork, and exec don't trigger inappropriately.
4367
4368 * gdb.base/opaque.exp: compile one file at a time, then link.
4369
4370 * gdb.base/signals.exp: be more restrictive about which hppa
4371 systems receive a setup_xfail. new tests.
4372
4373 * gdb.base/solib_threshold.build: new file.
4374 * gdb.base/solib_threshold.exp: new file.
4375 * gdb.base/solib_threshold.link_opts: new file.
4376 * gdb.base/solib_threshold.mk: new file.
4377 * gdb.base/gen_solib_threshold.c: new file.
4378
4379 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4380 tests. New tests for enums inside classes.
4381
4382 * gdb.c++/compiler.cc: indicate support of template debugging.
4383
4384 * gdb.c++/demangle.exp: run hp style demangling tests.
4385
4386 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4387 tests.
4388
4389 * gdb.c++/misc.cc: changes to support new tests.
4390
4391 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4392 to support new tests.
4393
4394 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4395 gcc, then skip these tests.
4396
4397Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4398
4399 The following files are part of the HP merge; some had longer
4400 names at HP, but have been renamed to be no more than 14
4401 characters in length.
4402
4403 * gdb.hp/ambiguous.cc: new file.
4404 * gdb.hp/ambiguous.exp: new file.
4405 * gdb.hp/attach.exp: new file.
4406 * gdb.hp/attach2.exp: new file.
4407 * gdb.hp/classes-hp.exp: new file.
4408 * gdb.hp/ctti.exp: new file.
4409 * gdb.hp/ctti-add.cc: new file.
4410 * gdb.hp/ctti-add1.cc: new file.
4411 * gdb.hp/ctti-add2.cc: new file.
4412 * gdb.hp/ctti-add3.cc: new file.
4413 * gdb.hp/dbx.exp: new file.
4414 * gdb.hp/exception.cc: new file.
4415 * gdb.hp/exception.exp: new file.
4416 * gdb.hp/foll-exec.c: new file.
4417 * gdb.hp/foll-exec.exp: new file.
4418 * gdb.hp/foll-fork.c: new file.
4419 * gdb.hp/foll-fork.exp: new file.
4420 * gdb.hp/foll-vfork.c: new file.
4421 * gdb.hp/foll-vfork.exp: new file.
4422 * gdb.hp/inherit-hp.exp: new file.
4423 * gdb.hp/more-steps.exp: new file.
4424 * gdb.hp/namespace.cc: new file.
4425 * gdb.hp/namespace.exp: new file.
4426 * gdb.hp/optimize.exp: new file.
4427 * gdb.hp/pxdb.c: new file.
4428 * gdb.hp/pxdb.exp: new file.
4429 * gdb.hp/quicksort.exp: new file.
4430 * gdb.hp/reg-test.exp: new file.
4431 * gdb.hp/reg-test.s: new file.
4432 * gdb.hp/sized-enum.c: new file.
4433 * gdb.hp/sized-enum.exp: new file.
4434 * gdb.hp/start-stop.exp: new file.
4435 * gdb.hp/templ-hp.cc: new file.
4436 * gdb.hp/templ-hp.exp: new file.
4437 * gdb.hp/thr-lib.c: new file.
4438 * gdb.hp/thr-lib.exp: new file.
4439 * gdb.hp/thr-lib.h: new file.
4440 * gdb.hp/thr-liblib.c: new file.
4441 * gdb.hp/virtfun-hp.c: new file.
4442 * gdb.hp/virtfun-hp.exp: new file.
4443 * gdb.hp/watch-cmd.exp: new file.
4444 * gdb.hp/watch-hp.exp: new file.
4445 * gdb.hp/xdb1.exp: new file.
4446 * gdb.hp/xdb2.exp: new file.
4447 * gdb.hp/xdb3.exp: new file.
4448
4449Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4450
4451 The following files are part of the HP merge; some had longer
4452 names at HP, but have been renamed to be no more than 14
4453 characters in length.
4454
4455 * gdb.base/ss.h: new file.
4456 * gdb.base/call-ar-st.c: new file.
4457 * gdb.base/call-ar-st.exp: new file.
4458 * gdb.base/call-rt-st.c: new file.
4459 * gdb.base/call-rt-st-exp: new file.
4460 * gdb.base/call-strs.exp: new file.
4461 * gdb.base/ena-dis-br.exp: new file.
4462 * gdb.base/environ.exp: new file.
4463 * gdb.base/long_long.exp: new file.
4464 * gdb.base/sect-cmd.exp: new file.
4465 * gdb.base/shlib-cl2.exp: new file.
4466 * gdb.base/smoke.exp: new file.
4467 * gdb.base/so-impl-ld.c: new file.
4468 * gdb.base/so-impl-ld.exp: new file.
4469 * gdb.base/so-indr-cl.c: new file.
4470 * gdb.base/so-indr-cl.exp: new file.
4471 * gdb.base/varargs.exp: new file.
4472 * gdb.base/volatile.exp: new file.
4473 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4474 * gdb.base/display.exp: new file.
c906108c
SS
4475 * gdb.c++/derivation.exp: new file.
4476 * gdb.c++/local.exp: new file.
4477 * gdb.c++/member-ptr.exp: new file.
4478 * gdb.c++/overload.exp: new file.
4479 * gdb.c++/ovldbreak.exp: new file.
4480 * gdb.c++/ref-types.exp: new file.
4481 * gdb.c++/ref-types2.exp: new file.
4482 * gdb.c++/userdef.exp: new file.
beb998c6 4483
c906108c
SS
4484Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4485
4486 * gdb.base/default.exp: Reflect wording change in remote.c.
4487
dc96c6c7 4488Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4489
4490 * gdb.base/help.exp: Update to reflect current text.
4491
4492Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4493
4494 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4495 they're stack variables and contain garbage.
4496 * gdb.c++/anon-union.exp: new file.
4497
4498 The following changes were made by David Taylor
4499 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4500 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4501 in changes by HP.
4502
4503 * gdb.base/bitops.exp: new file.
4504 * gdb.base/default.exp: change expected messages for catch and
4505 info catch tests to reflect HP merge changes.
4506 * gdb.base/enable-disable-break.exp
4507 * gdb.base/ending-run.c: new file.
4508 * gdb.base/long_long.c: new file.
4509 * gdb.base/maint.exp: new file.
4510 * gdb.base/pointers2.exp: new file.
4511 * gdb.base/shlib-call2.exp: new file.
4512 * gdb.base/solib.exp: new file.
4513 * gdb.base/step-test.c: new file.
4514 * gdb.c++/anon-union.cc: new file.
4515 * gdb.c++/local.cc: new file.
4516 * gdb.c++/member-pointer.cc: new file.
4517 * gdb.c++/method.cc: new file.
4518 * gdb.c++/ref-types.cc: new file.
4519 * gdb.c++/ref-types2.cc: new file.
4520 * gdb.c++/userdef.cc: new file.
beb998c6 4521
c906108c
SS
4522 * gdb.base/scope.exp: compile one file at a time, then link.
4523 * gdb.base/langs.exp: ditto.
4524 * gdb.base/list.exp: ditto.
beb998c6 4525
c906108c
SS
4526Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4527
4528 The following changes were made by David Taylor
4529 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4530 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4531 in changes by HP.
beb998c6 4532
c906108c
SS
4533 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4534 skip tests. When compiling pass c++ flag to gdb_compile.
4535 * gdb.c++/
beb998c6 4536
c906108c
SS
4537 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4538 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4539 (skip_hp_tests): new function.
4540 (gdb_preprocess): new function.
4541
4542 * configure.in (hpdir): decide whether to configure gdb.hp.
4543 * configure: regenerated.
4544
4545 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4546 to delete on clean.
4547 (EXECUTABLES): update to reflect new additions.
4548 * gdb.base/commands.exp: update message expected.
4549 * gdb.base/default.exp: add copyright notice.
4550 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4551 * gdb.base/help.exp: update messages to reflect current text.
4552 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4553 targets for recurse tests.
4554 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4555 skip this file.
4556
4557 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4558 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4559 compilation.
4560 * gdb.c++/misc.exp: ditto.
4561 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4562 run the tests. tell gdb_compile that it's a c++ compilation.
4563
4564 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4565
c906108c
SS
4566 * gdb.base/all-bin.exp: new file.
4567 * gdb.base/arithmet.exp: new file.
4568 * gdb.base/assign.exp: new file.
4569 * gdb.base/completion.exp: new file.
4570 * gdb.base/cond-expr.exp: new file.
4571 * gdb.base/condbreak.exp: new file.
4572 * gdb.base/define.exp: new file.
4573 * gdb.base/dollar.exp: new file.
4574 * gdb.base/environment.exp: new file.
4575 * gdb.base/eval-skip.exp: new file.
4576 * gdb.base/jump.exp: new file.
4577 * gdb.base/logical.exp: new file.
4578 * gdb.base/pointers.exp: new file.
4579 * gdb.base/relational.exp: new file.
4580 * gdb.base/section_command.exp: new file.
4581 * gdb.base/whatis-expr.exp: new file.
4582
4583 * gdb.base/all-types.c: new file.
4584 * gdb.base/call-array-struct.c: new file.
4585 * gdb.base/call-return-struct.c: new file.
4586 * gdb.base/call-strings.c: new file.
4587 * gdb.base/callfuncs2.c: new file.
4588 * gdb.base/condbreak.c: new file.
4589 * gdb.base/constvars.c: new file.
4590 * gdb.base/display.c: new file.
4591 * gdb.base/int-type.c: new file.
4592 * gdb.base/jump.c: new file.
4593 * gdb.base/miscexprs.c: new file.
4594 * gdb.base/pointers.c: new file.
4595 * gdb.base/pointers2.c: new file.
4596 * gdb.base/shmain.c: new file.
4597 * gdb.base/shr1.c: new file.
4598 * gdb.base/shr2.c: new file.
4599 * gdb.base/solib.c: new file.
4600 * gdb.base/solib1.c: new file.
4601 * gdb.base/solib2.c: new file.
4602 * gdb.base/varargs.c: new file.
4603 * gdb.c++/derivation.cc: new file.
4604 * gdb.c++/overload.cc: new file.
4605 * gdb.c++/ovldbreak.cc: new file.
4606 * gdb.hp/attach.c: new file.
4607 * gdb.hp/attach2.c: new file.
4608 * gdb.hp/average.c: new file.
4609 * gdb.hp/compiler.c: new file.
4610 * gdb.hp/compiler.cc: new file.
4611 * gdb.hp/execd-program.c: new file.
4612 * gdb.hp/follow-exec.c: new file.
4613 * gdb.hp/follow-fork.c: new file.
4614 * gdb.hp/follow-vfork-and-exec.c: new file.
4615 * gdb.hp/misc-hp.cc: new file.
4616 * gdb.hp/more-steps.c: new file.
4617 * gdb.hp/optimize.c: new file.
4618 * gdb.hp/quicksort.c: new file.
4619 * gdb.hp/run-hp.c: new file.
4620 * gdb.hp/start-stop.c: new file.
4621 * gdb.hp/sum.c: new file.
4622 * gdb.hp/templates-hp.cc: new file.
4623 * gdb.hp/thread-local-in-lib.c: new file.
4624 * gdb.hp/thread-local-in-lib.h: new file.
4625 * gdb.hp/thread-local-in-lib.lib.c: new file.
4626 * gdb.hp/vforked-program.c: new file.
4627 * gdb.hp/virtfunc-hp.cc: new file.
4628 * gdb.hp/watchpoint-hp.c: new file.
4629 * gdb.hp/xdb.c: new file.
4630 * gdb.hp/xdb0.c: new file.
4631 * gdb.hp/xdb0.h: new file.
4632 * gdb.hp/xdb1.c: new file.
4633
4634Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4635
4636 The following change was made by Edith Epstein
4637 <eepstein@cygnus.com> as part of a project to merge in changes
4638 originally made by HP; HP did not create ChangeLog entries.
4639
4640 * gdb.c++/demangle.exp: changed the expected output for some
4641 ARM-style mangling -- removed second reference to datatype.
4642 For example, maint demangle __dt__11T1__pt__2_cFv
4643 T1<char>::~T1<char>(void)
4644 becomes,
4645 maint demangle __dt__11T1__pt__2_cFv
4646 T1<char>::~T1(void)
4647
4648 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4649
c906108c
SS
4650Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4651
4652 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4653 * gdb.trace/backtrace.exp: Likewise.
4654 * gdb.trace/circ.exp: Likewise.
4655 * gdb.trace/collection.exp: Likewise.
4656 * gdb.trace/deltrace.exp: Likewise.
4657 * gdb.trace/infotrace.exp: Likewise.
4658 * gdb.trace/limits.exp: Likewise.
4659 * gdb.trace/packetlen.exp: Likewise.
4660 * gdb.trace/passc-dyn.exp: Likewise.
4661 * gdb.trace/passcount.exp: Likewise.
4662 * gdb.trace/report.exp: Likewise.
4663 * gdb.trace/save-trace.exp: Likewise.
4664 * gdb.trace/tfind.exp: Likewise.
4665 * gdb.trace/tracecmd.exp: Likewise.
4666 * gdb.trace/while-dyn.exp: Likewise.
4667 * gdb.trace/while-stepping.exp: Likewise.
4668
46691998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4670
4671 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4672
4673Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4674
4675 From Brendan Kehoe:
4676 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4677 int return types.
4678
4679Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4680
4681 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4682 remote dos host testing right.
4683
4684Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4685
4686 * gdb.base/corefile.exp: remove some xfails.
4687
4688Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4689
4690 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4691 have different timestamps.
4692
4693Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4694
4695 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4696 gdb.base/default.exp: Replace "exec" with "executable".
4697
4698Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4699
4700 * gdb.base/default.exp: Change else if to elseif from previous
4701 delta.
4702
4703Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4704
4705 * gdb.base/default.exp: Add brace missing from previous delta.
4706
4707Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4708
4709 * gdb.base/default.exp: Support test for info float for all
4710 varieties of arm toolchain.
4711
dc96c6c7 4712Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4713
4714 * gdb.trace/*.exp: remove "remote_download" command.
4715
dc96c6c7 4716Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4717
4718 * gdb.trace/*.exp: remove -gdwarf from compile.
4719
4720Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4721
4722 * gdb.trace/configure.in(AC_INIT): typo
4723 * gdb.trace/configure: regenerated
4724
dc96c6c7 4725Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4726
4727 * config/m68k-emc.exp: New file.
4728 * lib/<emc-support.exp trace-support.exp}: New files.
4729 * configure.in: add new test directory gdb.trace.
4730 * gdb.trace/{configure configure.in Makefile.in}: New files.
4731 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4732 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4733 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4734 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4735 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4736 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4737 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4738
dc96c6c7 4739Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4740
4741 * gdb.c++/classes.exp: Change all regular expressions to match
4742 arbitrary combinations of newline/carriage-return, so that they
4743 will work equally well on Unix and Windows.
4744 * gdb.c++/inherit.exp: ditto.
4745 * gdb.c++/virtfunc.exp: ditto.
4746
47471998-08-11 Dawn Perchik <dawn@cygnus.com>
4748
4749 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4750
c2d11a7d
JM
4751Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4752
4753 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4754 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4755 to use a0-a3/d0-d3 as needed.
4756
4757Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4758
4759 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4760 * gdb.disasm/am33.exp: Corresponding changes.
4761
c906108c
SS
47621998-07-11 Felix Lee <flee@cygnus.com>
4763
4764 * gdb.base/callfuncs.exp: add cmp10 test.
4765 * gdb.base/callfuncs.c (cmp10): new function.
4766
4767Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4768
beb998c6 4769 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4770 into two parts to get around a synchronization problem in expect.
4771
3fc11d3e
JM
4772Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4773
4774 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4775
4776 * configure.in: Add options for gdbtk testsuite.
4777
4778 * configure: Regenerate.
4779
4780 * gdb.gdbtk: New directory to hold gdbtk tests.
4781
c906108c
SS
4782Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4783
4784 * gdb.fortran/types.exp: Escape brackets in expect patterns
4785 for test_float_literal_types_accepted tests.
4786 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4787 before run test.
4788
c2d11a7d
JM
4789Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4790
4791 * am33.exp: Just compile, do not link the testcase.
4792 * am33.s: Add ".am33" pseudoop to force am33 mode.
4793
c906108c
SS
47941998-06-25 Felix Lee <flee@cygnus.com>
4795
4796 * gdb.base/setshow.exp: make sure $pc is sane.
4797
4798 * gdb.stabs/weird.exp: split expect patterns properly.
4799
c2d11a7d
JM
4800Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4801
4802 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4803 * gdb.disasm/am33.exp: Run it.
4804
dc96c6c7 4805Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4806
4807 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4808 match processing (and eliminate spurious timeouts when running).
4809
dc96c6c7 4810Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4811
4812 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4813 exception test, but conditionalize it on target [mach | gnu].
4814
dc96c6c7 4815Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4816
4817 * gdb.base/overlays.exp: fixup compile line for linker script.
4818
4819Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4820
4821 * gdb.fortran/types.exp: don't guess at float size.
4822
4823Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4824
4825 * gdb.base/exprs.exp: delete test that depends on int size.
4826
4827Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4828
4829 * config/sim.exp: Removed checks for target triplets.
4830 (gdb_target_sim): Use gdb,target_sim_options.
4831
4832Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4833
4834 * gdb.base/reread.exp: New file.
4835 * gdb.base/reread1.c: New file.
4836 * gdb.base/reread2.c: New file.
4837
4838Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4839
4840 * config/sim.exp: Use 'target sim -sparclite' when running
4841 SPARClite programs.
4842
4843Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4844
4845 * gdb.base/structs2.exp: New file.
4846 * gdb.base/structs2.c: New file.
4847
4848Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4849
4850 * gdb.asm/common.inc: New file.
4851 * gdb.asm/d10v.inc: New file.
4852 * asm-source.exp: Pass -I's to gas to find .inc files.
4853 Update line numbers in expected output.
4854 * asmsrc1.s: Rewrite.
4855 * asmsrc2.s: Rewrite.
4856 * configure.in: Create arch.inc symlink.
4857 * configure: Regenerate.
4858 * Makefile.in (distclean): Delete arch.inc.
4859
4860Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4861
4862 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4863 (t_enum_value2): ditto
4864 (t_enum_value3): ditto
4865 (main): ditto
4866Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4867
4868 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4869 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4870 change.
4871 Use gdb_test instead of send_gdb/gdb_expect sequences.
4872
4873Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4874
4875 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4876 not void.
4877
4878Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4879
4880 * gdb.base/branches.c: Code with lots of loops and
4881 subroutines. Used to test gdbs ability to single step through PC
4882 changes, especially to test mips-tdep.c:mips_next_pc
4883
4884Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4885
4886 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4887 more rigorous EGCS C++ error checking.
4888
4889Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4890
4891 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4892 tests.
c906108c 4893 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4894 function when asleep.
c906108c 4895 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4896 for i*86 Linux and SVR4 signal handling problems.
4897 Remove linux xfail for `next to handler in signals_tests_1', fixed
4898 by recent infrun.c change.
c906108c 4899 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4900 stack backtraces.
c906108c
SS
4901 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4902 target.[ch] change.
4903
4904Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4905
4906 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4907 for a newline from gdb before continuing.
4908 (default_gdb_exit): Just look for y or n.
4909 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4910 it does, fail the rests of the tests in the file.
4911
4912Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4913
4914 * config/cygmon.exp: New file.
4915
4916Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4917
4918 * gdb.base/list.exp: Fix problem with "list default lines around
4919 main" test on remote targets.
4920
4921 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4922 run test on remote targets.
4923
4924Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4925
4926 * gdb.asm: New directory.
4927 * configure.in: Configure it.
4928 * configure: Regenerate.
4929 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4930 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4931
4932Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4933
4934 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4935
dc96c6c7 4936Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4937
c906108c
SS
4938 * gdb.base/overlays (several files): Merge the two overlay
4939 managers into one. Change variables (foox, barx, bazx, grbxx)
4940 back into ints but force them to load in their proper sections.
4941
4942Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4943
4944 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4945 on-chip insn memory and IMAP1 to upper 128k.
4946 (D10VCopy): Handle memory regions crossing 16k boundaries.
4947 (D10VCopy): Transfer data in 32 bit chunks.
4948
4949Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4950
4951 * gdb.base/overlays.c (main): Exit normally when result is
4952 correct.
4953
4954 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4955 map. Include space for printf in .text segment.
4956
4957 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4958 updated d10v memory VMA/LMA map.
4959 (D10VCopy): Call D10VTranslate.
beb998c6 4960
c906108c
SS
4961Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4962
4963 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4964
4965 * gdb.base/bar.c (barx, bar): Change variable to small array so
4966 that it won't be put into the .sdata - small data -
4967 section. Update reference.
4968 * gdb.base/baz.c (bazx, baz): Ditto.
4969 * gdb.base/foo.c (foox, foo): Ditto.
4970 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4971
4972 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4973 to be arrays.
beb998c6 4974
dc96c6c7 4975Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4976
c906108c
SS
4977 * gdb.base/overlays.exp: fix up and get working again.
4978 Add tests for backtraces from an overlay function.
beb998c6 4979
c906108c
SS
4980Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4981
4982 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4983 "calling function with watchpoint enabled".
4984
4985Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4986
4987 * gdb.base/break.exp (test_next_with_recursion): Remove
4988 gdb_suppress_tests for d10v-*-*.
4989 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4990 pending review of whether it is useful or not.
4991
4992Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4993
4994 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4995
4996Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4997
4998 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4999 * config/dve.exp: New file to support Densan boards.
5000
5001Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5002
5003 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5004 reads and BSD.
5005
5006Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5007
5008 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5009 response.
5010
5011 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5012
5013Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5014
5015 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5016 test.
5017
5018 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5019 target_sizeof_long and target_bigendian_p.
5020 (structs_by_value, structs_by_reference): Check values according
5021 to targets word size and endianess.
beb998c6 5022
c906108c
SS
5023Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5024
5025 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5026 output.
5027
5028Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5029
5030 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5031 Update test of set args help to match source change.
5032
5033Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5034
5035 * gdb.base/default.exp: Expect help system output to be in
5036 alphabetical order.
5037 * gdb.base/help.exp: Ditto.
5038
5039Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5040
5041 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5042 "i*86-pc-linux-gnu*".
5043 * gdb.base/interrupt.exp: Ditto.
5044 * gdb.base/corefile.exp: Ditto.
5045
5046 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5047 define vxworks when building the testcase.
5048
5049 * gdb.base/ptype.exp: Fix testnames to be unique.
5050 * gdb.base/radix.exp: Ditto.
5051 * gdb.base/term.exp: Ditto.
5052 * gdb.base/whatis.exp: Ditto.
5053 * gdb.c++/classes.exp: Ditto.
5054
5055Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5056
5057 * gdb.base/callfuncs.exp: Fix indentation.
5058
5059 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5060 suppress_flag has been set.
5061 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5062 target feature.
5063
5064Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5065
5066 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5067 the testcase.
5068
5069 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5070 set_debug_traps() and breakpoint().
5071 * gdb.c++/misc.cc (main): Ditto.
5072 * gdb.c++/templates.cc (main): Ditto.
5073 * gdb.c++/virtfunc.cc (main): Ditto.
5074
5075Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5076
5077 * lib/gdb.exp(gdb_step_for_stub): New function.
5078 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5079 exists, reload the executable and do a "continue" instead of
5080 doing a jump.
5081 (runto_main): Use gdb_step_for_stub.
beb998c6 5082
c906108c
SS
5083 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5084 tests to have unique names.
5085 * gdb.base/callfuncs.exp: Ditto.
5086 * gdb.base/commands.exp: Ditto.
5087 * gdb.base/default.exp: Ditto.
5088 * gdb.base/help.exp: Ditto.
5089 * gdb.base/list.exp: Ditto.
5090 * gdb.base/opaque.exp: Ditto.
5091 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5092 similar tests.
beb998c6 5093
c906108c
SS
5094 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5095 * gdb.c++/cplusfuncs.cc: Ditto.
5096 * gdb.c++/virtfunc.cc: Ditto.
5097
5098 * config/monitor.exp: Keep track of the last file we saw, rather
5099 than trying to get the info from gdb.
5100
5101 * gdb.fortran/types.exp: Move comment to previous line.
5102
5103Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5104
5105 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5106 target mode.
5107
5108Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5109
5110 From Bob Manson:
5111 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5112 string from GDB when it connects.
5113
5114 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5115
5116Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5117
5118 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5119 if we can't get a debug format from GDB (we may be testing an
5120 older GDB). Use a 10 second timeout when checking for the format.
5121
5122 * gdb.stabs/weird.exp: Fix quoting.
5123
5124 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5125
5126Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5127
5128 * config/arm-ice.exp: New file.
5129
5130Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5131
5132 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5133 until it has been modified to work with the new testsuite.
5134
99707966 5135 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5136 testcase won't compile, cause all of the testcases in the file to
5137 fail instead.
5138
5139 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5140 (gdb_clear_suppressed): New procedure.
5141 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5142 it contains a positive value.
5143
5144Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5145
5146 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5147
5148 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5149
5150Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5151
5152 * lib/gdb.exp (setup_xfail_format): New function.
5153 (get_debug_format): New function to get debug format.
5154 (debug_format): New global variable to hold last value set
5155 by get_debug_format.
5156 * gdb.base/list.exp: Call get_debug_format and expect some
5157 tests to fail for DWARF 1 and COFF formats.
5158 * gdb.c++/ptype.exp: Ditto.
5159 * gdb.c++/classes.exp: Ditto.
5160 * gdb.c++/cplusfuncs.exp: Ditto.
5161 * gdb.c++/inherit.exp: Ditto.
5162 * gdb.c++/templates.exp: Ditto.
5163 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5164
c906108c
SS
5165Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5166
5167 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5168 host doesn't have a currently-open connection.
5169
5170 * config/sparclet.exp: Cleanups and fixes to make it generic for
5171 any gdb stub target. Handle cases where gdb doesn't respond when
5172 interrupted in a sane fashion.
5173
5174 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5175 same thing in a totally different way.
5176
5177 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5178 setting "timeout".
5179 (gdb_start): We set the global gdb_prompt variable in
5180 default_gdb_init now.
5181
5182Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5183
5184 * gdb.base/printcmds.exp: Fix "check for floating addition"
5185 regexp to accept results within approx +/- .01 of exact value.
5186 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5187
5188Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5189
5190 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5191 properly.
5192 (gdb_expect): Add optional timeout parameter, and add timeout
5193 value to various calls.
5194 (gdb_suppress_tests): Only give one warning message per group.
5195
5196Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5197
5198 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5199 global variables. Handle getting a value for $timeout more
5200 gracefully.
5201
5202Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5203
5204 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5205 initialize.
5206 (default_gdb_init): New procedure; allow gdb_init to be overridden
5207 by a target configuration file.
5208 (gdb_expect): Pass the timeout to remote_expect.
5209
5210 * config/monitor.exp(gdb_load): Fix typo in regexp.
5211
5212Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5213
5214 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5215
5216Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5217
5218 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5219 here. Call gdb_target_exec before rebooting the target, to make
5220 sure the connection to the target is closed.
5221 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5222 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5223 Also detect "Timeout reading from remote" error.
5224
5225 * config/gdbserver.exp: Pass the executable being loaded to
5226 gdb_target_monitor. Don't call gdb_file_cmd here; let
5227 gdb_target_monitor do it.
5228
5229 * gdb.disasm/hppa.exp: Don't use exec_output.
5230
5231Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5232
5233 * gdb.base/list.exp: If we're debugging a non-native target,
5234 try to set the pc register to point to the start of the
5235 program before doing the first list command.
5236
5237 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5238 test_calls after restarting.
5239
5240 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5241 reloading.
5242
5243 * gdb.base/watchpoint.exp: Fix typo.
5244
5245 * gdb.base/setshow.exp: Check for use_gdb_stub.
5246
5247 * gdb.base/break.exp: Fix continue until exit test for the gdb
5248 stub case.
5249 * gdb.base/langs.exp: Ditto.
5250
5251 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5252 gdb_load_offset. If we weren't given a file to load, figure out
5253 what the current file is and use it.
5254
5255 * config/i386-bozo.exp: New file.
5256
5257Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5258
5259 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5260 feature.
5261
5262 * config/proelf.exp: New entry.
5263
5264Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5265
5266 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5267 of regexps.
5268
5269 * gdb.base/watchpoint.exp: Don't run the test_stepping
5270 tests if gdb can't call functions on the target.
5271
5272 * gdb.base/setshow.exp: Don't run the set prompt tests if
5273 the board has gdb_prompt set.
5274
5275Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5276
5277 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5278 * gdb.base/commands.exp: Likewise.
5279 * gdb.base/setshow.exp: Likewise.
5280
5281Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5282
5283 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5284 feature.
5285
5286 * config/i960.exp: New file.
5287
5288Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5289
5290 * gdb.base/funcargs.exp: Check for gdb,short_int target
5291 feature instead of looking for explicit target triplets.
5292
dc96c6c7 5293Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5294
beb998c6 5295 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5296 "p 123DEADBEEF", to check parse_number.
5297 * top.c: change "to enable to enable" to "to enable" in a couple
5298 of help strings.
5299
5300Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5301
5302 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5303 on the mn10300.
beb998c6 5304
c906108c
SS
5305Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5306
5307 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5308 where the test executable is run with explicit args.
5309 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5310
5311Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5312
5313 * gdb.base/run.c: Use FAKEARGV to build test executable that
5314 does not require a command line arg, since most simulators
5315 don't currently support passing such an arg into the simulated
5316 program.
5317 * gdb.base/commands.exp: Change tests to insert the proper
5318 value as the arg to the first recursive factorial call. Change
5319 compilation line to define FAKEARGV at compile time.
5320
5321Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5322
5323 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5324 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5325 function with watchpoint enabled" test.
5326
5327Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5328
5329 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5330 Don't call gdb_test when the command doesn't return to a gdb prompt.
5331
5332 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5333 "Tests restarted" messages.
5334
5335Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5336
5337 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5338
dc96c6c7 5339Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5340
5341 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5342 for INFO SYMBOL; add help tests for OVERLAY commands.
5343 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5344 add tests for OVERLAY commands
5345 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5346 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5347 * gdb.base/sigall.c: add usestubs code frag
5348 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5349
c906108c
SS
5350Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5351
5352 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5353 failures.
5354 (gdb_stop_suppressing_tests): Note that tests have restarted.
5355
5356Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5357
5358 * config/h8300.exp: New file.
5359
5360Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5361
5362 * gdb.base/setshow.exp: Check for the existence of a
5363 feature, not its value.
5364
5365Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5366
5367 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5368
5369 * gdb.base/scope.exp: It's now init0(), not init().
5370
5371 * gdb.base/scope0.c: For now, change init() to be init0().
5372
5373 * config/monitor.exp: Use gdb_serial in preference to serial
5374 or netport.
5375
5376 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5377 and it's not already set.
5378
5379Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5380
5381 * gdb.base/setshow.exp: Only test the run command if the target
5382 isn't using a stub and if it supports argument passing.
5383
5384Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5385
5386 * config/udi.exp(gdb_start): Make sure UDICONF is set
5387 properly before starting gdb.
5388
5389Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5390
5391 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5392 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5393 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5394
5395Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5396
5397 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5398 specialized code to reboot the board, use remote_reboot instead.
5399
5400 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5401
5402 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5403
5404 * config/monitor.exp: Make sure we disconnect from the target.
5405 Also, try a reboot/reload cycle instead of failing if the
5406 load fails.
5407
5408Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5409
5410 * gdb.base/default.exp: Don't set match_max.
5411 * gdb.base/help.exp: Ditto.
5412 * gdb.base/list.exp: Ditto.
5413 * gdb.base/signals.exp: Ditto.
5414
5415 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5416 set, use remote_ld to download the testcase instead of
5417 the GDB loader.
5418
5419Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5420
5421 * config/vr5000.exp: New file.
5422
5423 * config/monitor.exp(gdb_target_monitor): Add pattern for
5424 "Ending remote" to detect errors in connecting.
5425
5426 * gdb.base/setshow.exp: Add .* within auto language test.
5427
5428 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5429 target feature.
5430
5431 * config/monitor.exp(gdb_load): Check for a failure when loading,
5432 and reboot the board if necessary.
5433
5434 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5435 a set of tests. Remove print.* from the patterns being checked.
5436
5437Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5438
5439 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5440 refer to gdb_spawn_id.
5441
5442 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5443 longer used.
5444 * config/sparclet.exp: Ditto.
5445 * config/sparclet-old.exp: Ditto.
5446 * config/slite.exp: Ditto.
5447 * config/sim.exp: Ditto.
5448 * gdb.base/funcargs.exp: Ditto.
5449
5450 * lib/gdb.exp:Remove references to gdb_spawn_id.
5451 (gdb_expect): Move to remote.exp.
5452
5453Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5454
5455 * config/monitor.exp: Detect the "Couldn't establish connection"
5456 message from GDB.
5457
5458Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5459
5460 * gdb.base/bitfields.exp: Use runto instead of explicit
5461 gdb_run_cmd/gdb_expect sequences.
5462
5463 * gdb.base/break.exp(text_next_with_recursion): Add match for
5464 gdb_expect call.
5465
5466 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5467 We also need to handle the "A program is being debugged already"
5468 prompt from gdb. Use gdb_test to set the baud rate.
5469
5470 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5471 to 20000. Really. I mean it.
5472
5473Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5474
5475 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5476 fails. If suppress_flag is set, skip perror message about not
5477 being able to send to GDB.
5478 (send_gdb): If suppress_flag is set, don't try to send commands to
5479 GDB.
5480 (gdb_expect): If suppress_flag is set, always fail immediately.
5481 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5482 (gdb_init): Call gdb_stop_suppressing_tests.
5483 (default_gdb_exit): Ditto.
5484 (default_gdb_start): Ditto.
5485
5486 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5487 gdb_stop_suppressing_tests as appropriate.
5488 * gdb.base/break.exp: Ditto.
5489 * gdb.base/callfuncs.exp: Ditto.
5490 * gdb.base/commands.exp: Ditto.
5491 * gdb.base/exprs.exp: Ditto.
5492 * gdb.base/funcargs.exp: Ditto.
5493 * gdb.base/list.exp: Ditto.
5494 * gdb.base/recurse.exp: Ditto.
5495 * gdb.base/scope.exp: Ditto.
5496 * gdb.base/structs.exp: Ditto.
5497 * gdb.c++/inherit.exp: Ditto.
5498
5499Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5500
5501 * config/vr4300.exp: New file.
5502
99707966
MC
5503 * gdb.*/*.exp: Call gdb_expect instead of expect.
5504
5505 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5506
5507Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5508
5509 * lib/gdb.exp(gdb_init): New function.
5510
5511 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5512 for each individual variable set.
5513
5514 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5515 name.
5516
5517 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5518
5519 * gdb.base/scope.exp: Use gdb_test.
5520
5521 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5522 aborting; the testsuite driver will do that for us (see
5523 gdb_finish). Also, use gdb_test in a few more places.
5524
5525Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5526
5527 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5528
5529Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5530
5531 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5532 and "add_tests" are not at the same address.
5533
5534Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5535
5536 * gdb.base/ptype.exp: Use gdb_test.
5537
5538Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5539
5540 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5541 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5542 left in. No longer expect them to fail.
5543
5544 * gdb.stabs/*.mt; Deleted, no longer used.
5545 * gdb.stabs/configure.in: Remove references to target makefile
5546 frags.
5547 * gdb.stabs/configure: Rebuilt.
5548
5549 * gdb.disasm/*.mt: Deleted, no longer used.
5550 * gdb.disasm/configure.in: Remove references to target makefile
5551 frags. Use "sh3.s" as the unique filename for this directory.
5552 * gdb.disasm/configure: Rebuilt.
5553
5554 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5555 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5556 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5557
5558Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5559
5560 * config/udi.exp: Use mondfe,name instead of remote_host.
5561
5562Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5563
5564 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5565 a function with a watchpoint enabled on the mn10200.
5566
5567 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5568 before trying to create it!
5569
5570Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5571
5572 * config/vx.exp: Use hostname instead of netport.
5573
5574 * config/vxworks.exp: New file.
5575
5576 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5577
5578 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5579 gdb before assuming everything worked. Send a ^C if a timeout
5580 occurs.
5581
5582 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5583 $gdb_spawn_id directly.
5584 (gdb_run_cmd): Try _start as well as start. Use the target feature
5585 gdb,start_symbol as the symbol to start from when jumping.
5586
5587Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5588
5589 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5590 redundant) test.
5591
5592 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5593 it doesn't lose for 16bit integer systems.
5594
5595Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5596
5597 * gdb.fortran/types.exp: If the target doesn't support "double"
5598 data types, then expect "real" types to only be 4 bytes.
5599
5600 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5601 call tests if the target doesn't support inferior function calls.
5602
5603 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5604 in printf tests.
5605
5606Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5607
5608 * gdb.base/help.exp: Disable "help set", "help show", and
5609 "help support". Simplify regexp for "help stack".
5610
5611 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5612 to 60 seconds. Temporarily set match_max to 15000 around the
5613 "info copying" test.
5614
5615 * gdb.base/nodebug.exp: Don't try to do an inferior function
5616 call if the target doesn't support them.
5617 * gdb.base/printcmds.exp: Likewise.
5618 * gdb.base/setvar.exp: Likewise.
5619 * gdb.base/structs.exp: Likewise.
5620 * gdb.c++/templates.exp: Likewise.
5621 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5622
5623 * gdb.base/recurse.exp: Enable for the mn10200.
5624
5625 * configure.in: Do configure gdb.stabs directory for *-*-elf
5626 targets.
5627 * configure: Rebuilt.
5628
5629 * gdb.base/break.exp: Check for gdb,noresults before testing
5630 exit status and/or results from the target.
5631 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5632 * lib/gdb.exp: Remove old (now bogus) initialization of
5633 noinferior, noargs, noresults and nosignals.
5634
5635Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5636
5637 * config/sh.exp: New file.
5638
5639 * config/slite.exp: Try to connect multiple times to the board
5640 before rebooting. Only send a "monitor run" if need_monitor_run
5641 is set.
5642
5643 * gdb.base/break.exp: Don't do the "stub continue" test if
5644 the target has gdb_stub set.
5645
5646 * gdb.base/callfuncs.exp: Increase the timeout.
5647
5648 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5649 if the target has gdb,noinferiorio set.
5650
5651 * gdb.base/list.exp: Increase match_max to 10000 characters.
5652
5653 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5654
5655 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5656 target.
5657
5658 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5659
5660Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5661
5662 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5663 trying to delete the copy of gdb. Catch the file delete so we
5664 don't die if the delete fails; also, the file should be copied to
5665 the host, not to the build.
5666
5667Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5668
5669 * lib/gdb.exp(gdb_test): Surround the result pattern with
5670 parenthesis in case it contains multiple regexps separated
5671 with |.
5672
5673 * gdb.base/watchpoint.exp: Use gdb_test.
5674 * gdb.base/default.exp: Ditto.
5675
5676Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5677
99707966 5678 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5679
c906108c
SS
5680 * gdb.base/scope.exp: Use gdb_test.
5681 * gdb.c++/classes.exp: Ditto.
5682 * gdb.c++/inherit.exp: Ditto.
5683
5684Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5685
5686 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5687 remote_exec instead.
5688 * gdb.base/corefile.exp: Don't be ridiculous.
5689 * gdb.base/*.c: Add missing stub invocations.
5690
5691Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5692
5693 * config/slite.exp: Miscellaneous fixes.
5694
5695 * lib/gdb.exp: Fix runto.
5696
5697 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5698 the target.
5699
5700 * gdb.base/watchpoint.exp: Fix regexp.
5701
5702 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5703 close and wait commands, as the descriptor may now be
5704 invalid. Always call "remote_close host".
5705
5706Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5707
5708 Major rewrite for testsuite revision.
beb998c6 5709
c906108c
SS
5710 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5711 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5712 instead of relying on spawn_id to always contain a valid
5713 spawn id.
5714 (get_compiler_info): New procedure to build the ${binfile}.ci
5715 file, instead of replicating this in N different places.
5716 (gdb_compile): New procedure.
beb998c6 5717
c906108c
SS
5718 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5719 appropriate arguments) instead of compile. Use gdb_test in a lot
5720 more places. Use send_gdb instead of send. Always run gdb_start
5721 at the start of a testcase, as this is no longer done magically.
5722
5723 config/*-gdb.exp: Rename without the -gdb suffix.
5724
5725 config/mips.exp: Use remote_close instead of exit_remote_shell.
5726 config/monitor.exp: Use target_info instead of looking at
5727 baud, timeout, etc.
5728 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5729
5730Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5731
5732 * gdb.c++/templates.exp (test_ptype_of_templates),
5733 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5734 Update expect patterns for destructors and assignment operators
5735 to match corresponding c-typeprint.c changes.
5736 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5737 to destructor breakpoint test, GDB should be able to set the
5738 destructor breakpoint without specifying arguments.
5739
5740Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5741
5742 * gdb.threads/pthreads.exp: Change result for failure to compile due
5743 to lack of pthreads runtime support from an error to simply an
5744 unsupported test, per dejagnu standards.
5745
5746Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5747
5748 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5749 where GDB exits to reduce pattern match time.
5750 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5751
5752 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5753
dc96c6c7 5754Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5755
5756 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5757 * gdb.base/default.exp: ditto.
5758 * gdb.base/nodebug.exp: ditto.
5759 * gdb.base/printcmds.exp: ditto.
5760 * gdb.base/ptype.exp: ditto.
5761 * gdb.base/setvar.exp: ditto.
5762 * gdb.base/structs.exp: ditto.
5763 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5764
5765Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5766
5767 * configure, */configure: Rebuild with autoconf 2.12.
5768
5769Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5770
5771 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5772 use new i*86-pc-linux*-gnu quads.
5773 * gdb.base/corefile.exp: Ditto.
5774 * gdb.base/signals.exp: Ditto.
5775 * gdb.base/sigall.exp: Ditto.
5776 * gdb.base/interrupt.exp: Ditto.
5777
5778 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5779 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5780 RedHat 4.0.
beb998c6 5781
c906108c
SS
5782 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5783 linux. This allows the test case to at least compile on latest
5784 linux, but still not run due to missing the threads runtime library.
5785
5786Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5787
5788 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5789 directory to search gdb directory. Accept and step over conditional
5790 stack alignment code. Consume $prompt in failure cases.
5791 Reset timeout to $oldtimeout instead of some arbitrary value.
5792 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5793 timeout problems with infinite stack backtraces.
5794 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5795 Accept function parameters for linkfunc member.
5796
5797Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5798
5799 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5800 (CXXFLAGS): Remove, unreferenced.
5801 (B_OPTIONS): Add for -B options and add code to initialize with
5802 previous -B options and also add -B option to pick up cross compiled
5803 runtime.
5804 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5805 doing cross compiles.
5806 (target_alias): Declare global.
5807 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5808 to verify that gcc exists in build tree, and if so set CC to that
5809 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5810
c906108c
SS
5811Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5812
5813 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5814 ptype test for anonymous union. Fixup testcase to match
5815 current gcc debug output.
5816
5817Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5818
5819 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5820 force argument to an unsigned long type.
5821
5822Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5823
5824 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5825 tests and anonymous union print/ptype tests.
5826 * gdb.base/list.exp (test_forward-search): Increase timeout by
5827 5 minutes for the "search extremely long line" case.
5828 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5829 completely optional and that the pass/fail messages use the command as
5830 the message if that third arg is a null string.
5831 (gdb_test_exact): Arrange that a null string pattern means match a
5832 null string output rather than any output, which might include random
5833 errors.
5834 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5835 backtrace test.
5836 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5837 always failing and failure is now exposed by gdb.exp changes.
5838
5839Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5840
5841 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5842 weren't being noted.
5843
5844Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5845
5846 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5847 * gdb.stabs/weird.exp: Remove v_comb xfails.
5848
dc96c6c7 5849Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5850
5851 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5852 list.exp scope.exp watchpoint.exp]
5853 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5854
dc96c6c7 5855Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5856
5857 * config/monitor.exp: Increase download timeout to 1000 seconds.
5858
dc96c6c7 5859Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5860
5861 * config/m32r.exp: Increase timeout to 120 seconds.
5862
5863Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5864
5865 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5866 and accept older ordering as obsolescent gcc or gdb.
5867 * gdb.c++/templates.exp: Ditto.
5868 * gdb.c++/virtfunc.exp: Ditto.
5869
5870Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5871
5872 * gdb.base/coremaker.c: Add code to mmap some data so we
5873 can check that it ends up in the core file.
5874 * gdb.base/corefile.exp: Add test to read mmapped data
5875 from core file.
5876
dc96c6c7 5877Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5878
5879 * config/m32r.exp: New file.
5880
5881Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5882
5883 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5884 that cflags can contains -gstabs, and work correctly for other tests.
5885
dc96c6c7 5886Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5887
5888 * gdb.base/setshow.exp: New file, tests show and set.
5889 * gdb.base/setshow.c: New file, tests show and set.
5890 * gdb.base/help.exp: Add test for help set|show annotate.
5891 * gdb.base/default.exp: Add test for set|show annotate.
5892
5893Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5894
5895 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5896 errors unique.
5897 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5898 explicitly.
5899
5900Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5901
5902 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5903 and width commands. This is done elsewhere.
5904 * (gdb_start): Don't call gdb_start_sim here. That's already
5905 done in gdb_load. This fixes lots of failures in default.exp.
5906
5907Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5908
5909 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5910 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5911 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5912 in the same we we treat other failures (since it may be an expected
5913 condition), rather than as an error.
5914 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5915 old test format.
5916
5917Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5918
5919 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5920 (distclean maintainer-clean realclean): No need to remove files
5921 twice. Nuke the duplicates.
5922 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5923 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5924 Remove config.h along with other config files.
5925
5926Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5927
5928 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5929 "p func1 ()" and note that rests of tests are skipped.
5930 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5931 setup_xfails for "print func2::coremaker_local".
5932 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5933 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5934 affected by the previous run test.
5935 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5936 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5937 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5938 "pass int powerset tuple" and "pass modeless int powerset tuple".
5939 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5940 "real write 4" and "real write 8".
5941 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5942 setup_xfails for "print vs1 after tuple assign 2",
5943 "print \$i after tuple assign 2", and
5944 "print vs2 after tuple assign 2".
5945 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5946 meaningful error message and return -1 so the caller can
5947 suppress further tests and avoid a cascade of errors.
beb998c6 5948
c906108c
SS
5949Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5950
5951 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5952 format for printing version.
5953 * gdb.base/default.exp: Ditto.
5954 * gdb.base/interrupt.exp: Fix problem with cascade of
5955 errors if child process dies while calling a function.
beb998c6 5956
c906108c
SS
5957Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5958
5959 * Makefile.in (VPATH): Add
5960 * Makefile.in (Makefile, config.status): Fix rules so things get
5961 remade when necessary.
5962
5963Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5964
5965 * Makefile.in (just-check): Add path to sibling expect dir
5966 to environment variable specified by RPATH_ENVVAR.
5967
5968Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5969
5970 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5971 (just-check): Add shared library paths for libstdc++, tk,
5972 tcl, bfd, and opcodes to the environment variable specified
5973 in RPATH_ENVVAR.
5974 * configure.in: Add support to recognize --enable-shared flag
5975 and generate correct value for RPATH_ENVVAR.
5976 * configure: Regenerated with autoconf.
5977
5978Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5979
5980 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5981 include all osf versions.
5982 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5983 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5984 when target is linux. When failing to build pthreads test
5985 executable, give more meaningful message.
5986 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5987 arg for pthread_create.
beb998c6 5988
c906108c
SS
5989Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5990
5991 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5992 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5993 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5994 and -lpthreads (everybody else).
5995 (test_startup): Fail gracefully if threads are not supported.
5996 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5997 "p/c array_index("abcdef",2)" when not gcc compiled.
5998 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5999 "print func2::coremaker_local" when not gcc compiled.
6000 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6001 "ptype on opaque struct tagname (statically)",
6002 "ptype on opaque struct tagname (dynamically) 1", and
6003 "ptype on opaque struct tagname (dynamically) 2"
6004 for not compiled with gcc.
6005 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6006 backtrace when compiled with gcc.
beb998c6 6007 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6008 than always return success.
6009
6010Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6011
6012 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6013
6014Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6015
6016 * gdb.base/structs.exp: Undo last change.
6017
6018Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6019
6020 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6021 encapsulate all the steps/nexts done during self test, starting
6022 at main, and makes them less sensitive to optimization issues.
6023 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6024 signal handler" test.
6025 * gdb.threads/pthreads.exp: Only run this for native configs.
6026 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6027 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6028 tests.
6029 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6030 for "runto test_calls(void)" test.
beb998c6 6031
c906108c
SS
6032Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6033
6034 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6035 and don't expect address info in breakpoint confirmations.
6036
6037Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6038
6039 * gdb.base/list.exp (test_forward_search): Increase timeout
6040 temporarily by 60 seconds for searching extremely long line,
6041 and then reset to old value when done. Increase expect input
6042 buffer to 10000.
6043
6044Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6045
6046 * gdb.base/list.exp (test_forward_search): Fix to handle very
6047 long source line without overflowing expect's input buffer.
6048
6049Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6050
6051 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6052 "buffer_full".
6053
6054 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6055 "buffer_full".
6056
6057 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6058 "buffer_full".
6059
6060 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6061 "buffer_full".
6062
6063Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6064
6065 * configure.in (configdirs): Add gdb.threads.
6066 * configure: Regenerated with autoconf.
6067 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6068 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6069 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6070
c906108c
SS
6071Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6072
6073 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6074
6075Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6076
6077 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6078 each signal's status in the output of "handle all print".
6079 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6080 the \r\n sequence that immediately precedes the gdb prompt.
6081 * gdb.base/a1-selftest.exp: Save original timeout and restore
6082 after test.
6083
6084Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6085
6086 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6087 symbol.
6088
6089Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6090
6091 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6092
6093Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6094
6095 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6096 timeout by 60 seconds.
6097
6098Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6099
6100 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6101 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6102 error return.
6103
6104Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6105
6106 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6107 gdb initialization, also report how long dejagnu waited. Restore
6108 old timeout before doing error return. Temporarily increase timeout
6109 by 3 minutes to allow for slow startups over heavy NFS use.
6110
6111Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6112
6113 * lib/gdb.exp: Report timeout value for verbosity level 2.
6114 * config/gdbserver.exp: Ditto.
6115 * config/hppro.exp: Ditto.
6116 * config/mips-gdb.exp: Ditto.
6117 * config/monitor.exp: Ditto.
6118 * config/netware.exp: Ditto.
6119 * config/sim-gdb.exp: Ditto.
6120 * config/slite-gdb.exp: Ditto.
6121 * config/udi-gdb.exp: Ditto.
6122 * config/unix-gdb.exp: Ditto.
6123 * config/vx-gdb.exp: Ditto.
6124 * gdb.base/a1-selftest.exp: Ditto.
6125 * gdb.base/a2-run.exp: Ditto.
6126 * gdb.base/break.exp: Ditto.
6127 * gdb.base/corefile.exp: Ditto.
6128 * gdb.base/list.exp: Ditto.
6129 * gdb.base/recurse.exp: Ditto.
6130 * gdb.base/scope.exp: Ditto.
6131 * gdb.base/signals.exp: Ditto.
6132
6133Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6134
6135 * gdb.threads/Makefile.in (docdir): Removed.
6136
6137Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6138
6139 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6140 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6141 @srcdir@.
beb998c6 6142 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6143 autoconf 2.5 or higher.
6144 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6145
6146Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6147
6148 * configure: Regenerated.
6149 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6150 avoid name clashes with SunOS headers.
6151
6152Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6153
6154 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6155
6156Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6157
6158 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6159 prototype information ends up in the compiler info file.
6160
6161Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6162
6163 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6164 attempting to regenerate it. Eliminate use of a temporary file
6165 and just generate the info file directly. Source it immediately,
6166 for consistency of use.
6167 * gdb.base/corefile.exp: Ditto
6168 * gdb.base/exprs.exp: Ditto.
6169 * gdb.base/funcargs.exp: Ditto.
6170 * gdb.base/langs.exp: Ditto.
6171 * gdb.base/list.exp: Ditto.
6172 * gdb.base/mips_pro.exp: Ditto.
6173 * gdb.base/nodebug.exp: Ditto.
6174 * gdb.base/opaque.exp: Ditto.
6175 * gdb.base/ptype.exp: Ditto.
6176 * gdb.base/scope.exp: Ditto.
6177 * gdb.base/setvar.exp: Ditto.
6178 * gdb.base/signals.exp: Ditto.
6179 * gdb.base/whatis.exp: Ditto.
6180 * gdb.c++/templates.exp: Ditto.
6181 * gdb.c++/virtfunc.exp: Ditto.
6182 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6183 whether or not to add -lstdc++ to the compile command line args.
6184
6185Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6186
6187 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6188 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6189 Increase timeout, a lot of single stepping might be needed if the
6190 target has no hardware watchpoints.
6191
6192Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6193
6194 * gdb.base/break.exp: Ignore compiler warnings when compiling
6195 break.c.
6196 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6197 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6198 from remote-sim.
6199 * gdb.base/exprs.exp: Add h8300 xfails.
6200 * gdb.base/funcargs.exp: Likewise.
6201 * gdb.base/nodebug.exp: Likewise.
6202 * gdb.base/printcmds.exp: Likewise.
6203 * gdb.base/ptype.exp: Likewise.
6204 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6205 h8300 xfails.
beb998c6 6206 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6207 on the h8300.
6208 * gdb.base/funcargs.c: Explicitly make last constant argument to
6209 call_after_alloca_subr an unsigned long type.
6210 * gdb.base/return.c: Include stdio.h.
6211
6212Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6213
6214 * config/abug.exp: New file for the older Motorola Bug monitor
6215 that runs on the mvme13x series VME boards.
6216 * config/monitor.exp: Use the new config array for target settings
6217 if they exist.
6218
6219Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6220
6221 * sim-gdb.exp: Make the SH simulator allocate less space when
6222 it is targeted.
6223
6224Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6225
6226 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6227 test.
6228
6229Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6230
6231 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6232 "rs6000-*-*" for "list function in include file" when gcc compiled.
6233 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6234 for "p ctable1[120]".
6235 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6236 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6237 Remove setup_xfail for "rs6000-*-*" for
6238 "print 'scope0.c'::filelocal before run".
6239 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6240 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6241 since some compilers don't allow both options to be given
6242 on the same command line. Create object file and move it.
beb998c6 6243
c906108c
SS
6244Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6245
6246 * gdb.base/corefile.exp: Always regenerate the core file, since
6247 we always regenerate the coremaker program. Detect special case
6248 where registers cannot be read from core file.
beb998c6 6249
c906108c
SS
6250Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6251
6252 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6253 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6254 * gdb.c++/templates.exp: Only match on basename of file since
6255 some formats like xcoff don't encode directory information.
6256 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6257 and rs6000 AIX xcoff targets.
6258 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6259 * configure: Regenerate.
6260 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6261 here, rather than in distclean.
beb998c6 6262
c906108c
SS
6263Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6264
6265 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6266 defined, and use it to compile the test case with -O2. The
6267 native compilation still uses no optimization.
6268 * gdb.base/mips_pro.c: Remove inline assembly code since
6269 it is compiled PIC by default, which results in assembler
6270 warnings that make the testsuite think the compilation
6271 was unsuccessful.
6272
6273Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6274
6275 * gdb.c++/misc.exp: Add note to message for
6276 "print s.a for foo struct" that this is a known gcc 2.7.2
6277 and earlier bug.
6278
6279Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6280
6281 * gdb.base/break.exp: Fix pattern for matching "Delete all
6282 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6283 setup_xfail for deleting all breakpoints test. Fix various
6284 timeout messages to include "(timeout)".
6285 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6286 for "p t_float_values2(3.14159,float_val2)".
6287 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6288 for "continue to call2g" when gcc compiled.
6289 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6290 "up to foo in langs.exp", "show language at foo in langs.exp",
6291 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6292 and "show language at fsub in langs.exp".
6293 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6294 "list line 1 in include file", "list message for lines past EOF",
6295 "list function in include file", "list list0.h:foo", and
6296 "list filename:function; nonexistant function".
6297 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6298 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6299 and "ptype t_char_array" to be for native cc only.
beb998c6 6300
c906108c
SS
6301Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6302
beb998c6 6303 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6304 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6305 "print func2::coremaker_local", and "backtrace in corefile.exp".
6306
6307Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6308
6309 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6310 "bt in signals.exp". This problem only appears when running
6311 the testsuite, and then only intermittently.
6312
6313Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6314
6315 * gdb.base/return.exp (return_tests): Differentiate between
6316 two tests of continuing.
6317
6318Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6319
6320 * */Makefile.in (maintainer-clean): Remove config.log.
6321 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6322 * gdb.c++/Makefile.in (PROGS): Add inherit.
6323 (clean): Remove *.ci.
6324
6325Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6326
6327 * gdb.c++/misc.cc: Add test code from Mike Stump.
6328 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6329
6330Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6331
6332 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6333 to "alpha-*-osf2*" and add comment.
6334 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6335 setup_xfail for "step over execarg initialization" and
6336 "step over corearg initialization".
6337 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6338 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6339 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6340 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6341 "print func2::coremaker_local", and "backtrace in corefile.exp".
6342 * gdb.base/signals.exp: Build and source signals.ci.
6343 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6344 to be for gcc only.
6345 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6346
c906108c
SS
6347Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6348
6349 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6350 Feb 3 procfs.c change.
6351
6352Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6353
6354 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6355
6356Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6357
6358 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6359 from dejagnu's apparent default of 10 seconds, which gives random
6360 results when running the tests over NFS on moderately loaded systems.
6361 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6362
6363Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6364
6365 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6366 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6367 result reports.
6368
6369Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6370
6371 * configure.in (CY_AC_PATH_TCLH): Remove.
6372 * configure: Regenerate.
6373
6374Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6375
6376 * gdb.c++/Makefile.in (clean): Add missing '{'.
6377
6378Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6379
6380 * lib/gdb.exp: Provide a default value for noinferior.
6381
6382 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6383 Load libgloss.exp.
6384
6385Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6386
6387 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6388 the executable, not the .o to run the tests from.
6389
6390Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6391
6392 * gdb.base/break.exp: Don't test for program exit or exit status
6393 if $noresults if nonzero.
6394 * gdb.base/langs.exp: Likewise.
6395 * gdb.base/watchpoint.exp: Likewise.
6396
6397 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6398 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6399 trying to compile the testcase.
6400
6401Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6402
6403 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6404 * gdb.base/signals.exp (continue to handler): Likewise.
6405
6406Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6407
6408 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6409
6410 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6411
6412Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6413
6414 * gdb.base/corefile.exp: Recognize "not found" as failure
6415 when trying to determine if a core file was generated.
6416 If no core file was generate the first time, try again without
6417 the ulimit -c to work around braindamaged shells.
6418
6419Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6420
6421 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6422 [] tests with "test" and enclose string in quotes.
6423 * gdb.stabs/configure: Rebuild
beb998c6 6424
c906108c
SS
6425Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6426
6427 Changes in sync with expect:
6428 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6429 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6430 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6431 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6432 argument to AC_REQUIRE.
6433 * configure: Regenerated.
6434
6435Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6436
6437 * gdb.base/corefile.exp: When generating a core, discard any
6438 error messages about ulimit not found and the "core dumped"
6439 message from the shell that runs the coredumper.
6440
6441Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6442
6443 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6444
6445 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6446 which sed script to run. Expect failure for v_comb test
6447 on PA targets too.
beb998c6 6448
c906108c
SS
6449Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6450
6451 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6452 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6453
6454Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6455
6456 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6457 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6458 "sparc-sun-solaris*" xfails for "p v_comb".
6459 * lib/gdb.exp (default_gdb_start): Fix typo.
6460 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6461 messages to not include the full program name that caused
6462 the core dump since some systems (such as solaris) apparently
6463 truncate this path to about 80 characters.
6464 When generating a core file first try increasing the core file
6465 size limit to unlimited since some systems may default it to
6466 zero, and it is harmless to try it. Move the test for failing
6467 to generate a core file to where it will actually get executed.
6468 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6469 new gdb result from g++ debug info improvements and make old
6470 pattern obsolescent. Also account for size_t differences
6471 (may be int or long).
6472 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6473 initialization before function call is placed in the delay slot
6474 and thus appears to be skipped over by commands such as "next".
6475
6476Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6477
6478 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6479
6480Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6481
6482 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6483 input source file; fix code to compile test to deal with this
6484 convention.
6485 * gdb.c++/*.exp: Likewise.
6486
6487Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6488
6489 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6490 "bt in signals.exp".
6491
6492Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6493
6494 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6495 "step over execarg initialization" and
6496 "step over corearg initialization".
6497
6498Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6499
6500 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6501 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6502
6503Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6504
6505 From Rob Savoye (rob@poseidon.cygnus.com)
6506 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6507 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6508 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6509 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6510 configure.in}: Major reworking for autoconfig.
6511 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6512 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6513 New files.
6514 * config/unix-gdb.exp: Make GDB global.
6515 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6516 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6517 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6518 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6519 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6520 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6521 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6522 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6523 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6524 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6525 pr-8136.exp, result.exp, string.exp, tuples.exp},
6526 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6527 to returns as necessary, arrange for test to compile own testcase
6528 executable.
6529 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6530
c906108c
SS
6531Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6532
6533 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6534 clear_xfail at end of test which might not call either pass or fail.
6535 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6536 "backtrace through signal handler".
6537
6538Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6539
6540 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6541 continuing from a job control stop signal.
6542 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6543
6544Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6545
6546 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6547 * gdb.base/corefile.exp: Likewise.
6548 * gdb.base/funcargs.exp: Likewise.
6549
6550Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6551
6552 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6553 * config/monitor.exp: Add support for setting baud rate.
6554
6555Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6556
6557 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6558 i*86-*-linux* xfails for "backtrace through signal handler".
6559 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6560 "print func2::coremaker_local".
6561 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6562 alpha-dec-osf2* xfail for
6563 "delete all breakpoints when none".
6564
6565Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6566
6567 * gdb.base/break.exp: Change test that deletes all breakpoints
6568 when no user breakpoints are installed. A post 4.15 change
6569 causes gdb to no longer prompt in this case.
6570
6571Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6572
6573 * gdb.base/return.exp (return_tests): Change xfail for test
6574 "correct value returned double test" to stop xfailing at
6575 Solaris 2.5. Apparently the bug has been fixed.
6576
6577Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6578
6579 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6580 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6581
6582Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6583
6584 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6585 * gdb.disasm/hppa.s: Corresponding changes.
6586
6587Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6588
6589 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6590 makefile fragment.
6591 * config/mt-hpux: Deleted.
6592
6593Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6594
beb998c6 6595 * Many files: When warning about suppressed tests due to a
c906108c
SS
6596 nonexistant test binary, avoid incrementing the warning count.
6597
6598Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6599
6600 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6601
c906108c
SS
6602Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6603
6604 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6605 "sparc-*-solaris2*".
6606
6607Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6608
6609 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6610 Add global and local variables and initialize them.
6611 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6612 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6613 extracts the file name and terminating signal from the core file.
6614 * TODO: Remove note about tests for correct mapping of corefile.
6615 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6616 from optimizing it away.
6617 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6618 handles common blocks.
6619
6620Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6621
6622 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6623 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6624
6625Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6626
6627 * Makefile.in (maintainer-clean): New target, synonym for
6628 realclean.
6629 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6630 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6631 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6632 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6633 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6634 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6635
6636Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6637
6638 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6639 xfails when not gcc compiled for "print foo::funclocal".
6640 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6641 "print foo::funclocal at foo",
6642 "print 'scope1.c'::foo::funclocal at foo",
6643 "print foo::funclocal_bss at foo",
6644 "print 'scope1.c'::foo::funclocal_bss at foo",
6645 "print foo::funclocal_ro at foo",
6646 "print 'scope1.c'::foo::funclocal_ro at foo",
6647 "print bar::funclocal at foo" and
6648 "print 'scope1.c'::bar::funclocal at foo".
6649 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6650 gcc compiled for "print foo::funclocal at bar".
6651 Expand all messages to ensure that they identify that
6652 the test is at bar().
6653 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6654 gcc compiled for:
6655 "ptype on opaque struct pointer (statically)",
6656 "ptype on opaque struct tagname (statically)",
6657 "ptype on opaque struct pointer (dynamically) 1",
6658 "ptype on opaque struct tagname (dynamically) 1",
6659 "ptype on opaque struct pointer (dynamically) 2" and
6660 "ptype on opaque struct tagname (dynamically) 2
6661 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6662 gcc compiled for:
6663 "p datalocal"
6664 "whatis datalocal",
6665 "ptype datalocal",
6666 "p bsslocal",
6667 "whatis bsslocal", and
6668 "ptype bsslocal".
6669 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6670 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6671 when not gcc compiled.
6672 * gdb.base/funcargs.exp (float_and_integral_args): Add
6673 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6674 compiled.
6675 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6676 "backtrace from call6a" when not gcc compiled.
6677 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6678 "backtrace from call7a" when not gcc compiled.
6679 * gdb.base/callfuncs.exp (do_function_calls):
6680 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6681 "p t_char_array_values(char_array_val2,char_array_val1)",
6682 "p t_char_array_values(char_array_val1,char_array_val2)",
6683 "p t_char_array_values("carray 1","carray 2")",
6684 "p t_char_array_values("carray 1",char_array_val2)",
6685 "p t_char_array_values(char_array_val1,"carray 2")",
6686 "p sum_args(1,{2})",
6687 "p sum_args(2,{2,3})",
6688 "p sum_args(3,{2,3,4})",
6689 "p sum_args(4,{2,3,4,5})"
6690 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6691 "backtrace in corefile.exp" when not gcc compiled.
6692
6693Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6694
6695 * gdb.base/signals.exp: Rewrite `handle all print' test as
6696 a procedure. Accept blanks or TABs as whitespace, increase
6697 timeout and expect input buffer size for the large output
6698 from the command. Remove "i*86-*-bsdi2.0" xfail.
6699
6700Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6701
6702 * gdb.base/setvar.exp: Add new testcases for truncation when
6703 assigning invalid values to bitfields.
6704
6705Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6706
beb998c6 6707 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6708 mips-sgi-irix* xfail for
6709 "call inferior func with struct - returns char *"
6710 and fix test so that an optional (unsigned char *) cast is
6711 accepted in the result.
6712
6713Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6714
6715 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6716 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6717 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6718 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6719 that accidentally got checked in.
6720
6721Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6722
beb998c6 6723 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6724 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6725 compiled test.
6726 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6727 Add mips-sgi-irix5* xfail for not gcc compiled.
6728 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6729 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6730 "p top", "whatis top", "p middle", and "whatis middle".
6731 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6732 "whatis signed char" for not gcc compiled.
6733 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6734 "set variable signed char=-1 (-1)" and
6735 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6736 * gdb.base/funcargs.exp (float_and_integral_args):
6737 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6738 Add mips-sgi-irix* xfail when not gcc compiled for
6739 "continue to call2b".
6740 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6741 "continue to call2g".
6742 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6743 "backtrace from call6a"
6744 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6745 "backtrace from call7k".
6746 Add mips-sgi-irix5* xfail when not gcc compiled for
6747 "backtrace from call7a".
6748 (localvars_after_alloca): Fix gdb_test cmds for
6749 "print * after runto ...".
6750 Remove rs6000-*-* xfails for
6751 "print i after runto localvars_after_alloca" and
6752 "print l after runto localvars_after_alloca"
6753 for all compilers.
6754 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6755 when not compiled with gcc, for:
6756 "print signed char == (minus)",
6757 "print signed char != (minus)",
6758 "print signed char < (minus)",
6759 "print signed char > (minus)".
6760 * gdb.base/callfuncs.exp (do_function_calls):
6761 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6762 "call inferior func with struct - returns char *".
beb998c6 6763 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6764 "correct value returned double test" to include Solaris 2.4.
6765 * gdb.base/funcargs.exp (float_and_integral_args):
6766 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6767
c906108c
SS
6768Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6769
6770 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6771 enumeration bitfields if compiling with GNU C.
6772 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6773 to empty' prompt.
6774
6775Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6776
6777 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6778 test for PRO targets.
6779
6780 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6781 breakpoints in the inferior at any given time by making
6782 two groups of breakpoints for call2*, call6* and call7*
6783 tests.
6784
6785Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6786
6787 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6788 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6789 from optimizing it away.
6790 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6791 "call inferior func with struct".
6792
6793Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6794
6795 * configure.in: Only configure gdb.chill for particular targets.
6796
6797Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6798
6799 * gdb.base/Makefile.in: Add action to .c.o transformation
6800 rule that generates a .ci file for each .o file and remove
6801 explicit .c.o rules except for callfuncs.o.
6802 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6803 generates a .ci file for each .o file and remove explicit
6804 .cc.o rules.
6805 (clean): Remove *.tmp *.ci files.
6806 (EXECUTABLES): Remove templ-info.exp.
6807 * gdb.base/compiler.c: New file.
6808 * gdb.c++/compiler.cc: New file
6809 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6810 Change rs6000-*-* xfail for
6811 "print 'scope0.c'::filelocal_ro" and
6812 "print 'scope1.c'::filelocal" and
6813 "print 'scope1.c'::filelocal_bss" and
6814 "print 'scope1.c'::filelocal_ro" and
6815 "print 'scope1.c'::foo::funclocal" and
6816 "print 'scope1.c'::foo::funclocal_ro" and
6817 "print 'scope1.c'::bar::funclocal" and
6818 "print 'scope0.c'::filelocal_ro" and
6819 "print 'scope1.c'::filelocal at foo" and
6820 "print 'scope1.c'::filelocal_bss at foo" and
6821 "print 'scope1.c'::filelocal_ro at foo" and
6822 "print 'scope1.c'::foo::funclocal at foo" and
6823 "print 'scope1.c'::foo::funclocal_bss at foo" and
6824 "print 'scope1.c'::foo::funclocal_ro at foo" and
6825 "print 'scope1.c'::bar::funclocal at foo" and
6826 "print 'scope0.c'::filelocal_ro" and
6827 "print 'scope1.c'::filelocal" and
6828 "print 'scope1.c'::filelocal_bss" and
6829 "print 'scope1.c'::filelocal_ro" and
6830 "print 'scope1.c'::foo::funclocal" and
6831 "print 'scope1.c'::foo::funclocal_bss" and
6832 "print 'scope1.c'::foo::funclocal_ro" and
6833 "print 'scope1.c'::bar::funclocal" and
6834 "print 'scope1.c'::bar::funclocal_bss"
6835 to only be xfail'd when not compiled with gcc.
beb998c6 6836 Add rs6000-*-* xfail for
c906108c
SS
6837 "print 'scope0.c'::filelocal_bss before run"
6838 when compiled with gcc.
6839 (test_at_main): Add rs6000-*-* xfail for
6840 "print filelocal_ro in test_at_main"
6841 when compiled with gcc.
6842 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6843 Add rs6000-*-aix* xfail for
c906108c
SS
6844 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6845 "ptype t_char_array", not compiled with gcc.
6846 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6847 xfail for "list foo (in include file)" when gcc compiled.
6848 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6849 (integral_args): Add rs6000-*-* xfail for
6850 "run to call0a" if not compiled with gcc.
6851 (unsigned_integral_args): Add rs6000-*-* xfail for
6852 "run to call1a" if not compiled with gcc.
6853 (float_and_integral_args): Add rs6000-*-* xfail for
6854 "run to call2a" if not compiled with gcc and for
6855 "continue to call2b" for any compiler.
6856 Add rs6000-*-* xfail to
6857 "print f1 after run to call2a" for gcc compiled.
6858 (discard_and_shuffle): Add rs6000-*-* xfail for
6859 "run to call6a".
6860 (shuffle_round_robin): Add rs6000-*-* xfail for
6861 "backtrace from call7a" if not compiled with gcc.
6862 Add rs6000-*-* xfail for
6863 "backtrace from call7b" if compiled with gcc.
6864 (call_after_alloca): Add rs6000-*-* xfail for
6865 "print c in call_after_alloca" and
6866 "print s in call_after_alloca" and
6867 "backtrace from call_after_alloca_subr"
6868 if not compiled with gcc.
6869 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6870 "print c in localvars_in_indirect_call" and
6871 "print c in localvars_in_indirect_call" and
6872 "backtrace in indirectly called function" and
6873 "stepping into indirectly called function"
6874 if not compiled with gcc.
6875 (localvars_after_alloca): Add rs6000-*-* xfail for
6876 "print c after runto localvars_after_alloca" and
6877 "print s after runto localvars_after_alloca" and
6878 "print i after runto localvars_after_alloca" and
6879 "print l after runto localvars_after_alloca"
6880 for all compilers.
6881 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6882 than whatis-info.exp.
6883 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6884 than opaque-info.exp.
6885 Setup rs6000-*-* xfail for
beb998c6 6886 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6887 "ptype on opaque struct pointer (dynamically)" when
6888 not compiled with gcc.
6889 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6890 rather than callf-info.exp.
6891 (do_function_calls): Add clear_xfail for rs6000-*-* for
6892 "p t_float_values2(3.14159,float_val2)". Seems to work
6893 fine there, both with xlc and gcc. Need to find out what
6894 it is doing right and fix other platforms.
6895 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6896 "call inferior func with struct - returns int",
6897 "call inferior func with struct - returns long",
6898 "call inferior func with struct - returns float",
6899 "call inferior func with struct - returns double",
6900 "call inferior func with struct - returns char *",
6901 but only if not gcc compiled (presumes xlc compiled).
6902 Change rs6000-*-* xfails for
6903 "call inferior func with struct - returns char" and
6904 " call inferior func with struct - returns short" to only
6905 xfail if not using gcc.
6906 (clean mostlyclean): Remove *.ci and *.tmp files.
6907 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6908 than templ-info.exp.
6909 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6910 Add rs6000-*-* xfail for "up to foo in langs.exp"
6911 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6912 when not gcc compiled.
beb998c6 6913
c906108c
SS
6914Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6915
6916 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6917 * gdb.base/corefile.exp: Likewise.
6918 * gdb.base/list.exp: Likewise.
6919 * gdb.base/scope.exp: Likewise.
6920 * gdb.base/siganls.exp: Likewise.
6921
6922 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6923 compiler output.
6924 * gdb.base/whatis.exp: Likewise.
6925
6926Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6927
6928 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6929 failure (opcode table has been fixed to match reality).
6930
6931Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6932
6933 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6934 "call inferior func with struct - returns char",
6935 "call inferior func with struct - returns short"
6936
6937 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6938 "print 'scope0.c'::filelocal at main",
6939 "print 'scope0.c'::filelocal_bss in test_at_main",
6940 "print 'scope0.c'::filelocal at foo",
6941 "print 'scope0.c'::filelocal_bss in test_at_foo",
6942 "print 'scope0.c'::filelocal at bar",
6943 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6944
c906108c
SS
6945 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6946 in source file 1". This bug seems to have been fixed with both
6947 gcc and native cc (was native assembler bug?).
6948
6949Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6950
6951 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6952 "backtrace through signal handler" to "i*86-*-sysv4*".
6953 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6954 continue" case. Add "known SVR4 bug" to fail message.
6955 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6956 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6957 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6958 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6959 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6960 "up to foo in langs.exp", "show language at foo in
6961 langs.exp", "up to cppsub_ in langs.exp", "show
6962 language at cppsub_ in langs.exp", "up to fsub in
6963 langs.exp", and "show language at fsub in langs.exp".
6964 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6965 "bactrace in corefile.exp".
6966 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6967 "call inferior function with struct - returns float" and
6968 "call inferior function with struct - returns double".
beb998c6 6969
c906108c
SS
6970Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6971
6972 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6973 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6974 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6975 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6976
6977Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6978
6979 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6980 (or overriden) "CHILL" macro rather then bare "gcc".
6981 Also look for ../../gcc/xgcc since that is what we will
6982 actually need, not "Makefile". Remove following assignment
6983 of CHILL to CHILL_FOR_TARGET because that results in
6984 recursive definition.
6985
6986Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6987
6988 * gdb.base/corefile.exp: Change xfail for backtrace in
6989 corefile.exp from linuxaout to all linux.
6990 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6991 cases where we miss the breakpoint at the signal handler
6992 for some reason. Setup xfail for linuxoldld/linuxaout and
6993 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6994 hitting SIGURG breakpoint.
6995 * gdb.base/signals.exp: Setup xfail for "next" acting like
6996 continue to add linuxoldld. Setup xfail for all linux for
6997 "next to handler in signals_tests_1", "backtrace in
6998 signals_tests_1", "continue to func1", "pass SIGUSR1",
6999 and continue to handler".
7000
7001Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7002
7003 * Update all FSF addresses except those in COPYING* files.
7004
7005Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7006
7007 * gdb.base/a2-run.exp: Change messages to be more explicit about
7008 the status of args, and quote binfile in results.
7009
7010Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7011
7012 * gdb.base/callfuncs.exp: Add tests for passing structs to
7013 inferior functions and return various types.
7014 * gdb.base/callfuncs.c: Add functions to receive a struct
7015 and return a member of the struct, in various types.
7016
7017Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7018
7019 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7020
7021Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7022
7023 * config/vxworks29k.exp: New file, sources vxworks.exp.
7024
7025Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7026
7027 * config/gdbremote.exp: New file. Testing framework using
7028 gdbserver.
7029
7030Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7031
7032 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7033 "call function when asleep" and "send end of file".
7034 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7035 for "backtrace in corefile.exp".
7036 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7037 for "backtrace through signal handler".
7038 * gdb.base/corefile.exp: Make sure we actually generate a core file
7039 before trying the core tests. Some systems allow the user to suppress
7040 generation of core files and default to that (linux for example).
7041 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7042 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7043
7044Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7045
7046 * gdb.threads: New directory with some crude multi-threaded
7047 gdb tests (step.exp and step2.exp).
7048 * config/mt-lynx (STEP_EXECUTABLE): Define.
7049 (THREADFLAGS): Define.
7050
7051Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7052
7053 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7054
7055 * gdb.base/signals.exp: Disable whole file for lynx until
7056 further notice.
7057
7058 * gdb.base/signals.exp: xfail test where "next" acts like
7059 "continue" for lynx.
7060
7061 * gdb.base/interrupt.exp: xfail test for calling function while
7062 inferior is asleep for lynx.
7063
7064 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7065 than one cr-lf after each command.
7066
7067Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7068
7069 * configure.in: Reinstate setting of stabsdirs variable, fix
7070 typo in setting up configdirs for native builds.
7071
7072 * gdb.base/return.exp: Fix typo in return double test.
7073 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7074 compiler from optimizing them away.
7075
7076Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7077
7078 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7079 sequences to be echo'd by gdb when using gdb_test.
7080 * gdb.chill/chexp.exp: Likewise.
7081 * gdb.fortran/exprs.exp: Likewise
7082
7083Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7084
7085 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7086 after the inferior gdb has started.
7087
7088 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7089 after each command.
7090 * gdb.base/funcargs.exp: Likewise.
7091 * gdb.base/gdbvars.exp: Likewise.
7092 * gdb.base/interrupt.exp: Likewise.
7093 * gdb.base/list.exp: Likewise.
7094 * gdb.base/watchpoint.exp: Likewise.
7095 * gdb.c++/demangle.exp: Likewise.
7096 * gdb.c++/inherit.exp: Likewise.
7097 * gdb.chill/chexp.exp: Likewise.
7098 * gdb.fortran/exprs.exp: Likewise.
7099
7100 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7101 test if we can't handle IO to/from the inferior.
7102
7103 * gdb.c++/misc.exp: Always check for a program already being
7104 started after sending a "run" command to gdb.
7105
7106 * gdb.base/twice.exp: Start with a fresh gdb.
7107
7108 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7109 only depend on gdb's expression code, not the chill runtime.
7110
7111 * gdb.base/return.c: Put return values into variables so we
7112 can have gdb print them rather than depending on the program
7113 to print them.
7114 * gdb.base/return.exp: Corresponding changes.
7115
7116 * lib/gdb.exp: Provide default value for noinferiorio.
7117 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7118 the inferior.
7119
7120 * gdb.base/break.exp: Always check for a program already being
7121 started after sending a "run" command to gdb.
7122 (text_next_with_recursion): Don't check the output from the
7123 program's printf statement. Instead just make sure the program
7124 exited.
7125
7126 * gdb.base/commands.exp: Protect tests which need arguments with
7127 $noargs conditionals.
7128
7129Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7130
7131 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7132 of structure member arrays to match gdb/valops.c:value_addr change.
7133
7134Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7135
7136 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7137 cases.
7138
7139Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7140
7141 * configure.in (configdirs): Remove gdb.chill from default list
7142 of subdirs and then add it back in only if doing a native build.
7143 The current chill compiler does not yet work in any cross build.
7144 * Revert all signal changes from Jul 6.
7145 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7146 for sh-hms targets, allowing these tests to link, with no other
7147 changes. Testing is suppressed by setting "nosignals" in site.exp.
7148
7149Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7150
7151 * configure.in (signaldirs): Define and add to configdirs for all
7152 targets except some specific ones that are known to not support signals.
7153 Also clean up formatting.
7154 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7155 (signals, sigall): Remove rules to build.
7156 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7157 Moved to new gdb.signals directory.
7158 * gdb.signals: New test directory.
7159 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7160 signals.c signals.exp}: New or moved files.
7161
7162Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7163
7164 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7165
7166Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7167
7168 * gdb.base/return.exp: Xfail `return double' test failure
7169 on at least Solaris 2.3 and handle future/past versions on
7170 a case by case basis as appropriate. Also update message
7171 to include i*86 failures.
7172
7173Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7174
7175 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7176
7177 * lib/gdb.exp: Fix comment which erroneously identified
7178 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7179 gdb_file_cmd not gdb_load).
7180 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7181
7182 * gdb.base/setvar.exp: Make test names consistent between pass and
7183 fail cases. Use gdb_test more.
7184
7185Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7186
7187 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7188
7189Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7190
7191 * gdb.base/help.exp: Fix expected help string for `show commands'.
7192
7193Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7194
7195 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7196
7197 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7198 of a text section.
7199
7200Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7201
7202 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7203 that loop eventually terminates. Fix Connection refused logic so
7204 that testsuite will expire nicely.
7205
7206Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7207
7208 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7209 config/rom68k.exp: New tcl glue for the appropriate monitors.
7210 These all just end up calling monitor.exp.
7211 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7212 refused' by retrying. Cleanup some timeout issues.
7213 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7214 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7215 callers don't have to set/restore global timeout variable.
7216
7217 * The following set of changes centralizes management of the global
7218 timeout variable. This way, it can be set in one target dependent
7219 place instead of dozens of places scattered throughout the test suite.
7220 If you need to lengthen a timeout, then you should either set timeout
7221 in one of the config/{target}.exp files, or multiply it by a factor.
7222 Setting it to an absolute value is always going to lose for some
7223 targets.
7224 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7225 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7226 * gdb.base/funcargs.exp: Don't set timeout.
7227 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7228 * gdb.base/printcmds.exp (test_print_string_constants
7229 test_print_array_constants): Don't set timeout.
7230 * gdb.base/ptype.exp: Don't set timeout.
7231 * gdb.base/recurse.exp: Don't set timeout.
7232 * gdb.base/return.exp: Don't set timeout.
7233 * gdb.base/watchpoint.exp: Don't set timeout.
7234 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7235 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7236
7237Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7238
7239 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7240
7241Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7242
7243 * lib/gdb.exp: Disable chill tests for irix5.
7244
7245Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7246
7247 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7248 each test pass or fail.
7249
7250Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7251
7252 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7253 xlc not gcc.
7254
7255Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7256
7257 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7258
7259Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7260
7261 * config/est.exp: Fix copyright and comments. Remove dead code.
7262 Use targetname, serialport and baud variables instead of fixed
7263 constants.
7264 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7265 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7266
7267Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7268
7269 * gdb.base/watchpoint.exp: Don't run
7270 test_watchpoint_triggered_in_syscall for sunos.
7271
7272Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7273
7274 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7275 they don't seem to exist. Do include stdio.h.
7276
7277Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7278
7279 * gdb.base/a1-selftest.exp: Add alpha xfail.
7280
7281Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7282
7283 * gdb.base/watchpoint.c (main): Prompt before calling read().
7284 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7285 Revise accordingly. Remove cruft about sending "123" several
7286 times, until it gets noticed. Clean up the "print buf[0]" stuff
7287 so that it passes or fails, and waits for prompts in the usual way.
7288
7289Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7290
7291 * gdb.base/recurse.exp: Fix comment.
7292
7293 * TODO: Remove item about printing variables in nodebug.exp. Add
7294 item about enabling tests which are only run on some targets.
7295
7296 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7297 fail, make test names unique, use new gdb_test convention
7298 regarding pattern, use gdb_test more, etc.).
7299
7300 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7301 fail, make test names unique, etc.).
7302
7303Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7304
7305 * gdb.base/nodebug.c: Change return type of top and middle to
7306 short.
7307 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7308 are fixed by the recent mdebugread.c changes. Allow `short ()'
7309 as type for top and middle.
7310
7311Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7312
7313 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7314 nearly as I can tell, the whole thing was an accident in Stu's
7315 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7316 to replace a send/expect pair with gdb_test, but ended up only
7317 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7318 of 30 Mar 1995 took care of it, but left this vestigial comment
7319 which I am now nuking.
7320
7321Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7322
7323 * gdb.base/break.exp: Look for different line number for
7324 breakpoint at main depending on usestubs.
7325
7326Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7327
7328 * gdb.base/list.exp: Adjust some alternate expect patterns to
7329 match recent list0.c change. Add alternate expect pattern for
7330 output from `list default lines around main' for optimizing
7331 compilers.
7332
7333Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7334
7335 * lib/gdb.exp: If nosignals is not set, set it to 0.
7336
7337Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7338
7339 * config/slite-gdb.exp: Responds to load symbol table prompt.
7340 * gdb.base/break.exp: Adjust line number, fix rerun.
7341 * gdb.base/langs0.c: Add #ifdef usestubs.
7342
7343Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7344
7345 * gdb.base/list.exp: Adjust line contents after adding new lines in
7346 list0.c. Also fix a syntax error.
7347
7348 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7349 * gdb.base/break.exp: ditto.
7350 * gdb.base/list.exp: ditto.
7351 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7352 * gdb.base/run.c: ditto.
7353 * gdb.base/list0.c: ditto.
7354 * gdb.base/funcargs.c: ditto.
7355
7356Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7357
7358 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7359 $targetname, $serialport and $baud instead of hardwired variables.
7360 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7361 target doesn't support signals.
7362
7363Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7364
7365 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7366
7367Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7368
7369 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7370 Don't rely on the value of an auto variable before it has been
7371 initialized. Use gdb_test more.
7372
7373Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7374
7375 * lib/gdb.exp (default_gdb_version): A version number must start
7376 with a digit, but other than that contains all characters up to
7377 the first whitespace character.
7378
7379Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7380
7381 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7382
7383Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7384
7385 * gdb.c++/*.exp: Warn if executable does not exist. The original
7386 reason for skipping the warning was that configure.in sometimes
7387 intentionally skipped building the executables but the tcl code
7388 had no way of knowing. That (a) was always bogus with respect to
7389 error handling, (b) is no longer true (right now there is no way
7390 to skip C++ tests).
7391
7392 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7393
7394Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7395
7396 * gdb.base/list.exp: Add expect patterns for output from
7397 SunPRO compiled executables.
7398 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7399 types.
7400
7401Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7402
7403 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7404 number (we are already testing that the correct source line text
7405 gets printed).
7406
7407 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7408 that is what is intended, but something needed to be done to get
7409 sunos4 native working again.
7410
7411 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7412
7413 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7414 apparently went with a (very) old xfail.
7415
7416Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7417
7418 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7419 runto_main is a proc in gdb.exp that will do 'step' for target use
7420 stubs.
7421 * gdb.base/exprs.exp: ditto.
7422 * gdb.base/interrupt.exp: ditto.
7423 * gdb.base/opaque.exp: ditto.
7424 * gdb.base/printcmds.exp: ditto.
7425 * gdb.base/ptype.exp: ditto.
7426 * gdb.base/scope.exp: ditto.
7427 * gdb.base/setvar.exp: ditto.
7428 * gdb.base/signals.exp: ditto.
7429 * gdb.base/twice.exp: ditto.
7430 * gdb.c++/classes.exp: ditto.
7431 * gdb.c++/inherit.exp: ditto.
7432 * gdb.c++/templates.exp: ditto.
7433 * gdb.base/break.exp: no run and hit main for stubs. Change line
7434 numbers for breakpoints and info breakpoint.
7435 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7436 breakpoint().
7437 * gdb.base/callfuncs.c: ditto.
7438 * gdb.base/exprs: ditto.
7439 * gdb.base/interrupt.c: ditto.
7440 * gdb.base/opaque0.c: ditto.
7441 * gdb.base/printcmds.c: ditto.
7442 * gdb.base/ptype.c: ditto.
7443 * gdb.base/scope0.c: ditto.
7444 * gdb.base/setvar.c: ditto.
7445 * gdb.base/signals.c: ditto.
7446 * gdb.base/twice.c: ditto.
7447 * gdb.c++/misc.cc: ditto.
7448 * gdb.c++/templates.cc: ditto.
7449
7450Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7451
7452 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7453
7454 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7455 somewhere between `read' and `main.c'. I'm pretty sure the
7456 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7457 and it isn't particularly useful.
7458
7459 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7460
7461Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7462
7463 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7464
7465Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7466
7467 * config/mt-slite: add LIBS and -nostdlib.
7468 * config/slite-gdb.exp: add this new file to support sparclite target.
7469
7470Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7471
7472 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7473
7474 * gdb.base/a2-run.exp: Change argument to istarget from
7475 "*-*-vxworks" to "*-*-vxworks*".
7476 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7477
7478Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7479
7480 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7481 will not runto main but do a 'step' to step out of breakpoint().
7482 * config/mt-slite: add -Dusestubs.
7483
7484Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7485
7486 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7487 instead of just @.
7488
7489 * gdb.base/signals.exp: Add test for "handle all print".
7490 * TODO: Remove "handle all print". Also remove item about
7491 checking copyright date (I don't like the idea of a spurious FAIL
7492 based on when we run the tests).
7493
7494 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7495 for SunOS4 (reason for failure not investigated). Remove
7496 redundant test for $binfile.
7497
7498 * gdb.base/nodebug.c (array_index): Call malloc.
7499
7500 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7501
7502Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7503
7504 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7505 conventions and slightly simplify the matching regexp.
7506
7507Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7508
7509 * gdb.base/break.exp: Update gdb_test invocation to use new
7510 convention.
7511
7512 * lib/gdb.exp: If noargs is not set, set it to 0.
7513
7514 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7515 tests unique.
7516
7517 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7518
7519Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7520
7521 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7522 one argument of type "<non-float parameter>".
7523
7524Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7525
7526 * config/rom68k.exp: New file to support Motorola IDP board.
7527 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7528 * gdb.base/break.c: Change things around so that this program
7529 doesn't depend upon args. This is necessary to make remote
7530 targets work (in general, they can't take args).
7531 * gdb.base/break.exp: Don't try to send args to program. Don't
7532 expect output. Also, replace lots of code with gdb_test.
7533
7534Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7535
7536 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7537 printing of '\'' (which is what the comment says we are testing,
7538 even though we were not), not '''.
7539 (test_integer_literals_rejected): Test that printing ''' is an error.
7540
7541 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7542 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7543 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7544 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7545 Use gdb_test not test_print_accept.
7546 * lib/gdb.exp: Remove test_print_accept.
7547
7548 * gdb.base/signals.exp (signal_tests_1): Make pass message
7549 consistent with fail message.
7550
7551 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7552 unsigned char; the bug (PR 1821) is fixed.
7553
7554 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7555
7556 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7557 successful tests--makes xfailing them work right.
7558
7559Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7560
7561 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7562 only \r\n, not .*. The test can pass .* as the last thing in
7563 $pattern if that is what it wants. In addition to providing this
7564 flexibility, this change should speed up pattern matching in cases
7565 where the pattern already ended with .* (there were a number of
7566 them). This change also helps catch bad patterns--in the old
7567 scheme the typo "char \*" instead of "char \\*" would pass. Now
7568 it is caught.
7569 * Many .exp files: Update callers.
7570
7571 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7572 clearer and does not spuriously match multiple ('s. Likewise for
7573 ) and *.
7574
7575 * gdb.base/nodebug.exp: Test ability to call a function and pass
7576 it a string (even with no debugging info).
7577
7578 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7579 "p '\'", which is the same as "p ''" once tcl gets done with
7580 quoting, to "p '\\'", which I suspect is what is intended (one
7581 backslash gets sent to GDB).
7582
7583 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7584
7585Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7586
7587 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7588 1817) was fixed literally years ago.
7589
7590Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7591
7592 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7593 test, it causes stepping out of call_after_alloca_subr with
7594 optimizing compilers.
7595 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7596 fails.
7597
7598 * gdb.c++/templates.exp: Source templ-info.exp only if
7599 the templates executable exists.
7600
7601 * gdb.c++/misc.cc (class Contains_static_instance,
7602 class Contains_nested_static_instance),
7603 gdb.c++/classes.exp (test_static_members): Test printing of
7604 a class that contains a static instance of the class.
7605
7606Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7607
7608 * gdb.base/langs2.c (cppsub_): Don't prototype.
7609 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7610 only, I believe).
7611
7612Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7613
7614 * lib/gdb.exp (skip_chill_tests): New procedure.
7615
7616 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7617
7618Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7619
7620 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7621 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7622
7623Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7624
7625 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7626
7627 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7628 disassemble 8, not 16, instructions for part 4.
7629
7630 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7631 support the latter anymore.
7632
7633 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7634 -DNO_PROTOTYPES.
7635 * gdb.base/callfuncs.c: Control use of prototypes based on
7636 NO_PROTOTYPES, not __STDC__.
7637 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7638 t_float_values2 tests if prototypes in use.
7639
7640 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7641 t_double_values): When checking differences against DELTA, check
7642 that difference is within the range (-DELTA,DELTA), not just
7643 (-infinity,DELTA).
7644
7645Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7646
7647 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7648 'file' command firts, then 'target', then 'load', this is due to gdb
7649 target set up.
7650 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7651
7652Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7653
7654 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7655 FP load/store variants.
7656 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7657
7658Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7659
7660 * gdb.base/term.exp: Do not give a warning if not native, it is
7661 not an abnormal condition.
7662
7663Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7664
7665 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7666 t_char_array".
7667
7668Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7669
7670 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7671 are getting the version number.
7672
7673 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7674 if not native, it is not an abnormal condition.
7675
7676Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7677
7678 * lib/gdb.exp: Just use "file exists", rather than undocumented
7679 dejagnu procedure "findfile".
7680
7681Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7682
7683 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7684 (LDFLAGS): Set to -Xlinker -Ur.
7685
7686 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7687 Removed, these values are set by lib/gdb.exp.
7688
7689 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7690
7691Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7692
7693 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7694 of replicating gdb startup code.
7695
7696 * config/mt-vxworks (LDFLAGS): Set to -r.
7697 (CFLAGS_FOR_TARGET): Removed.
7698
7699 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7700 (gdb) and gdb for vxworks uses (vxgdb).
7701
7702 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7703 executable is not in the tree and host != target, use sed and
7704 program_transform_name to determine the gdb name used by the
7705 target.
7706
7707 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7708 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7709
7710Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7711
7712 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7713 floats, chars, and shorts where there are ANSI-style function
7714 definitions.
7715
7716 * gdb.base/langs.exp, gdb.base/langs*: New test.
7717 * gdb.base/Makefile.in: Build it.
7718 * TODO: Remove item about checking that C names don't get C++
7719 demangling applied; this test tests it.
7720
7721Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7722
7723 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7724 went with the const70 xfail. The xfail went away a year ago.
7725
7726 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7727
7728 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7729 for hp300.
7730
7731 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7732
7733 * gdb.base/a1-selftest.exp: Don't run on hp300.
7734
7735Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7736
7737 * Makefile.in (site.exp): Set host_alias and target_alias as well
7738 as host_triplet and target_triplet.
7739
7740Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7741
7742 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7743
7744 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7745 places as other ecoff systems).
7746
7747 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7748 ultrix.
7749
7750Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7751
7752 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7753 remove them.
7754 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7755 variable and "variable" in addition to "data variable".
7756 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7757
7758 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7759 2.
7760 * gdb.base/list1.c (long_line): Add additional statement at start
7761 of function.
7762 * gdb.base/list.exp (test_forward_search): Update line number to
7763 reflect new statement.
7764
7765Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7766
7767 * gdb.base/signals.exp: Reinitialize searched source directories
7768 after gdb_start call.
7769
7770Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7771
7772 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7773 * gdb.stabs/Makefile.in: Likewise.
7774
7775 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7776 change. Instead split the tests into smaller pieces.
7777 * gdb.disasm/hppa.s: Corresponding changes.
7778
7779Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7780
7781 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7782 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7783
7784 * gdb.base/funcargs.exp: Modify many tests so that every test
7785 either passes or fails. Make some test names unique.
7786
7787Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7788
7789 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7790 Call stty to set interrupt character.
7791
7792 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7793 for HP assembler versus GNU assembler based on actual behavior of
7794 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7795
7796 * TODO: Suggest a few more stepping tests.
7797
7798Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7799
7800 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7801 restart GDB for h8300 after a continue.
7802 (return): Add pattern to match a29k-udi behavior.
7803 * gdb.base/nodebug.exp: Remove obsolete comment.
7804 * gdb.base/regs.exp: New file, testing of register displays.
7805 * gdb.base/return.exp: Fix typo in reference to $objdir.
7806 * gdb.base/whatis.exp: Always start with a fresh GDB.
7807
7808Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7809
7810 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7811 higher, these tests generate a lot of output.
7812
7813Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7814
7815 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7816 code following the catch silently ignored some errors; without the
7817 catch they should be thrown like any other tcl error. Also, the
7818 catch used "" instead of {} which meant all the callers who wanted
7819 to include one of the characters "[]$ had to quote it an extra time.
7820 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7821 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7822 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7823 Remove extra quoting.
7824
7825Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7826
7827 * gdb.base/commands.exp: Make test names unique; every test either
7828 passes or fails. Update some comments.
7829
7830 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7831
7832Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7833
7834 The following fixes a FAIL caused by the fact that the alpha stabs
7835 configuration didn't use the ".if alpha" code in weird.def.
7836 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7837 bit pointer, so the 32 bit version works even on the alpha.
7838 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7839 Remove the stuff which allowed us to have separate versions for
7840 alpha and everything else.
7841
7842 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7843 regexp which "info func operator\[\](" is supposed to match. Fix
7844 string to send to GDB. Note that GDB still doesn't work right. Add a
7845 new test for "info func .perator\[\](" which GDB does handle correctly.
7846
7847 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7848
7849Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7850
7851 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7852 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7853 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7854 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7855 it makes the tests harder to understand and confuses test-o-matic.
7856 The preferred style is that each test provides a PASS or a FAIL,
7857 and has a unique message (e.g. "continue #54" not just "continue")
7858 which is the same for the pass and the fail.
7859 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7860 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7861 to lib/gdb.exp.
7862 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7863 prt_accept which was basically the same thing. Likewise for
7864 test_print_reject and prt_reject.
7865 * lib/gdb.exp (test_print_reject): Add some more error message
7866 patterns to match from the former printcmds.exp (prt_reject).
7867 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7868 One defect of the passcount stuff is that some of it failed to
7869 report XPASS where appropriate.
7870 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7871 stuff before and after arg in expected pattern.
7872 (test_paddr_operator_functions): Re-do test without print_addr_of;
7873 this is the only test which seems to want extra stuff there.
7874
7875Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7876
7877 * gdb.base/nodebug.exp: Update new tests to reflect improved
7878 wording of gdb output.
7879
7880 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7881 and "ptype" work on variables in files compiled without -g.
7882 Replaces commented out "maint print msymbol" tests.
7883
7884Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7885
7886 * gdb.base/setvar.c (dummy): Call malloc.
7887
7888 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7889 losing with the irix4 sed.
7890
7891 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7892 ALRM" on irix4.
7893
7894Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7895
7896 * TODO: Remove items about corefile.exp testing new exec-file and
7897 backtrace; both are now done. Add items about printing enums.
7898
7899Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7900
7901 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7902 "get signal $thissig" test fails.
7903
7904 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7905
7906Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7907
7908 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7909 compiler warning with dec alpha compiler.
7910
7911 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7912 extra \n from gdb_test call (this explains why the prompt test
7913 that I removed yesterday was there).
7914 (user_defined_command_test): Remove extra \n and prompt test.
7915
7916 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7917 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7918 doesn't exist.
7919 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7920 Also remove alpha workaround, which turns out to be because
7921 SIGABRT == SIGLOST.
7922
7923 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7924
7925 * gdb.base/help.exp: Don't test "help show".
7926
7927Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7928
7929 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7930 "set print address" is on.
7931 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7932 pass prompt to gdb_test; gdb_test already looks for the prompt.
7933
7934 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7935
7936 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7937 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7938 was to make sure that gdb can read a core file. But (a) the "read
7939 the corefile" part didn't make it to a1-selftest.exp, we just
7940 delete the corefile after creating it, and (b) we test reading
7941 corefiles in corefile.exp anyway. Also, this test left around a
7942 xgdb process on Solaris.
7943
7944 * gdb.base/corefile.exp: Also test backtrace.
7945
7946Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7947
7948 * gdb.base/commands.exp: Test a simple user defined command with
7949 arguments and if/while statements; verify the full user command is
7950 printed by "show user".
7951
7952 * gdb.base/commands.exp: Test if/while commands as part of a
7953 breakpoint command list; verify they appear in breakpoint
7954 information.
7955
7956Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7957
7958 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7959 than by dividing by zero.
7960
7961Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7962
7963 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7964 performing an inferior call with watchpoints enabled.
7965 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7966 call.
7967
7968Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7969
7970 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7971 of "file" command.
7972
7973 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7974 Add additional pattern for when "int operator int(void);" appears
7975 in a different order.
7976
7977Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7978
7979 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7980
7981 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7982 and "signal" with ".*".
7983
7984Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7985
7986 * TODO: Add note about "handle all nostop".
7987
7988 * gdb.base/{sigall.c, sigall.exp}: New test.
7989 * gdb.base/Makefile.in: Add it.
7990
7991Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7992
7993 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7994 when invoking GDB, suppresses any windowing interface.
7995
7996Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7997
7998 * config/sim-gdb: New file, simulator testing support.
7999
8000Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8001
8002 * gdb.base/interrupt.exp: Test calling func1 twice.
8003
8004Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8005
8006 * gdb.base/list.exp (test_forward_search): Set timeout higher
8007 when we'll be getting lots of output from gdb.
8008
8009 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8010 "init_malloc" to after the expect statement. Run it if that
8011 regexp is taken, but also for two others which happen if source
8012 cannot be found.
8013
8014Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8015
8016 * gdb.base/printcmds.exp: New test, for printing register before
8017 program is running.
8018
8019Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8020
8021 * gdb.base/list.exp: Correct some alternate expect patterns
8022 to reflect changes in list1.c.
8023
8024Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8025
8026 * TODO: Add item regarding large frames.
8027
8028 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8029
8030 * TODO: Remove item about enabling return.exp; it
8031 is enabled. Suggest a few more "return" tests.
8032
8033Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8034
8035 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8036 anonymous unions.
8037
8038Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8039
8040 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8041 and pr-5646.o, so "make" is the same as "make all", not "make
8042 pr-4975.o".
8043
8044Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8045
8046 * gdb.base/list.exp: Adjust expectations to reflect changes in
8047 list1.c.
8048 (test_forward_search): New test proc.
8049 * gdb.base/list1.c (long_line): New function, has long source line.
8050
8051Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8052
8053 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8054 additional line of code that was added.
8055
8056Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8057
8058 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8059 tests so as not to overflow expect's input buffers.
8060 * gdb.disasm/hppa.exp: Corresponding changes.
8061
8062Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8063
8064 Beginnings of template debugging tests.
8065 * gdb.c++/templ-info.cc: New file to test for template
8066 debugging capability of the compiler.
8067 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8068 templ-info.cc.
8069 * gdb.c++/templates.cc: Add explicit template instantiations
8070 to enable compiling with -fno-implicit-templates. Add destructor
8071 and 'value' method to T5 class for template tests.
8072 * gdb.c++/templates.exp: Add testcases for printing of template
8073 types, setting breakpoints on template methods and calling a
beb998c6 8074 template method.
c906108c
SS
8075
8076Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8077
8078 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8079 branch target since some assemblers (gas-2.5) may emit a
8080 relocation for the branch instead of resolving it in the
8081 assembler.
8082
8083Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8084
8085 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8086 through signal handler.
8087
8088Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8089
8090 * configure.in (*-*-netware): Use config/mt-netware.
8091
8092 * config/mt-netware: New file.
8093 * config/mt-i386-netware: Removed, separate configs for different
8094 netware architectures are no longer needed now that we have
8095 --with-headers.
8096
8097Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8098
8099 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8100 by the recent changes to use ANSI C arithmetic conversions.
8101
8102Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8103
8104 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8105 bug involving using inferior_pid to figure out whether to select a
8106 frame.
8107
8108Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8109
8110 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8111 match the current disassembler output.
8112
8113Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8114
8115 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8116 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8117 types, expect "int" as type of integer values (for now).
8118
8119Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8120
8121 * gdb.base/commands.exp: New tests for if/while commands.
8122
8123Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8124
8125 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8126 by .*, since hex values have different syntax in Chill mode.
8127
8128Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8129
8130 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8131 linefeed from expect pattern for repeated types with indices > 9.
8132
8133Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8134
8135 First part of Fortran test suite.
8136 * gdb.fortran: New directory.
8137 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8138
8139Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8140
8141 * gdb.base/default.exp: Update expect pattern for load command
8142 without arguments.
8143
8144Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8145
8146 * configure.in: Change i386 to i[345]86.
8147 * gdb.base/configure.in: Likewise.
8148 * gdb.c++/configure.in: Likewise.
8149 * gdb.chill/configure.in: Likewise.
8150
8151Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8152
8153 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8154 patterns, since that is not a valid context for comments.
8155
8156Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8157
8158 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8159 repeated types and repeated types with indices > 9.
8160
8161Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8162
8163 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8164 2417; old bug has been fixed.
8165
8166Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8167
8168 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8169 send the newline ourselves instead of assuming gdb_test will do
8170 so when passed an empty input string.
8171
8172 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8173 stabs testcode.
8174
8175Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8176
8177 * lib/gdb.exp (gdb_test): Don't send anything if the first
8178 argument is an empty string. This makes cases where we want to
8179 match output that is already in expect's buffers (for example,
8180 matching a breakpoint after gdb_run_cmd has been called) work
8181 reliably.
8182
8183Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8184
8185 * config/netware.exp: New file.
8186
8187Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8188
8189 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8190 the -B and -L prefixes so we can find the debugging stub.
8191
8192 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8193 there and we are using the gcc from the tree.
8194
8195 * gdb.base/types.c: Removed.
8196
8197 * gdb.base/configure.in: Look for makefile fragments in ../config.
8198 Recognize i386-*-netware.
8199 * gdb.c++/configure.in: Likewise.
8200
8201Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8202
8203 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8204 the correct TCL syntax.
8205
8206Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8207
8208 * gdb.base/opaque.exp: use runto instead of messing around with
8209 breakpoints. Simplify by using gdb_test.
8210
8211 * gdb.base/bitfields.exp: restart between tests on netware targets
8212 because breakpoints aren't relocated after target death. Run
8213 processes to completion.
8214
8215 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8216
8217Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8218
8219 * Makefile.in: Remove extra tabs that confuse some versions
8220 of "make". Use the newly built gdb to test with by default,
8221 rather than the first one in the tester's search path.
8222
8223Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8224
8225 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8226
8227 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8228 condition help.
8229
8230Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8231
8232 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8233
8234 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8235 running.
8236 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8237 * gdb.base/funcargs.exp: Likewise.
8238
8239 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8240 * gdb.base/funcargs.exp: Likewise.
8241
8242 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8243 message is "".
8244
8245Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8246
8247 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8248 return,signals,twice}.exp: Handle non-existant binaries
8249 consistantly.
8250
8251 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8252 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8253 might testing a cross development system.
8254
8255Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8256
8257 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8258 runtest script is relative to ${srcdir}, not ${rootdir}.
8259
8260Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8261
8262 * gdb.base/signals.exp: Allow for optionality of breakpoint
8263 address.
8264
8265Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8266
8267 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8268
8269Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8270
8271 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8272 for size_t definition.
8273 * gdb.c++/templates.cc: Likewise
8274
8275 * config/mt-i386-netware: New file.
8276
8277 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8278 defined.
8279
8280 * gdb.base/Makefile.in: Added support for systems that name core
8281 files by appending "core" to the program name.
8282 * gdb.base/a1-selftest.exp: Likewise.
8283
8284Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8285
8286 * gdb.base/return.exp: Add comment and message for `return double'
8287 test failure on Sparc Solaris.
8288
8289Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8290
8291 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8292
8293Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8294
8295 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8296 from optimizing them away.
8297 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8298 patterns to include default constructors and assignment operators,
8299 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8300 character in the output of the virtual base pointer.
8301
8302Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8303
8304 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8305 expression match in print_addr_of to avoid unintented matches.
8306 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8307 versions up to 2.5.8.
8308
8309Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8310
8311 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8312 included file to run under newer versions of expect.
8313 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8314 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8315 Remove xfail for the virtual table of BDDHookV.
8316
8317Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8318
8319 * lib/gdb.exp (string_to_regexp): Set a default result.
8320 (default_gdb_start): Fix misleading message.
8321
8322Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8323
8324 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8325 Remove all CC, etc definitions.
8326 * config/mt-hpux: New file.
8327 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8328 (CFLAGS, LDFLAGS): Define.
8329 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8330
8331 * Makefile.in (site.exp): Don't insert host_os, etc.
8332 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8333 (distclean): Check existence of subdir.
8334 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8335 * gdb.base/Makefile.in: General cleanup and simplification.
8336 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8337 to build executables. Use default rule to build .o files.
8338 (EXPECT, RUNTEST, CC): Fix relative pathname.
8339 (site.exp): Don't insert host_os, etc.
8340 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8341 and/or SIGUSR1 defined.
8342 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8343 * gdb.c++/Makefile.in: General cleanup and simplification.
8344 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8345 (CFLAGS): Remove.
8346 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8347
8348Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8349
8350 * gdb.base/recurse.exp: Misc changes to get tests running again
8351 after Kung's changes to the watchpoint code.
8352 * gdb.base/watchpoint.exp: Likewise.
8353
8354Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8355
8356 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8357
8358Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8359
8360 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8361 * lib/gdb.exp (default_gdb_start): Define.
8362 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8363 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8364 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8365 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8366 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8367 Don't call gdb_target_udi in between tests.
8368
8369Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8370
8371 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8372 (which was basically just a local version of the same thing). In
8373 addition to avoiding duplication, gdb_test_exact is faster.
8374 * lib/gdb.exp (gdb_test_exact): Fix typo.
8375
8376 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8377 don't give an error.
8378
8379 * gdb.base/term.exp: Call delete_breakpoints before starting.
8380
8381 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8382 (t10): Add comment.
8383
8384Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8385
8386 Reorganization of the GDB Test Suite.
8387
8388 * gdb.base: New directory, contains all the basic tests.
8389 * gdb.c++: New directory, tests specific to C++.
8390 * gdb.chill: New directory, tests specific to Chill.
8391 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8392 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8393 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8394 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8395 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8396 t30-31 to chill).
8397 * */gdbme.*: Rename to match appropriate expect scripts.
8398 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8399 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8400 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8401 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8402 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8403 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8404 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8405 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8406 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8407 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8408 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8409 gdb.c++/virtfunc.cc: New names of C++ files.
8410 * gdb.chill/chillvars.ch: New name of Chill file.
8411 * gdb.base/configure.in, gdb.c++/configure.in,
8412 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8413 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8414 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8415 * configure.in (configdirs): Update to reflect directory changes.
8416 (target_abbrev): No longer define for any configuration.
8417 * Makefile.in: Cosmetic improvements to header comments.
8418
8419Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8420
8421 Various changes to gdb.t31:
8422
8423 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8424 * gdbme.ch: Make all key-words and predefineds be upper-case.
8425 * chillvars.exp: Expect key-words and predefinds in upper-case.
8426
8427 * chillvars.exp: Use gdb_test_exact many places.
8428 Change expected output for arrays (which now includes index labels).
8429
8430 * pr-5020.exp, gdme.ch (module PR_5020):
8431 New test, for PR-5020.
8432
8433Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8434
8435 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8436 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8437
8438Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8439
8440 * Makefile.in: Fix bit-rot in definitions of CHILL,
8441 CHILL_FOR_TARGET and Chill_LIB.
8442 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8443 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8444 CHILL, and CHILL_LIB.
8445
8446Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8447
8448 * Revert the previous changes. Please see Rob's directory
8449 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8450
8451Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8452
8453 * Makefile.in, configure.in, config/mips-gdb.exp,
8454 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8455 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8456 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8457 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8458 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8459 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8460 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8461 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8462 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8463 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8464 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8465 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8466 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8467 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8468 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8469 changes from 94Q1.
8470
8471Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8472
8473 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8474 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8475 Rob's new testing fragments.
8476
8477Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8478
8479 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8480 lib/gdb.exp: Replace error proc calls with perror.
8481
8482Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8483
8484 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8485 version also, match on casted version strings, and match on
8486 gdb startup case where the line numbers might be messed up.
8487
8488Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8489
8490 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8491 (CFLAGS): Delete it from here.
8492
8493Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8494
8495 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8496
8497Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8498
8499 * Makefile.in (RUNTEST): Default to just "runtest".
8500
8501Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8502
8503 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8504 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8505 the code has been restructured.
8506
8507Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8508
8509 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8510 \n, not just one of each.
8511
8512 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8513 /bin/cc gives a warning if you do.
8514
8515Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8516
beb998c6 8517 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8518 __t10ListS_link1ZUiRCUiPT0
8519
8520Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8521
8522 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8523 on local variables in recursive functions.
8524
8525 * gdb.t07/Makefile.in: Build the new test.
8526
8527Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8528
8529 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8530 directly. Instead compare the return values from actual calls.
8531
8532Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8533
8534 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8535
8536Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8537
8538 * From Peter Schauer with minor modifications.
8539 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8540 stops in mid-line in the caller. Add xfail for returning a float
8541 value on X86 targets.
8542
8543Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8544
8545 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8546 to avoid expect lossage.
8547 (fmem_LRbug_tests): Likewise.
8548 * gdb.disasm/hppa.s: Corresponding changes.
8549
8550 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8551 conditions to work with latest dejagnu/expect.
8552
8553 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8554 expected to fail on the PA.
8555 (backtrace in call with trampolines): Explicitly require main
8556 to be frame #1 (no trampolines should show up in backtrace).
8557
8558 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8559 "continue -expect".
8560 * gdb.t06/break.exp: Likewise.
8561 * gdb.t07/watchpoint.exp: Likewise.
8562 * gdb.t13/bitfields.exp: Likewise.
8563 * gdb.t15/{funcargs,return}.exp: Likewise.
8564 * gdb.stabs/weird.exp: Likewise.
8565 * config/{mips,udi}-gdb.exp: Likewise.
8566
8567 * hppa.sed: Enclose comments within a sed command to avoid
8568 losing with the old OSF1 sed.
8569
8570Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8571
8572 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8573 sequent dynix.
8574 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8575 * gdb.t15/funcargs.exp: Conditionally step again to really
8576 finish from marker_call_with_trampolines. Handle the case where
8577 the first step from within call_with_trampolines already steps
8578 us back to main.
8579 * gdb.t15/gdbme.c: Add comment to closing brace of
8580 call_with_trampolines for funcargs.exp.
8581
8582Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8583
beb998c6 8584 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8585 Fix typo(s).
8586
8587Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8588
8589 * gdb.t07/gdbme.c: More code for watchpoint testing.
8590
8591 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8592 "Hardware watchpoint" throughout file.
8593 (test_watchpoint_triggered_in_syscall): New test.
8594 (test_complex_watchpoint): New test.
8595
8596Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8597
8598 * gdbme.c (call_with_trampolines): New function to try and step
8599 into. Tests trampoline problems on the PA.
8600
8601 * funcargs.exp (localvars_in_indirect_call): No longer expect
8602 stepping into indirect call to fail on PAs.
8603 (test_stepping_over_trampolines): New test.
8604
8605Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8606
8607 * TODO: Add suggestions for static member function tests, and
8608 completion tests.
8609
8610Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8611
8612 * TODO: Add suggestions for "p/a" tests.
8613
8614 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8615 (default_gdb_exit): Replace all the hair with sending "quit" to
8616 the process with a simple close.
8617
8618Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8619
8620 * TODO: Add suggestions for shared library tests.
8621
8622Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8623
8624 * TODO: Add suggestions for x/s tests.
8625
8626Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8627
8628 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8629 "enable once", and "enable breakpoints once" with ".*".
8630
8631Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8632
8633 * TODO: Add suggestions about structure passing tests.
8634
8635Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8636
8637 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8638 the primary1 test, use work around if __GNUC__ < 2.
8639 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8640 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8641 Test for bad output rather than waiting for timeout. Issue
8642 second continue only if first continue failed.
8643
8644Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8645
8646 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8647 operator[] test with gdb_test because the old code didn't seem to
8648 be getting the quoting right with the new dejagnu.
8649
8650Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8651
8652 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8653 one from the path.
8654 * Makefile.in: Use a fresh expect if there is one, use runtest
8655 from the src tree if there is one.
beb998c6 8656
c906108c
SS
8657Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8658
8659 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8660 next over recursive call. Revise the tests from that point on
8661 (which had been skipped) to match GDB's actual (correct) output.
8662
8663 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8664 with next over a breakpoint whose condition is false.
8665
8666 * gdb.t00/help.exp: Comment out "help set print" tests just like
8667 (and for same reason as) "help set" test.
8668
8669Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8670
8671 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8672 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8673
8674Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8675
8676 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8677 necessary gdb_target_udi.
8678
8679 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8680
8681 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8682 1838 and 2417; they are fixed.
8683
8684 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8685 gdb.t03/ptype.exp (ptype structure, ptype union):
8686 Remove xfails; the test is looser than when the xfails were added.
8687
8688 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8689 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8690
8691 * gdb.t01/run.exp: Only run shell test if isnative.
8692
8693 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8694 since "run" automatically loads if necessary. Call gdb_target_udi
8695 after the "file" since "file" kills any execution target.
8696
8697 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8698 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8699 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8700 argument for UDI.
8701
8702Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8703
8704 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8705
8706 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8707
8708Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8709
8710 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8711 properly quoting regexps. This makes the second argument to
8712 demangle a fixed string, which matches the callers, instead of a
8713 shell-style pattern which is what the previous implementation
8714 used. Update some of the callers.
8715
8716Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8717
8718 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8719 (comib_nullified_tests): Fix typo.
8720 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8721 strings. No longer expected to fail.
8722
8723 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8724 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8725 strings. No longer expected to fail.
8726
8727 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8728 string. No longer expected to fail.
8729
8730Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8731
8732 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8733 No longer expected to fail.
8734
8735 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8736 string. No longer expected to fail.
8737
8738Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8739
8740 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8741 only in the names (I probably got most of them). I was even
8742 generous with some which differed in underscores in names, and
8743 probably missed a few, and I *still* was able to remove almost a
8744 third of the file with almost no impact on testsuite coverage.
8745
8746Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8747
8748 * gdb.t00/default.exp: Match udi_attach error message as well as
8749 the one from child_attach.
8750
8751 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8752
8753 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8754
8755 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8756 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8757
8758 * Move test with enums and partial symbols back to
8759 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8760 Reverts the change of 26 May 93. Per today's change to
8761 stabs.texinfo, the behavior that weird.exp was expecting was
8762 unreasonable; what is important is that the compiler+gdb get
8763 things right, which happens with a recent gcc. Also fix the test
8764 to deal with native compilers which put out the stab gdb can't
8765 deal with.
8766
8767Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8768
8769 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8770 in the names. The main thing these accomplish is to slow things down.
8771 Many more such duplicates surely remain.
8772
8773 * gdb.t00/help.exp: Comment out "help support" test just like
8774 (and for same reason as) "help set" test.
8775
8776Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8777
8778 * gdb.t06/break.exp: Remove setup_xfails for
8779 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8780 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8781 about known bug in gcc to include up through 2.5.8.
8782 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8783 well as "_vb$".
8784 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8785 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8786 with latest gcc and gdb.
8787 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8788 well as "_vb$".
8789
8790Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8791
8792 * configure.in (hppa*-*-*): Also configure and build stabs-only
8793 tests.
8794
8795Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8796
8797 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8798 * gdb.t10/configure.in (hppa*-*-*): Use it.
8799
8800Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8801
8802 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8803
8804Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8805
8806 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8807 versions prior to 1.13.5.
8808
8809Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8810
8811 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8812 the prompt is at the start of a line.
8813
8814Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8815
8816 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8817 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8818 in the copr tests now.
8819 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8820 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8821 expected to fail.
8822
8823Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8824
8825 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8826 gdb.t31/chillvars.exp, lib/gdb.exp:
8827 Tweak to run under either version of expect.
8828 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8829 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8830 * gdb.t11/list.exp: Remove extraneous whitespace.
8831
8832Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8833
8834 * gdb.t16/printcmds.exp (test_print_strings): Accept
8835 "(unsigned char *) " before the string.
8836
8837 * TODO: Add notes about printing of fancy types and GDB expressions.
8838
8839Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8840
8841 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8842 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8843 if doing mips-idt-ecoff.
c906108c
SS
8844
8845Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8846
8847 * Most .exp files: Tweak to run under either version of expect.
8848
8849Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8850
8851 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8852 xfails; I'm not sure why they are failing, but not because of PR 1806.
8853
8854Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8855
8856 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8857 defined in lib/gdb.exp.
8858
8859Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8860
8861 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8862 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8863 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8864 have to be typeless.
8865
8866Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8867
8868 * TODO: Add suggestion for copyright year test.
8869
8870Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8871
8872 * configure.in (*-*-lynxos*): Add stabs tests.
8873
8874Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8875
8876 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8877 so insert a tab before any assembler directive in column zero.
8878
8879 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8880 stores.
8881 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8882 stores.
8883 (fpu_short_memory_tests): Likewise.
8884
8885Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8886
8887 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8888 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8889 .stabs directives in comments.
8890
8891Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8892
8893 * TODO: New file, describing tests we could write.
8894 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8895
8896Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8897
8898 * gdb.t06/signals.exp: Add kludge to force re-sync.
8899
8900 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8901 to xgdb instead of gdb, get out of gdb.
8902
8903Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8904
8905 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8906 for info.
8907
8908Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8909
8910 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8911 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8912 * gdb.stabs/hppa.sed: New sed script for the PA.
8913
8914Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8915
8916 * gdb.stabs: Re-write weird.def and configuration to use sed
8917 instead of cpp. sed is portable and POSIX; cpp is neither.
8918
8919Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8920
8921 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8922
8923Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8924
8925 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8926
8927Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8928
8929 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8930 "_vb$".
8931 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8932 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8933
8934Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8935
8936 * lib/gdb.exp: Comment out code which depends on non-existent
8937 `transform' procedure.
8938
8939Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8940
8941 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8942 * lib/gdb.exp: Transform tool name.
8943 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8944 1.1's new error handling system.
8945
8946Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8947
8948 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8949
8950Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8951
8952 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8953 They made pattern matching so slow that timeouts happened on
8954 heavily loaded systems. Now any output from "show print" which
8955 gets us back to the GDB prompt is a PASS.
8956
8957Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8958
8959 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8960
8961Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8962
8963 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8964
8965 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8966 It is not from PR 3220.
8967
8968Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8969
8970 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8971 just started failing because they depended on the order the
8972 subcommands are presented, or exact docstring text. This kind of
8973 test is a pain and has minimal benefit.
8974
8975Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8976
8977 * gdb.t09/corefile.exp: At end of test, use "core" command with
8978 no arguments.
8979
8980Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8981
8982 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8983 17}/Makefile.in: Make it possible to run the testsuite with Sun
8984 make and CC = cross gcc by adding explicit build rules for .o
8985 files.
8986
8987Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8988
8989 * gdb.t15/funcargs.exp: Don't put comments on same line as
8990 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8991
c906108c
SS
8992Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8993
8994 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8995
8996Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8997
8998 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8999 * gdb.t20/inherit.exp: remove three dumplicate entries.
9000
9001Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9002
9003 * gdb.t06/break.exp: For "next over recursive call", fail on any
9004 incorrect output, not just on "factorial (value=2)".
9005
9006Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9007
9008 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9009 working now. Add an xfail if accesing a bss variable causes
9010 a memory error if the target is not yet run.
9011
9012Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9013
9014 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9015 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9016 name of __st* demangling (2 strings). Did Kung really get the
9017 more than 95 others right without testing them?
9018
9019Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9020
9021 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9022
9023Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9024
9025 * configure.in (configdirs): Add gdb.disasm
9026 * gdb.disasm: New directory for GDB disassembler tests.
9027 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9028
9029Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9030
9031 * gdb.t00/help.exp: Don't test "help set".
9032
9033 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9034 from within expect statements. None of these happen anymore and
9035 they cause regressions to be silently unnoticed.
9036
9037 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9038 messages) about known failures with gcc cygnus-2.4.5-930417.
9039
9040 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9041 comp-info.exp so it gets built if it doesn't exist.
9042
9043 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9044 it is no longer used.
9045 * gdb.t13/comp-info.c: Removed.
9046
9047Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9048
9049 * gdb.t06/signals.exp: Add xfail for sun3.
9050
9051Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9052
9053 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9054 relevant because ^C doesn't get sent but failure can be reproduced
9055 interactively).
9056
9057Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9058
9059 * gdb.stabs/alpha.mt: New configuration file for alpha.
9060 * gdb.stabs/configure.in: Use it.
9061 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9062 sharing with alpha.mt, redefine long to word via preprocessor.
9063 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9064 for alpha.
9065 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9066 native cc.
9067 * gdb.t00/teststrategy.exp: Change expect string so that we
9068 consume the `(xgdb)' from the command echo and from the gdb prompt.
9069 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9070 gdb currently compares all values as long, so this failure probably
9071 applies to any configuration where LONGEST is bigger than a target int.
9072 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9073 with gcc.
9074 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9075 to handle opaque pointers, gcc is.
9076 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9077 as first argument. Include <sys/types.h> and change all operator
9078 new definitions to use size_t.
9079 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9080 now that we use size_t.
9081
9082Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9083
9084 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9085 a long or float array cast all array members to the same type.
9086 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9087 with 64 bit longs.
9088 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9089 on alpha.
9090 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9091
9092Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9093
9094 * gdb.t24 (demangle.exp): Constructors of templates have names like
9095 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9096 section 14.6 of the ARM.
9097
9098 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9099 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9100 accomplish little and slow down the testsuite.
9101
9102 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9103 Accept spaces various places.
9104
9105Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9106
9107 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9108 with watchpoint enabled.
9109
9110 * Makefile.in: Remove definition of CC and remove the second
9111 definition of CXX (the "CXX = gcc" one remains). These definitions
9112 were causing backquotes to be expanded within backquotes, which
9113 doesn't work.
9114
9115Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9116
9117 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9118
9119Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9120
9121 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9122 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9123 by mips cc and contains no stabs entries.
9124
9125Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9126
9127 * config/vx-gdb.exp: Use fake device to load files rather than
9128 NFS.
9129 * lib/gdb.exp: New proc to do "file" command.
9130 * config/unix-gdb.exp: Use new "file" proc.
9131
9132Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9133
9134 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9135 Rework board rebooting slightly.
9136 (gdb_exit): Don't exit from the remote shell; there isn't one.
9137 * gdb.stabs/weird.exp: If a program is being debugged already,
9138 kill it.
9139 * gdb.t04/setvar.exp: Stop and restart gdb.
9140 * gdb.t05/expr.exp: Likewise.
9141 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9142 restart gdb and reload the program.
9143 * gdb.t08/opaque.exp: Likewise.
9144 * gdb.t12/scope.exp: Likewise.
9145 * gdb.t13/bitfields.exp: Likewise.
9146 * gdb.t15/funcargs.exp: Likewise.
9147 * gdb.t20/classes.exp: Likewise.
9148 * gdb.t03/ptype.exp: Increase timeout.
9149 * gdb.t16/printcmds.exp (test_print_string_constants,
9150 test_print_array_constants): Likewise.
9151 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9152 * gdb.t20/classes.exp (do_tests): Likewise.
9153 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9154
9155Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9156
9157 * gdb.stabs: Renamed *wierd* to *weird*.
9158
9159Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9160
9161 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9162 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9163
9164Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9165
9166 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9167 (do_tests): Remove xfail for whatis on one_var and two_var.
9168
9169Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9170
9171 * Makefile.in: Made cross building work better by adding
9172 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9173
9174Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9175
9176 * gdb.t15/{return.c,return.exp,Makefile.in}:
9177 New test, currently commented out.
9178
9179Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9180
9181 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9182 still running and removes the leftover named socket so GDb can do
9183 clean restarts.
9184
9185Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9186
9187 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9188 console, not GDB.
9189 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9190 cross testing works better with "make check"
9191 * config/unix-gdb: Use default procedures for exit and version.
9192 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9193 with the newest VxWorks.
9194
9195Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9196
9197 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9198 old form.
9199
9200 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9201 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9202
9203 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9204
9205 * config/unix-gdb.exp: Remove this version of gdb_exit
9206 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9207 Rob says he'll look at it when he gets back to testing boards.
9208
9209Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9210
9211 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9212 an expected fail for certain ptype commands.
9213
9214 * gdb.t20/classes.exp: Update expected results of "ptype class
9215 Base1" to account for the constructor that now appears in the type.
9216
9217Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9218
9219 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9220 disappeared from list.
9221 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9222 "alldone" proc with call to cleanup and exit.
9223 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9224 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9225 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9226 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9227 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9228 "alldone" proc with simple returns that suppress remaining
9229 tests. The alldone proc went away many months ago.
9230
9231Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9232
9233 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9234
9235 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9236
9237Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9238
9239 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9240 as vax gdb will display them.
9241
9242Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9243
9244 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9245 optimizers.
9246
9247 * scope.exp: Change "bad value for localval" messages so each one
9248 is unique.
9249
9250 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9251 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9252
9253 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9254
9255Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9256
9257 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9258 doesn't exist (due to optimization).
9259
9260Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9261
9262 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9263 contains \r because the filename is long.
9264
9265 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9266 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9267
9268Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9269
9270 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9271 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9272 Ultrix.
9273 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9274 int tests.
9275 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9276
9277Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9278
9279 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9280
9281 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9282 to match does not match the passing case but still matches the
c906108c
SS
9283 failing case.
9284
9285Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9286
9287 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9288
9289Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9290
9291 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9292 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9293 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9294 Remove various versions of gdb_exit.
9295 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9296 gdb_exit.
9297 * config/unix-gdb.exp: gdb_exit remains here, and should override
9298 the generic version, since it's doing a lot of wierd stuff that
9299 the other versions aren't. FIXME, fold it in, or abandon this
9300 version.
9301
9302Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9303
9304 * gdb.t24/demangle.exp: Add tests for PR 3220.
9305
9306Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9307
9308 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9309
9310Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9311
9312 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9313 "i386-*-*". Works for i486 as well.
9314
9315 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9316 bug, and expand domain of xfail to all SVR4 systems, since the
9317 actual problem is likely to be in generic SVR4 /proc support.
9318
9319Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9320
9321 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9322
9323Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9324
9325 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9326 xfails for other systems. Match a missing 'Continuing.' as an
9327 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9328
9329 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9330 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9331 Only issue warning for missing executables if -all option is used.
9332
9333 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9334 file if -all option is used. It's like an unpredictable XFAIL.
9335
9336Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9337
9338 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9339 for dynamically linked binaries.
9340
9341 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9342
9343Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9344
9345 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9346 to state that this is a known bug in old versions of g++.
9347
9348Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9349
9350 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9351 while waiting for `Continuing'.
9352
9353Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9354
9355 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9356 in text, data, and bss.
9357 * gdb.t10/nodebug.c: Add local and global test variables for
9358 initialized and uninitialized data.
9359
9360Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9361
9362 * config/unix-gdb.exp (gdb_exit): Add "wait".
9363
9364Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9365
9366 * gdb.t06/signals.exp: xfail the continue from the handler for all
9367 targets.
9368
9369 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9370 function with watchpoints enabled, the i386 call dummy starts with
9371 a call.
9372
9373 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9374 386 bsd names its corefiles.
9375
9376Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9377
9378 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9379 compilers don't grok it.
9380 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9381 with small octal ints rather than character constants, which
9382 are signed and might not fit if first promoted to int.
9383
9384Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9385
9386 * gdb.t09/Makefile.in (clean): Remove corefile.
9387
9388Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9389
9390 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9391
9392Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9393 and Jim Kingdon (kingdon@cygnus.com)
9394
9395 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9396 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9397 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9398
9399Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9400
9401 * gdb.t17/interrupt.exp: Add xfail for hppa.
9402
9403Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9404
9405 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9406 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9407 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9408 to determine signed-ness of bitfields and use the result to setup
9409 the xfail.
9410 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9411 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9412 call line is reached if necessary.
9413
9414Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9415
9416 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9417
9418Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9419
9420 * gdb.t06/break.exp: Also test `clear' command.
9421
9422Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9423
9424 * gdb.t00/teststrategy.exp: Remove extra quote.
9425
9426 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9427 watchpoint enabled to be for all non-68k machines.
9428
9429 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9430
9431Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9432
9433 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9434 targets use aout.mt instead of ecoff.mt as gas understands
9435 standard aout format.
9436
9437Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9438
9439 * lib/gdb.exp (runto): Don't insist that function we are running to
9440 was compiled with -g.
9441
9442 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9443
9444 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9445 to get back into the read system call.
9446 Accept leading newline in case where we woke it up.
9447
9448Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9449
9450 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9451 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9452 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9453 enable ecoff configuration.
9454
9455Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9456
9457 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9458
9459Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9460
9461 * gdb.t16/printcmds.exp: Add another printf test.
9462
9463Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9464
9465 * configure.in: If configured -with-stabs on any target, add
9466 stabsdirs to configdirs.
9467
9468Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9469
9470 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9471 fun" so pattern does not match the command itself.
9472
9473Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9474
9475 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9476
9477Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9478
9479 * gdb.t17/interrupt.exp: Test for more things.
9480
9481Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9482
9483 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9484 compiler arranges the code and line numbers.
9485
9486 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9487
9488Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9489
9490 * gdb.t00/help.exp: Increase expect input buffer size.
9491
9492Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9493
9494 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9495
9496 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9497
9498 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9499
9500 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9501 [0-9]*, not just [0-9].
9502
9503Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9504
9505 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9506
9507 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9508
9509Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9510
9511 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9512
9513Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9514
9515 * gdb.t06/signals.c: Add xfails for sun3.
9516
9517 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9518
9519 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9520 test_stepping tests.
9521
9522Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9523
9524 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9525
9526 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9527
9528 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9529 rather than actually putting it through cpp twice.
9530
9531 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9532
9533Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9534
9535 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9536 no longer needed.
9537
9538Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9539
9540 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9541
9542 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9543 C++ features prints as "struct", make it a pass, not an xfail.
9544
9545Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9546
9547 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9548 Don't require VA to print as "class" rather than "struct".
9549
9550Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9551
9552 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9553
9554Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9555
9556 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9557
9558Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9559
9560 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9561 order.
9562
9563Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9564
9565 * gdb.t16/printcmds.exp: Add printf tests.
9566
9567 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9568
9569 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9570
9571Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9572
9573 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9574 pass counts, to counteract any existing or future setup_xfails.
9575
9576Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9577
9578 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9579 {BEGIN,END}_COMMON for common block instead of STAB.
9580 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9581
9582 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9583 intp_var should be N_GSYM not N_LSYM.
9584 wierd-aout.S: Use a label for the value of the N_SO.
9585 wierd.def: Remove all backslashes.
9586 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9587
9588Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9589
9590 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9591 get the expected next to inheritance3.
9592
9593Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9594
9595 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9596 now that gcc-2.4 gets it right.
9597
9598Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9599
9600 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9601
9602 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9603 generating comp-info.exp which works for cross-compilation.
9604
9605Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9606
9607 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9608 "*-*-sysv4.*".
9609
9610Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9611
9612 * gdb.t01/run.exp: Start with a fresh gdb.
9613 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9614 SVR4.x.
9615
9616Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9617
9618 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9619 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9620 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9621 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9622 things to remove.
9623
9624Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9625
9626 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9627 test cases from bug reports.
9628
9629Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9630
9631 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9632 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9633 avoid spurious xfails.
9634 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9635 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9636 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9637
9638Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9639
9640 * gdb.t00/teststrategy.exp: Rework to provide more useful
9641 description of each test, fix problem with systems that define
9642 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9643 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9644 results for "next over recursive call" so timeouts aren't taken
9645 by error.
9646
9647Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9648
9649 * gdb.t12/scope.exp: Test printing of variables before run.
9650
9651 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9652 printed in wrong order due to sorting.
9653
9654Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9655
9656 * gdb.t00/teststrategy.exp: Fix expected results for printing
9657 user entered string constant. Is array of char, prints with no
9658 address.
9659
9660 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9661 commands.
9662 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9663 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9664 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9665 of struct of char arrays.
9666 * gdb.t00/radix.exp: New tests for radix commands.
9667
9668Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9669
9670 * gdb.t16/printcmd.exp: Print a variable before running program
9671 (with xfail for AIX).
9672
9673Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9674
9675 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9676
9677 * gdb.t16/printcmd.exp: Don't print variables before running program.
9678
9679 * gdb.t06/break.exp: Don't require envp argument to main.
9680
9681 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9682
9683 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9684 Add xfails for rs6000.
9685
9686 * gdb.t02/whatis.exp: Change other tests not to re-test something
9687 we already tested.
9688
9689 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9690 each type used has a variable of that type.
9691
9692Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9693
9694 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9695
9696Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9697
9698 * configure.in: change srctrigger to be a file, not a directory
9699
9700Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9701
9702 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9703
9704 * gdb.t11/list.exp: Fixed a couple of typos.
9705
9706Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9707
9708 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9709 is fixed and PR is closed.
9710 * gdb.t16 (gdbme.c): Add simple test string variable.
9711 * gdb.t16 (printcmds.exp): Add tests with simple test string
9712 variable, primarily for boundaries on "set print elements".
9713
9714Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9715
9716 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9717 Make leading 0's optional and don't expect a tab in the middle
9718 of the number.
9719
9720 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9721
9722 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9723 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9724 don't end command passed to gdb_test with newline.
9725
9726 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9727 signed keyword away, don't expect signed bitfields to be signed.
9728
9729 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9730 printing with only as many 1's as are in the field as well as printing
9731 with 32 1's (see comment).
9732
9733Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9734
9735 * gdb.t00/default.exp: Start with a fresh gdb.
9736 * configure.in (configdirs): Remove gdb.t31 until the chill
9737 compiler works again. It no longer is able to find chillrt0
9738 since it isn't in libchill.a anymore.
9739 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9740 wierd.o, make more modular.
9741 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9742 spurious newlines that caused problems.
9743
9744Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9745
9746 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9747 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9748 gdb.stabs/wierd.{exp,def}: Many new tests.
9749
9750 * gdb.t00/default.exp: update info line for new message.
9751
9752 * gdb.t02/{whatis.exp,gdbme.c}:
9753 Test that "char *" doesn't print as "caddr_t".
9754
9755Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9756
9757 * gdb.t00/help.exp: Use .* in place of some help messages which
9758 just changed.
9759 gdb.t00/default.exp: Update "info frame" test for new message.
9760 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9761 Remove some xfails
9762
9763Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9764
9765 * gdb.t03/{gdbme.c,ptype.exp}:
9766 Add tests for typedef'd struct and union without tags.
9767 Also check "whatis" on a variable of a typedef'd enum without a tag.
9768
9769 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9770 PRMS 1823; the bug still exists but isn't reproduced by this test
9771 anymore), and remove rs6000 XFAIL (the bug is fixed).
9772
9773 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9774 duplicated from whatis.exp. For those that are left, accept
9775 "long", "long int", or "int" for long variables (whatis.exp already
9776 has an XFAIL for "int", so no need to fail it here).
9777
9778 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9779 Deal with GCC's names for types now that GDB uses the compiler's names.
9780
9781 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9782 setup_xfail's for sunos4. If we #defined the signed keyword away,
9783 don't expect GDB to know that char it is signed.
9784
9785 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9786
9787Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9788
9789 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9790 should work on any system, regardless of debugging format.
9791 * gdb.t21/demangle.exp: Move to gdb.t24.
9792 * gdb.t24/demangle.exp: Move from gdb.t21.
9793 * gdb.t24/{Makefile.in, configure.in}: New files.
9794
9795Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9796
9797 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9798 * gdb.stabs: New directory.
9799
9800Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9801
9802 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9803 not just "Quit anyway?".
9804
9805Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9806
9807 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9808 that all setup_xfails are immediately followed by clear_xfails.
9809
9810Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9811
9812 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9813 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9814 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9815 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9816 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9817 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9818 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9819 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9820 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9821 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9822 gdb.t31/chillvars.exp, lib/gdb.exp:
9823 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9824 bug-gdb@prep.ai.mit.edu.
9825
9826Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9827
9828 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9829 with 0.0, not integer 0.
9830
9831Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9832
9833 * gdb.t06/break.exp: Update for "Kill the program" message change.
9834
9835Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9836
9837 * Makefile.in (GDBFLAGS): Set to -nx.
9838 * Makefile.in (site.exp): Use GDBFLAGS.
9839
9840Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9841
9842 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9843 Makefiles.
9844 (check): depend on just-check.
9845 (just-check): added so that tests can be run without a noop
9846 build pass.
9847
9848Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9849
9850 Switch to using configure's configdirs.
9851 * Makefile.in (Makefile): add configure.in dependency.
9852 (SUBDIRS): removed redundant assignment.
9853 * configure.in: switch subdirs assignment to configdirs.
9854 * gdb.t*/configure.in: new files.
9855
9856Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9857
9858 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9859 works.
9860
9861Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9862
9863 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9864 in explicit rules. Apparently this is not supported by some makes.
9865
9866Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9867
9868 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9869
9870Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9871
9872 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9873 disappeared.
9874
9875Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9876
9877 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9878
9879Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9880
9881 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9882 watchpoint problem that is now fixed.
9883 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9884 uninitialized convenience variables.
9885 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9886 structures.
9887
9888Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9889
9890 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9891 which causes expect to get out of sync with gdb on long output
9892 from help set.
9893 * gdb.t09/corefile.exp: Make expected pattern for core file
9894 failing signal and frame output format less sun specific.
9895
9896Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9897
9898 * gdb.t31/chillvars.exp: Add and remove initial dummy
9899 breakpoint, so that symbol table is forced in.
9900 (Needed at least on Sunos4, though it seems not SVR4.)
9901 * gdb.t31/chillvars.exp: Update for changed output format.
9902
9903Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9904
9905 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9906
9907Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9908
9909 * Makefile.in: Added --srcdir when invoking runtest, removed the
9910 need for a local config file. (optional now)
9911
9912Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9913
9914 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9915 failure count used to force early termination. Add some more
9916 expected failures for gnu style demangling.
9917
9918Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9919
9920 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9921 pmi variable from gdb.t20/gdbme to get optimized away.
9922 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9923 Check for written corefile upon timeout _and_ eof.
9924
9925Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9926
9927 * config/unix-gdb.exp: Add missing return 0.
9928
9929Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9930
9931 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9932 test termination.
9933
9934Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9935
9936 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9937 disappeared.
9938
9939Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9940
9941 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9942 time as i860 support works.
9943
beb998c6 9944 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9945 "backtrace 100\r" rather than just "backtrace\r", to match last
9946 change.
9947
9948Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9949
9950 * config/udi-gdb.exp (gdb_exit): Remove close command.
9951 (gdb_target_udi): New procedure to set the UDI target.
9952 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9953 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9954 Added waits for prompts after several question responses. Added
9955 some more responses used by a29k-amd-udi-gdb.
9956 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9957 pass different arguments, restart UDI connection after program
9958 completion.
9959 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9960 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9961 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9962 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9963 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9964 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9965 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9966 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9967 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9968 after program completion.
9969 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9970 compiled with a SELECT_VECS setting.
9971 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9972 infinite recursion.
9973
9974 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9975 Added checks for COFF results, and made them expected failures for
9976 all targets. It would be better to make them expected failures
9977 for COFF targets only.
9978
9979Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9980
9981 * Makefile.in: add null dvi target, don't bother to recurse
9982 through test directories for info and install-info; rename
9983 $(datadir) to be dejagnu instead of deja-gnu
9984
9985Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9986
9987 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9988 compiler to coredump.
9989 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9990 code.
9991
9992Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9993
9994 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9995 coredump.
9996 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9997 code.
9998
9999Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10000
10001 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10002 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10003 which in a shell. Deletes xgdb when done.
10004 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10005 Tests the return from the "set height" or "set width" commands.
10006 Added a few return codes where needed.
10007
10008Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10009
10010 * Makefile.in (SUBDIRS): Add gdb.t17.
10011 * configure.in (subdirs): Add gdb.t17.
10012 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10013 files to test gdb's calling of functions in the inferior with
10014 the correct arguments and gdb's ability to retrieve any
10015 result returned.
10016
10017Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10018
10019 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10020 may be called after gdb goes away. Previous versions of expect
10021 needed these to avoid file descriptor leaks, but they cause
10022 errors with the current revision of expect.
10023 * gdb.t00/gdbvars.exp: Use -re on expected output after
10024 setting sevenbit-strings.
10025 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10026 to set sevenbit-strings consistent across tests.
10027 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10028 set sevenbit-strings consistent across tests.
10029
10030Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10031
10032 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10033 expected output to match current "expect" expectations.
10034
10035Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10036
10037 * gdb.t00/default.exp: Change expected output for default "source"
10038 command, to match new gdb behavior which requires a filename to
10039 source.
10040
10041Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10042
10043 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10044 expected fail for i486-*-* that misses the marker2 function.
10045 * gdb.t10/crossload.exp (bfddefault): Allow successful
10046 recognition of a format to pass even if no symbols are found.
10047 Explicitly catch failures where the format is not recognized
10048 or is ambiguous, and add the reason to the fail message.
10049 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10050 the cause is and invalid target and add reason to failure message.
10051 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10052 elf32-i386, elf32-sparc, and elf32-i860.
10053 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10054 Set up expected failure for 'filename'::variable scope resolution,
10055 which is now apparently broken on all targets.
10056 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10057 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10058 gdb.t23/templates.exp: Change failure for missing binfile into
10059 just a warning.
10060 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10061 references.
10062
10063Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10064
10065 * gdb.t00/default.exp: Add expected output for default "source"
10066 command, to match new gdb behavior.
10067 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10068
10069Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10070
10071 * config/*-gdb.exp: returns an error, rather than exiting on
10072 internal errors.
10073
10074Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10075
10076 * gdb.t03/gdbme.c: Add pointer to struct variable.
10077 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10078 referencing struct members.
10079
10080Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10081
10082 * configure.in (mips-idt-ecoff): New target.
10083 * config/mips-gdb.exp: New file for remote board using MIPS remote
10084 debugging protocol.
10085
10086 * Redid configuration scheme. Removed gdb.t*/configure.in.
10087 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10088 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10089 distclean targets. Built executables via .o files. Adjusted
10090 tests to account for source files in $(srcdir) rather than
10091 $(objdir).
10092 * lib/gdb.exp (runto): Don't expect () after the function name,
10093 because it may have arguments.
10094
10095Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10096
10097 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10098 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10099 expected failures for mips-idt-* and mips-sgi-*.
10100 * gdb.t00/default.exp (attach): Kill process if requested.
10101 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10102 that does not read core files.
10103 * gdb.t01/run.exp: Removed checks for exit status code.
10104 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10105 it is linked in.
10106 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10107 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10108 appropriate, rather than doing it by hand.
10109 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10110 execution.
10111 * gdb.t10/crossload.exp: Kill existing program if needed.
10112 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10113 appropriate, rather than doing it by hand. Always increase
10114 timeout for this test, not just for VxWorks.
10115
10116Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10117
10118 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10119 of Chill STRUCT types and STRUCT values.
10120 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10121 than "char".
10122 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10123 struct2): New struct definitions and initializations to test
c906108c
SS
10124 simple Chill STRUCT types.
10125
10126Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10127
10128 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10129 the null byte at the end of strings.
10130 * gdb.t00/default.exp: Make show version insensitive to copyright
10131 date.
10132 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10133 to avoid dependencies on target char signedness.
10134 * gdb.t16/printcmds.exp: Update expected results for explicitly
10135 unsigned char.
10136 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10137 now work.
10138 * gdb.t21/demangle.exp: Add many more patterns for template
10139 demangling, most of them being expected failures.
10140 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10141 string we are matching for, to match on the whole string.
10142 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10143 and fix a whole bunch that had incorrect expected output but were
10144 passing anyway because of the bug in "proc demangle".
10145 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10146 type.
10147 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10148
10149Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10150
10151 * gdb/testsuite: made modifications to testcases, etc., to allow
10152 them to work properly given the reorganization of deja-gnu and the
10153 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10154
10155Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10156
10157 * gdb/testsuite: Initial creation of gdb/testsuite.
10158 Migrated dejagnu testcases and support files for testing nm to
10159 gdb/testsuite from deja-gnu. These files were moved "as is"
10160 with no modifications. This migration is part of a major overhaul
10161 of dejagnu. The modifications to these testcases, etc., which
10162 will allow them to work with the new version of dejagnu will be
10163 made in a future update.
10164\f
10165Local Variables:
10166mode: indented-text
10167left-margin: 8
10168fill-column: 74
10169version-control: never
10170End:
This page took 0.879008 seconds and 4 git commands to generate.