]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2003-07-15 Andrew Cagney <cagney@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
27e417a2
ML
12003-07-09 Michal Ludvig <mludvig@suse.cz>
2
3 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
4 expansion of size_t to 'unsigned long', not only to 'unsigned'.
5
d99968dc
EZ
62003-07-09 Elena Zannoni <ezannoni@redhat.com>
7
8 * gdb.base/annota1.exp: Make sure that we properly escape the
9 full path of the source file. Xfail more permissive patterns,
10 due to a compiler debug info problem.
11
83876b3b
AS
122003-07-07 Andreas Schwab <schwab@suse.de>
13
2705e972
AS
14 * gdb.asm/m68k.inc: New file.
15 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16
83876b3b
AS
17 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
18 arguments"): Also match negative number.
19
20 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21
3a871b37
DJ
222003-07-03 Daniel Jacobowitz <drow@mvista.com>
23
24 * gdb.base/store.c (charest): New typedef.
25 (add_char): Rename to add_charest, update.
26 (wack_char): Rename to wack_charest, update types. Return l + r
27 to keep r live across the call.
28 (wack_short, wack_int, wack_long, wack_longest, wack_float)
29 (wack_double, wack_doublest): Return l + r to keep r live across
30 the call.
31 * gdb.base/store.exp: Accomodate store.c changes.
32
b2a7f303
DC
332003-06-30 David Carlton <carlton@kealia.com>
34
35 * gdb.c++/maint.exp (test_invalid_name): New.
36 (test_first_component): Add tests for invalid names.
37
3c6cb4a1
MC
382003-06-29 Michael Chastain <mec@shout.net>
39
40 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
41 output of '<VTT for class>' for virtual base classes.
42
f1c2644b
DJ
432003-06-29 Daniel Jacobowitz <drow@mvista.com>
44
45 * gdb.base/completion.exp: Tab-complete "complet" instead of
46 "compl".
47 * gdb.base/complex.exp, gdb.base/complex.c: New files.
48
18080350
DJ
492003-06-29 Daniel Jacobowitz <drow@mvista.com>
50
51 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
52 * gdb.base/volatile.exp: Likewise.
53
f56973f8
DJ
542003-06-29 Daniel Jacobowitz <drow@mvista.com>
55
56 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
57 gdb/1265.
58
592003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
60 Daniel Jacobowitz <drow@mvista.com>
61
62 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
63 initial line count of 'captured_main' from 26 to 32.
64 (test_with_self): Allow xmalloc call to be interleaved with the
65 preceding two lines.
66
e766d4d6
JB
672003-06-24 Joel Brobecker <brobecker@gnat.com>
68
69 * gdb.base/bang.exp: New testcase.
70
f125c9a4
JB
712003-06-23 Joel Brobecker <brobecker@gnat.com>
72
73 * gdb.base/langs.exp: Add some tests for the "minimal" language
74 support.
75
6e25beaf
EZ
762003-06-23 Elena Zannoni <ezannoni@redhat.com>
77
78 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
79 the testcase.
80
2f816dda
DJ
812003-06-22 Daniel Jacobowitz <drow@mvista.com>
82
83 * gdb.base/relocate.exp: Test add-symbol-file with a variable
84 offset.
85
db5a5748
DJ
862003-06-22 Daniel Jacobowitz <drow@mvista.com>
87
88 * gdb.c++/pr-1210.cc: New file.
89 * gdb.c++/pr-1210.exp: New file.
90
1df0c130
DJ
912003-06-21 Daniel Jacobowitz <drow@mvista.com>
92
93 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
94 000-exec-continue.
95
a92feac0
MK
962003-06-15 Mark Kettenis <kettenis@gnu.org>
97
98 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
99 on *-*-*bsd* instead of *-*-freebsd*.
100
81a58f5b
AC
1012003-06-14 Andrew Cagney <cagney@redhat.com>
102
103 * gdb.base/store.exp: Test longest and doublest. Test all
104 parameters. Weaken return statement match.
105 * gdb.base/store.c: Add longest and doublest - aka long long and
106 long double functions. Put all parameters into local register
107 variables. Use negative values.
108
b257a0d3
AC
1092003-06-14 Andrew Cagney <cagney@redhat.com>
110
111 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
112 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
113 exit status.
114 * gdb.base/fileio.exp: Disable target when nointerrupts and
115 noinferiorio, instead of limiting it to remote. Use remote_exec
116 instead of system.
117
21c38304
JJ
1182003-06-12 Jeff Johnston <jjohnstn@redhat.com>
119
120 * gdb.base/float.exp: Add ia64 support.
121
1bcdb424
CV
1222003-06-12 Corinna Vinschen <vinschen@redhat.com>
123
124 * gdb.base/fileio.exp: Run only on remote targets.
125
6aeb981f
CV
1262003-06-10 Corinna Vinschen <vinschen@redhat.com>
127
128 * gdb.base/fileio.c: New file, testing File-I/O.
129 * gdb.base/fileio.exp: Ditto.
130
53df362e
RG
1312003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
132
133 * gdb.base/shreloc.exp: New file, check symbol values obtained from
134 shared objects after relocation at load time (gdb PR/1132).
135 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
136 as above, part of the shared object relocation test.
137
ffee1b46
MK
1382003-06-08 Mark Kettenis <kettenis@gnu.org>
139
b5ca3722
MK
140 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
141 fully filled history list.
142 * gdb.base/gdb_history: New file.
143
03ed860d
MK
144 * gdb.base/signals.exp: XFAIL "continue to func1" on
145 i*86-*-freebsd*.
146
ffee1b46
MK
147 * gdb.base/attach.exp: When trying to attach to a nonexistent
148 process, make it possible to specify the PID based on the target,
149 and do so for *-*-freebsd*.
150
d80dbb52
RH
1512003-06-02 Richard Henderson <rth@redhat.com>
152
153 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
154
6dd77b81
RH
1552003-06-02 Richard Henderson <rth@redhat.com>
156
157 * gdb.base/selftest.exp: Next over lim_at_start initialization.
158
f6347e16
RH
1592003-06-02 Richard Henderson <rth@redhat.com>
160
161 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
162
2c161407
DJ
1632003-06-01 Daniel Jacobowitz <drow@mvista.com>
164
165 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
166 of globalvar.
167
572eb746
MK
1682003-06-01 Mark Kettenis <kettenis@gnu.org>
169
170 * gdb.asm/asm-source.exp: Check for memory read errors in
171 disassembler test on *BSD too.
172
9e9617a5
RH
1732003-06-01 Richard Henderson <rth@redhat.com>
174
175 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
176 for .frame.
177 (gdbasm_call): Lose ldgp.
178 (gdbasm_startup): Add frame information.
179 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
180
7b34ad4e
MK
1812003-05-31 Mark Kettenis <kettenis@gnu.org>
182
183 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
184 i?86-*-*.
185
10059fdf
MK
1862003-05-30 Mark Kettenis <kettenis@gnu.org>
187
188 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
189 FreeBSD.
190
acf4b816
RH
1912003-05-29 Richard Henderson <rth@redhat.com>
192
193 * gdb.asm/alpha.inc: New file.
194 * gdb.asm/asm-source.exp: Use it.
195
e9ecd949
JB
1962003-05-29 Jim Blandy <jimb@redhat.com>
197
198 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
199 'core.PID'.
200
e3e5a4f3
JB
2012003-05-22 Jim Blandy <jimb@redhat.com>
202
203 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
204 backtrace.
205
72fe3d25
DC
2062003-05-20 David Carlton <carlton@math.stanford.edu>
207
208 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
209 this time.
210
58da2eb2
DC
2112003-05-19 David Carlton <carlton@bactrian.org>
212
213 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
214 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
215
1fcb5155
DC
2162003-05-19 David Carlton <carlton@bactrian.org>
217
218 * gdb.c++/namespace.exp: Add namespace scope and anonymous
219 namespace tests.
220 Bump copyright date.
221 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
222 (main): Call C::D::marker2.
223 * gdb.c++/namespace1.cc: New file.
224
85e85163
JJ
2252003-05-14 Jeff Johnston <jjohnstn@redhat.com>
226
227 Roland McGrath <roland@redhat.com>
228 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
229 there is no manager thread.
230
a25fbfec
JJ
2312003-05-08 Jeff Johnston <jjohnstn@redhat.com>
232
233 * gdb.threads/schedlock.exp: Remove assumption that all threads
234 will run in a particular small time slice. Also ensure we break
235 in one of the child threads rather than the main thread.
236
be375bae
JB
2372003-05-07 Jim Blandy <jimb@redhat.com>
238
09bf6082
JB
239 Add support for assembly source testing on the s390x.
240 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
241 architecture.
242 * gdb.asm/s390x.inc: New file.
243
be375bae
JB
244 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
245 succession of 'if' statements.
246
00905d52
AC
2472003-05-05 Andrew Cagney <cagney@redhat.com>
248
249 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
250
b1e29e33
AC
2512003-05-05 Andrew Cagney <cagney@redhat.com>
252
253 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
254 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
255
e33d66ec
EZ
2562003-05-02 Elena Zannoni <ezannoni@redhat.com>
257
258 * gdb.base/charset.exp: Update based on new behavior of set/show
259 charset commands.
260
2b6fd0d8
AC
2612003-05-01 Andrew Cagney <cagney@redhat.com>
262
263 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
264 variable do not give memory errors.
265
130cacce
AF
2662003-04-30 Adam Fedor <fedor@gnu.org>
267
268 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
269 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
270 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
271 gdb.objc/basicclass.m: : New files
272
273 * lib/gdb.exp (gdb_compile_objc): New procedure.
274
bea71854
DJ
2752003-04-27 Daniel Jacobowitz <drow@mvista.com>
276
277 * gdb.base/signals.exp: Make backtrace tests more specific.
278
0f20eeea
DC
2792003-04-23 David Carlton <carlton@bactrian.org>
280
281 * gdb.c++/maint.exp (test_first_component): Add tests for
282 'operator' in more locations.
283
c8c4d8dc
KB
2842003-04-16 Kevin Buettner <kevinb@redhat.com>
285
286 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
287
3fe60e3c
EZ
2882003-04-16 Elena Zannoni <ezannoni@redhat.com>
289
290 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
291 func marke' instead. Update test name.
292
9219021c
DC
2932003-04-15 David Carlton <carlton@math.stanford.edu>
294
295 * gdb.c++/maint.exp: New file.
296
5dd55bdd
EZ
2972003-04-14 Elena Zannoni <ezannoni@redhat.com>
298
299 * gdb.threads/schedlock.c: Change type of thread function argument
300 to long, to avoid warnings on 64-bit platforms.
301
00890572
EZ
3022003-04-14 Elena Zannoni <ezannoni@redhat.com>
303
304 * gdb.base/attach.exp: Add new message from ptrace in case of
305 attaching to nonexistent process.
306
93201743
JB
3072003-04-11 Jim Blandy <jimb@redhat.com>
308
309 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
310 gdb.c++/userdef.cc: Place comments on the lines to which the
311 marker function might return.
312 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
313 gdb.c++/userdef.exp: Look for those comments to check that we've
314 returned to the right place, instead of checking line numbers.
315
2a11c64d
EZ
3162003-04-11 Elena Zannoni <ezannoni@redhat.com>
317
318 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
319 match on sourcefile name, instead of directory name.
320
68ab8fc5
EZ
3212003-04-10 Elena Zannoni <ezannoni@redhat.com>
322
323 * gdb.base/completion.exp: Use string_to_regexp to match the
324 working directory name.
325
5624293a
JB
3262003-04-09 Jim Blandy <jimb@redhat.com>
327
328 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
329 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
330 after an inferior function call, report the failure, but allow the
331 test to continue.
332
f1f02ee4
SC
3332003-04-05 Stephane Carrez <stcarrez@nerim.fr>
334
335 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
336 with -DPROTOTYPES.
337
6eb79af0
SC
3382003-04-05 Stephane Carrez <stcarrez@nerim.fr>
339
340 * gdb.base/break.exp: Revert last patch.
341
8dfb4cf0
SC
3422003-04-04 Stephane Carrez <stcarrez@nerim.fr>
343
344 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
345 with -DPROTOTYPES.
346
ed4c619a
AC
3472003-04-02 Andrew Cagney <cagney@redhat.com>
348
349 * gdb.base/callfuncs.exp: Make "print add" messages unique.
350 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
351 matching directories by the name breakpoint.
352 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
353 Make "continue to marker1" consistent.
354 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
355 message consistent.
356 * lib/gdb.exp: Put "the program is no longer running", and "the
357 program exited" in parenthesis.
358 * lib/mi-support.exp: Ditto.
359
4e35d5f0
BR
3602003-04-02 Bob Rossi <bob_rossi@cox.net>
361
362 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
363
71900fe8
AC
3642003-03-29 Andrew Cagney <cagney@redhat.com>
365
366 * gdb.base/sizeof.c (main): Print the value of '\377'.
367 * gdb.base/sizeof.exp: Check the sign of '\377'.
368
c0655a16
MC
3692003-03-27 Michael Chastain <mec@shout.net>
370
371 * gdb.base/gdb1090.exp: New file.
372 * gdb.base/gdb1090.cc: New file.
373
5b2a3989
JB
3742003-03-27 J. Brobecker <brobecker@gnat.com>
375
376 * gdb.gdb/observer.exp: New regression test.
377
79876890
MC
3782003-03-27 Michael Chastain <mec@shout.net>
379
380 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
381 * gdb.base/ptype.exp: Likewise.
382
6eac95e3
CV
3832003-03-27 Corinna Vinschen <vinschen@redhat.com>
384
385 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
386
e8c71839
MC
3872003-03-26 Michael Chastain <mec@shout.net>
388
389 * gdb.base/ptype.exp: Actually use some typedef'd types.
390
71b10041
SC
3912003-03-21 Stephane Carrez <stcarrez@nerim.fr>
392
393 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
394 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
395
2512cf80
CV
3962003-03-20 Corinna Vinschen <vinschen@redhat.com>
397
398 * gdb.base/default.exp: Fix regular expression.
399
0d195a4f
CV
4002003-03-20 Corinna Vinschen <vinschen@redhat.com>
401
402 * gdb.base/args.exp: Fix regular expression.
403
8a2dbca8
CV
4042003-03-20 Corinna Vinschen <vinschen@redhat.com>
405
406 * gdb.base/help.exp: Allow Win32 child process.
407
bf028682
CV
4082003-03-20 Corinna Vinschen <vinschen@redhat.com>
409
410 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
411 when stepping out of main().
412
182dbe85
CV
4132003-03-20 Corinna Vinschen <vinschen@redhat.com>
414
415 * gdb.base/default.exp: Check for win32 specific message when calling
416 "run" without executable.
417
d67a6ba5
CV
4182003-03-20 Corinna Vinschen <vinschen@redhat.com>
419
420 * gdb.base/args.exp: Expect .exe in output.
421
a955b5bb
CV
4222003-03-20 Corinna Vinschen <vinschen@redhat.com>
423
424 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
425 Cygwin native.
426
bf6bad4b
AC
4272003-03-17 Andrew Cagney <cagney@redhat.com>
428
429 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
430 vector registes.
431 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
432 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
433
293e9a31
DC
4342003-03-17 David Carlton <carlton@math.stanford.edu>
435
436 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
437 test, for PR breakpoints/38.
438 Call test_watchpoint_and_breakpoint.
439 * gdb.base/watchpoint.c (func3): New function.
440 (main): Call func3.
441
5330f2db
DC
4422003-03-04 David Carlton <carlton@math.stanford.edu>
443
444 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
445 Garply<Garply<char> >:: garply".
446 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
447 with respect to PR c++/1111; note also PR c++/1113.
448 (test_template_breakpoints): KFAIL "constructor breakpoint" with
449 respect to PR c++/1062.
450 KFAIL "destructor breakpoint" with respect to PR c++/1112.
451
6ece72da
DC
4522003-03-03 David Carlton <carlton@math.stanford.edu>
453
454 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
455 with respect to PR c++/57.
456 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
457 c++/826.
458 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
459 respect to PR c++/57.
460
85ca1584
DC
4612003-03-03 David Carlton <carlton@math.stanford.edu>
462
463 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
464 respect to PR c++/33 into FAILs.
465
98e9c5b8
MC
4662003-03-03 Michael Chastain <mec@shout.net>
467
7bedbf27
MC
468 * configure.in: Update copyright years.
469
4702003-03-03 Michael Chastain <mec@shout.net>
471
472 * Makefile.in: Update copyright years.
98e9c5b8 473
f683e100
DC
4742003-02-28 David Carlton <carlton@math.stanford.edu>
475
476 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
477 print class instead of struct and/or superfluous protection
478 specifiers, as long as the resulting output is equivalent to the
479 source code.
480 Delete FIXME from end of messages on tests that don't need
481 fixing.
482
a9e0cf2c
DC
4832003-02-28 David Carlton <carlton@math.stanford.edu>
484
485 * gdb.c++/templates.exp (do_tests): Allow const in the two
486 Foo<volatile char *>::foo tests.
487
e8d359df
MS
4882003-02-27 Michael Snyder <msnyder@redhat.com>
489
490 * gdb.base/restore.c (main): Return zero, so exit code
491 will be consistant.
492
0b71dc91
DC
4932003-02-26 David Carlton <carlton@math.stanford.edu>
494
495 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
496 char *>::foo" test with respect to PR c++/33. Create a new test
497 which is identical to that one except that it doesn't put the
498 space between the "char" and the "*"; KFAIL it, too.
499
dd14ab43
DC
5002003-02-26 David Carlton <carlton@math.stanford.edu>
501
502 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
503 template types into either PASSes or KFAILs (corresponding to PR
504 c++/57). Tweak indentation. Update copyright.
505
1146c7f1
SC
5062003-02-23 Stephane Carrez <stcarrez@nerim.fr>
507
508 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
509
74641dfb
MC
5102003-02-13 Michael Chastain <mec@shout.net>
511
512 * gdb.base/exprs.exp: Remove i960 remnants.
513 * gdb.base/funcargs.exp: Likewise.
514 * gdb.base/list.exp: Likewise.
515 * gdb.base/ptype.exp: Likewise.
516
559cd2d0
DC
5172003-02-14 David Carlton <carlton@math.stanford.edu>
518
519 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
520 pEe->D::vg()" from XFAIL to KFAIL.
521
c4f90d87
JM
5222003-02-13 Jason Molenda (jmolenda@apple.com)
523
524 * gdb.base/maint.exp: Update maint print statistics regexp to include
525 new entries.
526
cbc4d97c
MC
5272003-02-13 Michael Chastain <mec@shout.net>
528
529 * gdb.c++/inherit.exp: Remove call to get_debug_format.
530
40f235b7
MC
5312003-02-12 Michael Chastain <mec@shout.net>
532
533 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
534 * gdb.c++/inherit.exp: Likewise.
535 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
536 * gdb.c++/templates.exp: Likewise.
537 * gdb.c++/virtfunc.exp: Likewise.
538
c56716b0
JM
5392003-02-06 Jason Molenda (jason-cl@molenda.com)
540
541 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
542 why the code is written that way.
543
070afcf8
MC
5442003-02-05 Michael Chastain <mec@shout.net>
545
546 * gdb.base/dump.exp: Add missing copyright line.
547
5d0331e5
JM
5482003-02-05 Jason Molenda (jason-cl@molenda.com)
549
f7ae6d3e 550 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
551 at the beginning so the breakpoint doesn't get set on the loop.
552
92851186
MC
5532003-02-05 Michael Chastain <mec@shout.net>
554
555 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
556 output for configurations with gcc 2.95.3.
557
cbf1e085
AC
5582003-02-05 Keith Seitz <keiths@redhat.com>
559 Andrew Cagney <ac131313@redhat.com>
560
561 * gdb.mi/mi-cli.exp: New file.
562
29518e1e
MC
5632003-02-04 Michael Chastain <mec@shout.net>
564
565 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
566 Call perror and then continue.
567
5af1d5f3
MC
5682003-02-03 Michael Chastain <mec@shout.net>
569
570 * gdb.c++/pr-1023.cc: New file.
571 * gdb.c++/pr-1023.exp: New file.
572
6b549786
JB
5732003-02-05 Jim Blandy <jimb@redhat.com>
574
575 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
576 it's local to foobar. Check for it there, and check that it's not
577 present in main.
578 * gdb.c++/local.cc (marker2): New function.
579 (foobar): Call marker1.
580 (main): Call marker2 instead of marker1.
581
67f16606
AC
5822003-02-04 Andrew Cagney <ac131313@redhat.com>
583
584 * gdb.disasm/mn10200.exp: Obsolete file.
585 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
586 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
587 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
588
1c5cb38e
DC
5892003-02-04 David Carlton <carlton@math.stanford.edu>
590
591 * gdb.c++/overload.exp: Test intToChar(1).
592 * gdb.c++/overload.cc (intToChar): New.
593 (main): Call intToChar.
594
d1fe6965
DC
5952003-02-03 David Carlton <carlton@math.stanford.edu>
596
597 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
598 'might_kfail' arg.
599 KFAIL some of the continue_to_bp_overloaded calls, according to
600 PR c++/1025.
601
9ba61c5d
MC
6022003-02-01 Michael Chastain <mec@shout.net>
603
604 * gdb.base/advance.c (marker1): New marker function.
605 * gdb.base/advance.exp: When the 'advance' command lands on the
606 return breakpoint, it can legitimately stop on either the
607 current line or the next line. Accommodate both outcomes.
608 * gdb.base/until.exp: Likewise.
609
e7494ffb
AC
6102003-02-02 Andrew Cagney <ac131313@redhat.com>
611
612 2002-11-10 Jason Molenda (jason-cl@molenda.com):
613 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
614 now a list, not a tuple.
615 * gdb.mi/mi-var-display.exp: Ditto.
616 * gdb.mi/gdb792.exp: Ditto.
617
075559bc
AC
6182003-02-01 Andrew Cagney <ac131313@redhat.com>
619
620 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
621 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
622 stack backtraces.
623 * gdb.mi/mi-syn-frame.c: Part of same.
624
2bd4c7b1
MK
6252003-02-01 Mark Kettenis <kettenis@gnu.org>
626
627 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
628 gdb.mi/mi1-pthreads.exp: Return instead of calling
629 gdb_suppress_entire_file.
630
eabd8992
MS
6312003-02-01 Mark Salter <msalter@redhat.com>
632
633 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
634
71469e2f
MS
6352003-01-31 Mark Salter <msalter@redhat.com>
636
637 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
638 Support empty arg.
639
38a94d44
MC
6402003-01-30 Michael Chastain <mec@shout.net>
641
642 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
643 This was a workaround for a UTF-8 bug in readline 4.3. The bug
644 has been fixed in gdb/readline on 2003-01-09.
645
19ea9e73
MS
6462003-01-29 Michael Snyder <msnyder@redhat.com>
647
e8d359df
MS
648 * gdb.base/maint.exp: Allow for leading underscore in symbol.
649 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
650 * gdb.base/args.exp: Skip if target does not support args passing.
651
2307bd6a
DJ
6522003-01-22 Daniel Jacobowitz <drow@mvista.com>
653
19ea9e73 654 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
655 gdb_test. Accept a list of expect arguments as the third
656 parameter.
657 (gdb_test): Use it.
658
f2dd3617
EZ
6592003-01-20 Elena Zannoni <ezannoni@redhat.com>
660
661 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
662 allow for different test tree configurations. Update some
663 tescases accordingly.
664 * gdb.arch/altivec-regs.exp: Ditto.
665 * gdb.asm/asm-source.exp: Ditto.
666 * gdb.base/advance.exp: Ditto.
667 * gdb.base/display.exp: Ditto.
668 * gdb.base/long_long.exp: Ditto.
669 * gdb.base/mips_pro.exp: Ditto.
670 * gdb.base/overlays.exp: Ditto.
671 * gdb.base/relocate.exp: Ditto.
672 * gdb.base/setshow.exp: Ditto.
673 * gdb.base/step-line.exp: Ditto.
674 * gdb.base/step-test.exp: Ditto.
675 * gdb.base/until.exp: Ditto.
676 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
677
c71cdefd
DC
6782003-01-17 David Carlton <carlton@math.stanford.edu>
679
680 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
681 corresponding to PR c++/945.
682 Update copyright.
683
fdba05d7
DC
6842003-01-17 David Carlton <carlton@math.stanford.edu>
685
686 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
687 corresponding to PR c++/68.
688
6892003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
690
691 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
692 (test_paddr_hairy_functions): Call print_addr_2_kfail for
693 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
694
c362c33a
EZ
6952003-01-15 Elena Zannoni <ezannoni@redhat.com>
696
0fbc361c
EZ
697 * gdb.base/break.exp: Fix change of default location, because of
698 removal of until tests.
699 * gdb.base/help.exp: Update test for new 'until' help message.
700 Add test for help on 'advance'.
c362c33a
EZ
701 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
702
dabf8a35
MK
7032003-01-15 Mark Kettenis <kettenis@gnu.org>
704
705 * gdb.base/default.exp: Adapt "info float" test for recent changes
706 to that command. Add test for "info vector".
707 * gdb.base/float.exp: New file. Add test for "info float" that
708 resembles the old test in gdb.base/default.exp.
709
a1769aca
DC
7102003-01-15 David Carlton <carlton@math.stanford.edu>
711
712 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
713
82025e13
EZ
7142003-01-15 Elena Zannoni <ezannoni@redhat.com>
715
716 * gdb.base/break.exp: Move the tests of until command from here...
717 * gdb.base/until.exp: ... to here. New file. Add other tests.
718 * gdb.base/advance.c: New file.
719 * gdb.base/advance.exp: New file.
720
8f9ab801
EZ
7212003-01-14 Elena Zannoni <ezannoni@redhat.com>
722
723 * gdb.base/args.c: New file.
724 * gdb.base/args.exp: New file.
725
9ae66589
DJ
7262003-01-14 Daniel Jacobowitz <drow@mvista.com>
727
728 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
729
8d77e5c3
DJ
7302003-01-14 Daniel Jacobowitz <drow@mvista.com>
731
732 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
733
12d2f0a1
DJ
7342003-01-14 Daniel Jacobowitz <drow@mvista.com>
735
736 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
737 dates.
738
6ca37014
DJ
7392003-01-13 Daniel Jacobowitz <drow@mvista.com>
740
741 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
742
b0023472
DJ
7432003-01-13 Daniel Jacobowitz <drow@mvista.com>
744
745 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
746 (ptype &*"foo").
747 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
748
d6abaea5
DJ
7492002-01-13 Daniel Jacobowitz <drow@mvista.com>
750
751 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
752 * gdb.mi/mi1-console.exp: Likewise.
753
dfd536a7
DJ
7542002-01-13 Daniel Jacobowitz <drow@mvista.com>
755
756 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
757 * gdb.mi/mi1-console.exp: Likewise.
758
a1fb14a2
DJ
7592003-01-13 Daniel Jacobowitz <drow@mvista.com>
760
761 * gdb.c++/overload.exp: Remove some fixed XFAILs.
762
c4cf40b7
DJ
7632003-01-09 Daniel Jacobowitz <drow@mvista.com>
764
765 * gdb.base/detach.exp: New test.
766
696d5a5b
DJ
7672003-01-09 Daniel Jacobowitz <drow@mvista.com>
768
769 * Makefile.in (ALL_SUBDIRS): New variable.
770 (subdirs, clean, distclean): Use it.
771 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
772 regenerating Makefile, since it is generated from the top level.
773 * gdb.asm/Makefile.in: Likewise.
774 * gdb.base/Makefile.in: Likewise.
775 * gdb.c++/Makefile.in: Likewise.
776 * gdb.disasm/Makefile.in: Likewise.
777 * gdb.java/Makefile.in: Likewise.
778 * gdb.mi/Makefile.in: Likewise.
779 * gdb.threads/Makefile.in: Likewise.
780 * gdb.trace/Makefile.in: Likewise.
781
754533e4
DC
7822003-01-09 David Carlton <carlton@math.stanford.edu>
783
784 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
785 Add copyright year 2003.
786
d8b3e9ee
MC
7872003-01-06 Michael Chastain <mec@shout.net>
788
789 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
790 When selecting a thread, 'line' and 'file' are optional.
791 * gdb.mi/mi1-pthreads.exp: Likewise.
792
8e9e0fe6
AS
7932003-01-06 Andreas Schwab <schwab@suse.de>
794
795 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
796 failures.
797
b5ab8ff3
DJ
7982003-01-04 Daniel Jacobowitz <drow@mvista.com>
799
800 Fix PR gdb/844
801 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
802 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
803
804 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
805 instead of calling gdb_suppress_entire_file.
806 * gdb.threads/print-threads.exp: Likewise.
807 * gdb.threads/schedlock.exp: Likewise.
808
809 * gdb.threads/killed.exp: Return instead of calling
810 gdb_suppress_entire_file.
811 * gdb.threads/linux-dp.exp: Likewise.
812 * gdb.threads/pthreads.exp: Likewise.
813
1e698235
DJ
8142003-01-04 Daniel Jacobowitz <drow@mvista.com>
815
816 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
817 stabs.
818 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
819 * gdb.base/whatis.exp: Always allow (void) after function names.
820
147ff08c
DJ
8212003-01-04 Daniel Jacobowitz <drow@mvista.com>
822
823 * gdb.c++/casts.exp: Correct regexp.
824
dc62bfc2
MK
8252003-01-04 Mark Kettenis <kettenis@gnu.org>
826
827 * configure.in: Call AC_CONFIG_HEADER. Don't call
828 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
829 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
830 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
831 aforementioned directories in the AC_OUPUT call.
832 * config.hin: New file.
833 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
834 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
835 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
836 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
837 pass -I$objdir instead of -I$objdir/$subdir in compilation.
838 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
839 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
840 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
841 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
842 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
843 gdb.threads/configure.in, gdb.threads/configure,
844 gdb.threads/config.in, gdb.trace/configure.in,
845 gdb.trace/configure: Removed.
846
77afa639
MC
8472003-01-03 Michael Chastain <mec@shout.net>
848
849 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
850 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
851
7634bb6e
DJ
8522003-01-03 Daniel Jacobowitz <drow@mvista.com>
853
854 * gdb.base/store.exp: Fix regular expressions.
855
b39c905e
MK
8562002-12-28 Mark Kettenis <kettenis@gnu.org>
857
858 * configure.in: Rewrite.
859 * configure: Regenerated.
860
0a8551dd
DC
8612003-01-03 David Carlton <carlton@math.stanford.edu>
862
863 * gdb.base/psymtab.exp: New file.
864 * gdb.base/psymtab1.c: Ditto.
865 * gdb.base/psymtab2.c: Ditto.
866
c60b7188
AF
8672002-12-23 Adam Fedor <fedor@gnu.org>
868
869 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
870
ee73db83
DC
8712002-12-23 David Carlton <carlton@math.stanford.edu>
872
873 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
874 and current_directory initialization.
875
d6c1774e
JB
8762002-12-22 Jim Blandy <jimb@redhat.com>
877
f0a847b8
JB
878 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
879 rather than as part of the output file name.
880
d6c1774e
JB
881 * gdb.base/attach.exp: There's no need to copy the test program to
882 /tmp; that was only ever necessary on HP/UX, and this test is
883 entirely disabled there anyway.
884
f0708dbb
JB
8852002-12-21 Jim Blandy <jimb@redhat.com>
886
4c2acfea
JB
887 * gdb.c++/psmang.exp: Doc fix.
888
f0708dbb
JB
889 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
890 test.
891
9579e000
DC
8922002-12-20 David Carlton <carlton@math.stanford.edu>
893
894 * gdb.c++/annota2.exp: KFAIL annotate-quit.
895
d1810171
MC
8962002-12-18 Michael Chastain <mec@shout.net>
897
898 * gdb.c++/annota2.exp: Add copyright year 2002.
899
76565097
DC
9002002-12-17 David Carlton <carlton@math.stanford.edu>
901
902 * gdb.c++/try_catch.cc: Add marker comments.
903 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
904 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
905 * gdb.c++/m-static.cc: Ditto.
906 * gdb.c++/m-static1.cc: Ditto.
907 * gdb.c++/try_catch.cc: Ditto.
908
da81390b
JJ
9092002-12-16 Jeff Johnston <jjohnstn@redhat.com>
910
911 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
912 to see whether we are using the new -environment-directory
913 command which resets via -r or the old version of the command
914 which may prompt the user. Part of fix for gdb/741.
915
b304d130
AC
9162002-12-13 Andrew Cagney <ac131313@redhat.com>
917
918 * gdb.fortran/types.exp: Update obsolete comment.
919 * gdb.fortran/exprs.exp: Ditto.
920 * lib/gdb.exp: Delete obsolete code.
921 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
922 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
923 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
924 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
925 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
926 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
927 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
928 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
929 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
930 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
931 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
932 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
933 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
934 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
935 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
936 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
937 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
938 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
939 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
940 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
941 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
942 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
943 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
944 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
945 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
946 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
947 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
948 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
949 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
950 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
951 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
952 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
953 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
954 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
955 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
956 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
957 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
958
a23b6e6a
DC
9592002-12-11 David Carlton <carlton@math.stanford.edu>
960
961 * gdb.c++/m-data.exp: Add test for members that shadow global
962 variables: see PR gdb/804.
963 * gdb.c++/m-data.cc: Ditto.
964
6604731b
DJ
9652002-12-10 Daniel Jacobowitz <drow@mvista.com>
966
967 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
968
de46ecd7
DC
9692002-12-06 David Carlton <carlton@math.stanford.edu>
970
971 * gdb.base/store.c: Don't declare functions static.
972
27e829d0
AC
9732002-12-04 Andrew Cagney <ac131313@redhat.com>
974
975 * gdb.base/store.exp, gdb.base/store.c: New files.
976
92806416
DJ
9772002-12-03 Daniel Jacobowitz <drow@mvista.com>
978
979 * gdb.base/selftest.exp: Update for current gdb.
980
3bcbaac5
DJ
9812002-12-03 Daniel Jacobowitz <drow@mvista.com>
982
983 * gdb.base/maint.exp: Only dump symbols from one source file
984 or objfile.
985
f4f00b1f
DJ
9862002-12-03 Daniel Jacobowitz <drow@mvista.com>
987
988 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
989 function call.
990
f1c8a949
JB
9912002-11-25 Jim Blandy <jimb@redhat.com>
992
993 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
994 function appearing in error message.
995
9e297a97
DJ
9962002-11-21 Daniel Jacobowitz <drow@mvista.com>
997
998 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
999
1f312e79
JJ
10002002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1001
1002 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1003 for mi1 and current mi is in correct format. New mi startup message
1004 should be in mi console format. This is part of fix for PR gdb/604.
1005
83c31e7d
FN
10062002-09-18 Fernando Nasser <fnasser@redhat.com>
1007
1008 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1009 which explicitly prints the zero offset as "+0".
1010
322b3f65
DJ
10112002-10-22 Daniel Jacobowitz <drow@mvista.com>
1012
1013 * gdb.threads/schedlock.c (args): Make unsigned.
1014
10152002-10-21 Daniel Jacobowitz <drow@mvista.com>
1016
1017 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1018 numbers. Allow "foo2|selected stack frame".
1019 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1020 * gdb.asm/asmsrc2.s: Likewise.
1021 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1022 comments.
1023 * gdb.asm/mips.inc: New file.
1024
5e2fe5b8
AF
10252002-10-18 Adam Fedor <fedor@gnu.org>
1026
1027 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1028 * gdb.base/help.exp: Likewise.
1029
abe1a5d0
KB
10302002-10-17 Kevin Buettner <kevinb@redhat.com>
1031
1032 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1033 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1034
10abb1d4
JB
10352002-10-02 Jim Blandy <jimb@redhat.com>
1036
1037 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1038
1f609b42
AC
10392002-10-01 Andrew Cagney <ac131313@redhat.com>
1040
1041 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1042 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1043 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1044 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1045 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1046 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1047 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1048
0aee02e4
AC
10492002-09-29 Andrew Cagney <ac131313@redhat.com>
1050
1051 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1052 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1053 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1054 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1055 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1056 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1057 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1058
6fde09ad
KB
10592002-09-27 Kevin Buettner <kevinb@redhat.com>
1060
1061 * gdb.base/annota1.exp (info break): Make directory components of
1062 path optional since not all compilers emit this debug information.
1063
1064 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1065 step ends up stepping out of the function instead of stopping on
1066 the epilogue.
1067
9e8aab75
KS
10682002-09-26 Keith Seitz <keiths@redhat.com>
1069
1070 * lib/insight-support.exp (gdbtk_start): Figure out where
1071 the insight executable is based on where gdb is. Use this
1072 executable to start insight instead of gdb.
1073
e36180d7
AC
10742002-09-25 Andrew Cagney <cagney@redhat.com>
1075
1076 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1077
9dd34b2b
AC
10782002-09-24 Andrew Cagney <ac131313@redhat.com>
1079
1080 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1081 test_isolated_complaints.
1082 (test_empty_complaint): New function.
1083 (test_empty_complaints): New function. Check no output when no
1084 complaints.
1085
dea97812
KB
10862002-09-19 Jim Blandy <jimb@redhat.com>
1087
1088 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1089
54951bd7
AC
10902002-09-19 Andrew Cagney <ac131313@redhat.com>
1091
1092 * gdb.gdb/complaints.exp: New file.
1093
dec43320
AC
10942002-09-18 Andrew Cagney <ac131313@redhat.com>
1095
1096 * gdb.base/maint.exp: Check `help maint internal-warning'.
1097
e70d6e3f
DC
10982002-09-18 David Carlton <carlton@math.stanford.edu>
1099
1100 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1101 numbers, and replace them by a single breakpoint after the
1102 constructors are all finished.
1103 Add test 4.
1104 * gdb.c++/m-static.cc: Add test 4.
1105 * gdb.c++/m-static.h: New file.
1106 * gdb.c++/m-static1.cc: New file.
1107
1108 * gdb.c++/printmethod.exp: New file.
1109 * gdb.c++/printmethod.cc: New file.
1110
1111 * gdb.c++/pr-574.exp: New file.
1112 * gdb.c++/pr-574.cc: New file.
1113
afb5c968
CV
11142002-09-18 Corinna Vinschen <vinschen@redhat.com>
1115
1116 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1117 embedded targets which never actually exit.
1118
31e45dee
FN
11192002-09-18 Fernando Nasser <fnasser@redhat.com>
1120
1121 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1122 "don't step after run" as unresolved or unsupported, instead of xfail.
1123
a283c5a1
CV
11242002-09-18 Corinna Vinschen <vinschen@redhat.com>
1125
1126 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1127 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1128 Add newline to expected string in "step out of main (status wrapper)"
1129 case.
1130
11350d2a
CV
11312002-09-18 Corinna Vinschen <vinschen@redhat.com>
1132
1133 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1134 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1135
0deec7d6
TT
11362002-09-17 Tom Tromey <tromey@redhat.com>
1137
1138 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1139 \000, not \0, in double-quoted string.
1140
b2b4a1b5
CV
11412002-09-14 Corinna Vinschen <vinschen@redhat.com>
1142
1143 * gdb.base/command.exp: Don't expect a "Program exited normally"
1144 string after running the commands execution on breakpoint tests.
1145
1c56143a
CV
11462002-09-13 Corinna Vinschen <vinschen@redhat.com>
1147
1148 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1149
37f8da45
JB
11502002-09-12 Joel Brobecker <brobecker@gnat.com>
1151
1152 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1153
08b468e0
KS
11542002-09-10 Keith Seitz <keiths@redhat.com>
1155
1156 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1157 runto proc.
1158 (mi_run_to_main): Use mi_runto.
1159 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1160
dc360f58
KS
11612002-09-10 Keith Seitz <keiths@redhat.com>
1162
1163 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1164 regexp for stopping at main. Could have multiple event notifications.
1165 Don't assume that main was declared with no parameters.
1166 (mi_next): Use mi_step_to.
1167 (mi_step): Use mi_next_to.
1168
ce3abcfb
CV
11692002-09-09 Corinna Vinschen <vinschen@redhat.com>
1170
1171 * gdb.base/default.exp: Fix expected string in `info float' test.
1172
d1f5b980
BE
11732002-09-09 Ben Elliston <bje@redhat.com>
1174
1175 * config/mips.exp: Update comments.
1176 * config/mips-idt.exp: Likewise.
1177 * config/nind.exp: Likewise.
1178 * config/slite.exp: Likewise.
1179 * config/sparclet.exp: Likewise.
1180 * config/udi.exp: Likewise.
1181 * config/vx.exp: Likewise.
1182 * config/vxworks29k.exp: Likewise.
1183
2f71430b
JB
11842002-09-05 Jim Blandy <jimb@redhat.com>
1185
1186 * gdb.threads/killed.exp: Fix test failure message.
1187
7ddebc7e
KS
11882002-09-04 Keith Seitz <keiths@redhat.com>
1189
1190 * lib/mi-support.exp: Update copyright.
1191 (mi_gdb_test): Increase the priority of the expected pattern
1192 so that it matches gdb_test.
1193
0ae67eb3
KS
11942002-09-03 Keith Seitz <keiths@redhat.com>
1195
1196 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1197 Use integer comparison instead of string comparison for testing
1198 whether binary was built.
1199
38fc42c8
JB
12002002-09-03 Jim Blandy <jimb@redhat.com>
1201
1202 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1203
b6ff0e81
JB
12042002-08-29 Jim Blandy <jimb@redhat.com>
1205
1206 * gdb.threads/pthreads.exp: Move the portable thread compilation
1207 code into a function in lib/gdb.exp, and call that from here.
1208 * lib/gdb.exp (gdb_compile_pthreads): New function.
1209
07c98896
KS
12102002-08-29 Keith Seitz <keiths@redhat.com>
1211
1212 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1213 expect_out so that callers can get at it.
1214
0312286c
DJ
12152002-08-23 Daniel Jacobowitz <drow@mvista.com>
1216
1217 * gdb.threads/print-threads.c: New file.
1218 * gdb.threads/print-threads.exp: New file.
1219 * gdb.threads/schedlock.c: New file.
1220 * gdb.threads/schedlock.exp: New file.
1221
dd039bc4
EZ
12222002-08-22 Elena Zannoni <ezannoni@redhat.com>
1223
1224 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1225 not altivec.c.
1226
1f36144c
MK
12272002-08-17 Mark Kettenis <kettenis@gnu.org>
1228
1229 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1230 targets. The problem should be fixed now.
1231
16057ec7 12322002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1233
1234 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1235 2002-07-24 change that removes final dots from error messages.
1236
3c1499ad
TT
12372002-08-13 Tom Tromey <tromey@redhat.com>
1238
1239 * gdb.base/readline.exp: New file.
1240
a20ce2c3
AC
12412002-08-01 Andrew Cagney <ac131313@redhat.com>
1242
1243 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1244 supress message.
1245
db034ac5
AC
12462002-08-01 Andrew Cagney <cagney@redhat.com>
1247
1248 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1249 CHILL_FOR_TARGET and CHILL_LIB.
1250 * configure.in (configdirs): Remove gdb.chill.
1251 * configure: Regenerate.
1252 * lib/gdb.exp: Obsolete references to chill.
1253 * gdb.fortran/types.exp: Ditto.
1254 * gdb.fortran/exprs.exp: Ditto.
1255
3e000b18
KB
12562002-07-30 Kevin Buettner <kevinb@redhat.com>
1257
1258 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1259 set Irix-specific compile and link flags.
1260
28f4966b
KB
12612002-07-29 Kevin Buettner <kevinb@redhat.com>
1262
1263 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1264 source files. The ``-o'' option doesn't work with the ``-E'' option
1265 when using the Irix compiler.
1266
46c0d5a6
DJ
12672002-07-19 Daniel Jacobowitz <drow@mvista.com>
1268
1269 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1270 Improve support for reusing an exec file. Copy exec file
1271 to target, and run gdbserver on the target instead of on the host.
1272
eecf4bed
JB
12732002-07-18 Jim Blandy <jimb@redhat.com>
1274
0f815cdf
JB
1275 * gdb.base/ending-run.exp: Don't expect to see the program end in
1276 some orderly fashion when we're running on a real stand-alone
1277 board.
1278
eecf4bed
JB
1279 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1280 targets that don't support interrupts.
1281
52d309e4
JB
12822002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1283
1284 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1285 systems.
1286 Move comments in expect statements to inside the actions, so that they
1287 don't get matched against.
1288
ff683d9e
MK
12892002-07-10 Mark Kettenis <kettenis@gnu.org>
1290
1291 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1292 function when asleep" test.
1293
b5356753
AC
12942002-07-10 Andrew Cagney <ac131313@redhat.com>
1295
1296 * gdb.base/page.exp: Rewrite to handle problems with very long
1297 `info set' output. Update copyright.
1298
6aa4d13a
AC
12992002-06-26 Andrew Cagney <ac131313@redhat.com>
1300
1301 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1302 gdb.threads-hp.
1303 * gdb.hp/configure: Regenerate.
1304 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1305 * gdb.hp/gdb.threads-hp/configure: Delete file.
1306 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1307
8cf8c2b8
AC
13082002-06-22 Andrew Cagney <ac131313@redhat.com>
1309
1310 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1311 setlocale, bindtextdomain and textdomain.
1312
6827a8f8
JB
13132002-06-11 Jim Blandy <jimb@redhat.com>
1314
919d772c
JB
1315 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1316 preprocessor macro information is present.
1317
6827a8f8
JB
1318 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1319 tests.
1320
c15b0d21
MS
13212002-06-06 Michael Snyder <msnyder@redhat.com>
1322
c5984d70
MS
1323 * gdb.base/overlays.exp: Record addresses of overlay
1324 functions in TCL variables rather than in GDB variables,
1325 to avoid having GDB convert them to pointers (with loss
1326 of information).
1327
99a8512b
MS
1328 * gdb.base/d10v.ld: Merge in several years worth of
1329 default linker script changes.
c15b0d21
MS
1330 * gdb.base/long_long.exp: Add check for sizeof (long double).
1331
be26fe0d
ML
13322002-06-06 Michal Ludvig <mludvig@suse.cz>
1333
1334 * gdb.asm/asm-source.exp: Add x86-64 target.
1335 * gdb.asm/x86_64.inc: New.
1336
258093ca 13372002-05-30 Michael Chastain <mec@shout.net>
258093ca 1338
4b3153f1 1339 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1340 * gdb.c++/m-static.cc: New file.
1341 * gdb.c++/m-static.exp: New file.
1342
241264c6
MS
13432002-05-28 Michael Snyder <msnyder@redhat.com>
1344
1345 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1346 precision.
1347
9bba8c8f 13482002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1349
4b3153f1 1350 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1351 * gdb.c++/m-data.cc: New file.
1352 * gdb.c++/m-data.exp: New file.
1353
13542002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1355
4b3153f1 1356 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1357 * gdb.c++/try_catch.cc: New file.
1358 * gdb.c++/try_catch.exp: New file.
1359
def1b996
MC
13602002-05-27 Michael Chastain <mec@shout.net>
1361
1362 * gdb.c++/local.exp: Accept more nested types in output.
1363
522ba268
MC
13642002-05-26 Michael Chastain <mec@shout.net>
1365
1366 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1367
277254ba
MS
13682002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1369
1370 * lib/gdb.exp (gdb_wrapper_init): Just because
1371 gdb_wrapper_file exists, this does not mean that the file
1372 should not be rebuilt. That is what gdb_wrapper_initialized
1373 is for.
1374 (default_gdb_init): Reset gdb_wrapper_initialized.
1375
b61a8733
MS
13762002-05-23 Michael Snyder <msnyder@redhat.com>
1377
5bdb6d01
MS
1378 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1379 the precision of the floating point test results.
1380 * gdb.base/call-rt-st.exp: Ditto.
1381
b61a8733
MS
1382 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1383 * gdb.base/call-rt-st.exp: Ditto.
1384
56f6e910
MC
13852002-05-19 Michael Chastain <mec@shout.net>
1386
1387 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1388
ad0b0016
EZ
13892002-05-19 Elena Zannoni <ezannoni@redhat.com>
1390
1391 * configure.in (configdirs): Add gdb.arch.
1392 * configure: Regenerate.
1393
f617d2b6
JB
13942002-05-17 Jim Blandy <jimb@redhat.com>
1395
1396 * gdb.base/completion.exp: Recognize the more detailed error
1397 messages produced by the macro expander's lexical analyzer.
1398
eac2a696
EZ
13992002-05-14 Elena Zannoni <ezannoni@redhat.com>
1400
1401 * gdb.arch/altivec-abi.c: New file.
1402 * gdb.arch/altivec-abi.exp: New file.
1403 * gdb.arch/altivec-regs.c: New file.
1404 * gdb.arch/altivec-regs.exp: New file.
1405
2fdde8f8
DJ
14062002-05-14 Daniel Jacobowitz <drow@mvista.com>
1407
1408 * gdb.base/maint.exp (maint print type): Update for new type
1409 structure.
eac2a696 1410
e31f1a7c
EZ
14112002-05-14 Elena Zannoni <ezannoni@redhat.com>
1412
1413 * gdb.arch: New directory.
1414 * gdb.arch/configure.in: New file.
1415 * gdb.arch/configure: New file.
1416 * gdb.arch/Makefile.in: New file.
1417
db589741
CV
14182002-05-13 Corinna Vinschen <vinschen@redhat.com>
1419
1420 * gdb.asm/asm-source.exp: Add v850 as supported target.
1421 * gdb.asm/v850.inc: New file.
1422
8ce2a7dc
DJ
14232002-05-13 Daniel Jacobowitz <drow@mvista.com>
1424
1425 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1426
df763c7f
DJ
14272002-05-12 Daniel Jacobowitz <drow@mvista.com>
1428
1429 * gdb.base/break.exp: Check 'break "marker2"'.
1430
377daeed
MS
14312002-05-10 Michael Snyder <msnyder@redhat.com>
1432
1433 * gdb.base/long_long.exp: Fix typo.
1434
c4b7bc2b
JB
14352002-05-10 Jim Blandy <jimb@redhat.com>
1436
ecac9a4e
JB
1437 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1438 a bug.
1439
c4b7bc2b
JB
1440 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1441 Recognize more detailed error message produced by the macro
1442 expander's lexical analyzer.
1443 * lib/gdb.exp (test_print_reject): Same.
1444
e71019a1
MK
14452002-05-09 Mark Kettenis <kettenis@gnu.org>
1446
1447 * gdb.c++/method.exp: Fix typo.
1448
fedfc8e6
MS
14492002-05-08 Michael Snyder <msnyder@redhat.com>
1450
166a1957
MS
1451 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1452 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1453 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1454 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1455 Add iftarget clause for strongarm.
1456
f1c47eb2
MS
14572002-05-06 Michael Snyder <msnyder@redhat.com>
1458
cb9a9d3e
MS
1459 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1460 (gdb_continue_to_end): Accept output from status wrapper.
1461 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1462 Clean up fail messages to match pass messages.
1463
f1c47eb2
MS
1464 Enable the "needs_status_wrapper" testsuite feature.
1465 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1466 (gdb_compile): Conditionally call gdb_wrapper_init.
1467 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1468 * gdb.c++/method.exp: Recognize output from status wrapper.
1469
6079c749
BE
14702002-05-06 Ben Elliston <bje@redhat.com>
1471From Graydon Hoare <graydon@redhat.com>
1472
1473 * config/sid.exp: Include support for "rawsid" protocol.
1474
188baff3
JB
14752002-05-03 Jim Blandy <jimb@redhat.com>
1476
1477 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1478 * gdb.c++/hang3.C: New file.
1479
b9c07f0f
AC
14802002-05-04 Andrew Cagney <ac131313@redhat.com>
1481
1482 * gdb.base/default.exp: Remove obsolete code.
1483 * gdb.c++/misc.exp: Ditto. Update copyright.
1484 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1485 * gdb.base/whatis.exp: Ditto. Update copyright.
1486 * gdb.base/scope.exp: Ditto. Update copyright.
1487 * gdb.base/ptype.exp: Ditto. Update copyright.
1488 * gdb.base/printcmds.exp: Ditto. Update copyright.
1489 * gdb.base/opaque.exp: Ditto. Update copyright.
1490 * gdb.base/list.exp: Ditto.
1491 * gdb.base/funcargs.exp: Ditto. Update copyright.
1492 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1493 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1494 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1495 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1496 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1497 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1498
5c7a0397
MS
14992002-05-02 Michael Snyder <msnyder@redhat.com>
1500
d6dcc264 1501 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1502 * gdb.base/long_long.exp: Add xscale target.
1503 * gdb.base/default.exp: Add xscale target.
1504
eb7f1c48
JB
15052002-05-01 Jim Blandy <jimb@redhat.com>
1506
1507 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1508 gdb.c++/hang.exp: New test.
1509
a6befae8
FF
15102002-05-01 Fred Fish <fnf@redhat.com>
1511
1512 * gdb.base/completion.exp: Handle completions of "./Make" for
1513 more than one completion possibility, as is the case when we
1514 build and test in the source tree.
1515
0a310277
AG
15162002-04-29 Anthony Green <green@redhat.com>
1517
1518 * gdb.java/jmisc1.exp: New file.
1519 * gdb.java/jmisc2.exp: New file.
1520
6ff9af88
DJ
15212002-04-24 Daniel Jacobowitz <drow@mvista.com>
1522
1523 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1524
96b3d632
EZ
15252002-04-23 Elena Zannoni <ezannoni@redhat.com>
1526
1527 * gdb.base/help.exp: Change 'help status' to allow for target
1528 dependent output differences.
1529
5019bb54
MC
15302002-04-22 Michael Chastain <mec@shout.net>
1531
1532 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1533
a805a116
MC
15342002-04-22 Michael Chastain <mec@shout.net>
1535
1536 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1537
a1706bfd
DM
15382002-04-17 David S. Miller <davem@redhat.com>
1539
1540 * gdb.asm/sparc64.inc: New file.
1541 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1542
a73a20a2
EZ
15432002-04-19 Elena Zannoni <ezannoni@redhat.com>
1544
1545 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1546 instruction file directly into the build tree. Clean up at end of
1547 test.
1548
ba678339
DM
15492002-04-18 David S. Miller <davem@redhat.com>
1550
1551 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1552 handle 64-bit platforms correctly.
1553 * gdb.base/maint.exp: Likewise.
1554
b03399da
KB
15552002-04-18 Kevin Buettner <kevinb@redhat.com>
1556
1557 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1558 ``-fpic'' when compiling files comprising a shared library, but
1559 it does need additional linker flags in order to find shared
1560 libraries at run time.
1561
e2004992
KB
15622002-04-18 Kevin Buettner <kevinb@redhat.com>
1563
1564 * gdb.base/cvexpr.c (use): New function.
1565 (main): Invoke use() on all global variables to prevent
1566 some linkers from deleting these otherwise unused symbols.
1567
d8937120
MC
15682002-04-17 Michael Chastain <mec@shout.net>
1569From David S. Miller <davem@redhat.com>
1570
1571 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1572 handle 64-bit platforms correctly.
1573
ffd61a58
MS
15742002-04-12 Michael Snyder <msnyder@redhat.com>
1575From Jim Blandy <jimb@redhat.com>
1576 * gdb.base/foo.c (foox): Remove section attribute; the linker
1577 script can handle this instead.
1578 * gdb.base/bar.c (barx): Same.
1579 * gdb.base/baz.c (bazx): Same.
1580 * gdb.base/grbx.c (grbxx): Same.
1581
1582 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1583 manager doesn't automatically unmap overlays unnecessarily.
1584
6b8426a6
MH
15852002-04-10 Martin M. Hunt <hunt@redhat.com>
1586
1587 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1588 stepping out of main.
1589
34af4875
MC
15902002-04-09 Michael Chastain <mec@shout.net>
1591
1592 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1593 scope so that the nested scope tests will make sense.
1594 * gdb.c++/local.exp: Write patterns that actually work with gcc
1595 (the HP patterns "were never known to work with gcc").
1596 Keep the old aCC patterns too.
1597
2d1676a0
DJ
15982002-04-09 Daniel Jacobowitz <drow@mvista.com>
1599
1600 * gdb.base/attach.exp: Correct target board test.
1601
3a63e3f9
MC
16022002-04-08 Michael Chastain <mec@shout.net>
1603
1604 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1605 in a const method. Add some xfail and fail cases for configurations
1606 that do not emit the "const ...".
1607
f18dabd2
MC
16082002-04-07 Michael Chastain <mec@shout.net>
1609
1610 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1611 Accept "A * const" and "const A * const" as type of "this".
1612 Fix spelling of getFunky throughout. Make messages uniform.
1613
0fcddd82
EZ
16142002-04-07 Elena Zannoni <ezannoni@redhat.com>
1615
1616 Work around for PR gdb/285:
1617 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1618
16a8534a
EZ
16192002-04-07 Elena Zannoni <ezannoni@redhat.com>
1620
1621 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1622 instructions file at run time instead of configure time.
1623 Sometimes we run the test in a directory that is not the one we
1624 configured in.
1625 * gdb.asm/configure.in: Delete creation of symlink.
1626 * gdb.asm/configure: Regenerate.
1627
24181d81
JB
16282002-04-05 J. Brobecker <brobecker@gnat.com>
1629
1630 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1631 xfullpath () function.
1632
7cdb7107
DJ
16332002-04-04 Daniel Jacobowitz <drow@mvista.com>
1634
1635 * gdb.asm/Makefile.in: Correct dependencies.
1636
1637 * gdb.asm/powerpc.inc: New file.
1638 * gdb.asm/asm-source.exp: Add PowerPC.
1639 * gdb.asm/configure.in: Likewise.
1640 * gdb.asm/configure: Regenerated.
1641
a7d17088
DJ
16422002-04-04 Daniel Jacobowitz <drow@mvista.com>
1643
1644 * gdb.base/relocate.exp: New file.
1645 * gdb.base/relocate.c: New file.
1646
cd721503
FF
16472002-04-04 Fred Fish <fnf@redhat.com>
1648
1649 * gdb.base/step-test.exp: Update comment regarding stopping in
1650 memcpy/bcopy calls inserted as part of the compiler runtime.
1651
b22ad7a7
MS
16522002-04-04 Michael Snyder <msnyder@redhat.com>
1653
1654 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1655
5f279fa6
DJ
16562002-04-03 Daniel Jacobowitz <drow@mvista.com>
1657
1658 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1659 (gdb_expect): Remove $notransfer hack.
1660
dd0fd3ce
DJ
16612002-04-02 Daniel Jacobowitz <drow@mvista.com>
1662
1663 * gdb.c++/classes.exp ("calling method for small class"): Match
1664 updated register output.
1665
1e50cda1
DJ
16662002-03-30 Daniel Jacobowitz <drow@mvista.com>
1667
1668 Fix PR gdb/452
1669 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1670 when finished. Make gdb_file_cmd send "exec-file" when
1671 appropriate.
1672
24015922
DJ
16732002-03-30 Daniel Jacobowitz <drow@mvista.com>
1674
1675 * gdb.base/attach.exp: Remove extra setup_xfail.
1676
dd7dfd64
MS
16772002-03-26 Michael Snyder <msnyder@redhat.com>
1678
1679 * gdb.base/default.exp: Add tests for dump, append, and restore.
1680 * gdb.base/help.exp: Add tests for dump, append, and restore.
1681 * gdb.base/dump.exp: New file, test dump, append and restore.
1682 * gdb.base/dump.c: New file.
1683
48b2f8d7
MS
16842002-03-27 Michael Snyder <msnyder@redhat.com>
1685
1686 * gdb.base/help.exp: Modify expect strings to reflect
1687 clean-ups in help messages.
1688
05b4d525
FF
16892002-03-26 Fred Fish <fnf@redhat.com>
1690
1691 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1692 have debugging info for those functions and the compiler uses them
1693 internally to copy structs around.
1694
d7679631
FF
16952002-03-26 Fred Fish <fnf@redhat.com>
1696
1697 * gdb.base/list.exp: Revert the change made yesterday and add note
1698 about why we don't list the default lines for remote targets.
1699
523ac3f9
MS
17002002-03-25 Michael Snyder <msnyder@redhat.com>
1701
1702 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1703
754b2b8d
FF
17042002-03-25 Fred Fish <fnf@redhat.com>
1705
1706 * gdb.base/list.exp: This test works on remote targets so remove
1707 the short circuit for remote targets. Update copyright.
1708
33c3e192
FF
17092002-03-25 Fred Fish <fnf@redhat.com>
1710
1711 * gdb.base/attach.exp: Fix logic error that was suppressing this
1712 test for all non hppa*-*-hpux* targets, instead of the hp target.
1713 Move comments closer to the suppression point. Also now need to
1714 check that we are running natively.
1715
d43e73ee
MS
17162002-03-22 Michael Snyder <msnyder@redhat.com>
1717
882c8f02
MS
1718 * gdb.base/default.exp: Add test for gcore. Update copyright.
1719 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1720
04c12f60
FF
17212002-03-06 Fred Fish <fnf@redhat.com>
1722
1723 * gdb.base/funcargs.c: Remove extraneous ';' character.
1724 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1725
b43df995
MC
17262002-03-04 Michael Chastain <mec@shout.net>
1727
1728 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1729 accommodate gcc v3 function signature.
1730 * gdb.mi/mi0-var-cmd-exp: Ditto.
1731
92362027
AC
17322002-02-24 Andrew Cagney <ac131313@redhat.com>
1733
1734 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1735 ``GNU/Linux'' or ``Linux kernel''
1736 * testsuite/gdb.threads/pthreads.c: Ditto.
1737
258ad32d
MC
17382002-02-24 Michael Chastain <mec@shout.net>
1739
1740 * gdb.threads/pthreads.c (thread1): Add a return statement.
1741 (thread2): Likewise.
1742 (foo): Likewise.
1743
04c3b3d4
MC
17442002-02-23 Michael Chastain <mec@shout.net>
1745
1746 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1747 to placate gcc.
1748
5a2a0a20
MC
17492002-02-23 Michael Chastain <mec@shout.net>
1750
1751 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1752 test "ptype bint". The test passes on all my stabs configurations.
1753
a640f7fc
JB
17542002-02-21 Jim Blandy <jimb@redhat.com>
1755
27924826
JB
1756 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1757 filename at a time, and watch for the ones we want to see.
1758
a640f7fc
JB
1759 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1760 types of pointers to prototyped functions.
1761
edcc8c75
AC
17622002-02-20 Andrew Cagney <ac131313@redhat.com>
1763
1764 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1765 signed, unsigned and straight char.
1766 (padding_char, padding_short, padding_int, padding_long,
1767 padding_long_long, padding_float, padding_double,
1768 padding_long_double): New global variables.
1769 (fill, fill_structs): New functions.
1770
1771 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1772 for correctly sized writes. Update copyright.
1773 (get_valueof): New procedure.
1774 (get_sizeof): Call get_valueof.
1775 (check_valueof): New procedure.
1776 (check_padding): New procedure.
1777
ac57ea44
MC
17782002-02-20 Michael Chastain <mec@shout.net>
1779
1780 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1781 to setup_xfail. Document some of the remaining calls.
1782
7a10c941
MC
17832002-02-18 Michael Chastain <mec@shout.net>
1784
1785 * gdb.c++/userdef.exp: Update copyright year.
1786
fb8acdcc
DJ
17872002-02-18 Daniel Jacobowitz <drow@mvista.com>
1788
1789 * gdb.c++/userdef.exp: Test overloaded operators properly.
1790 Remove xfails.
1791
fda6ae12
MS
17922002-02-14 Michael Snyder <msnyder@redhat.com>
1793
1794 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1795
676a0442
DJ
17962002-02-14 Daniel Jacobowitz <drow@mvista.com>
1797
1798 * gdb.base/a2-run.exp: Check for a remote target properly.
1799 * gdb.base/annota1.exp: Likewise.
1800 * gdb.base/list.exp: Likewise.
1801 * gdb.base/reread.exp: Likewise.
1802 * gdb.base/scope.exp: Likewise.
1803 * gdb.base/shlib-call.exp: Likewise.
1804 * gdb.base/term.exp: Likewise.
1805 * gdb.c++/annota2.exp: Likewise.
1806
78b4f468
RE
18072002-02-13 Richard Earnshaw <rearnsha@arm.com>
1808
1809 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1810
9a81ba51
MC
18112002-02-10 Michael Chastain <mec@shout.net>
1812
1813 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1814 (call_after_alloca): Ditto.
1815
004af6c7
DJ
18162002-02-10 Daniel Jacobowitz <drow@mvista.com>
1817
1818 * gdb.base/ending-run.exp: Guard "cont" test with
1819 gdb_skip_stdio_test.
1820
37225f62
JB
18212002-02-06 Jim Blandy <jimb@redhat.com>
1822
1823 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1824 from here...
1825 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1826 To here. Disable this test on non-HP platforms. Add big comment.
1827
fe6fdd96
MS
18282002-02-04 Michael Snyder <msnyder@redhat.com>
1829
1830 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1831 other than d10v and m32r.
1832
036fad3f
RE
18332002-02-02 Richard Earnshaw <rearnsha@arm.com>
1834
1835 * gdb.base/default.exp: Rewrite test patterns to reduce time
1836 taken to match them.
1837
7148ab62
DJ
18382002-01-30 Daniel Jacobowitz <drow@mvista.com>
1839
1840 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1841 Allow a start function above main.
1842 * gdb.threads/linux-dp.exp: Fix copyright date.
1843
396cc255
DJ
18442002-01-30 Daniel Jacobowitz <drow@mvista.com>
1845
1846 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1847 (check_philosopher_stack): Check for manager thread before checking
1848 for a just-starting thread.
1849
f038d31b
DJ
18502002-01-30 Daniel Jacobowitz <drow@mvista.com>
1851
1852 From Neil Booth <neil@daikokuya.demon.co.uk>:
1853 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1854 warnings.
1855
b3ff9d9a
FF
18562002-01-21 Fred Fish <fnf@redhat.com>
1857
1858 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1859 not caller.
1860
39ad761d
JB
18612002-01-21 Jim Blandy <jimb@redhat.com>
1862
1863 * gdb.base/reread.exp: Check that GDB properly re-reads the
1864 executable file when it changes while no inferior is running.
1865
aaf320fa
FF
18662002-01-21 Fred Fish <fnf@redhat.com>
1867
1868 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1869 optionally accept the "shlib events" variation.
1870
808a31f5
JB
18712002-01-21 Jim Blandy <jimb@redhat.com>
1872
1873 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1874 call `fflush' after every `printf', so that the output is produced
1875 at predictable points, regardless of whatever buffering does (or
1876 doesn't) take place.
1877 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1878 at different points.
1879
4420d5e2
DJ
18802002-01-20 Daniel Jacobowitz <drow@mvista.com>
1881
1882 * gdb.c++/inherit.exp: Update copyright years.
1883 * gdb.c++/method.exp: Likewise.
1884
3e36a0f4
DJ
18852002-01-20 Daniel Jacobowitz <drow@mvista.com>
1886
1887 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1888 artificial methods/arguments.
1889 * gdb.c++/derivation.exp: Likewise.
1890 * gdb.c++/inherit.exp: Likewise.
1891 * gdb.c++/method.exp: Likewise.
1892 * gdb.c++/virtfunc.exp: Likewise.
1893
b4ceaee6
AC
18942002-01-18 Andrew Cagney <ac131313@redhat.com>
1895
1896 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1897 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1898 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1899 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1900 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1901 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1902
ecace851
JB
19032002-01-17 Jim Blandy <jimb@redhat.com>
1904
1905 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1906 anchoring the pattern matching the entry point symbol's name.
1907
375fc983
AC
19082002-01-17 Andrew Cagney <ac131313@redhat.com>
1909
1910 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1911 continue/quit query. Update copyright.
1912
fe6fdd96
MS
19132002-01-14 Michael Snyder <msnyder@redhat.com>
1914
1915 * gdb.base/gcore.exp: Remove extra debugging output.
1916
e017c81f
DJ
19172002-01-13 Daniel Jacobowitz <drow@mvista.com>
1918
1919 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1920 for slightly dubious v2 mangled string.
1921
37ab3bf8
DJ
19222002-01-13 Daniel Jacobowitz <drow@mvista.com>
1923
1924 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1925
1bc05c3a 19262002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1927
1bc05c3a 1928 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1929
1bc05c3a
JM
1930 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1931 constructors.
1932 * gdb.c++/derivation.exp: Likewise.
1933 * gdb.c++/templates.exp: Likewise.
1934 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1935
1bc05c3a
JM
19362002-01-10 Michael Snyder <msnyder@redhat.com>
1937
1938 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1939
a911c360
MS
19402002-01-08 Michael Snyder <msnyder@redhat.com>
1941
1942 * gdb.base/gcore.exp: New test for generate-core-file command.
1943 * gdb.base/gcore.c: Testcase for above.
1944 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1945
ea2119ec
JM
19462002-01-08 Jason Merrill <jason@redhat.com>
1947
1948 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1949
68203136
FF
19502002-01-07 Fred Fish <fnf@redhat.com>
1951
1952 * gdb.c++/overload.exp: Remove unconditional xfails for:
1953 print foo_instance1.overloadargs(1)
1954 print foo_instance1.overloadargs(1, 2)
1955 print foo_instance1.overloadargs(1, 2, 3)
1956 print foo_instance1.overloadargs(1, 2, 3, 4)
1957 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1958 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1959 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1960 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1961 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1962 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1963 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1964 print foo_instance1.overload1arg()
1965 print foo_instance1.overload1arg((char)arg2)
1966 print foo_instance1.overload1arg((signed char)arg3)
1967 print foo_instance1.overload1arg((unsigned char)arg4)
1968 print foo_instance1.overload1arg((int)arg7)
1969 print foo_instance1.overload1arg((unsigned int)arg8)
1970 print foo_instance1.overload1arg((float)arg11)
1971 print foo_instance1.overload1arg((double)arg12)
1972
21b9b5b1
MS
19732002-01-07 Michael Snyder <msnyder@redhat.com>
1974
1975 * gdb.base/huge.exp: New test. Print a very large target data object.
1976 (skip_huge_test): New test variable. Define if you want to skip this
1977 test. The test reads an 8 megabyte data object from the target, so it
1978 might be very time consuming on remote targets with a slow connection.
1979 * gdb.base/huge.c: New file. Test case for above.
1980
725f922e
FF
19812002-01-07 Fred Fish <fnf@redhat.com>
1982
1983 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1984 g_instance.bfoo, and g_instance.cfoo.
1985
634d57ec
JL
1986Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1987
f286b2c3
JL
1988 * gdb.base/break.c (multi_line_if_conditional): New function.
1989 (multi_ilne_while_conditional): Likewise.
1990 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1991 IF or WHILE condition puts the breakpoint at the start of
1992 the condition.
1993
634d57ec
JL
1994 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1995 hppa*-*-hpux* expected failure.
1996 * gdb.base/structs.exp (do_function_calls): Similarly.
1997
1998 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1999 watchpoints.
2000
9fbfe2dc
AC
20012002-01-06 Andrew Cagney <ac131313@redhat.com>
2002
2003 Fix PR gdb/66.
2004 * gdb.base/structs.exp: Replace skip for a29k with skip for
2005 gdb,cannot_call_functions.
2006 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2007 * gdb.base/callfuncs.exp: Ditto.
2008 * gdb.base/call-rt-st.exp: Ditto.
2009 * gdb.base/call-strs.exp: Ditto.
2010 * gdb.base/callfwmall.exp: Ditto.
2011 * gdb.base/scope.exp: Obsolete xfail a29k.
2012 * gdb.c++/misc.exp: Ditto.
2013 * gdb.c++/cplusfuncs.exp: Ditto.
2014 * gdb.base/ptype.exp: Ditto.
2015 * gdb.base/printcmds.exp: Ditto.
2016 * gdb.base/opaque.exp: Ditto.
2017 * gdb.base/list.exp: Ditto.
2018 * gdb.base/funcargs.exp: Ditto.
2019 * gdb.base/default.exp: Ditto.
2020
8ddad156
MS
20212002-01-04 Michael Snyder <msnyder@redhat.com>
2022
ca4976a6 2023 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2024 * gdb.base/maint.exp: Add tests for maint info sections options.
2025
1b074332
JL
2026Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2027
2028 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2029
7d159115
CV
20302001-12-20 Corinna Vinschen <vinschen@redhat.com>
2031
2032 * gdb.asm/arm.inc: New file.
2033 * gdb.asm/asm-source.exp: Add arm targets.
2034 * gdb.asm/configure.in: Ditto.
2035 * gdb.asm/configure: Recreated from configure.in.
2036
8fb87725
JL
2037Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2038
afabe08c
JL
2039 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2040 with HP's compiler.
2041 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2042 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2043 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2044 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2045
2046 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2047 either HP's compilers or GCC.
2048
db521deb
JL
2049 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2050 a SIGBUS or SIGSEGV.
2051
2052 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2053
2054 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2055 can be compiled with either HP's compiler or GCC.
2056
cfa88ab7
JL
2057 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2058 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2059 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2060
ca344dff
JL
2061 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2062 to match current gdb output. Update due to using auto-solib-limit
2063 for limiting instead of overloading auto-solib-add.
2064 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2065 test program.
2066
3f3c6e55 2067 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2068 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2069 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2070 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2071 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2072 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2073 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2074 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2075 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2076 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2077 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2078 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2079 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2080
8fb87725
JL
2081 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2082 a SIGTRAP to the inferior.
2083
cf599fa7
CV
20842001-12-19 Corinna Vinschen <vinschen@redhat.com>
2085
2086 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2087 Substitute call to target_link by call to gdb_compile.
2088
2cd045cd
JL
2089Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2090
2091 * gdb.base/break.exp: Fix HP specific search string when testing
2092 backtracing in a called function.
2093
2094 * gdb.base/constvars.exp: Only set lang to C++ if we're
2095 compiling the test with HP's compilers.
2096 * gdb.base/volatile.exp: Similarly.
2097
99ebe9ac
JB
20982001-12-19 Jim Blandy <jimb@redhat.com>
2099
2100 * gdb.base/printcmds.exp: Expect the null character to be printed
2101 as '\0', and the '\013' to be printed as '\v'.
2102 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2103 * gdb.base/setvar.exp: Same.
2104
b9891b29
JB
21052001-12-17 Jim Blandy <jimb@redhat.com>
2106
0eba65ab
JB
2107 * gdb.base/completion.exp: Rather than completing very long
2108 filenames, which can make the readline library produce output we
2109 don't recognize, cd to the directory first, and then complete
2110 using nice, short relative paths.
2111
6970b5b1
JB
2112 * gdb.base/completion.exp: On some systems, there is, in fact, a
2113 variable named `b' in scope, since GDB treats all static
2114 variables as being in scope. So use `no_var_named_this'
2115 instead of `b'.
2116
b9891b29
JB
2117 * gdb.base/corefile.exp: Recognize the message saying that GDB
2118 can't find the core file's registers as a failure.
2119
e6ccd35f
JSC
21202001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2121
2122 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2123 test expect string more specific.
2124
105ba819
CV
21252001-12-13 Corinna Vinschen <vinschen@redhat.com>
2126
2127 * gdb.asm/asm-source.exp: Add support for xstormy16.
2128 * gdb.asm/configure.in: Ditto.
2129 * gdb.asm/configure: Rebuild.
2130 * gdb.asm/xstormy16.inc: New file.
2131
e9e79dd9
FF
21322001-12-10 Fred Fish <fnf@redhat.com>
2133
2134 * gdb.base/maint.exp: Update to match changes in type dumping code.
2135
347dc97d
JB
21362001-12-10 Jim Blandy <jimb@redhat.com>
2137
2138 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2139 matching the entry point symbol's name at the beginning of the
2140 line.
2141
5178b9d6
DJ
21422001-12-07 Daniel Jacobowitz <drow@mvista.com>
2143
2144 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2145 gdb.c++/inherit.exp, gdb.c++/method.exp,
2146 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2147 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2148 and class layout support.
2149
af890c52
DJ
21502001-12-07 Daniel Jacobowitz <drow@mvista.com>
2151
2152 * gdb.c++/classes.exp: Add test for static member function.
2153 * gdb.c++/misc.cc: Add class with static member function.
2154
7a345fb3
JB
21552001-12-07 Jim Blandy <jimb@redhat.com>
2156
f2e54a80 2157 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2158 those tests as `unsupported'.
2159 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2160 Rewrite subsequent tests to use it.
2161
2162 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2163 those tests as `unsupported'.
2164 * gdb.base/structs.exp (call_struct_func): New function.
2165 (do_function_calls): Use call_struct_func to call the functions
2166 returning structs.
2167
0bc69509
JB
2168 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2169 whether functions are prototyped or not, so we can't possibly pass
2170 arguments to t_float_values2 properly.
2171
7a345fb3
JB
2172 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2173 value of `timeout' for targets other than the mips*tx39-*.
2174
edb6ede1
MS
21752001-12-06 Michael Snyder <msnyder@redhat.com>
2176
2177 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2178 and detect whether the start symbol has a leading underscore.
2179
2d842f13
JB
21802001-12-04 Jim Blandy <jimb@redhat.com>
2181
2182 * gdb.base/completion.exp: Clarify indentation.
2183
68550daf
JB
21842001-12-03 Jim Blandy <jimb@redhat.com>
2185
2186 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2187 variables on the S/390, not `.word'.
2188
cd5195a8
JB
21892001-11-30 Jim Blandy <jimb@redhat.com>
2190
2191 Add assembly-source tests for s390-ibm-linux.
2192 * gdb.asm/s390.inc: New file.
2193 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2194 the S/390 architecture.
2195 * gdb.asm/configure: Regenerated.
2196
ca9efc90
MS
21972001-11-30 Michael Snyder <msnyder@redhat.com>
2198
2199 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2200 next, info source, info sources, info line, global and static
2201 variables, and static functions.
2202 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2203 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2204 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2205 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2206 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2207 (gdbasm_leave): Restore frame pointer.
2208 (gdbasm_startup): Copy stack set-up from crt0.S.
2209
d0e66976
FN
22102001-11-26 Fernando Nasser <fnasser@redhat.com>
2211
2212 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2213 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2214 to a local (non-static) variable. Copy tstruct.a to a static buffer
2215 and return a pointer to that buffer.
2216 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2217
e2334072
MK
22182001-11-24 Mark Kettenis <kettenis@gnu.org>
2219
2220 * gdb.asm/configure.in: Fix recognition of ix86 target.
2221 * gdb.asm/configure: Regenerate.
2222
756caa3d
MS
22232001-11-21 Michael Snyder <msnyder@redhat.com>
2224
2225 * gdb.asm/sparc.inc: New file.
2226 * gdb.asm/asm-source.exp: Recognize sparc target.
2227 * gdb.asm/configure.in: Recognize sparc target.
2228 * gdb.asm/configure: Regenerate.
2229
9a4d72d5
MS
22302001-11-21 Michael Snyder <msnyder@redhat.com>
2231
2232 * gdb.asm/m32r.inc: New file.
2233 * gdb.asm/asm-source.exp: Recognize m32r target.
2234 * gdb.asm/configure.in: Recognize m32r target.
2235 * gdb.asm/configure: Regenerate.
2236
a773d1cd
MS
22372001-11-20 Michael Snyder <msnyder@redhat.com>
2238
017ac23d
MS
2239 * gdb.asm/i386.inc: New file.
2240 * gdb.asm/asm-source.exp: Recognize ix86 target.
2241 * gdb.asm/configure.in: Recognize ix86 target.
2242 * gdb.asm/configure: Regenerate.
2243
a773d1cd
MS
2244 * gdb.c++/namespace.exp: Fix quotes in output messages.
2245
bb632afb
MS
22462001-11-14 Michael Snyder <msnyder@redhat.com>
2247
25d559ca 2248 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2249 qualifier in a type cast expression, to designate an address
2250 in the instruction space (Harvard architecture).
2251
4749e309
MS
22522001-11-13 Michael Snyder <msnyder@redhat.com>
2253
2254 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2255 Tests for expressions using 'const' and 'volatile'.
2256
25050984
CV
22572001-11-13 Corinna Vinschen <vinschen@redhat.com>
2258
2259 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2260
1902c51f
DJ
22612001-11-12 Daniel Jacobowitz <drow@mvista.com>
2262
2263 * lib/mi-support.exp (mi_run_to_helper): Move comments
2264 outside of gdb_expect.
2265
dcf95b47
DJ
22662001-11-11 Daniel Jacobowitz <drow@mvista.com>
2267
2268 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2269 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2270 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2271 mi0_run_to): New functions.
2272 * gdb.mi/mi-simplerun.exp: Use them.
2273 * gdb.mi/mi0-simplerun.exp: Likewise.
2274 * gdb.mi/mi-var-cmd.exp: Likewise.
2275 * gdb.mi/mi0-var-cmd.exp: Likewise.
2276
45b074e1
AC
22772001-11-10 Andrew Cagney <ac131313@redhat.com>
2278
2279 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2280 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2281
bf50d346
AC
22822001-11-09 Andrew Cagney <ac131313@redhat.com>
2283
2284 * gdb.base/restore.exp: Include $expected value in restored test
2285 message.
2286
9383332c
AC
22872001-11-09 Andrew Cagney <ac131313@redhat.com>
2288
2289 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2290 implemented.
2291
db62520a
MS
22922001-11-08 Michael Snyder <msnyder@redhat.com>
2293
2294 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2295 Add pass/fail message for stop at breakpoint in call dummy function.
2296
b5703437
MS
22972001-11-07 Michael Snyder <msnyder@redhat.com>
2298
760f6330
MS
2299 * gdb.c++/templates.exp (test_template_breakpoints):
2300 If we get an overload menu, but it does not match what
2301 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2302 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2303 making the whitespace optional. Argument for "new" may be
2304 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2305 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2306 making the whitespace optional. Also replace "(void) with
2307 "((void|)), making the keyword "void" optional.
63f50499
MS
2308 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2309 making the whitespace optional. Also replace "(void) with
2310 "((void|)), making the keyword "void" optional.
3bf40917
MS
2311 * gdb.base/callfuncs.c (t_float_values): This function must
2312 _not_ be prototyped, and the following function (t_float_values2)
2313 must be prototyped (if the compiler supports it), so that GDB
2314 can be tested against both cases. Usually one case involves
2315 promotion of float to double, while the other does not.
2316 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2317 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2318 includes a stack frame for "start".
2319
c8ab4e6d
JB
23202001-11-05 Jim Blandy <jimb@redhat.com>
2321
2322 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2323 pointers are 32 bits long, and that offsets of relocs are always
2324 stored in the data (REL-style), and not in the reloc entry itself
2325 (RELA-style).
2326 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2327 stabs.
2328
3f08ced9
MS
23292001-11-01 Michael Snyder <msnyder@redhat.com>
2330
2331 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2332 and regular expression operators by using quoting.
2333
cbfa24cd
MS
23342001-10-31 Michael Snyder <msnyder@redhat.com>
2335
2336 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2337 depending on what the symbol table contains.
2338 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2339 the output of the ptype command. Similarly, accept both "const &"
2340 and "const&".
2341
aaa68313
CV
23422001-10-31 Corinna Vinschen <vinschen@redhat.com>
2343
2344 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2345 symbol `STORAGE' to allow to choose the storage class of
2346 the local datastructures.
2347 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2348 compiler directive.
2349
91740388
MS
23502001-10-30 Michael Snyder <msnyder@redhat.com>
2351
2352 * gdb.base/jump.exp: Allow it to run for all targets.
2353
1b7c05e7
CV
23542001-10-29 Corinna Vinschen <vinschen@redhat.com>
2355
2356 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2357 with new double_array size.
2358 (main): Change storage class of all local variables to static.
2359 Reduce size of double_array to 9.
2360 * gdb.base/call-ar-st.exp: Increase timeout value.
2361 Change expected output for double array to match new size in
2362 call-ar-st.c.
2363
36a22261
CV
23642001-10-29 Corinna Vinschen <vinschen@redhat.com>
2365
2366 * gdb.base/ending-run.exp: Create identical output when passing
2367 `step to end of run' case. Add regular expression branch satisfying
2368 Stormy16 target.
2369
92b8ae91
MK
23702001-10-28 Mark Kettenis <kettenis@gnu.org>
2371
2372 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2373 that we catch the expected failure under Linux/x86.
2374
cb135b83
OF
23752001-10-29 Orjan Friberg <orjanf@axis.com>
2376
2377 * gdb.base/setvar.exp: Escape curly braces.
2378 * gdb.stabs/weird.exp: Ditto.
2379
6884aa54
DJ
23802001-10-27 Daniel Jacobowitz <drow@mvista.com>
2381
2382 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2383 * gdm.mi/mi0-hack-cli.exp: Likewise.
2384
0398c9aa
AC
23852001-10-25 Andrew Cagney <ac131313@redhat.com>
2386
2387 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2388 messages.
2389
d20bf2e8
AC
23902001-10-21 Andrew Cagney <ac131313@redhat.com>
2391
2392 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2393 checking MI enabled.
2394
03dd63aa
CV
23952001-10-09 Corinna Vinschen <vinschen@redhat.com>
2396
2397 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2398
1d9d99f3
FCE
23992001-10-04 Frank Ch. Eigler <fche@redhat.com>
2400
2401 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2402 if gdb child process crashes, just signal an error.
2403
838ae6c4
JB
24042001-10-02 Jim Blandy <jimb@redhat.com>
2405
2406 * lib/gdb.exp (test_xfail_format): Simplify.
2407
2408 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2409 front of the variable name `format'. Simplify `if'.
2410
8f0cbc1c
DJ
24112001-10-01 Daniel Jacobowitz <drow@mvista.com>
2412
2413 * gdb.threads/pthreads.exp: Wait for output and delay
2414 before sending ^C.
2415
1f08dafd
DJ
24162001-10-01 Daniel Jacobowitz <drow@mvista.com>
2417
2418 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2419 some incorrect output instead of timing out.
2420 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2421
674f90ff
CV
24222001-09-28 Corinna Vinschen <vinschen@redhat.com>
2423
2424 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2425 check to allow additional `int'.
2426
9b284272
DJ
24272001-09-27 Daniel Jacobowitz <drow@mvista.com>
2428
2429 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2430 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2431
b55a4771
MS
24322001-09-27 Michael Snyder <msnyder@redhat.com>
2433
2434 * lib/gdb.exp (test_debug_format): New proc.
2435 (setup_xfail_format): Use new proc test_debug_format.
2436 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2437 proc; use new service proc test_debug_format.
2438 Replace all other "gcc_compiled" tests with this test.
2439 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2440 proc; use new service proc test_debug_format.
2441 Replace all other "gcc_compiled" tests with this test.
2442
24432001-09-27 Michael Snyder <msnyder@redhat.com>
2444
2445 * gdb.base/cvexpr.exp: New file.
2446 * gdb.base/cvexpr.c: New file
2447 Test for expressions using const and volatile keywords.
2448
4e6667ac
CV
24492001-09-26 Corinna Vinschen <vinschen@redhat.com>
2450
2451 * gdb.base/constvars.exp: Check for different orders of keywords
2452 and additional "int" strings in output.
2453
4f337972
AC
24542001-09-22 Andrew Cagney <ac131313@redhat.com>
2455
2456 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2457 responses from "help maint".
2458
2015650d
FCE
24592001-09-19 Frank Ch. Eigler <fche@redhat.com>
2460
2461 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2462 to localhost:NNN instead of :NNN, in case Xvfb is listening
2463 only on TCP.
2464
f3bcedc1
CV
24652001-09-19 Corinna Vinschen <vinschen@redhat.com>
2466
2467 * gdb.base/recurse.exp: When checking leaving the watchpoint
2468 scope, recognize when gdb is in function's epilogue and pass.
2469
6b819c92
KS
24702001-09-18 Keith Seitz <keiths@redhat.com>
2471
2472 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2473 support for running tests against sid targets.
2474 (gdbtk_done): Ditto.
2475
a10c9419
CV
24762001-09-18 Corinna Vinschen <vinschen@redhat.com>
2477
2478 * gdb.base/ending-run.c (main): Set stdout buffersize
2479 to the same reasonable value for any target.
2480 * gdb.base/ending-run.exp: Add a regular expression
2481 to make testsuite happy on Sanyo Stormy16 target.
2482
739d0d99
CV
24832001-09-17 Corinna Vinschen <vinschen@redhat.com>
2484
2485 * gdb.base/display.c (do_loops): Add float variable `f'.
2486 Increment f in loop.
2487 * gdb.base/display.exp: Increment timeout by 60 seconds.
2488 Change float display test to use variable `f'.
2489
1b8947f0
JB
24902001-09-17 Jim Blandy <jimb@redhat.com>
2491
2492 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2493 overflowing the limited breakpoint tables on some ROM monitors
2494 (like the ROM68K).
2495
9890ac81
FCE
24962001-09-15 Frank Ch. Eigler <fche@redhat.com>
2497
2498 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2499 the "-ac" (disable access control) flag.
2500
6db765ea
JH
25012001-08-30 Jeff Holcomb <jeffh@redhat.com>
2502
2503 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2504 ints.
2505
4c32cc04
KS
25062001-08-30 Keith Seitz <keiths@redhat.com>
2507
2508 * lib/gdb.exp: Move all insight-related functionality into
2509 separate file.
2510 * lib/insight-support.exp: New file.
2511
8d6e6f81
FCE
25122001-08-29 Frank Ch. Eigler <fche@redhat.com>
2513
2514 * config/sid.exp (sid_start): Never set sid verbosity; disable
2515 expect_background {} that consumed its stdout; tolerate </dev/null.
2516 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2517
6a90e1d0
AC
25182001-08-18 Andrew Cagney <ac131313@redhat.com>
2519
2520 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2521 CLI jump command to start it.
2522 (mi_run_to_main): Fail immediatly when unexpected output.
2523
1759b3c3
AC
25242001-08-18 Andrew Cagney <ac131313@redhat.com>
2525
2526 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2527 beginning of function. Fix PR gdb/191.
2528
61d11d80
FCE
25292001-08-16 Frank Ch. Eigler <fche@redhat.com>
2530
2531 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2532 what to force sid endianness to.
2533
942a4df2
KS
25342001-08-15 Keith Seitz <keiths@redhat.com>
2535
2536 * lib/gdb.exp (gdbtk_start): Don't set environment
2537 variables for TCL_LIBRARY and friends. Insight will
2538 now figure these out for itself.
2539
0521c418
MS
25402001-08-02 Michael Snyder <msnyder@redhat.com>
2541
2542 * gdb.base/completion.exp: Remove the symbol "a64l" from
2543 the expect string; this is target-specific, and not related
2544 to what is being tested.
2545
74a9a58a
DB
25462001-08-02 Dave Brolley <brolley@redhat.com>
2547
2548 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2549
c70819fa
MS
25502001-07-25 Michael Snyder <msnyder@redhat.com>
2551
c2b8fa57
MS
2552 * gdb.base/consecutive.exp: New file. Test stepping over
2553 breakpoints on consecutive instructions.
2554 * gdb.base/consecutive.c: New file.
2555
c70819fa
MS
2556 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2557 curly braces in regular expressions.
2558
2b1a1355
MS
25592001-07-25 Michael Snyder <msnyder@redhat.com>
2560
2561 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2562 legitimate output from stepping out of main.
2563
413eca6f
KS
25642001-07-22 Keith Seitz <keiths@redhat.com>
2565
2566 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2567 the empty string, do not run the tests.
2568
7e5a9322
SC
25692001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2570
2571 * gdb.base/long_long.exp: Detect size of pointer. Take into
2572 account 2-byte pointers when testing for p/a results.
2573
de58f10f
SC
25742001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2575
2576 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2577 and defined to 1K for m68hc11.
2578 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2579 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2580 (sizeof_random_data): New variable to tell the size of the data table;
2581 don't test past this size; always run to main.
2582
d6f5fea1
SC
25832001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2584
2585 * gdb.base/return2.exp: return of long long and double fails for
2586 68HC11; don't execute these tests on that platform.
2587 * gdb.base/return.exp: Return of a double fails for 68hc11.
2588
c477543d
SC
25892001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2590
2591 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2592 tests that print a float.
2593 * call-rt-st.exp: Likewise.
2594
63cf1c79
MK
25952001-07-12 Mark Kettenis <kettenis@gnu.org>
2596
2597 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2598 running this test on Linux.
2599
112f9ab5
MC
26002001-06-24 Michael Chastain <chastain@redhat.com>
2601
2602 * gdb.base/arithmet.exp: Remove some tests to make all test names
2603 unique.
2604
4970cb0f
MS
26052001-07-03 Michael Snyder <msnyder@redhat.com>
2606
2607 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2608 the output of the ptype command.
2609
d85da69f
MS
26102001-07-02 Michael Snyder <msnyder@redhat.com>
2611
4c8a82de
MS
2612 * gdb.base/completion.exp: Don't assume that break.c is the only
2613 source file that may contain functions named "marker".
d85da69f
MS
2614 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2615
8afc772b
AC
26162001-06-28 Andrew Cagney <ac131313@redhat.com>
2617
2618 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2619 of files to delete.
2620
2621 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2622 * gdb.disasm/h8300s.exp: New file.
2623 gdb.disasm/h8300s.s: Likewise.
2624
cff22675
AC
26252001-06-27 Andrew Cagney <ac131313@redhat.com>
2626
2627 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2628 empty breakpoint tables.
2629
68c81b54
AC
26302001-06-25 Andrew Cagney <ac131313@redhat.com>
2631
2632 * lib/mi-support.exp: Update args=... part of stop-reason
2633 patterns. Accept either a list or a tuple.
2634
2dd62704
AC
26352001-06-23 Andrew Cagney <ac131313@redhat.com>
2636
2637 * lib/mi-support.exp: Remove local emacs variable defining
2638 change-log-default-name.
2639
b4127474
MC
26402001-06-22 Michael Chastain <chastain@redhat.com>
2641
2642 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2643 This is operationally compatible with the previous version.
2644
8dbfb380
JB
26452001-06-13 Jim Blandy <jimb@redhat.com>
2646
2647 * lib/gdb.exp (gdb_test): Doc fix.
2648
f2d8c86d
MC
26492001-06-10 Michael Chastain <chastain@redhat.com>
2650
2651 * gdb.base/exprs.exp: Remove a duplicate test.
2652
81564d34
JB
26532001-06-06 Jim Blandy <jimb@redhat.com>
2654
2655 * gdb.base/return2.exp (main): Use values to test float and double
2656 returns that are not NaN's, to avoid being confused by IEEE
2657 comparison rules.
2658
da55addb
MS
26592001-06-04 Michael Snyder <msnyder@redhat.com>
2660
2661 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2662 non-zero if control_c fails. Terminate the test on failure,
2663 rather than wait for 12 more tests to time out.
2664
42c65987
JB
26652001-06-06 Jim Blandy <jimb@redhat.com>
2666
b18bced9
JB
2667 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2668 Don't forget to match the GDB prompt.
2669
42c65987
JB
2670 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2671
5b41e5f0
JB
26722001-06-04 Jim Blandy <jimb@redhat.com>
2673
2674 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2675 command.
2676
015e046f
KB
26772001-05-31 Kevin Buettner <kevinb@redhat.com>
2678
2679 * gdb.base/annota1.exp (info break): Match four or more spaces
2680 after "Address".
2681
fb1ffbbe
MC
26822001-05-31 Michael Chastain <chastain@redhat.com>
2683
2684 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2685 (dm_type_int_star): Likewise.
2686 (dm_type_long_star): Likewise.
2687 (dm_type_void_star): Likewise.
2688
5ea2a32c
KB
26892001-05-29 Kevin Buettner <kevinb@redhat.com>
2690
2691 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2692 to a known value in order to get consistent results regardless
2693 of the setting of INPUTRC or the presence or contents of .inputrc.
2694
ae23c492
MS
26952001-05-24 Michael Snyder <msnyder@redhat.com>
2696
ac55707e
MS
2697 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2698 Don't require that the main thread and the manager thread are the
2699 first in the list.
2700
ae23c492
MS
2701 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2702 debugging. If test fails, issue an "unsupported" not a "fail".
2703
400071f1
JB
27042001-05-24 Jim Blandy <jimb@redhat.com>
2705
2706 Don't assume that short is shorter than int.
2707 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2708 assume that shorts are smaller than ints. On a 16-bit machine,
2709 this isn't true.
2710 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2711 an int, is not equal to ~0 stored in an unsigned char. This tests
2712 the same thing that the previous test meant to, but works on
2713 16-bit machines, too.
2714 ("print unsigned char != (~0)"): Same test, complemented.
2715
0816a3e5
MS
27162001-05-24 Michael Snyder <msnyder@redhat.com>
2717
2718 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2719 test for (full_coverage == 0). This makes the test run faster,
2720 and prevents dejagnu getting out of step.
2721
f6dc23a9
KB
27222001-05-23 Kevin Buettner <kevinb@redhat.com>
2723
2724 * gdb.base/finish.exp (finish_void): Revise pattern for
2725 stopping on the call statement to not permit stopping at
2726 the start of the instructions comprising the call sequence.
2727
7dbd117d
MC
27282001-05-19 Michael Chastain <chastain@redhat.com>
2729
2730 * gdb.base/callfuncs.exp: Make all test names unique.
2731 * gdb.base/commands.exp: Make all test names unique.
2732 * gdb.base/condbreak.exp: Make all test names unique.
2733 * gdb.base/dbx.exp: Make all test names unique.
2734 * gdb.base/default.exp: Make all test names unique.
2735 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2736 and TIMEOUT messages to their corresponding PASS message.
2737 * gdb.base/ending-run.exp: Make all test names unique.
2738 * gdb.base/long_long.exp: Remove duplicate test.
2739
6b0b0a9e
KB
27402001-05-21 Kevin Buettner <kevinb@redhat.com>
2741
2742 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2743 stop on the call statement as well as the statement after the
2744 call.
2745
2caa35cb
MS
27462001-05-21 Michael Snyder <msnyder@redhat.com>
2747
2748 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2749
40713331
EZ
27502001-05-10 Elena Zannoni <ezannoni@redhat.com>
2751
2752 * gdb.base/completion.exp: Revamp test. Make it execute on all
2753 platforms.
2754
c2c1be8d
EZ
27552001-05-10 Elena Zannoni <ezannoni@redhat.com>
2756
2c9cd303
EZ
2757 * config/gdbserver.exp (gdb_load): Handle the case
2758 in which the arguments to gdbserver are given in the
2759 baseboard configuration file.
2760 Also handle the case in which the server needs to do a
2761 load.
2762
9671de48
KS
27632001-05-07 Keith Seitz <keiths@cygnus.com>
2764
2765 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2766 set up the display for testing.
2767 (gdbtk_start): Convert all paths to paths that tcl will like.
2768 Export target information to environment.
2769 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2770 necessary.
2771 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2772 (to_tcl_path): New proc to convert a given pathname into
2773 a path acceptible as an argument to a tcl command.
2774 (_gdbtk_export_target_info): New proc to export target info
2775 into the environment for gdbtk testing.
2776 (gdbtk_done): New proc to signal end-of-test.
2777
5a360f47
JB
27782001-05-06 Jim Blandy <jimb@redhat.com>
2779
2780 * restore.c: Make the code of caller0 correspond to its comment.
2781
66c756c6
MS
27822001-05-03 Michael Snyder <msnyder@redhat.com>
2783
2784 * config/sid.exp (gdb_target_sid): Check for error messages.
2785 On error or timeout, don't make expect exit (which will terminate
2786 all subsequent tests); instead just make gdb exit.
2787 (gdb_load): Check for error messages. On error or timeout,
2788 return a negative value.
2789
a966fde5
JB
27902001-04-24 Jim Blandy <jimb@redhat.com>
2791
851c18e0
JB
2792 * gdb.c++/templates.exp: If we see the prompt for the overload
2793 list, but we haven't recognized any of the longer patterns,
2794 arrange for this test to fail, not hang.
2795
a966fde5
JB
2796 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2797 variations.
2798
db144853
MC
27992001-04-22 Michael Chastain <chastain@redhat.com>
2800
2801 * gdb.c++/local.exp: Use the 'runto' library function.
2802 * gdb.c++/namespace.exp: Likewise.
2803 * gdb.c++/overload.exp: Likewise.
2804
3207ec21
KB
28052001-03-26 Kevin Buettner <kevinb@redhat.com>
2806
2807 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2808 * gdb.base/step-line.exp: New file. Test step/next in presence of
2809 #line directives.
2810 * gdb.base/step-line.c: New file. Test program for the above.
2811 * gdb.base/step-line.inp: New file. We pretend that this file has
2812 been transformed by some other tool into step-line.c.
2813
13b57657
JB
28142001-03-21 Jim Blandy <jimb@redhat.com>
2815
2816 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2817 unmangled operator names.
2818
754cbe1c
JB
28192001-03-20 Jim Blandy <jimb@redhat.com>
2820
2821 * gdb.threads/linux-dp.exp: Recognize an additional message
2822 generated by GDB when it doesn't understand how to debug threads
2823 on the target system.
2824
177495c9
AC
28252001-03-19 Andrew Cagney <ac131313@redhat.com>
2826
2827 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2828
f266096b
MC
28292001-03-12 Michael Chastain <chastain@redhat.com>
2830
2831 * gdb.c++/derivation.exp: Use the 'runto' library function.
2832
cac3c2ff
MC
28332001-03-12 Michael Chastain <chastain@redhat.com>
2834
2835 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2836
b6c11a24
MC
28372001-02-24 Michael Chastain <chastain@redhat.com>
2838
2839 * gdb.c++/ref-types.exp: Change handwritten code to library
2840 function 'runto'.
2841
6bae5bce
OF
28422001-03-16 Orjan Friberg <orjanf@axis.com>
2843
2844 * gdb.base/signals.exp: Set count to 0 explicitly.
2845
0015fd9a
MS
28462001-03-15 Mark Salter <msalter@redhat.com>
2847
2848 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2849 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2850 (gdb_load): Add support for additional target_info: gdb_download_size
2851 and gdb_load_timeout.
0015fd9a 2852
fc33412a
DT
2853Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2854
2855 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2856 file -- to prevent failing when the compile fails but we have no
2857 intention of running the tests anyway.
2858
2859 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2860 tests if set.
2861
2862 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2863 integers.
2864
2865 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2866 * gdb.c++/namespace.exp: Ditto.
2867
115f06de
OF
28682001-03-07 Orjan Friberg <orjanf@axis.com>
2869
2870 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2871 * gdb.base/pointers.exp: Relax pattern match of decimals.
2872
b6ba6518
KB
28732001-03-06 Kevin Buettner <kevinb@redhat.com>
2874
2875 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2876 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2877 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2878 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2879 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2880 config/sh.exp, config/sid.exp, config/slite.exp,
2881 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2882 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2883 config/vxworks.exp, config/vxworks29k.exp,
2884 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2885 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2886 gdb.base/arithmet.exp, gdb.base/assign.exp,
2887 gdb.base/async.exp, gdb.base/attach.exp,
2888 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2889 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2890 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2891 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2892 gdb.base/commands.exp, gdb.base/completion.exp,
2893 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2894 gdb.base/constvars.exp, gdb.base/corefile.exp,
2895 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2896 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2897 gdb.base/ending-run.exp, gdb.base/environ.exp,
2898 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2899 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2900 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2901 gdb.base/funcargs.exp, gdb.base/help.exp,
2902 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2903 gdb.base/logical.exp, gdb.base/long_long.exp,
2904 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2905 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2906 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2907 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2908 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2909 gdb.base/regs.exp, gdb.base/relational.exp,
2910 gdb.base/remote.exp, gdb.base/reread.exp,
2911 gdb.base/restore.exp, gdb.base/return2.exp,
2912 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2913 gdb.base/selftest.exp, gdb.base/setshow.exp,
2914 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2915 gdb.base/sigall.exp, gdb.base/signals.exp,
2916 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2917 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2918 gdb.base/step-test.exp, gdb.base/structs.c,
2919 gdb.base/structs.exp, gdb.base/structs2.exp,
2920 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2921 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2922 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2923 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2924 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2925 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2926 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2927 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2928 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2929 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2930 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2931 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2932 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2933 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2934 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2935 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2936 gdb.trace/circ.exp, gdb.trace/collection.exp,
2937 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2938 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2939 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2940 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2941 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2942 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2943 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2944 notices.
2945
dc96c6c7 29462001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2947
2948 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2949 first arg is int not float.
2950
dc96c6c7 29512001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2952
2953 * gdb.base/reread.exp: Unsupported for non-native targets;
2954 doesn't work for remote debugging.
2955
9b0c4aeb
FN
29562001-02-19 Fernando Nasser <fnasser@redhat.com>
2957
2958 From Drew Moseley <dmoseley@redhat.com>
2959 * gdb.base/ending-run.exp: Properly handle the BSP state when
2960 stepping past the end of main.
2961
02aa71d5
MC
29622001-02-19 John Moore <jmoore@redhat.com>
2963
2964 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2965 Converted HPUX fix for non-expected items following multiple
2966 step commands into general solution for all platforms.
2967
1fa449a4
MC
29682001-02-18 Michael Chastain <chastain@redhat.com>
2969
2970 * gdb.c++/classes.exp (do_tests): Change runto statements
2971 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2972 statements demangler agnostic.
2973 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2974 (gdb_virtfunc_restart): Likewise.
2975
b2f9ec70
MC
29762001-02-14 Michael Chastain <chastain@redhat.com>
2977
2978 * gdb.c++/inherit.exp (do_tests): Change runto statements
2979 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2980 statements demangler agnostic.
2981
cf74b8ca
AC
2982Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2983
2984 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2985 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2986 before calling common_routine 15 times'' tests.
2987
99f78f56
MC
29882001-02-11 Michael Chastain <chastain@redhat.com>
2989
2990 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2991 Helps the test script figure out which demangler is in use.
2992 (dm_type_foo_ref): Ditto.
2993 (dm_type_int_star): Ditto.
2994 (dm_type_long_star): Ditto.
2995 (dm_type_unsigned_int): Ditto.
2996 (dm_type_void): Ditto.
2997 (dm_type_void_star): Ditto.
99707966 2998 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2999 Probe the gdb demangler and set variables to accommodate
3000 formatting differences.
3001 (info_func_regexp): New function. Same as info_func, but
3002 matches against a regexp.
3003 (info_func): Match against a literal string.
3004 (print_addr_2): New function. Match against a literal string,
3005 which can be different from the input to gdb.
3006 (print_addr): Simply call print_addr_2 with the same argument twice.
3007 (test_lookup_operator_functions): Use demangler formatting variables.
3008 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3009 the tests in the same order as the C++ class declaration.
3010 (test_paddr_operator_functions): Ditto.
3011 (test_paddr_overloaded_functions): Ditto.
3012 (test_paddr_hairy_functions): Use demangler formatting variables.
3013 Add reference to gdb/19 for related tests.
3014 (do_tests): Call probe_demangler.
3015
1de8f023
KB
30162001-01-30 Kevin Buettner <kevinb@redhat.com>
3017
3018 * gdb.c++/templates.cc (printf): Remove unused function definition.
3019
ca3f91ed
MS
30202001-01-26 Felix Lee <flee@redhat.com>
3021
3022 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3023
30242001-01-25 matthew green <mrg@redhat.com>
3025
3026 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3027 up sid.
3028 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3029
30302001-01-25 matthew green <mrg@redhat.com>
3031
3032 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3033 Deprecate $sid_spawn_id.
3034 (sid_exit): Remove code necessary only for `spawn.'
3035
30362001-01-25 matthew green <mrg@redhat.com>
3037
3038 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3039
fb18ec4a
MC
30402001-01-28 Michael Chastain <chastain@redhat.com>
3041
3042 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3043 to call when tests fail. It takes gdb out of the overloaded
3044 function choice menu back to the main prompt, so that the test
3045 program stays synchronized.
3046 (set_bp_overloaded): New proc to collect all the common
3047 code for setting a breakpoint on an overloaded name. Calls
3048 take_gdb_out_of_choice_menu when needed.
3049 (menu_overload1arg): New variable to collect the repeated
3050 instances of the expected menu for an overloaded name. Change
3051 the regular expression to handle changes in g++ type encoding:
3052 "void" can be either "void" or "", and "unsigned int" can be
3053 either "unsigned int" or "unsigned".
3054 (continue_to_bp_overloaded): Change regular expressions to handle
3055 changes in g++ type encoding.
3056 (no proc): Call take_gdb_out_of_choice_menu when needed.
3057 Remove redundant calls to "info break". Accept either "canceled"
3058 or "cancelled". Change regular expressions in "info break"
3059 calls to handle changes in g++ type encoding. Give all tests
3060 unique strings.
3061
9c646a6e
BE
30622001-01-17 Ben Elliston <bje@redhat.com>
3063
3064 * config/sid.exp: New file.
3065
9549d9c1
AC
3066Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3067
3068 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3069
dc96c6c7 30702000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3071
3072 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3073 Add a RE to accept a non-ascii char if one is ever presented.
3074
b4df4f68
FN
30752000-12-20 Fernando Nasser <fnasser@redhat.com>
3076
297dd0fd 3077 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3078
dc96c6c7 30792000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3080
3081 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3082 in regexp. One '\' does not suffice on Linux.
3083
4a7bddb6
MC
30842000-12-09 Michael Chastain <chastain@redhat.com>
3085
3086 * gdb.base/break.exp (test_clear_command): Use a marker function
3087 rather than 'main' for the test function. Also move this
3088 test to an execution point where the marker function names are
3089 guaranteed to be bound to functions. (Executing tests after a
3090 'finish' from main runs into name conflicts with local names
3091 in __libc_start_main).
3092
dc96c6c7 30932000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3094
3095 * gdb.base/finish.exp: New test for gdb's "finish" command.
3096 * gdb.base/return2.exp: New test for gdb's "return" command.
3097 * gdb.base/return2.c: New source file for above.
3098
dc96c6c7 30992000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3100
3101 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3102 * gdb.base/miscexprs.exp: Ditto.
3103 * gdb.base/pointers.exp: Ditto.
3104 * gdb.c++/derivation.exp: Ditto.
3105 * gdb.c++/local.exp: Ditto.
3106 * gdb.c++/namespace.exp: Ditto.
3107 * gdb.c++/overload.exp: Ditto.
3108 * gdb.c++/ref-types.exp: Ditto.
3109
dc96c6c7 31102000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3111
3112 * gdb.base/constvars.exp: Test result of "up" command.
3113 * gdb.base/miscexprs.exp: Ditto.
3114 * gdb.base/pointers.exp: Ditto.
3115 * gdb.base/scope.exp: Ditto.
3116 * gdb.c++/derivation.exp: Ditto.
3117 * gdb.c++/local.exp: Ditto.
3118 * gdb.c++/namespace.exp: Ditto.
3119 * gdb.c++/overload.exp: Ditto.
3120 * gdb.c++/ref-types.exp: Ditto.
3121
44097287
FN
31222000-11-22 Michael Chastain <chastain@redhat.com>
3123
3124 * mips_pro.exp: Accept either "middle -> top -> main" or
3125 "middle -> main" in the backtrace, because gcc can optimize
3126 tail calls to jumps. Remove setup_xfail for the hppa case.
3127 Add a comment with the original warning messages from PR 3016,
3128 which was filed in 1993, to preserve them for posterity.
3129
9d2e1bab
ND
31302000-11-17 Nick Duffek <nsd@redhat.com>
3131
3132 * lib/gdb.exp (gdb_test): Override timeout with board info.
3133
1aca8eb7
ND
31342000-11-17 Nick Duffek <nsd@redhat.com>
3135
3136 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3137 the second kill and detach messages.
3138
93076499
ND
31392000-11-17 Nick Duffek <nsd@redhat.com>
3140
3141 * configure.in: Add AC_EXEEXT.
3142 * configure: Regenerate.
3143 * Makefile.in (just-check): Export EXEEXT.
3144 * lib/gdb.exp ($EXEEXT): Import from environment.
3145 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3146 expect "maint dump-me" on Cygwin.
3147 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3148 $EXEEXT.
3149
30e87cd3
ND
31502000-11-17 Nick Duffek <nsd@redhat.com>
3151
3152 * gdb.base/break.exp: Test backtrace and finish from called
3153 function on all platforms, not just HP-UX.
3154
dc96c6c7 31552000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3156
3157 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3158 code from gdb_target_monitor, so it can be used independantly
3159 for gdbserver. Also comment out an unnecessary PUTS.
3160
dc96c6c7 31612000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3162
3163 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3164 * gdb.base/corefile.exp: Expect the message "Program is being
3165 debugged already" when we send the "corefile" command, since
3166 the preceeding gdb_load may have connected gdb to a remote target.
3167 * gdb.base/display.exp: Disable hardware watchpoints if new
3168 board info variable "no_hardware_watchpoints" is true.
3169 Replace single-letter commands with more readable ones.
3170 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3171 if new board info variable "no_hardware_watchpoints" is true.
3172 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3173 to see if stdio (printf) testing is possible.
3174 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3175 board info variable "no_hardware_watchpoints" is true. Use new
3176 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3177
39124dea
FN
31782000-11-13 Fernando Nasser <fnasser@redhat.com>
3179
3180 From Orjan Friberg <orjanf@axis.com>:
3181 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3182 in array print pattern match.
3183
a9e2e984
FN
31842000-11-09 Fernando Nasser <fnasser@redhat.com>
3185
3186 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3187 spelling "cancelled" to U.S. spelling "canceled" to match changes
3188 made to gdb.
3189 * gdb.c++/ovldbreak.exp: Ditto.
3190
c7db355b
PS
31912000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3192
3193 * gdb.base/callfuncs.c (main): Moved to end of file, call
3194 t_double_values to initialize the FPU before inferior calls are made.
3195 * gdb.base/callfuncs.exp: Test for register preservation after calling
3196 inferior functions. Add tests for continuining, finishing and
3197 returning from a stop in a call dummy.
3198
dc96c6c7 31992000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3200
3201 * gdb.base/commands.exp: Break up long lines, and re-indent.
3202
dc96c6c7 32032000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3204
3205 * config/gdbserver.exp: Rewritten from the ground up, to make it
3206 compatible with the current dejagnu tree, and to make it work with
3207 the new "gdbserver" in libremote.
3208
dc96c6c7 32092000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3210
3211 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3212 * gdb.base/varargs.exp: Skip entire test if no printf support.
3213 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3214 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3215
dc96c6c7 32162000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3217
3218 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3219 no floating point support.
3220 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3221 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3222 * gdb.base/call-rt-st.exp: Ditto.
3223 * gdb.base/call-strs.exp: Ditto.
3224
bac5fc66
JG
32252000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3226
3227 * gdb.base/sizeof.c: include <stdio.h>.
3228
3229 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3230 'finish', otherwise uncaptured gdb_prompt would potentially
3231 throw remaining test points out of sync.
3232
b22a6027
SB
32332000-07-26 Scott Bambrough <scottb@netwinder.org>
3234
3235 * gdb.base/recurse.exp: Run tests for all targets.
3236 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3237 gnu-oldld case on ARM.
3238 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3239 for ARM targets.
3240
d8231941
AG
3241Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3242
3243 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3244 * gdb.java/configure: Rebuild.
3245
8caabe69
AG
3246Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3247
3248 * gdb.java/jv-exp.exp: New file.
3249
9d273ca3
AG
3250Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3251
3252 * configure: Rebuilt.
3253 * configure.in (configdirs): Add gdb.java.
3254 * gdb.java/jmisc.java: New file.
3255 * gdb.java/jmisc.exp: New file.
3256 * gdb.java/Makefile.in: New file.
3257 * gdb.java/configure: Rebuilt.
3258 * gdb.java/configure.in: New file.
3259 * lib/java.exp: New file.
3260
4f823a66
AC
3261Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3262
3263 * gdb.base/exprs.exp: Test casts to a pointer including over and
3264 underflow.
3265
2391e11d
AC
3266Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3267
3268 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3269 and the compilers sizes.
3270
54602222
ND
32712000-07-09 Nick Duffek <nsd@redhat.com>
3272
3273 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3274 (use_methods): New function.
3275 (main): Call use_methods().
3276 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3277 (do_tests): Call test_method_param_class.
3278
2bec0572
ND
32792000-07-09 Nick Duffek <nsd@redhat.com>
3280
3281 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3282 spelling.
3283 (test_enums): New procedure. Move enum tests from end of script
3284 to here. Set breakpoint on function name instead of line number.
3285 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3286 (enums2): New marker function.
3287 (enums1): New function.
3288 (main): Call enums1(). Move enum tests to enums1().
3289
78492fde
AC
3290Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3291
3292 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3293 compile/link program. Update line numbers.
3294 * gdb.asm/d10v.inc: Define ``startup''.
3295 * gdb.asm/asmsrc1.s: Add definition of _start.
3296
49a2cef8
AC
3297Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3298
3299 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3300
3e6c8688
EZ
33012000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3302
3303 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3304 of 'help maint print' command.
3305
9ff5cbe9
AC
3306Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3307
3308 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3309 they use gdb_expect_list.
3310
17c579bd
AC
3311Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3312
3313 * gdb.base/commands.exp: Use ``set remote
3314 memory-read-packet-size'' instead of ``set endian big'' to test
3315 long commands.
3316
e6d71bf3
DB
33172000-06-03 Daniel Berlin <dan@cgsoftware.com>
3318
3319 * gdb.c++/templates.exp (do_tests): Make all of these work under
3320 g++, and stop skipping them.
3321
3322 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3323 work under g++.
3324
e5f9ba7b
MS
3325 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3326 initialization.
3327
dc96c6c7 33282000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3329
3330 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3331 the regular expression: accept an (almost) arbitrary sequence of
3332 "frames-invalid" and "breakpoints-invalid" messages both before
3333 and after the "starting" message.
3334
dc96c6c7 33352000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3336
3337 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3338
dc96c6c7 33392000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3340
3341 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3342 Relax the regular expression a little, make it pass on Solaris 8.
3343
8216cda9
KB
33442000-05-12 Kevin Buettner <kevinb@redhat.com>
3345
3346 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3347 a call, do not require that gdb stop on the line after the call.
3348 Instead, it is permissible for gdb to stop on the line of the
3349 call itself.
3350
1a570b2f
MS
33512000-05-12 Michael Snyder <msnyder@.cygnus.com>
3352
3353 * gdb.base/break.exp (bp on small function, optimized file):
3354 Add a second pass pattern. The behavior differs here between stabs
3355 and dwarf for one-line functions. Stabs preserves two line symbols
3356 (one before the prologue and one after) with the same line number,
3357 but dwarf regards these as duplicates and discards one of them.
3358 Therefore the address after the prologue (where the breakpoint is)
3359 has no exactly matching line symbol, and GDB reports the breakpoint
3360 as if it were in the middle of a line rather than at the beginning.
3361
dc96c6c7 33622000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3363
3364 * gdb.base/interrupt.exp: Make "pass" message say "send"
3365 rather than "send_gdb" (for consistancy).
3366
7d418785
AC
3367Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3368
3369 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3370 * gdb.c++/templates.cc: Properly check for GCC version number.
3371 * lib/compiler.cc: Likewise
3372
dc96c6c7 33732000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3374
3375 * gdb.base/break.exp: When compiled with -O2 optimization,
3376 gdb may not stop at the first line of main, due to code motion.
3377
dc96c6c7 33782000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3379
3380 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3381 This test depends on parsing the printf output from the target.
3382 Since the sparclet stub doesn't do stdio, this will never work.
3383 * gdb.base/call-rt-st.exp: ditto.
3384 * gdb.base/call-strs: ditto.
3385
dc96c6c7 33862000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3387
3388 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3389
3390 * gdb.base/ending-run.exp: After connecting to a remote target,
3391 but before running, the target will appear to be in a random
3392 location. Specify both a file and a line for breakpoints.
3393 Also, the function that calls main may be called 'init'
3394 rather than 'start'.
3395
a5a51225
EZ
33962000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3397
3398 * gdb.base/help.exp: Update output for add-symbol-file command.
3399
7930cc7c
FN
34002000-04-10 Fernando Nasser <fnasser@cygnus.com>
3401
3402 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3403 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3404
23e37ab1
C
34052000-04-07 J.T. Conklin <jtc@redback.com>
3406
e93c542c
C
3407 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3408
23e37ab1
C
3409 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3410
591b8fa3
PDM
3411Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3412
3413 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3414 values that can be represented exactly.
3415 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3416 above change, and to not check against the directory part of the source
3417 file name.
3418 (step into print_long_arg_list): Likewise.
3419 (print print_small_structs from print_long_arg_list): Likewise.
3420 (print print_long_arg_list): Likewise.
3421
7a495180
EZ
34222000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3423
30b53638 3424 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3425
beb998c6
AC
3426Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3427
3428 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3429
1c689132
DB
34302000-03-25 Daniel Berlin <dan@cgsoftware.com>
3431
3432 * gdb.base/commands.exp (deprecated_command_test): Add test for
3433 deprecate with no arguments.
3434
c1790a9d
JL
34352000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3436
3437 * gdb.base/break.exp: Add new test for setting breakpoints on
3438 optimized code so we can test breakpoints work even when function
3439 prologues may be optimized away
3440
003ba290
FN
34412000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3442
3443 From David Whedon <dwhedon@gordian.com>
3444 * gdb.base/commands.exp : Added command deprecator tests.
3445
6837a0a2
DB
34462000-03-22 Daniel Berlin <dan@cgsoftware.com>
3447
3448 * gdb.base/help.exp: Added test for new apropos command.
3449
b9593231
KB
34502000-03-21 Kevin Buettner <kevinb@redhat.com>
3451
3452 * gdb.base/pointers.c (usevar): New function.
3453 (main): Make sure that global variables v_int_pointer2, rptr,
3454 and y are all referenced someplace in the program by calling
3455 usevar() on them. [Some linkers delete symbols which are
3456 never referenced. The space remains, but there's no way to
3457 get a (symbolic) handle on the variable from the debugger.]
3458
751a959b
EZ
34592000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3460
3461 * gdb.base/printcmds.c: Add typedeffed arrays.
3462
3463 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3464 procedure to test arrays that are typedef'd.
3465
73a93a32
JI
34662000-03-13 James Ingham <jingham@leda.cygnus.com>
3467
3468 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3469 the library directories.
73a93a32 3470
fb40c209
AC
3471Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3472
3473 * configure.in (configdirs): Add sub directory gdb.mi.
3474 * configure: Re-generate.
3475
3476 * gdb.mi: New directory.
beb998c6 3477
ee4dd2c9
AC
34782000-02-25 Scott Bambrough <scottb@netwinder.org>
3479
3480 * gdb.base/long_long.exp: Correct test suite failure when printing
3481 a long long value as a double on ARM platforms.
3482
70f0cc22
JB
34832000-02-16 Jim Blandy <jimb@redhat.com>
3484
3485 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3486 default source file is set properly before running this test.
3487
853819b8
EZ
34882000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3489
3490 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3491 gdbtk/library directory, not in gdbtcl2.
3492
dfcd3bfb
JM
34932000-02-04 Jim Blandy <jimb@redhat.com>
3494
3495 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3496 backslash from regexp pattern.
3497
3498 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3499 procedure. Use it to run all the "continue to bp overloaded"
3500 tests. Note that this changes the names of the tests slightly.
3501 If the breakpoint hit message includes a hex PC value, because
3502 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3503 from the real source code, still consider that a pass.
3504
3505 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3506 XFAIL here if the breakpoint message contains a hex address. Note
3507 similar change on 1999-11-02.
3508
3509 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3510
3511 * gdb.base/ptype.exp: Establish a default source file before
3512 calling get_debug_format.
3513
35142000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3515
3516 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3517
8b93c638
JM
35182000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3519
3520 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3521 of successive stepi commands -- while in the prologue we should see
3522 the function entry bracket.
3523
35242000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3525
3526 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3527 reach __change_mode() when stepping through the end of main().
3528
c5394b80
JM
35292000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3530
3531 * gdb.base/default.exp: Fix expected pattern.
3532 * gdb.base/help.exp: Same.
3533
0d06e24b
JM
35342000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3535
3536 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3537 Don't use xfail's because that affects only the following test.
beb998c6 3538
0d06e24b
JM
3539 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3540 solaris or linux.
3541
3542 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3543
dc96c6c7 35442000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3545
beb998c6 3546 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3547 "A syntax error" rather than "A parse error". Accept both.
3548
35492000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3550
3551 * gdb.base/default.exp: Remove OS dependent string from "target
3552 remote" test.
3553 * gdb.base/help.exp: Same for "help target remote" test.
3554
c3f6f71d
JM
35552000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3556
3557 From Jim Kingdon <kingdon@redhat.com>:
3558
3559 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3560 prompt (cleanup rather than necessity, but still might keep output
3561 from spilling to next test).
3562
35632000-01-02 Fred Fish <fnf@cygnus.com>
3564
3565 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3566 AIX, which defines them in <sys/types.h>.
3567
ed9a39eb 35681999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3569
ed9a39eb
JM
3570 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3571 float" test.
3572
35731999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3574
ed9a39eb 3575 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3576
3577 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3578 outermost frame disallowed".
3579
35801999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3581
3582 * gdb.base/setvar.exp: New tests for setting the value of a struct
3583 with a constant list.
3584
35851999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3586
3587 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3588 require the user to type a cast before setting the value of a struct.
3589
de57eccd
JM
35901999-12-06 Jim Blandy <jimb@cygnus.com>
3591
3592 * gdb.base/default.exp: Expect the new 'info float' command on
3593 all i386 platforms.
3594
3595 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3596 LinuxThreads libraries that don't support debugging.
3597
c2d11a7d
JM
3598Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3599
3600 * gdb.base/remote.c: Fill the buffer with truely random data.
3601 Change the buffer type to ``unsigned char'' to simplify size
3602 arithmetic.
3603
3604 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3605 stub only handles 400-1 byte packets. Verify that the download
3606 worked.
3607
36081999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3609
3610 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3611 tests, using UNRESOLVED for the untested cases. Also, does not wait
3612 for a timeout if the prompt was received before a recognizable pattern.
3613
36141999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3615
3616 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3617
36181999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3619
3620 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3621 watchpoints.
3622
36231999-11-24 Jason Merrill <jason@casey.cygnus.com>
3624
3625 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3626
3627 * gdb.c++/local.exp: Be more flexible in recognizing local class
3628 name mangling. Don't allow horribly truncated method names.
3629 * gdb.c++/derivation.exp: Expect protected inheritance.
3630 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3631 * gdb.c++/virtfunc.exp: Likewise.
3632 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3633 when printing a nested enum.
3634
36351999-11-22 Jim Blandy <jimb@cygnus.com>
3636
3637 * gdb.base/step-test.exp: Properly await GDB's response to setting
3638 a breakpoint on the call to large_struct_by_value.
3639
3640 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3641 just because we have debug info for the `start' function.
3642
36431999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3644
3645 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3646 "Unknown signal" messages, which indicate (on LinuxThreads) that
3647 GDB doesn't know how to debug threads on this system. This is
3648 better than hanging while philosopher 0 dumps chatter into gdb.log.
3649
36501999-11-18 Tom Tromey <tromey@cygnus.com>
3651
3652 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3653
36541999-11-18 Fred Fish <fnf@cygnus.com>
3655
3656 * gdb.base/coremaker2.c: Add sample program for generating
3657 cores that is more self contained than coremaker.c. Eventually
3658 I'll add more code to this and tie it into the testsuite.
3659
4ce44c66
JM
36601999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3661
3662 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3663
36641999-11-10 Jimmy Guo <guo@cup.hp.com>
3665
3666 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3667 from $srcdir/lib/.
3668 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3669 and gdb.c++/.
3670
3671 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3672
beb998c6 3673 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3674 'continue with watch' test point.
3675
36761999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3677
3678 Merged from p2linux-990323-branch:
beb998c6 3679
4ce44c66
JM
3680 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3681
11cf8741
JM
3682Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3683
3684 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3685 {limit,fixed}''. Test ``set download-write-size''.
3686
3687Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3688
3689 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3690 gdb_expect_list.
3691
3692Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3693
3694 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3695
36961999-11-03 Mark Salter <msalter@cygnus.com>
3697
3698 * gdb.base/break.exp: Fix "stub continue" pattern.
3699
37001999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3701
3702 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3703
37041999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3705
3706 * gdb.base/display.exp ("finish"): Add timeout clause.
3707
3708 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3709 plain prompt clause, so this doesn't have to time out in order to
3710 fail.
3711
3712 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3713 breakpoint hit messages include an address.
3714
3715 * gdb.base/display.exp: Don't forget to escape parens in regular
3716 expressions. Unix regexp notatation sucks.
3717
37181999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3719
3720 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3721 order for 'signalled' message.
3722
5c44784c
JM
37231999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3724
3725 From Jimmy Guo <guo@cup.hp.com>:
3726 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3727 * gdb.base/annota1.c: Add code for tests to work with.
3728
37291999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3730
3731 * gdb.base/remote.exp: New test for remote downloading settings.
3732 * gdb.base/remote.c: New file with large .data.
3733
917317f4
JM
37341999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3735
3736 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3737 for LinuxThreads support, merged from the Code Fusion branch.
3738
3739Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3740
3741 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3742 containing exp_continue into a while within an expect. Don't
3743 attempt a start more than three times. Check return value from
3744 gdb_load.
beb998c6 3745
2df3850c
JM
3746Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3747
3748 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3749 a pass case.
3750
2acceee2
JM
37511999-10-01 Kevin Buettner <kevinb@cygnus.com>
3752
3753 * gdb.base/break.c (main): Added a statement that we can step
3754 off of.
3755 * gdb.base/break.exp: Added tests for setting a breakpoint
3756 at an offset and stepping onto a breakpoint.
3757
37581999-10-01 Fred Fish <fnf@cygnus.com>
3759
beb998c6 3760 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3761 gdb output.
3762
c2c6d25f
JM
37631999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3764
3765 * gdb.base/break.exp: Code locations are in hex, don't forget!
3766 (For HP-UX.)
3767
37681999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3769
3770 * condbreak.exp: Use break.c as test program.
3771 * condbreak.c: Remove, redundant with break.c.
3772
37731999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3774
3775 * config/monitor.exp (gdb_target_monitor): Disable X- and
3776 Z-packets if the target needs it.
3777
37781999-09-13 James Ingham <jingham@leda.cygnus.com>
3779
3780 * gdb.c++/overload.exp: Added tests for listing overloaded
3781 functions with function pointers in the arg, explicitly calling
3782 out the version you want.
3783
cff3e48b
JM
37841999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3785
3786 * long_long.exp: Add variations of test cases that work for
3787 targets with 16-bit ints and 32-bit doubles.
3788
d4f3574e
SS
37891999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3790
3791 * break.c (main): Compare a possibly-uninitialized argc with an
3792 unlikely value that fits in 16 bits.
3793
37941999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3795
3796 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3797 0xfeeb, don't want negative numbers if ints are 16 bits.
3798
3799 * lib/gdb.exp (skip_cplus_tests): New proc.
3800 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3801 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3802 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3803 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3804 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3805 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3806 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3807 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3808
3809 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3810
3811Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3812
3813 * gdb.base/corefile.exp (up): Allow a parameter to appear
3814 in the frame that we're going up to.
3815
3816 From Jim Blandy <jimb@cygnus.com>:
3817
3818 * gdb.base/default.exp (info float): Expect some output now.
3819
3820 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3821 returning floating-point values to fail on the x86.
3822 * gdb.base/callfwmall.exp (do_function_calls): Same.
3823
3824 * gdb.base/list.exp (test_listsize): Correct expectations for
3825 listing line 1 with listsize 2. Also, listing a single line
3826 works now, as does listing three lines. [Kevin's note: There
3827 were a number of other cases fixed too where the expectations
3828 differed...]
3829
38301999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3831
3832 * gdb.base/selftest.exp: Add case for when version prints as
3833 constant string instead of char pointer.
3834
104c1213
JM
38351999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3836
3837 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3838 stepping out of main.
3839
3840 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3841 G++ used.
3842
3843 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3844 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3845
3846 * gdb.c++/ovldbreak.exp: Update match string in test that
3847 includes a warning of multiple breakpoints.
3848
38491999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3850
3851 * gdb.base/display.exp: Improve precision of step-after-finish
3852 added yesterday.
3853
3854 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3855 test.
3856
3857 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3858 configs when using G++, not just hppa*.
3859
38601999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3861
3862 * gdb.base/async.c: New file.
3863 * gdb.base/async.exp: New file.
3864
3865Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3866
3867 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3868 PA64.
3869
53a5351d
JM
3870Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3871
104c1213
JM
3872 * gdb.base/display.exp: "finish" can leave us mid-line on many
3873 targets, deal with it. Add a small constant to main, instead of
3874 1000 since main+1000 may not be a valid address in the target.
3875
53a5351d
JM
3876 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3877 on hpux11.
3878
3879 * gdb.base/attach.exp: Handle another hpux11 error message variant
3880 when attaching to a process that does not exist.
3881
38821999-08-19 J.T. Conklin <jtc@redback.com>
3883
3884 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3885 characters in 'continue to 1241' test.
3886
38871999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3888
3889 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3890 stop in print_long_arg_list, define and use a whitespace
3891 variable in print_small_structs test, add an XFAIL for Solaris.
3892 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3893 interested enough to fix.
3894
7be570e7
JM
38951999-08-13 Keith Seitz <keiths@cygnus.com>
3896
3897 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3898 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3899 proc knows about targets other than the natives.
3900 (test_assign): Use "gdb_run_cmd" to "run" the target.
3901 Check that we've actually hit the breakpoint at main.
3902 When we attempt to assign a value to a local variable, check
3903 that the variable is in the current scope, i.e., don't use
3904 a test with an empty result.
3905
3906Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3907
3908 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3909 command.
3910
39111999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3912
3913 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3914 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3915 gdb.compat, gdb.threads-hp.
3916 gdb.hp/configure, gdb.hp/configure.in: New files.
3917 gdb.hp/Makefile.in: Recurse into new subdirs.
3918 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3919 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3920 in object files.
3921 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3922
96baa820
JM
39231999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3924
3925 * gdb.base/display.exp: Help expect by putting a newline in the
3926 funky printf, remove a bogus p/a test.
3927
39281999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3929
3930 * gdb.base/display.exp: Make sure that when we say 'run', we are
3931 connected to the target. This is necessary when running not
3932 natively.
3933
39341999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3935
3936 * gdb.base/step-test.exp: Removed some extraneous messages.
3937
3938 * gdb.base/long_long.exp: Don't run memory examination tests
3939 on little-endian targets (they will need a different set of
3940 results to match).
3941
39421999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3943
3944 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3945 until somebody decides to fix GDB.
3946
3947 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3948 constant as "ULL".
3949 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3950 matches for a couple x/2 commands.
3951
a0b3c4fd
JM
39521999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3953
3954 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3955 by merging in ref-types2 tests.
3956 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3957
3958 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3959 * gdb.c++/Makefile.in: Add standard actions.
3960 (EXECUTABLES): Rename from PROGS, update list.
3961 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3962 from gdb.hp.
3963 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3964 foo and bar locals.
3965 * gdb.c++/anon-union.exp: Fix tests to match.
3966 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3967 expect matches to handle output variations.
3968 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3969 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3970 output, add HP alternatives for new and delete prints.
3971 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3972 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3973 * gdb.c++/demangle.exp: Use $style when reporting failure.
3974 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3975 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3976 match alternatives.
3977 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3978 compilers.
3979 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3980 * gdb.c++/method.exp: Add match alternatives.
3981 * gdb.c++/misc.cc: Add bool types.
3982 * gdb.c++/misc.exp: Add tests for bool types.
3983 * gdb.c++/overload.exp: Add xfails.
3984 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3985 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3986 add some more template parameter tests (only for HP currently).
3987 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3988 * gdb.c++/virtfunc.cc: Add return type and value for main.
3989 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3990 match alternatives.
beb998c6 3991
a0b3c4fd
JM
39921999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3993
3994 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3995
39961999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3997
3998 * gdb.base/signals.exp: Don't expect getting a backtrace from
3999 within a signal handler to fail on Linux.
4000
40011999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4002
4003 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4004 * lib/gdb.exp: Remove some gratuitious semicolons.
4005 (delete_breakpoints): Increase timeout.
4006 (gdb_expect): Add -notransfer option.
4007 (gdb_test): Use -notransfer option.
4008 (get_compiler_info): Add f77 case.
4009 (get_compiler): New proc, split out from gdb_preprocess, add f77
4010 case.
4011 (gdb_preprocess): Call get_compiler.
4012
4013 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4014 * gdb.base/attach.exp, gdb.base/display.exp,
4015 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4016 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4017 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4018 third arg to gdb_test.
4019 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4020 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4021 HP-UX xfails, add others.
4022 * gdb.base/completion.exp: Reflect name change of self-test.
4023 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4024 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4025 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4026 HP failure number.
4027 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4028 useless HP-UX 10.30 references.
4029 * gdb.base/maint.exp: Loosen matches.
4030 * gdb.base/pointers.c (main): Declare more_code.
4031 * gdb.base/pointers.exp: Match on output of a `next'.
4032 * gdb.base/structs.c: Add prototypes.
4033 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4034 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4035
40361999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4037
4038 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4039 command.
4040
40411999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4042
4043 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4044 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4045
4046 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4047 debug info. Deal with lack of signal hanlder info in stack.
4048
4049 From Jim Kingdon <kingdon@redhat.com>:
4050 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4051
5a2468f5
JM
40521999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4053
4054 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4055 gdb.base/foll-vfork.exp: Don't run for crosses.
4056
adf40b2e
JM
4057Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4058
4059 * gdb.base/configure.in: Check for gdbvars.exp instead of
4060 a1-selftest.exp.
4061 * gdb.base/configure: Re-generate.
4062
40631999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4064
4065 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4066 in trying to run first and name is too long.
4067
4068 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4069 pointers2.c and pointers2.exp, respectively.
4070 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4071 doschk happier.
4072
43e526b9
JM
40731999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4074
4075 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4076 callfuncs2.c and callfuncs2.exp.
4077
4078 * gdb.base/list.exp: Remove mistaken xfails.
4079 * gdb.base/list0.h: Add optional prototypes.
4080
9846de1b
JM
4081Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4082
4083 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4084 calling malloc.
4085 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4086 * ptype.exp: Move test for get_debug_format to before its first
4087 use.
4088
40891999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4090
4091 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4092 * gdb.base/annota2.cc, annota2.exp: Move from here.
4093 * gdb.c++/annota2.cc, annota2.exp: To here.
4094 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4095
43ff13b4
JM
4096Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4097
4098 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4099 a consistent format.
4100
085dd6e6
JM
41011999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4102
4103 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4104 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4105 HP compilers, also set the globals $true and $false.
4106
4107 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4108 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4109 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4110 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4111 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4112 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4113 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4114 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4115 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4116 whatis.c} Add C++ compatible function definitions and return
4117 types, add includes for library functions.
4118 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4119 * gdb.base/step-test.c (myglob): Rename from glob.
4120 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4121 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4122 files, move here from gdb.hp.
4123 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4124 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4125 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4126 Adjust line numbers in regexps.
4127
4128 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4129 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4130 instead of 0/1.
4131
4132 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4133 foll-vfork.exp: New files, move here from gdb.hp.
4134 * gdb.base/page.exp: New file, test of pagination command.
4135
4136 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4137 recursion test.
4138 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4139
4140 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4141 gdb.base/solib.exp: Fix compiler invocation process.
4142
4143 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4144 HP-UX 11, turn off overload resolution explicitly.
4145 * gdb.base/commands.exp: Set argument list explicitly, add
4146 watchpoint test.
4147 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4148 them work.
4149 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4150 expressions properly.
4151 * gdb.base/corefile.exp: Loosen the match slightly.
4152 * gdb.base/default.exp: Allow "Error accessing memory" message
4153 also.
4154 * gdb.base/display.exp: Skip over x/0 j if PA64.
4155 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4156 * gdb.base/interrupt.exp: Ditto.
4157 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4158 in use.
4159 * gdb.base/list.exp: Add xfails for HP-UX.
4160 * gdb.base/long_long.exp: Refine some of the numeric matches.
4161 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4162 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4163 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4164 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4165 * gdb.base/ptype.exp: Succeed on more varieties of output.
4166 * gdb.base/scope.exp: Add xfails for HP-UX.
4167 * gdb.base/sect-cmd.exp: Add more cases.
4168 * gdb.base/setvar.exp: Add xfails for HP-UX.
4169 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4170 * gdb.base/signals.exp: Match on void symbolically.
4171 * gdb.base/step-test.exp: Add case for PA64.
4172 * gdb.base/term.exp: Add exit and restart.
4173 * gdb.base/twice.exp: Clean up after self.
4174 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4175 * gdb.base/whatis.exp: Allow more ways to pass tests.
4176
4177 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4178 no longer useful.
4179
4180Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4181
4182 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4183 list of patterns.
4184 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4185 print_double_array(double_array)", "continuing to breakpoint
4186 1018", "print print_double_array(array_d)" and "continuing to
4187 1034" tests.
beb998c6 4188
085dd6e6
JM
41891999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4190
4191 * Makefile.in: Add empty html and install-html targets.
4192
41931999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4194
4195 * config/mt-*: Remove, these haven't been used since 1996.
4196
41971999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4198
4199 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4200 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4201 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4202
9e0b60a8
JM
42031999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4204
4205 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4206 simpler match case for the ptype of the big class.
4207
42081999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4209
4210 * gdb.exp: Fix test for gdb_prompt existence.
4211
42121999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4213
4214 * gdb.exp (gdb_test): Add fail after calls to perror.
4215
42161999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4217
4218 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4219
42201999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4221
4222 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4223
0f71a2f6
JM
4224Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4225
4226 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4227 malloc() is linked in.
4228
42291999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4230
4231 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4232 step at end.
4233
4234 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4235
42361999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4237
4238 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4239
cce74817
JM
4240Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4241
4242 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4243 * gdb.base/mips_pro.exp: Likewise.
4244
42451999-06-02 Keith Seitz <keiths@cygnus.com>
4246
4247 * gdb.c++/templates.cc: Change all "new" operators to throw
4248 an exception.
4249 * gdb.c++/cplusfuncs.cc: Likewise.
4250
4251 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4252
4253Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4254
4255 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4256 * gdb.base/ending-run.exp: When stepping out of main, accept a
4257 step into an arbitrary assembler file.
4258
392a587b
JM
42591999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4260
beb998c6 4261 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4262 "breakpoint-invalid" to be printed.
beb998c6 4263 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4264 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4265 * gdb.base/annota2.cc: Initialize a.x to 0.
4266
9e086581
JM
42671999-05-17 Keith Seitz <keiths@cygnus.com>
4268
4269 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4270 when "skip_float_tests" set.
4271 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4272 "print print_ten_doubles", and "step into print_long_arg_list".
4273 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4274 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4275 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4276 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4277 "skip_float_tests" is set.
4278 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4279 when "skip_float_tests" set.
beb998c6 4280
cd0fc7c3
SS
42811999-05-06 Keith Seitz <keiths@cygnus.com>
4282
4283 * gdb.base/annota2.cc: Include stdio.h.
4284
4285Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4286
4287 * gdb.base/crossload.exp: Remove, this has been disabled ever
4288 since BFD stopped including all targets, and cross-GDB gets
4289 plenty of testing anyway.
4290 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4291 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4292 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4293 * gdb.base/README: Remove, was doc for this.
4294 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4295 needed.
4296
b83266a0
SS
42971999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4298
4299 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4300 output.
4301
4302 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4303 * gdb.base/annota2.exp: New file. More annotation tests.
4304 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4305 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4306
43071999-04-23 Angela Marie Thomas <angela@cygnus.com>
4308
4309 * config/cfdbug.exp: New file.
4310
7a292a7a
SS
43111999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4312
4313 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4314 Marcus Daniel's and Dale Hawkins's demangler crashes.
4315
4316 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4317 test_lucid_style_demangling, test_arm_style_demangling,
4318 test_hp_style_demangling): Try Tom Tromey's core-dumping
4319 identifier under each demangling style.
4320
43211999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4322
4323 * gdb.c++/demangle.exp: Include the current demangling style
4324 in all test names.
4325 (current_demangling_style): New global variable.
4326 (set_demangling_style, test_demangling_core, test_demangling,
4327 test_demangling_exact): New functions.
4328 (test_gnu_style_demangling, test_lucid_style_demangling,
4329 test_arm_style_demangling, test_hp_style_demangling): Use those,
4330 instead of calling gdb_test and gdb_test_exact directly.
4331 (catch_demangling_errors): New function, which reports errors
4332 signalled by the demangling test functions in an orderly way.
4333 (do_tests): Use catch_demangling_errors.
4334
43351999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4336
4337 * gdb.base/signals.exp (test_handle_all_print): Use () for
4338 grouping in expressions, not {}.
4339
4340 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4341 initialized yet.
4342
43431999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4344
4345 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4346 are listed.
4347
43481999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4349
4350 * gdb.stabs/weird.exp: Test for CC being defined before
4351 looking at its value.
4352
43531999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4354
4355 * gdb.base/call-ar-st.exp: Remove stray '#'.
4356 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4357 "short int" and "long int".
4358 * gdb.c++/overload.cc: Cast the string added in the previous
4359 change, to mollify finicky HP compiler.
4360 * gdb.hp/reg-test.exp (testfile): Fix file name.
4361 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4362
7a292a7a
SS
4363 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4364 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4365 alternate form of enum ptype.
4366
c906108c
SS
43671999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4368
7a292a7a
SS
4369 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4370 * gdb.hp/*.exp: Change all to run compiler probe only after
4371 passing skip_hp_tests, so as not to waste time on guaranteed
4372 failure.
4373
c906108c
SS
4374 * gdb.c++/overload.cc: Pass string instead of char addr, always
4375 init ccpfoo.
4376 * gdb.c++/templates.cc: Fix syntax error.
4377
7a292a7a
SS
4378Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4379
4380 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4381 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4382 command.
4383
43841999-03-18 James Ingham <jingham@cygnus.com>
4385
4386 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4387
4388 * gdb.c++/method.exp: It was testing an uninitialized int on the
4389 stack and assuming it was positive.
4390
4391 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4392
4393 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4394 keep it from killing the rest of the tests.
7a292a7a
SS
4395 Use gdb_continue_to_end.
4396
4397 * gdb.base/sigall.exp: use gdb_continue_to_end.
4398
4399 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4400
4401 * gdb.base/display.exp: use runto_main, not run.
4402
beb998c6
AC
4403 * gdb.base/default.exp: Check for the current error message in the
4404 r abbreviation test.
7a292a7a
SS
4405 Add strongarm to the targets that know info float.
4406
beb998c6 4407 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4408 run which doesn't work with monitors.
4409
4410 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4411
4412 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4413
4414 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4415 program. Traps the case (in Cygmon) when the program never really
4416 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4417 more places, so I used my name. Sorry Mark...
4418
4419 * config/monitor.exp (gdb_target_monitor): added another
4420 target_info parameter: remotebinarydownload. This will set the
4421 remotebinarydownload flag if this is causing some boards trouble.
4422
44231999-03-18 Mark Salter <msalter@cygnus.com>
4424
4425 * lib/gdb.exp (continue_to_exit): New function.
4426
4427 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4428 * gdb.base/ending-run.exp: Ditto.
4429 * gdb.base/step-test.exp: Ditto.
4430
44311999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4432
4433 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4434 (suggested by Art Haas <ahaas@neosoft.com>).
4435
44361999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4437
4438 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4439
4440Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4441
4442 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4443 descriptions of types (short unsigned int vs unsigned short, etc).
4444
44451999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4446
4447 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4448 a call to strlen; sometimes we do have sources.
4449
44501999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4451
4452 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4453 character, so GDB won't print garbage after its end.
beb998c6 4454
c906108c
SS
4455 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4456 breakpoint there instead. Sometimes GCC emits memcpy to handle
4457 the large structures being passed by value, so we step into that
4458 instead of sum_array_print, which obscures what we're really testing.
4459 * gdb.base/step-test.exp: However, we do want a test that notices
4460 the bizarre steps into memcpy, so do that here. Add check for
4461 stepping into function calls that pass large structures by value.
4462 ("Is that a noun clause, or are you just happy to see me?")
4463 Remove all references to specific line numbers.
4464 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4465 New type and function.
4466 (main): Call large_struct_by_value, passing it a large struct by value.
4467 * lib/gdb.exp (gdb_get_line_number): New function.
4468
4469 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4470 more portable.
4471
7a292a7a
SS
44721999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4473
c906108c
SS
4474 * lib/gdb.exp: Doc fixes.
4475
7a292a7a
SS
44761999-03-05 Nick Clifton <nickc@cygnus.com>
4477
beb998c6 4478 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4479
44801999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4481
c906108c
SS
4482 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4483 commands. They're not germane to this test, and they don't work
4484 that way on remote targets.
4485
3fc11d3e
JM
44861999-03-01 James Ingham <jingham@cygnus.com>
4487
4488 * Changelog entries merged over from gdb development branch.
4489
3fc11d3e
JM
4490 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4491
4492 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4493 for outputting results of test run.
4494
2d4a1622 4495 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4496
4497 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4498
7a292a7a
SS
44991999-02-25 Felix Lee <flee@cygnus.com>
4500
4501 * lib/gdb.exp (debug_format): initialize
4502
c906108c
SS
45031999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4504
4505 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4506 * gdb.base/call-rt-st.c: Ditto.
4507
c906108c
SS
45081999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4509
4510 * gdb.threads/pthreads.exp (horiz): New variable.
4511 (test_startup): Fix regexps that capture thread numbers.
4512
45131999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4514
4515 * gdb.base/smoke.exp: Disambiguate two test case names (both
4516 called ``print'').
4517
4518Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4519
4520 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4521 compilation.
4522
45231999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4524
4525 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4526 actual output formatting.
4527 * gdb.base/smoke.exp: GDB removes leading 0's.
4528 * gdb.base/volatile.exp: Don't check type of remuneration;
4529 that variable is no longer defined in constvars.c.
4530 * gdb.base/step-test.c (main): Exit with explicit exit code.
4531 * gdb.base/step-test.exp: Remove two nexti checks--they are
4532 not portable.
4533
45341999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4535
4536 * gdb.base/help.exp ("help delete display"): Fix test to match
4537 gdb's output.
4538
4539 * gdb.base/long_long.c (known_types): Initialize values to zero.
4540 * gdb.base/long_long.exp: Step one more line
4541 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4542 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4543 unique test case names.
4544
4545Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4546
beb998c6 4547 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4548
4549 * gdb.c++/method.exp: Add missing close brace.
4550
45511999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4552
4553 * gdb.base/maint.exp: Use 'set height 0' to disable page
4554 prompting, not 'set height 400'.
4555
4556 Fix a bunch of timeouts.
4557 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4558 four separate tests, so expect doesn't take forever to match a ton
4559 of text against a regexp with lots of .* forms.
4560 ("maint print psymbols", "maint print symbols"): Make some of
4561 these greps more selective, so that expect doesn't try to wade
4562 through huge piles of output and time out.
4563
4564 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4565
4566 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4567 tests: one which doesn't expect shlib events to be reported, and
4568 another which does, but is XFAIL for all platforms other than
4569 HP/UX.
4570
4571 * gdb.base/break.exp: Teach the test suite that the `catch
4572 fork', `catch vfork', and `catch exec' commands produce error
4573 messages on platforms that don't provide these features.
4574
4575Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4576
4577 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4578 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4579 (shortening names from solib_threshold.exp etc), won't run on
4580 anything but HP-UX for the foreseeable future.
4581 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4582 reflect move.
4583
4584Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4585
4586 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4587 gdb.trace/Makefile.in (clean): Remove all test executables.
4588
4589Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4590
4591 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4592 successfully re-sets breakpoints in shared libraries.
4593 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4594
4595Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4596
beb998c6
AC
4597 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4598 and compiled w/o GCC.
c906108c
SS
4599
4600 * gdb.hp/watch-cmd.exp: ditto.
4601
4602 * gdb.hp/watch-hp.exp: ditto.
4603
4604 * gdb.hp/xdb1.exp: ditto.
4605
4606 * gdb.hp/xdb2.exp: ditto.
4607
4608 * gdb.hp/dbx.exp: ditto.
4609
4610Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4611
4612 * constvars.c: Remove C++-isms.
4613 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4614 with GCC.
4615
4616Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4617
4618 The following changes are part of the HP merge.
4619
4620 * gdb.base/break.exp: new tests to verify that catchpoints for
4621 fork, vfork, and exec don't trigger inappropriately.
4622
4623 * gdb.base/opaque.exp: compile one file at a time, then link.
4624
4625 * gdb.base/signals.exp: be more restrictive about which hppa
4626 systems receive a setup_xfail. new tests.
4627
4628 * gdb.base/solib_threshold.build: new file.
4629 * gdb.base/solib_threshold.exp: new file.
4630 * gdb.base/solib_threshold.link_opts: new file.
4631 * gdb.base/solib_threshold.mk: new file.
4632 * gdb.base/gen_solib_threshold.c: new file.
4633
4634 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4635 tests. New tests for enums inside classes.
4636
4637 * gdb.c++/compiler.cc: indicate support of template debugging.
4638
4639 * gdb.c++/demangle.exp: run hp style demangling tests.
4640
4641 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4642 tests.
4643
4644 * gdb.c++/misc.cc: changes to support new tests.
4645
4646 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4647 to support new tests.
4648
4649 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4650 gcc, then skip these tests.
4651
4652Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4653
4654 The following files are part of the HP merge; some had longer
4655 names at HP, but have been renamed to be no more than 14
4656 characters in length.
4657
4658 * gdb.hp/ambiguous.cc: new file.
4659 * gdb.hp/ambiguous.exp: new file.
4660 * gdb.hp/attach.exp: new file.
4661 * gdb.hp/attach2.exp: new file.
4662 * gdb.hp/classes-hp.exp: new file.
4663 * gdb.hp/ctti.exp: new file.
4664 * gdb.hp/ctti-add.cc: new file.
4665 * gdb.hp/ctti-add1.cc: new file.
4666 * gdb.hp/ctti-add2.cc: new file.
4667 * gdb.hp/ctti-add3.cc: new file.
4668 * gdb.hp/dbx.exp: new file.
4669 * gdb.hp/exception.cc: new file.
4670 * gdb.hp/exception.exp: new file.
4671 * gdb.hp/foll-exec.c: new file.
4672 * gdb.hp/foll-exec.exp: new file.
4673 * gdb.hp/foll-fork.c: new file.
4674 * gdb.hp/foll-fork.exp: new file.
4675 * gdb.hp/foll-vfork.c: new file.
4676 * gdb.hp/foll-vfork.exp: new file.
4677 * gdb.hp/inherit-hp.exp: new file.
4678 * gdb.hp/more-steps.exp: new file.
4679 * gdb.hp/namespace.cc: new file.
4680 * gdb.hp/namespace.exp: new file.
4681 * gdb.hp/optimize.exp: new file.
4682 * gdb.hp/pxdb.c: new file.
4683 * gdb.hp/pxdb.exp: new file.
4684 * gdb.hp/quicksort.exp: new file.
4685 * gdb.hp/reg-test.exp: new file.
4686 * gdb.hp/reg-test.s: new file.
4687 * gdb.hp/sized-enum.c: new file.
4688 * gdb.hp/sized-enum.exp: new file.
4689 * gdb.hp/start-stop.exp: new file.
4690 * gdb.hp/templ-hp.cc: new file.
4691 * gdb.hp/templ-hp.exp: new file.
4692 * gdb.hp/thr-lib.c: new file.
4693 * gdb.hp/thr-lib.exp: new file.
4694 * gdb.hp/thr-lib.h: new file.
4695 * gdb.hp/thr-liblib.c: new file.
4696 * gdb.hp/virtfun-hp.c: new file.
4697 * gdb.hp/virtfun-hp.exp: new file.
4698 * gdb.hp/watch-cmd.exp: new file.
4699 * gdb.hp/watch-hp.exp: new file.
4700 * gdb.hp/xdb1.exp: new file.
4701 * gdb.hp/xdb2.exp: new file.
4702 * gdb.hp/xdb3.exp: new file.
4703
4704Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4705
4706 The following files are part of the HP merge; some had longer
4707 names at HP, but have been renamed to be no more than 14
4708 characters in length.
4709
4710 * gdb.base/ss.h: new file.
4711 * gdb.base/call-ar-st.c: new file.
4712 * gdb.base/call-ar-st.exp: new file.
4713 * gdb.base/call-rt-st.c: new file.
4714 * gdb.base/call-rt-st-exp: new file.
4715 * gdb.base/call-strs.exp: new file.
4716 * gdb.base/ena-dis-br.exp: new file.
4717 * gdb.base/environ.exp: new file.
4718 * gdb.base/long_long.exp: new file.
4719 * gdb.base/sect-cmd.exp: new file.
4720 * gdb.base/shlib-cl2.exp: new file.
4721 * gdb.base/smoke.exp: new file.
4722 * gdb.base/so-impl-ld.c: new file.
4723 * gdb.base/so-impl-ld.exp: new file.
4724 * gdb.base/so-indr-cl.c: new file.
4725 * gdb.base/so-indr-cl.exp: new file.
4726 * gdb.base/varargs.exp: new file.
4727 * gdb.base/volatile.exp: new file.
4728 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4729 * gdb.base/display.exp: new file.
c906108c
SS
4730 * gdb.c++/derivation.exp: new file.
4731 * gdb.c++/local.exp: new file.
4732 * gdb.c++/member-ptr.exp: new file.
4733 * gdb.c++/overload.exp: new file.
4734 * gdb.c++/ovldbreak.exp: new file.
4735 * gdb.c++/ref-types.exp: new file.
4736 * gdb.c++/ref-types2.exp: new file.
4737 * gdb.c++/userdef.exp: new file.
beb998c6 4738
c906108c
SS
4739Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4740
4741 * gdb.base/default.exp: Reflect wording change in remote.c.
4742
dc96c6c7 4743Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4744
4745 * gdb.base/help.exp: Update to reflect current text.
4746
4747Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4748
4749 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4750 they're stack variables and contain garbage.
4751 * gdb.c++/anon-union.exp: new file.
4752
4753 The following changes were made by David Taylor
4754 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4755 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4756 in changes by HP.
4757
4758 * gdb.base/bitops.exp: new file.
4759 * gdb.base/default.exp: change expected messages for catch and
4760 info catch tests to reflect HP merge changes.
4761 * gdb.base/enable-disable-break.exp
4762 * gdb.base/ending-run.c: new file.
4763 * gdb.base/long_long.c: new file.
4764 * gdb.base/maint.exp: new file.
4765 * gdb.base/pointers2.exp: new file.
4766 * gdb.base/shlib-call2.exp: new file.
4767 * gdb.base/solib.exp: new file.
4768 * gdb.base/step-test.c: new file.
4769 * gdb.c++/anon-union.cc: new file.
4770 * gdb.c++/local.cc: new file.
4771 * gdb.c++/member-pointer.cc: new file.
4772 * gdb.c++/method.cc: new file.
4773 * gdb.c++/ref-types.cc: new file.
4774 * gdb.c++/ref-types2.cc: new file.
4775 * gdb.c++/userdef.cc: new file.
beb998c6 4776
c906108c
SS
4777 * gdb.base/scope.exp: compile one file at a time, then link.
4778 * gdb.base/langs.exp: ditto.
4779 * gdb.base/list.exp: ditto.
beb998c6 4780
c906108c
SS
4781Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4782
4783 The following changes were made by David Taylor
4784 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4785 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4786 in changes by HP.
beb998c6 4787
c906108c
SS
4788 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4789 skip tests. When compiling pass c++ flag to gdb_compile.
4790 * gdb.c++/
beb998c6 4791
c906108c
SS
4792 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4793 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4794 (skip_hp_tests): new function.
4795 (gdb_preprocess): new function.
4796
4797 * configure.in (hpdir): decide whether to configure gdb.hp.
4798 * configure: regenerated.
4799
4800 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4801 to delete on clean.
4802 (EXECUTABLES): update to reflect new additions.
4803 * gdb.base/commands.exp: update message expected.
4804 * gdb.base/default.exp: add copyright notice.
4805 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4806 * gdb.base/help.exp: update messages to reflect current text.
4807 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4808 targets for recurse tests.
4809 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4810 skip this file.
4811
4812 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4813 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4814 compilation.
4815 * gdb.c++/misc.exp: ditto.
4816 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4817 run the tests. tell gdb_compile that it's a c++ compilation.
4818
4819 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4820
c906108c
SS
4821 * gdb.base/all-bin.exp: new file.
4822 * gdb.base/arithmet.exp: new file.
4823 * gdb.base/assign.exp: new file.
4824 * gdb.base/completion.exp: new file.
4825 * gdb.base/cond-expr.exp: new file.
4826 * gdb.base/condbreak.exp: new file.
4827 * gdb.base/define.exp: new file.
4828 * gdb.base/dollar.exp: new file.
4829 * gdb.base/environment.exp: new file.
4830 * gdb.base/eval-skip.exp: new file.
4831 * gdb.base/jump.exp: new file.
4832 * gdb.base/logical.exp: new file.
4833 * gdb.base/pointers.exp: new file.
4834 * gdb.base/relational.exp: new file.
4835 * gdb.base/section_command.exp: new file.
4836 * gdb.base/whatis-expr.exp: new file.
4837
4838 * gdb.base/all-types.c: new file.
4839 * gdb.base/call-array-struct.c: new file.
4840 * gdb.base/call-return-struct.c: new file.
4841 * gdb.base/call-strings.c: new file.
4842 * gdb.base/callfuncs2.c: new file.
4843 * gdb.base/condbreak.c: new file.
4844 * gdb.base/constvars.c: new file.
4845 * gdb.base/display.c: new file.
4846 * gdb.base/int-type.c: new file.
4847 * gdb.base/jump.c: new file.
4848 * gdb.base/miscexprs.c: new file.
4849 * gdb.base/pointers.c: new file.
4850 * gdb.base/pointers2.c: new file.
4851 * gdb.base/shmain.c: new file.
4852 * gdb.base/shr1.c: new file.
4853 * gdb.base/shr2.c: new file.
4854 * gdb.base/solib.c: new file.
4855 * gdb.base/solib1.c: new file.
4856 * gdb.base/solib2.c: new file.
4857 * gdb.base/varargs.c: new file.
4858 * gdb.c++/derivation.cc: new file.
4859 * gdb.c++/overload.cc: new file.
4860 * gdb.c++/ovldbreak.cc: new file.
4861 * gdb.hp/attach.c: new file.
4862 * gdb.hp/attach2.c: new file.
4863 * gdb.hp/average.c: new file.
4864 * gdb.hp/compiler.c: new file.
4865 * gdb.hp/compiler.cc: new file.
4866 * gdb.hp/execd-program.c: new file.
4867 * gdb.hp/follow-exec.c: new file.
4868 * gdb.hp/follow-fork.c: new file.
4869 * gdb.hp/follow-vfork-and-exec.c: new file.
4870 * gdb.hp/misc-hp.cc: new file.
4871 * gdb.hp/more-steps.c: new file.
4872 * gdb.hp/optimize.c: new file.
4873 * gdb.hp/quicksort.c: new file.
4874 * gdb.hp/run-hp.c: new file.
4875 * gdb.hp/start-stop.c: new file.
4876 * gdb.hp/sum.c: new file.
4877 * gdb.hp/templates-hp.cc: new file.
4878 * gdb.hp/thread-local-in-lib.c: new file.
4879 * gdb.hp/thread-local-in-lib.h: new file.
4880 * gdb.hp/thread-local-in-lib.lib.c: new file.
4881 * gdb.hp/vforked-program.c: new file.
4882 * gdb.hp/virtfunc-hp.cc: new file.
4883 * gdb.hp/watchpoint-hp.c: new file.
4884 * gdb.hp/xdb.c: new file.
4885 * gdb.hp/xdb0.c: new file.
4886 * gdb.hp/xdb0.h: new file.
4887 * gdb.hp/xdb1.c: new file.
4888
4889Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4890
4891 The following change was made by Edith Epstein
4892 <eepstein@cygnus.com> as part of a project to merge in changes
4893 originally made by HP; HP did not create ChangeLog entries.
4894
4895 * gdb.c++/demangle.exp: changed the expected output for some
4896 ARM-style mangling -- removed second reference to datatype.
4897 For example, maint demangle __dt__11T1__pt__2_cFv
4898 T1<char>::~T1<char>(void)
4899 becomes,
4900 maint demangle __dt__11T1__pt__2_cFv
4901 T1<char>::~T1(void)
4902
4903 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4904
c906108c
SS
4905Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4906
4907 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4908 * gdb.trace/backtrace.exp: Likewise.
4909 * gdb.trace/circ.exp: Likewise.
4910 * gdb.trace/collection.exp: Likewise.
4911 * gdb.trace/deltrace.exp: Likewise.
4912 * gdb.trace/infotrace.exp: Likewise.
4913 * gdb.trace/limits.exp: Likewise.
4914 * gdb.trace/packetlen.exp: Likewise.
4915 * gdb.trace/passc-dyn.exp: Likewise.
4916 * gdb.trace/passcount.exp: Likewise.
4917 * gdb.trace/report.exp: Likewise.
4918 * gdb.trace/save-trace.exp: Likewise.
4919 * gdb.trace/tfind.exp: Likewise.
4920 * gdb.trace/tracecmd.exp: Likewise.
4921 * gdb.trace/while-dyn.exp: Likewise.
4922 * gdb.trace/while-stepping.exp: Likewise.
4923
49241998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4925
4926 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4927
4928Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4929
4930 From Brendan Kehoe:
4931 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4932 int return types.
4933
4934Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4935
4936 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4937 remote dos host testing right.
4938
4939Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4940
4941 * gdb.base/corefile.exp: remove some xfails.
4942
4943Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4944
4945 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4946 have different timestamps.
4947
4948Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4949
4950 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4951 gdb.base/default.exp: Replace "exec" with "executable".
4952
4953Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4954
4955 * gdb.base/default.exp: Change else if to elseif from previous
4956 delta.
4957
4958Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4959
4960 * gdb.base/default.exp: Add brace missing from previous delta.
4961
4962Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4963
4964 * gdb.base/default.exp: Support test for info float for all
4965 varieties of arm toolchain.
4966
dc96c6c7 4967Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4968
4969 * gdb.trace/*.exp: remove "remote_download" command.
4970
dc96c6c7 4971Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4972
4973 * gdb.trace/*.exp: remove -gdwarf from compile.
4974
4975Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4976
4977 * gdb.trace/configure.in(AC_INIT): typo
4978 * gdb.trace/configure: regenerated
4979
dc96c6c7 4980Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4981
4982 * config/m68k-emc.exp: New file.
4983 * lib/<emc-support.exp trace-support.exp}: New files.
4984 * configure.in: add new test directory gdb.trace.
4985 * gdb.trace/{configure configure.in Makefile.in}: New files.
4986 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4987 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4988 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4989 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4990 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4991 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4992 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4993
dc96c6c7 4994Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4995
4996 * gdb.c++/classes.exp: Change all regular expressions to match
4997 arbitrary combinations of newline/carriage-return, so that they
4998 will work equally well on Unix and Windows.
4999 * gdb.c++/inherit.exp: ditto.
5000 * gdb.c++/virtfunc.exp: ditto.
5001
50021998-08-11 Dawn Perchik <dawn@cygnus.com>
5003
5004 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5005
c2d11a7d
JM
5006Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5007
5008 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5009 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5010 to use a0-a3/d0-d3 as needed.
5011
5012Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5013
5014 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5015 * gdb.disasm/am33.exp: Corresponding changes.
5016
c906108c
SS
50171998-07-11 Felix Lee <flee@cygnus.com>
5018
5019 * gdb.base/callfuncs.exp: add cmp10 test.
5020 * gdb.base/callfuncs.c (cmp10): new function.
5021
5022Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5023
beb998c6 5024 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5025 into two parts to get around a synchronization problem in expect.
5026
3fc11d3e
JM
5027Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5028
5029 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5030
5031 * configure.in: Add options for gdbtk testsuite.
5032
5033 * configure: Regenerate.
5034
5035 * gdb.gdbtk: New directory to hold gdbtk tests.
5036
c906108c
SS
5037Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5038
5039 * gdb.fortran/types.exp: Escape brackets in expect patterns
5040 for test_float_literal_types_accepted tests.
5041 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5042 before run test.
5043
c2d11a7d
JM
5044Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5045
5046 * am33.exp: Just compile, do not link the testcase.
5047 * am33.s: Add ".am33" pseudoop to force am33 mode.
5048
c906108c
SS
50491998-06-25 Felix Lee <flee@cygnus.com>
5050
5051 * gdb.base/setshow.exp: make sure $pc is sane.
5052
5053 * gdb.stabs/weird.exp: split expect patterns properly.
5054
c2d11a7d
JM
5055Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5056
5057 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5058 * gdb.disasm/am33.exp: Run it.
5059
dc96c6c7 5060Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5061
5062 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5063 match processing (and eliminate spurious timeouts when running).
5064
dc96c6c7 5065Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5066
5067 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5068 exception test, but conditionalize it on target [mach | gnu].
5069
dc96c6c7 5070Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5071
5072 * gdb.base/overlays.exp: fixup compile line for linker script.
5073
5074Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5075
5076 * gdb.fortran/types.exp: don't guess at float size.
5077
5078Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5079
5080 * gdb.base/exprs.exp: delete test that depends on int size.
5081
5082Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5083
5084 * config/sim.exp: Removed checks for target triplets.
5085 (gdb_target_sim): Use gdb,target_sim_options.
5086
5087Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5088
5089 * gdb.base/reread.exp: New file.
5090 * gdb.base/reread1.c: New file.
5091 * gdb.base/reread2.c: New file.
5092
5093Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5094
5095 * config/sim.exp: Use 'target sim -sparclite' when running
5096 SPARClite programs.
5097
5098Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5099
5100 * gdb.base/structs2.exp: New file.
5101 * gdb.base/structs2.c: New file.
5102
5103Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5104
5105 * gdb.asm/common.inc: New file.
5106 * gdb.asm/d10v.inc: New file.
5107 * asm-source.exp: Pass -I's to gas to find .inc files.
5108 Update line numbers in expected output.
5109 * asmsrc1.s: Rewrite.
5110 * asmsrc2.s: Rewrite.
5111 * configure.in: Create arch.inc symlink.
5112 * configure: Regenerate.
5113 * Makefile.in (distclean): Delete arch.inc.
5114
5115Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5116
5117 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5118 (t_enum_value2): ditto
5119 (t_enum_value3): ditto
5120 (main): ditto
5121Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5122
5123 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5124 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5125 change.
5126 Use gdb_test instead of send_gdb/gdb_expect sequences.
5127
5128Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5129
5130 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5131 not void.
5132
5133Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5134
5135 * gdb.base/branches.c: Code with lots of loops and
5136 subroutines. Used to test gdbs ability to single step through PC
5137 changes, especially to test mips-tdep.c:mips_next_pc
5138
5139Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5140
5141 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5142 more rigorous EGCS C++ error checking.
5143
5144Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5145
5146 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5147 tests.
c906108c 5148 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5149 function when asleep.
c906108c 5150 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5151 for i*86 Linux and SVR4 signal handling problems.
5152 Remove linux xfail for `next to handler in signals_tests_1', fixed
5153 by recent infrun.c change.
c906108c 5154 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5155 stack backtraces.
c906108c
SS
5156 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5157 target.[ch] change.
5158
5159Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5160
5161 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5162 for a newline from gdb before continuing.
5163 (default_gdb_exit): Just look for y or n.
5164 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5165 it does, fail the rests of the tests in the file.
5166
5167Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5168
5169 * config/cygmon.exp: New file.
5170
5171Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5172
5173 * gdb.base/list.exp: Fix problem with "list default lines around
5174 main" test on remote targets.
5175
5176 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5177 run test on remote targets.
5178
5179Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5180
5181 * gdb.asm: New directory.
5182 * configure.in: Configure it.
5183 * configure: Regenerate.
5184 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5185 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5186
5187Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5188
5189 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5190
dc96c6c7 5191Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5192
c906108c
SS
5193 * gdb.base/overlays (several files): Merge the two overlay
5194 managers into one. Change variables (foox, barx, bazx, grbxx)
5195 back into ints but force them to load in their proper sections.
5196
5197Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5198
5199 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5200 on-chip insn memory and IMAP1 to upper 128k.
5201 (D10VCopy): Handle memory regions crossing 16k boundaries.
5202 (D10VCopy): Transfer data in 32 bit chunks.
5203
5204Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5205
5206 * gdb.base/overlays.c (main): Exit normally when result is
5207 correct.
5208
5209 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5210 map. Include space for printf in .text segment.
5211
5212 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5213 updated d10v memory VMA/LMA map.
5214 (D10VCopy): Call D10VTranslate.
beb998c6 5215
c906108c
SS
5216Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5217
5218 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5219
5220 * gdb.base/bar.c (barx, bar): Change variable to small array so
5221 that it won't be put into the .sdata - small data -
5222 section. Update reference.
5223 * gdb.base/baz.c (bazx, baz): Ditto.
5224 * gdb.base/foo.c (foox, foo): Ditto.
5225 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5226
5227 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5228 to be arrays.
beb998c6 5229
dc96c6c7 5230Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5231
c906108c
SS
5232 * gdb.base/overlays.exp: fix up and get working again.
5233 Add tests for backtraces from an overlay function.
beb998c6 5234
c906108c
SS
5235Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5236
5237 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5238 "calling function with watchpoint enabled".
5239
5240Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5241
5242 * gdb.base/break.exp (test_next_with_recursion): Remove
5243 gdb_suppress_tests for d10v-*-*.
5244 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5245 pending review of whether it is useful or not.
5246
5247Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5248
5249 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5250
5251Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5252
5253 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5254 * config/dve.exp: New file to support Densan boards.
5255
5256Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5257
5258 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5259 reads and BSD.
5260
5261Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5262
5263 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5264 response.
5265
5266 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5267
5268Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5269
5270 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5271 test.
5272
5273 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5274 target_sizeof_long and target_bigendian_p.
5275 (structs_by_value, structs_by_reference): Check values according
5276 to targets word size and endianess.
beb998c6 5277
c906108c
SS
5278Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5279
5280 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5281 output.
5282
5283Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5284
5285 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5286 Update test of set args help to match source change.
5287
5288Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5289
5290 * gdb.base/default.exp: Expect help system output to be in
5291 alphabetical order.
5292 * gdb.base/help.exp: Ditto.
5293
5294Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5295
5296 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5297 "i*86-pc-linux-gnu*".
5298 * gdb.base/interrupt.exp: Ditto.
5299 * gdb.base/corefile.exp: Ditto.
5300
5301 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5302 define vxworks when building the testcase.
5303
5304 * gdb.base/ptype.exp: Fix testnames to be unique.
5305 * gdb.base/radix.exp: Ditto.
5306 * gdb.base/term.exp: Ditto.
5307 * gdb.base/whatis.exp: Ditto.
5308 * gdb.c++/classes.exp: Ditto.
5309
5310Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5311
5312 * gdb.base/callfuncs.exp: Fix indentation.
5313
5314 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5315 suppress_flag has been set.
5316 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5317 target feature.
5318
5319Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5320
5321 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5322 the testcase.
5323
5324 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5325 set_debug_traps() and breakpoint().
5326 * gdb.c++/misc.cc (main): Ditto.
5327 * gdb.c++/templates.cc (main): Ditto.
5328 * gdb.c++/virtfunc.cc (main): Ditto.
5329
5330Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5331
5332 * lib/gdb.exp(gdb_step_for_stub): New function.
5333 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5334 exists, reload the executable and do a "continue" instead of
5335 doing a jump.
5336 (runto_main): Use gdb_step_for_stub.
beb998c6 5337
c906108c
SS
5338 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5339 tests to have unique names.
5340 * gdb.base/callfuncs.exp: Ditto.
5341 * gdb.base/commands.exp: Ditto.
5342 * gdb.base/default.exp: Ditto.
5343 * gdb.base/help.exp: Ditto.
5344 * gdb.base/list.exp: Ditto.
5345 * gdb.base/opaque.exp: Ditto.
5346 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5347 similar tests.
beb998c6 5348
c906108c
SS
5349 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5350 * gdb.c++/cplusfuncs.cc: Ditto.
5351 * gdb.c++/virtfunc.cc: Ditto.
5352
5353 * config/monitor.exp: Keep track of the last file we saw, rather
5354 than trying to get the info from gdb.
5355
5356 * gdb.fortran/types.exp: Move comment to previous line.
5357
5358Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5359
5360 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5361 target mode.
5362
5363Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5364
5365 From Bob Manson:
5366 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5367 string from GDB when it connects.
5368
5369 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5370
5371Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5372
5373 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5374 if we can't get a debug format from GDB (we may be testing an
5375 older GDB). Use a 10 second timeout when checking for the format.
5376
5377 * gdb.stabs/weird.exp: Fix quoting.
5378
5379 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5380
5381Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5382
5383 * config/arm-ice.exp: New file.
5384
5385Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5386
5387 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5388 until it has been modified to work with the new testsuite.
5389
99707966 5390 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5391 testcase won't compile, cause all of the testcases in the file to
5392 fail instead.
5393
5394 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5395 (gdb_clear_suppressed): New procedure.
5396 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5397 it contains a positive value.
5398
5399Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5400
5401 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5402
5403 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5404
5405Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5406
5407 * lib/gdb.exp (setup_xfail_format): New function.
5408 (get_debug_format): New function to get debug format.
5409 (debug_format): New global variable to hold last value set
5410 by get_debug_format.
5411 * gdb.base/list.exp: Call get_debug_format and expect some
5412 tests to fail for DWARF 1 and COFF formats.
5413 * gdb.c++/ptype.exp: Ditto.
5414 * gdb.c++/classes.exp: Ditto.
5415 * gdb.c++/cplusfuncs.exp: Ditto.
5416 * gdb.c++/inherit.exp: Ditto.
5417 * gdb.c++/templates.exp: Ditto.
5418 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5419
c906108c
SS
5420Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5421
5422 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5423 host doesn't have a currently-open connection.
5424
5425 * config/sparclet.exp: Cleanups and fixes to make it generic for
5426 any gdb stub target. Handle cases where gdb doesn't respond when
5427 interrupted in a sane fashion.
5428
5429 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5430 same thing in a totally different way.
5431
5432 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5433 setting "timeout".
5434 (gdb_start): We set the global gdb_prompt variable in
5435 default_gdb_init now.
5436
5437Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5438
5439 * gdb.base/printcmds.exp: Fix "check for floating addition"
5440 regexp to accept results within approx +/- .01 of exact value.
5441 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5442
5443Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5444
5445 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5446 properly.
5447 (gdb_expect): Add optional timeout parameter, and add timeout
5448 value to various calls.
5449 (gdb_suppress_tests): Only give one warning message per group.
5450
5451Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5452
5453 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5454 global variables. Handle getting a value for $timeout more
5455 gracefully.
5456
5457Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5458
5459 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5460 initialize.
5461 (default_gdb_init): New procedure; allow gdb_init to be overridden
5462 by a target configuration file.
5463 (gdb_expect): Pass the timeout to remote_expect.
5464
5465 * config/monitor.exp(gdb_load): Fix typo in regexp.
5466
5467Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5468
5469 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5470
5471Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5472
5473 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5474 here. Call gdb_target_exec before rebooting the target, to make
5475 sure the connection to the target is closed.
5476 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5477 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5478 Also detect "Timeout reading from remote" error.
5479
5480 * config/gdbserver.exp: Pass the executable being loaded to
5481 gdb_target_monitor. Don't call gdb_file_cmd here; let
5482 gdb_target_monitor do it.
5483
5484 * gdb.disasm/hppa.exp: Don't use exec_output.
5485
5486Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5487
5488 * gdb.base/list.exp: If we're debugging a non-native target,
5489 try to set the pc register to point to the start of the
5490 program before doing the first list command.
5491
5492 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5493 test_calls after restarting.
5494
5495 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5496 reloading.
5497
5498 * gdb.base/watchpoint.exp: Fix typo.
5499
5500 * gdb.base/setshow.exp: Check for use_gdb_stub.
5501
5502 * gdb.base/break.exp: Fix continue until exit test for the gdb
5503 stub case.
5504 * gdb.base/langs.exp: Ditto.
5505
5506 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5507 gdb_load_offset. If we weren't given a file to load, figure out
5508 what the current file is and use it.
5509
5510 * config/i386-bozo.exp: New file.
5511
5512Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5513
5514 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5515 feature.
5516
5517 * config/proelf.exp: New entry.
5518
5519Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5520
5521 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5522 of regexps.
5523
5524 * gdb.base/watchpoint.exp: Don't run the test_stepping
5525 tests if gdb can't call functions on the target.
5526
5527 * gdb.base/setshow.exp: Don't run the set prompt tests if
5528 the board has gdb_prompt set.
5529
5530Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5531
5532 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5533 * gdb.base/commands.exp: Likewise.
5534 * gdb.base/setshow.exp: Likewise.
5535
5536Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5537
5538 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5539 feature.
5540
5541 * config/i960.exp: New file.
5542
5543Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5544
5545 * gdb.base/funcargs.exp: Check for gdb,short_int target
5546 feature instead of looking for explicit target triplets.
5547
dc96c6c7 5548Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5549
beb998c6 5550 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5551 "p 123DEADBEEF", to check parse_number.
5552 * top.c: change "to enable to enable" to "to enable" in a couple
5553 of help strings.
5554
5555Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5556
5557 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5558 on the mn10300.
beb998c6 5559
c906108c
SS
5560Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5561
5562 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5563 where the test executable is run with explicit args.
5564 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5565
5566Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5567
5568 * gdb.base/run.c: Use FAKEARGV to build test executable that
5569 does not require a command line arg, since most simulators
5570 don't currently support passing such an arg into the simulated
5571 program.
5572 * gdb.base/commands.exp: Change tests to insert the proper
5573 value as the arg to the first recursive factorial call. Change
5574 compilation line to define FAKEARGV at compile time.
5575
5576Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5577
5578 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5579 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5580 function with watchpoint enabled" test.
5581
5582Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5583
5584 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5585 Don't call gdb_test when the command doesn't return to a gdb prompt.
5586
5587 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5588 "Tests restarted" messages.
5589
5590Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5591
5592 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5593
dc96c6c7 5594Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5595
5596 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5597 for INFO SYMBOL; add help tests for OVERLAY commands.
5598 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5599 add tests for OVERLAY commands
5600 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5601 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5602 * gdb.base/sigall.c: add usestubs code frag
5603 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5604
c906108c
SS
5605Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5606
5607 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5608 failures.
5609 (gdb_stop_suppressing_tests): Note that tests have restarted.
5610
5611Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5612
5613 * config/h8300.exp: New file.
5614
5615Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5616
5617 * gdb.base/setshow.exp: Check for the existence of a
5618 feature, not its value.
5619
5620Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5621
5622 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5623
5624 * gdb.base/scope.exp: It's now init0(), not init().
5625
5626 * gdb.base/scope0.c: For now, change init() to be init0().
5627
5628 * config/monitor.exp: Use gdb_serial in preference to serial
5629 or netport.
5630
5631 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5632 and it's not already set.
5633
5634Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5635
5636 * gdb.base/setshow.exp: Only test the run command if the target
5637 isn't using a stub and if it supports argument passing.
5638
5639Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5640
5641 * config/udi.exp(gdb_start): Make sure UDICONF is set
5642 properly before starting gdb.
5643
5644Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5645
5646 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5647 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5648 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5649
5650Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5651
5652 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5653 specialized code to reboot the board, use remote_reboot instead.
5654
5655 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5656
5657 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5658
5659 * config/monitor.exp: Make sure we disconnect from the target.
5660 Also, try a reboot/reload cycle instead of failing if the
5661 load fails.
5662
5663Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5664
5665 * gdb.base/default.exp: Don't set match_max.
5666 * gdb.base/help.exp: Ditto.
5667 * gdb.base/list.exp: Ditto.
5668 * gdb.base/signals.exp: Ditto.
5669
5670 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5671 set, use remote_ld to download the testcase instead of
5672 the GDB loader.
5673
5674Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5675
5676 * config/vr5000.exp: New file.
5677
5678 * config/monitor.exp(gdb_target_monitor): Add pattern for
5679 "Ending remote" to detect errors in connecting.
5680
5681 * gdb.base/setshow.exp: Add .* within auto language test.
5682
5683 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5684 target feature.
5685
5686 * config/monitor.exp(gdb_load): Check for a failure when loading,
5687 and reboot the board if necessary.
5688
5689 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5690 a set of tests. Remove print.* from the patterns being checked.
5691
5692Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5693
5694 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5695 refer to gdb_spawn_id.
5696
5697 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5698 longer used.
5699 * config/sparclet.exp: Ditto.
5700 * config/sparclet-old.exp: Ditto.
5701 * config/slite.exp: Ditto.
5702 * config/sim.exp: Ditto.
5703 * gdb.base/funcargs.exp: Ditto.
5704
5705 * lib/gdb.exp:Remove references to gdb_spawn_id.
5706 (gdb_expect): Move to remote.exp.
5707
5708Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5709
5710 * config/monitor.exp: Detect the "Couldn't establish connection"
5711 message from GDB.
5712
5713Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5714
5715 * gdb.base/bitfields.exp: Use runto instead of explicit
5716 gdb_run_cmd/gdb_expect sequences.
5717
5718 * gdb.base/break.exp(text_next_with_recursion): Add match for
5719 gdb_expect call.
5720
5721 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5722 We also need to handle the "A program is being debugged already"
5723 prompt from gdb. Use gdb_test to set the baud rate.
5724
5725 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5726 to 20000. Really. I mean it.
5727
5728Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5729
5730 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5731 fails. If suppress_flag is set, skip perror message about not
5732 being able to send to GDB.
5733 (send_gdb): If suppress_flag is set, don't try to send commands to
5734 GDB.
5735 (gdb_expect): If suppress_flag is set, always fail immediately.
5736 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5737 (gdb_init): Call gdb_stop_suppressing_tests.
5738 (default_gdb_exit): Ditto.
5739 (default_gdb_start): Ditto.
5740
5741 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5742 gdb_stop_suppressing_tests as appropriate.
5743 * gdb.base/break.exp: Ditto.
5744 * gdb.base/callfuncs.exp: Ditto.
5745 * gdb.base/commands.exp: Ditto.
5746 * gdb.base/exprs.exp: Ditto.
5747 * gdb.base/funcargs.exp: Ditto.
5748 * gdb.base/list.exp: Ditto.
5749 * gdb.base/recurse.exp: Ditto.
5750 * gdb.base/scope.exp: Ditto.
5751 * gdb.base/structs.exp: Ditto.
5752 * gdb.c++/inherit.exp: Ditto.
5753
5754Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5755
5756 * config/vr4300.exp: New file.
5757
99707966
MC
5758 * gdb.*/*.exp: Call gdb_expect instead of expect.
5759
5760 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5761
5762Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5763
5764 * lib/gdb.exp(gdb_init): New function.
5765
5766 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5767 for each individual variable set.
5768
5769 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5770 name.
5771
5772 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5773
5774 * gdb.base/scope.exp: Use gdb_test.
5775
5776 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5777 aborting; the testsuite driver will do that for us (see
5778 gdb_finish). Also, use gdb_test in a few more places.
5779
5780Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5781
5782 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5783
5784Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5785
5786 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5787 and "add_tests" are not at the same address.
5788
5789Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5790
5791 * gdb.base/ptype.exp: Use gdb_test.
5792
5793Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5794
5795 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5796 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5797 left in. No longer expect them to fail.
5798
5799 * gdb.stabs/*.mt; Deleted, no longer used.
5800 * gdb.stabs/configure.in: Remove references to target makefile
5801 frags.
5802 * gdb.stabs/configure: Rebuilt.
5803
5804 * gdb.disasm/*.mt: Deleted, no longer used.
5805 * gdb.disasm/configure.in: Remove references to target makefile
5806 frags. Use "sh3.s" as the unique filename for this directory.
5807 * gdb.disasm/configure: Rebuilt.
5808
5809 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5810 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5811 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5812
5813Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5814
5815 * config/udi.exp: Use mondfe,name instead of remote_host.
5816
5817Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5818
5819 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5820 a function with a watchpoint enabled on the mn10200.
5821
5822 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5823 before trying to create it!
5824
5825Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5826
5827 * config/vx.exp: Use hostname instead of netport.
5828
5829 * config/vxworks.exp: New file.
5830
5831 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5832
5833 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5834 gdb before assuming everything worked. Send a ^C if a timeout
5835 occurs.
5836
5837 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5838 $gdb_spawn_id directly.
5839 (gdb_run_cmd): Try _start as well as start. Use the target feature
5840 gdb,start_symbol as the symbol to start from when jumping.
5841
5842Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5843
5844 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5845 redundant) test.
5846
5847 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5848 it doesn't lose for 16bit integer systems.
5849
5850Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5851
5852 * gdb.fortran/types.exp: If the target doesn't support "double"
5853 data types, then expect "real" types to only be 4 bytes.
5854
5855 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5856 call tests if the target doesn't support inferior function calls.
5857
5858 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5859 in printf tests.
5860
5861Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5862
5863 * gdb.base/help.exp: Disable "help set", "help show", and
5864 "help support". Simplify regexp for "help stack".
5865
5866 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5867 to 60 seconds. Temporarily set match_max to 15000 around the
5868 "info copying" test.
5869
5870 * gdb.base/nodebug.exp: Don't try to do an inferior function
5871 call if the target doesn't support them.
5872 * gdb.base/printcmds.exp: Likewise.
5873 * gdb.base/setvar.exp: Likewise.
5874 * gdb.base/structs.exp: Likewise.
5875 * gdb.c++/templates.exp: Likewise.
5876 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5877
5878 * gdb.base/recurse.exp: Enable for the mn10200.
5879
5880 * configure.in: Do configure gdb.stabs directory for *-*-elf
5881 targets.
5882 * configure: Rebuilt.
5883
5884 * gdb.base/break.exp: Check for gdb,noresults before testing
5885 exit status and/or results from the target.
5886 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5887 * lib/gdb.exp: Remove old (now bogus) initialization of
5888 noinferior, noargs, noresults and nosignals.
5889
5890Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5891
5892 * config/sh.exp: New file.
5893
5894 * config/slite.exp: Try to connect multiple times to the board
5895 before rebooting. Only send a "monitor run" if need_monitor_run
5896 is set.
5897
5898 * gdb.base/break.exp: Don't do the "stub continue" test if
5899 the target has gdb_stub set.
5900
5901 * gdb.base/callfuncs.exp: Increase the timeout.
5902
5903 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5904 if the target has gdb,noinferiorio set.
5905
5906 * gdb.base/list.exp: Increase match_max to 10000 characters.
5907
5908 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5909
5910 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5911 target.
5912
5913 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5914
5915Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5916
5917 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5918 trying to delete the copy of gdb. Catch the file delete so we
5919 don't die if the delete fails; also, the file should be copied to
5920 the host, not to the build.
5921
5922Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5923
5924 * lib/gdb.exp(gdb_test): Surround the result pattern with
5925 parenthesis in case it contains multiple regexps separated
5926 with |.
5927
5928 * gdb.base/watchpoint.exp: Use gdb_test.
5929 * gdb.base/default.exp: Ditto.
5930
5931Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5932
99707966 5933 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5934
c906108c
SS
5935 * gdb.base/scope.exp: Use gdb_test.
5936 * gdb.c++/classes.exp: Ditto.
5937 * gdb.c++/inherit.exp: Ditto.
5938
5939Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5940
5941 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5942 remote_exec instead.
5943 * gdb.base/corefile.exp: Don't be ridiculous.
5944 * gdb.base/*.c: Add missing stub invocations.
5945
5946Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5947
5948 * config/slite.exp: Miscellaneous fixes.
5949
5950 * lib/gdb.exp: Fix runto.
5951
5952 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5953 the target.
5954
5955 * gdb.base/watchpoint.exp: Fix regexp.
5956
5957 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5958 close and wait commands, as the descriptor may now be
5959 invalid. Always call "remote_close host".
5960
5961Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5962
5963 Major rewrite for testsuite revision.
beb998c6 5964
c906108c
SS
5965 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5966 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5967 instead of relying on spawn_id to always contain a valid
5968 spawn id.
5969 (get_compiler_info): New procedure to build the ${binfile}.ci
5970 file, instead of replicating this in N different places.
5971 (gdb_compile): New procedure.
beb998c6 5972
c906108c
SS
5973 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5974 appropriate arguments) instead of compile. Use gdb_test in a lot
5975 more places. Use send_gdb instead of send. Always run gdb_start
5976 at the start of a testcase, as this is no longer done magically.
5977
5978 config/*-gdb.exp: Rename without the -gdb suffix.
5979
5980 config/mips.exp: Use remote_close instead of exit_remote_shell.
5981 config/monitor.exp: Use target_info instead of looking at
5982 baud, timeout, etc.
5983 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5984
5985Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5986
5987 * gdb.c++/templates.exp (test_ptype_of_templates),
5988 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5989 Update expect patterns for destructors and assignment operators
5990 to match corresponding c-typeprint.c changes.
5991 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5992 to destructor breakpoint test, GDB should be able to set the
5993 destructor breakpoint without specifying arguments.
5994
5995Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5996
5997 * gdb.threads/pthreads.exp: Change result for failure to compile due
5998 to lack of pthreads runtime support from an error to simply an
5999 unsupported test, per dejagnu standards.
6000
6001Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6002
6003 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6004 where GDB exits to reduce pattern match time.
6005 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6006
6007 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6008
dc96c6c7 6009Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6010
6011 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6012 * gdb.base/default.exp: ditto.
6013 * gdb.base/nodebug.exp: ditto.
6014 * gdb.base/printcmds.exp: ditto.
6015 * gdb.base/ptype.exp: ditto.
6016 * gdb.base/setvar.exp: ditto.
6017 * gdb.base/structs.exp: ditto.
6018 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6019
6020Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6021
6022 * configure, */configure: Rebuild with autoconf 2.12.
6023
6024Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6025
6026 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6027 use new i*86-pc-linux*-gnu quads.
6028 * gdb.base/corefile.exp: Ditto.
6029 * gdb.base/signals.exp: Ditto.
6030 * gdb.base/sigall.exp: Ditto.
6031 * gdb.base/interrupt.exp: Ditto.
6032
6033 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6034 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6035 RedHat 4.0.
beb998c6 6036
c906108c
SS
6037 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6038 linux. This allows the test case to at least compile on latest
6039 linux, but still not run due to missing the threads runtime library.
6040
6041Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6042
6043 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6044 directory to search gdb directory. Accept and step over conditional
6045 stack alignment code. Consume $prompt in failure cases.
6046 Reset timeout to $oldtimeout instead of some arbitrary value.
6047 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6048 timeout problems with infinite stack backtraces.
6049 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6050 Accept function parameters for linkfunc member.
6051
6052Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6053
6054 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6055 (CXXFLAGS): Remove, unreferenced.
6056 (B_OPTIONS): Add for -B options and add code to initialize with
6057 previous -B options and also add -B option to pick up cross compiled
6058 runtime.
6059 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6060 doing cross compiles.
6061 (target_alias): Declare global.
6062 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6063 to verify that gcc exists in build tree, and if so set CC to that
6064 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6065
c906108c
SS
6066Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6067
6068 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6069 ptype test for anonymous union. Fixup testcase to match
6070 current gcc debug output.
6071
6072Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6073
6074 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6075 force argument to an unsigned long type.
6076
6077Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6078
6079 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6080 tests and anonymous union print/ptype tests.
6081 * gdb.base/list.exp (test_forward-search): Increase timeout by
6082 5 minutes for the "search extremely long line" case.
6083 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6084 completely optional and that the pass/fail messages use the command as
6085 the message if that third arg is a null string.
6086 (gdb_test_exact): Arrange that a null string pattern means match a
6087 null string output rather than any output, which might include random
6088 errors.
6089 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6090 backtrace test.
6091 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6092 always failing and failure is now exposed by gdb.exp changes.
6093
6094Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6095
6096 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6097 weren't being noted.
6098
6099Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6100
6101 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6102 * gdb.stabs/weird.exp: Remove v_comb xfails.
6103
dc96c6c7 6104Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6105
6106 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6107 list.exp scope.exp watchpoint.exp]
6108 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6109
dc96c6c7 6110Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6111
6112 * config/monitor.exp: Increase download timeout to 1000 seconds.
6113
dc96c6c7 6114Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6115
6116 * config/m32r.exp: Increase timeout to 120 seconds.
6117
6118Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6119
6120 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6121 and accept older ordering as obsolescent gcc or gdb.
6122 * gdb.c++/templates.exp: Ditto.
6123 * gdb.c++/virtfunc.exp: Ditto.
6124
6125Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6126
6127 * gdb.base/coremaker.c: Add code to mmap some data so we
6128 can check that it ends up in the core file.
6129 * gdb.base/corefile.exp: Add test to read mmapped data
6130 from core file.
6131
dc96c6c7 6132Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6133
6134 * config/m32r.exp: New file.
6135
6136Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6137
6138 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6139 that cflags can contains -gstabs, and work correctly for other tests.
6140
dc96c6c7 6141Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6142
6143 * gdb.base/setshow.exp: New file, tests show and set.
6144 * gdb.base/setshow.c: New file, tests show and set.
6145 * gdb.base/help.exp: Add test for help set|show annotate.
6146 * gdb.base/default.exp: Add test for set|show annotate.
6147
6148Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6149
6150 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6151 errors unique.
6152 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6153 explicitly.
6154
6155Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6156
6157 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6158 and width commands. This is done elsewhere.
6159 * (gdb_start): Don't call gdb_start_sim here. That's already
6160 done in gdb_load. This fixes lots of failures in default.exp.
6161
6162Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6163
6164 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6165 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6166 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6167 in the same we we treat other failures (since it may be an expected
6168 condition), rather than as an error.
6169 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6170 old test format.
6171
6172Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6173
6174 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6175 (distclean maintainer-clean realclean): No need to remove files
6176 twice. Nuke the duplicates.
6177 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6178 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6179 Remove config.h along with other config files.
6180
6181Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6182
6183 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6184 "p func1 ()" and note that rests of tests are skipped.
6185 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6186 setup_xfails for "print func2::coremaker_local".
6187 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6188 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6189 affected by the previous run test.
6190 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6191 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6192 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6193 "pass int powerset tuple" and "pass modeless int powerset tuple".
6194 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6195 "real write 4" and "real write 8".
6196 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6197 setup_xfails for "print vs1 after tuple assign 2",
6198 "print \$i after tuple assign 2", and
6199 "print vs2 after tuple assign 2".
6200 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6201 meaningful error message and return -1 so the caller can
6202 suppress further tests and avoid a cascade of errors.
beb998c6 6203
c906108c
SS
6204Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6205
6206 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6207 format for printing version.
6208 * gdb.base/default.exp: Ditto.
6209 * gdb.base/interrupt.exp: Fix problem with cascade of
6210 errors if child process dies while calling a function.
beb998c6 6211
c906108c
SS
6212Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6213
6214 * Makefile.in (VPATH): Add
6215 * Makefile.in (Makefile, config.status): Fix rules so things get
6216 remade when necessary.
6217
6218Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6219
6220 * Makefile.in (just-check): Add path to sibling expect dir
6221 to environment variable specified by RPATH_ENVVAR.
6222
6223Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6224
6225 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6226 (just-check): Add shared library paths for libstdc++, tk,
6227 tcl, bfd, and opcodes to the environment variable specified
6228 in RPATH_ENVVAR.
6229 * configure.in: Add support to recognize --enable-shared flag
6230 and generate correct value for RPATH_ENVVAR.
6231 * configure: Regenerated with autoconf.
6232
6233Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6234
6235 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6236 include all osf versions.
6237 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6238 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6239 when target is linux. When failing to build pthreads test
6240 executable, give more meaningful message.
6241 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6242 arg for pthread_create.
beb998c6 6243
c906108c
SS
6244Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6245
6246 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6247 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6248 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6249 and -lpthreads (everybody else).
6250 (test_startup): Fail gracefully if threads are not supported.
6251 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6252 "p/c array_index("abcdef",2)" when not gcc compiled.
6253 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6254 "print func2::coremaker_local" when not gcc compiled.
6255 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6256 "ptype on opaque struct tagname (statically)",
6257 "ptype on opaque struct tagname (dynamically) 1", and
6258 "ptype on opaque struct tagname (dynamically) 2"
6259 for not compiled with gcc.
6260 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6261 backtrace when compiled with gcc.
beb998c6 6262 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6263 than always return success.
6264
6265Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6266
6267 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6268
6269Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6270
6271 * gdb.base/structs.exp: Undo last change.
6272
6273Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6274
6275 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6276 encapsulate all the steps/nexts done during self test, starting
6277 at main, and makes them less sensitive to optimization issues.
6278 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6279 signal handler" test.
6280 * gdb.threads/pthreads.exp: Only run this for native configs.
6281 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6282 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6283 tests.
6284 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6285 for "runto test_calls(void)" test.
beb998c6 6286
c906108c
SS
6287Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6288
6289 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6290 and don't expect address info in breakpoint confirmations.
6291
6292Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6293
6294 * gdb.base/list.exp (test_forward_search): Increase timeout
6295 temporarily by 60 seconds for searching extremely long line,
6296 and then reset to old value when done. Increase expect input
6297 buffer to 10000.
6298
6299Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6300
6301 * gdb.base/list.exp (test_forward_search): Fix to handle very
6302 long source line without overflowing expect's input buffer.
6303
6304Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6305
6306 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6307 "buffer_full".
6308
6309 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6310 "buffer_full".
6311
6312 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6313 "buffer_full".
6314
6315 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6316 "buffer_full".
6317
6318Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6319
6320 * configure.in (configdirs): Add gdb.threads.
6321 * configure: Regenerated with autoconf.
6322 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6323 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6324 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6325
c906108c
SS
6326Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6327
6328 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6329
6330Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6331
6332 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6333 each signal's status in the output of "handle all print".
6334 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6335 the \r\n sequence that immediately precedes the gdb prompt.
6336 * gdb.base/a1-selftest.exp: Save original timeout and restore
6337 after test.
6338
6339Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6340
6341 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6342 symbol.
6343
6344Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6345
6346 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6347
6348Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6349
6350 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6351 timeout by 60 seconds.
6352
6353Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6354
6355 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6356 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6357 error return.
6358
6359Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6360
6361 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6362 gdb initialization, also report how long dejagnu waited. Restore
6363 old timeout before doing error return. Temporarily increase timeout
6364 by 3 minutes to allow for slow startups over heavy NFS use.
6365
6366Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6367
6368 * lib/gdb.exp: Report timeout value for verbosity level 2.
6369 * config/gdbserver.exp: Ditto.
6370 * config/hppro.exp: Ditto.
6371 * config/mips-gdb.exp: Ditto.
6372 * config/monitor.exp: Ditto.
6373 * config/netware.exp: Ditto.
6374 * config/sim-gdb.exp: Ditto.
6375 * config/slite-gdb.exp: Ditto.
6376 * config/udi-gdb.exp: Ditto.
6377 * config/unix-gdb.exp: Ditto.
6378 * config/vx-gdb.exp: Ditto.
6379 * gdb.base/a1-selftest.exp: Ditto.
6380 * gdb.base/a2-run.exp: Ditto.
6381 * gdb.base/break.exp: Ditto.
6382 * gdb.base/corefile.exp: Ditto.
6383 * gdb.base/list.exp: Ditto.
6384 * gdb.base/recurse.exp: Ditto.
6385 * gdb.base/scope.exp: Ditto.
6386 * gdb.base/signals.exp: Ditto.
6387
6388Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6389
6390 * gdb.threads/Makefile.in (docdir): Removed.
6391
6392Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6393
6394 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6395 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6396 @srcdir@.
beb998c6 6397 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6398 autoconf 2.5 or higher.
6399 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6400
6401Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6402
6403 * configure: Regenerated.
6404 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6405 avoid name clashes with SunOS headers.
6406
6407Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6408
6409 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6410
6411Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6412
6413 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6414 prototype information ends up in the compiler info file.
6415
6416Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6417
6418 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6419 attempting to regenerate it. Eliminate use of a temporary file
6420 and just generate the info file directly. Source it immediately,
6421 for consistency of use.
6422 * gdb.base/corefile.exp: Ditto
6423 * gdb.base/exprs.exp: Ditto.
6424 * gdb.base/funcargs.exp: Ditto.
6425 * gdb.base/langs.exp: Ditto.
6426 * gdb.base/list.exp: Ditto.
6427 * gdb.base/mips_pro.exp: Ditto.
6428 * gdb.base/nodebug.exp: Ditto.
6429 * gdb.base/opaque.exp: Ditto.
6430 * gdb.base/ptype.exp: Ditto.
6431 * gdb.base/scope.exp: Ditto.
6432 * gdb.base/setvar.exp: Ditto.
6433 * gdb.base/signals.exp: Ditto.
6434 * gdb.base/whatis.exp: Ditto.
6435 * gdb.c++/templates.exp: Ditto.
6436 * gdb.c++/virtfunc.exp: Ditto.
6437 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6438 whether or not to add -lstdc++ to the compile command line args.
6439
6440Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6441
6442 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6443 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6444 Increase timeout, a lot of single stepping might be needed if the
6445 target has no hardware watchpoints.
6446
6447Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6448
6449 * gdb.base/break.exp: Ignore compiler warnings when compiling
6450 break.c.
6451 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6452 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6453 from remote-sim.
6454 * gdb.base/exprs.exp: Add h8300 xfails.
6455 * gdb.base/funcargs.exp: Likewise.
6456 * gdb.base/nodebug.exp: Likewise.
6457 * gdb.base/printcmds.exp: Likewise.
6458 * gdb.base/ptype.exp: Likewise.
6459 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6460 h8300 xfails.
beb998c6 6461 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6462 on the h8300.
6463 * gdb.base/funcargs.c: Explicitly make last constant argument to
6464 call_after_alloca_subr an unsigned long type.
6465 * gdb.base/return.c: Include stdio.h.
6466
6467Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6468
6469 * config/abug.exp: New file for the older Motorola Bug monitor
6470 that runs on the mvme13x series VME boards.
6471 * config/monitor.exp: Use the new config array for target settings
6472 if they exist.
6473
6474Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6475
6476 * sim-gdb.exp: Make the SH simulator allocate less space when
6477 it is targeted.
6478
6479Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6480
6481 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6482 test.
6483
6484Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6485
6486 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6487 "rs6000-*-*" for "list function in include file" when gcc compiled.
6488 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6489 for "p ctable1[120]".
6490 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6491 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6492 Remove setup_xfail for "rs6000-*-*" for
6493 "print 'scope0.c'::filelocal before run".
6494 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6495 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6496 since some compilers don't allow both options to be given
6497 on the same command line. Create object file and move it.
beb998c6 6498
c906108c
SS
6499Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6500
6501 * gdb.base/corefile.exp: Always regenerate the core file, since
6502 we always regenerate the coremaker program. Detect special case
6503 where registers cannot be read from core file.
beb998c6 6504
c906108c
SS
6505Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6506
6507 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6508 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6509 * gdb.c++/templates.exp: Only match on basename of file since
6510 some formats like xcoff don't encode directory information.
6511 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6512 and rs6000 AIX xcoff targets.
6513 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6514 * configure: Regenerate.
6515 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6516 here, rather than in distclean.
beb998c6 6517
c906108c
SS
6518Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6519
6520 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6521 defined, and use it to compile the test case with -O2. The
6522 native compilation still uses no optimization.
6523 * gdb.base/mips_pro.c: Remove inline assembly code since
6524 it is compiled PIC by default, which results in assembler
6525 warnings that make the testsuite think the compilation
6526 was unsuccessful.
6527
6528Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6529
6530 * gdb.c++/misc.exp: Add note to message for
6531 "print s.a for foo struct" that this is a known gcc 2.7.2
6532 and earlier bug.
6533
6534Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6535
6536 * gdb.base/break.exp: Fix pattern for matching "Delete all
6537 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6538 setup_xfail for deleting all breakpoints test. Fix various
6539 timeout messages to include "(timeout)".
6540 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6541 for "p t_float_values2(3.14159,float_val2)".
6542 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6543 for "continue to call2g" when gcc compiled.
6544 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6545 "up to foo in langs.exp", "show language at foo in langs.exp",
6546 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6547 and "show language at fsub in langs.exp".
6548 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6549 "list line 1 in include file", "list message for lines past EOF",
6550 "list function in include file", "list list0.h:foo", and
6551 "list filename:function; nonexistant function".
6552 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6553 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6554 and "ptype t_char_array" to be for native cc only.
beb998c6 6555
c906108c
SS
6556Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6557
beb998c6 6558 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6559 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6560 "print func2::coremaker_local", and "backtrace in corefile.exp".
6561
6562Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6563
6564 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6565 "bt in signals.exp". This problem only appears when running
6566 the testsuite, and then only intermittently.
6567
6568Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6569
6570 * gdb.base/return.exp (return_tests): Differentiate between
6571 two tests of continuing.
6572
6573Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6574
6575 * */Makefile.in (maintainer-clean): Remove config.log.
6576 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6577 * gdb.c++/Makefile.in (PROGS): Add inherit.
6578 (clean): Remove *.ci.
6579
6580Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6581
6582 * gdb.c++/misc.cc: Add test code from Mike Stump.
6583 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6584
6585Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6586
6587 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6588 to "alpha-*-osf2*" and add comment.
6589 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6590 setup_xfail for "step over execarg initialization" and
6591 "step over corearg initialization".
6592 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6593 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6594 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6595 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6596 "print func2::coremaker_local", and "backtrace in corefile.exp".
6597 * gdb.base/signals.exp: Build and source signals.ci.
6598 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6599 to be for gcc only.
6600 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6601
c906108c
SS
6602Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6603
6604 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6605 Feb 3 procfs.c change.
6606
6607Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6608
6609 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6610
6611Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6612
6613 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6614 from dejagnu's apparent default of 10 seconds, which gives random
6615 results when running the tests over NFS on moderately loaded systems.
6616 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6617
6618Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6619
6620 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6621 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6622 result reports.
6623
6624Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6625
6626 * configure.in (CY_AC_PATH_TCLH): Remove.
6627 * configure: Regenerate.
6628
6629Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6630
6631 * gdb.c++/Makefile.in (clean): Add missing '{'.
6632
6633Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6634
6635 * lib/gdb.exp: Provide a default value for noinferior.
6636
6637 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6638 Load libgloss.exp.
6639
6640Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6641
6642 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6643 the executable, not the .o to run the tests from.
6644
6645Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6646
6647 * gdb.base/break.exp: Don't test for program exit or exit status
6648 if $noresults if nonzero.
6649 * gdb.base/langs.exp: Likewise.
6650 * gdb.base/watchpoint.exp: Likewise.
6651
6652 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6653 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6654 trying to compile the testcase.
6655
6656Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6657
6658 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6659 * gdb.base/signals.exp (continue to handler): Likewise.
6660
6661Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6662
6663 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6664
6665 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6666
6667Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6668
6669 * gdb.base/corefile.exp: Recognize "not found" as failure
6670 when trying to determine if a core file was generated.
6671 If no core file was generate the first time, try again without
6672 the ulimit -c to work around braindamaged shells.
6673
6674Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6675
6676 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6677 [] tests with "test" and enclose string in quotes.
6678 * gdb.stabs/configure: Rebuild
beb998c6 6679
c906108c
SS
6680Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6681
6682 Changes in sync with expect:
6683 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6684 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6685 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6686 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6687 argument to AC_REQUIRE.
6688 * configure: Regenerated.
6689
6690Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6691
6692 * gdb.base/corefile.exp: When generating a core, discard any
6693 error messages about ulimit not found and the "core dumped"
6694 message from the shell that runs the coredumper.
6695
6696Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6697
6698 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6699
6700 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6701 which sed script to run. Expect failure for v_comb test
6702 on PA targets too.
beb998c6 6703
c906108c
SS
6704Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6705
6706 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6707 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6708
6709Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6710
6711 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6712 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6713 "sparc-sun-solaris*" xfails for "p v_comb".
6714 * lib/gdb.exp (default_gdb_start): Fix typo.
6715 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6716 messages to not include the full program name that caused
6717 the core dump since some systems (such as solaris) apparently
6718 truncate this path to about 80 characters.
6719 When generating a core file first try increasing the core file
6720 size limit to unlimited since some systems may default it to
6721 zero, and it is harmless to try it. Move the test for failing
6722 to generate a core file to where it will actually get executed.
6723 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6724 new gdb result from g++ debug info improvements and make old
6725 pattern obsolescent. Also account for size_t differences
6726 (may be int or long).
6727 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6728 initialization before function call is placed in the delay slot
6729 and thus appears to be skipped over by commands such as "next".
6730
6731Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6732
6733 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6734
6735Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6736
6737 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6738 input source file; fix code to compile test to deal with this
6739 convention.
6740 * gdb.c++/*.exp: Likewise.
6741
6742Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6743
6744 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6745 "bt in signals.exp".
6746
6747Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6748
6749 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6750 "step over execarg initialization" and
6751 "step over corearg initialization".
6752
6753Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6754
6755 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6756 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6757
6758Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6759
6760 From Rob Savoye (rob@poseidon.cygnus.com)
6761 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6762 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6763 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6764 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6765 configure.in}: Major reworking for autoconfig.
6766 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6767 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6768 New files.
6769 * config/unix-gdb.exp: Make GDB global.
6770 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6771 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6772 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6773 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6774 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6775 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6776 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6777 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6778 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6779 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6780 pr-8136.exp, result.exp, string.exp, tuples.exp},
6781 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6782 to returns as necessary, arrange for test to compile own testcase
6783 executable.
6784 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6785
c906108c
SS
6786Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6787
6788 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6789 clear_xfail at end of test which might not call either pass or fail.
6790 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6791 "backtrace through signal handler".
6792
6793Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6794
6795 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6796 continuing from a job control stop signal.
6797 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6798
6799Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6800
6801 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6802 * gdb.base/corefile.exp: Likewise.
6803 * gdb.base/funcargs.exp: Likewise.
6804
6805Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6806
6807 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6808 * config/monitor.exp: Add support for setting baud rate.
6809
6810Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6811
6812 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6813 i*86-*-linux* xfails for "backtrace through signal handler".
6814 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6815 "print func2::coremaker_local".
6816 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6817 alpha-dec-osf2* xfail for
6818 "delete all breakpoints when none".
6819
6820Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6821
6822 * gdb.base/break.exp: Change test that deletes all breakpoints
6823 when no user breakpoints are installed. A post 4.15 change
6824 causes gdb to no longer prompt in this case.
6825
6826Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6827
6828 * gdb.base/return.exp (return_tests): Change xfail for test
6829 "correct value returned double test" to stop xfailing at
6830 Solaris 2.5. Apparently the bug has been fixed.
6831
6832Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6833
6834 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6835 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6836
6837Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6838
6839 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6840 * gdb.disasm/hppa.s: Corresponding changes.
6841
6842Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6843
6844 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6845 makefile fragment.
6846 * config/mt-hpux: Deleted.
6847
6848Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6849
beb998c6 6850 * Many files: When warning about suppressed tests due to a
c906108c
SS
6851 nonexistant test binary, avoid incrementing the warning count.
6852
6853Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6854
6855 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6856
c906108c
SS
6857Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6858
6859 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6860 "sparc-*-solaris2*".
6861
6862Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6863
6864 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6865 Add global and local variables and initialize them.
6866 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6867 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6868 extracts the file name and terminating signal from the core file.
6869 * TODO: Remove note about tests for correct mapping of corefile.
6870 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6871 from optimizing it away.
6872 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6873 handles common blocks.
6874
6875Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6876
6877 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6878 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6879
6880Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6881
6882 * Makefile.in (maintainer-clean): New target, synonym for
6883 realclean.
6884 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6885 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6886 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6887 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6888 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6889 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6890
6891Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6892
6893 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6894 xfails when not gcc compiled for "print foo::funclocal".
6895 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6896 "print foo::funclocal at foo",
6897 "print 'scope1.c'::foo::funclocal at foo",
6898 "print foo::funclocal_bss at foo",
6899 "print 'scope1.c'::foo::funclocal_bss at foo",
6900 "print foo::funclocal_ro at foo",
6901 "print 'scope1.c'::foo::funclocal_ro at foo",
6902 "print bar::funclocal at foo" and
6903 "print 'scope1.c'::bar::funclocal at foo".
6904 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6905 gcc compiled for "print foo::funclocal at bar".
6906 Expand all messages to ensure that they identify that
6907 the test is at bar().
6908 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6909 gcc compiled for:
6910 "ptype on opaque struct pointer (statically)",
6911 "ptype on opaque struct tagname (statically)",
6912 "ptype on opaque struct pointer (dynamically) 1",
6913 "ptype on opaque struct tagname (dynamically) 1",
6914 "ptype on opaque struct pointer (dynamically) 2" and
6915 "ptype on opaque struct tagname (dynamically) 2
6916 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6917 gcc compiled for:
6918 "p datalocal"
6919 "whatis datalocal",
6920 "ptype datalocal",
6921 "p bsslocal",
6922 "whatis bsslocal", and
6923 "ptype bsslocal".
6924 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6925 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6926 when not gcc compiled.
6927 * gdb.base/funcargs.exp (float_and_integral_args): Add
6928 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6929 compiled.
6930 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6931 "backtrace from call6a" when not gcc compiled.
6932 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6933 "backtrace from call7a" when not gcc compiled.
6934 * gdb.base/callfuncs.exp (do_function_calls):
6935 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6936 "p t_char_array_values(char_array_val2,char_array_val1)",
6937 "p t_char_array_values(char_array_val1,char_array_val2)",
6938 "p t_char_array_values("carray 1","carray 2")",
6939 "p t_char_array_values("carray 1",char_array_val2)",
6940 "p t_char_array_values(char_array_val1,"carray 2")",
6941 "p sum_args(1,{2})",
6942 "p sum_args(2,{2,3})",
6943 "p sum_args(3,{2,3,4})",
6944 "p sum_args(4,{2,3,4,5})"
6945 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6946 "backtrace in corefile.exp" when not gcc compiled.
6947
6948Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6949
6950 * gdb.base/signals.exp: Rewrite `handle all print' test as
6951 a procedure. Accept blanks or TABs as whitespace, increase
6952 timeout and expect input buffer size for the large output
6953 from the command. Remove "i*86-*-bsdi2.0" xfail.
6954
6955Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6956
6957 * gdb.base/setvar.exp: Add new testcases for truncation when
6958 assigning invalid values to bitfields.
6959
6960Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6961
beb998c6 6962 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6963 mips-sgi-irix* xfail for
6964 "call inferior func with struct - returns char *"
6965 and fix test so that an optional (unsigned char *) cast is
6966 accepted in the result.
6967
6968Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6969
6970 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6971 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6972 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6973 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6974 that accidentally got checked in.
6975
6976Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6977
beb998c6 6978 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6979 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6980 compiled test.
6981 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6982 Add mips-sgi-irix5* xfail for not gcc compiled.
6983 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6984 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6985 "p top", "whatis top", "p middle", and "whatis middle".
6986 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6987 "whatis signed char" for not gcc compiled.
6988 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6989 "set variable signed char=-1 (-1)" and
6990 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6991 * gdb.base/funcargs.exp (float_and_integral_args):
6992 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6993 Add mips-sgi-irix* xfail when not gcc compiled for
6994 "continue to call2b".
6995 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6996 "continue to call2g".
6997 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6998 "backtrace from call6a"
6999 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7000 "backtrace from call7k".
7001 Add mips-sgi-irix5* xfail when not gcc compiled for
7002 "backtrace from call7a".
7003 (localvars_after_alloca): Fix gdb_test cmds for
7004 "print * after runto ...".
7005 Remove rs6000-*-* xfails for
7006 "print i after runto localvars_after_alloca" and
7007 "print l after runto localvars_after_alloca"
7008 for all compilers.
7009 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7010 when not compiled with gcc, for:
7011 "print signed char == (minus)",
7012 "print signed char != (minus)",
7013 "print signed char < (minus)",
7014 "print signed char > (minus)".
7015 * gdb.base/callfuncs.exp (do_function_calls):
7016 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7017 "call inferior func with struct - returns char *".
beb998c6 7018 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7019 "correct value returned double test" to include Solaris 2.4.
7020 * gdb.base/funcargs.exp (float_and_integral_args):
7021 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7022
c906108c
SS
7023Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7024
7025 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7026 enumeration bitfields if compiling with GNU C.
7027 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7028 to empty' prompt.
7029
7030Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7031
7032 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7033 test for PRO targets.
7034
7035 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7036 breakpoints in the inferior at any given time by making
7037 two groups of breakpoints for call2*, call6* and call7*
7038 tests.
7039
7040Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7041
7042 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7043 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7044 from optimizing it away.
7045 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7046 "call inferior func with struct".
7047
7048Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7049
7050 * configure.in: Only configure gdb.chill for particular targets.
7051
7052Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7053
7054 * gdb.base/Makefile.in: Add action to .c.o transformation
7055 rule that generates a .ci file for each .o file and remove
7056 explicit .c.o rules except for callfuncs.o.
7057 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7058 generates a .ci file for each .o file and remove explicit
7059 .cc.o rules.
7060 (clean): Remove *.tmp *.ci files.
7061 (EXECUTABLES): Remove templ-info.exp.
7062 * gdb.base/compiler.c: New file.
7063 * gdb.c++/compiler.cc: New file
7064 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7065 Change rs6000-*-* xfail for
7066 "print 'scope0.c'::filelocal_ro" and
7067 "print 'scope1.c'::filelocal" and
7068 "print 'scope1.c'::filelocal_bss" and
7069 "print 'scope1.c'::filelocal_ro" and
7070 "print 'scope1.c'::foo::funclocal" and
7071 "print 'scope1.c'::foo::funclocal_ro" and
7072 "print 'scope1.c'::bar::funclocal" and
7073 "print 'scope0.c'::filelocal_ro" and
7074 "print 'scope1.c'::filelocal at foo" and
7075 "print 'scope1.c'::filelocal_bss at foo" and
7076 "print 'scope1.c'::filelocal_ro at foo" and
7077 "print 'scope1.c'::foo::funclocal at foo" and
7078 "print 'scope1.c'::foo::funclocal_bss at foo" and
7079 "print 'scope1.c'::foo::funclocal_ro at foo" and
7080 "print 'scope1.c'::bar::funclocal at foo" and
7081 "print 'scope0.c'::filelocal_ro" and
7082 "print 'scope1.c'::filelocal" and
7083 "print 'scope1.c'::filelocal_bss" and
7084 "print 'scope1.c'::filelocal_ro" and
7085 "print 'scope1.c'::foo::funclocal" and
7086 "print 'scope1.c'::foo::funclocal_bss" and
7087 "print 'scope1.c'::foo::funclocal_ro" and
7088 "print 'scope1.c'::bar::funclocal" and
7089 "print 'scope1.c'::bar::funclocal_bss"
7090 to only be xfail'd when not compiled with gcc.
beb998c6 7091 Add rs6000-*-* xfail for
c906108c
SS
7092 "print 'scope0.c'::filelocal_bss before run"
7093 when compiled with gcc.
7094 (test_at_main): Add rs6000-*-* xfail for
7095 "print filelocal_ro in test_at_main"
7096 when compiled with gcc.
7097 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7098 Add rs6000-*-aix* xfail for
c906108c
SS
7099 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7100 "ptype t_char_array", not compiled with gcc.
7101 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7102 xfail for "list foo (in include file)" when gcc compiled.
7103 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7104 (integral_args): Add rs6000-*-* xfail for
7105 "run to call0a" if not compiled with gcc.
7106 (unsigned_integral_args): Add rs6000-*-* xfail for
7107 "run to call1a" if not compiled with gcc.
7108 (float_and_integral_args): Add rs6000-*-* xfail for
7109 "run to call2a" if not compiled with gcc and for
7110 "continue to call2b" for any compiler.
7111 Add rs6000-*-* xfail to
7112 "print f1 after run to call2a" for gcc compiled.
7113 (discard_and_shuffle): Add rs6000-*-* xfail for
7114 "run to call6a".
7115 (shuffle_round_robin): Add rs6000-*-* xfail for
7116 "backtrace from call7a" if not compiled with gcc.
7117 Add rs6000-*-* xfail for
7118 "backtrace from call7b" if compiled with gcc.
7119 (call_after_alloca): Add rs6000-*-* xfail for
7120 "print c in call_after_alloca" and
7121 "print s in call_after_alloca" and
7122 "backtrace from call_after_alloca_subr"
7123 if not compiled with gcc.
7124 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7125 "print c in localvars_in_indirect_call" and
7126 "print c in localvars_in_indirect_call" and
7127 "backtrace in indirectly called function" and
7128 "stepping into indirectly called function"
7129 if not compiled with gcc.
7130 (localvars_after_alloca): Add rs6000-*-* xfail for
7131 "print c after runto localvars_after_alloca" and
7132 "print s after runto localvars_after_alloca" and
7133 "print i after runto localvars_after_alloca" and
7134 "print l after runto localvars_after_alloca"
7135 for all compilers.
7136 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7137 than whatis-info.exp.
7138 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7139 than opaque-info.exp.
7140 Setup rs6000-*-* xfail for
beb998c6 7141 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7142 "ptype on opaque struct pointer (dynamically)" when
7143 not compiled with gcc.
7144 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7145 rather than callf-info.exp.
7146 (do_function_calls): Add clear_xfail for rs6000-*-* for
7147 "p t_float_values2(3.14159,float_val2)". Seems to work
7148 fine there, both with xlc and gcc. Need to find out what
7149 it is doing right and fix other platforms.
7150 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7151 "call inferior func with struct - returns int",
7152 "call inferior func with struct - returns long",
7153 "call inferior func with struct - returns float",
7154 "call inferior func with struct - returns double",
7155 "call inferior func with struct - returns char *",
7156 but only if not gcc compiled (presumes xlc compiled).
7157 Change rs6000-*-* xfails for
7158 "call inferior func with struct - returns char" and
7159 " call inferior func with struct - returns short" to only
7160 xfail if not using gcc.
7161 (clean mostlyclean): Remove *.ci and *.tmp files.
7162 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7163 than templ-info.exp.
7164 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7165 Add rs6000-*-* xfail for "up to foo in langs.exp"
7166 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7167 when not gcc compiled.
beb998c6 7168
c906108c
SS
7169Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7170
7171 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7172 * gdb.base/corefile.exp: Likewise.
7173 * gdb.base/list.exp: Likewise.
7174 * gdb.base/scope.exp: Likewise.
7175 * gdb.base/siganls.exp: Likewise.
7176
7177 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7178 compiler output.
7179 * gdb.base/whatis.exp: Likewise.
7180
7181Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7182
7183 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7184 failure (opcode table has been fixed to match reality).
7185
7186Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7187
7188 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7189 "call inferior func with struct - returns char",
7190 "call inferior func with struct - returns short"
7191
7192 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7193 "print 'scope0.c'::filelocal at main",
7194 "print 'scope0.c'::filelocal_bss in test_at_main",
7195 "print 'scope0.c'::filelocal at foo",
7196 "print 'scope0.c'::filelocal_bss in test_at_foo",
7197 "print 'scope0.c'::filelocal at bar",
7198 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7199
c906108c
SS
7200 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7201 in source file 1". This bug seems to have been fixed with both
7202 gcc and native cc (was native assembler bug?).
7203
7204Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7205
7206 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7207 "backtrace through signal handler" to "i*86-*-sysv4*".
7208 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7209 continue" case. Add "known SVR4 bug" to fail message.
7210 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7211 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7212 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7213 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7214 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7215 "up to foo in langs.exp", "show language at foo in
7216 langs.exp", "up to cppsub_ in langs.exp", "show
7217 language at cppsub_ in langs.exp", "up to fsub in
7218 langs.exp", and "show language at fsub in langs.exp".
7219 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7220 "bactrace in corefile.exp".
7221 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7222 "call inferior function with struct - returns float" and
7223 "call inferior function with struct - returns double".
beb998c6 7224
c906108c
SS
7225Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7226
7227 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7228 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7229 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7230 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7231
7232Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7233
7234 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7235 (or overriden) "CHILL" macro rather then bare "gcc".
7236 Also look for ../../gcc/xgcc since that is what we will
7237 actually need, not "Makefile". Remove following assignment
7238 of CHILL to CHILL_FOR_TARGET because that results in
7239 recursive definition.
7240
7241Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7242
7243 * gdb.base/corefile.exp: Change xfail for backtrace in
7244 corefile.exp from linuxaout to all linux.
7245 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7246 cases where we miss the breakpoint at the signal handler
7247 for some reason. Setup xfail for linuxoldld/linuxaout and
7248 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7249 hitting SIGURG breakpoint.
7250 * gdb.base/signals.exp: Setup xfail for "next" acting like
7251 continue to add linuxoldld. Setup xfail for all linux for
7252 "next to handler in signals_tests_1", "backtrace in
7253 signals_tests_1", "continue to func1", "pass SIGUSR1",
7254 and continue to handler".
7255
7256Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7257
7258 * Update all FSF addresses except those in COPYING* files.
7259
7260Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7261
7262 * gdb.base/a2-run.exp: Change messages to be more explicit about
7263 the status of args, and quote binfile in results.
7264
7265Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7266
7267 * gdb.base/callfuncs.exp: Add tests for passing structs to
7268 inferior functions and return various types.
7269 * gdb.base/callfuncs.c: Add functions to receive a struct
7270 and return a member of the struct, in various types.
7271
7272Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7273
7274 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7275
7276Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7277
7278 * config/vxworks29k.exp: New file, sources vxworks.exp.
7279
7280Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7281
7282 * config/gdbremote.exp: New file. Testing framework using
7283 gdbserver.
7284
7285Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7286
7287 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7288 "call function when asleep" and "send end of file".
7289 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7290 for "backtrace in corefile.exp".
7291 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7292 for "backtrace through signal handler".
7293 * gdb.base/corefile.exp: Make sure we actually generate a core file
7294 before trying the core tests. Some systems allow the user to suppress
7295 generation of core files and default to that (linux for example).
7296 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7297 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7298
7299Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7300
7301 * gdb.threads: New directory with some crude multi-threaded
7302 gdb tests (step.exp and step2.exp).
7303 * config/mt-lynx (STEP_EXECUTABLE): Define.
7304 (THREADFLAGS): Define.
7305
7306Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7307
7308 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7309
7310 * gdb.base/signals.exp: Disable whole file for lynx until
7311 further notice.
7312
7313 * gdb.base/signals.exp: xfail test where "next" acts like
7314 "continue" for lynx.
7315
7316 * gdb.base/interrupt.exp: xfail test for calling function while
7317 inferior is asleep for lynx.
7318
7319 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7320 than one cr-lf after each command.
7321
7322Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7323
7324 * configure.in: Reinstate setting of stabsdirs variable, fix
7325 typo in setting up configdirs for native builds.
7326
7327 * gdb.base/return.exp: Fix typo in return double test.
7328 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7329 compiler from optimizing them away.
7330
7331Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7332
7333 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7334 sequences to be echo'd by gdb when using gdb_test.
7335 * gdb.chill/chexp.exp: Likewise.
7336 * gdb.fortran/exprs.exp: Likewise
7337
7338Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7339
7340 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7341 after the inferior gdb has started.
7342
7343 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7344 after each command.
7345 * gdb.base/funcargs.exp: Likewise.
7346 * gdb.base/gdbvars.exp: Likewise.
7347 * gdb.base/interrupt.exp: Likewise.
7348 * gdb.base/list.exp: Likewise.
7349 * gdb.base/watchpoint.exp: Likewise.
7350 * gdb.c++/demangle.exp: Likewise.
7351 * gdb.c++/inherit.exp: Likewise.
7352 * gdb.chill/chexp.exp: Likewise.
7353 * gdb.fortran/exprs.exp: Likewise.
7354
7355 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7356 test if we can't handle IO to/from the inferior.
7357
7358 * gdb.c++/misc.exp: Always check for a program already being
7359 started after sending a "run" command to gdb.
7360
7361 * gdb.base/twice.exp: Start with a fresh gdb.
7362
7363 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7364 only depend on gdb's expression code, not the chill runtime.
7365
7366 * gdb.base/return.c: Put return values into variables so we
7367 can have gdb print them rather than depending on the program
7368 to print them.
7369 * gdb.base/return.exp: Corresponding changes.
7370
7371 * lib/gdb.exp: Provide default value for noinferiorio.
7372 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7373 the inferior.
7374
7375 * gdb.base/break.exp: Always check for a program already being
7376 started after sending a "run" command to gdb.
7377 (text_next_with_recursion): Don't check the output from the
7378 program's printf statement. Instead just make sure the program
7379 exited.
7380
7381 * gdb.base/commands.exp: Protect tests which need arguments with
7382 $noargs conditionals.
7383
7384Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7385
7386 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7387 of structure member arrays to match gdb/valops.c:value_addr change.
7388
7389Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7390
7391 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7392 cases.
7393
7394Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7395
7396 * configure.in (configdirs): Remove gdb.chill from default list
7397 of subdirs and then add it back in only if doing a native build.
7398 The current chill compiler does not yet work in any cross build.
7399 * Revert all signal changes from Jul 6.
7400 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7401 for sh-hms targets, allowing these tests to link, with no other
7402 changes. Testing is suppressed by setting "nosignals" in site.exp.
7403
7404Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7405
7406 * configure.in (signaldirs): Define and add to configdirs for all
7407 targets except some specific ones that are known to not support signals.
7408 Also clean up formatting.
7409 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7410 (signals, sigall): Remove rules to build.
7411 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7412 Moved to new gdb.signals directory.
7413 * gdb.signals: New test directory.
7414 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7415 signals.c signals.exp}: New or moved files.
7416
7417Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7418
7419 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7420
7421Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7422
7423 * gdb.base/return.exp: Xfail `return double' test failure
7424 on at least Solaris 2.3 and handle future/past versions on
7425 a case by case basis as appropriate. Also update message
7426 to include i*86 failures.
7427
7428Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7429
7430 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7431
7432 * lib/gdb.exp: Fix comment which erroneously identified
7433 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7434 gdb_file_cmd not gdb_load).
7435 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7436
7437 * gdb.base/setvar.exp: Make test names consistent between pass and
7438 fail cases. Use gdb_test more.
7439
7440Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7441
7442 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7443
7444Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7445
7446 * gdb.base/help.exp: Fix expected help string for `show commands'.
7447
7448Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7449
7450 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7451
7452 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7453 of a text section.
7454
7455Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7456
7457 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7458 that loop eventually terminates. Fix Connection refused logic so
7459 that testsuite will expire nicely.
7460
7461Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7462
7463 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7464 config/rom68k.exp: New tcl glue for the appropriate monitors.
7465 These all just end up calling monitor.exp.
7466 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7467 refused' by retrying. Cleanup some timeout issues.
7468 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7469 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7470 callers don't have to set/restore global timeout variable.
7471
7472 * The following set of changes centralizes management of the global
7473 timeout variable. This way, it can be set in one target dependent
7474 place instead of dozens of places scattered throughout the test suite.
7475 If you need to lengthen a timeout, then you should either set timeout
7476 in one of the config/{target}.exp files, or multiply it by a factor.
7477 Setting it to an absolute value is always going to lose for some
7478 targets.
7479 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7480 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7481 * gdb.base/funcargs.exp: Don't set timeout.
7482 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7483 * gdb.base/printcmds.exp (test_print_string_constants
7484 test_print_array_constants): Don't set timeout.
7485 * gdb.base/ptype.exp: Don't set timeout.
7486 * gdb.base/recurse.exp: Don't set timeout.
7487 * gdb.base/return.exp: Don't set timeout.
7488 * gdb.base/watchpoint.exp: Don't set timeout.
7489 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7490 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7491
7492Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7493
7494 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7495
7496Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7497
7498 * lib/gdb.exp: Disable chill tests for irix5.
7499
7500Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7501
7502 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7503 each test pass or fail.
7504
7505Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7506
7507 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7508 xlc not gcc.
7509
7510Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7511
7512 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7513
7514Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7515
7516 * config/est.exp: Fix copyright and comments. Remove dead code.
7517 Use targetname, serialport and baud variables instead of fixed
7518 constants.
7519 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7520 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7521
7522Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7523
7524 * gdb.base/watchpoint.exp: Don't run
7525 test_watchpoint_triggered_in_syscall for sunos.
7526
7527Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7528
7529 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7530 they don't seem to exist. Do include stdio.h.
7531
7532Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7533
7534 * gdb.base/a1-selftest.exp: Add alpha xfail.
7535
7536Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7537
7538 * gdb.base/watchpoint.c (main): Prompt before calling read().
7539 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7540 Revise accordingly. Remove cruft about sending "123" several
7541 times, until it gets noticed. Clean up the "print buf[0]" stuff
7542 so that it passes or fails, and waits for prompts in the usual way.
7543
7544Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7545
7546 * gdb.base/recurse.exp: Fix comment.
7547
7548 * TODO: Remove item about printing variables in nodebug.exp. Add
7549 item about enabling tests which are only run on some targets.
7550
7551 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7552 fail, make test names unique, use new gdb_test convention
7553 regarding pattern, use gdb_test more, etc.).
7554
7555 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7556 fail, make test names unique, etc.).
7557
7558Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7559
7560 * gdb.base/nodebug.c: Change return type of top and middle to
7561 short.
7562 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7563 are fixed by the recent mdebugread.c changes. Allow `short ()'
7564 as type for top and middle.
7565
7566Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7567
7568 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7569 nearly as I can tell, the whole thing was an accident in Stu's
7570 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7571 to replace a send/expect pair with gdb_test, but ended up only
7572 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7573 of 30 Mar 1995 took care of it, but left this vestigial comment
7574 which I am now nuking.
7575
7576Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7577
7578 * gdb.base/break.exp: Look for different line number for
7579 breakpoint at main depending on usestubs.
7580
7581Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7582
7583 * gdb.base/list.exp: Adjust some alternate expect patterns to
7584 match recent list0.c change. Add alternate expect pattern for
7585 output from `list default lines around main' for optimizing
7586 compilers.
7587
7588Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7589
7590 * lib/gdb.exp: If nosignals is not set, set it to 0.
7591
7592Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7593
7594 * config/slite-gdb.exp: Responds to load symbol table prompt.
7595 * gdb.base/break.exp: Adjust line number, fix rerun.
7596 * gdb.base/langs0.c: Add #ifdef usestubs.
7597
7598Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7599
7600 * gdb.base/list.exp: Adjust line contents after adding new lines in
7601 list0.c. Also fix a syntax error.
7602
7603 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7604 * gdb.base/break.exp: ditto.
7605 * gdb.base/list.exp: ditto.
7606 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7607 * gdb.base/run.c: ditto.
7608 * gdb.base/list0.c: ditto.
7609 * gdb.base/funcargs.c: ditto.
7610
7611Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7612
7613 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7614 $targetname, $serialport and $baud instead of hardwired variables.
7615 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7616 target doesn't support signals.
7617
7618Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7619
7620 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7621
7622Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7623
7624 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7625 Don't rely on the value of an auto variable before it has been
7626 initialized. Use gdb_test more.
7627
7628Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7629
7630 * lib/gdb.exp (default_gdb_version): A version number must start
7631 with a digit, but other than that contains all characters up to
7632 the first whitespace character.
7633
7634Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7635
7636 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7637
7638Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7639
7640 * gdb.c++/*.exp: Warn if executable does not exist. The original
7641 reason for skipping the warning was that configure.in sometimes
7642 intentionally skipped building the executables but the tcl code
7643 had no way of knowing. That (a) was always bogus with respect to
7644 error handling, (b) is no longer true (right now there is no way
7645 to skip C++ tests).
7646
7647 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7648
7649Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7650
7651 * gdb.base/list.exp: Add expect patterns for output from
7652 SunPRO compiled executables.
7653 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7654 types.
7655
7656Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7657
7658 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7659 number (we are already testing that the correct source line text
7660 gets printed).
7661
7662 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7663 that is what is intended, but something needed to be done to get
7664 sunos4 native working again.
7665
7666 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7667
7668 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7669 apparently went with a (very) old xfail.
7670
7671Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7672
7673 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7674 runto_main is a proc in gdb.exp that will do 'step' for target use
7675 stubs.
7676 * gdb.base/exprs.exp: ditto.
7677 * gdb.base/interrupt.exp: ditto.
7678 * gdb.base/opaque.exp: ditto.
7679 * gdb.base/printcmds.exp: ditto.
7680 * gdb.base/ptype.exp: ditto.
7681 * gdb.base/scope.exp: ditto.
7682 * gdb.base/setvar.exp: ditto.
7683 * gdb.base/signals.exp: ditto.
7684 * gdb.base/twice.exp: ditto.
7685 * gdb.c++/classes.exp: ditto.
7686 * gdb.c++/inherit.exp: ditto.
7687 * gdb.c++/templates.exp: ditto.
7688 * gdb.base/break.exp: no run and hit main for stubs. Change line
7689 numbers for breakpoints and info breakpoint.
7690 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7691 breakpoint().
7692 * gdb.base/callfuncs.c: ditto.
7693 * gdb.base/exprs: ditto.
7694 * gdb.base/interrupt.c: ditto.
7695 * gdb.base/opaque0.c: ditto.
7696 * gdb.base/printcmds.c: ditto.
7697 * gdb.base/ptype.c: ditto.
7698 * gdb.base/scope0.c: ditto.
7699 * gdb.base/setvar.c: ditto.
7700 * gdb.base/signals.c: ditto.
7701 * gdb.base/twice.c: ditto.
7702 * gdb.c++/misc.cc: ditto.
7703 * gdb.c++/templates.cc: ditto.
7704
7705Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7706
7707 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7708
7709 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7710 somewhere between `read' and `main.c'. I'm pretty sure the
7711 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7712 and it isn't particularly useful.
7713
7714 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7715
7716Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7717
7718 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7719
7720Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7721
7722 * config/mt-slite: add LIBS and -nostdlib.
7723 * config/slite-gdb.exp: add this new file to support sparclite target.
7724
7725Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7726
7727 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7728
7729 * gdb.base/a2-run.exp: Change argument to istarget from
7730 "*-*-vxworks" to "*-*-vxworks*".
7731 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7732
7733Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7734
7735 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7736 will not runto main but do a 'step' to step out of breakpoint().
7737 * config/mt-slite: add -Dusestubs.
7738
7739Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7740
7741 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7742 instead of just @.
7743
7744 * gdb.base/signals.exp: Add test for "handle all print".
7745 * TODO: Remove "handle all print". Also remove item about
7746 checking copyright date (I don't like the idea of a spurious FAIL
7747 based on when we run the tests).
7748
7749 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7750 for SunOS4 (reason for failure not investigated). Remove
7751 redundant test for $binfile.
7752
7753 * gdb.base/nodebug.c (array_index): Call malloc.
7754
7755 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7756
7757Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7758
7759 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7760 conventions and slightly simplify the matching regexp.
7761
7762Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7763
7764 * gdb.base/break.exp: Update gdb_test invocation to use new
7765 convention.
7766
7767 * lib/gdb.exp: If noargs is not set, set it to 0.
7768
7769 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7770 tests unique.
7771
7772 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7773
7774Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7775
7776 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7777 one argument of type "<non-float parameter>".
7778
7779Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7780
7781 * config/rom68k.exp: New file to support Motorola IDP board.
7782 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7783 * gdb.base/break.c: Change things around so that this program
7784 doesn't depend upon args. This is necessary to make remote
7785 targets work (in general, they can't take args).
7786 * gdb.base/break.exp: Don't try to send args to program. Don't
7787 expect output. Also, replace lots of code with gdb_test.
7788
7789Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7790
7791 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7792 printing of '\'' (which is what the comment says we are testing,
7793 even though we were not), not '''.
7794 (test_integer_literals_rejected): Test that printing ''' is an error.
7795
7796 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7797 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7798 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7799 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7800 Use gdb_test not test_print_accept.
7801 * lib/gdb.exp: Remove test_print_accept.
7802
7803 * gdb.base/signals.exp (signal_tests_1): Make pass message
7804 consistent with fail message.
7805
7806 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7807 unsigned char; the bug (PR 1821) is fixed.
7808
7809 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7810
7811 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7812 successful tests--makes xfailing them work right.
7813
7814Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7815
7816 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7817 only \r\n, not .*. The test can pass .* as the last thing in
7818 $pattern if that is what it wants. In addition to providing this
7819 flexibility, this change should speed up pattern matching in cases
7820 where the pattern already ended with .* (there were a number of
7821 them). This change also helps catch bad patterns--in the old
7822 scheme the typo "char \*" instead of "char \\*" would pass. Now
7823 it is caught.
7824 * Many .exp files: Update callers.
7825
7826 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7827 clearer and does not spuriously match multiple ('s. Likewise for
7828 ) and *.
7829
7830 * gdb.base/nodebug.exp: Test ability to call a function and pass
7831 it a string (even with no debugging info).
7832
7833 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7834 "p '\'", which is the same as "p ''" once tcl gets done with
7835 quoting, to "p '\\'", which I suspect is what is intended (one
7836 backslash gets sent to GDB).
7837
7838 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7839
7840Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7841
7842 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7843 1817) was fixed literally years ago.
7844
7845Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7846
7847 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7848 test, it causes stepping out of call_after_alloca_subr with
7849 optimizing compilers.
7850 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7851 fails.
7852
7853 * gdb.c++/templates.exp: Source templ-info.exp only if
7854 the templates executable exists.
7855
7856 * gdb.c++/misc.cc (class Contains_static_instance,
7857 class Contains_nested_static_instance),
7858 gdb.c++/classes.exp (test_static_members): Test printing of
7859 a class that contains a static instance of the class.
7860
7861Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7862
7863 * gdb.base/langs2.c (cppsub_): Don't prototype.
7864 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7865 only, I believe).
7866
7867Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7868
7869 * lib/gdb.exp (skip_chill_tests): New procedure.
7870
7871 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7872
7873Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7874
7875 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7876 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7877
7878Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7879
7880 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7881
7882 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7883 disassemble 8, not 16, instructions for part 4.
7884
7885 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7886 support the latter anymore.
7887
7888 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7889 -DNO_PROTOTYPES.
7890 * gdb.base/callfuncs.c: Control use of prototypes based on
7891 NO_PROTOTYPES, not __STDC__.
7892 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7893 t_float_values2 tests if prototypes in use.
7894
7895 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7896 t_double_values): When checking differences against DELTA, check
7897 that difference is within the range (-DELTA,DELTA), not just
7898 (-infinity,DELTA).
7899
7900Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7901
7902 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7903 'file' command firts, then 'target', then 'load', this is due to gdb
7904 target set up.
7905 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7906
7907Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7908
7909 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7910 FP load/store variants.
7911 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7912
7913Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7914
7915 * gdb.base/term.exp: Do not give a warning if not native, it is
7916 not an abnormal condition.
7917
7918Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7919
7920 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7921 t_char_array".
7922
7923Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7924
7925 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7926 are getting the version number.
7927
7928 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7929 if not native, it is not an abnormal condition.
7930
7931Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7932
7933 * lib/gdb.exp: Just use "file exists", rather than undocumented
7934 dejagnu procedure "findfile".
7935
7936Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7937
7938 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7939 (LDFLAGS): Set to -Xlinker -Ur.
7940
7941 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7942 Removed, these values are set by lib/gdb.exp.
7943
7944 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7945
7946Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7947
7948 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7949 of replicating gdb startup code.
7950
7951 * config/mt-vxworks (LDFLAGS): Set to -r.
7952 (CFLAGS_FOR_TARGET): Removed.
7953
7954 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7955 (gdb) and gdb for vxworks uses (vxgdb).
7956
7957 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7958 executable is not in the tree and host != target, use sed and
7959 program_transform_name to determine the gdb name used by the
7960 target.
7961
7962 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7963 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7964
7965Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7966
7967 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7968 floats, chars, and shorts where there are ANSI-style function
7969 definitions.
7970
7971 * gdb.base/langs.exp, gdb.base/langs*: New test.
7972 * gdb.base/Makefile.in: Build it.
7973 * TODO: Remove item about checking that C names don't get C++
7974 demangling applied; this test tests it.
7975
7976Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7977
7978 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7979 went with the const70 xfail. The xfail went away a year ago.
7980
7981 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7982
7983 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7984 for hp300.
7985
7986 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7987
7988 * gdb.base/a1-selftest.exp: Don't run on hp300.
7989
7990Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7991
7992 * Makefile.in (site.exp): Set host_alias and target_alias as well
7993 as host_triplet and target_triplet.
7994
7995Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7996
7997 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7998
7999 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8000 places as other ecoff systems).
8001
8002 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8003 ultrix.
8004
8005Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8006
8007 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8008 remove them.
8009 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8010 variable and "variable" in addition to "data variable".
8011 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8012
8013 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8014 2.
8015 * gdb.base/list1.c (long_line): Add additional statement at start
8016 of function.
8017 * gdb.base/list.exp (test_forward_search): Update line number to
8018 reflect new statement.
8019
8020Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8021
8022 * gdb.base/signals.exp: Reinitialize searched source directories
8023 after gdb_start call.
8024
8025Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8026
8027 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8028 * gdb.stabs/Makefile.in: Likewise.
8029
8030 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8031 change. Instead split the tests into smaller pieces.
8032 * gdb.disasm/hppa.s: Corresponding changes.
8033
8034Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8035
8036 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8037 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8038
8039 * gdb.base/funcargs.exp: Modify many tests so that every test
8040 either passes or fails. Make some test names unique.
8041
8042Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8043
8044 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8045 Call stty to set interrupt character.
8046
8047 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8048 for HP assembler versus GNU assembler based on actual behavior of
8049 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8050
8051 * TODO: Suggest a few more stepping tests.
8052
8053Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8054
8055 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8056 restart GDB for h8300 after a continue.
8057 (return): Add pattern to match a29k-udi behavior.
8058 * gdb.base/nodebug.exp: Remove obsolete comment.
8059 * gdb.base/regs.exp: New file, testing of register displays.
8060 * gdb.base/return.exp: Fix typo in reference to $objdir.
8061 * gdb.base/whatis.exp: Always start with a fresh GDB.
8062
8063Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8064
8065 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8066 higher, these tests generate a lot of output.
8067
8068Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8069
8070 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8071 code following the catch silently ignored some errors; without the
8072 catch they should be thrown like any other tcl error. Also, the
8073 catch used "" instead of {} which meant all the callers who wanted
8074 to include one of the characters "[]$ had to quote it an extra time.
8075 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8076 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8077 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8078 Remove extra quoting.
8079
8080Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8081
8082 * gdb.base/commands.exp: Make test names unique; every test either
8083 passes or fails. Update some comments.
8084
8085 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8086
8087Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8088
8089 The following fixes a FAIL caused by the fact that the alpha stabs
8090 configuration didn't use the ".if alpha" code in weird.def.
8091 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8092 bit pointer, so the 32 bit version works even on the alpha.
8093 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8094 Remove the stuff which allowed us to have separate versions for
8095 alpha and everything else.
8096
8097 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8098 regexp which "info func operator\[\](" is supposed to match. Fix
8099 string to send to GDB. Note that GDB still doesn't work right. Add a
8100 new test for "info func .perator\[\](" which GDB does handle correctly.
8101
8102 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8103
8104Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8105
8106 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8107 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8108 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8109 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8110 it makes the tests harder to understand and confuses test-o-matic.
8111 The preferred style is that each test provides a PASS or a FAIL,
8112 and has a unique message (e.g. "continue #54" not just "continue")
8113 which is the same for the pass and the fail.
8114 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8115 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8116 to lib/gdb.exp.
8117 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8118 prt_accept which was basically the same thing. Likewise for
8119 test_print_reject and prt_reject.
8120 * lib/gdb.exp (test_print_reject): Add some more error message
8121 patterns to match from the former printcmds.exp (prt_reject).
8122 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8123 One defect of the passcount stuff is that some of it failed to
8124 report XPASS where appropriate.
8125 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8126 stuff before and after arg in expected pattern.
8127 (test_paddr_operator_functions): Re-do test without print_addr_of;
8128 this is the only test which seems to want extra stuff there.
8129
8130Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8131
8132 * gdb.base/nodebug.exp: Update new tests to reflect improved
8133 wording of gdb output.
8134
8135 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8136 and "ptype" work on variables in files compiled without -g.
8137 Replaces commented out "maint print msymbol" tests.
8138
8139Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8140
8141 * gdb.base/setvar.c (dummy): Call malloc.
8142
8143 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8144 losing with the irix4 sed.
8145
8146 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8147 ALRM" on irix4.
8148
8149Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8150
8151 * TODO: Remove items about corefile.exp testing new exec-file and
8152 backtrace; both are now done. Add items about printing enums.
8153
8154Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8155
8156 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8157 "get signal $thissig" test fails.
8158
8159 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8160
8161Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8162
8163 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8164 compiler warning with dec alpha compiler.
8165
8166 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8167 extra \n from gdb_test call (this explains why the prompt test
8168 that I removed yesterday was there).
8169 (user_defined_command_test): Remove extra \n and prompt test.
8170
8171 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8172 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8173 doesn't exist.
8174 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8175 Also remove alpha workaround, which turns out to be because
8176 SIGABRT == SIGLOST.
8177
8178 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8179
8180 * gdb.base/help.exp: Don't test "help show".
8181
8182Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8183
8184 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8185 "set print address" is on.
8186 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8187 pass prompt to gdb_test; gdb_test already looks for the prompt.
8188
8189 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8190
8191 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8192 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8193 was to make sure that gdb can read a core file. But (a) the "read
8194 the corefile" part didn't make it to a1-selftest.exp, we just
8195 delete the corefile after creating it, and (b) we test reading
8196 corefiles in corefile.exp anyway. Also, this test left around a
8197 xgdb process on Solaris.
8198
8199 * gdb.base/corefile.exp: Also test backtrace.
8200
8201Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8202
8203 * gdb.base/commands.exp: Test a simple user defined command with
8204 arguments and if/while statements; verify the full user command is
8205 printed by "show user".
8206
8207 * gdb.base/commands.exp: Test if/while commands as part of a
8208 breakpoint command list; verify they appear in breakpoint
8209 information.
8210
8211Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8212
8213 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8214 than by dividing by zero.
8215
8216Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8217
8218 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8219 performing an inferior call with watchpoints enabled.
8220 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8221 call.
8222
8223Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8224
8225 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8226 of "file" command.
8227
8228 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8229 Add additional pattern for when "int operator int(void);" appears
8230 in a different order.
8231
8232Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8233
8234 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8235
8236 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8237 and "signal" with ".*".
8238
8239Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8240
8241 * TODO: Add note about "handle all nostop".
8242
8243 * gdb.base/{sigall.c, sigall.exp}: New test.
8244 * gdb.base/Makefile.in: Add it.
8245
8246Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8247
8248 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8249 when invoking GDB, suppresses any windowing interface.
8250
8251Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8252
8253 * config/sim-gdb: New file, simulator testing support.
8254
8255Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8256
8257 * gdb.base/interrupt.exp: Test calling func1 twice.
8258
8259Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8260
8261 * gdb.base/list.exp (test_forward_search): Set timeout higher
8262 when we'll be getting lots of output from gdb.
8263
8264 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8265 "init_malloc" to after the expect statement. Run it if that
8266 regexp is taken, but also for two others which happen if source
8267 cannot be found.
8268
8269Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8270
8271 * gdb.base/printcmds.exp: New test, for printing register before
8272 program is running.
8273
8274Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8275
8276 * gdb.base/list.exp: Correct some alternate expect patterns
8277 to reflect changes in list1.c.
8278
8279Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8280
8281 * TODO: Add item regarding large frames.
8282
8283 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8284
8285 * TODO: Remove item about enabling return.exp; it
8286 is enabled. Suggest a few more "return" tests.
8287
8288Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8289
8290 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8291 anonymous unions.
8292
8293Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8294
8295 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8296 and pr-5646.o, so "make" is the same as "make all", not "make
8297 pr-4975.o".
8298
8299Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8300
8301 * gdb.base/list.exp: Adjust expectations to reflect changes in
8302 list1.c.
8303 (test_forward_search): New test proc.
8304 * gdb.base/list1.c (long_line): New function, has long source line.
8305
8306Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8307
8308 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8309 additional line of code that was added.
8310
8311Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8312
8313 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8314 tests so as not to overflow expect's input buffers.
8315 * gdb.disasm/hppa.exp: Corresponding changes.
8316
8317Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8318
8319 Beginnings of template debugging tests.
8320 * gdb.c++/templ-info.cc: New file to test for template
8321 debugging capability of the compiler.
8322 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8323 templ-info.cc.
8324 * gdb.c++/templates.cc: Add explicit template instantiations
8325 to enable compiling with -fno-implicit-templates. Add destructor
8326 and 'value' method to T5 class for template tests.
8327 * gdb.c++/templates.exp: Add testcases for printing of template
8328 types, setting breakpoints on template methods and calling a
beb998c6 8329 template method.
c906108c
SS
8330
8331Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8332
8333 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8334 branch target since some assemblers (gas-2.5) may emit a
8335 relocation for the branch instead of resolving it in the
8336 assembler.
8337
8338Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8339
8340 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8341 through signal handler.
8342
8343Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8344
8345 * configure.in (*-*-netware): Use config/mt-netware.
8346
8347 * config/mt-netware: New file.
8348 * config/mt-i386-netware: Removed, separate configs for different
8349 netware architectures are no longer needed now that we have
8350 --with-headers.
8351
8352Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8353
8354 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8355 by the recent changes to use ANSI C arithmetic conversions.
8356
8357Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8358
8359 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8360 bug involving using inferior_pid to figure out whether to select a
8361 frame.
8362
8363Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8364
8365 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8366 match the current disassembler output.
8367
8368Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8369
8370 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8371 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8372 types, expect "int" as type of integer values (for now).
8373
8374Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8375
8376 * gdb.base/commands.exp: New tests for if/while commands.
8377
8378Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8379
8380 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8381 by .*, since hex values have different syntax in Chill mode.
8382
8383Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8384
8385 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8386 linefeed from expect pattern for repeated types with indices > 9.
8387
8388Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8389
8390 First part of Fortran test suite.
8391 * gdb.fortran: New directory.
8392 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8393
8394Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8395
8396 * gdb.base/default.exp: Update expect pattern for load command
8397 without arguments.
8398
8399Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8400
8401 * configure.in: Change i386 to i[345]86.
8402 * gdb.base/configure.in: Likewise.
8403 * gdb.c++/configure.in: Likewise.
8404 * gdb.chill/configure.in: Likewise.
8405
8406Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8407
8408 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8409 patterns, since that is not a valid context for comments.
8410
8411Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8412
8413 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8414 repeated types and repeated types with indices > 9.
8415
8416Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8417
8418 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8419 2417; old bug has been fixed.
8420
8421Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8422
8423 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8424 send the newline ourselves instead of assuming gdb_test will do
8425 so when passed an empty input string.
8426
8427 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8428 stabs testcode.
8429
8430Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8431
8432 * lib/gdb.exp (gdb_test): Don't send anything if the first
8433 argument is an empty string. This makes cases where we want to
8434 match output that is already in expect's buffers (for example,
8435 matching a breakpoint after gdb_run_cmd has been called) work
8436 reliably.
8437
8438Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8439
8440 * config/netware.exp: New file.
8441
8442Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8443
8444 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8445 the -B and -L prefixes so we can find the debugging stub.
8446
8447 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8448 there and we are using the gcc from the tree.
8449
8450 * gdb.base/types.c: Removed.
8451
8452 * gdb.base/configure.in: Look for makefile fragments in ../config.
8453 Recognize i386-*-netware.
8454 * gdb.c++/configure.in: Likewise.
8455
8456Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8457
8458 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8459 the correct TCL syntax.
8460
8461Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8462
8463 * gdb.base/opaque.exp: use runto instead of messing around with
8464 breakpoints. Simplify by using gdb_test.
8465
8466 * gdb.base/bitfields.exp: restart between tests on netware targets
8467 because breakpoints aren't relocated after target death. Run
8468 processes to completion.
8469
8470 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8471
8472Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8473
8474 * Makefile.in: Remove extra tabs that confuse some versions
8475 of "make". Use the newly built gdb to test with by default,
8476 rather than the first one in the tester's search path.
8477
8478Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8479
8480 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8481
8482 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8483 condition help.
8484
8485Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8486
8487 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8488
8489 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8490 running.
8491 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8492 * gdb.base/funcargs.exp: Likewise.
8493
8494 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8495 * gdb.base/funcargs.exp: Likewise.
8496
8497 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8498 message is "".
8499
8500Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8501
8502 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8503 return,signals,twice}.exp: Handle non-existant binaries
8504 consistantly.
8505
8506 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8507 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8508 might testing a cross development system.
8509
8510Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8511
8512 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8513 runtest script is relative to ${srcdir}, not ${rootdir}.
8514
8515Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8516
8517 * gdb.base/signals.exp: Allow for optionality of breakpoint
8518 address.
8519
8520Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8521
8522 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8523
8524Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8525
8526 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8527 for size_t definition.
8528 * gdb.c++/templates.cc: Likewise
8529
8530 * config/mt-i386-netware: New file.
8531
8532 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8533 defined.
8534
8535 * gdb.base/Makefile.in: Added support for systems that name core
8536 files by appending "core" to the program name.
8537 * gdb.base/a1-selftest.exp: Likewise.
8538
8539Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8540
8541 * gdb.base/return.exp: Add comment and message for `return double'
8542 test failure on Sparc Solaris.
8543
8544Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8545
8546 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8547
8548Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8549
8550 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8551 from optimizing them away.
8552 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8553 patterns to include default constructors and assignment operators,
8554 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8555 character in the output of the virtual base pointer.
8556
8557Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8558
8559 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8560 expression match in print_addr_of to avoid unintented matches.
8561 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8562 versions up to 2.5.8.
8563
8564Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8565
8566 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8567 included file to run under newer versions of expect.
8568 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8569 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8570 Remove xfail for the virtual table of BDDHookV.
8571
8572Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8573
8574 * lib/gdb.exp (string_to_regexp): Set a default result.
8575 (default_gdb_start): Fix misleading message.
8576
8577Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8578
8579 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8580 Remove all CC, etc definitions.
8581 * config/mt-hpux: New file.
8582 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8583 (CFLAGS, LDFLAGS): Define.
8584 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8585
8586 * Makefile.in (site.exp): Don't insert host_os, etc.
8587 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8588 (distclean): Check existence of subdir.
8589 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8590 * gdb.base/Makefile.in: General cleanup and simplification.
8591 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8592 to build executables. Use default rule to build .o files.
8593 (EXPECT, RUNTEST, CC): Fix relative pathname.
8594 (site.exp): Don't insert host_os, etc.
8595 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8596 and/or SIGUSR1 defined.
8597 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8598 * gdb.c++/Makefile.in: General cleanup and simplification.
8599 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8600 (CFLAGS): Remove.
8601 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8602
8603Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8604
8605 * gdb.base/recurse.exp: Misc changes to get tests running again
8606 after Kung's changes to the watchpoint code.
8607 * gdb.base/watchpoint.exp: Likewise.
8608
8609Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8610
8611 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8612
8613Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8614
8615 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8616 * lib/gdb.exp (default_gdb_start): Define.
8617 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8618 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8619 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8620 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8621 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8622 Don't call gdb_target_udi in between tests.
8623
8624Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8625
8626 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8627 (which was basically just a local version of the same thing). In
8628 addition to avoiding duplication, gdb_test_exact is faster.
8629 * lib/gdb.exp (gdb_test_exact): Fix typo.
8630
8631 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8632 don't give an error.
8633
8634 * gdb.base/term.exp: Call delete_breakpoints before starting.
8635
8636 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8637 (t10): Add comment.
8638
8639Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8640
8641 Reorganization of the GDB Test Suite.
8642
8643 * gdb.base: New directory, contains all the basic tests.
8644 * gdb.c++: New directory, tests specific to C++.
8645 * gdb.chill: New directory, tests specific to Chill.
8646 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8647 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8648 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8649 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8650 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8651 t30-31 to chill).
8652 * */gdbme.*: Rename to match appropriate expect scripts.
8653 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8654 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8655 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8656 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8657 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8658 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8659 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8660 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8661 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8662 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8663 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8664 gdb.c++/virtfunc.cc: New names of C++ files.
8665 * gdb.chill/chillvars.ch: New name of Chill file.
8666 * gdb.base/configure.in, gdb.c++/configure.in,
8667 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8668 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8669 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8670 * configure.in (configdirs): Update to reflect directory changes.
8671 (target_abbrev): No longer define for any configuration.
8672 * Makefile.in: Cosmetic improvements to header comments.
8673
8674Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8675
8676 Various changes to gdb.t31:
8677
8678 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8679 * gdbme.ch: Make all key-words and predefineds be upper-case.
8680 * chillvars.exp: Expect key-words and predefinds in upper-case.
8681
8682 * chillvars.exp: Use gdb_test_exact many places.
8683 Change expected output for arrays (which now includes index labels).
8684
8685 * pr-5020.exp, gdme.ch (module PR_5020):
8686 New test, for PR-5020.
8687
8688Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8689
8690 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8691 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8692
8693Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8694
8695 * Makefile.in: Fix bit-rot in definitions of CHILL,
8696 CHILL_FOR_TARGET and Chill_LIB.
8697 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8698 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8699 CHILL, and CHILL_LIB.
8700
8701Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8702
8703 * Revert the previous changes. Please see Rob's directory
8704 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8705
8706Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8707
8708 * Makefile.in, configure.in, config/mips-gdb.exp,
8709 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8710 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8711 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8712 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8713 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8714 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8715 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8716 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8717 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8718 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8719 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8720 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8721 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8722 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8723 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8724 changes from 94Q1.
8725
8726Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8727
8728 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8729 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8730 Rob's new testing fragments.
8731
8732Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8733
8734 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8735 lib/gdb.exp: Replace error proc calls with perror.
8736
8737Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8738
8739 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8740 version also, match on casted version strings, and match on
8741 gdb startup case where the line numbers might be messed up.
8742
8743Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8744
8745 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8746 (CFLAGS): Delete it from here.
8747
8748Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8749
8750 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8751
8752Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8753
8754 * Makefile.in (RUNTEST): Default to just "runtest".
8755
8756Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8757
8758 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8759 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8760 the code has been restructured.
8761
8762Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8763
8764 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8765 \n, not just one of each.
8766
8767 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8768 /bin/cc gives a warning if you do.
8769
8770Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8771
beb998c6 8772 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8773 __t10ListS_link1ZUiRCUiPT0
8774
8775Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8776
8777 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8778 on local variables in recursive functions.
8779
8780 * gdb.t07/Makefile.in: Build the new test.
8781
8782Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8783
8784 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8785 directly. Instead compare the return values from actual calls.
8786
8787Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8788
8789 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8790
8791Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8792
8793 * From Peter Schauer with minor modifications.
8794 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8795 stops in mid-line in the caller. Add xfail for returning a float
8796 value on X86 targets.
8797
8798Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8799
8800 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8801 to avoid expect lossage.
8802 (fmem_LRbug_tests): Likewise.
8803 * gdb.disasm/hppa.s: Corresponding changes.
8804
8805 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8806 conditions to work with latest dejagnu/expect.
8807
8808 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8809 expected to fail on the PA.
8810 (backtrace in call with trampolines): Explicitly require main
8811 to be frame #1 (no trampolines should show up in backtrace).
8812
8813 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8814 "continue -expect".
8815 * gdb.t06/break.exp: Likewise.
8816 * gdb.t07/watchpoint.exp: Likewise.
8817 * gdb.t13/bitfields.exp: Likewise.
8818 * gdb.t15/{funcargs,return}.exp: Likewise.
8819 * gdb.stabs/weird.exp: Likewise.
8820 * config/{mips,udi}-gdb.exp: Likewise.
8821
8822 * hppa.sed: Enclose comments within a sed command to avoid
8823 losing with the old OSF1 sed.
8824
8825Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8826
8827 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8828 sequent dynix.
8829 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8830 * gdb.t15/funcargs.exp: Conditionally step again to really
8831 finish from marker_call_with_trampolines. Handle the case where
8832 the first step from within call_with_trampolines already steps
8833 us back to main.
8834 * gdb.t15/gdbme.c: Add comment to closing brace of
8835 call_with_trampolines for funcargs.exp.
8836
8837Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8838
beb998c6 8839 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8840 Fix typo(s).
8841
8842Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8843
8844 * gdb.t07/gdbme.c: More code for watchpoint testing.
8845
8846 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8847 "Hardware watchpoint" throughout file.
8848 (test_watchpoint_triggered_in_syscall): New test.
8849 (test_complex_watchpoint): New test.
8850
8851Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8852
8853 * gdbme.c (call_with_trampolines): New function to try and step
8854 into. Tests trampoline problems on the PA.
8855
8856 * funcargs.exp (localvars_in_indirect_call): No longer expect
8857 stepping into indirect call to fail on PAs.
8858 (test_stepping_over_trampolines): New test.
8859
8860Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8861
8862 * TODO: Add suggestions for static member function tests, and
8863 completion tests.
8864
8865Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8866
8867 * TODO: Add suggestions for "p/a" tests.
8868
8869 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8870 (default_gdb_exit): Replace all the hair with sending "quit" to
8871 the process with a simple close.
8872
8873Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8874
8875 * TODO: Add suggestions for shared library tests.
8876
8877Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8878
8879 * TODO: Add suggestions for x/s tests.
8880
8881Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8882
8883 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8884 "enable once", and "enable breakpoints once" with ".*".
8885
8886Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8887
8888 * TODO: Add suggestions about structure passing tests.
8889
8890Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8891
8892 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8893 the primary1 test, use work around if __GNUC__ < 2.
8894 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8895 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8896 Test for bad output rather than waiting for timeout. Issue
8897 second continue only if first continue failed.
8898
8899Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8900
8901 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8902 operator[] test with gdb_test because the old code didn't seem to
8903 be getting the quoting right with the new dejagnu.
8904
8905Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8906
8907 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8908 one from the path.
8909 * Makefile.in: Use a fresh expect if there is one, use runtest
8910 from the src tree if there is one.
beb998c6 8911
c906108c
SS
8912Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8913
8914 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8915 next over recursive call. Revise the tests from that point on
8916 (which had been skipped) to match GDB's actual (correct) output.
8917
8918 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8919 with next over a breakpoint whose condition is false.
8920
8921 * gdb.t00/help.exp: Comment out "help set print" tests just like
8922 (and for same reason as) "help set" test.
8923
8924Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8925
8926 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8927 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8928
8929Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8930
8931 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8932 necessary gdb_target_udi.
8933
8934 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8935
8936 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8937 1838 and 2417; they are fixed.
8938
8939 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8940 gdb.t03/ptype.exp (ptype structure, ptype union):
8941 Remove xfails; the test is looser than when the xfails were added.
8942
8943 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8944 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8945
8946 * gdb.t01/run.exp: Only run shell test if isnative.
8947
8948 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8949 since "run" automatically loads if necessary. Call gdb_target_udi
8950 after the "file" since "file" kills any execution target.
8951
8952 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8953 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8954 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8955 argument for UDI.
8956
8957Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8958
8959 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8960
8961 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8962
8963Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8964
8965 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8966 properly quoting regexps. This makes the second argument to
8967 demangle a fixed string, which matches the callers, instead of a
8968 shell-style pattern which is what the previous implementation
8969 used. Update some of the callers.
8970
8971Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8972
8973 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8974 (comib_nullified_tests): Fix typo.
8975 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8976 strings. No longer expected to fail.
8977
8978 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8979 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8980 strings. No longer expected to fail.
8981
8982 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8983 string. No longer expected to fail.
8984
8985Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8986
8987 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8988 No longer expected to fail.
8989
8990 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8991 string. No longer expected to fail.
8992
8993Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8994
8995 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8996 only in the names (I probably got most of them). I was even
8997 generous with some which differed in underscores in names, and
8998 probably missed a few, and I *still* was able to remove almost a
8999 third of the file with almost no impact on testsuite coverage.
9000
9001Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9002
9003 * gdb.t00/default.exp: Match udi_attach error message as well as
9004 the one from child_attach.
9005
9006 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9007
9008 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9009
9010 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9011 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9012
9013 * Move test with enums and partial symbols back to
9014 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9015 Reverts the change of 26 May 93. Per today's change to
9016 stabs.texinfo, the behavior that weird.exp was expecting was
9017 unreasonable; what is important is that the compiler+gdb get
9018 things right, which happens with a recent gcc. Also fix the test
9019 to deal with native compilers which put out the stab gdb can't
9020 deal with.
9021
9022Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9023
9024 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9025 in the names. The main thing these accomplish is to slow things down.
9026 Many more such duplicates surely remain.
9027
9028 * gdb.t00/help.exp: Comment out "help support" test just like
9029 (and for same reason as) "help set" test.
9030
9031Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9032
9033 * gdb.t06/break.exp: Remove setup_xfails for
9034 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9035 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9036 about known bug in gcc to include up through 2.5.8.
9037 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9038 well as "_vb$".
9039 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9040 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9041 with latest gcc and gdb.
9042 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9043 well as "_vb$".
9044
9045Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9046
9047 * configure.in (hppa*-*-*): Also configure and build stabs-only
9048 tests.
9049
9050Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9051
9052 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9053 * gdb.t10/configure.in (hppa*-*-*): Use it.
9054
9055Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9056
9057 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9058
9059Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9060
9061 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9062 versions prior to 1.13.5.
9063
9064Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9065
9066 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9067 the prompt is at the start of a line.
9068
9069Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9070
9071 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9072 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9073 in the copr tests now.
9074 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9075 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9076 expected to fail.
9077
9078Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9079
9080 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9081 gdb.t31/chillvars.exp, lib/gdb.exp:
9082 Tweak to run under either version of expect.
9083 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9084 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9085 * gdb.t11/list.exp: Remove extraneous whitespace.
9086
9087Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9088
9089 * gdb.t16/printcmds.exp (test_print_strings): Accept
9090 "(unsigned char *) " before the string.
9091
9092 * TODO: Add notes about printing of fancy types and GDB expressions.
9093
9094Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9095
9096 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9097 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9098 if doing mips-idt-ecoff.
c906108c
SS
9099
9100Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9101
9102 * Most .exp files: Tweak to run under either version of expect.
9103
9104Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9105
9106 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9107 xfails; I'm not sure why they are failing, but not because of PR 1806.
9108
9109Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9110
9111 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9112 defined in lib/gdb.exp.
9113
9114Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9115
9116 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9117 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9118 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9119 have to be typeless.
9120
9121Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9122
9123 * TODO: Add suggestion for copyright year test.
9124
9125Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9126
9127 * configure.in (*-*-lynxos*): Add stabs tests.
9128
9129Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9130
9131 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9132 so insert a tab before any assembler directive in column zero.
9133
9134 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9135 stores.
9136 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9137 stores.
9138 (fpu_short_memory_tests): Likewise.
9139
9140Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9141
9142 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9143 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9144 .stabs directives in comments.
9145
9146Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9147
9148 * TODO: New file, describing tests we could write.
9149 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9150
9151Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9152
9153 * gdb.t06/signals.exp: Add kludge to force re-sync.
9154
9155 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9156 to xgdb instead of gdb, get out of gdb.
9157
9158Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9159
9160 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9161 for info.
9162
9163Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9164
9165 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9166 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9167 * gdb.stabs/hppa.sed: New sed script for the PA.
9168
9169Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9170
9171 * gdb.stabs: Re-write weird.def and configuration to use sed
9172 instead of cpp. sed is portable and POSIX; cpp is neither.
9173
9174Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9175
9176 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9177
9178Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9179
9180 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9181
9182Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9183
9184 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9185 "_vb$".
9186 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9187 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9188
9189Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9190
9191 * lib/gdb.exp: Comment out code which depends on non-existent
9192 `transform' procedure.
9193
9194Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9195
9196 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9197 * lib/gdb.exp: Transform tool name.
9198 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9199 1.1's new error handling system.
9200
9201Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9202
9203 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9204
9205Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9206
9207 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9208 They made pattern matching so slow that timeouts happened on
9209 heavily loaded systems. Now any output from "show print" which
9210 gets us back to the GDB prompt is a PASS.
9211
9212Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9213
9214 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9215
9216Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9217
9218 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9219
9220 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9221 It is not from PR 3220.
9222
9223Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9224
9225 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9226 just started failing because they depended on the order the
9227 subcommands are presented, or exact docstring text. This kind of
9228 test is a pain and has minimal benefit.
9229
9230Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9231
9232 * gdb.t09/corefile.exp: At end of test, use "core" command with
9233 no arguments.
9234
9235Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9236
9237 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9238 17}/Makefile.in: Make it possible to run the testsuite with Sun
9239 make and CC = cross gcc by adding explicit build rules for .o
9240 files.
9241
9242Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9243
9244 * gdb.t15/funcargs.exp: Don't put comments on same line as
9245 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9246
c906108c
SS
9247Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9248
9249 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9250
9251Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9252
9253 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9254 * gdb.t20/inherit.exp: remove three dumplicate entries.
9255
9256Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9257
9258 * gdb.t06/break.exp: For "next over recursive call", fail on any
9259 incorrect output, not just on "factorial (value=2)".
9260
9261Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9262
9263 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9264 working now. Add an xfail if accesing a bss variable causes
9265 a memory error if the target is not yet run.
9266
9267Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9268
9269 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9270 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9271 name of __st* demangling (2 strings). Did Kung really get the
9272 more than 95 others right without testing them?
9273
9274Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9275
9276 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9277
9278Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9279
9280 * configure.in (configdirs): Add gdb.disasm
9281 * gdb.disasm: New directory for GDB disassembler tests.
9282 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9283
9284Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9285
9286 * gdb.t00/help.exp: Don't test "help set".
9287
9288 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9289 from within expect statements. None of these happen anymore and
9290 they cause regressions to be silently unnoticed.
9291
9292 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9293 messages) about known failures with gcc cygnus-2.4.5-930417.
9294
9295 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9296 comp-info.exp so it gets built if it doesn't exist.
9297
9298 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9299 it is no longer used.
9300 * gdb.t13/comp-info.c: Removed.
9301
9302Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9303
9304 * gdb.t06/signals.exp: Add xfail for sun3.
9305
9306Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9307
9308 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9309 relevant because ^C doesn't get sent but failure can be reproduced
9310 interactively).
9311
9312Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9313
9314 * gdb.stabs/alpha.mt: New configuration file for alpha.
9315 * gdb.stabs/configure.in: Use it.
9316 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9317 sharing with alpha.mt, redefine long to word via preprocessor.
9318 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9319 for alpha.
9320 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9321 native cc.
9322 * gdb.t00/teststrategy.exp: Change expect string so that we
9323 consume the `(xgdb)' from the command echo and from the gdb prompt.
9324 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9325 gdb currently compares all values as long, so this failure probably
9326 applies to any configuration where LONGEST is bigger than a target int.
9327 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9328 with gcc.
9329 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9330 to handle opaque pointers, gcc is.
9331 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9332 as first argument. Include <sys/types.h> and change all operator
9333 new definitions to use size_t.
9334 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9335 now that we use size_t.
9336
9337Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9338
9339 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9340 a long or float array cast all array members to the same type.
9341 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9342 with 64 bit longs.
9343 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9344 on alpha.
9345 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9346
9347Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9348
9349 * gdb.t24 (demangle.exp): Constructors of templates have names like
9350 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9351 section 14.6 of the ARM.
9352
9353 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9354 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9355 accomplish little and slow down the testsuite.
9356
9357 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9358 Accept spaces various places.
9359
9360Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9361
9362 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9363 with watchpoint enabled.
9364
9365 * Makefile.in: Remove definition of CC and remove the second
9366 definition of CXX (the "CXX = gcc" one remains). These definitions
9367 were causing backquotes to be expanded within backquotes, which
9368 doesn't work.
9369
9370Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9371
9372 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9373
9374Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9375
9376 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9377 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9378 by mips cc and contains no stabs entries.
9379
9380Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9381
9382 * config/vx-gdb.exp: Use fake device to load files rather than
9383 NFS.
9384 * lib/gdb.exp: New proc to do "file" command.
9385 * config/unix-gdb.exp: Use new "file" proc.
9386
9387Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9388
9389 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9390 Rework board rebooting slightly.
9391 (gdb_exit): Don't exit from the remote shell; there isn't one.
9392 * gdb.stabs/weird.exp: If a program is being debugged already,
9393 kill it.
9394 * gdb.t04/setvar.exp: Stop and restart gdb.
9395 * gdb.t05/expr.exp: Likewise.
9396 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9397 restart gdb and reload the program.
9398 * gdb.t08/opaque.exp: Likewise.
9399 * gdb.t12/scope.exp: Likewise.
9400 * gdb.t13/bitfields.exp: Likewise.
9401 * gdb.t15/funcargs.exp: Likewise.
9402 * gdb.t20/classes.exp: Likewise.
9403 * gdb.t03/ptype.exp: Increase timeout.
9404 * gdb.t16/printcmds.exp (test_print_string_constants,
9405 test_print_array_constants): Likewise.
9406 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9407 * gdb.t20/classes.exp (do_tests): Likewise.
9408 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9409
9410Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9411
9412 * gdb.stabs: Renamed *wierd* to *weird*.
9413
9414Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9415
9416 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9417 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9418
9419Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9420
9421 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9422 (do_tests): Remove xfail for whatis on one_var and two_var.
9423
9424Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9425
9426 * Makefile.in: Made cross building work better by adding
9427 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9428
9429Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9430
9431 * gdb.t15/{return.c,return.exp,Makefile.in}:
9432 New test, currently commented out.
9433
9434Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9435
9436 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9437 still running and removes the leftover named socket so GDb can do
9438 clean restarts.
9439
9440Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9441
9442 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9443 console, not GDB.
9444 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9445 cross testing works better with "make check"
9446 * config/unix-gdb: Use default procedures for exit and version.
9447 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9448 with the newest VxWorks.
9449
9450Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9451
9452 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9453 old form.
9454
9455 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9456 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9457
9458 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9459
9460 * config/unix-gdb.exp: Remove this version of gdb_exit
9461 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9462 Rob says he'll look at it when he gets back to testing boards.
9463
9464Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9465
9466 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9467 an expected fail for certain ptype commands.
9468
9469 * gdb.t20/classes.exp: Update expected results of "ptype class
9470 Base1" to account for the constructor that now appears in the type.
9471
9472Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9473
9474 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9475 disappeared from list.
9476 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9477 "alldone" proc with call to cleanup and exit.
9478 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9479 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9480 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9481 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9482 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9483 "alldone" proc with simple returns that suppress remaining
9484 tests. The alldone proc went away many months ago.
9485
9486Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9487
9488 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9489
9490 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9491
9492Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9493
9494 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9495 as vax gdb will display them.
9496
9497Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9498
9499 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9500 optimizers.
9501
9502 * scope.exp: Change "bad value for localval" messages so each one
9503 is unique.
9504
9505 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9506 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9507
9508 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9509
9510Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9511
9512 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9513 doesn't exist (due to optimization).
9514
9515Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9516
9517 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9518 contains \r because the filename is long.
9519
9520 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9521 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9522
9523Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9524
9525 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9526 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9527 Ultrix.
9528 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9529 int tests.
9530 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9531
9532Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9533
9534 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9535
9536 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9537 to match does not match the passing case but still matches the
c906108c
SS
9538 failing case.
9539
9540Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9541
9542 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9543
9544Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9545
9546 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9547 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9548 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9549 Remove various versions of gdb_exit.
9550 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9551 gdb_exit.
9552 * config/unix-gdb.exp: gdb_exit remains here, and should override
9553 the generic version, since it's doing a lot of wierd stuff that
9554 the other versions aren't. FIXME, fold it in, or abandon this
9555 version.
9556
9557Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9558
9559 * gdb.t24/demangle.exp: Add tests for PR 3220.
9560
9561Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9562
9563 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9564
9565Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9566
9567 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9568 "i386-*-*". Works for i486 as well.
9569
9570 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9571 bug, and expand domain of xfail to all SVR4 systems, since the
9572 actual problem is likely to be in generic SVR4 /proc support.
9573
9574Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9575
9576 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9577
9578Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9579
9580 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9581 xfails for other systems. Match a missing 'Continuing.' as an
9582 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9583
9584 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9585 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9586 Only issue warning for missing executables if -all option is used.
9587
9588 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9589 file if -all option is used. It's like an unpredictable XFAIL.
9590
9591Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9592
9593 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9594 for dynamically linked binaries.
9595
9596 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9597
9598Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9599
9600 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9601 to state that this is a known bug in old versions of g++.
9602
9603Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9604
9605 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9606 while waiting for `Continuing'.
9607
9608Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9609
9610 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9611 in text, data, and bss.
9612 * gdb.t10/nodebug.c: Add local and global test variables for
9613 initialized and uninitialized data.
9614
9615Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9616
9617 * config/unix-gdb.exp (gdb_exit): Add "wait".
9618
9619Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9620
9621 * gdb.t06/signals.exp: xfail the continue from the handler for all
9622 targets.
9623
9624 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9625 function with watchpoints enabled, the i386 call dummy starts with
9626 a call.
9627
9628 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9629 386 bsd names its corefiles.
9630
9631Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9632
9633 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9634 compilers don't grok it.
9635 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9636 with small octal ints rather than character constants, which
9637 are signed and might not fit if first promoted to int.
9638
9639Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9640
9641 * gdb.t09/Makefile.in (clean): Remove corefile.
9642
9643Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9644
9645 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9646
9647Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9648 and Jim Kingdon (kingdon@cygnus.com)
9649
9650 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9651 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9652 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9653
9654Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9655
9656 * gdb.t17/interrupt.exp: Add xfail for hppa.
9657
9658Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9659
9660 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9661 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9662 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9663 to determine signed-ness of bitfields and use the result to setup
9664 the xfail.
9665 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9666 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9667 call line is reached if necessary.
9668
9669Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9670
9671 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9672
9673Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9674
9675 * gdb.t06/break.exp: Also test `clear' command.
9676
9677Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9678
9679 * gdb.t00/teststrategy.exp: Remove extra quote.
9680
9681 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9682 watchpoint enabled to be for all non-68k machines.
9683
9684 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9685
9686Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9687
9688 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9689 targets use aout.mt instead of ecoff.mt as gas understands
9690 standard aout format.
9691
9692Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9693
9694 * lib/gdb.exp (runto): Don't insist that function we are running to
9695 was compiled with -g.
9696
9697 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9698
9699 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9700 to get back into the read system call.
9701 Accept leading newline in case where we woke it up.
9702
9703Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9704
9705 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9706 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9707 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9708 enable ecoff configuration.
9709
9710Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9711
9712 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9713
9714Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9715
9716 * gdb.t16/printcmds.exp: Add another printf test.
9717
9718Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9719
9720 * configure.in: If configured -with-stabs on any target, add
9721 stabsdirs to configdirs.
9722
9723Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9724
9725 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9726 fun" so pattern does not match the command itself.
9727
9728Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9729
9730 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9731
9732Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9733
9734 * gdb.t17/interrupt.exp: Test for more things.
9735
9736Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9737
9738 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9739 compiler arranges the code and line numbers.
9740
9741 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9742
9743Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9744
9745 * gdb.t00/help.exp: Increase expect input buffer size.
9746
9747Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9748
9749 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9750
9751 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9752
9753 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9754
9755 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9756 [0-9]*, not just [0-9].
9757
9758Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9759
9760 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9761
9762 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9763
9764Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9765
9766 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9767
9768Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9769
9770 * gdb.t06/signals.c: Add xfails for sun3.
9771
9772 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9773
9774 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9775 test_stepping tests.
9776
9777Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9778
9779 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9780
9781 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9782
9783 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9784 rather than actually putting it through cpp twice.
9785
9786 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9787
9788Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9789
9790 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9791 no longer needed.
9792
9793Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9794
9795 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9796
9797 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9798 C++ features prints as "struct", make it a pass, not an xfail.
9799
9800Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9801
9802 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9803 Don't require VA to print as "class" rather than "struct".
9804
9805Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9806
9807 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9808
9809Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9810
9811 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9812
9813Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9814
9815 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9816 order.
9817
9818Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9819
9820 * gdb.t16/printcmds.exp: Add printf tests.
9821
9822 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9823
9824 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9825
9826Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9827
9828 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9829 pass counts, to counteract any existing or future setup_xfails.
9830
9831Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9832
9833 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9834 {BEGIN,END}_COMMON for common block instead of STAB.
9835 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9836
9837 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9838 intp_var should be N_GSYM not N_LSYM.
9839 wierd-aout.S: Use a label for the value of the N_SO.
9840 wierd.def: Remove all backslashes.
9841 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9842
9843Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9844
9845 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9846 get the expected next to inheritance3.
9847
9848Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9849
9850 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9851 now that gcc-2.4 gets it right.
9852
9853Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9854
9855 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9856
9857 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9858 generating comp-info.exp which works for cross-compilation.
9859
9860Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9861
9862 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9863 "*-*-sysv4.*".
9864
9865Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9866
9867 * gdb.t01/run.exp: Start with a fresh gdb.
9868 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9869 SVR4.x.
9870
9871Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9872
9873 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9874 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9875 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9876 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9877 things to remove.
9878
9879Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9880
9881 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9882 test cases from bug reports.
9883
9884Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9885
9886 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9887 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9888 avoid spurious xfails.
9889 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9890 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9891 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9892
9893Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9894
9895 * gdb.t00/teststrategy.exp: Rework to provide more useful
9896 description of each test, fix problem with systems that define
9897 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9898 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9899 results for "next over recursive call" so timeouts aren't taken
9900 by error.
9901
9902Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9903
9904 * gdb.t12/scope.exp: Test printing of variables before run.
9905
9906 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9907 printed in wrong order due to sorting.
9908
9909Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9910
9911 * gdb.t00/teststrategy.exp: Fix expected results for printing
9912 user entered string constant. Is array of char, prints with no
9913 address.
9914
9915 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9916 commands.
9917 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9918 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9919 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9920 of struct of char arrays.
9921 * gdb.t00/radix.exp: New tests for radix commands.
9922
9923Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9924
9925 * gdb.t16/printcmd.exp: Print a variable before running program
9926 (with xfail for AIX).
9927
9928Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9929
9930 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9931
9932 * gdb.t16/printcmd.exp: Don't print variables before running program.
9933
9934 * gdb.t06/break.exp: Don't require envp argument to main.
9935
9936 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9937
9938 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9939 Add xfails for rs6000.
9940
9941 * gdb.t02/whatis.exp: Change other tests not to re-test something
9942 we already tested.
9943
9944 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9945 each type used has a variable of that type.
9946
9947Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9948
9949 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9950
9951Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9952
9953 * configure.in: change srctrigger to be a file, not a directory
9954
9955Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9956
9957 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9958
9959 * gdb.t11/list.exp: Fixed a couple of typos.
9960
9961Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9962
9963 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9964 is fixed and PR is closed.
9965 * gdb.t16 (gdbme.c): Add simple test string variable.
9966 * gdb.t16 (printcmds.exp): Add tests with simple test string
9967 variable, primarily for boundaries on "set print elements".
9968
9969Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9970
9971 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9972 Make leading 0's optional and don't expect a tab in the middle
9973 of the number.
9974
9975 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9976
9977 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9978 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9979 don't end command passed to gdb_test with newline.
9980
9981 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9982 signed keyword away, don't expect signed bitfields to be signed.
9983
9984 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9985 printing with only as many 1's as are in the field as well as printing
9986 with 32 1's (see comment).
9987
9988Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9989
9990 * gdb.t00/default.exp: Start with a fresh gdb.
9991 * configure.in (configdirs): Remove gdb.t31 until the chill
9992 compiler works again. It no longer is able to find chillrt0
9993 since it isn't in libchill.a anymore.
9994 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9995 wierd.o, make more modular.
9996 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9997 spurious newlines that caused problems.
9998
9999Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10000
10001 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10002 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10003 gdb.stabs/wierd.{exp,def}: Many new tests.
10004
10005 * gdb.t00/default.exp: update info line for new message.
10006
10007 * gdb.t02/{whatis.exp,gdbme.c}:
10008 Test that "char *" doesn't print as "caddr_t".
10009
10010Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10011
10012 * gdb.t00/help.exp: Use .* in place of some help messages which
10013 just changed.
10014 gdb.t00/default.exp: Update "info frame" test for new message.
10015 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10016 Remove some xfails
10017
10018Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10019
10020 * gdb.t03/{gdbme.c,ptype.exp}:
10021 Add tests for typedef'd struct and union without tags.
10022 Also check "whatis" on a variable of a typedef'd enum without a tag.
10023
10024 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10025 PRMS 1823; the bug still exists but isn't reproduced by this test
10026 anymore), and remove rs6000 XFAIL (the bug is fixed).
10027
10028 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10029 duplicated from whatis.exp. For those that are left, accept
10030 "long", "long int", or "int" for long variables (whatis.exp already
10031 has an XFAIL for "int", so no need to fail it here).
10032
10033 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10034 Deal with GCC's names for types now that GDB uses the compiler's names.
10035
10036 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10037 setup_xfail's for sunos4. If we #defined the signed keyword away,
10038 don't expect GDB to know that char it is signed.
10039
10040 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10041
10042Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10043
10044 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10045 should work on any system, regardless of debugging format.
10046 * gdb.t21/demangle.exp: Move to gdb.t24.
10047 * gdb.t24/demangle.exp: Move from gdb.t21.
10048 * gdb.t24/{Makefile.in, configure.in}: New files.
10049
10050Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10051
10052 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10053 * gdb.stabs: New directory.
10054
10055Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10056
10057 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10058 not just "Quit anyway?".
10059
10060Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10061
10062 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10063 that all setup_xfails are immediately followed by clear_xfails.
10064
10065Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10066
10067 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10068 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10069 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10070 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10071 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10072 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10073 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10074 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10075 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10076 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10077 gdb.t31/chillvars.exp, lib/gdb.exp:
10078 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10079 bug-gdb@prep.ai.mit.edu.
10080
10081Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10082
10083 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10084 with 0.0, not integer 0.
10085
10086Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10087
10088 * gdb.t06/break.exp: Update for "Kill the program" message change.
10089
10090Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10091
10092 * Makefile.in (GDBFLAGS): Set to -nx.
10093 * Makefile.in (site.exp): Use GDBFLAGS.
10094
10095Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10096
10097 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10098 Makefiles.
10099 (check): depend on just-check.
10100 (just-check): added so that tests can be run without a noop
10101 build pass.
10102
10103Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10104
10105 Switch to using configure's configdirs.
10106 * Makefile.in (Makefile): add configure.in dependency.
10107 (SUBDIRS): removed redundant assignment.
10108 * configure.in: switch subdirs assignment to configdirs.
10109 * gdb.t*/configure.in: new files.
10110
10111Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10112
10113 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10114 works.
10115
10116Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10117
10118 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10119 in explicit rules. Apparently this is not supported by some makes.
10120
10121Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10122
10123 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10124
10125Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10126
10127 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10128 disappeared.
10129
10130Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10131
10132 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10133
10134Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10135
10136 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10137 watchpoint problem that is now fixed.
10138 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10139 uninitialized convenience variables.
10140 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10141 structures.
10142
10143Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10144
10145 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10146 which causes expect to get out of sync with gdb on long output
10147 from help set.
10148 * gdb.t09/corefile.exp: Make expected pattern for core file
10149 failing signal and frame output format less sun specific.
10150
10151Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10152
10153 * gdb.t31/chillvars.exp: Add and remove initial dummy
10154 breakpoint, so that symbol table is forced in.
10155 (Needed at least on Sunos4, though it seems not SVR4.)
10156 * gdb.t31/chillvars.exp: Update for changed output format.
10157
10158Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10159
10160 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10161
10162Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10163
10164 * Makefile.in: Added --srcdir when invoking runtest, removed the
10165 need for a local config file. (optional now)
10166
10167Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10168
10169 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10170 failure count used to force early termination. Add some more
10171 expected failures for gnu style demangling.
10172
10173Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10174
10175 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10176 pmi variable from gdb.t20/gdbme to get optimized away.
10177 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10178 Check for written corefile upon timeout _and_ eof.
10179
10180Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10181
10182 * config/unix-gdb.exp: Add missing return 0.
10183
10184Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10185
10186 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10187 test termination.
10188
10189Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10190
10191 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10192 disappeared.
10193
10194Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10195
10196 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10197 time as i860 support works.
10198
beb998c6 10199 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10200 "backtrace 100\r" rather than just "backtrace\r", to match last
10201 change.
10202
10203Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10204
10205 * config/udi-gdb.exp (gdb_exit): Remove close command.
10206 (gdb_target_udi): New procedure to set the UDI target.
10207 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10208 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10209 Added waits for prompts after several question responses. Added
10210 some more responses used by a29k-amd-udi-gdb.
10211 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10212 pass different arguments, restart UDI connection after program
10213 completion.
10214 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10215 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10216 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10217 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10218 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10219 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10220 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10221 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10222 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10223 after program completion.
10224 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10225 compiled with a SELECT_VECS setting.
10226 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10227 infinite recursion.
10228
10229 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10230 Added checks for COFF results, and made them expected failures for
10231 all targets. It would be better to make them expected failures
10232 for COFF targets only.
10233
10234Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10235
10236 * Makefile.in: add null dvi target, don't bother to recurse
10237 through test directories for info and install-info; rename
10238 $(datadir) to be dejagnu instead of deja-gnu
10239
10240Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10241
10242 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10243 compiler to coredump.
10244 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10245 code.
10246
10247Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10248
10249 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10250 coredump.
10251 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10252 code.
10253
10254Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10255
10256 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10257 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10258 which in a shell. Deletes xgdb when done.
10259 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10260 Tests the return from the "set height" or "set width" commands.
10261 Added a few return codes where needed.
10262
10263Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10264
10265 * Makefile.in (SUBDIRS): Add gdb.t17.
10266 * configure.in (subdirs): Add gdb.t17.
10267 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10268 files to test gdb's calling of functions in the inferior with
10269 the correct arguments and gdb's ability to retrieve any
10270 result returned.
10271
10272Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10273
10274 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10275 may be called after gdb goes away. Previous versions of expect
10276 needed these to avoid file descriptor leaks, but they cause
10277 errors with the current revision of expect.
10278 * gdb.t00/gdbvars.exp: Use -re on expected output after
10279 setting sevenbit-strings.
10280 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10281 to set sevenbit-strings consistent across tests.
10282 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10283 set sevenbit-strings consistent across tests.
10284
10285Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10286
10287 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10288 expected output to match current "expect" expectations.
10289
10290Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10291
10292 * gdb.t00/default.exp: Change expected output for default "source"
10293 command, to match new gdb behavior which requires a filename to
10294 source.
10295
10296Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10297
10298 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10299 expected fail for i486-*-* that misses the marker2 function.
10300 * gdb.t10/crossload.exp (bfddefault): Allow successful
10301 recognition of a format to pass even if no symbols are found.
10302 Explicitly catch failures where the format is not recognized
10303 or is ambiguous, and add the reason to the fail message.
10304 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10305 the cause is and invalid target and add reason to failure message.
10306 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10307 elf32-i386, elf32-sparc, and elf32-i860.
10308 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10309 Set up expected failure for 'filename'::variable scope resolution,
10310 which is now apparently broken on all targets.
10311 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10312 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10313 gdb.t23/templates.exp: Change failure for missing binfile into
10314 just a warning.
10315 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10316 references.
10317
10318Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10319
10320 * gdb.t00/default.exp: Add expected output for default "source"
10321 command, to match new gdb behavior.
10322 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10323
10324Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10325
10326 * config/*-gdb.exp: returns an error, rather than exiting on
10327 internal errors.
10328
10329Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10330
10331 * gdb.t03/gdbme.c: Add pointer to struct variable.
10332 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10333 referencing struct members.
10334
10335Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10336
10337 * configure.in (mips-idt-ecoff): New target.
10338 * config/mips-gdb.exp: New file for remote board using MIPS remote
10339 debugging protocol.
10340
10341 * Redid configuration scheme. Removed gdb.t*/configure.in.
10342 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10343 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10344 distclean targets. Built executables via .o files. Adjusted
10345 tests to account for source files in $(srcdir) rather than
10346 $(objdir).
10347 * lib/gdb.exp (runto): Don't expect () after the function name,
10348 because it may have arguments.
10349
10350Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10351
10352 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10353 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10354 expected failures for mips-idt-* and mips-sgi-*.
10355 * gdb.t00/default.exp (attach): Kill process if requested.
10356 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10357 that does not read core files.
10358 * gdb.t01/run.exp: Removed checks for exit status code.
10359 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10360 it is linked in.
10361 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10362 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10363 appropriate, rather than doing it by hand.
10364 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10365 execution.
10366 * gdb.t10/crossload.exp: Kill existing program if needed.
10367 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10368 appropriate, rather than doing it by hand. Always increase
10369 timeout for this test, not just for VxWorks.
10370
10371Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10372
10373 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10374 of Chill STRUCT types and STRUCT values.
10375 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10376 than "char".
10377 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10378 struct2): New struct definitions and initializations to test
c906108c
SS
10379 simple Chill STRUCT types.
10380
10381Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10382
10383 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10384 the null byte at the end of strings.
10385 * gdb.t00/default.exp: Make show version insensitive to copyright
10386 date.
10387 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10388 to avoid dependencies on target char signedness.
10389 * gdb.t16/printcmds.exp: Update expected results for explicitly
10390 unsigned char.
10391 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10392 now work.
10393 * gdb.t21/demangle.exp: Add many more patterns for template
10394 demangling, most of them being expected failures.
10395 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10396 string we are matching for, to match on the whole string.
10397 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10398 and fix a whole bunch that had incorrect expected output but were
10399 passing anyway because of the bug in "proc demangle".
10400 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10401 type.
10402 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10403
10404Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10405
10406 * gdb/testsuite: made modifications to testcases, etc., to allow
10407 them to work properly given the reorganization of deja-gnu and the
10408 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10409
10410Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10411
10412 * gdb/testsuite: Initial creation of gdb/testsuite.
10413 Migrated dejagnu testcases and support files for testing nm to
10414 gdb/testsuite from deja-gnu. These files were moved "as is"
10415 with no modifications. This migration is part of a major overhaul
10416 of dejagnu. The modifications to these testcases, etc., which
10417 will allow them to work with the new version of dejagnu will be
10418 made in a future update.
10419\f
10420Local Variables:
10421mode: indented-text
10422left-margin: 8
10423fill-column: 74
10424version-control: never
10425End: