]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2003-07-07 Andrew Cagney <cagney@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
83876b3b
AS
12003-07-07 Andreas Schwab <schwab@suse.de>
2
3 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
4 arguments"): Also match negative number.
5
6 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
7
3a871b37
DJ
82003-07-03 Daniel Jacobowitz <drow@mvista.com>
9
10 * gdb.base/store.c (charest): New typedef.
11 (add_char): Rename to add_charest, update.
12 (wack_char): Rename to wack_charest, update types. Return l + r
13 to keep r live across the call.
14 (wack_short, wack_int, wack_long, wack_longest, wack_float)
15 (wack_double, wack_doublest): Return l + r to keep r live across
16 the call.
17 * gdb.base/store.exp: Accomodate store.c changes.
18
b2a7f303
DC
192003-06-30 David Carlton <carlton@kealia.com>
20
21 * gdb.c++/maint.exp (test_invalid_name): New.
22 (test_first_component): Add tests for invalid names.
23
3c6cb4a1
MC
242003-06-29 Michael Chastain <mec@shout.net>
25
26 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
27 output of '<VTT for class>' for virtual base classes.
28
f1c2644b
DJ
292003-06-29 Daniel Jacobowitz <drow@mvista.com>
30
31 * gdb.base/completion.exp: Tab-complete "complet" instead of
32 "compl".
33 * gdb.base/complex.exp, gdb.base/complex.c: New files.
34
18080350
DJ
352003-06-29 Daniel Jacobowitz <drow@mvista.com>
36
37 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
38 * gdb.base/volatile.exp: Likewise.
39
f56973f8
DJ
402003-06-29 Daniel Jacobowitz <drow@mvista.com>
41
42 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
43 gdb/1265.
44
452003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
46 Daniel Jacobowitz <drow@mvista.com>
47
48 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
49 initial line count of 'captured_main' from 26 to 32.
50 (test_with_self): Allow xmalloc call to be interleaved with the
51 preceding two lines.
52
e766d4d6
JB
532003-06-24 Joel Brobecker <brobecker@gnat.com>
54
55 * gdb.base/bang.exp: New testcase.
56
f125c9a4
JB
572003-06-23 Joel Brobecker <brobecker@gnat.com>
58
59 * gdb.base/langs.exp: Add some tests for the "minimal" language
60 support.
61
6e25beaf
EZ
622003-06-23 Elena Zannoni <ezannoni@redhat.com>
63
64 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
65 the testcase.
66
2f816dda
DJ
672003-06-22 Daniel Jacobowitz <drow@mvista.com>
68
69 * gdb.base/relocate.exp: Test add-symbol-file with a variable
70 offset.
71
db5a5748
DJ
722003-06-22 Daniel Jacobowitz <drow@mvista.com>
73
74 * gdb.c++/pr-1210.cc: New file.
75 * gdb.c++/pr-1210.exp: New file.
76
1df0c130
DJ
772003-06-21 Daniel Jacobowitz <drow@mvista.com>
78
79 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
80 000-exec-continue.
81
a92feac0
MK
822003-06-15 Mark Kettenis <kettenis@gnu.org>
83
84 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
85 on *-*-*bsd* instead of *-*-freebsd*.
86
81a58f5b
AC
872003-06-14 Andrew Cagney <cagney@redhat.com>
88
89 * gdb.base/store.exp: Test longest and doublest. Test all
90 parameters. Weaken return statement match.
91 * gdb.base/store.c: Add longest and doublest - aka long long and
92 long double functions. Put all parameters into local register
93 variables. Use negative values.
94
b257a0d3
AC
952003-06-14 Andrew Cagney <cagney@redhat.com>
96
97 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
98 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
99 exit status.
100 * gdb.base/fileio.exp: Disable target when nointerrupts and
101 noinferiorio, instead of limiting it to remote. Use remote_exec
102 instead of system.
103
21c38304
JJ
1042003-06-12 Jeff Johnston <jjohnstn@redhat.com>
105
106 * gdb.base/float.exp: Add ia64 support.
107
1bcdb424
CV
1082003-06-12 Corinna Vinschen <vinschen@redhat.com>
109
110 * gdb.base/fileio.exp: Run only on remote targets.
111
6aeb981f
CV
1122003-06-10 Corinna Vinschen <vinschen@redhat.com>
113
114 * gdb.base/fileio.c: New file, testing File-I/O.
115 * gdb.base/fileio.exp: Ditto.
116
53df362e
RG
1172003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
118
119 * gdb.base/shreloc.exp: New file, check symbol values obtained from
120 shared objects after relocation at load time (gdb PR/1132).
121 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
122 as above, part of the shared object relocation test.
123
ffee1b46
MK
1242003-06-08 Mark Kettenis <kettenis@gnu.org>
125
b5ca3722
MK
126 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
127 fully filled history list.
128 * gdb.base/gdb_history: New file.
129
03ed860d
MK
130 * gdb.base/signals.exp: XFAIL "continue to func1" on
131 i*86-*-freebsd*.
132
ffee1b46
MK
133 * gdb.base/attach.exp: When trying to attach to a nonexistent
134 process, make it possible to specify the PID based on the target,
135 and do so for *-*-freebsd*.
136
d80dbb52
RH
1372003-06-02 Richard Henderson <rth@redhat.com>
138
139 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
140
6dd77b81
RH
1412003-06-02 Richard Henderson <rth@redhat.com>
142
143 * gdb.base/selftest.exp: Next over lim_at_start initialization.
144
f6347e16
RH
1452003-06-02 Richard Henderson <rth@redhat.com>
146
147 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
148
2c161407
DJ
1492003-06-01 Daniel Jacobowitz <drow@mvista.com>
150
151 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
152 of globalvar.
153
572eb746
MK
1542003-06-01 Mark Kettenis <kettenis@gnu.org>
155
156 * gdb.asm/asm-source.exp: Check for memory read errors in
157 disassembler test on *BSD too.
158
9e9617a5
RH
1592003-06-01 Richard Henderson <rth@redhat.com>
160
161 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
162 for .frame.
163 (gdbasm_call): Lose ldgp.
164 (gdbasm_startup): Add frame information.
165 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
166
7b34ad4e
MK
1672003-05-31 Mark Kettenis <kettenis@gnu.org>
168
169 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
170 i?86-*-*.
171
10059fdf
MK
1722003-05-30 Mark Kettenis <kettenis@gnu.org>
173
174 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
175 FreeBSD.
176
acf4b816
RH
1772003-05-29 Richard Henderson <rth@redhat.com>
178
179 * gdb.asm/alpha.inc: New file.
180 * gdb.asm/asm-source.exp: Use it.
181
e9ecd949
JB
1822003-05-29 Jim Blandy <jimb@redhat.com>
183
184 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
185 'core.PID'.
186
e3e5a4f3
JB
1872003-05-22 Jim Blandy <jimb@redhat.com>
188
189 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
190 backtrace.
191
72fe3d25
DC
1922003-05-20 David Carlton <carlton@math.stanford.edu>
193
194 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
195 this time.
196
58da2eb2
DC
1972003-05-19 David Carlton <carlton@bactrian.org>
198
199 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
200 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
201
1fcb5155
DC
2022003-05-19 David Carlton <carlton@bactrian.org>
203
204 * gdb.c++/namespace.exp: Add namespace scope and anonymous
205 namespace tests.
206 Bump copyright date.
207 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
208 (main): Call C::D::marker2.
209 * gdb.c++/namespace1.cc: New file.
210
85e85163
JJ
2112003-05-14 Jeff Johnston <jjohnstn@redhat.com>
212
213 Roland McGrath <roland@redhat.com>
214 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
215 there is no manager thread.
216
a25fbfec
JJ
2172003-05-08 Jeff Johnston <jjohnstn@redhat.com>
218
219 * gdb.threads/schedlock.exp: Remove assumption that all threads
220 will run in a particular small time slice. Also ensure we break
221 in one of the child threads rather than the main thread.
222
be375bae
JB
2232003-05-07 Jim Blandy <jimb@redhat.com>
224
09bf6082
JB
225 Add support for assembly source testing on the s390x.
226 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
227 architecture.
228 * gdb.asm/s390x.inc: New file.
229
be375bae
JB
230 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
231 succession of 'if' statements.
232
00905d52
AC
2332003-05-05 Andrew Cagney <cagney@redhat.com>
234
235 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
236
b1e29e33
AC
2372003-05-05 Andrew Cagney <cagney@redhat.com>
238
239 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
240 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
241
e33d66ec
EZ
2422003-05-02 Elena Zannoni <ezannoni@redhat.com>
243
244 * gdb.base/charset.exp: Update based on new behavior of set/show
245 charset commands.
246
2b6fd0d8
AC
2472003-05-01 Andrew Cagney <cagney@redhat.com>
248
249 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
250 variable do not give memory errors.
251
130cacce
AF
2522003-04-30 Adam Fedor <fedor@gnu.org>
253
254 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
255 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
256 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
257 gdb.objc/basicclass.m: : New files
258
259 * lib/gdb.exp (gdb_compile_objc): New procedure.
260
bea71854
DJ
2612003-04-27 Daniel Jacobowitz <drow@mvista.com>
262
263 * gdb.base/signals.exp: Make backtrace tests more specific.
264
0f20eeea
DC
2652003-04-23 David Carlton <carlton@bactrian.org>
266
267 * gdb.c++/maint.exp (test_first_component): Add tests for
268 'operator' in more locations.
269
c8c4d8dc
KB
2702003-04-16 Kevin Buettner <kevinb@redhat.com>
271
272 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
273
3fe60e3c
EZ
2742003-04-16 Elena Zannoni <ezannoni@redhat.com>
275
276 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
277 func marke' instead. Update test name.
278
9219021c
DC
2792003-04-15 David Carlton <carlton@math.stanford.edu>
280
281 * gdb.c++/maint.exp: New file.
282
5dd55bdd
EZ
2832003-04-14 Elena Zannoni <ezannoni@redhat.com>
284
285 * gdb.threads/schedlock.c: Change type of thread function argument
286 to long, to avoid warnings on 64-bit platforms.
287
00890572
EZ
2882003-04-14 Elena Zannoni <ezannoni@redhat.com>
289
290 * gdb.base/attach.exp: Add new message from ptrace in case of
291 attaching to nonexistent process.
292
93201743
JB
2932003-04-11 Jim Blandy <jimb@redhat.com>
294
295 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
296 gdb.c++/userdef.cc: Place comments on the lines to which the
297 marker function might return.
298 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
299 gdb.c++/userdef.exp: Look for those comments to check that we've
300 returned to the right place, instead of checking line numbers.
301
2a11c64d
EZ
3022003-04-11 Elena Zannoni <ezannoni@redhat.com>
303
304 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
305 match on sourcefile name, instead of directory name.
306
68ab8fc5
EZ
3072003-04-10 Elena Zannoni <ezannoni@redhat.com>
308
309 * gdb.base/completion.exp: Use string_to_regexp to match the
310 working directory name.
311
5624293a
JB
3122003-04-09 Jim Blandy <jimb@redhat.com>
313
314 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
315 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
316 after an inferior function call, report the failure, but allow the
317 test to continue.
318
f1f02ee4
SC
3192003-04-05 Stephane Carrez <stcarrez@nerim.fr>
320
321 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
322 with -DPROTOTYPES.
323
6eb79af0
SC
3242003-04-05 Stephane Carrez <stcarrez@nerim.fr>
325
326 * gdb.base/break.exp: Revert last patch.
327
8dfb4cf0
SC
3282003-04-04 Stephane Carrez <stcarrez@nerim.fr>
329
330 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
331 with -DPROTOTYPES.
332
ed4c619a
AC
3332003-04-02 Andrew Cagney <cagney@redhat.com>
334
335 * gdb.base/callfuncs.exp: Make "print add" messages unique.
336 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
337 matching directories by the name breakpoint.
338 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
339 Make "continue to marker1" consistent.
340 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
341 message consistent.
342 * lib/gdb.exp: Put "the program is no longer running", and "the
343 program exited" in parenthesis.
344 * lib/mi-support.exp: Ditto.
345
4e35d5f0
BR
3462003-04-02 Bob Rossi <bob_rossi@cox.net>
347
348 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
349
71900fe8
AC
3502003-03-29 Andrew Cagney <cagney@redhat.com>
351
352 * gdb.base/sizeof.c (main): Print the value of '\377'.
353 * gdb.base/sizeof.exp: Check the sign of '\377'.
354
c0655a16
MC
3552003-03-27 Michael Chastain <mec@shout.net>
356
357 * gdb.base/gdb1090.exp: New file.
358 * gdb.base/gdb1090.cc: New file.
359
5b2a3989
JB
3602003-03-27 J. Brobecker <brobecker@gnat.com>
361
362 * gdb.gdb/observer.exp: New regression test.
363
79876890
MC
3642003-03-27 Michael Chastain <mec@shout.net>
365
366 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
367 * gdb.base/ptype.exp: Likewise.
368
6eac95e3
CV
3692003-03-27 Corinna Vinschen <vinschen@redhat.com>
370
371 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
372
e8c71839
MC
3732003-03-26 Michael Chastain <mec@shout.net>
374
375 * gdb.base/ptype.exp: Actually use some typedef'd types.
376
71b10041
SC
3772003-03-21 Stephane Carrez <stcarrez@nerim.fr>
378
379 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
380 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
381
2512cf80
CV
3822003-03-20 Corinna Vinschen <vinschen@redhat.com>
383
384 * gdb.base/default.exp: Fix regular expression.
385
0d195a4f
CV
3862003-03-20 Corinna Vinschen <vinschen@redhat.com>
387
388 * gdb.base/args.exp: Fix regular expression.
389
8a2dbca8
CV
3902003-03-20 Corinna Vinschen <vinschen@redhat.com>
391
392 * gdb.base/help.exp: Allow Win32 child process.
393
bf028682
CV
3942003-03-20 Corinna Vinschen <vinschen@redhat.com>
395
396 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
397 when stepping out of main().
398
182dbe85
CV
3992003-03-20 Corinna Vinschen <vinschen@redhat.com>
400
401 * gdb.base/default.exp: Check for win32 specific message when calling
402 "run" without executable.
403
d67a6ba5
CV
4042003-03-20 Corinna Vinschen <vinschen@redhat.com>
405
406 * gdb.base/args.exp: Expect .exe in output.
407
a955b5bb
CV
4082003-03-20 Corinna Vinschen <vinschen@redhat.com>
409
410 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
411 Cygwin native.
412
bf6bad4b
AC
4132003-03-17 Andrew Cagney <cagney@redhat.com>
414
415 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
416 vector registes.
417 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
418 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
419
293e9a31
DC
4202003-03-17 David Carlton <carlton@math.stanford.edu>
421
422 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
423 test, for PR breakpoints/38.
424 Call test_watchpoint_and_breakpoint.
425 * gdb.base/watchpoint.c (func3): New function.
426 (main): Call func3.
427
5330f2db
DC
4282003-03-04 David Carlton <carlton@math.stanford.edu>
429
430 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
431 Garply<Garply<char> >:: garply".
432 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
433 with respect to PR c++/1111; note also PR c++/1113.
434 (test_template_breakpoints): KFAIL "constructor breakpoint" with
435 respect to PR c++/1062.
436 KFAIL "destructor breakpoint" with respect to PR c++/1112.
437
6ece72da
DC
4382003-03-03 David Carlton <carlton@math.stanford.edu>
439
440 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
441 with respect to PR c++/57.
442 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
443 c++/826.
444 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
445 respect to PR c++/57.
446
85ca1584
DC
4472003-03-03 David Carlton <carlton@math.stanford.edu>
448
449 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
450 respect to PR c++/33 into FAILs.
451
98e9c5b8
MC
4522003-03-03 Michael Chastain <mec@shout.net>
453
7bedbf27
MC
454 * configure.in: Update copyright years.
455
4562003-03-03 Michael Chastain <mec@shout.net>
457
458 * Makefile.in: Update copyright years.
98e9c5b8 459
f683e100
DC
4602003-02-28 David Carlton <carlton@math.stanford.edu>
461
462 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
463 print class instead of struct and/or superfluous protection
464 specifiers, as long as the resulting output is equivalent to the
465 source code.
466 Delete FIXME from end of messages on tests that don't need
467 fixing.
468
a9e0cf2c
DC
4692003-02-28 David Carlton <carlton@math.stanford.edu>
470
471 * gdb.c++/templates.exp (do_tests): Allow const in the two
472 Foo<volatile char *>::foo tests.
473
e8d359df
MS
4742003-02-27 Michael Snyder <msnyder@redhat.com>
475
476 * gdb.base/restore.c (main): Return zero, so exit code
477 will be consistant.
478
0b71dc91
DC
4792003-02-26 David Carlton <carlton@math.stanford.edu>
480
481 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
482 char *>::foo" test with respect to PR c++/33. Create a new test
483 which is identical to that one except that it doesn't put the
484 space between the "char" and the "*"; KFAIL it, too.
485
dd14ab43
DC
4862003-02-26 David Carlton <carlton@math.stanford.edu>
487
488 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
489 template types into either PASSes or KFAILs (corresponding to PR
490 c++/57). Tweak indentation. Update copyright.
491
1146c7f1
SC
4922003-02-23 Stephane Carrez <stcarrez@nerim.fr>
493
494 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
495
74641dfb
MC
4962003-02-13 Michael Chastain <mec@shout.net>
497
498 * gdb.base/exprs.exp: Remove i960 remnants.
499 * gdb.base/funcargs.exp: Likewise.
500 * gdb.base/list.exp: Likewise.
501 * gdb.base/ptype.exp: Likewise.
502
559cd2d0
DC
5032003-02-14 David Carlton <carlton@math.stanford.edu>
504
505 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
506 pEe->D::vg()" from XFAIL to KFAIL.
507
c4f90d87
JM
5082003-02-13 Jason Molenda (jmolenda@apple.com)
509
510 * gdb.base/maint.exp: Update maint print statistics regexp to include
511 new entries.
512
cbc4d97c
MC
5132003-02-13 Michael Chastain <mec@shout.net>
514
515 * gdb.c++/inherit.exp: Remove call to get_debug_format.
516
40f235b7
MC
5172003-02-12 Michael Chastain <mec@shout.net>
518
519 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
520 * gdb.c++/inherit.exp: Likewise.
521 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
522 * gdb.c++/templates.exp: Likewise.
523 * gdb.c++/virtfunc.exp: Likewise.
524
c56716b0
JM
5252003-02-06 Jason Molenda (jason-cl@molenda.com)
526
527 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
528 why the code is written that way.
529
070afcf8
MC
5302003-02-05 Michael Chastain <mec@shout.net>
531
532 * gdb.base/dump.exp: Add missing copyright line.
533
5d0331e5
JM
5342003-02-05 Jason Molenda (jason-cl@molenda.com)
535
f7ae6d3e 536 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
537 at the beginning so the breakpoint doesn't get set on the loop.
538
92851186
MC
5392003-02-05 Michael Chastain <mec@shout.net>
540
541 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
542 output for configurations with gcc 2.95.3.
543
cbf1e085
AC
5442003-02-05 Keith Seitz <keiths@redhat.com>
545 Andrew Cagney <ac131313@redhat.com>
546
547 * gdb.mi/mi-cli.exp: New file.
548
29518e1e
MC
5492003-02-04 Michael Chastain <mec@shout.net>
550
551 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
552 Call perror and then continue.
553
5af1d5f3
MC
5542003-02-03 Michael Chastain <mec@shout.net>
555
556 * gdb.c++/pr-1023.cc: New file.
557 * gdb.c++/pr-1023.exp: New file.
558
6b549786
JB
5592003-02-05 Jim Blandy <jimb@redhat.com>
560
561 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
562 it's local to foobar. Check for it there, and check that it's not
563 present in main.
564 * gdb.c++/local.cc (marker2): New function.
565 (foobar): Call marker1.
566 (main): Call marker2 instead of marker1.
567
67f16606
AC
5682003-02-04 Andrew Cagney <ac131313@redhat.com>
569
570 * gdb.disasm/mn10200.exp: Obsolete file.
571 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
572 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
573 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
574
1c5cb38e
DC
5752003-02-04 David Carlton <carlton@math.stanford.edu>
576
577 * gdb.c++/overload.exp: Test intToChar(1).
578 * gdb.c++/overload.cc (intToChar): New.
579 (main): Call intToChar.
580
d1fe6965
DC
5812003-02-03 David Carlton <carlton@math.stanford.edu>
582
583 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
584 'might_kfail' arg.
585 KFAIL some of the continue_to_bp_overloaded calls, according to
586 PR c++/1025.
587
9ba61c5d
MC
5882003-02-01 Michael Chastain <mec@shout.net>
589
590 * gdb.base/advance.c (marker1): New marker function.
591 * gdb.base/advance.exp: When the 'advance' command lands on the
592 return breakpoint, it can legitimately stop on either the
593 current line or the next line. Accommodate both outcomes.
594 * gdb.base/until.exp: Likewise.
595
e7494ffb
AC
5962003-02-02 Andrew Cagney <ac131313@redhat.com>
597
598 2002-11-10 Jason Molenda (jason-cl@molenda.com):
599 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
600 now a list, not a tuple.
601 * gdb.mi/mi-var-display.exp: Ditto.
602 * gdb.mi/gdb792.exp: Ditto.
603
075559bc
AC
6042003-02-01 Andrew Cagney <ac131313@redhat.com>
605
606 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
607 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
608 stack backtraces.
609 * gdb.mi/mi-syn-frame.c: Part of same.
610
2bd4c7b1
MK
6112003-02-01 Mark Kettenis <kettenis@gnu.org>
612
613 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
614 gdb.mi/mi1-pthreads.exp: Return instead of calling
615 gdb_suppress_entire_file.
616
eabd8992
MS
6172003-02-01 Mark Salter <msalter@redhat.com>
618
619 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
620
71469e2f
MS
6212003-01-31 Mark Salter <msalter@redhat.com>
622
623 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
624 Support empty arg.
625
38a94d44
MC
6262003-01-30 Michael Chastain <mec@shout.net>
627
628 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
629 This was a workaround for a UTF-8 bug in readline 4.3. The bug
630 has been fixed in gdb/readline on 2003-01-09.
631
19ea9e73
MS
6322003-01-29 Michael Snyder <msnyder@redhat.com>
633
e8d359df
MS
634 * gdb.base/maint.exp: Allow for leading underscore in symbol.
635 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
636 * gdb.base/args.exp: Skip if target does not support args passing.
637
2307bd6a
DJ
6382003-01-22 Daniel Jacobowitz <drow@mvista.com>
639
19ea9e73 640 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
641 gdb_test. Accept a list of expect arguments as the third
642 parameter.
643 (gdb_test): Use it.
644
f2dd3617
EZ
6452003-01-20 Elena Zannoni <ezannoni@redhat.com>
646
647 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
648 allow for different test tree configurations. Update some
649 tescases accordingly.
650 * gdb.arch/altivec-regs.exp: Ditto.
651 * gdb.asm/asm-source.exp: Ditto.
652 * gdb.base/advance.exp: Ditto.
653 * gdb.base/display.exp: Ditto.
654 * gdb.base/long_long.exp: Ditto.
655 * gdb.base/mips_pro.exp: Ditto.
656 * gdb.base/overlays.exp: Ditto.
657 * gdb.base/relocate.exp: Ditto.
658 * gdb.base/setshow.exp: Ditto.
659 * gdb.base/step-line.exp: Ditto.
660 * gdb.base/step-test.exp: Ditto.
661 * gdb.base/until.exp: Ditto.
662 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
663
c71cdefd
DC
6642003-01-17 David Carlton <carlton@math.stanford.edu>
665
666 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
667 corresponding to PR c++/945.
668 Update copyright.
669
fdba05d7
DC
6702003-01-17 David Carlton <carlton@math.stanford.edu>
671
672 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
673 corresponding to PR c++/68.
674
6752003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
676
677 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
678 (test_paddr_hairy_functions): Call print_addr_2_kfail for
679 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
680
c362c33a
EZ
6812003-01-15 Elena Zannoni <ezannoni@redhat.com>
682
0fbc361c
EZ
683 * gdb.base/break.exp: Fix change of default location, because of
684 removal of until tests.
685 * gdb.base/help.exp: Update test for new 'until' help message.
686 Add test for help on 'advance'.
c362c33a
EZ
687 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
688
dabf8a35
MK
6892003-01-15 Mark Kettenis <kettenis@gnu.org>
690
691 * gdb.base/default.exp: Adapt "info float" test for recent changes
692 to that command. Add test for "info vector".
693 * gdb.base/float.exp: New file. Add test for "info float" that
694 resembles the old test in gdb.base/default.exp.
695
a1769aca
DC
6962003-01-15 David Carlton <carlton@math.stanford.edu>
697
698 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
699
82025e13
EZ
7002003-01-15 Elena Zannoni <ezannoni@redhat.com>
701
702 * gdb.base/break.exp: Move the tests of until command from here...
703 * gdb.base/until.exp: ... to here. New file. Add other tests.
704 * gdb.base/advance.c: New file.
705 * gdb.base/advance.exp: New file.
706
8f9ab801
EZ
7072003-01-14 Elena Zannoni <ezannoni@redhat.com>
708
709 * gdb.base/args.c: New file.
710 * gdb.base/args.exp: New file.
711
9ae66589
DJ
7122003-01-14 Daniel Jacobowitz <drow@mvista.com>
713
714 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
715
8d77e5c3
DJ
7162003-01-14 Daniel Jacobowitz <drow@mvista.com>
717
718 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
719
12d2f0a1
DJ
7202003-01-14 Daniel Jacobowitz <drow@mvista.com>
721
722 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
723 dates.
724
6ca37014
DJ
7252003-01-13 Daniel Jacobowitz <drow@mvista.com>
726
727 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
728
b0023472
DJ
7292003-01-13 Daniel Jacobowitz <drow@mvista.com>
730
731 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
732 (ptype &*"foo").
733 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
734
d6abaea5
DJ
7352002-01-13 Daniel Jacobowitz <drow@mvista.com>
736
737 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
738 * gdb.mi/mi1-console.exp: Likewise.
739
dfd536a7
DJ
7402002-01-13 Daniel Jacobowitz <drow@mvista.com>
741
742 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
743 * gdb.mi/mi1-console.exp: Likewise.
744
a1fb14a2
DJ
7452003-01-13 Daniel Jacobowitz <drow@mvista.com>
746
747 * gdb.c++/overload.exp: Remove some fixed XFAILs.
748
c4cf40b7
DJ
7492003-01-09 Daniel Jacobowitz <drow@mvista.com>
750
751 * gdb.base/detach.exp: New test.
752
696d5a5b
DJ
7532003-01-09 Daniel Jacobowitz <drow@mvista.com>
754
755 * Makefile.in (ALL_SUBDIRS): New variable.
756 (subdirs, clean, distclean): Use it.
757 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
758 regenerating Makefile, since it is generated from the top level.
759 * gdb.asm/Makefile.in: Likewise.
760 * gdb.base/Makefile.in: Likewise.
761 * gdb.c++/Makefile.in: Likewise.
762 * gdb.disasm/Makefile.in: Likewise.
763 * gdb.java/Makefile.in: Likewise.
764 * gdb.mi/Makefile.in: Likewise.
765 * gdb.threads/Makefile.in: Likewise.
766 * gdb.trace/Makefile.in: Likewise.
767
754533e4
DC
7682003-01-09 David Carlton <carlton@math.stanford.edu>
769
770 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
771 Add copyright year 2003.
772
d8b3e9ee
MC
7732003-01-06 Michael Chastain <mec@shout.net>
774
775 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
776 When selecting a thread, 'line' and 'file' are optional.
777 * gdb.mi/mi1-pthreads.exp: Likewise.
778
8e9e0fe6
AS
7792003-01-06 Andreas Schwab <schwab@suse.de>
780
781 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
782 failures.
783
b5ab8ff3
DJ
7842003-01-04 Daniel Jacobowitz <drow@mvista.com>
785
786 Fix PR gdb/844
787 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
788 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
789
790 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
791 instead of calling gdb_suppress_entire_file.
792 * gdb.threads/print-threads.exp: Likewise.
793 * gdb.threads/schedlock.exp: Likewise.
794
795 * gdb.threads/killed.exp: Return instead of calling
796 gdb_suppress_entire_file.
797 * gdb.threads/linux-dp.exp: Likewise.
798 * gdb.threads/pthreads.exp: Likewise.
799
1e698235
DJ
8002003-01-04 Daniel Jacobowitz <drow@mvista.com>
801
802 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
803 stabs.
804 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
805 * gdb.base/whatis.exp: Always allow (void) after function names.
806
147ff08c
DJ
8072003-01-04 Daniel Jacobowitz <drow@mvista.com>
808
809 * gdb.c++/casts.exp: Correct regexp.
810
dc62bfc2
MK
8112003-01-04 Mark Kettenis <kettenis@gnu.org>
812
813 * configure.in: Call AC_CONFIG_HEADER. Don't call
814 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
815 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
816 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
817 aforementioned directories in the AC_OUPUT call.
818 * config.hin: New file.
819 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
820 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
821 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
822 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
823 pass -I$objdir instead of -I$objdir/$subdir in compilation.
824 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
825 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
826 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
827 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
828 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
829 gdb.threads/configure.in, gdb.threads/configure,
830 gdb.threads/config.in, gdb.trace/configure.in,
831 gdb.trace/configure: Removed.
832
77afa639
MC
8332003-01-03 Michael Chastain <mec@shout.net>
834
835 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
836 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
837
7634bb6e
DJ
8382003-01-03 Daniel Jacobowitz <drow@mvista.com>
839
840 * gdb.base/store.exp: Fix regular expressions.
841
b39c905e
MK
8422002-12-28 Mark Kettenis <kettenis@gnu.org>
843
844 * configure.in: Rewrite.
845 * configure: Regenerated.
846
0a8551dd
DC
8472003-01-03 David Carlton <carlton@math.stanford.edu>
848
849 * gdb.base/psymtab.exp: New file.
850 * gdb.base/psymtab1.c: Ditto.
851 * gdb.base/psymtab2.c: Ditto.
852
c60b7188
AF
8532002-12-23 Adam Fedor <fedor@gnu.org>
854
855 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
856
ee73db83
DC
8572002-12-23 David Carlton <carlton@math.stanford.edu>
858
859 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
860 and current_directory initialization.
861
d6c1774e
JB
8622002-12-22 Jim Blandy <jimb@redhat.com>
863
f0a847b8
JB
864 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
865 rather than as part of the output file name.
866
d6c1774e
JB
867 * gdb.base/attach.exp: There's no need to copy the test program to
868 /tmp; that was only ever necessary on HP/UX, and this test is
869 entirely disabled there anyway.
870
f0708dbb
JB
8712002-12-21 Jim Blandy <jimb@redhat.com>
872
4c2acfea
JB
873 * gdb.c++/psmang.exp: Doc fix.
874
f0708dbb
JB
875 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
876 test.
877
9579e000
DC
8782002-12-20 David Carlton <carlton@math.stanford.edu>
879
880 * gdb.c++/annota2.exp: KFAIL annotate-quit.
881
d1810171
MC
8822002-12-18 Michael Chastain <mec@shout.net>
883
884 * gdb.c++/annota2.exp: Add copyright year 2002.
885
76565097
DC
8862002-12-17 David Carlton <carlton@math.stanford.edu>
887
888 * gdb.c++/try_catch.cc: Add marker comments.
889 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
890 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
891 * gdb.c++/m-static.cc: Ditto.
892 * gdb.c++/m-static1.cc: Ditto.
893 * gdb.c++/try_catch.cc: Ditto.
894
da81390b
JJ
8952002-12-16 Jeff Johnston <jjohnstn@redhat.com>
896
897 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
898 to see whether we are using the new -environment-directory
899 command which resets via -r or the old version of the command
900 which may prompt the user. Part of fix for gdb/741.
901
b304d130
AC
9022002-12-13 Andrew Cagney <ac131313@redhat.com>
903
904 * gdb.fortran/types.exp: Update obsolete comment.
905 * gdb.fortran/exprs.exp: Ditto.
906 * lib/gdb.exp: Delete obsolete code.
907 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
908 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
909 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
910 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
911 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
912 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
913 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
914 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
915 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
916 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
917 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
918 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
919 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
920 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
921 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
922 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
923 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
924 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
925 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
926 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
927 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
928 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
929 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
930 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
931 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
932 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
933 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
934 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
935 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
936 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
937 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
938 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
939 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
940 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
941 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
942 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
943 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
944
a23b6e6a
DC
9452002-12-11 David Carlton <carlton@math.stanford.edu>
946
947 * gdb.c++/m-data.exp: Add test for members that shadow global
948 variables: see PR gdb/804.
949 * gdb.c++/m-data.cc: Ditto.
950
6604731b
DJ
9512002-12-10 Daniel Jacobowitz <drow@mvista.com>
952
953 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
954
de46ecd7
DC
9552002-12-06 David Carlton <carlton@math.stanford.edu>
956
957 * gdb.base/store.c: Don't declare functions static.
958
27e829d0
AC
9592002-12-04 Andrew Cagney <ac131313@redhat.com>
960
961 * gdb.base/store.exp, gdb.base/store.c: New files.
962
92806416
DJ
9632002-12-03 Daniel Jacobowitz <drow@mvista.com>
964
965 * gdb.base/selftest.exp: Update for current gdb.
966
3bcbaac5
DJ
9672002-12-03 Daniel Jacobowitz <drow@mvista.com>
968
969 * gdb.base/maint.exp: Only dump symbols from one source file
970 or objfile.
971
f4f00b1f
DJ
9722002-12-03 Daniel Jacobowitz <drow@mvista.com>
973
974 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
975 function call.
976
f1c8a949
JB
9772002-11-25 Jim Blandy <jimb@redhat.com>
978
979 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
980 function appearing in error message.
981
9e297a97
DJ
9822002-11-21 Daniel Jacobowitz <drow@mvista.com>
983
984 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
985
1f312e79
JJ
9862002-11-08 Jeff Johnston <jjohnstn@redhat.com>
987
988 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
989 for mi1 and current mi is in correct format. New mi startup message
990 should be in mi console format. This is part of fix for PR gdb/604.
991
83c31e7d
FN
9922002-09-18 Fernando Nasser <fnasser@redhat.com>
993
994 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
995 which explicitly prints the zero offset as "+0".
996
322b3f65
DJ
9972002-10-22 Daniel Jacobowitz <drow@mvista.com>
998
999 * gdb.threads/schedlock.c (args): Make unsigned.
1000
10012002-10-21 Daniel Jacobowitz <drow@mvista.com>
1002
1003 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1004 numbers. Allow "foo2|selected stack frame".
1005 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1006 * gdb.asm/asmsrc2.s: Likewise.
1007 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1008 comments.
1009 * gdb.asm/mips.inc: New file.
1010
5e2fe5b8
AF
10112002-10-18 Adam Fedor <fedor@gnu.org>
1012
1013 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1014 * gdb.base/help.exp: Likewise.
1015
abe1a5d0
KB
10162002-10-17 Kevin Buettner <kevinb@redhat.com>
1017
1018 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1019 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1020
10abb1d4
JB
10212002-10-02 Jim Blandy <jimb@redhat.com>
1022
1023 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1024
1f609b42
AC
10252002-10-01 Andrew Cagney <ac131313@redhat.com>
1026
1027 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1028 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1029 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1030 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1031 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1032 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1033 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1034
0aee02e4
AC
10352002-09-29 Andrew Cagney <ac131313@redhat.com>
1036
1037 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1038 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1039 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1040 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1041 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1042 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1043 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1044
6fde09ad
KB
10452002-09-27 Kevin Buettner <kevinb@redhat.com>
1046
1047 * gdb.base/annota1.exp (info break): Make directory components of
1048 path optional since not all compilers emit this debug information.
1049
1050 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1051 step ends up stepping out of the function instead of stopping on
1052 the epilogue.
1053
9e8aab75
KS
10542002-09-26 Keith Seitz <keiths@redhat.com>
1055
1056 * lib/insight-support.exp (gdbtk_start): Figure out where
1057 the insight executable is based on where gdb is. Use this
1058 executable to start insight instead of gdb.
1059
e36180d7
AC
10602002-09-25 Andrew Cagney <cagney@redhat.com>
1061
1062 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1063
9dd34b2b
AC
10642002-09-24 Andrew Cagney <ac131313@redhat.com>
1065
1066 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1067 test_isolated_complaints.
1068 (test_empty_complaint): New function.
1069 (test_empty_complaints): New function. Check no output when no
1070 complaints.
1071
dea97812
KB
10722002-09-19 Jim Blandy <jimb@redhat.com>
1073
1074 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1075
54951bd7
AC
10762002-09-19 Andrew Cagney <ac131313@redhat.com>
1077
1078 * gdb.gdb/complaints.exp: New file.
1079
dec43320
AC
10802002-09-18 Andrew Cagney <ac131313@redhat.com>
1081
1082 * gdb.base/maint.exp: Check `help maint internal-warning'.
1083
e70d6e3f
DC
10842002-09-18 David Carlton <carlton@math.stanford.edu>
1085
1086 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1087 numbers, and replace them by a single breakpoint after the
1088 constructors are all finished.
1089 Add test 4.
1090 * gdb.c++/m-static.cc: Add test 4.
1091 * gdb.c++/m-static.h: New file.
1092 * gdb.c++/m-static1.cc: New file.
1093
1094 * gdb.c++/printmethod.exp: New file.
1095 * gdb.c++/printmethod.cc: New file.
1096
1097 * gdb.c++/pr-574.exp: New file.
1098 * gdb.c++/pr-574.cc: New file.
1099
afb5c968
CV
11002002-09-18 Corinna Vinschen <vinschen@redhat.com>
1101
1102 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1103 embedded targets which never actually exit.
1104
31e45dee
FN
11052002-09-18 Fernando Nasser <fnasser@redhat.com>
1106
1107 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1108 "don't step after run" as unresolved or unsupported, instead of xfail.
1109
a283c5a1
CV
11102002-09-18 Corinna Vinschen <vinschen@redhat.com>
1111
1112 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1113 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1114 Add newline to expected string in "step out of main (status wrapper)"
1115 case.
1116
11350d2a
CV
11172002-09-18 Corinna Vinschen <vinschen@redhat.com>
1118
1119 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1120 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1121
0deec7d6
TT
11222002-09-17 Tom Tromey <tromey@redhat.com>
1123
1124 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1125 \000, not \0, in double-quoted string.
1126
b2b4a1b5
CV
11272002-09-14 Corinna Vinschen <vinschen@redhat.com>
1128
1129 * gdb.base/command.exp: Don't expect a "Program exited normally"
1130 string after running the commands execution on breakpoint tests.
1131
1c56143a
CV
11322002-09-13 Corinna Vinschen <vinschen@redhat.com>
1133
1134 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1135
37f8da45
JB
11362002-09-12 Joel Brobecker <brobecker@gnat.com>
1137
1138 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1139
08b468e0
KS
11402002-09-10 Keith Seitz <keiths@redhat.com>
1141
1142 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1143 runto proc.
1144 (mi_run_to_main): Use mi_runto.
1145 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1146
dc360f58
KS
11472002-09-10 Keith Seitz <keiths@redhat.com>
1148
1149 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1150 regexp for stopping at main. Could have multiple event notifications.
1151 Don't assume that main was declared with no parameters.
1152 (mi_next): Use mi_step_to.
1153 (mi_step): Use mi_next_to.
1154
ce3abcfb
CV
11552002-09-09 Corinna Vinschen <vinschen@redhat.com>
1156
1157 * gdb.base/default.exp: Fix expected string in `info float' test.
1158
d1f5b980
BE
11592002-09-09 Ben Elliston <bje@redhat.com>
1160
1161 * config/mips.exp: Update comments.
1162 * config/mips-idt.exp: Likewise.
1163 * config/nind.exp: Likewise.
1164 * config/slite.exp: Likewise.
1165 * config/sparclet.exp: Likewise.
1166 * config/udi.exp: Likewise.
1167 * config/vx.exp: Likewise.
1168 * config/vxworks29k.exp: Likewise.
1169
2f71430b
JB
11702002-09-05 Jim Blandy <jimb@redhat.com>
1171
1172 * gdb.threads/killed.exp: Fix test failure message.
1173
7ddebc7e
KS
11742002-09-04 Keith Seitz <keiths@redhat.com>
1175
1176 * lib/mi-support.exp: Update copyright.
1177 (mi_gdb_test): Increase the priority of the expected pattern
1178 so that it matches gdb_test.
1179
0ae67eb3
KS
11802002-09-03 Keith Seitz <keiths@redhat.com>
1181
1182 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1183 Use integer comparison instead of string comparison for testing
1184 whether binary was built.
1185
38fc42c8
JB
11862002-09-03 Jim Blandy <jimb@redhat.com>
1187
1188 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1189
b6ff0e81
JB
11902002-08-29 Jim Blandy <jimb@redhat.com>
1191
1192 * gdb.threads/pthreads.exp: Move the portable thread compilation
1193 code into a function in lib/gdb.exp, and call that from here.
1194 * lib/gdb.exp (gdb_compile_pthreads): New function.
1195
07c98896
KS
11962002-08-29 Keith Seitz <keiths@redhat.com>
1197
1198 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1199 expect_out so that callers can get at it.
1200
0312286c
DJ
12012002-08-23 Daniel Jacobowitz <drow@mvista.com>
1202
1203 * gdb.threads/print-threads.c: New file.
1204 * gdb.threads/print-threads.exp: New file.
1205 * gdb.threads/schedlock.c: New file.
1206 * gdb.threads/schedlock.exp: New file.
1207
dd039bc4
EZ
12082002-08-22 Elena Zannoni <ezannoni@redhat.com>
1209
1210 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1211 not altivec.c.
1212
1f36144c
MK
12132002-08-17 Mark Kettenis <kettenis@gnu.org>
1214
1215 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1216 targets. The problem should be fixed now.
1217
16057ec7 12182002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1219
1220 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1221 2002-07-24 change that removes final dots from error messages.
1222
3c1499ad
TT
12232002-08-13 Tom Tromey <tromey@redhat.com>
1224
1225 * gdb.base/readline.exp: New file.
1226
a20ce2c3
AC
12272002-08-01 Andrew Cagney <ac131313@redhat.com>
1228
1229 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1230 supress message.
1231
db034ac5
AC
12322002-08-01 Andrew Cagney <cagney@redhat.com>
1233
1234 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1235 CHILL_FOR_TARGET and CHILL_LIB.
1236 * configure.in (configdirs): Remove gdb.chill.
1237 * configure: Regenerate.
1238 * lib/gdb.exp: Obsolete references to chill.
1239 * gdb.fortran/types.exp: Ditto.
1240 * gdb.fortran/exprs.exp: Ditto.
1241
3e000b18
KB
12422002-07-30 Kevin Buettner <kevinb@redhat.com>
1243
1244 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1245 set Irix-specific compile and link flags.
1246
28f4966b
KB
12472002-07-29 Kevin Buettner <kevinb@redhat.com>
1248
1249 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1250 source files. The ``-o'' option doesn't work with the ``-E'' option
1251 when using the Irix compiler.
1252
46c0d5a6
DJ
12532002-07-19 Daniel Jacobowitz <drow@mvista.com>
1254
1255 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1256 Improve support for reusing an exec file. Copy exec file
1257 to target, and run gdbserver on the target instead of on the host.
1258
eecf4bed
JB
12592002-07-18 Jim Blandy <jimb@redhat.com>
1260
0f815cdf
JB
1261 * gdb.base/ending-run.exp: Don't expect to see the program end in
1262 some orderly fashion when we're running on a real stand-alone
1263 board.
1264
eecf4bed
JB
1265 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1266 targets that don't support interrupts.
1267
52d309e4
JB
12682002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1269
1270 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1271 systems.
1272 Move comments in expect statements to inside the actions, so that they
1273 don't get matched against.
1274
ff683d9e
MK
12752002-07-10 Mark Kettenis <kettenis@gnu.org>
1276
1277 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1278 function when asleep" test.
1279
b5356753
AC
12802002-07-10 Andrew Cagney <ac131313@redhat.com>
1281
1282 * gdb.base/page.exp: Rewrite to handle problems with very long
1283 `info set' output. Update copyright.
1284
6aa4d13a
AC
12852002-06-26 Andrew Cagney <ac131313@redhat.com>
1286
1287 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1288 gdb.threads-hp.
1289 * gdb.hp/configure: Regenerate.
1290 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1291 * gdb.hp/gdb.threads-hp/configure: Delete file.
1292 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1293
8cf8c2b8
AC
12942002-06-22 Andrew Cagney <ac131313@redhat.com>
1295
1296 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1297 setlocale, bindtextdomain and textdomain.
1298
6827a8f8
JB
12992002-06-11 Jim Blandy <jimb@redhat.com>
1300
919d772c
JB
1301 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1302 preprocessor macro information is present.
1303
6827a8f8
JB
1304 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1305 tests.
1306
c15b0d21
MS
13072002-06-06 Michael Snyder <msnyder@redhat.com>
1308
c5984d70
MS
1309 * gdb.base/overlays.exp: Record addresses of overlay
1310 functions in TCL variables rather than in GDB variables,
1311 to avoid having GDB convert them to pointers (with loss
1312 of information).
1313
99a8512b
MS
1314 * gdb.base/d10v.ld: Merge in several years worth of
1315 default linker script changes.
c15b0d21
MS
1316 * gdb.base/long_long.exp: Add check for sizeof (long double).
1317
be26fe0d
ML
13182002-06-06 Michal Ludvig <mludvig@suse.cz>
1319
1320 * gdb.asm/asm-source.exp: Add x86-64 target.
1321 * gdb.asm/x86_64.inc: New.
1322
258093ca 13232002-05-30 Michael Chastain <mec@shout.net>
258093ca 1324
4b3153f1 1325 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1326 * gdb.c++/m-static.cc: New file.
1327 * gdb.c++/m-static.exp: New file.
1328
241264c6
MS
13292002-05-28 Michael Snyder <msnyder@redhat.com>
1330
1331 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1332 precision.
1333
9bba8c8f 13342002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1335
4b3153f1 1336 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1337 * gdb.c++/m-data.cc: New file.
1338 * gdb.c++/m-data.exp: New file.
1339
13402002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1341
4b3153f1 1342 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1343 * gdb.c++/try_catch.cc: New file.
1344 * gdb.c++/try_catch.exp: New file.
1345
def1b996
MC
13462002-05-27 Michael Chastain <mec@shout.net>
1347
1348 * gdb.c++/local.exp: Accept more nested types in output.
1349
522ba268
MC
13502002-05-26 Michael Chastain <mec@shout.net>
1351
1352 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1353
277254ba
MS
13542002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1355
1356 * lib/gdb.exp (gdb_wrapper_init): Just because
1357 gdb_wrapper_file exists, this does not mean that the file
1358 should not be rebuilt. That is what gdb_wrapper_initialized
1359 is for.
1360 (default_gdb_init): Reset gdb_wrapper_initialized.
1361
b61a8733
MS
13622002-05-23 Michael Snyder <msnyder@redhat.com>
1363
5bdb6d01
MS
1364 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1365 the precision of the floating point test results.
1366 * gdb.base/call-rt-st.exp: Ditto.
1367
b61a8733
MS
1368 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1369 * gdb.base/call-rt-st.exp: Ditto.
1370
56f6e910
MC
13712002-05-19 Michael Chastain <mec@shout.net>
1372
1373 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1374
ad0b0016
EZ
13752002-05-19 Elena Zannoni <ezannoni@redhat.com>
1376
1377 * configure.in (configdirs): Add gdb.arch.
1378 * configure: Regenerate.
1379
f617d2b6
JB
13802002-05-17 Jim Blandy <jimb@redhat.com>
1381
1382 * gdb.base/completion.exp: Recognize the more detailed error
1383 messages produced by the macro expander's lexical analyzer.
1384
eac2a696
EZ
13852002-05-14 Elena Zannoni <ezannoni@redhat.com>
1386
1387 * gdb.arch/altivec-abi.c: New file.
1388 * gdb.arch/altivec-abi.exp: New file.
1389 * gdb.arch/altivec-regs.c: New file.
1390 * gdb.arch/altivec-regs.exp: New file.
1391
2fdde8f8
DJ
13922002-05-14 Daniel Jacobowitz <drow@mvista.com>
1393
1394 * gdb.base/maint.exp (maint print type): Update for new type
1395 structure.
eac2a696 1396
e31f1a7c
EZ
13972002-05-14 Elena Zannoni <ezannoni@redhat.com>
1398
1399 * gdb.arch: New directory.
1400 * gdb.arch/configure.in: New file.
1401 * gdb.arch/configure: New file.
1402 * gdb.arch/Makefile.in: New file.
1403
db589741
CV
14042002-05-13 Corinna Vinschen <vinschen@redhat.com>
1405
1406 * gdb.asm/asm-source.exp: Add v850 as supported target.
1407 * gdb.asm/v850.inc: New file.
1408
8ce2a7dc
DJ
14092002-05-13 Daniel Jacobowitz <drow@mvista.com>
1410
1411 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1412
df763c7f
DJ
14132002-05-12 Daniel Jacobowitz <drow@mvista.com>
1414
1415 * gdb.base/break.exp: Check 'break "marker2"'.
1416
377daeed
MS
14172002-05-10 Michael Snyder <msnyder@redhat.com>
1418
1419 * gdb.base/long_long.exp: Fix typo.
1420
c4b7bc2b
JB
14212002-05-10 Jim Blandy <jimb@redhat.com>
1422
ecac9a4e
JB
1423 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1424 a bug.
1425
c4b7bc2b
JB
1426 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1427 Recognize more detailed error message produced by the macro
1428 expander's lexical analyzer.
1429 * lib/gdb.exp (test_print_reject): Same.
1430
e71019a1
MK
14312002-05-09 Mark Kettenis <kettenis@gnu.org>
1432
1433 * gdb.c++/method.exp: Fix typo.
1434
fedfc8e6
MS
14352002-05-08 Michael Snyder <msnyder@redhat.com>
1436
166a1957
MS
1437 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1438 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1439 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1440 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1441 Add iftarget clause for strongarm.
1442
f1c47eb2
MS
14432002-05-06 Michael Snyder <msnyder@redhat.com>
1444
cb9a9d3e
MS
1445 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1446 (gdb_continue_to_end): Accept output from status wrapper.
1447 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1448 Clean up fail messages to match pass messages.
1449
f1c47eb2
MS
1450 Enable the "needs_status_wrapper" testsuite feature.
1451 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1452 (gdb_compile): Conditionally call gdb_wrapper_init.
1453 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1454 * gdb.c++/method.exp: Recognize output from status wrapper.
1455
6079c749
BE
14562002-05-06 Ben Elliston <bje@redhat.com>
1457From Graydon Hoare <graydon@redhat.com>
1458
1459 * config/sid.exp: Include support for "rawsid" protocol.
1460
188baff3
JB
14612002-05-03 Jim Blandy <jimb@redhat.com>
1462
1463 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1464 * gdb.c++/hang3.C: New file.
1465
b9c07f0f
AC
14662002-05-04 Andrew Cagney <ac131313@redhat.com>
1467
1468 * gdb.base/default.exp: Remove obsolete code.
1469 * gdb.c++/misc.exp: Ditto. Update copyright.
1470 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1471 * gdb.base/whatis.exp: Ditto. Update copyright.
1472 * gdb.base/scope.exp: Ditto. Update copyright.
1473 * gdb.base/ptype.exp: Ditto. Update copyright.
1474 * gdb.base/printcmds.exp: Ditto. Update copyright.
1475 * gdb.base/opaque.exp: Ditto. Update copyright.
1476 * gdb.base/list.exp: Ditto.
1477 * gdb.base/funcargs.exp: Ditto. Update copyright.
1478 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1479 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1480 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1481 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1482 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1483 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1484
5c7a0397
MS
14852002-05-02 Michael Snyder <msnyder@redhat.com>
1486
d6dcc264 1487 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1488 * gdb.base/long_long.exp: Add xscale target.
1489 * gdb.base/default.exp: Add xscale target.
1490
eb7f1c48
JB
14912002-05-01 Jim Blandy <jimb@redhat.com>
1492
1493 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1494 gdb.c++/hang.exp: New test.
1495
a6befae8
FF
14962002-05-01 Fred Fish <fnf@redhat.com>
1497
1498 * gdb.base/completion.exp: Handle completions of "./Make" for
1499 more than one completion possibility, as is the case when we
1500 build and test in the source tree.
1501
0a310277
AG
15022002-04-29 Anthony Green <green@redhat.com>
1503
1504 * gdb.java/jmisc1.exp: New file.
1505 * gdb.java/jmisc2.exp: New file.
1506
6ff9af88
DJ
15072002-04-24 Daniel Jacobowitz <drow@mvista.com>
1508
1509 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1510
96b3d632
EZ
15112002-04-23 Elena Zannoni <ezannoni@redhat.com>
1512
1513 * gdb.base/help.exp: Change 'help status' to allow for target
1514 dependent output differences.
1515
5019bb54
MC
15162002-04-22 Michael Chastain <mec@shout.net>
1517
1518 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1519
a805a116
MC
15202002-04-22 Michael Chastain <mec@shout.net>
1521
1522 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1523
a1706bfd
DM
15242002-04-17 David S. Miller <davem@redhat.com>
1525
1526 * gdb.asm/sparc64.inc: New file.
1527 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1528
a73a20a2
EZ
15292002-04-19 Elena Zannoni <ezannoni@redhat.com>
1530
1531 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1532 instruction file directly into the build tree. Clean up at end of
1533 test.
1534
ba678339
DM
15352002-04-18 David S. Miller <davem@redhat.com>
1536
1537 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1538 handle 64-bit platforms correctly.
1539 * gdb.base/maint.exp: Likewise.
1540
b03399da
KB
15412002-04-18 Kevin Buettner <kevinb@redhat.com>
1542
1543 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1544 ``-fpic'' when compiling files comprising a shared library, but
1545 it does need additional linker flags in order to find shared
1546 libraries at run time.
1547
e2004992
KB
15482002-04-18 Kevin Buettner <kevinb@redhat.com>
1549
1550 * gdb.base/cvexpr.c (use): New function.
1551 (main): Invoke use() on all global variables to prevent
1552 some linkers from deleting these otherwise unused symbols.
1553
d8937120
MC
15542002-04-17 Michael Chastain <mec@shout.net>
1555From David S. Miller <davem@redhat.com>
1556
1557 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1558 handle 64-bit platforms correctly.
1559
ffd61a58
MS
15602002-04-12 Michael Snyder <msnyder@redhat.com>
1561From Jim Blandy <jimb@redhat.com>
1562 * gdb.base/foo.c (foox): Remove section attribute; the linker
1563 script can handle this instead.
1564 * gdb.base/bar.c (barx): Same.
1565 * gdb.base/baz.c (bazx): Same.
1566 * gdb.base/grbx.c (grbxx): Same.
1567
1568 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1569 manager doesn't automatically unmap overlays unnecessarily.
1570
6b8426a6
MH
15712002-04-10 Martin M. Hunt <hunt@redhat.com>
1572
1573 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1574 stepping out of main.
1575
34af4875
MC
15762002-04-09 Michael Chastain <mec@shout.net>
1577
1578 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1579 scope so that the nested scope tests will make sense.
1580 * gdb.c++/local.exp: Write patterns that actually work with gcc
1581 (the HP patterns "were never known to work with gcc").
1582 Keep the old aCC patterns too.
1583
2d1676a0
DJ
15842002-04-09 Daniel Jacobowitz <drow@mvista.com>
1585
1586 * gdb.base/attach.exp: Correct target board test.
1587
3a63e3f9
MC
15882002-04-08 Michael Chastain <mec@shout.net>
1589
1590 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1591 in a const method. Add some xfail and fail cases for configurations
1592 that do not emit the "const ...".
1593
f18dabd2
MC
15942002-04-07 Michael Chastain <mec@shout.net>
1595
1596 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1597 Accept "A * const" and "const A * const" as type of "this".
1598 Fix spelling of getFunky throughout. Make messages uniform.
1599
0fcddd82
EZ
16002002-04-07 Elena Zannoni <ezannoni@redhat.com>
1601
1602 Work around for PR gdb/285:
1603 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1604
16a8534a
EZ
16052002-04-07 Elena Zannoni <ezannoni@redhat.com>
1606
1607 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1608 instructions file at run time instead of configure time.
1609 Sometimes we run the test in a directory that is not the one we
1610 configured in.
1611 * gdb.asm/configure.in: Delete creation of symlink.
1612 * gdb.asm/configure: Regenerate.
1613
24181d81
JB
16142002-04-05 J. Brobecker <brobecker@gnat.com>
1615
1616 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1617 xfullpath () function.
1618
7cdb7107
DJ
16192002-04-04 Daniel Jacobowitz <drow@mvista.com>
1620
1621 * gdb.asm/Makefile.in: Correct dependencies.
1622
1623 * gdb.asm/powerpc.inc: New file.
1624 * gdb.asm/asm-source.exp: Add PowerPC.
1625 * gdb.asm/configure.in: Likewise.
1626 * gdb.asm/configure: Regenerated.
1627
a7d17088
DJ
16282002-04-04 Daniel Jacobowitz <drow@mvista.com>
1629
1630 * gdb.base/relocate.exp: New file.
1631 * gdb.base/relocate.c: New file.
1632
cd721503
FF
16332002-04-04 Fred Fish <fnf@redhat.com>
1634
1635 * gdb.base/step-test.exp: Update comment regarding stopping in
1636 memcpy/bcopy calls inserted as part of the compiler runtime.
1637
b22ad7a7
MS
16382002-04-04 Michael Snyder <msnyder@redhat.com>
1639
1640 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1641
5f279fa6
DJ
16422002-04-03 Daniel Jacobowitz <drow@mvista.com>
1643
1644 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1645 (gdb_expect): Remove $notransfer hack.
1646
dd0fd3ce
DJ
16472002-04-02 Daniel Jacobowitz <drow@mvista.com>
1648
1649 * gdb.c++/classes.exp ("calling method for small class"): Match
1650 updated register output.
1651
1e50cda1
DJ
16522002-03-30 Daniel Jacobowitz <drow@mvista.com>
1653
1654 Fix PR gdb/452
1655 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1656 when finished. Make gdb_file_cmd send "exec-file" when
1657 appropriate.
1658
24015922
DJ
16592002-03-30 Daniel Jacobowitz <drow@mvista.com>
1660
1661 * gdb.base/attach.exp: Remove extra setup_xfail.
1662
dd7dfd64
MS
16632002-03-26 Michael Snyder <msnyder@redhat.com>
1664
1665 * gdb.base/default.exp: Add tests for dump, append, and restore.
1666 * gdb.base/help.exp: Add tests for dump, append, and restore.
1667 * gdb.base/dump.exp: New file, test dump, append and restore.
1668 * gdb.base/dump.c: New file.
1669
48b2f8d7
MS
16702002-03-27 Michael Snyder <msnyder@redhat.com>
1671
1672 * gdb.base/help.exp: Modify expect strings to reflect
1673 clean-ups in help messages.
1674
05b4d525
FF
16752002-03-26 Fred Fish <fnf@redhat.com>
1676
1677 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1678 have debugging info for those functions and the compiler uses them
1679 internally to copy structs around.
1680
d7679631
FF
16812002-03-26 Fred Fish <fnf@redhat.com>
1682
1683 * gdb.base/list.exp: Revert the change made yesterday and add note
1684 about why we don't list the default lines for remote targets.
1685
523ac3f9
MS
16862002-03-25 Michael Snyder <msnyder@redhat.com>
1687
1688 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1689
754b2b8d
FF
16902002-03-25 Fred Fish <fnf@redhat.com>
1691
1692 * gdb.base/list.exp: This test works on remote targets so remove
1693 the short circuit for remote targets. Update copyright.
1694
33c3e192
FF
16952002-03-25 Fred Fish <fnf@redhat.com>
1696
1697 * gdb.base/attach.exp: Fix logic error that was suppressing this
1698 test for all non hppa*-*-hpux* targets, instead of the hp target.
1699 Move comments closer to the suppression point. Also now need to
1700 check that we are running natively.
1701
d43e73ee
MS
17022002-03-22 Michael Snyder <msnyder@redhat.com>
1703
882c8f02
MS
1704 * gdb.base/default.exp: Add test for gcore. Update copyright.
1705 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1706
04c12f60
FF
17072002-03-06 Fred Fish <fnf@redhat.com>
1708
1709 * gdb.base/funcargs.c: Remove extraneous ';' character.
1710 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1711
b43df995
MC
17122002-03-04 Michael Chastain <mec@shout.net>
1713
1714 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1715 accommodate gcc v3 function signature.
1716 * gdb.mi/mi0-var-cmd-exp: Ditto.
1717
92362027
AC
17182002-02-24 Andrew Cagney <ac131313@redhat.com>
1719
1720 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1721 ``GNU/Linux'' or ``Linux kernel''
1722 * testsuite/gdb.threads/pthreads.c: Ditto.
1723
258ad32d
MC
17242002-02-24 Michael Chastain <mec@shout.net>
1725
1726 * gdb.threads/pthreads.c (thread1): Add a return statement.
1727 (thread2): Likewise.
1728 (foo): Likewise.
1729
04c3b3d4
MC
17302002-02-23 Michael Chastain <mec@shout.net>
1731
1732 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1733 to placate gcc.
1734
5a2a0a20
MC
17352002-02-23 Michael Chastain <mec@shout.net>
1736
1737 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1738 test "ptype bint". The test passes on all my stabs configurations.
1739
a640f7fc
JB
17402002-02-21 Jim Blandy <jimb@redhat.com>
1741
27924826
JB
1742 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1743 filename at a time, and watch for the ones we want to see.
1744
a640f7fc
JB
1745 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1746 types of pointers to prototyped functions.
1747
edcc8c75
AC
17482002-02-20 Andrew Cagney <ac131313@redhat.com>
1749
1750 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1751 signed, unsigned and straight char.
1752 (padding_char, padding_short, padding_int, padding_long,
1753 padding_long_long, padding_float, padding_double,
1754 padding_long_double): New global variables.
1755 (fill, fill_structs): New functions.
1756
1757 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1758 for correctly sized writes. Update copyright.
1759 (get_valueof): New procedure.
1760 (get_sizeof): Call get_valueof.
1761 (check_valueof): New procedure.
1762 (check_padding): New procedure.
1763
ac57ea44
MC
17642002-02-20 Michael Chastain <mec@shout.net>
1765
1766 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1767 to setup_xfail. Document some of the remaining calls.
1768
7a10c941
MC
17692002-02-18 Michael Chastain <mec@shout.net>
1770
1771 * gdb.c++/userdef.exp: Update copyright year.
1772
fb8acdcc
DJ
17732002-02-18 Daniel Jacobowitz <drow@mvista.com>
1774
1775 * gdb.c++/userdef.exp: Test overloaded operators properly.
1776 Remove xfails.
1777
fda6ae12
MS
17782002-02-14 Michael Snyder <msnyder@redhat.com>
1779
1780 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1781
676a0442
DJ
17822002-02-14 Daniel Jacobowitz <drow@mvista.com>
1783
1784 * gdb.base/a2-run.exp: Check for a remote target properly.
1785 * gdb.base/annota1.exp: Likewise.
1786 * gdb.base/list.exp: Likewise.
1787 * gdb.base/reread.exp: Likewise.
1788 * gdb.base/scope.exp: Likewise.
1789 * gdb.base/shlib-call.exp: Likewise.
1790 * gdb.base/term.exp: Likewise.
1791 * gdb.c++/annota2.exp: Likewise.
1792
78b4f468
RE
17932002-02-13 Richard Earnshaw <rearnsha@arm.com>
1794
1795 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1796
9a81ba51
MC
17972002-02-10 Michael Chastain <mec@shout.net>
1798
1799 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1800 (call_after_alloca): Ditto.
1801
004af6c7
DJ
18022002-02-10 Daniel Jacobowitz <drow@mvista.com>
1803
1804 * gdb.base/ending-run.exp: Guard "cont" test with
1805 gdb_skip_stdio_test.
1806
37225f62
JB
18072002-02-06 Jim Blandy <jimb@redhat.com>
1808
1809 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1810 from here...
1811 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1812 To here. Disable this test on non-HP platforms. Add big comment.
1813
fe6fdd96
MS
18142002-02-04 Michael Snyder <msnyder@redhat.com>
1815
1816 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1817 other than d10v and m32r.
1818
036fad3f
RE
18192002-02-02 Richard Earnshaw <rearnsha@arm.com>
1820
1821 * gdb.base/default.exp: Rewrite test patterns to reduce time
1822 taken to match them.
1823
7148ab62
DJ
18242002-01-30 Daniel Jacobowitz <drow@mvista.com>
1825
1826 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1827 Allow a start function above main.
1828 * gdb.threads/linux-dp.exp: Fix copyright date.
1829
396cc255
DJ
18302002-01-30 Daniel Jacobowitz <drow@mvista.com>
1831
1832 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1833 (check_philosopher_stack): Check for manager thread before checking
1834 for a just-starting thread.
1835
f038d31b
DJ
18362002-01-30 Daniel Jacobowitz <drow@mvista.com>
1837
1838 From Neil Booth <neil@daikokuya.demon.co.uk>:
1839 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1840 warnings.
1841
b3ff9d9a
FF
18422002-01-21 Fred Fish <fnf@redhat.com>
1843
1844 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1845 not caller.
1846
39ad761d
JB
18472002-01-21 Jim Blandy <jimb@redhat.com>
1848
1849 * gdb.base/reread.exp: Check that GDB properly re-reads the
1850 executable file when it changes while no inferior is running.
1851
aaf320fa
FF
18522002-01-21 Fred Fish <fnf@redhat.com>
1853
1854 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1855 optionally accept the "shlib events" variation.
1856
808a31f5
JB
18572002-01-21 Jim Blandy <jimb@redhat.com>
1858
1859 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1860 call `fflush' after every `printf', so that the output is produced
1861 at predictable points, regardless of whatever buffering does (or
1862 doesn't) take place.
1863 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1864 at different points.
1865
4420d5e2
DJ
18662002-01-20 Daniel Jacobowitz <drow@mvista.com>
1867
1868 * gdb.c++/inherit.exp: Update copyright years.
1869 * gdb.c++/method.exp: Likewise.
1870
3e36a0f4
DJ
18712002-01-20 Daniel Jacobowitz <drow@mvista.com>
1872
1873 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1874 artificial methods/arguments.
1875 * gdb.c++/derivation.exp: Likewise.
1876 * gdb.c++/inherit.exp: Likewise.
1877 * gdb.c++/method.exp: Likewise.
1878 * gdb.c++/virtfunc.exp: Likewise.
1879
b4ceaee6
AC
18802002-01-18 Andrew Cagney <ac131313@redhat.com>
1881
1882 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1883 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1884 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1885 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1886 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1887 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1888
ecace851
JB
18892002-01-17 Jim Blandy <jimb@redhat.com>
1890
1891 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1892 anchoring the pattern matching the entry point symbol's name.
1893
375fc983
AC
18942002-01-17 Andrew Cagney <ac131313@redhat.com>
1895
1896 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1897 continue/quit query. Update copyright.
1898
fe6fdd96
MS
18992002-01-14 Michael Snyder <msnyder@redhat.com>
1900
1901 * gdb.base/gcore.exp: Remove extra debugging output.
1902
e017c81f
DJ
19032002-01-13 Daniel Jacobowitz <drow@mvista.com>
1904
1905 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1906 for slightly dubious v2 mangled string.
1907
37ab3bf8
DJ
19082002-01-13 Daniel Jacobowitz <drow@mvista.com>
1909
1910 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1911
1bc05c3a 19122002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1913
1bc05c3a 1914 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1915
1bc05c3a
JM
1916 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1917 constructors.
1918 * gdb.c++/derivation.exp: Likewise.
1919 * gdb.c++/templates.exp: Likewise.
1920 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1921
1bc05c3a
JM
19222002-01-10 Michael Snyder <msnyder@redhat.com>
1923
1924 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1925
a911c360
MS
19262002-01-08 Michael Snyder <msnyder@redhat.com>
1927
1928 * gdb.base/gcore.exp: New test for generate-core-file command.
1929 * gdb.base/gcore.c: Testcase for above.
1930 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1931
ea2119ec
JM
19322002-01-08 Jason Merrill <jason@redhat.com>
1933
1934 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1935
68203136
FF
19362002-01-07 Fred Fish <fnf@redhat.com>
1937
1938 * gdb.c++/overload.exp: Remove unconditional xfails for:
1939 print foo_instance1.overloadargs(1)
1940 print foo_instance1.overloadargs(1, 2)
1941 print foo_instance1.overloadargs(1, 2, 3)
1942 print foo_instance1.overloadargs(1, 2, 3, 4)
1943 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1944 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1945 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1946 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1947 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1948 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1949 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1950 print foo_instance1.overload1arg()
1951 print foo_instance1.overload1arg((char)arg2)
1952 print foo_instance1.overload1arg((signed char)arg3)
1953 print foo_instance1.overload1arg((unsigned char)arg4)
1954 print foo_instance1.overload1arg((int)arg7)
1955 print foo_instance1.overload1arg((unsigned int)arg8)
1956 print foo_instance1.overload1arg((float)arg11)
1957 print foo_instance1.overload1arg((double)arg12)
1958
21b9b5b1
MS
19592002-01-07 Michael Snyder <msnyder@redhat.com>
1960
1961 * gdb.base/huge.exp: New test. Print a very large target data object.
1962 (skip_huge_test): New test variable. Define if you want to skip this
1963 test. The test reads an 8 megabyte data object from the target, so it
1964 might be very time consuming on remote targets with a slow connection.
1965 * gdb.base/huge.c: New file. Test case for above.
1966
725f922e
FF
19672002-01-07 Fred Fish <fnf@redhat.com>
1968
1969 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1970 g_instance.bfoo, and g_instance.cfoo.
1971
634d57ec
JL
1972Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1973
f286b2c3
JL
1974 * gdb.base/break.c (multi_line_if_conditional): New function.
1975 (multi_ilne_while_conditional): Likewise.
1976 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1977 IF or WHILE condition puts the breakpoint at the start of
1978 the condition.
1979
634d57ec
JL
1980 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1981 hppa*-*-hpux* expected failure.
1982 * gdb.base/structs.exp (do_function_calls): Similarly.
1983
1984 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1985 watchpoints.
1986
9fbfe2dc
AC
19872002-01-06 Andrew Cagney <ac131313@redhat.com>
1988
1989 Fix PR gdb/66.
1990 * gdb.base/structs.exp: Replace skip for a29k with skip for
1991 gdb,cannot_call_functions.
1992 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1993 * gdb.base/callfuncs.exp: Ditto.
1994 * gdb.base/call-rt-st.exp: Ditto.
1995 * gdb.base/call-strs.exp: Ditto.
1996 * gdb.base/callfwmall.exp: Ditto.
1997 * gdb.base/scope.exp: Obsolete xfail a29k.
1998 * gdb.c++/misc.exp: Ditto.
1999 * gdb.c++/cplusfuncs.exp: Ditto.
2000 * gdb.base/ptype.exp: Ditto.
2001 * gdb.base/printcmds.exp: Ditto.
2002 * gdb.base/opaque.exp: Ditto.
2003 * gdb.base/list.exp: Ditto.
2004 * gdb.base/funcargs.exp: Ditto.
2005 * gdb.base/default.exp: Ditto.
2006
8ddad156
MS
20072002-01-04 Michael Snyder <msnyder@redhat.com>
2008
ca4976a6 2009 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2010 * gdb.base/maint.exp: Add tests for maint info sections options.
2011
1b074332
JL
2012Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2013
2014 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2015
7d159115
CV
20162001-12-20 Corinna Vinschen <vinschen@redhat.com>
2017
2018 * gdb.asm/arm.inc: New file.
2019 * gdb.asm/asm-source.exp: Add arm targets.
2020 * gdb.asm/configure.in: Ditto.
2021 * gdb.asm/configure: Recreated from configure.in.
2022
8fb87725
JL
2023Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2024
afabe08c
JL
2025 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2026 with HP's compiler.
2027 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2028 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2029 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2030 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2031
2032 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2033 either HP's compilers or GCC.
2034
db521deb
JL
2035 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2036 a SIGBUS or SIGSEGV.
2037
2038 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2039
2040 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2041 can be compiled with either HP's compiler or GCC.
2042
cfa88ab7
JL
2043 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2044 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2045 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2046
ca344dff
JL
2047 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2048 to match current gdb output. Update due to using auto-solib-limit
2049 for limiting instead of overloading auto-solib-add.
2050 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2051 test program.
2052
3f3c6e55 2053 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2054 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2055 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2056 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2057 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2058 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2059 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2060 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2061 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2062 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2063 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2064 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2065 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2066
8fb87725
JL
2067 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2068 a SIGTRAP to the inferior.
2069
cf599fa7
CV
20702001-12-19 Corinna Vinschen <vinschen@redhat.com>
2071
2072 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2073 Substitute call to target_link by call to gdb_compile.
2074
2cd045cd
JL
2075Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2076
2077 * gdb.base/break.exp: Fix HP specific search string when testing
2078 backtracing in a called function.
2079
2080 * gdb.base/constvars.exp: Only set lang to C++ if we're
2081 compiling the test with HP's compilers.
2082 * gdb.base/volatile.exp: Similarly.
2083
99ebe9ac
JB
20842001-12-19 Jim Blandy <jimb@redhat.com>
2085
2086 * gdb.base/printcmds.exp: Expect the null character to be printed
2087 as '\0', and the '\013' to be printed as '\v'.
2088 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2089 * gdb.base/setvar.exp: Same.
2090
b9891b29
JB
20912001-12-17 Jim Blandy <jimb@redhat.com>
2092
0eba65ab
JB
2093 * gdb.base/completion.exp: Rather than completing very long
2094 filenames, which can make the readline library produce output we
2095 don't recognize, cd to the directory first, and then complete
2096 using nice, short relative paths.
2097
6970b5b1
JB
2098 * gdb.base/completion.exp: On some systems, there is, in fact, a
2099 variable named `b' in scope, since GDB treats all static
2100 variables as being in scope. So use `no_var_named_this'
2101 instead of `b'.
2102
b9891b29
JB
2103 * gdb.base/corefile.exp: Recognize the message saying that GDB
2104 can't find the core file's registers as a failure.
2105
e6ccd35f
JSC
21062001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2107
2108 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2109 test expect string more specific.
2110
105ba819
CV
21112001-12-13 Corinna Vinschen <vinschen@redhat.com>
2112
2113 * gdb.asm/asm-source.exp: Add support for xstormy16.
2114 * gdb.asm/configure.in: Ditto.
2115 * gdb.asm/configure: Rebuild.
2116 * gdb.asm/xstormy16.inc: New file.
2117
e9e79dd9
FF
21182001-12-10 Fred Fish <fnf@redhat.com>
2119
2120 * gdb.base/maint.exp: Update to match changes in type dumping code.
2121
347dc97d
JB
21222001-12-10 Jim Blandy <jimb@redhat.com>
2123
2124 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2125 matching the entry point symbol's name at the beginning of the
2126 line.
2127
5178b9d6
DJ
21282001-12-07 Daniel Jacobowitz <drow@mvista.com>
2129
2130 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2131 gdb.c++/inherit.exp, gdb.c++/method.exp,
2132 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2133 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2134 and class layout support.
2135
af890c52
DJ
21362001-12-07 Daniel Jacobowitz <drow@mvista.com>
2137
2138 * gdb.c++/classes.exp: Add test for static member function.
2139 * gdb.c++/misc.cc: Add class with static member function.
2140
7a345fb3
JB
21412001-12-07 Jim Blandy <jimb@redhat.com>
2142
f2e54a80 2143 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2144 those tests as `unsupported'.
2145 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2146 Rewrite subsequent tests to use it.
2147
2148 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2149 those tests as `unsupported'.
2150 * gdb.base/structs.exp (call_struct_func): New function.
2151 (do_function_calls): Use call_struct_func to call the functions
2152 returning structs.
2153
0bc69509
JB
2154 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2155 whether functions are prototyped or not, so we can't possibly pass
2156 arguments to t_float_values2 properly.
2157
7a345fb3
JB
2158 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2159 value of `timeout' for targets other than the mips*tx39-*.
2160
edb6ede1
MS
21612001-12-06 Michael Snyder <msnyder@redhat.com>
2162
2163 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2164 and detect whether the start symbol has a leading underscore.
2165
2d842f13
JB
21662001-12-04 Jim Blandy <jimb@redhat.com>
2167
2168 * gdb.base/completion.exp: Clarify indentation.
2169
68550daf
JB
21702001-12-03 Jim Blandy <jimb@redhat.com>
2171
2172 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2173 variables on the S/390, not `.word'.
2174
cd5195a8
JB
21752001-11-30 Jim Blandy <jimb@redhat.com>
2176
2177 Add assembly-source tests for s390-ibm-linux.
2178 * gdb.asm/s390.inc: New file.
2179 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2180 the S/390 architecture.
2181 * gdb.asm/configure: Regenerated.
2182
ca9efc90
MS
21832001-11-30 Michael Snyder <msnyder@redhat.com>
2184
2185 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2186 next, info source, info sources, info line, global and static
2187 variables, and static functions.
2188 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2189 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2190 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2191 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2192 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2193 (gdbasm_leave): Restore frame pointer.
2194 (gdbasm_startup): Copy stack set-up from crt0.S.
2195
d0e66976
FN
21962001-11-26 Fernando Nasser <fnasser@redhat.com>
2197
2198 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2199 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2200 to a local (non-static) variable. Copy tstruct.a to a static buffer
2201 and return a pointer to that buffer.
2202 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2203
e2334072
MK
22042001-11-24 Mark Kettenis <kettenis@gnu.org>
2205
2206 * gdb.asm/configure.in: Fix recognition of ix86 target.
2207 * gdb.asm/configure: Regenerate.
2208
756caa3d
MS
22092001-11-21 Michael Snyder <msnyder@redhat.com>
2210
2211 * gdb.asm/sparc.inc: New file.
2212 * gdb.asm/asm-source.exp: Recognize sparc target.
2213 * gdb.asm/configure.in: Recognize sparc target.
2214 * gdb.asm/configure: Regenerate.
2215
9a4d72d5
MS
22162001-11-21 Michael Snyder <msnyder@redhat.com>
2217
2218 * gdb.asm/m32r.inc: New file.
2219 * gdb.asm/asm-source.exp: Recognize m32r target.
2220 * gdb.asm/configure.in: Recognize m32r target.
2221 * gdb.asm/configure: Regenerate.
2222
a773d1cd
MS
22232001-11-20 Michael Snyder <msnyder@redhat.com>
2224
017ac23d
MS
2225 * gdb.asm/i386.inc: New file.
2226 * gdb.asm/asm-source.exp: Recognize ix86 target.
2227 * gdb.asm/configure.in: Recognize ix86 target.
2228 * gdb.asm/configure: Regenerate.
2229
a773d1cd
MS
2230 * gdb.c++/namespace.exp: Fix quotes in output messages.
2231
bb632afb
MS
22322001-11-14 Michael Snyder <msnyder@redhat.com>
2233
25d559ca 2234 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2235 qualifier in a type cast expression, to designate an address
2236 in the instruction space (Harvard architecture).
2237
4749e309
MS
22382001-11-13 Michael Snyder <msnyder@redhat.com>
2239
2240 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2241 Tests for expressions using 'const' and 'volatile'.
2242
25050984
CV
22432001-11-13 Corinna Vinschen <vinschen@redhat.com>
2244
2245 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2246
1902c51f
DJ
22472001-11-12 Daniel Jacobowitz <drow@mvista.com>
2248
2249 * lib/mi-support.exp (mi_run_to_helper): Move comments
2250 outside of gdb_expect.
2251
dcf95b47
DJ
22522001-11-11 Daniel Jacobowitz <drow@mvista.com>
2253
2254 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2255 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2256 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2257 mi0_run_to): New functions.
2258 * gdb.mi/mi-simplerun.exp: Use them.
2259 * gdb.mi/mi0-simplerun.exp: Likewise.
2260 * gdb.mi/mi-var-cmd.exp: Likewise.
2261 * gdb.mi/mi0-var-cmd.exp: Likewise.
2262
45b074e1
AC
22632001-11-10 Andrew Cagney <ac131313@redhat.com>
2264
2265 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2266 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2267
bf50d346
AC
22682001-11-09 Andrew Cagney <ac131313@redhat.com>
2269
2270 * gdb.base/restore.exp: Include $expected value in restored test
2271 message.
2272
9383332c
AC
22732001-11-09 Andrew Cagney <ac131313@redhat.com>
2274
2275 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2276 implemented.
2277
db62520a
MS
22782001-11-08 Michael Snyder <msnyder@redhat.com>
2279
2280 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2281 Add pass/fail message for stop at breakpoint in call dummy function.
2282
b5703437
MS
22832001-11-07 Michael Snyder <msnyder@redhat.com>
2284
760f6330
MS
2285 * gdb.c++/templates.exp (test_template_breakpoints):
2286 If we get an overload menu, but it does not match what
2287 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2288 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2289 making the whitespace optional. Argument for "new" may be
2290 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2291 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2292 making the whitespace optional. Also replace "(void) with
2293 "((void|)), making the keyword "void" optional.
63f50499
MS
2294 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2295 making the whitespace optional. Also replace "(void) with
2296 "((void|)), making the keyword "void" optional.
3bf40917
MS
2297 * gdb.base/callfuncs.c (t_float_values): This function must
2298 _not_ be prototyped, and the following function (t_float_values2)
2299 must be prototyped (if the compiler supports it), so that GDB
2300 can be tested against both cases. Usually one case involves
2301 promotion of float to double, while the other does not.
2302 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2303 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2304 includes a stack frame for "start".
2305
c8ab4e6d
JB
23062001-11-05 Jim Blandy <jimb@redhat.com>
2307
2308 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2309 pointers are 32 bits long, and that offsets of relocs are always
2310 stored in the data (REL-style), and not in the reloc entry itself
2311 (RELA-style).
2312 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2313 stabs.
2314
3f08ced9
MS
23152001-11-01 Michael Snyder <msnyder@redhat.com>
2316
2317 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2318 and regular expression operators by using quoting.
2319
cbfa24cd
MS
23202001-10-31 Michael Snyder <msnyder@redhat.com>
2321
2322 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2323 depending on what the symbol table contains.
2324 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2325 the output of the ptype command. Similarly, accept both "const &"
2326 and "const&".
2327
aaa68313
CV
23282001-10-31 Corinna Vinschen <vinschen@redhat.com>
2329
2330 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2331 symbol `STORAGE' to allow to choose the storage class of
2332 the local datastructures.
2333 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2334 compiler directive.
2335
91740388
MS
23362001-10-30 Michael Snyder <msnyder@redhat.com>
2337
2338 * gdb.base/jump.exp: Allow it to run for all targets.
2339
1b7c05e7
CV
23402001-10-29 Corinna Vinschen <vinschen@redhat.com>
2341
2342 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2343 with new double_array size.
2344 (main): Change storage class of all local variables to static.
2345 Reduce size of double_array to 9.
2346 * gdb.base/call-ar-st.exp: Increase timeout value.
2347 Change expected output for double array to match new size in
2348 call-ar-st.c.
2349
36a22261
CV
23502001-10-29 Corinna Vinschen <vinschen@redhat.com>
2351
2352 * gdb.base/ending-run.exp: Create identical output when passing
2353 `step to end of run' case. Add regular expression branch satisfying
2354 Stormy16 target.
2355
92b8ae91
MK
23562001-10-28 Mark Kettenis <kettenis@gnu.org>
2357
2358 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2359 that we catch the expected failure under Linux/x86.
2360
cb135b83
OF
23612001-10-29 Orjan Friberg <orjanf@axis.com>
2362
2363 * gdb.base/setvar.exp: Escape curly braces.
2364 * gdb.stabs/weird.exp: Ditto.
2365
6884aa54
DJ
23662001-10-27 Daniel Jacobowitz <drow@mvista.com>
2367
2368 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2369 * gdm.mi/mi0-hack-cli.exp: Likewise.
2370
0398c9aa
AC
23712001-10-25 Andrew Cagney <ac131313@redhat.com>
2372
2373 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2374 messages.
2375
d20bf2e8
AC
23762001-10-21 Andrew Cagney <ac131313@redhat.com>
2377
2378 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2379 checking MI enabled.
2380
03dd63aa
CV
23812001-10-09 Corinna Vinschen <vinschen@redhat.com>
2382
2383 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2384
1d9d99f3
FCE
23852001-10-04 Frank Ch. Eigler <fche@redhat.com>
2386
2387 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2388 if gdb child process crashes, just signal an error.
2389
838ae6c4
JB
23902001-10-02 Jim Blandy <jimb@redhat.com>
2391
2392 * lib/gdb.exp (test_xfail_format): Simplify.
2393
2394 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2395 front of the variable name `format'. Simplify `if'.
2396
8f0cbc1c
DJ
23972001-10-01 Daniel Jacobowitz <drow@mvista.com>
2398
2399 * gdb.threads/pthreads.exp: Wait for output and delay
2400 before sending ^C.
2401
1f08dafd
DJ
24022001-10-01 Daniel Jacobowitz <drow@mvista.com>
2403
2404 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2405 some incorrect output instead of timing out.
2406 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2407
674f90ff
CV
24082001-09-28 Corinna Vinschen <vinschen@redhat.com>
2409
2410 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2411 check to allow additional `int'.
2412
9b284272
DJ
24132001-09-27 Daniel Jacobowitz <drow@mvista.com>
2414
2415 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2416 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2417
b55a4771
MS
24182001-09-27 Michael Snyder <msnyder@redhat.com>
2419
2420 * lib/gdb.exp (test_debug_format): New proc.
2421 (setup_xfail_format): Use new proc test_debug_format.
2422 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2423 proc; use new service proc test_debug_format.
2424 Replace all other "gcc_compiled" tests with this test.
2425 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2426 proc; use new service proc test_debug_format.
2427 Replace all other "gcc_compiled" tests with this test.
2428
24292001-09-27 Michael Snyder <msnyder@redhat.com>
2430
2431 * gdb.base/cvexpr.exp: New file.
2432 * gdb.base/cvexpr.c: New file
2433 Test for expressions using const and volatile keywords.
2434
4e6667ac
CV
24352001-09-26 Corinna Vinschen <vinschen@redhat.com>
2436
2437 * gdb.base/constvars.exp: Check for different orders of keywords
2438 and additional "int" strings in output.
2439
4f337972
AC
24402001-09-22 Andrew Cagney <ac131313@redhat.com>
2441
2442 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2443 responses from "help maint".
2444
2015650d
FCE
24452001-09-19 Frank Ch. Eigler <fche@redhat.com>
2446
2447 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2448 to localhost:NNN instead of :NNN, in case Xvfb is listening
2449 only on TCP.
2450
f3bcedc1
CV
24512001-09-19 Corinna Vinschen <vinschen@redhat.com>
2452
2453 * gdb.base/recurse.exp: When checking leaving the watchpoint
2454 scope, recognize when gdb is in function's epilogue and pass.
2455
6b819c92
KS
24562001-09-18 Keith Seitz <keiths@redhat.com>
2457
2458 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2459 support for running tests against sid targets.
2460 (gdbtk_done): Ditto.
2461
a10c9419
CV
24622001-09-18 Corinna Vinschen <vinschen@redhat.com>
2463
2464 * gdb.base/ending-run.c (main): Set stdout buffersize
2465 to the same reasonable value for any target.
2466 * gdb.base/ending-run.exp: Add a regular expression
2467 to make testsuite happy on Sanyo Stormy16 target.
2468
739d0d99
CV
24692001-09-17 Corinna Vinschen <vinschen@redhat.com>
2470
2471 * gdb.base/display.c (do_loops): Add float variable `f'.
2472 Increment f in loop.
2473 * gdb.base/display.exp: Increment timeout by 60 seconds.
2474 Change float display test to use variable `f'.
2475
1b8947f0
JB
24762001-09-17 Jim Blandy <jimb@redhat.com>
2477
2478 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2479 overflowing the limited breakpoint tables on some ROM monitors
2480 (like the ROM68K).
2481
9890ac81
FCE
24822001-09-15 Frank Ch. Eigler <fche@redhat.com>
2483
2484 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2485 the "-ac" (disable access control) flag.
2486
6db765ea
JH
24872001-08-30 Jeff Holcomb <jeffh@redhat.com>
2488
2489 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2490 ints.
2491
4c32cc04
KS
24922001-08-30 Keith Seitz <keiths@redhat.com>
2493
2494 * lib/gdb.exp: Move all insight-related functionality into
2495 separate file.
2496 * lib/insight-support.exp: New file.
2497
8d6e6f81
FCE
24982001-08-29 Frank Ch. Eigler <fche@redhat.com>
2499
2500 * config/sid.exp (sid_start): Never set sid verbosity; disable
2501 expect_background {} that consumed its stdout; tolerate </dev/null.
2502 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2503
6a90e1d0
AC
25042001-08-18 Andrew Cagney <ac131313@redhat.com>
2505
2506 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2507 CLI jump command to start it.
2508 (mi_run_to_main): Fail immediatly when unexpected output.
2509
1759b3c3
AC
25102001-08-18 Andrew Cagney <ac131313@redhat.com>
2511
2512 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2513 beginning of function. Fix PR gdb/191.
2514
61d11d80
FCE
25152001-08-16 Frank Ch. Eigler <fche@redhat.com>
2516
2517 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2518 what to force sid endianness to.
2519
942a4df2
KS
25202001-08-15 Keith Seitz <keiths@redhat.com>
2521
2522 * lib/gdb.exp (gdbtk_start): Don't set environment
2523 variables for TCL_LIBRARY and friends. Insight will
2524 now figure these out for itself.
2525
0521c418
MS
25262001-08-02 Michael Snyder <msnyder@redhat.com>
2527
2528 * gdb.base/completion.exp: Remove the symbol "a64l" from
2529 the expect string; this is target-specific, and not related
2530 to what is being tested.
2531
74a9a58a
DB
25322001-08-02 Dave Brolley <brolley@redhat.com>
2533
2534 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2535
c70819fa
MS
25362001-07-25 Michael Snyder <msnyder@redhat.com>
2537
c2b8fa57
MS
2538 * gdb.base/consecutive.exp: New file. Test stepping over
2539 breakpoints on consecutive instructions.
2540 * gdb.base/consecutive.c: New file.
2541
c70819fa
MS
2542 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2543 curly braces in regular expressions.
2544
2b1a1355
MS
25452001-07-25 Michael Snyder <msnyder@redhat.com>
2546
2547 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2548 legitimate output from stepping out of main.
2549
413eca6f
KS
25502001-07-22 Keith Seitz <keiths@redhat.com>
2551
2552 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2553 the empty string, do not run the tests.
2554
7e5a9322
SC
25552001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2556
2557 * gdb.base/long_long.exp: Detect size of pointer. Take into
2558 account 2-byte pointers when testing for p/a results.
2559
de58f10f
SC
25602001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2561
2562 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2563 and defined to 1K for m68hc11.
2564 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2565 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2566 (sizeof_random_data): New variable to tell the size of the data table;
2567 don't test past this size; always run to main.
2568
d6f5fea1
SC
25692001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2570
2571 * gdb.base/return2.exp: return of long long and double fails for
2572 68HC11; don't execute these tests on that platform.
2573 * gdb.base/return.exp: Return of a double fails for 68hc11.
2574
c477543d
SC
25752001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2576
2577 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2578 tests that print a float.
2579 * call-rt-st.exp: Likewise.
2580
63cf1c79
MK
25812001-07-12 Mark Kettenis <kettenis@gnu.org>
2582
2583 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2584 running this test on Linux.
2585
112f9ab5
MC
25862001-06-24 Michael Chastain <chastain@redhat.com>
2587
2588 * gdb.base/arithmet.exp: Remove some tests to make all test names
2589 unique.
2590
4970cb0f
MS
25912001-07-03 Michael Snyder <msnyder@redhat.com>
2592
2593 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2594 the output of the ptype command.
2595
d85da69f
MS
25962001-07-02 Michael Snyder <msnyder@redhat.com>
2597
4c8a82de
MS
2598 * gdb.base/completion.exp: Don't assume that break.c is the only
2599 source file that may contain functions named "marker".
d85da69f
MS
2600 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2601
8afc772b
AC
26022001-06-28 Andrew Cagney <ac131313@redhat.com>
2603
2604 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2605 of files to delete.
2606
2607 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2608 * gdb.disasm/h8300s.exp: New file.
2609 gdb.disasm/h8300s.s: Likewise.
2610
cff22675
AC
26112001-06-27 Andrew Cagney <ac131313@redhat.com>
2612
2613 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2614 empty breakpoint tables.
2615
68c81b54
AC
26162001-06-25 Andrew Cagney <ac131313@redhat.com>
2617
2618 * lib/mi-support.exp: Update args=... part of stop-reason
2619 patterns. Accept either a list or a tuple.
2620
2dd62704
AC
26212001-06-23 Andrew Cagney <ac131313@redhat.com>
2622
2623 * lib/mi-support.exp: Remove local emacs variable defining
2624 change-log-default-name.
2625
b4127474
MC
26262001-06-22 Michael Chastain <chastain@redhat.com>
2627
2628 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2629 This is operationally compatible with the previous version.
2630
8dbfb380
JB
26312001-06-13 Jim Blandy <jimb@redhat.com>
2632
2633 * lib/gdb.exp (gdb_test): Doc fix.
2634
f2d8c86d
MC
26352001-06-10 Michael Chastain <chastain@redhat.com>
2636
2637 * gdb.base/exprs.exp: Remove a duplicate test.
2638
81564d34
JB
26392001-06-06 Jim Blandy <jimb@redhat.com>
2640
2641 * gdb.base/return2.exp (main): Use values to test float and double
2642 returns that are not NaN's, to avoid being confused by IEEE
2643 comparison rules.
2644
da55addb
MS
26452001-06-04 Michael Snyder <msnyder@redhat.com>
2646
2647 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2648 non-zero if control_c fails. Terminate the test on failure,
2649 rather than wait for 12 more tests to time out.
2650
42c65987
JB
26512001-06-06 Jim Blandy <jimb@redhat.com>
2652
b18bced9
JB
2653 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2654 Don't forget to match the GDB prompt.
2655
42c65987
JB
2656 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2657
5b41e5f0
JB
26582001-06-04 Jim Blandy <jimb@redhat.com>
2659
2660 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2661 command.
2662
015e046f
KB
26632001-05-31 Kevin Buettner <kevinb@redhat.com>
2664
2665 * gdb.base/annota1.exp (info break): Match four or more spaces
2666 after "Address".
2667
fb1ffbbe
MC
26682001-05-31 Michael Chastain <chastain@redhat.com>
2669
2670 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2671 (dm_type_int_star): Likewise.
2672 (dm_type_long_star): Likewise.
2673 (dm_type_void_star): Likewise.
2674
5ea2a32c
KB
26752001-05-29 Kevin Buettner <kevinb@redhat.com>
2676
2677 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2678 to a known value in order to get consistent results regardless
2679 of the setting of INPUTRC or the presence or contents of .inputrc.
2680
ae23c492
MS
26812001-05-24 Michael Snyder <msnyder@redhat.com>
2682
ac55707e
MS
2683 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2684 Don't require that the main thread and the manager thread are the
2685 first in the list.
2686
ae23c492
MS
2687 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2688 debugging. If test fails, issue an "unsupported" not a "fail".
2689
400071f1
JB
26902001-05-24 Jim Blandy <jimb@redhat.com>
2691
2692 Don't assume that short is shorter than int.
2693 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2694 assume that shorts are smaller than ints. On a 16-bit machine,
2695 this isn't true.
2696 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2697 an int, is not equal to ~0 stored in an unsigned char. This tests
2698 the same thing that the previous test meant to, but works on
2699 16-bit machines, too.
2700 ("print unsigned char != (~0)"): Same test, complemented.
2701
0816a3e5
MS
27022001-05-24 Michael Snyder <msnyder@redhat.com>
2703
2704 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2705 test for (full_coverage == 0). This makes the test run faster,
2706 and prevents dejagnu getting out of step.
2707
f6dc23a9
KB
27082001-05-23 Kevin Buettner <kevinb@redhat.com>
2709
2710 * gdb.base/finish.exp (finish_void): Revise pattern for
2711 stopping on the call statement to not permit stopping at
2712 the start of the instructions comprising the call sequence.
2713
7dbd117d
MC
27142001-05-19 Michael Chastain <chastain@redhat.com>
2715
2716 * gdb.base/callfuncs.exp: Make all test names unique.
2717 * gdb.base/commands.exp: Make all test names unique.
2718 * gdb.base/condbreak.exp: Make all test names unique.
2719 * gdb.base/dbx.exp: Make all test names unique.
2720 * gdb.base/default.exp: Make all test names unique.
2721 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2722 and TIMEOUT messages to their corresponding PASS message.
2723 * gdb.base/ending-run.exp: Make all test names unique.
2724 * gdb.base/long_long.exp: Remove duplicate test.
2725
6b0b0a9e
KB
27262001-05-21 Kevin Buettner <kevinb@redhat.com>
2727
2728 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2729 stop on the call statement as well as the statement after the
2730 call.
2731
2caa35cb
MS
27322001-05-21 Michael Snyder <msnyder@redhat.com>
2733
2734 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2735
40713331
EZ
27362001-05-10 Elena Zannoni <ezannoni@redhat.com>
2737
2738 * gdb.base/completion.exp: Revamp test. Make it execute on all
2739 platforms.
2740
c2c1be8d
EZ
27412001-05-10 Elena Zannoni <ezannoni@redhat.com>
2742
2c9cd303
EZ
2743 * config/gdbserver.exp (gdb_load): Handle the case
2744 in which the arguments to gdbserver are given in the
2745 baseboard configuration file.
2746 Also handle the case in which the server needs to do a
2747 load.
2748
9671de48
KS
27492001-05-07 Keith Seitz <keiths@cygnus.com>
2750
2751 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2752 set up the display for testing.
2753 (gdbtk_start): Convert all paths to paths that tcl will like.
2754 Export target information to environment.
2755 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2756 necessary.
2757 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2758 (to_tcl_path): New proc to convert a given pathname into
2759 a path acceptible as an argument to a tcl command.
2760 (_gdbtk_export_target_info): New proc to export target info
2761 into the environment for gdbtk testing.
2762 (gdbtk_done): New proc to signal end-of-test.
2763
5a360f47
JB
27642001-05-06 Jim Blandy <jimb@redhat.com>
2765
2766 * restore.c: Make the code of caller0 correspond to its comment.
2767
66c756c6
MS
27682001-05-03 Michael Snyder <msnyder@redhat.com>
2769
2770 * config/sid.exp (gdb_target_sid): Check for error messages.
2771 On error or timeout, don't make expect exit (which will terminate
2772 all subsequent tests); instead just make gdb exit.
2773 (gdb_load): Check for error messages. On error or timeout,
2774 return a negative value.
2775
a966fde5
JB
27762001-04-24 Jim Blandy <jimb@redhat.com>
2777
851c18e0
JB
2778 * gdb.c++/templates.exp: If we see the prompt for the overload
2779 list, but we haven't recognized any of the longer patterns,
2780 arrange for this test to fail, not hang.
2781
a966fde5
JB
2782 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2783 variations.
2784
db144853
MC
27852001-04-22 Michael Chastain <chastain@redhat.com>
2786
2787 * gdb.c++/local.exp: Use the 'runto' library function.
2788 * gdb.c++/namespace.exp: Likewise.
2789 * gdb.c++/overload.exp: Likewise.
2790
3207ec21
KB
27912001-03-26 Kevin Buettner <kevinb@redhat.com>
2792
2793 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2794 * gdb.base/step-line.exp: New file. Test step/next in presence of
2795 #line directives.
2796 * gdb.base/step-line.c: New file. Test program for the above.
2797 * gdb.base/step-line.inp: New file. We pretend that this file has
2798 been transformed by some other tool into step-line.c.
2799
13b57657
JB
28002001-03-21 Jim Blandy <jimb@redhat.com>
2801
2802 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2803 unmangled operator names.
2804
754cbe1c
JB
28052001-03-20 Jim Blandy <jimb@redhat.com>
2806
2807 * gdb.threads/linux-dp.exp: Recognize an additional message
2808 generated by GDB when it doesn't understand how to debug threads
2809 on the target system.
2810
177495c9
AC
28112001-03-19 Andrew Cagney <ac131313@redhat.com>
2812
2813 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2814
f266096b
MC
28152001-03-12 Michael Chastain <chastain@redhat.com>
2816
2817 * gdb.c++/derivation.exp: Use the 'runto' library function.
2818
cac3c2ff
MC
28192001-03-12 Michael Chastain <chastain@redhat.com>
2820
2821 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2822
b6c11a24
MC
28232001-02-24 Michael Chastain <chastain@redhat.com>
2824
2825 * gdb.c++/ref-types.exp: Change handwritten code to library
2826 function 'runto'.
2827
6bae5bce
OF
28282001-03-16 Orjan Friberg <orjanf@axis.com>
2829
2830 * gdb.base/signals.exp: Set count to 0 explicitly.
2831
0015fd9a
MS
28322001-03-15 Mark Salter <msalter@redhat.com>
2833
2834 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2835 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2836 (gdb_load): Add support for additional target_info: gdb_download_size
2837 and gdb_load_timeout.
0015fd9a 2838
fc33412a
DT
2839Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2840
2841 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2842 file -- to prevent failing when the compile fails but we have no
2843 intention of running the tests anyway.
2844
2845 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2846 tests if set.
2847
2848 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2849 integers.
2850
2851 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2852 * gdb.c++/namespace.exp: Ditto.
2853
115f06de
OF
28542001-03-07 Orjan Friberg <orjanf@axis.com>
2855
2856 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2857 * gdb.base/pointers.exp: Relax pattern match of decimals.
2858
b6ba6518
KB
28592001-03-06 Kevin Buettner <kevinb@redhat.com>
2860
2861 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2862 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2863 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2864 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2865 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2866 config/sh.exp, config/sid.exp, config/slite.exp,
2867 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2868 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2869 config/vxworks.exp, config/vxworks29k.exp,
2870 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2871 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2872 gdb.base/arithmet.exp, gdb.base/assign.exp,
2873 gdb.base/async.exp, gdb.base/attach.exp,
2874 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2875 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2876 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2877 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2878 gdb.base/commands.exp, gdb.base/completion.exp,
2879 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2880 gdb.base/constvars.exp, gdb.base/corefile.exp,
2881 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2882 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2883 gdb.base/ending-run.exp, gdb.base/environ.exp,
2884 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2885 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2886 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2887 gdb.base/funcargs.exp, gdb.base/help.exp,
2888 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2889 gdb.base/logical.exp, gdb.base/long_long.exp,
2890 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2891 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2892 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2893 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2894 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2895 gdb.base/regs.exp, gdb.base/relational.exp,
2896 gdb.base/remote.exp, gdb.base/reread.exp,
2897 gdb.base/restore.exp, gdb.base/return2.exp,
2898 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2899 gdb.base/selftest.exp, gdb.base/setshow.exp,
2900 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2901 gdb.base/sigall.exp, gdb.base/signals.exp,
2902 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2903 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2904 gdb.base/step-test.exp, gdb.base/structs.c,
2905 gdb.base/structs.exp, gdb.base/structs2.exp,
2906 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2907 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2908 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2909 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2910 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2911 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2912 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2913 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2914 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2915 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2916 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2917 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2918 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2919 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2920 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2921 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2922 gdb.trace/circ.exp, gdb.trace/collection.exp,
2923 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2924 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2925 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2926 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2927 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2928 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2929 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2930 notices.
2931
dc96c6c7 29322001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2933
2934 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2935 first arg is int not float.
2936
dc96c6c7 29372001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2938
2939 * gdb.base/reread.exp: Unsupported for non-native targets;
2940 doesn't work for remote debugging.
2941
9b0c4aeb
FN
29422001-02-19 Fernando Nasser <fnasser@redhat.com>
2943
2944 From Drew Moseley <dmoseley@redhat.com>
2945 * gdb.base/ending-run.exp: Properly handle the BSP state when
2946 stepping past the end of main.
2947
02aa71d5
MC
29482001-02-19 John Moore <jmoore@redhat.com>
2949
2950 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2951 Converted HPUX fix for non-expected items following multiple
2952 step commands into general solution for all platforms.
2953
1fa449a4
MC
29542001-02-18 Michael Chastain <chastain@redhat.com>
2955
2956 * gdb.c++/classes.exp (do_tests): Change runto statements
2957 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2958 statements demangler agnostic.
2959 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2960 (gdb_virtfunc_restart): Likewise.
2961
b2f9ec70
MC
29622001-02-14 Michael Chastain <chastain@redhat.com>
2963
2964 * gdb.c++/inherit.exp (do_tests): Change runto statements
2965 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2966 statements demangler agnostic.
2967
cf74b8ca
AC
2968Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2969
2970 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2971 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2972 before calling common_routine 15 times'' tests.
2973
99f78f56
MC
29742001-02-11 Michael Chastain <chastain@redhat.com>
2975
2976 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2977 Helps the test script figure out which demangler is in use.
2978 (dm_type_foo_ref): Ditto.
2979 (dm_type_int_star): Ditto.
2980 (dm_type_long_star): Ditto.
2981 (dm_type_unsigned_int): Ditto.
2982 (dm_type_void): Ditto.
2983 (dm_type_void_star): Ditto.
99707966 2984 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2985 Probe the gdb demangler and set variables to accommodate
2986 formatting differences.
2987 (info_func_regexp): New function. Same as info_func, but
2988 matches against a regexp.
2989 (info_func): Match against a literal string.
2990 (print_addr_2): New function. Match against a literal string,
2991 which can be different from the input to gdb.
2992 (print_addr): Simply call print_addr_2 with the same argument twice.
2993 (test_lookup_operator_functions): Use demangler formatting variables.
2994 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2995 the tests in the same order as the C++ class declaration.
2996 (test_paddr_operator_functions): Ditto.
2997 (test_paddr_overloaded_functions): Ditto.
2998 (test_paddr_hairy_functions): Use demangler formatting variables.
2999 Add reference to gdb/19 for related tests.
3000 (do_tests): Call probe_demangler.
3001
1de8f023
KB
30022001-01-30 Kevin Buettner <kevinb@redhat.com>
3003
3004 * gdb.c++/templates.cc (printf): Remove unused function definition.
3005
ca3f91ed
MS
30062001-01-26 Felix Lee <flee@redhat.com>
3007
3008 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3009
30102001-01-25 matthew green <mrg@redhat.com>
3011
3012 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3013 up sid.
3014 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3015
30162001-01-25 matthew green <mrg@redhat.com>
3017
3018 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3019 Deprecate $sid_spawn_id.
3020 (sid_exit): Remove code necessary only for `spawn.'
3021
30222001-01-25 matthew green <mrg@redhat.com>
3023
3024 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3025
fb18ec4a
MC
30262001-01-28 Michael Chastain <chastain@redhat.com>
3027
3028 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3029 to call when tests fail. It takes gdb out of the overloaded
3030 function choice menu back to the main prompt, so that the test
3031 program stays synchronized.
3032 (set_bp_overloaded): New proc to collect all the common
3033 code for setting a breakpoint on an overloaded name. Calls
3034 take_gdb_out_of_choice_menu when needed.
3035 (menu_overload1arg): New variable to collect the repeated
3036 instances of the expected menu for an overloaded name. Change
3037 the regular expression to handle changes in g++ type encoding:
3038 "void" can be either "void" or "", and "unsigned int" can be
3039 either "unsigned int" or "unsigned".
3040 (continue_to_bp_overloaded): Change regular expressions to handle
3041 changes in g++ type encoding.
3042 (no proc): Call take_gdb_out_of_choice_menu when needed.
3043 Remove redundant calls to "info break". Accept either "canceled"
3044 or "cancelled". Change regular expressions in "info break"
3045 calls to handle changes in g++ type encoding. Give all tests
3046 unique strings.
3047
9c646a6e
BE
30482001-01-17 Ben Elliston <bje@redhat.com>
3049
3050 * config/sid.exp: New file.
3051
9549d9c1
AC
3052Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3053
3054 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3055
dc96c6c7 30562000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3057
3058 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3059 Add a RE to accept a non-ascii char if one is ever presented.
3060
b4df4f68
FN
30612000-12-20 Fernando Nasser <fnasser@redhat.com>
3062
297dd0fd 3063 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3064
dc96c6c7 30652000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3066
3067 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3068 in regexp. One '\' does not suffice on Linux.
3069
4a7bddb6
MC
30702000-12-09 Michael Chastain <chastain@redhat.com>
3071
3072 * gdb.base/break.exp (test_clear_command): Use a marker function
3073 rather than 'main' for the test function. Also move this
3074 test to an execution point where the marker function names are
3075 guaranteed to be bound to functions. (Executing tests after a
3076 'finish' from main runs into name conflicts with local names
3077 in __libc_start_main).
3078
dc96c6c7 30792000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3080
3081 * gdb.base/finish.exp: New test for gdb's "finish" command.
3082 * gdb.base/return2.exp: New test for gdb's "return" command.
3083 * gdb.base/return2.c: New source file for above.
3084
dc96c6c7 30852000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3086
3087 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3088 * gdb.base/miscexprs.exp: Ditto.
3089 * gdb.base/pointers.exp: Ditto.
3090 * gdb.c++/derivation.exp: Ditto.
3091 * gdb.c++/local.exp: Ditto.
3092 * gdb.c++/namespace.exp: Ditto.
3093 * gdb.c++/overload.exp: Ditto.
3094 * gdb.c++/ref-types.exp: Ditto.
3095
dc96c6c7 30962000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3097
3098 * gdb.base/constvars.exp: Test result of "up" command.
3099 * gdb.base/miscexprs.exp: Ditto.
3100 * gdb.base/pointers.exp: Ditto.
3101 * gdb.base/scope.exp: Ditto.
3102 * gdb.c++/derivation.exp: Ditto.
3103 * gdb.c++/local.exp: Ditto.
3104 * gdb.c++/namespace.exp: Ditto.
3105 * gdb.c++/overload.exp: Ditto.
3106 * gdb.c++/ref-types.exp: Ditto.
3107
44097287
FN
31082000-11-22 Michael Chastain <chastain@redhat.com>
3109
3110 * mips_pro.exp: Accept either "middle -> top -> main" or
3111 "middle -> main" in the backtrace, because gcc can optimize
3112 tail calls to jumps. Remove setup_xfail for the hppa case.
3113 Add a comment with the original warning messages from PR 3016,
3114 which was filed in 1993, to preserve them for posterity.
3115
9d2e1bab
ND
31162000-11-17 Nick Duffek <nsd@redhat.com>
3117
3118 * lib/gdb.exp (gdb_test): Override timeout with board info.
3119
1aca8eb7
ND
31202000-11-17 Nick Duffek <nsd@redhat.com>
3121
3122 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3123 the second kill and detach messages.
3124
93076499
ND
31252000-11-17 Nick Duffek <nsd@redhat.com>
3126
3127 * configure.in: Add AC_EXEEXT.
3128 * configure: Regenerate.
3129 * Makefile.in (just-check): Export EXEEXT.
3130 * lib/gdb.exp ($EXEEXT): Import from environment.
3131 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3132 expect "maint dump-me" on Cygwin.
3133 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3134 $EXEEXT.
3135
30e87cd3
ND
31362000-11-17 Nick Duffek <nsd@redhat.com>
3137
3138 * gdb.base/break.exp: Test backtrace and finish from called
3139 function on all platforms, not just HP-UX.
3140
dc96c6c7 31412000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3142
3143 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3144 code from gdb_target_monitor, so it can be used independantly
3145 for gdbserver. Also comment out an unnecessary PUTS.
3146
dc96c6c7 31472000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3148
3149 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3150 * gdb.base/corefile.exp: Expect the message "Program is being
3151 debugged already" when we send the "corefile" command, since
3152 the preceeding gdb_load may have connected gdb to a remote target.
3153 * gdb.base/display.exp: Disable hardware watchpoints if new
3154 board info variable "no_hardware_watchpoints" is true.
3155 Replace single-letter commands with more readable ones.
3156 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3157 if new board info variable "no_hardware_watchpoints" is true.
3158 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3159 to see if stdio (printf) testing is possible.
3160 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3161 board info variable "no_hardware_watchpoints" is true. Use new
3162 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3163
39124dea
FN
31642000-11-13 Fernando Nasser <fnasser@redhat.com>
3165
3166 From Orjan Friberg <orjanf@axis.com>:
3167 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3168 in array print pattern match.
3169
a9e2e984
FN
31702000-11-09 Fernando Nasser <fnasser@redhat.com>
3171
3172 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3173 spelling "cancelled" to U.S. spelling "canceled" to match changes
3174 made to gdb.
3175 * gdb.c++/ovldbreak.exp: Ditto.
3176
c7db355b
PS
31772000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3178
3179 * gdb.base/callfuncs.c (main): Moved to end of file, call
3180 t_double_values to initialize the FPU before inferior calls are made.
3181 * gdb.base/callfuncs.exp: Test for register preservation after calling
3182 inferior functions. Add tests for continuining, finishing and
3183 returning from a stop in a call dummy.
3184
dc96c6c7 31852000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3186
3187 * gdb.base/commands.exp: Break up long lines, and re-indent.
3188
dc96c6c7 31892000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3190
3191 * config/gdbserver.exp: Rewritten from the ground up, to make it
3192 compatible with the current dejagnu tree, and to make it work with
3193 the new "gdbserver" in libremote.
3194
dc96c6c7 31952000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3196
3197 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3198 * gdb.base/varargs.exp: Skip entire test if no printf support.
3199 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3200 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3201
dc96c6c7 32022000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3203
3204 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3205 no floating point support.
3206 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3207 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3208 * gdb.base/call-rt-st.exp: Ditto.
3209 * gdb.base/call-strs.exp: Ditto.
3210
bac5fc66
JG
32112000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3212
3213 * gdb.base/sizeof.c: include <stdio.h>.
3214
3215 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3216 'finish', otherwise uncaptured gdb_prompt would potentially
3217 throw remaining test points out of sync.
3218
b22a6027
SB
32192000-07-26 Scott Bambrough <scottb@netwinder.org>
3220
3221 * gdb.base/recurse.exp: Run tests for all targets.
3222 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3223 gnu-oldld case on ARM.
3224 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3225 for ARM targets.
3226
d8231941
AG
3227Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3228
3229 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3230 * gdb.java/configure: Rebuild.
3231
8caabe69
AG
3232Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3233
3234 * gdb.java/jv-exp.exp: New file.
3235
9d273ca3
AG
3236Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3237
3238 * configure: Rebuilt.
3239 * configure.in (configdirs): Add gdb.java.
3240 * gdb.java/jmisc.java: New file.
3241 * gdb.java/jmisc.exp: New file.
3242 * gdb.java/Makefile.in: New file.
3243 * gdb.java/configure: Rebuilt.
3244 * gdb.java/configure.in: New file.
3245 * lib/java.exp: New file.
3246
4f823a66
AC
3247Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3248
3249 * gdb.base/exprs.exp: Test casts to a pointer including over and
3250 underflow.
3251
2391e11d
AC
3252Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3253
3254 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3255 and the compilers sizes.
3256
54602222
ND
32572000-07-09 Nick Duffek <nsd@redhat.com>
3258
3259 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3260 (use_methods): New function.
3261 (main): Call use_methods().
3262 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3263 (do_tests): Call test_method_param_class.
3264
2bec0572
ND
32652000-07-09 Nick Duffek <nsd@redhat.com>
3266
3267 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3268 spelling.
3269 (test_enums): New procedure. Move enum tests from end of script
3270 to here. Set breakpoint on function name instead of line number.
3271 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3272 (enums2): New marker function.
3273 (enums1): New function.
3274 (main): Call enums1(). Move enum tests to enums1().
3275
78492fde
AC
3276Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3277
3278 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3279 compile/link program. Update line numbers.
3280 * gdb.asm/d10v.inc: Define ``startup''.
3281 * gdb.asm/asmsrc1.s: Add definition of _start.
3282
49a2cef8
AC
3283Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3284
3285 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3286
3e6c8688
EZ
32872000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3288
3289 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3290 of 'help maint print' command.
3291
9ff5cbe9
AC
3292Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3293
3294 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3295 they use gdb_expect_list.
3296
17c579bd
AC
3297Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3298
3299 * gdb.base/commands.exp: Use ``set remote
3300 memory-read-packet-size'' instead of ``set endian big'' to test
3301 long commands.
3302
e6d71bf3
DB
33032000-06-03 Daniel Berlin <dan@cgsoftware.com>
3304
3305 * gdb.c++/templates.exp (do_tests): Make all of these work under
3306 g++, and stop skipping them.
3307
3308 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3309 work under g++.
3310
e5f9ba7b
MS
3311 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3312 initialization.
3313
dc96c6c7 33142000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3315
3316 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3317 the regular expression: accept an (almost) arbitrary sequence of
3318 "frames-invalid" and "breakpoints-invalid" messages both before
3319 and after the "starting" message.
3320
dc96c6c7 33212000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3322
3323 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3324
dc96c6c7 33252000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3326
3327 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3328 Relax the regular expression a little, make it pass on Solaris 8.
3329
8216cda9
KB
33302000-05-12 Kevin Buettner <kevinb@redhat.com>
3331
3332 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3333 a call, do not require that gdb stop on the line after the call.
3334 Instead, it is permissible for gdb to stop on the line of the
3335 call itself.
3336
1a570b2f
MS
33372000-05-12 Michael Snyder <msnyder@.cygnus.com>
3338
3339 * gdb.base/break.exp (bp on small function, optimized file):
3340 Add a second pass pattern. The behavior differs here between stabs
3341 and dwarf for one-line functions. Stabs preserves two line symbols
3342 (one before the prologue and one after) with the same line number,
3343 but dwarf regards these as duplicates and discards one of them.
3344 Therefore the address after the prologue (where the breakpoint is)
3345 has no exactly matching line symbol, and GDB reports the breakpoint
3346 as if it were in the middle of a line rather than at the beginning.
3347
dc96c6c7 33482000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3349
3350 * gdb.base/interrupt.exp: Make "pass" message say "send"
3351 rather than "send_gdb" (for consistancy).
3352
7d418785
AC
3353Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3354
3355 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3356 * gdb.c++/templates.cc: Properly check for GCC version number.
3357 * lib/compiler.cc: Likewise
3358
dc96c6c7 33592000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3360
3361 * gdb.base/break.exp: When compiled with -O2 optimization,
3362 gdb may not stop at the first line of main, due to code motion.
3363
dc96c6c7 33642000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3365
3366 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3367 This test depends on parsing the printf output from the target.
3368 Since the sparclet stub doesn't do stdio, this will never work.
3369 * gdb.base/call-rt-st.exp: ditto.
3370 * gdb.base/call-strs: ditto.
3371
dc96c6c7 33722000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3373
3374 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3375
3376 * gdb.base/ending-run.exp: After connecting to a remote target,
3377 but before running, the target will appear to be in a random
3378 location. Specify both a file and a line for breakpoints.
3379 Also, the function that calls main may be called 'init'
3380 rather than 'start'.
3381
a5a51225
EZ
33822000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3383
3384 * gdb.base/help.exp: Update output for add-symbol-file command.
3385
7930cc7c
FN
33862000-04-10 Fernando Nasser <fnasser@cygnus.com>
3387
3388 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3389 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3390
23e37ab1
C
33912000-04-07 J.T. Conklin <jtc@redback.com>
3392
e93c542c
C
3393 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3394
23e37ab1
C
3395 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3396
591b8fa3
PDM
3397Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3398
3399 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3400 values that can be represented exactly.
3401 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3402 above change, and to not check against the directory part of the source
3403 file name.
3404 (step into print_long_arg_list): Likewise.
3405 (print print_small_structs from print_long_arg_list): Likewise.
3406 (print print_long_arg_list): Likewise.
3407
7a495180
EZ
34082000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3409
30b53638 3410 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3411
beb998c6
AC
3412Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3413
3414 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3415
1c689132
DB
34162000-03-25 Daniel Berlin <dan@cgsoftware.com>
3417
3418 * gdb.base/commands.exp (deprecated_command_test): Add test for
3419 deprecate with no arguments.
3420
c1790a9d
JL
34212000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3422
3423 * gdb.base/break.exp: Add new test for setting breakpoints on
3424 optimized code so we can test breakpoints work even when function
3425 prologues may be optimized away
3426
003ba290
FN
34272000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3428
3429 From David Whedon <dwhedon@gordian.com>
3430 * gdb.base/commands.exp : Added command deprecator tests.
3431
6837a0a2
DB
34322000-03-22 Daniel Berlin <dan@cgsoftware.com>
3433
3434 * gdb.base/help.exp: Added test for new apropos command.
3435
b9593231
KB
34362000-03-21 Kevin Buettner <kevinb@redhat.com>
3437
3438 * gdb.base/pointers.c (usevar): New function.
3439 (main): Make sure that global variables v_int_pointer2, rptr,
3440 and y are all referenced someplace in the program by calling
3441 usevar() on them. [Some linkers delete symbols which are
3442 never referenced. The space remains, but there's no way to
3443 get a (symbolic) handle on the variable from the debugger.]
3444
751a959b
EZ
34452000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3446
3447 * gdb.base/printcmds.c: Add typedeffed arrays.
3448
3449 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3450 procedure to test arrays that are typedef'd.
3451
73a93a32
JI
34522000-03-13 James Ingham <jingham@leda.cygnus.com>
3453
3454 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3455 the library directories.
73a93a32 3456
fb40c209
AC
3457Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3458
3459 * configure.in (configdirs): Add sub directory gdb.mi.
3460 * configure: Re-generate.
3461
3462 * gdb.mi: New directory.
beb998c6 3463
ee4dd2c9
AC
34642000-02-25 Scott Bambrough <scottb@netwinder.org>
3465
3466 * gdb.base/long_long.exp: Correct test suite failure when printing
3467 a long long value as a double on ARM platforms.
3468
70f0cc22
JB
34692000-02-16 Jim Blandy <jimb@redhat.com>
3470
3471 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3472 default source file is set properly before running this test.
3473
853819b8
EZ
34742000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3475
3476 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3477 gdbtk/library directory, not in gdbtcl2.
3478
dfcd3bfb
JM
34792000-02-04 Jim Blandy <jimb@redhat.com>
3480
3481 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3482 backslash from regexp pattern.
3483
3484 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3485 procedure. Use it to run all the "continue to bp overloaded"
3486 tests. Note that this changes the names of the tests slightly.
3487 If the breakpoint hit message includes a hex PC value, because
3488 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3489 from the real source code, still consider that a pass.
3490
3491 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3492 XFAIL here if the breakpoint message contains a hex address. Note
3493 similar change on 1999-11-02.
3494
3495 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3496
3497 * gdb.base/ptype.exp: Establish a default source file before
3498 calling get_debug_format.
3499
35002000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3501
3502 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3503
8b93c638
JM
35042000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3505
3506 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3507 of successive stepi commands -- while in the prologue we should see
3508 the function entry bracket.
3509
35102000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3511
3512 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3513 reach __change_mode() when stepping through the end of main().
3514
c5394b80
JM
35152000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3516
3517 * gdb.base/default.exp: Fix expected pattern.
3518 * gdb.base/help.exp: Same.
3519
0d06e24b
JM
35202000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3521
3522 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3523 Don't use xfail's because that affects only the following test.
beb998c6 3524
0d06e24b
JM
3525 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3526 solaris or linux.
3527
3528 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3529
dc96c6c7 35302000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3531
beb998c6 3532 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3533 "A syntax error" rather than "A parse error". Accept both.
3534
35352000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3536
3537 * gdb.base/default.exp: Remove OS dependent string from "target
3538 remote" test.
3539 * gdb.base/help.exp: Same for "help target remote" test.
3540
c3f6f71d
JM
35412000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3542
3543 From Jim Kingdon <kingdon@redhat.com>:
3544
3545 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3546 prompt (cleanup rather than necessity, but still might keep output
3547 from spilling to next test).
3548
35492000-01-02 Fred Fish <fnf@cygnus.com>
3550
3551 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3552 AIX, which defines them in <sys/types.h>.
3553
ed9a39eb 35541999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3555
ed9a39eb
JM
3556 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3557 float" test.
3558
35591999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3560
ed9a39eb 3561 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3562
3563 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3564 outermost frame disallowed".
3565
35661999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3567
3568 * gdb.base/setvar.exp: New tests for setting the value of a struct
3569 with a constant list.
3570
35711999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3572
3573 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3574 require the user to type a cast before setting the value of a struct.
3575
de57eccd
JM
35761999-12-06 Jim Blandy <jimb@cygnus.com>
3577
3578 * gdb.base/default.exp: Expect the new 'info float' command on
3579 all i386 platforms.
3580
3581 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3582 LinuxThreads libraries that don't support debugging.
3583
c2d11a7d
JM
3584Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3585
3586 * gdb.base/remote.c: Fill the buffer with truely random data.
3587 Change the buffer type to ``unsigned char'' to simplify size
3588 arithmetic.
3589
3590 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3591 stub only handles 400-1 byte packets. Verify that the download
3592 worked.
3593
35941999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3595
3596 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3597 tests, using UNRESOLVED for the untested cases. Also, does not wait
3598 for a timeout if the prompt was received before a recognizable pattern.
3599
36001999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3601
3602 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3603
36041999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3605
3606 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3607 watchpoints.
3608
36091999-11-24 Jason Merrill <jason@casey.cygnus.com>
3610
3611 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3612
3613 * gdb.c++/local.exp: Be more flexible in recognizing local class
3614 name mangling. Don't allow horribly truncated method names.
3615 * gdb.c++/derivation.exp: Expect protected inheritance.
3616 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3617 * gdb.c++/virtfunc.exp: Likewise.
3618 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3619 when printing a nested enum.
3620
36211999-11-22 Jim Blandy <jimb@cygnus.com>
3622
3623 * gdb.base/step-test.exp: Properly await GDB's response to setting
3624 a breakpoint on the call to large_struct_by_value.
3625
3626 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3627 just because we have debug info for the `start' function.
3628
36291999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3630
3631 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3632 "Unknown signal" messages, which indicate (on LinuxThreads) that
3633 GDB doesn't know how to debug threads on this system. This is
3634 better than hanging while philosopher 0 dumps chatter into gdb.log.
3635
36361999-11-18 Tom Tromey <tromey@cygnus.com>
3637
3638 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3639
36401999-11-18 Fred Fish <fnf@cygnus.com>
3641
3642 * gdb.base/coremaker2.c: Add sample program for generating
3643 cores that is more self contained than coremaker.c. Eventually
3644 I'll add more code to this and tie it into the testsuite.
3645
4ce44c66
JM
36461999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3647
3648 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3649
36501999-11-10 Jimmy Guo <guo@cup.hp.com>
3651
3652 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3653 from $srcdir/lib/.
3654 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3655 and gdb.c++/.
3656
3657 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3658
beb998c6 3659 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3660 'continue with watch' test point.
3661
36621999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3663
3664 Merged from p2linux-990323-branch:
beb998c6 3665
4ce44c66
JM
3666 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3667
11cf8741
JM
3668Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3669
3670 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3671 {limit,fixed}''. Test ``set download-write-size''.
3672
3673Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3674
3675 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3676 gdb_expect_list.
3677
3678Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3679
3680 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3681
36821999-11-03 Mark Salter <msalter@cygnus.com>
3683
3684 * gdb.base/break.exp: Fix "stub continue" pattern.
3685
36861999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3687
3688 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3689
36901999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3691
3692 * gdb.base/display.exp ("finish"): Add timeout clause.
3693
3694 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3695 plain prompt clause, so this doesn't have to time out in order to
3696 fail.
3697
3698 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3699 breakpoint hit messages include an address.
3700
3701 * gdb.base/display.exp: Don't forget to escape parens in regular
3702 expressions. Unix regexp notatation sucks.
3703
37041999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3705
3706 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3707 order for 'signalled' message.
3708
5c44784c
JM
37091999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3710
3711 From Jimmy Guo <guo@cup.hp.com>:
3712 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3713 * gdb.base/annota1.c: Add code for tests to work with.
3714
37151999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3716
3717 * gdb.base/remote.exp: New test for remote downloading settings.
3718 * gdb.base/remote.c: New file with large .data.
3719
917317f4
JM
37201999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3721
3722 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3723 for LinuxThreads support, merged from the Code Fusion branch.
3724
3725Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3726
3727 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3728 containing exp_continue into a while within an expect. Don't
3729 attempt a start more than three times. Check return value from
3730 gdb_load.
beb998c6 3731
2df3850c
JM
3732Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3733
3734 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3735 a pass case.
3736
2acceee2
JM
37371999-10-01 Kevin Buettner <kevinb@cygnus.com>
3738
3739 * gdb.base/break.c (main): Added a statement that we can step
3740 off of.
3741 * gdb.base/break.exp: Added tests for setting a breakpoint
3742 at an offset and stepping onto a breakpoint.
3743
37441999-10-01 Fred Fish <fnf@cygnus.com>
3745
beb998c6 3746 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3747 gdb output.
3748
c2c6d25f
JM
37491999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3750
3751 * gdb.base/break.exp: Code locations are in hex, don't forget!
3752 (For HP-UX.)
3753
37541999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3755
3756 * condbreak.exp: Use break.c as test program.
3757 * condbreak.c: Remove, redundant with break.c.
3758
37591999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3760
3761 * config/monitor.exp (gdb_target_monitor): Disable X- and
3762 Z-packets if the target needs it.
3763
37641999-09-13 James Ingham <jingham@leda.cygnus.com>
3765
3766 * gdb.c++/overload.exp: Added tests for listing overloaded
3767 functions with function pointers in the arg, explicitly calling
3768 out the version you want.
3769
cff3e48b
JM
37701999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3771
3772 * long_long.exp: Add variations of test cases that work for
3773 targets with 16-bit ints and 32-bit doubles.
3774
d4f3574e
SS
37751999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3776
3777 * break.c (main): Compare a possibly-uninitialized argc with an
3778 unlikely value that fits in 16 bits.
3779
37801999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3781
3782 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3783 0xfeeb, don't want negative numbers if ints are 16 bits.
3784
3785 * lib/gdb.exp (skip_cplus_tests): New proc.
3786 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3787 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3788 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3789 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3790 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3791 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3792 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3793 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3794
3795 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3796
3797Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3798
3799 * gdb.base/corefile.exp (up): Allow a parameter to appear
3800 in the frame that we're going up to.
3801
3802 From Jim Blandy <jimb@cygnus.com>:
3803
3804 * gdb.base/default.exp (info float): Expect some output now.
3805
3806 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3807 returning floating-point values to fail on the x86.
3808 * gdb.base/callfwmall.exp (do_function_calls): Same.
3809
3810 * gdb.base/list.exp (test_listsize): Correct expectations for
3811 listing line 1 with listsize 2. Also, listing a single line
3812 works now, as does listing three lines. [Kevin's note: There
3813 were a number of other cases fixed too where the expectations
3814 differed...]
3815
38161999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3817
3818 * gdb.base/selftest.exp: Add case for when version prints as
3819 constant string instead of char pointer.
3820
104c1213
JM
38211999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3822
3823 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3824 stepping out of main.
3825
3826 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3827 G++ used.
3828
3829 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3830 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3831
3832 * gdb.c++/ovldbreak.exp: Update match string in test that
3833 includes a warning of multiple breakpoints.
3834
38351999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3836
3837 * gdb.base/display.exp: Improve precision of step-after-finish
3838 added yesterday.
3839
3840 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3841 test.
3842
3843 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3844 configs when using G++, not just hppa*.
3845
38461999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3847
3848 * gdb.base/async.c: New file.
3849 * gdb.base/async.exp: New file.
3850
3851Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3852
3853 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3854 PA64.
3855
53a5351d
JM
3856Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3857
104c1213
JM
3858 * gdb.base/display.exp: "finish" can leave us mid-line on many
3859 targets, deal with it. Add a small constant to main, instead of
3860 1000 since main+1000 may not be a valid address in the target.
3861
53a5351d
JM
3862 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3863 on hpux11.
3864
3865 * gdb.base/attach.exp: Handle another hpux11 error message variant
3866 when attaching to a process that does not exist.
3867
38681999-08-19 J.T. Conklin <jtc@redback.com>
3869
3870 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3871 characters in 'continue to 1241' test.
3872
38731999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3874
3875 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3876 stop in print_long_arg_list, define and use a whitespace
3877 variable in print_small_structs test, add an XFAIL for Solaris.
3878 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3879 interested enough to fix.
3880
7be570e7
JM
38811999-08-13 Keith Seitz <keiths@cygnus.com>
3882
3883 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3884 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3885 proc knows about targets other than the natives.
3886 (test_assign): Use "gdb_run_cmd" to "run" the target.
3887 Check that we've actually hit the breakpoint at main.
3888 When we attempt to assign a value to a local variable, check
3889 that the variable is in the current scope, i.e., don't use
3890 a test with an empty result.
3891
3892Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3893
3894 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3895 command.
3896
38971999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3898
3899 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3900 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3901 gdb.compat, gdb.threads-hp.
3902 gdb.hp/configure, gdb.hp/configure.in: New files.
3903 gdb.hp/Makefile.in: Recurse into new subdirs.
3904 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3905 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3906 in object files.
3907 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3908
96baa820
JM
39091999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3910
3911 * gdb.base/display.exp: Help expect by putting a newline in the
3912 funky printf, remove a bogus p/a test.
3913
39141999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3915
3916 * gdb.base/display.exp: Make sure that when we say 'run', we are
3917 connected to the target. This is necessary when running not
3918 natively.
3919
39201999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3921
3922 * gdb.base/step-test.exp: Removed some extraneous messages.
3923
3924 * gdb.base/long_long.exp: Don't run memory examination tests
3925 on little-endian targets (they will need a different set of
3926 results to match).
3927
39281999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3929
3930 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3931 until somebody decides to fix GDB.
3932
3933 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3934 constant as "ULL".
3935 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3936 matches for a couple x/2 commands.
3937
a0b3c4fd
JM
39381999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3939
3940 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3941 by merging in ref-types2 tests.
3942 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3943
3944 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3945 * gdb.c++/Makefile.in: Add standard actions.
3946 (EXECUTABLES): Rename from PROGS, update list.
3947 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3948 from gdb.hp.
3949 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3950 foo and bar locals.
3951 * gdb.c++/anon-union.exp: Fix tests to match.
3952 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3953 expect matches to handle output variations.
3954 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3955 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3956 output, add HP alternatives for new and delete prints.
3957 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3958 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3959 * gdb.c++/demangle.exp: Use $style when reporting failure.
3960 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3961 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3962 match alternatives.
3963 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3964 compilers.
3965 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3966 * gdb.c++/method.exp: Add match alternatives.
3967 * gdb.c++/misc.cc: Add bool types.
3968 * gdb.c++/misc.exp: Add tests for bool types.
3969 * gdb.c++/overload.exp: Add xfails.
3970 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3971 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3972 add some more template parameter tests (only for HP currently).
3973 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3974 * gdb.c++/virtfunc.cc: Add return type and value for main.
3975 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3976 match alternatives.
beb998c6 3977
a0b3c4fd
JM
39781999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3979
3980 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3981
39821999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3983
3984 * gdb.base/signals.exp: Don't expect getting a backtrace from
3985 within a signal handler to fail on Linux.
3986
39871999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3988
3989 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3990 * lib/gdb.exp: Remove some gratuitious semicolons.
3991 (delete_breakpoints): Increase timeout.
3992 (gdb_expect): Add -notransfer option.
3993 (gdb_test): Use -notransfer option.
3994 (get_compiler_info): Add f77 case.
3995 (get_compiler): New proc, split out from gdb_preprocess, add f77
3996 case.
3997 (gdb_preprocess): Call get_compiler.
3998
3999 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4000 * gdb.base/attach.exp, gdb.base/display.exp,
4001 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4002 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4003 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4004 third arg to gdb_test.
4005 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4006 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4007 HP-UX xfails, add others.
4008 * gdb.base/completion.exp: Reflect name change of self-test.
4009 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4010 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4011 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4012 HP failure number.
4013 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4014 useless HP-UX 10.30 references.
4015 * gdb.base/maint.exp: Loosen matches.
4016 * gdb.base/pointers.c (main): Declare more_code.
4017 * gdb.base/pointers.exp: Match on output of a `next'.
4018 * gdb.base/structs.c: Add prototypes.
4019 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4020 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4021
40221999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4023
4024 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4025 command.
4026
40271999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4028
4029 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4030 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4031
4032 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4033 debug info. Deal with lack of signal hanlder info in stack.
4034
4035 From Jim Kingdon <kingdon@redhat.com>:
4036 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4037
5a2468f5
JM
40381999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4039
4040 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4041 gdb.base/foll-vfork.exp: Don't run for crosses.
4042
adf40b2e
JM
4043Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4044
4045 * gdb.base/configure.in: Check for gdbvars.exp instead of
4046 a1-selftest.exp.
4047 * gdb.base/configure: Re-generate.
4048
40491999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4050
4051 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4052 in trying to run first and name is too long.
4053
4054 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4055 pointers2.c and pointers2.exp, respectively.
4056 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4057 doschk happier.
4058
43e526b9
JM
40591999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4060
4061 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4062 callfuncs2.c and callfuncs2.exp.
4063
4064 * gdb.base/list.exp: Remove mistaken xfails.
4065 * gdb.base/list0.h: Add optional prototypes.
4066
9846de1b
JM
4067Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4068
4069 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4070 calling malloc.
4071 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4072 * ptype.exp: Move test for get_debug_format to before its first
4073 use.
4074
40751999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4076
4077 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4078 * gdb.base/annota2.cc, annota2.exp: Move from here.
4079 * gdb.c++/annota2.cc, annota2.exp: To here.
4080 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4081
43ff13b4
JM
4082Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4083
4084 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4085 a consistent format.
4086
085dd6e6
JM
40871999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4088
4089 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4090 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4091 HP compilers, also set the globals $true and $false.
4092
4093 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4094 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4095 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4096 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4097 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4098 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4099 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4100 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4101 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4102 whatis.c} Add C++ compatible function definitions and return
4103 types, add includes for library functions.
4104 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4105 * gdb.base/step-test.c (myglob): Rename from glob.
4106 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4107 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4108 files, move here from gdb.hp.
4109 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4110 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4111 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4112 Adjust line numbers in regexps.
4113
4114 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4115 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4116 instead of 0/1.
4117
4118 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4119 foll-vfork.exp: New files, move here from gdb.hp.
4120 * gdb.base/page.exp: New file, test of pagination command.
4121
4122 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4123 recursion test.
4124 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4125
4126 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4127 gdb.base/solib.exp: Fix compiler invocation process.
4128
4129 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4130 HP-UX 11, turn off overload resolution explicitly.
4131 * gdb.base/commands.exp: Set argument list explicitly, add
4132 watchpoint test.
4133 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4134 them work.
4135 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4136 expressions properly.
4137 * gdb.base/corefile.exp: Loosen the match slightly.
4138 * gdb.base/default.exp: Allow "Error accessing memory" message
4139 also.
4140 * gdb.base/display.exp: Skip over x/0 j if PA64.
4141 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4142 * gdb.base/interrupt.exp: Ditto.
4143 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4144 in use.
4145 * gdb.base/list.exp: Add xfails for HP-UX.
4146 * gdb.base/long_long.exp: Refine some of the numeric matches.
4147 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4148 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4149 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4150 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4151 * gdb.base/ptype.exp: Succeed on more varieties of output.
4152 * gdb.base/scope.exp: Add xfails for HP-UX.
4153 * gdb.base/sect-cmd.exp: Add more cases.
4154 * gdb.base/setvar.exp: Add xfails for HP-UX.
4155 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4156 * gdb.base/signals.exp: Match on void symbolically.
4157 * gdb.base/step-test.exp: Add case for PA64.
4158 * gdb.base/term.exp: Add exit and restart.
4159 * gdb.base/twice.exp: Clean up after self.
4160 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4161 * gdb.base/whatis.exp: Allow more ways to pass tests.
4162
4163 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4164 no longer useful.
4165
4166Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4167
4168 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4169 list of patterns.
4170 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4171 print_double_array(double_array)", "continuing to breakpoint
4172 1018", "print print_double_array(array_d)" and "continuing to
4173 1034" tests.
beb998c6 4174
085dd6e6
JM
41751999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4176
4177 * Makefile.in: Add empty html and install-html targets.
4178
41791999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4180
4181 * config/mt-*: Remove, these haven't been used since 1996.
4182
41831999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4184
4185 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4186 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4187 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4188
9e0b60a8
JM
41891999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4190
4191 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4192 simpler match case for the ptype of the big class.
4193
41941999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4195
4196 * gdb.exp: Fix test for gdb_prompt existence.
4197
41981999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4199
4200 * gdb.exp (gdb_test): Add fail after calls to perror.
4201
42021999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4203
4204 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4205
42061999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4207
4208 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4209
0f71a2f6
JM
4210Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4211
4212 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4213 malloc() is linked in.
4214
42151999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4216
4217 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4218 step at end.
4219
4220 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4221
42221999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4223
4224 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4225
cce74817
JM
4226Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4227
4228 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4229 * gdb.base/mips_pro.exp: Likewise.
4230
42311999-06-02 Keith Seitz <keiths@cygnus.com>
4232
4233 * gdb.c++/templates.cc: Change all "new" operators to throw
4234 an exception.
4235 * gdb.c++/cplusfuncs.cc: Likewise.
4236
4237 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4238
4239Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4240
4241 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4242 * gdb.base/ending-run.exp: When stepping out of main, accept a
4243 step into an arbitrary assembler file.
4244
392a587b
JM
42451999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4246
beb998c6 4247 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4248 "breakpoint-invalid" to be printed.
beb998c6 4249 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4250 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4251 * gdb.base/annota2.cc: Initialize a.x to 0.
4252
9e086581
JM
42531999-05-17 Keith Seitz <keiths@cygnus.com>
4254
4255 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4256 when "skip_float_tests" set.
4257 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4258 "print print_ten_doubles", and "step into print_long_arg_list".
4259 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4260 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4261 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4262 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4263 "skip_float_tests" is set.
4264 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4265 when "skip_float_tests" set.
beb998c6 4266
cd0fc7c3
SS
42671999-05-06 Keith Seitz <keiths@cygnus.com>
4268
4269 * gdb.base/annota2.cc: Include stdio.h.
4270
4271Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4272
4273 * gdb.base/crossload.exp: Remove, this has been disabled ever
4274 since BFD stopped including all targets, and cross-GDB gets
4275 plenty of testing anyway.
4276 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4277 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4278 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4279 * gdb.base/README: Remove, was doc for this.
4280 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4281 needed.
4282
b83266a0
SS
42831999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4284
4285 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4286 output.
4287
4288 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4289 * gdb.base/annota2.exp: New file. More annotation tests.
4290 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4291 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4292
42931999-04-23 Angela Marie Thomas <angela@cygnus.com>
4294
4295 * config/cfdbug.exp: New file.
4296
7a292a7a
SS
42971999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4298
4299 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4300 Marcus Daniel's and Dale Hawkins's demangler crashes.
4301
4302 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4303 test_lucid_style_demangling, test_arm_style_demangling,
4304 test_hp_style_demangling): Try Tom Tromey's core-dumping
4305 identifier under each demangling style.
4306
43071999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4308
4309 * gdb.c++/demangle.exp: Include the current demangling style
4310 in all test names.
4311 (current_demangling_style): New global variable.
4312 (set_demangling_style, test_demangling_core, test_demangling,
4313 test_demangling_exact): New functions.
4314 (test_gnu_style_demangling, test_lucid_style_demangling,
4315 test_arm_style_demangling, test_hp_style_demangling): Use those,
4316 instead of calling gdb_test and gdb_test_exact directly.
4317 (catch_demangling_errors): New function, which reports errors
4318 signalled by the demangling test functions in an orderly way.
4319 (do_tests): Use catch_demangling_errors.
4320
43211999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4322
4323 * gdb.base/signals.exp (test_handle_all_print): Use () for
4324 grouping in expressions, not {}.
4325
4326 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4327 initialized yet.
4328
43291999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4330
4331 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4332 are listed.
4333
43341999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4335
4336 * gdb.stabs/weird.exp: Test for CC being defined before
4337 looking at its value.
4338
43391999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4340
4341 * gdb.base/call-ar-st.exp: Remove stray '#'.
4342 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4343 "short int" and "long int".
4344 * gdb.c++/overload.cc: Cast the string added in the previous
4345 change, to mollify finicky HP compiler.
4346 * gdb.hp/reg-test.exp (testfile): Fix file name.
4347 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4348
7a292a7a
SS
4349 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4350 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4351 alternate form of enum ptype.
4352
c906108c
SS
43531999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4354
7a292a7a
SS
4355 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4356 * gdb.hp/*.exp: Change all to run compiler probe only after
4357 passing skip_hp_tests, so as not to waste time on guaranteed
4358 failure.
4359
c906108c
SS
4360 * gdb.c++/overload.cc: Pass string instead of char addr, always
4361 init ccpfoo.
4362 * gdb.c++/templates.cc: Fix syntax error.
4363
7a292a7a
SS
4364Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4365
4366 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4367 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4368 command.
4369
43701999-03-18 James Ingham <jingham@cygnus.com>
4371
4372 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4373
4374 * gdb.c++/method.exp: It was testing an uninitialized int on the
4375 stack and assuming it was positive.
4376
4377 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4378
4379 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4380 keep it from killing the rest of the tests.
7a292a7a
SS
4381 Use gdb_continue_to_end.
4382
4383 * gdb.base/sigall.exp: use gdb_continue_to_end.
4384
4385 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4386
4387 * gdb.base/display.exp: use runto_main, not run.
4388
beb998c6
AC
4389 * gdb.base/default.exp: Check for the current error message in the
4390 r abbreviation test.
7a292a7a
SS
4391 Add strongarm to the targets that know info float.
4392
beb998c6 4393 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4394 run which doesn't work with monitors.
4395
4396 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4397
4398 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4399
4400 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4401 program. Traps the case (in Cygmon) when the program never really
4402 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4403 more places, so I used my name. Sorry Mark...
4404
4405 * config/monitor.exp (gdb_target_monitor): added another
4406 target_info parameter: remotebinarydownload. This will set the
4407 remotebinarydownload flag if this is causing some boards trouble.
4408
44091999-03-18 Mark Salter <msalter@cygnus.com>
4410
4411 * lib/gdb.exp (continue_to_exit): New function.
4412
4413 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4414 * gdb.base/ending-run.exp: Ditto.
4415 * gdb.base/step-test.exp: Ditto.
4416
44171999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4418
4419 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4420 (suggested by Art Haas <ahaas@neosoft.com>).
4421
44221999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4423
4424 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4425
4426Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4427
4428 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4429 descriptions of types (short unsigned int vs unsigned short, etc).
4430
44311999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4432
4433 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4434 a call to strlen; sometimes we do have sources.
4435
44361999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4437
4438 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4439 character, so GDB won't print garbage after its end.
beb998c6 4440
c906108c
SS
4441 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4442 breakpoint there instead. Sometimes GCC emits memcpy to handle
4443 the large structures being passed by value, so we step into that
4444 instead of sum_array_print, which obscures what we're really testing.
4445 * gdb.base/step-test.exp: However, we do want a test that notices
4446 the bizarre steps into memcpy, so do that here. Add check for
4447 stepping into function calls that pass large structures by value.
4448 ("Is that a noun clause, or are you just happy to see me?")
4449 Remove all references to specific line numbers.
4450 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4451 New type and function.
4452 (main): Call large_struct_by_value, passing it a large struct by value.
4453 * lib/gdb.exp (gdb_get_line_number): New function.
4454
4455 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4456 more portable.
4457
7a292a7a
SS
44581999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4459
c906108c
SS
4460 * lib/gdb.exp: Doc fixes.
4461
7a292a7a
SS
44621999-03-05 Nick Clifton <nickc@cygnus.com>
4463
beb998c6 4464 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4465
44661999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4467
c906108c
SS
4468 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4469 commands. They're not germane to this test, and they don't work
4470 that way on remote targets.
4471
3fc11d3e
JM
44721999-03-01 James Ingham <jingham@cygnus.com>
4473
4474 * Changelog entries merged over from gdb development branch.
4475
3fc11d3e
JM
4476 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4477
4478 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4479 for outputting results of test run.
4480
2d4a1622 4481 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4482
4483 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4484
7a292a7a
SS
44851999-02-25 Felix Lee <flee@cygnus.com>
4486
4487 * lib/gdb.exp (debug_format): initialize
4488
c906108c
SS
44891999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4490
4491 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4492 * gdb.base/call-rt-st.c: Ditto.
4493
c906108c
SS
44941999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4495
4496 * gdb.threads/pthreads.exp (horiz): New variable.
4497 (test_startup): Fix regexps that capture thread numbers.
4498
44991999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4500
4501 * gdb.base/smoke.exp: Disambiguate two test case names (both
4502 called ``print'').
4503
4504Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4505
4506 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4507 compilation.
4508
45091999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4510
4511 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4512 actual output formatting.
4513 * gdb.base/smoke.exp: GDB removes leading 0's.
4514 * gdb.base/volatile.exp: Don't check type of remuneration;
4515 that variable is no longer defined in constvars.c.
4516 * gdb.base/step-test.c (main): Exit with explicit exit code.
4517 * gdb.base/step-test.exp: Remove two nexti checks--they are
4518 not portable.
4519
45201999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4521
4522 * gdb.base/help.exp ("help delete display"): Fix test to match
4523 gdb's output.
4524
4525 * gdb.base/long_long.c (known_types): Initialize values to zero.
4526 * gdb.base/long_long.exp: Step one more line
4527 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4528 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4529 unique test case names.
4530
4531Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4532
beb998c6 4533 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4534
4535 * gdb.c++/method.exp: Add missing close brace.
4536
45371999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4538
4539 * gdb.base/maint.exp: Use 'set height 0' to disable page
4540 prompting, not 'set height 400'.
4541
4542 Fix a bunch of timeouts.
4543 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4544 four separate tests, so expect doesn't take forever to match a ton
4545 of text against a regexp with lots of .* forms.
4546 ("maint print psymbols", "maint print symbols"): Make some of
4547 these greps more selective, so that expect doesn't try to wade
4548 through huge piles of output and time out.
4549
4550 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4551
4552 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4553 tests: one which doesn't expect shlib events to be reported, and
4554 another which does, but is XFAIL for all platforms other than
4555 HP/UX.
4556
4557 * gdb.base/break.exp: Teach the test suite that the `catch
4558 fork', `catch vfork', and `catch exec' commands produce error
4559 messages on platforms that don't provide these features.
4560
4561Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4562
4563 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4564 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4565 (shortening names from solib_threshold.exp etc), won't run on
4566 anything but HP-UX for the foreseeable future.
4567 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4568 reflect move.
4569
4570Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4571
4572 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4573 gdb.trace/Makefile.in (clean): Remove all test executables.
4574
4575Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4576
4577 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4578 successfully re-sets breakpoints in shared libraries.
4579 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4580
4581Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4582
beb998c6
AC
4583 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4584 and compiled w/o GCC.
c906108c
SS
4585
4586 * gdb.hp/watch-cmd.exp: ditto.
4587
4588 * gdb.hp/watch-hp.exp: ditto.
4589
4590 * gdb.hp/xdb1.exp: ditto.
4591
4592 * gdb.hp/xdb2.exp: ditto.
4593
4594 * gdb.hp/dbx.exp: ditto.
4595
4596Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4597
4598 * constvars.c: Remove C++-isms.
4599 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4600 with GCC.
4601
4602Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4603
4604 The following changes are part of the HP merge.
4605
4606 * gdb.base/break.exp: new tests to verify that catchpoints for
4607 fork, vfork, and exec don't trigger inappropriately.
4608
4609 * gdb.base/opaque.exp: compile one file at a time, then link.
4610
4611 * gdb.base/signals.exp: be more restrictive about which hppa
4612 systems receive a setup_xfail. new tests.
4613
4614 * gdb.base/solib_threshold.build: new file.
4615 * gdb.base/solib_threshold.exp: new file.
4616 * gdb.base/solib_threshold.link_opts: new file.
4617 * gdb.base/solib_threshold.mk: new file.
4618 * gdb.base/gen_solib_threshold.c: new file.
4619
4620 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4621 tests. New tests for enums inside classes.
4622
4623 * gdb.c++/compiler.cc: indicate support of template debugging.
4624
4625 * gdb.c++/demangle.exp: run hp style demangling tests.
4626
4627 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4628 tests.
4629
4630 * gdb.c++/misc.cc: changes to support new tests.
4631
4632 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4633 to support new tests.
4634
4635 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4636 gcc, then skip these tests.
4637
4638Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4639
4640 The following files are part of the HP merge; some had longer
4641 names at HP, but have been renamed to be no more than 14
4642 characters in length.
4643
4644 * gdb.hp/ambiguous.cc: new file.
4645 * gdb.hp/ambiguous.exp: new file.
4646 * gdb.hp/attach.exp: new file.
4647 * gdb.hp/attach2.exp: new file.
4648 * gdb.hp/classes-hp.exp: new file.
4649 * gdb.hp/ctti.exp: new file.
4650 * gdb.hp/ctti-add.cc: new file.
4651 * gdb.hp/ctti-add1.cc: new file.
4652 * gdb.hp/ctti-add2.cc: new file.
4653 * gdb.hp/ctti-add3.cc: new file.
4654 * gdb.hp/dbx.exp: new file.
4655 * gdb.hp/exception.cc: new file.
4656 * gdb.hp/exception.exp: new file.
4657 * gdb.hp/foll-exec.c: new file.
4658 * gdb.hp/foll-exec.exp: new file.
4659 * gdb.hp/foll-fork.c: new file.
4660 * gdb.hp/foll-fork.exp: new file.
4661 * gdb.hp/foll-vfork.c: new file.
4662 * gdb.hp/foll-vfork.exp: new file.
4663 * gdb.hp/inherit-hp.exp: new file.
4664 * gdb.hp/more-steps.exp: new file.
4665 * gdb.hp/namespace.cc: new file.
4666 * gdb.hp/namespace.exp: new file.
4667 * gdb.hp/optimize.exp: new file.
4668 * gdb.hp/pxdb.c: new file.
4669 * gdb.hp/pxdb.exp: new file.
4670 * gdb.hp/quicksort.exp: new file.
4671 * gdb.hp/reg-test.exp: new file.
4672 * gdb.hp/reg-test.s: new file.
4673 * gdb.hp/sized-enum.c: new file.
4674 * gdb.hp/sized-enum.exp: new file.
4675 * gdb.hp/start-stop.exp: new file.
4676 * gdb.hp/templ-hp.cc: new file.
4677 * gdb.hp/templ-hp.exp: new file.
4678 * gdb.hp/thr-lib.c: new file.
4679 * gdb.hp/thr-lib.exp: new file.
4680 * gdb.hp/thr-lib.h: new file.
4681 * gdb.hp/thr-liblib.c: new file.
4682 * gdb.hp/virtfun-hp.c: new file.
4683 * gdb.hp/virtfun-hp.exp: new file.
4684 * gdb.hp/watch-cmd.exp: new file.
4685 * gdb.hp/watch-hp.exp: new file.
4686 * gdb.hp/xdb1.exp: new file.
4687 * gdb.hp/xdb2.exp: new file.
4688 * gdb.hp/xdb3.exp: new file.
4689
4690Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4691
4692 The following files are part of the HP merge; some had longer
4693 names at HP, but have been renamed to be no more than 14
4694 characters in length.
4695
4696 * gdb.base/ss.h: new file.
4697 * gdb.base/call-ar-st.c: new file.
4698 * gdb.base/call-ar-st.exp: new file.
4699 * gdb.base/call-rt-st.c: new file.
4700 * gdb.base/call-rt-st-exp: new file.
4701 * gdb.base/call-strs.exp: new file.
4702 * gdb.base/ena-dis-br.exp: new file.
4703 * gdb.base/environ.exp: new file.
4704 * gdb.base/long_long.exp: new file.
4705 * gdb.base/sect-cmd.exp: new file.
4706 * gdb.base/shlib-cl2.exp: new file.
4707 * gdb.base/smoke.exp: new file.
4708 * gdb.base/so-impl-ld.c: new file.
4709 * gdb.base/so-impl-ld.exp: new file.
4710 * gdb.base/so-indr-cl.c: new file.
4711 * gdb.base/so-indr-cl.exp: new file.
4712 * gdb.base/varargs.exp: new file.
4713 * gdb.base/volatile.exp: new file.
4714 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4715 * gdb.base/display.exp: new file.
c906108c
SS
4716 * gdb.c++/derivation.exp: new file.
4717 * gdb.c++/local.exp: new file.
4718 * gdb.c++/member-ptr.exp: new file.
4719 * gdb.c++/overload.exp: new file.
4720 * gdb.c++/ovldbreak.exp: new file.
4721 * gdb.c++/ref-types.exp: new file.
4722 * gdb.c++/ref-types2.exp: new file.
4723 * gdb.c++/userdef.exp: new file.
beb998c6 4724
c906108c
SS
4725Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4726
4727 * gdb.base/default.exp: Reflect wording change in remote.c.
4728
dc96c6c7 4729Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4730
4731 * gdb.base/help.exp: Update to reflect current text.
4732
4733Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4734
4735 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4736 they're stack variables and contain garbage.
4737 * gdb.c++/anon-union.exp: new file.
4738
4739 The following changes were made by David Taylor
4740 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4741 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4742 in changes by HP.
4743
4744 * gdb.base/bitops.exp: new file.
4745 * gdb.base/default.exp: change expected messages for catch and
4746 info catch tests to reflect HP merge changes.
4747 * gdb.base/enable-disable-break.exp
4748 * gdb.base/ending-run.c: new file.
4749 * gdb.base/long_long.c: new file.
4750 * gdb.base/maint.exp: new file.
4751 * gdb.base/pointers2.exp: new file.
4752 * gdb.base/shlib-call2.exp: new file.
4753 * gdb.base/solib.exp: new file.
4754 * gdb.base/step-test.c: new file.
4755 * gdb.c++/anon-union.cc: new file.
4756 * gdb.c++/local.cc: new file.
4757 * gdb.c++/member-pointer.cc: new file.
4758 * gdb.c++/method.cc: new file.
4759 * gdb.c++/ref-types.cc: new file.
4760 * gdb.c++/ref-types2.cc: new file.
4761 * gdb.c++/userdef.cc: new file.
beb998c6 4762
c906108c
SS
4763 * gdb.base/scope.exp: compile one file at a time, then link.
4764 * gdb.base/langs.exp: ditto.
4765 * gdb.base/list.exp: ditto.
beb998c6 4766
c906108c
SS
4767Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4768
4769 The following changes were made by David Taylor
4770 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4771 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4772 in changes by HP.
beb998c6 4773
c906108c
SS
4774 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4775 skip tests. When compiling pass c++ flag to gdb_compile.
4776 * gdb.c++/
beb998c6 4777
c906108c
SS
4778 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4779 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4780 (skip_hp_tests): new function.
4781 (gdb_preprocess): new function.
4782
4783 * configure.in (hpdir): decide whether to configure gdb.hp.
4784 * configure: regenerated.
4785
4786 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4787 to delete on clean.
4788 (EXECUTABLES): update to reflect new additions.
4789 * gdb.base/commands.exp: update message expected.
4790 * gdb.base/default.exp: add copyright notice.
4791 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4792 * gdb.base/help.exp: update messages to reflect current text.
4793 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4794 targets for recurse tests.
4795 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4796 skip this file.
4797
4798 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4799 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4800 compilation.
4801 * gdb.c++/misc.exp: ditto.
4802 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4803 run the tests. tell gdb_compile that it's a c++ compilation.
4804
4805 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4806
c906108c
SS
4807 * gdb.base/all-bin.exp: new file.
4808 * gdb.base/arithmet.exp: new file.
4809 * gdb.base/assign.exp: new file.
4810 * gdb.base/completion.exp: new file.
4811 * gdb.base/cond-expr.exp: new file.
4812 * gdb.base/condbreak.exp: new file.
4813 * gdb.base/define.exp: new file.
4814 * gdb.base/dollar.exp: new file.
4815 * gdb.base/environment.exp: new file.
4816 * gdb.base/eval-skip.exp: new file.
4817 * gdb.base/jump.exp: new file.
4818 * gdb.base/logical.exp: new file.
4819 * gdb.base/pointers.exp: new file.
4820 * gdb.base/relational.exp: new file.
4821 * gdb.base/section_command.exp: new file.
4822 * gdb.base/whatis-expr.exp: new file.
4823
4824 * gdb.base/all-types.c: new file.
4825 * gdb.base/call-array-struct.c: new file.
4826 * gdb.base/call-return-struct.c: new file.
4827 * gdb.base/call-strings.c: new file.
4828 * gdb.base/callfuncs2.c: new file.
4829 * gdb.base/condbreak.c: new file.
4830 * gdb.base/constvars.c: new file.
4831 * gdb.base/display.c: new file.
4832 * gdb.base/int-type.c: new file.
4833 * gdb.base/jump.c: new file.
4834 * gdb.base/miscexprs.c: new file.
4835 * gdb.base/pointers.c: new file.
4836 * gdb.base/pointers2.c: new file.
4837 * gdb.base/shmain.c: new file.
4838 * gdb.base/shr1.c: new file.
4839 * gdb.base/shr2.c: new file.
4840 * gdb.base/solib.c: new file.
4841 * gdb.base/solib1.c: new file.
4842 * gdb.base/solib2.c: new file.
4843 * gdb.base/varargs.c: new file.
4844 * gdb.c++/derivation.cc: new file.
4845 * gdb.c++/overload.cc: new file.
4846 * gdb.c++/ovldbreak.cc: new file.
4847 * gdb.hp/attach.c: new file.
4848 * gdb.hp/attach2.c: new file.
4849 * gdb.hp/average.c: new file.
4850 * gdb.hp/compiler.c: new file.
4851 * gdb.hp/compiler.cc: new file.
4852 * gdb.hp/execd-program.c: new file.
4853 * gdb.hp/follow-exec.c: new file.
4854 * gdb.hp/follow-fork.c: new file.
4855 * gdb.hp/follow-vfork-and-exec.c: new file.
4856 * gdb.hp/misc-hp.cc: new file.
4857 * gdb.hp/more-steps.c: new file.
4858 * gdb.hp/optimize.c: new file.
4859 * gdb.hp/quicksort.c: new file.
4860 * gdb.hp/run-hp.c: new file.
4861 * gdb.hp/start-stop.c: new file.
4862 * gdb.hp/sum.c: new file.
4863 * gdb.hp/templates-hp.cc: new file.
4864 * gdb.hp/thread-local-in-lib.c: new file.
4865 * gdb.hp/thread-local-in-lib.h: new file.
4866 * gdb.hp/thread-local-in-lib.lib.c: new file.
4867 * gdb.hp/vforked-program.c: new file.
4868 * gdb.hp/virtfunc-hp.cc: new file.
4869 * gdb.hp/watchpoint-hp.c: new file.
4870 * gdb.hp/xdb.c: new file.
4871 * gdb.hp/xdb0.c: new file.
4872 * gdb.hp/xdb0.h: new file.
4873 * gdb.hp/xdb1.c: new file.
4874
4875Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4876
4877 The following change was made by Edith Epstein
4878 <eepstein@cygnus.com> as part of a project to merge in changes
4879 originally made by HP; HP did not create ChangeLog entries.
4880
4881 * gdb.c++/demangle.exp: changed the expected output for some
4882 ARM-style mangling -- removed second reference to datatype.
4883 For example, maint demangle __dt__11T1__pt__2_cFv
4884 T1<char>::~T1<char>(void)
4885 becomes,
4886 maint demangle __dt__11T1__pt__2_cFv
4887 T1<char>::~T1(void)
4888
4889 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4890
c906108c
SS
4891Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4892
4893 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4894 * gdb.trace/backtrace.exp: Likewise.
4895 * gdb.trace/circ.exp: Likewise.
4896 * gdb.trace/collection.exp: Likewise.
4897 * gdb.trace/deltrace.exp: Likewise.
4898 * gdb.trace/infotrace.exp: Likewise.
4899 * gdb.trace/limits.exp: Likewise.
4900 * gdb.trace/packetlen.exp: Likewise.
4901 * gdb.trace/passc-dyn.exp: Likewise.
4902 * gdb.trace/passcount.exp: Likewise.
4903 * gdb.trace/report.exp: Likewise.
4904 * gdb.trace/save-trace.exp: Likewise.
4905 * gdb.trace/tfind.exp: Likewise.
4906 * gdb.trace/tracecmd.exp: Likewise.
4907 * gdb.trace/while-dyn.exp: Likewise.
4908 * gdb.trace/while-stepping.exp: Likewise.
4909
49101998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4911
4912 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4913
4914Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4915
4916 From Brendan Kehoe:
4917 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4918 int return types.
4919
4920Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4921
4922 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4923 remote dos host testing right.
4924
4925Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4926
4927 * gdb.base/corefile.exp: remove some xfails.
4928
4929Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4930
4931 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4932 have different timestamps.
4933
4934Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4935
4936 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4937 gdb.base/default.exp: Replace "exec" with "executable".
4938
4939Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4940
4941 * gdb.base/default.exp: Change else if to elseif from previous
4942 delta.
4943
4944Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4945
4946 * gdb.base/default.exp: Add brace missing from previous delta.
4947
4948Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4949
4950 * gdb.base/default.exp: Support test for info float for all
4951 varieties of arm toolchain.
4952
dc96c6c7 4953Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4954
4955 * gdb.trace/*.exp: remove "remote_download" command.
4956
dc96c6c7 4957Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4958
4959 * gdb.trace/*.exp: remove -gdwarf from compile.
4960
4961Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4962
4963 * gdb.trace/configure.in(AC_INIT): typo
4964 * gdb.trace/configure: regenerated
4965
dc96c6c7 4966Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4967
4968 * config/m68k-emc.exp: New file.
4969 * lib/<emc-support.exp trace-support.exp}: New files.
4970 * configure.in: add new test directory gdb.trace.
4971 * gdb.trace/{configure configure.in Makefile.in}: New files.
4972 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4973 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4974 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4975 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4976 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4977 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4978 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4979
dc96c6c7 4980Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4981
4982 * gdb.c++/classes.exp: Change all regular expressions to match
4983 arbitrary combinations of newline/carriage-return, so that they
4984 will work equally well on Unix and Windows.
4985 * gdb.c++/inherit.exp: ditto.
4986 * gdb.c++/virtfunc.exp: ditto.
4987
49881998-08-11 Dawn Perchik <dawn@cygnus.com>
4989
4990 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4991
c2d11a7d
JM
4992Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4993
4994 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4995 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4996 to use a0-a3/d0-d3 as needed.
4997
4998Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4999
5000 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5001 * gdb.disasm/am33.exp: Corresponding changes.
5002
c906108c
SS
50031998-07-11 Felix Lee <flee@cygnus.com>
5004
5005 * gdb.base/callfuncs.exp: add cmp10 test.
5006 * gdb.base/callfuncs.c (cmp10): new function.
5007
5008Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5009
beb998c6 5010 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5011 into two parts to get around a synchronization problem in expect.
5012
3fc11d3e
JM
5013Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5014
5015 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5016
5017 * configure.in: Add options for gdbtk testsuite.
5018
5019 * configure: Regenerate.
5020
5021 * gdb.gdbtk: New directory to hold gdbtk tests.
5022
c906108c
SS
5023Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5024
5025 * gdb.fortran/types.exp: Escape brackets in expect patterns
5026 for test_float_literal_types_accepted tests.
5027 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5028 before run test.
5029
c2d11a7d
JM
5030Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5031
5032 * am33.exp: Just compile, do not link the testcase.
5033 * am33.s: Add ".am33" pseudoop to force am33 mode.
5034
c906108c
SS
50351998-06-25 Felix Lee <flee@cygnus.com>
5036
5037 * gdb.base/setshow.exp: make sure $pc is sane.
5038
5039 * gdb.stabs/weird.exp: split expect patterns properly.
5040
c2d11a7d
JM
5041Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5042
5043 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5044 * gdb.disasm/am33.exp: Run it.
5045
dc96c6c7 5046Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5047
5048 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5049 match processing (and eliminate spurious timeouts when running).
5050
dc96c6c7 5051Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5052
5053 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5054 exception test, but conditionalize it on target [mach | gnu].
5055
dc96c6c7 5056Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5057
5058 * gdb.base/overlays.exp: fixup compile line for linker script.
5059
5060Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5061
5062 * gdb.fortran/types.exp: don't guess at float size.
5063
5064Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5065
5066 * gdb.base/exprs.exp: delete test that depends on int size.
5067
5068Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5069
5070 * config/sim.exp: Removed checks for target triplets.
5071 (gdb_target_sim): Use gdb,target_sim_options.
5072
5073Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5074
5075 * gdb.base/reread.exp: New file.
5076 * gdb.base/reread1.c: New file.
5077 * gdb.base/reread2.c: New file.
5078
5079Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5080
5081 * config/sim.exp: Use 'target sim -sparclite' when running
5082 SPARClite programs.
5083
5084Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5085
5086 * gdb.base/structs2.exp: New file.
5087 * gdb.base/structs2.c: New file.
5088
5089Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5090
5091 * gdb.asm/common.inc: New file.
5092 * gdb.asm/d10v.inc: New file.
5093 * asm-source.exp: Pass -I's to gas to find .inc files.
5094 Update line numbers in expected output.
5095 * asmsrc1.s: Rewrite.
5096 * asmsrc2.s: Rewrite.
5097 * configure.in: Create arch.inc symlink.
5098 * configure: Regenerate.
5099 * Makefile.in (distclean): Delete arch.inc.
5100
5101Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5102
5103 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5104 (t_enum_value2): ditto
5105 (t_enum_value3): ditto
5106 (main): ditto
5107Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5108
5109 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5110 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5111 change.
5112 Use gdb_test instead of send_gdb/gdb_expect sequences.
5113
5114Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5115
5116 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5117 not void.
5118
5119Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5120
5121 * gdb.base/branches.c: Code with lots of loops and
5122 subroutines. Used to test gdbs ability to single step through PC
5123 changes, especially to test mips-tdep.c:mips_next_pc
5124
5125Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5126
5127 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5128 more rigorous EGCS C++ error checking.
5129
5130Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5131
5132 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5133 tests.
c906108c 5134 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5135 function when asleep.
c906108c 5136 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5137 for i*86 Linux and SVR4 signal handling problems.
5138 Remove linux xfail for `next to handler in signals_tests_1', fixed
5139 by recent infrun.c change.
c906108c 5140 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5141 stack backtraces.
c906108c
SS
5142 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5143 target.[ch] change.
5144
5145Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5146
5147 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5148 for a newline from gdb before continuing.
5149 (default_gdb_exit): Just look for y or n.
5150 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5151 it does, fail the rests of the tests in the file.
5152
5153Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5154
5155 * config/cygmon.exp: New file.
5156
5157Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5158
5159 * gdb.base/list.exp: Fix problem with "list default lines around
5160 main" test on remote targets.
5161
5162 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5163 run test on remote targets.
5164
5165Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5166
5167 * gdb.asm: New directory.
5168 * configure.in: Configure it.
5169 * configure: Regenerate.
5170 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5171 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5172
5173Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5174
5175 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5176
dc96c6c7 5177Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5178
c906108c
SS
5179 * gdb.base/overlays (several files): Merge the two overlay
5180 managers into one. Change variables (foox, barx, bazx, grbxx)
5181 back into ints but force them to load in their proper sections.
5182
5183Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5184
5185 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5186 on-chip insn memory and IMAP1 to upper 128k.
5187 (D10VCopy): Handle memory regions crossing 16k boundaries.
5188 (D10VCopy): Transfer data in 32 bit chunks.
5189
5190Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5191
5192 * gdb.base/overlays.c (main): Exit normally when result is
5193 correct.
5194
5195 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5196 map. Include space for printf in .text segment.
5197
5198 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5199 updated d10v memory VMA/LMA map.
5200 (D10VCopy): Call D10VTranslate.
beb998c6 5201
c906108c
SS
5202Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5203
5204 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5205
5206 * gdb.base/bar.c (barx, bar): Change variable to small array so
5207 that it won't be put into the .sdata - small data -
5208 section. Update reference.
5209 * gdb.base/baz.c (bazx, baz): Ditto.
5210 * gdb.base/foo.c (foox, foo): Ditto.
5211 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5212
5213 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5214 to be arrays.
beb998c6 5215
dc96c6c7 5216Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5217
c906108c
SS
5218 * gdb.base/overlays.exp: fix up and get working again.
5219 Add tests for backtraces from an overlay function.
beb998c6 5220
c906108c
SS
5221Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5222
5223 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5224 "calling function with watchpoint enabled".
5225
5226Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5227
5228 * gdb.base/break.exp (test_next_with_recursion): Remove
5229 gdb_suppress_tests for d10v-*-*.
5230 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5231 pending review of whether it is useful or not.
5232
5233Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5234
5235 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5236
5237Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5238
5239 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5240 * config/dve.exp: New file to support Densan boards.
5241
5242Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5243
5244 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5245 reads and BSD.
5246
5247Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5248
5249 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5250 response.
5251
5252 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5253
5254Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5255
5256 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5257 test.
5258
5259 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5260 target_sizeof_long and target_bigendian_p.
5261 (structs_by_value, structs_by_reference): Check values according
5262 to targets word size and endianess.
beb998c6 5263
c906108c
SS
5264Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5265
5266 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5267 output.
5268
5269Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5270
5271 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5272 Update test of set args help to match source change.
5273
5274Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5275
5276 * gdb.base/default.exp: Expect help system output to be in
5277 alphabetical order.
5278 * gdb.base/help.exp: Ditto.
5279
5280Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5281
5282 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5283 "i*86-pc-linux-gnu*".
5284 * gdb.base/interrupt.exp: Ditto.
5285 * gdb.base/corefile.exp: Ditto.
5286
5287 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5288 define vxworks when building the testcase.
5289
5290 * gdb.base/ptype.exp: Fix testnames to be unique.
5291 * gdb.base/radix.exp: Ditto.
5292 * gdb.base/term.exp: Ditto.
5293 * gdb.base/whatis.exp: Ditto.
5294 * gdb.c++/classes.exp: Ditto.
5295
5296Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5297
5298 * gdb.base/callfuncs.exp: Fix indentation.
5299
5300 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5301 suppress_flag has been set.
5302 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5303 target feature.
5304
5305Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5306
5307 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5308 the testcase.
5309
5310 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5311 set_debug_traps() and breakpoint().
5312 * gdb.c++/misc.cc (main): Ditto.
5313 * gdb.c++/templates.cc (main): Ditto.
5314 * gdb.c++/virtfunc.cc (main): Ditto.
5315
5316Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5317
5318 * lib/gdb.exp(gdb_step_for_stub): New function.
5319 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5320 exists, reload the executable and do a "continue" instead of
5321 doing a jump.
5322 (runto_main): Use gdb_step_for_stub.
beb998c6 5323
c906108c
SS
5324 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5325 tests to have unique names.
5326 * gdb.base/callfuncs.exp: Ditto.
5327 * gdb.base/commands.exp: Ditto.
5328 * gdb.base/default.exp: Ditto.
5329 * gdb.base/help.exp: Ditto.
5330 * gdb.base/list.exp: Ditto.
5331 * gdb.base/opaque.exp: Ditto.
5332 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5333 similar tests.
beb998c6 5334
c906108c
SS
5335 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5336 * gdb.c++/cplusfuncs.cc: Ditto.
5337 * gdb.c++/virtfunc.cc: Ditto.
5338
5339 * config/monitor.exp: Keep track of the last file we saw, rather
5340 than trying to get the info from gdb.
5341
5342 * gdb.fortran/types.exp: Move comment to previous line.
5343
5344Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5345
5346 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5347 target mode.
5348
5349Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5350
5351 From Bob Manson:
5352 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5353 string from GDB when it connects.
5354
5355 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5356
5357Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5358
5359 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5360 if we can't get a debug format from GDB (we may be testing an
5361 older GDB). Use a 10 second timeout when checking for the format.
5362
5363 * gdb.stabs/weird.exp: Fix quoting.
5364
5365 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5366
5367Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5368
5369 * config/arm-ice.exp: New file.
5370
5371Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5372
5373 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5374 until it has been modified to work with the new testsuite.
5375
99707966 5376 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5377 testcase won't compile, cause all of the testcases in the file to
5378 fail instead.
5379
5380 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5381 (gdb_clear_suppressed): New procedure.
5382 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5383 it contains a positive value.
5384
5385Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5386
5387 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5388
5389 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5390
5391Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5392
5393 * lib/gdb.exp (setup_xfail_format): New function.
5394 (get_debug_format): New function to get debug format.
5395 (debug_format): New global variable to hold last value set
5396 by get_debug_format.
5397 * gdb.base/list.exp: Call get_debug_format and expect some
5398 tests to fail for DWARF 1 and COFF formats.
5399 * gdb.c++/ptype.exp: Ditto.
5400 * gdb.c++/classes.exp: Ditto.
5401 * gdb.c++/cplusfuncs.exp: Ditto.
5402 * gdb.c++/inherit.exp: Ditto.
5403 * gdb.c++/templates.exp: Ditto.
5404 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5405
c906108c
SS
5406Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5407
5408 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5409 host doesn't have a currently-open connection.
5410
5411 * config/sparclet.exp: Cleanups and fixes to make it generic for
5412 any gdb stub target. Handle cases where gdb doesn't respond when
5413 interrupted in a sane fashion.
5414
5415 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5416 same thing in a totally different way.
5417
5418 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5419 setting "timeout".
5420 (gdb_start): We set the global gdb_prompt variable in
5421 default_gdb_init now.
5422
5423Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5424
5425 * gdb.base/printcmds.exp: Fix "check for floating addition"
5426 regexp to accept results within approx +/- .01 of exact value.
5427 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5428
5429Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5430
5431 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5432 properly.
5433 (gdb_expect): Add optional timeout parameter, and add timeout
5434 value to various calls.
5435 (gdb_suppress_tests): Only give one warning message per group.
5436
5437Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5438
5439 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5440 global variables. Handle getting a value for $timeout more
5441 gracefully.
5442
5443Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5444
5445 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5446 initialize.
5447 (default_gdb_init): New procedure; allow gdb_init to be overridden
5448 by a target configuration file.
5449 (gdb_expect): Pass the timeout to remote_expect.
5450
5451 * config/monitor.exp(gdb_load): Fix typo in regexp.
5452
5453Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5454
5455 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5456
5457Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5458
5459 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5460 here. Call gdb_target_exec before rebooting the target, to make
5461 sure the connection to the target is closed.
5462 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5463 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5464 Also detect "Timeout reading from remote" error.
5465
5466 * config/gdbserver.exp: Pass the executable being loaded to
5467 gdb_target_monitor. Don't call gdb_file_cmd here; let
5468 gdb_target_monitor do it.
5469
5470 * gdb.disasm/hppa.exp: Don't use exec_output.
5471
5472Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5473
5474 * gdb.base/list.exp: If we're debugging a non-native target,
5475 try to set the pc register to point to the start of the
5476 program before doing the first list command.
5477
5478 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5479 test_calls after restarting.
5480
5481 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5482 reloading.
5483
5484 * gdb.base/watchpoint.exp: Fix typo.
5485
5486 * gdb.base/setshow.exp: Check for use_gdb_stub.
5487
5488 * gdb.base/break.exp: Fix continue until exit test for the gdb
5489 stub case.
5490 * gdb.base/langs.exp: Ditto.
5491
5492 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5493 gdb_load_offset. If we weren't given a file to load, figure out
5494 what the current file is and use it.
5495
5496 * config/i386-bozo.exp: New file.
5497
5498Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5499
5500 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5501 feature.
5502
5503 * config/proelf.exp: New entry.
5504
5505Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5506
5507 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5508 of regexps.
5509
5510 * gdb.base/watchpoint.exp: Don't run the test_stepping
5511 tests if gdb can't call functions on the target.
5512
5513 * gdb.base/setshow.exp: Don't run the set prompt tests if
5514 the board has gdb_prompt set.
5515
5516Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5517
5518 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5519 * gdb.base/commands.exp: Likewise.
5520 * gdb.base/setshow.exp: Likewise.
5521
5522Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5523
5524 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5525 feature.
5526
5527 * config/i960.exp: New file.
5528
5529Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5530
5531 * gdb.base/funcargs.exp: Check for gdb,short_int target
5532 feature instead of looking for explicit target triplets.
5533
dc96c6c7 5534Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5535
beb998c6 5536 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5537 "p 123DEADBEEF", to check parse_number.
5538 * top.c: change "to enable to enable" to "to enable" in a couple
5539 of help strings.
5540
5541Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5542
5543 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5544 on the mn10300.
beb998c6 5545
c906108c
SS
5546Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5547
5548 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5549 where the test executable is run with explicit args.
5550 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5551
5552Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5553
5554 * gdb.base/run.c: Use FAKEARGV to build test executable that
5555 does not require a command line arg, since most simulators
5556 don't currently support passing such an arg into the simulated
5557 program.
5558 * gdb.base/commands.exp: Change tests to insert the proper
5559 value as the arg to the first recursive factorial call. Change
5560 compilation line to define FAKEARGV at compile time.
5561
5562Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5563
5564 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5565 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5566 function with watchpoint enabled" test.
5567
5568Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5569
5570 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5571 Don't call gdb_test when the command doesn't return to a gdb prompt.
5572
5573 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5574 "Tests restarted" messages.
5575
5576Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5577
5578 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5579
dc96c6c7 5580Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5581
5582 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5583 for INFO SYMBOL; add help tests for OVERLAY commands.
5584 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5585 add tests for OVERLAY commands
5586 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5587 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5588 * gdb.base/sigall.c: add usestubs code frag
5589 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5590
c906108c
SS
5591Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5592
5593 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5594 failures.
5595 (gdb_stop_suppressing_tests): Note that tests have restarted.
5596
5597Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5598
5599 * config/h8300.exp: New file.
5600
5601Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5602
5603 * gdb.base/setshow.exp: Check for the existence of a
5604 feature, not its value.
5605
5606Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5607
5608 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5609
5610 * gdb.base/scope.exp: It's now init0(), not init().
5611
5612 * gdb.base/scope0.c: For now, change init() to be init0().
5613
5614 * config/monitor.exp: Use gdb_serial in preference to serial
5615 or netport.
5616
5617 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5618 and it's not already set.
5619
5620Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5621
5622 * gdb.base/setshow.exp: Only test the run command if the target
5623 isn't using a stub and if it supports argument passing.
5624
5625Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5626
5627 * config/udi.exp(gdb_start): Make sure UDICONF is set
5628 properly before starting gdb.
5629
5630Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5631
5632 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5633 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5634 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5635
5636Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5637
5638 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5639 specialized code to reboot the board, use remote_reboot instead.
5640
5641 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5642
5643 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5644
5645 * config/monitor.exp: Make sure we disconnect from the target.
5646 Also, try a reboot/reload cycle instead of failing if the
5647 load fails.
5648
5649Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5650
5651 * gdb.base/default.exp: Don't set match_max.
5652 * gdb.base/help.exp: Ditto.
5653 * gdb.base/list.exp: Ditto.
5654 * gdb.base/signals.exp: Ditto.
5655
5656 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5657 set, use remote_ld to download the testcase instead of
5658 the GDB loader.
5659
5660Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5661
5662 * config/vr5000.exp: New file.
5663
5664 * config/monitor.exp(gdb_target_monitor): Add pattern for
5665 "Ending remote" to detect errors in connecting.
5666
5667 * gdb.base/setshow.exp: Add .* within auto language test.
5668
5669 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5670 target feature.
5671
5672 * config/monitor.exp(gdb_load): Check for a failure when loading,
5673 and reboot the board if necessary.
5674
5675 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5676 a set of tests. Remove print.* from the patterns being checked.
5677
5678Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5679
5680 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5681 refer to gdb_spawn_id.
5682
5683 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5684 longer used.
5685 * config/sparclet.exp: Ditto.
5686 * config/sparclet-old.exp: Ditto.
5687 * config/slite.exp: Ditto.
5688 * config/sim.exp: Ditto.
5689 * gdb.base/funcargs.exp: Ditto.
5690
5691 * lib/gdb.exp:Remove references to gdb_spawn_id.
5692 (gdb_expect): Move to remote.exp.
5693
5694Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5695
5696 * config/monitor.exp: Detect the "Couldn't establish connection"
5697 message from GDB.
5698
5699Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5700
5701 * gdb.base/bitfields.exp: Use runto instead of explicit
5702 gdb_run_cmd/gdb_expect sequences.
5703
5704 * gdb.base/break.exp(text_next_with_recursion): Add match for
5705 gdb_expect call.
5706
5707 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5708 We also need to handle the "A program is being debugged already"
5709 prompt from gdb. Use gdb_test to set the baud rate.
5710
5711 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5712 to 20000. Really. I mean it.
5713
5714Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5715
5716 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5717 fails. If suppress_flag is set, skip perror message about not
5718 being able to send to GDB.
5719 (send_gdb): If suppress_flag is set, don't try to send commands to
5720 GDB.
5721 (gdb_expect): If suppress_flag is set, always fail immediately.
5722 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5723 (gdb_init): Call gdb_stop_suppressing_tests.
5724 (default_gdb_exit): Ditto.
5725 (default_gdb_start): Ditto.
5726
5727 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5728 gdb_stop_suppressing_tests as appropriate.
5729 * gdb.base/break.exp: Ditto.
5730 * gdb.base/callfuncs.exp: Ditto.
5731 * gdb.base/commands.exp: Ditto.
5732 * gdb.base/exprs.exp: Ditto.
5733 * gdb.base/funcargs.exp: Ditto.
5734 * gdb.base/list.exp: Ditto.
5735 * gdb.base/recurse.exp: Ditto.
5736 * gdb.base/scope.exp: Ditto.
5737 * gdb.base/structs.exp: Ditto.
5738 * gdb.c++/inherit.exp: Ditto.
5739
5740Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5741
5742 * config/vr4300.exp: New file.
5743
99707966
MC
5744 * gdb.*/*.exp: Call gdb_expect instead of expect.
5745
5746 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5747
5748Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5749
5750 * lib/gdb.exp(gdb_init): New function.
5751
5752 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5753 for each individual variable set.
5754
5755 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5756 name.
5757
5758 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5759
5760 * gdb.base/scope.exp: Use gdb_test.
5761
5762 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5763 aborting; the testsuite driver will do that for us (see
5764 gdb_finish). Also, use gdb_test in a few more places.
5765
5766Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5767
5768 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5769
5770Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5771
5772 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5773 and "add_tests" are not at the same address.
5774
5775Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5776
5777 * gdb.base/ptype.exp: Use gdb_test.
5778
5779Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5780
5781 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5782 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5783 left in. No longer expect them to fail.
5784
5785 * gdb.stabs/*.mt; Deleted, no longer used.
5786 * gdb.stabs/configure.in: Remove references to target makefile
5787 frags.
5788 * gdb.stabs/configure: Rebuilt.
5789
5790 * gdb.disasm/*.mt: Deleted, no longer used.
5791 * gdb.disasm/configure.in: Remove references to target makefile
5792 frags. Use "sh3.s" as the unique filename for this directory.
5793 * gdb.disasm/configure: Rebuilt.
5794
5795 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5796 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5797 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5798
5799Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5800
5801 * config/udi.exp: Use mondfe,name instead of remote_host.
5802
5803Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5804
5805 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5806 a function with a watchpoint enabled on the mn10200.
5807
5808 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5809 before trying to create it!
5810
5811Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5812
5813 * config/vx.exp: Use hostname instead of netport.
5814
5815 * config/vxworks.exp: New file.
5816
5817 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5818
5819 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5820 gdb before assuming everything worked. Send a ^C if a timeout
5821 occurs.
5822
5823 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5824 $gdb_spawn_id directly.
5825 (gdb_run_cmd): Try _start as well as start. Use the target feature
5826 gdb,start_symbol as the symbol to start from when jumping.
5827
5828Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5829
5830 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5831 redundant) test.
5832
5833 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5834 it doesn't lose for 16bit integer systems.
5835
5836Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5837
5838 * gdb.fortran/types.exp: If the target doesn't support "double"
5839 data types, then expect "real" types to only be 4 bytes.
5840
5841 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5842 call tests if the target doesn't support inferior function calls.
5843
5844 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5845 in printf tests.
5846
5847Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5848
5849 * gdb.base/help.exp: Disable "help set", "help show", and
5850 "help support". Simplify regexp for "help stack".
5851
5852 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5853 to 60 seconds. Temporarily set match_max to 15000 around the
5854 "info copying" test.
5855
5856 * gdb.base/nodebug.exp: Don't try to do an inferior function
5857 call if the target doesn't support them.
5858 * gdb.base/printcmds.exp: Likewise.
5859 * gdb.base/setvar.exp: Likewise.
5860 * gdb.base/structs.exp: Likewise.
5861 * gdb.c++/templates.exp: Likewise.
5862 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5863
5864 * gdb.base/recurse.exp: Enable for the mn10200.
5865
5866 * configure.in: Do configure gdb.stabs directory for *-*-elf
5867 targets.
5868 * configure: Rebuilt.
5869
5870 * gdb.base/break.exp: Check for gdb,noresults before testing
5871 exit status and/or results from the target.
5872 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5873 * lib/gdb.exp: Remove old (now bogus) initialization of
5874 noinferior, noargs, noresults and nosignals.
5875
5876Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5877
5878 * config/sh.exp: New file.
5879
5880 * config/slite.exp: Try to connect multiple times to the board
5881 before rebooting. Only send a "monitor run" if need_monitor_run
5882 is set.
5883
5884 * gdb.base/break.exp: Don't do the "stub continue" test if
5885 the target has gdb_stub set.
5886
5887 * gdb.base/callfuncs.exp: Increase the timeout.
5888
5889 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5890 if the target has gdb,noinferiorio set.
5891
5892 * gdb.base/list.exp: Increase match_max to 10000 characters.
5893
5894 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5895
5896 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5897 target.
5898
5899 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5900
5901Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5902
5903 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5904 trying to delete the copy of gdb. Catch the file delete so we
5905 don't die if the delete fails; also, the file should be copied to
5906 the host, not to the build.
5907
5908Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5909
5910 * lib/gdb.exp(gdb_test): Surround the result pattern with
5911 parenthesis in case it contains multiple regexps separated
5912 with |.
5913
5914 * gdb.base/watchpoint.exp: Use gdb_test.
5915 * gdb.base/default.exp: Ditto.
5916
5917Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5918
99707966 5919 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5920
c906108c
SS
5921 * gdb.base/scope.exp: Use gdb_test.
5922 * gdb.c++/classes.exp: Ditto.
5923 * gdb.c++/inherit.exp: Ditto.
5924
5925Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5926
5927 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5928 remote_exec instead.
5929 * gdb.base/corefile.exp: Don't be ridiculous.
5930 * gdb.base/*.c: Add missing stub invocations.
5931
5932Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5933
5934 * config/slite.exp: Miscellaneous fixes.
5935
5936 * lib/gdb.exp: Fix runto.
5937
5938 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5939 the target.
5940
5941 * gdb.base/watchpoint.exp: Fix regexp.
5942
5943 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5944 close and wait commands, as the descriptor may now be
5945 invalid. Always call "remote_close host".
5946
5947Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5948
5949 Major rewrite for testsuite revision.
beb998c6 5950
c906108c
SS
5951 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5952 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5953 instead of relying on spawn_id to always contain a valid
5954 spawn id.
5955 (get_compiler_info): New procedure to build the ${binfile}.ci
5956 file, instead of replicating this in N different places.
5957 (gdb_compile): New procedure.
beb998c6 5958
c906108c
SS
5959 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5960 appropriate arguments) instead of compile. Use gdb_test in a lot
5961 more places. Use send_gdb instead of send. Always run gdb_start
5962 at the start of a testcase, as this is no longer done magically.
5963
5964 config/*-gdb.exp: Rename without the -gdb suffix.
5965
5966 config/mips.exp: Use remote_close instead of exit_remote_shell.
5967 config/monitor.exp: Use target_info instead of looking at
5968 baud, timeout, etc.
5969 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5970
5971Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5972
5973 * gdb.c++/templates.exp (test_ptype_of_templates),
5974 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5975 Update expect patterns for destructors and assignment operators
5976 to match corresponding c-typeprint.c changes.
5977 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5978 to destructor breakpoint test, GDB should be able to set the
5979 destructor breakpoint without specifying arguments.
5980
5981Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5982
5983 * gdb.threads/pthreads.exp: Change result for failure to compile due
5984 to lack of pthreads runtime support from an error to simply an
5985 unsupported test, per dejagnu standards.
5986
5987Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5988
5989 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5990 where GDB exits to reduce pattern match time.
5991 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5992
5993 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5994
dc96c6c7 5995Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5996
5997 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5998 * gdb.base/default.exp: ditto.
5999 * gdb.base/nodebug.exp: ditto.
6000 * gdb.base/printcmds.exp: ditto.
6001 * gdb.base/ptype.exp: ditto.
6002 * gdb.base/setvar.exp: ditto.
6003 * gdb.base/structs.exp: ditto.
6004 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6005
6006Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6007
6008 * configure, */configure: Rebuild with autoconf 2.12.
6009
6010Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6011
6012 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6013 use new i*86-pc-linux*-gnu quads.
6014 * gdb.base/corefile.exp: Ditto.
6015 * gdb.base/signals.exp: Ditto.
6016 * gdb.base/sigall.exp: Ditto.
6017 * gdb.base/interrupt.exp: Ditto.
6018
6019 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6020 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6021 RedHat 4.0.
beb998c6 6022
c906108c
SS
6023 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6024 linux. This allows the test case to at least compile on latest
6025 linux, but still not run due to missing the threads runtime library.
6026
6027Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6028
6029 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6030 directory to search gdb directory. Accept and step over conditional
6031 stack alignment code. Consume $prompt in failure cases.
6032 Reset timeout to $oldtimeout instead of some arbitrary value.
6033 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6034 timeout problems with infinite stack backtraces.
6035 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6036 Accept function parameters for linkfunc member.
6037
6038Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6039
6040 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6041 (CXXFLAGS): Remove, unreferenced.
6042 (B_OPTIONS): Add for -B options and add code to initialize with
6043 previous -B options and also add -B option to pick up cross compiled
6044 runtime.
6045 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6046 doing cross compiles.
6047 (target_alias): Declare global.
6048 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6049 to verify that gcc exists in build tree, and if so set CC to that
6050 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6051
c906108c
SS
6052Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6053
6054 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6055 ptype test for anonymous union. Fixup testcase to match
6056 current gcc debug output.
6057
6058Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6059
6060 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6061 force argument to an unsigned long type.
6062
6063Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6064
6065 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6066 tests and anonymous union print/ptype tests.
6067 * gdb.base/list.exp (test_forward-search): Increase timeout by
6068 5 minutes for the "search extremely long line" case.
6069 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6070 completely optional and that the pass/fail messages use the command as
6071 the message if that third arg is a null string.
6072 (gdb_test_exact): Arrange that a null string pattern means match a
6073 null string output rather than any output, which might include random
6074 errors.
6075 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6076 backtrace test.
6077 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6078 always failing and failure is now exposed by gdb.exp changes.
6079
6080Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6081
6082 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6083 weren't being noted.
6084
6085Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6086
6087 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6088 * gdb.stabs/weird.exp: Remove v_comb xfails.
6089
dc96c6c7 6090Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6091
6092 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6093 list.exp scope.exp watchpoint.exp]
6094 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6095
dc96c6c7 6096Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6097
6098 * config/monitor.exp: Increase download timeout to 1000 seconds.
6099
dc96c6c7 6100Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6101
6102 * config/m32r.exp: Increase timeout to 120 seconds.
6103
6104Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6105
6106 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6107 and accept older ordering as obsolescent gcc or gdb.
6108 * gdb.c++/templates.exp: Ditto.
6109 * gdb.c++/virtfunc.exp: Ditto.
6110
6111Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6112
6113 * gdb.base/coremaker.c: Add code to mmap some data so we
6114 can check that it ends up in the core file.
6115 * gdb.base/corefile.exp: Add test to read mmapped data
6116 from core file.
6117
dc96c6c7 6118Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6119
6120 * config/m32r.exp: New file.
6121
6122Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6123
6124 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6125 that cflags can contains -gstabs, and work correctly for other tests.
6126
dc96c6c7 6127Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6128
6129 * gdb.base/setshow.exp: New file, tests show and set.
6130 * gdb.base/setshow.c: New file, tests show and set.
6131 * gdb.base/help.exp: Add test for help set|show annotate.
6132 * gdb.base/default.exp: Add test for set|show annotate.
6133
6134Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6135
6136 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6137 errors unique.
6138 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6139 explicitly.
6140
6141Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6142
6143 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6144 and width commands. This is done elsewhere.
6145 * (gdb_start): Don't call gdb_start_sim here. That's already
6146 done in gdb_load. This fixes lots of failures in default.exp.
6147
6148Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6149
6150 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6151 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6152 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6153 in the same we we treat other failures (since it may be an expected
6154 condition), rather than as an error.
6155 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6156 old test format.
6157
6158Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6159
6160 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6161 (distclean maintainer-clean realclean): No need to remove files
6162 twice. Nuke the duplicates.
6163 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6164 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6165 Remove config.h along with other config files.
6166
6167Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6168
6169 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6170 "p func1 ()" and note that rests of tests are skipped.
6171 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6172 setup_xfails for "print func2::coremaker_local".
6173 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6174 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6175 affected by the previous run test.
6176 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6177 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6178 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6179 "pass int powerset tuple" and "pass modeless int powerset tuple".
6180 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6181 "real write 4" and "real write 8".
6182 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6183 setup_xfails for "print vs1 after tuple assign 2",
6184 "print \$i after tuple assign 2", and
6185 "print vs2 after tuple assign 2".
6186 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6187 meaningful error message and return -1 so the caller can
6188 suppress further tests and avoid a cascade of errors.
beb998c6 6189
c906108c
SS
6190Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6191
6192 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6193 format for printing version.
6194 * gdb.base/default.exp: Ditto.
6195 * gdb.base/interrupt.exp: Fix problem with cascade of
6196 errors if child process dies while calling a function.
beb998c6 6197
c906108c
SS
6198Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6199
6200 * Makefile.in (VPATH): Add
6201 * Makefile.in (Makefile, config.status): Fix rules so things get
6202 remade when necessary.
6203
6204Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6205
6206 * Makefile.in (just-check): Add path to sibling expect dir
6207 to environment variable specified by RPATH_ENVVAR.
6208
6209Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6210
6211 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6212 (just-check): Add shared library paths for libstdc++, tk,
6213 tcl, bfd, and opcodes to the environment variable specified
6214 in RPATH_ENVVAR.
6215 * configure.in: Add support to recognize --enable-shared flag
6216 and generate correct value for RPATH_ENVVAR.
6217 * configure: Regenerated with autoconf.
6218
6219Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6220
6221 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6222 include all osf versions.
6223 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6224 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6225 when target is linux. When failing to build pthreads test
6226 executable, give more meaningful message.
6227 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6228 arg for pthread_create.
beb998c6 6229
c906108c
SS
6230Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6231
6232 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6233 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6234 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6235 and -lpthreads (everybody else).
6236 (test_startup): Fail gracefully if threads are not supported.
6237 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6238 "p/c array_index("abcdef",2)" when not gcc compiled.
6239 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6240 "print func2::coremaker_local" when not gcc compiled.
6241 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6242 "ptype on opaque struct tagname (statically)",
6243 "ptype on opaque struct tagname (dynamically) 1", and
6244 "ptype on opaque struct tagname (dynamically) 2"
6245 for not compiled with gcc.
6246 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6247 backtrace when compiled with gcc.
beb998c6 6248 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6249 than always return success.
6250
6251Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6252
6253 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6254
6255Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6256
6257 * gdb.base/structs.exp: Undo last change.
6258
6259Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6260
6261 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6262 encapsulate all the steps/nexts done during self test, starting
6263 at main, and makes them less sensitive to optimization issues.
6264 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6265 signal handler" test.
6266 * gdb.threads/pthreads.exp: Only run this for native configs.
6267 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6268 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6269 tests.
6270 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6271 for "runto test_calls(void)" test.
beb998c6 6272
c906108c
SS
6273Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6274
6275 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6276 and don't expect address info in breakpoint confirmations.
6277
6278Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6279
6280 * gdb.base/list.exp (test_forward_search): Increase timeout
6281 temporarily by 60 seconds for searching extremely long line,
6282 and then reset to old value when done. Increase expect input
6283 buffer to 10000.
6284
6285Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6286
6287 * gdb.base/list.exp (test_forward_search): Fix to handle very
6288 long source line without overflowing expect's input buffer.
6289
6290Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6291
6292 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6293 "buffer_full".
6294
6295 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6296 "buffer_full".
6297
6298 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6299 "buffer_full".
6300
6301 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6302 "buffer_full".
6303
6304Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6305
6306 * configure.in (configdirs): Add gdb.threads.
6307 * configure: Regenerated with autoconf.
6308 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6309 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6310 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6311
c906108c
SS
6312Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6313
6314 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6315
6316Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6317
6318 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6319 each signal's status in the output of "handle all print".
6320 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6321 the \r\n sequence that immediately precedes the gdb prompt.
6322 * gdb.base/a1-selftest.exp: Save original timeout and restore
6323 after test.
6324
6325Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6326
6327 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6328 symbol.
6329
6330Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6331
6332 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6333
6334Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6335
6336 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6337 timeout by 60 seconds.
6338
6339Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6340
6341 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6342 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6343 error return.
6344
6345Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6346
6347 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6348 gdb initialization, also report how long dejagnu waited. Restore
6349 old timeout before doing error return. Temporarily increase timeout
6350 by 3 minutes to allow for slow startups over heavy NFS use.
6351
6352Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6353
6354 * lib/gdb.exp: Report timeout value for verbosity level 2.
6355 * config/gdbserver.exp: Ditto.
6356 * config/hppro.exp: Ditto.
6357 * config/mips-gdb.exp: Ditto.
6358 * config/monitor.exp: Ditto.
6359 * config/netware.exp: Ditto.
6360 * config/sim-gdb.exp: Ditto.
6361 * config/slite-gdb.exp: Ditto.
6362 * config/udi-gdb.exp: Ditto.
6363 * config/unix-gdb.exp: Ditto.
6364 * config/vx-gdb.exp: Ditto.
6365 * gdb.base/a1-selftest.exp: Ditto.
6366 * gdb.base/a2-run.exp: Ditto.
6367 * gdb.base/break.exp: Ditto.
6368 * gdb.base/corefile.exp: Ditto.
6369 * gdb.base/list.exp: Ditto.
6370 * gdb.base/recurse.exp: Ditto.
6371 * gdb.base/scope.exp: Ditto.
6372 * gdb.base/signals.exp: Ditto.
6373
6374Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6375
6376 * gdb.threads/Makefile.in (docdir): Removed.
6377
6378Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6379
6380 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6381 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6382 @srcdir@.
beb998c6 6383 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6384 autoconf 2.5 or higher.
6385 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6386
6387Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6388
6389 * configure: Regenerated.
6390 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6391 avoid name clashes with SunOS headers.
6392
6393Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6394
6395 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6396
6397Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6398
6399 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6400 prototype information ends up in the compiler info file.
6401
6402Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6403
6404 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6405 attempting to regenerate it. Eliminate use of a temporary file
6406 and just generate the info file directly. Source it immediately,
6407 for consistency of use.
6408 * gdb.base/corefile.exp: Ditto
6409 * gdb.base/exprs.exp: Ditto.
6410 * gdb.base/funcargs.exp: Ditto.
6411 * gdb.base/langs.exp: Ditto.
6412 * gdb.base/list.exp: Ditto.
6413 * gdb.base/mips_pro.exp: Ditto.
6414 * gdb.base/nodebug.exp: Ditto.
6415 * gdb.base/opaque.exp: Ditto.
6416 * gdb.base/ptype.exp: Ditto.
6417 * gdb.base/scope.exp: Ditto.
6418 * gdb.base/setvar.exp: Ditto.
6419 * gdb.base/signals.exp: Ditto.
6420 * gdb.base/whatis.exp: Ditto.
6421 * gdb.c++/templates.exp: Ditto.
6422 * gdb.c++/virtfunc.exp: Ditto.
6423 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6424 whether or not to add -lstdc++ to the compile command line args.
6425
6426Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6427
6428 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6429 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6430 Increase timeout, a lot of single stepping might be needed if the
6431 target has no hardware watchpoints.
6432
6433Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6434
6435 * gdb.base/break.exp: Ignore compiler warnings when compiling
6436 break.c.
6437 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6438 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6439 from remote-sim.
6440 * gdb.base/exprs.exp: Add h8300 xfails.
6441 * gdb.base/funcargs.exp: Likewise.
6442 * gdb.base/nodebug.exp: Likewise.
6443 * gdb.base/printcmds.exp: Likewise.
6444 * gdb.base/ptype.exp: Likewise.
6445 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6446 h8300 xfails.
beb998c6 6447 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6448 on the h8300.
6449 * gdb.base/funcargs.c: Explicitly make last constant argument to
6450 call_after_alloca_subr an unsigned long type.
6451 * gdb.base/return.c: Include stdio.h.
6452
6453Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6454
6455 * config/abug.exp: New file for the older Motorola Bug monitor
6456 that runs on the mvme13x series VME boards.
6457 * config/monitor.exp: Use the new config array for target settings
6458 if they exist.
6459
6460Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6461
6462 * sim-gdb.exp: Make the SH simulator allocate less space when
6463 it is targeted.
6464
6465Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6466
6467 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6468 test.
6469
6470Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6471
6472 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6473 "rs6000-*-*" for "list function in include file" when gcc compiled.
6474 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6475 for "p ctable1[120]".
6476 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6477 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6478 Remove setup_xfail for "rs6000-*-*" for
6479 "print 'scope0.c'::filelocal before run".
6480 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6481 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6482 since some compilers don't allow both options to be given
6483 on the same command line. Create object file and move it.
beb998c6 6484
c906108c
SS
6485Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6486
6487 * gdb.base/corefile.exp: Always regenerate the core file, since
6488 we always regenerate the coremaker program. Detect special case
6489 where registers cannot be read from core file.
beb998c6 6490
c906108c
SS
6491Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6492
6493 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6494 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6495 * gdb.c++/templates.exp: Only match on basename of file since
6496 some formats like xcoff don't encode directory information.
6497 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6498 and rs6000 AIX xcoff targets.
6499 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6500 * configure: Regenerate.
6501 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6502 here, rather than in distclean.
beb998c6 6503
c906108c
SS
6504Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6505
6506 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6507 defined, and use it to compile the test case with -O2. The
6508 native compilation still uses no optimization.
6509 * gdb.base/mips_pro.c: Remove inline assembly code since
6510 it is compiled PIC by default, which results in assembler
6511 warnings that make the testsuite think the compilation
6512 was unsuccessful.
6513
6514Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6515
6516 * gdb.c++/misc.exp: Add note to message for
6517 "print s.a for foo struct" that this is a known gcc 2.7.2
6518 and earlier bug.
6519
6520Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6521
6522 * gdb.base/break.exp: Fix pattern for matching "Delete all
6523 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6524 setup_xfail for deleting all breakpoints test. Fix various
6525 timeout messages to include "(timeout)".
6526 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6527 for "p t_float_values2(3.14159,float_val2)".
6528 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6529 for "continue to call2g" when gcc compiled.
6530 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6531 "up to foo in langs.exp", "show language at foo in langs.exp",
6532 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6533 and "show language at fsub in langs.exp".
6534 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6535 "list line 1 in include file", "list message for lines past EOF",
6536 "list function in include file", "list list0.h:foo", and
6537 "list filename:function; nonexistant function".
6538 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6539 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6540 and "ptype t_char_array" to be for native cc only.
beb998c6 6541
c906108c
SS
6542Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6543
beb998c6 6544 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6545 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6546 "print func2::coremaker_local", and "backtrace in corefile.exp".
6547
6548Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6549
6550 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6551 "bt in signals.exp". This problem only appears when running
6552 the testsuite, and then only intermittently.
6553
6554Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6555
6556 * gdb.base/return.exp (return_tests): Differentiate between
6557 two tests of continuing.
6558
6559Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6560
6561 * */Makefile.in (maintainer-clean): Remove config.log.
6562 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6563 * gdb.c++/Makefile.in (PROGS): Add inherit.
6564 (clean): Remove *.ci.
6565
6566Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6567
6568 * gdb.c++/misc.cc: Add test code from Mike Stump.
6569 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6570
6571Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6572
6573 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6574 to "alpha-*-osf2*" and add comment.
6575 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6576 setup_xfail for "step over execarg initialization" and
6577 "step over corearg initialization".
6578 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6579 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6580 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6581 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6582 "print func2::coremaker_local", and "backtrace in corefile.exp".
6583 * gdb.base/signals.exp: Build and source signals.ci.
6584 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6585 to be for gcc only.
6586 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6587
c906108c
SS
6588Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6589
6590 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6591 Feb 3 procfs.c change.
6592
6593Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6594
6595 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6596
6597Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6598
6599 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6600 from dejagnu's apparent default of 10 seconds, which gives random
6601 results when running the tests over NFS on moderately loaded systems.
6602 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6603
6604Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6605
6606 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6607 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6608 result reports.
6609
6610Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6611
6612 * configure.in (CY_AC_PATH_TCLH): Remove.
6613 * configure: Regenerate.
6614
6615Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6616
6617 * gdb.c++/Makefile.in (clean): Add missing '{'.
6618
6619Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6620
6621 * lib/gdb.exp: Provide a default value for noinferior.
6622
6623 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6624 Load libgloss.exp.
6625
6626Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6627
6628 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6629 the executable, not the .o to run the tests from.
6630
6631Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6632
6633 * gdb.base/break.exp: Don't test for program exit or exit status
6634 if $noresults if nonzero.
6635 * gdb.base/langs.exp: Likewise.
6636 * gdb.base/watchpoint.exp: Likewise.
6637
6638 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6639 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6640 trying to compile the testcase.
6641
6642Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6643
6644 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6645 * gdb.base/signals.exp (continue to handler): Likewise.
6646
6647Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6648
6649 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6650
6651 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6652
6653Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6654
6655 * gdb.base/corefile.exp: Recognize "not found" as failure
6656 when trying to determine if a core file was generated.
6657 If no core file was generate the first time, try again without
6658 the ulimit -c to work around braindamaged shells.
6659
6660Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6661
6662 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6663 [] tests with "test" and enclose string in quotes.
6664 * gdb.stabs/configure: Rebuild
beb998c6 6665
c906108c
SS
6666Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6667
6668 Changes in sync with expect:
6669 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6670 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6671 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6672 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6673 argument to AC_REQUIRE.
6674 * configure: Regenerated.
6675
6676Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6677
6678 * gdb.base/corefile.exp: When generating a core, discard any
6679 error messages about ulimit not found and the "core dumped"
6680 message from the shell that runs the coredumper.
6681
6682Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6683
6684 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6685
6686 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6687 which sed script to run. Expect failure for v_comb test
6688 on PA targets too.
beb998c6 6689
c906108c
SS
6690Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6691
6692 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6693 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6694
6695Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6696
6697 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6698 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6699 "sparc-sun-solaris*" xfails for "p v_comb".
6700 * lib/gdb.exp (default_gdb_start): Fix typo.
6701 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6702 messages to not include the full program name that caused
6703 the core dump since some systems (such as solaris) apparently
6704 truncate this path to about 80 characters.
6705 When generating a core file first try increasing the core file
6706 size limit to unlimited since some systems may default it to
6707 zero, and it is harmless to try it. Move the test for failing
6708 to generate a core file to where it will actually get executed.
6709 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6710 new gdb result from g++ debug info improvements and make old
6711 pattern obsolescent. Also account for size_t differences
6712 (may be int or long).
6713 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6714 initialization before function call is placed in the delay slot
6715 and thus appears to be skipped over by commands such as "next".
6716
6717Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6718
6719 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6720
6721Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6722
6723 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6724 input source file; fix code to compile test to deal with this
6725 convention.
6726 * gdb.c++/*.exp: Likewise.
6727
6728Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6729
6730 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6731 "bt in signals.exp".
6732
6733Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6734
6735 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6736 "step over execarg initialization" and
6737 "step over corearg initialization".
6738
6739Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6740
6741 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6742 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6743
6744Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6745
6746 From Rob Savoye (rob@poseidon.cygnus.com)
6747 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6748 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6749 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6750 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6751 configure.in}: Major reworking for autoconfig.
6752 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6753 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6754 New files.
6755 * config/unix-gdb.exp: Make GDB global.
6756 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6757 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6758 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6759 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6760 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6761 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6762 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6763 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6764 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6765 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6766 pr-8136.exp, result.exp, string.exp, tuples.exp},
6767 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6768 to returns as necessary, arrange for test to compile own testcase
6769 executable.
6770 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6771
c906108c
SS
6772Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6773
6774 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6775 clear_xfail at end of test which might not call either pass or fail.
6776 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6777 "backtrace through signal handler".
6778
6779Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6780
6781 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6782 continuing from a job control stop signal.
6783 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6784
6785Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6786
6787 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6788 * gdb.base/corefile.exp: Likewise.
6789 * gdb.base/funcargs.exp: Likewise.
6790
6791Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6792
6793 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6794 * config/monitor.exp: Add support for setting baud rate.
6795
6796Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6797
6798 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6799 i*86-*-linux* xfails for "backtrace through signal handler".
6800 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6801 "print func2::coremaker_local".
6802 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6803 alpha-dec-osf2* xfail for
6804 "delete all breakpoints when none".
6805
6806Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6807
6808 * gdb.base/break.exp: Change test that deletes all breakpoints
6809 when no user breakpoints are installed. A post 4.15 change
6810 causes gdb to no longer prompt in this case.
6811
6812Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6813
6814 * gdb.base/return.exp (return_tests): Change xfail for test
6815 "correct value returned double test" to stop xfailing at
6816 Solaris 2.5. Apparently the bug has been fixed.
6817
6818Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6819
6820 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6821 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6822
6823Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6824
6825 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6826 * gdb.disasm/hppa.s: Corresponding changes.
6827
6828Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6829
6830 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6831 makefile fragment.
6832 * config/mt-hpux: Deleted.
6833
6834Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6835
beb998c6 6836 * Many files: When warning about suppressed tests due to a
c906108c
SS
6837 nonexistant test binary, avoid incrementing the warning count.
6838
6839Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6840
6841 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6842
c906108c
SS
6843Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6844
6845 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6846 "sparc-*-solaris2*".
6847
6848Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6849
6850 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6851 Add global and local variables and initialize them.
6852 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6853 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6854 extracts the file name and terminating signal from the core file.
6855 * TODO: Remove note about tests for correct mapping of corefile.
6856 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6857 from optimizing it away.
6858 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6859 handles common blocks.
6860
6861Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6862
6863 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6864 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6865
6866Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6867
6868 * Makefile.in (maintainer-clean): New target, synonym for
6869 realclean.
6870 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6871 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6872 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6873 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6874 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6875 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6876
6877Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6878
6879 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6880 xfails when not gcc compiled for "print foo::funclocal".
6881 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6882 "print foo::funclocal at foo",
6883 "print 'scope1.c'::foo::funclocal at foo",
6884 "print foo::funclocal_bss at foo",
6885 "print 'scope1.c'::foo::funclocal_bss at foo",
6886 "print foo::funclocal_ro at foo",
6887 "print 'scope1.c'::foo::funclocal_ro at foo",
6888 "print bar::funclocal at foo" and
6889 "print 'scope1.c'::bar::funclocal at foo".
6890 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6891 gcc compiled for "print foo::funclocal at bar".
6892 Expand all messages to ensure that they identify that
6893 the test is at bar().
6894 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6895 gcc compiled for:
6896 "ptype on opaque struct pointer (statically)",
6897 "ptype on opaque struct tagname (statically)",
6898 "ptype on opaque struct pointer (dynamically) 1",
6899 "ptype on opaque struct tagname (dynamically) 1",
6900 "ptype on opaque struct pointer (dynamically) 2" and
6901 "ptype on opaque struct tagname (dynamically) 2
6902 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6903 gcc compiled for:
6904 "p datalocal"
6905 "whatis datalocal",
6906 "ptype datalocal",
6907 "p bsslocal",
6908 "whatis bsslocal", and
6909 "ptype bsslocal".
6910 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6911 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6912 when not gcc compiled.
6913 * gdb.base/funcargs.exp (float_and_integral_args): Add
6914 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6915 compiled.
6916 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6917 "backtrace from call6a" when not gcc compiled.
6918 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6919 "backtrace from call7a" when not gcc compiled.
6920 * gdb.base/callfuncs.exp (do_function_calls):
6921 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6922 "p t_char_array_values(char_array_val2,char_array_val1)",
6923 "p t_char_array_values(char_array_val1,char_array_val2)",
6924 "p t_char_array_values("carray 1","carray 2")",
6925 "p t_char_array_values("carray 1",char_array_val2)",
6926 "p t_char_array_values(char_array_val1,"carray 2")",
6927 "p sum_args(1,{2})",
6928 "p sum_args(2,{2,3})",
6929 "p sum_args(3,{2,3,4})",
6930 "p sum_args(4,{2,3,4,5})"
6931 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6932 "backtrace in corefile.exp" when not gcc compiled.
6933
6934Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6935
6936 * gdb.base/signals.exp: Rewrite `handle all print' test as
6937 a procedure. Accept blanks or TABs as whitespace, increase
6938 timeout and expect input buffer size for the large output
6939 from the command. Remove "i*86-*-bsdi2.0" xfail.
6940
6941Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6942
6943 * gdb.base/setvar.exp: Add new testcases for truncation when
6944 assigning invalid values to bitfields.
6945
6946Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6947
beb998c6 6948 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6949 mips-sgi-irix* xfail for
6950 "call inferior func with struct - returns char *"
6951 and fix test so that an optional (unsigned char *) cast is
6952 accepted in the result.
6953
6954Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6955
6956 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6957 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6958 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6959 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6960 that accidentally got checked in.
6961
6962Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6963
beb998c6 6964 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6965 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6966 compiled test.
6967 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6968 Add mips-sgi-irix5* xfail for not gcc compiled.
6969 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6970 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6971 "p top", "whatis top", "p middle", and "whatis middle".
6972 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6973 "whatis signed char" for not gcc compiled.
6974 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6975 "set variable signed char=-1 (-1)" and
6976 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6977 * gdb.base/funcargs.exp (float_and_integral_args):
6978 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6979 Add mips-sgi-irix* xfail when not gcc compiled for
6980 "continue to call2b".
6981 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6982 "continue to call2g".
6983 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6984 "backtrace from call6a"
6985 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6986 "backtrace from call7k".
6987 Add mips-sgi-irix5* xfail when not gcc compiled for
6988 "backtrace from call7a".
6989 (localvars_after_alloca): Fix gdb_test cmds for
6990 "print * after runto ...".
6991 Remove rs6000-*-* xfails for
6992 "print i after runto localvars_after_alloca" and
6993 "print l after runto localvars_after_alloca"
6994 for all compilers.
6995 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6996 when not compiled with gcc, for:
6997 "print signed char == (minus)",
6998 "print signed char != (minus)",
6999 "print signed char < (minus)",
7000 "print signed char > (minus)".
7001 * gdb.base/callfuncs.exp (do_function_calls):
7002 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7003 "call inferior func with struct - returns char *".
beb998c6 7004 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7005 "correct value returned double test" to include Solaris 2.4.
7006 * gdb.base/funcargs.exp (float_and_integral_args):
7007 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7008
c906108c
SS
7009Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7010
7011 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7012 enumeration bitfields if compiling with GNU C.
7013 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7014 to empty' prompt.
7015
7016Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7017
7018 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7019 test for PRO targets.
7020
7021 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7022 breakpoints in the inferior at any given time by making
7023 two groups of breakpoints for call2*, call6* and call7*
7024 tests.
7025
7026Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7027
7028 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7029 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7030 from optimizing it away.
7031 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7032 "call inferior func with struct".
7033
7034Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7035
7036 * configure.in: Only configure gdb.chill for particular targets.
7037
7038Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7039
7040 * gdb.base/Makefile.in: Add action to .c.o transformation
7041 rule that generates a .ci file for each .o file and remove
7042 explicit .c.o rules except for callfuncs.o.
7043 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7044 generates a .ci file for each .o file and remove explicit
7045 .cc.o rules.
7046 (clean): Remove *.tmp *.ci files.
7047 (EXECUTABLES): Remove templ-info.exp.
7048 * gdb.base/compiler.c: New file.
7049 * gdb.c++/compiler.cc: New file
7050 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7051 Change rs6000-*-* xfail for
7052 "print 'scope0.c'::filelocal_ro" and
7053 "print 'scope1.c'::filelocal" and
7054 "print 'scope1.c'::filelocal_bss" and
7055 "print 'scope1.c'::filelocal_ro" and
7056 "print 'scope1.c'::foo::funclocal" and
7057 "print 'scope1.c'::foo::funclocal_ro" and
7058 "print 'scope1.c'::bar::funclocal" and
7059 "print 'scope0.c'::filelocal_ro" and
7060 "print 'scope1.c'::filelocal at foo" and
7061 "print 'scope1.c'::filelocal_bss at foo" and
7062 "print 'scope1.c'::filelocal_ro at foo" and
7063 "print 'scope1.c'::foo::funclocal at foo" and
7064 "print 'scope1.c'::foo::funclocal_bss at foo" and
7065 "print 'scope1.c'::foo::funclocal_ro at foo" and
7066 "print 'scope1.c'::bar::funclocal at foo" and
7067 "print 'scope0.c'::filelocal_ro" and
7068 "print 'scope1.c'::filelocal" and
7069 "print 'scope1.c'::filelocal_bss" and
7070 "print 'scope1.c'::filelocal_ro" and
7071 "print 'scope1.c'::foo::funclocal" and
7072 "print 'scope1.c'::foo::funclocal_bss" and
7073 "print 'scope1.c'::foo::funclocal_ro" and
7074 "print 'scope1.c'::bar::funclocal" and
7075 "print 'scope1.c'::bar::funclocal_bss"
7076 to only be xfail'd when not compiled with gcc.
beb998c6 7077 Add rs6000-*-* xfail for
c906108c
SS
7078 "print 'scope0.c'::filelocal_bss before run"
7079 when compiled with gcc.
7080 (test_at_main): Add rs6000-*-* xfail for
7081 "print filelocal_ro in test_at_main"
7082 when compiled with gcc.
7083 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7084 Add rs6000-*-aix* xfail for
c906108c
SS
7085 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7086 "ptype t_char_array", not compiled with gcc.
7087 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7088 xfail for "list foo (in include file)" when gcc compiled.
7089 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7090 (integral_args): Add rs6000-*-* xfail for
7091 "run to call0a" if not compiled with gcc.
7092 (unsigned_integral_args): Add rs6000-*-* xfail for
7093 "run to call1a" if not compiled with gcc.
7094 (float_and_integral_args): Add rs6000-*-* xfail for
7095 "run to call2a" if not compiled with gcc and for
7096 "continue to call2b" for any compiler.
7097 Add rs6000-*-* xfail to
7098 "print f1 after run to call2a" for gcc compiled.
7099 (discard_and_shuffle): Add rs6000-*-* xfail for
7100 "run to call6a".
7101 (shuffle_round_robin): Add rs6000-*-* xfail for
7102 "backtrace from call7a" if not compiled with gcc.
7103 Add rs6000-*-* xfail for
7104 "backtrace from call7b" if compiled with gcc.
7105 (call_after_alloca): Add rs6000-*-* xfail for
7106 "print c in call_after_alloca" and
7107 "print s in call_after_alloca" and
7108 "backtrace from call_after_alloca_subr"
7109 if not compiled with gcc.
7110 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7111 "print c in localvars_in_indirect_call" and
7112 "print c in localvars_in_indirect_call" and
7113 "backtrace in indirectly called function" and
7114 "stepping into indirectly called function"
7115 if not compiled with gcc.
7116 (localvars_after_alloca): Add rs6000-*-* xfail for
7117 "print c after runto localvars_after_alloca" and
7118 "print s after runto localvars_after_alloca" and
7119 "print i after runto localvars_after_alloca" and
7120 "print l after runto localvars_after_alloca"
7121 for all compilers.
7122 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7123 than whatis-info.exp.
7124 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7125 than opaque-info.exp.
7126 Setup rs6000-*-* xfail for
beb998c6 7127 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7128 "ptype on opaque struct pointer (dynamically)" when
7129 not compiled with gcc.
7130 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7131 rather than callf-info.exp.
7132 (do_function_calls): Add clear_xfail for rs6000-*-* for
7133 "p t_float_values2(3.14159,float_val2)". Seems to work
7134 fine there, both with xlc and gcc. Need to find out what
7135 it is doing right and fix other platforms.
7136 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7137 "call inferior func with struct - returns int",
7138 "call inferior func with struct - returns long",
7139 "call inferior func with struct - returns float",
7140 "call inferior func with struct - returns double",
7141 "call inferior func with struct - returns char *",
7142 but only if not gcc compiled (presumes xlc compiled).
7143 Change rs6000-*-* xfails for
7144 "call inferior func with struct - returns char" and
7145 " call inferior func with struct - returns short" to only
7146 xfail if not using gcc.
7147 (clean mostlyclean): Remove *.ci and *.tmp files.
7148 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7149 than templ-info.exp.
7150 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7151 Add rs6000-*-* xfail for "up to foo in langs.exp"
7152 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7153 when not gcc compiled.
beb998c6 7154
c906108c
SS
7155Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7156
7157 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7158 * gdb.base/corefile.exp: Likewise.
7159 * gdb.base/list.exp: Likewise.
7160 * gdb.base/scope.exp: Likewise.
7161 * gdb.base/siganls.exp: Likewise.
7162
7163 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7164 compiler output.
7165 * gdb.base/whatis.exp: Likewise.
7166
7167Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7168
7169 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7170 failure (opcode table has been fixed to match reality).
7171
7172Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7173
7174 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7175 "call inferior func with struct - returns char",
7176 "call inferior func with struct - returns short"
7177
7178 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7179 "print 'scope0.c'::filelocal at main",
7180 "print 'scope0.c'::filelocal_bss in test_at_main",
7181 "print 'scope0.c'::filelocal at foo",
7182 "print 'scope0.c'::filelocal_bss in test_at_foo",
7183 "print 'scope0.c'::filelocal at bar",
7184 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7185
c906108c
SS
7186 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7187 in source file 1". This bug seems to have been fixed with both
7188 gcc and native cc (was native assembler bug?).
7189
7190Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7191
7192 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7193 "backtrace through signal handler" to "i*86-*-sysv4*".
7194 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7195 continue" case. Add "known SVR4 bug" to fail message.
7196 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7197 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7198 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7199 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7200 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7201 "up to foo in langs.exp", "show language at foo in
7202 langs.exp", "up to cppsub_ in langs.exp", "show
7203 language at cppsub_ in langs.exp", "up to fsub in
7204 langs.exp", and "show language at fsub in langs.exp".
7205 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7206 "bactrace in corefile.exp".
7207 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7208 "call inferior function with struct - returns float" and
7209 "call inferior function with struct - returns double".
beb998c6 7210
c906108c
SS
7211Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7212
7213 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7214 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7215 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7216 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7217
7218Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7219
7220 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7221 (or overriden) "CHILL" macro rather then bare "gcc".
7222 Also look for ../../gcc/xgcc since that is what we will
7223 actually need, not "Makefile". Remove following assignment
7224 of CHILL to CHILL_FOR_TARGET because that results in
7225 recursive definition.
7226
7227Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7228
7229 * gdb.base/corefile.exp: Change xfail for backtrace in
7230 corefile.exp from linuxaout to all linux.
7231 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7232 cases where we miss the breakpoint at the signal handler
7233 for some reason. Setup xfail for linuxoldld/linuxaout and
7234 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7235 hitting SIGURG breakpoint.
7236 * gdb.base/signals.exp: Setup xfail for "next" acting like
7237 continue to add linuxoldld. Setup xfail for all linux for
7238 "next to handler in signals_tests_1", "backtrace in
7239 signals_tests_1", "continue to func1", "pass SIGUSR1",
7240 and continue to handler".
7241
7242Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7243
7244 * Update all FSF addresses except those in COPYING* files.
7245
7246Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7247
7248 * gdb.base/a2-run.exp: Change messages to be more explicit about
7249 the status of args, and quote binfile in results.
7250
7251Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7252
7253 * gdb.base/callfuncs.exp: Add tests for passing structs to
7254 inferior functions and return various types.
7255 * gdb.base/callfuncs.c: Add functions to receive a struct
7256 and return a member of the struct, in various types.
7257
7258Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7259
7260 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7261
7262Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7263
7264 * config/vxworks29k.exp: New file, sources vxworks.exp.
7265
7266Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7267
7268 * config/gdbremote.exp: New file. Testing framework using
7269 gdbserver.
7270
7271Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7272
7273 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7274 "call function when asleep" and "send end of file".
7275 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7276 for "backtrace in corefile.exp".
7277 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7278 for "backtrace through signal handler".
7279 * gdb.base/corefile.exp: Make sure we actually generate a core file
7280 before trying the core tests. Some systems allow the user to suppress
7281 generation of core files and default to that (linux for example).
7282 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7283 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7284
7285Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7286
7287 * gdb.threads: New directory with some crude multi-threaded
7288 gdb tests (step.exp and step2.exp).
7289 * config/mt-lynx (STEP_EXECUTABLE): Define.
7290 (THREADFLAGS): Define.
7291
7292Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7293
7294 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7295
7296 * gdb.base/signals.exp: Disable whole file for lynx until
7297 further notice.
7298
7299 * gdb.base/signals.exp: xfail test where "next" acts like
7300 "continue" for lynx.
7301
7302 * gdb.base/interrupt.exp: xfail test for calling function while
7303 inferior is asleep for lynx.
7304
7305 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7306 than one cr-lf after each command.
7307
7308Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7309
7310 * configure.in: Reinstate setting of stabsdirs variable, fix
7311 typo in setting up configdirs for native builds.
7312
7313 * gdb.base/return.exp: Fix typo in return double test.
7314 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7315 compiler from optimizing them away.
7316
7317Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7318
7319 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7320 sequences to be echo'd by gdb when using gdb_test.
7321 * gdb.chill/chexp.exp: Likewise.
7322 * gdb.fortran/exprs.exp: Likewise
7323
7324Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7325
7326 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7327 after the inferior gdb has started.
7328
7329 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7330 after each command.
7331 * gdb.base/funcargs.exp: Likewise.
7332 * gdb.base/gdbvars.exp: Likewise.
7333 * gdb.base/interrupt.exp: Likewise.
7334 * gdb.base/list.exp: Likewise.
7335 * gdb.base/watchpoint.exp: Likewise.
7336 * gdb.c++/demangle.exp: Likewise.
7337 * gdb.c++/inherit.exp: Likewise.
7338 * gdb.chill/chexp.exp: Likewise.
7339 * gdb.fortran/exprs.exp: Likewise.
7340
7341 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7342 test if we can't handle IO to/from the inferior.
7343
7344 * gdb.c++/misc.exp: Always check for a program already being
7345 started after sending a "run" command to gdb.
7346
7347 * gdb.base/twice.exp: Start with a fresh gdb.
7348
7349 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7350 only depend on gdb's expression code, not the chill runtime.
7351
7352 * gdb.base/return.c: Put return values into variables so we
7353 can have gdb print them rather than depending on the program
7354 to print them.
7355 * gdb.base/return.exp: Corresponding changes.
7356
7357 * lib/gdb.exp: Provide default value for noinferiorio.
7358 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7359 the inferior.
7360
7361 * gdb.base/break.exp: Always check for a program already being
7362 started after sending a "run" command to gdb.
7363 (text_next_with_recursion): Don't check the output from the
7364 program's printf statement. Instead just make sure the program
7365 exited.
7366
7367 * gdb.base/commands.exp: Protect tests which need arguments with
7368 $noargs conditionals.
7369
7370Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7371
7372 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7373 of structure member arrays to match gdb/valops.c:value_addr change.
7374
7375Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7376
7377 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7378 cases.
7379
7380Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7381
7382 * configure.in (configdirs): Remove gdb.chill from default list
7383 of subdirs and then add it back in only if doing a native build.
7384 The current chill compiler does not yet work in any cross build.
7385 * Revert all signal changes from Jul 6.
7386 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7387 for sh-hms targets, allowing these tests to link, with no other
7388 changes. Testing is suppressed by setting "nosignals" in site.exp.
7389
7390Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7391
7392 * configure.in (signaldirs): Define and add to configdirs for all
7393 targets except some specific ones that are known to not support signals.
7394 Also clean up formatting.
7395 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7396 (signals, sigall): Remove rules to build.
7397 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7398 Moved to new gdb.signals directory.
7399 * gdb.signals: New test directory.
7400 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7401 signals.c signals.exp}: New or moved files.
7402
7403Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7404
7405 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7406
7407Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7408
7409 * gdb.base/return.exp: Xfail `return double' test failure
7410 on at least Solaris 2.3 and handle future/past versions on
7411 a case by case basis as appropriate. Also update message
7412 to include i*86 failures.
7413
7414Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7415
7416 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7417
7418 * lib/gdb.exp: Fix comment which erroneously identified
7419 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7420 gdb_file_cmd not gdb_load).
7421 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7422
7423 * gdb.base/setvar.exp: Make test names consistent between pass and
7424 fail cases. Use gdb_test more.
7425
7426Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7427
7428 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7429
7430Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7431
7432 * gdb.base/help.exp: Fix expected help string for `show commands'.
7433
7434Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7435
7436 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7437
7438 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7439 of a text section.
7440
7441Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7442
7443 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7444 that loop eventually terminates. Fix Connection refused logic so
7445 that testsuite will expire nicely.
7446
7447Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7448
7449 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7450 config/rom68k.exp: New tcl glue for the appropriate monitors.
7451 These all just end up calling monitor.exp.
7452 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7453 refused' by retrying. Cleanup some timeout issues.
7454 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7455 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7456 callers don't have to set/restore global timeout variable.
7457
7458 * The following set of changes centralizes management of the global
7459 timeout variable. This way, it can be set in one target dependent
7460 place instead of dozens of places scattered throughout the test suite.
7461 If you need to lengthen a timeout, then you should either set timeout
7462 in one of the config/{target}.exp files, or multiply it by a factor.
7463 Setting it to an absolute value is always going to lose for some
7464 targets.
7465 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7466 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7467 * gdb.base/funcargs.exp: Don't set timeout.
7468 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7469 * gdb.base/printcmds.exp (test_print_string_constants
7470 test_print_array_constants): Don't set timeout.
7471 * gdb.base/ptype.exp: Don't set timeout.
7472 * gdb.base/recurse.exp: Don't set timeout.
7473 * gdb.base/return.exp: Don't set timeout.
7474 * gdb.base/watchpoint.exp: Don't set timeout.
7475 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7476 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7477
7478Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7479
7480 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7481
7482Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7483
7484 * lib/gdb.exp: Disable chill tests for irix5.
7485
7486Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7487
7488 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7489 each test pass or fail.
7490
7491Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7492
7493 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7494 xlc not gcc.
7495
7496Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7497
7498 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7499
7500Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7501
7502 * config/est.exp: Fix copyright and comments. Remove dead code.
7503 Use targetname, serialport and baud variables instead of fixed
7504 constants.
7505 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7506 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7507
7508Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7509
7510 * gdb.base/watchpoint.exp: Don't run
7511 test_watchpoint_triggered_in_syscall for sunos.
7512
7513Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7514
7515 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7516 they don't seem to exist. Do include stdio.h.
7517
7518Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7519
7520 * gdb.base/a1-selftest.exp: Add alpha xfail.
7521
7522Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7523
7524 * gdb.base/watchpoint.c (main): Prompt before calling read().
7525 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7526 Revise accordingly. Remove cruft about sending "123" several
7527 times, until it gets noticed. Clean up the "print buf[0]" stuff
7528 so that it passes or fails, and waits for prompts in the usual way.
7529
7530Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7531
7532 * gdb.base/recurse.exp: Fix comment.
7533
7534 * TODO: Remove item about printing variables in nodebug.exp. Add
7535 item about enabling tests which are only run on some targets.
7536
7537 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7538 fail, make test names unique, use new gdb_test convention
7539 regarding pattern, use gdb_test more, etc.).
7540
7541 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7542 fail, make test names unique, etc.).
7543
7544Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7545
7546 * gdb.base/nodebug.c: Change return type of top and middle to
7547 short.
7548 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7549 are fixed by the recent mdebugread.c changes. Allow `short ()'
7550 as type for top and middle.
7551
7552Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7553
7554 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7555 nearly as I can tell, the whole thing was an accident in Stu's
7556 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7557 to replace a send/expect pair with gdb_test, but ended up only
7558 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7559 of 30 Mar 1995 took care of it, but left this vestigial comment
7560 which I am now nuking.
7561
7562Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7563
7564 * gdb.base/break.exp: Look for different line number for
7565 breakpoint at main depending on usestubs.
7566
7567Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7568
7569 * gdb.base/list.exp: Adjust some alternate expect patterns to
7570 match recent list0.c change. Add alternate expect pattern for
7571 output from `list default lines around main' for optimizing
7572 compilers.
7573
7574Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7575
7576 * lib/gdb.exp: If nosignals is not set, set it to 0.
7577
7578Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7579
7580 * config/slite-gdb.exp: Responds to load symbol table prompt.
7581 * gdb.base/break.exp: Adjust line number, fix rerun.
7582 * gdb.base/langs0.c: Add #ifdef usestubs.
7583
7584Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7585
7586 * gdb.base/list.exp: Adjust line contents after adding new lines in
7587 list0.c. Also fix a syntax error.
7588
7589 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7590 * gdb.base/break.exp: ditto.
7591 * gdb.base/list.exp: ditto.
7592 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7593 * gdb.base/run.c: ditto.
7594 * gdb.base/list0.c: ditto.
7595 * gdb.base/funcargs.c: ditto.
7596
7597Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7598
7599 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7600 $targetname, $serialport and $baud instead of hardwired variables.
7601 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7602 target doesn't support signals.
7603
7604Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7605
7606 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7607
7608Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7609
7610 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7611 Don't rely on the value of an auto variable before it has been
7612 initialized. Use gdb_test more.
7613
7614Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7615
7616 * lib/gdb.exp (default_gdb_version): A version number must start
7617 with a digit, but other than that contains all characters up to
7618 the first whitespace character.
7619
7620Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7621
7622 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7623
7624Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7625
7626 * gdb.c++/*.exp: Warn if executable does not exist. The original
7627 reason for skipping the warning was that configure.in sometimes
7628 intentionally skipped building the executables but the tcl code
7629 had no way of knowing. That (a) was always bogus with respect to
7630 error handling, (b) is no longer true (right now there is no way
7631 to skip C++ tests).
7632
7633 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7634
7635Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7636
7637 * gdb.base/list.exp: Add expect patterns for output from
7638 SunPRO compiled executables.
7639 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7640 types.
7641
7642Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7643
7644 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7645 number (we are already testing that the correct source line text
7646 gets printed).
7647
7648 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7649 that is what is intended, but something needed to be done to get
7650 sunos4 native working again.
7651
7652 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7653
7654 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7655 apparently went with a (very) old xfail.
7656
7657Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7658
7659 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7660 runto_main is a proc in gdb.exp that will do 'step' for target use
7661 stubs.
7662 * gdb.base/exprs.exp: ditto.
7663 * gdb.base/interrupt.exp: ditto.
7664 * gdb.base/opaque.exp: ditto.
7665 * gdb.base/printcmds.exp: ditto.
7666 * gdb.base/ptype.exp: ditto.
7667 * gdb.base/scope.exp: ditto.
7668 * gdb.base/setvar.exp: ditto.
7669 * gdb.base/signals.exp: ditto.
7670 * gdb.base/twice.exp: ditto.
7671 * gdb.c++/classes.exp: ditto.
7672 * gdb.c++/inherit.exp: ditto.
7673 * gdb.c++/templates.exp: ditto.
7674 * gdb.base/break.exp: no run and hit main for stubs. Change line
7675 numbers for breakpoints and info breakpoint.
7676 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7677 breakpoint().
7678 * gdb.base/callfuncs.c: ditto.
7679 * gdb.base/exprs: ditto.
7680 * gdb.base/interrupt.c: ditto.
7681 * gdb.base/opaque0.c: ditto.
7682 * gdb.base/printcmds.c: ditto.
7683 * gdb.base/ptype.c: ditto.
7684 * gdb.base/scope0.c: ditto.
7685 * gdb.base/setvar.c: ditto.
7686 * gdb.base/signals.c: ditto.
7687 * gdb.base/twice.c: ditto.
7688 * gdb.c++/misc.cc: ditto.
7689 * gdb.c++/templates.cc: ditto.
7690
7691Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7692
7693 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7694
7695 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7696 somewhere between `read' and `main.c'. I'm pretty sure the
7697 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7698 and it isn't particularly useful.
7699
7700 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7701
7702Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7703
7704 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7705
7706Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7707
7708 * config/mt-slite: add LIBS and -nostdlib.
7709 * config/slite-gdb.exp: add this new file to support sparclite target.
7710
7711Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7712
7713 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7714
7715 * gdb.base/a2-run.exp: Change argument to istarget from
7716 "*-*-vxworks" to "*-*-vxworks*".
7717 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7718
7719Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7720
7721 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7722 will not runto main but do a 'step' to step out of breakpoint().
7723 * config/mt-slite: add -Dusestubs.
7724
7725Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7726
7727 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7728 instead of just @.
7729
7730 * gdb.base/signals.exp: Add test for "handle all print".
7731 * TODO: Remove "handle all print". Also remove item about
7732 checking copyright date (I don't like the idea of a spurious FAIL
7733 based on when we run the tests).
7734
7735 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7736 for SunOS4 (reason for failure not investigated). Remove
7737 redundant test for $binfile.
7738
7739 * gdb.base/nodebug.c (array_index): Call malloc.
7740
7741 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7742
7743Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7744
7745 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7746 conventions and slightly simplify the matching regexp.
7747
7748Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7749
7750 * gdb.base/break.exp: Update gdb_test invocation to use new
7751 convention.
7752
7753 * lib/gdb.exp: If noargs is not set, set it to 0.
7754
7755 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7756 tests unique.
7757
7758 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7759
7760Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7761
7762 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7763 one argument of type "<non-float parameter>".
7764
7765Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7766
7767 * config/rom68k.exp: New file to support Motorola IDP board.
7768 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7769 * gdb.base/break.c: Change things around so that this program
7770 doesn't depend upon args. This is necessary to make remote
7771 targets work (in general, they can't take args).
7772 * gdb.base/break.exp: Don't try to send args to program. Don't
7773 expect output. Also, replace lots of code with gdb_test.
7774
7775Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7776
7777 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7778 printing of '\'' (which is what the comment says we are testing,
7779 even though we were not), not '''.
7780 (test_integer_literals_rejected): Test that printing ''' is an error.
7781
7782 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7783 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7784 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7785 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7786 Use gdb_test not test_print_accept.
7787 * lib/gdb.exp: Remove test_print_accept.
7788
7789 * gdb.base/signals.exp (signal_tests_1): Make pass message
7790 consistent with fail message.
7791
7792 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7793 unsigned char; the bug (PR 1821) is fixed.
7794
7795 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7796
7797 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7798 successful tests--makes xfailing them work right.
7799
7800Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7801
7802 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7803 only \r\n, not .*. The test can pass .* as the last thing in
7804 $pattern if that is what it wants. In addition to providing this
7805 flexibility, this change should speed up pattern matching in cases
7806 where the pattern already ended with .* (there were a number of
7807 them). This change also helps catch bad patterns--in the old
7808 scheme the typo "char \*" instead of "char \\*" would pass. Now
7809 it is caught.
7810 * Many .exp files: Update callers.
7811
7812 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7813 clearer and does not spuriously match multiple ('s. Likewise for
7814 ) and *.
7815
7816 * gdb.base/nodebug.exp: Test ability to call a function and pass
7817 it a string (even with no debugging info).
7818
7819 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7820 "p '\'", which is the same as "p ''" once tcl gets done with
7821 quoting, to "p '\\'", which I suspect is what is intended (one
7822 backslash gets sent to GDB).
7823
7824 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7825
7826Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7827
7828 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7829 1817) was fixed literally years ago.
7830
7831Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7832
7833 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7834 test, it causes stepping out of call_after_alloca_subr with
7835 optimizing compilers.
7836 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7837 fails.
7838
7839 * gdb.c++/templates.exp: Source templ-info.exp only if
7840 the templates executable exists.
7841
7842 * gdb.c++/misc.cc (class Contains_static_instance,
7843 class Contains_nested_static_instance),
7844 gdb.c++/classes.exp (test_static_members): Test printing of
7845 a class that contains a static instance of the class.
7846
7847Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7848
7849 * gdb.base/langs2.c (cppsub_): Don't prototype.
7850 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7851 only, I believe).
7852
7853Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7854
7855 * lib/gdb.exp (skip_chill_tests): New procedure.
7856
7857 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7858
7859Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7860
7861 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7862 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7863
7864Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7865
7866 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7867
7868 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7869 disassemble 8, not 16, instructions for part 4.
7870
7871 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7872 support the latter anymore.
7873
7874 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7875 -DNO_PROTOTYPES.
7876 * gdb.base/callfuncs.c: Control use of prototypes based on
7877 NO_PROTOTYPES, not __STDC__.
7878 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7879 t_float_values2 tests if prototypes in use.
7880
7881 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7882 t_double_values): When checking differences against DELTA, check
7883 that difference is within the range (-DELTA,DELTA), not just
7884 (-infinity,DELTA).
7885
7886Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7887
7888 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7889 'file' command firts, then 'target', then 'load', this is due to gdb
7890 target set up.
7891 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7892
7893Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7894
7895 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7896 FP load/store variants.
7897 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7898
7899Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7900
7901 * gdb.base/term.exp: Do not give a warning if not native, it is
7902 not an abnormal condition.
7903
7904Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7905
7906 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7907 t_char_array".
7908
7909Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7910
7911 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7912 are getting the version number.
7913
7914 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7915 if not native, it is not an abnormal condition.
7916
7917Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7918
7919 * lib/gdb.exp: Just use "file exists", rather than undocumented
7920 dejagnu procedure "findfile".
7921
7922Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7923
7924 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7925 (LDFLAGS): Set to -Xlinker -Ur.
7926
7927 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7928 Removed, these values are set by lib/gdb.exp.
7929
7930 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7931
7932Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7933
7934 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7935 of replicating gdb startup code.
7936
7937 * config/mt-vxworks (LDFLAGS): Set to -r.
7938 (CFLAGS_FOR_TARGET): Removed.
7939
7940 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7941 (gdb) and gdb for vxworks uses (vxgdb).
7942
7943 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7944 executable is not in the tree and host != target, use sed and
7945 program_transform_name to determine the gdb name used by the
7946 target.
7947
7948 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7949 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7950
7951Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7952
7953 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7954 floats, chars, and shorts where there are ANSI-style function
7955 definitions.
7956
7957 * gdb.base/langs.exp, gdb.base/langs*: New test.
7958 * gdb.base/Makefile.in: Build it.
7959 * TODO: Remove item about checking that C names don't get C++
7960 demangling applied; this test tests it.
7961
7962Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7963
7964 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7965 went with the const70 xfail. The xfail went away a year ago.
7966
7967 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7968
7969 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7970 for hp300.
7971
7972 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7973
7974 * gdb.base/a1-selftest.exp: Don't run on hp300.
7975
7976Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7977
7978 * Makefile.in (site.exp): Set host_alias and target_alias as well
7979 as host_triplet and target_triplet.
7980
7981Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7982
7983 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7984
7985 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7986 places as other ecoff systems).
7987
7988 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7989 ultrix.
7990
7991Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7992
7993 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7994 remove them.
7995 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7996 variable and "variable" in addition to "data variable".
7997 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7998
7999 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8000 2.
8001 * gdb.base/list1.c (long_line): Add additional statement at start
8002 of function.
8003 * gdb.base/list.exp (test_forward_search): Update line number to
8004 reflect new statement.
8005
8006Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8007
8008 * gdb.base/signals.exp: Reinitialize searched source directories
8009 after gdb_start call.
8010
8011Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8012
8013 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8014 * gdb.stabs/Makefile.in: Likewise.
8015
8016 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8017 change. Instead split the tests into smaller pieces.
8018 * gdb.disasm/hppa.s: Corresponding changes.
8019
8020Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8021
8022 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8023 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8024
8025 * gdb.base/funcargs.exp: Modify many tests so that every test
8026 either passes or fails. Make some test names unique.
8027
8028Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8029
8030 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8031 Call stty to set interrupt character.
8032
8033 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8034 for HP assembler versus GNU assembler based on actual behavior of
8035 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8036
8037 * TODO: Suggest a few more stepping tests.
8038
8039Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8040
8041 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8042 restart GDB for h8300 after a continue.
8043 (return): Add pattern to match a29k-udi behavior.
8044 * gdb.base/nodebug.exp: Remove obsolete comment.
8045 * gdb.base/regs.exp: New file, testing of register displays.
8046 * gdb.base/return.exp: Fix typo in reference to $objdir.
8047 * gdb.base/whatis.exp: Always start with a fresh GDB.
8048
8049Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8050
8051 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8052 higher, these tests generate a lot of output.
8053
8054Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8055
8056 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8057 code following the catch silently ignored some errors; without the
8058 catch they should be thrown like any other tcl error. Also, the
8059 catch used "" instead of {} which meant all the callers who wanted
8060 to include one of the characters "[]$ had to quote it an extra time.
8061 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8062 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8063 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8064 Remove extra quoting.
8065
8066Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8067
8068 * gdb.base/commands.exp: Make test names unique; every test either
8069 passes or fails. Update some comments.
8070
8071 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8072
8073Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8074
8075 The following fixes a FAIL caused by the fact that the alpha stabs
8076 configuration didn't use the ".if alpha" code in weird.def.
8077 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8078 bit pointer, so the 32 bit version works even on the alpha.
8079 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8080 Remove the stuff which allowed us to have separate versions for
8081 alpha and everything else.
8082
8083 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8084 regexp which "info func operator\[\](" is supposed to match. Fix
8085 string to send to GDB. Note that GDB still doesn't work right. Add a
8086 new test for "info func .perator\[\](" which GDB does handle correctly.
8087
8088 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8089
8090Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8091
8092 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8093 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8094 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8095 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8096 it makes the tests harder to understand and confuses test-o-matic.
8097 The preferred style is that each test provides a PASS or a FAIL,
8098 and has a unique message (e.g. "continue #54" not just "continue")
8099 which is the same for the pass and the fail.
8100 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8101 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8102 to lib/gdb.exp.
8103 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8104 prt_accept which was basically the same thing. Likewise for
8105 test_print_reject and prt_reject.
8106 * lib/gdb.exp (test_print_reject): Add some more error message
8107 patterns to match from the former printcmds.exp (prt_reject).
8108 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8109 One defect of the passcount stuff is that some of it failed to
8110 report XPASS where appropriate.
8111 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8112 stuff before and after arg in expected pattern.
8113 (test_paddr_operator_functions): Re-do test without print_addr_of;
8114 this is the only test which seems to want extra stuff there.
8115
8116Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8117
8118 * gdb.base/nodebug.exp: Update new tests to reflect improved
8119 wording of gdb output.
8120
8121 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8122 and "ptype" work on variables in files compiled without -g.
8123 Replaces commented out "maint print msymbol" tests.
8124
8125Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8126
8127 * gdb.base/setvar.c (dummy): Call malloc.
8128
8129 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8130 losing with the irix4 sed.
8131
8132 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8133 ALRM" on irix4.
8134
8135Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8136
8137 * TODO: Remove items about corefile.exp testing new exec-file and
8138 backtrace; both are now done. Add items about printing enums.
8139
8140Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8141
8142 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8143 "get signal $thissig" test fails.
8144
8145 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8146
8147Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8148
8149 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8150 compiler warning with dec alpha compiler.
8151
8152 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8153 extra \n from gdb_test call (this explains why the prompt test
8154 that I removed yesterday was there).
8155 (user_defined_command_test): Remove extra \n and prompt test.
8156
8157 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8158 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8159 doesn't exist.
8160 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8161 Also remove alpha workaround, which turns out to be because
8162 SIGABRT == SIGLOST.
8163
8164 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8165
8166 * gdb.base/help.exp: Don't test "help show".
8167
8168Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8169
8170 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8171 "set print address" is on.
8172 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8173 pass prompt to gdb_test; gdb_test already looks for the prompt.
8174
8175 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8176
8177 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8178 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8179 was to make sure that gdb can read a core file. But (a) the "read
8180 the corefile" part didn't make it to a1-selftest.exp, we just
8181 delete the corefile after creating it, and (b) we test reading
8182 corefiles in corefile.exp anyway. Also, this test left around a
8183 xgdb process on Solaris.
8184
8185 * gdb.base/corefile.exp: Also test backtrace.
8186
8187Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8188
8189 * gdb.base/commands.exp: Test a simple user defined command with
8190 arguments and if/while statements; verify the full user command is
8191 printed by "show user".
8192
8193 * gdb.base/commands.exp: Test if/while commands as part of a
8194 breakpoint command list; verify they appear in breakpoint
8195 information.
8196
8197Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8198
8199 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8200 than by dividing by zero.
8201
8202Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8203
8204 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8205 performing an inferior call with watchpoints enabled.
8206 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8207 call.
8208
8209Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8210
8211 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8212 of "file" command.
8213
8214 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8215 Add additional pattern for when "int operator int(void);" appears
8216 in a different order.
8217
8218Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8219
8220 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8221
8222 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8223 and "signal" with ".*".
8224
8225Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8226
8227 * TODO: Add note about "handle all nostop".
8228
8229 * gdb.base/{sigall.c, sigall.exp}: New test.
8230 * gdb.base/Makefile.in: Add it.
8231
8232Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8233
8234 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8235 when invoking GDB, suppresses any windowing interface.
8236
8237Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8238
8239 * config/sim-gdb: New file, simulator testing support.
8240
8241Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8242
8243 * gdb.base/interrupt.exp: Test calling func1 twice.
8244
8245Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8246
8247 * gdb.base/list.exp (test_forward_search): Set timeout higher
8248 when we'll be getting lots of output from gdb.
8249
8250 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8251 "init_malloc" to after the expect statement. Run it if that
8252 regexp is taken, but also for two others which happen if source
8253 cannot be found.
8254
8255Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8256
8257 * gdb.base/printcmds.exp: New test, for printing register before
8258 program is running.
8259
8260Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8261
8262 * gdb.base/list.exp: Correct some alternate expect patterns
8263 to reflect changes in list1.c.
8264
8265Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8266
8267 * TODO: Add item regarding large frames.
8268
8269 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8270
8271 * TODO: Remove item about enabling return.exp; it
8272 is enabled. Suggest a few more "return" tests.
8273
8274Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8275
8276 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8277 anonymous unions.
8278
8279Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8280
8281 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8282 and pr-5646.o, so "make" is the same as "make all", not "make
8283 pr-4975.o".
8284
8285Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8286
8287 * gdb.base/list.exp: Adjust expectations to reflect changes in
8288 list1.c.
8289 (test_forward_search): New test proc.
8290 * gdb.base/list1.c (long_line): New function, has long source line.
8291
8292Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8293
8294 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8295 additional line of code that was added.
8296
8297Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8298
8299 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8300 tests so as not to overflow expect's input buffers.
8301 * gdb.disasm/hppa.exp: Corresponding changes.
8302
8303Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8304
8305 Beginnings of template debugging tests.
8306 * gdb.c++/templ-info.cc: New file to test for template
8307 debugging capability of the compiler.
8308 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8309 templ-info.cc.
8310 * gdb.c++/templates.cc: Add explicit template instantiations
8311 to enable compiling with -fno-implicit-templates. Add destructor
8312 and 'value' method to T5 class for template tests.
8313 * gdb.c++/templates.exp: Add testcases for printing of template
8314 types, setting breakpoints on template methods and calling a
beb998c6 8315 template method.
c906108c
SS
8316
8317Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8318
8319 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8320 branch target since some assemblers (gas-2.5) may emit a
8321 relocation for the branch instead of resolving it in the
8322 assembler.
8323
8324Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8325
8326 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8327 through signal handler.
8328
8329Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8330
8331 * configure.in (*-*-netware): Use config/mt-netware.
8332
8333 * config/mt-netware: New file.
8334 * config/mt-i386-netware: Removed, separate configs for different
8335 netware architectures are no longer needed now that we have
8336 --with-headers.
8337
8338Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8339
8340 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8341 by the recent changes to use ANSI C arithmetic conversions.
8342
8343Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8344
8345 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8346 bug involving using inferior_pid to figure out whether to select a
8347 frame.
8348
8349Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8350
8351 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8352 match the current disassembler output.
8353
8354Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8355
8356 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8357 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8358 types, expect "int" as type of integer values (for now).
8359
8360Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8361
8362 * gdb.base/commands.exp: New tests for if/while commands.
8363
8364Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8365
8366 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8367 by .*, since hex values have different syntax in Chill mode.
8368
8369Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8370
8371 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8372 linefeed from expect pattern for repeated types with indices > 9.
8373
8374Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8375
8376 First part of Fortran test suite.
8377 * gdb.fortran: New directory.
8378 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8379
8380Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8381
8382 * gdb.base/default.exp: Update expect pattern for load command
8383 without arguments.
8384
8385Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8386
8387 * configure.in: Change i386 to i[345]86.
8388 * gdb.base/configure.in: Likewise.
8389 * gdb.c++/configure.in: Likewise.
8390 * gdb.chill/configure.in: Likewise.
8391
8392Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8393
8394 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8395 patterns, since that is not a valid context for comments.
8396
8397Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8398
8399 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8400 repeated types and repeated types with indices > 9.
8401
8402Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8403
8404 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8405 2417; old bug has been fixed.
8406
8407Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8408
8409 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8410 send the newline ourselves instead of assuming gdb_test will do
8411 so when passed an empty input string.
8412
8413 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8414 stabs testcode.
8415
8416Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8417
8418 * lib/gdb.exp (gdb_test): Don't send anything if the first
8419 argument is an empty string. This makes cases where we want to
8420 match output that is already in expect's buffers (for example,
8421 matching a breakpoint after gdb_run_cmd has been called) work
8422 reliably.
8423
8424Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8425
8426 * config/netware.exp: New file.
8427
8428Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8429
8430 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8431 the -B and -L prefixes so we can find the debugging stub.
8432
8433 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8434 there and we are using the gcc from the tree.
8435
8436 * gdb.base/types.c: Removed.
8437
8438 * gdb.base/configure.in: Look for makefile fragments in ../config.
8439 Recognize i386-*-netware.
8440 * gdb.c++/configure.in: Likewise.
8441
8442Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8443
8444 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8445 the correct TCL syntax.
8446
8447Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8448
8449 * gdb.base/opaque.exp: use runto instead of messing around with
8450 breakpoints. Simplify by using gdb_test.
8451
8452 * gdb.base/bitfields.exp: restart between tests on netware targets
8453 because breakpoints aren't relocated after target death. Run
8454 processes to completion.
8455
8456 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8457
8458Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8459
8460 * Makefile.in: Remove extra tabs that confuse some versions
8461 of "make". Use the newly built gdb to test with by default,
8462 rather than the first one in the tester's search path.
8463
8464Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8465
8466 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8467
8468 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8469 condition help.
8470
8471Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8472
8473 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8474
8475 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8476 running.
8477 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8478 * gdb.base/funcargs.exp: Likewise.
8479
8480 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8481 * gdb.base/funcargs.exp: Likewise.
8482
8483 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8484 message is "".
8485
8486Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8487
8488 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8489 return,signals,twice}.exp: Handle non-existant binaries
8490 consistantly.
8491
8492 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8493 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8494 might testing a cross development system.
8495
8496Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8497
8498 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8499 runtest script is relative to ${srcdir}, not ${rootdir}.
8500
8501Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8502
8503 * gdb.base/signals.exp: Allow for optionality of breakpoint
8504 address.
8505
8506Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8507
8508 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8509
8510Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8511
8512 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8513 for size_t definition.
8514 * gdb.c++/templates.cc: Likewise
8515
8516 * config/mt-i386-netware: New file.
8517
8518 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8519 defined.
8520
8521 * gdb.base/Makefile.in: Added support for systems that name core
8522 files by appending "core" to the program name.
8523 * gdb.base/a1-selftest.exp: Likewise.
8524
8525Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8526
8527 * gdb.base/return.exp: Add comment and message for `return double'
8528 test failure on Sparc Solaris.
8529
8530Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8531
8532 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8533
8534Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8535
8536 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8537 from optimizing them away.
8538 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8539 patterns to include default constructors and assignment operators,
8540 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8541 character in the output of the virtual base pointer.
8542
8543Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8544
8545 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8546 expression match in print_addr_of to avoid unintented matches.
8547 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8548 versions up to 2.5.8.
8549
8550Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8551
8552 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8553 included file to run under newer versions of expect.
8554 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8555 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8556 Remove xfail for the virtual table of BDDHookV.
8557
8558Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8559
8560 * lib/gdb.exp (string_to_regexp): Set a default result.
8561 (default_gdb_start): Fix misleading message.
8562
8563Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8564
8565 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8566 Remove all CC, etc definitions.
8567 * config/mt-hpux: New file.
8568 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8569 (CFLAGS, LDFLAGS): Define.
8570 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8571
8572 * Makefile.in (site.exp): Don't insert host_os, etc.
8573 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8574 (distclean): Check existence of subdir.
8575 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8576 * gdb.base/Makefile.in: General cleanup and simplification.
8577 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8578 to build executables. Use default rule to build .o files.
8579 (EXPECT, RUNTEST, CC): Fix relative pathname.
8580 (site.exp): Don't insert host_os, etc.
8581 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8582 and/or SIGUSR1 defined.
8583 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8584 * gdb.c++/Makefile.in: General cleanup and simplification.
8585 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8586 (CFLAGS): Remove.
8587 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8588
8589Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8590
8591 * gdb.base/recurse.exp: Misc changes to get tests running again
8592 after Kung's changes to the watchpoint code.
8593 * gdb.base/watchpoint.exp: Likewise.
8594
8595Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8596
8597 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8598
8599Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8600
8601 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8602 * lib/gdb.exp (default_gdb_start): Define.
8603 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8604 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8605 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8606 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8607 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8608 Don't call gdb_target_udi in between tests.
8609
8610Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8611
8612 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8613 (which was basically just a local version of the same thing). In
8614 addition to avoiding duplication, gdb_test_exact is faster.
8615 * lib/gdb.exp (gdb_test_exact): Fix typo.
8616
8617 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8618 don't give an error.
8619
8620 * gdb.base/term.exp: Call delete_breakpoints before starting.
8621
8622 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8623 (t10): Add comment.
8624
8625Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8626
8627 Reorganization of the GDB Test Suite.
8628
8629 * gdb.base: New directory, contains all the basic tests.
8630 * gdb.c++: New directory, tests specific to C++.
8631 * gdb.chill: New directory, tests specific to Chill.
8632 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8633 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8634 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8635 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8636 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8637 t30-31 to chill).
8638 * */gdbme.*: Rename to match appropriate expect scripts.
8639 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8640 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8641 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8642 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8643 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8644 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8645 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8646 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8647 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8648 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8649 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8650 gdb.c++/virtfunc.cc: New names of C++ files.
8651 * gdb.chill/chillvars.ch: New name of Chill file.
8652 * gdb.base/configure.in, gdb.c++/configure.in,
8653 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8654 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8655 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8656 * configure.in (configdirs): Update to reflect directory changes.
8657 (target_abbrev): No longer define for any configuration.
8658 * Makefile.in: Cosmetic improvements to header comments.
8659
8660Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8661
8662 Various changes to gdb.t31:
8663
8664 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8665 * gdbme.ch: Make all key-words and predefineds be upper-case.
8666 * chillvars.exp: Expect key-words and predefinds in upper-case.
8667
8668 * chillvars.exp: Use gdb_test_exact many places.
8669 Change expected output for arrays (which now includes index labels).
8670
8671 * pr-5020.exp, gdme.ch (module PR_5020):
8672 New test, for PR-5020.
8673
8674Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8675
8676 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8677 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8678
8679Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8680
8681 * Makefile.in: Fix bit-rot in definitions of CHILL,
8682 CHILL_FOR_TARGET and Chill_LIB.
8683 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8684 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8685 CHILL, and CHILL_LIB.
8686
8687Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8688
8689 * Revert the previous changes. Please see Rob's directory
8690 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8691
8692Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8693
8694 * Makefile.in, configure.in, config/mips-gdb.exp,
8695 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8696 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8697 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8698 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8699 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8700 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8701 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8702 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8703 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8704 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8705 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8706 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8707 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8708 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8709 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8710 changes from 94Q1.
8711
8712Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8713
8714 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8715 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8716 Rob's new testing fragments.
8717
8718Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8719
8720 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8721 lib/gdb.exp: Replace error proc calls with perror.
8722
8723Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8724
8725 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8726 version also, match on casted version strings, and match on
8727 gdb startup case where the line numbers might be messed up.
8728
8729Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8730
8731 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8732 (CFLAGS): Delete it from here.
8733
8734Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8735
8736 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8737
8738Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8739
8740 * Makefile.in (RUNTEST): Default to just "runtest".
8741
8742Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8743
8744 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8745 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8746 the code has been restructured.
8747
8748Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8749
8750 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8751 \n, not just one of each.
8752
8753 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8754 /bin/cc gives a warning if you do.
8755
8756Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8757
beb998c6 8758 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8759 __t10ListS_link1ZUiRCUiPT0
8760
8761Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8762
8763 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8764 on local variables in recursive functions.
8765
8766 * gdb.t07/Makefile.in: Build the new test.
8767
8768Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8769
8770 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8771 directly. Instead compare the return values from actual calls.
8772
8773Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8774
8775 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8776
8777Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8778
8779 * From Peter Schauer with minor modifications.
8780 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8781 stops in mid-line in the caller. Add xfail for returning a float
8782 value on X86 targets.
8783
8784Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8785
8786 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8787 to avoid expect lossage.
8788 (fmem_LRbug_tests): Likewise.
8789 * gdb.disasm/hppa.s: Corresponding changes.
8790
8791 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8792 conditions to work with latest dejagnu/expect.
8793
8794 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8795 expected to fail on the PA.
8796 (backtrace in call with trampolines): Explicitly require main
8797 to be frame #1 (no trampolines should show up in backtrace).
8798
8799 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8800 "continue -expect".
8801 * gdb.t06/break.exp: Likewise.
8802 * gdb.t07/watchpoint.exp: Likewise.
8803 * gdb.t13/bitfields.exp: Likewise.
8804 * gdb.t15/{funcargs,return}.exp: Likewise.
8805 * gdb.stabs/weird.exp: Likewise.
8806 * config/{mips,udi}-gdb.exp: Likewise.
8807
8808 * hppa.sed: Enclose comments within a sed command to avoid
8809 losing with the old OSF1 sed.
8810
8811Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8812
8813 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8814 sequent dynix.
8815 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8816 * gdb.t15/funcargs.exp: Conditionally step again to really
8817 finish from marker_call_with_trampolines. Handle the case where
8818 the first step from within call_with_trampolines already steps
8819 us back to main.
8820 * gdb.t15/gdbme.c: Add comment to closing brace of
8821 call_with_trampolines for funcargs.exp.
8822
8823Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8824
beb998c6 8825 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8826 Fix typo(s).
8827
8828Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8829
8830 * gdb.t07/gdbme.c: More code for watchpoint testing.
8831
8832 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8833 "Hardware watchpoint" throughout file.
8834 (test_watchpoint_triggered_in_syscall): New test.
8835 (test_complex_watchpoint): New test.
8836
8837Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8838
8839 * gdbme.c (call_with_trampolines): New function to try and step
8840 into. Tests trampoline problems on the PA.
8841
8842 * funcargs.exp (localvars_in_indirect_call): No longer expect
8843 stepping into indirect call to fail on PAs.
8844 (test_stepping_over_trampolines): New test.
8845
8846Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8847
8848 * TODO: Add suggestions for static member function tests, and
8849 completion tests.
8850
8851Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8852
8853 * TODO: Add suggestions for "p/a" tests.
8854
8855 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8856 (default_gdb_exit): Replace all the hair with sending "quit" to
8857 the process with a simple close.
8858
8859Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8860
8861 * TODO: Add suggestions for shared library tests.
8862
8863Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8864
8865 * TODO: Add suggestions for x/s tests.
8866
8867Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8868
8869 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8870 "enable once", and "enable breakpoints once" with ".*".
8871
8872Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8873
8874 * TODO: Add suggestions about structure passing tests.
8875
8876Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8877
8878 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8879 the primary1 test, use work around if __GNUC__ < 2.
8880 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8881 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8882 Test for bad output rather than waiting for timeout. Issue
8883 second continue only if first continue failed.
8884
8885Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8886
8887 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8888 operator[] test with gdb_test because the old code didn't seem to
8889 be getting the quoting right with the new dejagnu.
8890
8891Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8892
8893 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8894 one from the path.
8895 * Makefile.in: Use a fresh expect if there is one, use runtest
8896 from the src tree if there is one.
beb998c6 8897
c906108c
SS
8898Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8899
8900 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8901 next over recursive call. Revise the tests from that point on
8902 (which had been skipped) to match GDB's actual (correct) output.
8903
8904 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8905 with next over a breakpoint whose condition is false.
8906
8907 * gdb.t00/help.exp: Comment out "help set print" tests just like
8908 (and for same reason as) "help set" test.
8909
8910Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8911
8912 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8913 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8914
8915Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8916
8917 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8918 necessary gdb_target_udi.
8919
8920 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8921
8922 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8923 1838 and 2417; they are fixed.
8924
8925 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8926 gdb.t03/ptype.exp (ptype structure, ptype union):
8927 Remove xfails; the test is looser than when the xfails were added.
8928
8929 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8930 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8931
8932 * gdb.t01/run.exp: Only run shell test if isnative.
8933
8934 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8935 since "run" automatically loads if necessary. Call gdb_target_udi
8936 after the "file" since "file" kills any execution target.
8937
8938 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8939 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8940 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8941 argument for UDI.
8942
8943Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8944
8945 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8946
8947 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8948
8949Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8950
8951 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8952 properly quoting regexps. This makes the second argument to
8953 demangle a fixed string, which matches the callers, instead of a
8954 shell-style pattern which is what the previous implementation
8955 used. Update some of the callers.
8956
8957Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8958
8959 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8960 (comib_nullified_tests): Fix typo.
8961 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8962 strings. No longer expected to fail.
8963
8964 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8965 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8966 strings. No longer expected to fail.
8967
8968 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8969 string. No longer expected to fail.
8970
8971Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8972
8973 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8974 No longer expected to fail.
8975
8976 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8977 string. No longer expected to fail.
8978
8979Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8980
8981 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8982 only in the names (I probably got most of them). I was even
8983 generous with some which differed in underscores in names, and
8984 probably missed a few, and I *still* was able to remove almost a
8985 third of the file with almost no impact on testsuite coverage.
8986
8987Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8988
8989 * gdb.t00/default.exp: Match udi_attach error message as well as
8990 the one from child_attach.
8991
8992 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8993
8994 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8995
8996 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8997 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8998
8999 * Move test with enums and partial symbols back to
9000 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9001 Reverts the change of 26 May 93. Per today's change to
9002 stabs.texinfo, the behavior that weird.exp was expecting was
9003 unreasonable; what is important is that the compiler+gdb get
9004 things right, which happens with a recent gcc. Also fix the test
9005 to deal with native compilers which put out the stab gdb can't
9006 deal with.
9007
9008Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9009
9010 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9011 in the names. The main thing these accomplish is to slow things down.
9012 Many more such duplicates surely remain.
9013
9014 * gdb.t00/help.exp: Comment out "help support" test just like
9015 (and for same reason as) "help set" test.
9016
9017Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9018
9019 * gdb.t06/break.exp: Remove setup_xfails for
9020 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9021 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9022 about known bug in gcc to include up through 2.5.8.
9023 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9024 well as "_vb$".
9025 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9026 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9027 with latest gcc and gdb.
9028 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9029 well as "_vb$".
9030
9031Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9032
9033 * configure.in (hppa*-*-*): Also configure and build stabs-only
9034 tests.
9035
9036Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9037
9038 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9039 * gdb.t10/configure.in (hppa*-*-*): Use it.
9040
9041Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9042
9043 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9044
9045Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9046
9047 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9048 versions prior to 1.13.5.
9049
9050Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9051
9052 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9053 the prompt is at the start of a line.
9054
9055Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9056
9057 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9058 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9059 in the copr tests now.
9060 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9061 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9062 expected to fail.
9063
9064Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9065
9066 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9067 gdb.t31/chillvars.exp, lib/gdb.exp:
9068 Tweak to run under either version of expect.
9069 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9070 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9071 * gdb.t11/list.exp: Remove extraneous whitespace.
9072
9073Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9074
9075 * gdb.t16/printcmds.exp (test_print_strings): Accept
9076 "(unsigned char *) " before the string.
9077
9078 * TODO: Add notes about printing of fancy types and GDB expressions.
9079
9080Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9081
9082 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9083 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9084 if doing mips-idt-ecoff.
c906108c
SS
9085
9086Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9087
9088 * Most .exp files: Tweak to run under either version of expect.
9089
9090Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9091
9092 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9093 xfails; I'm not sure why they are failing, but not because of PR 1806.
9094
9095Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9096
9097 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9098 defined in lib/gdb.exp.
9099
9100Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9101
9102 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9103 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9104 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9105 have to be typeless.
9106
9107Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9108
9109 * TODO: Add suggestion for copyright year test.
9110
9111Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9112
9113 * configure.in (*-*-lynxos*): Add stabs tests.
9114
9115Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9116
9117 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9118 so insert a tab before any assembler directive in column zero.
9119
9120 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9121 stores.
9122 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9123 stores.
9124 (fpu_short_memory_tests): Likewise.
9125
9126Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9127
9128 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9129 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9130 .stabs directives in comments.
9131
9132Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9133
9134 * TODO: New file, describing tests we could write.
9135 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9136
9137Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9138
9139 * gdb.t06/signals.exp: Add kludge to force re-sync.
9140
9141 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9142 to xgdb instead of gdb, get out of gdb.
9143
9144Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9145
9146 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9147 for info.
9148
9149Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9150
9151 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9152 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9153 * gdb.stabs/hppa.sed: New sed script for the PA.
9154
9155Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9156
9157 * gdb.stabs: Re-write weird.def and configuration to use sed
9158 instead of cpp. sed is portable and POSIX; cpp is neither.
9159
9160Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9161
9162 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9163
9164Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9165
9166 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9167
9168Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9169
9170 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9171 "_vb$".
9172 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9173 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9174
9175Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9176
9177 * lib/gdb.exp: Comment out code which depends on non-existent
9178 `transform' procedure.
9179
9180Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9181
9182 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9183 * lib/gdb.exp: Transform tool name.
9184 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9185 1.1's new error handling system.
9186
9187Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9188
9189 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9190
9191Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9192
9193 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9194 They made pattern matching so slow that timeouts happened on
9195 heavily loaded systems. Now any output from "show print" which
9196 gets us back to the GDB prompt is a PASS.
9197
9198Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9199
9200 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9201
9202Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9203
9204 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9205
9206 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9207 It is not from PR 3220.
9208
9209Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9210
9211 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9212 just started failing because they depended on the order the
9213 subcommands are presented, or exact docstring text. This kind of
9214 test is a pain and has minimal benefit.
9215
9216Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9217
9218 * gdb.t09/corefile.exp: At end of test, use "core" command with
9219 no arguments.
9220
9221Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9222
9223 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9224 17}/Makefile.in: Make it possible to run the testsuite with Sun
9225 make and CC = cross gcc by adding explicit build rules for .o
9226 files.
9227
9228Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9229
9230 * gdb.t15/funcargs.exp: Don't put comments on same line as
9231 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9232
c906108c
SS
9233Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9234
9235 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9236
9237Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9238
9239 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9240 * gdb.t20/inherit.exp: remove three dumplicate entries.
9241
9242Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9243
9244 * gdb.t06/break.exp: For "next over recursive call", fail on any
9245 incorrect output, not just on "factorial (value=2)".
9246
9247Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9248
9249 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9250 working now. Add an xfail if accesing a bss variable causes
9251 a memory error if the target is not yet run.
9252
9253Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9254
9255 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9256 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9257 name of __st* demangling (2 strings). Did Kung really get the
9258 more than 95 others right without testing them?
9259
9260Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9261
9262 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9263
9264Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9265
9266 * configure.in (configdirs): Add gdb.disasm
9267 * gdb.disasm: New directory for GDB disassembler tests.
9268 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9269
9270Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9271
9272 * gdb.t00/help.exp: Don't test "help set".
9273
9274 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9275 from within expect statements. None of these happen anymore and
9276 they cause regressions to be silently unnoticed.
9277
9278 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9279 messages) about known failures with gcc cygnus-2.4.5-930417.
9280
9281 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9282 comp-info.exp so it gets built if it doesn't exist.
9283
9284 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9285 it is no longer used.
9286 * gdb.t13/comp-info.c: Removed.
9287
9288Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9289
9290 * gdb.t06/signals.exp: Add xfail for sun3.
9291
9292Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9293
9294 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9295 relevant because ^C doesn't get sent but failure can be reproduced
9296 interactively).
9297
9298Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9299
9300 * gdb.stabs/alpha.mt: New configuration file for alpha.
9301 * gdb.stabs/configure.in: Use it.
9302 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9303 sharing with alpha.mt, redefine long to word via preprocessor.
9304 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9305 for alpha.
9306 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9307 native cc.
9308 * gdb.t00/teststrategy.exp: Change expect string so that we
9309 consume the `(xgdb)' from the command echo and from the gdb prompt.
9310 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9311 gdb currently compares all values as long, so this failure probably
9312 applies to any configuration where LONGEST is bigger than a target int.
9313 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9314 with gcc.
9315 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9316 to handle opaque pointers, gcc is.
9317 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9318 as first argument. Include <sys/types.h> and change all operator
9319 new definitions to use size_t.
9320 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9321 now that we use size_t.
9322
9323Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9324
9325 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9326 a long or float array cast all array members to the same type.
9327 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9328 with 64 bit longs.
9329 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9330 on alpha.
9331 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9332
9333Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9334
9335 * gdb.t24 (demangle.exp): Constructors of templates have names like
9336 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9337 section 14.6 of the ARM.
9338
9339 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9340 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9341 accomplish little and slow down the testsuite.
9342
9343 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9344 Accept spaces various places.
9345
9346Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9347
9348 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9349 with watchpoint enabled.
9350
9351 * Makefile.in: Remove definition of CC and remove the second
9352 definition of CXX (the "CXX = gcc" one remains). These definitions
9353 were causing backquotes to be expanded within backquotes, which
9354 doesn't work.
9355
9356Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9357
9358 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9359
9360Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9361
9362 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9363 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9364 by mips cc and contains no stabs entries.
9365
9366Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9367
9368 * config/vx-gdb.exp: Use fake device to load files rather than
9369 NFS.
9370 * lib/gdb.exp: New proc to do "file" command.
9371 * config/unix-gdb.exp: Use new "file" proc.
9372
9373Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9374
9375 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9376 Rework board rebooting slightly.
9377 (gdb_exit): Don't exit from the remote shell; there isn't one.
9378 * gdb.stabs/weird.exp: If a program is being debugged already,
9379 kill it.
9380 * gdb.t04/setvar.exp: Stop and restart gdb.
9381 * gdb.t05/expr.exp: Likewise.
9382 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9383 restart gdb and reload the program.
9384 * gdb.t08/opaque.exp: Likewise.
9385 * gdb.t12/scope.exp: Likewise.
9386 * gdb.t13/bitfields.exp: Likewise.
9387 * gdb.t15/funcargs.exp: Likewise.
9388 * gdb.t20/classes.exp: Likewise.
9389 * gdb.t03/ptype.exp: Increase timeout.
9390 * gdb.t16/printcmds.exp (test_print_string_constants,
9391 test_print_array_constants): Likewise.
9392 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9393 * gdb.t20/classes.exp (do_tests): Likewise.
9394 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9395
9396Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9397
9398 * gdb.stabs: Renamed *wierd* to *weird*.
9399
9400Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9401
9402 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9403 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9404
9405Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9406
9407 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9408 (do_tests): Remove xfail for whatis on one_var and two_var.
9409
9410Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9411
9412 * Makefile.in: Made cross building work better by adding
9413 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9414
9415Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9416
9417 * gdb.t15/{return.c,return.exp,Makefile.in}:
9418 New test, currently commented out.
9419
9420Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9421
9422 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9423 still running and removes the leftover named socket so GDb can do
9424 clean restarts.
9425
9426Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9427
9428 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9429 console, not GDB.
9430 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9431 cross testing works better with "make check"
9432 * config/unix-gdb: Use default procedures for exit and version.
9433 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9434 with the newest VxWorks.
9435
9436Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9437
9438 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9439 old form.
9440
9441 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9442 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9443
9444 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9445
9446 * config/unix-gdb.exp: Remove this version of gdb_exit
9447 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9448 Rob says he'll look at it when he gets back to testing boards.
9449
9450Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9451
9452 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9453 an expected fail for certain ptype commands.
9454
9455 * gdb.t20/classes.exp: Update expected results of "ptype class
9456 Base1" to account for the constructor that now appears in the type.
9457
9458Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9459
9460 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9461 disappeared from list.
9462 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9463 "alldone" proc with call to cleanup and exit.
9464 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9465 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9466 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9467 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9468 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9469 "alldone" proc with simple returns that suppress remaining
9470 tests. The alldone proc went away many months ago.
9471
9472Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9473
9474 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9475
9476 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9477
9478Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9479
9480 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9481 as vax gdb will display them.
9482
9483Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9484
9485 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9486 optimizers.
9487
9488 * scope.exp: Change "bad value for localval" messages so each one
9489 is unique.
9490
9491 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9492 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9493
9494 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9495
9496Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9497
9498 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9499 doesn't exist (due to optimization).
9500
9501Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9502
9503 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9504 contains \r because the filename is long.
9505
9506 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9507 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9508
9509Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9510
9511 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9512 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9513 Ultrix.
9514 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9515 int tests.
9516 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9517
9518Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9519
9520 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9521
9522 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9523 to match does not match the passing case but still matches the
c906108c
SS
9524 failing case.
9525
9526Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9527
9528 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9529
9530Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9531
9532 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9533 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9534 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9535 Remove various versions of gdb_exit.
9536 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9537 gdb_exit.
9538 * config/unix-gdb.exp: gdb_exit remains here, and should override
9539 the generic version, since it's doing a lot of wierd stuff that
9540 the other versions aren't. FIXME, fold it in, or abandon this
9541 version.
9542
9543Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9544
9545 * gdb.t24/demangle.exp: Add tests for PR 3220.
9546
9547Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9548
9549 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9550
9551Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9552
9553 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9554 "i386-*-*". Works for i486 as well.
9555
9556 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9557 bug, and expand domain of xfail to all SVR4 systems, since the
9558 actual problem is likely to be in generic SVR4 /proc support.
9559
9560Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9561
9562 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9563
9564Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9565
9566 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9567 xfails for other systems. Match a missing 'Continuing.' as an
9568 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9569
9570 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9571 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9572 Only issue warning for missing executables if -all option is used.
9573
9574 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9575 file if -all option is used. It's like an unpredictable XFAIL.
9576
9577Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9578
9579 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9580 for dynamically linked binaries.
9581
9582 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9583
9584Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9585
9586 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9587 to state that this is a known bug in old versions of g++.
9588
9589Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9590
9591 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9592 while waiting for `Continuing'.
9593
9594Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9595
9596 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9597 in text, data, and bss.
9598 * gdb.t10/nodebug.c: Add local and global test variables for
9599 initialized and uninitialized data.
9600
9601Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9602
9603 * config/unix-gdb.exp (gdb_exit): Add "wait".
9604
9605Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9606
9607 * gdb.t06/signals.exp: xfail the continue from the handler for all
9608 targets.
9609
9610 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9611 function with watchpoints enabled, the i386 call dummy starts with
9612 a call.
9613
9614 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9615 386 bsd names its corefiles.
9616
9617Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9618
9619 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9620 compilers don't grok it.
9621 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9622 with small octal ints rather than character constants, which
9623 are signed and might not fit if first promoted to int.
9624
9625Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9626
9627 * gdb.t09/Makefile.in (clean): Remove corefile.
9628
9629Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9630
9631 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9632
9633Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9634 and Jim Kingdon (kingdon@cygnus.com)
9635
9636 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9637 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9638 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9639
9640Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9641
9642 * gdb.t17/interrupt.exp: Add xfail for hppa.
9643
9644Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9645
9646 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9647 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9648 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9649 to determine signed-ness of bitfields and use the result to setup
9650 the xfail.
9651 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9652 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9653 call line is reached if necessary.
9654
9655Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9656
9657 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9658
9659Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9660
9661 * gdb.t06/break.exp: Also test `clear' command.
9662
9663Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9664
9665 * gdb.t00/teststrategy.exp: Remove extra quote.
9666
9667 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9668 watchpoint enabled to be for all non-68k machines.
9669
9670 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9671
9672Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9673
9674 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9675 targets use aout.mt instead of ecoff.mt as gas understands
9676 standard aout format.
9677
9678Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9679
9680 * lib/gdb.exp (runto): Don't insist that function we are running to
9681 was compiled with -g.
9682
9683 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9684
9685 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9686 to get back into the read system call.
9687 Accept leading newline in case where we woke it up.
9688
9689Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9690
9691 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9692 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9693 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9694 enable ecoff configuration.
9695
9696Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9697
9698 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9699
9700Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9701
9702 * gdb.t16/printcmds.exp: Add another printf test.
9703
9704Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9705
9706 * configure.in: If configured -with-stabs on any target, add
9707 stabsdirs to configdirs.
9708
9709Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9710
9711 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9712 fun" so pattern does not match the command itself.
9713
9714Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9715
9716 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9717
9718Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9719
9720 * gdb.t17/interrupt.exp: Test for more things.
9721
9722Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9723
9724 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9725 compiler arranges the code and line numbers.
9726
9727 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9728
9729Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9730
9731 * gdb.t00/help.exp: Increase expect input buffer size.
9732
9733Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9734
9735 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9736
9737 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9738
9739 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9740
9741 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9742 [0-9]*, not just [0-9].
9743
9744Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9745
9746 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9747
9748 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9749
9750Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9751
9752 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9753
9754Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9755
9756 * gdb.t06/signals.c: Add xfails for sun3.
9757
9758 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9759
9760 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9761 test_stepping tests.
9762
9763Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9764
9765 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9766
9767 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9768
9769 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9770 rather than actually putting it through cpp twice.
9771
9772 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9773
9774Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9775
9776 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9777 no longer needed.
9778
9779Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9780
9781 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9782
9783 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9784 C++ features prints as "struct", make it a pass, not an xfail.
9785
9786Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9787
9788 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9789 Don't require VA to print as "class" rather than "struct".
9790
9791Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9792
9793 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9794
9795Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9796
9797 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9798
9799Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9800
9801 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9802 order.
9803
9804Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9805
9806 * gdb.t16/printcmds.exp: Add printf tests.
9807
9808 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9809
9810 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9811
9812Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9813
9814 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9815 pass counts, to counteract any existing or future setup_xfails.
9816
9817Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9818
9819 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9820 {BEGIN,END}_COMMON for common block instead of STAB.
9821 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9822
9823 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9824 intp_var should be N_GSYM not N_LSYM.
9825 wierd-aout.S: Use a label for the value of the N_SO.
9826 wierd.def: Remove all backslashes.
9827 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9828
9829Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9830
9831 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9832 get the expected next to inheritance3.
9833
9834Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9835
9836 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9837 now that gcc-2.4 gets it right.
9838
9839Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9840
9841 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9842
9843 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9844 generating comp-info.exp which works for cross-compilation.
9845
9846Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9847
9848 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9849 "*-*-sysv4.*".
9850
9851Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9852
9853 * gdb.t01/run.exp: Start with a fresh gdb.
9854 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9855 SVR4.x.
9856
9857Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9858
9859 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9860 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9861 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9862 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9863 things to remove.
9864
9865Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9866
9867 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9868 test cases from bug reports.
9869
9870Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9871
9872 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9873 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9874 avoid spurious xfails.
9875 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9876 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9877 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9878
9879Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9880
9881 * gdb.t00/teststrategy.exp: Rework to provide more useful
9882 description of each test, fix problem with systems that define
9883 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9884 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9885 results for "next over recursive call" so timeouts aren't taken
9886 by error.
9887
9888Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9889
9890 * gdb.t12/scope.exp: Test printing of variables before run.
9891
9892 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9893 printed in wrong order due to sorting.
9894
9895Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9896
9897 * gdb.t00/teststrategy.exp: Fix expected results for printing
9898 user entered string constant. Is array of char, prints with no
9899 address.
9900
9901 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9902 commands.
9903 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9904 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9905 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9906 of struct of char arrays.
9907 * gdb.t00/radix.exp: New tests for radix commands.
9908
9909Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9910
9911 * gdb.t16/printcmd.exp: Print a variable before running program
9912 (with xfail for AIX).
9913
9914Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9915
9916 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9917
9918 * gdb.t16/printcmd.exp: Don't print variables before running program.
9919
9920 * gdb.t06/break.exp: Don't require envp argument to main.
9921
9922 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9923
9924 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9925 Add xfails for rs6000.
9926
9927 * gdb.t02/whatis.exp: Change other tests not to re-test something
9928 we already tested.
9929
9930 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9931 each type used has a variable of that type.
9932
9933Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9934
9935 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9936
9937Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9938
9939 * configure.in: change srctrigger to be a file, not a directory
9940
9941Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9942
9943 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9944
9945 * gdb.t11/list.exp: Fixed a couple of typos.
9946
9947Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9948
9949 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9950 is fixed and PR is closed.
9951 * gdb.t16 (gdbme.c): Add simple test string variable.
9952 * gdb.t16 (printcmds.exp): Add tests with simple test string
9953 variable, primarily for boundaries on "set print elements".
9954
9955Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9956
9957 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9958 Make leading 0's optional and don't expect a tab in the middle
9959 of the number.
9960
9961 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9962
9963 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9964 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9965 don't end command passed to gdb_test with newline.
9966
9967 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9968 signed keyword away, don't expect signed bitfields to be signed.
9969
9970 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9971 printing with only as many 1's as are in the field as well as printing
9972 with 32 1's (see comment).
9973
9974Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9975
9976 * gdb.t00/default.exp: Start with a fresh gdb.
9977 * configure.in (configdirs): Remove gdb.t31 until the chill
9978 compiler works again. It no longer is able to find chillrt0
9979 since it isn't in libchill.a anymore.
9980 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9981 wierd.o, make more modular.
9982 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9983 spurious newlines that caused problems.
9984
9985Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9986
9987 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9988 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9989 gdb.stabs/wierd.{exp,def}: Many new tests.
9990
9991 * gdb.t00/default.exp: update info line for new message.
9992
9993 * gdb.t02/{whatis.exp,gdbme.c}:
9994 Test that "char *" doesn't print as "caddr_t".
9995
9996Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9997
9998 * gdb.t00/help.exp: Use .* in place of some help messages which
9999 just changed.
10000 gdb.t00/default.exp: Update "info frame" test for new message.
10001 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10002 Remove some xfails
10003
10004Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10005
10006 * gdb.t03/{gdbme.c,ptype.exp}:
10007 Add tests for typedef'd struct and union without tags.
10008 Also check "whatis" on a variable of a typedef'd enum without a tag.
10009
10010 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10011 PRMS 1823; the bug still exists but isn't reproduced by this test
10012 anymore), and remove rs6000 XFAIL (the bug is fixed).
10013
10014 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10015 duplicated from whatis.exp. For those that are left, accept
10016 "long", "long int", or "int" for long variables (whatis.exp already
10017 has an XFAIL for "int", so no need to fail it here).
10018
10019 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10020 Deal with GCC's names for types now that GDB uses the compiler's names.
10021
10022 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10023 setup_xfail's for sunos4. If we #defined the signed keyword away,
10024 don't expect GDB to know that char it is signed.
10025
10026 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10027
10028Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10029
10030 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10031 should work on any system, regardless of debugging format.
10032 * gdb.t21/demangle.exp: Move to gdb.t24.
10033 * gdb.t24/demangle.exp: Move from gdb.t21.
10034 * gdb.t24/{Makefile.in, configure.in}: New files.
10035
10036Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10037
10038 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10039 * gdb.stabs: New directory.
10040
10041Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10042
10043 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10044 not just "Quit anyway?".
10045
10046Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10047
10048 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10049 that all setup_xfails are immediately followed by clear_xfails.
10050
10051Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10052
10053 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10054 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10055 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10056 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10057 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10058 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10059 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10060 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10061 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10062 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10063 gdb.t31/chillvars.exp, lib/gdb.exp:
10064 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10065 bug-gdb@prep.ai.mit.edu.
10066
10067Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10068
10069 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10070 with 0.0, not integer 0.
10071
10072Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10073
10074 * gdb.t06/break.exp: Update for "Kill the program" message change.
10075
10076Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10077
10078 * Makefile.in (GDBFLAGS): Set to -nx.
10079 * Makefile.in (site.exp): Use GDBFLAGS.
10080
10081Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10082
10083 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10084 Makefiles.
10085 (check): depend on just-check.
10086 (just-check): added so that tests can be run without a noop
10087 build pass.
10088
10089Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10090
10091 Switch to using configure's configdirs.
10092 * Makefile.in (Makefile): add configure.in dependency.
10093 (SUBDIRS): removed redundant assignment.
10094 * configure.in: switch subdirs assignment to configdirs.
10095 * gdb.t*/configure.in: new files.
10096
10097Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10098
10099 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10100 works.
10101
10102Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10103
10104 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10105 in explicit rules. Apparently this is not supported by some makes.
10106
10107Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10108
10109 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10110
10111Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10112
10113 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10114 disappeared.
10115
10116Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10117
10118 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10119
10120Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10121
10122 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10123 watchpoint problem that is now fixed.
10124 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10125 uninitialized convenience variables.
10126 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10127 structures.
10128
10129Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10130
10131 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10132 which causes expect to get out of sync with gdb on long output
10133 from help set.
10134 * gdb.t09/corefile.exp: Make expected pattern for core file
10135 failing signal and frame output format less sun specific.
10136
10137Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10138
10139 * gdb.t31/chillvars.exp: Add and remove initial dummy
10140 breakpoint, so that symbol table is forced in.
10141 (Needed at least on Sunos4, though it seems not SVR4.)
10142 * gdb.t31/chillvars.exp: Update for changed output format.
10143
10144Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10145
10146 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10147
10148Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10149
10150 * Makefile.in: Added --srcdir when invoking runtest, removed the
10151 need for a local config file. (optional now)
10152
10153Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10154
10155 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10156 failure count used to force early termination. Add some more
10157 expected failures for gnu style demangling.
10158
10159Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10160
10161 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10162 pmi variable from gdb.t20/gdbme to get optimized away.
10163 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10164 Check for written corefile upon timeout _and_ eof.
10165
10166Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10167
10168 * config/unix-gdb.exp: Add missing return 0.
10169
10170Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10171
10172 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10173 test termination.
10174
10175Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10176
10177 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10178 disappeared.
10179
10180Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10181
10182 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10183 time as i860 support works.
10184
beb998c6 10185 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10186 "backtrace 100\r" rather than just "backtrace\r", to match last
10187 change.
10188
10189Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10190
10191 * config/udi-gdb.exp (gdb_exit): Remove close command.
10192 (gdb_target_udi): New procedure to set the UDI target.
10193 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10194 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10195 Added waits for prompts after several question responses. Added
10196 some more responses used by a29k-amd-udi-gdb.
10197 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10198 pass different arguments, restart UDI connection after program
10199 completion.
10200 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10201 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10202 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10203 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10204 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10205 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10206 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10207 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10208 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10209 after program completion.
10210 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10211 compiled with a SELECT_VECS setting.
10212 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10213 infinite recursion.
10214
10215 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10216 Added checks for COFF results, and made them expected failures for
10217 all targets. It would be better to make them expected failures
10218 for COFF targets only.
10219
10220Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10221
10222 * Makefile.in: add null dvi target, don't bother to recurse
10223 through test directories for info and install-info; rename
10224 $(datadir) to be dejagnu instead of deja-gnu
10225
10226Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10227
10228 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10229 compiler to coredump.
10230 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10231 code.
10232
10233Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10234
10235 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10236 coredump.
10237 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10238 code.
10239
10240Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10241
10242 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10243 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10244 which in a shell. Deletes xgdb when done.
10245 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10246 Tests the return from the "set height" or "set width" commands.
10247 Added a few return codes where needed.
10248
10249Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10250
10251 * Makefile.in (SUBDIRS): Add gdb.t17.
10252 * configure.in (subdirs): Add gdb.t17.
10253 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10254 files to test gdb's calling of functions in the inferior with
10255 the correct arguments and gdb's ability to retrieve any
10256 result returned.
10257
10258Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10259
10260 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10261 may be called after gdb goes away. Previous versions of expect
10262 needed these to avoid file descriptor leaks, but they cause
10263 errors with the current revision of expect.
10264 * gdb.t00/gdbvars.exp: Use -re on expected output after
10265 setting sevenbit-strings.
10266 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10267 to set sevenbit-strings consistent across tests.
10268 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10269 set sevenbit-strings consistent across tests.
10270
10271Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10272
10273 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10274 expected output to match current "expect" expectations.
10275
10276Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10277
10278 * gdb.t00/default.exp: Change expected output for default "source"
10279 command, to match new gdb behavior which requires a filename to
10280 source.
10281
10282Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10283
10284 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10285 expected fail for i486-*-* that misses the marker2 function.
10286 * gdb.t10/crossload.exp (bfddefault): Allow successful
10287 recognition of a format to pass even if no symbols are found.
10288 Explicitly catch failures where the format is not recognized
10289 or is ambiguous, and add the reason to the fail message.
10290 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10291 the cause is and invalid target and add reason to failure message.
10292 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10293 elf32-i386, elf32-sparc, and elf32-i860.
10294 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10295 Set up expected failure for 'filename'::variable scope resolution,
10296 which is now apparently broken on all targets.
10297 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10298 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10299 gdb.t23/templates.exp: Change failure for missing binfile into
10300 just a warning.
10301 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10302 references.
10303
10304Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10305
10306 * gdb.t00/default.exp: Add expected output for default "source"
10307 command, to match new gdb behavior.
10308 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10309
10310Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10311
10312 * config/*-gdb.exp: returns an error, rather than exiting on
10313 internal errors.
10314
10315Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10316
10317 * gdb.t03/gdbme.c: Add pointer to struct variable.
10318 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10319 referencing struct members.
10320
10321Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10322
10323 * configure.in (mips-idt-ecoff): New target.
10324 * config/mips-gdb.exp: New file for remote board using MIPS remote
10325 debugging protocol.
10326
10327 * Redid configuration scheme. Removed gdb.t*/configure.in.
10328 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10329 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10330 distclean targets. Built executables via .o files. Adjusted
10331 tests to account for source files in $(srcdir) rather than
10332 $(objdir).
10333 * lib/gdb.exp (runto): Don't expect () after the function name,
10334 because it may have arguments.
10335
10336Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10337
10338 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10339 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10340 expected failures for mips-idt-* and mips-sgi-*.
10341 * gdb.t00/default.exp (attach): Kill process if requested.
10342 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10343 that does not read core files.
10344 * gdb.t01/run.exp: Removed checks for exit status code.
10345 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10346 it is linked in.
10347 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10348 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10349 appropriate, rather than doing it by hand.
10350 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10351 execution.
10352 * gdb.t10/crossload.exp: Kill existing program if needed.
10353 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10354 appropriate, rather than doing it by hand. Always increase
10355 timeout for this test, not just for VxWorks.
10356
10357Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10358
10359 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10360 of Chill STRUCT types and STRUCT values.
10361 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10362 than "char".
10363 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10364 struct2): New struct definitions and initializations to test
c906108c
SS
10365 simple Chill STRUCT types.
10366
10367Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10368
10369 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10370 the null byte at the end of strings.
10371 * gdb.t00/default.exp: Make show version insensitive to copyright
10372 date.
10373 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10374 to avoid dependencies on target char signedness.
10375 * gdb.t16/printcmds.exp: Update expected results for explicitly
10376 unsigned char.
10377 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10378 now work.
10379 * gdb.t21/demangle.exp: Add many more patterns for template
10380 demangling, most of them being expected failures.
10381 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10382 string we are matching for, to match on the whole string.
10383 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10384 and fix a whole bunch that had incorrect expected output but were
10385 passing anyway because of the bug in "proc demangle".
10386 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10387 type.
10388 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10389
10390Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10391
10392 * gdb/testsuite: made modifications to testcases, etc., to allow
10393 them to work properly given the reorganization of deja-gnu and the
10394 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10395
10396Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10397
10398 * gdb/testsuite: Initial creation of gdb/testsuite.
10399 Migrated dejagnu testcases and support files for testing nm to
10400 gdb/testsuite from deja-gnu. These files were moved "as is"
10401 with no modifications. This migration is part of a major overhaul
10402 of dejagnu. The modifications to these testcases, etc., which
10403 will allow them to work with the new version of dejagnu will be
10404 made in a future update.
10405\f
10406Local Variables:
10407mode: indented-text
10408left-margin: 8
10409fill-column: 74
10410version-control: never
10411End: