Update pot files.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d99968dc
EZ
12003-07-09 Elena Zannoni <ezannoni@redhat.com>
2
3 * gdb.base/annota1.exp: Make sure that we properly escape the
4 full path of the source file. Xfail more permissive patterns,
5 due to a compiler debug info problem.
6
83876b3b
AS
72003-07-07 Andreas Schwab <schwab@suse.de>
8
2705e972
AS
9 * gdb.asm/m68k.inc: New file.
10 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
11
83876b3b
AS
12 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13 arguments"): Also match negative number.
14
15 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16
3a871b37
DJ
172003-07-03 Daniel Jacobowitz <drow@mvista.com>
18
19 * gdb.base/store.c (charest): New typedef.
20 (add_char): Rename to add_charest, update.
21 (wack_char): Rename to wack_charest, update types. Return l + r
22 to keep r live across the call.
23 (wack_short, wack_int, wack_long, wack_longest, wack_float)
24 (wack_double, wack_doublest): Return l + r to keep r live across
25 the call.
26 * gdb.base/store.exp: Accomodate store.c changes.
27
b2a7f303
DC
282003-06-30 David Carlton <carlton@kealia.com>
29
30 * gdb.c++/maint.exp (test_invalid_name): New.
31 (test_first_component): Add tests for invalid names.
32
3c6cb4a1
MC
332003-06-29 Michael Chastain <mec@shout.net>
34
35 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
36 output of '<VTT for class>' for virtual base classes.
37
f1c2644b
DJ
382003-06-29 Daniel Jacobowitz <drow@mvista.com>
39
40 * gdb.base/completion.exp: Tab-complete "complet" instead of
41 "compl".
42 * gdb.base/complex.exp, gdb.base/complex.c: New files.
43
18080350
DJ
442003-06-29 Daniel Jacobowitz <drow@mvista.com>
45
46 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
47 * gdb.base/volatile.exp: Likewise.
48
f56973f8
DJ
492003-06-29 Daniel Jacobowitz <drow@mvista.com>
50
51 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
52 gdb/1265.
53
542003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
55 Daniel Jacobowitz <drow@mvista.com>
56
57 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
58 initial line count of 'captured_main' from 26 to 32.
59 (test_with_self): Allow xmalloc call to be interleaved with the
60 preceding two lines.
61
e766d4d6
JB
622003-06-24 Joel Brobecker <brobecker@gnat.com>
63
64 * gdb.base/bang.exp: New testcase.
65
f125c9a4
JB
662003-06-23 Joel Brobecker <brobecker@gnat.com>
67
68 * gdb.base/langs.exp: Add some tests for the "minimal" language
69 support.
70
6e25beaf
EZ
712003-06-23 Elena Zannoni <ezannoni@redhat.com>
72
73 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
74 the testcase.
75
2f816dda
DJ
762003-06-22 Daniel Jacobowitz <drow@mvista.com>
77
78 * gdb.base/relocate.exp: Test add-symbol-file with a variable
79 offset.
80
db5a5748
DJ
812003-06-22 Daniel Jacobowitz <drow@mvista.com>
82
83 * gdb.c++/pr-1210.cc: New file.
84 * gdb.c++/pr-1210.exp: New file.
85
1df0c130
DJ
862003-06-21 Daniel Jacobowitz <drow@mvista.com>
87
88 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
89 000-exec-continue.
90
a92feac0
MK
912003-06-15 Mark Kettenis <kettenis@gnu.org>
92
93 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
94 on *-*-*bsd* instead of *-*-freebsd*.
95
81a58f5b
AC
962003-06-14 Andrew Cagney <cagney@redhat.com>
97
98 * gdb.base/store.exp: Test longest and doublest. Test all
99 parameters. Weaken return statement match.
100 * gdb.base/store.c: Add longest and doublest - aka long long and
101 long double functions. Put all parameters into local register
102 variables. Use negative values.
103
b257a0d3
AC
1042003-06-14 Andrew Cagney <cagney@redhat.com>
105
106 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
107 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
108 exit status.
109 * gdb.base/fileio.exp: Disable target when nointerrupts and
110 noinferiorio, instead of limiting it to remote. Use remote_exec
111 instead of system.
112
21c38304
JJ
1132003-06-12 Jeff Johnston <jjohnstn@redhat.com>
114
115 * gdb.base/float.exp: Add ia64 support.
116
1bcdb424
CV
1172003-06-12 Corinna Vinschen <vinschen@redhat.com>
118
119 * gdb.base/fileio.exp: Run only on remote targets.
120
6aeb981f
CV
1212003-06-10 Corinna Vinschen <vinschen@redhat.com>
122
123 * gdb.base/fileio.c: New file, testing File-I/O.
124 * gdb.base/fileio.exp: Ditto.
125
53df362e
RG
1262003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
127
128 * gdb.base/shreloc.exp: New file, check symbol values obtained from
129 shared objects after relocation at load time (gdb PR/1132).
130 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
131 as above, part of the shared object relocation test.
132
ffee1b46
MK
1332003-06-08 Mark Kettenis <kettenis@gnu.org>
134
b5ca3722
MK
135 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
136 fully filled history list.
137 * gdb.base/gdb_history: New file.
138
03ed860d
MK
139 * gdb.base/signals.exp: XFAIL "continue to func1" on
140 i*86-*-freebsd*.
141
ffee1b46
MK
142 * gdb.base/attach.exp: When trying to attach to a nonexistent
143 process, make it possible to specify the PID based on the target,
144 and do so for *-*-freebsd*.
145
d80dbb52
RH
1462003-06-02 Richard Henderson <rth@redhat.com>
147
148 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
149
6dd77b81
RH
1502003-06-02 Richard Henderson <rth@redhat.com>
151
152 * gdb.base/selftest.exp: Next over lim_at_start initialization.
153
f6347e16
RH
1542003-06-02 Richard Henderson <rth@redhat.com>
155
156 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
157
2c161407
DJ
1582003-06-01 Daniel Jacobowitz <drow@mvista.com>
159
160 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
161 of globalvar.
162
572eb746
MK
1632003-06-01 Mark Kettenis <kettenis@gnu.org>
164
165 * gdb.asm/asm-source.exp: Check for memory read errors in
166 disassembler test on *BSD too.
167
9e9617a5
RH
1682003-06-01 Richard Henderson <rth@redhat.com>
169
170 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
171 for .frame.
172 (gdbasm_call): Lose ldgp.
173 (gdbasm_startup): Add frame information.
174 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
175
7b34ad4e
MK
1762003-05-31 Mark Kettenis <kettenis@gnu.org>
177
178 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
179 i?86-*-*.
180
10059fdf
MK
1812003-05-30 Mark Kettenis <kettenis@gnu.org>
182
183 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
184 FreeBSD.
185
acf4b816
RH
1862003-05-29 Richard Henderson <rth@redhat.com>
187
188 * gdb.asm/alpha.inc: New file.
189 * gdb.asm/asm-source.exp: Use it.
190
e9ecd949
JB
1912003-05-29 Jim Blandy <jimb@redhat.com>
192
193 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
194 'core.PID'.
195
e3e5a4f3
JB
1962003-05-22 Jim Blandy <jimb@redhat.com>
197
198 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
199 backtrace.
200
72fe3d25
DC
2012003-05-20 David Carlton <carlton@math.stanford.edu>
202
203 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
204 this time.
205
58da2eb2
DC
2062003-05-19 David Carlton <carlton@bactrian.org>
207
208 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
209 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
210
1fcb5155
DC
2112003-05-19 David Carlton <carlton@bactrian.org>
212
213 * gdb.c++/namespace.exp: Add namespace scope and anonymous
214 namespace tests.
215 Bump copyright date.
216 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
217 (main): Call C::D::marker2.
218 * gdb.c++/namespace1.cc: New file.
219
85e85163
JJ
2202003-05-14 Jeff Johnston <jjohnstn@redhat.com>
221
222 Roland McGrath <roland@redhat.com>
223 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
224 there is no manager thread.
225
a25fbfec
JJ
2262003-05-08 Jeff Johnston <jjohnstn@redhat.com>
227
228 * gdb.threads/schedlock.exp: Remove assumption that all threads
229 will run in a particular small time slice. Also ensure we break
230 in one of the child threads rather than the main thread.
231
be375bae
JB
2322003-05-07 Jim Blandy <jimb@redhat.com>
233
09bf6082
JB
234 Add support for assembly source testing on the s390x.
235 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
236 architecture.
237 * gdb.asm/s390x.inc: New file.
238
be375bae
JB
239 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
240 succession of 'if' statements.
241
00905d52
AC
2422003-05-05 Andrew Cagney <cagney@redhat.com>
243
244 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
245
b1e29e33
AC
2462003-05-05 Andrew Cagney <cagney@redhat.com>
247
248 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
249 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
250
e33d66ec
EZ
2512003-05-02 Elena Zannoni <ezannoni@redhat.com>
252
253 * gdb.base/charset.exp: Update based on new behavior of set/show
254 charset commands.
255
2b6fd0d8
AC
2562003-05-01 Andrew Cagney <cagney@redhat.com>
257
258 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
259 variable do not give memory errors.
260
130cacce
AF
2612003-04-30 Adam Fedor <fedor@gnu.org>
262
263 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
264 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
265 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
266 gdb.objc/basicclass.m: : New files
267
268 * lib/gdb.exp (gdb_compile_objc): New procedure.
269
bea71854
DJ
2702003-04-27 Daniel Jacobowitz <drow@mvista.com>
271
272 * gdb.base/signals.exp: Make backtrace tests more specific.
273
0f20eeea
DC
2742003-04-23 David Carlton <carlton@bactrian.org>
275
276 * gdb.c++/maint.exp (test_first_component): Add tests for
277 'operator' in more locations.
278
c8c4d8dc
KB
2792003-04-16 Kevin Buettner <kevinb@redhat.com>
280
281 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
282
3fe60e3c
EZ
2832003-04-16 Elena Zannoni <ezannoni@redhat.com>
284
285 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
286 func marke' instead. Update test name.
287
9219021c
DC
2882003-04-15 David Carlton <carlton@math.stanford.edu>
289
290 * gdb.c++/maint.exp: New file.
291
5dd55bdd
EZ
2922003-04-14 Elena Zannoni <ezannoni@redhat.com>
293
294 * gdb.threads/schedlock.c: Change type of thread function argument
295 to long, to avoid warnings on 64-bit platforms.
296
00890572
EZ
2972003-04-14 Elena Zannoni <ezannoni@redhat.com>
298
299 * gdb.base/attach.exp: Add new message from ptrace in case of
300 attaching to nonexistent process.
301
93201743
JB
3022003-04-11 Jim Blandy <jimb@redhat.com>
303
304 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
305 gdb.c++/userdef.cc: Place comments on the lines to which the
306 marker function might return.
307 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
308 gdb.c++/userdef.exp: Look for those comments to check that we've
309 returned to the right place, instead of checking line numbers.
310
2a11c64d
EZ
3112003-04-11 Elena Zannoni <ezannoni@redhat.com>
312
313 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
314 match on sourcefile name, instead of directory name.
315
68ab8fc5
EZ
3162003-04-10 Elena Zannoni <ezannoni@redhat.com>
317
318 * gdb.base/completion.exp: Use string_to_regexp to match the
319 working directory name.
320
5624293a
JB
3212003-04-09 Jim Blandy <jimb@redhat.com>
322
323 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
324 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
325 after an inferior function call, report the failure, but allow the
326 test to continue.
327
f1f02ee4
SC
3282003-04-05 Stephane Carrez <stcarrez@nerim.fr>
329
330 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
331 with -DPROTOTYPES.
332
6eb79af0
SC
3332003-04-05 Stephane Carrez <stcarrez@nerim.fr>
334
335 * gdb.base/break.exp: Revert last patch.
336
8dfb4cf0
SC
3372003-04-04 Stephane Carrez <stcarrez@nerim.fr>
338
339 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
340 with -DPROTOTYPES.
341
ed4c619a
AC
3422003-04-02 Andrew Cagney <cagney@redhat.com>
343
344 * gdb.base/callfuncs.exp: Make "print add" messages unique.
345 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
346 matching directories by the name breakpoint.
347 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
348 Make "continue to marker1" consistent.
349 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
350 message consistent.
351 * lib/gdb.exp: Put "the program is no longer running", and "the
352 program exited" in parenthesis.
353 * lib/mi-support.exp: Ditto.
354
4e35d5f0
BR
3552003-04-02 Bob Rossi <bob_rossi@cox.net>
356
357 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
358
71900fe8
AC
3592003-03-29 Andrew Cagney <cagney@redhat.com>
360
361 * gdb.base/sizeof.c (main): Print the value of '\377'.
362 * gdb.base/sizeof.exp: Check the sign of '\377'.
363
c0655a16
MC
3642003-03-27 Michael Chastain <mec@shout.net>
365
366 * gdb.base/gdb1090.exp: New file.
367 * gdb.base/gdb1090.cc: New file.
368
5b2a3989
JB
3692003-03-27 J. Brobecker <brobecker@gnat.com>
370
371 * gdb.gdb/observer.exp: New regression test.
372
79876890
MC
3732003-03-27 Michael Chastain <mec@shout.net>
374
375 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
376 * gdb.base/ptype.exp: Likewise.
377
6eac95e3
CV
3782003-03-27 Corinna Vinschen <vinschen@redhat.com>
379
380 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
381
e8c71839
MC
3822003-03-26 Michael Chastain <mec@shout.net>
383
384 * gdb.base/ptype.exp: Actually use some typedef'd types.
385
71b10041
SC
3862003-03-21 Stephane Carrez <stcarrez@nerim.fr>
387
388 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
389 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
390
2512cf80
CV
3912003-03-20 Corinna Vinschen <vinschen@redhat.com>
392
393 * gdb.base/default.exp: Fix regular expression.
394
0d195a4f
CV
3952003-03-20 Corinna Vinschen <vinschen@redhat.com>
396
397 * gdb.base/args.exp: Fix regular expression.
398
8a2dbca8
CV
3992003-03-20 Corinna Vinschen <vinschen@redhat.com>
400
401 * gdb.base/help.exp: Allow Win32 child process.
402
bf028682
CV
4032003-03-20 Corinna Vinschen <vinschen@redhat.com>
404
405 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
406 when stepping out of main().
407
182dbe85
CV
4082003-03-20 Corinna Vinschen <vinschen@redhat.com>
409
410 * gdb.base/default.exp: Check for win32 specific message when calling
411 "run" without executable.
412
d67a6ba5
CV
4132003-03-20 Corinna Vinschen <vinschen@redhat.com>
414
415 * gdb.base/args.exp: Expect .exe in output.
416
a955b5bb
CV
4172003-03-20 Corinna Vinschen <vinschen@redhat.com>
418
419 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
420 Cygwin native.
421
bf6bad4b
AC
4222003-03-17 Andrew Cagney <cagney@redhat.com>
423
424 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
425 vector registes.
426 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
427 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
428
293e9a31
DC
4292003-03-17 David Carlton <carlton@math.stanford.edu>
430
431 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
432 test, for PR breakpoints/38.
433 Call test_watchpoint_and_breakpoint.
434 * gdb.base/watchpoint.c (func3): New function.
435 (main): Call func3.
436
5330f2db
DC
4372003-03-04 David Carlton <carlton@math.stanford.edu>
438
439 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
440 Garply<Garply<char> >:: garply".
441 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
442 with respect to PR c++/1111; note also PR c++/1113.
443 (test_template_breakpoints): KFAIL "constructor breakpoint" with
444 respect to PR c++/1062.
445 KFAIL "destructor breakpoint" with respect to PR c++/1112.
446
6ece72da
DC
4472003-03-03 David Carlton <carlton@math.stanford.edu>
448
449 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
450 with respect to PR c++/57.
451 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
452 c++/826.
453 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
454 respect to PR c++/57.
455
85ca1584
DC
4562003-03-03 David Carlton <carlton@math.stanford.edu>
457
458 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
459 respect to PR c++/33 into FAILs.
460
98e9c5b8
MC
4612003-03-03 Michael Chastain <mec@shout.net>
462
7bedbf27
MC
463 * configure.in: Update copyright years.
464
4652003-03-03 Michael Chastain <mec@shout.net>
466
467 * Makefile.in: Update copyright years.
98e9c5b8 468
f683e100
DC
4692003-02-28 David Carlton <carlton@math.stanford.edu>
470
471 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
472 print class instead of struct and/or superfluous protection
473 specifiers, as long as the resulting output is equivalent to the
474 source code.
475 Delete FIXME from end of messages on tests that don't need
476 fixing.
477
a9e0cf2c
DC
4782003-02-28 David Carlton <carlton@math.stanford.edu>
479
480 * gdb.c++/templates.exp (do_tests): Allow const in the two
481 Foo<volatile char *>::foo tests.
482
e8d359df
MS
4832003-02-27 Michael Snyder <msnyder@redhat.com>
484
485 * gdb.base/restore.c (main): Return zero, so exit code
486 will be consistant.
487
0b71dc91
DC
4882003-02-26 David Carlton <carlton@math.stanford.edu>
489
490 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
491 char *>::foo" test with respect to PR c++/33. Create a new test
492 which is identical to that one except that it doesn't put the
493 space between the "char" and the "*"; KFAIL it, too.
494
dd14ab43
DC
4952003-02-26 David Carlton <carlton@math.stanford.edu>
496
497 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
498 template types into either PASSes or KFAILs (corresponding to PR
499 c++/57). Tweak indentation. Update copyright.
500
1146c7f1
SC
5012003-02-23 Stephane Carrez <stcarrez@nerim.fr>
502
503 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
504
74641dfb
MC
5052003-02-13 Michael Chastain <mec@shout.net>
506
507 * gdb.base/exprs.exp: Remove i960 remnants.
508 * gdb.base/funcargs.exp: Likewise.
509 * gdb.base/list.exp: Likewise.
510 * gdb.base/ptype.exp: Likewise.
511
559cd2d0
DC
5122003-02-14 David Carlton <carlton@math.stanford.edu>
513
514 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
515 pEe->D::vg()" from XFAIL to KFAIL.
516
c4f90d87
JM
5172003-02-13 Jason Molenda (jmolenda@apple.com)
518
519 * gdb.base/maint.exp: Update maint print statistics regexp to include
520 new entries.
521
cbc4d97c
MC
5222003-02-13 Michael Chastain <mec@shout.net>
523
524 * gdb.c++/inherit.exp: Remove call to get_debug_format.
525
40f235b7
MC
5262003-02-12 Michael Chastain <mec@shout.net>
527
528 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
529 * gdb.c++/inherit.exp: Likewise.
530 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
531 * gdb.c++/templates.exp: Likewise.
532 * gdb.c++/virtfunc.exp: Likewise.
533
c56716b0
JM
5342003-02-06 Jason Molenda (jason-cl@molenda.com)
535
536 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
537 why the code is written that way.
538
070afcf8
MC
5392003-02-05 Michael Chastain <mec@shout.net>
540
541 * gdb.base/dump.exp: Add missing copyright line.
542
5d0331e5
JM
5432003-02-05 Jason Molenda (jason-cl@molenda.com)
544
f7ae6d3e 545 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
546 at the beginning so the breakpoint doesn't get set on the loop.
547
92851186
MC
5482003-02-05 Michael Chastain <mec@shout.net>
549
550 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
551 output for configurations with gcc 2.95.3.
552
cbf1e085
AC
5532003-02-05 Keith Seitz <keiths@redhat.com>
554 Andrew Cagney <ac131313@redhat.com>
555
556 * gdb.mi/mi-cli.exp: New file.
557
29518e1e
MC
5582003-02-04 Michael Chastain <mec@shout.net>
559
560 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
561 Call perror and then continue.
562
5af1d5f3
MC
5632003-02-03 Michael Chastain <mec@shout.net>
564
565 * gdb.c++/pr-1023.cc: New file.
566 * gdb.c++/pr-1023.exp: New file.
567
6b549786
JB
5682003-02-05 Jim Blandy <jimb@redhat.com>
569
570 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
571 it's local to foobar. Check for it there, and check that it's not
572 present in main.
573 * gdb.c++/local.cc (marker2): New function.
574 (foobar): Call marker1.
575 (main): Call marker2 instead of marker1.
576
67f16606
AC
5772003-02-04 Andrew Cagney <ac131313@redhat.com>
578
579 * gdb.disasm/mn10200.exp: Obsolete file.
580 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
581 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
582 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
583
1c5cb38e
DC
5842003-02-04 David Carlton <carlton@math.stanford.edu>
585
586 * gdb.c++/overload.exp: Test intToChar(1).
587 * gdb.c++/overload.cc (intToChar): New.
588 (main): Call intToChar.
589
d1fe6965
DC
5902003-02-03 David Carlton <carlton@math.stanford.edu>
591
592 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
593 'might_kfail' arg.
594 KFAIL some of the continue_to_bp_overloaded calls, according to
595 PR c++/1025.
596
9ba61c5d
MC
5972003-02-01 Michael Chastain <mec@shout.net>
598
599 * gdb.base/advance.c (marker1): New marker function.
600 * gdb.base/advance.exp: When the 'advance' command lands on the
601 return breakpoint, it can legitimately stop on either the
602 current line or the next line. Accommodate both outcomes.
603 * gdb.base/until.exp: Likewise.
604
e7494ffb
AC
6052003-02-02 Andrew Cagney <ac131313@redhat.com>
606
607 2002-11-10 Jason Molenda (jason-cl@molenda.com):
608 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
609 now a list, not a tuple.
610 * gdb.mi/mi-var-display.exp: Ditto.
611 * gdb.mi/gdb792.exp: Ditto.
612
075559bc
AC
6132003-02-01 Andrew Cagney <ac131313@redhat.com>
614
615 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
616 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
617 stack backtraces.
618 * gdb.mi/mi-syn-frame.c: Part of same.
619
2bd4c7b1
MK
6202003-02-01 Mark Kettenis <kettenis@gnu.org>
621
622 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
623 gdb.mi/mi1-pthreads.exp: Return instead of calling
624 gdb_suppress_entire_file.
625
eabd8992
MS
6262003-02-01 Mark Salter <msalter@redhat.com>
627
628 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
629
71469e2f
MS
6302003-01-31 Mark Salter <msalter@redhat.com>
631
632 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
633 Support empty arg.
634
38a94d44
MC
6352003-01-30 Michael Chastain <mec@shout.net>
636
637 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
638 This was a workaround for a UTF-8 bug in readline 4.3. The bug
639 has been fixed in gdb/readline on 2003-01-09.
640
19ea9e73
MS
6412003-01-29 Michael Snyder <msnyder@redhat.com>
642
e8d359df
MS
643 * gdb.base/maint.exp: Allow for leading underscore in symbol.
644 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
645 * gdb.base/args.exp: Skip if target does not support args passing.
646
2307bd6a
DJ
6472003-01-22 Daniel Jacobowitz <drow@mvista.com>
648
19ea9e73 649 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
650 gdb_test. Accept a list of expect arguments as the third
651 parameter.
652 (gdb_test): Use it.
653
f2dd3617
EZ
6542003-01-20 Elena Zannoni <ezannoni@redhat.com>
655
656 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
657 allow for different test tree configurations. Update some
658 tescases accordingly.
659 * gdb.arch/altivec-regs.exp: Ditto.
660 * gdb.asm/asm-source.exp: Ditto.
661 * gdb.base/advance.exp: Ditto.
662 * gdb.base/display.exp: Ditto.
663 * gdb.base/long_long.exp: Ditto.
664 * gdb.base/mips_pro.exp: Ditto.
665 * gdb.base/overlays.exp: Ditto.
666 * gdb.base/relocate.exp: Ditto.
667 * gdb.base/setshow.exp: Ditto.
668 * gdb.base/step-line.exp: Ditto.
669 * gdb.base/step-test.exp: Ditto.
670 * gdb.base/until.exp: Ditto.
671 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
672
c71cdefd
DC
6732003-01-17 David Carlton <carlton@math.stanford.edu>
674
675 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
676 corresponding to PR c++/945.
677 Update copyright.
678
fdba05d7
DC
6792003-01-17 David Carlton <carlton@math.stanford.edu>
680
681 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
682 corresponding to PR c++/68.
683
6842003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
685
686 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
687 (test_paddr_hairy_functions): Call print_addr_2_kfail for
688 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
689
c362c33a
EZ
6902003-01-15 Elena Zannoni <ezannoni@redhat.com>
691
0fbc361c
EZ
692 * gdb.base/break.exp: Fix change of default location, because of
693 removal of until tests.
694 * gdb.base/help.exp: Update test for new 'until' help message.
695 Add test for help on 'advance'.
c362c33a
EZ
696 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
697
dabf8a35
MK
6982003-01-15 Mark Kettenis <kettenis@gnu.org>
699
700 * gdb.base/default.exp: Adapt "info float" test for recent changes
701 to that command. Add test for "info vector".
702 * gdb.base/float.exp: New file. Add test for "info float" that
703 resembles the old test in gdb.base/default.exp.
704
a1769aca
DC
7052003-01-15 David Carlton <carlton@math.stanford.edu>
706
707 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
708
82025e13
EZ
7092003-01-15 Elena Zannoni <ezannoni@redhat.com>
710
711 * gdb.base/break.exp: Move the tests of until command from here...
712 * gdb.base/until.exp: ... to here. New file. Add other tests.
713 * gdb.base/advance.c: New file.
714 * gdb.base/advance.exp: New file.
715
8f9ab801
EZ
7162003-01-14 Elena Zannoni <ezannoni@redhat.com>
717
718 * gdb.base/args.c: New file.
719 * gdb.base/args.exp: New file.
720
9ae66589
DJ
7212003-01-14 Daniel Jacobowitz <drow@mvista.com>
722
723 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
724
8d77e5c3
DJ
7252003-01-14 Daniel Jacobowitz <drow@mvista.com>
726
727 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
728
12d2f0a1
DJ
7292003-01-14 Daniel Jacobowitz <drow@mvista.com>
730
731 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
732 dates.
733
6ca37014
DJ
7342003-01-13 Daniel Jacobowitz <drow@mvista.com>
735
736 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
737
b0023472
DJ
7382003-01-13 Daniel Jacobowitz <drow@mvista.com>
739
740 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
741 (ptype &*"foo").
742 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
743
d6abaea5
DJ
7442002-01-13 Daniel Jacobowitz <drow@mvista.com>
745
746 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
747 * gdb.mi/mi1-console.exp: Likewise.
748
dfd536a7
DJ
7492002-01-13 Daniel Jacobowitz <drow@mvista.com>
750
751 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
752 * gdb.mi/mi1-console.exp: Likewise.
753
a1fb14a2
DJ
7542003-01-13 Daniel Jacobowitz <drow@mvista.com>
755
756 * gdb.c++/overload.exp: Remove some fixed XFAILs.
757
c4cf40b7
DJ
7582003-01-09 Daniel Jacobowitz <drow@mvista.com>
759
760 * gdb.base/detach.exp: New test.
761
696d5a5b
DJ
7622003-01-09 Daniel Jacobowitz <drow@mvista.com>
763
764 * Makefile.in (ALL_SUBDIRS): New variable.
765 (subdirs, clean, distclean): Use it.
766 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
767 regenerating Makefile, since it is generated from the top level.
768 * gdb.asm/Makefile.in: Likewise.
769 * gdb.base/Makefile.in: Likewise.
770 * gdb.c++/Makefile.in: Likewise.
771 * gdb.disasm/Makefile.in: Likewise.
772 * gdb.java/Makefile.in: Likewise.
773 * gdb.mi/Makefile.in: Likewise.
774 * gdb.threads/Makefile.in: Likewise.
775 * gdb.trace/Makefile.in: Likewise.
776
754533e4
DC
7772003-01-09 David Carlton <carlton@math.stanford.edu>
778
779 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
780 Add copyright year 2003.
781
d8b3e9ee
MC
7822003-01-06 Michael Chastain <mec@shout.net>
783
784 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
785 When selecting a thread, 'line' and 'file' are optional.
786 * gdb.mi/mi1-pthreads.exp: Likewise.
787
8e9e0fe6
AS
7882003-01-06 Andreas Schwab <schwab@suse.de>
789
790 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
791 failures.
792
b5ab8ff3
DJ
7932003-01-04 Daniel Jacobowitz <drow@mvista.com>
794
795 Fix PR gdb/844
796 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
797 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
798
799 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
800 instead of calling gdb_suppress_entire_file.
801 * gdb.threads/print-threads.exp: Likewise.
802 * gdb.threads/schedlock.exp: Likewise.
803
804 * gdb.threads/killed.exp: Return instead of calling
805 gdb_suppress_entire_file.
806 * gdb.threads/linux-dp.exp: Likewise.
807 * gdb.threads/pthreads.exp: Likewise.
808
1e698235
DJ
8092003-01-04 Daniel Jacobowitz <drow@mvista.com>
810
811 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
812 stabs.
813 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
814 * gdb.base/whatis.exp: Always allow (void) after function names.
815
147ff08c
DJ
8162003-01-04 Daniel Jacobowitz <drow@mvista.com>
817
818 * gdb.c++/casts.exp: Correct regexp.
819
dc62bfc2
MK
8202003-01-04 Mark Kettenis <kettenis@gnu.org>
821
822 * configure.in: Call AC_CONFIG_HEADER. Don't call
823 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
824 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
825 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
826 aforementioned directories in the AC_OUPUT call.
827 * config.hin: New file.
828 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
829 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
830 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
831 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
832 pass -I$objdir instead of -I$objdir/$subdir in compilation.
833 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
834 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
835 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
836 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
837 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
838 gdb.threads/configure.in, gdb.threads/configure,
839 gdb.threads/config.in, gdb.trace/configure.in,
840 gdb.trace/configure: Removed.
841
77afa639
MC
8422003-01-03 Michael Chastain <mec@shout.net>
843
844 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
845 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
846
7634bb6e
DJ
8472003-01-03 Daniel Jacobowitz <drow@mvista.com>
848
849 * gdb.base/store.exp: Fix regular expressions.
850
b39c905e
MK
8512002-12-28 Mark Kettenis <kettenis@gnu.org>
852
853 * configure.in: Rewrite.
854 * configure: Regenerated.
855
0a8551dd
DC
8562003-01-03 David Carlton <carlton@math.stanford.edu>
857
858 * gdb.base/psymtab.exp: New file.
859 * gdb.base/psymtab1.c: Ditto.
860 * gdb.base/psymtab2.c: Ditto.
861
c60b7188
AF
8622002-12-23 Adam Fedor <fedor@gnu.org>
863
864 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
865
ee73db83
DC
8662002-12-23 David Carlton <carlton@math.stanford.edu>
867
868 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
869 and current_directory initialization.
870
d6c1774e
JB
8712002-12-22 Jim Blandy <jimb@redhat.com>
872
f0a847b8
JB
873 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
874 rather than as part of the output file name.
875
d6c1774e
JB
876 * gdb.base/attach.exp: There's no need to copy the test program to
877 /tmp; that was only ever necessary on HP/UX, and this test is
878 entirely disabled there anyway.
879
f0708dbb
JB
8802002-12-21 Jim Blandy <jimb@redhat.com>
881
4c2acfea
JB
882 * gdb.c++/psmang.exp: Doc fix.
883
f0708dbb
JB
884 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
885 test.
886
9579e000
DC
8872002-12-20 David Carlton <carlton@math.stanford.edu>
888
889 * gdb.c++/annota2.exp: KFAIL annotate-quit.
890
d1810171
MC
8912002-12-18 Michael Chastain <mec@shout.net>
892
893 * gdb.c++/annota2.exp: Add copyright year 2002.
894
76565097
DC
8952002-12-17 David Carlton <carlton@math.stanford.edu>
896
897 * gdb.c++/try_catch.cc: Add marker comments.
898 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
899 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
900 * gdb.c++/m-static.cc: Ditto.
901 * gdb.c++/m-static1.cc: Ditto.
902 * gdb.c++/try_catch.cc: Ditto.
903
da81390b
JJ
9042002-12-16 Jeff Johnston <jjohnstn@redhat.com>
905
906 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
907 to see whether we are using the new -environment-directory
908 command which resets via -r or the old version of the command
909 which may prompt the user. Part of fix for gdb/741.
910
b304d130
AC
9112002-12-13 Andrew Cagney <ac131313@redhat.com>
912
913 * gdb.fortran/types.exp: Update obsolete comment.
914 * gdb.fortran/exprs.exp: Ditto.
915 * lib/gdb.exp: Delete obsolete code.
916 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
917 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
918 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
919 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
920 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
921 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
922 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
923 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
924 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
925 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
926 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
927 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
928 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
929 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
930 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
931 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
932 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
933 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
934 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
935 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
936 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
937 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
938 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
939 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
940 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
941 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
942 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
943 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
944 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
945 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
946 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
947 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
948 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
949 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
950 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
951 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
952 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
953
a23b6e6a
DC
9542002-12-11 David Carlton <carlton@math.stanford.edu>
955
956 * gdb.c++/m-data.exp: Add test for members that shadow global
957 variables: see PR gdb/804.
958 * gdb.c++/m-data.cc: Ditto.
959
6604731b
DJ
9602002-12-10 Daniel Jacobowitz <drow@mvista.com>
961
962 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
963
de46ecd7
DC
9642002-12-06 David Carlton <carlton@math.stanford.edu>
965
966 * gdb.base/store.c: Don't declare functions static.
967
27e829d0
AC
9682002-12-04 Andrew Cagney <ac131313@redhat.com>
969
970 * gdb.base/store.exp, gdb.base/store.c: New files.
971
92806416
DJ
9722002-12-03 Daniel Jacobowitz <drow@mvista.com>
973
974 * gdb.base/selftest.exp: Update for current gdb.
975
3bcbaac5
DJ
9762002-12-03 Daniel Jacobowitz <drow@mvista.com>
977
978 * gdb.base/maint.exp: Only dump symbols from one source file
979 or objfile.
980
f4f00b1f
DJ
9812002-12-03 Daniel Jacobowitz <drow@mvista.com>
982
983 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
984 function call.
985
f1c8a949
JB
9862002-11-25 Jim Blandy <jimb@redhat.com>
987
988 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
989 function appearing in error message.
990
9e297a97
DJ
9912002-11-21 Daniel Jacobowitz <drow@mvista.com>
992
993 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
994
1f312e79
JJ
9952002-11-08 Jeff Johnston <jjohnstn@redhat.com>
996
997 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
998 for mi1 and current mi is in correct format. New mi startup message
999 should be in mi console format. This is part of fix for PR gdb/604.
1000
83c31e7d
FN
10012002-09-18 Fernando Nasser <fnasser@redhat.com>
1002
1003 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1004 which explicitly prints the zero offset as "+0".
1005
322b3f65
DJ
10062002-10-22 Daniel Jacobowitz <drow@mvista.com>
1007
1008 * gdb.threads/schedlock.c (args): Make unsigned.
1009
10102002-10-21 Daniel Jacobowitz <drow@mvista.com>
1011
1012 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1013 numbers. Allow "foo2|selected stack frame".
1014 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1015 * gdb.asm/asmsrc2.s: Likewise.
1016 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1017 comments.
1018 * gdb.asm/mips.inc: New file.
1019
5e2fe5b8
AF
10202002-10-18 Adam Fedor <fedor@gnu.org>
1021
1022 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1023 * gdb.base/help.exp: Likewise.
1024
abe1a5d0
KB
10252002-10-17 Kevin Buettner <kevinb@redhat.com>
1026
1027 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1028 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1029
10abb1d4
JB
10302002-10-02 Jim Blandy <jimb@redhat.com>
1031
1032 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1033
1f609b42
AC
10342002-10-01 Andrew Cagney <ac131313@redhat.com>
1035
1036 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1037 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1038 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1039 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1040 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1041 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1042 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1043
0aee02e4
AC
10442002-09-29 Andrew Cagney <ac131313@redhat.com>
1045
1046 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1047 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1048 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1049 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1050 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1051 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1052 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1053
6fde09ad
KB
10542002-09-27 Kevin Buettner <kevinb@redhat.com>
1055
1056 * gdb.base/annota1.exp (info break): Make directory components of
1057 path optional since not all compilers emit this debug information.
1058
1059 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1060 step ends up stepping out of the function instead of stopping on
1061 the epilogue.
1062
9e8aab75
KS
10632002-09-26 Keith Seitz <keiths@redhat.com>
1064
1065 * lib/insight-support.exp (gdbtk_start): Figure out where
1066 the insight executable is based on where gdb is. Use this
1067 executable to start insight instead of gdb.
1068
e36180d7
AC
10692002-09-25 Andrew Cagney <cagney@redhat.com>
1070
1071 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1072
9dd34b2b
AC
10732002-09-24 Andrew Cagney <ac131313@redhat.com>
1074
1075 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1076 test_isolated_complaints.
1077 (test_empty_complaint): New function.
1078 (test_empty_complaints): New function. Check no output when no
1079 complaints.
1080
dea97812
KB
10812002-09-19 Jim Blandy <jimb@redhat.com>
1082
1083 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1084
54951bd7
AC
10852002-09-19 Andrew Cagney <ac131313@redhat.com>
1086
1087 * gdb.gdb/complaints.exp: New file.
1088
dec43320
AC
10892002-09-18 Andrew Cagney <ac131313@redhat.com>
1090
1091 * gdb.base/maint.exp: Check `help maint internal-warning'.
1092
e70d6e3f
DC
10932002-09-18 David Carlton <carlton@math.stanford.edu>
1094
1095 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1096 numbers, and replace them by a single breakpoint after the
1097 constructors are all finished.
1098 Add test 4.
1099 * gdb.c++/m-static.cc: Add test 4.
1100 * gdb.c++/m-static.h: New file.
1101 * gdb.c++/m-static1.cc: New file.
1102
1103 * gdb.c++/printmethod.exp: New file.
1104 * gdb.c++/printmethod.cc: New file.
1105
1106 * gdb.c++/pr-574.exp: New file.
1107 * gdb.c++/pr-574.cc: New file.
1108
afb5c968
CV
11092002-09-18 Corinna Vinschen <vinschen@redhat.com>
1110
1111 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1112 embedded targets which never actually exit.
1113
31e45dee
FN
11142002-09-18 Fernando Nasser <fnasser@redhat.com>
1115
1116 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1117 "don't step after run" as unresolved or unsupported, instead of xfail.
1118
a283c5a1
CV
11192002-09-18 Corinna Vinschen <vinschen@redhat.com>
1120
1121 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1122 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1123 Add newline to expected string in "step out of main (status wrapper)"
1124 case.
1125
11350d2a
CV
11262002-09-18 Corinna Vinschen <vinschen@redhat.com>
1127
1128 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1129 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1130
0deec7d6
TT
11312002-09-17 Tom Tromey <tromey@redhat.com>
1132
1133 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1134 \000, not \0, in double-quoted string.
1135
b2b4a1b5
CV
11362002-09-14 Corinna Vinschen <vinschen@redhat.com>
1137
1138 * gdb.base/command.exp: Don't expect a "Program exited normally"
1139 string after running the commands execution on breakpoint tests.
1140
1c56143a
CV
11412002-09-13 Corinna Vinschen <vinschen@redhat.com>
1142
1143 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1144
37f8da45
JB
11452002-09-12 Joel Brobecker <brobecker@gnat.com>
1146
1147 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1148
08b468e0
KS
11492002-09-10 Keith Seitz <keiths@redhat.com>
1150
1151 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1152 runto proc.
1153 (mi_run_to_main): Use mi_runto.
1154 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1155
dc360f58
KS
11562002-09-10 Keith Seitz <keiths@redhat.com>
1157
1158 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1159 regexp for stopping at main. Could have multiple event notifications.
1160 Don't assume that main was declared with no parameters.
1161 (mi_next): Use mi_step_to.
1162 (mi_step): Use mi_next_to.
1163
ce3abcfb
CV
11642002-09-09 Corinna Vinschen <vinschen@redhat.com>
1165
1166 * gdb.base/default.exp: Fix expected string in `info float' test.
1167
d1f5b980
BE
11682002-09-09 Ben Elliston <bje@redhat.com>
1169
1170 * config/mips.exp: Update comments.
1171 * config/mips-idt.exp: Likewise.
1172 * config/nind.exp: Likewise.
1173 * config/slite.exp: Likewise.
1174 * config/sparclet.exp: Likewise.
1175 * config/udi.exp: Likewise.
1176 * config/vx.exp: Likewise.
1177 * config/vxworks29k.exp: Likewise.
1178
2f71430b
JB
11792002-09-05 Jim Blandy <jimb@redhat.com>
1180
1181 * gdb.threads/killed.exp: Fix test failure message.
1182
7ddebc7e
KS
11832002-09-04 Keith Seitz <keiths@redhat.com>
1184
1185 * lib/mi-support.exp: Update copyright.
1186 (mi_gdb_test): Increase the priority of the expected pattern
1187 so that it matches gdb_test.
1188
0ae67eb3
KS
11892002-09-03 Keith Seitz <keiths@redhat.com>
1190
1191 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1192 Use integer comparison instead of string comparison for testing
1193 whether binary was built.
1194
38fc42c8
JB
11952002-09-03 Jim Blandy <jimb@redhat.com>
1196
1197 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1198
b6ff0e81
JB
11992002-08-29 Jim Blandy <jimb@redhat.com>
1200
1201 * gdb.threads/pthreads.exp: Move the portable thread compilation
1202 code into a function in lib/gdb.exp, and call that from here.
1203 * lib/gdb.exp (gdb_compile_pthreads): New function.
1204
07c98896
KS
12052002-08-29 Keith Seitz <keiths@redhat.com>
1206
1207 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1208 expect_out so that callers can get at it.
1209
0312286c
DJ
12102002-08-23 Daniel Jacobowitz <drow@mvista.com>
1211
1212 * gdb.threads/print-threads.c: New file.
1213 * gdb.threads/print-threads.exp: New file.
1214 * gdb.threads/schedlock.c: New file.
1215 * gdb.threads/schedlock.exp: New file.
1216
dd039bc4
EZ
12172002-08-22 Elena Zannoni <ezannoni@redhat.com>
1218
1219 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1220 not altivec.c.
1221
1f36144c
MK
12222002-08-17 Mark Kettenis <kettenis@gnu.org>
1223
1224 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1225 targets. The problem should be fixed now.
1226
16057ec7 12272002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1228
1229 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1230 2002-07-24 change that removes final dots from error messages.
1231
3c1499ad
TT
12322002-08-13 Tom Tromey <tromey@redhat.com>
1233
1234 * gdb.base/readline.exp: New file.
1235
a20ce2c3
AC
12362002-08-01 Andrew Cagney <ac131313@redhat.com>
1237
1238 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1239 supress message.
1240
db034ac5
AC
12412002-08-01 Andrew Cagney <cagney@redhat.com>
1242
1243 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1244 CHILL_FOR_TARGET and CHILL_LIB.
1245 * configure.in (configdirs): Remove gdb.chill.
1246 * configure: Regenerate.
1247 * lib/gdb.exp: Obsolete references to chill.
1248 * gdb.fortran/types.exp: Ditto.
1249 * gdb.fortran/exprs.exp: Ditto.
1250
3e000b18
KB
12512002-07-30 Kevin Buettner <kevinb@redhat.com>
1252
1253 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1254 set Irix-specific compile and link flags.
1255
28f4966b
KB
12562002-07-29 Kevin Buettner <kevinb@redhat.com>
1257
1258 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1259 source files. The ``-o'' option doesn't work with the ``-E'' option
1260 when using the Irix compiler.
1261
46c0d5a6
DJ
12622002-07-19 Daniel Jacobowitz <drow@mvista.com>
1263
1264 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1265 Improve support for reusing an exec file. Copy exec file
1266 to target, and run gdbserver on the target instead of on the host.
1267
eecf4bed
JB
12682002-07-18 Jim Blandy <jimb@redhat.com>
1269
0f815cdf
JB
1270 * gdb.base/ending-run.exp: Don't expect to see the program end in
1271 some orderly fashion when we're running on a real stand-alone
1272 board.
1273
eecf4bed
JB
1274 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1275 targets that don't support interrupts.
1276
52d309e4
JB
12772002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1278
1279 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1280 systems.
1281 Move comments in expect statements to inside the actions, so that they
1282 don't get matched against.
1283
ff683d9e
MK
12842002-07-10 Mark Kettenis <kettenis@gnu.org>
1285
1286 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1287 function when asleep" test.
1288
b5356753
AC
12892002-07-10 Andrew Cagney <ac131313@redhat.com>
1290
1291 * gdb.base/page.exp: Rewrite to handle problems with very long
1292 `info set' output. Update copyright.
1293
6aa4d13a
AC
12942002-06-26 Andrew Cagney <ac131313@redhat.com>
1295
1296 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1297 gdb.threads-hp.
1298 * gdb.hp/configure: Regenerate.
1299 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1300 * gdb.hp/gdb.threads-hp/configure: Delete file.
1301 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1302
8cf8c2b8
AC
13032002-06-22 Andrew Cagney <ac131313@redhat.com>
1304
1305 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1306 setlocale, bindtextdomain and textdomain.
1307
6827a8f8
JB
13082002-06-11 Jim Blandy <jimb@redhat.com>
1309
919d772c
JB
1310 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1311 preprocessor macro information is present.
1312
6827a8f8
JB
1313 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1314 tests.
1315
c15b0d21
MS
13162002-06-06 Michael Snyder <msnyder@redhat.com>
1317
c5984d70
MS
1318 * gdb.base/overlays.exp: Record addresses of overlay
1319 functions in TCL variables rather than in GDB variables,
1320 to avoid having GDB convert them to pointers (with loss
1321 of information).
1322
99a8512b
MS
1323 * gdb.base/d10v.ld: Merge in several years worth of
1324 default linker script changes.
c15b0d21
MS
1325 * gdb.base/long_long.exp: Add check for sizeof (long double).
1326
be26fe0d
ML
13272002-06-06 Michal Ludvig <mludvig@suse.cz>
1328
1329 * gdb.asm/asm-source.exp: Add x86-64 target.
1330 * gdb.asm/x86_64.inc: New.
1331
258093ca 13322002-05-30 Michael Chastain <mec@shout.net>
258093ca 1333
4b3153f1 1334 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1335 * gdb.c++/m-static.cc: New file.
1336 * gdb.c++/m-static.exp: New file.
1337
241264c6
MS
13382002-05-28 Michael Snyder <msnyder@redhat.com>
1339
1340 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1341 precision.
1342
9bba8c8f 13432002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1344
4b3153f1 1345 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1346 * gdb.c++/m-data.cc: New file.
1347 * gdb.c++/m-data.exp: New file.
1348
13492002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1350
4b3153f1 1351 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1352 * gdb.c++/try_catch.cc: New file.
1353 * gdb.c++/try_catch.exp: New file.
1354
def1b996
MC
13552002-05-27 Michael Chastain <mec@shout.net>
1356
1357 * gdb.c++/local.exp: Accept more nested types in output.
1358
522ba268
MC
13592002-05-26 Michael Chastain <mec@shout.net>
1360
1361 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1362
277254ba
MS
13632002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1364
1365 * lib/gdb.exp (gdb_wrapper_init): Just because
1366 gdb_wrapper_file exists, this does not mean that the file
1367 should not be rebuilt. That is what gdb_wrapper_initialized
1368 is for.
1369 (default_gdb_init): Reset gdb_wrapper_initialized.
1370
b61a8733
MS
13712002-05-23 Michael Snyder <msnyder@redhat.com>
1372
5bdb6d01
MS
1373 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1374 the precision of the floating point test results.
1375 * gdb.base/call-rt-st.exp: Ditto.
1376
b61a8733
MS
1377 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1378 * gdb.base/call-rt-st.exp: Ditto.
1379
56f6e910
MC
13802002-05-19 Michael Chastain <mec@shout.net>
1381
1382 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1383
ad0b0016
EZ
13842002-05-19 Elena Zannoni <ezannoni@redhat.com>
1385
1386 * configure.in (configdirs): Add gdb.arch.
1387 * configure: Regenerate.
1388
f617d2b6
JB
13892002-05-17 Jim Blandy <jimb@redhat.com>
1390
1391 * gdb.base/completion.exp: Recognize the more detailed error
1392 messages produced by the macro expander's lexical analyzer.
1393
eac2a696
EZ
13942002-05-14 Elena Zannoni <ezannoni@redhat.com>
1395
1396 * gdb.arch/altivec-abi.c: New file.
1397 * gdb.arch/altivec-abi.exp: New file.
1398 * gdb.arch/altivec-regs.c: New file.
1399 * gdb.arch/altivec-regs.exp: New file.
1400
2fdde8f8
DJ
14012002-05-14 Daniel Jacobowitz <drow@mvista.com>
1402
1403 * gdb.base/maint.exp (maint print type): Update for new type
1404 structure.
eac2a696 1405
e31f1a7c
EZ
14062002-05-14 Elena Zannoni <ezannoni@redhat.com>
1407
1408 * gdb.arch: New directory.
1409 * gdb.arch/configure.in: New file.
1410 * gdb.arch/configure: New file.
1411 * gdb.arch/Makefile.in: New file.
1412
db589741
CV
14132002-05-13 Corinna Vinschen <vinschen@redhat.com>
1414
1415 * gdb.asm/asm-source.exp: Add v850 as supported target.
1416 * gdb.asm/v850.inc: New file.
1417
8ce2a7dc
DJ
14182002-05-13 Daniel Jacobowitz <drow@mvista.com>
1419
1420 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1421
df763c7f
DJ
14222002-05-12 Daniel Jacobowitz <drow@mvista.com>
1423
1424 * gdb.base/break.exp: Check 'break "marker2"'.
1425
377daeed
MS
14262002-05-10 Michael Snyder <msnyder@redhat.com>
1427
1428 * gdb.base/long_long.exp: Fix typo.
1429
c4b7bc2b
JB
14302002-05-10 Jim Blandy <jimb@redhat.com>
1431
ecac9a4e
JB
1432 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1433 a bug.
1434
c4b7bc2b
JB
1435 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1436 Recognize more detailed error message produced by the macro
1437 expander's lexical analyzer.
1438 * lib/gdb.exp (test_print_reject): Same.
1439
e71019a1
MK
14402002-05-09 Mark Kettenis <kettenis@gnu.org>
1441
1442 * gdb.c++/method.exp: Fix typo.
1443
fedfc8e6
MS
14442002-05-08 Michael Snyder <msnyder@redhat.com>
1445
166a1957
MS
1446 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1447 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1448 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1449 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1450 Add iftarget clause for strongarm.
1451
f1c47eb2
MS
14522002-05-06 Michael Snyder <msnyder@redhat.com>
1453
cb9a9d3e
MS
1454 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1455 (gdb_continue_to_end): Accept output from status wrapper.
1456 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1457 Clean up fail messages to match pass messages.
1458
f1c47eb2
MS
1459 Enable the "needs_status_wrapper" testsuite feature.
1460 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1461 (gdb_compile): Conditionally call gdb_wrapper_init.
1462 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1463 * gdb.c++/method.exp: Recognize output from status wrapper.
1464
6079c749
BE
14652002-05-06 Ben Elliston <bje@redhat.com>
1466From Graydon Hoare <graydon@redhat.com>
1467
1468 * config/sid.exp: Include support for "rawsid" protocol.
1469
188baff3
JB
14702002-05-03 Jim Blandy <jimb@redhat.com>
1471
1472 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1473 * gdb.c++/hang3.C: New file.
1474
b9c07f0f
AC
14752002-05-04 Andrew Cagney <ac131313@redhat.com>
1476
1477 * gdb.base/default.exp: Remove obsolete code.
1478 * gdb.c++/misc.exp: Ditto. Update copyright.
1479 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1480 * gdb.base/whatis.exp: Ditto. Update copyright.
1481 * gdb.base/scope.exp: Ditto. Update copyright.
1482 * gdb.base/ptype.exp: Ditto. Update copyright.
1483 * gdb.base/printcmds.exp: Ditto. Update copyright.
1484 * gdb.base/opaque.exp: Ditto. Update copyright.
1485 * gdb.base/list.exp: Ditto.
1486 * gdb.base/funcargs.exp: Ditto. Update copyright.
1487 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1488 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1489 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1490 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1491 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1492 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1493
5c7a0397
MS
14942002-05-02 Michael Snyder <msnyder@redhat.com>
1495
d6dcc264 1496 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1497 * gdb.base/long_long.exp: Add xscale target.
1498 * gdb.base/default.exp: Add xscale target.
1499
eb7f1c48
JB
15002002-05-01 Jim Blandy <jimb@redhat.com>
1501
1502 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1503 gdb.c++/hang.exp: New test.
1504
a6befae8
FF
15052002-05-01 Fred Fish <fnf@redhat.com>
1506
1507 * gdb.base/completion.exp: Handle completions of "./Make" for
1508 more than one completion possibility, as is the case when we
1509 build and test in the source tree.
1510
0a310277
AG
15112002-04-29 Anthony Green <green@redhat.com>
1512
1513 * gdb.java/jmisc1.exp: New file.
1514 * gdb.java/jmisc2.exp: New file.
1515
6ff9af88
DJ
15162002-04-24 Daniel Jacobowitz <drow@mvista.com>
1517
1518 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1519
96b3d632
EZ
15202002-04-23 Elena Zannoni <ezannoni@redhat.com>
1521
1522 * gdb.base/help.exp: Change 'help status' to allow for target
1523 dependent output differences.
1524
5019bb54
MC
15252002-04-22 Michael Chastain <mec@shout.net>
1526
1527 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1528
a805a116
MC
15292002-04-22 Michael Chastain <mec@shout.net>
1530
1531 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1532
a1706bfd
DM
15332002-04-17 David S. Miller <davem@redhat.com>
1534
1535 * gdb.asm/sparc64.inc: New file.
1536 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1537
a73a20a2
EZ
15382002-04-19 Elena Zannoni <ezannoni@redhat.com>
1539
1540 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1541 instruction file directly into the build tree. Clean up at end of
1542 test.
1543
ba678339
DM
15442002-04-18 David S. Miller <davem@redhat.com>
1545
1546 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1547 handle 64-bit platforms correctly.
1548 * gdb.base/maint.exp: Likewise.
1549
b03399da
KB
15502002-04-18 Kevin Buettner <kevinb@redhat.com>
1551
1552 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1553 ``-fpic'' when compiling files comprising a shared library, but
1554 it does need additional linker flags in order to find shared
1555 libraries at run time.
1556
e2004992
KB
15572002-04-18 Kevin Buettner <kevinb@redhat.com>
1558
1559 * gdb.base/cvexpr.c (use): New function.
1560 (main): Invoke use() on all global variables to prevent
1561 some linkers from deleting these otherwise unused symbols.
1562
d8937120
MC
15632002-04-17 Michael Chastain <mec@shout.net>
1564From David S. Miller <davem@redhat.com>
1565
1566 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1567 handle 64-bit platforms correctly.
1568
ffd61a58
MS
15692002-04-12 Michael Snyder <msnyder@redhat.com>
1570From Jim Blandy <jimb@redhat.com>
1571 * gdb.base/foo.c (foox): Remove section attribute; the linker
1572 script can handle this instead.
1573 * gdb.base/bar.c (barx): Same.
1574 * gdb.base/baz.c (bazx): Same.
1575 * gdb.base/grbx.c (grbxx): Same.
1576
1577 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1578 manager doesn't automatically unmap overlays unnecessarily.
1579
6b8426a6
MH
15802002-04-10 Martin M. Hunt <hunt@redhat.com>
1581
1582 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1583 stepping out of main.
1584
34af4875
MC
15852002-04-09 Michael Chastain <mec@shout.net>
1586
1587 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1588 scope so that the nested scope tests will make sense.
1589 * gdb.c++/local.exp: Write patterns that actually work with gcc
1590 (the HP patterns "were never known to work with gcc").
1591 Keep the old aCC patterns too.
1592
2d1676a0
DJ
15932002-04-09 Daniel Jacobowitz <drow@mvista.com>
1594
1595 * gdb.base/attach.exp: Correct target board test.
1596
3a63e3f9
MC
15972002-04-08 Michael Chastain <mec@shout.net>
1598
1599 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1600 in a const method. Add some xfail and fail cases for configurations
1601 that do not emit the "const ...".
1602
f18dabd2
MC
16032002-04-07 Michael Chastain <mec@shout.net>
1604
1605 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1606 Accept "A * const" and "const A * const" as type of "this".
1607 Fix spelling of getFunky throughout. Make messages uniform.
1608
0fcddd82
EZ
16092002-04-07 Elena Zannoni <ezannoni@redhat.com>
1610
1611 Work around for PR gdb/285:
1612 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1613
16a8534a
EZ
16142002-04-07 Elena Zannoni <ezannoni@redhat.com>
1615
1616 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1617 instructions file at run time instead of configure time.
1618 Sometimes we run the test in a directory that is not the one we
1619 configured in.
1620 * gdb.asm/configure.in: Delete creation of symlink.
1621 * gdb.asm/configure: Regenerate.
1622
24181d81
JB
16232002-04-05 J. Brobecker <brobecker@gnat.com>
1624
1625 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1626 xfullpath () function.
1627
7cdb7107
DJ
16282002-04-04 Daniel Jacobowitz <drow@mvista.com>
1629
1630 * gdb.asm/Makefile.in: Correct dependencies.
1631
1632 * gdb.asm/powerpc.inc: New file.
1633 * gdb.asm/asm-source.exp: Add PowerPC.
1634 * gdb.asm/configure.in: Likewise.
1635 * gdb.asm/configure: Regenerated.
1636
a7d17088
DJ
16372002-04-04 Daniel Jacobowitz <drow@mvista.com>
1638
1639 * gdb.base/relocate.exp: New file.
1640 * gdb.base/relocate.c: New file.
1641
cd721503
FF
16422002-04-04 Fred Fish <fnf@redhat.com>
1643
1644 * gdb.base/step-test.exp: Update comment regarding stopping in
1645 memcpy/bcopy calls inserted as part of the compiler runtime.
1646
b22ad7a7
MS
16472002-04-04 Michael Snyder <msnyder@redhat.com>
1648
1649 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1650
5f279fa6
DJ
16512002-04-03 Daniel Jacobowitz <drow@mvista.com>
1652
1653 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1654 (gdb_expect): Remove $notransfer hack.
1655
dd0fd3ce
DJ
16562002-04-02 Daniel Jacobowitz <drow@mvista.com>
1657
1658 * gdb.c++/classes.exp ("calling method for small class"): Match
1659 updated register output.
1660
1e50cda1
DJ
16612002-03-30 Daniel Jacobowitz <drow@mvista.com>
1662
1663 Fix PR gdb/452
1664 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1665 when finished. Make gdb_file_cmd send "exec-file" when
1666 appropriate.
1667
24015922
DJ
16682002-03-30 Daniel Jacobowitz <drow@mvista.com>
1669
1670 * gdb.base/attach.exp: Remove extra setup_xfail.
1671
dd7dfd64
MS
16722002-03-26 Michael Snyder <msnyder@redhat.com>
1673
1674 * gdb.base/default.exp: Add tests for dump, append, and restore.
1675 * gdb.base/help.exp: Add tests for dump, append, and restore.
1676 * gdb.base/dump.exp: New file, test dump, append and restore.
1677 * gdb.base/dump.c: New file.
1678
48b2f8d7
MS
16792002-03-27 Michael Snyder <msnyder@redhat.com>
1680
1681 * gdb.base/help.exp: Modify expect strings to reflect
1682 clean-ups in help messages.
1683
05b4d525
FF
16842002-03-26 Fred Fish <fnf@redhat.com>
1685
1686 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1687 have debugging info for those functions and the compiler uses them
1688 internally to copy structs around.
1689
d7679631
FF
16902002-03-26 Fred Fish <fnf@redhat.com>
1691
1692 * gdb.base/list.exp: Revert the change made yesterday and add note
1693 about why we don't list the default lines for remote targets.
1694
523ac3f9
MS
16952002-03-25 Michael Snyder <msnyder@redhat.com>
1696
1697 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1698
754b2b8d
FF
16992002-03-25 Fred Fish <fnf@redhat.com>
1700
1701 * gdb.base/list.exp: This test works on remote targets so remove
1702 the short circuit for remote targets. Update copyright.
1703
33c3e192
FF
17042002-03-25 Fred Fish <fnf@redhat.com>
1705
1706 * gdb.base/attach.exp: Fix logic error that was suppressing this
1707 test for all non hppa*-*-hpux* targets, instead of the hp target.
1708 Move comments closer to the suppression point. Also now need to
1709 check that we are running natively.
1710
d43e73ee
MS
17112002-03-22 Michael Snyder <msnyder@redhat.com>
1712
882c8f02
MS
1713 * gdb.base/default.exp: Add test for gcore. Update copyright.
1714 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1715
04c12f60
FF
17162002-03-06 Fred Fish <fnf@redhat.com>
1717
1718 * gdb.base/funcargs.c: Remove extraneous ';' character.
1719 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1720
b43df995
MC
17212002-03-04 Michael Chastain <mec@shout.net>
1722
1723 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1724 accommodate gcc v3 function signature.
1725 * gdb.mi/mi0-var-cmd-exp: Ditto.
1726
92362027
AC
17272002-02-24 Andrew Cagney <ac131313@redhat.com>
1728
1729 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1730 ``GNU/Linux'' or ``Linux kernel''
1731 * testsuite/gdb.threads/pthreads.c: Ditto.
1732
258ad32d
MC
17332002-02-24 Michael Chastain <mec@shout.net>
1734
1735 * gdb.threads/pthreads.c (thread1): Add a return statement.
1736 (thread2): Likewise.
1737 (foo): Likewise.
1738
04c3b3d4
MC
17392002-02-23 Michael Chastain <mec@shout.net>
1740
1741 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1742 to placate gcc.
1743
5a2a0a20
MC
17442002-02-23 Michael Chastain <mec@shout.net>
1745
1746 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1747 test "ptype bint". The test passes on all my stabs configurations.
1748
a640f7fc
JB
17492002-02-21 Jim Blandy <jimb@redhat.com>
1750
27924826
JB
1751 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1752 filename at a time, and watch for the ones we want to see.
1753
a640f7fc
JB
1754 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1755 types of pointers to prototyped functions.
1756
edcc8c75
AC
17572002-02-20 Andrew Cagney <ac131313@redhat.com>
1758
1759 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1760 signed, unsigned and straight char.
1761 (padding_char, padding_short, padding_int, padding_long,
1762 padding_long_long, padding_float, padding_double,
1763 padding_long_double): New global variables.
1764 (fill, fill_structs): New functions.
1765
1766 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1767 for correctly sized writes. Update copyright.
1768 (get_valueof): New procedure.
1769 (get_sizeof): Call get_valueof.
1770 (check_valueof): New procedure.
1771 (check_padding): New procedure.
1772
ac57ea44
MC
17732002-02-20 Michael Chastain <mec@shout.net>
1774
1775 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1776 to setup_xfail. Document some of the remaining calls.
1777
7a10c941
MC
17782002-02-18 Michael Chastain <mec@shout.net>
1779
1780 * gdb.c++/userdef.exp: Update copyright year.
1781
fb8acdcc
DJ
17822002-02-18 Daniel Jacobowitz <drow@mvista.com>
1783
1784 * gdb.c++/userdef.exp: Test overloaded operators properly.
1785 Remove xfails.
1786
fda6ae12
MS
17872002-02-14 Michael Snyder <msnyder@redhat.com>
1788
1789 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1790
676a0442
DJ
17912002-02-14 Daniel Jacobowitz <drow@mvista.com>
1792
1793 * gdb.base/a2-run.exp: Check for a remote target properly.
1794 * gdb.base/annota1.exp: Likewise.
1795 * gdb.base/list.exp: Likewise.
1796 * gdb.base/reread.exp: Likewise.
1797 * gdb.base/scope.exp: Likewise.
1798 * gdb.base/shlib-call.exp: Likewise.
1799 * gdb.base/term.exp: Likewise.
1800 * gdb.c++/annota2.exp: Likewise.
1801
78b4f468
RE
18022002-02-13 Richard Earnshaw <rearnsha@arm.com>
1803
1804 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1805
9a81ba51
MC
18062002-02-10 Michael Chastain <mec@shout.net>
1807
1808 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1809 (call_after_alloca): Ditto.
1810
004af6c7
DJ
18112002-02-10 Daniel Jacobowitz <drow@mvista.com>
1812
1813 * gdb.base/ending-run.exp: Guard "cont" test with
1814 gdb_skip_stdio_test.
1815
37225f62
JB
18162002-02-06 Jim Blandy <jimb@redhat.com>
1817
1818 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1819 from here...
1820 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1821 To here. Disable this test on non-HP platforms. Add big comment.
1822
fe6fdd96
MS
18232002-02-04 Michael Snyder <msnyder@redhat.com>
1824
1825 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1826 other than d10v and m32r.
1827
036fad3f
RE
18282002-02-02 Richard Earnshaw <rearnsha@arm.com>
1829
1830 * gdb.base/default.exp: Rewrite test patterns to reduce time
1831 taken to match them.
1832
7148ab62
DJ
18332002-01-30 Daniel Jacobowitz <drow@mvista.com>
1834
1835 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1836 Allow a start function above main.
1837 * gdb.threads/linux-dp.exp: Fix copyright date.
1838
396cc255
DJ
18392002-01-30 Daniel Jacobowitz <drow@mvista.com>
1840
1841 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1842 (check_philosopher_stack): Check for manager thread before checking
1843 for a just-starting thread.
1844
f038d31b
DJ
18452002-01-30 Daniel Jacobowitz <drow@mvista.com>
1846
1847 From Neil Booth <neil@daikokuya.demon.co.uk>:
1848 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1849 warnings.
1850
b3ff9d9a
FF
18512002-01-21 Fred Fish <fnf@redhat.com>
1852
1853 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1854 not caller.
1855
39ad761d
JB
18562002-01-21 Jim Blandy <jimb@redhat.com>
1857
1858 * gdb.base/reread.exp: Check that GDB properly re-reads the
1859 executable file when it changes while no inferior is running.
1860
aaf320fa
FF
18612002-01-21 Fred Fish <fnf@redhat.com>
1862
1863 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1864 optionally accept the "shlib events" variation.
1865
808a31f5
JB
18662002-01-21 Jim Blandy <jimb@redhat.com>
1867
1868 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1869 call `fflush' after every `printf', so that the output is produced
1870 at predictable points, regardless of whatever buffering does (or
1871 doesn't) take place.
1872 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1873 at different points.
1874
4420d5e2
DJ
18752002-01-20 Daniel Jacobowitz <drow@mvista.com>
1876
1877 * gdb.c++/inherit.exp: Update copyright years.
1878 * gdb.c++/method.exp: Likewise.
1879
3e36a0f4
DJ
18802002-01-20 Daniel Jacobowitz <drow@mvista.com>
1881
1882 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1883 artificial methods/arguments.
1884 * gdb.c++/derivation.exp: Likewise.
1885 * gdb.c++/inherit.exp: Likewise.
1886 * gdb.c++/method.exp: Likewise.
1887 * gdb.c++/virtfunc.exp: Likewise.
1888
b4ceaee6
AC
18892002-01-18 Andrew Cagney <ac131313@redhat.com>
1890
1891 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1892 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1893 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1894 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1895 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1896 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1897
ecace851
JB
18982002-01-17 Jim Blandy <jimb@redhat.com>
1899
1900 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1901 anchoring the pattern matching the entry point symbol's name.
1902
375fc983
AC
19032002-01-17 Andrew Cagney <ac131313@redhat.com>
1904
1905 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1906 continue/quit query. Update copyright.
1907
fe6fdd96
MS
19082002-01-14 Michael Snyder <msnyder@redhat.com>
1909
1910 * gdb.base/gcore.exp: Remove extra debugging output.
1911
e017c81f
DJ
19122002-01-13 Daniel Jacobowitz <drow@mvista.com>
1913
1914 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1915 for slightly dubious v2 mangled string.
1916
37ab3bf8
DJ
19172002-01-13 Daniel Jacobowitz <drow@mvista.com>
1918
1919 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1920
1bc05c3a 19212002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1922
1bc05c3a 1923 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1924
1bc05c3a
JM
1925 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1926 constructors.
1927 * gdb.c++/derivation.exp: Likewise.
1928 * gdb.c++/templates.exp: Likewise.
1929 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1930
1bc05c3a
JM
19312002-01-10 Michael Snyder <msnyder@redhat.com>
1932
1933 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1934
a911c360
MS
19352002-01-08 Michael Snyder <msnyder@redhat.com>
1936
1937 * gdb.base/gcore.exp: New test for generate-core-file command.
1938 * gdb.base/gcore.c: Testcase for above.
1939 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1940
ea2119ec
JM
19412002-01-08 Jason Merrill <jason@redhat.com>
1942
1943 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1944
68203136
FF
19452002-01-07 Fred Fish <fnf@redhat.com>
1946
1947 * gdb.c++/overload.exp: Remove unconditional xfails for:
1948 print foo_instance1.overloadargs(1)
1949 print foo_instance1.overloadargs(1, 2)
1950 print foo_instance1.overloadargs(1, 2, 3)
1951 print foo_instance1.overloadargs(1, 2, 3, 4)
1952 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1953 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1954 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1955 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1956 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1957 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1958 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1959 print foo_instance1.overload1arg()
1960 print foo_instance1.overload1arg((char)arg2)
1961 print foo_instance1.overload1arg((signed char)arg3)
1962 print foo_instance1.overload1arg((unsigned char)arg4)
1963 print foo_instance1.overload1arg((int)arg7)
1964 print foo_instance1.overload1arg((unsigned int)arg8)
1965 print foo_instance1.overload1arg((float)arg11)
1966 print foo_instance1.overload1arg((double)arg12)
1967
21b9b5b1
MS
19682002-01-07 Michael Snyder <msnyder@redhat.com>
1969
1970 * gdb.base/huge.exp: New test. Print a very large target data object.
1971 (skip_huge_test): New test variable. Define if you want to skip this
1972 test. The test reads an 8 megabyte data object from the target, so it
1973 might be very time consuming on remote targets with a slow connection.
1974 * gdb.base/huge.c: New file. Test case for above.
1975
725f922e
FF
19762002-01-07 Fred Fish <fnf@redhat.com>
1977
1978 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1979 g_instance.bfoo, and g_instance.cfoo.
1980
634d57ec
JL
1981Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1982
f286b2c3
JL
1983 * gdb.base/break.c (multi_line_if_conditional): New function.
1984 (multi_ilne_while_conditional): Likewise.
1985 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1986 IF or WHILE condition puts the breakpoint at the start of
1987 the condition.
1988
634d57ec
JL
1989 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1990 hppa*-*-hpux* expected failure.
1991 * gdb.base/structs.exp (do_function_calls): Similarly.
1992
1993 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1994 watchpoints.
1995
9fbfe2dc
AC
19962002-01-06 Andrew Cagney <ac131313@redhat.com>
1997
1998 Fix PR gdb/66.
1999 * gdb.base/structs.exp: Replace skip for a29k with skip for
2000 gdb,cannot_call_functions.
2001 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2002 * gdb.base/callfuncs.exp: Ditto.
2003 * gdb.base/call-rt-st.exp: Ditto.
2004 * gdb.base/call-strs.exp: Ditto.
2005 * gdb.base/callfwmall.exp: Ditto.
2006 * gdb.base/scope.exp: Obsolete xfail a29k.
2007 * gdb.c++/misc.exp: Ditto.
2008 * gdb.c++/cplusfuncs.exp: Ditto.
2009 * gdb.base/ptype.exp: Ditto.
2010 * gdb.base/printcmds.exp: Ditto.
2011 * gdb.base/opaque.exp: Ditto.
2012 * gdb.base/list.exp: Ditto.
2013 * gdb.base/funcargs.exp: Ditto.
2014 * gdb.base/default.exp: Ditto.
2015
8ddad156
MS
20162002-01-04 Michael Snyder <msnyder@redhat.com>
2017
ca4976a6 2018 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2019 * gdb.base/maint.exp: Add tests for maint info sections options.
2020
1b074332
JL
2021Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2022
2023 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2024
7d159115
CV
20252001-12-20 Corinna Vinschen <vinschen@redhat.com>
2026
2027 * gdb.asm/arm.inc: New file.
2028 * gdb.asm/asm-source.exp: Add arm targets.
2029 * gdb.asm/configure.in: Ditto.
2030 * gdb.asm/configure: Recreated from configure.in.
2031
8fb87725
JL
2032Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2033
afabe08c
JL
2034 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2035 with HP's compiler.
2036 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2037 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2038 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2039 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2040
2041 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2042 either HP's compilers or GCC.
2043
db521deb
JL
2044 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2045 a SIGBUS or SIGSEGV.
2046
2047 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2048
2049 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2050 can be compiled with either HP's compiler or GCC.
2051
cfa88ab7
JL
2052 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2053 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2054 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2055
ca344dff
JL
2056 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2057 to match current gdb output. Update due to using auto-solib-limit
2058 for limiting instead of overloading auto-solib-add.
2059 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2060 test program.
2061
3f3c6e55 2062 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2063 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2064 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2065 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2066 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2067 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2068 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2069 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2070 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2071 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2072 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2073 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2074 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2075
8fb87725
JL
2076 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2077 a SIGTRAP to the inferior.
2078
cf599fa7
CV
20792001-12-19 Corinna Vinschen <vinschen@redhat.com>
2080
2081 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2082 Substitute call to target_link by call to gdb_compile.
2083
2cd045cd
JL
2084Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2085
2086 * gdb.base/break.exp: Fix HP specific search string when testing
2087 backtracing in a called function.
2088
2089 * gdb.base/constvars.exp: Only set lang to C++ if we're
2090 compiling the test with HP's compilers.
2091 * gdb.base/volatile.exp: Similarly.
2092
99ebe9ac
JB
20932001-12-19 Jim Blandy <jimb@redhat.com>
2094
2095 * gdb.base/printcmds.exp: Expect the null character to be printed
2096 as '\0', and the '\013' to be printed as '\v'.
2097 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2098 * gdb.base/setvar.exp: Same.
2099
b9891b29
JB
21002001-12-17 Jim Blandy <jimb@redhat.com>
2101
0eba65ab
JB
2102 * gdb.base/completion.exp: Rather than completing very long
2103 filenames, which can make the readline library produce output we
2104 don't recognize, cd to the directory first, and then complete
2105 using nice, short relative paths.
2106
6970b5b1
JB
2107 * gdb.base/completion.exp: On some systems, there is, in fact, a
2108 variable named `b' in scope, since GDB treats all static
2109 variables as being in scope. So use `no_var_named_this'
2110 instead of `b'.
2111
b9891b29
JB
2112 * gdb.base/corefile.exp: Recognize the message saying that GDB
2113 can't find the core file's registers as a failure.
2114
e6ccd35f
JSC
21152001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2116
2117 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2118 test expect string more specific.
2119
105ba819
CV
21202001-12-13 Corinna Vinschen <vinschen@redhat.com>
2121
2122 * gdb.asm/asm-source.exp: Add support for xstormy16.
2123 * gdb.asm/configure.in: Ditto.
2124 * gdb.asm/configure: Rebuild.
2125 * gdb.asm/xstormy16.inc: New file.
2126
e9e79dd9
FF
21272001-12-10 Fred Fish <fnf@redhat.com>
2128
2129 * gdb.base/maint.exp: Update to match changes in type dumping code.
2130
347dc97d
JB
21312001-12-10 Jim Blandy <jimb@redhat.com>
2132
2133 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2134 matching the entry point symbol's name at the beginning of the
2135 line.
2136
5178b9d6
DJ
21372001-12-07 Daniel Jacobowitz <drow@mvista.com>
2138
2139 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2140 gdb.c++/inherit.exp, gdb.c++/method.exp,
2141 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2142 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2143 and class layout support.
2144
af890c52
DJ
21452001-12-07 Daniel Jacobowitz <drow@mvista.com>
2146
2147 * gdb.c++/classes.exp: Add test for static member function.
2148 * gdb.c++/misc.cc: Add class with static member function.
2149
7a345fb3
JB
21502001-12-07 Jim Blandy <jimb@redhat.com>
2151
f2e54a80 2152 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2153 those tests as `unsupported'.
2154 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2155 Rewrite subsequent tests to use it.
2156
2157 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2158 those tests as `unsupported'.
2159 * gdb.base/structs.exp (call_struct_func): New function.
2160 (do_function_calls): Use call_struct_func to call the functions
2161 returning structs.
2162
0bc69509
JB
2163 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2164 whether functions are prototyped or not, so we can't possibly pass
2165 arguments to t_float_values2 properly.
2166
7a345fb3
JB
2167 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2168 value of `timeout' for targets other than the mips*tx39-*.
2169
edb6ede1
MS
21702001-12-06 Michael Snyder <msnyder@redhat.com>
2171
2172 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2173 and detect whether the start symbol has a leading underscore.
2174
2d842f13
JB
21752001-12-04 Jim Blandy <jimb@redhat.com>
2176
2177 * gdb.base/completion.exp: Clarify indentation.
2178
68550daf
JB
21792001-12-03 Jim Blandy <jimb@redhat.com>
2180
2181 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2182 variables on the S/390, not `.word'.
2183
cd5195a8
JB
21842001-11-30 Jim Blandy <jimb@redhat.com>
2185
2186 Add assembly-source tests for s390-ibm-linux.
2187 * gdb.asm/s390.inc: New file.
2188 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2189 the S/390 architecture.
2190 * gdb.asm/configure: Regenerated.
2191
ca9efc90
MS
21922001-11-30 Michael Snyder <msnyder@redhat.com>
2193
2194 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2195 next, info source, info sources, info line, global and static
2196 variables, and static functions.
2197 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2198 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2199 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2200 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2201 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2202 (gdbasm_leave): Restore frame pointer.
2203 (gdbasm_startup): Copy stack set-up from crt0.S.
2204
d0e66976
FN
22052001-11-26 Fernando Nasser <fnasser@redhat.com>
2206
2207 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2208 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2209 to a local (non-static) variable. Copy tstruct.a to a static buffer
2210 and return a pointer to that buffer.
2211 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2212
e2334072
MK
22132001-11-24 Mark Kettenis <kettenis@gnu.org>
2214
2215 * gdb.asm/configure.in: Fix recognition of ix86 target.
2216 * gdb.asm/configure: Regenerate.
2217
756caa3d
MS
22182001-11-21 Michael Snyder <msnyder@redhat.com>
2219
2220 * gdb.asm/sparc.inc: New file.
2221 * gdb.asm/asm-source.exp: Recognize sparc target.
2222 * gdb.asm/configure.in: Recognize sparc target.
2223 * gdb.asm/configure: Regenerate.
2224
9a4d72d5
MS
22252001-11-21 Michael Snyder <msnyder@redhat.com>
2226
2227 * gdb.asm/m32r.inc: New file.
2228 * gdb.asm/asm-source.exp: Recognize m32r target.
2229 * gdb.asm/configure.in: Recognize m32r target.
2230 * gdb.asm/configure: Regenerate.
2231
a773d1cd
MS
22322001-11-20 Michael Snyder <msnyder@redhat.com>
2233
017ac23d
MS
2234 * gdb.asm/i386.inc: New file.
2235 * gdb.asm/asm-source.exp: Recognize ix86 target.
2236 * gdb.asm/configure.in: Recognize ix86 target.
2237 * gdb.asm/configure: Regenerate.
2238
a773d1cd
MS
2239 * gdb.c++/namespace.exp: Fix quotes in output messages.
2240
bb632afb
MS
22412001-11-14 Michael Snyder <msnyder@redhat.com>
2242
25d559ca 2243 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2244 qualifier in a type cast expression, to designate an address
2245 in the instruction space (Harvard architecture).
2246
4749e309
MS
22472001-11-13 Michael Snyder <msnyder@redhat.com>
2248
2249 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2250 Tests for expressions using 'const' and 'volatile'.
2251
25050984
CV
22522001-11-13 Corinna Vinschen <vinschen@redhat.com>
2253
2254 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2255
1902c51f
DJ
22562001-11-12 Daniel Jacobowitz <drow@mvista.com>
2257
2258 * lib/mi-support.exp (mi_run_to_helper): Move comments
2259 outside of gdb_expect.
2260
dcf95b47
DJ
22612001-11-11 Daniel Jacobowitz <drow@mvista.com>
2262
2263 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2264 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2265 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2266 mi0_run_to): New functions.
2267 * gdb.mi/mi-simplerun.exp: Use them.
2268 * gdb.mi/mi0-simplerun.exp: Likewise.
2269 * gdb.mi/mi-var-cmd.exp: Likewise.
2270 * gdb.mi/mi0-var-cmd.exp: Likewise.
2271
45b074e1
AC
22722001-11-10 Andrew Cagney <ac131313@redhat.com>
2273
2274 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2275 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2276
bf50d346
AC
22772001-11-09 Andrew Cagney <ac131313@redhat.com>
2278
2279 * gdb.base/restore.exp: Include $expected value in restored test
2280 message.
2281
9383332c
AC
22822001-11-09 Andrew Cagney <ac131313@redhat.com>
2283
2284 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2285 implemented.
2286
db62520a
MS
22872001-11-08 Michael Snyder <msnyder@redhat.com>
2288
2289 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2290 Add pass/fail message for stop at breakpoint in call dummy function.
2291
b5703437
MS
22922001-11-07 Michael Snyder <msnyder@redhat.com>
2293
760f6330
MS
2294 * gdb.c++/templates.exp (test_template_breakpoints):
2295 If we get an overload menu, but it does not match what
2296 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2297 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2298 making the whitespace optional. Argument for "new" may be
2299 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2300 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2301 making the whitespace optional. Also replace "(void) with
2302 "((void|)), making the keyword "void" optional.
63f50499
MS
2303 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2304 making the whitespace optional. Also replace "(void) with
2305 "((void|)), making the keyword "void" optional.
3bf40917
MS
2306 * gdb.base/callfuncs.c (t_float_values): This function must
2307 _not_ be prototyped, and the following function (t_float_values2)
2308 must be prototyped (if the compiler supports it), so that GDB
2309 can be tested against both cases. Usually one case involves
2310 promotion of float to double, while the other does not.
2311 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2312 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2313 includes a stack frame for "start".
2314
c8ab4e6d
JB
23152001-11-05 Jim Blandy <jimb@redhat.com>
2316
2317 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2318 pointers are 32 bits long, and that offsets of relocs are always
2319 stored in the data (REL-style), and not in the reloc entry itself
2320 (RELA-style).
2321 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2322 stabs.
2323
3f08ced9
MS
23242001-11-01 Michael Snyder <msnyder@redhat.com>
2325
2326 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2327 and regular expression operators by using quoting.
2328
cbfa24cd
MS
23292001-10-31 Michael Snyder <msnyder@redhat.com>
2330
2331 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2332 depending on what the symbol table contains.
2333 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2334 the output of the ptype command. Similarly, accept both "const &"
2335 and "const&".
2336
aaa68313
CV
23372001-10-31 Corinna Vinschen <vinschen@redhat.com>
2338
2339 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2340 symbol `STORAGE' to allow to choose the storage class of
2341 the local datastructures.
2342 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2343 compiler directive.
2344
91740388
MS
23452001-10-30 Michael Snyder <msnyder@redhat.com>
2346
2347 * gdb.base/jump.exp: Allow it to run for all targets.
2348
1b7c05e7
CV
23492001-10-29 Corinna Vinschen <vinschen@redhat.com>
2350
2351 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2352 with new double_array size.
2353 (main): Change storage class of all local variables to static.
2354 Reduce size of double_array to 9.
2355 * gdb.base/call-ar-st.exp: Increase timeout value.
2356 Change expected output for double array to match new size in
2357 call-ar-st.c.
2358
36a22261
CV
23592001-10-29 Corinna Vinschen <vinschen@redhat.com>
2360
2361 * gdb.base/ending-run.exp: Create identical output when passing
2362 `step to end of run' case. Add regular expression branch satisfying
2363 Stormy16 target.
2364
92b8ae91
MK
23652001-10-28 Mark Kettenis <kettenis@gnu.org>
2366
2367 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2368 that we catch the expected failure under Linux/x86.
2369
cb135b83
OF
23702001-10-29 Orjan Friberg <orjanf@axis.com>
2371
2372 * gdb.base/setvar.exp: Escape curly braces.
2373 * gdb.stabs/weird.exp: Ditto.
2374
6884aa54
DJ
23752001-10-27 Daniel Jacobowitz <drow@mvista.com>
2376
2377 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2378 * gdm.mi/mi0-hack-cli.exp: Likewise.
2379
0398c9aa
AC
23802001-10-25 Andrew Cagney <ac131313@redhat.com>
2381
2382 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2383 messages.
2384
d20bf2e8
AC
23852001-10-21 Andrew Cagney <ac131313@redhat.com>
2386
2387 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2388 checking MI enabled.
2389
03dd63aa
CV
23902001-10-09 Corinna Vinschen <vinschen@redhat.com>
2391
2392 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2393
1d9d99f3
FCE
23942001-10-04 Frank Ch. Eigler <fche@redhat.com>
2395
2396 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2397 if gdb child process crashes, just signal an error.
2398
838ae6c4
JB
23992001-10-02 Jim Blandy <jimb@redhat.com>
2400
2401 * lib/gdb.exp (test_xfail_format): Simplify.
2402
2403 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2404 front of the variable name `format'. Simplify `if'.
2405
8f0cbc1c
DJ
24062001-10-01 Daniel Jacobowitz <drow@mvista.com>
2407
2408 * gdb.threads/pthreads.exp: Wait for output and delay
2409 before sending ^C.
2410
1f08dafd
DJ
24112001-10-01 Daniel Jacobowitz <drow@mvista.com>
2412
2413 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2414 some incorrect output instead of timing out.
2415 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2416
674f90ff
CV
24172001-09-28 Corinna Vinschen <vinschen@redhat.com>
2418
2419 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2420 check to allow additional `int'.
2421
9b284272
DJ
24222001-09-27 Daniel Jacobowitz <drow@mvista.com>
2423
2424 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2425 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2426
b55a4771
MS
24272001-09-27 Michael Snyder <msnyder@redhat.com>
2428
2429 * lib/gdb.exp (test_debug_format): New proc.
2430 (setup_xfail_format): Use new proc test_debug_format.
2431 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2432 proc; use new service proc test_debug_format.
2433 Replace all other "gcc_compiled" tests with this test.
2434 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2435 proc; use new service proc test_debug_format.
2436 Replace all other "gcc_compiled" tests with this test.
2437
24382001-09-27 Michael Snyder <msnyder@redhat.com>
2439
2440 * gdb.base/cvexpr.exp: New file.
2441 * gdb.base/cvexpr.c: New file
2442 Test for expressions using const and volatile keywords.
2443
4e6667ac
CV
24442001-09-26 Corinna Vinschen <vinschen@redhat.com>
2445
2446 * gdb.base/constvars.exp: Check for different orders of keywords
2447 and additional "int" strings in output.
2448
4f337972
AC
24492001-09-22 Andrew Cagney <ac131313@redhat.com>
2450
2451 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2452 responses from "help maint".
2453
2015650d
FCE
24542001-09-19 Frank Ch. Eigler <fche@redhat.com>
2455
2456 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2457 to localhost:NNN instead of :NNN, in case Xvfb is listening
2458 only on TCP.
2459
f3bcedc1
CV
24602001-09-19 Corinna Vinschen <vinschen@redhat.com>
2461
2462 * gdb.base/recurse.exp: When checking leaving the watchpoint
2463 scope, recognize when gdb is in function's epilogue and pass.
2464
6b819c92
KS
24652001-09-18 Keith Seitz <keiths@redhat.com>
2466
2467 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2468 support for running tests against sid targets.
2469 (gdbtk_done): Ditto.
2470
a10c9419
CV
24712001-09-18 Corinna Vinschen <vinschen@redhat.com>
2472
2473 * gdb.base/ending-run.c (main): Set stdout buffersize
2474 to the same reasonable value for any target.
2475 * gdb.base/ending-run.exp: Add a regular expression
2476 to make testsuite happy on Sanyo Stormy16 target.
2477
739d0d99
CV
24782001-09-17 Corinna Vinschen <vinschen@redhat.com>
2479
2480 * gdb.base/display.c (do_loops): Add float variable `f'.
2481 Increment f in loop.
2482 * gdb.base/display.exp: Increment timeout by 60 seconds.
2483 Change float display test to use variable `f'.
2484
1b8947f0
JB
24852001-09-17 Jim Blandy <jimb@redhat.com>
2486
2487 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2488 overflowing the limited breakpoint tables on some ROM monitors
2489 (like the ROM68K).
2490
9890ac81
FCE
24912001-09-15 Frank Ch. Eigler <fche@redhat.com>
2492
2493 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2494 the "-ac" (disable access control) flag.
2495
6db765ea
JH
24962001-08-30 Jeff Holcomb <jeffh@redhat.com>
2497
2498 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2499 ints.
2500
4c32cc04
KS
25012001-08-30 Keith Seitz <keiths@redhat.com>
2502
2503 * lib/gdb.exp: Move all insight-related functionality into
2504 separate file.
2505 * lib/insight-support.exp: New file.
2506
8d6e6f81
FCE
25072001-08-29 Frank Ch. Eigler <fche@redhat.com>
2508
2509 * config/sid.exp (sid_start): Never set sid verbosity; disable
2510 expect_background {} that consumed its stdout; tolerate </dev/null.
2511 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2512
6a90e1d0
AC
25132001-08-18 Andrew Cagney <ac131313@redhat.com>
2514
2515 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2516 CLI jump command to start it.
2517 (mi_run_to_main): Fail immediatly when unexpected output.
2518
1759b3c3
AC
25192001-08-18 Andrew Cagney <ac131313@redhat.com>
2520
2521 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2522 beginning of function. Fix PR gdb/191.
2523
61d11d80
FCE
25242001-08-16 Frank Ch. Eigler <fche@redhat.com>
2525
2526 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2527 what to force sid endianness to.
2528
942a4df2
KS
25292001-08-15 Keith Seitz <keiths@redhat.com>
2530
2531 * lib/gdb.exp (gdbtk_start): Don't set environment
2532 variables for TCL_LIBRARY and friends. Insight will
2533 now figure these out for itself.
2534
0521c418
MS
25352001-08-02 Michael Snyder <msnyder@redhat.com>
2536
2537 * gdb.base/completion.exp: Remove the symbol "a64l" from
2538 the expect string; this is target-specific, and not related
2539 to what is being tested.
2540
74a9a58a
DB
25412001-08-02 Dave Brolley <brolley@redhat.com>
2542
2543 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2544
c70819fa
MS
25452001-07-25 Michael Snyder <msnyder@redhat.com>
2546
c2b8fa57
MS
2547 * gdb.base/consecutive.exp: New file. Test stepping over
2548 breakpoints on consecutive instructions.
2549 * gdb.base/consecutive.c: New file.
2550
c70819fa
MS
2551 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2552 curly braces in regular expressions.
2553
2b1a1355
MS
25542001-07-25 Michael Snyder <msnyder@redhat.com>
2555
2556 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2557 legitimate output from stepping out of main.
2558
413eca6f
KS
25592001-07-22 Keith Seitz <keiths@redhat.com>
2560
2561 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2562 the empty string, do not run the tests.
2563
7e5a9322
SC
25642001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2565
2566 * gdb.base/long_long.exp: Detect size of pointer. Take into
2567 account 2-byte pointers when testing for p/a results.
2568
de58f10f
SC
25692001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2570
2571 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2572 and defined to 1K for m68hc11.
2573 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2574 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2575 (sizeof_random_data): New variable to tell the size of the data table;
2576 don't test past this size; always run to main.
2577
d6f5fea1
SC
25782001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2579
2580 * gdb.base/return2.exp: return of long long and double fails for
2581 68HC11; don't execute these tests on that platform.
2582 * gdb.base/return.exp: Return of a double fails for 68hc11.
2583
c477543d
SC
25842001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2585
2586 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2587 tests that print a float.
2588 * call-rt-st.exp: Likewise.
2589
63cf1c79
MK
25902001-07-12 Mark Kettenis <kettenis@gnu.org>
2591
2592 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2593 running this test on Linux.
2594
112f9ab5
MC
25952001-06-24 Michael Chastain <chastain@redhat.com>
2596
2597 * gdb.base/arithmet.exp: Remove some tests to make all test names
2598 unique.
2599
4970cb0f
MS
26002001-07-03 Michael Snyder <msnyder@redhat.com>
2601
2602 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2603 the output of the ptype command.
2604
d85da69f
MS
26052001-07-02 Michael Snyder <msnyder@redhat.com>
2606
4c8a82de
MS
2607 * gdb.base/completion.exp: Don't assume that break.c is the only
2608 source file that may contain functions named "marker".
d85da69f
MS
2609 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2610
8afc772b
AC
26112001-06-28 Andrew Cagney <ac131313@redhat.com>
2612
2613 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2614 of files to delete.
2615
2616 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2617 * gdb.disasm/h8300s.exp: New file.
2618 gdb.disasm/h8300s.s: Likewise.
2619
cff22675
AC
26202001-06-27 Andrew Cagney <ac131313@redhat.com>
2621
2622 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2623 empty breakpoint tables.
2624
68c81b54
AC
26252001-06-25 Andrew Cagney <ac131313@redhat.com>
2626
2627 * lib/mi-support.exp: Update args=... part of stop-reason
2628 patterns. Accept either a list or a tuple.
2629
2dd62704
AC
26302001-06-23 Andrew Cagney <ac131313@redhat.com>
2631
2632 * lib/mi-support.exp: Remove local emacs variable defining
2633 change-log-default-name.
2634
b4127474
MC
26352001-06-22 Michael Chastain <chastain@redhat.com>
2636
2637 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2638 This is operationally compatible with the previous version.
2639
8dbfb380
JB
26402001-06-13 Jim Blandy <jimb@redhat.com>
2641
2642 * lib/gdb.exp (gdb_test): Doc fix.
2643
f2d8c86d
MC
26442001-06-10 Michael Chastain <chastain@redhat.com>
2645
2646 * gdb.base/exprs.exp: Remove a duplicate test.
2647
81564d34
JB
26482001-06-06 Jim Blandy <jimb@redhat.com>
2649
2650 * gdb.base/return2.exp (main): Use values to test float and double
2651 returns that are not NaN's, to avoid being confused by IEEE
2652 comparison rules.
2653
da55addb
MS
26542001-06-04 Michael Snyder <msnyder@redhat.com>
2655
2656 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2657 non-zero if control_c fails. Terminate the test on failure,
2658 rather than wait for 12 more tests to time out.
2659
42c65987
JB
26602001-06-06 Jim Blandy <jimb@redhat.com>
2661
b18bced9
JB
2662 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2663 Don't forget to match the GDB prompt.
2664
42c65987
JB
2665 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2666
5b41e5f0
JB
26672001-06-04 Jim Blandy <jimb@redhat.com>
2668
2669 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2670 command.
2671
015e046f
KB
26722001-05-31 Kevin Buettner <kevinb@redhat.com>
2673
2674 * gdb.base/annota1.exp (info break): Match four or more spaces
2675 after "Address".
2676
fb1ffbbe
MC
26772001-05-31 Michael Chastain <chastain@redhat.com>
2678
2679 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2680 (dm_type_int_star): Likewise.
2681 (dm_type_long_star): Likewise.
2682 (dm_type_void_star): Likewise.
2683
5ea2a32c
KB
26842001-05-29 Kevin Buettner <kevinb@redhat.com>
2685
2686 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2687 to a known value in order to get consistent results regardless
2688 of the setting of INPUTRC or the presence or contents of .inputrc.
2689
ae23c492
MS
26902001-05-24 Michael Snyder <msnyder@redhat.com>
2691
ac55707e
MS
2692 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2693 Don't require that the main thread and the manager thread are the
2694 first in the list.
2695
ae23c492
MS
2696 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2697 debugging. If test fails, issue an "unsupported" not a "fail".
2698
400071f1
JB
26992001-05-24 Jim Blandy <jimb@redhat.com>
2700
2701 Don't assume that short is shorter than int.
2702 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2703 assume that shorts are smaller than ints. On a 16-bit machine,
2704 this isn't true.
2705 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2706 an int, is not equal to ~0 stored in an unsigned char. This tests
2707 the same thing that the previous test meant to, but works on
2708 16-bit machines, too.
2709 ("print unsigned char != (~0)"): Same test, complemented.
2710
0816a3e5
MS
27112001-05-24 Michael Snyder <msnyder@redhat.com>
2712
2713 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2714 test for (full_coverage == 0). This makes the test run faster,
2715 and prevents dejagnu getting out of step.
2716
f6dc23a9
KB
27172001-05-23 Kevin Buettner <kevinb@redhat.com>
2718
2719 * gdb.base/finish.exp (finish_void): Revise pattern for
2720 stopping on the call statement to not permit stopping at
2721 the start of the instructions comprising the call sequence.
2722
7dbd117d
MC
27232001-05-19 Michael Chastain <chastain@redhat.com>
2724
2725 * gdb.base/callfuncs.exp: Make all test names unique.
2726 * gdb.base/commands.exp: Make all test names unique.
2727 * gdb.base/condbreak.exp: Make all test names unique.
2728 * gdb.base/dbx.exp: Make all test names unique.
2729 * gdb.base/default.exp: Make all test names unique.
2730 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2731 and TIMEOUT messages to their corresponding PASS message.
2732 * gdb.base/ending-run.exp: Make all test names unique.
2733 * gdb.base/long_long.exp: Remove duplicate test.
2734
6b0b0a9e
KB
27352001-05-21 Kevin Buettner <kevinb@redhat.com>
2736
2737 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2738 stop on the call statement as well as the statement after the
2739 call.
2740
2caa35cb
MS
27412001-05-21 Michael Snyder <msnyder@redhat.com>
2742
2743 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2744
40713331
EZ
27452001-05-10 Elena Zannoni <ezannoni@redhat.com>
2746
2747 * gdb.base/completion.exp: Revamp test. Make it execute on all
2748 platforms.
2749
c2c1be8d
EZ
27502001-05-10 Elena Zannoni <ezannoni@redhat.com>
2751
2c9cd303
EZ
2752 * config/gdbserver.exp (gdb_load): Handle the case
2753 in which the arguments to gdbserver are given in the
2754 baseboard configuration file.
2755 Also handle the case in which the server needs to do a
2756 load.
2757
9671de48
KS
27582001-05-07 Keith Seitz <keiths@cygnus.com>
2759
2760 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2761 set up the display for testing.
2762 (gdbtk_start): Convert all paths to paths that tcl will like.
2763 Export target information to environment.
2764 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2765 necessary.
2766 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2767 (to_tcl_path): New proc to convert a given pathname into
2768 a path acceptible as an argument to a tcl command.
2769 (_gdbtk_export_target_info): New proc to export target info
2770 into the environment for gdbtk testing.
2771 (gdbtk_done): New proc to signal end-of-test.
2772
5a360f47
JB
27732001-05-06 Jim Blandy <jimb@redhat.com>
2774
2775 * restore.c: Make the code of caller0 correspond to its comment.
2776
66c756c6
MS
27772001-05-03 Michael Snyder <msnyder@redhat.com>
2778
2779 * config/sid.exp (gdb_target_sid): Check for error messages.
2780 On error or timeout, don't make expect exit (which will terminate
2781 all subsequent tests); instead just make gdb exit.
2782 (gdb_load): Check for error messages. On error or timeout,
2783 return a negative value.
2784
a966fde5
JB
27852001-04-24 Jim Blandy <jimb@redhat.com>
2786
851c18e0
JB
2787 * gdb.c++/templates.exp: If we see the prompt for the overload
2788 list, but we haven't recognized any of the longer patterns,
2789 arrange for this test to fail, not hang.
2790
a966fde5
JB
2791 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2792 variations.
2793
db144853
MC
27942001-04-22 Michael Chastain <chastain@redhat.com>
2795
2796 * gdb.c++/local.exp: Use the 'runto' library function.
2797 * gdb.c++/namespace.exp: Likewise.
2798 * gdb.c++/overload.exp: Likewise.
2799
3207ec21
KB
28002001-03-26 Kevin Buettner <kevinb@redhat.com>
2801
2802 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2803 * gdb.base/step-line.exp: New file. Test step/next in presence of
2804 #line directives.
2805 * gdb.base/step-line.c: New file. Test program for the above.
2806 * gdb.base/step-line.inp: New file. We pretend that this file has
2807 been transformed by some other tool into step-line.c.
2808
13b57657
JB
28092001-03-21 Jim Blandy <jimb@redhat.com>
2810
2811 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2812 unmangled operator names.
2813
754cbe1c
JB
28142001-03-20 Jim Blandy <jimb@redhat.com>
2815
2816 * gdb.threads/linux-dp.exp: Recognize an additional message
2817 generated by GDB when it doesn't understand how to debug threads
2818 on the target system.
2819
177495c9
AC
28202001-03-19 Andrew Cagney <ac131313@redhat.com>
2821
2822 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2823
f266096b
MC
28242001-03-12 Michael Chastain <chastain@redhat.com>
2825
2826 * gdb.c++/derivation.exp: Use the 'runto' library function.
2827
cac3c2ff
MC
28282001-03-12 Michael Chastain <chastain@redhat.com>
2829
2830 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2831
b6c11a24
MC
28322001-02-24 Michael Chastain <chastain@redhat.com>
2833
2834 * gdb.c++/ref-types.exp: Change handwritten code to library
2835 function 'runto'.
2836
6bae5bce
OF
28372001-03-16 Orjan Friberg <orjanf@axis.com>
2838
2839 * gdb.base/signals.exp: Set count to 0 explicitly.
2840
0015fd9a
MS
28412001-03-15 Mark Salter <msalter@redhat.com>
2842
2843 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2844 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2845 (gdb_load): Add support for additional target_info: gdb_download_size
2846 and gdb_load_timeout.
0015fd9a 2847
fc33412a
DT
2848Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2849
2850 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2851 file -- to prevent failing when the compile fails but we have no
2852 intention of running the tests anyway.
2853
2854 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2855 tests if set.
2856
2857 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2858 integers.
2859
2860 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2861 * gdb.c++/namespace.exp: Ditto.
2862
115f06de
OF
28632001-03-07 Orjan Friberg <orjanf@axis.com>
2864
2865 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2866 * gdb.base/pointers.exp: Relax pattern match of decimals.
2867
b6ba6518
KB
28682001-03-06 Kevin Buettner <kevinb@redhat.com>
2869
2870 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2871 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2872 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2873 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2874 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2875 config/sh.exp, config/sid.exp, config/slite.exp,
2876 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2877 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2878 config/vxworks.exp, config/vxworks29k.exp,
2879 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2880 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2881 gdb.base/arithmet.exp, gdb.base/assign.exp,
2882 gdb.base/async.exp, gdb.base/attach.exp,
2883 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2884 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2885 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2886 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2887 gdb.base/commands.exp, gdb.base/completion.exp,
2888 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2889 gdb.base/constvars.exp, gdb.base/corefile.exp,
2890 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2891 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2892 gdb.base/ending-run.exp, gdb.base/environ.exp,
2893 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2894 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2895 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2896 gdb.base/funcargs.exp, gdb.base/help.exp,
2897 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2898 gdb.base/logical.exp, gdb.base/long_long.exp,
2899 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2900 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2901 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2902 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2903 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2904 gdb.base/regs.exp, gdb.base/relational.exp,
2905 gdb.base/remote.exp, gdb.base/reread.exp,
2906 gdb.base/restore.exp, gdb.base/return2.exp,
2907 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2908 gdb.base/selftest.exp, gdb.base/setshow.exp,
2909 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2910 gdb.base/sigall.exp, gdb.base/signals.exp,
2911 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2912 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2913 gdb.base/step-test.exp, gdb.base/structs.c,
2914 gdb.base/structs.exp, gdb.base/structs2.exp,
2915 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2916 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2917 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2918 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2919 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2920 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2921 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2922 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2923 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2924 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2925 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2926 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2927 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2928 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2929 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2930 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2931 gdb.trace/circ.exp, gdb.trace/collection.exp,
2932 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2933 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2934 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2935 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2936 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2937 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2938 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2939 notices.
2940
dc96c6c7 29412001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2942
2943 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2944 first arg is int not float.
2945
dc96c6c7 29462001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2947
2948 * gdb.base/reread.exp: Unsupported for non-native targets;
2949 doesn't work for remote debugging.
2950
9b0c4aeb
FN
29512001-02-19 Fernando Nasser <fnasser@redhat.com>
2952
2953 From Drew Moseley <dmoseley@redhat.com>
2954 * gdb.base/ending-run.exp: Properly handle the BSP state when
2955 stepping past the end of main.
2956
02aa71d5
MC
29572001-02-19 John Moore <jmoore@redhat.com>
2958
2959 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2960 Converted HPUX fix for non-expected items following multiple
2961 step commands into general solution for all platforms.
2962
1fa449a4
MC
29632001-02-18 Michael Chastain <chastain@redhat.com>
2964
2965 * gdb.c++/classes.exp (do_tests): Change runto statements
2966 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2967 statements demangler agnostic.
2968 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2969 (gdb_virtfunc_restart): Likewise.
2970
b2f9ec70
MC
29712001-02-14 Michael Chastain <chastain@redhat.com>
2972
2973 * gdb.c++/inherit.exp (do_tests): Change runto statements
2974 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2975 statements demangler agnostic.
2976
cf74b8ca
AC
2977Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2978
2979 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2980 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2981 before calling common_routine 15 times'' tests.
2982
99f78f56
MC
29832001-02-11 Michael Chastain <chastain@redhat.com>
2984
2985 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2986 Helps the test script figure out which demangler is in use.
2987 (dm_type_foo_ref): Ditto.
2988 (dm_type_int_star): Ditto.
2989 (dm_type_long_star): Ditto.
2990 (dm_type_unsigned_int): Ditto.
2991 (dm_type_void): Ditto.
2992 (dm_type_void_star): Ditto.
99707966 2993 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2994 Probe the gdb demangler and set variables to accommodate
2995 formatting differences.
2996 (info_func_regexp): New function. Same as info_func, but
2997 matches against a regexp.
2998 (info_func): Match against a literal string.
2999 (print_addr_2): New function. Match against a literal string,
3000 which can be different from the input to gdb.
3001 (print_addr): Simply call print_addr_2 with the same argument twice.
3002 (test_lookup_operator_functions): Use demangler formatting variables.
3003 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3004 the tests in the same order as the C++ class declaration.
3005 (test_paddr_operator_functions): Ditto.
3006 (test_paddr_overloaded_functions): Ditto.
3007 (test_paddr_hairy_functions): Use demangler formatting variables.
3008 Add reference to gdb/19 for related tests.
3009 (do_tests): Call probe_demangler.
3010
1de8f023
KB
30112001-01-30 Kevin Buettner <kevinb@redhat.com>
3012
3013 * gdb.c++/templates.cc (printf): Remove unused function definition.
3014
ca3f91ed
MS
30152001-01-26 Felix Lee <flee@redhat.com>
3016
3017 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3018
30192001-01-25 matthew green <mrg@redhat.com>
3020
3021 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3022 up sid.
3023 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3024
30252001-01-25 matthew green <mrg@redhat.com>
3026
3027 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3028 Deprecate $sid_spawn_id.
3029 (sid_exit): Remove code necessary only for `spawn.'
3030
30312001-01-25 matthew green <mrg@redhat.com>
3032
3033 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3034
fb18ec4a
MC
30352001-01-28 Michael Chastain <chastain@redhat.com>
3036
3037 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3038 to call when tests fail. It takes gdb out of the overloaded
3039 function choice menu back to the main prompt, so that the test
3040 program stays synchronized.
3041 (set_bp_overloaded): New proc to collect all the common
3042 code for setting a breakpoint on an overloaded name. Calls
3043 take_gdb_out_of_choice_menu when needed.
3044 (menu_overload1arg): New variable to collect the repeated
3045 instances of the expected menu for an overloaded name. Change
3046 the regular expression to handle changes in g++ type encoding:
3047 "void" can be either "void" or "", and "unsigned int" can be
3048 either "unsigned int" or "unsigned".
3049 (continue_to_bp_overloaded): Change regular expressions to handle
3050 changes in g++ type encoding.
3051 (no proc): Call take_gdb_out_of_choice_menu when needed.
3052 Remove redundant calls to "info break". Accept either "canceled"
3053 or "cancelled". Change regular expressions in "info break"
3054 calls to handle changes in g++ type encoding. Give all tests
3055 unique strings.
3056
9c646a6e
BE
30572001-01-17 Ben Elliston <bje@redhat.com>
3058
3059 * config/sid.exp: New file.
3060
9549d9c1
AC
3061Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3062
3063 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3064
dc96c6c7 30652000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3066
3067 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3068 Add a RE to accept a non-ascii char if one is ever presented.
3069
b4df4f68
FN
30702000-12-20 Fernando Nasser <fnasser@redhat.com>
3071
297dd0fd 3072 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3073
dc96c6c7 30742000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3075
3076 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3077 in regexp. One '\' does not suffice on Linux.
3078
4a7bddb6
MC
30792000-12-09 Michael Chastain <chastain@redhat.com>
3080
3081 * gdb.base/break.exp (test_clear_command): Use a marker function
3082 rather than 'main' for the test function. Also move this
3083 test to an execution point where the marker function names are
3084 guaranteed to be bound to functions. (Executing tests after a
3085 'finish' from main runs into name conflicts with local names
3086 in __libc_start_main).
3087
dc96c6c7 30882000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3089
3090 * gdb.base/finish.exp: New test for gdb's "finish" command.
3091 * gdb.base/return2.exp: New test for gdb's "return" command.
3092 * gdb.base/return2.c: New source file for above.
3093
dc96c6c7 30942000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3095
3096 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3097 * gdb.base/miscexprs.exp: Ditto.
3098 * gdb.base/pointers.exp: Ditto.
3099 * gdb.c++/derivation.exp: Ditto.
3100 * gdb.c++/local.exp: Ditto.
3101 * gdb.c++/namespace.exp: Ditto.
3102 * gdb.c++/overload.exp: Ditto.
3103 * gdb.c++/ref-types.exp: Ditto.
3104
dc96c6c7 31052000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3106
3107 * gdb.base/constvars.exp: Test result of "up" command.
3108 * gdb.base/miscexprs.exp: Ditto.
3109 * gdb.base/pointers.exp: Ditto.
3110 * gdb.base/scope.exp: Ditto.
3111 * gdb.c++/derivation.exp: Ditto.
3112 * gdb.c++/local.exp: Ditto.
3113 * gdb.c++/namespace.exp: Ditto.
3114 * gdb.c++/overload.exp: Ditto.
3115 * gdb.c++/ref-types.exp: Ditto.
3116
44097287
FN
31172000-11-22 Michael Chastain <chastain@redhat.com>
3118
3119 * mips_pro.exp: Accept either "middle -> top -> main" or
3120 "middle -> main" in the backtrace, because gcc can optimize
3121 tail calls to jumps. Remove setup_xfail for the hppa case.
3122 Add a comment with the original warning messages from PR 3016,
3123 which was filed in 1993, to preserve them for posterity.
3124
9d2e1bab
ND
31252000-11-17 Nick Duffek <nsd@redhat.com>
3126
3127 * lib/gdb.exp (gdb_test): Override timeout with board info.
3128
1aca8eb7
ND
31292000-11-17 Nick Duffek <nsd@redhat.com>
3130
3131 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3132 the second kill and detach messages.
3133
93076499
ND
31342000-11-17 Nick Duffek <nsd@redhat.com>
3135
3136 * configure.in: Add AC_EXEEXT.
3137 * configure: Regenerate.
3138 * Makefile.in (just-check): Export EXEEXT.
3139 * lib/gdb.exp ($EXEEXT): Import from environment.
3140 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3141 expect "maint dump-me" on Cygwin.
3142 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3143 $EXEEXT.
3144
30e87cd3
ND
31452000-11-17 Nick Duffek <nsd@redhat.com>
3146
3147 * gdb.base/break.exp: Test backtrace and finish from called
3148 function on all platforms, not just HP-UX.
3149
dc96c6c7 31502000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3151
3152 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3153 code from gdb_target_monitor, so it can be used independantly
3154 for gdbserver. Also comment out an unnecessary PUTS.
3155
dc96c6c7 31562000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3157
3158 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3159 * gdb.base/corefile.exp: Expect the message "Program is being
3160 debugged already" when we send the "corefile" command, since
3161 the preceeding gdb_load may have connected gdb to a remote target.
3162 * gdb.base/display.exp: Disable hardware watchpoints if new
3163 board info variable "no_hardware_watchpoints" is true.
3164 Replace single-letter commands with more readable ones.
3165 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3166 if new board info variable "no_hardware_watchpoints" is true.
3167 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3168 to see if stdio (printf) testing is possible.
3169 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3170 board info variable "no_hardware_watchpoints" is true. Use new
3171 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3172
39124dea
FN
31732000-11-13 Fernando Nasser <fnasser@redhat.com>
3174
3175 From Orjan Friberg <orjanf@axis.com>:
3176 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3177 in array print pattern match.
3178
a9e2e984
FN
31792000-11-09 Fernando Nasser <fnasser@redhat.com>
3180
3181 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3182 spelling "cancelled" to U.S. spelling "canceled" to match changes
3183 made to gdb.
3184 * gdb.c++/ovldbreak.exp: Ditto.
3185
c7db355b
PS
31862000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3187
3188 * gdb.base/callfuncs.c (main): Moved to end of file, call
3189 t_double_values to initialize the FPU before inferior calls are made.
3190 * gdb.base/callfuncs.exp: Test for register preservation after calling
3191 inferior functions. Add tests for continuining, finishing and
3192 returning from a stop in a call dummy.
3193
dc96c6c7 31942000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3195
3196 * gdb.base/commands.exp: Break up long lines, and re-indent.
3197
dc96c6c7 31982000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3199
3200 * config/gdbserver.exp: Rewritten from the ground up, to make it
3201 compatible with the current dejagnu tree, and to make it work with
3202 the new "gdbserver" in libremote.
3203
dc96c6c7 32042000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3205
3206 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3207 * gdb.base/varargs.exp: Skip entire test if no printf support.
3208 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3209 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3210
dc96c6c7 32112000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3212
3213 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3214 no floating point support.
3215 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3216 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3217 * gdb.base/call-rt-st.exp: Ditto.
3218 * gdb.base/call-strs.exp: Ditto.
3219
bac5fc66
JG
32202000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3221
3222 * gdb.base/sizeof.c: include <stdio.h>.
3223
3224 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3225 'finish', otherwise uncaptured gdb_prompt would potentially
3226 throw remaining test points out of sync.
3227
b22a6027
SB
32282000-07-26 Scott Bambrough <scottb@netwinder.org>
3229
3230 * gdb.base/recurse.exp: Run tests for all targets.
3231 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3232 gnu-oldld case on ARM.
3233 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3234 for ARM targets.
3235
d8231941
AG
3236Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3237
3238 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3239 * gdb.java/configure: Rebuild.
3240
8caabe69
AG
3241Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3242
3243 * gdb.java/jv-exp.exp: New file.
3244
9d273ca3
AG
3245Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3246
3247 * configure: Rebuilt.
3248 * configure.in (configdirs): Add gdb.java.
3249 * gdb.java/jmisc.java: New file.
3250 * gdb.java/jmisc.exp: New file.
3251 * gdb.java/Makefile.in: New file.
3252 * gdb.java/configure: Rebuilt.
3253 * gdb.java/configure.in: New file.
3254 * lib/java.exp: New file.
3255
4f823a66
AC
3256Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3257
3258 * gdb.base/exprs.exp: Test casts to a pointer including over and
3259 underflow.
3260
2391e11d
AC
3261Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3262
3263 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3264 and the compilers sizes.
3265
54602222
ND
32662000-07-09 Nick Duffek <nsd@redhat.com>
3267
3268 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3269 (use_methods): New function.
3270 (main): Call use_methods().
3271 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3272 (do_tests): Call test_method_param_class.
3273
2bec0572
ND
32742000-07-09 Nick Duffek <nsd@redhat.com>
3275
3276 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3277 spelling.
3278 (test_enums): New procedure. Move enum tests from end of script
3279 to here. Set breakpoint on function name instead of line number.
3280 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3281 (enums2): New marker function.
3282 (enums1): New function.
3283 (main): Call enums1(). Move enum tests to enums1().
3284
78492fde
AC
3285Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3286
3287 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3288 compile/link program. Update line numbers.
3289 * gdb.asm/d10v.inc: Define ``startup''.
3290 * gdb.asm/asmsrc1.s: Add definition of _start.
3291
49a2cef8
AC
3292Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3293
3294 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3295
3e6c8688
EZ
32962000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3297
3298 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3299 of 'help maint print' command.
3300
9ff5cbe9
AC
3301Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3302
3303 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3304 they use gdb_expect_list.
3305
17c579bd
AC
3306Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3307
3308 * gdb.base/commands.exp: Use ``set remote
3309 memory-read-packet-size'' instead of ``set endian big'' to test
3310 long commands.
3311
e6d71bf3
DB
33122000-06-03 Daniel Berlin <dan@cgsoftware.com>
3313
3314 * gdb.c++/templates.exp (do_tests): Make all of these work under
3315 g++, and stop skipping them.
3316
3317 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3318 work under g++.
3319
e5f9ba7b
MS
3320 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3321 initialization.
3322
dc96c6c7 33232000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3324
3325 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3326 the regular expression: accept an (almost) arbitrary sequence of
3327 "frames-invalid" and "breakpoints-invalid" messages both before
3328 and after the "starting" message.
3329
dc96c6c7 33302000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3331
3332 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3333
dc96c6c7 33342000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3335
3336 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3337 Relax the regular expression a little, make it pass on Solaris 8.
3338
8216cda9
KB
33392000-05-12 Kevin Buettner <kevinb@redhat.com>
3340
3341 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3342 a call, do not require that gdb stop on the line after the call.
3343 Instead, it is permissible for gdb to stop on the line of the
3344 call itself.
3345
1a570b2f
MS
33462000-05-12 Michael Snyder <msnyder@.cygnus.com>
3347
3348 * gdb.base/break.exp (bp on small function, optimized file):
3349 Add a second pass pattern. The behavior differs here between stabs
3350 and dwarf for one-line functions. Stabs preserves two line symbols
3351 (one before the prologue and one after) with the same line number,
3352 but dwarf regards these as duplicates and discards one of them.
3353 Therefore the address after the prologue (where the breakpoint is)
3354 has no exactly matching line symbol, and GDB reports the breakpoint
3355 as if it were in the middle of a line rather than at the beginning.
3356
dc96c6c7 33572000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3358
3359 * gdb.base/interrupt.exp: Make "pass" message say "send"
3360 rather than "send_gdb" (for consistancy).
3361
7d418785
AC
3362Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3363
3364 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3365 * gdb.c++/templates.cc: Properly check for GCC version number.
3366 * lib/compiler.cc: Likewise
3367
dc96c6c7 33682000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3369
3370 * gdb.base/break.exp: When compiled with -O2 optimization,
3371 gdb may not stop at the first line of main, due to code motion.
3372
dc96c6c7 33732000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3374
3375 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3376 This test depends on parsing the printf output from the target.
3377 Since the sparclet stub doesn't do stdio, this will never work.
3378 * gdb.base/call-rt-st.exp: ditto.
3379 * gdb.base/call-strs: ditto.
3380
dc96c6c7 33812000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3382
3383 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3384
3385 * gdb.base/ending-run.exp: After connecting to a remote target,
3386 but before running, the target will appear to be in a random
3387 location. Specify both a file and a line for breakpoints.
3388 Also, the function that calls main may be called 'init'
3389 rather than 'start'.
3390
a5a51225
EZ
33912000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3392
3393 * gdb.base/help.exp: Update output for add-symbol-file command.
3394
7930cc7c
FN
33952000-04-10 Fernando Nasser <fnasser@cygnus.com>
3396
3397 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3398 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3399
23e37ab1
C
34002000-04-07 J.T. Conklin <jtc@redback.com>
3401
e93c542c
C
3402 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3403
23e37ab1
C
3404 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3405
591b8fa3
PDM
3406Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3407
3408 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3409 values that can be represented exactly.
3410 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3411 above change, and to not check against the directory part of the source
3412 file name.
3413 (step into print_long_arg_list): Likewise.
3414 (print print_small_structs from print_long_arg_list): Likewise.
3415 (print print_long_arg_list): Likewise.
3416
7a495180
EZ
34172000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3418
30b53638 3419 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3420
beb998c6
AC
3421Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3422
3423 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3424
1c689132
DB
34252000-03-25 Daniel Berlin <dan@cgsoftware.com>
3426
3427 * gdb.base/commands.exp (deprecated_command_test): Add test for
3428 deprecate with no arguments.
3429
c1790a9d
JL
34302000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3431
3432 * gdb.base/break.exp: Add new test for setting breakpoints on
3433 optimized code so we can test breakpoints work even when function
3434 prologues may be optimized away
3435
003ba290
FN
34362000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3437
3438 From David Whedon <dwhedon@gordian.com>
3439 * gdb.base/commands.exp : Added command deprecator tests.
3440
6837a0a2
DB
34412000-03-22 Daniel Berlin <dan@cgsoftware.com>
3442
3443 * gdb.base/help.exp: Added test for new apropos command.
3444
b9593231
KB
34452000-03-21 Kevin Buettner <kevinb@redhat.com>
3446
3447 * gdb.base/pointers.c (usevar): New function.
3448 (main): Make sure that global variables v_int_pointer2, rptr,
3449 and y are all referenced someplace in the program by calling
3450 usevar() on them. [Some linkers delete symbols which are
3451 never referenced. The space remains, but there's no way to
3452 get a (symbolic) handle on the variable from the debugger.]
3453
751a959b
EZ
34542000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3455
3456 * gdb.base/printcmds.c: Add typedeffed arrays.
3457
3458 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3459 procedure to test arrays that are typedef'd.
3460
73a93a32
JI
34612000-03-13 James Ingham <jingham@leda.cygnus.com>
3462
3463 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3464 the library directories.
73a93a32 3465
fb40c209
AC
3466Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3467
3468 * configure.in (configdirs): Add sub directory gdb.mi.
3469 * configure: Re-generate.
3470
3471 * gdb.mi: New directory.
beb998c6 3472
ee4dd2c9
AC
34732000-02-25 Scott Bambrough <scottb@netwinder.org>
3474
3475 * gdb.base/long_long.exp: Correct test suite failure when printing
3476 a long long value as a double on ARM platforms.
3477
70f0cc22
JB
34782000-02-16 Jim Blandy <jimb@redhat.com>
3479
3480 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3481 default source file is set properly before running this test.
3482
853819b8
EZ
34832000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3484
3485 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3486 gdbtk/library directory, not in gdbtcl2.
3487
dfcd3bfb
JM
34882000-02-04 Jim Blandy <jimb@redhat.com>
3489
3490 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3491 backslash from regexp pattern.
3492
3493 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3494 procedure. Use it to run all the "continue to bp overloaded"
3495 tests. Note that this changes the names of the tests slightly.
3496 If the breakpoint hit message includes a hex PC value, because
3497 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3498 from the real source code, still consider that a pass.
3499
3500 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3501 XFAIL here if the breakpoint message contains a hex address. Note
3502 similar change on 1999-11-02.
3503
3504 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3505
3506 * gdb.base/ptype.exp: Establish a default source file before
3507 calling get_debug_format.
3508
35092000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3510
3511 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3512
8b93c638
JM
35132000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3514
3515 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3516 of successive stepi commands -- while in the prologue we should see
3517 the function entry bracket.
3518
35192000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3520
3521 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3522 reach __change_mode() when stepping through the end of main().
3523
c5394b80
JM
35242000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3525
3526 * gdb.base/default.exp: Fix expected pattern.
3527 * gdb.base/help.exp: Same.
3528
0d06e24b
JM
35292000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3530
3531 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3532 Don't use xfail's because that affects only the following test.
beb998c6 3533
0d06e24b
JM
3534 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3535 solaris or linux.
3536
3537 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3538
dc96c6c7 35392000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3540
beb998c6 3541 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3542 "A syntax error" rather than "A parse error". Accept both.
3543
35442000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3545
3546 * gdb.base/default.exp: Remove OS dependent string from "target
3547 remote" test.
3548 * gdb.base/help.exp: Same for "help target remote" test.
3549
c3f6f71d
JM
35502000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3551
3552 From Jim Kingdon <kingdon@redhat.com>:
3553
3554 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3555 prompt (cleanup rather than necessity, but still might keep output
3556 from spilling to next test).
3557
35582000-01-02 Fred Fish <fnf@cygnus.com>
3559
3560 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3561 AIX, which defines them in <sys/types.h>.
3562
ed9a39eb 35631999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3564
ed9a39eb
JM
3565 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3566 float" test.
3567
35681999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3569
ed9a39eb 3570 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3571
3572 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3573 outermost frame disallowed".
3574
35751999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3576
3577 * gdb.base/setvar.exp: New tests for setting the value of a struct
3578 with a constant list.
3579
35801999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3581
3582 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3583 require the user to type a cast before setting the value of a struct.
3584
de57eccd
JM
35851999-12-06 Jim Blandy <jimb@cygnus.com>
3586
3587 * gdb.base/default.exp: Expect the new 'info float' command on
3588 all i386 platforms.
3589
3590 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3591 LinuxThreads libraries that don't support debugging.
3592
c2d11a7d
JM
3593Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3594
3595 * gdb.base/remote.c: Fill the buffer with truely random data.
3596 Change the buffer type to ``unsigned char'' to simplify size
3597 arithmetic.
3598
3599 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3600 stub only handles 400-1 byte packets. Verify that the download
3601 worked.
3602
36031999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3604
3605 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3606 tests, using UNRESOLVED for the untested cases. Also, does not wait
3607 for a timeout if the prompt was received before a recognizable pattern.
3608
36091999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3610
3611 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3612
36131999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3614
3615 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3616 watchpoints.
3617
36181999-11-24 Jason Merrill <jason@casey.cygnus.com>
3619
3620 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3621
3622 * gdb.c++/local.exp: Be more flexible in recognizing local class
3623 name mangling. Don't allow horribly truncated method names.
3624 * gdb.c++/derivation.exp: Expect protected inheritance.
3625 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3626 * gdb.c++/virtfunc.exp: Likewise.
3627 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3628 when printing a nested enum.
3629
36301999-11-22 Jim Blandy <jimb@cygnus.com>
3631
3632 * gdb.base/step-test.exp: Properly await GDB's response to setting
3633 a breakpoint on the call to large_struct_by_value.
3634
3635 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3636 just because we have debug info for the `start' function.
3637
36381999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3639
3640 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3641 "Unknown signal" messages, which indicate (on LinuxThreads) that
3642 GDB doesn't know how to debug threads on this system. This is
3643 better than hanging while philosopher 0 dumps chatter into gdb.log.
3644
36451999-11-18 Tom Tromey <tromey@cygnus.com>
3646
3647 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3648
36491999-11-18 Fred Fish <fnf@cygnus.com>
3650
3651 * gdb.base/coremaker2.c: Add sample program for generating
3652 cores that is more self contained than coremaker.c. Eventually
3653 I'll add more code to this and tie it into the testsuite.
3654
4ce44c66
JM
36551999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3656
3657 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3658
36591999-11-10 Jimmy Guo <guo@cup.hp.com>
3660
3661 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3662 from $srcdir/lib/.
3663 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3664 and gdb.c++/.
3665
3666 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3667
beb998c6 3668 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3669 'continue with watch' test point.
3670
36711999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3672
3673 Merged from p2linux-990323-branch:
beb998c6 3674
4ce44c66
JM
3675 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3676
11cf8741
JM
3677Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3678
3679 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3680 {limit,fixed}''. Test ``set download-write-size''.
3681
3682Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3683
3684 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3685 gdb_expect_list.
3686
3687Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3688
3689 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3690
36911999-11-03 Mark Salter <msalter@cygnus.com>
3692
3693 * gdb.base/break.exp: Fix "stub continue" pattern.
3694
36951999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3696
3697 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3698
36991999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3700
3701 * gdb.base/display.exp ("finish"): Add timeout clause.
3702
3703 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3704 plain prompt clause, so this doesn't have to time out in order to
3705 fail.
3706
3707 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3708 breakpoint hit messages include an address.
3709
3710 * gdb.base/display.exp: Don't forget to escape parens in regular
3711 expressions. Unix regexp notatation sucks.
3712
37131999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3714
3715 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3716 order for 'signalled' message.
3717
5c44784c
JM
37181999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3719
3720 From Jimmy Guo <guo@cup.hp.com>:
3721 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3722 * gdb.base/annota1.c: Add code for tests to work with.
3723
37241999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3725
3726 * gdb.base/remote.exp: New test for remote downloading settings.
3727 * gdb.base/remote.c: New file with large .data.
3728
917317f4
JM
37291999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3730
3731 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3732 for LinuxThreads support, merged from the Code Fusion branch.
3733
3734Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3735
3736 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3737 containing exp_continue into a while within an expect. Don't
3738 attempt a start more than three times. Check return value from
3739 gdb_load.
beb998c6 3740
2df3850c
JM
3741Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3742
3743 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3744 a pass case.
3745
2acceee2
JM
37461999-10-01 Kevin Buettner <kevinb@cygnus.com>
3747
3748 * gdb.base/break.c (main): Added a statement that we can step
3749 off of.
3750 * gdb.base/break.exp: Added tests for setting a breakpoint
3751 at an offset and stepping onto a breakpoint.
3752
37531999-10-01 Fred Fish <fnf@cygnus.com>
3754
beb998c6 3755 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3756 gdb output.
3757
c2c6d25f
JM
37581999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3759
3760 * gdb.base/break.exp: Code locations are in hex, don't forget!
3761 (For HP-UX.)
3762
37631999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3764
3765 * condbreak.exp: Use break.c as test program.
3766 * condbreak.c: Remove, redundant with break.c.
3767
37681999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3769
3770 * config/monitor.exp (gdb_target_monitor): Disable X- and
3771 Z-packets if the target needs it.
3772
37731999-09-13 James Ingham <jingham@leda.cygnus.com>
3774
3775 * gdb.c++/overload.exp: Added tests for listing overloaded
3776 functions with function pointers in the arg, explicitly calling
3777 out the version you want.
3778
cff3e48b
JM
37791999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3780
3781 * long_long.exp: Add variations of test cases that work for
3782 targets with 16-bit ints and 32-bit doubles.
3783
d4f3574e
SS
37841999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3785
3786 * break.c (main): Compare a possibly-uninitialized argc with an
3787 unlikely value that fits in 16 bits.
3788
37891999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3790
3791 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3792 0xfeeb, don't want negative numbers if ints are 16 bits.
3793
3794 * lib/gdb.exp (skip_cplus_tests): New proc.
3795 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3796 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3797 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3798 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3799 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3800 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3801 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3802 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3803
3804 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3805
3806Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3807
3808 * gdb.base/corefile.exp (up): Allow a parameter to appear
3809 in the frame that we're going up to.
3810
3811 From Jim Blandy <jimb@cygnus.com>:
3812
3813 * gdb.base/default.exp (info float): Expect some output now.
3814
3815 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3816 returning floating-point values to fail on the x86.
3817 * gdb.base/callfwmall.exp (do_function_calls): Same.
3818
3819 * gdb.base/list.exp (test_listsize): Correct expectations for
3820 listing line 1 with listsize 2. Also, listing a single line
3821 works now, as does listing three lines. [Kevin's note: There
3822 were a number of other cases fixed too where the expectations
3823 differed...]
3824
38251999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3826
3827 * gdb.base/selftest.exp: Add case for when version prints as
3828 constant string instead of char pointer.
3829
104c1213
JM
38301999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3831
3832 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3833 stepping out of main.
3834
3835 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3836 G++ used.
3837
3838 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3839 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3840
3841 * gdb.c++/ovldbreak.exp: Update match string in test that
3842 includes a warning of multiple breakpoints.
3843
38441999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3845
3846 * gdb.base/display.exp: Improve precision of step-after-finish
3847 added yesterday.
3848
3849 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3850 test.
3851
3852 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3853 configs when using G++, not just hppa*.
3854
38551999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3856
3857 * gdb.base/async.c: New file.
3858 * gdb.base/async.exp: New file.
3859
3860Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3861
3862 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3863 PA64.
3864
53a5351d
JM
3865Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3866
104c1213
JM
3867 * gdb.base/display.exp: "finish" can leave us mid-line on many
3868 targets, deal with it. Add a small constant to main, instead of
3869 1000 since main+1000 may not be a valid address in the target.
3870
53a5351d
JM
3871 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3872 on hpux11.
3873
3874 * gdb.base/attach.exp: Handle another hpux11 error message variant
3875 when attaching to a process that does not exist.
3876
38771999-08-19 J.T. Conklin <jtc@redback.com>
3878
3879 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3880 characters in 'continue to 1241' test.
3881
38821999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3883
3884 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3885 stop in print_long_arg_list, define and use a whitespace
3886 variable in print_small_structs test, add an XFAIL for Solaris.
3887 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3888 interested enough to fix.
3889
7be570e7
JM
38901999-08-13 Keith Seitz <keiths@cygnus.com>
3891
3892 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3893 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3894 proc knows about targets other than the natives.
3895 (test_assign): Use "gdb_run_cmd" to "run" the target.
3896 Check that we've actually hit the breakpoint at main.
3897 When we attempt to assign a value to a local variable, check
3898 that the variable is in the current scope, i.e., don't use
3899 a test with an empty result.
3900
3901Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3902
3903 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3904 command.
3905
39061999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3907
3908 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3909 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3910 gdb.compat, gdb.threads-hp.
3911 gdb.hp/configure, gdb.hp/configure.in: New files.
3912 gdb.hp/Makefile.in: Recurse into new subdirs.
3913 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3914 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3915 in object files.
3916 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3917
96baa820
JM
39181999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3919
3920 * gdb.base/display.exp: Help expect by putting a newline in the
3921 funky printf, remove a bogus p/a test.
3922
39231999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3924
3925 * gdb.base/display.exp: Make sure that when we say 'run', we are
3926 connected to the target. This is necessary when running not
3927 natively.
3928
39291999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3930
3931 * gdb.base/step-test.exp: Removed some extraneous messages.
3932
3933 * gdb.base/long_long.exp: Don't run memory examination tests
3934 on little-endian targets (they will need a different set of
3935 results to match).
3936
39371999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3938
3939 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3940 until somebody decides to fix GDB.
3941
3942 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3943 constant as "ULL".
3944 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3945 matches for a couple x/2 commands.
3946
a0b3c4fd
JM
39471999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3948
3949 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3950 by merging in ref-types2 tests.
3951 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3952
3953 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3954 * gdb.c++/Makefile.in: Add standard actions.
3955 (EXECUTABLES): Rename from PROGS, update list.
3956 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3957 from gdb.hp.
3958 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3959 foo and bar locals.
3960 * gdb.c++/anon-union.exp: Fix tests to match.
3961 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3962 expect matches to handle output variations.
3963 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3964 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3965 output, add HP alternatives for new and delete prints.
3966 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3967 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3968 * gdb.c++/demangle.exp: Use $style when reporting failure.
3969 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3970 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3971 match alternatives.
3972 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3973 compilers.
3974 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3975 * gdb.c++/method.exp: Add match alternatives.
3976 * gdb.c++/misc.cc: Add bool types.
3977 * gdb.c++/misc.exp: Add tests for bool types.
3978 * gdb.c++/overload.exp: Add xfails.
3979 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3980 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3981 add some more template parameter tests (only for HP currently).
3982 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3983 * gdb.c++/virtfunc.cc: Add return type and value for main.
3984 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3985 match alternatives.
beb998c6 3986
a0b3c4fd
JM
39871999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3988
3989 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3990
39911999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3992
3993 * gdb.base/signals.exp: Don't expect getting a backtrace from
3994 within a signal handler to fail on Linux.
3995
39961999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3997
3998 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3999 * lib/gdb.exp: Remove some gratuitious semicolons.
4000 (delete_breakpoints): Increase timeout.
4001 (gdb_expect): Add -notransfer option.
4002 (gdb_test): Use -notransfer option.
4003 (get_compiler_info): Add f77 case.
4004 (get_compiler): New proc, split out from gdb_preprocess, add f77
4005 case.
4006 (gdb_preprocess): Call get_compiler.
4007
4008 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4009 * gdb.base/attach.exp, gdb.base/display.exp,
4010 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4011 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4012 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4013 third arg to gdb_test.
4014 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4015 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4016 HP-UX xfails, add others.
4017 * gdb.base/completion.exp: Reflect name change of self-test.
4018 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4019 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4020 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4021 HP failure number.
4022 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4023 useless HP-UX 10.30 references.
4024 * gdb.base/maint.exp: Loosen matches.
4025 * gdb.base/pointers.c (main): Declare more_code.
4026 * gdb.base/pointers.exp: Match on output of a `next'.
4027 * gdb.base/structs.c: Add prototypes.
4028 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4029 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4030
40311999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4032
4033 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4034 command.
4035
40361999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4037
4038 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4039 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4040
4041 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4042 debug info. Deal with lack of signal hanlder info in stack.
4043
4044 From Jim Kingdon <kingdon@redhat.com>:
4045 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4046
5a2468f5
JM
40471999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4048
4049 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4050 gdb.base/foll-vfork.exp: Don't run for crosses.
4051
adf40b2e
JM
4052Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4053
4054 * gdb.base/configure.in: Check for gdbvars.exp instead of
4055 a1-selftest.exp.
4056 * gdb.base/configure: Re-generate.
4057
40581999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4059
4060 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4061 in trying to run first and name is too long.
4062
4063 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4064 pointers2.c and pointers2.exp, respectively.
4065 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4066 doschk happier.
4067
43e526b9
JM
40681999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4069
4070 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4071 callfuncs2.c and callfuncs2.exp.
4072
4073 * gdb.base/list.exp: Remove mistaken xfails.
4074 * gdb.base/list0.h: Add optional prototypes.
4075
9846de1b
JM
4076Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4077
4078 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4079 calling malloc.
4080 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4081 * ptype.exp: Move test for get_debug_format to before its first
4082 use.
4083
40841999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4085
4086 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4087 * gdb.base/annota2.cc, annota2.exp: Move from here.
4088 * gdb.c++/annota2.cc, annota2.exp: To here.
4089 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4090
43ff13b4
JM
4091Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4092
4093 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4094 a consistent format.
4095
085dd6e6
JM
40961999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4097
4098 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4099 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4100 HP compilers, also set the globals $true and $false.
4101
4102 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4103 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4104 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4105 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4106 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4107 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4108 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4109 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4110 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4111 whatis.c} Add C++ compatible function definitions and return
4112 types, add includes for library functions.
4113 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4114 * gdb.base/step-test.c (myglob): Rename from glob.
4115 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4116 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4117 files, move here from gdb.hp.
4118 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4119 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4120 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4121 Adjust line numbers in regexps.
4122
4123 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4124 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4125 instead of 0/1.
4126
4127 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4128 foll-vfork.exp: New files, move here from gdb.hp.
4129 * gdb.base/page.exp: New file, test of pagination command.
4130
4131 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4132 recursion test.
4133 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4134
4135 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4136 gdb.base/solib.exp: Fix compiler invocation process.
4137
4138 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4139 HP-UX 11, turn off overload resolution explicitly.
4140 * gdb.base/commands.exp: Set argument list explicitly, add
4141 watchpoint test.
4142 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4143 them work.
4144 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4145 expressions properly.
4146 * gdb.base/corefile.exp: Loosen the match slightly.
4147 * gdb.base/default.exp: Allow "Error accessing memory" message
4148 also.
4149 * gdb.base/display.exp: Skip over x/0 j if PA64.
4150 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4151 * gdb.base/interrupt.exp: Ditto.
4152 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4153 in use.
4154 * gdb.base/list.exp: Add xfails for HP-UX.
4155 * gdb.base/long_long.exp: Refine some of the numeric matches.
4156 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4157 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4158 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4159 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4160 * gdb.base/ptype.exp: Succeed on more varieties of output.
4161 * gdb.base/scope.exp: Add xfails for HP-UX.
4162 * gdb.base/sect-cmd.exp: Add more cases.
4163 * gdb.base/setvar.exp: Add xfails for HP-UX.
4164 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4165 * gdb.base/signals.exp: Match on void symbolically.
4166 * gdb.base/step-test.exp: Add case for PA64.
4167 * gdb.base/term.exp: Add exit and restart.
4168 * gdb.base/twice.exp: Clean up after self.
4169 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4170 * gdb.base/whatis.exp: Allow more ways to pass tests.
4171
4172 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4173 no longer useful.
4174
4175Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4176
4177 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4178 list of patterns.
4179 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4180 print_double_array(double_array)", "continuing to breakpoint
4181 1018", "print print_double_array(array_d)" and "continuing to
4182 1034" tests.
beb998c6 4183
085dd6e6
JM
41841999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4185
4186 * Makefile.in: Add empty html and install-html targets.
4187
41881999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4189
4190 * config/mt-*: Remove, these haven't been used since 1996.
4191
41921999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4193
4194 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4195 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4196 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4197
9e0b60a8
JM
41981999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4199
4200 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4201 simpler match case for the ptype of the big class.
4202
42031999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4204
4205 * gdb.exp: Fix test for gdb_prompt existence.
4206
42071999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4208
4209 * gdb.exp (gdb_test): Add fail after calls to perror.
4210
42111999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4212
4213 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4214
42151999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4216
4217 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4218
0f71a2f6
JM
4219Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4220
4221 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4222 malloc() is linked in.
4223
42241999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4225
4226 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4227 step at end.
4228
4229 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4230
42311999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4232
4233 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4234
cce74817
JM
4235Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4236
4237 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4238 * gdb.base/mips_pro.exp: Likewise.
4239
42401999-06-02 Keith Seitz <keiths@cygnus.com>
4241
4242 * gdb.c++/templates.cc: Change all "new" operators to throw
4243 an exception.
4244 * gdb.c++/cplusfuncs.cc: Likewise.
4245
4246 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4247
4248Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4249
4250 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4251 * gdb.base/ending-run.exp: When stepping out of main, accept a
4252 step into an arbitrary assembler file.
4253
392a587b
JM
42541999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4255
beb998c6 4256 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4257 "breakpoint-invalid" to be printed.
beb998c6 4258 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4259 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4260 * gdb.base/annota2.cc: Initialize a.x to 0.
4261
9e086581
JM
42621999-05-17 Keith Seitz <keiths@cygnus.com>
4263
4264 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4265 when "skip_float_tests" set.
4266 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4267 "print print_ten_doubles", and "step into print_long_arg_list".
4268 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4269 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4270 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4271 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4272 "skip_float_tests" is set.
4273 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4274 when "skip_float_tests" set.
beb998c6 4275
cd0fc7c3
SS
42761999-05-06 Keith Seitz <keiths@cygnus.com>
4277
4278 * gdb.base/annota2.cc: Include stdio.h.
4279
4280Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4281
4282 * gdb.base/crossload.exp: Remove, this has been disabled ever
4283 since BFD stopped including all targets, and cross-GDB gets
4284 plenty of testing anyway.
4285 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4286 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4287 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4288 * gdb.base/README: Remove, was doc for this.
4289 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4290 needed.
4291
b83266a0
SS
42921999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4293
4294 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4295 output.
4296
4297 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4298 * gdb.base/annota2.exp: New file. More annotation tests.
4299 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4300 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4301
43021999-04-23 Angela Marie Thomas <angela@cygnus.com>
4303
4304 * config/cfdbug.exp: New file.
4305
7a292a7a
SS
43061999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4307
4308 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4309 Marcus Daniel's and Dale Hawkins's demangler crashes.
4310
4311 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4312 test_lucid_style_demangling, test_arm_style_demangling,
4313 test_hp_style_demangling): Try Tom Tromey's core-dumping
4314 identifier under each demangling style.
4315
43161999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4317
4318 * gdb.c++/demangle.exp: Include the current demangling style
4319 in all test names.
4320 (current_demangling_style): New global variable.
4321 (set_demangling_style, test_demangling_core, test_demangling,
4322 test_demangling_exact): New functions.
4323 (test_gnu_style_demangling, test_lucid_style_demangling,
4324 test_arm_style_demangling, test_hp_style_demangling): Use those,
4325 instead of calling gdb_test and gdb_test_exact directly.
4326 (catch_demangling_errors): New function, which reports errors
4327 signalled by the demangling test functions in an orderly way.
4328 (do_tests): Use catch_demangling_errors.
4329
43301999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4331
4332 * gdb.base/signals.exp (test_handle_all_print): Use () for
4333 grouping in expressions, not {}.
4334
4335 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4336 initialized yet.
4337
43381999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4339
4340 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4341 are listed.
4342
43431999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4344
4345 * gdb.stabs/weird.exp: Test for CC being defined before
4346 looking at its value.
4347
43481999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4349
4350 * gdb.base/call-ar-st.exp: Remove stray '#'.
4351 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4352 "short int" and "long int".
4353 * gdb.c++/overload.cc: Cast the string added in the previous
4354 change, to mollify finicky HP compiler.
4355 * gdb.hp/reg-test.exp (testfile): Fix file name.
4356 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4357
7a292a7a
SS
4358 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4359 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4360 alternate form of enum ptype.
4361
c906108c
SS
43621999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4363
7a292a7a
SS
4364 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4365 * gdb.hp/*.exp: Change all to run compiler probe only after
4366 passing skip_hp_tests, so as not to waste time on guaranteed
4367 failure.
4368
c906108c
SS
4369 * gdb.c++/overload.cc: Pass string instead of char addr, always
4370 init ccpfoo.
4371 * gdb.c++/templates.cc: Fix syntax error.
4372
7a292a7a
SS
4373Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4374
4375 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4376 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4377 command.
4378
43791999-03-18 James Ingham <jingham@cygnus.com>
4380
4381 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4382
4383 * gdb.c++/method.exp: It was testing an uninitialized int on the
4384 stack and assuming it was positive.
4385
4386 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4387
4388 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4389 keep it from killing the rest of the tests.
7a292a7a
SS
4390 Use gdb_continue_to_end.
4391
4392 * gdb.base/sigall.exp: use gdb_continue_to_end.
4393
4394 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4395
4396 * gdb.base/display.exp: use runto_main, not run.
4397
beb998c6
AC
4398 * gdb.base/default.exp: Check for the current error message in the
4399 r abbreviation test.
7a292a7a
SS
4400 Add strongarm to the targets that know info float.
4401
beb998c6 4402 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4403 run which doesn't work with monitors.
4404
4405 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4406
4407 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4408
4409 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4410 program. Traps the case (in Cygmon) when the program never really
4411 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4412 more places, so I used my name. Sorry Mark...
4413
4414 * config/monitor.exp (gdb_target_monitor): added another
4415 target_info parameter: remotebinarydownload. This will set the
4416 remotebinarydownload flag if this is causing some boards trouble.
4417
44181999-03-18 Mark Salter <msalter@cygnus.com>
4419
4420 * lib/gdb.exp (continue_to_exit): New function.
4421
4422 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4423 * gdb.base/ending-run.exp: Ditto.
4424 * gdb.base/step-test.exp: Ditto.
4425
44261999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4427
4428 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4429 (suggested by Art Haas <ahaas@neosoft.com>).
4430
44311999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4432
4433 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4434
4435Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4436
4437 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4438 descriptions of types (short unsigned int vs unsigned short, etc).
4439
44401999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4441
4442 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4443 a call to strlen; sometimes we do have sources.
4444
44451999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4446
4447 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4448 character, so GDB won't print garbage after its end.
beb998c6 4449
c906108c
SS
4450 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4451 breakpoint there instead. Sometimes GCC emits memcpy to handle
4452 the large structures being passed by value, so we step into that
4453 instead of sum_array_print, which obscures what we're really testing.
4454 * gdb.base/step-test.exp: However, we do want a test that notices
4455 the bizarre steps into memcpy, so do that here. Add check for
4456 stepping into function calls that pass large structures by value.
4457 ("Is that a noun clause, or are you just happy to see me?")
4458 Remove all references to specific line numbers.
4459 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4460 New type and function.
4461 (main): Call large_struct_by_value, passing it a large struct by value.
4462 * lib/gdb.exp (gdb_get_line_number): New function.
4463
4464 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4465 more portable.
4466
7a292a7a
SS
44671999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4468
c906108c
SS
4469 * lib/gdb.exp: Doc fixes.
4470
7a292a7a
SS
44711999-03-05 Nick Clifton <nickc@cygnus.com>
4472
beb998c6 4473 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4474
44751999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4476
c906108c
SS
4477 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4478 commands. They're not germane to this test, and they don't work
4479 that way on remote targets.
4480
3fc11d3e
JM
44811999-03-01 James Ingham <jingham@cygnus.com>
4482
4483 * Changelog entries merged over from gdb development branch.
4484
3fc11d3e
JM
4485 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4486
4487 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4488 for outputting results of test run.
4489
2d4a1622 4490 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4491
4492 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4493
7a292a7a
SS
44941999-02-25 Felix Lee <flee@cygnus.com>
4495
4496 * lib/gdb.exp (debug_format): initialize
4497
c906108c
SS
44981999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4499
4500 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4501 * gdb.base/call-rt-st.c: Ditto.
4502
c906108c
SS
45031999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4504
4505 * gdb.threads/pthreads.exp (horiz): New variable.
4506 (test_startup): Fix regexps that capture thread numbers.
4507
45081999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4509
4510 * gdb.base/smoke.exp: Disambiguate two test case names (both
4511 called ``print'').
4512
4513Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4514
4515 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4516 compilation.
4517
45181999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4519
4520 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4521 actual output formatting.
4522 * gdb.base/smoke.exp: GDB removes leading 0's.
4523 * gdb.base/volatile.exp: Don't check type of remuneration;
4524 that variable is no longer defined in constvars.c.
4525 * gdb.base/step-test.c (main): Exit with explicit exit code.
4526 * gdb.base/step-test.exp: Remove two nexti checks--they are
4527 not portable.
4528
45291999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4530
4531 * gdb.base/help.exp ("help delete display"): Fix test to match
4532 gdb's output.
4533
4534 * gdb.base/long_long.c (known_types): Initialize values to zero.
4535 * gdb.base/long_long.exp: Step one more line
4536 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4537 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4538 unique test case names.
4539
4540Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4541
beb998c6 4542 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4543
4544 * gdb.c++/method.exp: Add missing close brace.
4545
45461999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4547
4548 * gdb.base/maint.exp: Use 'set height 0' to disable page
4549 prompting, not 'set height 400'.
4550
4551 Fix a bunch of timeouts.
4552 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4553 four separate tests, so expect doesn't take forever to match a ton
4554 of text against a regexp with lots of .* forms.
4555 ("maint print psymbols", "maint print symbols"): Make some of
4556 these greps more selective, so that expect doesn't try to wade
4557 through huge piles of output and time out.
4558
4559 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4560
4561 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4562 tests: one which doesn't expect shlib events to be reported, and
4563 another which does, but is XFAIL for all platforms other than
4564 HP/UX.
4565
4566 * gdb.base/break.exp: Teach the test suite that the `catch
4567 fork', `catch vfork', and `catch exec' commands produce error
4568 messages on platforms that don't provide these features.
4569
4570Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4571
4572 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4573 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4574 (shortening names from solib_threshold.exp etc), won't run on
4575 anything but HP-UX for the foreseeable future.
4576 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4577 reflect move.
4578
4579Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4580
4581 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4582 gdb.trace/Makefile.in (clean): Remove all test executables.
4583
4584Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4585
4586 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4587 successfully re-sets breakpoints in shared libraries.
4588 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4589
4590Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4591
beb998c6
AC
4592 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4593 and compiled w/o GCC.
c906108c
SS
4594
4595 * gdb.hp/watch-cmd.exp: ditto.
4596
4597 * gdb.hp/watch-hp.exp: ditto.
4598
4599 * gdb.hp/xdb1.exp: ditto.
4600
4601 * gdb.hp/xdb2.exp: ditto.
4602
4603 * gdb.hp/dbx.exp: ditto.
4604
4605Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4606
4607 * constvars.c: Remove C++-isms.
4608 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4609 with GCC.
4610
4611Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4612
4613 The following changes are part of the HP merge.
4614
4615 * gdb.base/break.exp: new tests to verify that catchpoints for
4616 fork, vfork, and exec don't trigger inappropriately.
4617
4618 * gdb.base/opaque.exp: compile one file at a time, then link.
4619
4620 * gdb.base/signals.exp: be more restrictive about which hppa
4621 systems receive a setup_xfail. new tests.
4622
4623 * gdb.base/solib_threshold.build: new file.
4624 * gdb.base/solib_threshold.exp: new file.
4625 * gdb.base/solib_threshold.link_opts: new file.
4626 * gdb.base/solib_threshold.mk: new file.
4627 * gdb.base/gen_solib_threshold.c: new file.
4628
4629 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4630 tests. New tests for enums inside classes.
4631
4632 * gdb.c++/compiler.cc: indicate support of template debugging.
4633
4634 * gdb.c++/demangle.exp: run hp style demangling tests.
4635
4636 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4637 tests.
4638
4639 * gdb.c++/misc.cc: changes to support new tests.
4640
4641 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4642 to support new tests.
4643
4644 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4645 gcc, then skip these tests.
4646
4647Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4648
4649 The following files are part of the HP merge; some had longer
4650 names at HP, but have been renamed to be no more than 14
4651 characters in length.
4652
4653 * gdb.hp/ambiguous.cc: new file.
4654 * gdb.hp/ambiguous.exp: new file.
4655 * gdb.hp/attach.exp: new file.
4656 * gdb.hp/attach2.exp: new file.
4657 * gdb.hp/classes-hp.exp: new file.
4658 * gdb.hp/ctti.exp: new file.
4659 * gdb.hp/ctti-add.cc: new file.
4660 * gdb.hp/ctti-add1.cc: new file.
4661 * gdb.hp/ctti-add2.cc: new file.
4662 * gdb.hp/ctti-add3.cc: new file.
4663 * gdb.hp/dbx.exp: new file.
4664 * gdb.hp/exception.cc: new file.
4665 * gdb.hp/exception.exp: new file.
4666 * gdb.hp/foll-exec.c: new file.
4667 * gdb.hp/foll-exec.exp: new file.
4668 * gdb.hp/foll-fork.c: new file.
4669 * gdb.hp/foll-fork.exp: new file.
4670 * gdb.hp/foll-vfork.c: new file.
4671 * gdb.hp/foll-vfork.exp: new file.
4672 * gdb.hp/inherit-hp.exp: new file.
4673 * gdb.hp/more-steps.exp: new file.
4674 * gdb.hp/namespace.cc: new file.
4675 * gdb.hp/namespace.exp: new file.
4676 * gdb.hp/optimize.exp: new file.
4677 * gdb.hp/pxdb.c: new file.
4678 * gdb.hp/pxdb.exp: new file.
4679 * gdb.hp/quicksort.exp: new file.
4680 * gdb.hp/reg-test.exp: new file.
4681 * gdb.hp/reg-test.s: new file.
4682 * gdb.hp/sized-enum.c: new file.
4683 * gdb.hp/sized-enum.exp: new file.
4684 * gdb.hp/start-stop.exp: new file.
4685 * gdb.hp/templ-hp.cc: new file.
4686 * gdb.hp/templ-hp.exp: new file.
4687 * gdb.hp/thr-lib.c: new file.
4688 * gdb.hp/thr-lib.exp: new file.
4689 * gdb.hp/thr-lib.h: new file.
4690 * gdb.hp/thr-liblib.c: new file.
4691 * gdb.hp/virtfun-hp.c: new file.
4692 * gdb.hp/virtfun-hp.exp: new file.
4693 * gdb.hp/watch-cmd.exp: new file.
4694 * gdb.hp/watch-hp.exp: new file.
4695 * gdb.hp/xdb1.exp: new file.
4696 * gdb.hp/xdb2.exp: new file.
4697 * gdb.hp/xdb3.exp: new file.
4698
4699Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4700
4701 The following files are part of the HP merge; some had longer
4702 names at HP, but have been renamed to be no more than 14
4703 characters in length.
4704
4705 * gdb.base/ss.h: new file.
4706 * gdb.base/call-ar-st.c: new file.
4707 * gdb.base/call-ar-st.exp: new file.
4708 * gdb.base/call-rt-st.c: new file.
4709 * gdb.base/call-rt-st-exp: new file.
4710 * gdb.base/call-strs.exp: new file.
4711 * gdb.base/ena-dis-br.exp: new file.
4712 * gdb.base/environ.exp: new file.
4713 * gdb.base/long_long.exp: new file.
4714 * gdb.base/sect-cmd.exp: new file.
4715 * gdb.base/shlib-cl2.exp: new file.
4716 * gdb.base/smoke.exp: new file.
4717 * gdb.base/so-impl-ld.c: new file.
4718 * gdb.base/so-impl-ld.exp: new file.
4719 * gdb.base/so-indr-cl.c: new file.
4720 * gdb.base/so-indr-cl.exp: new file.
4721 * gdb.base/varargs.exp: new file.
4722 * gdb.base/volatile.exp: new file.
4723 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4724 * gdb.base/display.exp: new file.
c906108c
SS
4725 * gdb.c++/derivation.exp: new file.
4726 * gdb.c++/local.exp: new file.
4727 * gdb.c++/member-ptr.exp: new file.
4728 * gdb.c++/overload.exp: new file.
4729 * gdb.c++/ovldbreak.exp: new file.
4730 * gdb.c++/ref-types.exp: new file.
4731 * gdb.c++/ref-types2.exp: new file.
4732 * gdb.c++/userdef.exp: new file.
beb998c6 4733
c906108c
SS
4734Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4735
4736 * gdb.base/default.exp: Reflect wording change in remote.c.
4737
dc96c6c7 4738Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4739
4740 * gdb.base/help.exp: Update to reflect current text.
4741
4742Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4743
4744 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4745 they're stack variables and contain garbage.
4746 * gdb.c++/anon-union.exp: new file.
4747
4748 The following changes were made by David Taylor
4749 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4750 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4751 in changes by HP.
4752
4753 * gdb.base/bitops.exp: new file.
4754 * gdb.base/default.exp: change expected messages for catch and
4755 info catch tests to reflect HP merge changes.
4756 * gdb.base/enable-disable-break.exp
4757 * gdb.base/ending-run.c: new file.
4758 * gdb.base/long_long.c: new file.
4759 * gdb.base/maint.exp: new file.
4760 * gdb.base/pointers2.exp: new file.
4761 * gdb.base/shlib-call2.exp: new file.
4762 * gdb.base/solib.exp: new file.
4763 * gdb.base/step-test.c: new file.
4764 * gdb.c++/anon-union.cc: new file.
4765 * gdb.c++/local.cc: new file.
4766 * gdb.c++/member-pointer.cc: new file.
4767 * gdb.c++/method.cc: new file.
4768 * gdb.c++/ref-types.cc: new file.
4769 * gdb.c++/ref-types2.cc: new file.
4770 * gdb.c++/userdef.cc: new file.
beb998c6 4771
c906108c
SS
4772 * gdb.base/scope.exp: compile one file at a time, then link.
4773 * gdb.base/langs.exp: ditto.
4774 * gdb.base/list.exp: ditto.
beb998c6 4775
c906108c
SS
4776Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4777
4778 The following changes were made by David Taylor
4779 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4780 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4781 in changes by HP.
beb998c6 4782
c906108c
SS
4783 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4784 skip tests. When compiling pass c++ flag to gdb_compile.
4785 * gdb.c++/
beb998c6 4786
c906108c
SS
4787 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4788 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4789 (skip_hp_tests): new function.
4790 (gdb_preprocess): new function.
4791
4792 * configure.in (hpdir): decide whether to configure gdb.hp.
4793 * configure: regenerated.
4794
4795 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4796 to delete on clean.
4797 (EXECUTABLES): update to reflect new additions.
4798 * gdb.base/commands.exp: update message expected.
4799 * gdb.base/default.exp: add copyright notice.
4800 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4801 * gdb.base/help.exp: update messages to reflect current text.
4802 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4803 targets for recurse tests.
4804 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4805 skip this file.
4806
4807 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4808 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4809 compilation.
4810 * gdb.c++/misc.exp: ditto.
4811 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4812 run the tests. tell gdb_compile that it's a c++ compilation.
4813
4814 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4815
c906108c
SS
4816 * gdb.base/all-bin.exp: new file.
4817 * gdb.base/arithmet.exp: new file.
4818 * gdb.base/assign.exp: new file.
4819 * gdb.base/completion.exp: new file.
4820 * gdb.base/cond-expr.exp: new file.
4821 * gdb.base/condbreak.exp: new file.
4822 * gdb.base/define.exp: new file.
4823 * gdb.base/dollar.exp: new file.
4824 * gdb.base/environment.exp: new file.
4825 * gdb.base/eval-skip.exp: new file.
4826 * gdb.base/jump.exp: new file.
4827 * gdb.base/logical.exp: new file.
4828 * gdb.base/pointers.exp: new file.
4829 * gdb.base/relational.exp: new file.
4830 * gdb.base/section_command.exp: new file.
4831 * gdb.base/whatis-expr.exp: new file.
4832
4833 * gdb.base/all-types.c: new file.
4834 * gdb.base/call-array-struct.c: new file.
4835 * gdb.base/call-return-struct.c: new file.
4836 * gdb.base/call-strings.c: new file.
4837 * gdb.base/callfuncs2.c: new file.
4838 * gdb.base/condbreak.c: new file.
4839 * gdb.base/constvars.c: new file.
4840 * gdb.base/display.c: new file.
4841 * gdb.base/int-type.c: new file.
4842 * gdb.base/jump.c: new file.
4843 * gdb.base/miscexprs.c: new file.
4844 * gdb.base/pointers.c: new file.
4845 * gdb.base/pointers2.c: new file.
4846 * gdb.base/shmain.c: new file.
4847 * gdb.base/shr1.c: new file.
4848 * gdb.base/shr2.c: new file.
4849 * gdb.base/solib.c: new file.
4850 * gdb.base/solib1.c: new file.
4851 * gdb.base/solib2.c: new file.
4852 * gdb.base/varargs.c: new file.
4853 * gdb.c++/derivation.cc: new file.
4854 * gdb.c++/overload.cc: new file.
4855 * gdb.c++/ovldbreak.cc: new file.
4856 * gdb.hp/attach.c: new file.
4857 * gdb.hp/attach2.c: new file.
4858 * gdb.hp/average.c: new file.
4859 * gdb.hp/compiler.c: new file.
4860 * gdb.hp/compiler.cc: new file.
4861 * gdb.hp/execd-program.c: new file.
4862 * gdb.hp/follow-exec.c: new file.
4863 * gdb.hp/follow-fork.c: new file.
4864 * gdb.hp/follow-vfork-and-exec.c: new file.
4865 * gdb.hp/misc-hp.cc: new file.
4866 * gdb.hp/more-steps.c: new file.
4867 * gdb.hp/optimize.c: new file.
4868 * gdb.hp/quicksort.c: new file.
4869 * gdb.hp/run-hp.c: new file.
4870 * gdb.hp/start-stop.c: new file.
4871 * gdb.hp/sum.c: new file.
4872 * gdb.hp/templates-hp.cc: new file.
4873 * gdb.hp/thread-local-in-lib.c: new file.
4874 * gdb.hp/thread-local-in-lib.h: new file.
4875 * gdb.hp/thread-local-in-lib.lib.c: new file.
4876 * gdb.hp/vforked-program.c: new file.
4877 * gdb.hp/virtfunc-hp.cc: new file.
4878 * gdb.hp/watchpoint-hp.c: new file.
4879 * gdb.hp/xdb.c: new file.
4880 * gdb.hp/xdb0.c: new file.
4881 * gdb.hp/xdb0.h: new file.
4882 * gdb.hp/xdb1.c: new file.
4883
4884Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4885
4886 The following change was made by Edith Epstein
4887 <eepstein@cygnus.com> as part of a project to merge in changes
4888 originally made by HP; HP did not create ChangeLog entries.
4889
4890 * gdb.c++/demangle.exp: changed the expected output for some
4891 ARM-style mangling -- removed second reference to datatype.
4892 For example, maint demangle __dt__11T1__pt__2_cFv
4893 T1<char>::~T1<char>(void)
4894 becomes,
4895 maint demangle __dt__11T1__pt__2_cFv
4896 T1<char>::~T1(void)
4897
4898 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4899
c906108c
SS
4900Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4901
4902 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4903 * gdb.trace/backtrace.exp: Likewise.
4904 * gdb.trace/circ.exp: Likewise.
4905 * gdb.trace/collection.exp: Likewise.
4906 * gdb.trace/deltrace.exp: Likewise.
4907 * gdb.trace/infotrace.exp: Likewise.
4908 * gdb.trace/limits.exp: Likewise.
4909 * gdb.trace/packetlen.exp: Likewise.
4910 * gdb.trace/passc-dyn.exp: Likewise.
4911 * gdb.trace/passcount.exp: Likewise.
4912 * gdb.trace/report.exp: Likewise.
4913 * gdb.trace/save-trace.exp: Likewise.
4914 * gdb.trace/tfind.exp: Likewise.
4915 * gdb.trace/tracecmd.exp: Likewise.
4916 * gdb.trace/while-dyn.exp: Likewise.
4917 * gdb.trace/while-stepping.exp: Likewise.
4918
49191998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4920
4921 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4922
4923Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4924
4925 From Brendan Kehoe:
4926 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4927 int return types.
4928
4929Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4930
4931 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4932 remote dos host testing right.
4933
4934Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4935
4936 * gdb.base/corefile.exp: remove some xfails.
4937
4938Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4939
4940 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4941 have different timestamps.
4942
4943Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4944
4945 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4946 gdb.base/default.exp: Replace "exec" with "executable".
4947
4948Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4949
4950 * gdb.base/default.exp: Change else if to elseif from previous
4951 delta.
4952
4953Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4954
4955 * gdb.base/default.exp: Add brace missing from previous delta.
4956
4957Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4958
4959 * gdb.base/default.exp: Support test for info float for all
4960 varieties of arm toolchain.
4961
dc96c6c7 4962Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4963
4964 * gdb.trace/*.exp: remove "remote_download" command.
4965
dc96c6c7 4966Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4967
4968 * gdb.trace/*.exp: remove -gdwarf from compile.
4969
4970Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4971
4972 * gdb.trace/configure.in(AC_INIT): typo
4973 * gdb.trace/configure: regenerated
4974
dc96c6c7 4975Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4976
4977 * config/m68k-emc.exp: New file.
4978 * lib/<emc-support.exp trace-support.exp}: New files.
4979 * configure.in: add new test directory gdb.trace.
4980 * gdb.trace/{configure configure.in Makefile.in}: New files.
4981 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4982 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4983 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4984 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4985 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4986 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4987 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4988
dc96c6c7 4989Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4990
4991 * gdb.c++/classes.exp: Change all regular expressions to match
4992 arbitrary combinations of newline/carriage-return, so that they
4993 will work equally well on Unix and Windows.
4994 * gdb.c++/inherit.exp: ditto.
4995 * gdb.c++/virtfunc.exp: ditto.
4996
49971998-08-11 Dawn Perchik <dawn@cygnus.com>
4998
4999 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5000
c2d11a7d
JM
5001Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5002
5003 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5004 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5005 to use a0-a3/d0-d3 as needed.
5006
5007Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5008
5009 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5010 * gdb.disasm/am33.exp: Corresponding changes.
5011
c906108c
SS
50121998-07-11 Felix Lee <flee@cygnus.com>
5013
5014 * gdb.base/callfuncs.exp: add cmp10 test.
5015 * gdb.base/callfuncs.c (cmp10): new function.
5016
5017Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5018
beb998c6 5019 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5020 into two parts to get around a synchronization problem in expect.
5021
3fc11d3e
JM
5022Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5023
5024 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5025
5026 * configure.in: Add options for gdbtk testsuite.
5027
5028 * configure: Regenerate.
5029
5030 * gdb.gdbtk: New directory to hold gdbtk tests.
5031
c906108c
SS
5032Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5033
5034 * gdb.fortran/types.exp: Escape brackets in expect patterns
5035 for test_float_literal_types_accepted tests.
5036 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5037 before run test.
5038
c2d11a7d
JM
5039Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5040
5041 * am33.exp: Just compile, do not link the testcase.
5042 * am33.s: Add ".am33" pseudoop to force am33 mode.
5043
c906108c
SS
50441998-06-25 Felix Lee <flee@cygnus.com>
5045
5046 * gdb.base/setshow.exp: make sure $pc is sane.
5047
5048 * gdb.stabs/weird.exp: split expect patterns properly.
5049
c2d11a7d
JM
5050Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5051
5052 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5053 * gdb.disasm/am33.exp: Run it.
5054
dc96c6c7 5055Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5056
5057 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5058 match processing (and eliminate spurious timeouts when running).
5059
dc96c6c7 5060Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5061
5062 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5063 exception test, but conditionalize it on target [mach | gnu].
5064
dc96c6c7 5065Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5066
5067 * gdb.base/overlays.exp: fixup compile line for linker script.
5068
5069Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5070
5071 * gdb.fortran/types.exp: don't guess at float size.
5072
5073Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5074
5075 * gdb.base/exprs.exp: delete test that depends on int size.
5076
5077Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5078
5079 * config/sim.exp: Removed checks for target triplets.
5080 (gdb_target_sim): Use gdb,target_sim_options.
5081
5082Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5083
5084 * gdb.base/reread.exp: New file.
5085 * gdb.base/reread1.c: New file.
5086 * gdb.base/reread2.c: New file.
5087
5088Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5089
5090 * config/sim.exp: Use 'target sim -sparclite' when running
5091 SPARClite programs.
5092
5093Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5094
5095 * gdb.base/structs2.exp: New file.
5096 * gdb.base/structs2.c: New file.
5097
5098Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5099
5100 * gdb.asm/common.inc: New file.
5101 * gdb.asm/d10v.inc: New file.
5102 * asm-source.exp: Pass -I's to gas to find .inc files.
5103 Update line numbers in expected output.
5104 * asmsrc1.s: Rewrite.
5105 * asmsrc2.s: Rewrite.
5106 * configure.in: Create arch.inc symlink.
5107 * configure: Regenerate.
5108 * Makefile.in (distclean): Delete arch.inc.
5109
5110Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5111
5112 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5113 (t_enum_value2): ditto
5114 (t_enum_value3): ditto
5115 (main): ditto
5116Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5117
5118 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5119 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5120 change.
5121 Use gdb_test instead of send_gdb/gdb_expect sequences.
5122
5123Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5124
5125 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5126 not void.
5127
5128Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5129
5130 * gdb.base/branches.c: Code with lots of loops and
5131 subroutines. Used to test gdbs ability to single step through PC
5132 changes, especially to test mips-tdep.c:mips_next_pc
5133
5134Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5135
5136 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5137 more rigorous EGCS C++ error checking.
5138
5139Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5140
5141 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5142 tests.
c906108c 5143 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5144 function when asleep.
c906108c 5145 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5146 for i*86 Linux and SVR4 signal handling problems.
5147 Remove linux xfail for `next to handler in signals_tests_1', fixed
5148 by recent infrun.c change.
c906108c 5149 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5150 stack backtraces.
c906108c
SS
5151 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5152 target.[ch] change.
5153
5154Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5155
5156 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5157 for a newline from gdb before continuing.
5158 (default_gdb_exit): Just look for y or n.
5159 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5160 it does, fail the rests of the tests in the file.
5161
5162Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5163
5164 * config/cygmon.exp: New file.
5165
5166Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5167
5168 * gdb.base/list.exp: Fix problem with "list default lines around
5169 main" test on remote targets.
5170
5171 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5172 run test on remote targets.
5173
5174Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5175
5176 * gdb.asm: New directory.
5177 * configure.in: Configure it.
5178 * configure: Regenerate.
5179 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5180 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5181
5182Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5183
5184 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5185
dc96c6c7 5186Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5187
c906108c
SS
5188 * gdb.base/overlays (several files): Merge the two overlay
5189 managers into one. Change variables (foox, barx, bazx, grbxx)
5190 back into ints but force them to load in their proper sections.
5191
5192Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5193
5194 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5195 on-chip insn memory and IMAP1 to upper 128k.
5196 (D10VCopy): Handle memory regions crossing 16k boundaries.
5197 (D10VCopy): Transfer data in 32 bit chunks.
5198
5199Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5200
5201 * gdb.base/overlays.c (main): Exit normally when result is
5202 correct.
5203
5204 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5205 map. Include space for printf in .text segment.
5206
5207 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5208 updated d10v memory VMA/LMA map.
5209 (D10VCopy): Call D10VTranslate.
beb998c6 5210
c906108c
SS
5211Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5212
5213 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5214
5215 * gdb.base/bar.c (barx, bar): Change variable to small array so
5216 that it won't be put into the .sdata - small data -
5217 section. Update reference.
5218 * gdb.base/baz.c (bazx, baz): Ditto.
5219 * gdb.base/foo.c (foox, foo): Ditto.
5220 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5221
5222 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5223 to be arrays.
beb998c6 5224
dc96c6c7 5225Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5226
c906108c
SS
5227 * gdb.base/overlays.exp: fix up and get working again.
5228 Add tests for backtraces from an overlay function.
beb998c6 5229
c906108c
SS
5230Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5231
5232 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5233 "calling function with watchpoint enabled".
5234
5235Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5236
5237 * gdb.base/break.exp (test_next_with_recursion): Remove
5238 gdb_suppress_tests for d10v-*-*.
5239 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5240 pending review of whether it is useful or not.
5241
5242Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5243
5244 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5245
5246Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5247
5248 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5249 * config/dve.exp: New file to support Densan boards.
5250
5251Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5252
5253 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5254 reads and BSD.
5255
5256Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5257
5258 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5259 response.
5260
5261 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5262
5263Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5264
5265 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5266 test.
5267
5268 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5269 target_sizeof_long and target_bigendian_p.
5270 (structs_by_value, structs_by_reference): Check values according
5271 to targets word size and endianess.
beb998c6 5272
c906108c
SS
5273Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5274
5275 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5276 output.
5277
5278Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5279
5280 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5281 Update test of set args help to match source change.
5282
5283Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5284
5285 * gdb.base/default.exp: Expect help system output to be in
5286 alphabetical order.
5287 * gdb.base/help.exp: Ditto.
5288
5289Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5290
5291 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5292 "i*86-pc-linux-gnu*".
5293 * gdb.base/interrupt.exp: Ditto.
5294 * gdb.base/corefile.exp: Ditto.
5295
5296 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5297 define vxworks when building the testcase.
5298
5299 * gdb.base/ptype.exp: Fix testnames to be unique.
5300 * gdb.base/radix.exp: Ditto.
5301 * gdb.base/term.exp: Ditto.
5302 * gdb.base/whatis.exp: Ditto.
5303 * gdb.c++/classes.exp: Ditto.
5304
5305Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5306
5307 * gdb.base/callfuncs.exp: Fix indentation.
5308
5309 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5310 suppress_flag has been set.
5311 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5312 target feature.
5313
5314Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5315
5316 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5317 the testcase.
5318
5319 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5320 set_debug_traps() and breakpoint().
5321 * gdb.c++/misc.cc (main): Ditto.
5322 * gdb.c++/templates.cc (main): Ditto.
5323 * gdb.c++/virtfunc.cc (main): Ditto.
5324
5325Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5326
5327 * lib/gdb.exp(gdb_step_for_stub): New function.
5328 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5329 exists, reload the executable and do a "continue" instead of
5330 doing a jump.
5331 (runto_main): Use gdb_step_for_stub.
beb998c6 5332
c906108c
SS
5333 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5334 tests to have unique names.
5335 * gdb.base/callfuncs.exp: Ditto.
5336 * gdb.base/commands.exp: Ditto.
5337 * gdb.base/default.exp: Ditto.
5338 * gdb.base/help.exp: Ditto.
5339 * gdb.base/list.exp: Ditto.
5340 * gdb.base/opaque.exp: Ditto.
5341 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5342 similar tests.
beb998c6 5343
c906108c
SS
5344 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5345 * gdb.c++/cplusfuncs.cc: Ditto.
5346 * gdb.c++/virtfunc.cc: Ditto.
5347
5348 * config/monitor.exp: Keep track of the last file we saw, rather
5349 than trying to get the info from gdb.
5350
5351 * gdb.fortran/types.exp: Move comment to previous line.
5352
5353Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5354
5355 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5356 target mode.
5357
5358Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5359
5360 From Bob Manson:
5361 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5362 string from GDB when it connects.
5363
5364 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5365
5366Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5367
5368 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5369 if we can't get a debug format from GDB (we may be testing an
5370 older GDB). Use a 10 second timeout when checking for the format.
5371
5372 * gdb.stabs/weird.exp: Fix quoting.
5373
5374 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5375
5376Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5377
5378 * config/arm-ice.exp: New file.
5379
5380Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5381
5382 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5383 until it has been modified to work with the new testsuite.
5384
99707966 5385 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5386 testcase won't compile, cause all of the testcases in the file to
5387 fail instead.
5388
5389 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5390 (gdb_clear_suppressed): New procedure.
5391 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5392 it contains a positive value.
5393
5394Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5395
5396 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5397
5398 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5399
5400Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5401
5402 * lib/gdb.exp (setup_xfail_format): New function.
5403 (get_debug_format): New function to get debug format.
5404 (debug_format): New global variable to hold last value set
5405 by get_debug_format.
5406 * gdb.base/list.exp: Call get_debug_format and expect some
5407 tests to fail for DWARF 1 and COFF formats.
5408 * gdb.c++/ptype.exp: Ditto.
5409 * gdb.c++/classes.exp: Ditto.
5410 * gdb.c++/cplusfuncs.exp: Ditto.
5411 * gdb.c++/inherit.exp: Ditto.
5412 * gdb.c++/templates.exp: Ditto.
5413 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5414
c906108c
SS
5415Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5416
5417 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5418 host doesn't have a currently-open connection.
5419
5420 * config/sparclet.exp: Cleanups and fixes to make it generic for
5421 any gdb stub target. Handle cases where gdb doesn't respond when
5422 interrupted in a sane fashion.
5423
5424 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5425 same thing in a totally different way.
5426
5427 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5428 setting "timeout".
5429 (gdb_start): We set the global gdb_prompt variable in
5430 default_gdb_init now.
5431
5432Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5433
5434 * gdb.base/printcmds.exp: Fix "check for floating addition"
5435 regexp to accept results within approx +/- .01 of exact value.
5436 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5437
5438Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5439
5440 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5441 properly.
5442 (gdb_expect): Add optional timeout parameter, and add timeout
5443 value to various calls.
5444 (gdb_suppress_tests): Only give one warning message per group.
5445
5446Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5447
5448 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5449 global variables. Handle getting a value for $timeout more
5450 gracefully.
5451
5452Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5453
5454 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5455 initialize.
5456 (default_gdb_init): New procedure; allow gdb_init to be overridden
5457 by a target configuration file.
5458 (gdb_expect): Pass the timeout to remote_expect.
5459
5460 * config/monitor.exp(gdb_load): Fix typo in regexp.
5461
5462Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5463
5464 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5465
5466Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5467
5468 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5469 here. Call gdb_target_exec before rebooting the target, to make
5470 sure the connection to the target is closed.
5471 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5472 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5473 Also detect "Timeout reading from remote" error.
5474
5475 * config/gdbserver.exp: Pass the executable being loaded to
5476 gdb_target_monitor. Don't call gdb_file_cmd here; let
5477 gdb_target_monitor do it.
5478
5479 * gdb.disasm/hppa.exp: Don't use exec_output.
5480
5481Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5482
5483 * gdb.base/list.exp: If we're debugging a non-native target,
5484 try to set the pc register to point to the start of the
5485 program before doing the first list command.
5486
5487 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5488 test_calls after restarting.
5489
5490 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5491 reloading.
5492
5493 * gdb.base/watchpoint.exp: Fix typo.
5494
5495 * gdb.base/setshow.exp: Check for use_gdb_stub.
5496
5497 * gdb.base/break.exp: Fix continue until exit test for the gdb
5498 stub case.
5499 * gdb.base/langs.exp: Ditto.
5500
5501 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5502 gdb_load_offset. If we weren't given a file to load, figure out
5503 what the current file is and use it.
5504
5505 * config/i386-bozo.exp: New file.
5506
5507Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5508
5509 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5510 feature.
5511
5512 * config/proelf.exp: New entry.
5513
5514Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5515
5516 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5517 of regexps.
5518
5519 * gdb.base/watchpoint.exp: Don't run the test_stepping
5520 tests if gdb can't call functions on the target.
5521
5522 * gdb.base/setshow.exp: Don't run the set prompt tests if
5523 the board has gdb_prompt set.
5524
5525Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5526
5527 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5528 * gdb.base/commands.exp: Likewise.
5529 * gdb.base/setshow.exp: Likewise.
5530
5531Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5532
5533 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5534 feature.
5535
5536 * config/i960.exp: New file.
5537
5538Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5539
5540 * gdb.base/funcargs.exp: Check for gdb,short_int target
5541 feature instead of looking for explicit target triplets.
5542
dc96c6c7 5543Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5544
beb998c6 5545 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5546 "p 123DEADBEEF", to check parse_number.
5547 * top.c: change "to enable to enable" to "to enable" in a couple
5548 of help strings.
5549
5550Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5551
5552 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5553 on the mn10300.
beb998c6 5554
c906108c
SS
5555Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5556
5557 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5558 where the test executable is run with explicit args.
5559 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5560
5561Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5562
5563 * gdb.base/run.c: Use FAKEARGV to build test executable that
5564 does not require a command line arg, since most simulators
5565 don't currently support passing such an arg into the simulated
5566 program.
5567 * gdb.base/commands.exp: Change tests to insert the proper
5568 value as the arg to the first recursive factorial call. Change
5569 compilation line to define FAKEARGV at compile time.
5570
5571Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5572
5573 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5574 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5575 function with watchpoint enabled" test.
5576
5577Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5578
5579 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5580 Don't call gdb_test when the command doesn't return to a gdb prompt.
5581
5582 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5583 "Tests restarted" messages.
5584
5585Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5586
5587 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5588
dc96c6c7 5589Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5590
5591 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5592 for INFO SYMBOL; add help tests for OVERLAY commands.
5593 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5594 add tests for OVERLAY commands
5595 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5596 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5597 * gdb.base/sigall.c: add usestubs code frag
5598 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5599
c906108c
SS
5600Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5601
5602 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5603 failures.
5604 (gdb_stop_suppressing_tests): Note that tests have restarted.
5605
5606Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5607
5608 * config/h8300.exp: New file.
5609
5610Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5611
5612 * gdb.base/setshow.exp: Check for the existence of a
5613 feature, not its value.
5614
5615Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5616
5617 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5618
5619 * gdb.base/scope.exp: It's now init0(), not init().
5620
5621 * gdb.base/scope0.c: For now, change init() to be init0().
5622
5623 * config/monitor.exp: Use gdb_serial in preference to serial
5624 or netport.
5625
5626 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5627 and it's not already set.
5628
5629Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5630
5631 * gdb.base/setshow.exp: Only test the run command if the target
5632 isn't using a stub and if it supports argument passing.
5633
5634Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5635
5636 * config/udi.exp(gdb_start): Make sure UDICONF is set
5637 properly before starting gdb.
5638
5639Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5640
5641 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5642 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5643 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5644
5645Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5646
5647 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5648 specialized code to reboot the board, use remote_reboot instead.
5649
5650 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5651
5652 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5653
5654 * config/monitor.exp: Make sure we disconnect from the target.
5655 Also, try a reboot/reload cycle instead of failing if the
5656 load fails.
5657
5658Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5659
5660 * gdb.base/default.exp: Don't set match_max.
5661 * gdb.base/help.exp: Ditto.
5662 * gdb.base/list.exp: Ditto.
5663 * gdb.base/signals.exp: Ditto.
5664
5665 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5666 set, use remote_ld to download the testcase instead of
5667 the GDB loader.
5668
5669Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5670
5671 * config/vr5000.exp: New file.
5672
5673 * config/monitor.exp(gdb_target_monitor): Add pattern for
5674 "Ending remote" to detect errors in connecting.
5675
5676 * gdb.base/setshow.exp: Add .* within auto language test.
5677
5678 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5679 target feature.
5680
5681 * config/monitor.exp(gdb_load): Check for a failure when loading,
5682 and reboot the board if necessary.
5683
5684 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5685 a set of tests. Remove print.* from the patterns being checked.
5686
5687Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5688
5689 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5690 refer to gdb_spawn_id.
5691
5692 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5693 longer used.
5694 * config/sparclet.exp: Ditto.
5695 * config/sparclet-old.exp: Ditto.
5696 * config/slite.exp: Ditto.
5697 * config/sim.exp: Ditto.
5698 * gdb.base/funcargs.exp: Ditto.
5699
5700 * lib/gdb.exp:Remove references to gdb_spawn_id.
5701 (gdb_expect): Move to remote.exp.
5702
5703Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5704
5705 * config/monitor.exp: Detect the "Couldn't establish connection"
5706 message from GDB.
5707
5708Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5709
5710 * gdb.base/bitfields.exp: Use runto instead of explicit
5711 gdb_run_cmd/gdb_expect sequences.
5712
5713 * gdb.base/break.exp(text_next_with_recursion): Add match for
5714 gdb_expect call.
5715
5716 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5717 We also need to handle the "A program is being debugged already"
5718 prompt from gdb. Use gdb_test to set the baud rate.
5719
5720 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5721 to 20000. Really. I mean it.
5722
5723Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5724
5725 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5726 fails. If suppress_flag is set, skip perror message about not
5727 being able to send to GDB.
5728 (send_gdb): If suppress_flag is set, don't try to send commands to
5729 GDB.
5730 (gdb_expect): If suppress_flag is set, always fail immediately.
5731 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5732 (gdb_init): Call gdb_stop_suppressing_tests.
5733 (default_gdb_exit): Ditto.
5734 (default_gdb_start): Ditto.
5735
5736 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5737 gdb_stop_suppressing_tests as appropriate.
5738 * gdb.base/break.exp: Ditto.
5739 * gdb.base/callfuncs.exp: Ditto.
5740 * gdb.base/commands.exp: Ditto.
5741 * gdb.base/exprs.exp: Ditto.
5742 * gdb.base/funcargs.exp: Ditto.
5743 * gdb.base/list.exp: Ditto.
5744 * gdb.base/recurse.exp: Ditto.
5745 * gdb.base/scope.exp: Ditto.
5746 * gdb.base/structs.exp: Ditto.
5747 * gdb.c++/inherit.exp: Ditto.
5748
5749Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5750
5751 * config/vr4300.exp: New file.
5752
99707966
MC
5753 * gdb.*/*.exp: Call gdb_expect instead of expect.
5754
5755 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5756
5757Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5758
5759 * lib/gdb.exp(gdb_init): New function.
5760
5761 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5762 for each individual variable set.
5763
5764 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5765 name.
5766
5767 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5768
5769 * gdb.base/scope.exp: Use gdb_test.
5770
5771 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5772 aborting; the testsuite driver will do that for us (see
5773 gdb_finish). Also, use gdb_test in a few more places.
5774
5775Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5776
5777 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5778
5779Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5780
5781 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5782 and "add_tests" are not at the same address.
5783
5784Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5785
5786 * gdb.base/ptype.exp: Use gdb_test.
5787
5788Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5789
5790 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5791 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5792 left in. No longer expect them to fail.
5793
5794 * gdb.stabs/*.mt; Deleted, no longer used.
5795 * gdb.stabs/configure.in: Remove references to target makefile
5796 frags.
5797 * gdb.stabs/configure: Rebuilt.
5798
5799 * gdb.disasm/*.mt: Deleted, no longer used.
5800 * gdb.disasm/configure.in: Remove references to target makefile
5801 frags. Use "sh3.s" as the unique filename for this directory.
5802 * gdb.disasm/configure: Rebuilt.
5803
5804 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5805 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5806 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5807
5808Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5809
5810 * config/udi.exp: Use mondfe,name instead of remote_host.
5811
5812Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5813
5814 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5815 a function with a watchpoint enabled on the mn10200.
5816
5817 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5818 before trying to create it!
5819
5820Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5821
5822 * config/vx.exp: Use hostname instead of netport.
5823
5824 * config/vxworks.exp: New file.
5825
5826 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5827
5828 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5829 gdb before assuming everything worked. Send a ^C if a timeout
5830 occurs.
5831
5832 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5833 $gdb_spawn_id directly.
5834 (gdb_run_cmd): Try _start as well as start. Use the target feature
5835 gdb,start_symbol as the symbol to start from when jumping.
5836
5837Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5838
5839 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5840 redundant) test.
5841
5842 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5843 it doesn't lose for 16bit integer systems.
5844
5845Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5846
5847 * gdb.fortran/types.exp: If the target doesn't support "double"
5848 data types, then expect "real" types to only be 4 bytes.
5849
5850 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5851 call tests if the target doesn't support inferior function calls.
5852
5853 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5854 in printf tests.
5855
5856Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5857
5858 * gdb.base/help.exp: Disable "help set", "help show", and
5859 "help support". Simplify regexp for "help stack".
5860
5861 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5862 to 60 seconds. Temporarily set match_max to 15000 around the
5863 "info copying" test.
5864
5865 * gdb.base/nodebug.exp: Don't try to do an inferior function
5866 call if the target doesn't support them.
5867 * gdb.base/printcmds.exp: Likewise.
5868 * gdb.base/setvar.exp: Likewise.
5869 * gdb.base/structs.exp: Likewise.
5870 * gdb.c++/templates.exp: Likewise.
5871 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5872
5873 * gdb.base/recurse.exp: Enable for the mn10200.
5874
5875 * configure.in: Do configure gdb.stabs directory for *-*-elf
5876 targets.
5877 * configure: Rebuilt.
5878
5879 * gdb.base/break.exp: Check for gdb,noresults before testing
5880 exit status and/or results from the target.
5881 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5882 * lib/gdb.exp: Remove old (now bogus) initialization of
5883 noinferior, noargs, noresults and nosignals.
5884
5885Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5886
5887 * config/sh.exp: New file.
5888
5889 * config/slite.exp: Try to connect multiple times to the board
5890 before rebooting. Only send a "monitor run" if need_monitor_run
5891 is set.
5892
5893 * gdb.base/break.exp: Don't do the "stub continue" test if
5894 the target has gdb_stub set.
5895
5896 * gdb.base/callfuncs.exp: Increase the timeout.
5897
5898 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5899 if the target has gdb,noinferiorio set.
5900
5901 * gdb.base/list.exp: Increase match_max to 10000 characters.
5902
5903 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5904
5905 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5906 target.
5907
5908 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5909
5910Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5911
5912 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5913 trying to delete the copy of gdb. Catch the file delete so we
5914 don't die if the delete fails; also, the file should be copied to
5915 the host, not to the build.
5916
5917Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5918
5919 * lib/gdb.exp(gdb_test): Surround the result pattern with
5920 parenthesis in case it contains multiple regexps separated
5921 with |.
5922
5923 * gdb.base/watchpoint.exp: Use gdb_test.
5924 * gdb.base/default.exp: Ditto.
5925
5926Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5927
99707966 5928 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5929
c906108c
SS
5930 * gdb.base/scope.exp: Use gdb_test.
5931 * gdb.c++/classes.exp: Ditto.
5932 * gdb.c++/inherit.exp: Ditto.
5933
5934Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5935
5936 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5937 remote_exec instead.
5938 * gdb.base/corefile.exp: Don't be ridiculous.
5939 * gdb.base/*.c: Add missing stub invocations.
5940
5941Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5942
5943 * config/slite.exp: Miscellaneous fixes.
5944
5945 * lib/gdb.exp: Fix runto.
5946
5947 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5948 the target.
5949
5950 * gdb.base/watchpoint.exp: Fix regexp.
5951
5952 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5953 close and wait commands, as the descriptor may now be
5954 invalid. Always call "remote_close host".
5955
5956Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5957
5958 Major rewrite for testsuite revision.
beb998c6 5959
c906108c
SS
5960 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5961 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5962 instead of relying on spawn_id to always contain a valid
5963 spawn id.
5964 (get_compiler_info): New procedure to build the ${binfile}.ci
5965 file, instead of replicating this in N different places.
5966 (gdb_compile): New procedure.
beb998c6 5967
c906108c
SS
5968 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5969 appropriate arguments) instead of compile. Use gdb_test in a lot
5970 more places. Use send_gdb instead of send. Always run gdb_start
5971 at the start of a testcase, as this is no longer done magically.
5972
5973 config/*-gdb.exp: Rename without the -gdb suffix.
5974
5975 config/mips.exp: Use remote_close instead of exit_remote_shell.
5976 config/monitor.exp: Use target_info instead of looking at
5977 baud, timeout, etc.
5978 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5979
5980Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5981
5982 * gdb.c++/templates.exp (test_ptype_of_templates),
5983 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5984 Update expect patterns for destructors and assignment operators
5985 to match corresponding c-typeprint.c changes.
5986 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5987 to destructor breakpoint test, GDB should be able to set the
5988 destructor breakpoint without specifying arguments.
5989
5990Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5991
5992 * gdb.threads/pthreads.exp: Change result for failure to compile due
5993 to lack of pthreads runtime support from an error to simply an
5994 unsupported test, per dejagnu standards.
5995
5996Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5997
5998 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5999 where GDB exits to reduce pattern match time.
6000 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6001
6002 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6003
dc96c6c7 6004Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6005
6006 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6007 * gdb.base/default.exp: ditto.
6008 * gdb.base/nodebug.exp: ditto.
6009 * gdb.base/printcmds.exp: ditto.
6010 * gdb.base/ptype.exp: ditto.
6011 * gdb.base/setvar.exp: ditto.
6012 * gdb.base/structs.exp: ditto.
6013 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6014
6015Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6016
6017 * configure, */configure: Rebuild with autoconf 2.12.
6018
6019Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6020
6021 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6022 use new i*86-pc-linux*-gnu quads.
6023 * gdb.base/corefile.exp: Ditto.
6024 * gdb.base/signals.exp: Ditto.
6025 * gdb.base/sigall.exp: Ditto.
6026 * gdb.base/interrupt.exp: Ditto.
6027
6028 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6029 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6030 RedHat 4.0.
beb998c6 6031
c906108c
SS
6032 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6033 linux. This allows the test case to at least compile on latest
6034 linux, but still not run due to missing the threads runtime library.
6035
6036Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6037
6038 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6039 directory to search gdb directory. Accept and step over conditional
6040 stack alignment code. Consume $prompt in failure cases.
6041 Reset timeout to $oldtimeout instead of some arbitrary value.
6042 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6043 timeout problems with infinite stack backtraces.
6044 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6045 Accept function parameters for linkfunc member.
6046
6047Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6048
6049 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6050 (CXXFLAGS): Remove, unreferenced.
6051 (B_OPTIONS): Add for -B options and add code to initialize with
6052 previous -B options and also add -B option to pick up cross compiled
6053 runtime.
6054 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6055 doing cross compiles.
6056 (target_alias): Declare global.
6057 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6058 to verify that gcc exists in build tree, and if so set CC to that
6059 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6060
c906108c
SS
6061Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6062
6063 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6064 ptype test for anonymous union. Fixup testcase to match
6065 current gcc debug output.
6066
6067Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6068
6069 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6070 force argument to an unsigned long type.
6071
6072Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6073
6074 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6075 tests and anonymous union print/ptype tests.
6076 * gdb.base/list.exp (test_forward-search): Increase timeout by
6077 5 minutes for the "search extremely long line" case.
6078 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6079 completely optional and that the pass/fail messages use the command as
6080 the message if that third arg is a null string.
6081 (gdb_test_exact): Arrange that a null string pattern means match a
6082 null string output rather than any output, which might include random
6083 errors.
6084 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6085 backtrace test.
6086 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6087 always failing and failure is now exposed by gdb.exp changes.
6088
6089Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6090
6091 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6092 weren't being noted.
6093
6094Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6095
6096 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6097 * gdb.stabs/weird.exp: Remove v_comb xfails.
6098
dc96c6c7 6099Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6100
6101 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6102 list.exp scope.exp watchpoint.exp]
6103 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6104
dc96c6c7 6105Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6106
6107 * config/monitor.exp: Increase download timeout to 1000 seconds.
6108
dc96c6c7 6109Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6110
6111 * config/m32r.exp: Increase timeout to 120 seconds.
6112
6113Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6114
6115 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6116 and accept older ordering as obsolescent gcc or gdb.
6117 * gdb.c++/templates.exp: Ditto.
6118 * gdb.c++/virtfunc.exp: Ditto.
6119
6120Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6121
6122 * gdb.base/coremaker.c: Add code to mmap some data so we
6123 can check that it ends up in the core file.
6124 * gdb.base/corefile.exp: Add test to read mmapped data
6125 from core file.
6126
dc96c6c7 6127Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6128
6129 * config/m32r.exp: New file.
6130
6131Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6132
6133 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6134 that cflags can contains -gstabs, and work correctly for other tests.
6135
dc96c6c7 6136Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6137
6138 * gdb.base/setshow.exp: New file, tests show and set.
6139 * gdb.base/setshow.c: New file, tests show and set.
6140 * gdb.base/help.exp: Add test for help set|show annotate.
6141 * gdb.base/default.exp: Add test for set|show annotate.
6142
6143Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6144
6145 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6146 errors unique.
6147 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6148 explicitly.
6149
6150Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6151
6152 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6153 and width commands. This is done elsewhere.
6154 * (gdb_start): Don't call gdb_start_sim here. That's already
6155 done in gdb_load. This fixes lots of failures in default.exp.
6156
6157Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6158
6159 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6160 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6161 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6162 in the same we we treat other failures (since it may be an expected
6163 condition), rather than as an error.
6164 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6165 old test format.
6166
6167Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6168
6169 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6170 (distclean maintainer-clean realclean): No need to remove files
6171 twice. Nuke the duplicates.
6172 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6173 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6174 Remove config.h along with other config files.
6175
6176Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6177
6178 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6179 "p func1 ()" and note that rests of tests are skipped.
6180 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6181 setup_xfails for "print func2::coremaker_local".
6182 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6183 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6184 affected by the previous run test.
6185 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6186 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6187 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6188 "pass int powerset tuple" and "pass modeless int powerset tuple".
6189 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6190 "real write 4" and "real write 8".
6191 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6192 setup_xfails for "print vs1 after tuple assign 2",
6193 "print \$i after tuple assign 2", and
6194 "print vs2 after tuple assign 2".
6195 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6196 meaningful error message and return -1 so the caller can
6197 suppress further tests and avoid a cascade of errors.
beb998c6 6198
c906108c
SS
6199Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6200
6201 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6202 format for printing version.
6203 * gdb.base/default.exp: Ditto.
6204 * gdb.base/interrupt.exp: Fix problem with cascade of
6205 errors if child process dies while calling a function.
beb998c6 6206
c906108c
SS
6207Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6208
6209 * Makefile.in (VPATH): Add
6210 * Makefile.in (Makefile, config.status): Fix rules so things get
6211 remade when necessary.
6212
6213Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6214
6215 * Makefile.in (just-check): Add path to sibling expect dir
6216 to environment variable specified by RPATH_ENVVAR.
6217
6218Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6219
6220 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6221 (just-check): Add shared library paths for libstdc++, tk,
6222 tcl, bfd, and opcodes to the environment variable specified
6223 in RPATH_ENVVAR.
6224 * configure.in: Add support to recognize --enable-shared flag
6225 and generate correct value for RPATH_ENVVAR.
6226 * configure: Regenerated with autoconf.
6227
6228Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6229
6230 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6231 include all osf versions.
6232 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6233 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6234 when target is linux. When failing to build pthreads test
6235 executable, give more meaningful message.
6236 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6237 arg for pthread_create.
beb998c6 6238
c906108c
SS
6239Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6240
6241 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6242 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6243 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6244 and -lpthreads (everybody else).
6245 (test_startup): Fail gracefully if threads are not supported.
6246 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6247 "p/c array_index("abcdef",2)" when not gcc compiled.
6248 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6249 "print func2::coremaker_local" when not gcc compiled.
6250 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6251 "ptype on opaque struct tagname (statically)",
6252 "ptype on opaque struct tagname (dynamically) 1", and
6253 "ptype on opaque struct tagname (dynamically) 2"
6254 for not compiled with gcc.
6255 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6256 backtrace when compiled with gcc.
beb998c6 6257 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6258 than always return success.
6259
6260Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6261
6262 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6263
6264Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6265
6266 * gdb.base/structs.exp: Undo last change.
6267
6268Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6269
6270 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6271 encapsulate all the steps/nexts done during self test, starting
6272 at main, and makes them less sensitive to optimization issues.
6273 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6274 signal handler" test.
6275 * gdb.threads/pthreads.exp: Only run this for native configs.
6276 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6277 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6278 tests.
6279 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6280 for "runto test_calls(void)" test.
beb998c6 6281
c906108c
SS
6282Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6283
6284 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6285 and don't expect address info in breakpoint confirmations.
6286
6287Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6288
6289 * gdb.base/list.exp (test_forward_search): Increase timeout
6290 temporarily by 60 seconds for searching extremely long line,
6291 and then reset to old value when done. Increase expect input
6292 buffer to 10000.
6293
6294Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6295
6296 * gdb.base/list.exp (test_forward_search): Fix to handle very
6297 long source line without overflowing expect's input buffer.
6298
6299Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6300
6301 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6302 "buffer_full".
6303
6304 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6305 "buffer_full".
6306
6307 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6308 "buffer_full".
6309
6310 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6311 "buffer_full".
6312
6313Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6314
6315 * configure.in (configdirs): Add gdb.threads.
6316 * configure: Regenerated with autoconf.
6317 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6318 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6319 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6320
c906108c
SS
6321Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6322
6323 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6324
6325Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6326
6327 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6328 each signal's status in the output of "handle all print".
6329 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6330 the \r\n sequence that immediately precedes the gdb prompt.
6331 * gdb.base/a1-selftest.exp: Save original timeout and restore
6332 after test.
6333
6334Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6335
6336 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6337 symbol.
6338
6339Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6340
6341 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6342
6343Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6344
6345 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6346 timeout by 60 seconds.
6347
6348Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6349
6350 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6351 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6352 error return.
6353
6354Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6355
6356 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6357 gdb initialization, also report how long dejagnu waited. Restore
6358 old timeout before doing error return. Temporarily increase timeout
6359 by 3 minutes to allow for slow startups over heavy NFS use.
6360
6361Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6362
6363 * lib/gdb.exp: Report timeout value for verbosity level 2.
6364 * config/gdbserver.exp: Ditto.
6365 * config/hppro.exp: Ditto.
6366 * config/mips-gdb.exp: Ditto.
6367 * config/monitor.exp: Ditto.
6368 * config/netware.exp: Ditto.
6369 * config/sim-gdb.exp: Ditto.
6370 * config/slite-gdb.exp: Ditto.
6371 * config/udi-gdb.exp: Ditto.
6372 * config/unix-gdb.exp: Ditto.
6373 * config/vx-gdb.exp: Ditto.
6374 * gdb.base/a1-selftest.exp: Ditto.
6375 * gdb.base/a2-run.exp: Ditto.
6376 * gdb.base/break.exp: Ditto.
6377 * gdb.base/corefile.exp: Ditto.
6378 * gdb.base/list.exp: Ditto.
6379 * gdb.base/recurse.exp: Ditto.
6380 * gdb.base/scope.exp: Ditto.
6381 * gdb.base/signals.exp: Ditto.
6382
6383Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6384
6385 * gdb.threads/Makefile.in (docdir): Removed.
6386
6387Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6388
6389 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6390 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6391 @srcdir@.
beb998c6 6392 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6393 autoconf 2.5 or higher.
6394 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6395
6396Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6397
6398 * configure: Regenerated.
6399 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6400 avoid name clashes with SunOS headers.
6401
6402Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6403
6404 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6405
6406Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6407
6408 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6409 prototype information ends up in the compiler info file.
6410
6411Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6412
6413 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6414 attempting to regenerate it. Eliminate use of a temporary file
6415 and just generate the info file directly. Source it immediately,
6416 for consistency of use.
6417 * gdb.base/corefile.exp: Ditto
6418 * gdb.base/exprs.exp: Ditto.
6419 * gdb.base/funcargs.exp: Ditto.
6420 * gdb.base/langs.exp: Ditto.
6421 * gdb.base/list.exp: Ditto.
6422 * gdb.base/mips_pro.exp: Ditto.
6423 * gdb.base/nodebug.exp: Ditto.
6424 * gdb.base/opaque.exp: Ditto.
6425 * gdb.base/ptype.exp: Ditto.
6426 * gdb.base/scope.exp: Ditto.
6427 * gdb.base/setvar.exp: Ditto.
6428 * gdb.base/signals.exp: Ditto.
6429 * gdb.base/whatis.exp: Ditto.
6430 * gdb.c++/templates.exp: Ditto.
6431 * gdb.c++/virtfunc.exp: Ditto.
6432 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6433 whether or not to add -lstdc++ to the compile command line args.
6434
6435Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6436
6437 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6438 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6439 Increase timeout, a lot of single stepping might be needed if the
6440 target has no hardware watchpoints.
6441
6442Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6443
6444 * gdb.base/break.exp: Ignore compiler warnings when compiling
6445 break.c.
6446 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6447 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6448 from remote-sim.
6449 * gdb.base/exprs.exp: Add h8300 xfails.
6450 * gdb.base/funcargs.exp: Likewise.
6451 * gdb.base/nodebug.exp: Likewise.
6452 * gdb.base/printcmds.exp: Likewise.
6453 * gdb.base/ptype.exp: Likewise.
6454 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6455 h8300 xfails.
beb998c6 6456 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6457 on the h8300.
6458 * gdb.base/funcargs.c: Explicitly make last constant argument to
6459 call_after_alloca_subr an unsigned long type.
6460 * gdb.base/return.c: Include stdio.h.
6461
6462Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6463
6464 * config/abug.exp: New file for the older Motorola Bug monitor
6465 that runs on the mvme13x series VME boards.
6466 * config/monitor.exp: Use the new config array for target settings
6467 if they exist.
6468
6469Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6470
6471 * sim-gdb.exp: Make the SH simulator allocate less space when
6472 it is targeted.
6473
6474Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6475
6476 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6477 test.
6478
6479Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6480
6481 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6482 "rs6000-*-*" for "list function in include file" when gcc compiled.
6483 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6484 for "p ctable1[120]".
6485 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6486 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6487 Remove setup_xfail for "rs6000-*-*" for
6488 "print 'scope0.c'::filelocal before run".
6489 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6490 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6491 since some compilers don't allow both options to be given
6492 on the same command line. Create object file and move it.
beb998c6 6493
c906108c
SS
6494Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6495
6496 * gdb.base/corefile.exp: Always regenerate the core file, since
6497 we always regenerate the coremaker program. Detect special case
6498 where registers cannot be read from core file.
beb998c6 6499
c906108c
SS
6500Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6501
6502 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6503 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6504 * gdb.c++/templates.exp: Only match on basename of file since
6505 some formats like xcoff don't encode directory information.
6506 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6507 and rs6000 AIX xcoff targets.
6508 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6509 * configure: Regenerate.
6510 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6511 here, rather than in distclean.
beb998c6 6512
c906108c
SS
6513Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6514
6515 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6516 defined, and use it to compile the test case with -O2. The
6517 native compilation still uses no optimization.
6518 * gdb.base/mips_pro.c: Remove inline assembly code since
6519 it is compiled PIC by default, which results in assembler
6520 warnings that make the testsuite think the compilation
6521 was unsuccessful.
6522
6523Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6524
6525 * gdb.c++/misc.exp: Add note to message for
6526 "print s.a for foo struct" that this is a known gcc 2.7.2
6527 and earlier bug.
6528
6529Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6530
6531 * gdb.base/break.exp: Fix pattern for matching "Delete all
6532 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6533 setup_xfail for deleting all breakpoints test. Fix various
6534 timeout messages to include "(timeout)".
6535 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6536 for "p t_float_values2(3.14159,float_val2)".
6537 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6538 for "continue to call2g" when gcc compiled.
6539 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6540 "up to foo in langs.exp", "show language at foo in langs.exp",
6541 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6542 and "show language at fsub in langs.exp".
6543 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6544 "list line 1 in include file", "list message for lines past EOF",
6545 "list function in include file", "list list0.h:foo", and
6546 "list filename:function; nonexistant function".
6547 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6548 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6549 and "ptype t_char_array" to be for native cc only.
beb998c6 6550
c906108c
SS
6551Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6552
beb998c6 6553 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6554 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6555 "print func2::coremaker_local", and "backtrace in corefile.exp".
6556
6557Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6558
6559 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6560 "bt in signals.exp". This problem only appears when running
6561 the testsuite, and then only intermittently.
6562
6563Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6564
6565 * gdb.base/return.exp (return_tests): Differentiate between
6566 two tests of continuing.
6567
6568Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6569
6570 * */Makefile.in (maintainer-clean): Remove config.log.
6571 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6572 * gdb.c++/Makefile.in (PROGS): Add inherit.
6573 (clean): Remove *.ci.
6574
6575Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6576
6577 * gdb.c++/misc.cc: Add test code from Mike Stump.
6578 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6579
6580Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6581
6582 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6583 to "alpha-*-osf2*" and add comment.
6584 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6585 setup_xfail for "step over execarg initialization" and
6586 "step over corearg initialization".
6587 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6588 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6589 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6590 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6591 "print func2::coremaker_local", and "backtrace in corefile.exp".
6592 * gdb.base/signals.exp: Build and source signals.ci.
6593 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6594 to be for gcc only.
6595 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6596
c906108c
SS
6597Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6598
6599 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6600 Feb 3 procfs.c change.
6601
6602Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6603
6604 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6605
6606Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6607
6608 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6609 from dejagnu's apparent default of 10 seconds, which gives random
6610 results when running the tests over NFS on moderately loaded systems.
6611 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6612
6613Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6614
6615 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6616 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6617 result reports.
6618
6619Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6620
6621 * configure.in (CY_AC_PATH_TCLH): Remove.
6622 * configure: Regenerate.
6623
6624Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6625
6626 * gdb.c++/Makefile.in (clean): Add missing '{'.
6627
6628Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6629
6630 * lib/gdb.exp: Provide a default value for noinferior.
6631
6632 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6633 Load libgloss.exp.
6634
6635Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6636
6637 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6638 the executable, not the .o to run the tests from.
6639
6640Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6641
6642 * gdb.base/break.exp: Don't test for program exit or exit status
6643 if $noresults if nonzero.
6644 * gdb.base/langs.exp: Likewise.
6645 * gdb.base/watchpoint.exp: Likewise.
6646
6647 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6648 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6649 trying to compile the testcase.
6650
6651Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6652
6653 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6654 * gdb.base/signals.exp (continue to handler): Likewise.
6655
6656Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6657
6658 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6659
6660 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6661
6662Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6663
6664 * gdb.base/corefile.exp: Recognize "not found" as failure
6665 when trying to determine if a core file was generated.
6666 If no core file was generate the first time, try again without
6667 the ulimit -c to work around braindamaged shells.
6668
6669Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6670
6671 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6672 [] tests with "test" and enclose string in quotes.
6673 * gdb.stabs/configure: Rebuild
beb998c6 6674
c906108c
SS
6675Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6676
6677 Changes in sync with expect:
6678 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6679 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6680 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6681 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6682 argument to AC_REQUIRE.
6683 * configure: Regenerated.
6684
6685Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6686
6687 * gdb.base/corefile.exp: When generating a core, discard any
6688 error messages about ulimit not found and the "core dumped"
6689 message from the shell that runs the coredumper.
6690
6691Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6692
6693 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6694
6695 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6696 which sed script to run. Expect failure for v_comb test
6697 on PA targets too.
beb998c6 6698
c906108c
SS
6699Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6700
6701 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6702 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6703
6704Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6705
6706 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6707 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6708 "sparc-sun-solaris*" xfails for "p v_comb".
6709 * lib/gdb.exp (default_gdb_start): Fix typo.
6710 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6711 messages to not include the full program name that caused
6712 the core dump since some systems (such as solaris) apparently
6713 truncate this path to about 80 characters.
6714 When generating a core file first try increasing the core file
6715 size limit to unlimited since some systems may default it to
6716 zero, and it is harmless to try it. Move the test for failing
6717 to generate a core file to where it will actually get executed.
6718 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6719 new gdb result from g++ debug info improvements and make old
6720 pattern obsolescent. Also account for size_t differences
6721 (may be int or long).
6722 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6723 initialization before function call is placed in the delay slot
6724 and thus appears to be skipped over by commands such as "next".
6725
6726Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6727
6728 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6729
6730Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6731
6732 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6733 input source file; fix code to compile test to deal with this
6734 convention.
6735 * gdb.c++/*.exp: Likewise.
6736
6737Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6738
6739 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6740 "bt in signals.exp".
6741
6742Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6743
6744 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6745 "step over execarg initialization" and
6746 "step over corearg initialization".
6747
6748Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6749
6750 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6751 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6752
6753Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6754
6755 From Rob Savoye (rob@poseidon.cygnus.com)
6756 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6757 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6758 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6759 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6760 configure.in}: Major reworking for autoconfig.
6761 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6762 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6763 New files.
6764 * config/unix-gdb.exp: Make GDB global.
6765 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6766 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6767 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6768 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6769 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6770 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6771 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6772 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6773 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6774 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6775 pr-8136.exp, result.exp, string.exp, tuples.exp},
6776 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6777 to returns as necessary, arrange for test to compile own testcase
6778 executable.
6779 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6780
c906108c
SS
6781Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6782
6783 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6784 clear_xfail at end of test which might not call either pass or fail.
6785 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6786 "backtrace through signal handler".
6787
6788Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6789
6790 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6791 continuing from a job control stop signal.
6792 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6793
6794Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6795
6796 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6797 * gdb.base/corefile.exp: Likewise.
6798 * gdb.base/funcargs.exp: Likewise.
6799
6800Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6801
6802 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6803 * config/monitor.exp: Add support for setting baud rate.
6804
6805Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6806
6807 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6808 i*86-*-linux* xfails for "backtrace through signal handler".
6809 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6810 "print func2::coremaker_local".
6811 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6812 alpha-dec-osf2* xfail for
6813 "delete all breakpoints when none".
6814
6815Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6816
6817 * gdb.base/break.exp: Change test that deletes all breakpoints
6818 when no user breakpoints are installed. A post 4.15 change
6819 causes gdb to no longer prompt in this case.
6820
6821Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6822
6823 * gdb.base/return.exp (return_tests): Change xfail for test
6824 "correct value returned double test" to stop xfailing at
6825 Solaris 2.5. Apparently the bug has been fixed.
6826
6827Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6828
6829 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6830 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6831
6832Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6833
6834 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6835 * gdb.disasm/hppa.s: Corresponding changes.
6836
6837Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6838
6839 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6840 makefile fragment.
6841 * config/mt-hpux: Deleted.
6842
6843Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6844
beb998c6 6845 * Many files: When warning about suppressed tests due to a
c906108c
SS
6846 nonexistant test binary, avoid incrementing the warning count.
6847
6848Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6849
6850 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6851
c906108c
SS
6852Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6853
6854 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6855 "sparc-*-solaris2*".
6856
6857Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6858
6859 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6860 Add global and local variables and initialize them.
6861 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6862 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6863 extracts the file name and terminating signal from the core file.
6864 * TODO: Remove note about tests for correct mapping of corefile.
6865 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6866 from optimizing it away.
6867 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6868 handles common blocks.
6869
6870Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6871
6872 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6873 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6874
6875Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6876
6877 * Makefile.in (maintainer-clean): New target, synonym for
6878 realclean.
6879 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6880 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6881 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6882 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6883 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6884 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6885
6886Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6887
6888 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6889 xfails when not gcc compiled for "print foo::funclocal".
6890 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6891 "print foo::funclocal at foo",
6892 "print 'scope1.c'::foo::funclocal at foo",
6893 "print foo::funclocal_bss at foo",
6894 "print 'scope1.c'::foo::funclocal_bss at foo",
6895 "print foo::funclocal_ro at foo",
6896 "print 'scope1.c'::foo::funclocal_ro at foo",
6897 "print bar::funclocal at foo" and
6898 "print 'scope1.c'::bar::funclocal at foo".
6899 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6900 gcc compiled for "print foo::funclocal at bar".
6901 Expand all messages to ensure that they identify that
6902 the test is at bar().
6903 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6904 gcc compiled for:
6905 "ptype on opaque struct pointer (statically)",
6906 "ptype on opaque struct tagname (statically)",
6907 "ptype on opaque struct pointer (dynamically) 1",
6908 "ptype on opaque struct tagname (dynamically) 1",
6909 "ptype on opaque struct pointer (dynamically) 2" and
6910 "ptype on opaque struct tagname (dynamically) 2
6911 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6912 gcc compiled for:
6913 "p datalocal"
6914 "whatis datalocal",
6915 "ptype datalocal",
6916 "p bsslocal",
6917 "whatis bsslocal", and
6918 "ptype bsslocal".
6919 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6920 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6921 when not gcc compiled.
6922 * gdb.base/funcargs.exp (float_and_integral_args): Add
6923 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6924 compiled.
6925 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6926 "backtrace from call6a" when not gcc compiled.
6927 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6928 "backtrace from call7a" when not gcc compiled.
6929 * gdb.base/callfuncs.exp (do_function_calls):
6930 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6931 "p t_char_array_values(char_array_val2,char_array_val1)",
6932 "p t_char_array_values(char_array_val1,char_array_val2)",
6933 "p t_char_array_values("carray 1","carray 2")",
6934 "p t_char_array_values("carray 1",char_array_val2)",
6935 "p t_char_array_values(char_array_val1,"carray 2")",
6936 "p sum_args(1,{2})",
6937 "p sum_args(2,{2,3})",
6938 "p sum_args(3,{2,3,4})",
6939 "p sum_args(4,{2,3,4,5})"
6940 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6941 "backtrace in corefile.exp" when not gcc compiled.
6942
6943Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6944
6945 * gdb.base/signals.exp: Rewrite `handle all print' test as
6946 a procedure. Accept blanks or TABs as whitespace, increase
6947 timeout and expect input buffer size for the large output
6948 from the command. Remove "i*86-*-bsdi2.0" xfail.
6949
6950Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6951
6952 * gdb.base/setvar.exp: Add new testcases for truncation when
6953 assigning invalid values to bitfields.
6954
6955Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6956
beb998c6 6957 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6958 mips-sgi-irix* xfail for
6959 "call inferior func with struct - returns char *"
6960 and fix test so that an optional (unsigned char *) cast is
6961 accepted in the result.
6962
6963Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6964
6965 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6966 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6967 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6968 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6969 that accidentally got checked in.
6970
6971Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6972
beb998c6 6973 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6974 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6975 compiled test.
6976 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6977 Add mips-sgi-irix5* xfail for not gcc compiled.
6978 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6979 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6980 "p top", "whatis top", "p middle", and "whatis middle".
6981 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6982 "whatis signed char" for not gcc compiled.
6983 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6984 "set variable signed char=-1 (-1)" and
6985 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6986 * gdb.base/funcargs.exp (float_and_integral_args):
6987 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6988 Add mips-sgi-irix* xfail when not gcc compiled for
6989 "continue to call2b".
6990 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6991 "continue to call2g".
6992 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6993 "backtrace from call6a"
6994 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6995 "backtrace from call7k".
6996 Add mips-sgi-irix5* xfail when not gcc compiled for
6997 "backtrace from call7a".
6998 (localvars_after_alloca): Fix gdb_test cmds for
6999 "print * after runto ...".
7000 Remove rs6000-*-* xfails for
7001 "print i after runto localvars_after_alloca" and
7002 "print l after runto localvars_after_alloca"
7003 for all compilers.
7004 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7005 when not compiled with gcc, for:
7006 "print signed char == (minus)",
7007 "print signed char != (minus)",
7008 "print signed char < (minus)",
7009 "print signed char > (minus)".
7010 * gdb.base/callfuncs.exp (do_function_calls):
7011 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7012 "call inferior func with struct - returns char *".
beb998c6 7013 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7014 "correct value returned double test" to include Solaris 2.4.
7015 * gdb.base/funcargs.exp (float_and_integral_args):
7016 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7017
c906108c
SS
7018Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7019
7020 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7021 enumeration bitfields if compiling with GNU C.
7022 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7023 to empty' prompt.
7024
7025Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7026
7027 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7028 test for PRO targets.
7029
7030 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7031 breakpoints in the inferior at any given time by making
7032 two groups of breakpoints for call2*, call6* and call7*
7033 tests.
7034
7035Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7036
7037 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7038 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7039 from optimizing it away.
7040 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7041 "call inferior func with struct".
7042
7043Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7044
7045 * configure.in: Only configure gdb.chill for particular targets.
7046
7047Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7048
7049 * gdb.base/Makefile.in: Add action to .c.o transformation
7050 rule that generates a .ci file for each .o file and remove
7051 explicit .c.o rules except for callfuncs.o.
7052 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7053 generates a .ci file for each .o file and remove explicit
7054 .cc.o rules.
7055 (clean): Remove *.tmp *.ci files.
7056 (EXECUTABLES): Remove templ-info.exp.
7057 * gdb.base/compiler.c: New file.
7058 * gdb.c++/compiler.cc: New file
7059 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7060 Change rs6000-*-* xfail for
7061 "print 'scope0.c'::filelocal_ro" and
7062 "print 'scope1.c'::filelocal" and
7063 "print 'scope1.c'::filelocal_bss" and
7064 "print 'scope1.c'::filelocal_ro" and
7065 "print 'scope1.c'::foo::funclocal" and
7066 "print 'scope1.c'::foo::funclocal_ro" and
7067 "print 'scope1.c'::bar::funclocal" and
7068 "print 'scope0.c'::filelocal_ro" and
7069 "print 'scope1.c'::filelocal at foo" and
7070 "print 'scope1.c'::filelocal_bss at foo" and
7071 "print 'scope1.c'::filelocal_ro at foo" and
7072 "print 'scope1.c'::foo::funclocal at foo" and
7073 "print 'scope1.c'::foo::funclocal_bss at foo" and
7074 "print 'scope1.c'::foo::funclocal_ro at foo" and
7075 "print 'scope1.c'::bar::funclocal at foo" and
7076 "print 'scope0.c'::filelocal_ro" and
7077 "print 'scope1.c'::filelocal" and
7078 "print 'scope1.c'::filelocal_bss" and
7079 "print 'scope1.c'::filelocal_ro" and
7080 "print 'scope1.c'::foo::funclocal" and
7081 "print 'scope1.c'::foo::funclocal_bss" and
7082 "print 'scope1.c'::foo::funclocal_ro" and
7083 "print 'scope1.c'::bar::funclocal" and
7084 "print 'scope1.c'::bar::funclocal_bss"
7085 to only be xfail'd when not compiled with gcc.
beb998c6 7086 Add rs6000-*-* xfail for
c906108c
SS
7087 "print 'scope0.c'::filelocal_bss before run"
7088 when compiled with gcc.
7089 (test_at_main): Add rs6000-*-* xfail for
7090 "print filelocal_ro in test_at_main"
7091 when compiled with gcc.
7092 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7093 Add rs6000-*-aix* xfail for
c906108c
SS
7094 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7095 "ptype t_char_array", not compiled with gcc.
7096 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7097 xfail for "list foo (in include file)" when gcc compiled.
7098 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7099 (integral_args): Add rs6000-*-* xfail for
7100 "run to call0a" if not compiled with gcc.
7101 (unsigned_integral_args): Add rs6000-*-* xfail for
7102 "run to call1a" if not compiled with gcc.
7103 (float_and_integral_args): Add rs6000-*-* xfail for
7104 "run to call2a" if not compiled with gcc and for
7105 "continue to call2b" for any compiler.
7106 Add rs6000-*-* xfail to
7107 "print f1 after run to call2a" for gcc compiled.
7108 (discard_and_shuffle): Add rs6000-*-* xfail for
7109 "run to call6a".
7110 (shuffle_round_robin): Add rs6000-*-* xfail for
7111 "backtrace from call7a" if not compiled with gcc.
7112 Add rs6000-*-* xfail for
7113 "backtrace from call7b" if compiled with gcc.
7114 (call_after_alloca): Add rs6000-*-* xfail for
7115 "print c in call_after_alloca" and
7116 "print s in call_after_alloca" and
7117 "backtrace from call_after_alloca_subr"
7118 if not compiled with gcc.
7119 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7120 "print c in localvars_in_indirect_call" and
7121 "print c in localvars_in_indirect_call" and
7122 "backtrace in indirectly called function" and
7123 "stepping into indirectly called function"
7124 if not compiled with gcc.
7125 (localvars_after_alloca): Add rs6000-*-* xfail for
7126 "print c after runto localvars_after_alloca" and
7127 "print s after runto localvars_after_alloca" and
7128 "print i after runto localvars_after_alloca" and
7129 "print l after runto localvars_after_alloca"
7130 for all compilers.
7131 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7132 than whatis-info.exp.
7133 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7134 than opaque-info.exp.
7135 Setup rs6000-*-* xfail for
beb998c6 7136 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7137 "ptype on opaque struct pointer (dynamically)" when
7138 not compiled with gcc.
7139 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7140 rather than callf-info.exp.
7141 (do_function_calls): Add clear_xfail for rs6000-*-* for
7142 "p t_float_values2(3.14159,float_val2)". Seems to work
7143 fine there, both with xlc and gcc. Need to find out what
7144 it is doing right and fix other platforms.
7145 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7146 "call inferior func with struct - returns int",
7147 "call inferior func with struct - returns long",
7148 "call inferior func with struct - returns float",
7149 "call inferior func with struct - returns double",
7150 "call inferior func with struct - returns char *",
7151 but only if not gcc compiled (presumes xlc compiled).
7152 Change rs6000-*-* xfails for
7153 "call inferior func with struct - returns char" and
7154 " call inferior func with struct - returns short" to only
7155 xfail if not using gcc.
7156 (clean mostlyclean): Remove *.ci and *.tmp files.
7157 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7158 than templ-info.exp.
7159 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7160 Add rs6000-*-* xfail for "up to foo in langs.exp"
7161 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7162 when not gcc compiled.
beb998c6 7163
c906108c
SS
7164Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7165
7166 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7167 * gdb.base/corefile.exp: Likewise.
7168 * gdb.base/list.exp: Likewise.
7169 * gdb.base/scope.exp: Likewise.
7170 * gdb.base/siganls.exp: Likewise.
7171
7172 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7173 compiler output.
7174 * gdb.base/whatis.exp: Likewise.
7175
7176Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7177
7178 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7179 failure (opcode table has been fixed to match reality).
7180
7181Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7182
7183 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7184 "call inferior func with struct - returns char",
7185 "call inferior func with struct - returns short"
7186
7187 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7188 "print 'scope0.c'::filelocal at main",
7189 "print 'scope0.c'::filelocal_bss in test_at_main",
7190 "print 'scope0.c'::filelocal at foo",
7191 "print 'scope0.c'::filelocal_bss in test_at_foo",
7192 "print 'scope0.c'::filelocal at bar",
7193 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7194
c906108c
SS
7195 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7196 in source file 1". This bug seems to have been fixed with both
7197 gcc and native cc (was native assembler bug?).
7198
7199Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7200
7201 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7202 "backtrace through signal handler" to "i*86-*-sysv4*".
7203 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7204 continue" case. Add "known SVR4 bug" to fail message.
7205 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7206 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7207 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7208 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7209 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7210 "up to foo in langs.exp", "show language at foo in
7211 langs.exp", "up to cppsub_ in langs.exp", "show
7212 language at cppsub_ in langs.exp", "up to fsub in
7213 langs.exp", and "show language at fsub in langs.exp".
7214 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7215 "bactrace in corefile.exp".
7216 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7217 "call inferior function with struct - returns float" and
7218 "call inferior function with struct - returns double".
beb998c6 7219
c906108c
SS
7220Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7221
7222 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7223 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7224 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7225 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7226
7227Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7228
7229 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7230 (or overriden) "CHILL" macro rather then bare "gcc".
7231 Also look for ../../gcc/xgcc since that is what we will
7232 actually need, not "Makefile". Remove following assignment
7233 of CHILL to CHILL_FOR_TARGET because that results in
7234 recursive definition.
7235
7236Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7237
7238 * gdb.base/corefile.exp: Change xfail for backtrace in
7239 corefile.exp from linuxaout to all linux.
7240 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7241 cases where we miss the breakpoint at the signal handler
7242 for some reason. Setup xfail for linuxoldld/linuxaout and
7243 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7244 hitting SIGURG breakpoint.
7245 * gdb.base/signals.exp: Setup xfail for "next" acting like
7246 continue to add linuxoldld. Setup xfail for all linux for
7247 "next to handler in signals_tests_1", "backtrace in
7248 signals_tests_1", "continue to func1", "pass SIGUSR1",
7249 and continue to handler".
7250
7251Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7252
7253 * Update all FSF addresses except those in COPYING* files.
7254
7255Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7256
7257 * gdb.base/a2-run.exp: Change messages to be more explicit about
7258 the status of args, and quote binfile in results.
7259
7260Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7261
7262 * gdb.base/callfuncs.exp: Add tests for passing structs to
7263 inferior functions and return various types.
7264 * gdb.base/callfuncs.c: Add functions to receive a struct
7265 and return a member of the struct, in various types.
7266
7267Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7268
7269 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7270
7271Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7272
7273 * config/vxworks29k.exp: New file, sources vxworks.exp.
7274
7275Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7276
7277 * config/gdbremote.exp: New file. Testing framework using
7278 gdbserver.
7279
7280Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7281
7282 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7283 "call function when asleep" and "send end of file".
7284 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7285 for "backtrace in corefile.exp".
7286 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7287 for "backtrace through signal handler".
7288 * gdb.base/corefile.exp: Make sure we actually generate a core file
7289 before trying the core tests. Some systems allow the user to suppress
7290 generation of core files and default to that (linux for example).
7291 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7292 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7293
7294Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7295
7296 * gdb.threads: New directory with some crude multi-threaded
7297 gdb tests (step.exp and step2.exp).
7298 * config/mt-lynx (STEP_EXECUTABLE): Define.
7299 (THREADFLAGS): Define.
7300
7301Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7302
7303 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7304
7305 * gdb.base/signals.exp: Disable whole file for lynx until
7306 further notice.
7307
7308 * gdb.base/signals.exp: xfail test where "next" acts like
7309 "continue" for lynx.
7310
7311 * gdb.base/interrupt.exp: xfail test for calling function while
7312 inferior is asleep for lynx.
7313
7314 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7315 than one cr-lf after each command.
7316
7317Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7318
7319 * configure.in: Reinstate setting of stabsdirs variable, fix
7320 typo in setting up configdirs for native builds.
7321
7322 * gdb.base/return.exp: Fix typo in return double test.
7323 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7324 compiler from optimizing them away.
7325
7326Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7327
7328 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7329 sequences to be echo'd by gdb when using gdb_test.
7330 * gdb.chill/chexp.exp: Likewise.
7331 * gdb.fortran/exprs.exp: Likewise
7332
7333Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7334
7335 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7336 after the inferior gdb has started.
7337
7338 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7339 after each command.
7340 * gdb.base/funcargs.exp: Likewise.
7341 * gdb.base/gdbvars.exp: Likewise.
7342 * gdb.base/interrupt.exp: Likewise.
7343 * gdb.base/list.exp: Likewise.
7344 * gdb.base/watchpoint.exp: Likewise.
7345 * gdb.c++/demangle.exp: Likewise.
7346 * gdb.c++/inherit.exp: Likewise.
7347 * gdb.chill/chexp.exp: Likewise.
7348 * gdb.fortran/exprs.exp: Likewise.
7349
7350 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7351 test if we can't handle IO to/from the inferior.
7352
7353 * gdb.c++/misc.exp: Always check for a program already being
7354 started after sending a "run" command to gdb.
7355
7356 * gdb.base/twice.exp: Start with a fresh gdb.
7357
7358 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7359 only depend on gdb's expression code, not the chill runtime.
7360
7361 * gdb.base/return.c: Put return values into variables so we
7362 can have gdb print them rather than depending on the program
7363 to print them.
7364 * gdb.base/return.exp: Corresponding changes.
7365
7366 * lib/gdb.exp: Provide default value for noinferiorio.
7367 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7368 the inferior.
7369
7370 * gdb.base/break.exp: Always check for a program already being
7371 started after sending a "run" command to gdb.
7372 (text_next_with_recursion): Don't check the output from the
7373 program's printf statement. Instead just make sure the program
7374 exited.
7375
7376 * gdb.base/commands.exp: Protect tests which need arguments with
7377 $noargs conditionals.
7378
7379Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7380
7381 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7382 of structure member arrays to match gdb/valops.c:value_addr change.
7383
7384Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7385
7386 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7387 cases.
7388
7389Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7390
7391 * configure.in (configdirs): Remove gdb.chill from default list
7392 of subdirs and then add it back in only if doing a native build.
7393 The current chill compiler does not yet work in any cross build.
7394 * Revert all signal changes from Jul 6.
7395 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7396 for sh-hms targets, allowing these tests to link, with no other
7397 changes. Testing is suppressed by setting "nosignals" in site.exp.
7398
7399Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7400
7401 * configure.in (signaldirs): Define and add to configdirs for all
7402 targets except some specific ones that are known to not support signals.
7403 Also clean up formatting.
7404 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7405 (signals, sigall): Remove rules to build.
7406 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7407 Moved to new gdb.signals directory.
7408 * gdb.signals: New test directory.
7409 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7410 signals.c signals.exp}: New or moved files.
7411
7412Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7413
7414 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7415
7416Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7417
7418 * gdb.base/return.exp: Xfail `return double' test failure
7419 on at least Solaris 2.3 and handle future/past versions on
7420 a case by case basis as appropriate. Also update message
7421 to include i*86 failures.
7422
7423Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7424
7425 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7426
7427 * lib/gdb.exp: Fix comment which erroneously identified
7428 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7429 gdb_file_cmd not gdb_load).
7430 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7431
7432 * gdb.base/setvar.exp: Make test names consistent between pass and
7433 fail cases. Use gdb_test more.
7434
7435Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7436
7437 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7438
7439Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7440
7441 * gdb.base/help.exp: Fix expected help string for `show commands'.
7442
7443Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7444
7445 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7446
7447 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7448 of a text section.
7449
7450Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7451
7452 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7453 that loop eventually terminates. Fix Connection refused logic so
7454 that testsuite will expire nicely.
7455
7456Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7457
7458 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7459 config/rom68k.exp: New tcl glue for the appropriate monitors.
7460 These all just end up calling monitor.exp.
7461 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7462 refused' by retrying. Cleanup some timeout issues.
7463 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7464 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7465 callers don't have to set/restore global timeout variable.
7466
7467 * The following set of changes centralizes management of the global
7468 timeout variable. This way, it can be set in one target dependent
7469 place instead of dozens of places scattered throughout the test suite.
7470 If you need to lengthen a timeout, then you should either set timeout
7471 in one of the config/{target}.exp files, or multiply it by a factor.
7472 Setting it to an absolute value is always going to lose for some
7473 targets.
7474 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7475 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7476 * gdb.base/funcargs.exp: Don't set timeout.
7477 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7478 * gdb.base/printcmds.exp (test_print_string_constants
7479 test_print_array_constants): Don't set timeout.
7480 * gdb.base/ptype.exp: Don't set timeout.
7481 * gdb.base/recurse.exp: Don't set timeout.
7482 * gdb.base/return.exp: Don't set timeout.
7483 * gdb.base/watchpoint.exp: Don't set timeout.
7484 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7485 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7486
7487Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7488
7489 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7490
7491Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7492
7493 * lib/gdb.exp: Disable chill tests for irix5.
7494
7495Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7496
7497 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7498 each test pass or fail.
7499
7500Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7501
7502 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7503 xlc not gcc.
7504
7505Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7506
7507 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7508
7509Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7510
7511 * config/est.exp: Fix copyright and comments. Remove dead code.
7512 Use targetname, serialport and baud variables instead of fixed
7513 constants.
7514 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7515 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7516
7517Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7518
7519 * gdb.base/watchpoint.exp: Don't run
7520 test_watchpoint_triggered_in_syscall for sunos.
7521
7522Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7523
7524 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7525 they don't seem to exist. Do include stdio.h.
7526
7527Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7528
7529 * gdb.base/a1-selftest.exp: Add alpha xfail.
7530
7531Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7532
7533 * gdb.base/watchpoint.c (main): Prompt before calling read().
7534 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7535 Revise accordingly. Remove cruft about sending "123" several
7536 times, until it gets noticed. Clean up the "print buf[0]" stuff
7537 so that it passes or fails, and waits for prompts in the usual way.
7538
7539Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7540
7541 * gdb.base/recurse.exp: Fix comment.
7542
7543 * TODO: Remove item about printing variables in nodebug.exp. Add
7544 item about enabling tests which are only run on some targets.
7545
7546 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7547 fail, make test names unique, use new gdb_test convention
7548 regarding pattern, use gdb_test more, etc.).
7549
7550 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7551 fail, make test names unique, etc.).
7552
7553Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7554
7555 * gdb.base/nodebug.c: Change return type of top and middle to
7556 short.
7557 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7558 are fixed by the recent mdebugread.c changes. Allow `short ()'
7559 as type for top and middle.
7560
7561Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7562
7563 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7564 nearly as I can tell, the whole thing was an accident in Stu's
7565 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7566 to replace a send/expect pair with gdb_test, but ended up only
7567 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7568 of 30 Mar 1995 took care of it, but left this vestigial comment
7569 which I am now nuking.
7570
7571Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7572
7573 * gdb.base/break.exp: Look for different line number for
7574 breakpoint at main depending on usestubs.
7575
7576Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7577
7578 * gdb.base/list.exp: Adjust some alternate expect patterns to
7579 match recent list0.c change. Add alternate expect pattern for
7580 output from `list default lines around main' for optimizing
7581 compilers.
7582
7583Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7584
7585 * lib/gdb.exp: If nosignals is not set, set it to 0.
7586
7587Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7588
7589 * config/slite-gdb.exp: Responds to load symbol table prompt.
7590 * gdb.base/break.exp: Adjust line number, fix rerun.
7591 * gdb.base/langs0.c: Add #ifdef usestubs.
7592
7593Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7594
7595 * gdb.base/list.exp: Adjust line contents after adding new lines in
7596 list0.c. Also fix a syntax error.
7597
7598 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7599 * gdb.base/break.exp: ditto.
7600 * gdb.base/list.exp: ditto.
7601 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7602 * gdb.base/run.c: ditto.
7603 * gdb.base/list0.c: ditto.
7604 * gdb.base/funcargs.c: ditto.
7605
7606Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7607
7608 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7609 $targetname, $serialport and $baud instead of hardwired variables.
7610 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7611 target doesn't support signals.
7612
7613Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7614
7615 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7616
7617Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7618
7619 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7620 Don't rely on the value of an auto variable before it has been
7621 initialized. Use gdb_test more.
7622
7623Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7624
7625 * lib/gdb.exp (default_gdb_version): A version number must start
7626 with a digit, but other than that contains all characters up to
7627 the first whitespace character.
7628
7629Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7630
7631 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7632
7633Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7634
7635 * gdb.c++/*.exp: Warn if executable does not exist. The original
7636 reason for skipping the warning was that configure.in sometimes
7637 intentionally skipped building the executables but the tcl code
7638 had no way of knowing. That (a) was always bogus with respect to
7639 error handling, (b) is no longer true (right now there is no way
7640 to skip C++ tests).
7641
7642 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7643
7644Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7645
7646 * gdb.base/list.exp: Add expect patterns for output from
7647 SunPRO compiled executables.
7648 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7649 types.
7650
7651Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7652
7653 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7654 number (we are already testing that the correct source line text
7655 gets printed).
7656
7657 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7658 that is what is intended, but something needed to be done to get
7659 sunos4 native working again.
7660
7661 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7662
7663 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7664 apparently went with a (very) old xfail.
7665
7666Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7667
7668 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7669 runto_main is a proc in gdb.exp that will do 'step' for target use
7670 stubs.
7671 * gdb.base/exprs.exp: ditto.
7672 * gdb.base/interrupt.exp: ditto.
7673 * gdb.base/opaque.exp: ditto.
7674 * gdb.base/printcmds.exp: ditto.
7675 * gdb.base/ptype.exp: ditto.
7676 * gdb.base/scope.exp: ditto.
7677 * gdb.base/setvar.exp: ditto.
7678 * gdb.base/signals.exp: ditto.
7679 * gdb.base/twice.exp: ditto.
7680 * gdb.c++/classes.exp: ditto.
7681 * gdb.c++/inherit.exp: ditto.
7682 * gdb.c++/templates.exp: ditto.
7683 * gdb.base/break.exp: no run and hit main for stubs. Change line
7684 numbers for breakpoints and info breakpoint.
7685 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7686 breakpoint().
7687 * gdb.base/callfuncs.c: ditto.
7688 * gdb.base/exprs: ditto.
7689 * gdb.base/interrupt.c: ditto.
7690 * gdb.base/opaque0.c: ditto.
7691 * gdb.base/printcmds.c: ditto.
7692 * gdb.base/ptype.c: ditto.
7693 * gdb.base/scope0.c: ditto.
7694 * gdb.base/setvar.c: ditto.
7695 * gdb.base/signals.c: ditto.
7696 * gdb.base/twice.c: ditto.
7697 * gdb.c++/misc.cc: ditto.
7698 * gdb.c++/templates.cc: ditto.
7699
7700Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7701
7702 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7703
7704 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7705 somewhere between `read' and `main.c'. I'm pretty sure the
7706 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7707 and it isn't particularly useful.
7708
7709 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7710
7711Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7712
7713 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7714
7715Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7716
7717 * config/mt-slite: add LIBS and -nostdlib.
7718 * config/slite-gdb.exp: add this new file to support sparclite target.
7719
7720Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7721
7722 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7723
7724 * gdb.base/a2-run.exp: Change argument to istarget from
7725 "*-*-vxworks" to "*-*-vxworks*".
7726 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7727
7728Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7729
7730 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7731 will not runto main but do a 'step' to step out of breakpoint().
7732 * config/mt-slite: add -Dusestubs.
7733
7734Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7735
7736 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7737 instead of just @.
7738
7739 * gdb.base/signals.exp: Add test for "handle all print".
7740 * TODO: Remove "handle all print". Also remove item about
7741 checking copyright date (I don't like the idea of a spurious FAIL
7742 based on when we run the tests).
7743
7744 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7745 for SunOS4 (reason for failure not investigated). Remove
7746 redundant test for $binfile.
7747
7748 * gdb.base/nodebug.c (array_index): Call malloc.
7749
7750 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7751
7752Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7753
7754 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7755 conventions and slightly simplify the matching regexp.
7756
7757Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7758
7759 * gdb.base/break.exp: Update gdb_test invocation to use new
7760 convention.
7761
7762 * lib/gdb.exp: If noargs is not set, set it to 0.
7763
7764 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7765 tests unique.
7766
7767 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7768
7769Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7770
7771 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7772 one argument of type "<non-float parameter>".
7773
7774Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7775
7776 * config/rom68k.exp: New file to support Motorola IDP board.
7777 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7778 * gdb.base/break.c: Change things around so that this program
7779 doesn't depend upon args. This is necessary to make remote
7780 targets work (in general, they can't take args).
7781 * gdb.base/break.exp: Don't try to send args to program. Don't
7782 expect output. Also, replace lots of code with gdb_test.
7783
7784Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7785
7786 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7787 printing of '\'' (which is what the comment says we are testing,
7788 even though we were not), not '''.
7789 (test_integer_literals_rejected): Test that printing ''' is an error.
7790
7791 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7792 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7793 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7794 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7795 Use gdb_test not test_print_accept.
7796 * lib/gdb.exp: Remove test_print_accept.
7797
7798 * gdb.base/signals.exp (signal_tests_1): Make pass message
7799 consistent with fail message.
7800
7801 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7802 unsigned char; the bug (PR 1821) is fixed.
7803
7804 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7805
7806 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7807 successful tests--makes xfailing them work right.
7808
7809Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7810
7811 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7812 only \r\n, not .*. The test can pass .* as the last thing in
7813 $pattern if that is what it wants. In addition to providing this
7814 flexibility, this change should speed up pattern matching in cases
7815 where the pattern already ended with .* (there were a number of
7816 them). This change also helps catch bad patterns--in the old
7817 scheme the typo "char \*" instead of "char \\*" would pass. Now
7818 it is caught.
7819 * Many .exp files: Update callers.
7820
7821 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7822 clearer and does not spuriously match multiple ('s. Likewise for
7823 ) and *.
7824
7825 * gdb.base/nodebug.exp: Test ability to call a function and pass
7826 it a string (even with no debugging info).
7827
7828 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7829 "p '\'", which is the same as "p ''" once tcl gets done with
7830 quoting, to "p '\\'", which I suspect is what is intended (one
7831 backslash gets sent to GDB).
7832
7833 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7834
7835Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7836
7837 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7838 1817) was fixed literally years ago.
7839
7840Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7841
7842 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7843 test, it causes stepping out of call_after_alloca_subr with
7844 optimizing compilers.
7845 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7846 fails.
7847
7848 * gdb.c++/templates.exp: Source templ-info.exp only if
7849 the templates executable exists.
7850
7851 * gdb.c++/misc.cc (class Contains_static_instance,
7852 class Contains_nested_static_instance),
7853 gdb.c++/classes.exp (test_static_members): Test printing of
7854 a class that contains a static instance of the class.
7855
7856Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7857
7858 * gdb.base/langs2.c (cppsub_): Don't prototype.
7859 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7860 only, I believe).
7861
7862Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7863
7864 * lib/gdb.exp (skip_chill_tests): New procedure.
7865
7866 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7867
7868Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7869
7870 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7871 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7872
7873Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7874
7875 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7876
7877 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7878 disassemble 8, not 16, instructions for part 4.
7879
7880 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7881 support the latter anymore.
7882
7883 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7884 -DNO_PROTOTYPES.
7885 * gdb.base/callfuncs.c: Control use of prototypes based on
7886 NO_PROTOTYPES, not __STDC__.
7887 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7888 t_float_values2 tests if prototypes in use.
7889
7890 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7891 t_double_values): When checking differences against DELTA, check
7892 that difference is within the range (-DELTA,DELTA), not just
7893 (-infinity,DELTA).
7894
7895Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7896
7897 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7898 'file' command firts, then 'target', then 'load', this is due to gdb
7899 target set up.
7900 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7901
7902Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7903
7904 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7905 FP load/store variants.
7906 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7907
7908Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7909
7910 * gdb.base/term.exp: Do not give a warning if not native, it is
7911 not an abnormal condition.
7912
7913Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7914
7915 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7916 t_char_array".
7917
7918Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7919
7920 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7921 are getting the version number.
7922
7923 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7924 if not native, it is not an abnormal condition.
7925
7926Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7927
7928 * lib/gdb.exp: Just use "file exists", rather than undocumented
7929 dejagnu procedure "findfile".
7930
7931Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7932
7933 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7934 (LDFLAGS): Set to -Xlinker -Ur.
7935
7936 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7937 Removed, these values are set by lib/gdb.exp.
7938
7939 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7940
7941Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7942
7943 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7944 of replicating gdb startup code.
7945
7946 * config/mt-vxworks (LDFLAGS): Set to -r.
7947 (CFLAGS_FOR_TARGET): Removed.
7948
7949 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7950 (gdb) and gdb for vxworks uses (vxgdb).
7951
7952 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7953 executable is not in the tree and host != target, use sed and
7954 program_transform_name to determine the gdb name used by the
7955 target.
7956
7957 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7958 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7959
7960Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7961
7962 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7963 floats, chars, and shorts where there are ANSI-style function
7964 definitions.
7965
7966 * gdb.base/langs.exp, gdb.base/langs*: New test.
7967 * gdb.base/Makefile.in: Build it.
7968 * TODO: Remove item about checking that C names don't get C++
7969 demangling applied; this test tests it.
7970
7971Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7972
7973 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7974 went with the const70 xfail. The xfail went away a year ago.
7975
7976 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7977
7978 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7979 for hp300.
7980
7981 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7982
7983 * gdb.base/a1-selftest.exp: Don't run on hp300.
7984
7985Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7986
7987 * Makefile.in (site.exp): Set host_alias and target_alias as well
7988 as host_triplet and target_triplet.
7989
7990Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7991
7992 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7993
7994 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7995 places as other ecoff systems).
7996
7997 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7998 ultrix.
7999
8000Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8001
8002 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8003 remove them.
8004 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8005 variable and "variable" in addition to "data variable".
8006 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8007
8008 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8009 2.
8010 * gdb.base/list1.c (long_line): Add additional statement at start
8011 of function.
8012 * gdb.base/list.exp (test_forward_search): Update line number to
8013 reflect new statement.
8014
8015Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8016
8017 * gdb.base/signals.exp: Reinitialize searched source directories
8018 after gdb_start call.
8019
8020Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8021
8022 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8023 * gdb.stabs/Makefile.in: Likewise.
8024
8025 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8026 change. Instead split the tests into smaller pieces.
8027 * gdb.disasm/hppa.s: Corresponding changes.
8028
8029Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8030
8031 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8032 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8033
8034 * gdb.base/funcargs.exp: Modify many tests so that every test
8035 either passes or fails. Make some test names unique.
8036
8037Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8038
8039 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8040 Call stty to set interrupt character.
8041
8042 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8043 for HP assembler versus GNU assembler based on actual behavior of
8044 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8045
8046 * TODO: Suggest a few more stepping tests.
8047
8048Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8049
8050 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8051 restart GDB for h8300 after a continue.
8052 (return): Add pattern to match a29k-udi behavior.
8053 * gdb.base/nodebug.exp: Remove obsolete comment.
8054 * gdb.base/regs.exp: New file, testing of register displays.
8055 * gdb.base/return.exp: Fix typo in reference to $objdir.
8056 * gdb.base/whatis.exp: Always start with a fresh GDB.
8057
8058Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8059
8060 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8061 higher, these tests generate a lot of output.
8062
8063Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8064
8065 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8066 code following the catch silently ignored some errors; without the
8067 catch they should be thrown like any other tcl error. Also, the
8068 catch used "" instead of {} which meant all the callers who wanted
8069 to include one of the characters "[]$ had to quote it an extra time.
8070 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8071 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8072 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8073 Remove extra quoting.
8074
8075Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8076
8077 * gdb.base/commands.exp: Make test names unique; every test either
8078 passes or fails. Update some comments.
8079
8080 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8081
8082Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8083
8084 The following fixes a FAIL caused by the fact that the alpha stabs
8085 configuration didn't use the ".if alpha" code in weird.def.
8086 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8087 bit pointer, so the 32 bit version works even on the alpha.
8088 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8089 Remove the stuff which allowed us to have separate versions for
8090 alpha and everything else.
8091
8092 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8093 regexp which "info func operator\[\](" is supposed to match. Fix
8094 string to send to GDB. Note that GDB still doesn't work right. Add a
8095 new test for "info func .perator\[\](" which GDB does handle correctly.
8096
8097 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8098
8099Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8100
8101 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8102 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8103 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8104 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8105 it makes the tests harder to understand and confuses test-o-matic.
8106 The preferred style is that each test provides a PASS or a FAIL,
8107 and has a unique message (e.g. "continue #54" not just "continue")
8108 which is the same for the pass and the fail.
8109 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8110 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8111 to lib/gdb.exp.
8112 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8113 prt_accept which was basically the same thing. Likewise for
8114 test_print_reject and prt_reject.
8115 * lib/gdb.exp (test_print_reject): Add some more error message
8116 patterns to match from the former printcmds.exp (prt_reject).
8117 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8118 One defect of the passcount stuff is that some of it failed to
8119 report XPASS where appropriate.
8120 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8121 stuff before and after arg in expected pattern.
8122 (test_paddr_operator_functions): Re-do test without print_addr_of;
8123 this is the only test which seems to want extra stuff there.
8124
8125Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8126
8127 * gdb.base/nodebug.exp: Update new tests to reflect improved
8128 wording of gdb output.
8129
8130 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8131 and "ptype" work on variables in files compiled without -g.
8132 Replaces commented out "maint print msymbol" tests.
8133
8134Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8135
8136 * gdb.base/setvar.c (dummy): Call malloc.
8137
8138 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8139 losing with the irix4 sed.
8140
8141 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8142 ALRM" on irix4.
8143
8144Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8145
8146 * TODO: Remove items about corefile.exp testing new exec-file and
8147 backtrace; both are now done. Add items about printing enums.
8148
8149Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8150
8151 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8152 "get signal $thissig" test fails.
8153
8154 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8155
8156Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8157
8158 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8159 compiler warning with dec alpha compiler.
8160
8161 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8162 extra \n from gdb_test call (this explains why the prompt test
8163 that I removed yesterday was there).
8164 (user_defined_command_test): Remove extra \n and prompt test.
8165
8166 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8167 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8168 doesn't exist.
8169 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8170 Also remove alpha workaround, which turns out to be because
8171 SIGABRT == SIGLOST.
8172
8173 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8174
8175 * gdb.base/help.exp: Don't test "help show".
8176
8177Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8178
8179 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8180 "set print address" is on.
8181 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8182 pass prompt to gdb_test; gdb_test already looks for the prompt.
8183
8184 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8185
8186 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8187 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8188 was to make sure that gdb can read a core file. But (a) the "read
8189 the corefile" part didn't make it to a1-selftest.exp, we just
8190 delete the corefile after creating it, and (b) we test reading
8191 corefiles in corefile.exp anyway. Also, this test left around a
8192 xgdb process on Solaris.
8193
8194 * gdb.base/corefile.exp: Also test backtrace.
8195
8196Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8197
8198 * gdb.base/commands.exp: Test a simple user defined command with
8199 arguments and if/while statements; verify the full user command is
8200 printed by "show user".
8201
8202 * gdb.base/commands.exp: Test if/while commands as part of a
8203 breakpoint command list; verify they appear in breakpoint
8204 information.
8205
8206Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8207
8208 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8209 than by dividing by zero.
8210
8211Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8212
8213 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8214 performing an inferior call with watchpoints enabled.
8215 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8216 call.
8217
8218Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8219
8220 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8221 of "file" command.
8222
8223 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8224 Add additional pattern for when "int operator int(void);" appears
8225 in a different order.
8226
8227Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8228
8229 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8230
8231 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8232 and "signal" with ".*".
8233
8234Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8235
8236 * TODO: Add note about "handle all nostop".
8237
8238 * gdb.base/{sigall.c, sigall.exp}: New test.
8239 * gdb.base/Makefile.in: Add it.
8240
8241Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8242
8243 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8244 when invoking GDB, suppresses any windowing interface.
8245
8246Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8247
8248 * config/sim-gdb: New file, simulator testing support.
8249
8250Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8251
8252 * gdb.base/interrupt.exp: Test calling func1 twice.
8253
8254Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8255
8256 * gdb.base/list.exp (test_forward_search): Set timeout higher
8257 when we'll be getting lots of output from gdb.
8258
8259 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8260 "init_malloc" to after the expect statement. Run it if that
8261 regexp is taken, but also for two others which happen if source
8262 cannot be found.
8263
8264Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8265
8266 * gdb.base/printcmds.exp: New test, for printing register before
8267 program is running.
8268
8269Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8270
8271 * gdb.base/list.exp: Correct some alternate expect patterns
8272 to reflect changes in list1.c.
8273
8274Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8275
8276 * TODO: Add item regarding large frames.
8277
8278 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8279
8280 * TODO: Remove item about enabling return.exp; it
8281 is enabled. Suggest a few more "return" tests.
8282
8283Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8284
8285 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8286 anonymous unions.
8287
8288Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8289
8290 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8291 and pr-5646.o, so "make" is the same as "make all", not "make
8292 pr-4975.o".
8293
8294Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8295
8296 * gdb.base/list.exp: Adjust expectations to reflect changes in
8297 list1.c.
8298 (test_forward_search): New test proc.
8299 * gdb.base/list1.c (long_line): New function, has long source line.
8300
8301Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8302
8303 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8304 additional line of code that was added.
8305
8306Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8307
8308 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8309 tests so as not to overflow expect's input buffers.
8310 * gdb.disasm/hppa.exp: Corresponding changes.
8311
8312Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8313
8314 Beginnings of template debugging tests.
8315 * gdb.c++/templ-info.cc: New file to test for template
8316 debugging capability of the compiler.
8317 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8318 templ-info.cc.
8319 * gdb.c++/templates.cc: Add explicit template instantiations
8320 to enable compiling with -fno-implicit-templates. Add destructor
8321 and 'value' method to T5 class for template tests.
8322 * gdb.c++/templates.exp: Add testcases for printing of template
8323 types, setting breakpoints on template methods and calling a
beb998c6 8324 template method.
c906108c
SS
8325
8326Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8327
8328 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8329 branch target since some assemblers (gas-2.5) may emit a
8330 relocation for the branch instead of resolving it in the
8331 assembler.
8332
8333Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8334
8335 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8336 through signal handler.
8337
8338Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8339
8340 * configure.in (*-*-netware): Use config/mt-netware.
8341
8342 * config/mt-netware: New file.
8343 * config/mt-i386-netware: Removed, separate configs for different
8344 netware architectures are no longer needed now that we have
8345 --with-headers.
8346
8347Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8348
8349 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8350 by the recent changes to use ANSI C arithmetic conversions.
8351
8352Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8353
8354 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8355 bug involving using inferior_pid to figure out whether to select a
8356 frame.
8357
8358Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8359
8360 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8361 match the current disassembler output.
8362
8363Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8364
8365 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8366 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8367 types, expect "int" as type of integer values (for now).
8368
8369Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8370
8371 * gdb.base/commands.exp: New tests for if/while commands.
8372
8373Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8374
8375 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8376 by .*, since hex values have different syntax in Chill mode.
8377
8378Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8379
8380 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8381 linefeed from expect pattern for repeated types with indices > 9.
8382
8383Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8384
8385 First part of Fortran test suite.
8386 * gdb.fortran: New directory.
8387 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8388
8389Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8390
8391 * gdb.base/default.exp: Update expect pattern for load command
8392 without arguments.
8393
8394Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8395
8396 * configure.in: Change i386 to i[345]86.
8397 * gdb.base/configure.in: Likewise.
8398 * gdb.c++/configure.in: Likewise.
8399 * gdb.chill/configure.in: Likewise.
8400
8401Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8402
8403 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8404 patterns, since that is not a valid context for comments.
8405
8406Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8407
8408 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8409 repeated types and repeated types with indices > 9.
8410
8411Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8412
8413 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8414 2417; old bug has been fixed.
8415
8416Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8417
8418 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8419 send the newline ourselves instead of assuming gdb_test will do
8420 so when passed an empty input string.
8421
8422 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8423 stabs testcode.
8424
8425Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8426
8427 * lib/gdb.exp (gdb_test): Don't send anything if the first
8428 argument is an empty string. This makes cases where we want to
8429 match output that is already in expect's buffers (for example,
8430 matching a breakpoint after gdb_run_cmd has been called) work
8431 reliably.
8432
8433Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8434
8435 * config/netware.exp: New file.
8436
8437Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8438
8439 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8440 the -B and -L prefixes so we can find the debugging stub.
8441
8442 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8443 there and we are using the gcc from the tree.
8444
8445 * gdb.base/types.c: Removed.
8446
8447 * gdb.base/configure.in: Look for makefile fragments in ../config.
8448 Recognize i386-*-netware.
8449 * gdb.c++/configure.in: Likewise.
8450
8451Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8452
8453 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8454 the correct TCL syntax.
8455
8456Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8457
8458 * gdb.base/opaque.exp: use runto instead of messing around with
8459 breakpoints. Simplify by using gdb_test.
8460
8461 * gdb.base/bitfields.exp: restart between tests on netware targets
8462 because breakpoints aren't relocated after target death. Run
8463 processes to completion.
8464
8465 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8466
8467Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8468
8469 * Makefile.in: Remove extra tabs that confuse some versions
8470 of "make". Use the newly built gdb to test with by default,
8471 rather than the first one in the tester's search path.
8472
8473Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8474
8475 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8476
8477 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8478 condition help.
8479
8480Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8481
8482 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8483
8484 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8485 running.
8486 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8487 * gdb.base/funcargs.exp: Likewise.
8488
8489 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8490 * gdb.base/funcargs.exp: Likewise.
8491
8492 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8493 message is "".
8494
8495Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8496
8497 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8498 return,signals,twice}.exp: Handle non-existant binaries
8499 consistantly.
8500
8501 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8502 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8503 might testing a cross development system.
8504
8505Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8506
8507 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8508 runtest script is relative to ${srcdir}, not ${rootdir}.
8509
8510Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8511
8512 * gdb.base/signals.exp: Allow for optionality of breakpoint
8513 address.
8514
8515Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8516
8517 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8518
8519Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8520
8521 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8522 for size_t definition.
8523 * gdb.c++/templates.cc: Likewise
8524
8525 * config/mt-i386-netware: New file.
8526
8527 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8528 defined.
8529
8530 * gdb.base/Makefile.in: Added support for systems that name core
8531 files by appending "core" to the program name.
8532 * gdb.base/a1-selftest.exp: Likewise.
8533
8534Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8535
8536 * gdb.base/return.exp: Add comment and message for `return double'
8537 test failure on Sparc Solaris.
8538
8539Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8540
8541 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8542
8543Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8544
8545 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8546 from optimizing them away.
8547 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8548 patterns to include default constructors and assignment operators,
8549 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8550 character in the output of the virtual base pointer.
8551
8552Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8553
8554 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8555 expression match in print_addr_of to avoid unintented matches.
8556 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8557 versions up to 2.5.8.
8558
8559Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8560
8561 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8562 included file to run under newer versions of expect.
8563 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8564 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8565 Remove xfail for the virtual table of BDDHookV.
8566
8567Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8568
8569 * lib/gdb.exp (string_to_regexp): Set a default result.
8570 (default_gdb_start): Fix misleading message.
8571
8572Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8573
8574 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8575 Remove all CC, etc definitions.
8576 * config/mt-hpux: New file.
8577 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8578 (CFLAGS, LDFLAGS): Define.
8579 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8580
8581 * Makefile.in (site.exp): Don't insert host_os, etc.
8582 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8583 (distclean): Check existence of subdir.
8584 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8585 * gdb.base/Makefile.in: General cleanup and simplification.
8586 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8587 to build executables. Use default rule to build .o files.
8588 (EXPECT, RUNTEST, CC): Fix relative pathname.
8589 (site.exp): Don't insert host_os, etc.
8590 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8591 and/or SIGUSR1 defined.
8592 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8593 * gdb.c++/Makefile.in: General cleanup and simplification.
8594 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8595 (CFLAGS): Remove.
8596 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8597
8598Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8599
8600 * gdb.base/recurse.exp: Misc changes to get tests running again
8601 after Kung's changes to the watchpoint code.
8602 * gdb.base/watchpoint.exp: Likewise.
8603
8604Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8605
8606 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8607
8608Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8609
8610 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8611 * lib/gdb.exp (default_gdb_start): Define.
8612 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8613 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8614 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8615 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8616 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8617 Don't call gdb_target_udi in between tests.
8618
8619Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8620
8621 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8622 (which was basically just a local version of the same thing). In
8623 addition to avoiding duplication, gdb_test_exact is faster.
8624 * lib/gdb.exp (gdb_test_exact): Fix typo.
8625
8626 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8627 don't give an error.
8628
8629 * gdb.base/term.exp: Call delete_breakpoints before starting.
8630
8631 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8632 (t10): Add comment.
8633
8634Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8635
8636 Reorganization of the GDB Test Suite.
8637
8638 * gdb.base: New directory, contains all the basic tests.
8639 * gdb.c++: New directory, tests specific to C++.
8640 * gdb.chill: New directory, tests specific to Chill.
8641 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8642 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8643 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8644 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8645 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8646 t30-31 to chill).
8647 * */gdbme.*: Rename to match appropriate expect scripts.
8648 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8649 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8650 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8651 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8652 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8653 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8654 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8655 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8656 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8657 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8658 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8659 gdb.c++/virtfunc.cc: New names of C++ files.
8660 * gdb.chill/chillvars.ch: New name of Chill file.
8661 * gdb.base/configure.in, gdb.c++/configure.in,
8662 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8663 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8664 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8665 * configure.in (configdirs): Update to reflect directory changes.
8666 (target_abbrev): No longer define for any configuration.
8667 * Makefile.in: Cosmetic improvements to header comments.
8668
8669Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8670
8671 Various changes to gdb.t31:
8672
8673 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8674 * gdbme.ch: Make all key-words and predefineds be upper-case.
8675 * chillvars.exp: Expect key-words and predefinds in upper-case.
8676
8677 * chillvars.exp: Use gdb_test_exact many places.
8678 Change expected output for arrays (which now includes index labels).
8679
8680 * pr-5020.exp, gdme.ch (module PR_5020):
8681 New test, for PR-5020.
8682
8683Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8684
8685 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8686 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8687
8688Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8689
8690 * Makefile.in: Fix bit-rot in definitions of CHILL,
8691 CHILL_FOR_TARGET and Chill_LIB.
8692 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8693 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8694 CHILL, and CHILL_LIB.
8695
8696Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8697
8698 * Revert the previous changes. Please see Rob's directory
8699 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8700
8701Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8702
8703 * Makefile.in, configure.in, config/mips-gdb.exp,
8704 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8705 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8706 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8707 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8708 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8709 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8710 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8711 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8712 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8713 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8714 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8715 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8716 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8717 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8718 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8719 changes from 94Q1.
8720
8721Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8722
8723 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8724 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8725 Rob's new testing fragments.
8726
8727Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8728
8729 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8730 lib/gdb.exp: Replace error proc calls with perror.
8731
8732Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8733
8734 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8735 version also, match on casted version strings, and match on
8736 gdb startup case where the line numbers might be messed up.
8737
8738Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8739
8740 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8741 (CFLAGS): Delete it from here.
8742
8743Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8744
8745 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8746
8747Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8748
8749 * Makefile.in (RUNTEST): Default to just "runtest".
8750
8751Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8752
8753 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8754 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8755 the code has been restructured.
8756
8757Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8758
8759 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8760 \n, not just one of each.
8761
8762 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8763 /bin/cc gives a warning if you do.
8764
8765Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8766
beb998c6 8767 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8768 __t10ListS_link1ZUiRCUiPT0
8769
8770Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8771
8772 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8773 on local variables in recursive functions.
8774
8775 * gdb.t07/Makefile.in: Build the new test.
8776
8777Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8778
8779 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8780 directly. Instead compare the return values from actual calls.
8781
8782Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8783
8784 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8785
8786Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8787
8788 * From Peter Schauer with minor modifications.
8789 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8790 stops in mid-line in the caller. Add xfail for returning a float
8791 value on X86 targets.
8792
8793Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8794
8795 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8796 to avoid expect lossage.
8797 (fmem_LRbug_tests): Likewise.
8798 * gdb.disasm/hppa.s: Corresponding changes.
8799
8800 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8801 conditions to work with latest dejagnu/expect.
8802
8803 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8804 expected to fail on the PA.
8805 (backtrace in call with trampolines): Explicitly require main
8806 to be frame #1 (no trampolines should show up in backtrace).
8807
8808 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8809 "continue -expect".
8810 * gdb.t06/break.exp: Likewise.
8811 * gdb.t07/watchpoint.exp: Likewise.
8812 * gdb.t13/bitfields.exp: Likewise.
8813 * gdb.t15/{funcargs,return}.exp: Likewise.
8814 * gdb.stabs/weird.exp: Likewise.
8815 * config/{mips,udi}-gdb.exp: Likewise.
8816
8817 * hppa.sed: Enclose comments within a sed command to avoid
8818 losing with the old OSF1 sed.
8819
8820Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8821
8822 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8823 sequent dynix.
8824 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8825 * gdb.t15/funcargs.exp: Conditionally step again to really
8826 finish from marker_call_with_trampolines. Handle the case where
8827 the first step from within call_with_trampolines already steps
8828 us back to main.
8829 * gdb.t15/gdbme.c: Add comment to closing brace of
8830 call_with_trampolines for funcargs.exp.
8831
8832Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8833
beb998c6 8834 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8835 Fix typo(s).
8836
8837Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8838
8839 * gdb.t07/gdbme.c: More code for watchpoint testing.
8840
8841 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8842 "Hardware watchpoint" throughout file.
8843 (test_watchpoint_triggered_in_syscall): New test.
8844 (test_complex_watchpoint): New test.
8845
8846Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8847
8848 * gdbme.c (call_with_trampolines): New function to try and step
8849 into. Tests trampoline problems on the PA.
8850
8851 * funcargs.exp (localvars_in_indirect_call): No longer expect
8852 stepping into indirect call to fail on PAs.
8853 (test_stepping_over_trampolines): New test.
8854
8855Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8856
8857 * TODO: Add suggestions for static member function tests, and
8858 completion tests.
8859
8860Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8861
8862 * TODO: Add suggestions for "p/a" tests.
8863
8864 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8865 (default_gdb_exit): Replace all the hair with sending "quit" to
8866 the process with a simple close.
8867
8868Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8869
8870 * TODO: Add suggestions for shared library tests.
8871
8872Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8873
8874 * TODO: Add suggestions for x/s tests.
8875
8876Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8877
8878 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8879 "enable once", and "enable breakpoints once" with ".*".
8880
8881Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8882
8883 * TODO: Add suggestions about structure passing tests.
8884
8885Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8886
8887 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8888 the primary1 test, use work around if __GNUC__ < 2.
8889 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8890 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8891 Test for bad output rather than waiting for timeout. Issue
8892 second continue only if first continue failed.
8893
8894Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8895
8896 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8897 operator[] test with gdb_test because the old code didn't seem to
8898 be getting the quoting right with the new dejagnu.
8899
8900Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8901
8902 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8903 one from the path.
8904 * Makefile.in: Use a fresh expect if there is one, use runtest
8905 from the src tree if there is one.
beb998c6 8906
c906108c
SS
8907Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8908
8909 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8910 next over recursive call. Revise the tests from that point on
8911 (which had been skipped) to match GDB's actual (correct) output.
8912
8913 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8914 with next over a breakpoint whose condition is false.
8915
8916 * gdb.t00/help.exp: Comment out "help set print" tests just like
8917 (and for same reason as) "help set" test.
8918
8919Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8920
8921 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8922 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8923
8924Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8925
8926 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8927 necessary gdb_target_udi.
8928
8929 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8930
8931 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8932 1838 and 2417; they are fixed.
8933
8934 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8935 gdb.t03/ptype.exp (ptype structure, ptype union):
8936 Remove xfails; the test is looser than when the xfails were added.
8937
8938 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8939 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8940
8941 * gdb.t01/run.exp: Only run shell test if isnative.
8942
8943 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8944 since "run" automatically loads if necessary. Call gdb_target_udi
8945 after the "file" since "file" kills any execution target.
8946
8947 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8948 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8949 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8950 argument for UDI.
8951
8952Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8953
8954 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8955
8956 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8957
8958Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8959
8960 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8961 properly quoting regexps. This makes the second argument to
8962 demangle a fixed string, which matches the callers, instead of a
8963 shell-style pattern which is what the previous implementation
8964 used. Update some of the callers.
8965
8966Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8967
8968 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8969 (comib_nullified_tests): Fix typo.
8970 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8971 strings. No longer expected to fail.
8972
8973 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8974 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8975 strings. No longer expected to fail.
8976
8977 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8978 string. No longer expected to fail.
8979
8980Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8981
8982 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8983 No longer expected to fail.
8984
8985 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8986 string. No longer expected to fail.
8987
8988Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8989
8990 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8991 only in the names (I probably got most of them). I was even
8992 generous with some which differed in underscores in names, and
8993 probably missed a few, and I *still* was able to remove almost a
8994 third of the file with almost no impact on testsuite coverage.
8995
8996Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8997
8998 * gdb.t00/default.exp: Match udi_attach error message as well as
8999 the one from child_attach.
9000
9001 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9002
9003 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9004
9005 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9006 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9007
9008 * Move test with enums and partial symbols back to
9009 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9010 Reverts the change of 26 May 93. Per today's change to
9011 stabs.texinfo, the behavior that weird.exp was expecting was
9012 unreasonable; what is important is that the compiler+gdb get
9013 things right, which happens with a recent gcc. Also fix the test
9014 to deal with native compilers which put out the stab gdb can't
9015 deal with.
9016
9017Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9018
9019 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9020 in the names. The main thing these accomplish is to slow things down.
9021 Many more such duplicates surely remain.
9022
9023 * gdb.t00/help.exp: Comment out "help support" test just like
9024 (and for same reason as) "help set" test.
9025
9026Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9027
9028 * gdb.t06/break.exp: Remove setup_xfails for
9029 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9030 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9031 about known bug in gcc to include up through 2.5.8.
9032 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9033 well as "_vb$".
9034 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9035 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9036 with latest gcc and gdb.
9037 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9038 well as "_vb$".
9039
9040Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9041
9042 * configure.in (hppa*-*-*): Also configure and build stabs-only
9043 tests.
9044
9045Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9046
9047 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9048 * gdb.t10/configure.in (hppa*-*-*): Use it.
9049
9050Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9051
9052 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9053
9054Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9055
9056 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9057 versions prior to 1.13.5.
9058
9059Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9060
9061 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9062 the prompt is at the start of a line.
9063
9064Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9065
9066 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9067 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9068 in the copr tests now.
9069 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9070 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9071 expected to fail.
9072
9073Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9074
9075 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9076 gdb.t31/chillvars.exp, lib/gdb.exp:
9077 Tweak to run under either version of expect.
9078 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9079 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9080 * gdb.t11/list.exp: Remove extraneous whitespace.
9081
9082Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9083
9084 * gdb.t16/printcmds.exp (test_print_strings): Accept
9085 "(unsigned char *) " before the string.
9086
9087 * TODO: Add notes about printing of fancy types and GDB expressions.
9088
9089Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9090
9091 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9092 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9093 if doing mips-idt-ecoff.
c906108c
SS
9094
9095Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9096
9097 * Most .exp files: Tweak to run under either version of expect.
9098
9099Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9100
9101 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9102 xfails; I'm not sure why they are failing, but not because of PR 1806.
9103
9104Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9105
9106 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9107 defined in lib/gdb.exp.
9108
9109Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9110
9111 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9112 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9113 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9114 have to be typeless.
9115
9116Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9117
9118 * TODO: Add suggestion for copyright year test.
9119
9120Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9121
9122 * configure.in (*-*-lynxos*): Add stabs tests.
9123
9124Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9125
9126 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9127 so insert a tab before any assembler directive in column zero.
9128
9129 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9130 stores.
9131 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9132 stores.
9133 (fpu_short_memory_tests): Likewise.
9134
9135Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9136
9137 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9138 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9139 .stabs directives in comments.
9140
9141Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9142
9143 * TODO: New file, describing tests we could write.
9144 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9145
9146Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9147
9148 * gdb.t06/signals.exp: Add kludge to force re-sync.
9149
9150 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9151 to xgdb instead of gdb, get out of gdb.
9152
9153Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9154
9155 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9156 for info.
9157
9158Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9159
9160 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9161 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9162 * gdb.stabs/hppa.sed: New sed script for the PA.
9163
9164Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9165
9166 * gdb.stabs: Re-write weird.def and configuration to use sed
9167 instead of cpp. sed is portable and POSIX; cpp is neither.
9168
9169Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9170
9171 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9172
9173Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9174
9175 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9176
9177Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9178
9179 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9180 "_vb$".
9181 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9182 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9183
9184Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9185
9186 * lib/gdb.exp: Comment out code which depends on non-existent
9187 `transform' procedure.
9188
9189Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9190
9191 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9192 * lib/gdb.exp: Transform tool name.
9193 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9194 1.1's new error handling system.
9195
9196Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9197
9198 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9199
9200Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9201
9202 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9203 They made pattern matching so slow that timeouts happened on
9204 heavily loaded systems. Now any output from "show print" which
9205 gets us back to the GDB prompt is a PASS.
9206
9207Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9208
9209 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9210
9211Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9212
9213 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9214
9215 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9216 It is not from PR 3220.
9217
9218Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9219
9220 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9221 just started failing because they depended on the order the
9222 subcommands are presented, or exact docstring text. This kind of
9223 test is a pain and has minimal benefit.
9224
9225Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9226
9227 * gdb.t09/corefile.exp: At end of test, use "core" command with
9228 no arguments.
9229
9230Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9231
9232 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9233 17}/Makefile.in: Make it possible to run the testsuite with Sun
9234 make and CC = cross gcc by adding explicit build rules for .o
9235 files.
9236
9237Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9238
9239 * gdb.t15/funcargs.exp: Don't put comments on same line as
9240 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9241
c906108c
SS
9242Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9243
9244 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9245
9246Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9247
9248 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9249 * gdb.t20/inherit.exp: remove three dumplicate entries.
9250
9251Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9252
9253 * gdb.t06/break.exp: For "next over recursive call", fail on any
9254 incorrect output, not just on "factorial (value=2)".
9255
9256Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9257
9258 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9259 working now. Add an xfail if accesing a bss variable causes
9260 a memory error if the target is not yet run.
9261
9262Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9263
9264 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9265 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9266 name of __st* demangling (2 strings). Did Kung really get the
9267 more than 95 others right without testing them?
9268
9269Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9270
9271 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9272
9273Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9274
9275 * configure.in (configdirs): Add gdb.disasm
9276 * gdb.disasm: New directory for GDB disassembler tests.
9277 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9278
9279Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9280
9281 * gdb.t00/help.exp: Don't test "help set".
9282
9283 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9284 from within expect statements. None of these happen anymore and
9285 they cause regressions to be silently unnoticed.
9286
9287 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9288 messages) about known failures with gcc cygnus-2.4.5-930417.
9289
9290 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9291 comp-info.exp so it gets built if it doesn't exist.
9292
9293 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9294 it is no longer used.
9295 * gdb.t13/comp-info.c: Removed.
9296
9297Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9298
9299 * gdb.t06/signals.exp: Add xfail for sun3.
9300
9301Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9302
9303 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9304 relevant because ^C doesn't get sent but failure can be reproduced
9305 interactively).
9306
9307Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9308
9309 * gdb.stabs/alpha.mt: New configuration file for alpha.
9310 * gdb.stabs/configure.in: Use it.
9311 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9312 sharing with alpha.mt, redefine long to word via preprocessor.
9313 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9314 for alpha.
9315 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9316 native cc.
9317 * gdb.t00/teststrategy.exp: Change expect string so that we
9318 consume the `(xgdb)' from the command echo and from the gdb prompt.
9319 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9320 gdb currently compares all values as long, so this failure probably
9321 applies to any configuration where LONGEST is bigger than a target int.
9322 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9323 with gcc.
9324 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9325 to handle opaque pointers, gcc is.
9326 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9327 as first argument. Include <sys/types.h> and change all operator
9328 new definitions to use size_t.
9329 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9330 now that we use size_t.
9331
9332Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9333
9334 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9335 a long or float array cast all array members to the same type.
9336 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9337 with 64 bit longs.
9338 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9339 on alpha.
9340 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9341
9342Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9343
9344 * gdb.t24 (demangle.exp): Constructors of templates have names like
9345 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9346 section 14.6 of the ARM.
9347
9348 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9349 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9350 accomplish little and slow down the testsuite.
9351
9352 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9353 Accept spaces various places.
9354
9355Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9356
9357 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9358 with watchpoint enabled.
9359
9360 * Makefile.in: Remove definition of CC and remove the second
9361 definition of CXX (the "CXX = gcc" one remains). These definitions
9362 were causing backquotes to be expanded within backquotes, which
9363 doesn't work.
9364
9365Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9366
9367 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9368
9369Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9370
9371 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9372 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9373 by mips cc and contains no stabs entries.
9374
9375Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9376
9377 * config/vx-gdb.exp: Use fake device to load files rather than
9378 NFS.
9379 * lib/gdb.exp: New proc to do "file" command.
9380 * config/unix-gdb.exp: Use new "file" proc.
9381
9382Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9383
9384 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9385 Rework board rebooting slightly.
9386 (gdb_exit): Don't exit from the remote shell; there isn't one.
9387 * gdb.stabs/weird.exp: If a program is being debugged already,
9388 kill it.
9389 * gdb.t04/setvar.exp: Stop and restart gdb.
9390 * gdb.t05/expr.exp: Likewise.
9391 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9392 restart gdb and reload the program.
9393 * gdb.t08/opaque.exp: Likewise.
9394 * gdb.t12/scope.exp: Likewise.
9395 * gdb.t13/bitfields.exp: Likewise.
9396 * gdb.t15/funcargs.exp: Likewise.
9397 * gdb.t20/classes.exp: Likewise.
9398 * gdb.t03/ptype.exp: Increase timeout.
9399 * gdb.t16/printcmds.exp (test_print_string_constants,
9400 test_print_array_constants): Likewise.
9401 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9402 * gdb.t20/classes.exp (do_tests): Likewise.
9403 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9404
9405Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9406
9407 * gdb.stabs: Renamed *wierd* to *weird*.
9408
9409Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9410
9411 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9412 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9413
9414Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9415
9416 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9417 (do_tests): Remove xfail for whatis on one_var and two_var.
9418
9419Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9420
9421 * Makefile.in: Made cross building work better by adding
9422 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9423
9424Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9425
9426 * gdb.t15/{return.c,return.exp,Makefile.in}:
9427 New test, currently commented out.
9428
9429Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9430
9431 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9432 still running and removes the leftover named socket so GDb can do
9433 clean restarts.
9434
9435Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9436
9437 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9438 console, not GDB.
9439 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9440 cross testing works better with "make check"
9441 * config/unix-gdb: Use default procedures for exit and version.
9442 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9443 with the newest VxWorks.
9444
9445Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9446
9447 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9448 old form.
9449
9450 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9451 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9452
9453 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9454
9455 * config/unix-gdb.exp: Remove this version of gdb_exit
9456 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9457 Rob says he'll look at it when he gets back to testing boards.
9458
9459Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9460
9461 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9462 an expected fail for certain ptype commands.
9463
9464 * gdb.t20/classes.exp: Update expected results of "ptype class
9465 Base1" to account for the constructor that now appears in the type.
9466
9467Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9468
9469 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9470 disappeared from list.
9471 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9472 "alldone" proc with call to cleanup and exit.
9473 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9474 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9475 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9476 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9477 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9478 "alldone" proc with simple returns that suppress remaining
9479 tests. The alldone proc went away many months ago.
9480
9481Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9482
9483 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9484
9485 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9486
9487Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9488
9489 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9490 as vax gdb will display them.
9491
9492Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9493
9494 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9495 optimizers.
9496
9497 * scope.exp: Change "bad value for localval" messages so each one
9498 is unique.
9499
9500 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9501 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9502
9503 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9504
9505Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9506
9507 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9508 doesn't exist (due to optimization).
9509
9510Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9511
9512 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9513 contains \r because the filename is long.
9514
9515 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9516 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9517
9518Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9519
9520 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9521 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9522 Ultrix.
9523 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9524 int tests.
9525 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9526
9527Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9528
9529 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9530
9531 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9532 to match does not match the passing case but still matches the
c906108c
SS
9533 failing case.
9534
9535Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9536
9537 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9538
9539Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9540
9541 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9542 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9543 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9544 Remove various versions of gdb_exit.
9545 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9546 gdb_exit.
9547 * config/unix-gdb.exp: gdb_exit remains here, and should override
9548 the generic version, since it's doing a lot of wierd stuff that
9549 the other versions aren't. FIXME, fold it in, or abandon this
9550 version.
9551
9552Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9553
9554 * gdb.t24/demangle.exp: Add tests for PR 3220.
9555
9556Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9557
9558 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9559
9560Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9561
9562 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9563 "i386-*-*". Works for i486 as well.
9564
9565 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9566 bug, and expand domain of xfail to all SVR4 systems, since the
9567 actual problem is likely to be in generic SVR4 /proc support.
9568
9569Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9570
9571 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9572
9573Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9574
9575 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9576 xfails for other systems. Match a missing 'Continuing.' as an
9577 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9578
9579 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9580 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9581 Only issue warning for missing executables if -all option is used.
9582
9583 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9584 file if -all option is used. It's like an unpredictable XFAIL.
9585
9586Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9587
9588 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9589 for dynamically linked binaries.
9590
9591 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9592
9593Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9594
9595 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9596 to state that this is a known bug in old versions of g++.
9597
9598Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9599
9600 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9601 while waiting for `Continuing'.
9602
9603Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9604
9605 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9606 in text, data, and bss.
9607 * gdb.t10/nodebug.c: Add local and global test variables for
9608 initialized and uninitialized data.
9609
9610Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9611
9612 * config/unix-gdb.exp (gdb_exit): Add "wait".
9613
9614Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9615
9616 * gdb.t06/signals.exp: xfail the continue from the handler for all
9617 targets.
9618
9619 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9620 function with watchpoints enabled, the i386 call dummy starts with
9621 a call.
9622
9623 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9624 386 bsd names its corefiles.
9625
9626Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9627
9628 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9629 compilers don't grok it.
9630 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9631 with small octal ints rather than character constants, which
9632 are signed and might not fit if first promoted to int.
9633
9634Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9635
9636 * gdb.t09/Makefile.in (clean): Remove corefile.
9637
9638Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9639
9640 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9641
9642Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9643 and Jim Kingdon (kingdon@cygnus.com)
9644
9645 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9646 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9647 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9648
9649Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9650
9651 * gdb.t17/interrupt.exp: Add xfail for hppa.
9652
9653Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9654
9655 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9656 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9657 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9658 to determine signed-ness of bitfields and use the result to setup
9659 the xfail.
9660 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9661 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9662 call line is reached if necessary.
9663
9664Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9665
9666 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9667
9668Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9669
9670 * gdb.t06/break.exp: Also test `clear' command.
9671
9672Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9673
9674 * gdb.t00/teststrategy.exp: Remove extra quote.
9675
9676 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9677 watchpoint enabled to be for all non-68k machines.
9678
9679 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9680
9681Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9682
9683 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9684 targets use aout.mt instead of ecoff.mt as gas understands
9685 standard aout format.
9686
9687Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9688
9689 * lib/gdb.exp (runto): Don't insist that function we are running to
9690 was compiled with -g.
9691
9692 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9693
9694 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9695 to get back into the read system call.
9696 Accept leading newline in case where we woke it up.
9697
9698Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9699
9700 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9701 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9702 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9703 enable ecoff configuration.
9704
9705Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9706
9707 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9708
9709Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9710
9711 * gdb.t16/printcmds.exp: Add another printf test.
9712
9713Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9714
9715 * configure.in: If configured -with-stabs on any target, add
9716 stabsdirs to configdirs.
9717
9718Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9719
9720 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9721 fun" so pattern does not match the command itself.
9722
9723Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9724
9725 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9726
9727Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9728
9729 * gdb.t17/interrupt.exp: Test for more things.
9730
9731Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9732
9733 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9734 compiler arranges the code and line numbers.
9735
9736 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9737
9738Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9739
9740 * gdb.t00/help.exp: Increase expect input buffer size.
9741
9742Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9743
9744 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9745
9746 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9747
9748 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9749
9750 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9751 [0-9]*, not just [0-9].
9752
9753Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9754
9755 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9756
9757 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9758
9759Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9760
9761 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9762
9763Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9764
9765 * gdb.t06/signals.c: Add xfails for sun3.
9766
9767 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9768
9769 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9770 test_stepping tests.
9771
9772Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9773
9774 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9775
9776 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9777
9778 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9779 rather than actually putting it through cpp twice.
9780
9781 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9782
9783Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9784
9785 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9786 no longer needed.
9787
9788Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9789
9790 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9791
9792 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9793 C++ features prints as "struct", make it a pass, not an xfail.
9794
9795Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9796
9797 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9798 Don't require VA to print as "class" rather than "struct".
9799
9800Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9801
9802 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9803
9804Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9805
9806 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9807
9808Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9809
9810 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9811 order.
9812
9813Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9814
9815 * gdb.t16/printcmds.exp: Add printf tests.
9816
9817 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9818
9819 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9820
9821Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9822
9823 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9824 pass counts, to counteract any existing or future setup_xfails.
9825
9826Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9827
9828 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9829 {BEGIN,END}_COMMON for common block instead of STAB.
9830 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9831
9832 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9833 intp_var should be N_GSYM not N_LSYM.
9834 wierd-aout.S: Use a label for the value of the N_SO.
9835 wierd.def: Remove all backslashes.
9836 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9837
9838Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9839
9840 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9841 get the expected next to inheritance3.
9842
9843Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9844
9845 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9846 now that gcc-2.4 gets it right.
9847
9848Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9849
9850 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9851
9852 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9853 generating comp-info.exp which works for cross-compilation.
9854
9855Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9856
9857 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9858 "*-*-sysv4.*".
9859
9860Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9861
9862 * gdb.t01/run.exp: Start with a fresh gdb.
9863 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9864 SVR4.x.
9865
9866Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9867
9868 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9869 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9870 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9871 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9872 things to remove.
9873
9874Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9875
9876 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9877 test cases from bug reports.
9878
9879Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9880
9881 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9882 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9883 avoid spurious xfails.
9884 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9885 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9886 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9887
9888Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9889
9890 * gdb.t00/teststrategy.exp: Rework to provide more useful
9891 description of each test, fix problem with systems that define
9892 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9893 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9894 results for "next over recursive call" so timeouts aren't taken
9895 by error.
9896
9897Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9898
9899 * gdb.t12/scope.exp: Test printing of variables before run.
9900
9901 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9902 printed in wrong order due to sorting.
9903
9904Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9905
9906 * gdb.t00/teststrategy.exp: Fix expected results for printing
9907 user entered string constant. Is array of char, prints with no
9908 address.
9909
9910 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9911 commands.
9912 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9913 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9914 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9915 of struct of char arrays.
9916 * gdb.t00/radix.exp: New tests for radix commands.
9917
9918Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9919
9920 * gdb.t16/printcmd.exp: Print a variable before running program
9921 (with xfail for AIX).
9922
9923Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9924
9925 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9926
9927 * gdb.t16/printcmd.exp: Don't print variables before running program.
9928
9929 * gdb.t06/break.exp: Don't require envp argument to main.
9930
9931 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9932
9933 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9934 Add xfails for rs6000.
9935
9936 * gdb.t02/whatis.exp: Change other tests not to re-test something
9937 we already tested.
9938
9939 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9940 each type used has a variable of that type.
9941
9942Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9943
9944 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9945
9946Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9947
9948 * configure.in: change srctrigger to be a file, not a directory
9949
9950Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9951
9952 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9953
9954 * gdb.t11/list.exp: Fixed a couple of typos.
9955
9956Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9957
9958 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9959 is fixed and PR is closed.
9960 * gdb.t16 (gdbme.c): Add simple test string variable.
9961 * gdb.t16 (printcmds.exp): Add tests with simple test string
9962 variable, primarily for boundaries on "set print elements".
9963
9964Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9965
9966 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9967 Make leading 0's optional and don't expect a tab in the middle
9968 of the number.
9969
9970 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9971
9972 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9973 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9974 don't end command passed to gdb_test with newline.
9975
9976 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9977 signed keyword away, don't expect signed bitfields to be signed.
9978
9979 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9980 printing with only as many 1's as are in the field as well as printing
9981 with 32 1's (see comment).
9982
9983Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9984
9985 * gdb.t00/default.exp: Start with a fresh gdb.
9986 * configure.in (configdirs): Remove gdb.t31 until the chill
9987 compiler works again. It no longer is able to find chillrt0
9988 since it isn't in libchill.a anymore.
9989 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9990 wierd.o, make more modular.
9991 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9992 spurious newlines that caused problems.
9993
9994Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9995
9996 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9997 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9998 gdb.stabs/wierd.{exp,def}: Many new tests.
9999
10000 * gdb.t00/default.exp: update info line for new message.
10001
10002 * gdb.t02/{whatis.exp,gdbme.c}:
10003 Test that "char *" doesn't print as "caddr_t".
10004
10005Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10006
10007 * gdb.t00/help.exp: Use .* in place of some help messages which
10008 just changed.
10009 gdb.t00/default.exp: Update "info frame" test for new message.
10010 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10011 Remove some xfails
10012
10013Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10014
10015 * gdb.t03/{gdbme.c,ptype.exp}:
10016 Add tests for typedef'd struct and union without tags.
10017 Also check "whatis" on a variable of a typedef'd enum without a tag.
10018
10019 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10020 PRMS 1823; the bug still exists but isn't reproduced by this test
10021 anymore), and remove rs6000 XFAIL (the bug is fixed).
10022
10023 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10024 duplicated from whatis.exp. For those that are left, accept
10025 "long", "long int", or "int" for long variables (whatis.exp already
10026 has an XFAIL for "int", so no need to fail it here).
10027
10028 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10029 Deal with GCC's names for types now that GDB uses the compiler's names.
10030
10031 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10032 setup_xfail's for sunos4. If we #defined the signed keyword away,
10033 don't expect GDB to know that char it is signed.
10034
10035 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10036
10037Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10038
10039 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10040 should work on any system, regardless of debugging format.
10041 * gdb.t21/demangle.exp: Move to gdb.t24.
10042 * gdb.t24/demangle.exp: Move from gdb.t21.
10043 * gdb.t24/{Makefile.in, configure.in}: New files.
10044
10045Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10046
10047 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10048 * gdb.stabs: New directory.
10049
10050Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10051
10052 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10053 not just "Quit anyway?".
10054
10055Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10056
10057 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10058 that all setup_xfails are immediately followed by clear_xfails.
10059
10060Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10061
10062 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10063 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10064 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10065 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10066 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10067 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10068 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10069 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10070 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10071 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10072 gdb.t31/chillvars.exp, lib/gdb.exp:
10073 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10074 bug-gdb@prep.ai.mit.edu.
10075
10076Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10077
10078 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10079 with 0.0, not integer 0.
10080
10081Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10082
10083 * gdb.t06/break.exp: Update for "Kill the program" message change.
10084
10085Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10086
10087 * Makefile.in (GDBFLAGS): Set to -nx.
10088 * Makefile.in (site.exp): Use GDBFLAGS.
10089
10090Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10091
10092 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10093 Makefiles.
10094 (check): depend on just-check.
10095 (just-check): added so that tests can be run without a noop
10096 build pass.
10097
10098Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10099
10100 Switch to using configure's configdirs.
10101 * Makefile.in (Makefile): add configure.in dependency.
10102 (SUBDIRS): removed redundant assignment.
10103 * configure.in: switch subdirs assignment to configdirs.
10104 * gdb.t*/configure.in: new files.
10105
10106Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10107
10108 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10109 works.
10110
10111Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10112
10113 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10114 in explicit rules. Apparently this is not supported by some makes.
10115
10116Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10117
10118 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10119
10120Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10121
10122 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10123 disappeared.
10124
10125Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10126
10127 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10128
10129Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10130
10131 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10132 watchpoint problem that is now fixed.
10133 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10134 uninitialized convenience variables.
10135 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10136 structures.
10137
10138Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10139
10140 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10141 which causes expect to get out of sync with gdb on long output
10142 from help set.
10143 * gdb.t09/corefile.exp: Make expected pattern for core file
10144 failing signal and frame output format less sun specific.
10145
10146Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10147
10148 * gdb.t31/chillvars.exp: Add and remove initial dummy
10149 breakpoint, so that symbol table is forced in.
10150 (Needed at least on Sunos4, though it seems not SVR4.)
10151 * gdb.t31/chillvars.exp: Update for changed output format.
10152
10153Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10154
10155 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10156
10157Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10158
10159 * Makefile.in: Added --srcdir when invoking runtest, removed the
10160 need for a local config file. (optional now)
10161
10162Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10163
10164 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10165 failure count used to force early termination. Add some more
10166 expected failures for gnu style demangling.
10167
10168Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10169
10170 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10171 pmi variable from gdb.t20/gdbme to get optimized away.
10172 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10173 Check for written corefile upon timeout _and_ eof.
10174
10175Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10176
10177 * config/unix-gdb.exp: Add missing return 0.
10178
10179Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10180
10181 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10182 test termination.
10183
10184Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10185
10186 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10187 disappeared.
10188
10189Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10190
10191 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10192 time as i860 support works.
10193
beb998c6 10194 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10195 "backtrace 100\r" rather than just "backtrace\r", to match last
10196 change.
10197
10198Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10199
10200 * config/udi-gdb.exp (gdb_exit): Remove close command.
10201 (gdb_target_udi): New procedure to set the UDI target.
10202 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10203 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10204 Added waits for prompts after several question responses. Added
10205 some more responses used by a29k-amd-udi-gdb.
10206 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10207 pass different arguments, restart UDI connection after program
10208 completion.
10209 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10210 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10211 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10212 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10213 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10214 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10215 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10216 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10217 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10218 after program completion.
10219 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10220 compiled with a SELECT_VECS setting.
10221 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10222 infinite recursion.
10223
10224 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10225 Added checks for COFF results, and made them expected failures for
10226 all targets. It would be better to make them expected failures
10227 for COFF targets only.
10228
10229Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10230
10231 * Makefile.in: add null dvi target, don't bother to recurse
10232 through test directories for info and install-info; rename
10233 $(datadir) to be dejagnu instead of deja-gnu
10234
10235Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10236
10237 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10238 compiler to coredump.
10239 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10240 code.
10241
10242Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10243
10244 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10245 coredump.
10246 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10247 code.
10248
10249Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10250
10251 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10252 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10253 which in a shell. Deletes xgdb when done.
10254 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10255 Tests the return from the "set height" or "set width" commands.
10256 Added a few return codes where needed.
10257
10258Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10259
10260 * Makefile.in (SUBDIRS): Add gdb.t17.
10261 * configure.in (subdirs): Add gdb.t17.
10262 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10263 files to test gdb's calling of functions in the inferior with
10264 the correct arguments and gdb's ability to retrieve any
10265 result returned.
10266
10267Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10268
10269 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10270 may be called after gdb goes away. Previous versions of expect
10271 needed these to avoid file descriptor leaks, but they cause
10272 errors with the current revision of expect.
10273 * gdb.t00/gdbvars.exp: Use -re on expected output after
10274 setting sevenbit-strings.
10275 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10276 to set sevenbit-strings consistent across tests.
10277 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10278 set sevenbit-strings consistent across tests.
10279
10280Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10281
10282 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10283 expected output to match current "expect" expectations.
10284
10285Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10286
10287 * gdb.t00/default.exp: Change expected output for default "source"
10288 command, to match new gdb behavior which requires a filename to
10289 source.
10290
10291Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10292
10293 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10294 expected fail for i486-*-* that misses the marker2 function.
10295 * gdb.t10/crossload.exp (bfddefault): Allow successful
10296 recognition of a format to pass even if no symbols are found.
10297 Explicitly catch failures where the format is not recognized
10298 or is ambiguous, and add the reason to the fail message.
10299 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10300 the cause is and invalid target and add reason to failure message.
10301 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10302 elf32-i386, elf32-sparc, and elf32-i860.
10303 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10304 Set up expected failure for 'filename'::variable scope resolution,
10305 which is now apparently broken on all targets.
10306 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10307 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10308 gdb.t23/templates.exp: Change failure for missing binfile into
10309 just a warning.
10310 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10311 references.
10312
10313Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10314
10315 * gdb.t00/default.exp: Add expected output for default "source"
10316 command, to match new gdb behavior.
10317 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10318
10319Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10320
10321 * config/*-gdb.exp: returns an error, rather than exiting on
10322 internal errors.
10323
10324Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10325
10326 * gdb.t03/gdbme.c: Add pointer to struct variable.
10327 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10328 referencing struct members.
10329
10330Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10331
10332 * configure.in (mips-idt-ecoff): New target.
10333 * config/mips-gdb.exp: New file for remote board using MIPS remote
10334 debugging protocol.
10335
10336 * Redid configuration scheme. Removed gdb.t*/configure.in.
10337 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10338 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10339 distclean targets. Built executables via .o files. Adjusted
10340 tests to account for source files in $(srcdir) rather than
10341 $(objdir).
10342 * lib/gdb.exp (runto): Don't expect () after the function name,
10343 because it may have arguments.
10344
10345Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10346
10347 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10348 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10349 expected failures for mips-idt-* and mips-sgi-*.
10350 * gdb.t00/default.exp (attach): Kill process if requested.
10351 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10352 that does not read core files.
10353 * gdb.t01/run.exp: Removed checks for exit status code.
10354 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10355 it is linked in.
10356 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10357 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10358 appropriate, rather than doing it by hand.
10359 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10360 execution.
10361 * gdb.t10/crossload.exp: Kill existing program if needed.
10362 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10363 appropriate, rather than doing it by hand. Always increase
10364 timeout for this test, not just for VxWorks.
10365
10366Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10367
10368 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10369 of Chill STRUCT types and STRUCT values.
10370 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10371 than "char".
10372 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10373 struct2): New struct definitions and initializations to test
c906108c
SS
10374 simple Chill STRUCT types.
10375
10376Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10377
10378 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10379 the null byte at the end of strings.
10380 * gdb.t00/default.exp: Make show version insensitive to copyright
10381 date.
10382 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10383 to avoid dependencies on target char signedness.
10384 * gdb.t16/printcmds.exp: Update expected results for explicitly
10385 unsigned char.
10386 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10387 now work.
10388 * gdb.t21/demangle.exp: Add many more patterns for template
10389 demangling, most of them being expected failures.
10390 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10391 string we are matching for, to match on the whole string.
10392 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10393 and fix a whole bunch that had incorrect expected output but were
10394 passing anyway because of the bug in "proc demangle".
10395 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10396 type.
10397 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10398
10399Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10400
10401 * gdb/testsuite: made modifications to testcases, etc., to allow
10402 them to work properly given the reorganization of deja-gnu and the
10403 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10404
10405Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10406
10407 * gdb/testsuite: Initial creation of gdb/testsuite.
10408 Migrated dejagnu testcases and support files for testing nm to
10409 gdb/testsuite from deja-gnu. These files were moved "as is"
10410 with no modifications. This migration is part of a major overhaul
10411 of dejagnu. The modifications to these testcases, etc., which
10412 will allow them to work with the new version of dejagnu will be
10413 made in a future update.
10414\f
10415Local Variables:
10416mode: indented-text
10417left-margin: 8
10418fill-column: 74
10419version-control: never
10420End:
This page took 0.831947 seconds and 4 git commands to generate.