* objc-lang.c (CONVERT_FUNCPTR): Remove macro
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e9ecd949
JB
12003-05-29 Jim Blandy <jimb@redhat.com>
2
3 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
4 'core.PID'.
5
e3e5a4f3
JB
62003-05-22 Jim Blandy <jimb@redhat.com>
7
8 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
9 backtrace.
10
72fe3d25
DC
112003-05-20 David Carlton <carlton@math.stanford.edu>
12
13 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14 this time.
15
58da2eb2
DC
162003-05-19 David Carlton <carlton@bactrian.org>
17
18 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
19 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20
1fcb5155
DC
212003-05-19 David Carlton <carlton@bactrian.org>
22
23 * gdb.c++/namespace.exp: Add namespace scope and anonymous
24 namespace tests.
25 Bump copyright date.
26 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
27 (main): Call C::D::marker2.
28 * gdb.c++/namespace1.cc: New file.
29
85e85163
JJ
302003-05-14 Jeff Johnston <jjohnstn@redhat.com>
31
32 Roland McGrath <roland@redhat.com>
33 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
34 there is no manager thread.
35
a25fbfec
JJ
362003-05-08 Jeff Johnston <jjohnstn@redhat.com>
37
38 * gdb.threads/schedlock.exp: Remove assumption that all threads
39 will run in a particular small time slice. Also ensure we break
40 in one of the child threads rather than the main thread.
41
be375bae
JB
422003-05-07 Jim Blandy <jimb@redhat.com>
43
09bf6082
JB
44 Add support for assembly source testing on the s390x.
45 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
46 architecture.
47 * gdb.asm/s390x.inc: New file.
48
be375bae
JB
49 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
50 succession of 'if' statements.
51
00905d52
AC
522003-05-05 Andrew Cagney <cagney@redhat.com>
53
54 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
55
b1e29e33
AC
562003-05-05 Andrew Cagney <cagney@redhat.com>
57
58 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
59 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
60
e33d66ec
EZ
612003-05-02 Elena Zannoni <ezannoni@redhat.com>
62
63 * gdb.base/charset.exp: Update based on new behavior of set/show
64 charset commands.
65
2b6fd0d8
AC
662003-05-01 Andrew Cagney <cagney@redhat.com>
67
68 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
69 variable do not give memory errors.
70
130cacce
AF
712003-04-30 Adam Fedor <fedor@gnu.org>
72
73 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
74 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
75 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
76 gdb.objc/basicclass.m: : New files
77
78 * lib/gdb.exp (gdb_compile_objc): New procedure.
79
bea71854
DJ
802003-04-27 Daniel Jacobowitz <drow@mvista.com>
81
82 * gdb.base/signals.exp: Make backtrace tests more specific.
83
0f20eeea
DC
842003-04-23 David Carlton <carlton@bactrian.org>
85
86 * gdb.c++/maint.exp (test_first_component): Add tests for
87 'operator' in more locations.
88
c8c4d8dc
KB
892003-04-16 Kevin Buettner <kevinb@redhat.com>
90
91 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
92
3fe60e3c
EZ
932003-04-16 Elena Zannoni <ezannoni@redhat.com>
94
95 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
96 func marke' instead. Update test name.
97
9219021c
DC
982003-04-15 David Carlton <carlton@math.stanford.edu>
99
100 * gdb.c++/maint.exp: New file.
101
5dd55bdd
EZ
1022003-04-14 Elena Zannoni <ezannoni@redhat.com>
103
104 * gdb.threads/schedlock.c: Change type of thread function argument
105 to long, to avoid warnings on 64-bit platforms.
106
00890572
EZ
1072003-04-14 Elena Zannoni <ezannoni@redhat.com>
108
109 * gdb.base/attach.exp: Add new message from ptrace in case of
110 attaching to nonexistent process.
111
93201743
JB
1122003-04-11 Jim Blandy <jimb@redhat.com>
113
114 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
115 gdb.c++/userdef.cc: Place comments on the lines to which the
116 marker function might return.
117 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
118 gdb.c++/userdef.exp: Look for those comments to check that we've
119 returned to the right place, instead of checking line numbers.
120
2a11c64d
EZ
1212003-04-11 Elena Zannoni <ezannoni@redhat.com>
122
123 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
124 match on sourcefile name, instead of directory name.
125
68ab8fc5
EZ
1262003-04-10 Elena Zannoni <ezannoni@redhat.com>
127
128 * gdb.base/completion.exp: Use string_to_regexp to match the
129 working directory name.
130
5624293a
JB
1312003-04-09 Jim Blandy <jimb@redhat.com>
132
133 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
134 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
135 after an inferior function call, report the failure, but allow the
136 test to continue.
137
f1f02ee4
SC
1382003-04-05 Stephane Carrez <stcarrez@nerim.fr>
139
140 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
141 with -DPROTOTYPES.
142
6eb79af0
SC
1432003-04-05 Stephane Carrez <stcarrez@nerim.fr>
144
145 * gdb.base/break.exp: Revert last patch.
146
8dfb4cf0
SC
1472003-04-04 Stephane Carrez <stcarrez@nerim.fr>
148
149 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
150 with -DPROTOTYPES.
151
ed4c619a
AC
1522003-04-02 Andrew Cagney <cagney@redhat.com>
153
154 * gdb.base/callfuncs.exp: Make "print add" messages unique.
155 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
156 matching directories by the name breakpoint.
157 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
158 Make "continue to marker1" consistent.
159 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
160 message consistent.
161 * lib/gdb.exp: Put "the program is no longer running", and "the
162 program exited" in parenthesis.
163 * lib/mi-support.exp: Ditto.
164
4e35d5f0
BR
1652003-04-02 Bob Rossi <bob_rossi@cox.net>
166
167 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
168
71900fe8
AC
1692003-03-29 Andrew Cagney <cagney@redhat.com>
170
171 * gdb.base/sizeof.c (main): Print the value of '\377'.
172 * gdb.base/sizeof.exp: Check the sign of '\377'.
173
c0655a16
MC
1742003-03-27 Michael Chastain <mec@shout.net>
175
176 * gdb.base/gdb1090.exp: New file.
177 * gdb.base/gdb1090.cc: New file.
178
5b2a3989
JB
1792003-03-27 J. Brobecker <brobecker@gnat.com>
180
181 * gdb.gdb/observer.exp: New regression test.
182
79876890
MC
1832003-03-27 Michael Chastain <mec@shout.net>
184
185 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
186 * gdb.base/ptype.exp: Likewise.
187
6eac95e3
CV
1882003-03-27 Corinna Vinschen <vinschen@redhat.com>
189
190 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
191
e8c71839
MC
1922003-03-26 Michael Chastain <mec@shout.net>
193
194 * gdb.base/ptype.exp: Actually use some typedef'd types.
195
71b10041
SC
1962003-03-21 Stephane Carrez <stcarrez@nerim.fr>
197
198 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
199 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
200
2512cf80
CV
2012003-03-20 Corinna Vinschen <vinschen@redhat.com>
202
203 * gdb.base/default.exp: Fix regular expression.
204
0d195a4f
CV
2052003-03-20 Corinna Vinschen <vinschen@redhat.com>
206
207 * gdb.base/args.exp: Fix regular expression.
208
8a2dbca8
CV
2092003-03-20 Corinna Vinschen <vinschen@redhat.com>
210
211 * gdb.base/help.exp: Allow Win32 child process.
212
bf028682
CV
2132003-03-20 Corinna Vinschen <vinschen@redhat.com>
214
215 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
216 when stepping out of main().
217
182dbe85
CV
2182003-03-20 Corinna Vinschen <vinschen@redhat.com>
219
220 * gdb.base/default.exp: Check for win32 specific message when calling
221 "run" without executable.
222
d67a6ba5
CV
2232003-03-20 Corinna Vinschen <vinschen@redhat.com>
224
225 * gdb.base/args.exp: Expect .exe in output.
226
a955b5bb
CV
2272003-03-20 Corinna Vinschen <vinschen@redhat.com>
228
229 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
230 Cygwin native.
231
bf6bad4b
AC
2322003-03-17 Andrew Cagney <cagney@redhat.com>
233
234 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
235 vector registes.
236 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
237 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
238
293e9a31
DC
2392003-03-17 David Carlton <carlton@math.stanford.edu>
240
241 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
242 test, for PR breakpoints/38.
243 Call test_watchpoint_and_breakpoint.
244 * gdb.base/watchpoint.c (func3): New function.
245 (main): Call func3.
246
5330f2db
DC
2472003-03-04 David Carlton <carlton@math.stanford.edu>
248
249 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
250 Garply<Garply<char> >:: garply".
251 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
252 with respect to PR c++/1111; note also PR c++/1113.
253 (test_template_breakpoints): KFAIL "constructor breakpoint" with
254 respect to PR c++/1062.
255 KFAIL "destructor breakpoint" with respect to PR c++/1112.
256
6ece72da
DC
2572003-03-03 David Carlton <carlton@math.stanford.edu>
258
259 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
260 with respect to PR c++/57.
261 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
262 c++/826.
263 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
264 respect to PR c++/57.
265
85ca1584
DC
2662003-03-03 David Carlton <carlton@math.stanford.edu>
267
268 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
269 respect to PR c++/33 into FAILs.
270
98e9c5b8
MC
2712003-03-03 Michael Chastain <mec@shout.net>
272
7bedbf27
MC
273 * configure.in: Update copyright years.
274
2752003-03-03 Michael Chastain <mec@shout.net>
276
277 * Makefile.in: Update copyright years.
98e9c5b8 278
f683e100
DC
2792003-02-28 David Carlton <carlton@math.stanford.edu>
280
281 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
282 print class instead of struct and/or superfluous protection
283 specifiers, as long as the resulting output is equivalent to the
284 source code.
285 Delete FIXME from end of messages on tests that don't need
286 fixing.
287
a9e0cf2c
DC
2882003-02-28 David Carlton <carlton@math.stanford.edu>
289
290 * gdb.c++/templates.exp (do_tests): Allow const in the two
291 Foo<volatile char *>::foo tests.
292
e8d359df
MS
2932003-02-27 Michael Snyder <msnyder@redhat.com>
294
295 * gdb.base/restore.c (main): Return zero, so exit code
296 will be consistant.
297
0b71dc91
DC
2982003-02-26 David Carlton <carlton@math.stanford.edu>
299
300 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
301 char *>::foo" test with respect to PR c++/33. Create a new test
302 which is identical to that one except that it doesn't put the
303 space between the "char" and the "*"; KFAIL it, too.
304
dd14ab43
DC
3052003-02-26 David Carlton <carlton@math.stanford.edu>
306
307 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
308 template types into either PASSes or KFAILs (corresponding to PR
309 c++/57). Tweak indentation. Update copyright.
310
1146c7f1
SC
3112003-02-23 Stephane Carrez <stcarrez@nerim.fr>
312
313 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
314
74641dfb
MC
3152003-02-13 Michael Chastain <mec@shout.net>
316
317 * gdb.base/exprs.exp: Remove i960 remnants.
318 * gdb.base/funcargs.exp: Likewise.
319 * gdb.base/list.exp: Likewise.
320 * gdb.base/ptype.exp: Likewise.
321
559cd2d0
DC
3222003-02-14 David Carlton <carlton@math.stanford.edu>
323
324 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
325 pEe->D::vg()" from XFAIL to KFAIL.
326
c4f90d87
JM
3272003-02-13 Jason Molenda (jmolenda@apple.com)
328
329 * gdb.base/maint.exp: Update maint print statistics regexp to include
330 new entries.
331
cbc4d97c
MC
3322003-02-13 Michael Chastain <mec@shout.net>
333
334 * gdb.c++/inherit.exp: Remove call to get_debug_format.
335
40f235b7
MC
3362003-02-12 Michael Chastain <mec@shout.net>
337
338 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
339 * gdb.c++/inherit.exp: Likewise.
340 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
341 * gdb.c++/templates.exp: Likewise.
342 * gdb.c++/virtfunc.exp: Likewise.
343
c56716b0
JM
3442003-02-06 Jason Molenda (jason-cl@molenda.com)
345
346 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
347 why the code is written that way.
348
070afcf8
MC
3492003-02-05 Michael Chastain <mec@shout.net>
350
351 * gdb.base/dump.exp: Add missing copyright line.
352
5d0331e5
JM
3532003-02-05 Jason Molenda (jason-cl@molenda.com)
354
f7ae6d3e 355 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
356 at the beginning so the breakpoint doesn't get set on the loop.
357
92851186
MC
3582003-02-05 Michael Chastain <mec@shout.net>
359
360 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
361 output for configurations with gcc 2.95.3.
362
cbf1e085
AC
3632003-02-05 Keith Seitz <keiths@redhat.com>
364 Andrew Cagney <ac131313@redhat.com>
365
366 * gdb.mi/mi-cli.exp: New file.
367
29518e1e
MC
3682003-02-04 Michael Chastain <mec@shout.net>
369
370 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
371 Call perror and then continue.
372
5af1d5f3
MC
3732003-02-03 Michael Chastain <mec@shout.net>
374
375 * gdb.c++/pr-1023.cc: New file.
376 * gdb.c++/pr-1023.exp: New file.
377
6b549786
JB
3782003-02-05 Jim Blandy <jimb@redhat.com>
379
380 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
381 it's local to foobar. Check for it there, and check that it's not
382 present in main.
383 * gdb.c++/local.cc (marker2): New function.
384 (foobar): Call marker1.
385 (main): Call marker2 instead of marker1.
386
67f16606
AC
3872003-02-04 Andrew Cagney <ac131313@redhat.com>
388
389 * gdb.disasm/mn10200.exp: Obsolete file.
390 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
391 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
392 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
393
1c5cb38e
DC
3942003-02-04 David Carlton <carlton@math.stanford.edu>
395
396 * gdb.c++/overload.exp: Test intToChar(1).
397 * gdb.c++/overload.cc (intToChar): New.
398 (main): Call intToChar.
399
d1fe6965
DC
4002003-02-03 David Carlton <carlton@math.stanford.edu>
401
402 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
403 'might_kfail' arg.
404 KFAIL some of the continue_to_bp_overloaded calls, according to
405 PR c++/1025.
406
9ba61c5d
MC
4072003-02-01 Michael Chastain <mec@shout.net>
408
409 * gdb.base/advance.c (marker1): New marker function.
410 * gdb.base/advance.exp: When the 'advance' command lands on the
411 return breakpoint, it can legitimately stop on either the
412 current line or the next line. Accommodate both outcomes.
413 * gdb.base/until.exp: Likewise.
414
e7494ffb
AC
4152003-02-02 Andrew Cagney <ac131313@redhat.com>
416
417 2002-11-10 Jason Molenda (jason-cl@molenda.com):
418 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
419 now a list, not a tuple.
420 * gdb.mi/mi-var-display.exp: Ditto.
421 * gdb.mi/gdb792.exp: Ditto.
422
075559bc
AC
4232003-02-01 Andrew Cagney <ac131313@redhat.com>
424
425 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
426 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
427 stack backtraces.
428 * gdb.mi/mi-syn-frame.c: Part of same.
429
2bd4c7b1
MK
4302003-02-01 Mark Kettenis <kettenis@gnu.org>
431
432 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
433 gdb.mi/mi1-pthreads.exp: Return instead of calling
434 gdb_suppress_entire_file.
435
eabd8992
MS
4362003-02-01 Mark Salter <msalter@redhat.com>
437
438 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
439
71469e2f
MS
4402003-01-31 Mark Salter <msalter@redhat.com>
441
442 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
443 Support empty arg.
444
38a94d44
MC
4452003-01-30 Michael Chastain <mec@shout.net>
446
447 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
448 This was a workaround for a UTF-8 bug in readline 4.3. The bug
449 has been fixed in gdb/readline on 2003-01-09.
450
19ea9e73
MS
4512003-01-29 Michael Snyder <msnyder@redhat.com>
452
e8d359df
MS
453 * gdb.base/maint.exp: Allow for leading underscore in symbol.
454 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
455 * gdb.base/args.exp: Skip if target does not support args passing.
456
2307bd6a
DJ
4572003-01-22 Daniel Jacobowitz <drow@mvista.com>
458
19ea9e73 459 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
460 gdb_test. Accept a list of expect arguments as the third
461 parameter.
462 (gdb_test): Use it.
463
f2dd3617
EZ
4642003-01-20 Elena Zannoni <ezannoni@redhat.com>
465
466 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
467 allow for different test tree configurations. Update some
468 tescases accordingly.
469 * gdb.arch/altivec-regs.exp: Ditto.
470 * gdb.asm/asm-source.exp: Ditto.
471 * gdb.base/advance.exp: Ditto.
472 * gdb.base/display.exp: Ditto.
473 * gdb.base/long_long.exp: Ditto.
474 * gdb.base/mips_pro.exp: Ditto.
475 * gdb.base/overlays.exp: Ditto.
476 * gdb.base/relocate.exp: Ditto.
477 * gdb.base/setshow.exp: Ditto.
478 * gdb.base/step-line.exp: Ditto.
479 * gdb.base/step-test.exp: Ditto.
480 * gdb.base/until.exp: Ditto.
481 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
482
c71cdefd
DC
4832003-01-17 David Carlton <carlton@math.stanford.edu>
484
485 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
486 corresponding to PR c++/945.
487 Update copyright.
488
fdba05d7
DC
4892003-01-17 David Carlton <carlton@math.stanford.edu>
490
491 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
492 corresponding to PR c++/68.
493
4942003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
495
496 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
497 (test_paddr_hairy_functions): Call print_addr_2_kfail for
498 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
499
c362c33a
EZ
5002003-01-15 Elena Zannoni <ezannoni@redhat.com>
501
0fbc361c
EZ
502 * gdb.base/break.exp: Fix change of default location, because of
503 removal of until tests.
504 * gdb.base/help.exp: Update test for new 'until' help message.
505 Add test for help on 'advance'.
c362c33a
EZ
506 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
507
dabf8a35
MK
5082003-01-15 Mark Kettenis <kettenis@gnu.org>
509
510 * gdb.base/default.exp: Adapt "info float" test for recent changes
511 to that command. Add test for "info vector".
512 * gdb.base/float.exp: New file. Add test for "info float" that
513 resembles the old test in gdb.base/default.exp.
514
a1769aca
DC
5152003-01-15 David Carlton <carlton@math.stanford.edu>
516
517 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
518
82025e13
EZ
5192003-01-15 Elena Zannoni <ezannoni@redhat.com>
520
521 * gdb.base/break.exp: Move the tests of until command from here...
522 * gdb.base/until.exp: ... to here. New file. Add other tests.
523 * gdb.base/advance.c: New file.
524 * gdb.base/advance.exp: New file.
525
8f9ab801
EZ
5262003-01-14 Elena Zannoni <ezannoni@redhat.com>
527
528 * gdb.base/args.c: New file.
529 * gdb.base/args.exp: New file.
530
9ae66589
DJ
5312003-01-14 Daniel Jacobowitz <drow@mvista.com>
532
533 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
534
8d77e5c3
DJ
5352003-01-14 Daniel Jacobowitz <drow@mvista.com>
536
537 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
538
12d2f0a1
DJ
5392003-01-14 Daniel Jacobowitz <drow@mvista.com>
540
541 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
542 dates.
543
6ca37014
DJ
5442003-01-13 Daniel Jacobowitz <drow@mvista.com>
545
546 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
547
b0023472
DJ
5482003-01-13 Daniel Jacobowitz <drow@mvista.com>
549
550 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
551 (ptype &*"foo").
552 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
553
d6abaea5
DJ
5542002-01-13 Daniel Jacobowitz <drow@mvista.com>
555
556 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
557 * gdb.mi/mi1-console.exp: Likewise.
558
dfd536a7
DJ
5592002-01-13 Daniel Jacobowitz <drow@mvista.com>
560
561 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
562 * gdb.mi/mi1-console.exp: Likewise.
563
a1fb14a2
DJ
5642003-01-13 Daniel Jacobowitz <drow@mvista.com>
565
566 * gdb.c++/overload.exp: Remove some fixed XFAILs.
567
c4cf40b7
DJ
5682003-01-09 Daniel Jacobowitz <drow@mvista.com>
569
570 * gdb.base/detach.exp: New test.
571
696d5a5b
DJ
5722003-01-09 Daniel Jacobowitz <drow@mvista.com>
573
574 * Makefile.in (ALL_SUBDIRS): New variable.
575 (subdirs, clean, distclean): Use it.
576 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
577 regenerating Makefile, since it is generated from the top level.
578 * gdb.asm/Makefile.in: Likewise.
579 * gdb.base/Makefile.in: Likewise.
580 * gdb.c++/Makefile.in: Likewise.
581 * gdb.disasm/Makefile.in: Likewise.
582 * gdb.java/Makefile.in: Likewise.
583 * gdb.mi/Makefile.in: Likewise.
584 * gdb.threads/Makefile.in: Likewise.
585 * gdb.trace/Makefile.in: Likewise.
586
754533e4
DC
5872003-01-09 David Carlton <carlton@math.stanford.edu>
588
589 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
590 Add copyright year 2003.
591
d8b3e9ee
MC
5922003-01-06 Michael Chastain <mec@shout.net>
593
594 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
595 When selecting a thread, 'line' and 'file' are optional.
596 * gdb.mi/mi1-pthreads.exp: Likewise.
597
8e9e0fe6
AS
5982003-01-06 Andreas Schwab <schwab@suse.de>
599
600 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
601 failures.
602
b5ab8ff3
DJ
6032003-01-04 Daniel Jacobowitz <drow@mvista.com>
604
605 Fix PR gdb/844
606 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
607 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
608
609 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
610 instead of calling gdb_suppress_entire_file.
611 * gdb.threads/print-threads.exp: Likewise.
612 * gdb.threads/schedlock.exp: Likewise.
613
614 * gdb.threads/killed.exp: Return instead of calling
615 gdb_suppress_entire_file.
616 * gdb.threads/linux-dp.exp: Likewise.
617 * gdb.threads/pthreads.exp: Likewise.
618
1e698235
DJ
6192003-01-04 Daniel Jacobowitz <drow@mvista.com>
620
621 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
622 stabs.
623 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
624 * gdb.base/whatis.exp: Always allow (void) after function names.
625
147ff08c
DJ
6262003-01-04 Daniel Jacobowitz <drow@mvista.com>
627
628 * gdb.c++/casts.exp: Correct regexp.
629
dc62bfc2
MK
6302003-01-04 Mark Kettenis <kettenis@gnu.org>
631
632 * configure.in: Call AC_CONFIG_HEADER. Don't call
633 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
634 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
635 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
636 aforementioned directories in the AC_OUPUT call.
637 * config.hin: New file.
638 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
639 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
640 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
641 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
642 pass -I$objdir instead of -I$objdir/$subdir in compilation.
643 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
644 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
645 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
646 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
647 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
648 gdb.threads/configure.in, gdb.threads/configure,
649 gdb.threads/config.in, gdb.trace/configure.in,
650 gdb.trace/configure: Removed.
651
77afa639
MC
6522003-01-03 Michael Chastain <mec@shout.net>
653
654 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
655 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
656
7634bb6e
DJ
6572003-01-03 Daniel Jacobowitz <drow@mvista.com>
658
659 * gdb.base/store.exp: Fix regular expressions.
660
b39c905e
MK
6612002-12-28 Mark Kettenis <kettenis@gnu.org>
662
663 * configure.in: Rewrite.
664 * configure: Regenerated.
665
0a8551dd
DC
6662003-01-03 David Carlton <carlton@math.stanford.edu>
667
668 * gdb.base/psymtab.exp: New file.
669 * gdb.base/psymtab1.c: Ditto.
670 * gdb.base/psymtab2.c: Ditto.
671
c60b7188
AF
6722002-12-23 Adam Fedor <fedor@gnu.org>
673
674 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
675
ee73db83
DC
6762002-12-23 David Carlton <carlton@math.stanford.edu>
677
678 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
679 and current_directory initialization.
680
d6c1774e
JB
6812002-12-22 Jim Blandy <jimb@redhat.com>
682
f0a847b8
JB
683 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
684 rather than as part of the output file name.
685
d6c1774e
JB
686 * gdb.base/attach.exp: There's no need to copy the test program to
687 /tmp; that was only ever necessary on HP/UX, and this test is
688 entirely disabled there anyway.
689
f0708dbb
JB
6902002-12-21 Jim Blandy <jimb@redhat.com>
691
4c2acfea
JB
692 * gdb.c++/psmang.exp: Doc fix.
693
f0708dbb
JB
694 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
695 test.
696
9579e000
DC
6972002-12-20 David Carlton <carlton@math.stanford.edu>
698
699 * gdb.c++/annota2.exp: KFAIL annotate-quit.
700
d1810171
MC
7012002-12-18 Michael Chastain <mec@shout.net>
702
703 * gdb.c++/annota2.exp: Add copyright year 2002.
704
76565097
DC
7052002-12-17 David Carlton <carlton@math.stanford.edu>
706
707 * gdb.c++/try_catch.cc: Add marker comments.
708 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
709 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
710 * gdb.c++/m-static.cc: Ditto.
711 * gdb.c++/m-static1.cc: Ditto.
712 * gdb.c++/try_catch.cc: Ditto.
713
da81390b
JJ
7142002-12-16 Jeff Johnston <jjohnstn@redhat.com>
715
716 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
717 to see whether we are using the new -environment-directory
718 command which resets via -r or the old version of the command
719 which may prompt the user. Part of fix for gdb/741.
720
b304d130
AC
7212002-12-13 Andrew Cagney <ac131313@redhat.com>
722
723 * gdb.fortran/types.exp: Update obsolete comment.
724 * gdb.fortran/exprs.exp: Ditto.
725 * lib/gdb.exp: Delete obsolete code.
726 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
727 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
728 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
729 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
730 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
731 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
732 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
733 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
734 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
735 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
736 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
737 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
738 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
739 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
740 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
741 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
742 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
743 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
744 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
745 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
746 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
747 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
748 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
749 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
750 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
751 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
752 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
753 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
754 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
755 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
756 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
757 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
758 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
759 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
760 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
761 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
762 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
763
a23b6e6a
DC
7642002-12-11 David Carlton <carlton@math.stanford.edu>
765
766 * gdb.c++/m-data.exp: Add test for members that shadow global
767 variables: see PR gdb/804.
768 * gdb.c++/m-data.cc: Ditto.
769
6604731b
DJ
7702002-12-10 Daniel Jacobowitz <drow@mvista.com>
771
772 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
773
de46ecd7
DC
7742002-12-06 David Carlton <carlton@math.stanford.edu>
775
776 * gdb.base/store.c: Don't declare functions static.
777
27e829d0
AC
7782002-12-04 Andrew Cagney <ac131313@redhat.com>
779
780 * gdb.base/store.exp, gdb.base/store.c: New files.
781
92806416
DJ
7822002-12-03 Daniel Jacobowitz <drow@mvista.com>
783
784 * gdb.base/selftest.exp: Update for current gdb.
785
3bcbaac5
DJ
7862002-12-03 Daniel Jacobowitz <drow@mvista.com>
787
788 * gdb.base/maint.exp: Only dump symbols from one source file
789 or objfile.
790
f4f00b1f
DJ
7912002-12-03 Daniel Jacobowitz <drow@mvista.com>
792
793 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
794 function call.
795
f1c8a949
JB
7962002-11-25 Jim Blandy <jimb@redhat.com>
797
798 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
799 function appearing in error message.
800
9e297a97
DJ
8012002-11-21 Daniel Jacobowitz <drow@mvista.com>
802
803 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
804
1f312e79
JJ
8052002-11-08 Jeff Johnston <jjohnstn@redhat.com>
806
807 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
808 for mi1 and current mi is in correct format. New mi startup message
809 should be in mi console format. This is part of fix for PR gdb/604.
810
83c31e7d
FN
8112002-09-18 Fernando Nasser <fnasser@redhat.com>
812
813 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
814 which explicitly prints the zero offset as "+0".
815
322b3f65
DJ
8162002-10-22 Daniel Jacobowitz <drow@mvista.com>
817
818 * gdb.threads/schedlock.c (args): Make unsigned.
819
8202002-10-21 Daniel Jacobowitz <drow@mvista.com>
821
822 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
823 numbers. Allow "foo2|selected stack frame".
824 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
825 * gdb.asm/asmsrc2.s: Likewise.
826 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
827 comments.
828 * gdb.asm/mips.inc: New file.
829
5e2fe5b8
AF
8302002-10-18 Adam Fedor <fedor@gnu.org>
831
832 * gdb.base/default.exp: Update expected output to include 'ObjC'.
833 * gdb.base/help.exp: Likewise.
834
abe1a5d0
KB
8352002-10-17 Kevin Buettner <kevinb@redhat.com>
836
837 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
838 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
839
10abb1d4
JB
8402002-10-02 Jim Blandy <jimb@redhat.com>
841
842 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
843
1f609b42
AC
8442002-10-01 Andrew Cagney <ac131313@redhat.com>
845
846 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
847 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
848 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
849 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
850 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
851 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
852 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
853
0aee02e4
AC
8542002-09-29 Andrew Cagney <ac131313@redhat.com>
855
856 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
857 * mi0-disassemble.exp, mi0-eval.exp: Delete.
858 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
859 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
860 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
861 * mi0-var-block.exp, mi0-var-child.exp: Delete.
862 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
863
6fde09ad
KB
8642002-09-27 Kevin Buettner <kevinb@redhat.com>
865
866 * gdb.base/annota1.exp (info break): Make directory components of
867 path optional since not all compilers emit this debug information.
868
869 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
870 step ends up stepping out of the function instead of stopping on
871 the epilogue.
872
9e8aab75
KS
8732002-09-26 Keith Seitz <keiths@redhat.com>
874
875 * lib/insight-support.exp (gdbtk_start): Figure out where
876 the insight executable is based on where gdb is. Use this
877 executable to start insight instead of gdb.
878
e36180d7
AC
8792002-09-25 Andrew Cagney <cagney@redhat.com>
880
881 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
882
9dd34b2b
AC
8832002-09-24 Andrew Cagney <ac131313@redhat.com>
884
885 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
886 test_isolated_complaints.
887 (test_empty_complaint): New function.
888 (test_empty_complaints): New function. Check no output when no
889 complaints.
890
dea97812
KB
8912002-09-19 Jim Blandy <jimb@redhat.com>
892
893 * gdb.base/charset.exp, gdb.base/charset.c: New files.
894
54951bd7
AC
8952002-09-19 Andrew Cagney <ac131313@redhat.com>
896
897 * gdb.gdb/complaints.exp: New file.
898
dec43320
AC
8992002-09-18 Andrew Cagney <ac131313@redhat.com>
900
901 * gdb.base/maint.exp: Check `help maint internal-warning'.
902
e70d6e3f
DC
9032002-09-18 David Carlton <carlton@math.stanford.edu>
904
905 * gdb.c++/m-static.exp: Remove breakpoints depending on line
906 numbers, and replace them by a single breakpoint after the
907 constructors are all finished.
908 Add test 4.
909 * gdb.c++/m-static.cc: Add test 4.
910 * gdb.c++/m-static.h: New file.
911 * gdb.c++/m-static1.cc: New file.
912
913 * gdb.c++/printmethod.exp: New file.
914 * gdb.c++/printmethod.cc: New file.
915
916 * gdb.c++/pr-574.exp: New file.
917 * gdb.c++/pr-574.cc: New file.
918
afb5c968
CV
9192002-09-18 Corinna Vinschen <vinschen@redhat.com>
920
921 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
922 embedded targets which never actually exit.
923
31e45dee
FN
9242002-09-18 Fernando Nasser <fnasser@redhat.com>
925
926 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
927 "don't step after run" as unresolved or unsupported, instead of xfail.
928
a283c5a1
CV
9292002-09-18 Corinna Vinschen <vinschen@redhat.com>
930
931 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
932 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
933 Add newline to expected string in "step out of main (status wrapper)"
934 case.
935
11350d2a
CV
9362002-09-18 Corinna Vinschen <vinschen@redhat.com>
937
938 * lib/gdb.exp (rerun_to_main): Allow restarting application.
939 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
940
0deec7d6
TT
9412002-09-17 Tom Tromey <tromey@redhat.com>
942
943 * gdb.base/printcmds.exp (test_print_string_constants): Expect
944 \000, not \0, in double-quoted string.
945
b2b4a1b5
CV
9462002-09-14 Corinna Vinschen <vinschen@redhat.com>
947
948 * gdb.base/command.exp: Don't expect a "Program exited normally"
949 string after running the commands execution on breakpoint tests.
950
1c56143a
CV
9512002-09-13 Corinna Vinschen <vinschen@redhat.com>
952
953 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
954
37f8da45
JB
9552002-09-12 Joel Brobecker <brobecker@gnat.com>
956
957 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
958
08b468e0
KS
9592002-09-10 Keith Seitz <keiths@redhat.com>
960
961 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
962 runto proc.
963 (mi_run_to_main): Use mi_runto.
964 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
965
dc360f58
KS
9662002-09-10 Keith Seitz <keiths@redhat.com>
967
968 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
969 regexp for stopping at main. Could have multiple event notifications.
970 Don't assume that main was declared with no parameters.
971 (mi_next): Use mi_step_to.
972 (mi_step): Use mi_next_to.
973
ce3abcfb
CV
9742002-09-09 Corinna Vinschen <vinschen@redhat.com>
975
976 * gdb.base/default.exp: Fix expected string in `info float' test.
977
d1f5b980
BE
9782002-09-09 Ben Elliston <bje@redhat.com>
979
980 * config/mips.exp: Update comments.
981 * config/mips-idt.exp: Likewise.
982 * config/nind.exp: Likewise.
983 * config/slite.exp: Likewise.
984 * config/sparclet.exp: Likewise.
985 * config/udi.exp: Likewise.
986 * config/vx.exp: Likewise.
987 * config/vxworks29k.exp: Likewise.
988
2f71430b
JB
9892002-09-05 Jim Blandy <jimb@redhat.com>
990
991 * gdb.threads/killed.exp: Fix test failure message.
992
7ddebc7e
KS
9932002-09-04 Keith Seitz <keiths@redhat.com>
994
995 * lib/mi-support.exp: Update copyright.
996 (mi_gdb_test): Increase the priority of the expected pattern
997 so that it matches gdb_test.
998
0ae67eb3
KS
9992002-09-03 Keith Seitz <keiths@redhat.com>
1000
1001 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1002 Use integer comparison instead of string comparison for testing
1003 whether binary was built.
1004
38fc42c8
JB
10052002-09-03 Jim Blandy <jimb@redhat.com>
1006
1007 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1008
b6ff0e81
JB
10092002-08-29 Jim Blandy <jimb@redhat.com>
1010
1011 * gdb.threads/pthreads.exp: Move the portable thread compilation
1012 code into a function in lib/gdb.exp, and call that from here.
1013 * lib/gdb.exp (gdb_compile_pthreads): New function.
1014
07c98896
KS
10152002-08-29 Keith Seitz <keiths@redhat.com>
1016
1017 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1018 expect_out so that callers can get at it.
1019
0312286c
DJ
10202002-08-23 Daniel Jacobowitz <drow@mvista.com>
1021
1022 * gdb.threads/print-threads.c: New file.
1023 * gdb.threads/print-threads.exp: New file.
1024 * gdb.threads/schedlock.c: New file.
1025 * gdb.threads/schedlock.exp: New file.
1026
dd039bc4
EZ
10272002-08-22 Elena Zannoni <ezannoni@redhat.com>
1028
1029 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1030 not altivec.c.
1031
1f36144c
MK
10322002-08-17 Mark Kettenis <kettenis@gnu.org>
1033
1034 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1035 targets. The problem should be fixed now.
1036
16057ec7 10372002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1038
1039 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1040 2002-07-24 change that removes final dots from error messages.
1041
3c1499ad
TT
10422002-08-13 Tom Tromey <tromey@redhat.com>
1043
1044 * gdb.base/readline.exp: New file.
1045
a20ce2c3
AC
10462002-08-01 Andrew Cagney <ac131313@redhat.com>
1047
1048 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1049 supress message.
1050
db034ac5
AC
10512002-08-01 Andrew Cagney <cagney@redhat.com>
1052
1053 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1054 CHILL_FOR_TARGET and CHILL_LIB.
1055 * configure.in (configdirs): Remove gdb.chill.
1056 * configure: Regenerate.
1057 * lib/gdb.exp: Obsolete references to chill.
1058 * gdb.fortran/types.exp: Ditto.
1059 * gdb.fortran/exprs.exp: Ditto.
1060
3e000b18
KB
10612002-07-30 Kevin Buettner <kevinb@redhat.com>
1062
1063 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1064 set Irix-specific compile and link flags.
1065
28f4966b
KB
10662002-07-29 Kevin Buettner <kevinb@redhat.com>
1067
1068 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1069 source files. The ``-o'' option doesn't work with the ``-E'' option
1070 when using the Irix compiler.
1071
46c0d5a6
DJ
10722002-07-19 Daniel Jacobowitz <drow@mvista.com>
1073
1074 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1075 Improve support for reusing an exec file. Copy exec file
1076 to target, and run gdbserver on the target instead of on the host.
1077
eecf4bed
JB
10782002-07-18 Jim Blandy <jimb@redhat.com>
1079
0f815cdf
JB
1080 * gdb.base/ending-run.exp: Don't expect to see the program end in
1081 some orderly fashion when we're running on a real stand-alone
1082 board.
1083
eecf4bed
JB
1084 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1085 targets that don't support interrupts.
1086
52d309e4
JB
10872002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1088
1089 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1090 systems.
1091 Move comments in expect statements to inside the actions, so that they
1092 don't get matched against.
1093
ff683d9e
MK
10942002-07-10 Mark Kettenis <kettenis@gnu.org>
1095
1096 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1097 function when asleep" test.
1098
b5356753
AC
10992002-07-10 Andrew Cagney <ac131313@redhat.com>
1100
1101 * gdb.base/page.exp: Rewrite to handle problems with very long
1102 `info set' output. Update copyright.
1103
6aa4d13a
AC
11042002-06-26 Andrew Cagney <ac131313@redhat.com>
1105
1106 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1107 gdb.threads-hp.
1108 * gdb.hp/configure: Regenerate.
1109 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1110 * gdb.hp/gdb.threads-hp/configure: Delete file.
1111 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1112
8cf8c2b8
AC
11132002-06-22 Andrew Cagney <ac131313@redhat.com>
1114
1115 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1116 setlocale, bindtextdomain and textdomain.
1117
6827a8f8
JB
11182002-06-11 Jim Blandy <jimb@redhat.com>
1119
919d772c
JB
1120 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1121 preprocessor macro information is present.
1122
6827a8f8
JB
1123 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1124 tests.
1125
c15b0d21
MS
11262002-06-06 Michael Snyder <msnyder@redhat.com>
1127
c5984d70
MS
1128 * gdb.base/overlays.exp: Record addresses of overlay
1129 functions in TCL variables rather than in GDB variables,
1130 to avoid having GDB convert them to pointers (with loss
1131 of information).
1132
99a8512b
MS
1133 * gdb.base/d10v.ld: Merge in several years worth of
1134 default linker script changes.
c15b0d21
MS
1135 * gdb.base/long_long.exp: Add check for sizeof (long double).
1136
be26fe0d
ML
11372002-06-06 Michal Ludvig <mludvig@suse.cz>
1138
1139 * gdb.asm/asm-source.exp: Add x86-64 target.
1140 * gdb.asm/x86_64.inc: New.
1141
258093ca 11422002-05-30 Michael Chastain <mec@shout.net>
258093ca 1143
4b3153f1 1144 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1145 * gdb.c++/m-static.cc: New file.
1146 * gdb.c++/m-static.exp: New file.
1147
241264c6
MS
11482002-05-28 Michael Snyder <msnyder@redhat.com>
1149
1150 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1151 precision.
1152
9bba8c8f 11532002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1154
4b3153f1 1155 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1156 * gdb.c++/m-data.cc: New file.
1157 * gdb.c++/m-data.exp: New file.
1158
11592002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1160
4b3153f1 1161 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1162 * gdb.c++/try_catch.cc: New file.
1163 * gdb.c++/try_catch.exp: New file.
1164
def1b996
MC
11652002-05-27 Michael Chastain <mec@shout.net>
1166
1167 * gdb.c++/local.exp: Accept more nested types in output.
1168
522ba268
MC
11692002-05-26 Michael Chastain <mec@shout.net>
1170
1171 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1172
277254ba
MS
11732002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1174
1175 * lib/gdb.exp (gdb_wrapper_init): Just because
1176 gdb_wrapper_file exists, this does not mean that the file
1177 should not be rebuilt. That is what gdb_wrapper_initialized
1178 is for.
1179 (default_gdb_init): Reset gdb_wrapper_initialized.
1180
b61a8733
MS
11812002-05-23 Michael Snyder <msnyder@redhat.com>
1182
5bdb6d01
MS
1183 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1184 the precision of the floating point test results.
1185 * gdb.base/call-rt-st.exp: Ditto.
1186
b61a8733
MS
1187 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1188 * gdb.base/call-rt-st.exp: Ditto.
1189
56f6e910
MC
11902002-05-19 Michael Chastain <mec@shout.net>
1191
1192 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1193
ad0b0016
EZ
11942002-05-19 Elena Zannoni <ezannoni@redhat.com>
1195
1196 * configure.in (configdirs): Add gdb.arch.
1197 * configure: Regenerate.
1198
f617d2b6
JB
11992002-05-17 Jim Blandy <jimb@redhat.com>
1200
1201 * gdb.base/completion.exp: Recognize the more detailed error
1202 messages produced by the macro expander's lexical analyzer.
1203
eac2a696
EZ
12042002-05-14 Elena Zannoni <ezannoni@redhat.com>
1205
1206 * gdb.arch/altivec-abi.c: New file.
1207 * gdb.arch/altivec-abi.exp: New file.
1208 * gdb.arch/altivec-regs.c: New file.
1209 * gdb.arch/altivec-regs.exp: New file.
1210
2fdde8f8
DJ
12112002-05-14 Daniel Jacobowitz <drow@mvista.com>
1212
1213 * gdb.base/maint.exp (maint print type): Update for new type
1214 structure.
eac2a696 1215
e31f1a7c
EZ
12162002-05-14 Elena Zannoni <ezannoni@redhat.com>
1217
1218 * gdb.arch: New directory.
1219 * gdb.arch/configure.in: New file.
1220 * gdb.arch/configure: New file.
1221 * gdb.arch/Makefile.in: New file.
1222
db589741
CV
12232002-05-13 Corinna Vinschen <vinschen@redhat.com>
1224
1225 * gdb.asm/asm-source.exp: Add v850 as supported target.
1226 * gdb.asm/v850.inc: New file.
1227
8ce2a7dc
DJ
12282002-05-13 Daniel Jacobowitz <drow@mvista.com>
1229
1230 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1231
df763c7f
DJ
12322002-05-12 Daniel Jacobowitz <drow@mvista.com>
1233
1234 * gdb.base/break.exp: Check 'break "marker2"'.
1235
377daeed
MS
12362002-05-10 Michael Snyder <msnyder@redhat.com>
1237
1238 * gdb.base/long_long.exp: Fix typo.
1239
c4b7bc2b
JB
12402002-05-10 Jim Blandy <jimb@redhat.com>
1241
ecac9a4e
JB
1242 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1243 a bug.
1244
c4b7bc2b
JB
1245 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1246 Recognize more detailed error message produced by the macro
1247 expander's lexical analyzer.
1248 * lib/gdb.exp (test_print_reject): Same.
1249
e71019a1
MK
12502002-05-09 Mark Kettenis <kettenis@gnu.org>
1251
1252 * gdb.c++/method.exp: Fix typo.
1253
fedfc8e6
MS
12542002-05-08 Michael Snyder <msnyder@redhat.com>
1255
166a1957
MS
1256 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1257 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1258 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1259 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1260 Add iftarget clause for strongarm.
1261
f1c47eb2
MS
12622002-05-06 Michael Snyder <msnyder@redhat.com>
1263
cb9a9d3e
MS
1264 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1265 (gdb_continue_to_end): Accept output from status wrapper.
1266 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1267 Clean up fail messages to match pass messages.
1268
f1c47eb2
MS
1269 Enable the "needs_status_wrapper" testsuite feature.
1270 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1271 (gdb_compile): Conditionally call gdb_wrapper_init.
1272 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1273 * gdb.c++/method.exp: Recognize output from status wrapper.
1274
6079c749
BE
12752002-05-06 Ben Elliston <bje@redhat.com>
1276From Graydon Hoare <graydon@redhat.com>
1277
1278 * config/sid.exp: Include support for "rawsid" protocol.
1279
188baff3
JB
12802002-05-03 Jim Blandy <jimb@redhat.com>
1281
1282 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1283 * gdb.c++/hang3.C: New file.
1284
b9c07f0f
AC
12852002-05-04 Andrew Cagney <ac131313@redhat.com>
1286
1287 * gdb.base/default.exp: Remove obsolete code.
1288 * gdb.c++/misc.exp: Ditto. Update copyright.
1289 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1290 * gdb.base/whatis.exp: Ditto. Update copyright.
1291 * gdb.base/scope.exp: Ditto. Update copyright.
1292 * gdb.base/ptype.exp: Ditto. Update copyright.
1293 * gdb.base/printcmds.exp: Ditto. Update copyright.
1294 * gdb.base/opaque.exp: Ditto. Update copyright.
1295 * gdb.base/list.exp: Ditto.
1296 * gdb.base/funcargs.exp: Ditto. Update copyright.
1297 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1298 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1299 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1300 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1301 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1302 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1303
5c7a0397
MS
13042002-05-02 Michael Snyder <msnyder@redhat.com>
1305
d6dcc264 1306 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1307 * gdb.base/long_long.exp: Add xscale target.
1308 * gdb.base/default.exp: Add xscale target.
1309
eb7f1c48
JB
13102002-05-01 Jim Blandy <jimb@redhat.com>
1311
1312 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1313 gdb.c++/hang.exp: New test.
1314
a6befae8
FF
13152002-05-01 Fred Fish <fnf@redhat.com>
1316
1317 * gdb.base/completion.exp: Handle completions of "./Make" for
1318 more than one completion possibility, as is the case when we
1319 build and test in the source tree.
1320
0a310277
AG
13212002-04-29 Anthony Green <green@redhat.com>
1322
1323 * gdb.java/jmisc1.exp: New file.
1324 * gdb.java/jmisc2.exp: New file.
1325
6ff9af88
DJ
13262002-04-24 Daniel Jacobowitz <drow@mvista.com>
1327
1328 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1329
96b3d632
EZ
13302002-04-23 Elena Zannoni <ezannoni@redhat.com>
1331
1332 * gdb.base/help.exp: Change 'help status' to allow for target
1333 dependent output differences.
1334
5019bb54
MC
13352002-04-22 Michael Chastain <mec@shout.net>
1336
1337 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1338
a805a116
MC
13392002-04-22 Michael Chastain <mec@shout.net>
1340
1341 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1342
a1706bfd
DM
13432002-04-17 David S. Miller <davem@redhat.com>
1344
1345 * gdb.asm/sparc64.inc: New file.
1346 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1347
a73a20a2
EZ
13482002-04-19 Elena Zannoni <ezannoni@redhat.com>
1349
1350 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1351 instruction file directly into the build tree. Clean up at end of
1352 test.
1353
ba678339
DM
13542002-04-18 David S. Miller <davem@redhat.com>
1355
1356 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1357 handle 64-bit platforms correctly.
1358 * gdb.base/maint.exp: Likewise.
1359
b03399da
KB
13602002-04-18 Kevin Buettner <kevinb@redhat.com>
1361
1362 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1363 ``-fpic'' when compiling files comprising a shared library, but
1364 it does need additional linker flags in order to find shared
1365 libraries at run time.
1366
e2004992
KB
13672002-04-18 Kevin Buettner <kevinb@redhat.com>
1368
1369 * gdb.base/cvexpr.c (use): New function.
1370 (main): Invoke use() on all global variables to prevent
1371 some linkers from deleting these otherwise unused symbols.
1372
d8937120
MC
13732002-04-17 Michael Chastain <mec@shout.net>
1374From David S. Miller <davem@redhat.com>
1375
1376 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1377 handle 64-bit platforms correctly.
1378
ffd61a58
MS
13792002-04-12 Michael Snyder <msnyder@redhat.com>
1380From Jim Blandy <jimb@redhat.com>
1381 * gdb.base/foo.c (foox): Remove section attribute; the linker
1382 script can handle this instead.
1383 * gdb.base/bar.c (barx): Same.
1384 * gdb.base/baz.c (bazx): Same.
1385 * gdb.base/grbx.c (grbxx): Same.
1386
1387 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1388 manager doesn't automatically unmap overlays unnecessarily.
1389
6b8426a6
MH
13902002-04-10 Martin M. Hunt <hunt@redhat.com>
1391
1392 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1393 stepping out of main.
1394
34af4875
MC
13952002-04-09 Michael Chastain <mec@shout.net>
1396
1397 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1398 scope so that the nested scope tests will make sense.
1399 * gdb.c++/local.exp: Write patterns that actually work with gcc
1400 (the HP patterns "were never known to work with gcc").
1401 Keep the old aCC patterns too.
1402
2d1676a0
DJ
14032002-04-09 Daniel Jacobowitz <drow@mvista.com>
1404
1405 * gdb.base/attach.exp: Correct target board test.
1406
3a63e3f9
MC
14072002-04-08 Michael Chastain <mec@shout.net>
1408
1409 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1410 in a const method. Add some xfail and fail cases for configurations
1411 that do not emit the "const ...".
1412
f18dabd2
MC
14132002-04-07 Michael Chastain <mec@shout.net>
1414
1415 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1416 Accept "A * const" and "const A * const" as type of "this".
1417 Fix spelling of getFunky throughout. Make messages uniform.
1418
0fcddd82
EZ
14192002-04-07 Elena Zannoni <ezannoni@redhat.com>
1420
1421 Work around for PR gdb/285:
1422 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1423
16a8534a
EZ
14242002-04-07 Elena Zannoni <ezannoni@redhat.com>
1425
1426 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1427 instructions file at run time instead of configure time.
1428 Sometimes we run the test in a directory that is not the one we
1429 configured in.
1430 * gdb.asm/configure.in: Delete creation of symlink.
1431 * gdb.asm/configure: Regenerate.
1432
24181d81
JB
14332002-04-05 J. Brobecker <brobecker@gnat.com>
1434
1435 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1436 xfullpath () function.
1437
7cdb7107
DJ
14382002-04-04 Daniel Jacobowitz <drow@mvista.com>
1439
1440 * gdb.asm/Makefile.in: Correct dependencies.
1441
1442 * gdb.asm/powerpc.inc: New file.
1443 * gdb.asm/asm-source.exp: Add PowerPC.
1444 * gdb.asm/configure.in: Likewise.
1445 * gdb.asm/configure: Regenerated.
1446
a7d17088
DJ
14472002-04-04 Daniel Jacobowitz <drow@mvista.com>
1448
1449 * gdb.base/relocate.exp: New file.
1450 * gdb.base/relocate.c: New file.
1451
cd721503
FF
14522002-04-04 Fred Fish <fnf@redhat.com>
1453
1454 * gdb.base/step-test.exp: Update comment regarding stopping in
1455 memcpy/bcopy calls inserted as part of the compiler runtime.
1456
b22ad7a7
MS
14572002-04-04 Michael Snyder <msnyder@redhat.com>
1458
1459 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1460
5f279fa6
DJ
14612002-04-03 Daniel Jacobowitz <drow@mvista.com>
1462
1463 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1464 (gdb_expect): Remove $notransfer hack.
1465
dd0fd3ce
DJ
14662002-04-02 Daniel Jacobowitz <drow@mvista.com>
1467
1468 * gdb.c++/classes.exp ("calling method for small class"): Match
1469 updated register output.
1470
1e50cda1
DJ
14712002-03-30 Daniel Jacobowitz <drow@mvista.com>
1472
1473 Fix PR gdb/452
1474 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1475 when finished. Make gdb_file_cmd send "exec-file" when
1476 appropriate.
1477
24015922
DJ
14782002-03-30 Daniel Jacobowitz <drow@mvista.com>
1479
1480 * gdb.base/attach.exp: Remove extra setup_xfail.
1481
dd7dfd64
MS
14822002-03-26 Michael Snyder <msnyder@redhat.com>
1483
1484 * gdb.base/default.exp: Add tests for dump, append, and restore.
1485 * gdb.base/help.exp: Add tests for dump, append, and restore.
1486 * gdb.base/dump.exp: New file, test dump, append and restore.
1487 * gdb.base/dump.c: New file.
1488
48b2f8d7
MS
14892002-03-27 Michael Snyder <msnyder@redhat.com>
1490
1491 * gdb.base/help.exp: Modify expect strings to reflect
1492 clean-ups in help messages.
1493
05b4d525
FF
14942002-03-26 Fred Fish <fnf@redhat.com>
1495
1496 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1497 have debugging info for those functions and the compiler uses them
1498 internally to copy structs around.
1499
d7679631
FF
15002002-03-26 Fred Fish <fnf@redhat.com>
1501
1502 * gdb.base/list.exp: Revert the change made yesterday and add note
1503 about why we don't list the default lines for remote targets.
1504
523ac3f9
MS
15052002-03-25 Michael Snyder <msnyder@redhat.com>
1506
1507 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1508
754b2b8d
FF
15092002-03-25 Fred Fish <fnf@redhat.com>
1510
1511 * gdb.base/list.exp: This test works on remote targets so remove
1512 the short circuit for remote targets. Update copyright.
1513
33c3e192
FF
15142002-03-25 Fred Fish <fnf@redhat.com>
1515
1516 * gdb.base/attach.exp: Fix logic error that was suppressing this
1517 test for all non hppa*-*-hpux* targets, instead of the hp target.
1518 Move comments closer to the suppression point. Also now need to
1519 check that we are running natively.
1520
d43e73ee
MS
15212002-03-22 Michael Snyder <msnyder@redhat.com>
1522
882c8f02
MS
1523 * gdb.base/default.exp: Add test for gcore. Update copyright.
1524 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1525
04c12f60
FF
15262002-03-06 Fred Fish <fnf@redhat.com>
1527
1528 * gdb.base/funcargs.c: Remove extraneous ';' character.
1529 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1530
b43df995
MC
15312002-03-04 Michael Chastain <mec@shout.net>
1532
1533 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1534 accommodate gcc v3 function signature.
1535 * gdb.mi/mi0-var-cmd-exp: Ditto.
1536
92362027
AC
15372002-02-24 Andrew Cagney <ac131313@redhat.com>
1538
1539 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1540 ``GNU/Linux'' or ``Linux kernel''
1541 * testsuite/gdb.threads/pthreads.c: Ditto.
1542
258ad32d
MC
15432002-02-24 Michael Chastain <mec@shout.net>
1544
1545 * gdb.threads/pthreads.c (thread1): Add a return statement.
1546 (thread2): Likewise.
1547 (foo): Likewise.
1548
04c3b3d4
MC
15492002-02-23 Michael Chastain <mec@shout.net>
1550
1551 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1552 to placate gcc.
1553
5a2a0a20
MC
15542002-02-23 Michael Chastain <mec@shout.net>
1555
1556 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1557 test "ptype bint". The test passes on all my stabs configurations.
1558
a640f7fc
JB
15592002-02-21 Jim Blandy <jimb@redhat.com>
1560
27924826
JB
1561 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1562 filename at a time, and watch for the ones we want to see.
1563
a640f7fc
JB
1564 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1565 types of pointers to prototyped functions.
1566
edcc8c75
AC
15672002-02-20 Andrew Cagney <ac131313@redhat.com>
1568
1569 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1570 signed, unsigned and straight char.
1571 (padding_char, padding_short, padding_int, padding_long,
1572 padding_long_long, padding_float, padding_double,
1573 padding_long_double): New global variables.
1574 (fill, fill_structs): New functions.
1575
1576 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1577 for correctly sized writes. Update copyright.
1578 (get_valueof): New procedure.
1579 (get_sizeof): Call get_valueof.
1580 (check_valueof): New procedure.
1581 (check_padding): New procedure.
1582
ac57ea44
MC
15832002-02-20 Michael Chastain <mec@shout.net>
1584
1585 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1586 to setup_xfail. Document some of the remaining calls.
1587
7a10c941
MC
15882002-02-18 Michael Chastain <mec@shout.net>
1589
1590 * gdb.c++/userdef.exp: Update copyright year.
1591
fb8acdcc
DJ
15922002-02-18 Daniel Jacobowitz <drow@mvista.com>
1593
1594 * gdb.c++/userdef.exp: Test overloaded operators properly.
1595 Remove xfails.
1596
fda6ae12
MS
15972002-02-14 Michael Snyder <msnyder@redhat.com>
1598
1599 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1600
676a0442
DJ
16012002-02-14 Daniel Jacobowitz <drow@mvista.com>
1602
1603 * gdb.base/a2-run.exp: Check for a remote target properly.
1604 * gdb.base/annota1.exp: Likewise.
1605 * gdb.base/list.exp: Likewise.
1606 * gdb.base/reread.exp: Likewise.
1607 * gdb.base/scope.exp: Likewise.
1608 * gdb.base/shlib-call.exp: Likewise.
1609 * gdb.base/term.exp: Likewise.
1610 * gdb.c++/annota2.exp: Likewise.
1611
78b4f468
RE
16122002-02-13 Richard Earnshaw <rearnsha@arm.com>
1613
1614 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1615
9a81ba51
MC
16162002-02-10 Michael Chastain <mec@shout.net>
1617
1618 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1619 (call_after_alloca): Ditto.
1620
004af6c7
DJ
16212002-02-10 Daniel Jacobowitz <drow@mvista.com>
1622
1623 * gdb.base/ending-run.exp: Guard "cont" test with
1624 gdb_skip_stdio_test.
1625
37225f62
JB
16262002-02-06 Jim Blandy <jimb@redhat.com>
1627
1628 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1629 from here...
1630 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1631 To here. Disable this test on non-HP platforms. Add big comment.
1632
fe6fdd96
MS
16332002-02-04 Michael Snyder <msnyder@redhat.com>
1634
1635 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1636 other than d10v and m32r.
1637
036fad3f
RE
16382002-02-02 Richard Earnshaw <rearnsha@arm.com>
1639
1640 * gdb.base/default.exp: Rewrite test patterns to reduce time
1641 taken to match them.
1642
7148ab62
DJ
16432002-01-30 Daniel Jacobowitz <drow@mvista.com>
1644
1645 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1646 Allow a start function above main.
1647 * gdb.threads/linux-dp.exp: Fix copyright date.
1648
396cc255
DJ
16492002-01-30 Daniel Jacobowitz <drow@mvista.com>
1650
1651 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1652 (check_philosopher_stack): Check for manager thread before checking
1653 for a just-starting thread.
1654
f038d31b
DJ
16552002-01-30 Daniel Jacobowitz <drow@mvista.com>
1656
1657 From Neil Booth <neil@daikokuya.demon.co.uk>:
1658 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1659 warnings.
1660
b3ff9d9a
FF
16612002-01-21 Fred Fish <fnf@redhat.com>
1662
1663 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1664 not caller.
1665
39ad761d
JB
16662002-01-21 Jim Blandy <jimb@redhat.com>
1667
1668 * gdb.base/reread.exp: Check that GDB properly re-reads the
1669 executable file when it changes while no inferior is running.
1670
aaf320fa
FF
16712002-01-21 Fred Fish <fnf@redhat.com>
1672
1673 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1674 optionally accept the "shlib events" variation.
1675
808a31f5
JB
16762002-01-21 Jim Blandy <jimb@redhat.com>
1677
1678 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1679 call `fflush' after every `printf', so that the output is produced
1680 at predictable points, regardless of whatever buffering does (or
1681 doesn't) take place.
1682 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1683 at different points.
1684
4420d5e2
DJ
16852002-01-20 Daniel Jacobowitz <drow@mvista.com>
1686
1687 * gdb.c++/inherit.exp: Update copyright years.
1688 * gdb.c++/method.exp: Likewise.
1689
3e36a0f4
DJ
16902002-01-20 Daniel Jacobowitz <drow@mvista.com>
1691
1692 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1693 artificial methods/arguments.
1694 * gdb.c++/derivation.exp: Likewise.
1695 * gdb.c++/inherit.exp: Likewise.
1696 * gdb.c++/method.exp: Likewise.
1697 * gdb.c++/virtfunc.exp: Likewise.
1698
b4ceaee6
AC
16992002-01-18 Andrew Cagney <ac131313@redhat.com>
1700
1701 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1702 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1703 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1704 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1705 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1706 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1707
ecace851
JB
17082002-01-17 Jim Blandy <jimb@redhat.com>
1709
1710 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1711 anchoring the pattern matching the entry point symbol's name.
1712
375fc983
AC
17132002-01-17 Andrew Cagney <ac131313@redhat.com>
1714
1715 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1716 continue/quit query. Update copyright.
1717
fe6fdd96
MS
17182002-01-14 Michael Snyder <msnyder@redhat.com>
1719
1720 * gdb.base/gcore.exp: Remove extra debugging output.
1721
e017c81f
DJ
17222002-01-13 Daniel Jacobowitz <drow@mvista.com>
1723
1724 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1725 for slightly dubious v2 mangled string.
1726
37ab3bf8
DJ
17272002-01-13 Daniel Jacobowitz <drow@mvista.com>
1728
1729 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1730
1bc05c3a 17312002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1732
1bc05c3a 1733 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1734
1bc05c3a
JM
1735 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1736 constructors.
1737 * gdb.c++/derivation.exp: Likewise.
1738 * gdb.c++/templates.exp: Likewise.
1739 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1740
1bc05c3a
JM
17412002-01-10 Michael Snyder <msnyder@redhat.com>
1742
1743 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1744
a911c360
MS
17452002-01-08 Michael Snyder <msnyder@redhat.com>
1746
1747 * gdb.base/gcore.exp: New test for generate-core-file command.
1748 * gdb.base/gcore.c: Testcase for above.
1749 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1750
ea2119ec
JM
17512002-01-08 Jason Merrill <jason@redhat.com>
1752
1753 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1754
68203136
FF
17552002-01-07 Fred Fish <fnf@redhat.com>
1756
1757 * gdb.c++/overload.exp: Remove unconditional xfails for:
1758 print foo_instance1.overloadargs(1)
1759 print foo_instance1.overloadargs(1, 2)
1760 print foo_instance1.overloadargs(1, 2, 3)
1761 print foo_instance1.overloadargs(1, 2, 3, 4)
1762 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1763 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1764 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1765 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1766 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1767 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1768 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1769 print foo_instance1.overload1arg()
1770 print foo_instance1.overload1arg((char)arg2)
1771 print foo_instance1.overload1arg((signed char)arg3)
1772 print foo_instance1.overload1arg((unsigned char)arg4)
1773 print foo_instance1.overload1arg((int)arg7)
1774 print foo_instance1.overload1arg((unsigned int)arg8)
1775 print foo_instance1.overload1arg((float)arg11)
1776 print foo_instance1.overload1arg((double)arg12)
1777
21b9b5b1
MS
17782002-01-07 Michael Snyder <msnyder@redhat.com>
1779
1780 * gdb.base/huge.exp: New test. Print a very large target data object.
1781 (skip_huge_test): New test variable. Define if you want to skip this
1782 test. The test reads an 8 megabyte data object from the target, so it
1783 might be very time consuming on remote targets with a slow connection.
1784 * gdb.base/huge.c: New file. Test case for above.
1785
725f922e
FF
17862002-01-07 Fred Fish <fnf@redhat.com>
1787
1788 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1789 g_instance.bfoo, and g_instance.cfoo.
1790
634d57ec
JL
1791Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1792
f286b2c3
JL
1793 * gdb.base/break.c (multi_line_if_conditional): New function.
1794 (multi_ilne_while_conditional): Likewise.
1795 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1796 IF or WHILE condition puts the breakpoint at the start of
1797 the condition.
1798
634d57ec
JL
1799 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1800 hppa*-*-hpux* expected failure.
1801 * gdb.base/structs.exp (do_function_calls): Similarly.
1802
1803 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1804 watchpoints.
1805
9fbfe2dc
AC
18062002-01-06 Andrew Cagney <ac131313@redhat.com>
1807
1808 Fix PR gdb/66.
1809 * gdb.base/structs.exp: Replace skip for a29k with skip for
1810 gdb,cannot_call_functions.
1811 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1812 * gdb.base/callfuncs.exp: Ditto.
1813 * gdb.base/call-rt-st.exp: Ditto.
1814 * gdb.base/call-strs.exp: Ditto.
1815 * gdb.base/callfwmall.exp: Ditto.
1816 * gdb.base/scope.exp: Obsolete xfail a29k.
1817 * gdb.c++/misc.exp: Ditto.
1818 * gdb.c++/cplusfuncs.exp: Ditto.
1819 * gdb.base/ptype.exp: Ditto.
1820 * gdb.base/printcmds.exp: Ditto.
1821 * gdb.base/opaque.exp: Ditto.
1822 * gdb.base/list.exp: Ditto.
1823 * gdb.base/funcargs.exp: Ditto.
1824 * gdb.base/default.exp: Ditto.
1825
8ddad156
MS
18262002-01-04 Michael Snyder <msnyder@redhat.com>
1827
ca4976a6 1828 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1829 * gdb.base/maint.exp: Add tests for maint info sections options.
1830
1b074332
JL
1831Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1832
1833 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1834
7d159115
CV
18352001-12-20 Corinna Vinschen <vinschen@redhat.com>
1836
1837 * gdb.asm/arm.inc: New file.
1838 * gdb.asm/asm-source.exp: Add arm targets.
1839 * gdb.asm/configure.in: Ditto.
1840 * gdb.asm/configure: Recreated from configure.in.
1841
8fb87725
JL
1842Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1843
afabe08c
JL
1844 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1845 with HP's compiler.
1846 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1847 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1848 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1849 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1850
1851 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1852 either HP's compilers or GCC.
1853
db521deb
JL
1854 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1855 a SIGBUS or SIGSEGV.
1856
1857 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1858
1859 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1860 can be compiled with either HP's compiler or GCC.
1861
cfa88ab7
JL
1862 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1863 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1864 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1865
ca344dff
JL
1866 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1867 to match current gdb output. Update due to using auto-solib-limit
1868 for limiting instead of overloading auto-solib-add.
1869 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1870 test program.
1871
3f3c6e55 1872 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1873 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1874 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1875 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1876 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1877 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1878 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1879 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1880 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1881 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1882 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1883 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1884 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1885
8fb87725
JL
1886 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1887 a SIGTRAP to the inferior.
1888
cf599fa7
CV
18892001-12-19 Corinna Vinschen <vinschen@redhat.com>
1890
1891 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1892 Substitute call to target_link by call to gdb_compile.
1893
2cd045cd
JL
1894Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1895
1896 * gdb.base/break.exp: Fix HP specific search string when testing
1897 backtracing in a called function.
1898
1899 * gdb.base/constvars.exp: Only set lang to C++ if we're
1900 compiling the test with HP's compilers.
1901 * gdb.base/volatile.exp: Similarly.
1902
99ebe9ac
JB
19032001-12-19 Jim Blandy <jimb@redhat.com>
1904
1905 * gdb.base/printcmds.exp: Expect the null character to be printed
1906 as '\0', and the '\013' to be printed as '\v'.
1907 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1908 * gdb.base/setvar.exp: Same.
1909
b9891b29
JB
19102001-12-17 Jim Blandy <jimb@redhat.com>
1911
0eba65ab
JB
1912 * gdb.base/completion.exp: Rather than completing very long
1913 filenames, which can make the readline library produce output we
1914 don't recognize, cd to the directory first, and then complete
1915 using nice, short relative paths.
1916
6970b5b1
JB
1917 * gdb.base/completion.exp: On some systems, there is, in fact, a
1918 variable named `b' in scope, since GDB treats all static
1919 variables as being in scope. So use `no_var_named_this'
1920 instead of `b'.
1921
b9891b29
JB
1922 * gdb.base/corefile.exp: Recognize the message saying that GDB
1923 can't find the core file's registers as a failure.
1924
e6ccd35f
JSC
19252001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1926
1927 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1928 test expect string more specific.
1929
105ba819
CV
19302001-12-13 Corinna Vinschen <vinschen@redhat.com>
1931
1932 * gdb.asm/asm-source.exp: Add support for xstormy16.
1933 * gdb.asm/configure.in: Ditto.
1934 * gdb.asm/configure: Rebuild.
1935 * gdb.asm/xstormy16.inc: New file.
1936
e9e79dd9
FF
19372001-12-10 Fred Fish <fnf@redhat.com>
1938
1939 * gdb.base/maint.exp: Update to match changes in type dumping code.
1940
347dc97d
JB
19412001-12-10 Jim Blandy <jimb@redhat.com>
1942
1943 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1944 matching the entry point symbol's name at the beginning of the
1945 line.
1946
5178b9d6
DJ
19472001-12-07 Daniel Jacobowitz <drow@mvista.com>
1948
1949 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1950 gdb.c++/inherit.exp, gdb.c++/method.exp,
1951 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1952 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1953 and class layout support.
1954
af890c52
DJ
19552001-12-07 Daniel Jacobowitz <drow@mvista.com>
1956
1957 * gdb.c++/classes.exp: Add test for static member function.
1958 * gdb.c++/misc.cc: Add class with static member function.
1959
7a345fb3
JB
19602001-12-07 Jim Blandy <jimb@redhat.com>
1961
f2e54a80 1962 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1963 those tests as `unsupported'.
1964 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1965 Rewrite subsequent tests to use it.
1966
1967 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1968 those tests as `unsupported'.
1969 * gdb.base/structs.exp (call_struct_func): New function.
1970 (do_function_calls): Use call_struct_func to call the functions
1971 returning structs.
1972
0bc69509
JB
1973 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1974 whether functions are prototyped or not, so we can't possibly pass
1975 arguments to t_float_values2 properly.
1976
7a345fb3
JB
1977 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1978 value of `timeout' for targets other than the mips*tx39-*.
1979
edb6ede1
MS
19802001-12-06 Michael Snyder <msnyder@redhat.com>
1981
1982 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1983 and detect whether the start symbol has a leading underscore.
1984
2d842f13
JB
19852001-12-04 Jim Blandy <jimb@redhat.com>
1986
1987 * gdb.base/completion.exp: Clarify indentation.
1988
68550daf
JB
19892001-12-03 Jim Blandy <jimb@redhat.com>
1990
1991 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1992 variables on the S/390, not `.word'.
1993
cd5195a8
JB
19942001-11-30 Jim Blandy <jimb@redhat.com>
1995
1996 Add assembly-source tests for s390-ibm-linux.
1997 * gdb.asm/s390.inc: New file.
1998 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1999 the S/390 architecture.
2000 * gdb.asm/configure: Regenerated.
2001
ca9efc90
MS
20022001-11-30 Michael Snyder <msnyder@redhat.com>
2003
2004 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2005 next, info source, info sources, info line, global and static
2006 variables, and static functions.
2007 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2008 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2009 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2010 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2011 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2012 (gdbasm_leave): Restore frame pointer.
2013 (gdbasm_startup): Copy stack set-up from crt0.S.
2014
d0e66976
FN
20152001-11-26 Fernando Nasser <fnasser@redhat.com>
2016
2017 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2018 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2019 to a local (non-static) variable. Copy tstruct.a to a static buffer
2020 and return a pointer to that buffer.
2021 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2022
e2334072
MK
20232001-11-24 Mark Kettenis <kettenis@gnu.org>
2024
2025 * gdb.asm/configure.in: Fix recognition of ix86 target.
2026 * gdb.asm/configure: Regenerate.
2027
756caa3d
MS
20282001-11-21 Michael Snyder <msnyder@redhat.com>
2029
2030 * gdb.asm/sparc.inc: New file.
2031 * gdb.asm/asm-source.exp: Recognize sparc target.
2032 * gdb.asm/configure.in: Recognize sparc target.
2033 * gdb.asm/configure: Regenerate.
2034
9a4d72d5
MS
20352001-11-21 Michael Snyder <msnyder@redhat.com>
2036
2037 * gdb.asm/m32r.inc: New file.
2038 * gdb.asm/asm-source.exp: Recognize m32r target.
2039 * gdb.asm/configure.in: Recognize m32r target.
2040 * gdb.asm/configure: Regenerate.
2041
a773d1cd
MS
20422001-11-20 Michael Snyder <msnyder@redhat.com>
2043
017ac23d
MS
2044 * gdb.asm/i386.inc: New file.
2045 * gdb.asm/asm-source.exp: Recognize ix86 target.
2046 * gdb.asm/configure.in: Recognize ix86 target.
2047 * gdb.asm/configure: Regenerate.
2048
a773d1cd
MS
2049 * gdb.c++/namespace.exp: Fix quotes in output messages.
2050
bb632afb
MS
20512001-11-14 Michael Snyder <msnyder@redhat.com>
2052
25d559ca 2053 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2054 qualifier in a type cast expression, to designate an address
2055 in the instruction space (Harvard architecture).
2056
4749e309
MS
20572001-11-13 Michael Snyder <msnyder@redhat.com>
2058
2059 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2060 Tests for expressions using 'const' and 'volatile'.
2061
25050984
CV
20622001-11-13 Corinna Vinschen <vinschen@redhat.com>
2063
2064 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2065
1902c51f
DJ
20662001-11-12 Daniel Jacobowitz <drow@mvista.com>
2067
2068 * lib/mi-support.exp (mi_run_to_helper): Move comments
2069 outside of gdb_expect.
2070
dcf95b47
DJ
20712001-11-11 Daniel Jacobowitz <drow@mvista.com>
2072
2073 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2074 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2075 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2076 mi0_run_to): New functions.
2077 * gdb.mi/mi-simplerun.exp: Use them.
2078 * gdb.mi/mi0-simplerun.exp: Likewise.
2079 * gdb.mi/mi-var-cmd.exp: Likewise.
2080 * gdb.mi/mi0-var-cmd.exp: Likewise.
2081
45b074e1
AC
20822001-11-10 Andrew Cagney <ac131313@redhat.com>
2083
2084 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2085 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2086
bf50d346
AC
20872001-11-09 Andrew Cagney <ac131313@redhat.com>
2088
2089 * gdb.base/restore.exp: Include $expected value in restored test
2090 message.
2091
9383332c
AC
20922001-11-09 Andrew Cagney <ac131313@redhat.com>
2093
2094 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2095 implemented.
2096
db62520a
MS
20972001-11-08 Michael Snyder <msnyder@redhat.com>
2098
2099 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2100 Add pass/fail message for stop at breakpoint in call dummy function.
2101
b5703437
MS
21022001-11-07 Michael Snyder <msnyder@redhat.com>
2103
760f6330
MS
2104 * gdb.c++/templates.exp (test_template_breakpoints):
2105 If we get an overload menu, but it does not match what
2106 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2107 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2108 making the whitespace optional. Argument for "new" may be
2109 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2110 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2111 making the whitespace optional. Also replace "(void) with
2112 "((void|)), making the keyword "void" optional.
63f50499
MS
2113 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2114 making the whitespace optional. Also replace "(void) with
2115 "((void|)), making the keyword "void" optional.
3bf40917
MS
2116 * gdb.base/callfuncs.c (t_float_values): This function must
2117 _not_ be prototyped, and the following function (t_float_values2)
2118 must be prototyped (if the compiler supports it), so that GDB
2119 can be tested against both cases. Usually one case involves
2120 promotion of float to double, while the other does not.
2121 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2122 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2123 includes a stack frame for "start".
2124
c8ab4e6d
JB
21252001-11-05 Jim Blandy <jimb@redhat.com>
2126
2127 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2128 pointers are 32 bits long, and that offsets of relocs are always
2129 stored in the data (REL-style), and not in the reloc entry itself
2130 (RELA-style).
2131 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2132 stabs.
2133
3f08ced9
MS
21342001-11-01 Michael Snyder <msnyder@redhat.com>
2135
2136 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2137 and regular expression operators by using quoting.
2138
cbfa24cd
MS
21392001-10-31 Michael Snyder <msnyder@redhat.com>
2140
2141 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2142 depending on what the symbol table contains.
2143 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2144 the output of the ptype command. Similarly, accept both "const &"
2145 and "const&".
2146
aaa68313
CV
21472001-10-31 Corinna Vinschen <vinschen@redhat.com>
2148
2149 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2150 symbol `STORAGE' to allow to choose the storage class of
2151 the local datastructures.
2152 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2153 compiler directive.
2154
91740388
MS
21552001-10-30 Michael Snyder <msnyder@redhat.com>
2156
2157 * gdb.base/jump.exp: Allow it to run for all targets.
2158
1b7c05e7
CV
21592001-10-29 Corinna Vinschen <vinschen@redhat.com>
2160
2161 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2162 with new double_array size.
2163 (main): Change storage class of all local variables to static.
2164 Reduce size of double_array to 9.
2165 * gdb.base/call-ar-st.exp: Increase timeout value.
2166 Change expected output for double array to match new size in
2167 call-ar-st.c.
2168
36a22261
CV
21692001-10-29 Corinna Vinschen <vinschen@redhat.com>
2170
2171 * gdb.base/ending-run.exp: Create identical output when passing
2172 `step to end of run' case. Add regular expression branch satisfying
2173 Stormy16 target.
2174
92b8ae91
MK
21752001-10-28 Mark Kettenis <kettenis@gnu.org>
2176
2177 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2178 that we catch the expected failure under Linux/x86.
2179
cb135b83
OF
21802001-10-29 Orjan Friberg <orjanf@axis.com>
2181
2182 * gdb.base/setvar.exp: Escape curly braces.
2183 * gdb.stabs/weird.exp: Ditto.
2184
6884aa54
DJ
21852001-10-27 Daniel Jacobowitz <drow@mvista.com>
2186
2187 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2188 * gdm.mi/mi0-hack-cli.exp: Likewise.
2189
0398c9aa
AC
21902001-10-25 Andrew Cagney <ac131313@redhat.com>
2191
2192 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2193 messages.
2194
d20bf2e8
AC
21952001-10-21 Andrew Cagney <ac131313@redhat.com>
2196
2197 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2198 checking MI enabled.
2199
03dd63aa
CV
22002001-10-09 Corinna Vinschen <vinschen@redhat.com>
2201
2202 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2203
1d9d99f3
FCE
22042001-10-04 Frank Ch. Eigler <fche@redhat.com>
2205
2206 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2207 if gdb child process crashes, just signal an error.
2208
838ae6c4
JB
22092001-10-02 Jim Blandy <jimb@redhat.com>
2210
2211 * lib/gdb.exp (test_xfail_format): Simplify.
2212
2213 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2214 front of the variable name `format'. Simplify `if'.
2215
8f0cbc1c
DJ
22162001-10-01 Daniel Jacobowitz <drow@mvista.com>
2217
2218 * gdb.threads/pthreads.exp: Wait for output and delay
2219 before sending ^C.
2220
1f08dafd
DJ
22212001-10-01 Daniel Jacobowitz <drow@mvista.com>
2222
2223 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2224 some incorrect output instead of timing out.
2225 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2226
674f90ff
CV
22272001-09-28 Corinna Vinschen <vinschen@redhat.com>
2228
2229 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2230 check to allow additional `int'.
2231
9b284272
DJ
22322001-09-27 Daniel Jacobowitz <drow@mvista.com>
2233
2234 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2235 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2236
b55a4771
MS
22372001-09-27 Michael Snyder <msnyder@redhat.com>
2238
2239 * lib/gdb.exp (test_debug_format): New proc.
2240 (setup_xfail_format): Use new proc test_debug_format.
2241 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2242 proc; use new service proc test_debug_format.
2243 Replace all other "gcc_compiled" tests with this test.
2244 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2245 proc; use new service proc test_debug_format.
2246 Replace all other "gcc_compiled" tests with this test.
2247
22482001-09-27 Michael Snyder <msnyder@redhat.com>
2249
2250 * gdb.base/cvexpr.exp: New file.
2251 * gdb.base/cvexpr.c: New file
2252 Test for expressions using const and volatile keywords.
2253
4e6667ac
CV
22542001-09-26 Corinna Vinschen <vinschen@redhat.com>
2255
2256 * gdb.base/constvars.exp: Check for different orders of keywords
2257 and additional "int" strings in output.
2258
4f337972
AC
22592001-09-22 Andrew Cagney <ac131313@redhat.com>
2260
2261 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2262 responses from "help maint".
2263
2015650d
FCE
22642001-09-19 Frank Ch. Eigler <fche@redhat.com>
2265
2266 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2267 to localhost:NNN instead of :NNN, in case Xvfb is listening
2268 only on TCP.
2269
f3bcedc1
CV
22702001-09-19 Corinna Vinschen <vinschen@redhat.com>
2271
2272 * gdb.base/recurse.exp: When checking leaving the watchpoint
2273 scope, recognize when gdb is in function's epilogue and pass.
2274
6b819c92
KS
22752001-09-18 Keith Seitz <keiths@redhat.com>
2276
2277 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2278 support for running tests against sid targets.
2279 (gdbtk_done): Ditto.
2280
a10c9419
CV
22812001-09-18 Corinna Vinschen <vinschen@redhat.com>
2282
2283 * gdb.base/ending-run.c (main): Set stdout buffersize
2284 to the same reasonable value for any target.
2285 * gdb.base/ending-run.exp: Add a regular expression
2286 to make testsuite happy on Sanyo Stormy16 target.
2287
739d0d99
CV
22882001-09-17 Corinna Vinschen <vinschen@redhat.com>
2289
2290 * gdb.base/display.c (do_loops): Add float variable `f'.
2291 Increment f in loop.
2292 * gdb.base/display.exp: Increment timeout by 60 seconds.
2293 Change float display test to use variable `f'.
2294
1b8947f0
JB
22952001-09-17 Jim Blandy <jimb@redhat.com>
2296
2297 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2298 overflowing the limited breakpoint tables on some ROM monitors
2299 (like the ROM68K).
2300
9890ac81
FCE
23012001-09-15 Frank Ch. Eigler <fche@redhat.com>
2302
2303 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2304 the "-ac" (disable access control) flag.
2305
6db765ea
JH
23062001-08-30 Jeff Holcomb <jeffh@redhat.com>
2307
2308 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2309 ints.
2310
4c32cc04
KS
23112001-08-30 Keith Seitz <keiths@redhat.com>
2312
2313 * lib/gdb.exp: Move all insight-related functionality into
2314 separate file.
2315 * lib/insight-support.exp: New file.
2316
8d6e6f81
FCE
23172001-08-29 Frank Ch. Eigler <fche@redhat.com>
2318
2319 * config/sid.exp (sid_start): Never set sid verbosity; disable
2320 expect_background {} that consumed its stdout; tolerate </dev/null.
2321 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2322
6a90e1d0
AC
23232001-08-18 Andrew Cagney <ac131313@redhat.com>
2324
2325 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2326 CLI jump command to start it.
2327 (mi_run_to_main): Fail immediatly when unexpected output.
2328
1759b3c3
AC
23292001-08-18 Andrew Cagney <ac131313@redhat.com>
2330
2331 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2332 beginning of function. Fix PR gdb/191.
2333
61d11d80
FCE
23342001-08-16 Frank Ch. Eigler <fche@redhat.com>
2335
2336 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2337 what to force sid endianness to.
2338
942a4df2
KS
23392001-08-15 Keith Seitz <keiths@redhat.com>
2340
2341 * lib/gdb.exp (gdbtk_start): Don't set environment
2342 variables for TCL_LIBRARY and friends. Insight will
2343 now figure these out for itself.
2344
0521c418
MS
23452001-08-02 Michael Snyder <msnyder@redhat.com>
2346
2347 * gdb.base/completion.exp: Remove the symbol "a64l" from
2348 the expect string; this is target-specific, and not related
2349 to what is being tested.
2350
74a9a58a
DB
23512001-08-02 Dave Brolley <brolley@redhat.com>
2352
2353 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2354
c70819fa
MS
23552001-07-25 Michael Snyder <msnyder@redhat.com>
2356
c2b8fa57
MS
2357 * gdb.base/consecutive.exp: New file. Test stepping over
2358 breakpoints on consecutive instructions.
2359 * gdb.base/consecutive.c: New file.
2360
c70819fa
MS
2361 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2362 curly braces in regular expressions.
2363
2b1a1355
MS
23642001-07-25 Michael Snyder <msnyder@redhat.com>
2365
2366 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2367 legitimate output from stepping out of main.
2368
413eca6f
KS
23692001-07-22 Keith Seitz <keiths@redhat.com>
2370
2371 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2372 the empty string, do not run the tests.
2373
7e5a9322
SC
23742001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2375
2376 * gdb.base/long_long.exp: Detect size of pointer. Take into
2377 account 2-byte pointers when testing for p/a results.
2378
de58f10f
SC
23792001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2380
2381 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2382 and defined to 1K for m68hc11.
2383 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2384 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2385 (sizeof_random_data): New variable to tell the size of the data table;
2386 don't test past this size; always run to main.
2387
d6f5fea1
SC
23882001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2389
2390 * gdb.base/return2.exp: return of long long and double fails for
2391 68HC11; don't execute these tests on that platform.
2392 * gdb.base/return.exp: Return of a double fails for 68hc11.
2393
c477543d
SC
23942001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2395
2396 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2397 tests that print a float.
2398 * call-rt-st.exp: Likewise.
2399
63cf1c79
MK
24002001-07-12 Mark Kettenis <kettenis@gnu.org>
2401
2402 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2403 running this test on Linux.
2404
112f9ab5
MC
24052001-06-24 Michael Chastain <chastain@redhat.com>
2406
2407 * gdb.base/arithmet.exp: Remove some tests to make all test names
2408 unique.
2409
4970cb0f
MS
24102001-07-03 Michael Snyder <msnyder@redhat.com>
2411
2412 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2413 the output of the ptype command.
2414
d85da69f
MS
24152001-07-02 Michael Snyder <msnyder@redhat.com>
2416
4c8a82de
MS
2417 * gdb.base/completion.exp: Don't assume that break.c is the only
2418 source file that may contain functions named "marker".
d85da69f
MS
2419 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2420
8afc772b
AC
24212001-06-28 Andrew Cagney <ac131313@redhat.com>
2422
2423 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2424 of files to delete.
2425
2426 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2427 * gdb.disasm/h8300s.exp: New file.
2428 gdb.disasm/h8300s.s: Likewise.
2429
cff22675
AC
24302001-06-27 Andrew Cagney <ac131313@redhat.com>
2431
2432 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2433 empty breakpoint tables.
2434
68c81b54
AC
24352001-06-25 Andrew Cagney <ac131313@redhat.com>
2436
2437 * lib/mi-support.exp: Update args=... part of stop-reason
2438 patterns. Accept either a list or a tuple.
2439
2dd62704
AC
24402001-06-23 Andrew Cagney <ac131313@redhat.com>
2441
2442 * lib/mi-support.exp: Remove local emacs variable defining
2443 change-log-default-name.
2444
b4127474
MC
24452001-06-22 Michael Chastain <chastain@redhat.com>
2446
2447 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2448 This is operationally compatible with the previous version.
2449
8dbfb380
JB
24502001-06-13 Jim Blandy <jimb@redhat.com>
2451
2452 * lib/gdb.exp (gdb_test): Doc fix.
2453
f2d8c86d
MC
24542001-06-10 Michael Chastain <chastain@redhat.com>
2455
2456 * gdb.base/exprs.exp: Remove a duplicate test.
2457
81564d34
JB
24582001-06-06 Jim Blandy <jimb@redhat.com>
2459
2460 * gdb.base/return2.exp (main): Use values to test float and double
2461 returns that are not NaN's, to avoid being confused by IEEE
2462 comparison rules.
2463
da55addb
MS
24642001-06-04 Michael Snyder <msnyder@redhat.com>
2465
2466 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2467 non-zero if control_c fails. Terminate the test on failure,
2468 rather than wait for 12 more tests to time out.
2469
42c65987
JB
24702001-06-06 Jim Blandy <jimb@redhat.com>
2471
b18bced9
JB
2472 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2473 Don't forget to match the GDB prompt.
2474
42c65987
JB
2475 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2476
5b41e5f0
JB
24772001-06-04 Jim Blandy <jimb@redhat.com>
2478
2479 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2480 command.
2481
015e046f
KB
24822001-05-31 Kevin Buettner <kevinb@redhat.com>
2483
2484 * gdb.base/annota1.exp (info break): Match four or more spaces
2485 after "Address".
2486
fb1ffbbe
MC
24872001-05-31 Michael Chastain <chastain@redhat.com>
2488
2489 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2490 (dm_type_int_star): Likewise.
2491 (dm_type_long_star): Likewise.
2492 (dm_type_void_star): Likewise.
2493
5ea2a32c
KB
24942001-05-29 Kevin Buettner <kevinb@redhat.com>
2495
2496 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2497 to a known value in order to get consistent results regardless
2498 of the setting of INPUTRC or the presence or contents of .inputrc.
2499
ae23c492
MS
25002001-05-24 Michael Snyder <msnyder@redhat.com>
2501
ac55707e
MS
2502 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2503 Don't require that the main thread and the manager thread are the
2504 first in the list.
2505
ae23c492
MS
2506 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2507 debugging. If test fails, issue an "unsupported" not a "fail".
2508
400071f1
JB
25092001-05-24 Jim Blandy <jimb@redhat.com>
2510
2511 Don't assume that short is shorter than int.
2512 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2513 assume that shorts are smaller than ints. On a 16-bit machine,
2514 this isn't true.
2515 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2516 an int, is not equal to ~0 stored in an unsigned char. This tests
2517 the same thing that the previous test meant to, but works on
2518 16-bit machines, too.
2519 ("print unsigned char != (~0)"): Same test, complemented.
2520
0816a3e5
MS
25212001-05-24 Michael Snyder <msnyder@redhat.com>
2522
2523 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2524 test for (full_coverage == 0). This makes the test run faster,
2525 and prevents dejagnu getting out of step.
2526
f6dc23a9
KB
25272001-05-23 Kevin Buettner <kevinb@redhat.com>
2528
2529 * gdb.base/finish.exp (finish_void): Revise pattern for
2530 stopping on the call statement to not permit stopping at
2531 the start of the instructions comprising the call sequence.
2532
7dbd117d
MC
25332001-05-19 Michael Chastain <chastain@redhat.com>
2534
2535 * gdb.base/callfuncs.exp: Make all test names unique.
2536 * gdb.base/commands.exp: Make all test names unique.
2537 * gdb.base/condbreak.exp: Make all test names unique.
2538 * gdb.base/dbx.exp: Make all test names unique.
2539 * gdb.base/default.exp: Make all test names unique.
2540 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2541 and TIMEOUT messages to their corresponding PASS message.
2542 * gdb.base/ending-run.exp: Make all test names unique.
2543 * gdb.base/long_long.exp: Remove duplicate test.
2544
6b0b0a9e
KB
25452001-05-21 Kevin Buettner <kevinb@redhat.com>
2546
2547 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2548 stop on the call statement as well as the statement after the
2549 call.
2550
2caa35cb
MS
25512001-05-21 Michael Snyder <msnyder@redhat.com>
2552
2553 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2554
40713331
EZ
25552001-05-10 Elena Zannoni <ezannoni@redhat.com>
2556
2557 * gdb.base/completion.exp: Revamp test. Make it execute on all
2558 platforms.
2559
c2c1be8d
EZ
25602001-05-10 Elena Zannoni <ezannoni@redhat.com>
2561
2c9cd303
EZ
2562 * config/gdbserver.exp (gdb_load): Handle the case
2563 in which the arguments to gdbserver are given in the
2564 baseboard configuration file.
2565 Also handle the case in which the server needs to do a
2566 load.
2567
9671de48
KS
25682001-05-07 Keith Seitz <keiths@cygnus.com>
2569
2570 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2571 set up the display for testing.
2572 (gdbtk_start): Convert all paths to paths that tcl will like.
2573 Export target information to environment.
2574 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2575 necessary.
2576 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2577 (to_tcl_path): New proc to convert a given pathname into
2578 a path acceptible as an argument to a tcl command.
2579 (_gdbtk_export_target_info): New proc to export target info
2580 into the environment for gdbtk testing.
2581 (gdbtk_done): New proc to signal end-of-test.
2582
5a360f47
JB
25832001-05-06 Jim Blandy <jimb@redhat.com>
2584
2585 * restore.c: Make the code of caller0 correspond to its comment.
2586
66c756c6
MS
25872001-05-03 Michael Snyder <msnyder@redhat.com>
2588
2589 * config/sid.exp (gdb_target_sid): Check for error messages.
2590 On error or timeout, don't make expect exit (which will terminate
2591 all subsequent tests); instead just make gdb exit.
2592 (gdb_load): Check for error messages. On error or timeout,
2593 return a negative value.
2594
a966fde5
JB
25952001-04-24 Jim Blandy <jimb@redhat.com>
2596
851c18e0
JB
2597 * gdb.c++/templates.exp: If we see the prompt for the overload
2598 list, but we haven't recognized any of the longer patterns,
2599 arrange for this test to fail, not hang.
2600
a966fde5
JB
2601 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2602 variations.
2603
db144853
MC
26042001-04-22 Michael Chastain <chastain@redhat.com>
2605
2606 * gdb.c++/local.exp: Use the 'runto' library function.
2607 * gdb.c++/namespace.exp: Likewise.
2608 * gdb.c++/overload.exp: Likewise.
2609
3207ec21
KB
26102001-03-26 Kevin Buettner <kevinb@redhat.com>
2611
2612 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2613 * gdb.base/step-line.exp: New file. Test step/next in presence of
2614 #line directives.
2615 * gdb.base/step-line.c: New file. Test program for the above.
2616 * gdb.base/step-line.inp: New file. We pretend that this file has
2617 been transformed by some other tool into step-line.c.
2618
13b57657
JB
26192001-03-21 Jim Blandy <jimb@redhat.com>
2620
2621 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2622 unmangled operator names.
2623
754cbe1c
JB
26242001-03-20 Jim Blandy <jimb@redhat.com>
2625
2626 * gdb.threads/linux-dp.exp: Recognize an additional message
2627 generated by GDB when it doesn't understand how to debug threads
2628 on the target system.
2629
177495c9
AC
26302001-03-19 Andrew Cagney <ac131313@redhat.com>
2631
2632 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2633
f266096b
MC
26342001-03-12 Michael Chastain <chastain@redhat.com>
2635
2636 * gdb.c++/derivation.exp: Use the 'runto' library function.
2637
cac3c2ff
MC
26382001-03-12 Michael Chastain <chastain@redhat.com>
2639
2640 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2641
b6c11a24
MC
26422001-02-24 Michael Chastain <chastain@redhat.com>
2643
2644 * gdb.c++/ref-types.exp: Change handwritten code to library
2645 function 'runto'.
2646
6bae5bce
OF
26472001-03-16 Orjan Friberg <orjanf@axis.com>
2648
2649 * gdb.base/signals.exp: Set count to 0 explicitly.
2650
0015fd9a
MS
26512001-03-15 Mark Salter <msalter@redhat.com>
2652
2653 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2654 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2655 (gdb_load): Add support for additional target_info: gdb_download_size
2656 and gdb_load_timeout.
0015fd9a 2657
fc33412a
DT
2658Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2659
2660 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2661 file -- to prevent failing when the compile fails but we have no
2662 intention of running the tests anyway.
2663
2664 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2665 tests if set.
2666
2667 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2668 integers.
2669
2670 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2671 * gdb.c++/namespace.exp: Ditto.
2672
115f06de
OF
26732001-03-07 Orjan Friberg <orjanf@axis.com>
2674
2675 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2676 * gdb.base/pointers.exp: Relax pattern match of decimals.
2677
b6ba6518
KB
26782001-03-06 Kevin Buettner <kevinb@redhat.com>
2679
2680 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2681 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2682 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2683 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2684 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2685 config/sh.exp, config/sid.exp, config/slite.exp,
2686 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2687 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2688 config/vxworks.exp, config/vxworks29k.exp,
2689 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2690 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2691 gdb.base/arithmet.exp, gdb.base/assign.exp,
2692 gdb.base/async.exp, gdb.base/attach.exp,
2693 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2694 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2695 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2696 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2697 gdb.base/commands.exp, gdb.base/completion.exp,
2698 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2699 gdb.base/constvars.exp, gdb.base/corefile.exp,
2700 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2701 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2702 gdb.base/ending-run.exp, gdb.base/environ.exp,
2703 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2704 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2705 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2706 gdb.base/funcargs.exp, gdb.base/help.exp,
2707 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2708 gdb.base/logical.exp, gdb.base/long_long.exp,
2709 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2710 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2711 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2712 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2713 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2714 gdb.base/regs.exp, gdb.base/relational.exp,
2715 gdb.base/remote.exp, gdb.base/reread.exp,
2716 gdb.base/restore.exp, gdb.base/return2.exp,
2717 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2718 gdb.base/selftest.exp, gdb.base/setshow.exp,
2719 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2720 gdb.base/sigall.exp, gdb.base/signals.exp,
2721 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2722 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2723 gdb.base/step-test.exp, gdb.base/structs.c,
2724 gdb.base/structs.exp, gdb.base/structs2.exp,
2725 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2726 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2727 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2728 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2729 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2730 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2731 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2732 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2733 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2734 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2735 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2736 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2737 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2738 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2739 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2740 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2741 gdb.trace/circ.exp, gdb.trace/collection.exp,
2742 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2743 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2744 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2745 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2746 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2747 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2748 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2749 notices.
2750
dc96c6c7 27512001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2752
2753 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2754 first arg is int not float.
2755
dc96c6c7 27562001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2757
2758 * gdb.base/reread.exp: Unsupported for non-native targets;
2759 doesn't work for remote debugging.
2760
9b0c4aeb
FN
27612001-02-19 Fernando Nasser <fnasser@redhat.com>
2762
2763 From Drew Moseley <dmoseley@redhat.com>
2764 * gdb.base/ending-run.exp: Properly handle the BSP state when
2765 stepping past the end of main.
2766
02aa71d5
MC
27672001-02-19 John Moore <jmoore@redhat.com>
2768
2769 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2770 Converted HPUX fix for non-expected items following multiple
2771 step commands into general solution for all platforms.
2772
1fa449a4
MC
27732001-02-18 Michael Chastain <chastain@redhat.com>
2774
2775 * gdb.c++/classes.exp (do_tests): Change runto statements
2776 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2777 statements demangler agnostic.
2778 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2779 (gdb_virtfunc_restart): Likewise.
2780
b2f9ec70
MC
27812001-02-14 Michael Chastain <chastain@redhat.com>
2782
2783 * gdb.c++/inherit.exp (do_tests): Change runto statements
2784 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2785 statements demangler agnostic.
2786
cf74b8ca
AC
2787Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2788
2789 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2790 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2791 before calling common_routine 15 times'' tests.
2792
99f78f56
MC
27932001-02-11 Michael Chastain <chastain@redhat.com>
2794
2795 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2796 Helps the test script figure out which demangler is in use.
2797 (dm_type_foo_ref): Ditto.
2798 (dm_type_int_star): Ditto.
2799 (dm_type_long_star): Ditto.
2800 (dm_type_unsigned_int): Ditto.
2801 (dm_type_void): Ditto.
2802 (dm_type_void_star): Ditto.
99707966 2803 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2804 Probe the gdb demangler and set variables to accommodate
2805 formatting differences.
2806 (info_func_regexp): New function. Same as info_func, but
2807 matches against a regexp.
2808 (info_func): Match against a literal string.
2809 (print_addr_2): New function. Match against a literal string,
2810 which can be different from the input to gdb.
2811 (print_addr): Simply call print_addr_2 with the same argument twice.
2812 (test_lookup_operator_functions): Use demangler formatting variables.
2813 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2814 the tests in the same order as the C++ class declaration.
2815 (test_paddr_operator_functions): Ditto.
2816 (test_paddr_overloaded_functions): Ditto.
2817 (test_paddr_hairy_functions): Use demangler formatting variables.
2818 Add reference to gdb/19 for related tests.
2819 (do_tests): Call probe_demangler.
2820
1de8f023
KB
28212001-01-30 Kevin Buettner <kevinb@redhat.com>
2822
2823 * gdb.c++/templates.cc (printf): Remove unused function definition.
2824
ca3f91ed
MS
28252001-01-26 Felix Lee <flee@redhat.com>
2826
2827 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2828
28292001-01-25 matthew green <mrg@redhat.com>
2830
2831 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2832 up sid.
2833 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2834
28352001-01-25 matthew green <mrg@redhat.com>
2836
2837 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2838 Deprecate $sid_spawn_id.
2839 (sid_exit): Remove code necessary only for `spawn.'
2840
28412001-01-25 matthew green <mrg@redhat.com>
2842
2843 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2844
fb18ec4a
MC
28452001-01-28 Michael Chastain <chastain@redhat.com>
2846
2847 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2848 to call when tests fail. It takes gdb out of the overloaded
2849 function choice menu back to the main prompt, so that the test
2850 program stays synchronized.
2851 (set_bp_overloaded): New proc to collect all the common
2852 code for setting a breakpoint on an overloaded name. Calls
2853 take_gdb_out_of_choice_menu when needed.
2854 (menu_overload1arg): New variable to collect the repeated
2855 instances of the expected menu for an overloaded name. Change
2856 the regular expression to handle changes in g++ type encoding:
2857 "void" can be either "void" or "", and "unsigned int" can be
2858 either "unsigned int" or "unsigned".
2859 (continue_to_bp_overloaded): Change regular expressions to handle
2860 changes in g++ type encoding.
2861 (no proc): Call take_gdb_out_of_choice_menu when needed.
2862 Remove redundant calls to "info break". Accept either "canceled"
2863 or "cancelled". Change regular expressions in "info break"
2864 calls to handle changes in g++ type encoding. Give all tests
2865 unique strings.
2866
9c646a6e
BE
28672001-01-17 Ben Elliston <bje@redhat.com>
2868
2869 * config/sid.exp: New file.
2870
9549d9c1
AC
2871Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2872
2873 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2874
dc96c6c7 28752000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2876
2877 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2878 Add a RE to accept a non-ascii char if one is ever presented.
2879
b4df4f68
FN
28802000-12-20 Fernando Nasser <fnasser@redhat.com>
2881
297dd0fd 2882 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2883
dc96c6c7 28842000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2885
2886 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2887 in regexp. One '\' does not suffice on Linux.
2888
4a7bddb6
MC
28892000-12-09 Michael Chastain <chastain@redhat.com>
2890
2891 * gdb.base/break.exp (test_clear_command): Use a marker function
2892 rather than 'main' for the test function. Also move this
2893 test to an execution point where the marker function names are
2894 guaranteed to be bound to functions. (Executing tests after a
2895 'finish' from main runs into name conflicts with local names
2896 in __libc_start_main).
2897
dc96c6c7 28982000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2899
2900 * gdb.base/finish.exp: New test for gdb's "finish" command.
2901 * gdb.base/return2.exp: New test for gdb's "return" command.
2902 * gdb.base/return2.c: New source file for above.
2903
dc96c6c7 29042000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2905
2906 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2907 * gdb.base/miscexprs.exp: Ditto.
2908 * gdb.base/pointers.exp: Ditto.
2909 * gdb.c++/derivation.exp: Ditto.
2910 * gdb.c++/local.exp: Ditto.
2911 * gdb.c++/namespace.exp: Ditto.
2912 * gdb.c++/overload.exp: Ditto.
2913 * gdb.c++/ref-types.exp: Ditto.
2914
dc96c6c7 29152000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2916
2917 * gdb.base/constvars.exp: Test result of "up" command.
2918 * gdb.base/miscexprs.exp: Ditto.
2919 * gdb.base/pointers.exp: Ditto.
2920 * gdb.base/scope.exp: Ditto.
2921 * gdb.c++/derivation.exp: Ditto.
2922 * gdb.c++/local.exp: Ditto.
2923 * gdb.c++/namespace.exp: Ditto.
2924 * gdb.c++/overload.exp: Ditto.
2925 * gdb.c++/ref-types.exp: Ditto.
2926
44097287
FN
29272000-11-22 Michael Chastain <chastain@redhat.com>
2928
2929 * mips_pro.exp: Accept either "middle -> top -> main" or
2930 "middle -> main" in the backtrace, because gcc can optimize
2931 tail calls to jumps. Remove setup_xfail for the hppa case.
2932 Add a comment with the original warning messages from PR 3016,
2933 which was filed in 1993, to preserve them for posterity.
2934
9d2e1bab
ND
29352000-11-17 Nick Duffek <nsd@redhat.com>
2936
2937 * lib/gdb.exp (gdb_test): Override timeout with board info.
2938
1aca8eb7
ND
29392000-11-17 Nick Duffek <nsd@redhat.com>
2940
2941 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2942 the second kill and detach messages.
2943
93076499
ND
29442000-11-17 Nick Duffek <nsd@redhat.com>
2945
2946 * configure.in: Add AC_EXEEXT.
2947 * configure: Regenerate.
2948 * Makefile.in (just-check): Export EXEEXT.
2949 * lib/gdb.exp ($EXEEXT): Import from environment.
2950 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2951 expect "maint dump-me" on Cygwin.
2952 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2953 $EXEEXT.
2954
30e87cd3
ND
29552000-11-17 Nick Duffek <nsd@redhat.com>
2956
2957 * gdb.base/break.exp: Test backtrace and finish from called
2958 function on all platforms, not just HP-UX.
2959
dc96c6c7 29602000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2961
2962 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2963 code from gdb_target_monitor, so it can be used independantly
2964 for gdbserver. Also comment out an unnecessary PUTS.
2965
dc96c6c7 29662000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2967
2968 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2969 * gdb.base/corefile.exp: Expect the message "Program is being
2970 debugged already" when we send the "corefile" command, since
2971 the preceeding gdb_load may have connected gdb to a remote target.
2972 * gdb.base/display.exp: Disable hardware watchpoints if new
2973 board info variable "no_hardware_watchpoints" is true.
2974 Replace single-letter commands with more readable ones.
2975 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2976 if new board info variable "no_hardware_watchpoints" is true.
2977 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2978 to see if stdio (printf) testing is possible.
2979 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2980 board info variable "no_hardware_watchpoints" is true. Use new
2981 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2982
39124dea
FN
29832000-11-13 Fernando Nasser <fnasser@redhat.com>
2984
2985 From Orjan Friberg <orjanf@axis.com>:
2986 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2987 in array print pattern match.
2988
a9e2e984
FN
29892000-11-09 Fernando Nasser <fnasser@redhat.com>
2990
2991 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2992 spelling "cancelled" to U.S. spelling "canceled" to match changes
2993 made to gdb.
2994 * gdb.c++/ovldbreak.exp: Ditto.
2995
c7db355b
PS
29962000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2997
2998 * gdb.base/callfuncs.c (main): Moved to end of file, call
2999 t_double_values to initialize the FPU before inferior calls are made.
3000 * gdb.base/callfuncs.exp: Test for register preservation after calling
3001 inferior functions. Add tests for continuining, finishing and
3002 returning from a stop in a call dummy.
3003
dc96c6c7 30042000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3005
3006 * gdb.base/commands.exp: Break up long lines, and re-indent.
3007
dc96c6c7 30082000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3009
3010 * config/gdbserver.exp: Rewritten from the ground up, to make it
3011 compatible with the current dejagnu tree, and to make it work with
3012 the new "gdbserver" in libremote.
3013
dc96c6c7 30142000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3015
3016 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3017 * gdb.base/varargs.exp: Skip entire test if no printf support.
3018 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3019 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3020
dc96c6c7 30212000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3022
3023 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3024 no floating point support.
3025 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3026 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3027 * gdb.base/call-rt-st.exp: Ditto.
3028 * gdb.base/call-strs.exp: Ditto.
3029
bac5fc66
JG
30302000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3031
3032 * gdb.base/sizeof.c: include <stdio.h>.
3033
3034 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3035 'finish', otherwise uncaptured gdb_prompt would potentially
3036 throw remaining test points out of sync.
3037
b22a6027
SB
30382000-07-26 Scott Bambrough <scottb@netwinder.org>
3039
3040 * gdb.base/recurse.exp: Run tests for all targets.
3041 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3042 gnu-oldld case on ARM.
3043 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3044 for ARM targets.
3045
d8231941
AG
3046Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3047
3048 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3049 * gdb.java/configure: Rebuild.
3050
8caabe69
AG
3051Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3052
3053 * gdb.java/jv-exp.exp: New file.
3054
9d273ca3
AG
3055Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3056
3057 * configure: Rebuilt.
3058 * configure.in (configdirs): Add gdb.java.
3059 * gdb.java/jmisc.java: New file.
3060 * gdb.java/jmisc.exp: New file.
3061 * gdb.java/Makefile.in: New file.
3062 * gdb.java/configure: Rebuilt.
3063 * gdb.java/configure.in: New file.
3064 * lib/java.exp: New file.
3065
4f823a66
AC
3066Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3067
3068 * gdb.base/exprs.exp: Test casts to a pointer including over and
3069 underflow.
3070
2391e11d
AC
3071Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3072
3073 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3074 and the compilers sizes.
3075
54602222
ND
30762000-07-09 Nick Duffek <nsd@redhat.com>
3077
3078 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3079 (use_methods): New function.
3080 (main): Call use_methods().
3081 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3082 (do_tests): Call test_method_param_class.
3083
2bec0572
ND
30842000-07-09 Nick Duffek <nsd@redhat.com>
3085
3086 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3087 spelling.
3088 (test_enums): New procedure. Move enum tests from end of script
3089 to here. Set breakpoint on function name instead of line number.
3090 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3091 (enums2): New marker function.
3092 (enums1): New function.
3093 (main): Call enums1(). Move enum tests to enums1().
3094
78492fde
AC
3095Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3096
3097 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3098 compile/link program. Update line numbers.
3099 * gdb.asm/d10v.inc: Define ``startup''.
3100 * gdb.asm/asmsrc1.s: Add definition of _start.
3101
49a2cef8
AC
3102Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3103
3104 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3105
3e6c8688
EZ
31062000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3107
3108 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3109 of 'help maint print' command.
3110
9ff5cbe9
AC
3111Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3112
3113 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3114 they use gdb_expect_list.
3115
17c579bd
AC
3116Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3117
3118 * gdb.base/commands.exp: Use ``set remote
3119 memory-read-packet-size'' instead of ``set endian big'' to test
3120 long commands.
3121
e6d71bf3
DB
31222000-06-03 Daniel Berlin <dan@cgsoftware.com>
3123
3124 * gdb.c++/templates.exp (do_tests): Make all of these work under
3125 g++, and stop skipping them.
3126
3127 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3128 work under g++.
3129
e5f9ba7b
MS
3130 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3131 initialization.
3132
dc96c6c7 31332000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3134
3135 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3136 the regular expression: accept an (almost) arbitrary sequence of
3137 "frames-invalid" and "breakpoints-invalid" messages both before
3138 and after the "starting" message.
3139
dc96c6c7 31402000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3141
3142 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3143
dc96c6c7 31442000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3145
3146 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3147 Relax the regular expression a little, make it pass on Solaris 8.
3148
8216cda9
KB
31492000-05-12 Kevin Buettner <kevinb@redhat.com>
3150
3151 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3152 a call, do not require that gdb stop on the line after the call.
3153 Instead, it is permissible for gdb to stop on the line of the
3154 call itself.
3155
1a570b2f
MS
31562000-05-12 Michael Snyder <msnyder@.cygnus.com>
3157
3158 * gdb.base/break.exp (bp on small function, optimized file):
3159 Add a second pass pattern. The behavior differs here between stabs
3160 and dwarf for one-line functions. Stabs preserves two line symbols
3161 (one before the prologue and one after) with the same line number,
3162 but dwarf regards these as duplicates and discards one of them.
3163 Therefore the address after the prologue (where the breakpoint is)
3164 has no exactly matching line symbol, and GDB reports the breakpoint
3165 as if it were in the middle of a line rather than at the beginning.
3166
dc96c6c7 31672000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3168
3169 * gdb.base/interrupt.exp: Make "pass" message say "send"
3170 rather than "send_gdb" (for consistancy).
3171
7d418785
AC
3172Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3173
3174 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3175 * gdb.c++/templates.cc: Properly check for GCC version number.
3176 * lib/compiler.cc: Likewise
3177
dc96c6c7 31782000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3179
3180 * gdb.base/break.exp: When compiled with -O2 optimization,
3181 gdb may not stop at the first line of main, due to code motion.
3182
dc96c6c7 31832000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3184
3185 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3186 This test depends on parsing the printf output from the target.
3187 Since the sparclet stub doesn't do stdio, this will never work.
3188 * gdb.base/call-rt-st.exp: ditto.
3189 * gdb.base/call-strs: ditto.
3190
dc96c6c7 31912000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3192
3193 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3194
3195 * gdb.base/ending-run.exp: After connecting to a remote target,
3196 but before running, the target will appear to be in a random
3197 location. Specify both a file and a line for breakpoints.
3198 Also, the function that calls main may be called 'init'
3199 rather than 'start'.
3200
a5a51225
EZ
32012000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3202
3203 * gdb.base/help.exp: Update output for add-symbol-file command.
3204
7930cc7c
FN
32052000-04-10 Fernando Nasser <fnasser@cygnus.com>
3206
3207 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3208 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3209
23e37ab1
C
32102000-04-07 J.T. Conklin <jtc@redback.com>
3211
e93c542c
C
3212 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3213
23e37ab1
C
3214 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3215
591b8fa3
PDM
3216Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3217
3218 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3219 values that can be represented exactly.
3220 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3221 above change, and to not check against the directory part of the source
3222 file name.
3223 (step into print_long_arg_list): Likewise.
3224 (print print_small_structs from print_long_arg_list): Likewise.
3225 (print print_long_arg_list): Likewise.
3226
7a495180
EZ
32272000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3228
30b53638 3229 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3230
beb998c6
AC
3231Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3232
3233 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3234
1c689132
DB
32352000-03-25 Daniel Berlin <dan@cgsoftware.com>
3236
3237 * gdb.base/commands.exp (deprecated_command_test): Add test for
3238 deprecate with no arguments.
3239
c1790a9d
JL
32402000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3241
3242 * gdb.base/break.exp: Add new test for setting breakpoints on
3243 optimized code so we can test breakpoints work even when function
3244 prologues may be optimized away
3245
003ba290
FN
32462000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3247
3248 From David Whedon <dwhedon@gordian.com>
3249 * gdb.base/commands.exp : Added command deprecator tests.
3250
6837a0a2
DB
32512000-03-22 Daniel Berlin <dan@cgsoftware.com>
3252
3253 * gdb.base/help.exp: Added test for new apropos command.
3254
b9593231
KB
32552000-03-21 Kevin Buettner <kevinb@redhat.com>
3256
3257 * gdb.base/pointers.c (usevar): New function.
3258 (main): Make sure that global variables v_int_pointer2, rptr,
3259 and y are all referenced someplace in the program by calling
3260 usevar() on them. [Some linkers delete symbols which are
3261 never referenced. The space remains, but there's no way to
3262 get a (symbolic) handle on the variable from the debugger.]
3263
751a959b
EZ
32642000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3265
3266 * gdb.base/printcmds.c: Add typedeffed arrays.
3267
3268 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3269 procedure to test arrays that are typedef'd.
3270
73a93a32
JI
32712000-03-13 James Ingham <jingham@leda.cygnus.com>
3272
3273 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3274 the library directories.
73a93a32 3275
fb40c209
AC
3276Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3277
3278 * configure.in (configdirs): Add sub directory gdb.mi.
3279 * configure: Re-generate.
3280
3281 * gdb.mi: New directory.
beb998c6 3282
ee4dd2c9
AC
32832000-02-25 Scott Bambrough <scottb@netwinder.org>
3284
3285 * gdb.base/long_long.exp: Correct test suite failure when printing
3286 a long long value as a double on ARM platforms.
3287
70f0cc22
JB
32882000-02-16 Jim Blandy <jimb@redhat.com>
3289
3290 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3291 default source file is set properly before running this test.
3292
853819b8
EZ
32932000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3294
3295 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3296 gdbtk/library directory, not in gdbtcl2.
3297
dfcd3bfb
JM
32982000-02-04 Jim Blandy <jimb@redhat.com>
3299
3300 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3301 backslash from regexp pattern.
3302
3303 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3304 procedure. Use it to run all the "continue to bp overloaded"
3305 tests. Note that this changes the names of the tests slightly.
3306 If the breakpoint hit message includes a hex PC value, because
3307 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3308 from the real source code, still consider that a pass.
3309
3310 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3311 XFAIL here if the breakpoint message contains a hex address. Note
3312 similar change on 1999-11-02.
3313
3314 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3315
3316 * gdb.base/ptype.exp: Establish a default source file before
3317 calling get_debug_format.
3318
33192000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3320
3321 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3322
8b93c638
JM
33232000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3324
3325 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3326 of successive stepi commands -- while in the prologue we should see
3327 the function entry bracket.
3328
33292000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3330
3331 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3332 reach __change_mode() when stepping through the end of main().
3333
c5394b80
JM
33342000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3335
3336 * gdb.base/default.exp: Fix expected pattern.
3337 * gdb.base/help.exp: Same.
3338
0d06e24b
JM
33392000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3340
3341 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3342 Don't use xfail's because that affects only the following test.
beb998c6 3343
0d06e24b
JM
3344 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3345 solaris or linux.
3346
3347 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3348
dc96c6c7 33492000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3350
beb998c6 3351 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3352 "A syntax error" rather than "A parse error". Accept both.
3353
33542000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3355
3356 * gdb.base/default.exp: Remove OS dependent string from "target
3357 remote" test.
3358 * gdb.base/help.exp: Same for "help target remote" test.
3359
c3f6f71d
JM
33602000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3361
3362 From Jim Kingdon <kingdon@redhat.com>:
3363
3364 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3365 prompt (cleanup rather than necessity, but still might keep output
3366 from spilling to next test).
3367
33682000-01-02 Fred Fish <fnf@cygnus.com>
3369
3370 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3371 AIX, which defines them in <sys/types.h>.
3372
ed9a39eb 33731999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3374
ed9a39eb
JM
3375 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3376 float" test.
3377
33781999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3379
ed9a39eb 3380 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3381
3382 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3383 outermost frame disallowed".
3384
33851999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3386
3387 * gdb.base/setvar.exp: New tests for setting the value of a struct
3388 with a constant list.
3389
33901999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3391
3392 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3393 require the user to type a cast before setting the value of a struct.
3394
de57eccd
JM
33951999-12-06 Jim Blandy <jimb@cygnus.com>
3396
3397 * gdb.base/default.exp: Expect the new 'info float' command on
3398 all i386 platforms.
3399
3400 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3401 LinuxThreads libraries that don't support debugging.
3402
c2d11a7d
JM
3403Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3404
3405 * gdb.base/remote.c: Fill the buffer with truely random data.
3406 Change the buffer type to ``unsigned char'' to simplify size
3407 arithmetic.
3408
3409 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3410 stub only handles 400-1 byte packets. Verify that the download
3411 worked.
3412
34131999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3414
3415 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3416 tests, using UNRESOLVED for the untested cases. Also, does not wait
3417 for a timeout if the prompt was received before a recognizable pattern.
3418
34191999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3420
3421 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3422
34231999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3424
3425 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3426 watchpoints.
3427
34281999-11-24 Jason Merrill <jason@casey.cygnus.com>
3429
3430 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3431
3432 * gdb.c++/local.exp: Be more flexible in recognizing local class
3433 name mangling. Don't allow horribly truncated method names.
3434 * gdb.c++/derivation.exp: Expect protected inheritance.
3435 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3436 * gdb.c++/virtfunc.exp: Likewise.
3437 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3438 when printing a nested enum.
3439
34401999-11-22 Jim Blandy <jimb@cygnus.com>
3441
3442 * gdb.base/step-test.exp: Properly await GDB's response to setting
3443 a breakpoint on the call to large_struct_by_value.
3444
3445 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3446 just because we have debug info for the `start' function.
3447
34481999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3449
3450 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3451 "Unknown signal" messages, which indicate (on LinuxThreads) that
3452 GDB doesn't know how to debug threads on this system. This is
3453 better than hanging while philosopher 0 dumps chatter into gdb.log.
3454
34551999-11-18 Tom Tromey <tromey@cygnus.com>
3456
3457 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3458
34591999-11-18 Fred Fish <fnf@cygnus.com>
3460
3461 * gdb.base/coremaker2.c: Add sample program for generating
3462 cores that is more self contained than coremaker.c. Eventually
3463 I'll add more code to this and tie it into the testsuite.
3464
4ce44c66
JM
34651999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3466
3467 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3468
34691999-11-10 Jimmy Guo <guo@cup.hp.com>
3470
3471 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3472 from $srcdir/lib/.
3473 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3474 and gdb.c++/.
3475
3476 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3477
beb998c6 3478 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3479 'continue with watch' test point.
3480
34811999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3482
3483 Merged from p2linux-990323-branch:
beb998c6 3484
4ce44c66
JM
3485 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3486
11cf8741
JM
3487Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3488
3489 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3490 {limit,fixed}''. Test ``set download-write-size''.
3491
3492Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3493
3494 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3495 gdb_expect_list.
3496
3497Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3498
3499 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3500
35011999-11-03 Mark Salter <msalter@cygnus.com>
3502
3503 * gdb.base/break.exp: Fix "stub continue" pattern.
3504
35051999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3506
3507 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3508
35091999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3510
3511 * gdb.base/display.exp ("finish"): Add timeout clause.
3512
3513 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3514 plain prompt clause, so this doesn't have to time out in order to
3515 fail.
3516
3517 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3518 breakpoint hit messages include an address.
3519
3520 * gdb.base/display.exp: Don't forget to escape parens in regular
3521 expressions. Unix regexp notatation sucks.
3522
35231999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3524
3525 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3526 order for 'signalled' message.
3527
5c44784c
JM
35281999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3529
3530 From Jimmy Guo <guo@cup.hp.com>:
3531 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3532 * gdb.base/annota1.c: Add code for tests to work with.
3533
35341999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3535
3536 * gdb.base/remote.exp: New test for remote downloading settings.
3537 * gdb.base/remote.c: New file with large .data.
3538
917317f4
JM
35391999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3540
3541 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3542 for LinuxThreads support, merged from the Code Fusion branch.
3543
3544Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3545
3546 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3547 containing exp_continue into a while within an expect. Don't
3548 attempt a start more than three times. Check return value from
3549 gdb_load.
beb998c6 3550
2df3850c
JM
3551Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3552
3553 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3554 a pass case.
3555
2acceee2
JM
35561999-10-01 Kevin Buettner <kevinb@cygnus.com>
3557
3558 * gdb.base/break.c (main): Added a statement that we can step
3559 off of.
3560 * gdb.base/break.exp: Added tests for setting a breakpoint
3561 at an offset and stepping onto a breakpoint.
3562
35631999-10-01 Fred Fish <fnf@cygnus.com>
3564
beb998c6 3565 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3566 gdb output.
3567
c2c6d25f
JM
35681999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3569
3570 * gdb.base/break.exp: Code locations are in hex, don't forget!
3571 (For HP-UX.)
3572
35731999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3574
3575 * condbreak.exp: Use break.c as test program.
3576 * condbreak.c: Remove, redundant with break.c.
3577
35781999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3579
3580 * config/monitor.exp (gdb_target_monitor): Disable X- and
3581 Z-packets if the target needs it.
3582
35831999-09-13 James Ingham <jingham@leda.cygnus.com>
3584
3585 * gdb.c++/overload.exp: Added tests for listing overloaded
3586 functions with function pointers in the arg, explicitly calling
3587 out the version you want.
3588
cff3e48b
JM
35891999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3590
3591 * long_long.exp: Add variations of test cases that work for
3592 targets with 16-bit ints and 32-bit doubles.
3593
d4f3574e
SS
35941999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3595
3596 * break.c (main): Compare a possibly-uninitialized argc with an
3597 unlikely value that fits in 16 bits.
3598
35991999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3600
3601 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3602 0xfeeb, don't want negative numbers if ints are 16 bits.
3603
3604 * lib/gdb.exp (skip_cplus_tests): New proc.
3605 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3606 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3607 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3608 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3609 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3610 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3611 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3612 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3613
3614 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3615
3616Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3617
3618 * gdb.base/corefile.exp (up): Allow a parameter to appear
3619 in the frame that we're going up to.
3620
3621 From Jim Blandy <jimb@cygnus.com>:
3622
3623 * gdb.base/default.exp (info float): Expect some output now.
3624
3625 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3626 returning floating-point values to fail on the x86.
3627 * gdb.base/callfwmall.exp (do_function_calls): Same.
3628
3629 * gdb.base/list.exp (test_listsize): Correct expectations for
3630 listing line 1 with listsize 2. Also, listing a single line
3631 works now, as does listing three lines. [Kevin's note: There
3632 were a number of other cases fixed too where the expectations
3633 differed...]
3634
36351999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3636
3637 * gdb.base/selftest.exp: Add case for when version prints as
3638 constant string instead of char pointer.
3639
104c1213
JM
36401999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3641
3642 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3643 stepping out of main.
3644
3645 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3646 G++ used.
3647
3648 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3649 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3650
3651 * gdb.c++/ovldbreak.exp: Update match string in test that
3652 includes a warning of multiple breakpoints.
3653
36541999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3655
3656 * gdb.base/display.exp: Improve precision of step-after-finish
3657 added yesterday.
3658
3659 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3660 test.
3661
3662 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3663 configs when using G++, not just hppa*.
3664
36651999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3666
3667 * gdb.base/async.c: New file.
3668 * gdb.base/async.exp: New file.
3669
3670Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3671
3672 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3673 PA64.
3674
53a5351d
JM
3675Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3676
104c1213
JM
3677 * gdb.base/display.exp: "finish" can leave us mid-line on many
3678 targets, deal with it. Add a small constant to main, instead of
3679 1000 since main+1000 may not be a valid address in the target.
3680
53a5351d
JM
3681 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3682 on hpux11.
3683
3684 * gdb.base/attach.exp: Handle another hpux11 error message variant
3685 when attaching to a process that does not exist.
3686
36871999-08-19 J.T. Conklin <jtc@redback.com>
3688
3689 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3690 characters in 'continue to 1241' test.
3691
36921999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3693
3694 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3695 stop in print_long_arg_list, define and use a whitespace
3696 variable in print_small_structs test, add an XFAIL for Solaris.
3697 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3698 interested enough to fix.
3699
7be570e7
JM
37001999-08-13 Keith Seitz <keiths@cygnus.com>
3701
3702 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3703 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3704 proc knows about targets other than the natives.
3705 (test_assign): Use "gdb_run_cmd" to "run" the target.
3706 Check that we've actually hit the breakpoint at main.
3707 When we attempt to assign a value to a local variable, check
3708 that the variable is in the current scope, i.e., don't use
3709 a test with an empty result.
3710
3711Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3712
3713 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3714 command.
3715
37161999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3717
3718 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3719 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3720 gdb.compat, gdb.threads-hp.
3721 gdb.hp/configure, gdb.hp/configure.in: New files.
3722 gdb.hp/Makefile.in: Recurse into new subdirs.
3723 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3724 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3725 in object files.
3726 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3727
96baa820
JM
37281999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3729
3730 * gdb.base/display.exp: Help expect by putting a newline in the
3731 funky printf, remove a bogus p/a test.
3732
37331999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3734
3735 * gdb.base/display.exp: Make sure that when we say 'run', we are
3736 connected to the target. This is necessary when running not
3737 natively.
3738
37391999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3740
3741 * gdb.base/step-test.exp: Removed some extraneous messages.
3742
3743 * gdb.base/long_long.exp: Don't run memory examination tests
3744 on little-endian targets (they will need a different set of
3745 results to match).
3746
37471999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3748
3749 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3750 until somebody decides to fix GDB.
3751
3752 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3753 constant as "ULL".
3754 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3755 matches for a couple x/2 commands.
3756
a0b3c4fd
JM
37571999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3758
3759 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3760 by merging in ref-types2 tests.
3761 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3762
3763 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3764 * gdb.c++/Makefile.in: Add standard actions.
3765 (EXECUTABLES): Rename from PROGS, update list.
3766 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3767 from gdb.hp.
3768 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3769 foo and bar locals.
3770 * gdb.c++/anon-union.exp: Fix tests to match.
3771 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3772 expect matches to handle output variations.
3773 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3774 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3775 output, add HP alternatives for new and delete prints.
3776 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3777 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3778 * gdb.c++/demangle.exp: Use $style when reporting failure.
3779 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3780 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3781 match alternatives.
3782 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3783 compilers.
3784 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3785 * gdb.c++/method.exp: Add match alternatives.
3786 * gdb.c++/misc.cc: Add bool types.
3787 * gdb.c++/misc.exp: Add tests for bool types.
3788 * gdb.c++/overload.exp: Add xfails.
3789 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3790 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3791 add some more template parameter tests (only for HP currently).
3792 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3793 * gdb.c++/virtfunc.cc: Add return type and value for main.
3794 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3795 match alternatives.
beb998c6 3796
a0b3c4fd
JM
37971999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3798
3799 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3800
38011999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3802
3803 * gdb.base/signals.exp: Don't expect getting a backtrace from
3804 within a signal handler to fail on Linux.
3805
38061999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3807
3808 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3809 * lib/gdb.exp: Remove some gratuitious semicolons.
3810 (delete_breakpoints): Increase timeout.
3811 (gdb_expect): Add -notransfer option.
3812 (gdb_test): Use -notransfer option.
3813 (get_compiler_info): Add f77 case.
3814 (get_compiler): New proc, split out from gdb_preprocess, add f77
3815 case.
3816 (gdb_preprocess): Call get_compiler.
3817
3818 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3819 * gdb.base/attach.exp, gdb.base/display.exp,
3820 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3821 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3822 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3823 third arg to gdb_test.
3824 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3825 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3826 HP-UX xfails, add others.
3827 * gdb.base/completion.exp: Reflect name change of self-test.
3828 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3829 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3830 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3831 HP failure number.
3832 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3833 useless HP-UX 10.30 references.
3834 * gdb.base/maint.exp: Loosen matches.
3835 * gdb.base/pointers.c (main): Declare more_code.
3836 * gdb.base/pointers.exp: Match on output of a `next'.
3837 * gdb.base/structs.c: Add prototypes.
3838 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3839 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3840
38411999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3842
3843 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3844 command.
3845
38461999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3847
3848 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3849 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3850
3851 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3852 debug info. Deal with lack of signal hanlder info in stack.
3853
3854 From Jim Kingdon <kingdon@redhat.com>:
3855 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3856
5a2468f5
JM
38571999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3858
3859 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3860 gdb.base/foll-vfork.exp: Don't run for crosses.
3861
adf40b2e
JM
3862Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3863
3864 * gdb.base/configure.in: Check for gdbvars.exp instead of
3865 a1-selftest.exp.
3866 * gdb.base/configure: Re-generate.
3867
38681999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3869
3870 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3871 in trying to run first and name is too long.
3872
3873 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3874 pointers2.c and pointers2.exp, respectively.
3875 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3876 doschk happier.
3877
43e526b9
JM
38781999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3879
3880 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3881 callfuncs2.c and callfuncs2.exp.
3882
3883 * gdb.base/list.exp: Remove mistaken xfails.
3884 * gdb.base/list0.h: Add optional prototypes.
3885
9846de1b
JM
3886Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3887
3888 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3889 calling malloc.
3890 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3891 * ptype.exp: Move test for get_debug_format to before its first
3892 use.
3893
38941999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3895
3896 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3897 * gdb.base/annota2.cc, annota2.exp: Move from here.
3898 * gdb.c++/annota2.cc, annota2.exp: To here.
3899 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3900
43ff13b4
JM
3901Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3902
3903 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3904 a consistent format.
3905
085dd6e6
JM
39061999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3907
3908 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3909 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3910 HP compilers, also set the globals $true and $false.
3911
3912 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3913 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3914 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3915 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3916 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3917 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3918 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3919 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3920 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3921 whatis.c} Add C++ compatible function definitions and return
3922 types, add includes for library functions.
3923 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3924 * gdb.base/step-test.c (myglob): Rename from glob.
3925 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3926 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3927 files, move here from gdb.hp.
3928 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3929 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3930 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3931 Adjust line numbers in regexps.
3932
3933 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3934 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3935 instead of 0/1.
3936
3937 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3938 foll-vfork.exp: New files, move here from gdb.hp.
3939 * gdb.base/page.exp: New file, test of pagination command.
3940
3941 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3942 recursion test.
3943 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3944
3945 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3946 gdb.base/solib.exp: Fix compiler invocation process.
3947
3948 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3949 HP-UX 11, turn off overload resolution explicitly.
3950 * gdb.base/commands.exp: Set argument list explicitly, add
3951 watchpoint test.
3952 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3953 them work.
3954 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3955 expressions properly.
3956 * gdb.base/corefile.exp: Loosen the match slightly.
3957 * gdb.base/default.exp: Allow "Error accessing memory" message
3958 also.
3959 * gdb.base/display.exp: Skip over x/0 j if PA64.
3960 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3961 * gdb.base/interrupt.exp: Ditto.
3962 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3963 in use.
3964 * gdb.base/list.exp: Add xfails for HP-UX.
3965 * gdb.base/long_long.exp: Refine some of the numeric matches.
3966 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3967 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3968 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3969 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3970 * gdb.base/ptype.exp: Succeed on more varieties of output.
3971 * gdb.base/scope.exp: Add xfails for HP-UX.
3972 * gdb.base/sect-cmd.exp: Add more cases.
3973 * gdb.base/setvar.exp: Add xfails for HP-UX.
3974 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3975 * gdb.base/signals.exp: Match on void symbolically.
3976 * gdb.base/step-test.exp: Add case for PA64.
3977 * gdb.base/term.exp: Add exit and restart.
3978 * gdb.base/twice.exp: Clean up after self.
3979 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3980 * gdb.base/whatis.exp: Allow more ways to pass tests.
3981
3982 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3983 no longer useful.
3984
3985Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3986
3987 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3988 list of patterns.
3989 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3990 print_double_array(double_array)", "continuing to breakpoint
3991 1018", "print print_double_array(array_d)" and "continuing to
3992 1034" tests.
beb998c6 3993
085dd6e6
JM
39941999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3995
3996 * Makefile.in: Add empty html and install-html targets.
3997
39981999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3999
4000 * config/mt-*: Remove, these haven't been used since 1996.
4001
40021999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4003
4004 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4005 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4006 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4007
9e0b60a8
JM
40081999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4009
4010 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4011 simpler match case for the ptype of the big class.
4012
40131999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4014
4015 * gdb.exp: Fix test for gdb_prompt existence.
4016
40171999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4018
4019 * gdb.exp (gdb_test): Add fail after calls to perror.
4020
40211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4022
4023 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4024
40251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4026
4027 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4028
0f71a2f6
JM
4029Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4030
4031 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4032 malloc() is linked in.
4033
40341999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4035
4036 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4037 step at end.
4038
4039 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4040
40411999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4042
4043 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4044
cce74817
JM
4045Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4046
4047 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4048 * gdb.base/mips_pro.exp: Likewise.
4049
40501999-06-02 Keith Seitz <keiths@cygnus.com>
4051
4052 * gdb.c++/templates.cc: Change all "new" operators to throw
4053 an exception.
4054 * gdb.c++/cplusfuncs.cc: Likewise.
4055
4056 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4057
4058Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4059
4060 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4061 * gdb.base/ending-run.exp: When stepping out of main, accept a
4062 step into an arbitrary assembler file.
4063
392a587b
JM
40641999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4065
beb998c6 4066 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4067 "breakpoint-invalid" to be printed.
beb998c6 4068 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4069 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4070 * gdb.base/annota2.cc: Initialize a.x to 0.
4071
9e086581
JM
40721999-05-17 Keith Seitz <keiths@cygnus.com>
4073
4074 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4075 when "skip_float_tests" set.
4076 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4077 "print print_ten_doubles", and "step into print_long_arg_list".
4078 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4079 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4080 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4081 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4082 "skip_float_tests" is set.
4083 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4084 when "skip_float_tests" set.
beb998c6 4085
cd0fc7c3
SS
40861999-05-06 Keith Seitz <keiths@cygnus.com>
4087
4088 * gdb.base/annota2.cc: Include stdio.h.
4089
4090Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4091
4092 * gdb.base/crossload.exp: Remove, this has been disabled ever
4093 since BFD stopped including all targets, and cross-GDB gets
4094 plenty of testing anyway.
4095 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4096 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4097 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4098 * gdb.base/README: Remove, was doc for this.
4099 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4100 needed.
4101
b83266a0
SS
41021999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4103
4104 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4105 output.
4106
4107 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4108 * gdb.base/annota2.exp: New file. More annotation tests.
4109 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4110 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4111
41121999-04-23 Angela Marie Thomas <angela@cygnus.com>
4113
4114 * config/cfdbug.exp: New file.
4115
7a292a7a
SS
41161999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4117
4118 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4119 Marcus Daniel's and Dale Hawkins's demangler crashes.
4120
4121 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4122 test_lucid_style_demangling, test_arm_style_demangling,
4123 test_hp_style_demangling): Try Tom Tromey's core-dumping
4124 identifier under each demangling style.
4125
41261999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4127
4128 * gdb.c++/demangle.exp: Include the current demangling style
4129 in all test names.
4130 (current_demangling_style): New global variable.
4131 (set_demangling_style, test_demangling_core, test_demangling,
4132 test_demangling_exact): New functions.
4133 (test_gnu_style_demangling, test_lucid_style_demangling,
4134 test_arm_style_demangling, test_hp_style_demangling): Use those,
4135 instead of calling gdb_test and gdb_test_exact directly.
4136 (catch_demangling_errors): New function, which reports errors
4137 signalled by the demangling test functions in an orderly way.
4138 (do_tests): Use catch_demangling_errors.
4139
41401999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4141
4142 * gdb.base/signals.exp (test_handle_all_print): Use () for
4143 grouping in expressions, not {}.
4144
4145 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4146 initialized yet.
4147
41481999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4149
4150 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4151 are listed.
4152
41531999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4154
4155 * gdb.stabs/weird.exp: Test for CC being defined before
4156 looking at its value.
4157
41581999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4159
4160 * gdb.base/call-ar-st.exp: Remove stray '#'.
4161 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4162 "short int" and "long int".
4163 * gdb.c++/overload.cc: Cast the string added in the previous
4164 change, to mollify finicky HP compiler.
4165 * gdb.hp/reg-test.exp (testfile): Fix file name.
4166 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4167
7a292a7a
SS
4168 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4169 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4170 alternate form of enum ptype.
4171
c906108c
SS
41721999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4173
7a292a7a
SS
4174 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4175 * gdb.hp/*.exp: Change all to run compiler probe only after
4176 passing skip_hp_tests, so as not to waste time on guaranteed
4177 failure.
4178
c906108c
SS
4179 * gdb.c++/overload.cc: Pass string instead of char addr, always
4180 init ccpfoo.
4181 * gdb.c++/templates.cc: Fix syntax error.
4182
7a292a7a
SS
4183Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4184
4185 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4186 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4187 command.
4188
41891999-03-18 James Ingham <jingham@cygnus.com>
4190
4191 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4192
4193 * gdb.c++/method.exp: It was testing an uninitialized int on the
4194 stack and assuming it was positive.
4195
4196 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4197
4198 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4199 keep it from killing the rest of the tests.
7a292a7a
SS
4200 Use gdb_continue_to_end.
4201
4202 * gdb.base/sigall.exp: use gdb_continue_to_end.
4203
4204 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4205
4206 * gdb.base/display.exp: use runto_main, not run.
4207
beb998c6
AC
4208 * gdb.base/default.exp: Check for the current error message in the
4209 r abbreviation test.
7a292a7a
SS
4210 Add strongarm to the targets that know info float.
4211
beb998c6 4212 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4213 run which doesn't work with monitors.
4214
4215 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4216
4217 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4218
4219 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4220 program. Traps the case (in Cygmon) when the program never really
4221 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4222 more places, so I used my name. Sorry Mark...
4223
4224 * config/monitor.exp (gdb_target_monitor): added another
4225 target_info parameter: remotebinarydownload. This will set the
4226 remotebinarydownload flag if this is causing some boards trouble.
4227
42281999-03-18 Mark Salter <msalter@cygnus.com>
4229
4230 * lib/gdb.exp (continue_to_exit): New function.
4231
4232 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4233 * gdb.base/ending-run.exp: Ditto.
4234 * gdb.base/step-test.exp: Ditto.
4235
42361999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4237
4238 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4239 (suggested by Art Haas <ahaas@neosoft.com>).
4240
42411999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4242
4243 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4244
4245Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4246
4247 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4248 descriptions of types (short unsigned int vs unsigned short, etc).
4249
42501999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4251
4252 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4253 a call to strlen; sometimes we do have sources.
4254
42551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4256
4257 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4258 character, so GDB won't print garbage after its end.
beb998c6 4259
c906108c
SS
4260 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4261 breakpoint there instead. Sometimes GCC emits memcpy to handle
4262 the large structures being passed by value, so we step into that
4263 instead of sum_array_print, which obscures what we're really testing.
4264 * gdb.base/step-test.exp: However, we do want a test that notices
4265 the bizarre steps into memcpy, so do that here. Add check for
4266 stepping into function calls that pass large structures by value.
4267 ("Is that a noun clause, or are you just happy to see me?")
4268 Remove all references to specific line numbers.
4269 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4270 New type and function.
4271 (main): Call large_struct_by_value, passing it a large struct by value.
4272 * lib/gdb.exp (gdb_get_line_number): New function.
4273
4274 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4275 more portable.
4276
7a292a7a
SS
42771999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4278
c906108c
SS
4279 * lib/gdb.exp: Doc fixes.
4280
7a292a7a
SS
42811999-03-05 Nick Clifton <nickc@cygnus.com>
4282
beb998c6 4283 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4284
42851999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4286
c906108c
SS
4287 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4288 commands. They're not germane to this test, and they don't work
4289 that way on remote targets.
4290
3fc11d3e
JM
42911999-03-01 James Ingham <jingham@cygnus.com>
4292
4293 * Changelog entries merged over from gdb development branch.
4294
3fc11d3e
JM
4295 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4296
4297 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4298 for outputting results of test run.
4299
2d4a1622 4300 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4301
4302 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4303
7a292a7a
SS
43041999-02-25 Felix Lee <flee@cygnus.com>
4305
4306 * lib/gdb.exp (debug_format): initialize
4307
c906108c
SS
43081999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4309
4310 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4311 * gdb.base/call-rt-st.c: Ditto.
4312
c906108c
SS
43131999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4314
4315 * gdb.threads/pthreads.exp (horiz): New variable.
4316 (test_startup): Fix regexps that capture thread numbers.
4317
43181999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4319
4320 * gdb.base/smoke.exp: Disambiguate two test case names (both
4321 called ``print'').
4322
4323Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4324
4325 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4326 compilation.
4327
43281999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4329
4330 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4331 actual output formatting.
4332 * gdb.base/smoke.exp: GDB removes leading 0's.
4333 * gdb.base/volatile.exp: Don't check type of remuneration;
4334 that variable is no longer defined in constvars.c.
4335 * gdb.base/step-test.c (main): Exit with explicit exit code.
4336 * gdb.base/step-test.exp: Remove two nexti checks--they are
4337 not portable.
4338
43391999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4340
4341 * gdb.base/help.exp ("help delete display"): Fix test to match
4342 gdb's output.
4343
4344 * gdb.base/long_long.c (known_types): Initialize values to zero.
4345 * gdb.base/long_long.exp: Step one more line
4346 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4347 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4348 unique test case names.
4349
4350Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4351
beb998c6 4352 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4353
4354 * gdb.c++/method.exp: Add missing close brace.
4355
43561999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4357
4358 * gdb.base/maint.exp: Use 'set height 0' to disable page
4359 prompting, not 'set height 400'.
4360
4361 Fix a bunch of timeouts.
4362 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4363 four separate tests, so expect doesn't take forever to match a ton
4364 of text against a regexp with lots of .* forms.
4365 ("maint print psymbols", "maint print symbols"): Make some of
4366 these greps more selective, so that expect doesn't try to wade
4367 through huge piles of output and time out.
4368
4369 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4370
4371 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4372 tests: one which doesn't expect shlib events to be reported, and
4373 another which does, but is XFAIL for all platforms other than
4374 HP/UX.
4375
4376 * gdb.base/break.exp: Teach the test suite that the `catch
4377 fork', `catch vfork', and `catch exec' commands produce error
4378 messages on platforms that don't provide these features.
4379
4380Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4381
4382 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4383 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4384 (shortening names from solib_threshold.exp etc), won't run on
4385 anything but HP-UX for the foreseeable future.
4386 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4387 reflect move.
4388
4389Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4390
4391 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4392 gdb.trace/Makefile.in (clean): Remove all test executables.
4393
4394Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4395
4396 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4397 successfully re-sets breakpoints in shared libraries.
4398 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4399
4400Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4401
beb998c6
AC
4402 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4403 and compiled w/o GCC.
c906108c
SS
4404
4405 * gdb.hp/watch-cmd.exp: ditto.
4406
4407 * gdb.hp/watch-hp.exp: ditto.
4408
4409 * gdb.hp/xdb1.exp: ditto.
4410
4411 * gdb.hp/xdb2.exp: ditto.
4412
4413 * gdb.hp/dbx.exp: ditto.
4414
4415Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4416
4417 * constvars.c: Remove C++-isms.
4418 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4419 with GCC.
4420
4421Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4422
4423 The following changes are part of the HP merge.
4424
4425 * gdb.base/break.exp: new tests to verify that catchpoints for
4426 fork, vfork, and exec don't trigger inappropriately.
4427
4428 * gdb.base/opaque.exp: compile one file at a time, then link.
4429
4430 * gdb.base/signals.exp: be more restrictive about which hppa
4431 systems receive a setup_xfail. new tests.
4432
4433 * gdb.base/solib_threshold.build: new file.
4434 * gdb.base/solib_threshold.exp: new file.
4435 * gdb.base/solib_threshold.link_opts: new file.
4436 * gdb.base/solib_threshold.mk: new file.
4437 * gdb.base/gen_solib_threshold.c: new file.
4438
4439 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4440 tests. New tests for enums inside classes.
4441
4442 * gdb.c++/compiler.cc: indicate support of template debugging.
4443
4444 * gdb.c++/demangle.exp: run hp style demangling tests.
4445
4446 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4447 tests.
4448
4449 * gdb.c++/misc.cc: changes to support new tests.
4450
4451 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4452 to support new tests.
4453
4454 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4455 gcc, then skip these tests.
4456
4457Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4458
4459 The following files are part of the HP merge; some had longer
4460 names at HP, but have been renamed to be no more than 14
4461 characters in length.
4462
4463 * gdb.hp/ambiguous.cc: new file.
4464 * gdb.hp/ambiguous.exp: new file.
4465 * gdb.hp/attach.exp: new file.
4466 * gdb.hp/attach2.exp: new file.
4467 * gdb.hp/classes-hp.exp: new file.
4468 * gdb.hp/ctti.exp: new file.
4469 * gdb.hp/ctti-add.cc: new file.
4470 * gdb.hp/ctti-add1.cc: new file.
4471 * gdb.hp/ctti-add2.cc: new file.
4472 * gdb.hp/ctti-add3.cc: new file.
4473 * gdb.hp/dbx.exp: new file.
4474 * gdb.hp/exception.cc: new file.
4475 * gdb.hp/exception.exp: new file.
4476 * gdb.hp/foll-exec.c: new file.
4477 * gdb.hp/foll-exec.exp: new file.
4478 * gdb.hp/foll-fork.c: new file.
4479 * gdb.hp/foll-fork.exp: new file.
4480 * gdb.hp/foll-vfork.c: new file.
4481 * gdb.hp/foll-vfork.exp: new file.
4482 * gdb.hp/inherit-hp.exp: new file.
4483 * gdb.hp/more-steps.exp: new file.
4484 * gdb.hp/namespace.cc: new file.
4485 * gdb.hp/namespace.exp: new file.
4486 * gdb.hp/optimize.exp: new file.
4487 * gdb.hp/pxdb.c: new file.
4488 * gdb.hp/pxdb.exp: new file.
4489 * gdb.hp/quicksort.exp: new file.
4490 * gdb.hp/reg-test.exp: new file.
4491 * gdb.hp/reg-test.s: new file.
4492 * gdb.hp/sized-enum.c: new file.
4493 * gdb.hp/sized-enum.exp: new file.
4494 * gdb.hp/start-stop.exp: new file.
4495 * gdb.hp/templ-hp.cc: new file.
4496 * gdb.hp/templ-hp.exp: new file.
4497 * gdb.hp/thr-lib.c: new file.
4498 * gdb.hp/thr-lib.exp: new file.
4499 * gdb.hp/thr-lib.h: new file.
4500 * gdb.hp/thr-liblib.c: new file.
4501 * gdb.hp/virtfun-hp.c: new file.
4502 * gdb.hp/virtfun-hp.exp: new file.
4503 * gdb.hp/watch-cmd.exp: new file.
4504 * gdb.hp/watch-hp.exp: new file.
4505 * gdb.hp/xdb1.exp: new file.
4506 * gdb.hp/xdb2.exp: new file.
4507 * gdb.hp/xdb3.exp: new file.
4508
4509Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4510
4511 The following files are part of the HP merge; some had longer
4512 names at HP, but have been renamed to be no more than 14
4513 characters in length.
4514
4515 * gdb.base/ss.h: new file.
4516 * gdb.base/call-ar-st.c: new file.
4517 * gdb.base/call-ar-st.exp: new file.
4518 * gdb.base/call-rt-st.c: new file.
4519 * gdb.base/call-rt-st-exp: new file.
4520 * gdb.base/call-strs.exp: new file.
4521 * gdb.base/ena-dis-br.exp: new file.
4522 * gdb.base/environ.exp: new file.
4523 * gdb.base/long_long.exp: new file.
4524 * gdb.base/sect-cmd.exp: new file.
4525 * gdb.base/shlib-cl2.exp: new file.
4526 * gdb.base/smoke.exp: new file.
4527 * gdb.base/so-impl-ld.c: new file.
4528 * gdb.base/so-impl-ld.exp: new file.
4529 * gdb.base/so-indr-cl.c: new file.
4530 * gdb.base/so-indr-cl.exp: new file.
4531 * gdb.base/varargs.exp: new file.
4532 * gdb.base/volatile.exp: new file.
4533 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4534 * gdb.base/display.exp: new file.
c906108c
SS
4535 * gdb.c++/derivation.exp: new file.
4536 * gdb.c++/local.exp: new file.
4537 * gdb.c++/member-ptr.exp: new file.
4538 * gdb.c++/overload.exp: new file.
4539 * gdb.c++/ovldbreak.exp: new file.
4540 * gdb.c++/ref-types.exp: new file.
4541 * gdb.c++/ref-types2.exp: new file.
4542 * gdb.c++/userdef.exp: new file.
beb998c6 4543
c906108c
SS
4544Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4545
4546 * gdb.base/default.exp: Reflect wording change in remote.c.
4547
dc96c6c7 4548Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4549
4550 * gdb.base/help.exp: Update to reflect current text.
4551
4552Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4553
4554 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4555 they're stack variables and contain garbage.
4556 * gdb.c++/anon-union.exp: new file.
4557
4558 The following changes were made by David Taylor
4559 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4560 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4561 in changes by HP.
4562
4563 * gdb.base/bitops.exp: new file.
4564 * gdb.base/default.exp: change expected messages for catch and
4565 info catch tests to reflect HP merge changes.
4566 * gdb.base/enable-disable-break.exp
4567 * gdb.base/ending-run.c: new file.
4568 * gdb.base/long_long.c: new file.
4569 * gdb.base/maint.exp: new file.
4570 * gdb.base/pointers2.exp: new file.
4571 * gdb.base/shlib-call2.exp: new file.
4572 * gdb.base/solib.exp: new file.
4573 * gdb.base/step-test.c: new file.
4574 * gdb.c++/anon-union.cc: new file.
4575 * gdb.c++/local.cc: new file.
4576 * gdb.c++/member-pointer.cc: new file.
4577 * gdb.c++/method.cc: new file.
4578 * gdb.c++/ref-types.cc: new file.
4579 * gdb.c++/ref-types2.cc: new file.
4580 * gdb.c++/userdef.cc: new file.
beb998c6 4581
c906108c
SS
4582 * gdb.base/scope.exp: compile one file at a time, then link.
4583 * gdb.base/langs.exp: ditto.
4584 * gdb.base/list.exp: ditto.
beb998c6 4585
c906108c
SS
4586Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4587
4588 The following changes were made by David Taylor
4589 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4590 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4591 in changes by HP.
beb998c6 4592
c906108c
SS
4593 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4594 skip tests. When compiling pass c++ flag to gdb_compile.
4595 * gdb.c++/
beb998c6 4596
c906108c
SS
4597 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4598 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4599 (skip_hp_tests): new function.
4600 (gdb_preprocess): new function.
4601
4602 * configure.in (hpdir): decide whether to configure gdb.hp.
4603 * configure: regenerated.
4604
4605 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4606 to delete on clean.
4607 (EXECUTABLES): update to reflect new additions.
4608 * gdb.base/commands.exp: update message expected.
4609 * gdb.base/default.exp: add copyright notice.
4610 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4611 * gdb.base/help.exp: update messages to reflect current text.
4612 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4613 targets for recurse tests.
4614 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4615 skip this file.
4616
4617 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4618 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4619 compilation.
4620 * gdb.c++/misc.exp: ditto.
4621 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4622 run the tests. tell gdb_compile that it's a c++ compilation.
4623
4624 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4625
c906108c
SS
4626 * gdb.base/all-bin.exp: new file.
4627 * gdb.base/arithmet.exp: new file.
4628 * gdb.base/assign.exp: new file.
4629 * gdb.base/completion.exp: new file.
4630 * gdb.base/cond-expr.exp: new file.
4631 * gdb.base/condbreak.exp: new file.
4632 * gdb.base/define.exp: new file.
4633 * gdb.base/dollar.exp: new file.
4634 * gdb.base/environment.exp: new file.
4635 * gdb.base/eval-skip.exp: new file.
4636 * gdb.base/jump.exp: new file.
4637 * gdb.base/logical.exp: new file.
4638 * gdb.base/pointers.exp: new file.
4639 * gdb.base/relational.exp: new file.
4640 * gdb.base/section_command.exp: new file.
4641 * gdb.base/whatis-expr.exp: new file.
4642
4643 * gdb.base/all-types.c: new file.
4644 * gdb.base/call-array-struct.c: new file.
4645 * gdb.base/call-return-struct.c: new file.
4646 * gdb.base/call-strings.c: new file.
4647 * gdb.base/callfuncs2.c: new file.
4648 * gdb.base/condbreak.c: new file.
4649 * gdb.base/constvars.c: new file.
4650 * gdb.base/display.c: new file.
4651 * gdb.base/int-type.c: new file.
4652 * gdb.base/jump.c: new file.
4653 * gdb.base/miscexprs.c: new file.
4654 * gdb.base/pointers.c: new file.
4655 * gdb.base/pointers2.c: new file.
4656 * gdb.base/shmain.c: new file.
4657 * gdb.base/shr1.c: new file.
4658 * gdb.base/shr2.c: new file.
4659 * gdb.base/solib.c: new file.
4660 * gdb.base/solib1.c: new file.
4661 * gdb.base/solib2.c: new file.
4662 * gdb.base/varargs.c: new file.
4663 * gdb.c++/derivation.cc: new file.
4664 * gdb.c++/overload.cc: new file.
4665 * gdb.c++/ovldbreak.cc: new file.
4666 * gdb.hp/attach.c: new file.
4667 * gdb.hp/attach2.c: new file.
4668 * gdb.hp/average.c: new file.
4669 * gdb.hp/compiler.c: new file.
4670 * gdb.hp/compiler.cc: new file.
4671 * gdb.hp/execd-program.c: new file.
4672 * gdb.hp/follow-exec.c: new file.
4673 * gdb.hp/follow-fork.c: new file.
4674 * gdb.hp/follow-vfork-and-exec.c: new file.
4675 * gdb.hp/misc-hp.cc: new file.
4676 * gdb.hp/more-steps.c: new file.
4677 * gdb.hp/optimize.c: new file.
4678 * gdb.hp/quicksort.c: new file.
4679 * gdb.hp/run-hp.c: new file.
4680 * gdb.hp/start-stop.c: new file.
4681 * gdb.hp/sum.c: new file.
4682 * gdb.hp/templates-hp.cc: new file.
4683 * gdb.hp/thread-local-in-lib.c: new file.
4684 * gdb.hp/thread-local-in-lib.h: new file.
4685 * gdb.hp/thread-local-in-lib.lib.c: new file.
4686 * gdb.hp/vforked-program.c: new file.
4687 * gdb.hp/virtfunc-hp.cc: new file.
4688 * gdb.hp/watchpoint-hp.c: new file.
4689 * gdb.hp/xdb.c: new file.
4690 * gdb.hp/xdb0.c: new file.
4691 * gdb.hp/xdb0.h: new file.
4692 * gdb.hp/xdb1.c: new file.
4693
4694Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4695
4696 The following change was made by Edith Epstein
4697 <eepstein@cygnus.com> as part of a project to merge in changes
4698 originally made by HP; HP did not create ChangeLog entries.
4699
4700 * gdb.c++/demangle.exp: changed the expected output for some
4701 ARM-style mangling -- removed second reference to datatype.
4702 For example, maint demangle __dt__11T1__pt__2_cFv
4703 T1<char>::~T1<char>(void)
4704 becomes,
4705 maint demangle __dt__11T1__pt__2_cFv
4706 T1<char>::~T1(void)
4707
4708 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4709
c906108c
SS
4710Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4711
4712 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4713 * gdb.trace/backtrace.exp: Likewise.
4714 * gdb.trace/circ.exp: Likewise.
4715 * gdb.trace/collection.exp: Likewise.
4716 * gdb.trace/deltrace.exp: Likewise.
4717 * gdb.trace/infotrace.exp: Likewise.
4718 * gdb.trace/limits.exp: Likewise.
4719 * gdb.trace/packetlen.exp: Likewise.
4720 * gdb.trace/passc-dyn.exp: Likewise.
4721 * gdb.trace/passcount.exp: Likewise.
4722 * gdb.trace/report.exp: Likewise.
4723 * gdb.trace/save-trace.exp: Likewise.
4724 * gdb.trace/tfind.exp: Likewise.
4725 * gdb.trace/tracecmd.exp: Likewise.
4726 * gdb.trace/while-dyn.exp: Likewise.
4727 * gdb.trace/while-stepping.exp: Likewise.
4728
47291998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4730
4731 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4732
4733Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4734
4735 From Brendan Kehoe:
4736 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4737 int return types.
4738
4739Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4740
4741 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4742 remote dos host testing right.
4743
4744Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4745
4746 * gdb.base/corefile.exp: remove some xfails.
4747
4748Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4749
4750 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4751 have different timestamps.
4752
4753Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4754
4755 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4756 gdb.base/default.exp: Replace "exec" with "executable".
4757
4758Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4759
4760 * gdb.base/default.exp: Change else if to elseif from previous
4761 delta.
4762
4763Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4764
4765 * gdb.base/default.exp: Add brace missing from previous delta.
4766
4767Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4768
4769 * gdb.base/default.exp: Support test for info float for all
4770 varieties of arm toolchain.
4771
dc96c6c7 4772Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4773
4774 * gdb.trace/*.exp: remove "remote_download" command.
4775
dc96c6c7 4776Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4777
4778 * gdb.trace/*.exp: remove -gdwarf from compile.
4779
4780Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4781
4782 * gdb.trace/configure.in(AC_INIT): typo
4783 * gdb.trace/configure: regenerated
4784
dc96c6c7 4785Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4786
4787 * config/m68k-emc.exp: New file.
4788 * lib/<emc-support.exp trace-support.exp}: New files.
4789 * configure.in: add new test directory gdb.trace.
4790 * gdb.trace/{configure configure.in Makefile.in}: New files.
4791 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4792 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4793 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4794 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4795 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4796 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4797 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4798
dc96c6c7 4799Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4800
4801 * gdb.c++/classes.exp: Change all regular expressions to match
4802 arbitrary combinations of newline/carriage-return, so that they
4803 will work equally well on Unix and Windows.
4804 * gdb.c++/inherit.exp: ditto.
4805 * gdb.c++/virtfunc.exp: ditto.
4806
48071998-08-11 Dawn Perchik <dawn@cygnus.com>
4808
4809 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4810
c2d11a7d
JM
4811Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4812
4813 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4814 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4815 to use a0-a3/d0-d3 as needed.
4816
4817Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4818
4819 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4820 * gdb.disasm/am33.exp: Corresponding changes.
4821
c906108c
SS
48221998-07-11 Felix Lee <flee@cygnus.com>
4823
4824 * gdb.base/callfuncs.exp: add cmp10 test.
4825 * gdb.base/callfuncs.c (cmp10): new function.
4826
4827Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4828
beb998c6 4829 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4830 into two parts to get around a synchronization problem in expect.
4831
3fc11d3e
JM
4832Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4833
4834 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4835
4836 * configure.in: Add options for gdbtk testsuite.
4837
4838 * configure: Regenerate.
4839
4840 * gdb.gdbtk: New directory to hold gdbtk tests.
4841
c906108c
SS
4842Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4843
4844 * gdb.fortran/types.exp: Escape brackets in expect patterns
4845 for test_float_literal_types_accepted tests.
4846 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4847 before run test.
4848
c2d11a7d
JM
4849Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4850
4851 * am33.exp: Just compile, do not link the testcase.
4852 * am33.s: Add ".am33" pseudoop to force am33 mode.
4853
c906108c
SS
48541998-06-25 Felix Lee <flee@cygnus.com>
4855
4856 * gdb.base/setshow.exp: make sure $pc is sane.
4857
4858 * gdb.stabs/weird.exp: split expect patterns properly.
4859
c2d11a7d
JM
4860Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4861
4862 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4863 * gdb.disasm/am33.exp: Run it.
4864
dc96c6c7 4865Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4866
4867 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4868 match processing (and eliminate spurious timeouts when running).
4869
dc96c6c7 4870Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4871
4872 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4873 exception test, but conditionalize it on target [mach | gnu].
4874
dc96c6c7 4875Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4876
4877 * gdb.base/overlays.exp: fixup compile line for linker script.
4878
4879Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4880
4881 * gdb.fortran/types.exp: don't guess at float size.
4882
4883Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4884
4885 * gdb.base/exprs.exp: delete test that depends on int size.
4886
4887Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4888
4889 * config/sim.exp: Removed checks for target triplets.
4890 (gdb_target_sim): Use gdb,target_sim_options.
4891
4892Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4893
4894 * gdb.base/reread.exp: New file.
4895 * gdb.base/reread1.c: New file.
4896 * gdb.base/reread2.c: New file.
4897
4898Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4899
4900 * config/sim.exp: Use 'target sim -sparclite' when running
4901 SPARClite programs.
4902
4903Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4904
4905 * gdb.base/structs2.exp: New file.
4906 * gdb.base/structs2.c: New file.
4907
4908Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4909
4910 * gdb.asm/common.inc: New file.
4911 * gdb.asm/d10v.inc: New file.
4912 * asm-source.exp: Pass -I's to gas to find .inc files.
4913 Update line numbers in expected output.
4914 * asmsrc1.s: Rewrite.
4915 * asmsrc2.s: Rewrite.
4916 * configure.in: Create arch.inc symlink.
4917 * configure: Regenerate.
4918 * Makefile.in (distclean): Delete arch.inc.
4919
4920Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4921
4922 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4923 (t_enum_value2): ditto
4924 (t_enum_value3): ditto
4925 (main): ditto
4926Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4927
4928 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4929 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4930 change.
4931 Use gdb_test instead of send_gdb/gdb_expect sequences.
4932
4933Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4934
4935 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4936 not void.
4937
4938Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4939
4940 * gdb.base/branches.c: Code with lots of loops and
4941 subroutines. Used to test gdbs ability to single step through PC
4942 changes, especially to test mips-tdep.c:mips_next_pc
4943
4944Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4945
4946 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4947 more rigorous EGCS C++ error checking.
4948
4949Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4950
4951 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4952 tests.
c906108c 4953 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4954 function when asleep.
c906108c 4955 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4956 for i*86 Linux and SVR4 signal handling problems.
4957 Remove linux xfail for `next to handler in signals_tests_1', fixed
4958 by recent infrun.c change.
c906108c 4959 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4960 stack backtraces.
c906108c
SS
4961 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4962 target.[ch] change.
4963
4964Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4965
4966 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4967 for a newline from gdb before continuing.
4968 (default_gdb_exit): Just look for y or n.
4969 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4970 it does, fail the rests of the tests in the file.
4971
4972Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4973
4974 * config/cygmon.exp: New file.
4975
4976Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4977
4978 * gdb.base/list.exp: Fix problem with "list default lines around
4979 main" test on remote targets.
4980
4981 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4982 run test on remote targets.
4983
4984Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4985
4986 * gdb.asm: New directory.
4987 * configure.in: Configure it.
4988 * configure: Regenerate.
4989 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4990 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4991
4992Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4993
4994 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4995
dc96c6c7 4996Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4997
c906108c
SS
4998 * gdb.base/overlays (several files): Merge the two overlay
4999 managers into one. Change variables (foox, barx, bazx, grbxx)
5000 back into ints but force them to load in their proper sections.
5001
5002Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5003
5004 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5005 on-chip insn memory and IMAP1 to upper 128k.
5006 (D10VCopy): Handle memory regions crossing 16k boundaries.
5007 (D10VCopy): Transfer data in 32 bit chunks.
5008
5009Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5010
5011 * gdb.base/overlays.c (main): Exit normally when result is
5012 correct.
5013
5014 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5015 map. Include space for printf in .text segment.
5016
5017 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5018 updated d10v memory VMA/LMA map.
5019 (D10VCopy): Call D10VTranslate.
beb998c6 5020
c906108c
SS
5021Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5022
5023 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5024
5025 * gdb.base/bar.c (barx, bar): Change variable to small array so
5026 that it won't be put into the .sdata - small data -
5027 section. Update reference.
5028 * gdb.base/baz.c (bazx, baz): Ditto.
5029 * gdb.base/foo.c (foox, foo): Ditto.
5030 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5031
5032 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5033 to be arrays.
beb998c6 5034
dc96c6c7 5035Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5036
c906108c
SS
5037 * gdb.base/overlays.exp: fix up and get working again.
5038 Add tests for backtraces from an overlay function.
beb998c6 5039
c906108c
SS
5040Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5041
5042 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5043 "calling function with watchpoint enabled".
5044
5045Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5046
5047 * gdb.base/break.exp (test_next_with_recursion): Remove
5048 gdb_suppress_tests for d10v-*-*.
5049 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5050 pending review of whether it is useful or not.
5051
5052Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5053
5054 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5055
5056Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5057
5058 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5059 * config/dve.exp: New file to support Densan boards.
5060
5061Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5062
5063 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5064 reads and BSD.
5065
5066Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5067
5068 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5069 response.
5070
5071 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5072
5073Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5074
5075 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5076 test.
5077
5078 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5079 target_sizeof_long and target_bigendian_p.
5080 (structs_by_value, structs_by_reference): Check values according
5081 to targets word size and endianess.
beb998c6 5082
c906108c
SS
5083Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5084
5085 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5086 output.
5087
5088Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5089
5090 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5091 Update test of set args help to match source change.
5092
5093Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5094
5095 * gdb.base/default.exp: Expect help system output to be in
5096 alphabetical order.
5097 * gdb.base/help.exp: Ditto.
5098
5099Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5100
5101 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5102 "i*86-pc-linux-gnu*".
5103 * gdb.base/interrupt.exp: Ditto.
5104 * gdb.base/corefile.exp: Ditto.
5105
5106 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5107 define vxworks when building the testcase.
5108
5109 * gdb.base/ptype.exp: Fix testnames to be unique.
5110 * gdb.base/radix.exp: Ditto.
5111 * gdb.base/term.exp: Ditto.
5112 * gdb.base/whatis.exp: Ditto.
5113 * gdb.c++/classes.exp: Ditto.
5114
5115Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5116
5117 * gdb.base/callfuncs.exp: Fix indentation.
5118
5119 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5120 suppress_flag has been set.
5121 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5122 target feature.
5123
5124Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5125
5126 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5127 the testcase.
5128
5129 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5130 set_debug_traps() and breakpoint().
5131 * gdb.c++/misc.cc (main): Ditto.
5132 * gdb.c++/templates.cc (main): Ditto.
5133 * gdb.c++/virtfunc.cc (main): Ditto.
5134
5135Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5136
5137 * lib/gdb.exp(gdb_step_for_stub): New function.
5138 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5139 exists, reload the executable and do a "continue" instead of
5140 doing a jump.
5141 (runto_main): Use gdb_step_for_stub.
beb998c6 5142
c906108c
SS
5143 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5144 tests to have unique names.
5145 * gdb.base/callfuncs.exp: Ditto.
5146 * gdb.base/commands.exp: Ditto.
5147 * gdb.base/default.exp: Ditto.
5148 * gdb.base/help.exp: Ditto.
5149 * gdb.base/list.exp: Ditto.
5150 * gdb.base/opaque.exp: Ditto.
5151 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5152 similar tests.
beb998c6 5153
c906108c
SS
5154 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5155 * gdb.c++/cplusfuncs.cc: Ditto.
5156 * gdb.c++/virtfunc.cc: Ditto.
5157
5158 * config/monitor.exp: Keep track of the last file we saw, rather
5159 than trying to get the info from gdb.
5160
5161 * gdb.fortran/types.exp: Move comment to previous line.
5162
5163Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5164
5165 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5166 target mode.
5167
5168Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5169
5170 From Bob Manson:
5171 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5172 string from GDB when it connects.
5173
5174 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5175
5176Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5177
5178 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5179 if we can't get a debug format from GDB (we may be testing an
5180 older GDB). Use a 10 second timeout when checking for the format.
5181
5182 * gdb.stabs/weird.exp: Fix quoting.
5183
5184 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5185
5186Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5187
5188 * config/arm-ice.exp: New file.
5189
5190Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5191
5192 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5193 until it has been modified to work with the new testsuite.
5194
99707966 5195 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5196 testcase won't compile, cause all of the testcases in the file to
5197 fail instead.
5198
5199 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5200 (gdb_clear_suppressed): New procedure.
5201 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5202 it contains a positive value.
5203
5204Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5205
5206 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5207
5208 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5209
5210Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5211
5212 * lib/gdb.exp (setup_xfail_format): New function.
5213 (get_debug_format): New function to get debug format.
5214 (debug_format): New global variable to hold last value set
5215 by get_debug_format.
5216 * gdb.base/list.exp: Call get_debug_format and expect some
5217 tests to fail for DWARF 1 and COFF formats.
5218 * gdb.c++/ptype.exp: Ditto.
5219 * gdb.c++/classes.exp: Ditto.
5220 * gdb.c++/cplusfuncs.exp: Ditto.
5221 * gdb.c++/inherit.exp: Ditto.
5222 * gdb.c++/templates.exp: Ditto.
5223 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5224
c906108c
SS
5225Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5226
5227 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5228 host doesn't have a currently-open connection.
5229
5230 * config/sparclet.exp: Cleanups and fixes to make it generic for
5231 any gdb stub target. Handle cases where gdb doesn't respond when
5232 interrupted in a sane fashion.
5233
5234 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5235 same thing in a totally different way.
5236
5237 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5238 setting "timeout".
5239 (gdb_start): We set the global gdb_prompt variable in
5240 default_gdb_init now.
5241
5242Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5243
5244 * gdb.base/printcmds.exp: Fix "check for floating addition"
5245 regexp to accept results within approx +/- .01 of exact value.
5246 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5247
5248Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5249
5250 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5251 properly.
5252 (gdb_expect): Add optional timeout parameter, and add timeout
5253 value to various calls.
5254 (gdb_suppress_tests): Only give one warning message per group.
5255
5256Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5257
5258 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5259 global variables. Handle getting a value for $timeout more
5260 gracefully.
5261
5262Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5263
5264 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5265 initialize.
5266 (default_gdb_init): New procedure; allow gdb_init to be overridden
5267 by a target configuration file.
5268 (gdb_expect): Pass the timeout to remote_expect.
5269
5270 * config/monitor.exp(gdb_load): Fix typo in regexp.
5271
5272Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5273
5274 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5275
5276Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5277
5278 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5279 here. Call gdb_target_exec before rebooting the target, to make
5280 sure the connection to the target is closed.
5281 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5282 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5283 Also detect "Timeout reading from remote" error.
5284
5285 * config/gdbserver.exp: Pass the executable being loaded to
5286 gdb_target_monitor. Don't call gdb_file_cmd here; let
5287 gdb_target_monitor do it.
5288
5289 * gdb.disasm/hppa.exp: Don't use exec_output.
5290
5291Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5292
5293 * gdb.base/list.exp: If we're debugging a non-native target,
5294 try to set the pc register to point to the start of the
5295 program before doing the first list command.
5296
5297 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5298 test_calls after restarting.
5299
5300 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5301 reloading.
5302
5303 * gdb.base/watchpoint.exp: Fix typo.
5304
5305 * gdb.base/setshow.exp: Check for use_gdb_stub.
5306
5307 * gdb.base/break.exp: Fix continue until exit test for the gdb
5308 stub case.
5309 * gdb.base/langs.exp: Ditto.
5310
5311 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5312 gdb_load_offset. If we weren't given a file to load, figure out
5313 what the current file is and use it.
5314
5315 * config/i386-bozo.exp: New file.
5316
5317Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5318
5319 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5320 feature.
5321
5322 * config/proelf.exp: New entry.
5323
5324Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5325
5326 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5327 of regexps.
5328
5329 * gdb.base/watchpoint.exp: Don't run the test_stepping
5330 tests if gdb can't call functions on the target.
5331
5332 * gdb.base/setshow.exp: Don't run the set prompt tests if
5333 the board has gdb_prompt set.
5334
5335Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5336
5337 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5338 * gdb.base/commands.exp: Likewise.
5339 * gdb.base/setshow.exp: Likewise.
5340
5341Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5342
5343 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5344 feature.
5345
5346 * config/i960.exp: New file.
5347
5348Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5349
5350 * gdb.base/funcargs.exp: Check for gdb,short_int target
5351 feature instead of looking for explicit target triplets.
5352
dc96c6c7 5353Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5354
beb998c6 5355 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5356 "p 123DEADBEEF", to check parse_number.
5357 * top.c: change "to enable to enable" to "to enable" in a couple
5358 of help strings.
5359
5360Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5361
5362 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5363 on the mn10300.
beb998c6 5364
c906108c
SS
5365Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5366
5367 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5368 where the test executable is run with explicit args.
5369 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5370
5371Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5372
5373 * gdb.base/run.c: Use FAKEARGV to build test executable that
5374 does not require a command line arg, since most simulators
5375 don't currently support passing such an arg into the simulated
5376 program.
5377 * gdb.base/commands.exp: Change tests to insert the proper
5378 value as the arg to the first recursive factorial call. Change
5379 compilation line to define FAKEARGV at compile time.
5380
5381Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5382
5383 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5384 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5385 function with watchpoint enabled" test.
5386
5387Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5388
5389 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5390 Don't call gdb_test when the command doesn't return to a gdb prompt.
5391
5392 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5393 "Tests restarted" messages.
5394
5395Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5396
5397 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5398
dc96c6c7 5399Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5400
5401 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5402 for INFO SYMBOL; add help tests for OVERLAY commands.
5403 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5404 add tests for OVERLAY commands
5405 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5406 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5407 * gdb.base/sigall.c: add usestubs code frag
5408 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5409
c906108c
SS
5410Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5411
5412 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5413 failures.
5414 (gdb_stop_suppressing_tests): Note that tests have restarted.
5415
5416Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5417
5418 * config/h8300.exp: New file.
5419
5420Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5421
5422 * gdb.base/setshow.exp: Check for the existence of a
5423 feature, not its value.
5424
5425Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5426
5427 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5428
5429 * gdb.base/scope.exp: It's now init0(), not init().
5430
5431 * gdb.base/scope0.c: For now, change init() to be init0().
5432
5433 * config/monitor.exp: Use gdb_serial in preference to serial
5434 or netport.
5435
5436 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5437 and it's not already set.
5438
5439Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5440
5441 * gdb.base/setshow.exp: Only test the run command if the target
5442 isn't using a stub and if it supports argument passing.
5443
5444Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5445
5446 * config/udi.exp(gdb_start): Make sure UDICONF is set
5447 properly before starting gdb.
5448
5449Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5450
5451 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5452 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5453 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5454
5455Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5456
5457 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5458 specialized code to reboot the board, use remote_reboot instead.
5459
5460 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5461
5462 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5463
5464 * config/monitor.exp: Make sure we disconnect from the target.
5465 Also, try a reboot/reload cycle instead of failing if the
5466 load fails.
5467
5468Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5469
5470 * gdb.base/default.exp: Don't set match_max.
5471 * gdb.base/help.exp: Ditto.
5472 * gdb.base/list.exp: Ditto.
5473 * gdb.base/signals.exp: Ditto.
5474
5475 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5476 set, use remote_ld to download the testcase instead of
5477 the GDB loader.
5478
5479Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5480
5481 * config/vr5000.exp: New file.
5482
5483 * config/monitor.exp(gdb_target_monitor): Add pattern for
5484 "Ending remote" to detect errors in connecting.
5485
5486 * gdb.base/setshow.exp: Add .* within auto language test.
5487
5488 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5489 target feature.
5490
5491 * config/monitor.exp(gdb_load): Check for a failure when loading,
5492 and reboot the board if necessary.
5493
5494 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5495 a set of tests. Remove print.* from the patterns being checked.
5496
5497Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5498
5499 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5500 refer to gdb_spawn_id.
5501
5502 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5503 longer used.
5504 * config/sparclet.exp: Ditto.
5505 * config/sparclet-old.exp: Ditto.
5506 * config/slite.exp: Ditto.
5507 * config/sim.exp: Ditto.
5508 * gdb.base/funcargs.exp: Ditto.
5509
5510 * lib/gdb.exp:Remove references to gdb_spawn_id.
5511 (gdb_expect): Move to remote.exp.
5512
5513Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5514
5515 * config/monitor.exp: Detect the "Couldn't establish connection"
5516 message from GDB.
5517
5518Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5519
5520 * gdb.base/bitfields.exp: Use runto instead of explicit
5521 gdb_run_cmd/gdb_expect sequences.
5522
5523 * gdb.base/break.exp(text_next_with_recursion): Add match for
5524 gdb_expect call.
5525
5526 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5527 We also need to handle the "A program is being debugged already"
5528 prompt from gdb. Use gdb_test to set the baud rate.
5529
5530 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5531 to 20000. Really. I mean it.
5532
5533Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5534
5535 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5536 fails. If suppress_flag is set, skip perror message about not
5537 being able to send to GDB.
5538 (send_gdb): If suppress_flag is set, don't try to send commands to
5539 GDB.
5540 (gdb_expect): If suppress_flag is set, always fail immediately.
5541 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5542 (gdb_init): Call gdb_stop_suppressing_tests.
5543 (default_gdb_exit): Ditto.
5544 (default_gdb_start): Ditto.
5545
5546 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5547 gdb_stop_suppressing_tests as appropriate.
5548 * gdb.base/break.exp: Ditto.
5549 * gdb.base/callfuncs.exp: Ditto.
5550 * gdb.base/commands.exp: Ditto.
5551 * gdb.base/exprs.exp: Ditto.
5552 * gdb.base/funcargs.exp: Ditto.
5553 * gdb.base/list.exp: Ditto.
5554 * gdb.base/recurse.exp: Ditto.
5555 * gdb.base/scope.exp: Ditto.
5556 * gdb.base/structs.exp: Ditto.
5557 * gdb.c++/inherit.exp: Ditto.
5558
5559Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5560
5561 * config/vr4300.exp: New file.
5562
99707966
MC
5563 * gdb.*/*.exp: Call gdb_expect instead of expect.
5564
5565 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5566
5567Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5568
5569 * lib/gdb.exp(gdb_init): New function.
5570
5571 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5572 for each individual variable set.
5573
5574 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5575 name.
5576
5577 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5578
5579 * gdb.base/scope.exp: Use gdb_test.
5580
5581 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5582 aborting; the testsuite driver will do that for us (see
5583 gdb_finish). Also, use gdb_test in a few more places.
5584
5585Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5586
5587 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5588
5589Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5590
5591 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5592 and "add_tests" are not at the same address.
5593
5594Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5595
5596 * gdb.base/ptype.exp: Use gdb_test.
5597
5598Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5599
5600 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5601 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5602 left in. No longer expect them to fail.
5603
5604 * gdb.stabs/*.mt; Deleted, no longer used.
5605 * gdb.stabs/configure.in: Remove references to target makefile
5606 frags.
5607 * gdb.stabs/configure: Rebuilt.
5608
5609 * gdb.disasm/*.mt: Deleted, no longer used.
5610 * gdb.disasm/configure.in: Remove references to target makefile
5611 frags. Use "sh3.s" as the unique filename for this directory.
5612 * gdb.disasm/configure: Rebuilt.
5613
5614 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5615 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5616 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5617
5618Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5619
5620 * config/udi.exp: Use mondfe,name instead of remote_host.
5621
5622Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5623
5624 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5625 a function with a watchpoint enabled on the mn10200.
5626
5627 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5628 before trying to create it!
5629
5630Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5631
5632 * config/vx.exp: Use hostname instead of netport.
5633
5634 * config/vxworks.exp: New file.
5635
5636 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5637
5638 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5639 gdb before assuming everything worked. Send a ^C if a timeout
5640 occurs.
5641
5642 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5643 $gdb_spawn_id directly.
5644 (gdb_run_cmd): Try _start as well as start. Use the target feature
5645 gdb,start_symbol as the symbol to start from when jumping.
5646
5647Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5648
5649 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5650 redundant) test.
5651
5652 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5653 it doesn't lose for 16bit integer systems.
5654
5655Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5656
5657 * gdb.fortran/types.exp: If the target doesn't support "double"
5658 data types, then expect "real" types to only be 4 bytes.
5659
5660 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5661 call tests if the target doesn't support inferior function calls.
5662
5663 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5664 in printf tests.
5665
5666Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5667
5668 * gdb.base/help.exp: Disable "help set", "help show", and
5669 "help support". Simplify regexp for "help stack".
5670
5671 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5672 to 60 seconds. Temporarily set match_max to 15000 around the
5673 "info copying" test.
5674
5675 * gdb.base/nodebug.exp: Don't try to do an inferior function
5676 call if the target doesn't support them.
5677 * gdb.base/printcmds.exp: Likewise.
5678 * gdb.base/setvar.exp: Likewise.
5679 * gdb.base/structs.exp: Likewise.
5680 * gdb.c++/templates.exp: Likewise.
5681 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5682
5683 * gdb.base/recurse.exp: Enable for the mn10200.
5684
5685 * configure.in: Do configure gdb.stabs directory for *-*-elf
5686 targets.
5687 * configure: Rebuilt.
5688
5689 * gdb.base/break.exp: Check for gdb,noresults before testing
5690 exit status and/or results from the target.
5691 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5692 * lib/gdb.exp: Remove old (now bogus) initialization of
5693 noinferior, noargs, noresults and nosignals.
5694
5695Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5696
5697 * config/sh.exp: New file.
5698
5699 * config/slite.exp: Try to connect multiple times to the board
5700 before rebooting. Only send a "monitor run" if need_monitor_run
5701 is set.
5702
5703 * gdb.base/break.exp: Don't do the "stub continue" test if
5704 the target has gdb_stub set.
5705
5706 * gdb.base/callfuncs.exp: Increase the timeout.
5707
5708 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5709 if the target has gdb,noinferiorio set.
5710
5711 * gdb.base/list.exp: Increase match_max to 10000 characters.
5712
5713 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5714
5715 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5716 target.
5717
5718 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5719
5720Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5721
5722 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5723 trying to delete the copy of gdb. Catch the file delete so we
5724 don't die if the delete fails; also, the file should be copied to
5725 the host, not to the build.
5726
5727Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5728
5729 * lib/gdb.exp(gdb_test): Surround the result pattern with
5730 parenthesis in case it contains multiple regexps separated
5731 with |.
5732
5733 * gdb.base/watchpoint.exp: Use gdb_test.
5734 * gdb.base/default.exp: Ditto.
5735
5736Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5737
99707966 5738 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5739
c906108c
SS
5740 * gdb.base/scope.exp: Use gdb_test.
5741 * gdb.c++/classes.exp: Ditto.
5742 * gdb.c++/inherit.exp: Ditto.
5743
5744Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5745
5746 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5747 remote_exec instead.
5748 * gdb.base/corefile.exp: Don't be ridiculous.
5749 * gdb.base/*.c: Add missing stub invocations.
5750
5751Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5752
5753 * config/slite.exp: Miscellaneous fixes.
5754
5755 * lib/gdb.exp: Fix runto.
5756
5757 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5758 the target.
5759
5760 * gdb.base/watchpoint.exp: Fix regexp.
5761
5762 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5763 close and wait commands, as the descriptor may now be
5764 invalid. Always call "remote_close host".
5765
5766Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5767
5768 Major rewrite for testsuite revision.
beb998c6 5769
c906108c
SS
5770 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5771 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5772 instead of relying on spawn_id to always contain a valid
5773 spawn id.
5774 (get_compiler_info): New procedure to build the ${binfile}.ci
5775 file, instead of replicating this in N different places.
5776 (gdb_compile): New procedure.
beb998c6 5777
c906108c
SS
5778 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5779 appropriate arguments) instead of compile. Use gdb_test in a lot
5780 more places. Use send_gdb instead of send. Always run gdb_start
5781 at the start of a testcase, as this is no longer done magically.
5782
5783 config/*-gdb.exp: Rename without the -gdb suffix.
5784
5785 config/mips.exp: Use remote_close instead of exit_remote_shell.
5786 config/monitor.exp: Use target_info instead of looking at
5787 baud, timeout, etc.
5788 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5789
5790Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5791
5792 * gdb.c++/templates.exp (test_ptype_of_templates),
5793 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5794 Update expect patterns for destructors and assignment operators
5795 to match corresponding c-typeprint.c changes.
5796 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5797 to destructor breakpoint test, GDB should be able to set the
5798 destructor breakpoint without specifying arguments.
5799
5800Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5801
5802 * gdb.threads/pthreads.exp: Change result for failure to compile due
5803 to lack of pthreads runtime support from an error to simply an
5804 unsupported test, per dejagnu standards.
5805
5806Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5807
5808 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5809 where GDB exits to reduce pattern match time.
5810 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5811
5812 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5813
dc96c6c7 5814Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5815
5816 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5817 * gdb.base/default.exp: ditto.
5818 * gdb.base/nodebug.exp: ditto.
5819 * gdb.base/printcmds.exp: ditto.
5820 * gdb.base/ptype.exp: ditto.
5821 * gdb.base/setvar.exp: ditto.
5822 * gdb.base/structs.exp: ditto.
5823 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5824
5825Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5826
5827 * configure, */configure: Rebuild with autoconf 2.12.
5828
5829Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5830
5831 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5832 use new i*86-pc-linux*-gnu quads.
5833 * gdb.base/corefile.exp: Ditto.
5834 * gdb.base/signals.exp: Ditto.
5835 * gdb.base/sigall.exp: Ditto.
5836 * gdb.base/interrupt.exp: Ditto.
5837
5838 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5839 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5840 RedHat 4.0.
beb998c6 5841
c906108c
SS
5842 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5843 linux. This allows the test case to at least compile on latest
5844 linux, but still not run due to missing the threads runtime library.
5845
5846Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5847
5848 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5849 directory to search gdb directory. Accept and step over conditional
5850 stack alignment code. Consume $prompt in failure cases.
5851 Reset timeout to $oldtimeout instead of some arbitrary value.
5852 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5853 timeout problems with infinite stack backtraces.
5854 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5855 Accept function parameters for linkfunc member.
5856
5857Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5858
5859 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5860 (CXXFLAGS): Remove, unreferenced.
5861 (B_OPTIONS): Add for -B options and add code to initialize with
5862 previous -B options and also add -B option to pick up cross compiled
5863 runtime.
5864 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5865 doing cross compiles.
5866 (target_alias): Declare global.
5867 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5868 to verify that gcc exists in build tree, and if so set CC to that
5869 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5870
c906108c
SS
5871Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5872
5873 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5874 ptype test for anonymous union. Fixup testcase to match
5875 current gcc debug output.
5876
5877Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5878
5879 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5880 force argument to an unsigned long type.
5881
5882Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5883
5884 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5885 tests and anonymous union print/ptype tests.
5886 * gdb.base/list.exp (test_forward-search): Increase timeout by
5887 5 minutes for the "search extremely long line" case.
5888 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5889 completely optional and that the pass/fail messages use the command as
5890 the message if that third arg is a null string.
5891 (gdb_test_exact): Arrange that a null string pattern means match a
5892 null string output rather than any output, which might include random
5893 errors.
5894 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5895 backtrace test.
5896 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5897 always failing and failure is now exposed by gdb.exp changes.
5898
5899Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5900
5901 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5902 weren't being noted.
5903
5904Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5905
5906 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5907 * gdb.stabs/weird.exp: Remove v_comb xfails.
5908
dc96c6c7 5909Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5910
5911 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5912 list.exp scope.exp watchpoint.exp]
5913 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5914
dc96c6c7 5915Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5916
5917 * config/monitor.exp: Increase download timeout to 1000 seconds.
5918
dc96c6c7 5919Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5920
5921 * config/m32r.exp: Increase timeout to 120 seconds.
5922
5923Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5924
5925 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5926 and accept older ordering as obsolescent gcc or gdb.
5927 * gdb.c++/templates.exp: Ditto.
5928 * gdb.c++/virtfunc.exp: Ditto.
5929
5930Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5931
5932 * gdb.base/coremaker.c: Add code to mmap some data so we
5933 can check that it ends up in the core file.
5934 * gdb.base/corefile.exp: Add test to read mmapped data
5935 from core file.
5936
dc96c6c7 5937Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5938
5939 * config/m32r.exp: New file.
5940
5941Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5942
5943 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5944 that cflags can contains -gstabs, and work correctly for other tests.
5945
dc96c6c7 5946Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5947
5948 * gdb.base/setshow.exp: New file, tests show and set.
5949 * gdb.base/setshow.c: New file, tests show and set.
5950 * gdb.base/help.exp: Add test for help set|show annotate.
5951 * gdb.base/default.exp: Add test for set|show annotate.
5952
5953Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5954
5955 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5956 errors unique.
5957 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5958 explicitly.
5959
5960Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5961
5962 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5963 and width commands. This is done elsewhere.
5964 * (gdb_start): Don't call gdb_start_sim here. That's already
5965 done in gdb_load. This fixes lots of failures in default.exp.
5966
5967Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5968
5969 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5970 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5971 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5972 in the same we we treat other failures (since it may be an expected
5973 condition), rather than as an error.
5974 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5975 old test format.
5976
5977Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5978
5979 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5980 (distclean maintainer-clean realclean): No need to remove files
5981 twice. Nuke the duplicates.
5982 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5983 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5984 Remove config.h along with other config files.
5985
5986Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5987
5988 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5989 "p func1 ()" and note that rests of tests are skipped.
5990 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5991 setup_xfails for "print func2::coremaker_local".
5992 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5993 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5994 affected by the previous run test.
5995 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5996 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5997 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5998 "pass int powerset tuple" and "pass modeless int powerset tuple".
5999 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6000 "real write 4" and "real write 8".
6001 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6002 setup_xfails for "print vs1 after tuple assign 2",
6003 "print \$i after tuple assign 2", and
6004 "print vs2 after tuple assign 2".
6005 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6006 meaningful error message and return -1 so the caller can
6007 suppress further tests and avoid a cascade of errors.
beb998c6 6008
c906108c
SS
6009Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6010
6011 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6012 format for printing version.
6013 * gdb.base/default.exp: Ditto.
6014 * gdb.base/interrupt.exp: Fix problem with cascade of
6015 errors if child process dies while calling a function.
beb998c6 6016
c906108c
SS
6017Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6018
6019 * Makefile.in (VPATH): Add
6020 * Makefile.in (Makefile, config.status): Fix rules so things get
6021 remade when necessary.
6022
6023Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6024
6025 * Makefile.in (just-check): Add path to sibling expect dir
6026 to environment variable specified by RPATH_ENVVAR.
6027
6028Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6029
6030 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6031 (just-check): Add shared library paths for libstdc++, tk,
6032 tcl, bfd, and opcodes to the environment variable specified
6033 in RPATH_ENVVAR.
6034 * configure.in: Add support to recognize --enable-shared flag
6035 and generate correct value for RPATH_ENVVAR.
6036 * configure: Regenerated with autoconf.
6037
6038Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6039
6040 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6041 include all osf versions.
6042 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6043 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6044 when target is linux. When failing to build pthreads test
6045 executable, give more meaningful message.
6046 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6047 arg for pthread_create.
beb998c6 6048
c906108c
SS
6049Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6050
6051 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6052 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6053 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6054 and -lpthreads (everybody else).
6055 (test_startup): Fail gracefully if threads are not supported.
6056 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6057 "p/c array_index("abcdef",2)" when not gcc compiled.
6058 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6059 "print func2::coremaker_local" when not gcc compiled.
6060 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6061 "ptype on opaque struct tagname (statically)",
6062 "ptype on opaque struct tagname (dynamically) 1", and
6063 "ptype on opaque struct tagname (dynamically) 2"
6064 for not compiled with gcc.
6065 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6066 backtrace when compiled with gcc.
beb998c6 6067 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6068 than always return success.
6069
6070Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6071
6072 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6073
6074Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6075
6076 * gdb.base/structs.exp: Undo last change.
6077
6078Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6079
6080 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6081 encapsulate all the steps/nexts done during self test, starting
6082 at main, and makes them less sensitive to optimization issues.
6083 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6084 signal handler" test.
6085 * gdb.threads/pthreads.exp: Only run this for native configs.
6086 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6087 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6088 tests.
6089 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6090 for "runto test_calls(void)" test.
beb998c6 6091
c906108c
SS
6092Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6093
6094 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6095 and don't expect address info in breakpoint confirmations.
6096
6097Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6098
6099 * gdb.base/list.exp (test_forward_search): Increase timeout
6100 temporarily by 60 seconds for searching extremely long line,
6101 and then reset to old value when done. Increase expect input
6102 buffer to 10000.
6103
6104Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6105
6106 * gdb.base/list.exp (test_forward_search): Fix to handle very
6107 long source line without overflowing expect's input buffer.
6108
6109Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6110
6111 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6112 "buffer_full".
6113
6114 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6115 "buffer_full".
6116
6117 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6118 "buffer_full".
6119
6120 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6121 "buffer_full".
6122
6123Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6124
6125 * configure.in (configdirs): Add gdb.threads.
6126 * configure: Regenerated with autoconf.
6127 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6128 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6129 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6130
c906108c
SS
6131Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6132
6133 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6134
6135Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6136
6137 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6138 each signal's status in the output of "handle all print".
6139 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6140 the \r\n sequence that immediately precedes the gdb prompt.
6141 * gdb.base/a1-selftest.exp: Save original timeout and restore
6142 after test.
6143
6144Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6145
6146 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6147 symbol.
6148
6149Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6150
6151 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6152
6153Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6154
6155 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6156 timeout by 60 seconds.
6157
6158Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6159
6160 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6161 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6162 error return.
6163
6164Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6165
6166 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6167 gdb initialization, also report how long dejagnu waited. Restore
6168 old timeout before doing error return. Temporarily increase timeout
6169 by 3 minutes to allow for slow startups over heavy NFS use.
6170
6171Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6172
6173 * lib/gdb.exp: Report timeout value for verbosity level 2.
6174 * config/gdbserver.exp: Ditto.
6175 * config/hppro.exp: Ditto.
6176 * config/mips-gdb.exp: Ditto.
6177 * config/monitor.exp: Ditto.
6178 * config/netware.exp: Ditto.
6179 * config/sim-gdb.exp: Ditto.
6180 * config/slite-gdb.exp: Ditto.
6181 * config/udi-gdb.exp: Ditto.
6182 * config/unix-gdb.exp: Ditto.
6183 * config/vx-gdb.exp: Ditto.
6184 * gdb.base/a1-selftest.exp: Ditto.
6185 * gdb.base/a2-run.exp: Ditto.
6186 * gdb.base/break.exp: Ditto.
6187 * gdb.base/corefile.exp: Ditto.
6188 * gdb.base/list.exp: Ditto.
6189 * gdb.base/recurse.exp: Ditto.
6190 * gdb.base/scope.exp: Ditto.
6191 * gdb.base/signals.exp: Ditto.
6192
6193Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6194
6195 * gdb.threads/Makefile.in (docdir): Removed.
6196
6197Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6198
6199 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6200 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6201 @srcdir@.
beb998c6 6202 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6203 autoconf 2.5 or higher.
6204 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6205
6206Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6207
6208 * configure: Regenerated.
6209 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6210 avoid name clashes with SunOS headers.
6211
6212Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6213
6214 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6215
6216Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6217
6218 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6219 prototype information ends up in the compiler info file.
6220
6221Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6222
6223 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6224 attempting to regenerate it. Eliminate use of a temporary file
6225 and just generate the info file directly. Source it immediately,
6226 for consistency of use.
6227 * gdb.base/corefile.exp: Ditto
6228 * gdb.base/exprs.exp: Ditto.
6229 * gdb.base/funcargs.exp: Ditto.
6230 * gdb.base/langs.exp: Ditto.
6231 * gdb.base/list.exp: Ditto.
6232 * gdb.base/mips_pro.exp: Ditto.
6233 * gdb.base/nodebug.exp: Ditto.
6234 * gdb.base/opaque.exp: Ditto.
6235 * gdb.base/ptype.exp: Ditto.
6236 * gdb.base/scope.exp: Ditto.
6237 * gdb.base/setvar.exp: Ditto.
6238 * gdb.base/signals.exp: Ditto.
6239 * gdb.base/whatis.exp: Ditto.
6240 * gdb.c++/templates.exp: Ditto.
6241 * gdb.c++/virtfunc.exp: Ditto.
6242 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6243 whether or not to add -lstdc++ to the compile command line args.
6244
6245Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6246
6247 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6248 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6249 Increase timeout, a lot of single stepping might be needed if the
6250 target has no hardware watchpoints.
6251
6252Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6253
6254 * gdb.base/break.exp: Ignore compiler warnings when compiling
6255 break.c.
6256 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6257 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6258 from remote-sim.
6259 * gdb.base/exprs.exp: Add h8300 xfails.
6260 * gdb.base/funcargs.exp: Likewise.
6261 * gdb.base/nodebug.exp: Likewise.
6262 * gdb.base/printcmds.exp: Likewise.
6263 * gdb.base/ptype.exp: Likewise.
6264 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6265 h8300 xfails.
beb998c6 6266 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6267 on the h8300.
6268 * gdb.base/funcargs.c: Explicitly make last constant argument to
6269 call_after_alloca_subr an unsigned long type.
6270 * gdb.base/return.c: Include stdio.h.
6271
6272Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6273
6274 * config/abug.exp: New file for the older Motorola Bug monitor
6275 that runs on the mvme13x series VME boards.
6276 * config/monitor.exp: Use the new config array for target settings
6277 if they exist.
6278
6279Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6280
6281 * sim-gdb.exp: Make the SH simulator allocate less space when
6282 it is targeted.
6283
6284Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6285
6286 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6287 test.
6288
6289Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6290
6291 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6292 "rs6000-*-*" for "list function in include file" when gcc compiled.
6293 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6294 for "p ctable1[120]".
6295 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6296 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6297 Remove setup_xfail for "rs6000-*-*" for
6298 "print 'scope0.c'::filelocal before run".
6299 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6300 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6301 since some compilers don't allow both options to be given
6302 on the same command line. Create object file and move it.
beb998c6 6303
c906108c
SS
6304Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6305
6306 * gdb.base/corefile.exp: Always regenerate the core file, since
6307 we always regenerate the coremaker program. Detect special case
6308 where registers cannot be read from core file.
beb998c6 6309
c906108c
SS
6310Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6311
6312 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6313 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6314 * gdb.c++/templates.exp: Only match on basename of file since
6315 some formats like xcoff don't encode directory information.
6316 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6317 and rs6000 AIX xcoff targets.
6318 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6319 * configure: Regenerate.
6320 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6321 here, rather than in distclean.
beb998c6 6322
c906108c
SS
6323Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6324
6325 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6326 defined, and use it to compile the test case with -O2. The
6327 native compilation still uses no optimization.
6328 * gdb.base/mips_pro.c: Remove inline assembly code since
6329 it is compiled PIC by default, which results in assembler
6330 warnings that make the testsuite think the compilation
6331 was unsuccessful.
6332
6333Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6334
6335 * gdb.c++/misc.exp: Add note to message for
6336 "print s.a for foo struct" that this is a known gcc 2.7.2
6337 and earlier bug.
6338
6339Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6340
6341 * gdb.base/break.exp: Fix pattern for matching "Delete all
6342 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6343 setup_xfail for deleting all breakpoints test. Fix various
6344 timeout messages to include "(timeout)".
6345 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6346 for "p t_float_values2(3.14159,float_val2)".
6347 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6348 for "continue to call2g" when gcc compiled.
6349 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6350 "up to foo in langs.exp", "show language at foo in langs.exp",
6351 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6352 and "show language at fsub in langs.exp".
6353 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6354 "list line 1 in include file", "list message for lines past EOF",
6355 "list function in include file", "list list0.h:foo", and
6356 "list filename:function; nonexistant function".
6357 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6358 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6359 and "ptype t_char_array" to be for native cc only.
beb998c6 6360
c906108c
SS
6361Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6362
beb998c6 6363 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6364 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6365 "print func2::coremaker_local", and "backtrace in corefile.exp".
6366
6367Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6368
6369 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6370 "bt in signals.exp". This problem only appears when running
6371 the testsuite, and then only intermittently.
6372
6373Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6374
6375 * gdb.base/return.exp (return_tests): Differentiate between
6376 two tests of continuing.
6377
6378Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6379
6380 * */Makefile.in (maintainer-clean): Remove config.log.
6381 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6382 * gdb.c++/Makefile.in (PROGS): Add inherit.
6383 (clean): Remove *.ci.
6384
6385Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6386
6387 * gdb.c++/misc.cc: Add test code from Mike Stump.
6388 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6389
6390Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6391
6392 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6393 to "alpha-*-osf2*" and add comment.
6394 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6395 setup_xfail for "step over execarg initialization" and
6396 "step over corearg initialization".
6397 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6398 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6399 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6400 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6401 "print func2::coremaker_local", and "backtrace in corefile.exp".
6402 * gdb.base/signals.exp: Build and source signals.ci.
6403 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6404 to be for gcc only.
6405 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6406
c906108c
SS
6407Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6408
6409 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6410 Feb 3 procfs.c change.
6411
6412Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6413
6414 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6415
6416Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6417
6418 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6419 from dejagnu's apparent default of 10 seconds, which gives random
6420 results when running the tests over NFS on moderately loaded systems.
6421 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6422
6423Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6424
6425 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6426 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6427 result reports.
6428
6429Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6430
6431 * configure.in (CY_AC_PATH_TCLH): Remove.
6432 * configure: Regenerate.
6433
6434Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6435
6436 * gdb.c++/Makefile.in (clean): Add missing '{'.
6437
6438Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6439
6440 * lib/gdb.exp: Provide a default value for noinferior.
6441
6442 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6443 Load libgloss.exp.
6444
6445Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6446
6447 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6448 the executable, not the .o to run the tests from.
6449
6450Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6451
6452 * gdb.base/break.exp: Don't test for program exit or exit status
6453 if $noresults if nonzero.
6454 * gdb.base/langs.exp: Likewise.
6455 * gdb.base/watchpoint.exp: Likewise.
6456
6457 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6458 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6459 trying to compile the testcase.
6460
6461Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6462
6463 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6464 * gdb.base/signals.exp (continue to handler): Likewise.
6465
6466Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6467
6468 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6469
6470 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6471
6472Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6473
6474 * gdb.base/corefile.exp: Recognize "not found" as failure
6475 when trying to determine if a core file was generated.
6476 If no core file was generate the first time, try again without
6477 the ulimit -c to work around braindamaged shells.
6478
6479Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6480
6481 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6482 [] tests with "test" and enclose string in quotes.
6483 * gdb.stabs/configure: Rebuild
beb998c6 6484
c906108c
SS
6485Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6486
6487 Changes in sync with expect:
6488 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6489 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6490 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6491 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6492 argument to AC_REQUIRE.
6493 * configure: Regenerated.
6494
6495Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6496
6497 * gdb.base/corefile.exp: When generating a core, discard any
6498 error messages about ulimit not found and the "core dumped"
6499 message from the shell that runs the coredumper.
6500
6501Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6502
6503 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6504
6505 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6506 which sed script to run. Expect failure for v_comb test
6507 on PA targets too.
beb998c6 6508
c906108c
SS
6509Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6510
6511 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6512 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6513
6514Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6515
6516 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6517 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6518 "sparc-sun-solaris*" xfails for "p v_comb".
6519 * lib/gdb.exp (default_gdb_start): Fix typo.
6520 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6521 messages to not include the full program name that caused
6522 the core dump since some systems (such as solaris) apparently
6523 truncate this path to about 80 characters.
6524 When generating a core file first try increasing the core file
6525 size limit to unlimited since some systems may default it to
6526 zero, and it is harmless to try it. Move the test for failing
6527 to generate a core file to where it will actually get executed.
6528 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6529 new gdb result from g++ debug info improvements and make old
6530 pattern obsolescent. Also account for size_t differences
6531 (may be int or long).
6532 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6533 initialization before function call is placed in the delay slot
6534 and thus appears to be skipped over by commands such as "next".
6535
6536Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6537
6538 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6539
6540Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6541
6542 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6543 input source file; fix code to compile test to deal with this
6544 convention.
6545 * gdb.c++/*.exp: Likewise.
6546
6547Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6548
6549 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6550 "bt in signals.exp".
6551
6552Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6553
6554 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6555 "step over execarg initialization" and
6556 "step over corearg initialization".
6557
6558Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6559
6560 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6561 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6562
6563Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6564
6565 From Rob Savoye (rob@poseidon.cygnus.com)
6566 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6567 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6568 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6569 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6570 configure.in}: Major reworking for autoconfig.
6571 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6572 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6573 New files.
6574 * config/unix-gdb.exp: Make GDB global.
6575 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6576 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6577 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6578 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6579 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6580 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6581 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6582 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6583 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6584 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6585 pr-8136.exp, result.exp, string.exp, tuples.exp},
6586 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6587 to returns as necessary, arrange for test to compile own testcase
6588 executable.
6589 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6590
c906108c
SS
6591Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6592
6593 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6594 clear_xfail at end of test which might not call either pass or fail.
6595 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6596 "backtrace through signal handler".
6597
6598Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6599
6600 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6601 continuing from a job control stop signal.
6602 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6603
6604Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6605
6606 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6607 * gdb.base/corefile.exp: Likewise.
6608 * gdb.base/funcargs.exp: Likewise.
6609
6610Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6611
6612 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6613 * config/monitor.exp: Add support for setting baud rate.
6614
6615Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6616
6617 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6618 i*86-*-linux* xfails for "backtrace through signal handler".
6619 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6620 "print func2::coremaker_local".
6621 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6622 alpha-dec-osf2* xfail for
6623 "delete all breakpoints when none".
6624
6625Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6626
6627 * gdb.base/break.exp: Change test that deletes all breakpoints
6628 when no user breakpoints are installed. A post 4.15 change
6629 causes gdb to no longer prompt in this case.
6630
6631Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6632
6633 * gdb.base/return.exp (return_tests): Change xfail for test
6634 "correct value returned double test" to stop xfailing at
6635 Solaris 2.5. Apparently the bug has been fixed.
6636
6637Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6638
6639 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6640 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6641
6642Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6643
6644 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6645 * gdb.disasm/hppa.s: Corresponding changes.
6646
6647Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6648
6649 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6650 makefile fragment.
6651 * config/mt-hpux: Deleted.
6652
6653Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6654
beb998c6 6655 * Many files: When warning about suppressed tests due to a
c906108c
SS
6656 nonexistant test binary, avoid incrementing the warning count.
6657
6658Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6659
6660 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6661
c906108c
SS
6662Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6663
6664 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6665 "sparc-*-solaris2*".
6666
6667Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6668
6669 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6670 Add global and local variables and initialize them.
6671 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6672 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6673 extracts the file name and terminating signal from the core file.
6674 * TODO: Remove note about tests for correct mapping of corefile.
6675 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6676 from optimizing it away.
6677 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6678 handles common blocks.
6679
6680Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6681
6682 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6683 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6684
6685Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6686
6687 * Makefile.in (maintainer-clean): New target, synonym for
6688 realclean.
6689 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6690 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6691 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6692 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6693 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6694 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6695
6696Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6697
6698 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6699 xfails when not gcc compiled for "print foo::funclocal".
6700 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6701 "print foo::funclocal at foo",
6702 "print 'scope1.c'::foo::funclocal at foo",
6703 "print foo::funclocal_bss at foo",
6704 "print 'scope1.c'::foo::funclocal_bss at foo",
6705 "print foo::funclocal_ro at foo",
6706 "print 'scope1.c'::foo::funclocal_ro at foo",
6707 "print bar::funclocal at foo" and
6708 "print 'scope1.c'::bar::funclocal at foo".
6709 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6710 gcc compiled for "print foo::funclocal at bar".
6711 Expand all messages to ensure that they identify that
6712 the test is at bar().
6713 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6714 gcc compiled for:
6715 "ptype on opaque struct pointer (statically)",
6716 "ptype on opaque struct tagname (statically)",
6717 "ptype on opaque struct pointer (dynamically) 1",
6718 "ptype on opaque struct tagname (dynamically) 1",
6719 "ptype on opaque struct pointer (dynamically) 2" and
6720 "ptype on opaque struct tagname (dynamically) 2
6721 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6722 gcc compiled for:
6723 "p datalocal"
6724 "whatis datalocal",
6725 "ptype datalocal",
6726 "p bsslocal",
6727 "whatis bsslocal", and
6728 "ptype bsslocal".
6729 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6730 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6731 when not gcc compiled.
6732 * gdb.base/funcargs.exp (float_and_integral_args): Add
6733 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6734 compiled.
6735 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6736 "backtrace from call6a" when not gcc compiled.
6737 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6738 "backtrace from call7a" when not gcc compiled.
6739 * gdb.base/callfuncs.exp (do_function_calls):
6740 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6741 "p t_char_array_values(char_array_val2,char_array_val1)",
6742 "p t_char_array_values(char_array_val1,char_array_val2)",
6743 "p t_char_array_values("carray 1","carray 2")",
6744 "p t_char_array_values("carray 1",char_array_val2)",
6745 "p t_char_array_values(char_array_val1,"carray 2")",
6746 "p sum_args(1,{2})",
6747 "p sum_args(2,{2,3})",
6748 "p sum_args(3,{2,3,4})",
6749 "p sum_args(4,{2,3,4,5})"
6750 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6751 "backtrace in corefile.exp" when not gcc compiled.
6752
6753Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6754
6755 * gdb.base/signals.exp: Rewrite `handle all print' test as
6756 a procedure. Accept blanks or TABs as whitespace, increase
6757 timeout and expect input buffer size for the large output
6758 from the command. Remove "i*86-*-bsdi2.0" xfail.
6759
6760Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6761
6762 * gdb.base/setvar.exp: Add new testcases for truncation when
6763 assigning invalid values to bitfields.
6764
6765Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6766
beb998c6 6767 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6768 mips-sgi-irix* xfail for
6769 "call inferior func with struct - returns char *"
6770 and fix test so that an optional (unsigned char *) cast is
6771 accepted in the result.
6772
6773Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6774
6775 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6776 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6777 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6778 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6779 that accidentally got checked in.
6780
6781Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6782
beb998c6 6783 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6784 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6785 compiled test.
6786 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6787 Add mips-sgi-irix5* xfail for not gcc compiled.
6788 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6789 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6790 "p top", "whatis top", "p middle", and "whatis middle".
6791 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6792 "whatis signed char" for not gcc compiled.
6793 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6794 "set variable signed char=-1 (-1)" and
6795 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6796 * gdb.base/funcargs.exp (float_and_integral_args):
6797 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6798 Add mips-sgi-irix* xfail when not gcc compiled for
6799 "continue to call2b".
6800 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6801 "continue to call2g".
6802 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6803 "backtrace from call6a"
6804 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6805 "backtrace from call7k".
6806 Add mips-sgi-irix5* xfail when not gcc compiled for
6807 "backtrace from call7a".
6808 (localvars_after_alloca): Fix gdb_test cmds for
6809 "print * after runto ...".
6810 Remove rs6000-*-* xfails for
6811 "print i after runto localvars_after_alloca" and
6812 "print l after runto localvars_after_alloca"
6813 for all compilers.
6814 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6815 when not compiled with gcc, for:
6816 "print signed char == (minus)",
6817 "print signed char != (minus)",
6818 "print signed char < (minus)",
6819 "print signed char > (minus)".
6820 * gdb.base/callfuncs.exp (do_function_calls):
6821 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6822 "call inferior func with struct - returns char *".
beb998c6 6823 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6824 "correct value returned double test" to include Solaris 2.4.
6825 * gdb.base/funcargs.exp (float_and_integral_args):
6826 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6827
c906108c
SS
6828Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6829
6830 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6831 enumeration bitfields if compiling with GNU C.
6832 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6833 to empty' prompt.
6834
6835Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6836
6837 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6838 test for PRO targets.
6839
6840 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6841 breakpoints in the inferior at any given time by making
6842 two groups of breakpoints for call2*, call6* and call7*
6843 tests.
6844
6845Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6846
6847 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6848 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6849 from optimizing it away.
6850 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6851 "call inferior func with struct".
6852
6853Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6854
6855 * configure.in: Only configure gdb.chill for particular targets.
6856
6857Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6858
6859 * gdb.base/Makefile.in: Add action to .c.o transformation
6860 rule that generates a .ci file for each .o file and remove
6861 explicit .c.o rules except for callfuncs.o.
6862 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6863 generates a .ci file for each .o file and remove explicit
6864 .cc.o rules.
6865 (clean): Remove *.tmp *.ci files.
6866 (EXECUTABLES): Remove templ-info.exp.
6867 * gdb.base/compiler.c: New file.
6868 * gdb.c++/compiler.cc: New file
6869 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6870 Change rs6000-*-* xfail for
6871 "print 'scope0.c'::filelocal_ro" and
6872 "print 'scope1.c'::filelocal" and
6873 "print 'scope1.c'::filelocal_bss" and
6874 "print 'scope1.c'::filelocal_ro" and
6875 "print 'scope1.c'::foo::funclocal" and
6876 "print 'scope1.c'::foo::funclocal_ro" and
6877 "print 'scope1.c'::bar::funclocal" and
6878 "print 'scope0.c'::filelocal_ro" and
6879 "print 'scope1.c'::filelocal at foo" and
6880 "print 'scope1.c'::filelocal_bss at foo" and
6881 "print 'scope1.c'::filelocal_ro at foo" and
6882 "print 'scope1.c'::foo::funclocal at foo" and
6883 "print 'scope1.c'::foo::funclocal_bss at foo" and
6884 "print 'scope1.c'::foo::funclocal_ro at foo" and
6885 "print 'scope1.c'::bar::funclocal at foo" and
6886 "print 'scope0.c'::filelocal_ro" and
6887 "print 'scope1.c'::filelocal" and
6888 "print 'scope1.c'::filelocal_bss" and
6889 "print 'scope1.c'::filelocal_ro" and
6890 "print 'scope1.c'::foo::funclocal" and
6891 "print 'scope1.c'::foo::funclocal_bss" and
6892 "print 'scope1.c'::foo::funclocal_ro" and
6893 "print 'scope1.c'::bar::funclocal" and
6894 "print 'scope1.c'::bar::funclocal_bss"
6895 to only be xfail'd when not compiled with gcc.
beb998c6 6896 Add rs6000-*-* xfail for
c906108c
SS
6897 "print 'scope0.c'::filelocal_bss before run"
6898 when compiled with gcc.
6899 (test_at_main): Add rs6000-*-* xfail for
6900 "print filelocal_ro in test_at_main"
6901 when compiled with gcc.
6902 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6903 Add rs6000-*-aix* xfail for
c906108c
SS
6904 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6905 "ptype t_char_array", not compiled with gcc.
6906 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6907 xfail for "list foo (in include file)" when gcc compiled.
6908 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6909 (integral_args): Add rs6000-*-* xfail for
6910 "run to call0a" if not compiled with gcc.
6911 (unsigned_integral_args): Add rs6000-*-* xfail for
6912 "run to call1a" if not compiled with gcc.
6913 (float_and_integral_args): Add rs6000-*-* xfail for
6914 "run to call2a" if not compiled with gcc and for
6915 "continue to call2b" for any compiler.
6916 Add rs6000-*-* xfail to
6917 "print f1 after run to call2a" for gcc compiled.
6918 (discard_and_shuffle): Add rs6000-*-* xfail for
6919 "run to call6a".
6920 (shuffle_round_robin): Add rs6000-*-* xfail for
6921 "backtrace from call7a" if not compiled with gcc.
6922 Add rs6000-*-* xfail for
6923 "backtrace from call7b" if compiled with gcc.
6924 (call_after_alloca): Add rs6000-*-* xfail for
6925 "print c in call_after_alloca" and
6926 "print s in call_after_alloca" and
6927 "backtrace from call_after_alloca_subr"
6928 if not compiled with gcc.
6929 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6930 "print c in localvars_in_indirect_call" and
6931 "print c in localvars_in_indirect_call" and
6932 "backtrace in indirectly called function" and
6933 "stepping into indirectly called function"
6934 if not compiled with gcc.
6935 (localvars_after_alloca): Add rs6000-*-* xfail for
6936 "print c after runto localvars_after_alloca" and
6937 "print s after runto localvars_after_alloca" and
6938 "print i after runto localvars_after_alloca" and
6939 "print l after runto localvars_after_alloca"
6940 for all compilers.
6941 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6942 than whatis-info.exp.
6943 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6944 than opaque-info.exp.
6945 Setup rs6000-*-* xfail for
beb998c6 6946 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6947 "ptype on opaque struct pointer (dynamically)" when
6948 not compiled with gcc.
6949 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6950 rather than callf-info.exp.
6951 (do_function_calls): Add clear_xfail for rs6000-*-* for
6952 "p t_float_values2(3.14159,float_val2)". Seems to work
6953 fine there, both with xlc and gcc. Need to find out what
6954 it is doing right and fix other platforms.
6955 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6956 "call inferior func with struct - returns int",
6957 "call inferior func with struct - returns long",
6958 "call inferior func with struct - returns float",
6959 "call inferior func with struct - returns double",
6960 "call inferior func with struct - returns char *",
6961 but only if not gcc compiled (presumes xlc compiled).
6962 Change rs6000-*-* xfails for
6963 "call inferior func with struct - returns char" and
6964 " call inferior func with struct - returns short" to only
6965 xfail if not using gcc.
6966 (clean mostlyclean): Remove *.ci and *.tmp files.
6967 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6968 than templ-info.exp.
6969 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6970 Add rs6000-*-* xfail for "up to foo in langs.exp"
6971 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6972 when not gcc compiled.
beb998c6 6973
c906108c
SS
6974Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6975
6976 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6977 * gdb.base/corefile.exp: Likewise.
6978 * gdb.base/list.exp: Likewise.
6979 * gdb.base/scope.exp: Likewise.
6980 * gdb.base/siganls.exp: Likewise.
6981
6982 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6983 compiler output.
6984 * gdb.base/whatis.exp: Likewise.
6985
6986Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6987
6988 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6989 failure (opcode table has been fixed to match reality).
6990
6991Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6992
6993 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6994 "call inferior func with struct - returns char",
6995 "call inferior func with struct - returns short"
6996
6997 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6998 "print 'scope0.c'::filelocal at main",
6999 "print 'scope0.c'::filelocal_bss in test_at_main",
7000 "print 'scope0.c'::filelocal at foo",
7001 "print 'scope0.c'::filelocal_bss in test_at_foo",
7002 "print 'scope0.c'::filelocal at bar",
7003 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7004
c906108c
SS
7005 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7006 in source file 1". This bug seems to have been fixed with both
7007 gcc and native cc (was native assembler bug?).
7008
7009Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7010
7011 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7012 "backtrace through signal handler" to "i*86-*-sysv4*".
7013 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7014 continue" case. Add "known SVR4 bug" to fail message.
7015 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7016 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7017 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7018 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7019 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7020 "up to foo in langs.exp", "show language at foo in
7021 langs.exp", "up to cppsub_ in langs.exp", "show
7022 language at cppsub_ in langs.exp", "up to fsub in
7023 langs.exp", and "show language at fsub in langs.exp".
7024 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7025 "bactrace in corefile.exp".
7026 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7027 "call inferior function with struct - returns float" and
7028 "call inferior function with struct - returns double".
beb998c6 7029
c906108c
SS
7030Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7031
7032 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7033 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7034 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7035 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7036
7037Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7038
7039 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7040 (or overriden) "CHILL" macro rather then bare "gcc".
7041 Also look for ../../gcc/xgcc since that is what we will
7042 actually need, not "Makefile". Remove following assignment
7043 of CHILL to CHILL_FOR_TARGET because that results in
7044 recursive definition.
7045
7046Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7047
7048 * gdb.base/corefile.exp: Change xfail for backtrace in
7049 corefile.exp from linuxaout to all linux.
7050 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7051 cases where we miss the breakpoint at the signal handler
7052 for some reason. Setup xfail for linuxoldld/linuxaout and
7053 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7054 hitting SIGURG breakpoint.
7055 * gdb.base/signals.exp: Setup xfail for "next" acting like
7056 continue to add linuxoldld. Setup xfail for all linux for
7057 "next to handler in signals_tests_1", "backtrace in
7058 signals_tests_1", "continue to func1", "pass SIGUSR1",
7059 and continue to handler".
7060
7061Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7062
7063 * Update all FSF addresses except those in COPYING* files.
7064
7065Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7066
7067 * gdb.base/a2-run.exp: Change messages to be more explicit about
7068 the status of args, and quote binfile in results.
7069
7070Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7071
7072 * gdb.base/callfuncs.exp: Add tests for passing structs to
7073 inferior functions and return various types.
7074 * gdb.base/callfuncs.c: Add functions to receive a struct
7075 and return a member of the struct, in various types.
7076
7077Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7078
7079 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7080
7081Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7082
7083 * config/vxworks29k.exp: New file, sources vxworks.exp.
7084
7085Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7086
7087 * config/gdbremote.exp: New file. Testing framework using
7088 gdbserver.
7089
7090Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7091
7092 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7093 "call function when asleep" and "send end of file".
7094 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7095 for "backtrace in corefile.exp".
7096 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7097 for "backtrace through signal handler".
7098 * gdb.base/corefile.exp: Make sure we actually generate a core file
7099 before trying the core tests. Some systems allow the user to suppress
7100 generation of core files and default to that (linux for example).
7101 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7102 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7103
7104Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7105
7106 * gdb.threads: New directory with some crude multi-threaded
7107 gdb tests (step.exp and step2.exp).
7108 * config/mt-lynx (STEP_EXECUTABLE): Define.
7109 (THREADFLAGS): Define.
7110
7111Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7112
7113 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7114
7115 * gdb.base/signals.exp: Disable whole file for lynx until
7116 further notice.
7117
7118 * gdb.base/signals.exp: xfail test where "next" acts like
7119 "continue" for lynx.
7120
7121 * gdb.base/interrupt.exp: xfail test for calling function while
7122 inferior is asleep for lynx.
7123
7124 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7125 than one cr-lf after each command.
7126
7127Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7128
7129 * configure.in: Reinstate setting of stabsdirs variable, fix
7130 typo in setting up configdirs for native builds.
7131
7132 * gdb.base/return.exp: Fix typo in return double test.
7133 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7134 compiler from optimizing them away.
7135
7136Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7137
7138 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7139 sequences to be echo'd by gdb when using gdb_test.
7140 * gdb.chill/chexp.exp: Likewise.
7141 * gdb.fortran/exprs.exp: Likewise
7142
7143Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7144
7145 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7146 after the inferior gdb has started.
7147
7148 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7149 after each command.
7150 * gdb.base/funcargs.exp: Likewise.
7151 * gdb.base/gdbvars.exp: Likewise.
7152 * gdb.base/interrupt.exp: Likewise.
7153 * gdb.base/list.exp: Likewise.
7154 * gdb.base/watchpoint.exp: Likewise.
7155 * gdb.c++/demangle.exp: Likewise.
7156 * gdb.c++/inherit.exp: Likewise.
7157 * gdb.chill/chexp.exp: Likewise.
7158 * gdb.fortran/exprs.exp: Likewise.
7159
7160 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7161 test if we can't handle IO to/from the inferior.
7162
7163 * gdb.c++/misc.exp: Always check for a program already being
7164 started after sending a "run" command to gdb.
7165
7166 * gdb.base/twice.exp: Start with a fresh gdb.
7167
7168 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7169 only depend on gdb's expression code, not the chill runtime.
7170
7171 * gdb.base/return.c: Put return values into variables so we
7172 can have gdb print them rather than depending on the program
7173 to print them.
7174 * gdb.base/return.exp: Corresponding changes.
7175
7176 * lib/gdb.exp: Provide default value for noinferiorio.
7177 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7178 the inferior.
7179
7180 * gdb.base/break.exp: Always check for a program already being
7181 started after sending a "run" command to gdb.
7182 (text_next_with_recursion): Don't check the output from the
7183 program's printf statement. Instead just make sure the program
7184 exited.
7185
7186 * gdb.base/commands.exp: Protect tests which need arguments with
7187 $noargs conditionals.
7188
7189Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7190
7191 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7192 of structure member arrays to match gdb/valops.c:value_addr change.
7193
7194Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7195
7196 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7197 cases.
7198
7199Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7200
7201 * configure.in (configdirs): Remove gdb.chill from default list
7202 of subdirs and then add it back in only if doing a native build.
7203 The current chill compiler does not yet work in any cross build.
7204 * Revert all signal changes from Jul 6.
7205 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7206 for sh-hms targets, allowing these tests to link, with no other
7207 changes. Testing is suppressed by setting "nosignals" in site.exp.
7208
7209Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7210
7211 * configure.in (signaldirs): Define and add to configdirs for all
7212 targets except some specific ones that are known to not support signals.
7213 Also clean up formatting.
7214 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7215 (signals, sigall): Remove rules to build.
7216 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7217 Moved to new gdb.signals directory.
7218 * gdb.signals: New test directory.
7219 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7220 signals.c signals.exp}: New or moved files.
7221
7222Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7223
7224 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7225
7226Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7227
7228 * gdb.base/return.exp: Xfail `return double' test failure
7229 on at least Solaris 2.3 and handle future/past versions on
7230 a case by case basis as appropriate. Also update message
7231 to include i*86 failures.
7232
7233Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7234
7235 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7236
7237 * lib/gdb.exp: Fix comment which erroneously identified
7238 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7239 gdb_file_cmd not gdb_load).
7240 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7241
7242 * gdb.base/setvar.exp: Make test names consistent between pass and
7243 fail cases. Use gdb_test more.
7244
7245Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7246
7247 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7248
7249Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7250
7251 * gdb.base/help.exp: Fix expected help string for `show commands'.
7252
7253Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7254
7255 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7256
7257 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7258 of a text section.
7259
7260Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7261
7262 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7263 that loop eventually terminates. Fix Connection refused logic so
7264 that testsuite will expire nicely.
7265
7266Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7267
7268 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7269 config/rom68k.exp: New tcl glue for the appropriate monitors.
7270 These all just end up calling monitor.exp.
7271 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7272 refused' by retrying. Cleanup some timeout issues.
7273 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7274 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7275 callers don't have to set/restore global timeout variable.
7276
7277 * The following set of changes centralizes management of the global
7278 timeout variable. This way, it can be set in one target dependent
7279 place instead of dozens of places scattered throughout the test suite.
7280 If you need to lengthen a timeout, then you should either set timeout
7281 in one of the config/{target}.exp files, or multiply it by a factor.
7282 Setting it to an absolute value is always going to lose for some
7283 targets.
7284 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7285 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7286 * gdb.base/funcargs.exp: Don't set timeout.
7287 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7288 * gdb.base/printcmds.exp (test_print_string_constants
7289 test_print_array_constants): Don't set timeout.
7290 * gdb.base/ptype.exp: Don't set timeout.
7291 * gdb.base/recurse.exp: Don't set timeout.
7292 * gdb.base/return.exp: Don't set timeout.
7293 * gdb.base/watchpoint.exp: Don't set timeout.
7294 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7295 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7296
7297Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7298
7299 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7300
7301Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7302
7303 * lib/gdb.exp: Disable chill tests for irix5.
7304
7305Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7306
7307 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7308 each test pass or fail.
7309
7310Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7311
7312 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7313 xlc not gcc.
7314
7315Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7316
7317 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7318
7319Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7320
7321 * config/est.exp: Fix copyright and comments. Remove dead code.
7322 Use targetname, serialport and baud variables instead of fixed
7323 constants.
7324 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7325 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7326
7327Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7328
7329 * gdb.base/watchpoint.exp: Don't run
7330 test_watchpoint_triggered_in_syscall for sunos.
7331
7332Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7333
7334 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7335 they don't seem to exist. Do include stdio.h.
7336
7337Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7338
7339 * gdb.base/a1-selftest.exp: Add alpha xfail.
7340
7341Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7342
7343 * gdb.base/watchpoint.c (main): Prompt before calling read().
7344 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7345 Revise accordingly. Remove cruft about sending "123" several
7346 times, until it gets noticed. Clean up the "print buf[0]" stuff
7347 so that it passes or fails, and waits for prompts in the usual way.
7348
7349Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7350
7351 * gdb.base/recurse.exp: Fix comment.
7352
7353 * TODO: Remove item about printing variables in nodebug.exp. Add
7354 item about enabling tests which are only run on some targets.
7355
7356 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7357 fail, make test names unique, use new gdb_test convention
7358 regarding pattern, use gdb_test more, etc.).
7359
7360 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7361 fail, make test names unique, etc.).
7362
7363Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7364
7365 * gdb.base/nodebug.c: Change return type of top and middle to
7366 short.
7367 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7368 are fixed by the recent mdebugread.c changes. Allow `short ()'
7369 as type for top and middle.
7370
7371Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7372
7373 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7374 nearly as I can tell, the whole thing was an accident in Stu's
7375 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7376 to replace a send/expect pair with gdb_test, but ended up only
7377 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7378 of 30 Mar 1995 took care of it, but left this vestigial comment
7379 which I am now nuking.
7380
7381Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7382
7383 * gdb.base/break.exp: Look for different line number for
7384 breakpoint at main depending on usestubs.
7385
7386Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7387
7388 * gdb.base/list.exp: Adjust some alternate expect patterns to
7389 match recent list0.c change. Add alternate expect pattern for
7390 output from `list default lines around main' for optimizing
7391 compilers.
7392
7393Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7394
7395 * lib/gdb.exp: If nosignals is not set, set it to 0.
7396
7397Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7398
7399 * config/slite-gdb.exp: Responds to load symbol table prompt.
7400 * gdb.base/break.exp: Adjust line number, fix rerun.
7401 * gdb.base/langs0.c: Add #ifdef usestubs.
7402
7403Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7404
7405 * gdb.base/list.exp: Adjust line contents after adding new lines in
7406 list0.c. Also fix a syntax error.
7407
7408 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7409 * gdb.base/break.exp: ditto.
7410 * gdb.base/list.exp: ditto.
7411 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7412 * gdb.base/run.c: ditto.
7413 * gdb.base/list0.c: ditto.
7414 * gdb.base/funcargs.c: ditto.
7415
7416Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7417
7418 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7419 $targetname, $serialport and $baud instead of hardwired variables.
7420 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7421 target doesn't support signals.
7422
7423Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7424
7425 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7426
7427Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7428
7429 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7430 Don't rely on the value of an auto variable before it has been
7431 initialized. Use gdb_test more.
7432
7433Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7434
7435 * lib/gdb.exp (default_gdb_version): A version number must start
7436 with a digit, but other than that contains all characters up to
7437 the first whitespace character.
7438
7439Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7440
7441 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7442
7443Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7444
7445 * gdb.c++/*.exp: Warn if executable does not exist. The original
7446 reason for skipping the warning was that configure.in sometimes
7447 intentionally skipped building the executables but the tcl code
7448 had no way of knowing. That (a) was always bogus with respect to
7449 error handling, (b) is no longer true (right now there is no way
7450 to skip C++ tests).
7451
7452 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7453
7454Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7455
7456 * gdb.base/list.exp: Add expect patterns for output from
7457 SunPRO compiled executables.
7458 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7459 types.
7460
7461Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7462
7463 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7464 number (we are already testing that the correct source line text
7465 gets printed).
7466
7467 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7468 that is what is intended, but something needed to be done to get
7469 sunos4 native working again.
7470
7471 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7472
7473 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7474 apparently went with a (very) old xfail.
7475
7476Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7477
7478 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7479 runto_main is a proc in gdb.exp that will do 'step' for target use
7480 stubs.
7481 * gdb.base/exprs.exp: ditto.
7482 * gdb.base/interrupt.exp: ditto.
7483 * gdb.base/opaque.exp: ditto.
7484 * gdb.base/printcmds.exp: ditto.
7485 * gdb.base/ptype.exp: ditto.
7486 * gdb.base/scope.exp: ditto.
7487 * gdb.base/setvar.exp: ditto.
7488 * gdb.base/signals.exp: ditto.
7489 * gdb.base/twice.exp: ditto.
7490 * gdb.c++/classes.exp: ditto.
7491 * gdb.c++/inherit.exp: ditto.
7492 * gdb.c++/templates.exp: ditto.
7493 * gdb.base/break.exp: no run and hit main for stubs. Change line
7494 numbers for breakpoints and info breakpoint.
7495 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7496 breakpoint().
7497 * gdb.base/callfuncs.c: ditto.
7498 * gdb.base/exprs: ditto.
7499 * gdb.base/interrupt.c: ditto.
7500 * gdb.base/opaque0.c: ditto.
7501 * gdb.base/printcmds.c: ditto.
7502 * gdb.base/ptype.c: ditto.
7503 * gdb.base/scope0.c: ditto.
7504 * gdb.base/setvar.c: ditto.
7505 * gdb.base/signals.c: ditto.
7506 * gdb.base/twice.c: ditto.
7507 * gdb.c++/misc.cc: ditto.
7508 * gdb.c++/templates.cc: ditto.
7509
7510Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7511
7512 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7513
7514 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7515 somewhere between `read' and `main.c'. I'm pretty sure the
7516 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7517 and it isn't particularly useful.
7518
7519 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7520
7521Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7522
7523 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7524
7525Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7526
7527 * config/mt-slite: add LIBS and -nostdlib.
7528 * config/slite-gdb.exp: add this new file to support sparclite target.
7529
7530Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7531
7532 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7533
7534 * gdb.base/a2-run.exp: Change argument to istarget from
7535 "*-*-vxworks" to "*-*-vxworks*".
7536 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7537
7538Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7539
7540 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7541 will not runto main but do a 'step' to step out of breakpoint().
7542 * config/mt-slite: add -Dusestubs.
7543
7544Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7545
7546 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7547 instead of just @.
7548
7549 * gdb.base/signals.exp: Add test for "handle all print".
7550 * TODO: Remove "handle all print". Also remove item about
7551 checking copyright date (I don't like the idea of a spurious FAIL
7552 based on when we run the tests).
7553
7554 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7555 for SunOS4 (reason for failure not investigated). Remove
7556 redundant test for $binfile.
7557
7558 * gdb.base/nodebug.c (array_index): Call malloc.
7559
7560 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7561
7562Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7563
7564 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7565 conventions and slightly simplify the matching regexp.
7566
7567Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7568
7569 * gdb.base/break.exp: Update gdb_test invocation to use new
7570 convention.
7571
7572 * lib/gdb.exp: If noargs is not set, set it to 0.
7573
7574 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7575 tests unique.
7576
7577 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7578
7579Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7580
7581 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7582 one argument of type "<non-float parameter>".
7583
7584Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7585
7586 * config/rom68k.exp: New file to support Motorola IDP board.
7587 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7588 * gdb.base/break.c: Change things around so that this program
7589 doesn't depend upon args. This is necessary to make remote
7590 targets work (in general, they can't take args).
7591 * gdb.base/break.exp: Don't try to send args to program. Don't
7592 expect output. Also, replace lots of code with gdb_test.
7593
7594Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7595
7596 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7597 printing of '\'' (which is what the comment says we are testing,
7598 even though we were not), not '''.
7599 (test_integer_literals_rejected): Test that printing ''' is an error.
7600
7601 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7602 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7603 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7604 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7605 Use gdb_test not test_print_accept.
7606 * lib/gdb.exp: Remove test_print_accept.
7607
7608 * gdb.base/signals.exp (signal_tests_1): Make pass message
7609 consistent with fail message.
7610
7611 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7612 unsigned char; the bug (PR 1821) is fixed.
7613
7614 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7615
7616 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7617 successful tests--makes xfailing them work right.
7618
7619Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7620
7621 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7622 only \r\n, not .*. The test can pass .* as the last thing in
7623 $pattern if that is what it wants. In addition to providing this
7624 flexibility, this change should speed up pattern matching in cases
7625 where the pattern already ended with .* (there were a number of
7626 them). This change also helps catch bad patterns--in the old
7627 scheme the typo "char \*" instead of "char \\*" would pass. Now
7628 it is caught.
7629 * Many .exp files: Update callers.
7630
7631 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7632 clearer and does not spuriously match multiple ('s. Likewise for
7633 ) and *.
7634
7635 * gdb.base/nodebug.exp: Test ability to call a function and pass
7636 it a string (even with no debugging info).
7637
7638 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7639 "p '\'", which is the same as "p ''" once tcl gets done with
7640 quoting, to "p '\\'", which I suspect is what is intended (one
7641 backslash gets sent to GDB).
7642
7643 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7644
7645Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7646
7647 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7648 1817) was fixed literally years ago.
7649
7650Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7651
7652 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7653 test, it causes stepping out of call_after_alloca_subr with
7654 optimizing compilers.
7655 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7656 fails.
7657
7658 * gdb.c++/templates.exp: Source templ-info.exp only if
7659 the templates executable exists.
7660
7661 * gdb.c++/misc.cc (class Contains_static_instance,
7662 class Contains_nested_static_instance),
7663 gdb.c++/classes.exp (test_static_members): Test printing of
7664 a class that contains a static instance of the class.
7665
7666Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7667
7668 * gdb.base/langs2.c (cppsub_): Don't prototype.
7669 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7670 only, I believe).
7671
7672Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7673
7674 * lib/gdb.exp (skip_chill_tests): New procedure.
7675
7676 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7677
7678Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7679
7680 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7681 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7682
7683Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7684
7685 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7686
7687 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7688 disassemble 8, not 16, instructions for part 4.
7689
7690 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7691 support the latter anymore.
7692
7693 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7694 -DNO_PROTOTYPES.
7695 * gdb.base/callfuncs.c: Control use of prototypes based on
7696 NO_PROTOTYPES, not __STDC__.
7697 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7698 t_float_values2 tests if prototypes in use.
7699
7700 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7701 t_double_values): When checking differences against DELTA, check
7702 that difference is within the range (-DELTA,DELTA), not just
7703 (-infinity,DELTA).
7704
7705Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7706
7707 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7708 'file' command firts, then 'target', then 'load', this is due to gdb
7709 target set up.
7710 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7711
7712Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7713
7714 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7715 FP load/store variants.
7716 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7717
7718Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7719
7720 * gdb.base/term.exp: Do not give a warning if not native, it is
7721 not an abnormal condition.
7722
7723Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7724
7725 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7726 t_char_array".
7727
7728Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7729
7730 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7731 are getting the version number.
7732
7733 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7734 if not native, it is not an abnormal condition.
7735
7736Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7737
7738 * lib/gdb.exp: Just use "file exists", rather than undocumented
7739 dejagnu procedure "findfile".
7740
7741Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7742
7743 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7744 (LDFLAGS): Set to -Xlinker -Ur.
7745
7746 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7747 Removed, these values are set by lib/gdb.exp.
7748
7749 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7750
7751Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7752
7753 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7754 of replicating gdb startup code.
7755
7756 * config/mt-vxworks (LDFLAGS): Set to -r.
7757 (CFLAGS_FOR_TARGET): Removed.
7758
7759 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7760 (gdb) and gdb for vxworks uses (vxgdb).
7761
7762 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7763 executable is not in the tree and host != target, use sed and
7764 program_transform_name to determine the gdb name used by the
7765 target.
7766
7767 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7768 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7769
7770Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7771
7772 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7773 floats, chars, and shorts where there are ANSI-style function
7774 definitions.
7775
7776 * gdb.base/langs.exp, gdb.base/langs*: New test.
7777 * gdb.base/Makefile.in: Build it.
7778 * TODO: Remove item about checking that C names don't get C++
7779 demangling applied; this test tests it.
7780
7781Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7782
7783 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7784 went with the const70 xfail. The xfail went away a year ago.
7785
7786 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7787
7788 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7789 for hp300.
7790
7791 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7792
7793 * gdb.base/a1-selftest.exp: Don't run on hp300.
7794
7795Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7796
7797 * Makefile.in (site.exp): Set host_alias and target_alias as well
7798 as host_triplet and target_triplet.
7799
7800Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7801
7802 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7803
7804 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7805 places as other ecoff systems).
7806
7807 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7808 ultrix.
7809
7810Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7811
7812 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7813 remove them.
7814 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7815 variable and "variable" in addition to "data variable".
7816 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7817
7818 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7819 2.
7820 * gdb.base/list1.c (long_line): Add additional statement at start
7821 of function.
7822 * gdb.base/list.exp (test_forward_search): Update line number to
7823 reflect new statement.
7824
7825Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7826
7827 * gdb.base/signals.exp: Reinitialize searched source directories
7828 after gdb_start call.
7829
7830Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7831
7832 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7833 * gdb.stabs/Makefile.in: Likewise.
7834
7835 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7836 change. Instead split the tests into smaller pieces.
7837 * gdb.disasm/hppa.s: Corresponding changes.
7838
7839Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7840
7841 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7842 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7843
7844 * gdb.base/funcargs.exp: Modify many tests so that every test
7845 either passes or fails. Make some test names unique.
7846
7847Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7848
7849 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7850 Call stty to set interrupt character.
7851
7852 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7853 for HP assembler versus GNU assembler based on actual behavior of
7854 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7855
7856 * TODO: Suggest a few more stepping tests.
7857
7858Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7859
7860 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7861 restart GDB for h8300 after a continue.
7862 (return): Add pattern to match a29k-udi behavior.
7863 * gdb.base/nodebug.exp: Remove obsolete comment.
7864 * gdb.base/regs.exp: New file, testing of register displays.
7865 * gdb.base/return.exp: Fix typo in reference to $objdir.
7866 * gdb.base/whatis.exp: Always start with a fresh GDB.
7867
7868Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7869
7870 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7871 higher, these tests generate a lot of output.
7872
7873Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7874
7875 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7876 code following the catch silently ignored some errors; without the
7877 catch they should be thrown like any other tcl error. Also, the
7878 catch used "" instead of {} which meant all the callers who wanted
7879 to include one of the characters "[]$ had to quote it an extra time.
7880 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7881 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7882 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7883 Remove extra quoting.
7884
7885Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7886
7887 * gdb.base/commands.exp: Make test names unique; every test either
7888 passes or fails. Update some comments.
7889
7890 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7891
7892Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7893
7894 The following fixes a FAIL caused by the fact that the alpha stabs
7895 configuration didn't use the ".if alpha" code in weird.def.
7896 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7897 bit pointer, so the 32 bit version works even on the alpha.
7898 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7899 Remove the stuff which allowed us to have separate versions for
7900 alpha and everything else.
7901
7902 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7903 regexp which "info func operator\[\](" is supposed to match. Fix
7904 string to send to GDB. Note that GDB still doesn't work right. Add a
7905 new test for "info func .perator\[\](" which GDB does handle correctly.
7906
7907 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7908
7909Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7910
7911 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7912 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7913 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7914 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7915 it makes the tests harder to understand and confuses test-o-matic.
7916 The preferred style is that each test provides a PASS or a FAIL,
7917 and has a unique message (e.g. "continue #54" not just "continue")
7918 which is the same for the pass and the fail.
7919 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7920 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7921 to lib/gdb.exp.
7922 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7923 prt_accept which was basically the same thing. Likewise for
7924 test_print_reject and prt_reject.
7925 * lib/gdb.exp (test_print_reject): Add some more error message
7926 patterns to match from the former printcmds.exp (prt_reject).
7927 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7928 One defect of the passcount stuff is that some of it failed to
7929 report XPASS where appropriate.
7930 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7931 stuff before and after arg in expected pattern.
7932 (test_paddr_operator_functions): Re-do test without print_addr_of;
7933 this is the only test which seems to want extra stuff there.
7934
7935Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7936
7937 * gdb.base/nodebug.exp: Update new tests to reflect improved
7938 wording of gdb output.
7939
7940 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7941 and "ptype" work on variables in files compiled without -g.
7942 Replaces commented out "maint print msymbol" tests.
7943
7944Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7945
7946 * gdb.base/setvar.c (dummy): Call malloc.
7947
7948 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7949 losing with the irix4 sed.
7950
7951 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7952 ALRM" on irix4.
7953
7954Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7955
7956 * TODO: Remove items about corefile.exp testing new exec-file and
7957 backtrace; both are now done. Add items about printing enums.
7958
7959Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7960
7961 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7962 "get signal $thissig" test fails.
7963
7964 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7965
7966Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7967
7968 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7969 compiler warning with dec alpha compiler.
7970
7971 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7972 extra \n from gdb_test call (this explains why the prompt test
7973 that I removed yesterday was there).
7974 (user_defined_command_test): Remove extra \n and prompt test.
7975
7976 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7977 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7978 doesn't exist.
7979 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7980 Also remove alpha workaround, which turns out to be because
7981 SIGABRT == SIGLOST.
7982
7983 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7984
7985 * gdb.base/help.exp: Don't test "help show".
7986
7987Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7988
7989 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7990 "set print address" is on.
7991 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7992 pass prompt to gdb_test; gdb_test already looks for the prompt.
7993
7994 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7995
7996 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7997 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7998 was to make sure that gdb can read a core file. But (a) the "read
7999 the corefile" part didn't make it to a1-selftest.exp, we just
8000 delete the corefile after creating it, and (b) we test reading
8001 corefiles in corefile.exp anyway. Also, this test left around a
8002 xgdb process on Solaris.
8003
8004 * gdb.base/corefile.exp: Also test backtrace.
8005
8006Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8007
8008 * gdb.base/commands.exp: Test a simple user defined command with
8009 arguments and if/while statements; verify the full user command is
8010 printed by "show user".
8011
8012 * gdb.base/commands.exp: Test if/while commands as part of a
8013 breakpoint command list; verify they appear in breakpoint
8014 information.
8015
8016Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8017
8018 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8019 than by dividing by zero.
8020
8021Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8022
8023 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8024 performing an inferior call with watchpoints enabled.
8025 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8026 call.
8027
8028Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8029
8030 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8031 of "file" command.
8032
8033 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8034 Add additional pattern for when "int operator int(void);" appears
8035 in a different order.
8036
8037Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8038
8039 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8040
8041 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8042 and "signal" with ".*".
8043
8044Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8045
8046 * TODO: Add note about "handle all nostop".
8047
8048 * gdb.base/{sigall.c, sigall.exp}: New test.
8049 * gdb.base/Makefile.in: Add it.
8050
8051Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8052
8053 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8054 when invoking GDB, suppresses any windowing interface.
8055
8056Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8057
8058 * config/sim-gdb: New file, simulator testing support.
8059
8060Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8061
8062 * gdb.base/interrupt.exp: Test calling func1 twice.
8063
8064Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8065
8066 * gdb.base/list.exp (test_forward_search): Set timeout higher
8067 when we'll be getting lots of output from gdb.
8068
8069 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8070 "init_malloc" to after the expect statement. Run it if that
8071 regexp is taken, but also for two others which happen if source
8072 cannot be found.
8073
8074Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8075
8076 * gdb.base/printcmds.exp: New test, for printing register before
8077 program is running.
8078
8079Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8080
8081 * gdb.base/list.exp: Correct some alternate expect patterns
8082 to reflect changes in list1.c.
8083
8084Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8085
8086 * TODO: Add item regarding large frames.
8087
8088 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8089
8090 * TODO: Remove item about enabling return.exp; it
8091 is enabled. Suggest a few more "return" tests.
8092
8093Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8094
8095 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8096 anonymous unions.
8097
8098Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8099
8100 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8101 and pr-5646.o, so "make" is the same as "make all", not "make
8102 pr-4975.o".
8103
8104Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8105
8106 * gdb.base/list.exp: Adjust expectations to reflect changes in
8107 list1.c.
8108 (test_forward_search): New test proc.
8109 * gdb.base/list1.c (long_line): New function, has long source line.
8110
8111Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8112
8113 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8114 additional line of code that was added.
8115
8116Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8117
8118 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8119 tests so as not to overflow expect's input buffers.
8120 * gdb.disasm/hppa.exp: Corresponding changes.
8121
8122Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8123
8124 Beginnings of template debugging tests.
8125 * gdb.c++/templ-info.cc: New file to test for template
8126 debugging capability of the compiler.
8127 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8128 templ-info.cc.
8129 * gdb.c++/templates.cc: Add explicit template instantiations
8130 to enable compiling with -fno-implicit-templates. Add destructor
8131 and 'value' method to T5 class for template tests.
8132 * gdb.c++/templates.exp: Add testcases for printing of template
8133 types, setting breakpoints on template methods and calling a
beb998c6 8134 template method.
c906108c
SS
8135
8136Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8137
8138 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8139 branch target since some assemblers (gas-2.5) may emit a
8140 relocation for the branch instead of resolving it in the
8141 assembler.
8142
8143Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8144
8145 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8146 through signal handler.
8147
8148Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8149
8150 * configure.in (*-*-netware): Use config/mt-netware.
8151
8152 * config/mt-netware: New file.
8153 * config/mt-i386-netware: Removed, separate configs for different
8154 netware architectures are no longer needed now that we have
8155 --with-headers.
8156
8157Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8158
8159 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8160 by the recent changes to use ANSI C arithmetic conversions.
8161
8162Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8163
8164 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8165 bug involving using inferior_pid to figure out whether to select a
8166 frame.
8167
8168Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8169
8170 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8171 match the current disassembler output.
8172
8173Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8174
8175 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8176 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8177 types, expect "int" as type of integer values (for now).
8178
8179Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8180
8181 * gdb.base/commands.exp: New tests for if/while commands.
8182
8183Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8184
8185 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8186 by .*, since hex values have different syntax in Chill mode.
8187
8188Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8189
8190 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8191 linefeed from expect pattern for repeated types with indices > 9.
8192
8193Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8194
8195 First part of Fortran test suite.
8196 * gdb.fortran: New directory.
8197 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8198
8199Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8200
8201 * gdb.base/default.exp: Update expect pattern for load command
8202 without arguments.
8203
8204Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8205
8206 * configure.in: Change i386 to i[345]86.
8207 * gdb.base/configure.in: Likewise.
8208 * gdb.c++/configure.in: Likewise.
8209 * gdb.chill/configure.in: Likewise.
8210
8211Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8212
8213 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8214 patterns, since that is not a valid context for comments.
8215
8216Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8217
8218 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8219 repeated types and repeated types with indices > 9.
8220
8221Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8222
8223 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8224 2417; old bug has been fixed.
8225
8226Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8227
8228 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8229 send the newline ourselves instead of assuming gdb_test will do
8230 so when passed an empty input string.
8231
8232 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8233 stabs testcode.
8234
8235Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8236
8237 * lib/gdb.exp (gdb_test): Don't send anything if the first
8238 argument is an empty string. This makes cases where we want to
8239 match output that is already in expect's buffers (for example,
8240 matching a breakpoint after gdb_run_cmd has been called) work
8241 reliably.
8242
8243Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8244
8245 * config/netware.exp: New file.
8246
8247Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8248
8249 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8250 the -B and -L prefixes so we can find the debugging stub.
8251
8252 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8253 there and we are using the gcc from the tree.
8254
8255 * gdb.base/types.c: Removed.
8256
8257 * gdb.base/configure.in: Look for makefile fragments in ../config.
8258 Recognize i386-*-netware.
8259 * gdb.c++/configure.in: Likewise.
8260
8261Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8262
8263 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8264 the correct TCL syntax.
8265
8266Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8267
8268 * gdb.base/opaque.exp: use runto instead of messing around with
8269 breakpoints. Simplify by using gdb_test.
8270
8271 * gdb.base/bitfields.exp: restart between tests on netware targets
8272 because breakpoints aren't relocated after target death. Run
8273 processes to completion.
8274
8275 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8276
8277Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8278
8279 * Makefile.in: Remove extra tabs that confuse some versions
8280 of "make". Use the newly built gdb to test with by default,
8281 rather than the first one in the tester's search path.
8282
8283Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8284
8285 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8286
8287 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8288 condition help.
8289
8290Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8291
8292 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8293
8294 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8295 running.
8296 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8297 * gdb.base/funcargs.exp: Likewise.
8298
8299 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8300 * gdb.base/funcargs.exp: Likewise.
8301
8302 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8303 message is "".
8304
8305Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8306
8307 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8308 return,signals,twice}.exp: Handle non-existant binaries
8309 consistantly.
8310
8311 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8312 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8313 might testing a cross development system.
8314
8315Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8316
8317 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8318 runtest script is relative to ${srcdir}, not ${rootdir}.
8319
8320Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8321
8322 * gdb.base/signals.exp: Allow for optionality of breakpoint
8323 address.
8324
8325Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8326
8327 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8328
8329Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8330
8331 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8332 for size_t definition.
8333 * gdb.c++/templates.cc: Likewise
8334
8335 * config/mt-i386-netware: New file.
8336
8337 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8338 defined.
8339
8340 * gdb.base/Makefile.in: Added support for systems that name core
8341 files by appending "core" to the program name.
8342 * gdb.base/a1-selftest.exp: Likewise.
8343
8344Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8345
8346 * gdb.base/return.exp: Add comment and message for `return double'
8347 test failure on Sparc Solaris.
8348
8349Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8350
8351 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8352
8353Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8354
8355 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8356 from optimizing them away.
8357 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8358 patterns to include default constructors and assignment operators,
8359 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8360 character in the output of the virtual base pointer.
8361
8362Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8363
8364 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8365 expression match in print_addr_of to avoid unintented matches.
8366 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8367 versions up to 2.5.8.
8368
8369Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8370
8371 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8372 included file to run under newer versions of expect.
8373 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8374 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8375 Remove xfail for the virtual table of BDDHookV.
8376
8377Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8378
8379 * lib/gdb.exp (string_to_regexp): Set a default result.
8380 (default_gdb_start): Fix misleading message.
8381
8382Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8383
8384 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8385 Remove all CC, etc definitions.
8386 * config/mt-hpux: New file.
8387 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8388 (CFLAGS, LDFLAGS): Define.
8389 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8390
8391 * Makefile.in (site.exp): Don't insert host_os, etc.
8392 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8393 (distclean): Check existence of subdir.
8394 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8395 * gdb.base/Makefile.in: General cleanup and simplification.
8396 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8397 to build executables. Use default rule to build .o files.
8398 (EXPECT, RUNTEST, CC): Fix relative pathname.
8399 (site.exp): Don't insert host_os, etc.
8400 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8401 and/or SIGUSR1 defined.
8402 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8403 * gdb.c++/Makefile.in: General cleanup and simplification.
8404 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8405 (CFLAGS): Remove.
8406 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8407
8408Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8409
8410 * gdb.base/recurse.exp: Misc changes to get tests running again
8411 after Kung's changes to the watchpoint code.
8412 * gdb.base/watchpoint.exp: Likewise.
8413
8414Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8415
8416 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8417
8418Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8419
8420 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8421 * lib/gdb.exp (default_gdb_start): Define.
8422 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8423 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8424 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8425 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8426 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8427 Don't call gdb_target_udi in between tests.
8428
8429Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8430
8431 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8432 (which was basically just a local version of the same thing). In
8433 addition to avoiding duplication, gdb_test_exact is faster.
8434 * lib/gdb.exp (gdb_test_exact): Fix typo.
8435
8436 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8437 don't give an error.
8438
8439 * gdb.base/term.exp: Call delete_breakpoints before starting.
8440
8441 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8442 (t10): Add comment.
8443
8444Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8445
8446 Reorganization of the GDB Test Suite.
8447
8448 * gdb.base: New directory, contains all the basic tests.
8449 * gdb.c++: New directory, tests specific to C++.
8450 * gdb.chill: New directory, tests specific to Chill.
8451 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8452 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8453 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8454 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8455 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8456 t30-31 to chill).
8457 * */gdbme.*: Rename to match appropriate expect scripts.
8458 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8459 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8460 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8461 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8462 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8463 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8464 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8465 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8466 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8467 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8468 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8469 gdb.c++/virtfunc.cc: New names of C++ files.
8470 * gdb.chill/chillvars.ch: New name of Chill file.
8471 * gdb.base/configure.in, gdb.c++/configure.in,
8472 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8473 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8474 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8475 * configure.in (configdirs): Update to reflect directory changes.
8476 (target_abbrev): No longer define for any configuration.
8477 * Makefile.in: Cosmetic improvements to header comments.
8478
8479Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8480
8481 Various changes to gdb.t31:
8482
8483 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8484 * gdbme.ch: Make all key-words and predefineds be upper-case.
8485 * chillvars.exp: Expect key-words and predefinds in upper-case.
8486
8487 * chillvars.exp: Use gdb_test_exact many places.
8488 Change expected output for arrays (which now includes index labels).
8489
8490 * pr-5020.exp, gdme.ch (module PR_5020):
8491 New test, for PR-5020.
8492
8493Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8494
8495 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8496 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8497
8498Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8499
8500 * Makefile.in: Fix bit-rot in definitions of CHILL,
8501 CHILL_FOR_TARGET and Chill_LIB.
8502 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8503 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8504 CHILL, and CHILL_LIB.
8505
8506Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8507
8508 * Revert the previous changes. Please see Rob's directory
8509 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8510
8511Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8512
8513 * Makefile.in, configure.in, config/mips-gdb.exp,
8514 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8515 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8516 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8517 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8518 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8519 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8520 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8521 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8522 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8523 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8524 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8525 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8526 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8527 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8528 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8529 changes from 94Q1.
8530
8531Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8532
8533 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8534 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8535 Rob's new testing fragments.
8536
8537Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8538
8539 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8540 lib/gdb.exp: Replace error proc calls with perror.
8541
8542Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8543
8544 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8545 version also, match on casted version strings, and match on
8546 gdb startup case where the line numbers might be messed up.
8547
8548Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8549
8550 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8551 (CFLAGS): Delete it from here.
8552
8553Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8554
8555 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8556
8557Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8558
8559 * Makefile.in (RUNTEST): Default to just "runtest".
8560
8561Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8562
8563 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8564 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8565 the code has been restructured.
8566
8567Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8568
8569 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8570 \n, not just one of each.
8571
8572 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8573 /bin/cc gives a warning if you do.
8574
8575Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8576
beb998c6 8577 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8578 __t10ListS_link1ZUiRCUiPT0
8579
8580Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8581
8582 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8583 on local variables in recursive functions.
8584
8585 * gdb.t07/Makefile.in: Build the new test.
8586
8587Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8588
8589 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8590 directly. Instead compare the return values from actual calls.
8591
8592Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8593
8594 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8595
8596Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8597
8598 * From Peter Schauer with minor modifications.
8599 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8600 stops in mid-line in the caller. Add xfail for returning a float
8601 value on X86 targets.
8602
8603Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8604
8605 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8606 to avoid expect lossage.
8607 (fmem_LRbug_tests): Likewise.
8608 * gdb.disasm/hppa.s: Corresponding changes.
8609
8610 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8611 conditions to work with latest dejagnu/expect.
8612
8613 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8614 expected to fail on the PA.
8615 (backtrace in call with trampolines): Explicitly require main
8616 to be frame #1 (no trampolines should show up in backtrace).
8617
8618 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8619 "continue -expect".
8620 * gdb.t06/break.exp: Likewise.
8621 * gdb.t07/watchpoint.exp: Likewise.
8622 * gdb.t13/bitfields.exp: Likewise.
8623 * gdb.t15/{funcargs,return}.exp: Likewise.
8624 * gdb.stabs/weird.exp: Likewise.
8625 * config/{mips,udi}-gdb.exp: Likewise.
8626
8627 * hppa.sed: Enclose comments within a sed command to avoid
8628 losing with the old OSF1 sed.
8629
8630Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8631
8632 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8633 sequent dynix.
8634 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8635 * gdb.t15/funcargs.exp: Conditionally step again to really
8636 finish from marker_call_with_trampolines. Handle the case where
8637 the first step from within call_with_trampolines already steps
8638 us back to main.
8639 * gdb.t15/gdbme.c: Add comment to closing brace of
8640 call_with_trampolines for funcargs.exp.
8641
8642Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8643
beb998c6 8644 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8645 Fix typo(s).
8646
8647Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8648
8649 * gdb.t07/gdbme.c: More code for watchpoint testing.
8650
8651 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8652 "Hardware watchpoint" throughout file.
8653 (test_watchpoint_triggered_in_syscall): New test.
8654 (test_complex_watchpoint): New test.
8655
8656Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8657
8658 * gdbme.c (call_with_trampolines): New function to try and step
8659 into. Tests trampoline problems on the PA.
8660
8661 * funcargs.exp (localvars_in_indirect_call): No longer expect
8662 stepping into indirect call to fail on PAs.
8663 (test_stepping_over_trampolines): New test.
8664
8665Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8666
8667 * TODO: Add suggestions for static member function tests, and
8668 completion tests.
8669
8670Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8671
8672 * TODO: Add suggestions for "p/a" tests.
8673
8674 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8675 (default_gdb_exit): Replace all the hair with sending "quit" to
8676 the process with a simple close.
8677
8678Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8679
8680 * TODO: Add suggestions for shared library tests.
8681
8682Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8683
8684 * TODO: Add suggestions for x/s tests.
8685
8686Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8687
8688 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8689 "enable once", and "enable breakpoints once" with ".*".
8690
8691Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8692
8693 * TODO: Add suggestions about structure passing tests.
8694
8695Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8696
8697 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8698 the primary1 test, use work around if __GNUC__ < 2.
8699 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8700 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8701 Test for bad output rather than waiting for timeout. Issue
8702 second continue only if first continue failed.
8703
8704Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8705
8706 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8707 operator[] test with gdb_test because the old code didn't seem to
8708 be getting the quoting right with the new dejagnu.
8709
8710Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8711
8712 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8713 one from the path.
8714 * Makefile.in: Use a fresh expect if there is one, use runtest
8715 from the src tree if there is one.
beb998c6 8716
c906108c
SS
8717Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8718
8719 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8720 next over recursive call. Revise the tests from that point on
8721 (which had been skipped) to match GDB's actual (correct) output.
8722
8723 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8724 with next over a breakpoint whose condition is false.
8725
8726 * gdb.t00/help.exp: Comment out "help set print" tests just like
8727 (and for same reason as) "help set" test.
8728
8729Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8730
8731 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8732 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8733
8734Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8735
8736 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8737 necessary gdb_target_udi.
8738
8739 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8740
8741 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8742 1838 and 2417; they are fixed.
8743
8744 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8745 gdb.t03/ptype.exp (ptype structure, ptype union):
8746 Remove xfails; the test is looser than when the xfails were added.
8747
8748 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8749 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8750
8751 * gdb.t01/run.exp: Only run shell test if isnative.
8752
8753 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8754 since "run" automatically loads if necessary. Call gdb_target_udi
8755 after the "file" since "file" kills any execution target.
8756
8757 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8758 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8759 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8760 argument for UDI.
8761
8762Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8763
8764 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8765
8766 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8767
8768Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8769
8770 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8771 properly quoting regexps. This makes the second argument to
8772 demangle a fixed string, which matches the callers, instead of a
8773 shell-style pattern which is what the previous implementation
8774 used. Update some of the callers.
8775
8776Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8777
8778 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8779 (comib_nullified_tests): Fix typo.
8780 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8781 strings. No longer expected to fail.
8782
8783 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8784 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8785 strings. No longer expected to fail.
8786
8787 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8788 string. No longer expected to fail.
8789
8790Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8791
8792 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8793 No longer expected to fail.
8794
8795 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8796 string. No longer expected to fail.
8797
8798Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8799
8800 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8801 only in the names (I probably got most of them). I was even
8802 generous with some which differed in underscores in names, and
8803 probably missed a few, and I *still* was able to remove almost a
8804 third of the file with almost no impact on testsuite coverage.
8805
8806Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8807
8808 * gdb.t00/default.exp: Match udi_attach error message as well as
8809 the one from child_attach.
8810
8811 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8812
8813 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8814
8815 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8816 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8817
8818 * Move test with enums and partial symbols back to
8819 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8820 Reverts the change of 26 May 93. Per today's change to
8821 stabs.texinfo, the behavior that weird.exp was expecting was
8822 unreasonable; what is important is that the compiler+gdb get
8823 things right, which happens with a recent gcc. Also fix the test
8824 to deal with native compilers which put out the stab gdb can't
8825 deal with.
8826
8827Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8828
8829 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8830 in the names. The main thing these accomplish is to slow things down.
8831 Many more such duplicates surely remain.
8832
8833 * gdb.t00/help.exp: Comment out "help support" test just like
8834 (and for same reason as) "help set" test.
8835
8836Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8837
8838 * gdb.t06/break.exp: Remove setup_xfails for
8839 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8840 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8841 about known bug in gcc to include up through 2.5.8.
8842 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8843 well as "_vb$".
8844 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8845 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8846 with latest gcc and gdb.
8847 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8848 well as "_vb$".
8849
8850Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8851
8852 * configure.in (hppa*-*-*): Also configure and build stabs-only
8853 tests.
8854
8855Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8856
8857 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8858 * gdb.t10/configure.in (hppa*-*-*): Use it.
8859
8860Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8861
8862 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8863
8864Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8865
8866 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8867 versions prior to 1.13.5.
8868
8869Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8870
8871 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8872 the prompt is at the start of a line.
8873
8874Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8875
8876 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8877 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8878 in the copr tests now.
8879 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8880 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8881 expected to fail.
8882
8883Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8884
8885 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8886 gdb.t31/chillvars.exp, lib/gdb.exp:
8887 Tweak to run under either version of expect.
8888 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8889 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8890 * gdb.t11/list.exp: Remove extraneous whitespace.
8891
8892Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8893
8894 * gdb.t16/printcmds.exp (test_print_strings): Accept
8895 "(unsigned char *) " before the string.
8896
8897 * TODO: Add notes about printing of fancy types and GDB expressions.
8898
8899Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8900
8901 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8902 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8903 if doing mips-idt-ecoff.
c906108c
SS
8904
8905Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8906
8907 * Most .exp files: Tweak to run under either version of expect.
8908
8909Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8910
8911 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8912 xfails; I'm not sure why they are failing, but not because of PR 1806.
8913
8914Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8915
8916 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8917 defined in lib/gdb.exp.
8918
8919Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8920
8921 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8922 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8923 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8924 have to be typeless.
8925
8926Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8927
8928 * TODO: Add suggestion for copyright year test.
8929
8930Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8931
8932 * configure.in (*-*-lynxos*): Add stabs tests.
8933
8934Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8935
8936 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8937 so insert a tab before any assembler directive in column zero.
8938
8939 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8940 stores.
8941 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8942 stores.
8943 (fpu_short_memory_tests): Likewise.
8944
8945Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8946
8947 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8948 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8949 .stabs directives in comments.
8950
8951Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8952
8953 * TODO: New file, describing tests we could write.
8954 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8955
8956Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8957
8958 * gdb.t06/signals.exp: Add kludge to force re-sync.
8959
8960 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8961 to xgdb instead of gdb, get out of gdb.
8962
8963Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8964
8965 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8966 for info.
8967
8968Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8969
8970 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8971 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8972 * gdb.stabs/hppa.sed: New sed script for the PA.
8973
8974Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8975
8976 * gdb.stabs: Re-write weird.def and configuration to use sed
8977 instead of cpp. sed is portable and POSIX; cpp is neither.
8978
8979Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8980
8981 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8982
8983Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8984
8985 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8986
8987Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8988
8989 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8990 "_vb$".
8991 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8992 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8993
8994Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8995
8996 * lib/gdb.exp: Comment out code which depends on non-existent
8997 `transform' procedure.
8998
8999Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9000
9001 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9002 * lib/gdb.exp: Transform tool name.
9003 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9004 1.1's new error handling system.
9005
9006Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9007
9008 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9009
9010Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9011
9012 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9013 They made pattern matching so slow that timeouts happened on
9014 heavily loaded systems. Now any output from "show print" which
9015 gets us back to the GDB prompt is a PASS.
9016
9017Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9018
9019 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9020
9021Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9022
9023 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9024
9025 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9026 It is not from PR 3220.
9027
9028Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9029
9030 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9031 just started failing because they depended on the order the
9032 subcommands are presented, or exact docstring text. This kind of
9033 test is a pain and has minimal benefit.
9034
9035Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9036
9037 * gdb.t09/corefile.exp: At end of test, use "core" command with
9038 no arguments.
9039
9040Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9041
9042 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9043 17}/Makefile.in: Make it possible to run the testsuite with Sun
9044 make and CC = cross gcc by adding explicit build rules for .o
9045 files.
9046
9047Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9048
9049 * gdb.t15/funcargs.exp: Don't put comments on same line as
9050 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9051
c906108c
SS
9052Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9053
9054 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9055
9056Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9057
9058 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9059 * gdb.t20/inherit.exp: remove three dumplicate entries.
9060
9061Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9062
9063 * gdb.t06/break.exp: For "next over recursive call", fail on any
9064 incorrect output, not just on "factorial (value=2)".
9065
9066Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9067
9068 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9069 working now. Add an xfail if accesing a bss variable causes
9070 a memory error if the target is not yet run.
9071
9072Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9073
9074 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9075 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9076 name of __st* demangling (2 strings). Did Kung really get the
9077 more than 95 others right without testing them?
9078
9079Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9080
9081 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9082
9083Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9084
9085 * configure.in (configdirs): Add gdb.disasm
9086 * gdb.disasm: New directory for GDB disassembler tests.
9087 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9088
9089Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9090
9091 * gdb.t00/help.exp: Don't test "help set".
9092
9093 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9094 from within expect statements. None of these happen anymore and
9095 they cause regressions to be silently unnoticed.
9096
9097 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9098 messages) about known failures with gcc cygnus-2.4.5-930417.
9099
9100 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9101 comp-info.exp so it gets built if it doesn't exist.
9102
9103 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9104 it is no longer used.
9105 * gdb.t13/comp-info.c: Removed.
9106
9107Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9108
9109 * gdb.t06/signals.exp: Add xfail for sun3.
9110
9111Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9112
9113 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9114 relevant because ^C doesn't get sent but failure can be reproduced
9115 interactively).
9116
9117Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9118
9119 * gdb.stabs/alpha.mt: New configuration file for alpha.
9120 * gdb.stabs/configure.in: Use it.
9121 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9122 sharing with alpha.mt, redefine long to word via preprocessor.
9123 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9124 for alpha.
9125 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9126 native cc.
9127 * gdb.t00/teststrategy.exp: Change expect string so that we
9128 consume the `(xgdb)' from the command echo and from the gdb prompt.
9129 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9130 gdb currently compares all values as long, so this failure probably
9131 applies to any configuration where LONGEST is bigger than a target int.
9132 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9133 with gcc.
9134 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9135 to handle opaque pointers, gcc is.
9136 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9137 as first argument. Include <sys/types.h> and change all operator
9138 new definitions to use size_t.
9139 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9140 now that we use size_t.
9141
9142Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9143
9144 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9145 a long or float array cast all array members to the same type.
9146 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9147 with 64 bit longs.
9148 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9149 on alpha.
9150 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9151
9152Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9153
9154 * gdb.t24 (demangle.exp): Constructors of templates have names like
9155 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9156 section 14.6 of the ARM.
9157
9158 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9159 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9160 accomplish little and slow down the testsuite.
9161
9162 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9163 Accept spaces various places.
9164
9165Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9166
9167 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9168 with watchpoint enabled.
9169
9170 * Makefile.in: Remove definition of CC and remove the second
9171 definition of CXX (the "CXX = gcc" one remains). These definitions
9172 were causing backquotes to be expanded within backquotes, which
9173 doesn't work.
9174
9175Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9176
9177 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9178
9179Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9180
9181 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9182 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9183 by mips cc and contains no stabs entries.
9184
9185Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9186
9187 * config/vx-gdb.exp: Use fake device to load files rather than
9188 NFS.
9189 * lib/gdb.exp: New proc to do "file" command.
9190 * config/unix-gdb.exp: Use new "file" proc.
9191
9192Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9193
9194 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9195 Rework board rebooting slightly.
9196 (gdb_exit): Don't exit from the remote shell; there isn't one.
9197 * gdb.stabs/weird.exp: If a program is being debugged already,
9198 kill it.
9199 * gdb.t04/setvar.exp: Stop and restart gdb.
9200 * gdb.t05/expr.exp: Likewise.
9201 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9202 restart gdb and reload the program.
9203 * gdb.t08/opaque.exp: Likewise.
9204 * gdb.t12/scope.exp: Likewise.
9205 * gdb.t13/bitfields.exp: Likewise.
9206 * gdb.t15/funcargs.exp: Likewise.
9207 * gdb.t20/classes.exp: Likewise.
9208 * gdb.t03/ptype.exp: Increase timeout.
9209 * gdb.t16/printcmds.exp (test_print_string_constants,
9210 test_print_array_constants): Likewise.
9211 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9212 * gdb.t20/classes.exp (do_tests): Likewise.
9213 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9214
9215Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9216
9217 * gdb.stabs: Renamed *wierd* to *weird*.
9218
9219Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9220
9221 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9222 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9223
9224Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9225
9226 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9227 (do_tests): Remove xfail for whatis on one_var and two_var.
9228
9229Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9230
9231 * Makefile.in: Made cross building work better by adding
9232 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9233
9234Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9235
9236 * gdb.t15/{return.c,return.exp,Makefile.in}:
9237 New test, currently commented out.
9238
9239Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9240
9241 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9242 still running and removes the leftover named socket so GDb can do
9243 clean restarts.
9244
9245Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9246
9247 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9248 console, not GDB.
9249 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9250 cross testing works better with "make check"
9251 * config/unix-gdb: Use default procedures for exit and version.
9252 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9253 with the newest VxWorks.
9254
9255Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9256
9257 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9258 old form.
9259
9260 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9261 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9262
9263 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9264
9265 * config/unix-gdb.exp: Remove this version of gdb_exit
9266 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9267 Rob says he'll look at it when he gets back to testing boards.
9268
9269Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9270
9271 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9272 an expected fail for certain ptype commands.
9273
9274 * gdb.t20/classes.exp: Update expected results of "ptype class
9275 Base1" to account for the constructor that now appears in the type.
9276
9277Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9278
9279 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9280 disappeared from list.
9281 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9282 "alldone" proc with call to cleanup and exit.
9283 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9284 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9285 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9286 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9287 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9288 "alldone" proc with simple returns that suppress remaining
9289 tests. The alldone proc went away many months ago.
9290
9291Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9292
9293 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9294
9295 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9296
9297Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9298
9299 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9300 as vax gdb will display them.
9301
9302Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9303
9304 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9305 optimizers.
9306
9307 * scope.exp: Change "bad value for localval" messages so each one
9308 is unique.
9309
9310 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9311 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9312
9313 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9314
9315Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9316
9317 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9318 doesn't exist (due to optimization).
9319
9320Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9321
9322 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9323 contains \r because the filename is long.
9324
9325 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9326 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9327
9328Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9329
9330 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9331 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9332 Ultrix.
9333 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9334 int tests.
9335 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9336
9337Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9338
9339 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9340
9341 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9342 to match does not match the passing case but still matches the
c906108c
SS
9343 failing case.
9344
9345Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9346
9347 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9348
9349Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9350
9351 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9352 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9353 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9354 Remove various versions of gdb_exit.
9355 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9356 gdb_exit.
9357 * config/unix-gdb.exp: gdb_exit remains here, and should override
9358 the generic version, since it's doing a lot of wierd stuff that
9359 the other versions aren't. FIXME, fold it in, or abandon this
9360 version.
9361
9362Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9363
9364 * gdb.t24/demangle.exp: Add tests for PR 3220.
9365
9366Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9367
9368 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9369
9370Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9371
9372 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9373 "i386-*-*". Works for i486 as well.
9374
9375 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9376 bug, and expand domain of xfail to all SVR4 systems, since the
9377 actual problem is likely to be in generic SVR4 /proc support.
9378
9379Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9380
9381 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9382
9383Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9384
9385 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9386 xfails for other systems. Match a missing 'Continuing.' as an
9387 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9388
9389 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9390 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9391 Only issue warning for missing executables if -all option is used.
9392
9393 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9394 file if -all option is used. It's like an unpredictable XFAIL.
9395
9396Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9397
9398 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9399 for dynamically linked binaries.
9400
9401 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9402
9403Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9404
9405 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9406 to state that this is a known bug in old versions of g++.
9407
9408Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9409
9410 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9411 while waiting for `Continuing'.
9412
9413Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9414
9415 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9416 in text, data, and bss.
9417 * gdb.t10/nodebug.c: Add local and global test variables for
9418 initialized and uninitialized data.
9419
9420Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9421
9422 * config/unix-gdb.exp (gdb_exit): Add "wait".
9423
9424Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9425
9426 * gdb.t06/signals.exp: xfail the continue from the handler for all
9427 targets.
9428
9429 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9430 function with watchpoints enabled, the i386 call dummy starts with
9431 a call.
9432
9433 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9434 386 bsd names its corefiles.
9435
9436Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9437
9438 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9439 compilers don't grok it.
9440 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9441 with small octal ints rather than character constants, which
9442 are signed and might not fit if first promoted to int.
9443
9444Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9445
9446 * gdb.t09/Makefile.in (clean): Remove corefile.
9447
9448Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9449
9450 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9451
9452Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9453 and Jim Kingdon (kingdon@cygnus.com)
9454
9455 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9456 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9457 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9458
9459Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9460
9461 * gdb.t17/interrupt.exp: Add xfail for hppa.
9462
9463Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9464
9465 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9466 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9467 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9468 to determine signed-ness of bitfields and use the result to setup
9469 the xfail.
9470 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9471 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9472 call line is reached if necessary.
9473
9474Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9475
9476 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9477
9478Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9479
9480 * gdb.t06/break.exp: Also test `clear' command.
9481
9482Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9483
9484 * gdb.t00/teststrategy.exp: Remove extra quote.
9485
9486 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9487 watchpoint enabled to be for all non-68k machines.
9488
9489 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9490
9491Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9492
9493 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9494 targets use aout.mt instead of ecoff.mt as gas understands
9495 standard aout format.
9496
9497Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9498
9499 * lib/gdb.exp (runto): Don't insist that function we are running to
9500 was compiled with -g.
9501
9502 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9503
9504 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9505 to get back into the read system call.
9506 Accept leading newline in case where we woke it up.
9507
9508Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9509
9510 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9511 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9512 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9513 enable ecoff configuration.
9514
9515Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9516
9517 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9518
9519Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9520
9521 * gdb.t16/printcmds.exp: Add another printf test.
9522
9523Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9524
9525 * configure.in: If configured -with-stabs on any target, add
9526 stabsdirs to configdirs.
9527
9528Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9529
9530 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9531 fun" so pattern does not match the command itself.
9532
9533Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9534
9535 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9536
9537Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9538
9539 * gdb.t17/interrupt.exp: Test for more things.
9540
9541Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9542
9543 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9544 compiler arranges the code and line numbers.
9545
9546 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9547
9548Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9549
9550 * gdb.t00/help.exp: Increase expect input buffer size.
9551
9552Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9553
9554 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9555
9556 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9557
9558 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9559
9560 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9561 [0-9]*, not just [0-9].
9562
9563Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9564
9565 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9566
9567 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9568
9569Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9570
9571 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9572
9573Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9574
9575 * gdb.t06/signals.c: Add xfails for sun3.
9576
9577 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9578
9579 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9580 test_stepping tests.
9581
9582Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9583
9584 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9585
9586 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9587
9588 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9589 rather than actually putting it through cpp twice.
9590
9591 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9592
9593Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9594
9595 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9596 no longer needed.
9597
9598Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9599
9600 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9601
9602 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9603 C++ features prints as "struct", make it a pass, not an xfail.
9604
9605Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9606
9607 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9608 Don't require VA to print as "class" rather than "struct".
9609
9610Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9611
9612 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9613
9614Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9615
9616 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9617
9618Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9619
9620 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9621 order.
9622
9623Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9624
9625 * gdb.t16/printcmds.exp: Add printf tests.
9626
9627 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9628
9629 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9630
9631Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9632
9633 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9634 pass counts, to counteract any existing or future setup_xfails.
9635
9636Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9637
9638 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9639 {BEGIN,END}_COMMON for common block instead of STAB.
9640 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9641
9642 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9643 intp_var should be N_GSYM not N_LSYM.
9644 wierd-aout.S: Use a label for the value of the N_SO.
9645 wierd.def: Remove all backslashes.
9646 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9647
9648Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9649
9650 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9651 get the expected next to inheritance3.
9652
9653Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9654
9655 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9656 now that gcc-2.4 gets it right.
9657
9658Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9659
9660 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9661
9662 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9663 generating comp-info.exp which works for cross-compilation.
9664
9665Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9666
9667 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9668 "*-*-sysv4.*".
9669
9670Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9671
9672 * gdb.t01/run.exp: Start with a fresh gdb.
9673 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9674 SVR4.x.
9675
9676Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9677
9678 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9679 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9680 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9681 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9682 things to remove.
9683
9684Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9685
9686 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9687 test cases from bug reports.
9688
9689Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9690
9691 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9692 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9693 avoid spurious xfails.
9694 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9695 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9696 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9697
9698Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9699
9700 * gdb.t00/teststrategy.exp: Rework to provide more useful
9701 description of each test, fix problem with systems that define
9702 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9703 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9704 results for "next over recursive call" so timeouts aren't taken
9705 by error.
9706
9707Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9708
9709 * gdb.t12/scope.exp: Test printing of variables before run.
9710
9711 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9712 printed in wrong order due to sorting.
9713
9714Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9715
9716 * gdb.t00/teststrategy.exp: Fix expected results for printing
9717 user entered string constant. Is array of char, prints with no
9718 address.
9719
9720 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9721 commands.
9722 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9723 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9724 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9725 of struct of char arrays.
9726 * gdb.t00/radix.exp: New tests for radix commands.
9727
9728Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9729
9730 * gdb.t16/printcmd.exp: Print a variable before running program
9731 (with xfail for AIX).
9732
9733Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9734
9735 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9736
9737 * gdb.t16/printcmd.exp: Don't print variables before running program.
9738
9739 * gdb.t06/break.exp: Don't require envp argument to main.
9740
9741 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9742
9743 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9744 Add xfails for rs6000.
9745
9746 * gdb.t02/whatis.exp: Change other tests not to re-test something
9747 we already tested.
9748
9749 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9750 each type used has a variable of that type.
9751
9752Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9753
9754 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9755
9756Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9757
9758 * configure.in: change srctrigger to be a file, not a directory
9759
9760Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9761
9762 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9763
9764 * gdb.t11/list.exp: Fixed a couple of typos.
9765
9766Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9767
9768 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9769 is fixed and PR is closed.
9770 * gdb.t16 (gdbme.c): Add simple test string variable.
9771 * gdb.t16 (printcmds.exp): Add tests with simple test string
9772 variable, primarily for boundaries on "set print elements".
9773
9774Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9775
9776 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9777 Make leading 0's optional and don't expect a tab in the middle
9778 of the number.
9779
9780 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9781
9782 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9783 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9784 don't end command passed to gdb_test with newline.
9785
9786 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9787 signed keyword away, don't expect signed bitfields to be signed.
9788
9789 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9790 printing with only as many 1's as are in the field as well as printing
9791 with 32 1's (see comment).
9792
9793Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9794
9795 * gdb.t00/default.exp: Start with a fresh gdb.
9796 * configure.in (configdirs): Remove gdb.t31 until the chill
9797 compiler works again. It no longer is able to find chillrt0
9798 since it isn't in libchill.a anymore.
9799 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9800 wierd.o, make more modular.
9801 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9802 spurious newlines that caused problems.
9803
9804Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9805
9806 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9807 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9808 gdb.stabs/wierd.{exp,def}: Many new tests.
9809
9810 * gdb.t00/default.exp: update info line for new message.
9811
9812 * gdb.t02/{whatis.exp,gdbme.c}:
9813 Test that "char *" doesn't print as "caddr_t".
9814
9815Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9816
9817 * gdb.t00/help.exp: Use .* in place of some help messages which
9818 just changed.
9819 gdb.t00/default.exp: Update "info frame" test for new message.
9820 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9821 Remove some xfails
9822
9823Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9824
9825 * gdb.t03/{gdbme.c,ptype.exp}:
9826 Add tests for typedef'd struct and union without tags.
9827 Also check "whatis" on a variable of a typedef'd enum without a tag.
9828
9829 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9830 PRMS 1823; the bug still exists but isn't reproduced by this test
9831 anymore), and remove rs6000 XFAIL (the bug is fixed).
9832
9833 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9834 duplicated from whatis.exp. For those that are left, accept
9835 "long", "long int", or "int" for long variables (whatis.exp already
9836 has an XFAIL for "int", so no need to fail it here).
9837
9838 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9839 Deal with GCC's names for types now that GDB uses the compiler's names.
9840
9841 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9842 setup_xfail's for sunos4. If we #defined the signed keyword away,
9843 don't expect GDB to know that char it is signed.
9844
9845 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9846
9847Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9848
9849 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9850 should work on any system, regardless of debugging format.
9851 * gdb.t21/demangle.exp: Move to gdb.t24.
9852 * gdb.t24/demangle.exp: Move from gdb.t21.
9853 * gdb.t24/{Makefile.in, configure.in}: New files.
9854
9855Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9856
9857 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9858 * gdb.stabs: New directory.
9859
9860Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9861
9862 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9863 not just "Quit anyway?".
9864
9865Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9866
9867 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9868 that all setup_xfails are immediately followed by clear_xfails.
9869
9870Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9871
9872 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9873 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9874 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9875 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9876 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9877 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9878 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9879 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9880 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9881 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9882 gdb.t31/chillvars.exp, lib/gdb.exp:
9883 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9884 bug-gdb@prep.ai.mit.edu.
9885
9886Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9887
9888 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9889 with 0.0, not integer 0.
9890
9891Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9892
9893 * gdb.t06/break.exp: Update for "Kill the program" message change.
9894
9895Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9896
9897 * Makefile.in (GDBFLAGS): Set to -nx.
9898 * Makefile.in (site.exp): Use GDBFLAGS.
9899
9900Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9901
9902 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9903 Makefiles.
9904 (check): depend on just-check.
9905 (just-check): added so that tests can be run without a noop
9906 build pass.
9907
9908Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9909
9910 Switch to using configure's configdirs.
9911 * Makefile.in (Makefile): add configure.in dependency.
9912 (SUBDIRS): removed redundant assignment.
9913 * configure.in: switch subdirs assignment to configdirs.
9914 * gdb.t*/configure.in: new files.
9915
9916Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9917
9918 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9919 works.
9920
9921Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9922
9923 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9924 in explicit rules. Apparently this is not supported by some makes.
9925
9926Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9927
9928 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9929
9930Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9931
9932 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9933 disappeared.
9934
9935Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9936
9937 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9938
9939Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9940
9941 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9942 watchpoint problem that is now fixed.
9943 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9944 uninitialized convenience variables.
9945 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9946 structures.
9947
9948Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9949
9950 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9951 which causes expect to get out of sync with gdb on long output
9952 from help set.
9953 * gdb.t09/corefile.exp: Make expected pattern for core file
9954 failing signal and frame output format less sun specific.
9955
9956Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9957
9958 * gdb.t31/chillvars.exp: Add and remove initial dummy
9959 breakpoint, so that symbol table is forced in.
9960 (Needed at least on Sunos4, though it seems not SVR4.)
9961 * gdb.t31/chillvars.exp: Update for changed output format.
9962
9963Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9964
9965 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9966
9967Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9968
9969 * Makefile.in: Added --srcdir when invoking runtest, removed the
9970 need for a local config file. (optional now)
9971
9972Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9973
9974 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9975 failure count used to force early termination. Add some more
9976 expected failures for gnu style demangling.
9977
9978Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9979
9980 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9981 pmi variable from gdb.t20/gdbme to get optimized away.
9982 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9983 Check for written corefile upon timeout _and_ eof.
9984
9985Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9986
9987 * config/unix-gdb.exp: Add missing return 0.
9988
9989Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9990
9991 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9992 test termination.
9993
9994Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9995
9996 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9997 disappeared.
9998
9999Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10000
10001 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10002 time as i860 support works.
10003
beb998c6 10004 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10005 "backtrace 100\r" rather than just "backtrace\r", to match last
10006 change.
10007
10008Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10009
10010 * config/udi-gdb.exp (gdb_exit): Remove close command.
10011 (gdb_target_udi): New procedure to set the UDI target.
10012 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10013 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10014 Added waits for prompts after several question responses. Added
10015 some more responses used by a29k-amd-udi-gdb.
10016 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10017 pass different arguments, restart UDI connection after program
10018 completion.
10019 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10020 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10021 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10022 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10023 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10024 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10025 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10026 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10027 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10028 after program completion.
10029 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10030 compiled with a SELECT_VECS setting.
10031 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10032 infinite recursion.
10033
10034 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10035 Added checks for COFF results, and made them expected failures for
10036 all targets. It would be better to make them expected failures
10037 for COFF targets only.
10038
10039Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10040
10041 * Makefile.in: add null dvi target, don't bother to recurse
10042 through test directories for info and install-info; rename
10043 $(datadir) to be dejagnu instead of deja-gnu
10044
10045Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10046
10047 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10048 compiler to coredump.
10049 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10050 code.
10051
10052Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10053
10054 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10055 coredump.
10056 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10057 code.
10058
10059Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10060
10061 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10062 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10063 which in a shell. Deletes xgdb when done.
10064 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10065 Tests the return from the "set height" or "set width" commands.
10066 Added a few return codes where needed.
10067
10068Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10069
10070 * Makefile.in (SUBDIRS): Add gdb.t17.
10071 * configure.in (subdirs): Add gdb.t17.
10072 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10073 files to test gdb's calling of functions in the inferior with
10074 the correct arguments and gdb's ability to retrieve any
10075 result returned.
10076
10077Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10078
10079 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10080 may be called after gdb goes away. Previous versions of expect
10081 needed these to avoid file descriptor leaks, but they cause
10082 errors with the current revision of expect.
10083 * gdb.t00/gdbvars.exp: Use -re on expected output after
10084 setting sevenbit-strings.
10085 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10086 to set sevenbit-strings consistent across tests.
10087 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10088 set sevenbit-strings consistent across tests.
10089
10090Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10091
10092 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10093 expected output to match current "expect" expectations.
10094
10095Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10096
10097 * gdb.t00/default.exp: Change expected output for default "source"
10098 command, to match new gdb behavior which requires a filename to
10099 source.
10100
10101Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10102
10103 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10104 expected fail for i486-*-* that misses the marker2 function.
10105 * gdb.t10/crossload.exp (bfddefault): Allow successful
10106 recognition of a format to pass even if no symbols are found.
10107 Explicitly catch failures where the format is not recognized
10108 or is ambiguous, and add the reason to the fail message.
10109 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10110 the cause is and invalid target and add reason to failure message.
10111 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10112 elf32-i386, elf32-sparc, and elf32-i860.
10113 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10114 Set up expected failure for 'filename'::variable scope resolution,
10115 which is now apparently broken on all targets.
10116 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10117 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10118 gdb.t23/templates.exp: Change failure for missing binfile into
10119 just a warning.
10120 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10121 references.
10122
10123Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10124
10125 * gdb.t00/default.exp: Add expected output for default "source"
10126 command, to match new gdb behavior.
10127 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10128
10129Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10130
10131 * config/*-gdb.exp: returns an error, rather than exiting on
10132 internal errors.
10133
10134Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10135
10136 * gdb.t03/gdbme.c: Add pointer to struct variable.
10137 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10138 referencing struct members.
10139
10140Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10141
10142 * configure.in (mips-idt-ecoff): New target.
10143 * config/mips-gdb.exp: New file for remote board using MIPS remote
10144 debugging protocol.
10145
10146 * Redid configuration scheme. Removed gdb.t*/configure.in.
10147 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10148 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10149 distclean targets. Built executables via .o files. Adjusted
10150 tests to account for source files in $(srcdir) rather than
10151 $(objdir).
10152 * lib/gdb.exp (runto): Don't expect () after the function name,
10153 because it may have arguments.
10154
10155Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10156
10157 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10158 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10159 expected failures for mips-idt-* and mips-sgi-*.
10160 * gdb.t00/default.exp (attach): Kill process if requested.
10161 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10162 that does not read core files.
10163 * gdb.t01/run.exp: Removed checks for exit status code.
10164 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10165 it is linked in.
10166 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10167 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10168 appropriate, rather than doing it by hand.
10169 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10170 execution.
10171 * gdb.t10/crossload.exp: Kill existing program if needed.
10172 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10173 appropriate, rather than doing it by hand. Always increase
10174 timeout for this test, not just for VxWorks.
10175
10176Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10177
10178 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10179 of Chill STRUCT types and STRUCT values.
10180 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10181 than "char".
10182 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10183 struct2): New struct definitions and initializations to test
c906108c
SS
10184 simple Chill STRUCT types.
10185
10186Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10187
10188 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10189 the null byte at the end of strings.
10190 * gdb.t00/default.exp: Make show version insensitive to copyright
10191 date.
10192 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10193 to avoid dependencies on target char signedness.
10194 * gdb.t16/printcmds.exp: Update expected results for explicitly
10195 unsigned char.
10196 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10197 now work.
10198 * gdb.t21/demangle.exp: Add many more patterns for template
10199 demangling, most of them being expected failures.
10200 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10201 string we are matching for, to match on the whole string.
10202 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10203 and fix a whole bunch that had incorrect expected output but were
10204 passing anyway because of the bug in "proc demangle".
10205 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10206 type.
10207 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10208
10209Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10210
10211 * gdb/testsuite: made modifications to testcases, etc., to allow
10212 them to work properly given the reorganization of deja-gnu and the
10213 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10214
10215Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10216
10217 * gdb/testsuite: Initial creation of gdb/testsuite.
10218 Migrated dejagnu testcases and support files for testing nm to
10219 gdb/testsuite from deja-gnu. These files were moved "as is"
10220 with no modifications. This migration is part of a major overhaul
10221 of dejagnu. The modifications to these testcases, etc., which
10222 will allow them to work with the new version of dejagnu will be
10223 made in a future update.
10224\f
10225Local Variables:
10226mode: indented-text
10227left-margin: 8
10228fill-column: 74
10229version-control: never
10230End:
This page took 0.886386 seconds and 4 git commands to generate.