2003-07-15 Michael Chastain <mec@shout.net>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
98a23b3f
MC
12003-07-15 Michael Chastain <mec@shout.net>
2
3 * gdb.base/gdb1250.exp: New file.
4 * gdb.base/gdb1250.c: New file.
5
27e417a2
ML
62003-07-09 Michal Ludvig <mludvig@suse.cz>
7
8 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
9 expansion of size_t to 'unsigned long', not only to 'unsigned'.
10
d99968dc
EZ
112003-07-09 Elena Zannoni <ezannoni@redhat.com>
12
13 * gdb.base/annota1.exp: Make sure that we properly escape the
14 full path of the source file. Xfail more permissive patterns,
15 due to a compiler debug info problem.
16
83876b3b
AS
172003-07-07 Andreas Schwab <schwab@suse.de>
18
2705e972
AS
19 * gdb.asm/m68k.inc: New file.
20 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21
83876b3b
AS
22 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
23 arguments"): Also match negative number.
24
25 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
26
3a871b37
DJ
272003-07-03 Daniel Jacobowitz <drow@mvista.com>
28
29 * gdb.base/store.c (charest): New typedef.
30 (add_char): Rename to add_charest, update.
31 (wack_char): Rename to wack_charest, update types. Return l + r
32 to keep r live across the call.
33 (wack_short, wack_int, wack_long, wack_longest, wack_float)
34 (wack_double, wack_doublest): Return l + r to keep r live across
35 the call.
36 * gdb.base/store.exp: Accomodate store.c changes.
37
b2a7f303
DC
382003-06-30 David Carlton <carlton@kealia.com>
39
40 * gdb.c++/maint.exp (test_invalid_name): New.
41 (test_first_component): Add tests for invalid names.
42
3c6cb4a1
MC
432003-06-29 Michael Chastain <mec@shout.net>
44
45 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
46 output of '<VTT for class>' for virtual base classes.
47
f1c2644b
DJ
482003-06-29 Daniel Jacobowitz <drow@mvista.com>
49
50 * gdb.base/completion.exp: Tab-complete "complet" instead of
51 "compl".
52 * gdb.base/complex.exp, gdb.base/complex.c: New files.
53
18080350
DJ
542003-06-29 Daniel Jacobowitz <drow@mvista.com>
55
56 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
57 * gdb.base/volatile.exp: Likewise.
58
f56973f8
DJ
592003-06-29 Daniel Jacobowitz <drow@mvista.com>
60
61 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
62 gdb/1265.
63
642003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
65 Daniel Jacobowitz <drow@mvista.com>
66
67 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
68 initial line count of 'captured_main' from 26 to 32.
69 (test_with_self): Allow xmalloc call to be interleaved with the
70 preceding two lines.
71
e766d4d6
JB
722003-06-24 Joel Brobecker <brobecker@gnat.com>
73
74 * gdb.base/bang.exp: New testcase.
75
f125c9a4
JB
762003-06-23 Joel Brobecker <brobecker@gnat.com>
77
78 * gdb.base/langs.exp: Add some tests for the "minimal" language
79 support.
80
6e25beaf
EZ
812003-06-23 Elena Zannoni <ezannoni@redhat.com>
82
83 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
84 the testcase.
85
2f816dda
DJ
862003-06-22 Daniel Jacobowitz <drow@mvista.com>
87
88 * gdb.base/relocate.exp: Test add-symbol-file with a variable
89 offset.
90
db5a5748
DJ
912003-06-22 Daniel Jacobowitz <drow@mvista.com>
92
93 * gdb.c++/pr-1210.cc: New file.
94 * gdb.c++/pr-1210.exp: New file.
95
1df0c130
DJ
962003-06-21 Daniel Jacobowitz <drow@mvista.com>
97
98 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
99 000-exec-continue.
100
a92feac0
MK
1012003-06-15 Mark Kettenis <kettenis@gnu.org>
102
103 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
104 on *-*-*bsd* instead of *-*-freebsd*.
105
81a58f5b
AC
1062003-06-14 Andrew Cagney <cagney@redhat.com>
107
108 * gdb.base/store.exp: Test longest and doublest. Test all
109 parameters. Weaken return statement match.
110 * gdb.base/store.c: Add longest and doublest - aka long long and
111 long double functions. Put all parameters into local register
112 variables. Use negative values.
113
b257a0d3
AC
1142003-06-14 Andrew Cagney <cagney@redhat.com>
115
116 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
117 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
118 exit status.
119 * gdb.base/fileio.exp: Disable target when nointerrupts and
120 noinferiorio, instead of limiting it to remote. Use remote_exec
121 instead of system.
122
21c38304
JJ
1232003-06-12 Jeff Johnston <jjohnstn@redhat.com>
124
125 * gdb.base/float.exp: Add ia64 support.
126
1bcdb424
CV
1272003-06-12 Corinna Vinschen <vinschen@redhat.com>
128
129 * gdb.base/fileio.exp: Run only on remote targets.
130
6aeb981f
CV
1312003-06-10 Corinna Vinschen <vinschen@redhat.com>
132
133 * gdb.base/fileio.c: New file, testing File-I/O.
134 * gdb.base/fileio.exp: Ditto.
135
53df362e
RG
1362003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
137
138 * gdb.base/shreloc.exp: New file, check symbol values obtained from
139 shared objects after relocation at load time (gdb PR/1132).
140 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
141 as above, part of the shared object relocation test.
142
ffee1b46
MK
1432003-06-08 Mark Kettenis <kettenis@gnu.org>
144
b5ca3722
MK
145 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
146 fully filled history list.
147 * gdb.base/gdb_history: New file.
148
03ed860d
MK
149 * gdb.base/signals.exp: XFAIL "continue to func1" on
150 i*86-*-freebsd*.
151
ffee1b46
MK
152 * gdb.base/attach.exp: When trying to attach to a nonexistent
153 process, make it possible to specify the PID based on the target,
154 and do so for *-*-freebsd*.
155
d80dbb52
RH
1562003-06-02 Richard Henderson <rth@redhat.com>
157
158 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
159
6dd77b81
RH
1602003-06-02 Richard Henderson <rth@redhat.com>
161
162 * gdb.base/selftest.exp: Next over lim_at_start initialization.
163
f6347e16
RH
1642003-06-02 Richard Henderson <rth@redhat.com>
165
166 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
167
2c161407
DJ
1682003-06-01 Daniel Jacobowitz <drow@mvista.com>
169
170 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
171 of globalvar.
172
572eb746
MK
1732003-06-01 Mark Kettenis <kettenis@gnu.org>
174
175 * gdb.asm/asm-source.exp: Check for memory read errors in
176 disassembler test on *BSD too.
177
9e9617a5
RH
1782003-06-01 Richard Henderson <rth@redhat.com>
179
180 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
181 for .frame.
182 (gdbasm_call): Lose ldgp.
183 (gdbasm_startup): Add frame information.
184 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
185
7b34ad4e
MK
1862003-05-31 Mark Kettenis <kettenis@gnu.org>
187
188 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
189 i?86-*-*.
190
10059fdf
MK
1912003-05-30 Mark Kettenis <kettenis@gnu.org>
192
193 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
194 FreeBSD.
195
acf4b816
RH
1962003-05-29 Richard Henderson <rth@redhat.com>
197
198 * gdb.asm/alpha.inc: New file.
199 * gdb.asm/asm-source.exp: Use it.
200
e9ecd949
JB
2012003-05-29 Jim Blandy <jimb@redhat.com>
202
203 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
204 'core.PID'.
205
e3e5a4f3
JB
2062003-05-22 Jim Blandy <jimb@redhat.com>
207
208 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
209 backtrace.
210
72fe3d25
DC
2112003-05-20 David Carlton <carlton@math.stanford.edu>
212
213 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
214 this time.
215
58da2eb2
DC
2162003-05-19 David Carlton <carlton@bactrian.org>
217
218 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
219 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
220
1fcb5155
DC
2212003-05-19 David Carlton <carlton@bactrian.org>
222
223 * gdb.c++/namespace.exp: Add namespace scope and anonymous
224 namespace tests.
225 Bump copyright date.
226 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
227 (main): Call C::D::marker2.
228 * gdb.c++/namespace1.cc: New file.
229
85e85163
JJ
2302003-05-14 Jeff Johnston <jjohnstn@redhat.com>
231
232 Roland McGrath <roland@redhat.com>
233 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
234 there is no manager thread.
235
a25fbfec
JJ
2362003-05-08 Jeff Johnston <jjohnstn@redhat.com>
237
238 * gdb.threads/schedlock.exp: Remove assumption that all threads
239 will run in a particular small time slice. Also ensure we break
240 in one of the child threads rather than the main thread.
241
be375bae
JB
2422003-05-07 Jim Blandy <jimb@redhat.com>
243
09bf6082
JB
244 Add support for assembly source testing on the s390x.
245 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
246 architecture.
247 * gdb.asm/s390x.inc: New file.
248
be375bae
JB
249 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
250 succession of 'if' statements.
251
00905d52
AC
2522003-05-05 Andrew Cagney <cagney@redhat.com>
253
254 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
255
b1e29e33
AC
2562003-05-05 Andrew Cagney <cagney@redhat.com>
257
258 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
259 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
260
e33d66ec
EZ
2612003-05-02 Elena Zannoni <ezannoni@redhat.com>
262
263 * gdb.base/charset.exp: Update based on new behavior of set/show
264 charset commands.
265
2b6fd0d8
AC
2662003-05-01 Andrew Cagney <cagney@redhat.com>
267
268 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
269 variable do not give memory errors.
270
130cacce
AF
2712003-04-30 Adam Fedor <fedor@gnu.org>
272
273 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
274 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
275 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
276 gdb.objc/basicclass.m: : New files
277
278 * lib/gdb.exp (gdb_compile_objc): New procedure.
279
bea71854
DJ
2802003-04-27 Daniel Jacobowitz <drow@mvista.com>
281
282 * gdb.base/signals.exp: Make backtrace tests more specific.
283
0f20eeea
DC
2842003-04-23 David Carlton <carlton@bactrian.org>
285
286 * gdb.c++/maint.exp (test_first_component): Add tests for
287 'operator' in more locations.
288
c8c4d8dc
KB
2892003-04-16 Kevin Buettner <kevinb@redhat.com>
290
291 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
292
3fe60e3c
EZ
2932003-04-16 Elena Zannoni <ezannoni@redhat.com>
294
295 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
296 func marke' instead. Update test name.
297
9219021c
DC
2982003-04-15 David Carlton <carlton@math.stanford.edu>
299
300 * gdb.c++/maint.exp: New file.
301
5dd55bdd
EZ
3022003-04-14 Elena Zannoni <ezannoni@redhat.com>
303
304 * gdb.threads/schedlock.c: Change type of thread function argument
305 to long, to avoid warnings on 64-bit platforms.
306
00890572
EZ
3072003-04-14 Elena Zannoni <ezannoni@redhat.com>
308
309 * gdb.base/attach.exp: Add new message from ptrace in case of
310 attaching to nonexistent process.
311
93201743
JB
3122003-04-11 Jim Blandy <jimb@redhat.com>
313
314 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
315 gdb.c++/userdef.cc: Place comments on the lines to which the
316 marker function might return.
317 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
318 gdb.c++/userdef.exp: Look for those comments to check that we've
319 returned to the right place, instead of checking line numbers.
320
2a11c64d
EZ
3212003-04-11 Elena Zannoni <ezannoni@redhat.com>
322
323 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
324 match on sourcefile name, instead of directory name.
325
68ab8fc5
EZ
3262003-04-10 Elena Zannoni <ezannoni@redhat.com>
327
328 * gdb.base/completion.exp: Use string_to_regexp to match the
329 working directory name.
330
5624293a
JB
3312003-04-09 Jim Blandy <jimb@redhat.com>
332
333 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
334 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
335 after an inferior function call, report the failure, but allow the
336 test to continue.
337
f1f02ee4
SC
3382003-04-05 Stephane Carrez <stcarrez@nerim.fr>
339
340 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
341 with -DPROTOTYPES.
342
6eb79af0
SC
3432003-04-05 Stephane Carrez <stcarrez@nerim.fr>
344
345 * gdb.base/break.exp: Revert last patch.
346
8dfb4cf0
SC
3472003-04-04 Stephane Carrez <stcarrez@nerim.fr>
348
349 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
350 with -DPROTOTYPES.
351
ed4c619a
AC
3522003-04-02 Andrew Cagney <cagney@redhat.com>
353
354 * gdb.base/callfuncs.exp: Make "print add" messages unique.
355 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
356 matching directories by the name breakpoint.
357 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
358 Make "continue to marker1" consistent.
359 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
360 message consistent.
361 * lib/gdb.exp: Put "the program is no longer running", and "the
362 program exited" in parenthesis.
363 * lib/mi-support.exp: Ditto.
364
4e35d5f0
BR
3652003-04-02 Bob Rossi <bob_rossi@cox.net>
366
367 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
368
71900fe8
AC
3692003-03-29 Andrew Cagney <cagney@redhat.com>
370
371 * gdb.base/sizeof.c (main): Print the value of '\377'.
372 * gdb.base/sizeof.exp: Check the sign of '\377'.
373
c0655a16
MC
3742003-03-27 Michael Chastain <mec@shout.net>
375
376 * gdb.base/gdb1090.exp: New file.
377 * gdb.base/gdb1090.cc: New file.
378
5b2a3989
JB
3792003-03-27 J. Brobecker <brobecker@gnat.com>
380
381 * gdb.gdb/observer.exp: New regression test.
382
79876890
MC
3832003-03-27 Michael Chastain <mec@shout.net>
384
385 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
386 * gdb.base/ptype.exp: Likewise.
387
6eac95e3
CV
3882003-03-27 Corinna Vinschen <vinschen@redhat.com>
389
390 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
391
e8c71839
MC
3922003-03-26 Michael Chastain <mec@shout.net>
393
394 * gdb.base/ptype.exp: Actually use some typedef'd types.
395
71b10041
SC
3962003-03-21 Stephane Carrez <stcarrez@nerim.fr>
397
398 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
399 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
400
2512cf80
CV
4012003-03-20 Corinna Vinschen <vinschen@redhat.com>
402
403 * gdb.base/default.exp: Fix regular expression.
404
0d195a4f
CV
4052003-03-20 Corinna Vinschen <vinschen@redhat.com>
406
407 * gdb.base/args.exp: Fix regular expression.
408
8a2dbca8
CV
4092003-03-20 Corinna Vinschen <vinschen@redhat.com>
410
411 * gdb.base/help.exp: Allow Win32 child process.
412
bf028682
CV
4132003-03-20 Corinna Vinschen <vinschen@redhat.com>
414
415 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
416 when stepping out of main().
417
182dbe85
CV
4182003-03-20 Corinna Vinschen <vinschen@redhat.com>
419
420 * gdb.base/default.exp: Check for win32 specific message when calling
421 "run" without executable.
422
d67a6ba5
CV
4232003-03-20 Corinna Vinschen <vinschen@redhat.com>
424
425 * gdb.base/args.exp: Expect .exe in output.
426
a955b5bb
CV
4272003-03-20 Corinna Vinschen <vinschen@redhat.com>
428
429 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
430 Cygwin native.
431
bf6bad4b
AC
4322003-03-17 Andrew Cagney <cagney@redhat.com>
433
434 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
435 vector registes.
436 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
437 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
438
293e9a31
DC
4392003-03-17 David Carlton <carlton@math.stanford.edu>
440
441 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
442 test, for PR breakpoints/38.
443 Call test_watchpoint_and_breakpoint.
444 * gdb.base/watchpoint.c (func3): New function.
445 (main): Call func3.
446
5330f2db
DC
4472003-03-04 David Carlton <carlton@math.stanford.edu>
448
449 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
450 Garply<Garply<char> >:: garply".
451 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
452 with respect to PR c++/1111; note also PR c++/1113.
453 (test_template_breakpoints): KFAIL "constructor breakpoint" with
454 respect to PR c++/1062.
455 KFAIL "destructor breakpoint" with respect to PR c++/1112.
456
6ece72da
DC
4572003-03-03 David Carlton <carlton@math.stanford.edu>
458
459 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
460 with respect to PR c++/57.
461 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
462 c++/826.
463 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
464 respect to PR c++/57.
465
85ca1584
DC
4662003-03-03 David Carlton <carlton@math.stanford.edu>
467
468 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
469 respect to PR c++/33 into FAILs.
470
98e9c5b8
MC
4712003-03-03 Michael Chastain <mec@shout.net>
472
7bedbf27
MC
473 * configure.in: Update copyright years.
474
4752003-03-03 Michael Chastain <mec@shout.net>
476
477 * Makefile.in: Update copyright years.
98e9c5b8 478
f683e100
DC
4792003-02-28 David Carlton <carlton@math.stanford.edu>
480
481 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
482 print class instead of struct and/or superfluous protection
483 specifiers, as long as the resulting output is equivalent to the
484 source code.
485 Delete FIXME from end of messages on tests that don't need
486 fixing.
487
a9e0cf2c
DC
4882003-02-28 David Carlton <carlton@math.stanford.edu>
489
490 * gdb.c++/templates.exp (do_tests): Allow const in the two
491 Foo<volatile char *>::foo tests.
492
e8d359df
MS
4932003-02-27 Michael Snyder <msnyder@redhat.com>
494
495 * gdb.base/restore.c (main): Return zero, so exit code
496 will be consistant.
497
0b71dc91
DC
4982003-02-26 David Carlton <carlton@math.stanford.edu>
499
500 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
501 char *>::foo" test with respect to PR c++/33. Create a new test
502 which is identical to that one except that it doesn't put the
503 space between the "char" and the "*"; KFAIL it, too.
504
dd14ab43
DC
5052003-02-26 David Carlton <carlton@math.stanford.edu>
506
507 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
508 template types into either PASSes or KFAILs (corresponding to PR
509 c++/57). Tweak indentation. Update copyright.
510
1146c7f1
SC
5112003-02-23 Stephane Carrez <stcarrez@nerim.fr>
512
513 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
514
74641dfb
MC
5152003-02-13 Michael Chastain <mec@shout.net>
516
517 * gdb.base/exprs.exp: Remove i960 remnants.
518 * gdb.base/funcargs.exp: Likewise.
519 * gdb.base/list.exp: Likewise.
520 * gdb.base/ptype.exp: Likewise.
521
559cd2d0
DC
5222003-02-14 David Carlton <carlton@math.stanford.edu>
523
524 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
525 pEe->D::vg()" from XFAIL to KFAIL.
526
c4f90d87
JM
5272003-02-13 Jason Molenda (jmolenda@apple.com)
528
529 * gdb.base/maint.exp: Update maint print statistics regexp to include
530 new entries.
531
cbc4d97c
MC
5322003-02-13 Michael Chastain <mec@shout.net>
533
534 * gdb.c++/inherit.exp: Remove call to get_debug_format.
535
40f235b7
MC
5362003-02-12 Michael Chastain <mec@shout.net>
537
538 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
539 * gdb.c++/inherit.exp: Likewise.
540 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
541 * gdb.c++/templates.exp: Likewise.
542 * gdb.c++/virtfunc.exp: Likewise.
543
c56716b0
JM
5442003-02-06 Jason Molenda (jason-cl@molenda.com)
545
546 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
547 why the code is written that way.
548
070afcf8
MC
5492003-02-05 Michael Chastain <mec@shout.net>
550
551 * gdb.base/dump.exp: Add missing copyright line.
552
5d0331e5
JM
5532003-02-05 Jason Molenda (jason-cl@molenda.com)
554
f7ae6d3e 555 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
556 at the beginning so the breakpoint doesn't get set on the loop.
557
92851186
MC
5582003-02-05 Michael Chastain <mec@shout.net>
559
560 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
561 output for configurations with gcc 2.95.3.
562
cbf1e085
AC
5632003-02-05 Keith Seitz <keiths@redhat.com>
564 Andrew Cagney <ac131313@redhat.com>
565
566 * gdb.mi/mi-cli.exp: New file.
567
29518e1e
MC
5682003-02-04 Michael Chastain <mec@shout.net>
569
570 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
571 Call perror and then continue.
572
5af1d5f3
MC
5732003-02-03 Michael Chastain <mec@shout.net>
574
575 * gdb.c++/pr-1023.cc: New file.
576 * gdb.c++/pr-1023.exp: New file.
577
6b549786
JB
5782003-02-05 Jim Blandy <jimb@redhat.com>
579
580 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
581 it's local to foobar. Check for it there, and check that it's not
582 present in main.
583 * gdb.c++/local.cc (marker2): New function.
584 (foobar): Call marker1.
585 (main): Call marker2 instead of marker1.
586
67f16606
AC
5872003-02-04 Andrew Cagney <ac131313@redhat.com>
588
589 * gdb.disasm/mn10200.exp: Obsolete file.
590 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
591 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
592 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
593
1c5cb38e
DC
5942003-02-04 David Carlton <carlton@math.stanford.edu>
595
596 * gdb.c++/overload.exp: Test intToChar(1).
597 * gdb.c++/overload.cc (intToChar): New.
598 (main): Call intToChar.
599
d1fe6965
DC
6002003-02-03 David Carlton <carlton@math.stanford.edu>
601
602 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
603 'might_kfail' arg.
604 KFAIL some of the continue_to_bp_overloaded calls, according to
605 PR c++/1025.
606
9ba61c5d
MC
6072003-02-01 Michael Chastain <mec@shout.net>
608
609 * gdb.base/advance.c (marker1): New marker function.
610 * gdb.base/advance.exp: When the 'advance' command lands on the
611 return breakpoint, it can legitimately stop on either the
612 current line or the next line. Accommodate both outcomes.
613 * gdb.base/until.exp: Likewise.
614
e7494ffb
AC
6152003-02-02 Andrew Cagney <ac131313@redhat.com>
616
617 2002-11-10 Jason Molenda (jason-cl@molenda.com):
618 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
619 now a list, not a tuple.
620 * gdb.mi/mi-var-display.exp: Ditto.
621 * gdb.mi/gdb792.exp: Ditto.
622
075559bc
AC
6232003-02-01 Andrew Cagney <ac131313@redhat.com>
624
625 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
626 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
627 stack backtraces.
628 * gdb.mi/mi-syn-frame.c: Part of same.
629
2bd4c7b1
MK
6302003-02-01 Mark Kettenis <kettenis@gnu.org>
631
632 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
633 gdb.mi/mi1-pthreads.exp: Return instead of calling
634 gdb_suppress_entire_file.
635
eabd8992
MS
6362003-02-01 Mark Salter <msalter@redhat.com>
637
638 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
639
71469e2f
MS
6402003-01-31 Mark Salter <msalter@redhat.com>
641
642 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
643 Support empty arg.
644
38a94d44
MC
6452003-01-30 Michael Chastain <mec@shout.net>
646
647 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
648 This was a workaround for a UTF-8 bug in readline 4.3. The bug
649 has been fixed in gdb/readline on 2003-01-09.
650
19ea9e73
MS
6512003-01-29 Michael Snyder <msnyder@redhat.com>
652
e8d359df
MS
653 * gdb.base/maint.exp: Allow for leading underscore in symbol.
654 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
655 * gdb.base/args.exp: Skip if target does not support args passing.
656
2307bd6a
DJ
6572003-01-22 Daniel Jacobowitz <drow@mvista.com>
658
19ea9e73 659 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
660 gdb_test. Accept a list of expect arguments as the third
661 parameter.
662 (gdb_test): Use it.
663
f2dd3617
EZ
6642003-01-20 Elena Zannoni <ezannoni@redhat.com>
665
666 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
667 allow for different test tree configurations. Update some
668 tescases accordingly.
669 * gdb.arch/altivec-regs.exp: Ditto.
670 * gdb.asm/asm-source.exp: Ditto.
671 * gdb.base/advance.exp: Ditto.
672 * gdb.base/display.exp: Ditto.
673 * gdb.base/long_long.exp: Ditto.
674 * gdb.base/mips_pro.exp: Ditto.
675 * gdb.base/overlays.exp: Ditto.
676 * gdb.base/relocate.exp: Ditto.
677 * gdb.base/setshow.exp: Ditto.
678 * gdb.base/step-line.exp: Ditto.
679 * gdb.base/step-test.exp: Ditto.
680 * gdb.base/until.exp: Ditto.
681 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
682
c71cdefd
DC
6832003-01-17 David Carlton <carlton@math.stanford.edu>
684
685 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
686 corresponding to PR c++/945.
687 Update copyright.
688
fdba05d7
DC
6892003-01-17 David Carlton <carlton@math.stanford.edu>
690
691 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
692 corresponding to PR c++/68.
693
6942003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
695
696 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
697 (test_paddr_hairy_functions): Call print_addr_2_kfail for
698 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
699
c362c33a
EZ
7002003-01-15 Elena Zannoni <ezannoni@redhat.com>
701
0fbc361c
EZ
702 * gdb.base/break.exp: Fix change of default location, because of
703 removal of until tests.
704 * gdb.base/help.exp: Update test for new 'until' help message.
705 Add test for help on 'advance'.
c362c33a
EZ
706 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
707
dabf8a35
MK
7082003-01-15 Mark Kettenis <kettenis@gnu.org>
709
710 * gdb.base/default.exp: Adapt "info float" test for recent changes
711 to that command. Add test for "info vector".
712 * gdb.base/float.exp: New file. Add test for "info float" that
713 resembles the old test in gdb.base/default.exp.
714
a1769aca
DC
7152003-01-15 David Carlton <carlton@math.stanford.edu>
716
717 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
718
82025e13
EZ
7192003-01-15 Elena Zannoni <ezannoni@redhat.com>
720
721 * gdb.base/break.exp: Move the tests of until command from here...
722 * gdb.base/until.exp: ... to here. New file. Add other tests.
723 * gdb.base/advance.c: New file.
724 * gdb.base/advance.exp: New file.
725
8f9ab801
EZ
7262003-01-14 Elena Zannoni <ezannoni@redhat.com>
727
728 * gdb.base/args.c: New file.
729 * gdb.base/args.exp: New file.
730
9ae66589
DJ
7312003-01-14 Daniel Jacobowitz <drow@mvista.com>
732
733 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
734
8d77e5c3
DJ
7352003-01-14 Daniel Jacobowitz <drow@mvista.com>
736
737 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
738
12d2f0a1
DJ
7392003-01-14 Daniel Jacobowitz <drow@mvista.com>
740
741 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
742 dates.
743
6ca37014
DJ
7442003-01-13 Daniel Jacobowitz <drow@mvista.com>
745
746 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
747
b0023472
DJ
7482003-01-13 Daniel Jacobowitz <drow@mvista.com>
749
750 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
751 (ptype &*"foo").
752 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
753
d6abaea5
DJ
7542002-01-13 Daniel Jacobowitz <drow@mvista.com>
755
756 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
757 * gdb.mi/mi1-console.exp: Likewise.
758
dfd536a7
DJ
7592002-01-13 Daniel Jacobowitz <drow@mvista.com>
760
761 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
762 * gdb.mi/mi1-console.exp: Likewise.
763
a1fb14a2
DJ
7642003-01-13 Daniel Jacobowitz <drow@mvista.com>
765
766 * gdb.c++/overload.exp: Remove some fixed XFAILs.
767
c4cf40b7
DJ
7682003-01-09 Daniel Jacobowitz <drow@mvista.com>
769
770 * gdb.base/detach.exp: New test.
771
696d5a5b
DJ
7722003-01-09 Daniel Jacobowitz <drow@mvista.com>
773
774 * Makefile.in (ALL_SUBDIRS): New variable.
775 (subdirs, clean, distclean): Use it.
776 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
777 regenerating Makefile, since it is generated from the top level.
778 * gdb.asm/Makefile.in: Likewise.
779 * gdb.base/Makefile.in: Likewise.
780 * gdb.c++/Makefile.in: Likewise.
781 * gdb.disasm/Makefile.in: Likewise.
782 * gdb.java/Makefile.in: Likewise.
783 * gdb.mi/Makefile.in: Likewise.
784 * gdb.threads/Makefile.in: Likewise.
785 * gdb.trace/Makefile.in: Likewise.
786
754533e4
DC
7872003-01-09 David Carlton <carlton@math.stanford.edu>
788
789 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
790 Add copyright year 2003.
791
d8b3e9ee
MC
7922003-01-06 Michael Chastain <mec@shout.net>
793
794 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
795 When selecting a thread, 'line' and 'file' are optional.
796 * gdb.mi/mi1-pthreads.exp: Likewise.
797
8e9e0fe6
AS
7982003-01-06 Andreas Schwab <schwab@suse.de>
799
800 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
801 failures.
802
b5ab8ff3
DJ
8032003-01-04 Daniel Jacobowitz <drow@mvista.com>
804
805 Fix PR gdb/844
806 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
807 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
808
809 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
810 instead of calling gdb_suppress_entire_file.
811 * gdb.threads/print-threads.exp: Likewise.
812 * gdb.threads/schedlock.exp: Likewise.
813
814 * gdb.threads/killed.exp: Return instead of calling
815 gdb_suppress_entire_file.
816 * gdb.threads/linux-dp.exp: Likewise.
817 * gdb.threads/pthreads.exp: Likewise.
818
1e698235
DJ
8192003-01-04 Daniel Jacobowitz <drow@mvista.com>
820
821 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
822 stabs.
823 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
824 * gdb.base/whatis.exp: Always allow (void) after function names.
825
147ff08c
DJ
8262003-01-04 Daniel Jacobowitz <drow@mvista.com>
827
828 * gdb.c++/casts.exp: Correct regexp.
829
dc62bfc2
MK
8302003-01-04 Mark Kettenis <kettenis@gnu.org>
831
832 * configure.in: Call AC_CONFIG_HEADER. Don't call
833 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
834 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
835 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
836 aforementioned directories in the AC_OUPUT call.
837 * config.hin: New file.
838 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
839 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
840 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
841 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
842 pass -I$objdir instead of -I$objdir/$subdir in compilation.
843 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
844 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
845 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
846 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
847 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
848 gdb.threads/configure.in, gdb.threads/configure,
849 gdb.threads/config.in, gdb.trace/configure.in,
850 gdb.trace/configure: Removed.
851
77afa639
MC
8522003-01-03 Michael Chastain <mec@shout.net>
853
854 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
855 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
856
7634bb6e
DJ
8572003-01-03 Daniel Jacobowitz <drow@mvista.com>
858
859 * gdb.base/store.exp: Fix regular expressions.
860
b39c905e
MK
8612002-12-28 Mark Kettenis <kettenis@gnu.org>
862
863 * configure.in: Rewrite.
864 * configure: Regenerated.
865
0a8551dd
DC
8662003-01-03 David Carlton <carlton@math.stanford.edu>
867
868 * gdb.base/psymtab.exp: New file.
869 * gdb.base/psymtab1.c: Ditto.
870 * gdb.base/psymtab2.c: Ditto.
871
c60b7188
AF
8722002-12-23 Adam Fedor <fedor@gnu.org>
873
874 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
875
ee73db83
DC
8762002-12-23 David Carlton <carlton@math.stanford.edu>
877
878 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
879 and current_directory initialization.
880
d6c1774e
JB
8812002-12-22 Jim Blandy <jimb@redhat.com>
882
f0a847b8
JB
883 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
884 rather than as part of the output file name.
885
d6c1774e
JB
886 * gdb.base/attach.exp: There's no need to copy the test program to
887 /tmp; that was only ever necessary on HP/UX, and this test is
888 entirely disabled there anyway.
889
f0708dbb
JB
8902002-12-21 Jim Blandy <jimb@redhat.com>
891
4c2acfea
JB
892 * gdb.c++/psmang.exp: Doc fix.
893
f0708dbb
JB
894 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
895 test.
896
9579e000
DC
8972002-12-20 David Carlton <carlton@math.stanford.edu>
898
899 * gdb.c++/annota2.exp: KFAIL annotate-quit.
900
d1810171
MC
9012002-12-18 Michael Chastain <mec@shout.net>
902
903 * gdb.c++/annota2.exp: Add copyright year 2002.
904
76565097
DC
9052002-12-17 David Carlton <carlton@math.stanford.edu>
906
907 * gdb.c++/try_catch.cc: Add marker comments.
908 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
909 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
910 * gdb.c++/m-static.cc: Ditto.
911 * gdb.c++/m-static1.cc: Ditto.
912 * gdb.c++/try_catch.cc: Ditto.
913
da81390b
JJ
9142002-12-16 Jeff Johnston <jjohnstn@redhat.com>
915
916 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
917 to see whether we are using the new -environment-directory
918 command which resets via -r or the old version of the command
919 which may prompt the user. Part of fix for gdb/741.
920
b304d130
AC
9212002-12-13 Andrew Cagney <ac131313@redhat.com>
922
923 * gdb.fortran/types.exp: Update obsolete comment.
924 * gdb.fortran/exprs.exp: Ditto.
925 * lib/gdb.exp: Delete obsolete code.
926 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
927 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
928 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
929 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
930 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
931 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
932 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
933 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
934 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
935 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
936 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
937 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
938 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
939 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
940 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
941 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
942 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
943 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
944 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
945 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
946 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
947 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
948 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
949 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
950 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
951 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
952 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
953 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
954 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
955 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
956 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
957 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
958 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
959 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
960 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
961 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
962 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
963
a23b6e6a
DC
9642002-12-11 David Carlton <carlton@math.stanford.edu>
965
966 * gdb.c++/m-data.exp: Add test for members that shadow global
967 variables: see PR gdb/804.
968 * gdb.c++/m-data.cc: Ditto.
969
6604731b
DJ
9702002-12-10 Daniel Jacobowitz <drow@mvista.com>
971
972 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
973
de46ecd7
DC
9742002-12-06 David Carlton <carlton@math.stanford.edu>
975
976 * gdb.base/store.c: Don't declare functions static.
977
27e829d0
AC
9782002-12-04 Andrew Cagney <ac131313@redhat.com>
979
980 * gdb.base/store.exp, gdb.base/store.c: New files.
981
92806416
DJ
9822002-12-03 Daniel Jacobowitz <drow@mvista.com>
983
984 * gdb.base/selftest.exp: Update for current gdb.
985
3bcbaac5
DJ
9862002-12-03 Daniel Jacobowitz <drow@mvista.com>
987
988 * gdb.base/maint.exp: Only dump symbols from one source file
989 or objfile.
990
f4f00b1f
DJ
9912002-12-03 Daniel Jacobowitz <drow@mvista.com>
992
993 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
994 function call.
995
f1c8a949
JB
9962002-11-25 Jim Blandy <jimb@redhat.com>
997
998 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
999 function appearing in error message.
1000
9e297a97
DJ
10012002-11-21 Daniel Jacobowitz <drow@mvista.com>
1002
1003 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1004
1f312e79
JJ
10052002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1006
1007 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1008 for mi1 and current mi is in correct format. New mi startup message
1009 should be in mi console format. This is part of fix for PR gdb/604.
1010
83c31e7d
FN
10112002-09-18 Fernando Nasser <fnasser@redhat.com>
1012
1013 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1014 which explicitly prints the zero offset as "+0".
1015
322b3f65
DJ
10162002-10-22 Daniel Jacobowitz <drow@mvista.com>
1017
1018 * gdb.threads/schedlock.c (args): Make unsigned.
1019
10202002-10-21 Daniel Jacobowitz <drow@mvista.com>
1021
1022 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1023 numbers. Allow "foo2|selected stack frame".
1024 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1025 * gdb.asm/asmsrc2.s: Likewise.
1026 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1027 comments.
1028 * gdb.asm/mips.inc: New file.
1029
5e2fe5b8
AF
10302002-10-18 Adam Fedor <fedor@gnu.org>
1031
1032 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1033 * gdb.base/help.exp: Likewise.
1034
abe1a5d0
KB
10352002-10-17 Kevin Buettner <kevinb@redhat.com>
1036
1037 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1038 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1039
10abb1d4
JB
10402002-10-02 Jim Blandy <jimb@redhat.com>
1041
1042 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1043
1f609b42
AC
10442002-10-01 Andrew Cagney <ac131313@redhat.com>
1045
1046 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1047 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1048 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1049 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1050 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1051 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1052 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1053
0aee02e4
AC
10542002-09-29 Andrew Cagney <ac131313@redhat.com>
1055
1056 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1057 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1058 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1059 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1060 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1061 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1062 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1063
6fde09ad
KB
10642002-09-27 Kevin Buettner <kevinb@redhat.com>
1065
1066 * gdb.base/annota1.exp (info break): Make directory components of
1067 path optional since not all compilers emit this debug information.
1068
1069 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1070 step ends up stepping out of the function instead of stopping on
1071 the epilogue.
1072
9e8aab75
KS
10732002-09-26 Keith Seitz <keiths@redhat.com>
1074
1075 * lib/insight-support.exp (gdbtk_start): Figure out where
1076 the insight executable is based on where gdb is. Use this
1077 executable to start insight instead of gdb.
1078
e36180d7
AC
10792002-09-25 Andrew Cagney <cagney@redhat.com>
1080
1081 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1082
9dd34b2b
AC
10832002-09-24 Andrew Cagney <ac131313@redhat.com>
1084
1085 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1086 test_isolated_complaints.
1087 (test_empty_complaint): New function.
1088 (test_empty_complaints): New function. Check no output when no
1089 complaints.
1090
dea97812
KB
10912002-09-19 Jim Blandy <jimb@redhat.com>
1092
1093 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1094
54951bd7
AC
10952002-09-19 Andrew Cagney <ac131313@redhat.com>
1096
1097 * gdb.gdb/complaints.exp: New file.
1098
dec43320
AC
10992002-09-18 Andrew Cagney <ac131313@redhat.com>
1100
1101 * gdb.base/maint.exp: Check `help maint internal-warning'.
1102
e70d6e3f
DC
11032002-09-18 David Carlton <carlton@math.stanford.edu>
1104
1105 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1106 numbers, and replace them by a single breakpoint after the
1107 constructors are all finished.
1108 Add test 4.
1109 * gdb.c++/m-static.cc: Add test 4.
1110 * gdb.c++/m-static.h: New file.
1111 * gdb.c++/m-static1.cc: New file.
1112
1113 * gdb.c++/printmethod.exp: New file.
1114 * gdb.c++/printmethod.cc: New file.
1115
1116 * gdb.c++/pr-574.exp: New file.
1117 * gdb.c++/pr-574.cc: New file.
1118
afb5c968
CV
11192002-09-18 Corinna Vinschen <vinschen@redhat.com>
1120
1121 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1122 embedded targets which never actually exit.
1123
31e45dee
FN
11242002-09-18 Fernando Nasser <fnasser@redhat.com>
1125
1126 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1127 "don't step after run" as unresolved or unsupported, instead of xfail.
1128
a283c5a1
CV
11292002-09-18 Corinna Vinschen <vinschen@redhat.com>
1130
1131 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1132 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1133 Add newline to expected string in "step out of main (status wrapper)"
1134 case.
1135
11350d2a
CV
11362002-09-18 Corinna Vinschen <vinschen@redhat.com>
1137
1138 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1139 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1140
0deec7d6
TT
11412002-09-17 Tom Tromey <tromey@redhat.com>
1142
1143 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1144 \000, not \0, in double-quoted string.
1145
b2b4a1b5
CV
11462002-09-14 Corinna Vinschen <vinschen@redhat.com>
1147
1148 * gdb.base/command.exp: Don't expect a "Program exited normally"
1149 string after running the commands execution on breakpoint tests.
1150
1c56143a
CV
11512002-09-13 Corinna Vinschen <vinschen@redhat.com>
1152
1153 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1154
37f8da45
JB
11552002-09-12 Joel Brobecker <brobecker@gnat.com>
1156
1157 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1158
08b468e0
KS
11592002-09-10 Keith Seitz <keiths@redhat.com>
1160
1161 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1162 runto proc.
1163 (mi_run_to_main): Use mi_runto.
1164 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1165
dc360f58
KS
11662002-09-10 Keith Seitz <keiths@redhat.com>
1167
1168 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1169 regexp for stopping at main. Could have multiple event notifications.
1170 Don't assume that main was declared with no parameters.
1171 (mi_next): Use mi_step_to.
1172 (mi_step): Use mi_next_to.
1173
ce3abcfb
CV
11742002-09-09 Corinna Vinschen <vinschen@redhat.com>
1175
1176 * gdb.base/default.exp: Fix expected string in `info float' test.
1177
d1f5b980
BE
11782002-09-09 Ben Elliston <bje@redhat.com>
1179
1180 * config/mips.exp: Update comments.
1181 * config/mips-idt.exp: Likewise.
1182 * config/nind.exp: Likewise.
1183 * config/slite.exp: Likewise.
1184 * config/sparclet.exp: Likewise.
1185 * config/udi.exp: Likewise.
1186 * config/vx.exp: Likewise.
1187 * config/vxworks29k.exp: Likewise.
1188
2f71430b
JB
11892002-09-05 Jim Blandy <jimb@redhat.com>
1190
1191 * gdb.threads/killed.exp: Fix test failure message.
1192
7ddebc7e
KS
11932002-09-04 Keith Seitz <keiths@redhat.com>
1194
1195 * lib/mi-support.exp: Update copyright.
1196 (mi_gdb_test): Increase the priority of the expected pattern
1197 so that it matches gdb_test.
1198
0ae67eb3
KS
11992002-09-03 Keith Seitz <keiths@redhat.com>
1200
1201 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1202 Use integer comparison instead of string comparison for testing
1203 whether binary was built.
1204
38fc42c8
JB
12052002-09-03 Jim Blandy <jimb@redhat.com>
1206
1207 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1208
b6ff0e81
JB
12092002-08-29 Jim Blandy <jimb@redhat.com>
1210
1211 * gdb.threads/pthreads.exp: Move the portable thread compilation
1212 code into a function in lib/gdb.exp, and call that from here.
1213 * lib/gdb.exp (gdb_compile_pthreads): New function.
1214
07c98896
KS
12152002-08-29 Keith Seitz <keiths@redhat.com>
1216
1217 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1218 expect_out so that callers can get at it.
1219
0312286c
DJ
12202002-08-23 Daniel Jacobowitz <drow@mvista.com>
1221
1222 * gdb.threads/print-threads.c: New file.
1223 * gdb.threads/print-threads.exp: New file.
1224 * gdb.threads/schedlock.c: New file.
1225 * gdb.threads/schedlock.exp: New file.
1226
dd039bc4
EZ
12272002-08-22 Elena Zannoni <ezannoni@redhat.com>
1228
1229 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1230 not altivec.c.
1231
1f36144c
MK
12322002-08-17 Mark Kettenis <kettenis@gnu.org>
1233
1234 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1235 targets. The problem should be fixed now.
1236
16057ec7 12372002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1238
1239 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1240 2002-07-24 change that removes final dots from error messages.
1241
3c1499ad
TT
12422002-08-13 Tom Tromey <tromey@redhat.com>
1243
1244 * gdb.base/readline.exp: New file.
1245
a20ce2c3
AC
12462002-08-01 Andrew Cagney <ac131313@redhat.com>
1247
1248 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1249 supress message.
1250
db034ac5
AC
12512002-08-01 Andrew Cagney <cagney@redhat.com>
1252
1253 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1254 CHILL_FOR_TARGET and CHILL_LIB.
1255 * configure.in (configdirs): Remove gdb.chill.
1256 * configure: Regenerate.
1257 * lib/gdb.exp: Obsolete references to chill.
1258 * gdb.fortran/types.exp: Ditto.
1259 * gdb.fortran/exprs.exp: Ditto.
1260
3e000b18
KB
12612002-07-30 Kevin Buettner <kevinb@redhat.com>
1262
1263 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1264 set Irix-specific compile and link flags.
1265
28f4966b
KB
12662002-07-29 Kevin Buettner <kevinb@redhat.com>
1267
1268 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1269 source files. The ``-o'' option doesn't work with the ``-E'' option
1270 when using the Irix compiler.
1271
46c0d5a6
DJ
12722002-07-19 Daniel Jacobowitz <drow@mvista.com>
1273
1274 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1275 Improve support for reusing an exec file. Copy exec file
1276 to target, and run gdbserver on the target instead of on the host.
1277
eecf4bed
JB
12782002-07-18 Jim Blandy <jimb@redhat.com>
1279
0f815cdf
JB
1280 * gdb.base/ending-run.exp: Don't expect to see the program end in
1281 some orderly fashion when we're running on a real stand-alone
1282 board.
1283
eecf4bed
JB
1284 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1285 targets that don't support interrupts.
1286
52d309e4
JB
12872002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1288
1289 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1290 systems.
1291 Move comments in expect statements to inside the actions, so that they
1292 don't get matched against.
1293
ff683d9e
MK
12942002-07-10 Mark Kettenis <kettenis@gnu.org>
1295
1296 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1297 function when asleep" test.
1298
b5356753
AC
12992002-07-10 Andrew Cagney <ac131313@redhat.com>
1300
1301 * gdb.base/page.exp: Rewrite to handle problems with very long
1302 `info set' output. Update copyright.
1303
6aa4d13a
AC
13042002-06-26 Andrew Cagney <ac131313@redhat.com>
1305
1306 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1307 gdb.threads-hp.
1308 * gdb.hp/configure: Regenerate.
1309 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1310 * gdb.hp/gdb.threads-hp/configure: Delete file.
1311 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1312
8cf8c2b8
AC
13132002-06-22 Andrew Cagney <ac131313@redhat.com>
1314
1315 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1316 setlocale, bindtextdomain and textdomain.
1317
6827a8f8
JB
13182002-06-11 Jim Blandy <jimb@redhat.com>
1319
919d772c
JB
1320 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1321 preprocessor macro information is present.
1322
6827a8f8
JB
1323 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1324 tests.
1325
c15b0d21
MS
13262002-06-06 Michael Snyder <msnyder@redhat.com>
1327
c5984d70
MS
1328 * gdb.base/overlays.exp: Record addresses of overlay
1329 functions in TCL variables rather than in GDB variables,
1330 to avoid having GDB convert them to pointers (with loss
1331 of information).
1332
99a8512b
MS
1333 * gdb.base/d10v.ld: Merge in several years worth of
1334 default linker script changes.
c15b0d21
MS
1335 * gdb.base/long_long.exp: Add check for sizeof (long double).
1336
be26fe0d
ML
13372002-06-06 Michal Ludvig <mludvig@suse.cz>
1338
1339 * gdb.asm/asm-source.exp: Add x86-64 target.
1340 * gdb.asm/x86_64.inc: New.
1341
258093ca 13422002-05-30 Michael Chastain <mec@shout.net>
258093ca 1343
4b3153f1 1344 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1345 * gdb.c++/m-static.cc: New file.
1346 * gdb.c++/m-static.exp: New file.
1347
241264c6
MS
13482002-05-28 Michael Snyder <msnyder@redhat.com>
1349
1350 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1351 precision.
1352
9bba8c8f 13532002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1354
4b3153f1 1355 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1356 * gdb.c++/m-data.cc: New file.
1357 * gdb.c++/m-data.exp: New file.
1358
13592002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1360
4b3153f1 1361 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1362 * gdb.c++/try_catch.cc: New file.
1363 * gdb.c++/try_catch.exp: New file.
1364
def1b996
MC
13652002-05-27 Michael Chastain <mec@shout.net>
1366
1367 * gdb.c++/local.exp: Accept more nested types in output.
1368
522ba268
MC
13692002-05-26 Michael Chastain <mec@shout.net>
1370
1371 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1372
277254ba
MS
13732002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1374
1375 * lib/gdb.exp (gdb_wrapper_init): Just because
1376 gdb_wrapper_file exists, this does not mean that the file
1377 should not be rebuilt. That is what gdb_wrapper_initialized
1378 is for.
1379 (default_gdb_init): Reset gdb_wrapper_initialized.
1380
b61a8733
MS
13812002-05-23 Michael Snyder <msnyder@redhat.com>
1382
5bdb6d01
MS
1383 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1384 the precision of the floating point test results.
1385 * gdb.base/call-rt-st.exp: Ditto.
1386
b61a8733
MS
1387 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1388 * gdb.base/call-rt-st.exp: Ditto.
1389
56f6e910
MC
13902002-05-19 Michael Chastain <mec@shout.net>
1391
1392 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1393
ad0b0016
EZ
13942002-05-19 Elena Zannoni <ezannoni@redhat.com>
1395
1396 * configure.in (configdirs): Add gdb.arch.
1397 * configure: Regenerate.
1398
f617d2b6
JB
13992002-05-17 Jim Blandy <jimb@redhat.com>
1400
1401 * gdb.base/completion.exp: Recognize the more detailed error
1402 messages produced by the macro expander's lexical analyzer.
1403
eac2a696
EZ
14042002-05-14 Elena Zannoni <ezannoni@redhat.com>
1405
1406 * gdb.arch/altivec-abi.c: New file.
1407 * gdb.arch/altivec-abi.exp: New file.
1408 * gdb.arch/altivec-regs.c: New file.
1409 * gdb.arch/altivec-regs.exp: New file.
1410
2fdde8f8
DJ
14112002-05-14 Daniel Jacobowitz <drow@mvista.com>
1412
1413 * gdb.base/maint.exp (maint print type): Update for new type
1414 structure.
eac2a696 1415
e31f1a7c
EZ
14162002-05-14 Elena Zannoni <ezannoni@redhat.com>
1417
1418 * gdb.arch: New directory.
1419 * gdb.arch/configure.in: New file.
1420 * gdb.arch/configure: New file.
1421 * gdb.arch/Makefile.in: New file.
1422
db589741
CV
14232002-05-13 Corinna Vinschen <vinschen@redhat.com>
1424
1425 * gdb.asm/asm-source.exp: Add v850 as supported target.
1426 * gdb.asm/v850.inc: New file.
1427
8ce2a7dc
DJ
14282002-05-13 Daniel Jacobowitz <drow@mvista.com>
1429
1430 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1431
df763c7f
DJ
14322002-05-12 Daniel Jacobowitz <drow@mvista.com>
1433
1434 * gdb.base/break.exp: Check 'break "marker2"'.
1435
377daeed
MS
14362002-05-10 Michael Snyder <msnyder@redhat.com>
1437
1438 * gdb.base/long_long.exp: Fix typo.
1439
c4b7bc2b
JB
14402002-05-10 Jim Blandy <jimb@redhat.com>
1441
ecac9a4e
JB
1442 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1443 a bug.
1444
c4b7bc2b
JB
1445 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1446 Recognize more detailed error message produced by the macro
1447 expander's lexical analyzer.
1448 * lib/gdb.exp (test_print_reject): Same.
1449
e71019a1
MK
14502002-05-09 Mark Kettenis <kettenis@gnu.org>
1451
1452 * gdb.c++/method.exp: Fix typo.
1453
fedfc8e6
MS
14542002-05-08 Michael Snyder <msnyder@redhat.com>
1455
166a1957
MS
1456 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1457 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1458 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1459 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1460 Add iftarget clause for strongarm.
1461
f1c47eb2
MS
14622002-05-06 Michael Snyder <msnyder@redhat.com>
1463
cb9a9d3e
MS
1464 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1465 (gdb_continue_to_end): Accept output from status wrapper.
1466 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1467 Clean up fail messages to match pass messages.
1468
f1c47eb2
MS
1469 Enable the "needs_status_wrapper" testsuite feature.
1470 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1471 (gdb_compile): Conditionally call gdb_wrapper_init.
1472 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1473 * gdb.c++/method.exp: Recognize output from status wrapper.
1474
6079c749
BE
14752002-05-06 Ben Elliston <bje@redhat.com>
1476From Graydon Hoare <graydon@redhat.com>
1477
1478 * config/sid.exp: Include support for "rawsid" protocol.
1479
188baff3
JB
14802002-05-03 Jim Blandy <jimb@redhat.com>
1481
1482 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1483 * gdb.c++/hang3.C: New file.
1484
b9c07f0f
AC
14852002-05-04 Andrew Cagney <ac131313@redhat.com>
1486
1487 * gdb.base/default.exp: Remove obsolete code.
1488 * gdb.c++/misc.exp: Ditto. Update copyright.
1489 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1490 * gdb.base/whatis.exp: Ditto. Update copyright.
1491 * gdb.base/scope.exp: Ditto. Update copyright.
1492 * gdb.base/ptype.exp: Ditto. Update copyright.
1493 * gdb.base/printcmds.exp: Ditto. Update copyright.
1494 * gdb.base/opaque.exp: Ditto. Update copyright.
1495 * gdb.base/list.exp: Ditto.
1496 * gdb.base/funcargs.exp: Ditto. Update copyright.
1497 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1498 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1499 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1500 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1501 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1502 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1503
5c7a0397
MS
15042002-05-02 Michael Snyder <msnyder@redhat.com>
1505
d6dcc264 1506 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1507 * gdb.base/long_long.exp: Add xscale target.
1508 * gdb.base/default.exp: Add xscale target.
1509
eb7f1c48
JB
15102002-05-01 Jim Blandy <jimb@redhat.com>
1511
1512 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1513 gdb.c++/hang.exp: New test.
1514
a6befae8
FF
15152002-05-01 Fred Fish <fnf@redhat.com>
1516
1517 * gdb.base/completion.exp: Handle completions of "./Make" for
1518 more than one completion possibility, as is the case when we
1519 build and test in the source tree.
1520
0a310277
AG
15212002-04-29 Anthony Green <green@redhat.com>
1522
1523 * gdb.java/jmisc1.exp: New file.
1524 * gdb.java/jmisc2.exp: New file.
1525
6ff9af88
DJ
15262002-04-24 Daniel Jacobowitz <drow@mvista.com>
1527
1528 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1529
96b3d632
EZ
15302002-04-23 Elena Zannoni <ezannoni@redhat.com>
1531
1532 * gdb.base/help.exp: Change 'help status' to allow for target
1533 dependent output differences.
1534
5019bb54
MC
15352002-04-22 Michael Chastain <mec@shout.net>
1536
1537 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1538
a805a116
MC
15392002-04-22 Michael Chastain <mec@shout.net>
1540
1541 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1542
a1706bfd
DM
15432002-04-17 David S. Miller <davem@redhat.com>
1544
1545 * gdb.asm/sparc64.inc: New file.
1546 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1547
a73a20a2
EZ
15482002-04-19 Elena Zannoni <ezannoni@redhat.com>
1549
1550 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1551 instruction file directly into the build tree. Clean up at end of
1552 test.
1553
ba678339
DM
15542002-04-18 David S. Miller <davem@redhat.com>
1555
1556 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1557 handle 64-bit platforms correctly.
1558 * gdb.base/maint.exp: Likewise.
1559
b03399da
KB
15602002-04-18 Kevin Buettner <kevinb@redhat.com>
1561
1562 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1563 ``-fpic'' when compiling files comprising a shared library, but
1564 it does need additional linker flags in order to find shared
1565 libraries at run time.
1566
e2004992
KB
15672002-04-18 Kevin Buettner <kevinb@redhat.com>
1568
1569 * gdb.base/cvexpr.c (use): New function.
1570 (main): Invoke use() on all global variables to prevent
1571 some linkers from deleting these otherwise unused symbols.
1572
d8937120
MC
15732002-04-17 Michael Chastain <mec@shout.net>
1574From David S. Miller <davem@redhat.com>
1575
1576 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1577 handle 64-bit platforms correctly.
1578
ffd61a58
MS
15792002-04-12 Michael Snyder <msnyder@redhat.com>
1580From Jim Blandy <jimb@redhat.com>
1581 * gdb.base/foo.c (foox): Remove section attribute; the linker
1582 script can handle this instead.
1583 * gdb.base/bar.c (barx): Same.
1584 * gdb.base/baz.c (bazx): Same.
1585 * gdb.base/grbx.c (grbxx): Same.
1586
1587 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1588 manager doesn't automatically unmap overlays unnecessarily.
1589
6b8426a6
MH
15902002-04-10 Martin M. Hunt <hunt@redhat.com>
1591
1592 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1593 stepping out of main.
1594
34af4875
MC
15952002-04-09 Michael Chastain <mec@shout.net>
1596
1597 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1598 scope so that the nested scope tests will make sense.
1599 * gdb.c++/local.exp: Write patterns that actually work with gcc
1600 (the HP patterns "were never known to work with gcc").
1601 Keep the old aCC patterns too.
1602
2d1676a0
DJ
16032002-04-09 Daniel Jacobowitz <drow@mvista.com>
1604
1605 * gdb.base/attach.exp: Correct target board test.
1606
3a63e3f9
MC
16072002-04-08 Michael Chastain <mec@shout.net>
1608
1609 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1610 in a const method. Add some xfail and fail cases for configurations
1611 that do not emit the "const ...".
1612
f18dabd2
MC
16132002-04-07 Michael Chastain <mec@shout.net>
1614
1615 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1616 Accept "A * const" and "const A * const" as type of "this".
1617 Fix spelling of getFunky throughout. Make messages uniform.
1618
0fcddd82
EZ
16192002-04-07 Elena Zannoni <ezannoni@redhat.com>
1620
1621 Work around for PR gdb/285:
1622 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1623
16a8534a
EZ
16242002-04-07 Elena Zannoni <ezannoni@redhat.com>
1625
1626 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1627 instructions file at run time instead of configure time.
1628 Sometimes we run the test in a directory that is not the one we
1629 configured in.
1630 * gdb.asm/configure.in: Delete creation of symlink.
1631 * gdb.asm/configure: Regenerate.
1632
24181d81
JB
16332002-04-05 J. Brobecker <brobecker@gnat.com>
1634
1635 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1636 xfullpath () function.
1637
7cdb7107
DJ
16382002-04-04 Daniel Jacobowitz <drow@mvista.com>
1639
1640 * gdb.asm/Makefile.in: Correct dependencies.
1641
1642 * gdb.asm/powerpc.inc: New file.
1643 * gdb.asm/asm-source.exp: Add PowerPC.
1644 * gdb.asm/configure.in: Likewise.
1645 * gdb.asm/configure: Regenerated.
1646
a7d17088
DJ
16472002-04-04 Daniel Jacobowitz <drow@mvista.com>
1648
1649 * gdb.base/relocate.exp: New file.
1650 * gdb.base/relocate.c: New file.
1651
cd721503
FF
16522002-04-04 Fred Fish <fnf@redhat.com>
1653
1654 * gdb.base/step-test.exp: Update comment regarding stopping in
1655 memcpy/bcopy calls inserted as part of the compiler runtime.
1656
b22ad7a7
MS
16572002-04-04 Michael Snyder <msnyder@redhat.com>
1658
1659 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1660
5f279fa6
DJ
16612002-04-03 Daniel Jacobowitz <drow@mvista.com>
1662
1663 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1664 (gdb_expect): Remove $notransfer hack.
1665
dd0fd3ce
DJ
16662002-04-02 Daniel Jacobowitz <drow@mvista.com>
1667
1668 * gdb.c++/classes.exp ("calling method for small class"): Match
1669 updated register output.
1670
1e50cda1
DJ
16712002-03-30 Daniel Jacobowitz <drow@mvista.com>
1672
1673 Fix PR gdb/452
1674 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1675 when finished. Make gdb_file_cmd send "exec-file" when
1676 appropriate.
1677
24015922
DJ
16782002-03-30 Daniel Jacobowitz <drow@mvista.com>
1679
1680 * gdb.base/attach.exp: Remove extra setup_xfail.
1681
dd7dfd64
MS
16822002-03-26 Michael Snyder <msnyder@redhat.com>
1683
1684 * gdb.base/default.exp: Add tests for dump, append, and restore.
1685 * gdb.base/help.exp: Add tests for dump, append, and restore.
1686 * gdb.base/dump.exp: New file, test dump, append and restore.
1687 * gdb.base/dump.c: New file.
1688
48b2f8d7
MS
16892002-03-27 Michael Snyder <msnyder@redhat.com>
1690
1691 * gdb.base/help.exp: Modify expect strings to reflect
1692 clean-ups in help messages.
1693
05b4d525
FF
16942002-03-26 Fred Fish <fnf@redhat.com>
1695
1696 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1697 have debugging info for those functions and the compiler uses them
1698 internally to copy structs around.
1699
d7679631
FF
17002002-03-26 Fred Fish <fnf@redhat.com>
1701
1702 * gdb.base/list.exp: Revert the change made yesterday and add note
1703 about why we don't list the default lines for remote targets.
1704
523ac3f9
MS
17052002-03-25 Michael Snyder <msnyder@redhat.com>
1706
1707 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1708
754b2b8d
FF
17092002-03-25 Fred Fish <fnf@redhat.com>
1710
1711 * gdb.base/list.exp: This test works on remote targets so remove
1712 the short circuit for remote targets. Update copyright.
1713
33c3e192
FF
17142002-03-25 Fred Fish <fnf@redhat.com>
1715
1716 * gdb.base/attach.exp: Fix logic error that was suppressing this
1717 test for all non hppa*-*-hpux* targets, instead of the hp target.
1718 Move comments closer to the suppression point. Also now need to
1719 check that we are running natively.
1720
d43e73ee
MS
17212002-03-22 Michael Snyder <msnyder@redhat.com>
1722
882c8f02
MS
1723 * gdb.base/default.exp: Add test for gcore. Update copyright.
1724 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1725
04c12f60
FF
17262002-03-06 Fred Fish <fnf@redhat.com>
1727
1728 * gdb.base/funcargs.c: Remove extraneous ';' character.
1729 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1730
b43df995
MC
17312002-03-04 Michael Chastain <mec@shout.net>
1732
1733 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1734 accommodate gcc v3 function signature.
1735 * gdb.mi/mi0-var-cmd-exp: Ditto.
1736
92362027
AC
17372002-02-24 Andrew Cagney <ac131313@redhat.com>
1738
1739 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1740 ``GNU/Linux'' or ``Linux kernel''
1741 * testsuite/gdb.threads/pthreads.c: Ditto.
1742
258ad32d
MC
17432002-02-24 Michael Chastain <mec@shout.net>
1744
1745 * gdb.threads/pthreads.c (thread1): Add a return statement.
1746 (thread2): Likewise.
1747 (foo): Likewise.
1748
04c3b3d4
MC
17492002-02-23 Michael Chastain <mec@shout.net>
1750
1751 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1752 to placate gcc.
1753
5a2a0a20
MC
17542002-02-23 Michael Chastain <mec@shout.net>
1755
1756 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1757 test "ptype bint". The test passes on all my stabs configurations.
1758
a640f7fc
JB
17592002-02-21 Jim Blandy <jimb@redhat.com>
1760
27924826
JB
1761 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1762 filename at a time, and watch for the ones we want to see.
1763
a640f7fc
JB
1764 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1765 types of pointers to prototyped functions.
1766
edcc8c75
AC
17672002-02-20 Andrew Cagney <ac131313@redhat.com>
1768
1769 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1770 signed, unsigned and straight char.
1771 (padding_char, padding_short, padding_int, padding_long,
1772 padding_long_long, padding_float, padding_double,
1773 padding_long_double): New global variables.
1774 (fill, fill_structs): New functions.
1775
1776 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1777 for correctly sized writes. Update copyright.
1778 (get_valueof): New procedure.
1779 (get_sizeof): Call get_valueof.
1780 (check_valueof): New procedure.
1781 (check_padding): New procedure.
1782
ac57ea44
MC
17832002-02-20 Michael Chastain <mec@shout.net>
1784
1785 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1786 to setup_xfail. Document some of the remaining calls.
1787
7a10c941
MC
17882002-02-18 Michael Chastain <mec@shout.net>
1789
1790 * gdb.c++/userdef.exp: Update copyright year.
1791
fb8acdcc
DJ
17922002-02-18 Daniel Jacobowitz <drow@mvista.com>
1793
1794 * gdb.c++/userdef.exp: Test overloaded operators properly.
1795 Remove xfails.
1796
fda6ae12
MS
17972002-02-14 Michael Snyder <msnyder@redhat.com>
1798
1799 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1800
676a0442
DJ
18012002-02-14 Daniel Jacobowitz <drow@mvista.com>
1802
1803 * gdb.base/a2-run.exp: Check for a remote target properly.
1804 * gdb.base/annota1.exp: Likewise.
1805 * gdb.base/list.exp: Likewise.
1806 * gdb.base/reread.exp: Likewise.
1807 * gdb.base/scope.exp: Likewise.
1808 * gdb.base/shlib-call.exp: Likewise.
1809 * gdb.base/term.exp: Likewise.
1810 * gdb.c++/annota2.exp: Likewise.
1811
78b4f468
RE
18122002-02-13 Richard Earnshaw <rearnsha@arm.com>
1813
1814 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1815
9a81ba51
MC
18162002-02-10 Michael Chastain <mec@shout.net>
1817
1818 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1819 (call_after_alloca): Ditto.
1820
004af6c7
DJ
18212002-02-10 Daniel Jacobowitz <drow@mvista.com>
1822
1823 * gdb.base/ending-run.exp: Guard "cont" test with
1824 gdb_skip_stdio_test.
1825
37225f62
JB
18262002-02-06 Jim Blandy <jimb@redhat.com>
1827
1828 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1829 from here...
1830 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1831 To here. Disable this test on non-HP platforms. Add big comment.
1832
fe6fdd96
MS
18332002-02-04 Michael Snyder <msnyder@redhat.com>
1834
1835 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1836 other than d10v and m32r.
1837
036fad3f
RE
18382002-02-02 Richard Earnshaw <rearnsha@arm.com>
1839
1840 * gdb.base/default.exp: Rewrite test patterns to reduce time
1841 taken to match them.
1842
7148ab62
DJ
18432002-01-30 Daniel Jacobowitz <drow@mvista.com>
1844
1845 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1846 Allow a start function above main.
1847 * gdb.threads/linux-dp.exp: Fix copyright date.
1848
396cc255
DJ
18492002-01-30 Daniel Jacobowitz <drow@mvista.com>
1850
1851 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1852 (check_philosopher_stack): Check for manager thread before checking
1853 for a just-starting thread.
1854
f038d31b
DJ
18552002-01-30 Daniel Jacobowitz <drow@mvista.com>
1856
1857 From Neil Booth <neil@daikokuya.demon.co.uk>:
1858 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1859 warnings.
1860
b3ff9d9a
FF
18612002-01-21 Fred Fish <fnf@redhat.com>
1862
1863 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1864 not caller.
1865
39ad761d
JB
18662002-01-21 Jim Blandy <jimb@redhat.com>
1867
1868 * gdb.base/reread.exp: Check that GDB properly re-reads the
1869 executable file when it changes while no inferior is running.
1870
aaf320fa
FF
18712002-01-21 Fred Fish <fnf@redhat.com>
1872
1873 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1874 optionally accept the "shlib events" variation.
1875
808a31f5
JB
18762002-01-21 Jim Blandy <jimb@redhat.com>
1877
1878 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1879 call `fflush' after every `printf', so that the output is produced
1880 at predictable points, regardless of whatever buffering does (or
1881 doesn't) take place.
1882 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1883 at different points.
1884
4420d5e2
DJ
18852002-01-20 Daniel Jacobowitz <drow@mvista.com>
1886
1887 * gdb.c++/inherit.exp: Update copyright years.
1888 * gdb.c++/method.exp: Likewise.
1889
3e36a0f4
DJ
18902002-01-20 Daniel Jacobowitz <drow@mvista.com>
1891
1892 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1893 artificial methods/arguments.
1894 * gdb.c++/derivation.exp: Likewise.
1895 * gdb.c++/inherit.exp: Likewise.
1896 * gdb.c++/method.exp: Likewise.
1897 * gdb.c++/virtfunc.exp: Likewise.
1898
b4ceaee6
AC
18992002-01-18 Andrew Cagney <ac131313@redhat.com>
1900
1901 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1902 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1903 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1904 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1905 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1906 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1907
ecace851
JB
19082002-01-17 Jim Blandy <jimb@redhat.com>
1909
1910 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1911 anchoring the pattern matching the entry point symbol's name.
1912
375fc983
AC
19132002-01-17 Andrew Cagney <ac131313@redhat.com>
1914
1915 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1916 continue/quit query. Update copyright.
1917
fe6fdd96
MS
19182002-01-14 Michael Snyder <msnyder@redhat.com>
1919
1920 * gdb.base/gcore.exp: Remove extra debugging output.
1921
e017c81f
DJ
19222002-01-13 Daniel Jacobowitz <drow@mvista.com>
1923
1924 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1925 for slightly dubious v2 mangled string.
1926
37ab3bf8
DJ
19272002-01-13 Daniel Jacobowitz <drow@mvista.com>
1928
1929 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1930
1bc05c3a 19312002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1932
1bc05c3a 1933 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1934
1bc05c3a
JM
1935 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1936 constructors.
1937 * gdb.c++/derivation.exp: Likewise.
1938 * gdb.c++/templates.exp: Likewise.
1939 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1940
1bc05c3a
JM
19412002-01-10 Michael Snyder <msnyder@redhat.com>
1942
1943 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1944
a911c360
MS
19452002-01-08 Michael Snyder <msnyder@redhat.com>
1946
1947 * gdb.base/gcore.exp: New test for generate-core-file command.
1948 * gdb.base/gcore.c: Testcase for above.
1949 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1950
ea2119ec
JM
19512002-01-08 Jason Merrill <jason@redhat.com>
1952
1953 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1954
68203136
FF
19552002-01-07 Fred Fish <fnf@redhat.com>
1956
1957 * gdb.c++/overload.exp: Remove unconditional xfails for:
1958 print foo_instance1.overloadargs(1)
1959 print foo_instance1.overloadargs(1, 2)
1960 print foo_instance1.overloadargs(1, 2, 3)
1961 print foo_instance1.overloadargs(1, 2, 3, 4)
1962 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1963 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1964 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1965 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1966 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1967 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1968 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1969 print foo_instance1.overload1arg()
1970 print foo_instance1.overload1arg((char)arg2)
1971 print foo_instance1.overload1arg((signed char)arg3)
1972 print foo_instance1.overload1arg((unsigned char)arg4)
1973 print foo_instance1.overload1arg((int)arg7)
1974 print foo_instance1.overload1arg((unsigned int)arg8)
1975 print foo_instance1.overload1arg((float)arg11)
1976 print foo_instance1.overload1arg((double)arg12)
1977
21b9b5b1
MS
19782002-01-07 Michael Snyder <msnyder@redhat.com>
1979
1980 * gdb.base/huge.exp: New test. Print a very large target data object.
1981 (skip_huge_test): New test variable. Define if you want to skip this
1982 test. The test reads an 8 megabyte data object from the target, so it
1983 might be very time consuming on remote targets with a slow connection.
1984 * gdb.base/huge.c: New file. Test case for above.
1985
725f922e
FF
19862002-01-07 Fred Fish <fnf@redhat.com>
1987
1988 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1989 g_instance.bfoo, and g_instance.cfoo.
1990
634d57ec
JL
1991Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1992
f286b2c3
JL
1993 * gdb.base/break.c (multi_line_if_conditional): New function.
1994 (multi_ilne_while_conditional): Likewise.
1995 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1996 IF or WHILE condition puts the breakpoint at the start of
1997 the condition.
1998
634d57ec
JL
1999 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2000 hppa*-*-hpux* expected failure.
2001 * gdb.base/structs.exp (do_function_calls): Similarly.
2002
2003 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2004 watchpoints.
2005
9fbfe2dc
AC
20062002-01-06 Andrew Cagney <ac131313@redhat.com>
2007
2008 Fix PR gdb/66.
2009 * gdb.base/structs.exp: Replace skip for a29k with skip for
2010 gdb,cannot_call_functions.
2011 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2012 * gdb.base/callfuncs.exp: Ditto.
2013 * gdb.base/call-rt-st.exp: Ditto.
2014 * gdb.base/call-strs.exp: Ditto.
2015 * gdb.base/callfwmall.exp: Ditto.
2016 * gdb.base/scope.exp: Obsolete xfail a29k.
2017 * gdb.c++/misc.exp: Ditto.
2018 * gdb.c++/cplusfuncs.exp: Ditto.
2019 * gdb.base/ptype.exp: Ditto.
2020 * gdb.base/printcmds.exp: Ditto.
2021 * gdb.base/opaque.exp: Ditto.
2022 * gdb.base/list.exp: Ditto.
2023 * gdb.base/funcargs.exp: Ditto.
2024 * gdb.base/default.exp: Ditto.
2025
8ddad156
MS
20262002-01-04 Michael Snyder <msnyder@redhat.com>
2027
ca4976a6 2028 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2029 * gdb.base/maint.exp: Add tests for maint info sections options.
2030
1b074332
JL
2031Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2032
2033 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2034
7d159115
CV
20352001-12-20 Corinna Vinschen <vinschen@redhat.com>
2036
2037 * gdb.asm/arm.inc: New file.
2038 * gdb.asm/asm-source.exp: Add arm targets.
2039 * gdb.asm/configure.in: Ditto.
2040 * gdb.asm/configure: Recreated from configure.in.
2041
8fb87725
JL
2042Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2043
afabe08c
JL
2044 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2045 with HP's compiler.
2046 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2047 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2048 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2049 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2050
2051 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2052 either HP's compilers or GCC.
2053
db521deb
JL
2054 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2055 a SIGBUS or SIGSEGV.
2056
2057 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2058
2059 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2060 can be compiled with either HP's compiler or GCC.
2061
cfa88ab7
JL
2062 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2063 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2064 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2065
ca344dff
JL
2066 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2067 to match current gdb output. Update due to using auto-solib-limit
2068 for limiting instead of overloading auto-solib-add.
2069 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2070 test program.
2071
3f3c6e55 2072 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2073 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2074 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2075 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2076 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2077 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2078 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2079 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2080 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2081 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2082 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2083 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2084 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2085
8fb87725
JL
2086 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2087 a SIGTRAP to the inferior.
2088
cf599fa7
CV
20892001-12-19 Corinna Vinschen <vinschen@redhat.com>
2090
2091 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2092 Substitute call to target_link by call to gdb_compile.
2093
2cd045cd
JL
2094Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2095
2096 * gdb.base/break.exp: Fix HP specific search string when testing
2097 backtracing in a called function.
2098
2099 * gdb.base/constvars.exp: Only set lang to C++ if we're
2100 compiling the test with HP's compilers.
2101 * gdb.base/volatile.exp: Similarly.
2102
99ebe9ac
JB
21032001-12-19 Jim Blandy <jimb@redhat.com>
2104
2105 * gdb.base/printcmds.exp: Expect the null character to be printed
2106 as '\0', and the '\013' to be printed as '\v'.
2107 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2108 * gdb.base/setvar.exp: Same.
2109
b9891b29
JB
21102001-12-17 Jim Blandy <jimb@redhat.com>
2111
0eba65ab
JB
2112 * gdb.base/completion.exp: Rather than completing very long
2113 filenames, which can make the readline library produce output we
2114 don't recognize, cd to the directory first, and then complete
2115 using nice, short relative paths.
2116
6970b5b1
JB
2117 * gdb.base/completion.exp: On some systems, there is, in fact, a
2118 variable named `b' in scope, since GDB treats all static
2119 variables as being in scope. So use `no_var_named_this'
2120 instead of `b'.
2121
b9891b29
JB
2122 * gdb.base/corefile.exp: Recognize the message saying that GDB
2123 can't find the core file's registers as a failure.
2124
e6ccd35f
JSC
21252001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2126
2127 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2128 test expect string more specific.
2129
105ba819
CV
21302001-12-13 Corinna Vinschen <vinschen@redhat.com>
2131
2132 * gdb.asm/asm-source.exp: Add support for xstormy16.
2133 * gdb.asm/configure.in: Ditto.
2134 * gdb.asm/configure: Rebuild.
2135 * gdb.asm/xstormy16.inc: New file.
2136
e9e79dd9
FF
21372001-12-10 Fred Fish <fnf@redhat.com>
2138
2139 * gdb.base/maint.exp: Update to match changes in type dumping code.
2140
347dc97d
JB
21412001-12-10 Jim Blandy <jimb@redhat.com>
2142
2143 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2144 matching the entry point symbol's name at the beginning of the
2145 line.
2146
5178b9d6
DJ
21472001-12-07 Daniel Jacobowitz <drow@mvista.com>
2148
2149 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2150 gdb.c++/inherit.exp, gdb.c++/method.exp,
2151 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2152 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2153 and class layout support.
2154
af890c52
DJ
21552001-12-07 Daniel Jacobowitz <drow@mvista.com>
2156
2157 * gdb.c++/classes.exp: Add test for static member function.
2158 * gdb.c++/misc.cc: Add class with static member function.
2159
7a345fb3
JB
21602001-12-07 Jim Blandy <jimb@redhat.com>
2161
f2e54a80 2162 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2163 those tests as `unsupported'.
2164 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2165 Rewrite subsequent tests to use it.
2166
2167 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2168 those tests as `unsupported'.
2169 * gdb.base/structs.exp (call_struct_func): New function.
2170 (do_function_calls): Use call_struct_func to call the functions
2171 returning structs.
2172
0bc69509
JB
2173 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2174 whether functions are prototyped or not, so we can't possibly pass
2175 arguments to t_float_values2 properly.
2176
7a345fb3
JB
2177 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2178 value of `timeout' for targets other than the mips*tx39-*.
2179
edb6ede1
MS
21802001-12-06 Michael Snyder <msnyder@redhat.com>
2181
2182 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2183 and detect whether the start symbol has a leading underscore.
2184
2d842f13
JB
21852001-12-04 Jim Blandy <jimb@redhat.com>
2186
2187 * gdb.base/completion.exp: Clarify indentation.
2188
68550daf
JB
21892001-12-03 Jim Blandy <jimb@redhat.com>
2190
2191 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2192 variables on the S/390, not `.word'.
2193
cd5195a8
JB
21942001-11-30 Jim Blandy <jimb@redhat.com>
2195
2196 Add assembly-source tests for s390-ibm-linux.
2197 * gdb.asm/s390.inc: New file.
2198 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2199 the S/390 architecture.
2200 * gdb.asm/configure: Regenerated.
2201
ca9efc90
MS
22022001-11-30 Michael Snyder <msnyder@redhat.com>
2203
2204 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2205 next, info source, info sources, info line, global and static
2206 variables, and static functions.
2207 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2208 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2209 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2210 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2211 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2212 (gdbasm_leave): Restore frame pointer.
2213 (gdbasm_startup): Copy stack set-up from crt0.S.
2214
d0e66976
FN
22152001-11-26 Fernando Nasser <fnasser@redhat.com>
2216
2217 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2218 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2219 to a local (non-static) variable. Copy tstruct.a to a static buffer
2220 and return a pointer to that buffer.
2221 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2222
e2334072
MK
22232001-11-24 Mark Kettenis <kettenis@gnu.org>
2224
2225 * gdb.asm/configure.in: Fix recognition of ix86 target.
2226 * gdb.asm/configure: Regenerate.
2227
756caa3d
MS
22282001-11-21 Michael Snyder <msnyder@redhat.com>
2229
2230 * gdb.asm/sparc.inc: New file.
2231 * gdb.asm/asm-source.exp: Recognize sparc target.
2232 * gdb.asm/configure.in: Recognize sparc target.
2233 * gdb.asm/configure: Regenerate.
2234
9a4d72d5
MS
22352001-11-21 Michael Snyder <msnyder@redhat.com>
2236
2237 * gdb.asm/m32r.inc: New file.
2238 * gdb.asm/asm-source.exp: Recognize m32r target.
2239 * gdb.asm/configure.in: Recognize m32r target.
2240 * gdb.asm/configure: Regenerate.
2241
a773d1cd
MS
22422001-11-20 Michael Snyder <msnyder@redhat.com>
2243
017ac23d
MS
2244 * gdb.asm/i386.inc: New file.
2245 * gdb.asm/asm-source.exp: Recognize ix86 target.
2246 * gdb.asm/configure.in: Recognize ix86 target.
2247 * gdb.asm/configure: Regenerate.
2248
a773d1cd
MS
2249 * gdb.c++/namespace.exp: Fix quotes in output messages.
2250
bb632afb
MS
22512001-11-14 Michael Snyder <msnyder@redhat.com>
2252
25d559ca 2253 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2254 qualifier in a type cast expression, to designate an address
2255 in the instruction space (Harvard architecture).
2256
4749e309
MS
22572001-11-13 Michael Snyder <msnyder@redhat.com>
2258
2259 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2260 Tests for expressions using 'const' and 'volatile'.
2261
25050984
CV
22622001-11-13 Corinna Vinschen <vinschen@redhat.com>
2263
2264 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2265
1902c51f
DJ
22662001-11-12 Daniel Jacobowitz <drow@mvista.com>
2267
2268 * lib/mi-support.exp (mi_run_to_helper): Move comments
2269 outside of gdb_expect.
2270
dcf95b47
DJ
22712001-11-11 Daniel Jacobowitz <drow@mvista.com>
2272
2273 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2274 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2275 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2276 mi0_run_to): New functions.
2277 * gdb.mi/mi-simplerun.exp: Use them.
2278 * gdb.mi/mi0-simplerun.exp: Likewise.
2279 * gdb.mi/mi-var-cmd.exp: Likewise.
2280 * gdb.mi/mi0-var-cmd.exp: Likewise.
2281
45b074e1
AC
22822001-11-10 Andrew Cagney <ac131313@redhat.com>
2283
2284 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2285 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2286
bf50d346
AC
22872001-11-09 Andrew Cagney <ac131313@redhat.com>
2288
2289 * gdb.base/restore.exp: Include $expected value in restored test
2290 message.
2291
9383332c
AC
22922001-11-09 Andrew Cagney <ac131313@redhat.com>
2293
2294 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2295 implemented.
2296
db62520a
MS
22972001-11-08 Michael Snyder <msnyder@redhat.com>
2298
2299 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2300 Add pass/fail message for stop at breakpoint in call dummy function.
2301
b5703437
MS
23022001-11-07 Michael Snyder <msnyder@redhat.com>
2303
760f6330
MS
2304 * gdb.c++/templates.exp (test_template_breakpoints):
2305 If we get an overload menu, but it does not match what
2306 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2307 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2308 making the whitespace optional. Argument for "new" may be
2309 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2310 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2311 making the whitespace optional. Also replace "(void) with
2312 "((void|)), making the keyword "void" optional.
63f50499
MS
2313 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2314 making the whitespace optional. Also replace "(void) with
2315 "((void|)), making the keyword "void" optional.
3bf40917
MS
2316 * gdb.base/callfuncs.c (t_float_values): This function must
2317 _not_ be prototyped, and the following function (t_float_values2)
2318 must be prototyped (if the compiler supports it), so that GDB
2319 can be tested against both cases. Usually one case involves
2320 promotion of float to double, while the other does not.
2321 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2322 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2323 includes a stack frame for "start".
2324
c8ab4e6d
JB
23252001-11-05 Jim Blandy <jimb@redhat.com>
2326
2327 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2328 pointers are 32 bits long, and that offsets of relocs are always
2329 stored in the data (REL-style), and not in the reloc entry itself
2330 (RELA-style).
2331 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2332 stabs.
2333
3f08ced9
MS
23342001-11-01 Michael Snyder <msnyder@redhat.com>
2335
2336 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2337 and regular expression operators by using quoting.
2338
cbfa24cd
MS
23392001-10-31 Michael Snyder <msnyder@redhat.com>
2340
2341 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2342 depending on what the symbol table contains.
2343 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2344 the output of the ptype command. Similarly, accept both "const &"
2345 and "const&".
2346
aaa68313
CV
23472001-10-31 Corinna Vinschen <vinschen@redhat.com>
2348
2349 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2350 symbol `STORAGE' to allow to choose the storage class of
2351 the local datastructures.
2352 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2353 compiler directive.
2354
91740388
MS
23552001-10-30 Michael Snyder <msnyder@redhat.com>
2356
2357 * gdb.base/jump.exp: Allow it to run for all targets.
2358
1b7c05e7
CV
23592001-10-29 Corinna Vinschen <vinschen@redhat.com>
2360
2361 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2362 with new double_array size.
2363 (main): Change storage class of all local variables to static.
2364 Reduce size of double_array to 9.
2365 * gdb.base/call-ar-st.exp: Increase timeout value.
2366 Change expected output for double array to match new size in
2367 call-ar-st.c.
2368
36a22261
CV
23692001-10-29 Corinna Vinschen <vinschen@redhat.com>
2370
2371 * gdb.base/ending-run.exp: Create identical output when passing
2372 `step to end of run' case. Add regular expression branch satisfying
2373 Stormy16 target.
2374
92b8ae91
MK
23752001-10-28 Mark Kettenis <kettenis@gnu.org>
2376
2377 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2378 that we catch the expected failure under Linux/x86.
2379
cb135b83
OF
23802001-10-29 Orjan Friberg <orjanf@axis.com>
2381
2382 * gdb.base/setvar.exp: Escape curly braces.
2383 * gdb.stabs/weird.exp: Ditto.
2384
6884aa54
DJ
23852001-10-27 Daniel Jacobowitz <drow@mvista.com>
2386
2387 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2388 * gdm.mi/mi0-hack-cli.exp: Likewise.
2389
0398c9aa
AC
23902001-10-25 Andrew Cagney <ac131313@redhat.com>
2391
2392 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2393 messages.
2394
d20bf2e8
AC
23952001-10-21 Andrew Cagney <ac131313@redhat.com>
2396
2397 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2398 checking MI enabled.
2399
03dd63aa
CV
24002001-10-09 Corinna Vinschen <vinschen@redhat.com>
2401
2402 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2403
1d9d99f3
FCE
24042001-10-04 Frank Ch. Eigler <fche@redhat.com>
2405
2406 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2407 if gdb child process crashes, just signal an error.
2408
838ae6c4
JB
24092001-10-02 Jim Blandy <jimb@redhat.com>
2410
2411 * lib/gdb.exp (test_xfail_format): Simplify.
2412
2413 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2414 front of the variable name `format'. Simplify `if'.
2415
8f0cbc1c
DJ
24162001-10-01 Daniel Jacobowitz <drow@mvista.com>
2417
2418 * gdb.threads/pthreads.exp: Wait for output and delay
2419 before sending ^C.
2420
1f08dafd
DJ
24212001-10-01 Daniel Jacobowitz <drow@mvista.com>
2422
2423 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2424 some incorrect output instead of timing out.
2425 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2426
674f90ff
CV
24272001-09-28 Corinna Vinschen <vinschen@redhat.com>
2428
2429 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2430 check to allow additional `int'.
2431
9b284272
DJ
24322001-09-27 Daniel Jacobowitz <drow@mvista.com>
2433
2434 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2435 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2436
b55a4771
MS
24372001-09-27 Michael Snyder <msnyder@redhat.com>
2438
2439 * lib/gdb.exp (test_debug_format): New proc.
2440 (setup_xfail_format): Use new proc test_debug_format.
2441 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2442 proc; use new service proc test_debug_format.
2443 Replace all other "gcc_compiled" tests with this test.
2444 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2445 proc; use new service proc test_debug_format.
2446 Replace all other "gcc_compiled" tests with this test.
2447
24482001-09-27 Michael Snyder <msnyder@redhat.com>
2449
2450 * gdb.base/cvexpr.exp: New file.
2451 * gdb.base/cvexpr.c: New file
2452 Test for expressions using const and volatile keywords.
2453
4e6667ac
CV
24542001-09-26 Corinna Vinschen <vinschen@redhat.com>
2455
2456 * gdb.base/constvars.exp: Check for different orders of keywords
2457 and additional "int" strings in output.
2458
4f337972
AC
24592001-09-22 Andrew Cagney <ac131313@redhat.com>
2460
2461 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2462 responses from "help maint".
2463
2015650d
FCE
24642001-09-19 Frank Ch. Eigler <fche@redhat.com>
2465
2466 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2467 to localhost:NNN instead of :NNN, in case Xvfb is listening
2468 only on TCP.
2469
f3bcedc1
CV
24702001-09-19 Corinna Vinschen <vinschen@redhat.com>
2471
2472 * gdb.base/recurse.exp: When checking leaving the watchpoint
2473 scope, recognize when gdb is in function's epilogue and pass.
2474
6b819c92
KS
24752001-09-18 Keith Seitz <keiths@redhat.com>
2476
2477 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2478 support for running tests against sid targets.
2479 (gdbtk_done): Ditto.
2480
a10c9419
CV
24812001-09-18 Corinna Vinschen <vinschen@redhat.com>
2482
2483 * gdb.base/ending-run.c (main): Set stdout buffersize
2484 to the same reasonable value for any target.
2485 * gdb.base/ending-run.exp: Add a regular expression
2486 to make testsuite happy on Sanyo Stormy16 target.
2487
739d0d99
CV
24882001-09-17 Corinna Vinschen <vinschen@redhat.com>
2489
2490 * gdb.base/display.c (do_loops): Add float variable `f'.
2491 Increment f in loop.
2492 * gdb.base/display.exp: Increment timeout by 60 seconds.
2493 Change float display test to use variable `f'.
2494
1b8947f0
JB
24952001-09-17 Jim Blandy <jimb@redhat.com>
2496
2497 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2498 overflowing the limited breakpoint tables on some ROM monitors
2499 (like the ROM68K).
2500
9890ac81
FCE
25012001-09-15 Frank Ch. Eigler <fche@redhat.com>
2502
2503 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2504 the "-ac" (disable access control) flag.
2505
6db765ea
JH
25062001-08-30 Jeff Holcomb <jeffh@redhat.com>
2507
2508 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2509 ints.
2510
4c32cc04
KS
25112001-08-30 Keith Seitz <keiths@redhat.com>
2512
2513 * lib/gdb.exp: Move all insight-related functionality into
2514 separate file.
2515 * lib/insight-support.exp: New file.
2516
8d6e6f81
FCE
25172001-08-29 Frank Ch. Eigler <fche@redhat.com>
2518
2519 * config/sid.exp (sid_start): Never set sid verbosity; disable
2520 expect_background {} that consumed its stdout; tolerate </dev/null.
2521 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2522
6a90e1d0
AC
25232001-08-18 Andrew Cagney <ac131313@redhat.com>
2524
2525 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2526 CLI jump command to start it.
2527 (mi_run_to_main): Fail immediatly when unexpected output.
2528
1759b3c3
AC
25292001-08-18 Andrew Cagney <ac131313@redhat.com>
2530
2531 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2532 beginning of function. Fix PR gdb/191.
2533
61d11d80
FCE
25342001-08-16 Frank Ch. Eigler <fche@redhat.com>
2535
2536 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2537 what to force sid endianness to.
2538
942a4df2
KS
25392001-08-15 Keith Seitz <keiths@redhat.com>
2540
2541 * lib/gdb.exp (gdbtk_start): Don't set environment
2542 variables for TCL_LIBRARY and friends. Insight will
2543 now figure these out for itself.
2544
0521c418
MS
25452001-08-02 Michael Snyder <msnyder@redhat.com>
2546
2547 * gdb.base/completion.exp: Remove the symbol "a64l" from
2548 the expect string; this is target-specific, and not related
2549 to what is being tested.
2550
74a9a58a
DB
25512001-08-02 Dave Brolley <brolley@redhat.com>
2552
2553 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2554
c70819fa
MS
25552001-07-25 Michael Snyder <msnyder@redhat.com>
2556
c2b8fa57
MS
2557 * gdb.base/consecutive.exp: New file. Test stepping over
2558 breakpoints on consecutive instructions.
2559 * gdb.base/consecutive.c: New file.
2560
c70819fa
MS
2561 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2562 curly braces in regular expressions.
2563
2b1a1355
MS
25642001-07-25 Michael Snyder <msnyder@redhat.com>
2565
2566 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2567 legitimate output from stepping out of main.
2568
413eca6f
KS
25692001-07-22 Keith Seitz <keiths@redhat.com>
2570
2571 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2572 the empty string, do not run the tests.
2573
7e5a9322
SC
25742001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2575
2576 * gdb.base/long_long.exp: Detect size of pointer. Take into
2577 account 2-byte pointers when testing for p/a results.
2578
de58f10f
SC
25792001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2580
2581 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2582 and defined to 1K for m68hc11.
2583 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2584 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2585 (sizeof_random_data): New variable to tell the size of the data table;
2586 don't test past this size; always run to main.
2587
d6f5fea1
SC
25882001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2589
2590 * gdb.base/return2.exp: return of long long and double fails for
2591 68HC11; don't execute these tests on that platform.
2592 * gdb.base/return.exp: Return of a double fails for 68hc11.
2593
c477543d
SC
25942001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2595
2596 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2597 tests that print a float.
2598 * call-rt-st.exp: Likewise.
2599
63cf1c79
MK
26002001-07-12 Mark Kettenis <kettenis@gnu.org>
2601
2602 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2603 running this test on Linux.
2604
112f9ab5
MC
26052001-06-24 Michael Chastain <chastain@redhat.com>
2606
2607 * gdb.base/arithmet.exp: Remove some tests to make all test names
2608 unique.
2609
4970cb0f
MS
26102001-07-03 Michael Snyder <msnyder@redhat.com>
2611
2612 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2613 the output of the ptype command.
2614
d85da69f
MS
26152001-07-02 Michael Snyder <msnyder@redhat.com>
2616
4c8a82de
MS
2617 * gdb.base/completion.exp: Don't assume that break.c is the only
2618 source file that may contain functions named "marker".
d85da69f
MS
2619 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2620
8afc772b
AC
26212001-06-28 Andrew Cagney <ac131313@redhat.com>
2622
2623 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2624 of files to delete.
2625
2626 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2627 * gdb.disasm/h8300s.exp: New file.
2628 gdb.disasm/h8300s.s: Likewise.
2629
cff22675
AC
26302001-06-27 Andrew Cagney <ac131313@redhat.com>
2631
2632 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2633 empty breakpoint tables.
2634
68c81b54
AC
26352001-06-25 Andrew Cagney <ac131313@redhat.com>
2636
2637 * lib/mi-support.exp: Update args=... part of stop-reason
2638 patterns. Accept either a list or a tuple.
2639
2dd62704
AC
26402001-06-23 Andrew Cagney <ac131313@redhat.com>
2641
2642 * lib/mi-support.exp: Remove local emacs variable defining
2643 change-log-default-name.
2644
b4127474
MC
26452001-06-22 Michael Chastain <chastain@redhat.com>
2646
2647 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2648 This is operationally compatible with the previous version.
2649
8dbfb380
JB
26502001-06-13 Jim Blandy <jimb@redhat.com>
2651
2652 * lib/gdb.exp (gdb_test): Doc fix.
2653
f2d8c86d
MC
26542001-06-10 Michael Chastain <chastain@redhat.com>
2655
2656 * gdb.base/exprs.exp: Remove a duplicate test.
2657
81564d34
JB
26582001-06-06 Jim Blandy <jimb@redhat.com>
2659
2660 * gdb.base/return2.exp (main): Use values to test float and double
2661 returns that are not NaN's, to avoid being confused by IEEE
2662 comparison rules.
2663
da55addb
MS
26642001-06-04 Michael Snyder <msnyder@redhat.com>
2665
2666 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2667 non-zero if control_c fails. Terminate the test on failure,
2668 rather than wait for 12 more tests to time out.
2669
42c65987
JB
26702001-06-06 Jim Blandy <jimb@redhat.com>
2671
b18bced9
JB
2672 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2673 Don't forget to match the GDB prompt.
2674
42c65987
JB
2675 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2676
5b41e5f0
JB
26772001-06-04 Jim Blandy <jimb@redhat.com>
2678
2679 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2680 command.
2681
015e046f
KB
26822001-05-31 Kevin Buettner <kevinb@redhat.com>
2683
2684 * gdb.base/annota1.exp (info break): Match four or more spaces
2685 after "Address".
2686
fb1ffbbe
MC
26872001-05-31 Michael Chastain <chastain@redhat.com>
2688
2689 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2690 (dm_type_int_star): Likewise.
2691 (dm_type_long_star): Likewise.
2692 (dm_type_void_star): Likewise.
2693
5ea2a32c
KB
26942001-05-29 Kevin Buettner <kevinb@redhat.com>
2695
2696 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2697 to a known value in order to get consistent results regardless
2698 of the setting of INPUTRC or the presence or contents of .inputrc.
2699
ae23c492
MS
27002001-05-24 Michael Snyder <msnyder@redhat.com>
2701
ac55707e
MS
2702 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2703 Don't require that the main thread and the manager thread are the
2704 first in the list.
2705
ae23c492
MS
2706 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2707 debugging. If test fails, issue an "unsupported" not a "fail".
2708
400071f1
JB
27092001-05-24 Jim Blandy <jimb@redhat.com>
2710
2711 Don't assume that short is shorter than int.
2712 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2713 assume that shorts are smaller than ints. On a 16-bit machine,
2714 this isn't true.
2715 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2716 an int, is not equal to ~0 stored in an unsigned char. This tests
2717 the same thing that the previous test meant to, but works on
2718 16-bit machines, too.
2719 ("print unsigned char != (~0)"): Same test, complemented.
2720
0816a3e5
MS
27212001-05-24 Michael Snyder <msnyder@redhat.com>
2722
2723 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2724 test for (full_coverage == 0). This makes the test run faster,
2725 and prevents dejagnu getting out of step.
2726
f6dc23a9
KB
27272001-05-23 Kevin Buettner <kevinb@redhat.com>
2728
2729 * gdb.base/finish.exp (finish_void): Revise pattern for
2730 stopping on the call statement to not permit stopping at
2731 the start of the instructions comprising the call sequence.
2732
7dbd117d
MC
27332001-05-19 Michael Chastain <chastain@redhat.com>
2734
2735 * gdb.base/callfuncs.exp: Make all test names unique.
2736 * gdb.base/commands.exp: Make all test names unique.
2737 * gdb.base/condbreak.exp: Make all test names unique.
2738 * gdb.base/dbx.exp: Make all test names unique.
2739 * gdb.base/default.exp: Make all test names unique.
2740 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2741 and TIMEOUT messages to their corresponding PASS message.
2742 * gdb.base/ending-run.exp: Make all test names unique.
2743 * gdb.base/long_long.exp: Remove duplicate test.
2744
6b0b0a9e
KB
27452001-05-21 Kevin Buettner <kevinb@redhat.com>
2746
2747 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2748 stop on the call statement as well as the statement after the
2749 call.
2750
2caa35cb
MS
27512001-05-21 Michael Snyder <msnyder@redhat.com>
2752
2753 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2754
40713331
EZ
27552001-05-10 Elena Zannoni <ezannoni@redhat.com>
2756
2757 * gdb.base/completion.exp: Revamp test. Make it execute on all
2758 platforms.
2759
c2c1be8d
EZ
27602001-05-10 Elena Zannoni <ezannoni@redhat.com>
2761
2c9cd303
EZ
2762 * config/gdbserver.exp (gdb_load): Handle the case
2763 in which the arguments to gdbserver are given in the
2764 baseboard configuration file.
2765 Also handle the case in which the server needs to do a
2766 load.
2767
9671de48
KS
27682001-05-07 Keith Seitz <keiths@cygnus.com>
2769
2770 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2771 set up the display for testing.
2772 (gdbtk_start): Convert all paths to paths that tcl will like.
2773 Export target information to environment.
2774 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2775 necessary.
2776 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2777 (to_tcl_path): New proc to convert a given pathname into
2778 a path acceptible as an argument to a tcl command.
2779 (_gdbtk_export_target_info): New proc to export target info
2780 into the environment for gdbtk testing.
2781 (gdbtk_done): New proc to signal end-of-test.
2782
5a360f47
JB
27832001-05-06 Jim Blandy <jimb@redhat.com>
2784
2785 * restore.c: Make the code of caller0 correspond to its comment.
2786
66c756c6
MS
27872001-05-03 Michael Snyder <msnyder@redhat.com>
2788
2789 * config/sid.exp (gdb_target_sid): Check for error messages.
2790 On error or timeout, don't make expect exit (which will terminate
2791 all subsequent tests); instead just make gdb exit.
2792 (gdb_load): Check for error messages. On error or timeout,
2793 return a negative value.
2794
a966fde5
JB
27952001-04-24 Jim Blandy <jimb@redhat.com>
2796
851c18e0
JB
2797 * gdb.c++/templates.exp: If we see the prompt for the overload
2798 list, but we haven't recognized any of the longer patterns,
2799 arrange for this test to fail, not hang.
2800
a966fde5
JB
2801 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2802 variations.
2803
db144853
MC
28042001-04-22 Michael Chastain <chastain@redhat.com>
2805
2806 * gdb.c++/local.exp: Use the 'runto' library function.
2807 * gdb.c++/namespace.exp: Likewise.
2808 * gdb.c++/overload.exp: Likewise.
2809
3207ec21
KB
28102001-03-26 Kevin Buettner <kevinb@redhat.com>
2811
2812 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2813 * gdb.base/step-line.exp: New file. Test step/next in presence of
2814 #line directives.
2815 * gdb.base/step-line.c: New file. Test program for the above.
2816 * gdb.base/step-line.inp: New file. We pretend that this file has
2817 been transformed by some other tool into step-line.c.
2818
13b57657
JB
28192001-03-21 Jim Blandy <jimb@redhat.com>
2820
2821 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2822 unmangled operator names.
2823
754cbe1c
JB
28242001-03-20 Jim Blandy <jimb@redhat.com>
2825
2826 * gdb.threads/linux-dp.exp: Recognize an additional message
2827 generated by GDB when it doesn't understand how to debug threads
2828 on the target system.
2829
177495c9
AC
28302001-03-19 Andrew Cagney <ac131313@redhat.com>
2831
2832 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2833
f266096b
MC
28342001-03-12 Michael Chastain <chastain@redhat.com>
2835
2836 * gdb.c++/derivation.exp: Use the 'runto' library function.
2837
cac3c2ff
MC
28382001-03-12 Michael Chastain <chastain@redhat.com>
2839
2840 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2841
b6c11a24
MC
28422001-02-24 Michael Chastain <chastain@redhat.com>
2843
2844 * gdb.c++/ref-types.exp: Change handwritten code to library
2845 function 'runto'.
2846
6bae5bce
OF
28472001-03-16 Orjan Friberg <orjanf@axis.com>
2848
2849 * gdb.base/signals.exp: Set count to 0 explicitly.
2850
0015fd9a
MS
28512001-03-15 Mark Salter <msalter@redhat.com>
2852
2853 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2854 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2855 (gdb_load): Add support for additional target_info: gdb_download_size
2856 and gdb_load_timeout.
0015fd9a 2857
fc33412a
DT
2858Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2859
2860 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2861 file -- to prevent failing when the compile fails but we have no
2862 intention of running the tests anyway.
2863
2864 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2865 tests if set.
2866
2867 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2868 integers.
2869
2870 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2871 * gdb.c++/namespace.exp: Ditto.
2872
115f06de
OF
28732001-03-07 Orjan Friberg <orjanf@axis.com>
2874
2875 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2876 * gdb.base/pointers.exp: Relax pattern match of decimals.
2877
b6ba6518
KB
28782001-03-06 Kevin Buettner <kevinb@redhat.com>
2879
2880 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2881 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2882 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2883 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2884 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2885 config/sh.exp, config/sid.exp, config/slite.exp,
2886 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2887 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2888 config/vxworks.exp, config/vxworks29k.exp,
2889 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2890 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2891 gdb.base/arithmet.exp, gdb.base/assign.exp,
2892 gdb.base/async.exp, gdb.base/attach.exp,
2893 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2894 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2895 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2896 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2897 gdb.base/commands.exp, gdb.base/completion.exp,
2898 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2899 gdb.base/constvars.exp, gdb.base/corefile.exp,
2900 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2901 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2902 gdb.base/ending-run.exp, gdb.base/environ.exp,
2903 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2904 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2905 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2906 gdb.base/funcargs.exp, gdb.base/help.exp,
2907 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2908 gdb.base/logical.exp, gdb.base/long_long.exp,
2909 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2910 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2911 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2912 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2913 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2914 gdb.base/regs.exp, gdb.base/relational.exp,
2915 gdb.base/remote.exp, gdb.base/reread.exp,
2916 gdb.base/restore.exp, gdb.base/return2.exp,
2917 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2918 gdb.base/selftest.exp, gdb.base/setshow.exp,
2919 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2920 gdb.base/sigall.exp, gdb.base/signals.exp,
2921 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2922 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2923 gdb.base/step-test.exp, gdb.base/structs.c,
2924 gdb.base/structs.exp, gdb.base/structs2.exp,
2925 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2926 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2927 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2928 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2929 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2930 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2931 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2932 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2933 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2934 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2935 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2936 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2937 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2938 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2939 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2940 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2941 gdb.trace/circ.exp, gdb.trace/collection.exp,
2942 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2943 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2944 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2945 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2946 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2947 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2948 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2949 notices.
2950
dc96c6c7 29512001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2952
2953 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2954 first arg is int not float.
2955
dc96c6c7 29562001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2957
2958 * gdb.base/reread.exp: Unsupported for non-native targets;
2959 doesn't work for remote debugging.
2960
9b0c4aeb
FN
29612001-02-19 Fernando Nasser <fnasser@redhat.com>
2962
2963 From Drew Moseley <dmoseley@redhat.com>
2964 * gdb.base/ending-run.exp: Properly handle the BSP state when
2965 stepping past the end of main.
2966
02aa71d5
MC
29672001-02-19 John Moore <jmoore@redhat.com>
2968
2969 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2970 Converted HPUX fix for non-expected items following multiple
2971 step commands into general solution for all platforms.
2972
1fa449a4
MC
29732001-02-18 Michael Chastain <chastain@redhat.com>
2974
2975 * gdb.c++/classes.exp (do_tests): Change runto statements
2976 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2977 statements demangler agnostic.
2978 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2979 (gdb_virtfunc_restart): Likewise.
2980
b2f9ec70
MC
29812001-02-14 Michael Chastain <chastain@redhat.com>
2982
2983 * gdb.c++/inherit.exp (do_tests): Change runto statements
2984 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2985 statements demangler agnostic.
2986
cf74b8ca
AC
2987Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2988
2989 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2990 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2991 before calling common_routine 15 times'' tests.
2992
99f78f56
MC
29932001-02-11 Michael Chastain <chastain@redhat.com>
2994
2995 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2996 Helps the test script figure out which demangler is in use.
2997 (dm_type_foo_ref): Ditto.
2998 (dm_type_int_star): Ditto.
2999 (dm_type_long_star): Ditto.
3000 (dm_type_unsigned_int): Ditto.
3001 (dm_type_void): Ditto.
3002 (dm_type_void_star): Ditto.
99707966 3003 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3004 Probe the gdb demangler and set variables to accommodate
3005 formatting differences.
3006 (info_func_regexp): New function. Same as info_func, but
3007 matches against a regexp.
3008 (info_func): Match against a literal string.
3009 (print_addr_2): New function. Match against a literal string,
3010 which can be different from the input to gdb.
3011 (print_addr): Simply call print_addr_2 with the same argument twice.
3012 (test_lookup_operator_functions): Use demangler formatting variables.
3013 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3014 the tests in the same order as the C++ class declaration.
3015 (test_paddr_operator_functions): Ditto.
3016 (test_paddr_overloaded_functions): Ditto.
3017 (test_paddr_hairy_functions): Use demangler formatting variables.
3018 Add reference to gdb/19 for related tests.
3019 (do_tests): Call probe_demangler.
3020
1de8f023
KB
30212001-01-30 Kevin Buettner <kevinb@redhat.com>
3022
3023 * gdb.c++/templates.cc (printf): Remove unused function definition.
3024
ca3f91ed
MS
30252001-01-26 Felix Lee <flee@redhat.com>
3026
3027 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3028
30292001-01-25 matthew green <mrg@redhat.com>
3030
3031 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3032 up sid.
3033 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3034
30352001-01-25 matthew green <mrg@redhat.com>
3036
3037 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3038 Deprecate $sid_spawn_id.
3039 (sid_exit): Remove code necessary only for `spawn.'
3040
30412001-01-25 matthew green <mrg@redhat.com>
3042
3043 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3044
fb18ec4a
MC
30452001-01-28 Michael Chastain <chastain@redhat.com>
3046
3047 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3048 to call when tests fail. It takes gdb out of the overloaded
3049 function choice menu back to the main prompt, so that the test
3050 program stays synchronized.
3051 (set_bp_overloaded): New proc to collect all the common
3052 code for setting a breakpoint on an overloaded name. Calls
3053 take_gdb_out_of_choice_menu when needed.
3054 (menu_overload1arg): New variable to collect the repeated
3055 instances of the expected menu for an overloaded name. Change
3056 the regular expression to handle changes in g++ type encoding:
3057 "void" can be either "void" or "", and "unsigned int" can be
3058 either "unsigned int" or "unsigned".
3059 (continue_to_bp_overloaded): Change regular expressions to handle
3060 changes in g++ type encoding.
3061 (no proc): Call take_gdb_out_of_choice_menu when needed.
3062 Remove redundant calls to "info break". Accept either "canceled"
3063 or "cancelled". Change regular expressions in "info break"
3064 calls to handle changes in g++ type encoding. Give all tests
3065 unique strings.
3066
9c646a6e
BE
30672001-01-17 Ben Elliston <bje@redhat.com>
3068
3069 * config/sid.exp: New file.
3070
9549d9c1
AC
3071Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3072
3073 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3074
dc96c6c7 30752000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3076
3077 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3078 Add a RE to accept a non-ascii char if one is ever presented.
3079
b4df4f68
FN
30802000-12-20 Fernando Nasser <fnasser@redhat.com>
3081
297dd0fd 3082 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3083
dc96c6c7 30842000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3085
3086 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3087 in regexp. One '\' does not suffice on Linux.
3088
4a7bddb6
MC
30892000-12-09 Michael Chastain <chastain@redhat.com>
3090
3091 * gdb.base/break.exp (test_clear_command): Use a marker function
3092 rather than 'main' for the test function. Also move this
3093 test to an execution point where the marker function names are
3094 guaranteed to be bound to functions. (Executing tests after a
3095 'finish' from main runs into name conflicts with local names
3096 in __libc_start_main).
3097
dc96c6c7 30982000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3099
3100 * gdb.base/finish.exp: New test for gdb's "finish" command.
3101 * gdb.base/return2.exp: New test for gdb's "return" command.
3102 * gdb.base/return2.c: New source file for above.
3103
dc96c6c7 31042000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3105
3106 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3107 * gdb.base/miscexprs.exp: Ditto.
3108 * gdb.base/pointers.exp: Ditto.
3109 * gdb.c++/derivation.exp: Ditto.
3110 * gdb.c++/local.exp: Ditto.
3111 * gdb.c++/namespace.exp: Ditto.
3112 * gdb.c++/overload.exp: Ditto.
3113 * gdb.c++/ref-types.exp: Ditto.
3114
dc96c6c7 31152000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3116
3117 * gdb.base/constvars.exp: Test result of "up" command.
3118 * gdb.base/miscexprs.exp: Ditto.
3119 * gdb.base/pointers.exp: Ditto.
3120 * gdb.base/scope.exp: Ditto.
3121 * gdb.c++/derivation.exp: Ditto.
3122 * gdb.c++/local.exp: Ditto.
3123 * gdb.c++/namespace.exp: Ditto.
3124 * gdb.c++/overload.exp: Ditto.
3125 * gdb.c++/ref-types.exp: Ditto.
3126
44097287
FN
31272000-11-22 Michael Chastain <chastain@redhat.com>
3128
3129 * mips_pro.exp: Accept either "middle -> top -> main" or
3130 "middle -> main" in the backtrace, because gcc can optimize
3131 tail calls to jumps. Remove setup_xfail for the hppa case.
3132 Add a comment with the original warning messages from PR 3016,
3133 which was filed in 1993, to preserve them for posterity.
3134
9d2e1bab
ND
31352000-11-17 Nick Duffek <nsd@redhat.com>
3136
3137 * lib/gdb.exp (gdb_test): Override timeout with board info.
3138
1aca8eb7
ND
31392000-11-17 Nick Duffek <nsd@redhat.com>
3140
3141 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3142 the second kill and detach messages.
3143
93076499
ND
31442000-11-17 Nick Duffek <nsd@redhat.com>
3145
3146 * configure.in: Add AC_EXEEXT.
3147 * configure: Regenerate.
3148 * Makefile.in (just-check): Export EXEEXT.
3149 * lib/gdb.exp ($EXEEXT): Import from environment.
3150 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3151 expect "maint dump-me" on Cygwin.
3152 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3153 $EXEEXT.
3154
30e87cd3
ND
31552000-11-17 Nick Duffek <nsd@redhat.com>
3156
3157 * gdb.base/break.exp: Test backtrace and finish from called
3158 function on all platforms, not just HP-UX.
3159
dc96c6c7 31602000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3161
3162 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3163 code from gdb_target_monitor, so it can be used independantly
3164 for gdbserver. Also comment out an unnecessary PUTS.
3165
dc96c6c7 31662000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3167
3168 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3169 * gdb.base/corefile.exp: Expect the message "Program is being
3170 debugged already" when we send the "corefile" command, since
3171 the preceeding gdb_load may have connected gdb to a remote target.
3172 * gdb.base/display.exp: Disable hardware watchpoints if new
3173 board info variable "no_hardware_watchpoints" is true.
3174 Replace single-letter commands with more readable ones.
3175 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3176 if new board info variable "no_hardware_watchpoints" is true.
3177 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3178 to see if stdio (printf) testing is possible.
3179 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3180 board info variable "no_hardware_watchpoints" is true. Use new
3181 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3182
39124dea
FN
31832000-11-13 Fernando Nasser <fnasser@redhat.com>
3184
3185 From Orjan Friberg <orjanf@axis.com>:
3186 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3187 in array print pattern match.
3188
a9e2e984
FN
31892000-11-09 Fernando Nasser <fnasser@redhat.com>
3190
3191 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3192 spelling "cancelled" to U.S. spelling "canceled" to match changes
3193 made to gdb.
3194 * gdb.c++/ovldbreak.exp: Ditto.
3195
c7db355b
PS
31962000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3197
3198 * gdb.base/callfuncs.c (main): Moved to end of file, call
3199 t_double_values to initialize the FPU before inferior calls are made.
3200 * gdb.base/callfuncs.exp: Test for register preservation after calling
3201 inferior functions. Add tests for continuining, finishing and
3202 returning from a stop in a call dummy.
3203
dc96c6c7 32042000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3205
3206 * gdb.base/commands.exp: Break up long lines, and re-indent.
3207
dc96c6c7 32082000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3209
3210 * config/gdbserver.exp: Rewritten from the ground up, to make it
3211 compatible with the current dejagnu tree, and to make it work with
3212 the new "gdbserver" in libremote.
3213
dc96c6c7 32142000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3215
3216 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3217 * gdb.base/varargs.exp: Skip entire test if no printf support.
3218 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3219 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3220
dc96c6c7 32212000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3222
3223 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3224 no floating point support.
3225 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3226 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3227 * gdb.base/call-rt-st.exp: Ditto.
3228 * gdb.base/call-strs.exp: Ditto.
3229
bac5fc66
JG
32302000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3231
3232 * gdb.base/sizeof.c: include <stdio.h>.
3233
3234 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3235 'finish', otherwise uncaptured gdb_prompt would potentially
3236 throw remaining test points out of sync.
3237
b22a6027
SB
32382000-07-26 Scott Bambrough <scottb@netwinder.org>
3239
3240 * gdb.base/recurse.exp: Run tests for all targets.
3241 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3242 gnu-oldld case on ARM.
3243 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3244 for ARM targets.
3245
d8231941
AG
3246Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3247
3248 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3249 * gdb.java/configure: Rebuild.
3250
8caabe69
AG
3251Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3252
3253 * gdb.java/jv-exp.exp: New file.
3254
9d273ca3
AG
3255Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3256
3257 * configure: Rebuilt.
3258 * configure.in (configdirs): Add gdb.java.
3259 * gdb.java/jmisc.java: New file.
3260 * gdb.java/jmisc.exp: New file.
3261 * gdb.java/Makefile.in: New file.
3262 * gdb.java/configure: Rebuilt.
3263 * gdb.java/configure.in: New file.
3264 * lib/java.exp: New file.
3265
4f823a66
AC
3266Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3267
3268 * gdb.base/exprs.exp: Test casts to a pointer including over and
3269 underflow.
3270
2391e11d
AC
3271Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3272
3273 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3274 and the compilers sizes.
3275
54602222
ND
32762000-07-09 Nick Duffek <nsd@redhat.com>
3277
3278 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3279 (use_methods): New function.
3280 (main): Call use_methods().
3281 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3282 (do_tests): Call test_method_param_class.
3283
2bec0572
ND
32842000-07-09 Nick Duffek <nsd@redhat.com>
3285
3286 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3287 spelling.
3288 (test_enums): New procedure. Move enum tests from end of script
3289 to here. Set breakpoint on function name instead of line number.
3290 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3291 (enums2): New marker function.
3292 (enums1): New function.
3293 (main): Call enums1(). Move enum tests to enums1().
3294
78492fde
AC
3295Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3296
3297 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3298 compile/link program. Update line numbers.
3299 * gdb.asm/d10v.inc: Define ``startup''.
3300 * gdb.asm/asmsrc1.s: Add definition of _start.
3301
49a2cef8
AC
3302Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3303
3304 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3305
3e6c8688
EZ
33062000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3307
3308 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3309 of 'help maint print' command.
3310
9ff5cbe9
AC
3311Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3312
3313 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3314 they use gdb_expect_list.
3315
17c579bd
AC
3316Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3317
3318 * gdb.base/commands.exp: Use ``set remote
3319 memory-read-packet-size'' instead of ``set endian big'' to test
3320 long commands.
3321
e6d71bf3
DB
33222000-06-03 Daniel Berlin <dan@cgsoftware.com>
3323
3324 * gdb.c++/templates.exp (do_tests): Make all of these work under
3325 g++, and stop skipping them.
3326
3327 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3328 work under g++.
3329
e5f9ba7b
MS
3330 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3331 initialization.
3332
dc96c6c7 33332000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3334
3335 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3336 the regular expression: accept an (almost) arbitrary sequence of
3337 "frames-invalid" and "breakpoints-invalid" messages both before
3338 and after the "starting" message.
3339
dc96c6c7 33402000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3341
3342 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3343
dc96c6c7 33442000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3345
3346 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3347 Relax the regular expression a little, make it pass on Solaris 8.
3348
8216cda9
KB
33492000-05-12 Kevin Buettner <kevinb@redhat.com>
3350
3351 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3352 a call, do not require that gdb stop on the line after the call.
3353 Instead, it is permissible for gdb to stop on the line of the
3354 call itself.
3355
1a570b2f
MS
33562000-05-12 Michael Snyder <msnyder@.cygnus.com>
3357
3358 * gdb.base/break.exp (bp on small function, optimized file):
3359 Add a second pass pattern. The behavior differs here between stabs
3360 and dwarf for one-line functions. Stabs preserves two line symbols
3361 (one before the prologue and one after) with the same line number,
3362 but dwarf regards these as duplicates and discards one of them.
3363 Therefore the address after the prologue (where the breakpoint is)
3364 has no exactly matching line symbol, and GDB reports the breakpoint
3365 as if it were in the middle of a line rather than at the beginning.
3366
dc96c6c7 33672000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3368
3369 * gdb.base/interrupt.exp: Make "pass" message say "send"
3370 rather than "send_gdb" (for consistancy).
3371
7d418785
AC
3372Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3373
3374 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3375 * gdb.c++/templates.cc: Properly check for GCC version number.
3376 * lib/compiler.cc: Likewise
3377
dc96c6c7 33782000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3379
3380 * gdb.base/break.exp: When compiled with -O2 optimization,
3381 gdb may not stop at the first line of main, due to code motion.
3382
dc96c6c7 33832000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3384
3385 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3386 This test depends on parsing the printf output from the target.
3387 Since the sparclet stub doesn't do stdio, this will never work.
3388 * gdb.base/call-rt-st.exp: ditto.
3389 * gdb.base/call-strs: ditto.
3390
dc96c6c7 33912000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3392
3393 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3394
3395 * gdb.base/ending-run.exp: After connecting to a remote target,
3396 but before running, the target will appear to be in a random
3397 location. Specify both a file and a line for breakpoints.
3398 Also, the function that calls main may be called 'init'
3399 rather than 'start'.
3400
a5a51225
EZ
34012000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3402
3403 * gdb.base/help.exp: Update output for add-symbol-file command.
3404
7930cc7c
FN
34052000-04-10 Fernando Nasser <fnasser@cygnus.com>
3406
3407 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3408 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3409
23e37ab1
C
34102000-04-07 J.T. Conklin <jtc@redback.com>
3411
e93c542c
C
3412 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3413
23e37ab1
C
3414 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3415
591b8fa3
PDM
3416Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3417
3418 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3419 values that can be represented exactly.
3420 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3421 above change, and to not check against the directory part of the source
3422 file name.
3423 (step into print_long_arg_list): Likewise.
3424 (print print_small_structs from print_long_arg_list): Likewise.
3425 (print print_long_arg_list): Likewise.
3426
7a495180
EZ
34272000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3428
30b53638 3429 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3430
beb998c6
AC
3431Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3432
3433 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3434
1c689132
DB
34352000-03-25 Daniel Berlin <dan@cgsoftware.com>
3436
3437 * gdb.base/commands.exp (deprecated_command_test): Add test for
3438 deprecate with no arguments.
3439
c1790a9d
JL
34402000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3441
3442 * gdb.base/break.exp: Add new test for setting breakpoints on
3443 optimized code so we can test breakpoints work even when function
3444 prologues may be optimized away
3445
003ba290
FN
34462000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3447
3448 From David Whedon <dwhedon@gordian.com>
3449 * gdb.base/commands.exp : Added command deprecator tests.
3450
6837a0a2
DB
34512000-03-22 Daniel Berlin <dan@cgsoftware.com>
3452
3453 * gdb.base/help.exp: Added test for new apropos command.
3454
b9593231
KB
34552000-03-21 Kevin Buettner <kevinb@redhat.com>
3456
3457 * gdb.base/pointers.c (usevar): New function.
3458 (main): Make sure that global variables v_int_pointer2, rptr,
3459 and y are all referenced someplace in the program by calling
3460 usevar() on them. [Some linkers delete symbols which are
3461 never referenced. The space remains, but there's no way to
3462 get a (symbolic) handle on the variable from the debugger.]
3463
751a959b
EZ
34642000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3465
3466 * gdb.base/printcmds.c: Add typedeffed arrays.
3467
3468 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3469 procedure to test arrays that are typedef'd.
3470
73a93a32
JI
34712000-03-13 James Ingham <jingham@leda.cygnus.com>
3472
3473 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3474 the library directories.
73a93a32 3475
fb40c209
AC
3476Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3477
3478 * configure.in (configdirs): Add sub directory gdb.mi.
3479 * configure: Re-generate.
3480
3481 * gdb.mi: New directory.
beb998c6 3482
ee4dd2c9
AC
34832000-02-25 Scott Bambrough <scottb@netwinder.org>
3484
3485 * gdb.base/long_long.exp: Correct test suite failure when printing
3486 a long long value as a double on ARM platforms.
3487
70f0cc22
JB
34882000-02-16 Jim Blandy <jimb@redhat.com>
3489
3490 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3491 default source file is set properly before running this test.
3492
853819b8
EZ
34932000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3494
3495 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3496 gdbtk/library directory, not in gdbtcl2.
3497
dfcd3bfb
JM
34982000-02-04 Jim Blandy <jimb@redhat.com>
3499
3500 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3501 backslash from regexp pattern.
3502
3503 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3504 procedure. Use it to run all the "continue to bp overloaded"
3505 tests. Note that this changes the names of the tests slightly.
3506 If the breakpoint hit message includes a hex PC value, because
3507 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3508 from the real source code, still consider that a pass.
3509
3510 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3511 XFAIL here if the breakpoint message contains a hex address. Note
3512 similar change on 1999-11-02.
3513
3514 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3515
3516 * gdb.base/ptype.exp: Establish a default source file before
3517 calling get_debug_format.
3518
35192000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3520
3521 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3522
8b93c638
JM
35232000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3524
3525 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3526 of successive stepi commands -- while in the prologue we should see
3527 the function entry bracket.
3528
35292000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3530
3531 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3532 reach __change_mode() when stepping through the end of main().
3533
c5394b80
JM
35342000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3535
3536 * gdb.base/default.exp: Fix expected pattern.
3537 * gdb.base/help.exp: Same.
3538
0d06e24b
JM
35392000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3540
3541 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3542 Don't use xfail's because that affects only the following test.
beb998c6 3543
0d06e24b
JM
3544 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3545 solaris or linux.
3546
3547 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3548
dc96c6c7 35492000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3550
beb998c6 3551 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3552 "A syntax error" rather than "A parse error". Accept both.
3553
35542000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3555
3556 * gdb.base/default.exp: Remove OS dependent string from "target
3557 remote" test.
3558 * gdb.base/help.exp: Same for "help target remote" test.
3559
c3f6f71d
JM
35602000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3561
3562 From Jim Kingdon <kingdon@redhat.com>:
3563
3564 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3565 prompt (cleanup rather than necessity, but still might keep output
3566 from spilling to next test).
3567
35682000-01-02 Fred Fish <fnf@cygnus.com>
3569
3570 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3571 AIX, which defines them in <sys/types.h>.
3572
ed9a39eb 35731999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3574
ed9a39eb
JM
3575 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3576 float" test.
3577
35781999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3579
ed9a39eb 3580 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3581
3582 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3583 outermost frame disallowed".
3584
35851999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3586
3587 * gdb.base/setvar.exp: New tests for setting the value of a struct
3588 with a constant list.
3589
35901999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3591
3592 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3593 require the user to type a cast before setting the value of a struct.
3594
de57eccd
JM
35951999-12-06 Jim Blandy <jimb@cygnus.com>
3596
3597 * gdb.base/default.exp: Expect the new 'info float' command on
3598 all i386 platforms.
3599
3600 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3601 LinuxThreads libraries that don't support debugging.
3602
c2d11a7d
JM
3603Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3604
3605 * gdb.base/remote.c: Fill the buffer with truely random data.
3606 Change the buffer type to ``unsigned char'' to simplify size
3607 arithmetic.
3608
3609 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3610 stub only handles 400-1 byte packets. Verify that the download
3611 worked.
3612
36131999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3614
3615 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3616 tests, using UNRESOLVED for the untested cases. Also, does not wait
3617 for a timeout if the prompt was received before a recognizable pattern.
3618
36191999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3620
3621 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3622
36231999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3624
3625 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3626 watchpoints.
3627
36281999-11-24 Jason Merrill <jason@casey.cygnus.com>
3629
3630 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3631
3632 * gdb.c++/local.exp: Be more flexible in recognizing local class
3633 name mangling. Don't allow horribly truncated method names.
3634 * gdb.c++/derivation.exp: Expect protected inheritance.
3635 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3636 * gdb.c++/virtfunc.exp: Likewise.
3637 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3638 when printing a nested enum.
3639
36401999-11-22 Jim Blandy <jimb@cygnus.com>
3641
3642 * gdb.base/step-test.exp: Properly await GDB's response to setting
3643 a breakpoint on the call to large_struct_by_value.
3644
3645 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3646 just because we have debug info for the `start' function.
3647
36481999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3649
3650 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3651 "Unknown signal" messages, which indicate (on LinuxThreads) that
3652 GDB doesn't know how to debug threads on this system. This is
3653 better than hanging while philosopher 0 dumps chatter into gdb.log.
3654
36551999-11-18 Tom Tromey <tromey@cygnus.com>
3656
3657 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3658
36591999-11-18 Fred Fish <fnf@cygnus.com>
3660
3661 * gdb.base/coremaker2.c: Add sample program for generating
3662 cores that is more self contained than coremaker.c. Eventually
3663 I'll add more code to this and tie it into the testsuite.
3664
4ce44c66
JM
36651999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3666
3667 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3668
36691999-11-10 Jimmy Guo <guo@cup.hp.com>
3670
3671 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3672 from $srcdir/lib/.
3673 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3674 and gdb.c++/.
3675
3676 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3677
beb998c6 3678 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3679 'continue with watch' test point.
3680
36811999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3682
3683 Merged from p2linux-990323-branch:
beb998c6 3684
4ce44c66
JM
3685 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3686
11cf8741
JM
3687Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3688
3689 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3690 {limit,fixed}''. Test ``set download-write-size''.
3691
3692Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3693
3694 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3695 gdb_expect_list.
3696
3697Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3698
3699 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3700
37011999-11-03 Mark Salter <msalter@cygnus.com>
3702
3703 * gdb.base/break.exp: Fix "stub continue" pattern.
3704
37051999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3706
3707 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3708
37091999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3710
3711 * gdb.base/display.exp ("finish"): Add timeout clause.
3712
3713 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3714 plain prompt clause, so this doesn't have to time out in order to
3715 fail.
3716
3717 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3718 breakpoint hit messages include an address.
3719
3720 * gdb.base/display.exp: Don't forget to escape parens in regular
3721 expressions. Unix regexp notatation sucks.
3722
37231999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3724
3725 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3726 order for 'signalled' message.
3727
5c44784c
JM
37281999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3729
3730 From Jimmy Guo <guo@cup.hp.com>:
3731 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3732 * gdb.base/annota1.c: Add code for tests to work with.
3733
37341999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3735
3736 * gdb.base/remote.exp: New test for remote downloading settings.
3737 * gdb.base/remote.c: New file with large .data.
3738
917317f4
JM
37391999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3740
3741 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3742 for LinuxThreads support, merged from the Code Fusion branch.
3743
3744Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3745
3746 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3747 containing exp_continue into a while within an expect. Don't
3748 attempt a start more than three times. Check return value from
3749 gdb_load.
beb998c6 3750
2df3850c
JM
3751Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3752
3753 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3754 a pass case.
3755
2acceee2
JM
37561999-10-01 Kevin Buettner <kevinb@cygnus.com>
3757
3758 * gdb.base/break.c (main): Added a statement that we can step
3759 off of.
3760 * gdb.base/break.exp: Added tests for setting a breakpoint
3761 at an offset and stepping onto a breakpoint.
3762
37631999-10-01 Fred Fish <fnf@cygnus.com>
3764
beb998c6 3765 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3766 gdb output.
3767
c2c6d25f
JM
37681999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3769
3770 * gdb.base/break.exp: Code locations are in hex, don't forget!
3771 (For HP-UX.)
3772
37731999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3774
3775 * condbreak.exp: Use break.c as test program.
3776 * condbreak.c: Remove, redundant with break.c.
3777
37781999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3779
3780 * config/monitor.exp (gdb_target_monitor): Disable X- and
3781 Z-packets if the target needs it.
3782
37831999-09-13 James Ingham <jingham@leda.cygnus.com>
3784
3785 * gdb.c++/overload.exp: Added tests for listing overloaded
3786 functions with function pointers in the arg, explicitly calling
3787 out the version you want.
3788
cff3e48b
JM
37891999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3790
3791 * long_long.exp: Add variations of test cases that work for
3792 targets with 16-bit ints and 32-bit doubles.
3793
d4f3574e
SS
37941999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3795
3796 * break.c (main): Compare a possibly-uninitialized argc with an
3797 unlikely value that fits in 16 bits.
3798
37991999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3800
3801 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3802 0xfeeb, don't want negative numbers if ints are 16 bits.
3803
3804 * lib/gdb.exp (skip_cplus_tests): New proc.
3805 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3806 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3807 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3808 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3809 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3810 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3811 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3812 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3813
3814 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3815
3816Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3817
3818 * gdb.base/corefile.exp (up): Allow a parameter to appear
3819 in the frame that we're going up to.
3820
3821 From Jim Blandy <jimb@cygnus.com>:
3822
3823 * gdb.base/default.exp (info float): Expect some output now.
3824
3825 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3826 returning floating-point values to fail on the x86.
3827 * gdb.base/callfwmall.exp (do_function_calls): Same.
3828
3829 * gdb.base/list.exp (test_listsize): Correct expectations for
3830 listing line 1 with listsize 2. Also, listing a single line
3831 works now, as does listing three lines. [Kevin's note: There
3832 were a number of other cases fixed too where the expectations
3833 differed...]
3834
38351999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3836
3837 * gdb.base/selftest.exp: Add case for when version prints as
3838 constant string instead of char pointer.
3839
104c1213
JM
38401999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3841
3842 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3843 stepping out of main.
3844
3845 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3846 G++ used.
3847
3848 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3849 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3850
3851 * gdb.c++/ovldbreak.exp: Update match string in test that
3852 includes a warning of multiple breakpoints.
3853
38541999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3855
3856 * gdb.base/display.exp: Improve precision of step-after-finish
3857 added yesterday.
3858
3859 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3860 test.
3861
3862 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3863 configs when using G++, not just hppa*.
3864
38651999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3866
3867 * gdb.base/async.c: New file.
3868 * gdb.base/async.exp: New file.
3869
3870Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3871
3872 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3873 PA64.
3874
53a5351d
JM
3875Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3876
104c1213
JM
3877 * gdb.base/display.exp: "finish" can leave us mid-line on many
3878 targets, deal with it. Add a small constant to main, instead of
3879 1000 since main+1000 may not be a valid address in the target.
3880
53a5351d
JM
3881 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3882 on hpux11.
3883
3884 * gdb.base/attach.exp: Handle another hpux11 error message variant
3885 when attaching to a process that does not exist.
3886
38871999-08-19 J.T. Conklin <jtc@redback.com>
3888
3889 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3890 characters in 'continue to 1241' test.
3891
38921999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3893
3894 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3895 stop in print_long_arg_list, define and use a whitespace
3896 variable in print_small_structs test, add an XFAIL for Solaris.
3897 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3898 interested enough to fix.
3899
7be570e7
JM
39001999-08-13 Keith Seitz <keiths@cygnus.com>
3901
3902 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3903 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3904 proc knows about targets other than the natives.
3905 (test_assign): Use "gdb_run_cmd" to "run" the target.
3906 Check that we've actually hit the breakpoint at main.
3907 When we attempt to assign a value to a local variable, check
3908 that the variable is in the current scope, i.e., don't use
3909 a test with an empty result.
3910
3911Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3912
3913 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3914 command.
3915
39161999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3917
3918 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3919 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3920 gdb.compat, gdb.threads-hp.
3921 gdb.hp/configure, gdb.hp/configure.in: New files.
3922 gdb.hp/Makefile.in: Recurse into new subdirs.
3923 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3924 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3925 in object files.
3926 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3927
96baa820
JM
39281999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3929
3930 * gdb.base/display.exp: Help expect by putting a newline in the
3931 funky printf, remove a bogus p/a test.
3932
39331999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3934
3935 * gdb.base/display.exp: Make sure that when we say 'run', we are
3936 connected to the target. This is necessary when running not
3937 natively.
3938
39391999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3940
3941 * gdb.base/step-test.exp: Removed some extraneous messages.
3942
3943 * gdb.base/long_long.exp: Don't run memory examination tests
3944 on little-endian targets (they will need a different set of
3945 results to match).
3946
39471999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3948
3949 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3950 until somebody decides to fix GDB.
3951
3952 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3953 constant as "ULL".
3954 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3955 matches for a couple x/2 commands.
3956
a0b3c4fd
JM
39571999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3958
3959 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3960 by merging in ref-types2 tests.
3961 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3962
3963 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3964 * gdb.c++/Makefile.in: Add standard actions.
3965 (EXECUTABLES): Rename from PROGS, update list.
3966 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3967 from gdb.hp.
3968 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3969 foo and bar locals.
3970 * gdb.c++/anon-union.exp: Fix tests to match.
3971 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3972 expect matches to handle output variations.
3973 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3974 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3975 output, add HP alternatives for new and delete prints.
3976 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3977 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3978 * gdb.c++/demangle.exp: Use $style when reporting failure.
3979 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3980 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3981 match alternatives.
3982 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3983 compilers.
3984 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3985 * gdb.c++/method.exp: Add match alternatives.
3986 * gdb.c++/misc.cc: Add bool types.
3987 * gdb.c++/misc.exp: Add tests for bool types.
3988 * gdb.c++/overload.exp: Add xfails.
3989 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3990 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3991 add some more template parameter tests (only for HP currently).
3992 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3993 * gdb.c++/virtfunc.cc: Add return type and value for main.
3994 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3995 match alternatives.
beb998c6 3996
a0b3c4fd
JM
39971999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3998
3999 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4000
40011999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4002
4003 * gdb.base/signals.exp: Don't expect getting a backtrace from
4004 within a signal handler to fail on Linux.
4005
40061999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4007
4008 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4009 * lib/gdb.exp: Remove some gratuitious semicolons.
4010 (delete_breakpoints): Increase timeout.
4011 (gdb_expect): Add -notransfer option.
4012 (gdb_test): Use -notransfer option.
4013 (get_compiler_info): Add f77 case.
4014 (get_compiler): New proc, split out from gdb_preprocess, add f77
4015 case.
4016 (gdb_preprocess): Call get_compiler.
4017
4018 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4019 * gdb.base/attach.exp, gdb.base/display.exp,
4020 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4021 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4022 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4023 third arg to gdb_test.
4024 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4025 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4026 HP-UX xfails, add others.
4027 * gdb.base/completion.exp: Reflect name change of self-test.
4028 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4029 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4030 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4031 HP failure number.
4032 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4033 useless HP-UX 10.30 references.
4034 * gdb.base/maint.exp: Loosen matches.
4035 * gdb.base/pointers.c (main): Declare more_code.
4036 * gdb.base/pointers.exp: Match on output of a `next'.
4037 * gdb.base/structs.c: Add prototypes.
4038 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4039 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4040
40411999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4042
4043 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4044 command.
4045
40461999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4047
4048 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4049 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4050
4051 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4052 debug info. Deal with lack of signal hanlder info in stack.
4053
4054 From Jim Kingdon <kingdon@redhat.com>:
4055 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4056
5a2468f5
JM
40571999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4058
4059 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4060 gdb.base/foll-vfork.exp: Don't run for crosses.
4061
adf40b2e
JM
4062Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4063
4064 * gdb.base/configure.in: Check for gdbvars.exp instead of
4065 a1-selftest.exp.
4066 * gdb.base/configure: Re-generate.
4067
40681999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4069
4070 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4071 in trying to run first and name is too long.
4072
4073 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4074 pointers2.c and pointers2.exp, respectively.
4075 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4076 doschk happier.
4077
43e526b9
JM
40781999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4079
4080 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4081 callfuncs2.c and callfuncs2.exp.
4082
4083 * gdb.base/list.exp: Remove mistaken xfails.
4084 * gdb.base/list0.h: Add optional prototypes.
4085
9846de1b
JM
4086Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4087
4088 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4089 calling malloc.
4090 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4091 * ptype.exp: Move test for get_debug_format to before its first
4092 use.
4093
40941999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4095
4096 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4097 * gdb.base/annota2.cc, annota2.exp: Move from here.
4098 * gdb.c++/annota2.cc, annota2.exp: To here.
4099 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4100
43ff13b4
JM
4101Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4102
4103 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4104 a consistent format.
4105
085dd6e6
JM
41061999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4107
4108 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4109 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4110 HP compilers, also set the globals $true and $false.
4111
4112 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4113 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4114 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4115 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4116 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4117 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4118 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4119 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4120 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4121 whatis.c} Add C++ compatible function definitions and return
4122 types, add includes for library functions.
4123 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4124 * gdb.base/step-test.c (myglob): Rename from glob.
4125 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4126 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4127 files, move here from gdb.hp.
4128 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4129 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4130 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4131 Adjust line numbers in regexps.
4132
4133 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4134 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4135 instead of 0/1.
4136
4137 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4138 foll-vfork.exp: New files, move here from gdb.hp.
4139 * gdb.base/page.exp: New file, test of pagination command.
4140
4141 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4142 recursion test.
4143 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4144
4145 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4146 gdb.base/solib.exp: Fix compiler invocation process.
4147
4148 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4149 HP-UX 11, turn off overload resolution explicitly.
4150 * gdb.base/commands.exp: Set argument list explicitly, add
4151 watchpoint test.
4152 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4153 them work.
4154 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4155 expressions properly.
4156 * gdb.base/corefile.exp: Loosen the match slightly.
4157 * gdb.base/default.exp: Allow "Error accessing memory" message
4158 also.
4159 * gdb.base/display.exp: Skip over x/0 j if PA64.
4160 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4161 * gdb.base/interrupt.exp: Ditto.
4162 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4163 in use.
4164 * gdb.base/list.exp: Add xfails for HP-UX.
4165 * gdb.base/long_long.exp: Refine some of the numeric matches.
4166 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4167 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4168 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4169 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4170 * gdb.base/ptype.exp: Succeed on more varieties of output.
4171 * gdb.base/scope.exp: Add xfails for HP-UX.
4172 * gdb.base/sect-cmd.exp: Add more cases.
4173 * gdb.base/setvar.exp: Add xfails for HP-UX.
4174 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4175 * gdb.base/signals.exp: Match on void symbolically.
4176 * gdb.base/step-test.exp: Add case for PA64.
4177 * gdb.base/term.exp: Add exit and restart.
4178 * gdb.base/twice.exp: Clean up after self.
4179 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4180 * gdb.base/whatis.exp: Allow more ways to pass tests.
4181
4182 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4183 no longer useful.
4184
4185Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4186
4187 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4188 list of patterns.
4189 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4190 print_double_array(double_array)", "continuing to breakpoint
4191 1018", "print print_double_array(array_d)" and "continuing to
4192 1034" tests.
beb998c6 4193
085dd6e6
JM
41941999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4195
4196 * Makefile.in: Add empty html and install-html targets.
4197
41981999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4199
4200 * config/mt-*: Remove, these haven't been used since 1996.
4201
42021999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4203
4204 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4205 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4206 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4207
9e0b60a8
JM
42081999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4209
4210 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4211 simpler match case for the ptype of the big class.
4212
42131999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4214
4215 * gdb.exp: Fix test for gdb_prompt existence.
4216
42171999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4218
4219 * gdb.exp (gdb_test): Add fail after calls to perror.
4220
42211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4222
4223 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4224
42251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4226
4227 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4228
0f71a2f6
JM
4229Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4230
4231 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4232 malloc() is linked in.
4233
42341999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4235
4236 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4237 step at end.
4238
4239 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4240
42411999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4242
4243 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4244
cce74817
JM
4245Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4246
4247 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4248 * gdb.base/mips_pro.exp: Likewise.
4249
42501999-06-02 Keith Seitz <keiths@cygnus.com>
4251
4252 * gdb.c++/templates.cc: Change all "new" operators to throw
4253 an exception.
4254 * gdb.c++/cplusfuncs.cc: Likewise.
4255
4256 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4257
4258Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4259
4260 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4261 * gdb.base/ending-run.exp: When stepping out of main, accept a
4262 step into an arbitrary assembler file.
4263
392a587b
JM
42641999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4265
beb998c6 4266 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4267 "breakpoint-invalid" to be printed.
beb998c6 4268 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4269 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4270 * gdb.base/annota2.cc: Initialize a.x to 0.
4271
9e086581
JM
42721999-05-17 Keith Seitz <keiths@cygnus.com>
4273
4274 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4275 when "skip_float_tests" set.
4276 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4277 "print print_ten_doubles", and "step into print_long_arg_list".
4278 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4279 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4280 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4281 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4282 "skip_float_tests" is set.
4283 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4284 when "skip_float_tests" set.
beb998c6 4285
cd0fc7c3
SS
42861999-05-06 Keith Seitz <keiths@cygnus.com>
4287
4288 * gdb.base/annota2.cc: Include stdio.h.
4289
4290Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4291
4292 * gdb.base/crossload.exp: Remove, this has been disabled ever
4293 since BFD stopped including all targets, and cross-GDB gets
4294 plenty of testing anyway.
4295 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4296 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4297 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4298 * gdb.base/README: Remove, was doc for this.
4299 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4300 needed.
4301
b83266a0
SS
43021999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4303
4304 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4305 output.
4306
4307 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4308 * gdb.base/annota2.exp: New file. More annotation tests.
4309 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4310 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4311
43121999-04-23 Angela Marie Thomas <angela@cygnus.com>
4313
4314 * config/cfdbug.exp: New file.
4315
7a292a7a
SS
43161999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4317
4318 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4319 Marcus Daniel's and Dale Hawkins's demangler crashes.
4320
4321 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4322 test_lucid_style_demangling, test_arm_style_demangling,
4323 test_hp_style_demangling): Try Tom Tromey's core-dumping
4324 identifier under each demangling style.
4325
43261999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4327
4328 * gdb.c++/demangle.exp: Include the current demangling style
4329 in all test names.
4330 (current_demangling_style): New global variable.
4331 (set_demangling_style, test_demangling_core, test_demangling,
4332 test_demangling_exact): New functions.
4333 (test_gnu_style_demangling, test_lucid_style_demangling,
4334 test_arm_style_demangling, test_hp_style_demangling): Use those,
4335 instead of calling gdb_test and gdb_test_exact directly.
4336 (catch_demangling_errors): New function, which reports errors
4337 signalled by the demangling test functions in an orderly way.
4338 (do_tests): Use catch_demangling_errors.
4339
43401999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4341
4342 * gdb.base/signals.exp (test_handle_all_print): Use () for
4343 grouping in expressions, not {}.
4344
4345 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4346 initialized yet.
4347
43481999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4349
4350 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4351 are listed.
4352
43531999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4354
4355 * gdb.stabs/weird.exp: Test for CC being defined before
4356 looking at its value.
4357
43581999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4359
4360 * gdb.base/call-ar-st.exp: Remove stray '#'.
4361 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4362 "short int" and "long int".
4363 * gdb.c++/overload.cc: Cast the string added in the previous
4364 change, to mollify finicky HP compiler.
4365 * gdb.hp/reg-test.exp (testfile): Fix file name.
4366 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4367
7a292a7a
SS
4368 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4369 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4370 alternate form of enum ptype.
4371
c906108c
SS
43721999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4373
7a292a7a
SS
4374 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4375 * gdb.hp/*.exp: Change all to run compiler probe only after
4376 passing skip_hp_tests, so as not to waste time on guaranteed
4377 failure.
4378
c906108c
SS
4379 * gdb.c++/overload.cc: Pass string instead of char addr, always
4380 init ccpfoo.
4381 * gdb.c++/templates.cc: Fix syntax error.
4382
7a292a7a
SS
4383Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4384
4385 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4386 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4387 command.
4388
43891999-03-18 James Ingham <jingham@cygnus.com>
4390
4391 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4392
4393 * gdb.c++/method.exp: It was testing an uninitialized int on the
4394 stack and assuming it was positive.
4395
4396 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4397
4398 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4399 keep it from killing the rest of the tests.
7a292a7a
SS
4400 Use gdb_continue_to_end.
4401
4402 * gdb.base/sigall.exp: use gdb_continue_to_end.
4403
4404 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4405
4406 * gdb.base/display.exp: use runto_main, not run.
4407
beb998c6
AC
4408 * gdb.base/default.exp: Check for the current error message in the
4409 r abbreviation test.
7a292a7a
SS
4410 Add strongarm to the targets that know info float.
4411
beb998c6 4412 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4413 run which doesn't work with monitors.
4414
4415 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4416
4417 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4418
4419 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4420 program. Traps the case (in Cygmon) when the program never really
4421 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4422 more places, so I used my name. Sorry Mark...
4423
4424 * config/monitor.exp (gdb_target_monitor): added another
4425 target_info parameter: remotebinarydownload. This will set the
4426 remotebinarydownload flag if this is causing some boards trouble.
4427
44281999-03-18 Mark Salter <msalter@cygnus.com>
4429
4430 * lib/gdb.exp (continue_to_exit): New function.
4431
4432 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4433 * gdb.base/ending-run.exp: Ditto.
4434 * gdb.base/step-test.exp: Ditto.
4435
44361999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4437
4438 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4439 (suggested by Art Haas <ahaas@neosoft.com>).
4440
44411999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4442
4443 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4444
4445Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4446
4447 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4448 descriptions of types (short unsigned int vs unsigned short, etc).
4449
44501999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4451
4452 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4453 a call to strlen; sometimes we do have sources.
4454
44551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4456
4457 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4458 character, so GDB won't print garbage after its end.
beb998c6 4459
c906108c
SS
4460 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4461 breakpoint there instead. Sometimes GCC emits memcpy to handle
4462 the large structures being passed by value, so we step into that
4463 instead of sum_array_print, which obscures what we're really testing.
4464 * gdb.base/step-test.exp: However, we do want a test that notices
4465 the bizarre steps into memcpy, so do that here. Add check for
4466 stepping into function calls that pass large structures by value.
4467 ("Is that a noun clause, or are you just happy to see me?")
4468 Remove all references to specific line numbers.
4469 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4470 New type and function.
4471 (main): Call large_struct_by_value, passing it a large struct by value.
4472 * lib/gdb.exp (gdb_get_line_number): New function.
4473
4474 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4475 more portable.
4476
7a292a7a
SS
44771999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4478
c906108c
SS
4479 * lib/gdb.exp: Doc fixes.
4480
7a292a7a
SS
44811999-03-05 Nick Clifton <nickc@cygnus.com>
4482
beb998c6 4483 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4484
44851999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4486
c906108c
SS
4487 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4488 commands. They're not germane to this test, and they don't work
4489 that way on remote targets.
4490
3fc11d3e
JM
44911999-03-01 James Ingham <jingham@cygnus.com>
4492
4493 * Changelog entries merged over from gdb development branch.
4494
3fc11d3e
JM
4495 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4496
4497 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4498 for outputting results of test run.
4499
2d4a1622 4500 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4501
4502 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4503
7a292a7a
SS
45041999-02-25 Felix Lee <flee@cygnus.com>
4505
4506 * lib/gdb.exp (debug_format): initialize
4507
c906108c
SS
45081999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4509
4510 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4511 * gdb.base/call-rt-st.c: Ditto.
4512
c906108c
SS
45131999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4514
4515 * gdb.threads/pthreads.exp (horiz): New variable.
4516 (test_startup): Fix regexps that capture thread numbers.
4517
45181999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4519
4520 * gdb.base/smoke.exp: Disambiguate two test case names (both
4521 called ``print'').
4522
4523Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4524
4525 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4526 compilation.
4527
45281999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4529
4530 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4531 actual output formatting.
4532 * gdb.base/smoke.exp: GDB removes leading 0's.
4533 * gdb.base/volatile.exp: Don't check type of remuneration;
4534 that variable is no longer defined in constvars.c.
4535 * gdb.base/step-test.c (main): Exit with explicit exit code.
4536 * gdb.base/step-test.exp: Remove two nexti checks--they are
4537 not portable.
4538
45391999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4540
4541 * gdb.base/help.exp ("help delete display"): Fix test to match
4542 gdb's output.
4543
4544 * gdb.base/long_long.c (known_types): Initialize values to zero.
4545 * gdb.base/long_long.exp: Step one more line
4546 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4547 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4548 unique test case names.
4549
4550Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4551
beb998c6 4552 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4553
4554 * gdb.c++/method.exp: Add missing close brace.
4555
45561999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4557
4558 * gdb.base/maint.exp: Use 'set height 0' to disable page
4559 prompting, not 'set height 400'.
4560
4561 Fix a bunch of timeouts.
4562 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4563 four separate tests, so expect doesn't take forever to match a ton
4564 of text against a regexp with lots of .* forms.
4565 ("maint print psymbols", "maint print symbols"): Make some of
4566 these greps more selective, so that expect doesn't try to wade
4567 through huge piles of output and time out.
4568
4569 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4570
4571 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4572 tests: one which doesn't expect shlib events to be reported, and
4573 another which does, but is XFAIL for all platforms other than
4574 HP/UX.
4575
4576 * gdb.base/break.exp: Teach the test suite that the `catch
4577 fork', `catch vfork', and `catch exec' commands produce error
4578 messages on platforms that don't provide these features.
4579
4580Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4581
4582 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4583 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4584 (shortening names from solib_threshold.exp etc), won't run on
4585 anything but HP-UX for the foreseeable future.
4586 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4587 reflect move.
4588
4589Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4590
4591 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4592 gdb.trace/Makefile.in (clean): Remove all test executables.
4593
4594Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4595
4596 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4597 successfully re-sets breakpoints in shared libraries.
4598 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4599
4600Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4601
beb998c6
AC
4602 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4603 and compiled w/o GCC.
c906108c
SS
4604
4605 * gdb.hp/watch-cmd.exp: ditto.
4606
4607 * gdb.hp/watch-hp.exp: ditto.
4608
4609 * gdb.hp/xdb1.exp: ditto.
4610
4611 * gdb.hp/xdb2.exp: ditto.
4612
4613 * gdb.hp/dbx.exp: ditto.
4614
4615Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4616
4617 * constvars.c: Remove C++-isms.
4618 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4619 with GCC.
4620
4621Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4622
4623 The following changes are part of the HP merge.
4624
4625 * gdb.base/break.exp: new tests to verify that catchpoints for
4626 fork, vfork, and exec don't trigger inappropriately.
4627
4628 * gdb.base/opaque.exp: compile one file at a time, then link.
4629
4630 * gdb.base/signals.exp: be more restrictive about which hppa
4631 systems receive a setup_xfail. new tests.
4632
4633 * gdb.base/solib_threshold.build: new file.
4634 * gdb.base/solib_threshold.exp: new file.
4635 * gdb.base/solib_threshold.link_opts: new file.
4636 * gdb.base/solib_threshold.mk: new file.
4637 * gdb.base/gen_solib_threshold.c: new file.
4638
4639 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4640 tests. New tests for enums inside classes.
4641
4642 * gdb.c++/compiler.cc: indicate support of template debugging.
4643
4644 * gdb.c++/demangle.exp: run hp style demangling tests.
4645
4646 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4647 tests.
4648
4649 * gdb.c++/misc.cc: changes to support new tests.
4650
4651 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4652 to support new tests.
4653
4654 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4655 gcc, then skip these tests.
4656
4657Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4658
4659 The following files are part of the HP merge; some had longer
4660 names at HP, but have been renamed to be no more than 14
4661 characters in length.
4662
4663 * gdb.hp/ambiguous.cc: new file.
4664 * gdb.hp/ambiguous.exp: new file.
4665 * gdb.hp/attach.exp: new file.
4666 * gdb.hp/attach2.exp: new file.
4667 * gdb.hp/classes-hp.exp: new file.
4668 * gdb.hp/ctti.exp: new file.
4669 * gdb.hp/ctti-add.cc: new file.
4670 * gdb.hp/ctti-add1.cc: new file.
4671 * gdb.hp/ctti-add2.cc: new file.
4672 * gdb.hp/ctti-add3.cc: new file.
4673 * gdb.hp/dbx.exp: new file.
4674 * gdb.hp/exception.cc: new file.
4675 * gdb.hp/exception.exp: new file.
4676 * gdb.hp/foll-exec.c: new file.
4677 * gdb.hp/foll-exec.exp: new file.
4678 * gdb.hp/foll-fork.c: new file.
4679 * gdb.hp/foll-fork.exp: new file.
4680 * gdb.hp/foll-vfork.c: new file.
4681 * gdb.hp/foll-vfork.exp: new file.
4682 * gdb.hp/inherit-hp.exp: new file.
4683 * gdb.hp/more-steps.exp: new file.
4684 * gdb.hp/namespace.cc: new file.
4685 * gdb.hp/namespace.exp: new file.
4686 * gdb.hp/optimize.exp: new file.
4687 * gdb.hp/pxdb.c: new file.
4688 * gdb.hp/pxdb.exp: new file.
4689 * gdb.hp/quicksort.exp: new file.
4690 * gdb.hp/reg-test.exp: new file.
4691 * gdb.hp/reg-test.s: new file.
4692 * gdb.hp/sized-enum.c: new file.
4693 * gdb.hp/sized-enum.exp: new file.
4694 * gdb.hp/start-stop.exp: new file.
4695 * gdb.hp/templ-hp.cc: new file.
4696 * gdb.hp/templ-hp.exp: new file.
4697 * gdb.hp/thr-lib.c: new file.
4698 * gdb.hp/thr-lib.exp: new file.
4699 * gdb.hp/thr-lib.h: new file.
4700 * gdb.hp/thr-liblib.c: new file.
4701 * gdb.hp/virtfun-hp.c: new file.
4702 * gdb.hp/virtfun-hp.exp: new file.
4703 * gdb.hp/watch-cmd.exp: new file.
4704 * gdb.hp/watch-hp.exp: new file.
4705 * gdb.hp/xdb1.exp: new file.
4706 * gdb.hp/xdb2.exp: new file.
4707 * gdb.hp/xdb3.exp: new file.
4708
4709Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4710
4711 The following files are part of the HP merge; some had longer
4712 names at HP, but have been renamed to be no more than 14
4713 characters in length.
4714
4715 * gdb.base/ss.h: new file.
4716 * gdb.base/call-ar-st.c: new file.
4717 * gdb.base/call-ar-st.exp: new file.
4718 * gdb.base/call-rt-st.c: new file.
4719 * gdb.base/call-rt-st-exp: new file.
4720 * gdb.base/call-strs.exp: new file.
4721 * gdb.base/ena-dis-br.exp: new file.
4722 * gdb.base/environ.exp: new file.
4723 * gdb.base/long_long.exp: new file.
4724 * gdb.base/sect-cmd.exp: new file.
4725 * gdb.base/shlib-cl2.exp: new file.
4726 * gdb.base/smoke.exp: new file.
4727 * gdb.base/so-impl-ld.c: new file.
4728 * gdb.base/so-impl-ld.exp: new file.
4729 * gdb.base/so-indr-cl.c: new file.
4730 * gdb.base/so-indr-cl.exp: new file.
4731 * gdb.base/varargs.exp: new file.
4732 * gdb.base/volatile.exp: new file.
4733 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4734 * gdb.base/display.exp: new file.
c906108c
SS
4735 * gdb.c++/derivation.exp: new file.
4736 * gdb.c++/local.exp: new file.
4737 * gdb.c++/member-ptr.exp: new file.
4738 * gdb.c++/overload.exp: new file.
4739 * gdb.c++/ovldbreak.exp: new file.
4740 * gdb.c++/ref-types.exp: new file.
4741 * gdb.c++/ref-types2.exp: new file.
4742 * gdb.c++/userdef.exp: new file.
beb998c6 4743
c906108c
SS
4744Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4745
4746 * gdb.base/default.exp: Reflect wording change in remote.c.
4747
dc96c6c7 4748Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4749
4750 * gdb.base/help.exp: Update to reflect current text.
4751
4752Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4753
4754 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4755 they're stack variables and contain garbage.
4756 * gdb.c++/anon-union.exp: new file.
4757
4758 The following changes were made by David Taylor
4759 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4760 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4761 in changes by HP.
4762
4763 * gdb.base/bitops.exp: new file.
4764 * gdb.base/default.exp: change expected messages for catch and
4765 info catch tests to reflect HP merge changes.
4766 * gdb.base/enable-disable-break.exp
4767 * gdb.base/ending-run.c: new file.
4768 * gdb.base/long_long.c: new file.
4769 * gdb.base/maint.exp: new file.
4770 * gdb.base/pointers2.exp: new file.
4771 * gdb.base/shlib-call2.exp: new file.
4772 * gdb.base/solib.exp: new file.
4773 * gdb.base/step-test.c: new file.
4774 * gdb.c++/anon-union.cc: new file.
4775 * gdb.c++/local.cc: new file.
4776 * gdb.c++/member-pointer.cc: new file.
4777 * gdb.c++/method.cc: new file.
4778 * gdb.c++/ref-types.cc: new file.
4779 * gdb.c++/ref-types2.cc: new file.
4780 * gdb.c++/userdef.cc: new file.
beb998c6 4781
c906108c
SS
4782 * gdb.base/scope.exp: compile one file at a time, then link.
4783 * gdb.base/langs.exp: ditto.
4784 * gdb.base/list.exp: ditto.
beb998c6 4785
c906108c
SS
4786Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4787
4788 The following changes were made by David Taylor
4789 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4790 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4791 in changes by HP.
beb998c6 4792
c906108c
SS
4793 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4794 skip tests. When compiling pass c++ flag to gdb_compile.
4795 * gdb.c++/
beb998c6 4796
c906108c
SS
4797 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4798 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4799 (skip_hp_tests): new function.
4800 (gdb_preprocess): new function.
4801
4802 * configure.in (hpdir): decide whether to configure gdb.hp.
4803 * configure: regenerated.
4804
4805 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4806 to delete on clean.
4807 (EXECUTABLES): update to reflect new additions.
4808 * gdb.base/commands.exp: update message expected.
4809 * gdb.base/default.exp: add copyright notice.
4810 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4811 * gdb.base/help.exp: update messages to reflect current text.
4812 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4813 targets for recurse tests.
4814 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4815 skip this file.
4816
4817 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4818 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4819 compilation.
4820 * gdb.c++/misc.exp: ditto.
4821 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4822 run the tests. tell gdb_compile that it's a c++ compilation.
4823
4824 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4825
c906108c
SS
4826 * gdb.base/all-bin.exp: new file.
4827 * gdb.base/arithmet.exp: new file.
4828 * gdb.base/assign.exp: new file.
4829 * gdb.base/completion.exp: new file.
4830 * gdb.base/cond-expr.exp: new file.
4831 * gdb.base/condbreak.exp: new file.
4832 * gdb.base/define.exp: new file.
4833 * gdb.base/dollar.exp: new file.
4834 * gdb.base/environment.exp: new file.
4835 * gdb.base/eval-skip.exp: new file.
4836 * gdb.base/jump.exp: new file.
4837 * gdb.base/logical.exp: new file.
4838 * gdb.base/pointers.exp: new file.
4839 * gdb.base/relational.exp: new file.
4840 * gdb.base/section_command.exp: new file.
4841 * gdb.base/whatis-expr.exp: new file.
4842
4843 * gdb.base/all-types.c: new file.
4844 * gdb.base/call-array-struct.c: new file.
4845 * gdb.base/call-return-struct.c: new file.
4846 * gdb.base/call-strings.c: new file.
4847 * gdb.base/callfuncs2.c: new file.
4848 * gdb.base/condbreak.c: new file.
4849 * gdb.base/constvars.c: new file.
4850 * gdb.base/display.c: new file.
4851 * gdb.base/int-type.c: new file.
4852 * gdb.base/jump.c: new file.
4853 * gdb.base/miscexprs.c: new file.
4854 * gdb.base/pointers.c: new file.
4855 * gdb.base/pointers2.c: new file.
4856 * gdb.base/shmain.c: new file.
4857 * gdb.base/shr1.c: new file.
4858 * gdb.base/shr2.c: new file.
4859 * gdb.base/solib.c: new file.
4860 * gdb.base/solib1.c: new file.
4861 * gdb.base/solib2.c: new file.
4862 * gdb.base/varargs.c: new file.
4863 * gdb.c++/derivation.cc: new file.
4864 * gdb.c++/overload.cc: new file.
4865 * gdb.c++/ovldbreak.cc: new file.
4866 * gdb.hp/attach.c: new file.
4867 * gdb.hp/attach2.c: new file.
4868 * gdb.hp/average.c: new file.
4869 * gdb.hp/compiler.c: new file.
4870 * gdb.hp/compiler.cc: new file.
4871 * gdb.hp/execd-program.c: new file.
4872 * gdb.hp/follow-exec.c: new file.
4873 * gdb.hp/follow-fork.c: new file.
4874 * gdb.hp/follow-vfork-and-exec.c: new file.
4875 * gdb.hp/misc-hp.cc: new file.
4876 * gdb.hp/more-steps.c: new file.
4877 * gdb.hp/optimize.c: new file.
4878 * gdb.hp/quicksort.c: new file.
4879 * gdb.hp/run-hp.c: new file.
4880 * gdb.hp/start-stop.c: new file.
4881 * gdb.hp/sum.c: new file.
4882 * gdb.hp/templates-hp.cc: new file.
4883 * gdb.hp/thread-local-in-lib.c: new file.
4884 * gdb.hp/thread-local-in-lib.h: new file.
4885 * gdb.hp/thread-local-in-lib.lib.c: new file.
4886 * gdb.hp/vforked-program.c: new file.
4887 * gdb.hp/virtfunc-hp.cc: new file.
4888 * gdb.hp/watchpoint-hp.c: new file.
4889 * gdb.hp/xdb.c: new file.
4890 * gdb.hp/xdb0.c: new file.
4891 * gdb.hp/xdb0.h: new file.
4892 * gdb.hp/xdb1.c: new file.
4893
4894Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4895
4896 The following change was made by Edith Epstein
4897 <eepstein@cygnus.com> as part of a project to merge in changes
4898 originally made by HP; HP did not create ChangeLog entries.
4899
4900 * gdb.c++/demangle.exp: changed the expected output for some
4901 ARM-style mangling -- removed second reference to datatype.
4902 For example, maint demangle __dt__11T1__pt__2_cFv
4903 T1<char>::~T1<char>(void)
4904 becomes,
4905 maint demangle __dt__11T1__pt__2_cFv
4906 T1<char>::~T1(void)
4907
4908 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4909
c906108c
SS
4910Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4911
4912 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4913 * gdb.trace/backtrace.exp: Likewise.
4914 * gdb.trace/circ.exp: Likewise.
4915 * gdb.trace/collection.exp: Likewise.
4916 * gdb.trace/deltrace.exp: Likewise.
4917 * gdb.trace/infotrace.exp: Likewise.
4918 * gdb.trace/limits.exp: Likewise.
4919 * gdb.trace/packetlen.exp: Likewise.
4920 * gdb.trace/passc-dyn.exp: Likewise.
4921 * gdb.trace/passcount.exp: Likewise.
4922 * gdb.trace/report.exp: Likewise.
4923 * gdb.trace/save-trace.exp: Likewise.
4924 * gdb.trace/tfind.exp: Likewise.
4925 * gdb.trace/tracecmd.exp: Likewise.
4926 * gdb.trace/while-dyn.exp: Likewise.
4927 * gdb.trace/while-stepping.exp: Likewise.
4928
49291998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4930
4931 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4932
4933Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4934
4935 From Brendan Kehoe:
4936 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4937 int return types.
4938
4939Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4940
4941 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4942 remote dos host testing right.
4943
4944Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4945
4946 * gdb.base/corefile.exp: remove some xfails.
4947
4948Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4949
4950 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4951 have different timestamps.
4952
4953Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4954
4955 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4956 gdb.base/default.exp: Replace "exec" with "executable".
4957
4958Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4959
4960 * gdb.base/default.exp: Change else if to elseif from previous
4961 delta.
4962
4963Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4964
4965 * gdb.base/default.exp: Add brace missing from previous delta.
4966
4967Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4968
4969 * gdb.base/default.exp: Support test for info float for all
4970 varieties of arm toolchain.
4971
dc96c6c7 4972Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4973
4974 * gdb.trace/*.exp: remove "remote_download" command.
4975
dc96c6c7 4976Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4977
4978 * gdb.trace/*.exp: remove -gdwarf from compile.
4979
4980Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4981
4982 * gdb.trace/configure.in(AC_INIT): typo
4983 * gdb.trace/configure: regenerated
4984
dc96c6c7 4985Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4986
4987 * config/m68k-emc.exp: New file.
4988 * lib/<emc-support.exp trace-support.exp}: New files.
4989 * configure.in: add new test directory gdb.trace.
4990 * gdb.trace/{configure configure.in Makefile.in}: New files.
4991 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4992 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4993 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4994 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4995 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4996 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4997 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4998
dc96c6c7 4999Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5000
5001 * gdb.c++/classes.exp: Change all regular expressions to match
5002 arbitrary combinations of newline/carriage-return, so that they
5003 will work equally well on Unix and Windows.
5004 * gdb.c++/inherit.exp: ditto.
5005 * gdb.c++/virtfunc.exp: ditto.
5006
50071998-08-11 Dawn Perchik <dawn@cygnus.com>
5008
5009 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5010
c2d11a7d
JM
5011Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5012
5013 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5014 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5015 to use a0-a3/d0-d3 as needed.
5016
5017Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5018
5019 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5020 * gdb.disasm/am33.exp: Corresponding changes.
5021
c906108c
SS
50221998-07-11 Felix Lee <flee@cygnus.com>
5023
5024 * gdb.base/callfuncs.exp: add cmp10 test.
5025 * gdb.base/callfuncs.c (cmp10): new function.
5026
5027Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5028
beb998c6 5029 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5030 into two parts to get around a synchronization problem in expect.
5031
3fc11d3e
JM
5032Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5033
5034 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5035
5036 * configure.in: Add options for gdbtk testsuite.
5037
5038 * configure: Regenerate.
5039
5040 * gdb.gdbtk: New directory to hold gdbtk tests.
5041
c906108c
SS
5042Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5043
5044 * gdb.fortran/types.exp: Escape brackets in expect patterns
5045 for test_float_literal_types_accepted tests.
5046 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5047 before run test.
5048
c2d11a7d
JM
5049Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5050
5051 * am33.exp: Just compile, do not link the testcase.
5052 * am33.s: Add ".am33" pseudoop to force am33 mode.
5053
c906108c
SS
50541998-06-25 Felix Lee <flee@cygnus.com>
5055
5056 * gdb.base/setshow.exp: make sure $pc is sane.
5057
5058 * gdb.stabs/weird.exp: split expect patterns properly.
5059
c2d11a7d
JM
5060Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5061
5062 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5063 * gdb.disasm/am33.exp: Run it.
5064
dc96c6c7 5065Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5066
5067 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5068 match processing (and eliminate spurious timeouts when running).
5069
dc96c6c7 5070Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5071
5072 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5073 exception test, but conditionalize it on target [mach | gnu].
5074
dc96c6c7 5075Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5076
5077 * gdb.base/overlays.exp: fixup compile line for linker script.
5078
5079Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5080
5081 * gdb.fortran/types.exp: don't guess at float size.
5082
5083Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5084
5085 * gdb.base/exprs.exp: delete test that depends on int size.
5086
5087Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5088
5089 * config/sim.exp: Removed checks for target triplets.
5090 (gdb_target_sim): Use gdb,target_sim_options.
5091
5092Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5093
5094 * gdb.base/reread.exp: New file.
5095 * gdb.base/reread1.c: New file.
5096 * gdb.base/reread2.c: New file.
5097
5098Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5099
5100 * config/sim.exp: Use 'target sim -sparclite' when running
5101 SPARClite programs.
5102
5103Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5104
5105 * gdb.base/structs2.exp: New file.
5106 * gdb.base/structs2.c: New file.
5107
5108Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5109
5110 * gdb.asm/common.inc: New file.
5111 * gdb.asm/d10v.inc: New file.
5112 * asm-source.exp: Pass -I's to gas to find .inc files.
5113 Update line numbers in expected output.
5114 * asmsrc1.s: Rewrite.
5115 * asmsrc2.s: Rewrite.
5116 * configure.in: Create arch.inc symlink.
5117 * configure: Regenerate.
5118 * Makefile.in (distclean): Delete arch.inc.
5119
5120Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5121
5122 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5123 (t_enum_value2): ditto
5124 (t_enum_value3): ditto
5125 (main): ditto
5126Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5127
5128 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5129 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5130 change.
5131 Use gdb_test instead of send_gdb/gdb_expect sequences.
5132
5133Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5134
5135 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5136 not void.
5137
5138Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5139
5140 * gdb.base/branches.c: Code with lots of loops and
5141 subroutines. Used to test gdbs ability to single step through PC
5142 changes, especially to test mips-tdep.c:mips_next_pc
5143
5144Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5145
5146 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5147 more rigorous EGCS C++ error checking.
5148
5149Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5150
5151 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5152 tests.
c906108c 5153 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5154 function when asleep.
c906108c 5155 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5156 for i*86 Linux and SVR4 signal handling problems.
5157 Remove linux xfail for `next to handler in signals_tests_1', fixed
5158 by recent infrun.c change.
c906108c 5159 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5160 stack backtraces.
c906108c
SS
5161 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5162 target.[ch] change.
5163
5164Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5165
5166 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5167 for a newline from gdb before continuing.
5168 (default_gdb_exit): Just look for y or n.
5169 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5170 it does, fail the rests of the tests in the file.
5171
5172Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5173
5174 * config/cygmon.exp: New file.
5175
5176Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5177
5178 * gdb.base/list.exp: Fix problem with "list default lines around
5179 main" test on remote targets.
5180
5181 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5182 run test on remote targets.
5183
5184Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5185
5186 * gdb.asm: New directory.
5187 * configure.in: Configure it.
5188 * configure: Regenerate.
5189 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5190 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5191
5192Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5193
5194 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5195
dc96c6c7 5196Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5197
c906108c
SS
5198 * gdb.base/overlays (several files): Merge the two overlay
5199 managers into one. Change variables (foox, barx, bazx, grbxx)
5200 back into ints but force them to load in their proper sections.
5201
5202Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5203
5204 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5205 on-chip insn memory and IMAP1 to upper 128k.
5206 (D10VCopy): Handle memory regions crossing 16k boundaries.
5207 (D10VCopy): Transfer data in 32 bit chunks.
5208
5209Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5210
5211 * gdb.base/overlays.c (main): Exit normally when result is
5212 correct.
5213
5214 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5215 map. Include space for printf in .text segment.
5216
5217 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5218 updated d10v memory VMA/LMA map.
5219 (D10VCopy): Call D10VTranslate.
beb998c6 5220
c906108c
SS
5221Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5222
5223 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5224
5225 * gdb.base/bar.c (barx, bar): Change variable to small array so
5226 that it won't be put into the .sdata - small data -
5227 section. Update reference.
5228 * gdb.base/baz.c (bazx, baz): Ditto.
5229 * gdb.base/foo.c (foox, foo): Ditto.
5230 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5231
5232 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5233 to be arrays.
beb998c6 5234
dc96c6c7 5235Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5236
c906108c
SS
5237 * gdb.base/overlays.exp: fix up and get working again.
5238 Add tests for backtraces from an overlay function.
beb998c6 5239
c906108c
SS
5240Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5241
5242 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5243 "calling function with watchpoint enabled".
5244
5245Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5246
5247 * gdb.base/break.exp (test_next_with_recursion): Remove
5248 gdb_suppress_tests for d10v-*-*.
5249 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5250 pending review of whether it is useful or not.
5251
5252Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5253
5254 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5255
5256Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5257
5258 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5259 * config/dve.exp: New file to support Densan boards.
5260
5261Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5262
5263 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5264 reads and BSD.
5265
5266Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5267
5268 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5269 response.
5270
5271 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5272
5273Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5274
5275 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5276 test.
5277
5278 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5279 target_sizeof_long and target_bigendian_p.
5280 (structs_by_value, structs_by_reference): Check values according
5281 to targets word size and endianess.
beb998c6 5282
c906108c
SS
5283Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5284
5285 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5286 output.
5287
5288Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5289
5290 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5291 Update test of set args help to match source change.
5292
5293Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5294
5295 * gdb.base/default.exp: Expect help system output to be in
5296 alphabetical order.
5297 * gdb.base/help.exp: Ditto.
5298
5299Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5300
5301 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5302 "i*86-pc-linux-gnu*".
5303 * gdb.base/interrupt.exp: Ditto.
5304 * gdb.base/corefile.exp: Ditto.
5305
5306 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5307 define vxworks when building the testcase.
5308
5309 * gdb.base/ptype.exp: Fix testnames to be unique.
5310 * gdb.base/radix.exp: Ditto.
5311 * gdb.base/term.exp: Ditto.
5312 * gdb.base/whatis.exp: Ditto.
5313 * gdb.c++/classes.exp: Ditto.
5314
5315Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5316
5317 * gdb.base/callfuncs.exp: Fix indentation.
5318
5319 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5320 suppress_flag has been set.
5321 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5322 target feature.
5323
5324Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5325
5326 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5327 the testcase.
5328
5329 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5330 set_debug_traps() and breakpoint().
5331 * gdb.c++/misc.cc (main): Ditto.
5332 * gdb.c++/templates.cc (main): Ditto.
5333 * gdb.c++/virtfunc.cc (main): Ditto.
5334
5335Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5336
5337 * lib/gdb.exp(gdb_step_for_stub): New function.
5338 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5339 exists, reload the executable and do a "continue" instead of
5340 doing a jump.
5341 (runto_main): Use gdb_step_for_stub.
beb998c6 5342
c906108c
SS
5343 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5344 tests to have unique names.
5345 * gdb.base/callfuncs.exp: Ditto.
5346 * gdb.base/commands.exp: Ditto.
5347 * gdb.base/default.exp: Ditto.
5348 * gdb.base/help.exp: Ditto.
5349 * gdb.base/list.exp: Ditto.
5350 * gdb.base/opaque.exp: Ditto.
5351 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5352 similar tests.
beb998c6 5353
c906108c
SS
5354 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5355 * gdb.c++/cplusfuncs.cc: Ditto.
5356 * gdb.c++/virtfunc.cc: Ditto.
5357
5358 * config/monitor.exp: Keep track of the last file we saw, rather
5359 than trying to get the info from gdb.
5360
5361 * gdb.fortran/types.exp: Move comment to previous line.
5362
5363Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5364
5365 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5366 target mode.
5367
5368Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5369
5370 From Bob Manson:
5371 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5372 string from GDB when it connects.
5373
5374 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5375
5376Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5377
5378 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5379 if we can't get a debug format from GDB (we may be testing an
5380 older GDB). Use a 10 second timeout when checking for the format.
5381
5382 * gdb.stabs/weird.exp: Fix quoting.
5383
5384 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5385
5386Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5387
5388 * config/arm-ice.exp: New file.
5389
5390Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5391
5392 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5393 until it has been modified to work with the new testsuite.
5394
99707966 5395 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5396 testcase won't compile, cause all of the testcases in the file to
5397 fail instead.
5398
5399 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5400 (gdb_clear_suppressed): New procedure.
5401 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5402 it contains a positive value.
5403
5404Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5405
5406 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5407
5408 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5409
5410Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5411
5412 * lib/gdb.exp (setup_xfail_format): New function.
5413 (get_debug_format): New function to get debug format.
5414 (debug_format): New global variable to hold last value set
5415 by get_debug_format.
5416 * gdb.base/list.exp: Call get_debug_format and expect some
5417 tests to fail for DWARF 1 and COFF formats.
5418 * gdb.c++/ptype.exp: Ditto.
5419 * gdb.c++/classes.exp: Ditto.
5420 * gdb.c++/cplusfuncs.exp: Ditto.
5421 * gdb.c++/inherit.exp: Ditto.
5422 * gdb.c++/templates.exp: Ditto.
5423 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5424
c906108c
SS
5425Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5426
5427 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5428 host doesn't have a currently-open connection.
5429
5430 * config/sparclet.exp: Cleanups and fixes to make it generic for
5431 any gdb stub target. Handle cases where gdb doesn't respond when
5432 interrupted in a sane fashion.
5433
5434 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5435 same thing in a totally different way.
5436
5437 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5438 setting "timeout".
5439 (gdb_start): We set the global gdb_prompt variable in
5440 default_gdb_init now.
5441
5442Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5443
5444 * gdb.base/printcmds.exp: Fix "check for floating addition"
5445 regexp to accept results within approx +/- .01 of exact value.
5446 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5447
5448Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5449
5450 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5451 properly.
5452 (gdb_expect): Add optional timeout parameter, and add timeout
5453 value to various calls.
5454 (gdb_suppress_tests): Only give one warning message per group.
5455
5456Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5457
5458 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5459 global variables. Handle getting a value for $timeout more
5460 gracefully.
5461
5462Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5463
5464 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5465 initialize.
5466 (default_gdb_init): New procedure; allow gdb_init to be overridden
5467 by a target configuration file.
5468 (gdb_expect): Pass the timeout to remote_expect.
5469
5470 * config/monitor.exp(gdb_load): Fix typo in regexp.
5471
5472Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5473
5474 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5475
5476Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5477
5478 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5479 here. Call gdb_target_exec before rebooting the target, to make
5480 sure the connection to the target is closed.
5481 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5482 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5483 Also detect "Timeout reading from remote" error.
5484
5485 * config/gdbserver.exp: Pass the executable being loaded to
5486 gdb_target_monitor. Don't call gdb_file_cmd here; let
5487 gdb_target_monitor do it.
5488
5489 * gdb.disasm/hppa.exp: Don't use exec_output.
5490
5491Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5492
5493 * gdb.base/list.exp: If we're debugging a non-native target,
5494 try to set the pc register to point to the start of the
5495 program before doing the first list command.
5496
5497 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5498 test_calls after restarting.
5499
5500 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5501 reloading.
5502
5503 * gdb.base/watchpoint.exp: Fix typo.
5504
5505 * gdb.base/setshow.exp: Check for use_gdb_stub.
5506
5507 * gdb.base/break.exp: Fix continue until exit test for the gdb
5508 stub case.
5509 * gdb.base/langs.exp: Ditto.
5510
5511 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5512 gdb_load_offset. If we weren't given a file to load, figure out
5513 what the current file is and use it.
5514
5515 * config/i386-bozo.exp: New file.
5516
5517Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5518
5519 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5520 feature.
5521
5522 * config/proelf.exp: New entry.
5523
5524Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5525
5526 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5527 of regexps.
5528
5529 * gdb.base/watchpoint.exp: Don't run the test_stepping
5530 tests if gdb can't call functions on the target.
5531
5532 * gdb.base/setshow.exp: Don't run the set prompt tests if
5533 the board has gdb_prompt set.
5534
5535Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5536
5537 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5538 * gdb.base/commands.exp: Likewise.
5539 * gdb.base/setshow.exp: Likewise.
5540
5541Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5542
5543 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5544 feature.
5545
5546 * config/i960.exp: New file.
5547
5548Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5549
5550 * gdb.base/funcargs.exp: Check for gdb,short_int target
5551 feature instead of looking for explicit target triplets.
5552
dc96c6c7 5553Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5554
beb998c6 5555 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5556 "p 123DEADBEEF", to check parse_number.
5557 * top.c: change "to enable to enable" to "to enable" in a couple
5558 of help strings.
5559
5560Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5561
5562 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5563 on the mn10300.
beb998c6 5564
c906108c
SS
5565Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5566
5567 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5568 where the test executable is run with explicit args.
5569 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5570
5571Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5572
5573 * gdb.base/run.c: Use FAKEARGV to build test executable that
5574 does not require a command line arg, since most simulators
5575 don't currently support passing such an arg into the simulated
5576 program.
5577 * gdb.base/commands.exp: Change tests to insert the proper
5578 value as the arg to the first recursive factorial call. Change
5579 compilation line to define FAKEARGV at compile time.
5580
5581Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5582
5583 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5584 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5585 function with watchpoint enabled" test.
5586
5587Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5588
5589 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5590 Don't call gdb_test when the command doesn't return to a gdb prompt.
5591
5592 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5593 "Tests restarted" messages.
5594
5595Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5596
5597 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5598
dc96c6c7 5599Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5600
5601 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5602 for INFO SYMBOL; add help tests for OVERLAY commands.
5603 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5604 add tests for OVERLAY commands
5605 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5606 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5607 * gdb.base/sigall.c: add usestubs code frag
5608 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5609
c906108c
SS
5610Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5611
5612 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5613 failures.
5614 (gdb_stop_suppressing_tests): Note that tests have restarted.
5615
5616Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5617
5618 * config/h8300.exp: New file.
5619
5620Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5621
5622 * gdb.base/setshow.exp: Check for the existence of a
5623 feature, not its value.
5624
5625Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5626
5627 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5628
5629 * gdb.base/scope.exp: It's now init0(), not init().
5630
5631 * gdb.base/scope0.c: For now, change init() to be init0().
5632
5633 * config/monitor.exp: Use gdb_serial in preference to serial
5634 or netport.
5635
5636 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5637 and it's not already set.
5638
5639Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5640
5641 * gdb.base/setshow.exp: Only test the run command if the target
5642 isn't using a stub and if it supports argument passing.
5643
5644Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5645
5646 * config/udi.exp(gdb_start): Make sure UDICONF is set
5647 properly before starting gdb.
5648
5649Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5650
5651 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5652 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5653 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5654
5655Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5656
5657 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5658 specialized code to reboot the board, use remote_reboot instead.
5659
5660 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5661
5662 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5663
5664 * config/monitor.exp: Make sure we disconnect from the target.
5665 Also, try a reboot/reload cycle instead of failing if the
5666 load fails.
5667
5668Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5669
5670 * gdb.base/default.exp: Don't set match_max.
5671 * gdb.base/help.exp: Ditto.
5672 * gdb.base/list.exp: Ditto.
5673 * gdb.base/signals.exp: Ditto.
5674
5675 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5676 set, use remote_ld to download the testcase instead of
5677 the GDB loader.
5678
5679Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5680
5681 * config/vr5000.exp: New file.
5682
5683 * config/monitor.exp(gdb_target_monitor): Add pattern for
5684 "Ending remote" to detect errors in connecting.
5685
5686 * gdb.base/setshow.exp: Add .* within auto language test.
5687
5688 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5689 target feature.
5690
5691 * config/monitor.exp(gdb_load): Check for a failure when loading,
5692 and reboot the board if necessary.
5693
5694 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5695 a set of tests. Remove print.* from the patterns being checked.
5696
5697Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5698
5699 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5700 refer to gdb_spawn_id.
5701
5702 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5703 longer used.
5704 * config/sparclet.exp: Ditto.
5705 * config/sparclet-old.exp: Ditto.
5706 * config/slite.exp: Ditto.
5707 * config/sim.exp: Ditto.
5708 * gdb.base/funcargs.exp: Ditto.
5709
5710 * lib/gdb.exp:Remove references to gdb_spawn_id.
5711 (gdb_expect): Move to remote.exp.
5712
5713Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5714
5715 * config/monitor.exp: Detect the "Couldn't establish connection"
5716 message from GDB.
5717
5718Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5719
5720 * gdb.base/bitfields.exp: Use runto instead of explicit
5721 gdb_run_cmd/gdb_expect sequences.
5722
5723 * gdb.base/break.exp(text_next_with_recursion): Add match for
5724 gdb_expect call.
5725
5726 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5727 We also need to handle the "A program is being debugged already"
5728 prompt from gdb. Use gdb_test to set the baud rate.
5729
5730 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5731 to 20000. Really. I mean it.
5732
5733Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5734
5735 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5736 fails. If suppress_flag is set, skip perror message about not
5737 being able to send to GDB.
5738 (send_gdb): If suppress_flag is set, don't try to send commands to
5739 GDB.
5740 (gdb_expect): If suppress_flag is set, always fail immediately.
5741 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5742 (gdb_init): Call gdb_stop_suppressing_tests.
5743 (default_gdb_exit): Ditto.
5744 (default_gdb_start): Ditto.
5745
5746 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5747 gdb_stop_suppressing_tests as appropriate.
5748 * gdb.base/break.exp: Ditto.
5749 * gdb.base/callfuncs.exp: Ditto.
5750 * gdb.base/commands.exp: Ditto.
5751 * gdb.base/exprs.exp: Ditto.
5752 * gdb.base/funcargs.exp: Ditto.
5753 * gdb.base/list.exp: Ditto.
5754 * gdb.base/recurse.exp: Ditto.
5755 * gdb.base/scope.exp: Ditto.
5756 * gdb.base/structs.exp: Ditto.
5757 * gdb.c++/inherit.exp: Ditto.
5758
5759Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5760
5761 * config/vr4300.exp: New file.
5762
99707966
MC
5763 * gdb.*/*.exp: Call gdb_expect instead of expect.
5764
5765 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5766
5767Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5768
5769 * lib/gdb.exp(gdb_init): New function.
5770
5771 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5772 for each individual variable set.
5773
5774 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5775 name.
5776
5777 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5778
5779 * gdb.base/scope.exp: Use gdb_test.
5780
5781 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5782 aborting; the testsuite driver will do that for us (see
5783 gdb_finish). Also, use gdb_test in a few more places.
5784
5785Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5786
5787 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5788
5789Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5790
5791 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5792 and "add_tests" are not at the same address.
5793
5794Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5795
5796 * gdb.base/ptype.exp: Use gdb_test.
5797
5798Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5799
5800 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5801 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5802 left in. No longer expect them to fail.
5803
5804 * gdb.stabs/*.mt; Deleted, no longer used.
5805 * gdb.stabs/configure.in: Remove references to target makefile
5806 frags.
5807 * gdb.stabs/configure: Rebuilt.
5808
5809 * gdb.disasm/*.mt: Deleted, no longer used.
5810 * gdb.disasm/configure.in: Remove references to target makefile
5811 frags. Use "sh3.s" as the unique filename for this directory.
5812 * gdb.disasm/configure: Rebuilt.
5813
5814 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5815 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5816 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5817
5818Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5819
5820 * config/udi.exp: Use mondfe,name instead of remote_host.
5821
5822Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5823
5824 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5825 a function with a watchpoint enabled on the mn10200.
5826
5827 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5828 before trying to create it!
5829
5830Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5831
5832 * config/vx.exp: Use hostname instead of netport.
5833
5834 * config/vxworks.exp: New file.
5835
5836 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5837
5838 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5839 gdb before assuming everything worked. Send a ^C if a timeout
5840 occurs.
5841
5842 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5843 $gdb_spawn_id directly.
5844 (gdb_run_cmd): Try _start as well as start. Use the target feature
5845 gdb,start_symbol as the symbol to start from when jumping.
5846
5847Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5848
5849 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5850 redundant) test.
5851
5852 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5853 it doesn't lose for 16bit integer systems.
5854
5855Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5856
5857 * gdb.fortran/types.exp: If the target doesn't support "double"
5858 data types, then expect "real" types to only be 4 bytes.
5859
5860 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5861 call tests if the target doesn't support inferior function calls.
5862
5863 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5864 in printf tests.
5865
5866Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5867
5868 * gdb.base/help.exp: Disable "help set", "help show", and
5869 "help support". Simplify regexp for "help stack".
5870
5871 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5872 to 60 seconds. Temporarily set match_max to 15000 around the
5873 "info copying" test.
5874
5875 * gdb.base/nodebug.exp: Don't try to do an inferior function
5876 call if the target doesn't support them.
5877 * gdb.base/printcmds.exp: Likewise.
5878 * gdb.base/setvar.exp: Likewise.
5879 * gdb.base/structs.exp: Likewise.
5880 * gdb.c++/templates.exp: Likewise.
5881 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5882
5883 * gdb.base/recurse.exp: Enable for the mn10200.
5884
5885 * configure.in: Do configure gdb.stabs directory for *-*-elf
5886 targets.
5887 * configure: Rebuilt.
5888
5889 * gdb.base/break.exp: Check for gdb,noresults before testing
5890 exit status and/or results from the target.
5891 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5892 * lib/gdb.exp: Remove old (now bogus) initialization of
5893 noinferior, noargs, noresults and nosignals.
5894
5895Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5896
5897 * config/sh.exp: New file.
5898
5899 * config/slite.exp: Try to connect multiple times to the board
5900 before rebooting. Only send a "monitor run" if need_monitor_run
5901 is set.
5902
5903 * gdb.base/break.exp: Don't do the "stub continue" test if
5904 the target has gdb_stub set.
5905
5906 * gdb.base/callfuncs.exp: Increase the timeout.
5907
5908 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5909 if the target has gdb,noinferiorio set.
5910
5911 * gdb.base/list.exp: Increase match_max to 10000 characters.
5912
5913 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5914
5915 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5916 target.
5917
5918 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5919
5920Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5921
5922 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5923 trying to delete the copy of gdb. Catch the file delete so we
5924 don't die if the delete fails; also, the file should be copied to
5925 the host, not to the build.
5926
5927Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5928
5929 * lib/gdb.exp(gdb_test): Surround the result pattern with
5930 parenthesis in case it contains multiple regexps separated
5931 with |.
5932
5933 * gdb.base/watchpoint.exp: Use gdb_test.
5934 * gdb.base/default.exp: Ditto.
5935
5936Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5937
99707966 5938 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5939
c906108c
SS
5940 * gdb.base/scope.exp: Use gdb_test.
5941 * gdb.c++/classes.exp: Ditto.
5942 * gdb.c++/inherit.exp: Ditto.
5943
5944Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5945
5946 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5947 remote_exec instead.
5948 * gdb.base/corefile.exp: Don't be ridiculous.
5949 * gdb.base/*.c: Add missing stub invocations.
5950
5951Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5952
5953 * config/slite.exp: Miscellaneous fixes.
5954
5955 * lib/gdb.exp: Fix runto.
5956
5957 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5958 the target.
5959
5960 * gdb.base/watchpoint.exp: Fix regexp.
5961
5962 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5963 close and wait commands, as the descriptor may now be
5964 invalid. Always call "remote_close host".
5965
5966Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5967
5968 Major rewrite for testsuite revision.
beb998c6 5969
c906108c
SS
5970 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5971 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5972 instead of relying on spawn_id to always contain a valid
5973 spawn id.
5974 (get_compiler_info): New procedure to build the ${binfile}.ci
5975 file, instead of replicating this in N different places.
5976 (gdb_compile): New procedure.
beb998c6 5977
c906108c
SS
5978 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5979 appropriate arguments) instead of compile. Use gdb_test in a lot
5980 more places. Use send_gdb instead of send. Always run gdb_start
5981 at the start of a testcase, as this is no longer done magically.
5982
5983 config/*-gdb.exp: Rename without the -gdb suffix.
5984
5985 config/mips.exp: Use remote_close instead of exit_remote_shell.
5986 config/monitor.exp: Use target_info instead of looking at
5987 baud, timeout, etc.
5988 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5989
5990Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5991
5992 * gdb.c++/templates.exp (test_ptype_of_templates),
5993 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5994 Update expect patterns for destructors and assignment operators
5995 to match corresponding c-typeprint.c changes.
5996 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5997 to destructor breakpoint test, GDB should be able to set the
5998 destructor breakpoint without specifying arguments.
5999
6000Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6001
6002 * gdb.threads/pthreads.exp: Change result for failure to compile due
6003 to lack of pthreads runtime support from an error to simply an
6004 unsupported test, per dejagnu standards.
6005
6006Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6007
6008 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6009 where GDB exits to reduce pattern match time.
6010 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6011
6012 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6013
dc96c6c7 6014Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6015
6016 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6017 * gdb.base/default.exp: ditto.
6018 * gdb.base/nodebug.exp: ditto.
6019 * gdb.base/printcmds.exp: ditto.
6020 * gdb.base/ptype.exp: ditto.
6021 * gdb.base/setvar.exp: ditto.
6022 * gdb.base/structs.exp: ditto.
6023 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6024
6025Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6026
6027 * configure, */configure: Rebuild with autoconf 2.12.
6028
6029Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6030
6031 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6032 use new i*86-pc-linux*-gnu quads.
6033 * gdb.base/corefile.exp: Ditto.
6034 * gdb.base/signals.exp: Ditto.
6035 * gdb.base/sigall.exp: Ditto.
6036 * gdb.base/interrupt.exp: Ditto.
6037
6038 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6039 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6040 RedHat 4.0.
beb998c6 6041
c906108c
SS
6042 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6043 linux. This allows the test case to at least compile on latest
6044 linux, but still not run due to missing the threads runtime library.
6045
6046Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6047
6048 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6049 directory to search gdb directory. Accept and step over conditional
6050 stack alignment code. Consume $prompt in failure cases.
6051 Reset timeout to $oldtimeout instead of some arbitrary value.
6052 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6053 timeout problems with infinite stack backtraces.
6054 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6055 Accept function parameters for linkfunc member.
6056
6057Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6058
6059 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6060 (CXXFLAGS): Remove, unreferenced.
6061 (B_OPTIONS): Add for -B options and add code to initialize with
6062 previous -B options and also add -B option to pick up cross compiled
6063 runtime.
6064 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6065 doing cross compiles.
6066 (target_alias): Declare global.
6067 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6068 to verify that gcc exists in build tree, and if so set CC to that
6069 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6070
c906108c
SS
6071Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6072
6073 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6074 ptype test for anonymous union. Fixup testcase to match
6075 current gcc debug output.
6076
6077Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6078
6079 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6080 force argument to an unsigned long type.
6081
6082Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6083
6084 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6085 tests and anonymous union print/ptype tests.
6086 * gdb.base/list.exp (test_forward-search): Increase timeout by
6087 5 minutes for the "search extremely long line" case.
6088 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6089 completely optional and that the pass/fail messages use the command as
6090 the message if that third arg is a null string.
6091 (gdb_test_exact): Arrange that a null string pattern means match a
6092 null string output rather than any output, which might include random
6093 errors.
6094 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6095 backtrace test.
6096 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6097 always failing and failure is now exposed by gdb.exp changes.
6098
6099Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6100
6101 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6102 weren't being noted.
6103
6104Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6105
6106 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6107 * gdb.stabs/weird.exp: Remove v_comb xfails.
6108
dc96c6c7 6109Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6110
6111 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6112 list.exp scope.exp watchpoint.exp]
6113 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6114
dc96c6c7 6115Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6116
6117 * config/monitor.exp: Increase download timeout to 1000 seconds.
6118
dc96c6c7 6119Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6120
6121 * config/m32r.exp: Increase timeout to 120 seconds.
6122
6123Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6124
6125 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6126 and accept older ordering as obsolescent gcc or gdb.
6127 * gdb.c++/templates.exp: Ditto.
6128 * gdb.c++/virtfunc.exp: Ditto.
6129
6130Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6131
6132 * gdb.base/coremaker.c: Add code to mmap some data so we
6133 can check that it ends up in the core file.
6134 * gdb.base/corefile.exp: Add test to read mmapped data
6135 from core file.
6136
dc96c6c7 6137Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6138
6139 * config/m32r.exp: New file.
6140
6141Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6142
6143 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6144 that cflags can contains -gstabs, and work correctly for other tests.
6145
dc96c6c7 6146Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6147
6148 * gdb.base/setshow.exp: New file, tests show and set.
6149 * gdb.base/setshow.c: New file, tests show and set.
6150 * gdb.base/help.exp: Add test for help set|show annotate.
6151 * gdb.base/default.exp: Add test for set|show annotate.
6152
6153Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6154
6155 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6156 errors unique.
6157 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6158 explicitly.
6159
6160Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6161
6162 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6163 and width commands. This is done elsewhere.
6164 * (gdb_start): Don't call gdb_start_sim here. That's already
6165 done in gdb_load. This fixes lots of failures in default.exp.
6166
6167Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6168
6169 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6170 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6171 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6172 in the same we we treat other failures (since it may be an expected
6173 condition), rather than as an error.
6174 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6175 old test format.
6176
6177Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6178
6179 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6180 (distclean maintainer-clean realclean): No need to remove files
6181 twice. Nuke the duplicates.
6182 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6183 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6184 Remove config.h along with other config files.
6185
6186Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6187
6188 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6189 "p func1 ()" and note that rests of tests are skipped.
6190 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6191 setup_xfails for "print func2::coremaker_local".
6192 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6193 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6194 affected by the previous run test.
6195 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6196 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6197 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6198 "pass int powerset tuple" and "pass modeless int powerset tuple".
6199 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6200 "real write 4" and "real write 8".
6201 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6202 setup_xfails for "print vs1 after tuple assign 2",
6203 "print \$i after tuple assign 2", and
6204 "print vs2 after tuple assign 2".
6205 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6206 meaningful error message and return -1 so the caller can
6207 suppress further tests and avoid a cascade of errors.
beb998c6 6208
c906108c
SS
6209Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6210
6211 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6212 format for printing version.
6213 * gdb.base/default.exp: Ditto.
6214 * gdb.base/interrupt.exp: Fix problem with cascade of
6215 errors if child process dies while calling a function.
beb998c6 6216
c906108c
SS
6217Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6218
6219 * Makefile.in (VPATH): Add
6220 * Makefile.in (Makefile, config.status): Fix rules so things get
6221 remade when necessary.
6222
6223Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6224
6225 * Makefile.in (just-check): Add path to sibling expect dir
6226 to environment variable specified by RPATH_ENVVAR.
6227
6228Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6229
6230 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6231 (just-check): Add shared library paths for libstdc++, tk,
6232 tcl, bfd, and opcodes to the environment variable specified
6233 in RPATH_ENVVAR.
6234 * configure.in: Add support to recognize --enable-shared flag
6235 and generate correct value for RPATH_ENVVAR.
6236 * configure: Regenerated with autoconf.
6237
6238Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6239
6240 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6241 include all osf versions.
6242 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6243 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6244 when target is linux. When failing to build pthreads test
6245 executable, give more meaningful message.
6246 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6247 arg for pthread_create.
beb998c6 6248
c906108c
SS
6249Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6250
6251 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6252 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6253 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6254 and -lpthreads (everybody else).
6255 (test_startup): Fail gracefully if threads are not supported.
6256 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6257 "p/c array_index("abcdef",2)" when not gcc compiled.
6258 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6259 "print func2::coremaker_local" when not gcc compiled.
6260 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6261 "ptype on opaque struct tagname (statically)",
6262 "ptype on opaque struct tagname (dynamically) 1", and
6263 "ptype on opaque struct tagname (dynamically) 2"
6264 for not compiled with gcc.
6265 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6266 backtrace when compiled with gcc.
beb998c6 6267 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6268 than always return success.
6269
6270Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6271
6272 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6273
6274Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6275
6276 * gdb.base/structs.exp: Undo last change.
6277
6278Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6279
6280 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6281 encapsulate all the steps/nexts done during self test, starting
6282 at main, and makes them less sensitive to optimization issues.
6283 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6284 signal handler" test.
6285 * gdb.threads/pthreads.exp: Only run this for native configs.
6286 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6287 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6288 tests.
6289 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6290 for "runto test_calls(void)" test.
beb998c6 6291
c906108c
SS
6292Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6293
6294 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6295 and don't expect address info in breakpoint confirmations.
6296
6297Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6298
6299 * gdb.base/list.exp (test_forward_search): Increase timeout
6300 temporarily by 60 seconds for searching extremely long line,
6301 and then reset to old value when done. Increase expect input
6302 buffer to 10000.
6303
6304Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6305
6306 * gdb.base/list.exp (test_forward_search): Fix to handle very
6307 long source line without overflowing expect's input buffer.
6308
6309Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6310
6311 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6312 "buffer_full".
6313
6314 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6315 "buffer_full".
6316
6317 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6318 "buffer_full".
6319
6320 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6321 "buffer_full".
6322
6323Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6324
6325 * configure.in (configdirs): Add gdb.threads.
6326 * configure: Regenerated with autoconf.
6327 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6328 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6329 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6330
c906108c
SS
6331Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6332
6333 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6334
6335Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6336
6337 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6338 each signal's status in the output of "handle all print".
6339 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6340 the \r\n sequence that immediately precedes the gdb prompt.
6341 * gdb.base/a1-selftest.exp: Save original timeout and restore
6342 after test.
6343
6344Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6345
6346 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6347 symbol.
6348
6349Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6350
6351 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6352
6353Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6354
6355 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6356 timeout by 60 seconds.
6357
6358Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6359
6360 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6361 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6362 error return.
6363
6364Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6365
6366 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6367 gdb initialization, also report how long dejagnu waited. Restore
6368 old timeout before doing error return. Temporarily increase timeout
6369 by 3 minutes to allow for slow startups over heavy NFS use.
6370
6371Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6372
6373 * lib/gdb.exp: Report timeout value for verbosity level 2.
6374 * config/gdbserver.exp: Ditto.
6375 * config/hppro.exp: Ditto.
6376 * config/mips-gdb.exp: Ditto.
6377 * config/monitor.exp: Ditto.
6378 * config/netware.exp: Ditto.
6379 * config/sim-gdb.exp: Ditto.
6380 * config/slite-gdb.exp: Ditto.
6381 * config/udi-gdb.exp: Ditto.
6382 * config/unix-gdb.exp: Ditto.
6383 * config/vx-gdb.exp: Ditto.
6384 * gdb.base/a1-selftest.exp: Ditto.
6385 * gdb.base/a2-run.exp: Ditto.
6386 * gdb.base/break.exp: Ditto.
6387 * gdb.base/corefile.exp: Ditto.
6388 * gdb.base/list.exp: Ditto.
6389 * gdb.base/recurse.exp: Ditto.
6390 * gdb.base/scope.exp: Ditto.
6391 * gdb.base/signals.exp: Ditto.
6392
6393Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6394
6395 * gdb.threads/Makefile.in (docdir): Removed.
6396
6397Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6398
6399 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6400 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6401 @srcdir@.
beb998c6 6402 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6403 autoconf 2.5 or higher.
6404 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6405
6406Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6407
6408 * configure: Regenerated.
6409 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6410 avoid name clashes with SunOS headers.
6411
6412Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6413
6414 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6415
6416Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6417
6418 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6419 prototype information ends up in the compiler info file.
6420
6421Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6422
6423 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6424 attempting to regenerate it. Eliminate use of a temporary file
6425 and just generate the info file directly. Source it immediately,
6426 for consistency of use.
6427 * gdb.base/corefile.exp: Ditto
6428 * gdb.base/exprs.exp: Ditto.
6429 * gdb.base/funcargs.exp: Ditto.
6430 * gdb.base/langs.exp: Ditto.
6431 * gdb.base/list.exp: Ditto.
6432 * gdb.base/mips_pro.exp: Ditto.
6433 * gdb.base/nodebug.exp: Ditto.
6434 * gdb.base/opaque.exp: Ditto.
6435 * gdb.base/ptype.exp: Ditto.
6436 * gdb.base/scope.exp: Ditto.
6437 * gdb.base/setvar.exp: Ditto.
6438 * gdb.base/signals.exp: Ditto.
6439 * gdb.base/whatis.exp: Ditto.
6440 * gdb.c++/templates.exp: Ditto.
6441 * gdb.c++/virtfunc.exp: Ditto.
6442 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6443 whether or not to add -lstdc++ to the compile command line args.
6444
6445Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6446
6447 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6448 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6449 Increase timeout, a lot of single stepping might be needed if the
6450 target has no hardware watchpoints.
6451
6452Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6453
6454 * gdb.base/break.exp: Ignore compiler warnings when compiling
6455 break.c.
6456 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6457 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6458 from remote-sim.
6459 * gdb.base/exprs.exp: Add h8300 xfails.
6460 * gdb.base/funcargs.exp: Likewise.
6461 * gdb.base/nodebug.exp: Likewise.
6462 * gdb.base/printcmds.exp: Likewise.
6463 * gdb.base/ptype.exp: Likewise.
6464 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6465 h8300 xfails.
beb998c6 6466 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6467 on the h8300.
6468 * gdb.base/funcargs.c: Explicitly make last constant argument to
6469 call_after_alloca_subr an unsigned long type.
6470 * gdb.base/return.c: Include stdio.h.
6471
6472Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6473
6474 * config/abug.exp: New file for the older Motorola Bug monitor
6475 that runs on the mvme13x series VME boards.
6476 * config/monitor.exp: Use the new config array for target settings
6477 if they exist.
6478
6479Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6480
6481 * sim-gdb.exp: Make the SH simulator allocate less space when
6482 it is targeted.
6483
6484Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6485
6486 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6487 test.
6488
6489Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6490
6491 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6492 "rs6000-*-*" for "list function in include file" when gcc compiled.
6493 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6494 for "p ctable1[120]".
6495 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6496 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6497 Remove setup_xfail for "rs6000-*-*" for
6498 "print 'scope0.c'::filelocal before run".
6499 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6500 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6501 since some compilers don't allow both options to be given
6502 on the same command line. Create object file and move it.
beb998c6 6503
c906108c
SS
6504Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6505
6506 * gdb.base/corefile.exp: Always regenerate the core file, since
6507 we always regenerate the coremaker program. Detect special case
6508 where registers cannot be read from core file.
beb998c6 6509
c906108c
SS
6510Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6511
6512 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6513 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6514 * gdb.c++/templates.exp: Only match on basename of file since
6515 some formats like xcoff don't encode directory information.
6516 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6517 and rs6000 AIX xcoff targets.
6518 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6519 * configure: Regenerate.
6520 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6521 here, rather than in distclean.
beb998c6 6522
c906108c
SS
6523Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6524
6525 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6526 defined, and use it to compile the test case with -O2. The
6527 native compilation still uses no optimization.
6528 * gdb.base/mips_pro.c: Remove inline assembly code since
6529 it is compiled PIC by default, which results in assembler
6530 warnings that make the testsuite think the compilation
6531 was unsuccessful.
6532
6533Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6534
6535 * gdb.c++/misc.exp: Add note to message for
6536 "print s.a for foo struct" that this is a known gcc 2.7.2
6537 and earlier bug.
6538
6539Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6540
6541 * gdb.base/break.exp: Fix pattern for matching "Delete all
6542 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6543 setup_xfail for deleting all breakpoints test. Fix various
6544 timeout messages to include "(timeout)".
6545 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6546 for "p t_float_values2(3.14159,float_val2)".
6547 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6548 for "continue to call2g" when gcc compiled.
6549 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6550 "up to foo in langs.exp", "show language at foo in langs.exp",
6551 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6552 and "show language at fsub in langs.exp".
6553 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6554 "list line 1 in include file", "list message for lines past EOF",
6555 "list function in include file", "list list0.h:foo", and
6556 "list filename:function; nonexistant function".
6557 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6558 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6559 and "ptype t_char_array" to be for native cc only.
beb998c6 6560
c906108c
SS
6561Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6562
beb998c6 6563 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6564 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6565 "print func2::coremaker_local", and "backtrace in corefile.exp".
6566
6567Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6568
6569 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6570 "bt in signals.exp". This problem only appears when running
6571 the testsuite, and then only intermittently.
6572
6573Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6574
6575 * gdb.base/return.exp (return_tests): Differentiate between
6576 two tests of continuing.
6577
6578Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6579
6580 * */Makefile.in (maintainer-clean): Remove config.log.
6581 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6582 * gdb.c++/Makefile.in (PROGS): Add inherit.
6583 (clean): Remove *.ci.
6584
6585Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6586
6587 * gdb.c++/misc.cc: Add test code from Mike Stump.
6588 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6589
6590Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6591
6592 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6593 to "alpha-*-osf2*" and add comment.
6594 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6595 setup_xfail for "step over execarg initialization" and
6596 "step over corearg initialization".
6597 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6598 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6599 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6600 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6601 "print func2::coremaker_local", and "backtrace in corefile.exp".
6602 * gdb.base/signals.exp: Build and source signals.ci.
6603 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6604 to be for gcc only.
6605 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6606
c906108c
SS
6607Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6608
6609 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6610 Feb 3 procfs.c change.
6611
6612Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6613
6614 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6615
6616Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6617
6618 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6619 from dejagnu's apparent default of 10 seconds, which gives random
6620 results when running the tests over NFS on moderately loaded systems.
6621 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6622
6623Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6624
6625 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6626 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6627 result reports.
6628
6629Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6630
6631 * configure.in (CY_AC_PATH_TCLH): Remove.
6632 * configure: Regenerate.
6633
6634Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6635
6636 * gdb.c++/Makefile.in (clean): Add missing '{'.
6637
6638Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6639
6640 * lib/gdb.exp: Provide a default value for noinferior.
6641
6642 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6643 Load libgloss.exp.
6644
6645Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6646
6647 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6648 the executable, not the .o to run the tests from.
6649
6650Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6651
6652 * gdb.base/break.exp: Don't test for program exit or exit status
6653 if $noresults if nonzero.
6654 * gdb.base/langs.exp: Likewise.
6655 * gdb.base/watchpoint.exp: Likewise.
6656
6657 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6658 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6659 trying to compile the testcase.
6660
6661Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6662
6663 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6664 * gdb.base/signals.exp (continue to handler): Likewise.
6665
6666Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6667
6668 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6669
6670 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6671
6672Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6673
6674 * gdb.base/corefile.exp: Recognize "not found" as failure
6675 when trying to determine if a core file was generated.
6676 If no core file was generate the first time, try again without
6677 the ulimit -c to work around braindamaged shells.
6678
6679Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6680
6681 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6682 [] tests with "test" and enclose string in quotes.
6683 * gdb.stabs/configure: Rebuild
beb998c6 6684
c906108c
SS
6685Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6686
6687 Changes in sync with expect:
6688 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6689 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6690 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6691 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6692 argument to AC_REQUIRE.
6693 * configure: Regenerated.
6694
6695Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6696
6697 * gdb.base/corefile.exp: When generating a core, discard any
6698 error messages about ulimit not found and the "core dumped"
6699 message from the shell that runs the coredumper.
6700
6701Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6702
6703 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6704
6705 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6706 which sed script to run. Expect failure for v_comb test
6707 on PA targets too.
beb998c6 6708
c906108c
SS
6709Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6710
6711 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6712 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6713
6714Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6715
6716 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6717 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6718 "sparc-sun-solaris*" xfails for "p v_comb".
6719 * lib/gdb.exp (default_gdb_start): Fix typo.
6720 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6721 messages to not include the full program name that caused
6722 the core dump since some systems (such as solaris) apparently
6723 truncate this path to about 80 characters.
6724 When generating a core file first try increasing the core file
6725 size limit to unlimited since some systems may default it to
6726 zero, and it is harmless to try it. Move the test for failing
6727 to generate a core file to where it will actually get executed.
6728 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6729 new gdb result from g++ debug info improvements and make old
6730 pattern obsolescent. Also account for size_t differences
6731 (may be int or long).
6732 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6733 initialization before function call is placed in the delay slot
6734 and thus appears to be skipped over by commands such as "next".
6735
6736Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6737
6738 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6739
6740Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6741
6742 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6743 input source file; fix code to compile test to deal with this
6744 convention.
6745 * gdb.c++/*.exp: Likewise.
6746
6747Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6748
6749 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6750 "bt in signals.exp".
6751
6752Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6753
6754 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6755 "step over execarg initialization" and
6756 "step over corearg initialization".
6757
6758Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6759
6760 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6761 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6762
6763Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6764
6765 From Rob Savoye (rob@poseidon.cygnus.com)
6766 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6767 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6768 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6769 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6770 configure.in}: Major reworking for autoconfig.
6771 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6772 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6773 New files.
6774 * config/unix-gdb.exp: Make GDB global.
6775 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6776 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6777 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6778 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6779 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6780 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6781 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6782 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6783 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6784 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6785 pr-8136.exp, result.exp, string.exp, tuples.exp},
6786 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6787 to returns as necessary, arrange for test to compile own testcase
6788 executable.
6789 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6790
c906108c
SS
6791Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6792
6793 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6794 clear_xfail at end of test which might not call either pass or fail.
6795 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6796 "backtrace through signal handler".
6797
6798Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6799
6800 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6801 continuing from a job control stop signal.
6802 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6803
6804Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6805
6806 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6807 * gdb.base/corefile.exp: Likewise.
6808 * gdb.base/funcargs.exp: Likewise.
6809
6810Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6811
6812 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6813 * config/monitor.exp: Add support for setting baud rate.
6814
6815Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6816
6817 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6818 i*86-*-linux* xfails for "backtrace through signal handler".
6819 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6820 "print func2::coremaker_local".
6821 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6822 alpha-dec-osf2* xfail for
6823 "delete all breakpoints when none".
6824
6825Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6826
6827 * gdb.base/break.exp: Change test that deletes all breakpoints
6828 when no user breakpoints are installed. A post 4.15 change
6829 causes gdb to no longer prompt in this case.
6830
6831Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6832
6833 * gdb.base/return.exp (return_tests): Change xfail for test
6834 "correct value returned double test" to stop xfailing at
6835 Solaris 2.5. Apparently the bug has been fixed.
6836
6837Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6838
6839 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6840 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6841
6842Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6843
6844 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6845 * gdb.disasm/hppa.s: Corresponding changes.
6846
6847Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6848
6849 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6850 makefile fragment.
6851 * config/mt-hpux: Deleted.
6852
6853Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6854
beb998c6 6855 * Many files: When warning about suppressed tests due to a
c906108c
SS
6856 nonexistant test binary, avoid incrementing the warning count.
6857
6858Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6859
6860 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6861
c906108c
SS
6862Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6863
6864 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6865 "sparc-*-solaris2*".
6866
6867Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6868
6869 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6870 Add global and local variables and initialize them.
6871 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6872 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6873 extracts the file name and terminating signal from the core file.
6874 * TODO: Remove note about tests for correct mapping of corefile.
6875 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6876 from optimizing it away.
6877 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6878 handles common blocks.
6879
6880Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6881
6882 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6883 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6884
6885Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6886
6887 * Makefile.in (maintainer-clean): New target, synonym for
6888 realclean.
6889 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6890 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6891 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6892 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6893 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6894 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6895
6896Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6897
6898 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6899 xfails when not gcc compiled for "print foo::funclocal".
6900 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6901 "print foo::funclocal at foo",
6902 "print 'scope1.c'::foo::funclocal at foo",
6903 "print foo::funclocal_bss at foo",
6904 "print 'scope1.c'::foo::funclocal_bss at foo",
6905 "print foo::funclocal_ro at foo",
6906 "print 'scope1.c'::foo::funclocal_ro at foo",
6907 "print bar::funclocal at foo" and
6908 "print 'scope1.c'::bar::funclocal at foo".
6909 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6910 gcc compiled for "print foo::funclocal at bar".
6911 Expand all messages to ensure that they identify that
6912 the test is at bar().
6913 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6914 gcc compiled for:
6915 "ptype on opaque struct pointer (statically)",
6916 "ptype on opaque struct tagname (statically)",
6917 "ptype on opaque struct pointer (dynamically) 1",
6918 "ptype on opaque struct tagname (dynamically) 1",
6919 "ptype on opaque struct pointer (dynamically) 2" and
6920 "ptype on opaque struct tagname (dynamically) 2
6921 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6922 gcc compiled for:
6923 "p datalocal"
6924 "whatis datalocal",
6925 "ptype datalocal",
6926 "p bsslocal",
6927 "whatis bsslocal", and
6928 "ptype bsslocal".
6929 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6930 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6931 when not gcc compiled.
6932 * gdb.base/funcargs.exp (float_and_integral_args): Add
6933 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6934 compiled.
6935 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6936 "backtrace from call6a" when not gcc compiled.
6937 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6938 "backtrace from call7a" when not gcc compiled.
6939 * gdb.base/callfuncs.exp (do_function_calls):
6940 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6941 "p t_char_array_values(char_array_val2,char_array_val1)",
6942 "p t_char_array_values(char_array_val1,char_array_val2)",
6943 "p t_char_array_values("carray 1","carray 2")",
6944 "p t_char_array_values("carray 1",char_array_val2)",
6945 "p t_char_array_values(char_array_val1,"carray 2")",
6946 "p sum_args(1,{2})",
6947 "p sum_args(2,{2,3})",
6948 "p sum_args(3,{2,3,4})",
6949 "p sum_args(4,{2,3,4,5})"
6950 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6951 "backtrace in corefile.exp" when not gcc compiled.
6952
6953Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6954
6955 * gdb.base/signals.exp: Rewrite `handle all print' test as
6956 a procedure. Accept blanks or TABs as whitespace, increase
6957 timeout and expect input buffer size for the large output
6958 from the command. Remove "i*86-*-bsdi2.0" xfail.
6959
6960Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6961
6962 * gdb.base/setvar.exp: Add new testcases for truncation when
6963 assigning invalid values to bitfields.
6964
6965Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6966
beb998c6 6967 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6968 mips-sgi-irix* xfail for
6969 "call inferior func with struct - returns char *"
6970 and fix test so that an optional (unsigned char *) cast is
6971 accepted in the result.
6972
6973Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6974
6975 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6976 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6977 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6978 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6979 that accidentally got checked in.
6980
6981Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6982
beb998c6 6983 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6984 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6985 compiled test.
6986 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6987 Add mips-sgi-irix5* xfail for not gcc compiled.
6988 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6989 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6990 "p top", "whatis top", "p middle", and "whatis middle".
6991 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6992 "whatis signed char" for not gcc compiled.
6993 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6994 "set variable signed char=-1 (-1)" and
6995 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6996 * gdb.base/funcargs.exp (float_and_integral_args):
6997 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6998 Add mips-sgi-irix* xfail when not gcc compiled for
6999 "continue to call2b".
7000 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7001 "continue to call2g".
7002 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7003 "backtrace from call6a"
7004 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7005 "backtrace from call7k".
7006 Add mips-sgi-irix5* xfail when not gcc compiled for
7007 "backtrace from call7a".
7008 (localvars_after_alloca): Fix gdb_test cmds for
7009 "print * after runto ...".
7010 Remove rs6000-*-* xfails for
7011 "print i after runto localvars_after_alloca" and
7012 "print l after runto localvars_after_alloca"
7013 for all compilers.
7014 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7015 when not compiled with gcc, for:
7016 "print signed char == (minus)",
7017 "print signed char != (minus)",
7018 "print signed char < (minus)",
7019 "print signed char > (minus)".
7020 * gdb.base/callfuncs.exp (do_function_calls):
7021 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7022 "call inferior func with struct - returns char *".
beb998c6 7023 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7024 "correct value returned double test" to include Solaris 2.4.
7025 * gdb.base/funcargs.exp (float_and_integral_args):
7026 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7027
c906108c
SS
7028Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7029
7030 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7031 enumeration bitfields if compiling with GNU C.
7032 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7033 to empty' prompt.
7034
7035Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7036
7037 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7038 test for PRO targets.
7039
7040 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7041 breakpoints in the inferior at any given time by making
7042 two groups of breakpoints for call2*, call6* and call7*
7043 tests.
7044
7045Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7046
7047 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7048 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7049 from optimizing it away.
7050 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7051 "call inferior func with struct".
7052
7053Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7054
7055 * configure.in: Only configure gdb.chill for particular targets.
7056
7057Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7058
7059 * gdb.base/Makefile.in: Add action to .c.o transformation
7060 rule that generates a .ci file for each .o file and remove
7061 explicit .c.o rules except for callfuncs.o.
7062 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7063 generates a .ci file for each .o file and remove explicit
7064 .cc.o rules.
7065 (clean): Remove *.tmp *.ci files.
7066 (EXECUTABLES): Remove templ-info.exp.
7067 * gdb.base/compiler.c: New file.
7068 * gdb.c++/compiler.cc: New file
7069 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7070 Change rs6000-*-* xfail for
7071 "print 'scope0.c'::filelocal_ro" and
7072 "print 'scope1.c'::filelocal" and
7073 "print 'scope1.c'::filelocal_bss" and
7074 "print 'scope1.c'::filelocal_ro" and
7075 "print 'scope1.c'::foo::funclocal" and
7076 "print 'scope1.c'::foo::funclocal_ro" and
7077 "print 'scope1.c'::bar::funclocal" and
7078 "print 'scope0.c'::filelocal_ro" and
7079 "print 'scope1.c'::filelocal at foo" and
7080 "print 'scope1.c'::filelocal_bss at foo" and
7081 "print 'scope1.c'::filelocal_ro at foo" and
7082 "print 'scope1.c'::foo::funclocal at foo" and
7083 "print 'scope1.c'::foo::funclocal_bss at foo" and
7084 "print 'scope1.c'::foo::funclocal_ro at foo" and
7085 "print 'scope1.c'::bar::funclocal at foo" and
7086 "print 'scope0.c'::filelocal_ro" and
7087 "print 'scope1.c'::filelocal" and
7088 "print 'scope1.c'::filelocal_bss" and
7089 "print 'scope1.c'::filelocal_ro" and
7090 "print 'scope1.c'::foo::funclocal" and
7091 "print 'scope1.c'::foo::funclocal_bss" and
7092 "print 'scope1.c'::foo::funclocal_ro" and
7093 "print 'scope1.c'::bar::funclocal" and
7094 "print 'scope1.c'::bar::funclocal_bss"
7095 to only be xfail'd when not compiled with gcc.
beb998c6 7096 Add rs6000-*-* xfail for
c906108c
SS
7097 "print 'scope0.c'::filelocal_bss before run"
7098 when compiled with gcc.
7099 (test_at_main): Add rs6000-*-* xfail for
7100 "print filelocal_ro in test_at_main"
7101 when compiled with gcc.
7102 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7103 Add rs6000-*-aix* xfail for
c906108c
SS
7104 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7105 "ptype t_char_array", not compiled with gcc.
7106 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7107 xfail for "list foo (in include file)" when gcc compiled.
7108 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7109 (integral_args): Add rs6000-*-* xfail for
7110 "run to call0a" if not compiled with gcc.
7111 (unsigned_integral_args): Add rs6000-*-* xfail for
7112 "run to call1a" if not compiled with gcc.
7113 (float_and_integral_args): Add rs6000-*-* xfail for
7114 "run to call2a" if not compiled with gcc and for
7115 "continue to call2b" for any compiler.
7116 Add rs6000-*-* xfail to
7117 "print f1 after run to call2a" for gcc compiled.
7118 (discard_and_shuffle): Add rs6000-*-* xfail for
7119 "run to call6a".
7120 (shuffle_round_robin): Add rs6000-*-* xfail for
7121 "backtrace from call7a" if not compiled with gcc.
7122 Add rs6000-*-* xfail for
7123 "backtrace from call7b" if compiled with gcc.
7124 (call_after_alloca): Add rs6000-*-* xfail for
7125 "print c in call_after_alloca" and
7126 "print s in call_after_alloca" and
7127 "backtrace from call_after_alloca_subr"
7128 if not compiled with gcc.
7129 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7130 "print c in localvars_in_indirect_call" and
7131 "print c in localvars_in_indirect_call" and
7132 "backtrace in indirectly called function" and
7133 "stepping into indirectly called function"
7134 if not compiled with gcc.
7135 (localvars_after_alloca): Add rs6000-*-* xfail for
7136 "print c after runto localvars_after_alloca" and
7137 "print s after runto localvars_after_alloca" and
7138 "print i after runto localvars_after_alloca" and
7139 "print l after runto localvars_after_alloca"
7140 for all compilers.
7141 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7142 than whatis-info.exp.
7143 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7144 than opaque-info.exp.
7145 Setup rs6000-*-* xfail for
beb998c6 7146 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7147 "ptype on opaque struct pointer (dynamically)" when
7148 not compiled with gcc.
7149 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7150 rather than callf-info.exp.
7151 (do_function_calls): Add clear_xfail for rs6000-*-* for
7152 "p t_float_values2(3.14159,float_val2)". Seems to work
7153 fine there, both with xlc and gcc. Need to find out what
7154 it is doing right and fix other platforms.
7155 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7156 "call inferior func with struct - returns int",
7157 "call inferior func with struct - returns long",
7158 "call inferior func with struct - returns float",
7159 "call inferior func with struct - returns double",
7160 "call inferior func with struct - returns char *",
7161 but only if not gcc compiled (presumes xlc compiled).
7162 Change rs6000-*-* xfails for
7163 "call inferior func with struct - returns char" and
7164 " call inferior func with struct - returns short" to only
7165 xfail if not using gcc.
7166 (clean mostlyclean): Remove *.ci and *.tmp files.
7167 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7168 than templ-info.exp.
7169 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7170 Add rs6000-*-* xfail for "up to foo in langs.exp"
7171 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7172 when not gcc compiled.
beb998c6 7173
c906108c
SS
7174Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7175
7176 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7177 * gdb.base/corefile.exp: Likewise.
7178 * gdb.base/list.exp: Likewise.
7179 * gdb.base/scope.exp: Likewise.
7180 * gdb.base/siganls.exp: Likewise.
7181
7182 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7183 compiler output.
7184 * gdb.base/whatis.exp: Likewise.
7185
7186Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7187
7188 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7189 failure (opcode table has been fixed to match reality).
7190
7191Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7192
7193 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7194 "call inferior func with struct - returns char",
7195 "call inferior func with struct - returns short"
7196
7197 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7198 "print 'scope0.c'::filelocal at main",
7199 "print 'scope0.c'::filelocal_bss in test_at_main",
7200 "print 'scope0.c'::filelocal at foo",
7201 "print 'scope0.c'::filelocal_bss in test_at_foo",
7202 "print 'scope0.c'::filelocal at bar",
7203 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7204
c906108c
SS
7205 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7206 in source file 1". This bug seems to have been fixed with both
7207 gcc and native cc (was native assembler bug?).
7208
7209Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7210
7211 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7212 "backtrace through signal handler" to "i*86-*-sysv4*".
7213 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7214 continue" case. Add "known SVR4 bug" to fail message.
7215 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7216 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7217 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7218 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7219 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7220 "up to foo in langs.exp", "show language at foo in
7221 langs.exp", "up to cppsub_ in langs.exp", "show
7222 language at cppsub_ in langs.exp", "up to fsub in
7223 langs.exp", and "show language at fsub in langs.exp".
7224 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7225 "bactrace in corefile.exp".
7226 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7227 "call inferior function with struct - returns float" and
7228 "call inferior function with struct - returns double".
beb998c6 7229
c906108c
SS
7230Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7231
7232 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7233 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7234 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7235 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7236
7237Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7238
7239 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7240 (or overriden) "CHILL" macro rather then bare "gcc".
7241 Also look for ../../gcc/xgcc since that is what we will
7242 actually need, not "Makefile". Remove following assignment
7243 of CHILL to CHILL_FOR_TARGET because that results in
7244 recursive definition.
7245
7246Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7247
7248 * gdb.base/corefile.exp: Change xfail for backtrace in
7249 corefile.exp from linuxaout to all linux.
7250 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7251 cases where we miss the breakpoint at the signal handler
7252 for some reason. Setup xfail for linuxoldld/linuxaout and
7253 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7254 hitting SIGURG breakpoint.
7255 * gdb.base/signals.exp: Setup xfail for "next" acting like
7256 continue to add linuxoldld. Setup xfail for all linux for
7257 "next to handler in signals_tests_1", "backtrace in
7258 signals_tests_1", "continue to func1", "pass SIGUSR1",
7259 and continue to handler".
7260
7261Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7262
7263 * Update all FSF addresses except those in COPYING* files.
7264
7265Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7266
7267 * gdb.base/a2-run.exp: Change messages to be more explicit about
7268 the status of args, and quote binfile in results.
7269
7270Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7271
7272 * gdb.base/callfuncs.exp: Add tests for passing structs to
7273 inferior functions and return various types.
7274 * gdb.base/callfuncs.c: Add functions to receive a struct
7275 and return a member of the struct, in various types.
7276
7277Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7278
7279 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7280
7281Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7282
7283 * config/vxworks29k.exp: New file, sources vxworks.exp.
7284
7285Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7286
7287 * config/gdbremote.exp: New file. Testing framework using
7288 gdbserver.
7289
7290Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7291
7292 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7293 "call function when asleep" and "send end of file".
7294 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7295 for "backtrace in corefile.exp".
7296 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7297 for "backtrace through signal handler".
7298 * gdb.base/corefile.exp: Make sure we actually generate a core file
7299 before trying the core tests. Some systems allow the user to suppress
7300 generation of core files and default to that (linux for example).
7301 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7302 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7303
7304Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7305
7306 * gdb.threads: New directory with some crude multi-threaded
7307 gdb tests (step.exp and step2.exp).
7308 * config/mt-lynx (STEP_EXECUTABLE): Define.
7309 (THREADFLAGS): Define.
7310
7311Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7312
7313 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7314
7315 * gdb.base/signals.exp: Disable whole file for lynx until
7316 further notice.
7317
7318 * gdb.base/signals.exp: xfail test where "next" acts like
7319 "continue" for lynx.
7320
7321 * gdb.base/interrupt.exp: xfail test for calling function while
7322 inferior is asleep for lynx.
7323
7324 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7325 than one cr-lf after each command.
7326
7327Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7328
7329 * configure.in: Reinstate setting of stabsdirs variable, fix
7330 typo in setting up configdirs for native builds.
7331
7332 * gdb.base/return.exp: Fix typo in return double test.
7333 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7334 compiler from optimizing them away.
7335
7336Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7337
7338 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7339 sequences to be echo'd by gdb when using gdb_test.
7340 * gdb.chill/chexp.exp: Likewise.
7341 * gdb.fortran/exprs.exp: Likewise
7342
7343Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7344
7345 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7346 after the inferior gdb has started.
7347
7348 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7349 after each command.
7350 * gdb.base/funcargs.exp: Likewise.
7351 * gdb.base/gdbvars.exp: Likewise.
7352 * gdb.base/interrupt.exp: Likewise.
7353 * gdb.base/list.exp: Likewise.
7354 * gdb.base/watchpoint.exp: Likewise.
7355 * gdb.c++/demangle.exp: Likewise.
7356 * gdb.c++/inherit.exp: Likewise.
7357 * gdb.chill/chexp.exp: Likewise.
7358 * gdb.fortran/exprs.exp: Likewise.
7359
7360 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7361 test if we can't handle IO to/from the inferior.
7362
7363 * gdb.c++/misc.exp: Always check for a program already being
7364 started after sending a "run" command to gdb.
7365
7366 * gdb.base/twice.exp: Start with a fresh gdb.
7367
7368 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7369 only depend on gdb's expression code, not the chill runtime.
7370
7371 * gdb.base/return.c: Put return values into variables so we
7372 can have gdb print them rather than depending on the program
7373 to print them.
7374 * gdb.base/return.exp: Corresponding changes.
7375
7376 * lib/gdb.exp: Provide default value for noinferiorio.
7377 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7378 the inferior.
7379
7380 * gdb.base/break.exp: Always check for a program already being
7381 started after sending a "run" command to gdb.
7382 (text_next_with_recursion): Don't check the output from the
7383 program's printf statement. Instead just make sure the program
7384 exited.
7385
7386 * gdb.base/commands.exp: Protect tests which need arguments with
7387 $noargs conditionals.
7388
7389Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7390
7391 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7392 of structure member arrays to match gdb/valops.c:value_addr change.
7393
7394Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7395
7396 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7397 cases.
7398
7399Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7400
7401 * configure.in (configdirs): Remove gdb.chill from default list
7402 of subdirs and then add it back in only if doing a native build.
7403 The current chill compiler does not yet work in any cross build.
7404 * Revert all signal changes from Jul 6.
7405 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7406 for sh-hms targets, allowing these tests to link, with no other
7407 changes. Testing is suppressed by setting "nosignals" in site.exp.
7408
7409Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7410
7411 * configure.in (signaldirs): Define and add to configdirs for all
7412 targets except some specific ones that are known to not support signals.
7413 Also clean up formatting.
7414 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7415 (signals, sigall): Remove rules to build.
7416 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7417 Moved to new gdb.signals directory.
7418 * gdb.signals: New test directory.
7419 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7420 signals.c signals.exp}: New or moved files.
7421
7422Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7423
7424 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7425
7426Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7427
7428 * gdb.base/return.exp: Xfail `return double' test failure
7429 on at least Solaris 2.3 and handle future/past versions on
7430 a case by case basis as appropriate. Also update message
7431 to include i*86 failures.
7432
7433Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7434
7435 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7436
7437 * lib/gdb.exp: Fix comment which erroneously identified
7438 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7439 gdb_file_cmd not gdb_load).
7440 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7441
7442 * gdb.base/setvar.exp: Make test names consistent between pass and
7443 fail cases. Use gdb_test more.
7444
7445Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7446
7447 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7448
7449Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7450
7451 * gdb.base/help.exp: Fix expected help string for `show commands'.
7452
7453Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7454
7455 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7456
7457 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7458 of a text section.
7459
7460Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7461
7462 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7463 that loop eventually terminates. Fix Connection refused logic so
7464 that testsuite will expire nicely.
7465
7466Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7467
7468 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7469 config/rom68k.exp: New tcl glue for the appropriate monitors.
7470 These all just end up calling monitor.exp.
7471 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7472 refused' by retrying. Cleanup some timeout issues.
7473 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7474 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7475 callers don't have to set/restore global timeout variable.
7476
7477 * The following set of changes centralizes management of the global
7478 timeout variable. This way, it can be set in one target dependent
7479 place instead of dozens of places scattered throughout the test suite.
7480 If you need to lengthen a timeout, then you should either set timeout
7481 in one of the config/{target}.exp files, or multiply it by a factor.
7482 Setting it to an absolute value is always going to lose for some
7483 targets.
7484 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7485 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7486 * gdb.base/funcargs.exp: Don't set timeout.
7487 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7488 * gdb.base/printcmds.exp (test_print_string_constants
7489 test_print_array_constants): Don't set timeout.
7490 * gdb.base/ptype.exp: Don't set timeout.
7491 * gdb.base/recurse.exp: Don't set timeout.
7492 * gdb.base/return.exp: Don't set timeout.
7493 * gdb.base/watchpoint.exp: Don't set timeout.
7494 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7495 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7496
7497Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7498
7499 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7500
7501Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7502
7503 * lib/gdb.exp: Disable chill tests for irix5.
7504
7505Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7506
7507 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7508 each test pass or fail.
7509
7510Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7511
7512 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7513 xlc not gcc.
7514
7515Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7516
7517 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7518
7519Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7520
7521 * config/est.exp: Fix copyright and comments. Remove dead code.
7522 Use targetname, serialport and baud variables instead of fixed
7523 constants.
7524 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7525 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7526
7527Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7528
7529 * gdb.base/watchpoint.exp: Don't run
7530 test_watchpoint_triggered_in_syscall for sunos.
7531
7532Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7533
7534 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7535 they don't seem to exist. Do include stdio.h.
7536
7537Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7538
7539 * gdb.base/a1-selftest.exp: Add alpha xfail.
7540
7541Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7542
7543 * gdb.base/watchpoint.c (main): Prompt before calling read().
7544 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7545 Revise accordingly. Remove cruft about sending "123" several
7546 times, until it gets noticed. Clean up the "print buf[0]" stuff
7547 so that it passes or fails, and waits for prompts in the usual way.
7548
7549Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7550
7551 * gdb.base/recurse.exp: Fix comment.
7552
7553 * TODO: Remove item about printing variables in nodebug.exp. Add
7554 item about enabling tests which are only run on some targets.
7555
7556 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7557 fail, make test names unique, use new gdb_test convention
7558 regarding pattern, use gdb_test more, etc.).
7559
7560 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7561 fail, make test names unique, etc.).
7562
7563Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7564
7565 * gdb.base/nodebug.c: Change return type of top and middle to
7566 short.
7567 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7568 are fixed by the recent mdebugread.c changes. Allow `short ()'
7569 as type for top and middle.
7570
7571Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7572
7573 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7574 nearly as I can tell, the whole thing was an accident in Stu's
7575 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7576 to replace a send/expect pair with gdb_test, but ended up only
7577 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7578 of 30 Mar 1995 took care of it, but left this vestigial comment
7579 which I am now nuking.
7580
7581Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7582
7583 * gdb.base/break.exp: Look for different line number for
7584 breakpoint at main depending on usestubs.
7585
7586Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7587
7588 * gdb.base/list.exp: Adjust some alternate expect patterns to
7589 match recent list0.c change. Add alternate expect pattern for
7590 output from `list default lines around main' for optimizing
7591 compilers.
7592
7593Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7594
7595 * lib/gdb.exp: If nosignals is not set, set it to 0.
7596
7597Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7598
7599 * config/slite-gdb.exp: Responds to load symbol table prompt.
7600 * gdb.base/break.exp: Adjust line number, fix rerun.
7601 * gdb.base/langs0.c: Add #ifdef usestubs.
7602
7603Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7604
7605 * gdb.base/list.exp: Adjust line contents after adding new lines in
7606 list0.c. Also fix a syntax error.
7607
7608 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7609 * gdb.base/break.exp: ditto.
7610 * gdb.base/list.exp: ditto.
7611 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7612 * gdb.base/run.c: ditto.
7613 * gdb.base/list0.c: ditto.
7614 * gdb.base/funcargs.c: ditto.
7615
7616Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7617
7618 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7619 $targetname, $serialport and $baud instead of hardwired variables.
7620 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7621 target doesn't support signals.
7622
7623Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7624
7625 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7626
7627Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7628
7629 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7630 Don't rely on the value of an auto variable before it has been
7631 initialized. Use gdb_test more.
7632
7633Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7634
7635 * lib/gdb.exp (default_gdb_version): A version number must start
7636 with a digit, but other than that contains all characters up to
7637 the first whitespace character.
7638
7639Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7640
7641 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7642
7643Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7644
7645 * gdb.c++/*.exp: Warn if executable does not exist. The original
7646 reason for skipping the warning was that configure.in sometimes
7647 intentionally skipped building the executables but the tcl code
7648 had no way of knowing. That (a) was always bogus with respect to
7649 error handling, (b) is no longer true (right now there is no way
7650 to skip C++ tests).
7651
7652 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7653
7654Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7655
7656 * gdb.base/list.exp: Add expect patterns for output from
7657 SunPRO compiled executables.
7658 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7659 types.
7660
7661Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7662
7663 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7664 number (we are already testing that the correct source line text
7665 gets printed).
7666
7667 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7668 that is what is intended, but something needed to be done to get
7669 sunos4 native working again.
7670
7671 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7672
7673 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7674 apparently went with a (very) old xfail.
7675
7676Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7677
7678 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7679 runto_main is a proc in gdb.exp that will do 'step' for target use
7680 stubs.
7681 * gdb.base/exprs.exp: ditto.
7682 * gdb.base/interrupt.exp: ditto.
7683 * gdb.base/opaque.exp: ditto.
7684 * gdb.base/printcmds.exp: ditto.
7685 * gdb.base/ptype.exp: ditto.
7686 * gdb.base/scope.exp: ditto.
7687 * gdb.base/setvar.exp: ditto.
7688 * gdb.base/signals.exp: ditto.
7689 * gdb.base/twice.exp: ditto.
7690 * gdb.c++/classes.exp: ditto.
7691 * gdb.c++/inherit.exp: ditto.
7692 * gdb.c++/templates.exp: ditto.
7693 * gdb.base/break.exp: no run and hit main for stubs. Change line
7694 numbers for breakpoints and info breakpoint.
7695 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7696 breakpoint().
7697 * gdb.base/callfuncs.c: ditto.
7698 * gdb.base/exprs: ditto.
7699 * gdb.base/interrupt.c: ditto.
7700 * gdb.base/opaque0.c: ditto.
7701 * gdb.base/printcmds.c: ditto.
7702 * gdb.base/ptype.c: ditto.
7703 * gdb.base/scope0.c: ditto.
7704 * gdb.base/setvar.c: ditto.
7705 * gdb.base/signals.c: ditto.
7706 * gdb.base/twice.c: ditto.
7707 * gdb.c++/misc.cc: ditto.
7708 * gdb.c++/templates.cc: ditto.
7709
7710Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7711
7712 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7713
7714 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7715 somewhere between `read' and `main.c'. I'm pretty sure the
7716 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7717 and it isn't particularly useful.
7718
7719 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7720
7721Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7722
7723 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7724
7725Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7726
7727 * config/mt-slite: add LIBS and -nostdlib.
7728 * config/slite-gdb.exp: add this new file to support sparclite target.
7729
7730Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7731
7732 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7733
7734 * gdb.base/a2-run.exp: Change argument to istarget from
7735 "*-*-vxworks" to "*-*-vxworks*".
7736 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7737
7738Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7739
7740 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7741 will not runto main but do a 'step' to step out of breakpoint().
7742 * config/mt-slite: add -Dusestubs.
7743
7744Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7745
7746 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7747 instead of just @.
7748
7749 * gdb.base/signals.exp: Add test for "handle all print".
7750 * TODO: Remove "handle all print". Also remove item about
7751 checking copyright date (I don't like the idea of a spurious FAIL
7752 based on when we run the tests).
7753
7754 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7755 for SunOS4 (reason for failure not investigated). Remove
7756 redundant test for $binfile.
7757
7758 * gdb.base/nodebug.c (array_index): Call malloc.
7759
7760 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7761
7762Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7763
7764 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7765 conventions and slightly simplify the matching regexp.
7766
7767Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7768
7769 * gdb.base/break.exp: Update gdb_test invocation to use new
7770 convention.
7771
7772 * lib/gdb.exp: If noargs is not set, set it to 0.
7773
7774 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7775 tests unique.
7776
7777 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7778
7779Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7780
7781 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7782 one argument of type "<non-float parameter>".
7783
7784Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7785
7786 * config/rom68k.exp: New file to support Motorola IDP board.
7787 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7788 * gdb.base/break.c: Change things around so that this program
7789 doesn't depend upon args. This is necessary to make remote
7790 targets work (in general, they can't take args).
7791 * gdb.base/break.exp: Don't try to send args to program. Don't
7792 expect output. Also, replace lots of code with gdb_test.
7793
7794Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7795
7796 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7797 printing of '\'' (which is what the comment says we are testing,
7798 even though we were not), not '''.
7799 (test_integer_literals_rejected): Test that printing ''' is an error.
7800
7801 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7802 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7803 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7804 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7805 Use gdb_test not test_print_accept.
7806 * lib/gdb.exp: Remove test_print_accept.
7807
7808 * gdb.base/signals.exp (signal_tests_1): Make pass message
7809 consistent with fail message.
7810
7811 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7812 unsigned char; the bug (PR 1821) is fixed.
7813
7814 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7815
7816 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7817 successful tests--makes xfailing them work right.
7818
7819Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7820
7821 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7822 only \r\n, not .*. The test can pass .* as the last thing in
7823 $pattern if that is what it wants. In addition to providing this
7824 flexibility, this change should speed up pattern matching in cases
7825 where the pattern already ended with .* (there were a number of
7826 them). This change also helps catch bad patterns--in the old
7827 scheme the typo "char \*" instead of "char \\*" would pass. Now
7828 it is caught.
7829 * Many .exp files: Update callers.
7830
7831 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7832 clearer and does not spuriously match multiple ('s. Likewise for
7833 ) and *.
7834
7835 * gdb.base/nodebug.exp: Test ability to call a function and pass
7836 it a string (even with no debugging info).
7837
7838 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7839 "p '\'", which is the same as "p ''" once tcl gets done with
7840 quoting, to "p '\\'", which I suspect is what is intended (one
7841 backslash gets sent to GDB).
7842
7843 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7844
7845Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7846
7847 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7848 1817) was fixed literally years ago.
7849
7850Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7851
7852 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7853 test, it causes stepping out of call_after_alloca_subr with
7854 optimizing compilers.
7855 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7856 fails.
7857
7858 * gdb.c++/templates.exp: Source templ-info.exp only if
7859 the templates executable exists.
7860
7861 * gdb.c++/misc.cc (class Contains_static_instance,
7862 class Contains_nested_static_instance),
7863 gdb.c++/classes.exp (test_static_members): Test printing of
7864 a class that contains a static instance of the class.
7865
7866Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7867
7868 * gdb.base/langs2.c (cppsub_): Don't prototype.
7869 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7870 only, I believe).
7871
7872Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7873
7874 * lib/gdb.exp (skip_chill_tests): New procedure.
7875
7876 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7877
7878Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7879
7880 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7881 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7882
7883Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7884
7885 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7886
7887 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7888 disassemble 8, not 16, instructions for part 4.
7889
7890 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7891 support the latter anymore.
7892
7893 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7894 -DNO_PROTOTYPES.
7895 * gdb.base/callfuncs.c: Control use of prototypes based on
7896 NO_PROTOTYPES, not __STDC__.
7897 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7898 t_float_values2 tests if prototypes in use.
7899
7900 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7901 t_double_values): When checking differences against DELTA, check
7902 that difference is within the range (-DELTA,DELTA), not just
7903 (-infinity,DELTA).
7904
7905Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7906
7907 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7908 'file' command firts, then 'target', then 'load', this is due to gdb
7909 target set up.
7910 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7911
7912Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7913
7914 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7915 FP load/store variants.
7916 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7917
7918Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7919
7920 * gdb.base/term.exp: Do not give a warning if not native, it is
7921 not an abnormal condition.
7922
7923Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7924
7925 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7926 t_char_array".
7927
7928Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7929
7930 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7931 are getting the version number.
7932
7933 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7934 if not native, it is not an abnormal condition.
7935
7936Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7937
7938 * lib/gdb.exp: Just use "file exists", rather than undocumented
7939 dejagnu procedure "findfile".
7940
7941Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7942
7943 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7944 (LDFLAGS): Set to -Xlinker -Ur.
7945
7946 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7947 Removed, these values are set by lib/gdb.exp.
7948
7949 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7950
7951Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7952
7953 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7954 of replicating gdb startup code.
7955
7956 * config/mt-vxworks (LDFLAGS): Set to -r.
7957 (CFLAGS_FOR_TARGET): Removed.
7958
7959 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7960 (gdb) and gdb for vxworks uses (vxgdb).
7961
7962 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7963 executable is not in the tree and host != target, use sed and
7964 program_transform_name to determine the gdb name used by the
7965 target.
7966
7967 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7968 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7969
7970Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7971
7972 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7973 floats, chars, and shorts where there are ANSI-style function
7974 definitions.
7975
7976 * gdb.base/langs.exp, gdb.base/langs*: New test.
7977 * gdb.base/Makefile.in: Build it.
7978 * TODO: Remove item about checking that C names don't get C++
7979 demangling applied; this test tests it.
7980
7981Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7982
7983 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7984 went with the const70 xfail. The xfail went away a year ago.
7985
7986 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7987
7988 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7989 for hp300.
7990
7991 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7992
7993 * gdb.base/a1-selftest.exp: Don't run on hp300.
7994
7995Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7996
7997 * Makefile.in (site.exp): Set host_alias and target_alias as well
7998 as host_triplet and target_triplet.
7999
8000Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8001
8002 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8003
8004 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8005 places as other ecoff systems).
8006
8007 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8008 ultrix.
8009
8010Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8011
8012 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8013 remove them.
8014 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8015 variable and "variable" in addition to "data variable".
8016 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8017
8018 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8019 2.
8020 * gdb.base/list1.c (long_line): Add additional statement at start
8021 of function.
8022 * gdb.base/list.exp (test_forward_search): Update line number to
8023 reflect new statement.
8024
8025Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8026
8027 * gdb.base/signals.exp: Reinitialize searched source directories
8028 after gdb_start call.
8029
8030Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8031
8032 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8033 * gdb.stabs/Makefile.in: Likewise.
8034
8035 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8036 change. Instead split the tests into smaller pieces.
8037 * gdb.disasm/hppa.s: Corresponding changes.
8038
8039Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8040
8041 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8042 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8043
8044 * gdb.base/funcargs.exp: Modify many tests so that every test
8045 either passes or fails. Make some test names unique.
8046
8047Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8048
8049 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8050 Call stty to set interrupt character.
8051
8052 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8053 for HP assembler versus GNU assembler based on actual behavior of
8054 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8055
8056 * TODO: Suggest a few more stepping tests.
8057
8058Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8059
8060 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8061 restart GDB for h8300 after a continue.
8062 (return): Add pattern to match a29k-udi behavior.
8063 * gdb.base/nodebug.exp: Remove obsolete comment.
8064 * gdb.base/regs.exp: New file, testing of register displays.
8065 * gdb.base/return.exp: Fix typo in reference to $objdir.
8066 * gdb.base/whatis.exp: Always start with a fresh GDB.
8067
8068Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8069
8070 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8071 higher, these tests generate a lot of output.
8072
8073Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8074
8075 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8076 code following the catch silently ignored some errors; without the
8077 catch they should be thrown like any other tcl error. Also, the
8078 catch used "" instead of {} which meant all the callers who wanted
8079 to include one of the characters "[]$ had to quote it an extra time.
8080 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8081 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8082 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8083 Remove extra quoting.
8084
8085Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8086
8087 * gdb.base/commands.exp: Make test names unique; every test either
8088 passes or fails. Update some comments.
8089
8090 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8091
8092Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8093
8094 The following fixes a FAIL caused by the fact that the alpha stabs
8095 configuration didn't use the ".if alpha" code in weird.def.
8096 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8097 bit pointer, so the 32 bit version works even on the alpha.
8098 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8099 Remove the stuff which allowed us to have separate versions for
8100 alpha and everything else.
8101
8102 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8103 regexp which "info func operator\[\](" is supposed to match. Fix
8104 string to send to GDB. Note that GDB still doesn't work right. Add a
8105 new test for "info func .perator\[\](" which GDB does handle correctly.
8106
8107 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8108
8109Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8110
8111 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8112 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8113 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8114 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8115 it makes the tests harder to understand and confuses test-o-matic.
8116 The preferred style is that each test provides a PASS or a FAIL,
8117 and has a unique message (e.g. "continue #54" not just "continue")
8118 which is the same for the pass and the fail.
8119 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8120 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8121 to lib/gdb.exp.
8122 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8123 prt_accept which was basically the same thing. Likewise for
8124 test_print_reject and prt_reject.
8125 * lib/gdb.exp (test_print_reject): Add some more error message
8126 patterns to match from the former printcmds.exp (prt_reject).
8127 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8128 One defect of the passcount stuff is that some of it failed to
8129 report XPASS where appropriate.
8130 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8131 stuff before and after arg in expected pattern.
8132 (test_paddr_operator_functions): Re-do test without print_addr_of;
8133 this is the only test which seems to want extra stuff there.
8134
8135Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8136
8137 * gdb.base/nodebug.exp: Update new tests to reflect improved
8138 wording of gdb output.
8139
8140 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8141 and "ptype" work on variables in files compiled without -g.
8142 Replaces commented out "maint print msymbol" tests.
8143
8144Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8145
8146 * gdb.base/setvar.c (dummy): Call malloc.
8147
8148 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8149 losing with the irix4 sed.
8150
8151 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8152 ALRM" on irix4.
8153
8154Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8155
8156 * TODO: Remove items about corefile.exp testing new exec-file and
8157 backtrace; both are now done. Add items about printing enums.
8158
8159Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8160
8161 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8162 "get signal $thissig" test fails.
8163
8164 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8165
8166Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8167
8168 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8169 compiler warning with dec alpha compiler.
8170
8171 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8172 extra \n from gdb_test call (this explains why the prompt test
8173 that I removed yesterday was there).
8174 (user_defined_command_test): Remove extra \n and prompt test.
8175
8176 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8177 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8178 doesn't exist.
8179 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8180 Also remove alpha workaround, which turns out to be because
8181 SIGABRT == SIGLOST.
8182
8183 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8184
8185 * gdb.base/help.exp: Don't test "help show".
8186
8187Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8188
8189 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8190 "set print address" is on.
8191 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8192 pass prompt to gdb_test; gdb_test already looks for the prompt.
8193
8194 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8195
8196 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8197 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8198 was to make sure that gdb can read a core file. But (a) the "read
8199 the corefile" part didn't make it to a1-selftest.exp, we just
8200 delete the corefile after creating it, and (b) we test reading
8201 corefiles in corefile.exp anyway. Also, this test left around a
8202 xgdb process on Solaris.
8203
8204 * gdb.base/corefile.exp: Also test backtrace.
8205
8206Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8207
8208 * gdb.base/commands.exp: Test a simple user defined command with
8209 arguments and if/while statements; verify the full user command is
8210 printed by "show user".
8211
8212 * gdb.base/commands.exp: Test if/while commands as part of a
8213 breakpoint command list; verify they appear in breakpoint
8214 information.
8215
8216Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8217
8218 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8219 than by dividing by zero.
8220
8221Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8222
8223 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8224 performing an inferior call with watchpoints enabled.
8225 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8226 call.
8227
8228Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8229
8230 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8231 of "file" command.
8232
8233 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8234 Add additional pattern for when "int operator int(void);" appears
8235 in a different order.
8236
8237Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8238
8239 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8240
8241 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8242 and "signal" with ".*".
8243
8244Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8245
8246 * TODO: Add note about "handle all nostop".
8247
8248 * gdb.base/{sigall.c, sigall.exp}: New test.
8249 * gdb.base/Makefile.in: Add it.
8250
8251Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8252
8253 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8254 when invoking GDB, suppresses any windowing interface.
8255
8256Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8257
8258 * config/sim-gdb: New file, simulator testing support.
8259
8260Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8261
8262 * gdb.base/interrupt.exp: Test calling func1 twice.
8263
8264Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8265
8266 * gdb.base/list.exp (test_forward_search): Set timeout higher
8267 when we'll be getting lots of output from gdb.
8268
8269 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8270 "init_malloc" to after the expect statement. Run it if that
8271 regexp is taken, but also for two others which happen if source
8272 cannot be found.
8273
8274Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8275
8276 * gdb.base/printcmds.exp: New test, for printing register before
8277 program is running.
8278
8279Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8280
8281 * gdb.base/list.exp: Correct some alternate expect patterns
8282 to reflect changes in list1.c.
8283
8284Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8285
8286 * TODO: Add item regarding large frames.
8287
8288 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8289
8290 * TODO: Remove item about enabling return.exp; it
8291 is enabled. Suggest a few more "return" tests.
8292
8293Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8294
8295 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8296 anonymous unions.
8297
8298Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8299
8300 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8301 and pr-5646.o, so "make" is the same as "make all", not "make
8302 pr-4975.o".
8303
8304Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8305
8306 * gdb.base/list.exp: Adjust expectations to reflect changes in
8307 list1.c.
8308 (test_forward_search): New test proc.
8309 * gdb.base/list1.c (long_line): New function, has long source line.
8310
8311Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8312
8313 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8314 additional line of code that was added.
8315
8316Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8317
8318 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8319 tests so as not to overflow expect's input buffers.
8320 * gdb.disasm/hppa.exp: Corresponding changes.
8321
8322Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8323
8324 Beginnings of template debugging tests.
8325 * gdb.c++/templ-info.cc: New file to test for template
8326 debugging capability of the compiler.
8327 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8328 templ-info.cc.
8329 * gdb.c++/templates.cc: Add explicit template instantiations
8330 to enable compiling with -fno-implicit-templates. Add destructor
8331 and 'value' method to T5 class for template tests.
8332 * gdb.c++/templates.exp: Add testcases for printing of template
8333 types, setting breakpoints on template methods and calling a
beb998c6 8334 template method.
c906108c
SS
8335
8336Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8337
8338 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8339 branch target since some assemblers (gas-2.5) may emit a
8340 relocation for the branch instead of resolving it in the
8341 assembler.
8342
8343Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8344
8345 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8346 through signal handler.
8347
8348Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8349
8350 * configure.in (*-*-netware): Use config/mt-netware.
8351
8352 * config/mt-netware: New file.
8353 * config/mt-i386-netware: Removed, separate configs for different
8354 netware architectures are no longer needed now that we have
8355 --with-headers.
8356
8357Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8358
8359 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8360 by the recent changes to use ANSI C arithmetic conversions.
8361
8362Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8363
8364 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8365 bug involving using inferior_pid to figure out whether to select a
8366 frame.
8367
8368Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8369
8370 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8371 match the current disassembler output.
8372
8373Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8374
8375 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8376 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8377 types, expect "int" as type of integer values (for now).
8378
8379Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8380
8381 * gdb.base/commands.exp: New tests for if/while commands.
8382
8383Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8384
8385 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8386 by .*, since hex values have different syntax in Chill mode.
8387
8388Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8389
8390 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8391 linefeed from expect pattern for repeated types with indices > 9.
8392
8393Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8394
8395 First part of Fortran test suite.
8396 * gdb.fortran: New directory.
8397 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8398
8399Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8400
8401 * gdb.base/default.exp: Update expect pattern for load command
8402 without arguments.
8403
8404Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8405
8406 * configure.in: Change i386 to i[345]86.
8407 * gdb.base/configure.in: Likewise.
8408 * gdb.c++/configure.in: Likewise.
8409 * gdb.chill/configure.in: Likewise.
8410
8411Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8412
8413 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8414 patterns, since that is not a valid context for comments.
8415
8416Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8417
8418 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8419 repeated types and repeated types with indices > 9.
8420
8421Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8422
8423 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8424 2417; old bug has been fixed.
8425
8426Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8427
8428 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8429 send the newline ourselves instead of assuming gdb_test will do
8430 so when passed an empty input string.
8431
8432 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8433 stabs testcode.
8434
8435Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8436
8437 * lib/gdb.exp (gdb_test): Don't send anything if the first
8438 argument is an empty string. This makes cases where we want to
8439 match output that is already in expect's buffers (for example,
8440 matching a breakpoint after gdb_run_cmd has been called) work
8441 reliably.
8442
8443Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8444
8445 * config/netware.exp: New file.
8446
8447Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8448
8449 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8450 the -B and -L prefixes so we can find the debugging stub.
8451
8452 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8453 there and we are using the gcc from the tree.
8454
8455 * gdb.base/types.c: Removed.
8456
8457 * gdb.base/configure.in: Look for makefile fragments in ../config.
8458 Recognize i386-*-netware.
8459 * gdb.c++/configure.in: Likewise.
8460
8461Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8462
8463 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8464 the correct TCL syntax.
8465
8466Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8467
8468 * gdb.base/opaque.exp: use runto instead of messing around with
8469 breakpoints. Simplify by using gdb_test.
8470
8471 * gdb.base/bitfields.exp: restart between tests on netware targets
8472 because breakpoints aren't relocated after target death. Run
8473 processes to completion.
8474
8475 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8476
8477Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8478
8479 * Makefile.in: Remove extra tabs that confuse some versions
8480 of "make". Use the newly built gdb to test with by default,
8481 rather than the first one in the tester's search path.
8482
8483Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8484
8485 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8486
8487 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8488 condition help.
8489
8490Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8491
8492 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8493
8494 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8495 running.
8496 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8497 * gdb.base/funcargs.exp: Likewise.
8498
8499 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8500 * gdb.base/funcargs.exp: Likewise.
8501
8502 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8503 message is "".
8504
8505Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8506
8507 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8508 return,signals,twice}.exp: Handle non-existant binaries
8509 consistantly.
8510
8511 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8512 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8513 might testing a cross development system.
8514
8515Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8516
8517 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8518 runtest script is relative to ${srcdir}, not ${rootdir}.
8519
8520Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8521
8522 * gdb.base/signals.exp: Allow for optionality of breakpoint
8523 address.
8524
8525Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8526
8527 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8528
8529Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8530
8531 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8532 for size_t definition.
8533 * gdb.c++/templates.cc: Likewise
8534
8535 * config/mt-i386-netware: New file.
8536
8537 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8538 defined.
8539
8540 * gdb.base/Makefile.in: Added support for systems that name core
8541 files by appending "core" to the program name.
8542 * gdb.base/a1-selftest.exp: Likewise.
8543
8544Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8545
8546 * gdb.base/return.exp: Add comment and message for `return double'
8547 test failure on Sparc Solaris.
8548
8549Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8550
8551 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8552
8553Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8554
8555 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8556 from optimizing them away.
8557 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8558 patterns to include default constructors and assignment operators,
8559 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8560 character in the output of the virtual base pointer.
8561
8562Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8563
8564 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8565 expression match in print_addr_of to avoid unintented matches.
8566 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8567 versions up to 2.5.8.
8568
8569Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8570
8571 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8572 included file to run under newer versions of expect.
8573 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8574 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8575 Remove xfail for the virtual table of BDDHookV.
8576
8577Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8578
8579 * lib/gdb.exp (string_to_regexp): Set a default result.
8580 (default_gdb_start): Fix misleading message.
8581
8582Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8583
8584 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8585 Remove all CC, etc definitions.
8586 * config/mt-hpux: New file.
8587 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8588 (CFLAGS, LDFLAGS): Define.
8589 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8590
8591 * Makefile.in (site.exp): Don't insert host_os, etc.
8592 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8593 (distclean): Check existence of subdir.
8594 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8595 * gdb.base/Makefile.in: General cleanup and simplification.
8596 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8597 to build executables. Use default rule to build .o files.
8598 (EXPECT, RUNTEST, CC): Fix relative pathname.
8599 (site.exp): Don't insert host_os, etc.
8600 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8601 and/or SIGUSR1 defined.
8602 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8603 * gdb.c++/Makefile.in: General cleanup and simplification.
8604 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8605 (CFLAGS): Remove.
8606 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8607
8608Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8609
8610 * gdb.base/recurse.exp: Misc changes to get tests running again
8611 after Kung's changes to the watchpoint code.
8612 * gdb.base/watchpoint.exp: Likewise.
8613
8614Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8615
8616 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8617
8618Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8619
8620 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8621 * lib/gdb.exp (default_gdb_start): Define.
8622 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8623 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8624 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8625 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8626 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8627 Don't call gdb_target_udi in between tests.
8628
8629Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8630
8631 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8632 (which was basically just a local version of the same thing). In
8633 addition to avoiding duplication, gdb_test_exact is faster.
8634 * lib/gdb.exp (gdb_test_exact): Fix typo.
8635
8636 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8637 don't give an error.
8638
8639 * gdb.base/term.exp: Call delete_breakpoints before starting.
8640
8641 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8642 (t10): Add comment.
8643
8644Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8645
8646 Reorganization of the GDB Test Suite.
8647
8648 * gdb.base: New directory, contains all the basic tests.
8649 * gdb.c++: New directory, tests specific to C++.
8650 * gdb.chill: New directory, tests specific to Chill.
8651 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8652 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8653 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8654 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8655 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8656 t30-31 to chill).
8657 * */gdbme.*: Rename to match appropriate expect scripts.
8658 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8659 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8660 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8661 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8662 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8663 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8664 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8665 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8666 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8667 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8668 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8669 gdb.c++/virtfunc.cc: New names of C++ files.
8670 * gdb.chill/chillvars.ch: New name of Chill file.
8671 * gdb.base/configure.in, gdb.c++/configure.in,
8672 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8673 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8674 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8675 * configure.in (configdirs): Update to reflect directory changes.
8676 (target_abbrev): No longer define for any configuration.
8677 * Makefile.in: Cosmetic improvements to header comments.
8678
8679Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8680
8681 Various changes to gdb.t31:
8682
8683 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8684 * gdbme.ch: Make all key-words and predefineds be upper-case.
8685 * chillvars.exp: Expect key-words and predefinds in upper-case.
8686
8687 * chillvars.exp: Use gdb_test_exact many places.
8688 Change expected output for arrays (which now includes index labels).
8689
8690 * pr-5020.exp, gdme.ch (module PR_5020):
8691 New test, for PR-5020.
8692
8693Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8694
8695 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8696 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8697
8698Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8699
8700 * Makefile.in: Fix bit-rot in definitions of CHILL,
8701 CHILL_FOR_TARGET and Chill_LIB.
8702 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8703 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8704 CHILL, and CHILL_LIB.
8705
8706Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8707
8708 * Revert the previous changes. Please see Rob's directory
8709 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8710
8711Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8712
8713 * Makefile.in, configure.in, config/mips-gdb.exp,
8714 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8715 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8716 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8717 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8718 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8719 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8720 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8721 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8722 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8723 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8724 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8725 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8726 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8727 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8728 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8729 changes from 94Q1.
8730
8731Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8732
8733 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8734 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8735 Rob's new testing fragments.
8736
8737Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8738
8739 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8740 lib/gdb.exp: Replace error proc calls with perror.
8741
8742Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8743
8744 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8745 version also, match on casted version strings, and match on
8746 gdb startup case where the line numbers might be messed up.
8747
8748Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8749
8750 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8751 (CFLAGS): Delete it from here.
8752
8753Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8754
8755 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8756
8757Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8758
8759 * Makefile.in (RUNTEST): Default to just "runtest".
8760
8761Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8762
8763 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8764 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8765 the code has been restructured.
8766
8767Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8768
8769 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8770 \n, not just one of each.
8771
8772 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8773 /bin/cc gives a warning if you do.
8774
8775Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8776
beb998c6 8777 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8778 __t10ListS_link1ZUiRCUiPT0
8779
8780Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8781
8782 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8783 on local variables in recursive functions.
8784
8785 * gdb.t07/Makefile.in: Build the new test.
8786
8787Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8788
8789 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8790 directly. Instead compare the return values from actual calls.
8791
8792Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8793
8794 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8795
8796Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8797
8798 * From Peter Schauer with minor modifications.
8799 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8800 stops in mid-line in the caller. Add xfail for returning a float
8801 value on X86 targets.
8802
8803Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8804
8805 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8806 to avoid expect lossage.
8807 (fmem_LRbug_tests): Likewise.
8808 * gdb.disasm/hppa.s: Corresponding changes.
8809
8810 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8811 conditions to work with latest dejagnu/expect.
8812
8813 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8814 expected to fail on the PA.
8815 (backtrace in call with trampolines): Explicitly require main
8816 to be frame #1 (no trampolines should show up in backtrace).
8817
8818 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8819 "continue -expect".
8820 * gdb.t06/break.exp: Likewise.
8821 * gdb.t07/watchpoint.exp: Likewise.
8822 * gdb.t13/bitfields.exp: Likewise.
8823 * gdb.t15/{funcargs,return}.exp: Likewise.
8824 * gdb.stabs/weird.exp: Likewise.
8825 * config/{mips,udi}-gdb.exp: Likewise.
8826
8827 * hppa.sed: Enclose comments within a sed command to avoid
8828 losing with the old OSF1 sed.
8829
8830Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8831
8832 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8833 sequent dynix.
8834 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8835 * gdb.t15/funcargs.exp: Conditionally step again to really
8836 finish from marker_call_with_trampolines. Handle the case where
8837 the first step from within call_with_trampolines already steps
8838 us back to main.
8839 * gdb.t15/gdbme.c: Add comment to closing brace of
8840 call_with_trampolines for funcargs.exp.
8841
8842Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8843
beb998c6 8844 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8845 Fix typo(s).
8846
8847Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8848
8849 * gdb.t07/gdbme.c: More code for watchpoint testing.
8850
8851 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8852 "Hardware watchpoint" throughout file.
8853 (test_watchpoint_triggered_in_syscall): New test.
8854 (test_complex_watchpoint): New test.
8855
8856Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8857
8858 * gdbme.c (call_with_trampolines): New function to try and step
8859 into. Tests trampoline problems on the PA.
8860
8861 * funcargs.exp (localvars_in_indirect_call): No longer expect
8862 stepping into indirect call to fail on PAs.
8863 (test_stepping_over_trampolines): New test.
8864
8865Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8866
8867 * TODO: Add suggestions for static member function tests, and
8868 completion tests.
8869
8870Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8871
8872 * TODO: Add suggestions for "p/a" tests.
8873
8874 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8875 (default_gdb_exit): Replace all the hair with sending "quit" to
8876 the process with a simple close.
8877
8878Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8879
8880 * TODO: Add suggestions for shared library tests.
8881
8882Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8883
8884 * TODO: Add suggestions for x/s tests.
8885
8886Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8887
8888 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8889 "enable once", and "enable breakpoints once" with ".*".
8890
8891Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8892
8893 * TODO: Add suggestions about structure passing tests.
8894
8895Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8896
8897 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8898 the primary1 test, use work around if __GNUC__ < 2.
8899 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8900 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8901 Test for bad output rather than waiting for timeout. Issue
8902 second continue only if first continue failed.
8903
8904Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8905
8906 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8907 operator[] test with gdb_test because the old code didn't seem to
8908 be getting the quoting right with the new dejagnu.
8909
8910Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8911
8912 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8913 one from the path.
8914 * Makefile.in: Use a fresh expect if there is one, use runtest
8915 from the src tree if there is one.
beb998c6 8916
c906108c
SS
8917Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8918
8919 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8920 next over recursive call. Revise the tests from that point on
8921 (which had been skipped) to match GDB's actual (correct) output.
8922
8923 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8924 with next over a breakpoint whose condition is false.
8925
8926 * gdb.t00/help.exp: Comment out "help set print" tests just like
8927 (and for same reason as) "help set" test.
8928
8929Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8930
8931 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8932 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8933
8934Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8935
8936 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8937 necessary gdb_target_udi.
8938
8939 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8940
8941 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8942 1838 and 2417; they are fixed.
8943
8944 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8945 gdb.t03/ptype.exp (ptype structure, ptype union):
8946 Remove xfails; the test is looser than when the xfails were added.
8947
8948 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8949 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8950
8951 * gdb.t01/run.exp: Only run shell test if isnative.
8952
8953 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8954 since "run" automatically loads if necessary. Call gdb_target_udi
8955 after the "file" since "file" kills any execution target.
8956
8957 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8958 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8959 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8960 argument for UDI.
8961
8962Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8963
8964 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8965
8966 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8967
8968Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8969
8970 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8971 properly quoting regexps. This makes the second argument to
8972 demangle a fixed string, which matches the callers, instead of a
8973 shell-style pattern which is what the previous implementation
8974 used. Update some of the callers.
8975
8976Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8977
8978 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8979 (comib_nullified_tests): Fix typo.
8980 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8981 strings. No longer expected to fail.
8982
8983 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8984 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8985 strings. No longer expected to fail.
8986
8987 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8988 string. No longer expected to fail.
8989
8990Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8991
8992 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8993 No longer expected to fail.
8994
8995 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8996 string. No longer expected to fail.
8997
8998Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8999
9000 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9001 only in the names (I probably got most of them). I was even
9002 generous with some which differed in underscores in names, and
9003 probably missed a few, and I *still* was able to remove almost a
9004 third of the file with almost no impact on testsuite coverage.
9005
9006Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9007
9008 * gdb.t00/default.exp: Match udi_attach error message as well as
9009 the one from child_attach.
9010
9011 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9012
9013 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9014
9015 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9016 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9017
9018 * Move test with enums and partial symbols back to
9019 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9020 Reverts the change of 26 May 93. Per today's change to
9021 stabs.texinfo, the behavior that weird.exp was expecting was
9022 unreasonable; what is important is that the compiler+gdb get
9023 things right, which happens with a recent gcc. Also fix the test
9024 to deal with native compilers which put out the stab gdb can't
9025 deal with.
9026
9027Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9028
9029 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9030 in the names. The main thing these accomplish is to slow things down.
9031 Many more such duplicates surely remain.
9032
9033 * gdb.t00/help.exp: Comment out "help support" test just like
9034 (and for same reason as) "help set" test.
9035
9036Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9037
9038 * gdb.t06/break.exp: Remove setup_xfails for
9039 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9040 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9041 about known bug in gcc to include up through 2.5.8.
9042 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9043 well as "_vb$".
9044 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9045 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9046 with latest gcc and gdb.
9047 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9048 well as "_vb$".
9049
9050Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9051
9052 * configure.in (hppa*-*-*): Also configure and build stabs-only
9053 tests.
9054
9055Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9056
9057 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9058 * gdb.t10/configure.in (hppa*-*-*): Use it.
9059
9060Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9061
9062 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9063
9064Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9065
9066 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9067 versions prior to 1.13.5.
9068
9069Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9070
9071 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9072 the prompt is at the start of a line.
9073
9074Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9075
9076 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9077 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9078 in the copr tests now.
9079 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9080 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9081 expected to fail.
9082
9083Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9084
9085 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9086 gdb.t31/chillvars.exp, lib/gdb.exp:
9087 Tweak to run under either version of expect.
9088 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9089 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9090 * gdb.t11/list.exp: Remove extraneous whitespace.
9091
9092Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9093
9094 * gdb.t16/printcmds.exp (test_print_strings): Accept
9095 "(unsigned char *) " before the string.
9096
9097 * TODO: Add notes about printing of fancy types and GDB expressions.
9098
9099Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9100
9101 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9102 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9103 if doing mips-idt-ecoff.
c906108c
SS
9104
9105Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9106
9107 * Most .exp files: Tweak to run under either version of expect.
9108
9109Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9110
9111 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9112 xfails; I'm not sure why they are failing, but not because of PR 1806.
9113
9114Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9115
9116 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9117 defined in lib/gdb.exp.
9118
9119Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9120
9121 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9122 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9123 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9124 have to be typeless.
9125
9126Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9127
9128 * TODO: Add suggestion for copyright year test.
9129
9130Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9131
9132 * configure.in (*-*-lynxos*): Add stabs tests.
9133
9134Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9135
9136 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9137 so insert a tab before any assembler directive in column zero.
9138
9139 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9140 stores.
9141 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9142 stores.
9143 (fpu_short_memory_tests): Likewise.
9144
9145Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9146
9147 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9148 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9149 .stabs directives in comments.
9150
9151Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9152
9153 * TODO: New file, describing tests we could write.
9154 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9155
9156Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9157
9158 * gdb.t06/signals.exp: Add kludge to force re-sync.
9159
9160 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9161 to xgdb instead of gdb, get out of gdb.
9162
9163Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9164
9165 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9166 for info.
9167
9168Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9169
9170 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9171 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9172 * gdb.stabs/hppa.sed: New sed script for the PA.
9173
9174Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9175
9176 * gdb.stabs: Re-write weird.def and configuration to use sed
9177 instead of cpp. sed is portable and POSIX; cpp is neither.
9178
9179Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9180
9181 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9182
9183Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9184
9185 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9186
9187Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9188
9189 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9190 "_vb$".
9191 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9192 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9193
9194Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9195
9196 * lib/gdb.exp: Comment out code which depends on non-existent
9197 `transform' procedure.
9198
9199Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9200
9201 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9202 * lib/gdb.exp: Transform tool name.
9203 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9204 1.1's new error handling system.
9205
9206Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9207
9208 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9209
9210Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9211
9212 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9213 They made pattern matching so slow that timeouts happened on
9214 heavily loaded systems. Now any output from "show print" which
9215 gets us back to the GDB prompt is a PASS.
9216
9217Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9218
9219 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9220
9221Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9222
9223 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9224
9225 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9226 It is not from PR 3220.
9227
9228Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9229
9230 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9231 just started failing because they depended on the order the
9232 subcommands are presented, or exact docstring text. This kind of
9233 test is a pain and has minimal benefit.
9234
9235Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9236
9237 * gdb.t09/corefile.exp: At end of test, use "core" command with
9238 no arguments.
9239
9240Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9241
9242 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9243 17}/Makefile.in: Make it possible to run the testsuite with Sun
9244 make and CC = cross gcc by adding explicit build rules for .o
9245 files.
9246
9247Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9248
9249 * gdb.t15/funcargs.exp: Don't put comments on same line as
9250 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9251
c906108c
SS
9252Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9253
9254 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9255
9256Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9257
9258 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9259 * gdb.t20/inherit.exp: remove three dumplicate entries.
9260
9261Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9262
9263 * gdb.t06/break.exp: For "next over recursive call", fail on any
9264 incorrect output, not just on "factorial (value=2)".
9265
9266Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9267
9268 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9269 working now. Add an xfail if accesing a bss variable causes
9270 a memory error if the target is not yet run.
9271
9272Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9273
9274 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9275 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9276 name of __st* demangling (2 strings). Did Kung really get the
9277 more than 95 others right without testing them?
9278
9279Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9280
9281 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9282
9283Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9284
9285 * configure.in (configdirs): Add gdb.disasm
9286 * gdb.disasm: New directory for GDB disassembler tests.
9287 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9288
9289Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9290
9291 * gdb.t00/help.exp: Don't test "help set".
9292
9293 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9294 from within expect statements. None of these happen anymore and
9295 they cause regressions to be silently unnoticed.
9296
9297 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9298 messages) about known failures with gcc cygnus-2.4.5-930417.
9299
9300 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9301 comp-info.exp so it gets built if it doesn't exist.
9302
9303 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9304 it is no longer used.
9305 * gdb.t13/comp-info.c: Removed.
9306
9307Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9308
9309 * gdb.t06/signals.exp: Add xfail for sun3.
9310
9311Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9312
9313 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9314 relevant because ^C doesn't get sent but failure can be reproduced
9315 interactively).
9316
9317Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9318
9319 * gdb.stabs/alpha.mt: New configuration file for alpha.
9320 * gdb.stabs/configure.in: Use it.
9321 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9322 sharing with alpha.mt, redefine long to word via preprocessor.
9323 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9324 for alpha.
9325 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9326 native cc.
9327 * gdb.t00/teststrategy.exp: Change expect string so that we
9328 consume the `(xgdb)' from the command echo and from the gdb prompt.
9329 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9330 gdb currently compares all values as long, so this failure probably
9331 applies to any configuration where LONGEST is bigger than a target int.
9332 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9333 with gcc.
9334 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9335 to handle opaque pointers, gcc is.
9336 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9337 as first argument. Include <sys/types.h> and change all operator
9338 new definitions to use size_t.
9339 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9340 now that we use size_t.
9341
9342Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9343
9344 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9345 a long or float array cast all array members to the same type.
9346 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9347 with 64 bit longs.
9348 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9349 on alpha.
9350 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9351
9352Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9353
9354 * gdb.t24 (demangle.exp): Constructors of templates have names like
9355 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9356 section 14.6 of the ARM.
9357
9358 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9359 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9360 accomplish little and slow down the testsuite.
9361
9362 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9363 Accept spaces various places.
9364
9365Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9366
9367 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9368 with watchpoint enabled.
9369
9370 * Makefile.in: Remove definition of CC and remove the second
9371 definition of CXX (the "CXX = gcc" one remains). These definitions
9372 were causing backquotes to be expanded within backquotes, which
9373 doesn't work.
9374
9375Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9376
9377 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9378
9379Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9380
9381 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9382 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9383 by mips cc and contains no stabs entries.
9384
9385Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9386
9387 * config/vx-gdb.exp: Use fake device to load files rather than
9388 NFS.
9389 * lib/gdb.exp: New proc to do "file" command.
9390 * config/unix-gdb.exp: Use new "file" proc.
9391
9392Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9393
9394 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9395 Rework board rebooting slightly.
9396 (gdb_exit): Don't exit from the remote shell; there isn't one.
9397 * gdb.stabs/weird.exp: If a program is being debugged already,
9398 kill it.
9399 * gdb.t04/setvar.exp: Stop and restart gdb.
9400 * gdb.t05/expr.exp: Likewise.
9401 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9402 restart gdb and reload the program.
9403 * gdb.t08/opaque.exp: Likewise.
9404 * gdb.t12/scope.exp: Likewise.
9405 * gdb.t13/bitfields.exp: Likewise.
9406 * gdb.t15/funcargs.exp: Likewise.
9407 * gdb.t20/classes.exp: Likewise.
9408 * gdb.t03/ptype.exp: Increase timeout.
9409 * gdb.t16/printcmds.exp (test_print_string_constants,
9410 test_print_array_constants): Likewise.
9411 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9412 * gdb.t20/classes.exp (do_tests): Likewise.
9413 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9414
9415Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9416
9417 * gdb.stabs: Renamed *wierd* to *weird*.
9418
9419Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9420
9421 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9422 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9423
9424Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9425
9426 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9427 (do_tests): Remove xfail for whatis on one_var and two_var.
9428
9429Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9430
9431 * Makefile.in: Made cross building work better by adding
9432 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9433
9434Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9435
9436 * gdb.t15/{return.c,return.exp,Makefile.in}:
9437 New test, currently commented out.
9438
9439Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9440
9441 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9442 still running and removes the leftover named socket so GDb can do
9443 clean restarts.
9444
9445Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9446
9447 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9448 console, not GDB.
9449 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9450 cross testing works better with "make check"
9451 * config/unix-gdb: Use default procedures for exit and version.
9452 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9453 with the newest VxWorks.
9454
9455Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9456
9457 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9458 old form.
9459
9460 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9461 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9462
9463 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9464
9465 * config/unix-gdb.exp: Remove this version of gdb_exit
9466 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9467 Rob says he'll look at it when he gets back to testing boards.
9468
9469Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9470
9471 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9472 an expected fail for certain ptype commands.
9473
9474 * gdb.t20/classes.exp: Update expected results of "ptype class
9475 Base1" to account for the constructor that now appears in the type.
9476
9477Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9478
9479 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9480 disappeared from list.
9481 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9482 "alldone" proc with call to cleanup and exit.
9483 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9484 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9485 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9486 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9487 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9488 "alldone" proc with simple returns that suppress remaining
9489 tests. The alldone proc went away many months ago.
9490
9491Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9492
9493 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9494
9495 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9496
9497Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9498
9499 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9500 as vax gdb will display them.
9501
9502Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9503
9504 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9505 optimizers.
9506
9507 * scope.exp: Change "bad value for localval" messages so each one
9508 is unique.
9509
9510 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9511 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9512
9513 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9514
9515Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9516
9517 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9518 doesn't exist (due to optimization).
9519
9520Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9521
9522 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9523 contains \r because the filename is long.
9524
9525 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9526 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9527
9528Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9529
9530 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9531 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9532 Ultrix.
9533 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9534 int tests.
9535 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9536
9537Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9538
9539 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9540
9541 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9542 to match does not match the passing case but still matches the
c906108c
SS
9543 failing case.
9544
9545Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9546
9547 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9548
9549Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9550
9551 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9552 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9553 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9554 Remove various versions of gdb_exit.
9555 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9556 gdb_exit.
9557 * config/unix-gdb.exp: gdb_exit remains here, and should override
9558 the generic version, since it's doing a lot of wierd stuff that
9559 the other versions aren't. FIXME, fold it in, or abandon this
9560 version.
9561
9562Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9563
9564 * gdb.t24/demangle.exp: Add tests for PR 3220.
9565
9566Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9567
9568 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9569
9570Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9571
9572 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9573 "i386-*-*". Works for i486 as well.
9574
9575 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9576 bug, and expand domain of xfail to all SVR4 systems, since the
9577 actual problem is likely to be in generic SVR4 /proc support.
9578
9579Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9580
9581 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9582
9583Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9584
9585 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9586 xfails for other systems. Match a missing 'Continuing.' as an
9587 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9588
9589 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9590 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9591 Only issue warning for missing executables if -all option is used.
9592
9593 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9594 file if -all option is used. It's like an unpredictable XFAIL.
9595
9596Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9597
9598 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9599 for dynamically linked binaries.
9600
9601 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9602
9603Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9604
9605 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9606 to state that this is a known bug in old versions of g++.
9607
9608Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9609
9610 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9611 while waiting for `Continuing'.
9612
9613Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9614
9615 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9616 in text, data, and bss.
9617 * gdb.t10/nodebug.c: Add local and global test variables for
9618 initialized and uninitialized data.
9619
9620Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9621
9622 * config/unix-gdb.exp (gdb_exit): Add "wait".
9623
9624Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9625
9626 * gdb.t06/signals.exp: xfail the continue from the handler for all
9627 targets.
9628
9629 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9630 function with watchpoints enabled, the i386 call dummy starts with
9631 a call.
9632
9633 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9634 386 bsd names its corefiles.
9635
9636Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9637
9638 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9639 compilers don't grok it.
9640 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9641 with small octal ints rather than character constants, which
9642 are signed and might not fit if first promoted to int.
9643
9644Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9645
9646 * gdb.t09/Makefile.in (clean): Remove corefile.
9647
9648Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9649
9650 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9651
9652Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9653 and Jim Kingdon (kingdon@cygnus.com)
9654
9655 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9656 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9657 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9658
9659Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9660
9661 * gdb.t17/interrupt.exp: Add xfail for hppa.
9662
9663Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9664
9665 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9666 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9667 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9668 to determine signed-ness of bitfields and use the result to setup
9669 the xfail.
9670 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9671 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9672 call line is reached if necessary.
9673
9674Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9675
9676 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9677
9678Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9679
9680 * gdb.t06/break.exp: Also test `clear' command.
9681
9682Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9683
9684 * gdb.t00/teststrategy.exp: Remove extra quote.
9685
9686 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9687 watchpoint enabled to be for all non-68k machines.
9688
9689 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9690
9691Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9692
9693 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9694 targets use aout.mt instead of ecoff.mt as gas understands
9695 standard aout format.
9696
9697Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9698
9699 * lib/gdb.exp (runto): Don't insist that function we are running to
9700 was compiled with -g.
9701
9702 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9703
9704 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9705 to get back into the read system call.
9706 Accept leading newline in case where we woke it up.
9707
9708Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9709
9710 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9711 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9712 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9713 enable ecoff configuration.
9714
9715Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9716
9717 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9718
9719Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9720
9721 * gdb.t16/printcmds.exp: Add another printf test.
9722
9723Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9724
9725 * configure.in: If configured -with-stabs on any target, add
9726 stabsdirs to configdirs.
9727
9728Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9729
9730 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9731 fun" so pattern does not match the command itself.
9732
9733Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9734
9735 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9736
9737Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9738
9739 * gdb.t17/interrupt.exp: Test for more things.
9740
9741Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9742
9743 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9744 compiler arranges the code and line numbers.
9745
9746 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9747
9748Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9749
9750 * gdb.t00/help.exp: Increase expect input buffer size.
9751
9752Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9753
9754 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9755
9756 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9757
9758 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9759
9760 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9761 [0-9]*, not just [0-9].
9762
9763Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9764
9765 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9766
9767 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9768
9769Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9770
9771 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9772
9773Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9774
9775 * gdb.t06/signals.c: Add xfails for sun3.
9776
9777 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9778
9779 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9780 test_stepping tests.
9781
9782Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9783
9784 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9785
9786 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9787
9788 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9789 rather than actually putting it through cpp twice.
9790
9791 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9792
9793Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9794
9795 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9796 no longer needed.
9797
9798Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9799
9800 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9801
9802 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9803 C++ features prints as "struct", make it a pass, not an xfail.
9804
9805Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9806
9807 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9808 Don't require VA to print as "class" rather than "struct".
9809
9810Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9811
9812 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9813
9814Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9815
9816 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9817
9818Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9819
9820 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9821 order.
9822
9823Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9824
9825 * gdb.t16/printcmds.exp: Add printf tests.
9826
9827 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9828
9829 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9830
9831Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9832
9833 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9834 pass counts, to counteract any existing or future setup_xfails.
9835
9836Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9837
9838 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9839 {BEGIN,END}_COMMON for common block instead of STAB.
9840 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9841
9842 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9843 intp_var should be N_GSYM not N_LSYM.
9844 wierd-aout.S: Use a label for the value of the N_SO.
9845 wierd.def: Remove all backslashes.
9846 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9847
9848Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9849
9850 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9851 get the expected next to inheritance3.
9852
9853Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9854
9855 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9856 now that gcc-2.4 gets it right.
9857
9858Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9859
9860 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9861
9862 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9863 generating comp-info.exp which works for cross-compilation.
9864
9865Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9866
9867 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9868 "*-*-sysv4.*".
9869
9870Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9871
9872 * gdb.t01/run.exp: Start with a fresh gdb.
9873 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9874 SVR4.x.
9875
9876Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9877
9878 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9879 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9880 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9881 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9882 things to remove.
9883
9884Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9885
9886 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9887 test cases from bug reports.
9888
9889Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9890
9891 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9892 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9893 avoid spurious xfails.
9894 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9895 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9896 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9897
9898Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9899
9900 * gdb.t00/teststrategy.exp: Rework to provide more useful
9901 description of each test, fix problem with systems that define
9902 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9903 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9904 results for "next over recursive call" so timeouts aren't taken
9905 by error.
9906
9907Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9908
9909 * gdb.t12/scope.exp: Test printing of variables before run.
9910
9911 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9912 printed in wrong order due to sorting.
9913
9914Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9915
9916 * gdb.t00/teststrategy.exp: Fix expected results for printing
9917 user entered string constant. Is array of char, prints with no
9918 address.
9919
9920 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9921 commands.
9922 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9923 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9924 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9925 of struct of char arrays.
9926 * gdb.t00/radix.exp: New tests for radix commands.
9927
9928Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9929
9930 * gdb.t16/printcmd.exp: Print a variable before running program
9931 (with xfail for AIX).
9932
9933Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9934
9935 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9936
9937 * gdb.t16/printcmd.exp: Don't print variables before running program.
9938
9939 * gdb.t06/break.exp: Don't require envp argument to main.
9940
9941 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9942
9943 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9944 Add xfails for rs6000.
9945
9946 * gdb.t02/whatis.exp: Change other tests not to re-test something
9947 we already tested.
9948
9949 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9950 each type used has a variable of that type.
9951
9952Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9953
9954 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9955
9956Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9957
9958 * configure.in: change srctrigger to be a file, not a directory
9959
9960Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9961
9962 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9963
9964 * gdb.t11/list.exp: Fixed a couple of typos.
9965
9966Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9967
9968 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9969 is fixed and PR is closed.
9970 * gdb.t16 (gdbme.c): Add simple test string variable.
9971 * gdb.t16 (printcmds.exp): Add tests with simple test string
9972 variable, primarily for boundaries on "set print elements".
9973
9974Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9975
9976 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9977 Make leading 0's optional and don't expect a tab in the middle
9978 of the number.
9979
9980 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9981
9982 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9983 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9984 don't end command passed to gdb_test with newline.
9985
9986 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9987 signed keyword away, don't expect signed bitfields to be signed.
9988
9989 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9990 printing with only as many 1's as are in the field as well as printing
9991 with 32 1's (see comment).
9992
9993Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9994
9995 * gdb.t00/default.exp: Start with a fresh gdb.
9996 * configure.in (configdirs): Remove gdb.t31 until the chill
9997 compiler works again. It no longer is able to find chillrt0
9998 since it isn't in libchill.a anymore.
9999 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10000 wierd.o, make more modular.
10001 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10002 spurious newlines that caused problems.
10003
10004Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10005
10006 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10007 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10008 gdb.stabs/wierd.{exp,def}: Many new tests.
10009
10010 * gdb.t00/default.exp: update info line for new message.
10011
10012 * gdb.t02/{whatis.exp,gdbme.c}:
10013 Test that "char *" doesn't print as "caddr_t".
10014
10015Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10016
10017 * gdb.t00/help.exp: Use .* in place of some help messages which
10018 just changed.
10019 gdb.t00/default.exp: Update "info frame" test for new message.
10020 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10021 Remove some xfails
10022
10023Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10024
10025 * gdb.t03/{gdbme.c,ptype.exp}:
10026 Add tests for typedef'd struct and union without tags.
10027 Also check "whatis" on a variable of a typedef'd enum without a tag.
10028
10029 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10030 PRMS 1823; the bug still exists but isn't reproduced by this test
10031 anymore), and remove rs6000 XFAIL (the bug is fixed).
10032
10033 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10034 duplicated from whatis.exp. For those that are left, accept
10035 "long", "long int", or "int" for long variables (whatis.exp already
10036 has an XFAIL for "int", so no need to fail it here).
10037
10038 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10039 Deal with GCC's names for types now that GDB uses the compiler's names.
10040
10041 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10042 setup_xfail's for sunos4. If we #defined the signed keyword away,
10043 don't expect GDB to know that char it is signed.
10044
10045 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10046
10047Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10048
10049 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10050 should work on any system, regardless of debugging format.
10051 * gdb.t21/demangle.exp: Move to gdb.t24.
10052 * gdb.t24/demangle.exp: Move from gdb.t21.
10053 * gdb.t24/{Makefile.in, configure.in}: New files.
10054
10055Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10056
10057 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10058 * gdb.stabs: New directory.
10059
10060Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10061
10062 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10063 not just "Quit anyway?".
10064
10065Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10066
10067 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10068 that all setup_xfails are immediately followed by clear_xfails.
10069
10070Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10071
10072 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10073 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10074 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10075 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10076 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10077 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10078 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10079 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10080 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10081 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10082 gdb.t31/chillvars.exp, lib/gdb.exp:
10083 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10084 bug-gdb@prep.ai.mit.edu.
10085
10086Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10087
10088 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10089 with 0.0, not integer 0.
10090
10091Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10092
10093 * gdb.t06/break.exp: Update for "Kill the program" message change.
10094
10095Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10096
10097 * Makefile.in (GDBFLAGS): Set to -nx.
10098 * Makefile.in (site.exp): Use GDBFLAGS.
10099
10100Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10101
10102 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10103 Makefiles.
10104 (check): depend on just-check.
10105 (just-check): added so that tests can be run without a noop
10106 build pass.
10107
10108Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10109
10110 Switch to using configure's configdirs.
10111 * Makefile.in (Makefile): add configure.in dependency.
10112 (SUBDIRS): removed redundant assignment.
10113 * configure.in: switch subdirs assignment to configdirs.
10114 * gdb.t*/configure.in: new files.
10115
10116Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10117
10118 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10119 works.
10120
10121Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10122
10123 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10124 in explicit rules. Apparently this is not supported by some makes.
10125
10126Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10127
10128 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10129
10130Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10131
10132 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10133 disappeared.
10134
10135Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10136
10137 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10138
10139Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10140
10141 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10142 watchpoint problem that is now fixed.
10143 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10144 uninitialized convenience variables.
10145 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10146 structures.
10147
10148Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10149
10150 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10151 which causes expect to get out of sync with gdb on long output
10152 from help set.
10153 * gdb.t09/corefile.exp: Make expected pattern for core file
10154 failing signal and frame output format less sun specific.
10155
10156Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10157
10158 * gdb.t31/chillvars.exp: Add and remove initial dummy
10159 breakpoint, so that symbol table is forced in.
10160 (Needed at least on Sunos4, though it seems not SVR4.)
10161 * gdb.t31/chillvars.exp: Update for changed output format.
10162
10163Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10164
10165 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10166
10167Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10168
10169 * Makefile.in: Added --srcdir when invoking runtest, removed the
10170 need for a local config file. (optional now)
10171
10172Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10173
10174 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10175 failure count used to force early termination. Add some more
10176 expected failures for gnu style demangling.
10177
10178Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10179
10180 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10181 pmi variable from gdb.t20/gdbme to get optimized away.
10182 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10183 Check for written corefile upon timeout _and_ eof.
10184
10185Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10186
10187 * config/unix-gdb.exp: Add missing return 0.
10188
10189Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10190
10191 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10192 test termination.
10193
10194Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10195
10196 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10197 disappeared.
10198
10199Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10200
10201 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10202 time as i860 support works.
10203
beb998c6 10204 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10205 "backtrace 100\r" rather than just "backtrace\r", to match last
10206 change.
10207
10208Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10209
10210 * config/udi-gdb.exp (gdb_exit): Remove close command.
10211 (gdb_target_udi): New procedure to set the UDI target.
10212 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10213 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10214 Added waits for prompts after several question responses. Added
10215 some more responses used by a29k-amd-udi-gdb.
10216 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10217 pass different arguments, restart UDI connection after program
10218 completion.
10219 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10220 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10221 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10222 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10223 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10224 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10225 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10226 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10227 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10228 after program completion.
10229 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10230 compiled with a SELECT_VECS setting.
10231 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10232 infinite recursion.
10233
10234 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10235 Added checks for COFF results, and made them expected failures for
10236 all targets. It would be better to make them expected failures
10237 for COFF targets only.
10238
10239Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10240
10241 * Makefile.in: add null dvi target, don't bother to recurse
10242 through test directories for info and install-info; rename
10243 $(datadir) to be dejagnu instead of deja-gnu
10244
10245Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10246
10247 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10248 compiler to coredump.
10249 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10250 code.
10251
10252Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10253
10254 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10255 coredump.
10256 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10257 code.
10258
10259Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10260
10261 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10262 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10263 which in a shell. Deletes xgdb when done.
10264 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10265 Tests the return from the "set height" or "set width" commands.
10266 Added a few return codes where needed.
10267
10268Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10269
10270 * Makefile.in (SUBDIRS): Add gdb.t17.
10271 * configure.in (subdirs): Add gdb.t17.
10272 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10273 files to test gdb's calling of functions in the inferior with
10274 the correct arguments and gdb's ability to retrieve any
10275 result returned.
10276
10277Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10278
10279 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10280 may be called after gdb goes away. Previous versions of expect
10281 needed these to avoid file descriptor leaks, but they cause
10282 errors with the current revision of expect.
10283 * gdb.t00/gdbvars.exp: Use -re on expected output after
10284 setting sevenbit-strings.
10285 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10286 to set sevenbit-strings consistent across tests.
10287 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10288 set sevenbit-strings consistent across tests.
10289
10290Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10291
10292 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10293 expected output to match current "expect" expectations.
10294
10295Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10296
10297 * gdb.t00/default.exp: Change expected output for default "source"
10298 command, to match new gdb behavior which requires a filename to
10299 source.
10300
10301Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10302
10303 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10304 expected fail for i486-*-* that misses the marker2 function.
10305 * gdb.t10/crossload.exp (bfddefault): Allow successful
10306 recognition of a format to pass even if no symbols are found.
10307 Explicitly catch failures where the format is not recognized
10308 or is ambiguous, and add the reason to the fail message.
10309 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10310 the cause is and invalid target and add reason to failure message.
10311 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10312 elf32-i386, elf32-sparc, and elf32-i860.
10313 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10314 Set up expected failure for 'filename'::variable scope resolution,
10315 which is now apparently broken on all targets.
10316 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10317 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10318 gdb.t23/templates.exp: Change failure for missing binfile into
10319 just a warning.
10320 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10321 references.
10322
10323Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10324
10325 * gdb.t00/default.exp: Add expected output for default "source"
10326 command, to match new gdb behavior.
10327 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10328
10329Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10330
10331 * config/*-gdb.exp: returns an error, rather than exiting on
10332 internal errors.
10333
10334Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10335
10336 * gdb.t03/gdbme.c: Add pointer to struct variable.
10337 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10338 referencing struct members.
10339
10340Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10341
10342 * configure.in (mips-idt-ecoff): New target.
10343 * config/mips-gdb.exp: New file for remote board using MIPS remote
10344 debugging protocol.
10345
10346 * Redid configuration scheme. Removed gdb.t*/configure.in.
10347 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10348 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10349 distclean targets. Built executables via .o files. Adjusted
10350 tests to account for source files in $(srcdir) rather than
10351 $(objdir).
10352 * lib/gdb.exp (runto): Don't expect () after the function name,
10353 because it may have arguments.
10354
10355Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10356
10357 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10358 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10359 expected failures for mips-idt-* and mips-sgi-*.
10360 * gdb.t00/default.exp (attach): Kill process if requested.
10361 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10362 that does not read core files.
10363 * gdb.t01/run.exp: Removed checks for exit status code.
10364 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10365 it is linked in.
10366 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10367 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10368 appropriate, rather than doing it by hand.
10369 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10370 execution.
10371 * gdb.t10/crossload.exp: Kill existing program if needed.
10372 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10373 appropriate, rather than doing it by hand. Always increase
10374 timeout for this test, not just for VxWorks.
10375
10376Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10377
10378 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10379 of Chill STRUCT types and STRUCT values.
10380 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10381 than "char".
10382 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10383 struct2): New struct definitions and initializations to test
c906108c
SS
10384 simple Chill STRUCT types.
10385
10386Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10387
10388 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10389 the null byte at the end of strings.
10390 * gdb.t00/default.exp: Make show version insensitive to copyright
10391 date.
10392 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10393 to avoid dependencies on target char signedness.
10394 * gdb.t16/printcmds.exp: Update expected results for explicitly
10395 unsigned char.
10396 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10397 now work.
10398 * gdb.t21/demangle.exp: Add many more patterns for template
10399 demangling, most of them being expected failures.
10400 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10401 string we are matching for, to match on the whole string.
10402 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10403 and fix a whole bunch that had incorrect expected output but were
10404 passing anyway because of the bug in "proc demangle".
10405 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10406 type.
10407 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10408
10409Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10410
10411 * gdb/testsuite: made modifications to testcases, etc., to allow
10412 them to work properly given the reorganization of deja-gnu and the
10413 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10414
10415Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10416
10417 * gdb/testsuite: Initial creation of gdb/testsuite.
10418 Migrated dejagnu testcases and support files for testing nm to
10419 gdb/testsuite from deja-gnu. These files were moved "as is"
10420 with no modifications. This migration is part of a major overhaul
10421 of dejagnu. The modifications to these testcases, etc., which
10422 will allow them to work with the new version of dejagnu will be
10423 made in a future update.
10424\f
10425Local Variables:
10426mode: indented-text
10427left-margin: 8
10428fill-column: 74
10429version-control: never
10430End:
This page took 0.8365 seconds and 4 git commands to generate.