]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* ia64-tdep.c (ia64_print_insn): New function.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e00759ef
EZ
12003-07-22 Elena Zannoni <ezannoni@redhat.com>
2
3 * gdb.threads/tls.exp :Add kfail for 'info address' case.
4
8bc2021f
EZ
52003-07-22 Elena Zannoni <ezannoni@redhat.com>
6
7 * gdb.threads/tls.c : New file.
8 * gdb.threads/tls.exp : New file.
9 * gdb.threads/tls-main.c : New file.
10 * gdb.threads/tls-shared.c : New file.
11 * gdb.threads/tls-shared.exp : New file.
12
89320c4c
AS
132003-07-22 Andreas Schwab <schwab@suse.de>
14
15 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16
180dea7c
AS
172003-07-20 Andreas Schwab <schwab@suse.de>
18
19 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20 due to insn reordering.
21
0714963c
AC
222003-07-15 Andrew Cagney <cagney@redhat.com>
23
24 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
25
98a23b3f
MC
262003-07-15 Michael Chastain <mec@shout.net>
27
28 * gdb.base/gdb1250.exp: New file.
29 * gdb.base/gdb1250.c: New file.
30
27e417a2
ML
312003-07-09 Michal Ludvig <mludvig@suse.cz>
32
33 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
34 expansion of size_t to 'unsigned long', not only to 'unsigned'.
35
8bc2021f
EZ
362003-07-09 Elena Zannoni <ezannoni@redhat.com>
37
38 * gdb.threads/tls.c: New file.
39 * gdb.threads/tls.exp: New file.
40 * gdb.threads/tls-main.c: New file.
41 * gdb.threads/tls-shared.c: New file.
42 * gdb.threads/tls-shared.exp: New file.
43
d99968dc
EZ
442003-07-09 Elena Zannoni <ezannoni@redhat.com>
45
46 * gdb.base/annota1.exp: Make sure that we properly escape the
47 full path of the source file. Xfail more permissive patterns,
48 due to a compiler debug info problem.
49
83876b3b
AS
502003-07-07 Andreas Schwab <schwab@suse.de>
51
2705e972
AS
52 * gdb.asm/m68k.inc: New file.
53 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
54
83876b3b
AS
55 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
56 arguments"): Also match negative number.
57
58 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
59
3a871b37
DJ
602003-07-03 Daniel Jacobowitz <drow@mvista.com>
61
62 * gdb.base/store.c (charest): New typedef.
63 (add_char): Rename to add_charest, update.
64 (wack_char): Rename to wack_charest, update types. Return l + r
65 to keep r live across the call.
66 (wack_short, wack_int, wack_long, wack_longest, wack_float)
67 (wack_double, wack_doublest): Return l + r to keep r live across
68 the call.
69 * gdb.base/store.exp: Accomodate store.c changes.
70
b2a7f303
DC
712003-06-30 David Carlton <carlton@kealia.com>
72
73 * gdb.c++/maint.exp (test_invalid_name): New.
74 (test_first_component): Add tests for invalid names.
75
3c6cb4a1
MC
762003-06-29 Michael Chastain <mec@shout.net>
77
78 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
79 output of '<VTT for class>' for virtual base classes.
80
f1c2644b
DJ
812003-06-29 Daniel Jacobowitz <drow@mvista.com>
82
83 * gdb.base/completion.exp: Tab-complete "complet" instead of
84 "compl".
85 * gdb.base/complex.exp, gdb.base/complex.c: New files.
86
18080350
DJ
872003-06-29 Daniel Jacobowitz <drow@mvista.com>
88
89 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
90 * gdb.base/volatile.exp: Likewise.
91
f56973f8
DJ
922003-06-29 Daniel Jacobowitz <drow@mvista.com>
93
94 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
95 gdb/1265.
96
972003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
98 Daniel Jacobowitz <drow@mvista.com>
99
100 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
101 initial line count of 'captured_main' from 26 to 32.
102 (test_with_self): Allow xmalloc call to be interleaved with the
103 preceding two lines.
104
e766d4d6
JB
1052003-06-24 Joel Brobecker <brobecker@gnat.com>
106
107 * gdb.base/bang.exp: New testcase.
108
f125c9a4
JB
1092003-06-23 Joel Brobecker <brobecker@gnat.com>
110
111 * gdb.base/langs.exp: Add some tests for the "minimal" language
112 support.
113
6e25beaf
EZ
1142003-06-23 Elena Zannoni <ezannoni@redhat.com>
115
116 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
117 the testcase.
118
2f816dda
DJ
1192003-06-22 Daniel Jacobowitz <drow@mvista.com>
120
121 * gdb.base/relocate.exp: Test add-symbol-file with a variable
122 offset.
123
db5a5748
DJ
1242003-06-22 Daniel Jacobowitz <drow@mvista.com>
125
126 * gdb.c++/pr-1210.cc: New file.
127 * gdb.c++/pr-1210.exp: New file.
128
1df0c130
DJ
1292003-06-21 Daniel Jacobowitz <drow@mvista.com>
130
131 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
132 000-exec-continue.
133
a92feac0
MK
1342003-06-15 Mark Kettenis <kettenis@gnu.org>
135
136 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
137 on *-*-*bsd* instead of *-*-freebsd*.
138
81a58f5b
AC
1392003-06-14 Andrew Cagney <cagney@redhat.com>
140
141 * gdb.base/store.exp: Test longest and doublest. Test all
142 parameters. Weaken return statement match.
143 * gdb.base/store.c: Add longest and doublest - aka long long and
144 long double functions. Put all parameters into local register
145 variables. Use negative values.
146
b257a0d3
AC
1472003-06-14 Andrew Cagney <cagney@redhat.com>
148
149 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
150 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
151 exit status.
152 * gdb.base/fileio.exp: Disable target when nointerrupts and
153 noinferiorio, instead of limiting it to remote. Use remote_exec
154 instead of system.
155
21c38304
JJ
1562003-06-12 Jeff Johnston <jjohnstn@redhat.com>
157
158 * gdb.base/float.exp: Add ia64 support.
159
1bcdb424
CV
1602003-06-12 Corinna Vinschen <vinschen@redhat.com>
161
162 * gdb.base/fileio.exp: Run only on remote targets.
163
6aeb981f
CV
1642003-06-10 Corinna Vinschen <vinschen@redhat.com>
165
166 * gdb.base/fileio.c: New file, testing File-I/O.
167 * gdb.base/fileio.exp: Ditto.
168
53df362e
RG
1692003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
170
171 * gdb.base/shreloc.exp: New file, check symbol values obtained from
172 shared objects after relocation at load time (gdb PR/1132).
173 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
174 as above, part of the shared object relocation test.
175
ffee1b46
MK
1762003-06-08 Mark Kettenis <kettenis@gnu.org>
177
b5ca3722
MK
178 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
179 fully filled history list.
180 * gdb.base/gdb_history: New file.
181
03ed860d
MK
182 * gdb.base/signals.exp: XFAIL "continue to func1" on
183 i*86-*-freebsd*.
184
ffee1b46
MK
185 * gdb.base/attach.exp: When trying to attach to a nonexistent
186 process, make it possible to specify the PID based on the target,
187 and do so for *-*-freebsd*.
188
d80dbb52
RH
1892003-06-02 Richard Henderson <rth@redhat.com>
190
191 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
192
6dd77b81
RH
1932003-06-02 Richard Henderson <rth@redhat.com>
194
195 * gdb.base/selftest.exp: Next over lim_at_start initialization.
196
f6347e16
RH
1972003-06-02 Richard Henderson <rth@redhat.com>
198
199 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
200
2c161407
DJ
2012003-06-01 Daniel Jacobowitz <drow@mvista.com>
202
203 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
204 of globalvar.
205
572eb746
MK
2062003-06-01 Mark Kettenis <kettenis@gnu.org>
207
208 * gdb.asm/asm-source.exp: Check for memory read errors in
209 disassembler test on *BSD too.
210
9e9617a5
RH
2112003-06-01 Richard Henderson <rth@redhat.com>
212
213 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
214 for .frame.
215 (gdbasm_call): Lose ldgp.
216 (gdbasm_startup): Add frame information.
217 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
218
7b34ad4e
MK
2192003-05-31 Mark Kettenis <kettenis@gnu.org>
220
221 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
222 i?86-*-*.
223
10059fdf
MK
2242003-05-30 Mark Kettenis <kettenis@gnu.org>
225
226 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
227 FreeBSD.
228
acf4b816
RH
2292003-05-29 Richard Henderson <rth@redhat.com>
230
231 * gdb.asm/alpha.inc: New file.
232 * gdb.asm/asm-source.exp: Use it.
233
e9ecd949
JB
2342003-05-29 Jim Blandy <jimb@redhat.com>
235
236 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
237 'core.PID'.
238
e3e5a4f3
JB
2392003-05-22 Jim Blandy <jimb@redhat.com>
240
241 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
242 backtrace.
243
72fe3d25
DC
2442003-05-20 David Carlton <carlton@math.stanford.edu>
245
246 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
247 this time.
248
58da2eb2
DC
2492003-05-19 David Carlton <carlton@bactrian.org>
250
251 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
252 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
253
1fcb5155
DC
2542003-05-19 David Carlton <carlton@bactrian.org>
255
256 * gdb.c++/namespace.exp: Add namespace scope and anonymous
257 namespace tests.
258 Bump copyright date.
259 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
260 (main): Call C::D::marker2.
261 * gdb.c++/namespace1.cc: New file.
262
85e85163
JJ
2632003-05-14 Jeff Johnston <jjohnstn@redhat.com>
264
265 Roland McGrath <roland@redhat.com>
266 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
267 there is no manager thread.
268
a25fbfec
JJ
2692003-05-08 Jeff Johnston <jjohnstn@redhat.com>
270
271 * gdb.threads/schedlock.exp: Remove assumption that all threads
272 will run in a particular small time slice. Also ensure we break
273 in one of the child threads rather than the main thread.
274
be375bae
JB
2752003-05-07 Jim Blandy <jimb@redhat.com>
276
09bf6082
JB
277 Add support for assembly source testing on the s390x.
278 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
279 architecture.
280 * gdb.asm/s390x.inc: New file.
281
be375bae
JB
282 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
283 succession of 'if' statements.
284
00905d52
AC
2852003-05-05 Andrew Cagney <cagney@redhat.com>
286
287 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
288
b1e29e33
AC
2892003-05-05 Andrew Cagney <cagney@redhat.com>
290
291 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
292 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
293
e33d66ec
EZ
2942003-05-02 Elena Zannoni <ezannoni@redhat.com>
295
296 * gdb.base/charset.exp: Update based on new behavior of set/show
297 charset commands.
298
2b6fd0d8
AC
2992003-05-01 Andrew Cagney <cagney@redhat.com>
300
301 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
302 variable do not give memory errors.
303
130cacce
AF
3042003-04-30 Adam Fedor <fedor@gnu.org>
305
306 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
307 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
308 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
309 gdb.objc/basicclass.m: : New files
310
311 * lib/gdb.exp (gdb_compile_objc): New procedure.
312
bea71854
DJ
3132003-04-27 Daniel Jacobowitz <drow@mvista.com>
314
315 * gdb.base/signals.exp: Make backtrace tests more specific.
316
0f20eeea
DC
3172003-04-23 David Carlton <carlton@bactrian.org>
318
319 * gdb.c++/maint.exp (test_first_component): Add tests for
320 'operator' in more locations.
321
c8c4d8dc
KB
3222003-04-16 Kevin Buettner <kevinb@redhat.com>
323
324 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
325
3fe60e3c
EZ
3262003-04-16 Elena Zannoni <ezannoni@redhat.com>
327
328 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
329 func marke' instead. Update test name.
330
9219021c
DC
3312003-04-15 David Carlton <carlton@math.stanford.edu>
332
333 * gdb.c++/maint.exp: New file.
334
5dd55bdd
EZ
3352003-04-14 Elena Zannoni <ezannoni@redhat.com>
336
337 * gdb.threads/schedlock.c: Change type of thread function argument
338 to long, to avoid warnings on 64-bit platforms.
339
00890572
EZ
3402003-04-14 Elena Zannoni <ezannoni@redhat.com>
341
342 * gdb.base/attach.exp: Add new message from ptrace in case of
343 attaching to nonexistent process.
344
93201743
JB
3452003-04-11 Jim Blandy <jimb@redhat.com>
346
347 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
348 gdb.c++/userdef.cc: Place comments on the lines to which the
349 marker function might return.
350 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
351 gdb.c++/userdef.exp: Look for those comments to check that we've
352 returned to the right place, instead of checking line numbers.
353
2a11c64d
EZ
3542003-04-11 Elena Zannoni <ezannoni@redhat.com>
355
356 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
357 match on sourcefile name, instead of directory name.
358
68ab8fc5
EZ
3592003-04-10 Elena Zannoni <ezannoni@redhat.com>
360
361 * gdb.base/completion.exp: Use string_to_regexp to match the
362 working directory name.
363
5624293a
JB
3642003-04-09 Jim Blandy <jimb@redhat.com>
365
366 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
367 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
368 after an inferior function call, report the failure, but allow the
369 test to continue.
370
f1f02ee4
SC
3712003-04-05 Stephane Carrez <stcarrez@nerim.fr>
372
373 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
374 with -DPROTOTYPES.
375
6eb79af0
SC
3762003-04-05 Stephane Carrez <stcarrez@nerim.fr>
377
378 * gdb.base/break.exp: Revert last patch.
379
8dfb4cf0
SC
3802003-04-04 Stephane Carrez <stcarrez@nerim.fr>
381
382 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
383 with -DPROTOTYPES.
384
ed4c619a
AC
3852003-04-02 Andrew Cagney <cagney@redhat.com>
386
387 * gdb.base/callfuncs.exp: Make "print add" messages unique.
388 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
389 matching directories by the name breakpoint.
390 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
391 Make "continue to marker1" consistent.
392 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
393 message consistent.
394 * lib/gdb.exp: Put "the program is no longer running", and "the
395 program exited" in parenthesis.
396 * lib/mi-support.exp: Ditto.
397
4e35d5f0
BR
3982003-04-02 Bob Rossi <bob_rossi@cox.net>
399
400 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
401
71900fe8
AC
4022003-03-29 Andrew Cagney <cagney@redhat.com>
403
404 * gdb.base/sizeof.c (main): Print the value of '\377'.
405 * gdb.base/sizeof.exp: Check the sign of '\377'.
406
c0655a16
MC
4072003-03-27 Michael Chastain <mec@shout.net>
408
409 * gdb.base/gdb1090.exp: New file.
410 * gdb.base/gdb1090.cc: New file.
411
5b2a3989
JB
4122003-03-27 J. Brobecker <brobecker@gnat.com>
413
414 * gdb.gdb/observer.exp: New regression test.
415
79876890
MC
4162003-03-27 Michael Chastain <mec@shout.net>
417
418 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
419 * gdb.base/ptype.exp: Likewise.
420
6eac95e3
CV
4212003-03-27 Corinna Vinschen <vinschen@redhat.com>
422
423 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
424
e8c71839
MC
4252003-03-26 Michael Chastain <mec@shout.net>
426
427 * gdb.base/ptype.exp: Actually use some typedef'd types.
428
71b10041
SC
4292003-03-21 Stephane Carrez <stcarrez@nerim.fr>
430
431 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
432 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
433
2512cf80
CV
4342003-03-20 Corinna Vinschen <vinschen@redhat.com>
435
436 * gdb.base/default.exp: Fix regular expression.
437
0d195a4f
CV
4382003-03-20 Corinna Vinschen <vinschen@redhat.com>
439
440 * gdb.base/args.exp: Fix regular expression.
441
8a2dbca8
CV
4422003-03-20 Corinna Vinschen <vinschen@redhat.com>
443
444 * gdb.base/help.exp: Allow Win32 child process.
445
bf028682
CV
4462003-03-20 Corinna Vinschen <vinschen@redhat.com>
447
448 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
449 when stepping out of main().
450
182dbe85
CV
4512003-03-20 Corinna Vinschen <vinschen@redhat.com>
452
453 * gdb.base/default.exp: Check for win32 specific message when calling
454 "run" without executable.
455
d67a6ba5
CV
4562003-03-20 Corinna Vinschen <vinschen@redhat.com>
457
458 * gdb.base/args.exp: Expect .exe in output.
459
a955b5bb
CV
4602003-03-20 Corinna Vinschen <vinschen@redhat.com>
461
462 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
463 Cygwin native.
464
bf6bad4b
AC
4652003-03-17 Andrew Cagney <cagney@redhat.com>
466
467 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
468 vector registes.
469 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
470 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
471
293e9a31
DC
4722003-03-17 David Carlton <carlton@math.stanford.edu>
473
474 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
475 test, for PR breakpoints/38.
476 Call test_watchpoint_and_breakpoint.
477 * gdb.base/watchpoint.c (func3): New function.
478 (main): Call func3.
479
5330f2db
DC
4802003-03-04 David Carlton <carlton@math.stanford.edu>
481
482 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
483 Garply<Garply<char> >:: garply".
484 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
485 with respect to PR c++/1111; note also PR c++/1113.
486 (test_template_breakpoints): KFAIL "constructor breakpoint" with
487 respect to PR c++/1062.
488 KFAIL "destructor breakpoint" with respect to PR c++/1112.
489
6ece72da
DC
4902003-03-03 David Carlton <carlton@math.stanford.edu>
491
492 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
493 with respect to PR c++/57.
494 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
495 c++/826.
496 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
497 respect to PR c++/57.
498
85ca1584
DC
4992003-03-03 David Carlton <carlton@math.stanford.edu>
500
501 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
502 respect to PR c++/33 into FAILs.
503
98e9c5b8
MC
5042003-03-03 Michael Chastain <mec@shout.net>
505
7bedbf27
MC
506 * configure.in: Update copyright years.
507
5082003-03-03 Michael Chastain <mec@shout.net>
509
510 * Makefile.in: Update copyright years.
98e9c5b8 511
f683e100
DC
5122003-02-28 David Carlton <carlton@math.stanford.edu>
513
514 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
515 print class instead of struct and/or superfluous protection
516 specifiers, as long as the resulting output is equivalent to the
517 source code.
518 Delete FIXME from end of messages on tests that don't need
519 fixing.
520
a9e0cf2c
DC
5212003-02-28 David Carlton <carlton@math.stanford.edu>
522
523 * gdb.c++/templates.exp (do_tests): Allow const in the two
524 Foo<volatile char *>::foo tests.
525
e8d359df
MS
5262003-02-27 Michael Snyder <msnyder@redhat.com>
527
528 * gdb.base/restore.c (main): Return zero, so exit code
529 will be consistant.
530
0b71dc91
DC
5312003-02-26 David Carlton <carlton@math.stanford.edu>
532
533 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
534 char *>::foo" test with respect to PR c++/33. Create a new test
535 which is identical to that one except that it doesn't put the
536 space between the "char" and the "*"; KFAIL it, too.
537
dd14ab43
DC
5382003-02-26 David Carlton <carlton@math.stanford.edu>
539
540 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
541 template types into either PASSes or KFAILs (corresponding to PR
542 c++/57). Tweak indentation. Update copyright.
543
1146c7f1
SC
5442003-02-23 Stephane Carrez <stcarrez@nerim.fr>
545
546 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
547
74641dfb
MC
5482003-02-13 Michael Chastain <mec@shout.net>
549
550 * gdb.base/exprs.exp: Remove i960 remnants.
551 * gdb.base/funcargs.exp: Likewise.
552 * gdb.base/list.exp: Likewise.
553 * gdb.base/ptype.exp: Likewise.
554
559cd2d0
DC
5552003-02-14 David Carlton <carlton@math.stanford.edu>
556
557 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
558 pEe->D::vg()" from XFAIL to KFAIL.
559
c4f90d87
JM
5602003-02-13 Jason Molenda (jmolenda@apple.com)
561
562 * gdb.base/maint.exp: Update maint print statistics regexp to include
563 new entries.
564
cbc4d97c
MC
5652003-02-13 Michael Chastain <mec@shout.net>
566
567 * gdb.c++/inherit.exp: Remove call to get_debug_format.
568
40f235b7
MC
5692003-02-12 Michael Chastain <mec@shout.net>
570
571 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
572 * gdb.c++/inherit.exp: Likewise.
573 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
574 * gdb.c++/templates.exp: Likewise.
575 * gdb.c++/virtfunc.exp: Likewise.
576
c56716b0
JM
5772003-02-06 Jason Molenda (jason-cl@molenda.com)
578
579 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
580 why the code is written that way.
581
070afcf8
MC
5822003-02-05 Michael Chastain <mec@shout.net>
583
584 * gdb.base/dump.exp: Add missing copyright line.
585
5d0331e5
JM
5862003-02-05 Jason Molenda (jason-cl@molenda.com)
587
f7ae6d3e 588 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
589 at the beginning so the breakpoint doesn't get set on the loop.
590
92851186
MC
5912003-02-05 Michael Chastain <mec@shout.net>
592
593 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
594 output for configurations with gcc 2.95.3.
595
cbf1e085
AC
5962003-02-05 Keith Seitz <keiths@redhat.com>
597 Andrew Cagney <ac131313@redhat.com>
598
599 * gdb.mi/mi-cli.exp: New file.
600
29518e1e
MC
6012003-02-04 Michael Chastain <mec@shout.net>
602
603 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
604 Call perror and then continue.
605
5af1d5f3
MC
6062003-02-03 Michael Chastain <mec@shout.net>
607
608 * gdb.c++/pr-1023.cc: New file.
609 * gdb.c++/pr-1023.exp: New file.
610
6b549786
JB
6112003-02-05 Jim Blandy <jimb@redhat.com>
612
613 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
614 it's local to foobar. Check for it there, and check that it's not
615 present in main.
616 * gdb.c++/local.cc (marker2): New function.
617 (foobar): Call marker1.
618 (main): Call marker2 instead of marker1.
619
67f16606
AC
6202003-02-04 Andrew Cagney <ac131313@redhat.com>
621
622 * gdb.disasm/mn10200.exp: Obsolete file.
623 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
624 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
625 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
626
1c5cb38e
DC
6272003-02-04 David Carlton <carlton@math.stanford.edu>
628
629 * gdb.c++/overload.exp: Test intToChar(1).
630 * gdb.c++/overload.cc (intToChar): New.
631 (main): Call intToChar.
632
d1fe6965
DC
6332003-02-03 David Carlton <carlton@math.stanford.edu>
634
635 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
636 'might_kfail' arg.
637 KFAIL some of the continue_to_bp_overloaded calls, according to
638 PR c++/1025.
639
9ba61c5d
MC
6402003-02-01 Michael Chastain <mec@shout.net>
641
642 * gdb.base/advance.c (marker1): New marker function.
643 * gdb.base/advance.exp: When the 'advance' command lands on the
644 return breakpoint, it can legitimately stop on either the
645 current line or the next line. Accommodate both outcomes.
646 * gdb.base/until.exp: Likewise.
647
e7494ffb
AC
6482003-02-02 Andrew Cagney <ac131313@redhat.com>
649
650 2002-11-10 Jason Molenda (jason-cl@molenda.com):
651 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
652 now a list, not a tuple.
653 * gdb.mi/mi-var-display.exp: Ditto.
654 * gdb.mi/gdb792.exp: Ditto.
655
075559bc
AC
6562003-02-01 Andrew Cagney <ac131313@redhat.com>
657
658 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
659 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
660 stack backtraces.
661 * gdb.mi/mi-syn-frame.c: Part of same.
662
2bd4c7b1
MK
6632003-02-01 Mark Kettenis <kettenis@gnu.org>
664
665 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
666 gdb.mi/mi1-pthreads.exp: Return instead of calling
667 gdb_suppress_entire_file.
668
eabd8992
MS
6692003-02-01 Mark Salter <msalter@redhat.com>
670
671 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
672
71469e2f
MS
6732003-01-31 Mark Salter <msalter@redhat.com>
674
675 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
676 Support empty arg.
677
38a94d44
MC
6782003-01-30 Michael Chastain <mec@shout.net>
679
680 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
681 This was a workaround for a UTF-8 bug in readline 4.3. The bug
682 has been fixed in gdb/readline on 2003-01-09.
683
19ea9e73
MS
6842003-01-29 Michael Snyder <msnyder@redhat.com>
685
e8d359df
MS
686 * gdb.base/maint.exp: Allow for leading underscore in symbol.
687 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
688 * gdb.base/args.exp: Skip if target does not support args passing.
689
2307bd6a
DJ
6902003-01-22 Daniel Jacobowitz <drow@mvista.com>
691
19ea9e73 692 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
693 gdb_test. Accept a list of expect arguments as the third
694 parameter.
695 (gdb_test): Use it.
696
f2dd3617
EZ
6972003-01-20 Elena Zannoni <ezannoni@redhat.com>
698
699 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
700 allow for different test tree configurations. Update some
701 tescases accordingly.
702 * gdb.arch/altivec-regs.exp: Ditto.
703 * gdb.asm/asm-source.exp: Ditto.
704 * gdb.base/advance.exp: Ditto.
705 * gdb.base/display.exp: Ditto.
706 * gdb.base/long_long.exp: Ditto.
707 * gdb.base/mips_pro.exp: Ditto.
708 * gdb.base/overlays.exp: Ditto.
709 * gdb.base/relocate.exp: Ditto.
710 * gdb.base/setshow.exp: Ditto.
711 * gdb.base/step-line.exp: Ditto.
712 * gdb.base/step-test.exp: Ditto.
713 * gdb.base/until.exp: Ditto.
714 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
715
c71cdefd
DC
7162003-01-17 David Carlton <carlton@math.stanford.edu>
717
718 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
719 corresponding to PR c++/945.
720 Update copyright.
721
fdba05d7
DC
7222003-01-17 David Carlton <carlton@math.stanford.edu>
723
724 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
725 corresponding to PR c++/68.
726
7272003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
728
729 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
730 (test_paddr_hairy_functions): Call print_addr_2_kfail for
731 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
732
c362c33a
EZ
7332003-01-15 Elena Zannoni <ezannoni@redhat.com>
734
0fbc361c
EZ
735 * gdb.base/break.exp: Fix change of default location, because of
736 removal of until tests.
737 * gdb.base/help.exp: Update test for new 'until' help message.
738 Add test for help on 'advance'.
c362c33a
EZ
739 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
740
dabf8a35
MK
7412003-01-15 Mark Kettenis <kettenis@gnu.org>
742
743 * gdb.base/default.exp: Adapt "info float" test for recent changes
744 to that command. Add test for "info vector".
745 * gdb.base/float.exp: New file. Add test for "info float" that
746 resembles the old test in gdb.base/default.exp.
747
a1769aca
DC
7482003-01-15 David Carlton <carlton@math.stanford.edu>
749
750 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
751
82025e13
EZ
7522003-01-15 Elena Zannoni <ezannoni@redhat.com>
753
754 * gdb.base/break.exp: Move the tests of until command from here...
755 * gdb.base/until.exp: ... to here. New file. Add other tests.
756 * gdb.base/advance.c: New file.
757 * gdb.base/advance.exp: New file.
758
8f9ab801
EZ
7592003-01-14 Elena Zannoni <ezannoni@redhat.com>
760
761 * gdb.base/args.c: New file.
762 * gdb.base/args.exp: New file.
763
9ae66589
DJ
7642003-01-14 Daniel Jacobowitz <drow@mvista.com>
765
766 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
767
8d77e5c3
DJ
7682003-01-14 Daniel Jacobowitz <drow@mvista.com>
769
770 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
771
12d2f0a1
DJ
7722003-01-14 Daniel Jacobowitz <drow@mvista.com>
773
774 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
775 dates.
776
6ca37014
DJ
7772003-01-13 Daniel Jacobowitz <drow@mvista.com>
778
779 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
780
b0023472
DJ
7812003-01-13 Daniel Jacobowitz <drow@mvista.com>
782
783 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
784 (ptype &*"foo").
785 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
786
d6abaea5
DJ
7872002-01-13 Daniel Jacobowitz <drow@mvista.com>
788
789 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
790 * gdb.mi/mi1-console.exp: Likewise.
791
dfd536a7
DJ
7922002-01-13 Daniel Jacobowitz <drow@mvista.com>
793
794 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
795 * gdb.mi/mi1-console.exp: Likewise.
796
a1fb14a2
DJ
7972003-01-13 Daniel Jacobowitz <drow@mvista.com>
798
799 * gdb.c++/overload.exp: Remove some fixed XFAILs.
800
c4cf40b7
DJ
8012003-01-09 Daniel Jacobowitz <drow@mvista.com>
802
803 * gdb.base/detach.exp: New test.
804
696d5a5b
DJ
8052003-01-09 Daniel Jacobowitz <drow@mvista.com>
806
807 * Makefile.in (ALL_SUBDIRS): New variable.
808 (subdirs, clean, distclean): Use it.
809 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
810 regenerating Makefile, since it is generated from the top level.
811 * gdb.asm/Makefile.in: Likewise.
812 * gdb.base/Makefile.in: Likewise.
813 * gdb.c++/Makefile.in: Likewise.
814 * gdb.disasm/Makefile.in: Likewise.
815 * gdb.java/Makefile.in: Likewise.
816 * gdb.mi/Makefile.in: Likewise.
817 * gdb.threads/Makefile.in: Likewise.
818 * gdb.trace/Makefile.in: Likewise.
819
754533e4
DC
8202003-01-09 David Carlton <carlton@math.stanford.edu>
821
822 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
823 Add copyright year 2003.
824
d8b3e9ee
MC
8252003-01-06 Michael Chastain <mec@shout.net>
826
827 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
828 When selecting a thread, 'line' and 'file' are optional.
829 * gdb.mi/mi1-pthreads.exp: Likewise.
830
8e9e0fe6
AS
8312003-01-06 Andreas Schwab <schwab@suse.de>
832
833 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
834 failures.
835
b5ab8ff3
DJ
8362003-01-04 Daniel Jacobowitz <drow@mvista.com>
837
838 Fix PR gdb/844
839 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
840 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
841
842 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
843 instead of calling gdb_suppress_entire_file.
844 * gdb.threads/print-threads.exp: Likewise.
845 * gdb.threads/schedlock.exp: Likewise.
846
847 * gdb.threads/killed.exp: Return instead of calling
848 gdb_suppress_entire_file.
849 * gdb.threads/linux-dp.exp: Likewise.
850 * gdb.threads/pthreads.exp: Likewise.
851
1e698235
DJ
8522003-01-04 Daniel Jacobowitz <drow@mvista.com>
853
854 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
855 stabs.
856 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
857 * gdb.base/whatis.exp: Always allow (void) after function names.
858
147ff08c
DJ
8592003-01-04 Daniel Jacobowitz <drow@mvista.com>
860
861 * gdb.c++/casts.exp: Correct regexp.
862
dc62bfc2
MK
8632003-01-04 Mark Kettenis <kettenis@gnu.org>
864
865 * configure.in: Call AC_CONFIG_HEADER. Don't call
866 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
867 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
868 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
869 aforementioned directories in the AC_OUPUT call.
870 * config.hin: New file.
871 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
872 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
873 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
874 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
875 pass -I$objdir instead of -I$objdir/$subdir in compilation.
876 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
877 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
878 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
879 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
880 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
881 gdb.threads/configure.in, gdb.threads/configure,
882 gdb.threads/config.in, gdb.trace/configure.in,
883 gdb.trace/configure: Removed.
884
77afa639
MC
8852003-01-03 Michael Chastain <mec@shout.net>
886
887 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
888 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
889
7634bb6e
DJ
8902003-01-03 Daniel Jacobowitz <drow@mvista.com>
891
892 * gdb.base/store.exp: Fix regular expressions.
893
b39c905e
MK
8942002-12-28 Mark Kettenis <kettenis@gnu.org>
895
896 * configure.in: Rewrite.
897 * configure: Regenerated.
898
0a8551dd
DC
8992003-01-03 David Carlton <carlton@math.stanford.edu>
900
901 * gdb.base/psymtab.exp: New file.
902 * gdb.base/psymtab1.c: Ditto.
903 * gdb.base/psymtab2.c: Ditto.
904
c60b7188
AF
9052002-12-23 Adam Fedor <fedor@gnu.org>
906
907 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
908
ee73db83
DC
9092002-12-23 David Carlton <carlton@math.stanford.edu>
910
911 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
912 and current_directory initialization.
913
d6c1774e
JB
9142002-12-22 Jim Blandy <jimb@redhat.com>
915
f0a847b8
JB
916 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
917 rather than as part of the output file name.
918
d6c1774e
JB
919 * gdb.base/attach.exp: There's no need to copy the test program to
920 /tmp; that was only ever necessary on HP/UX, and this test is
921 entirely disabled there anyway.
922
f0708dbb
JB
9232002-12-21 Jim Blandy <jimb@redhat.com>
924
4c2acfea
JB
925 * gdb.c++/psmang.exp: Doc fix.
926
f0708dbb
JB
927 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
928 test.
929
9579e000
DC
9302002-12-20 David Carlton <carlton@math.stanford.edu>
931
932 * gdb.c++/annota2.exp: KFAIL annotate-quit.
933
d1810171
MC
9342002-12-18 Michael Chastain <mec@shout.net>
935
936 * gdb.c++/annota2.exp: Add copyright year 2002.
937
76565097
DC
9382002-12-17 David Carlton <carlton@math.stanford.edu>
939
940 * gdb.c++/try_catch.cc: Add marker comments.
941 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
942 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
943 * gdb.c++/m-static.cc: Ditto.
944 * gdb.c++/m-static1.cc: Ditto.
945 * gdb.c++/try_catch.cc: Ditto.
946
da81390b
JJ
9472002-12-16 Jeff Johnston <jjohnstn@redhat.com>
948
949 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
950 to see whether we are using the new -environment-directory
951 command which resets via -r or the old version of the command
952 which may prompt the user. Part of fix for gdb/741.
953
b304d130
AC
9542002-12-13 Andrew Cagney <ac131313@redhat.com>
955
956 * gdb.fortran/types.exp: Update obsolete comment.
957 * gdb.fortran/exprs.exp: Ditto.
958 * lib/gdb.exp: Delete obsolete code.
959 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
960 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
961 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
962 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
963 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
964 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
965 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
966 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
967 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
968 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
969 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
970 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
971 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
972 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
973 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
974 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
975 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
976 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
977 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
978 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
979 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
980 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
981 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
982 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
983 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
984 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
985 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
986 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
987 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
988 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
989 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
990 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
991 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
992 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
993 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
994 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
995 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
996
a23b6e6a
DC
9972002-12-11 David Carlton <carlton@math.stanford.edu>
998
999 * gdb.c++/m-data.exp: Add test for members that shadow global
1000 variables: see PR gdb/804.
1001 * gdb.c++/m-data.cc: Ditto.
1002
6604731b
DJ
10032002-12-10 Daniel Jacobowitz <drow@mvista.com>
1004
1005 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1006
de46ecd7
DC
10072002-12-06 David Carlton <carlton@math.stanford.edu>
1008
1009 * gdb.base/store.c: Don't declare functions static.
1010
27e829d0
AC
10112002-12-04 Andrew Cagney <ac131313@redhat.com>
1012
1013 * gdb.base/store.exp, gdb.base/store.c: New files.
1014
92806416
DJ
10152002-12-03 Daniel Jacobowitz <drow@mvista.com>
1016
1017 * gdb.base/selftest.exp: Update for current gdb.
1018
3bcbaac5
DJ
10192002-12-03 Daniel Jacobowitz <drow@mvista.com>
1020
1021 * gdb.base/maint.exp: Only dump symbols from one source file
1022 or objfile.
1023
f4f00b1f
DJ
10242002-12-03 Daniel Jacobowitz <drow@mvista.com>
1025
1026 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1027 function call.
1028
f1c8a949
JB
10292002-11-25 Jim Blandy <jimb@redhat.com>
1030
1031 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1032 function appearing in error message.
1033
9e297a97
DJ
10342002-11-21 Daniel Jacobowitz <drow@mvista.com>
1035
1036 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1037
1f312e79
JJ
10382002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1039
1040 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1041 for mi1 and current mi is in correct format. New mi startup message
1042 should be in mi console format. This is part of fix for PR gdb/604.
1043
83c31e7d
FN
10442002-09-18 Fernando Nasser <fnasser@redhat.com>
1045
1046 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1047 which explicitly prints the zero offset as "+0".
1048
322b3f65
DJ
10492002-10-22 Daniel Jacobowitz <drow@mvista.com>
1050
1051 * gdb.threads/schedlock.c (args): Make unsigned.
1052
10532002-10-21 Daniel Jacobowitz <drow@mvista.com>
1054
1055 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1056 numbers. Allow "foo2|selected stack frame".
1057 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1058 * gdb.asm/asmsrc2.s: Likewise.
1059 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1060 comments.
1061 * gdb.asm/mips.inc: New file.
1062
5e2fe5b8
AF
10632002-10-18 Adam Fedor <fedor@gnu.org>
1064
1065 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1066 * gdb.base/help.exp: Likewise.
1067
abe1a5d0
KB
10682002-10-17 Kevin Buettner <kevinb@redhat.com>
1069
1070 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1071 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1072
10abb1d4
JB
10732002-10-02 Jim Blandy <jimb@redhat.com>
1074
1075 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1076
1f609b42
AC
10772002-10-01 Andrew Cagney <ac131313@redhat.com>
1078
1079 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1080 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1081 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1082 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1083 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1084 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1085 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1086
0aee02e4
AC
10872002-09-29 Andrew Cagney <ac131313@redhat.com>
1088
1089 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1090 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1091 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1092 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1093 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1094 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1095 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1096
6fde09ad
KB
10972002-09-27 Kevin Buettner <kevinb@redhat.com>
1098
1099 * gdb.base/annota1.exp (info break): Make directory components of
1100 path optional since not all compilers emit this debug information.
1101
1102 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1103 step ends up stepping out of the function instead of stopping on
1104 the epilogue.
1105
9e8aab75
KS
11062002-09-26 Keith Seitz <keiths@redhat.com>
1107
1108 * lib/insight-support.exp (gdbtk_start): Figure out where
1109 the insight executable is based on where gdb is. Use this
1110 executable to start insight instead of gdb.
1111
e36180d7
AC
11122002-09-25 Andrew Cagney <cagney@redhat.com>
1113
1114 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1115
9dd34b2b
AC
11162002-09-24 Andrew Cagney <ac131313@redhat.com>
1117
1118 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1119 test_isolated_complaints.
1120 (test_empty_complaint): New function.
1121 (test_empty_complaints): New function. Check no output when no
1122 complaints.
1123
dea97812
KB
11242002-09-19 Jim Blandy <jimb@redhat.com>
1125
1126 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1127
54951bd7
AC
11282002-09-19 Andrew Cagney <ac131313@redhat.com>
1129
1130 * gdb.gdb/complaints.exp: New file.
1131
dec43320
AC
11322002-09-18 Andrew Cagney <ac131313@redhat.com>
1133
1134 * gdb.base/maint.exp: Check `help maint internal-warning'.
1135
e70d6e3f
DC
11362002-09-18 David Carlton <carlton@math.stanford.edu>
1137
1138 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1139 numbers, and replace them by a single breakpoint after the
1140 constructors are all finished.
1141 Add test 4.
1142 * gdb.c++/m-static.cc: Add test 4.
1143 * gdb.c++/m-static.h: New file.
1144 * gdb.c++/m-static1.cc: New file.
1145
1146 * gdb.c++/printmethod.exp: New file.
1147 * gdb.c++/printmethod.cc: New file.
1148
1149 * gdb.c++/pr-574.exp: New file.
1150 * gdb.c++/pr-574.cc: New file.
1151
afb5c968
CV
11522002-09-18 Corinna Vinschen <vinschen@redhat.com>
1153
1154 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1155 embedded targets which never actually exit.
1156
31e45dee
FN
11572002-09-18 Fernando Nasser <fnasser@redhat.com>
1158
1159 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1160 "don't step after run" as unresolved or unsupported, instead of xfail.
1161
a283c5a1
CV
11622002-09-18 Corinna Vinschen <vinschen@redhat.com>
1163
1164 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1165 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1166 Add newline to expected string in "step out of main (status wrapper)"
1167 case.
1168
11350d2a
CV
11692002-09-18 Corinna Vinschen <vinschen@redhat.com>
1170
1171 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1172 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1173
0deec7d6
TT
11742002-09-17 Tom Tromey <tromey@redhat.com>
1175
1176 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1177 \000, not \0, in double-quoted string.
1178
b2b4a1b5
CV
11792002-09-14 Corinna Vinschen <vinschen@redhat.com>
1180
1181 * gdb.base/command.exp: Don't expect a "Program exited normally"
1182 string after running the commands execution on breakpoint tests.
1183
1c56143a
CV
11842002-09-13 Corinna Vinschen <vinschen@redhat.com>
1185
1186 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1187
37f8da45
JB
11882002-09-12 Joel Brobecker <brobecker@gnat.com>
1189
1190 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1191
08b468e0
KS
11922002-09-10 Keith Seitz <keiths@redhat.com>
1193
1194 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1195 runto proc.
1196 (mi_run_to_main): Use mi_runto.
1197 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1198
dc360f58
KS
11992002-09-10 Keith Seitz <keiths@redhat.com>
1200
1201 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1202 regexp for stopping at main. Could have multiple event notifications.
1203 Don't assume that main was declared with no parameters.
1204 (mi_next): Use mi_step_to.
1205 (mi_step): Use mi_next_to.
1206
ce3abcfb
CV
12072002-09-09 Corinna Vinschen <vinschen@redhat.com>
1208
1209 * gdb.base/default.exp: Fix expected string in `info float' test.
1210
d1f5b980
BE
12112002-09-09 Ben Elliston <bje@redhat.com>
1212
1213 * config/mips.exp: Update comments.
1214 * config/mips-idt.exp: Likewise.
1215 * config/nind.exp: Likewise.
1216 * config/slite.exp: Likewise.
1217 * config/sparclet.exp: Likewise.
1218 * config/udi.exp: Likewise.
1219 * config/vx.exp: Likewise.
1220 * config/vxworks29k.exp: Likewise.
1221
2f71430b
JB
12222002-09-05 Jim Blandy <jimb@redhat.com>
1223
1224 * gdb.threads/killed.exp: Fix test failure message.
1225
7ddebc7e
KS
12262002-09-04 Keith Seitz <keiths@redhat.com>
1227
1228 * lib/mi-support.exp: Update copyright.
1229 (mi_gdb_test): Increase the priority of the expected pattern
1230 so that it matches gdb_test.
1231
0ae67eb3
KS
12322002-09-03 Keith Seitz <keiths@redhat.com>
1233
1234 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1235 Use integer comparison instead of string comparison for testing
1236 whether binary was built.
1237
38fc42c8
JB
12382002-09-03 Jim Blandy <jimb@redhat.com>
1239
1240 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1241
b6ff0e81
JB
12422002-08-29 Jim Blandy <jimb@redhat.com>
1243
1244 * gdb.threads/pthreads.exp: Move the portable thread compilation
1245 code into a function in lib/gdb.exp, and call that from here.
1246 * lib/gdb.exp (gdb_compile_pthreads): New function.
1247
07c98896
KS
12482002-08-29 Keith Seitz <keiths@redhat.com>
1249
1250 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1251 expect_out so that callers can get at it.
1252
0312286c
DJ
12532002-08-23 Daniel Jacobowitz <drow@mvista.com>
1254
1255 * gdb.threads/print-threads.c: New file.
1256 * gdb.threads/print-threads.exp: New file.
1257 * gdb.threads/schedlock.c: New file.
1258 * gdb.threads/schedlock.exp: New file.
1259
dd039bc4
EZ
12602002-08-22 Elena Zannoni <ezannoni@redhat.com>
1261
1262 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1263 not altivec.c.
1264
1f36144c
MK
12652002-08-17 Mark Kettenis <kettenis@gnu.org>
1266
1267 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1268 targets. The problem should be fixed now.
1269
16057ec7 12702002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1271
1272 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1273 2002-07-24 change that removes final dots from error messages.
1274
3c1499ad
TT
12752002-08-13 Tom Tromey <tromey@redhat.com>
1276
1277 * gdb.base/readline.exp: New file.
1278
a20ce2c3
AC
12792002-08-01 Andrew Cagney <ac131313@redhat.com>
1280
1281 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1282 supress message.
1283
db034ac5
AC
12842002-08-01 Andrew Cagney <cagney@redhat.com>
1285
1286 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1287 CHILL_FOR_TARGET and CHILL_LIB.
1288 * configure.in (configdirs): Remove gdb.chill.
1289 * configure: Regenerate.
1290 * lib/gdb.exp: Obsolete references to chill.
1291 * gdb.fortran/types.exp: Ditto.
1292 * gdb.fortran/exprs.exp: Ditto.
1293
3e000b18
KB
12942002-07-30 Kevin Buettner <kevinb@redhat.com>
1295
1296 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1297 set Irix-specific compile and link flags.
1298
28f4966b
KB
12992002-07-29 Kevin Buettner <kevinb@redhat.com>
1300
1301 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1302 source files. The ``-o'' option doesn't work with the ``-E'' option
1303 when using the Irix compiler.
1304
46c0d5a6
DJ
13052002-07-19 Daniel Jacobowitz <drow@mvista.com>
1306
1307 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1308 Improve support for reusing an exec file. Copy exec file
1309 to target, and run gdbserver on the target instead of on the host.
1310
eecf4bed
JB
13112002-07-18 Jim Blandy <jimb@redhat.com>
1312
0f815cdf
JB
1313 * gdb.base/ending-run.exp: Don't expect to see the program end in
1314 some orderly fashion when we're running on a real stand-alone
1315 board.
1316
eecf4bed
JB
1317 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1318 targets that don't support interrupts.
1319
52d309e4
JB
13202002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1321
1322 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1323 systems.
1324 Move comments in expect statements to inside the actions, so that they
1325 don't get matched against.
1326
ff683d9e
MK
13272002-07-10 Mark Kettenis <kettenis@gnu.org>
1328
1329 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1330 function when asleep" test.
1331
b5356753
AC
13322002-07-10 Andrew Cagney <ac131313@redhat.com>
1333
1334 * gdb.base/page.exp: Rewrite to handle problems with very long
1335 `info set' output. Update copyright.
1336
6aa4d13a
AC
13372002-06-26 Andrew Cagney <ac131313@redhat.com>
1338
1339 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1340 gdb.threads-hp.
1341 * gdb.hp/configure: Regenerate.
1342 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1343 * gdb.hp/gdb.threads-hp/configure: Delete file.
1344 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1345
8cf8c2b8
AC
13462002-06-22 Andrew Cagney <ac131313@redhat.com>
1347
1348 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1349 setlocale, bindtextdomain and textdomain.
1350
6827a8f8
JB
13512002-06-11 Jim Blandy <jimb@redhat.com>
1352
919d772c
JB
1353 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1354 preprocessor macro information is present.
1355
6827a8f8
JB
1356 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1357 tests.
1358
c15b0d21
MS
13592002-06-06 Michael Snyder <msnyder@redhat.com>
1360
c5984d70
MS
1361 * gdb.base/overlays.exp: Record addresses of overlay
1362 functions in TCL variables rather than in GDB variables,
1363 to avoid having GDB convert them to pointers (with loss
1364 of information).
1365
99a8512b
MS
1366 * gdb.base/d10v.ld: Merge in several years worth of
1367 default linker script changes.
c15b0d21
MS
1368 * gdb.base/long_long.exp: Add check for sizeof (long double).
1369
be26fe0d
ML
13702002-06-06 Michal Ludvig <mludvig@suse.cz>
1371
1372 * gdb.asm/asm-source.exp: Add x86-64 target.
1373 * gdb.asm/x86_64.inc: New.
1374
258093ca 13752002-05-30 Michael Chastain <mec@shout.net>
258093ca 1376
4b3153f1 1377 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1378 * gdb.c++/m-static.cc: New file.
1379 * gdb.c++/m-static.exp: New file.
1380
241264c6
MS
13812002-05-28 Michael Snyder <msnyder@redhat.com>
1382
1383 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1384 precision.
1385
9bba8c8f 13862002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1387
4b3153f1 1388 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1389 * gdb.c++/m-data.cc: New file.
1390 * gdb.c++/m-data.exp: New file.
1391
13922002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1393
4b3153f1 1394 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1395 * gdb.c++/try_catch.cc: New file.
1396 * gdb.c++/try_catch.exp: New file.
1397
def1b996
MC
13982002-05-27 Michael Chastain <mec@shout.net>
1399
1400 * gdb.c++/local.exp: Accept more nested types in output.
1401
522ba268
MC
14022002-05-26 Michael Chastain <mec@shout.net>
1403
1404 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1405
277254ba
MS
14062002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1407
1408 * lib/gdb.exp (gdb_wrapper_init): Just because
1409 gdb_wrapper_file exists, this does not mean that the file
1410 should not be rebuilt. That is what gdb_wrapper_initialized
1411 is for.
1412 (default_gdb_init): Reset gdb_wrapper_initialized.
1413
b61a8733
MS
14142002-05-23 Michael Snyder <msnyder@redhat.com>
1415
5bdb6d01
MS
1416 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1417 the precision of the floating point test results.
1418 * gdb.base/call-rt-st.exp: Ditto.
1419
b61a8733
MS
1420 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1421 * gdb.base/call-rt-st.exp: Ditto.
1422
56f6e910
MC
14232002-05-19 Michael Chastain <mec@shout.net>
1424
1425 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1426
ad0b0016
EZ
14272002-05-19 Elena Zannoni <ezannoni@redhat.com>
1428
1429 * configure.in (configdirs): Add gdb.arch.
1430 * configure: Regenerate.
1431
f617d2b6
JB
14322002-05-17 Jim Blandy <jimb@redhat.com>
1433
1434 * gdb.base/completion.exp: Recognize the more detailed error
1435 messages produced by the macro expander's lexical analyzer.
1436
eac2a696
EZ
14372002-05-14 Elena Zannoni <ezannoni@redhat.com>
1438
1439 * gdb.arch/altivec-abi.c: New file.
1440 * gdb.arch/altivec-abi.exp: New file.
1441 * gdb.arch/altivec-regs.c: New file.
1442 * gdb.arch/altivec-regs.exp: New file.
1443
2fdde8f8
DJ
14442002-05-14 Daniel Jacobowitz <drow@mvista.com>
1445
1446 * gdb.base/maint.exp (maint print type): Update for new type
1447 structure.
eac2a696 1448
e31f1a7c
EZ
14492002-05-14 Elena Zannoni <ezannoni@redhat.com>
1450
1451 * gdb.arch: New directory.
1452 * gdb.arch/configure.in: New file.
1453 * gdb.arch/configure: New file.
1454 * gdb.arch/Makefile.in: New file.
1455
db589741
CV
14562002-05-13 Corinna Vinschen <vinschen@redhat.com>
1457
1458 * gdb.asm/asm-source.exp: Add v850 as supported target.
1459 * gdb.asm/v850.inc: New file.
1460
8ce2a7dc
DJ
14612002-05-13 Daniel Jacobowitz <drow@mvista.com>
1462
1463 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1464
df763c7f
DJ
14652002-05-12 Daniel Jacobowitz <drow@mvista.com>
1466
1467 * gdb.base/break.exp: Check 'break "marker2"'.
1468
377daeed
MS
14692002-05-10 Michael Snyder <msnyder@redhat.com>
1470
1471 * gdb.base/long_long.exp: Fix typo.
1472
c4b7bc2b
JB
14732002-05-10 Jim Blandy <jimb@redhat.com>
1474
ecac9a4e
JB
1475 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1476 a bug.
1477
c4b7bc2b
JB
1478 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1479 Recognize more detailed error message produced by the macro
1480 expander's lexical analyzer.
1481 * lib/gdb.exp (test_print_reject): Same.
1482
e71019a1
MK
14832002-05-09 Mark Kettenis <kettenis@gnu.org>
1484
1485 * gdb.c++/method.exp: Fix typo.
1486
fedfc8e6
MS
14872002-05-08 Michael Snyder <msnyder@redhat.com>
1488
166a1957
MS
1489 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1490 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1491 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1492 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1493 Add iftarget clause for strongarm.
1494
f1c47eb2
MS
14952002-05-06 Michael Snyder <msnyder@redhat.com>
1496
cb9a9d3e
MS
1497 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1498 (gdb_continue_to_end): Accept output from status wrapper.
1499 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1500 Clean up fail messages to match pass messages.
1501
f1c47eb2
MS
1502 Enable the "needs_status_wrapper" testsuite feature.
1503 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1504 (gdb_compile): Conditionally call gdb_wrapper_init.
1505 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1506 * gdb.c++/method.exp: Recognize output from status wrapper.
1507
6079c749
BE
15082002-05-06 Ben Elliston <bje@redhat.com>
1509From Graydon Hoare <graydon@redhat.com>
1510
1511 * config/sid.exp: Include support for "rawsid" protocol.
1512
188baff3
JB
15132002-05-03 Jim Blandy <jimb@redhat.com>
1514
1515 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1516 * gdb.c++/hang3.C: New file.
1517
b9c07f0f
AC
15182002-05-04 Andrew Cagney <ac131313@redhat.com>
1519
1520 * gdb.base/default.exp: Remove obsolete code.
1521 * gdb.c++/misc.exp: Ditto. Update copyright.
1522 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1523 * gdb.base/whatis.exp: Ditto. Update copyright.
1524 * gdb.base/scope.exp: Ditto. Update copyright.
1525 * gdb.base/ptype.exp: Ditto. Update copyright.
1526 * gdb.base/printcmds.exp: Ditto. Update copyright.
1527 * gdb.base/opaque.exp: Ditto. Update copyright.
1528 * gdb.base/list.exp: Ditto.
1529 * gdb.base/funcargs.exp: Ditto. Update copyright.
1530 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1531 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1532 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1533 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1534 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1535 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1536
5c7a0397
MS
15372002-05-02 Michael Snyder <msnyder@redhat.com>
1538
d6dcc264 1539 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1540 * gdb.base/long_long.exp: Add xscale target.
1541 * gdb.base/default.exp: Add xscale target.
1542
eb7f1c48
JB
15432002-05-01 Jim Blandy <jimb@redhat.com>
1544
1545 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1546 gdb.c++/hang.exp: New test.
1547
a6befae8
FF
15482002-05-01 Fred Fish <fnf@redhat.com>
1549
1550 * gdb.base/completion.exp: Handle completions of "./Make" for
1551 more than one completion possibility, as is the case when we
1552 build and test in the source tree.
1553
0a310277
AG
15542002-04-29 Anthony Green <green@redhat.com>
1555
1556 * gdb.java/jmisc1.exp: New file.
1557 * gdb.java/jmisc2.exp: New file.
1558
6ff9af88
DJ
15592002-04-24 Daniel Jacobowitz <drow@mvista.com>
1560
1561 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1562
96b3d632
EZ
15632002-04-23 Elena Zannoni <ezannoni@redhat.com>
1564
1565 * gdb.base/help.exp: Change 'help status' to allow for target
1566 dependent output differences.
1567
5019bb54
MC
15682002-04-22 Michael Chastain <mec@shout.net>
1569
1570 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1571
a805a116
MC
15722002-04-22 Michael Chastain <mec@shout.net>
1573
1574 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1575
a1706bfd
DM
15762002-04-17 David S. Miller <davem@redhat.com>
1577
1578 * gdb.asm/sparc64.inc: New file.
1579 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1580
a73a20a2
EZ
15812002-04-19 Elena Zannoni <ezannoni@redhat.com>
1582
1583 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1584 instruction file directly into the build tree. Clean up at end of
1585 test.
1586
ba678339
DM
15872002-04-18 David S. Miller <davem@redhat.com>
1588
1589 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1590 handle 64-bit platforms correctly.
1591 * gdb.base/maint.exp: Likewise.
1592
b03399da
KB
15932002-04-18 Kevin Buettner <kevinb@redhat.com>
1594
1595 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1596 ``-fpic'' when compiling files comprising a shared library, but
1597 it does need additional linker flags in order to find shared
1598 libraries at run time.
1599
e2004992
KB
16002002-04-18 Kevin Buettner <kevinb@redhat.com>
1601
1602 * gdb.base/cvexpr.c (use): New function.
1603 (main): Invoke use() on all global variables to prevent
1604 some linkers from deleting these otherwise unused symbols.
1605
d8937120
MC
16062002-04-17 Michael Chastain <mec@shout.net>
1607From David S. Miller <davem@redhat.com>
1608
1609 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1610 handle 64-bit platforms correctly.
1611
ffd61a58
MS
16122002-04-12 Michael Snyder <msnyder@redhat.com>
1613From Jim Blandy <jimb@redhat.com>
1614 * gdb.base/foo.c (foox): Remove section attribute; the linker
1615 script can handle this instead.
1616 * gdb.base/bar.c (barx): Same.
1617 * gdb.base/baz.c (bazx): Same.
1618 * gdb.base/grbx.c (grbxx): Same.
1619
1620 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1621 manager doesn't automatically unmap overlays unnecessarily.
1622
6b8426a6
MH
16232002-04-10 Martin M. Hunt <hunt@redhat.com>
1624
1625 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1626 stepping out of main.
1627
34af4875
MC
16282002-04-09 Michael Chastain <mec@shout.net>
1629
1630 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1631 scope so that the nested scope tests will make sense.
1632 * gdb.c++/local.exp: Write patterns that actually work with gcc
1633 (the HP patterns "were never known to work with gcc").
1634 Keep the old aCC patterns too.
1635
2d1676a0
DJ
16362002-04-09 Daniel Jacobowitz <drow@mvista.com>
1637
1638 * gdb.base/attach.exp: Correct target board test.
1639
3a63e3f9
MC
16402002-04-08 Michael Chastain <mec@shout.net>
1641
1642 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1643 in a const method. Add some xfail and fail cases for configurations
1644 that do not emit the "const ...".
1645
f18dabd2
MC
16462002-04-07 Michael Chastain <mec@shout.net>
1647
1648 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1649 Accept "A * const" and "const A * const" as type of "this".
1650 Fix spelling of getFunky throughout. Make messages uniform.
1651
0fcddd82
EZ
16522002-04-07 Elena Zannoni <ezannoni@redhat.com>
1653
1654 Work around for PR gdb/285:
1655 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1656
16a8534a
EZ
16572002-04-07 Elena Zannoni <ezannoni@redhat.com>
1658
1659 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1660 instructions file at run time instead of configure time.
1661 Sometimes we run the test in a directory that is not the one we
1662 configured in.
1663 * gdb.asm/configure.in: Delete creation of symlink.
1664 * gdb.asm/configure: Regenerate.
1665
24181d81
JB
16662002-04-05 J. Brobecker <brobecker@gnat.com>
1667
1668 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1669 xfullpath () function.
1670
7cdb7107
DJ
16712002-04-04 Daniel Jacobowitz <drow@mvista.com>
1672
1673 * gdb.asm/Makefile.in: Correct dependencies.
1674
1675 * gdb.asm/powerpc.inc: New file.
1676 * gdb.asm/asm-source.exp: Add PowerPC.
1677 * gdb.asm/configure.in: Likewise.
1678 * gdb.asm/configure: Regenerated.
1679
a7d17088
DJ
16802002-04-04 Daniel Jacobowitz <drow@mvista.com>
1681
1682 * gdb.base/relocate.exp: New file.
1683 * gdb.base/relocate.c: New file.
1684
cd721503
FF
16852002-04-04 Fred Fish <fnf@redhat.com>
1686
1687 * gdb.base/step-test.exp: Update comment regarding stopping in
1688 memcpy/bcopy calls inserted as part of the compiler runtime.
1689
b22ad7a7
MS
16902002-04-04 Michael Snyder <msnyder@redhat.com>
1691
1692 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1693
5f279fa6
DJ
16942002-04-03 Daniel Jacobowitz <drow@mvista.com>
1695
1696 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1697 (gdb_expect): Remove $notransfer hack.
1698
dd0fd3ce
DJ
16992002-04-02 Daniel Jacobowitz <drow@mvista.com>
1700
1701 * gdb.c++/classes.exp ("calling method for small class"): Match
1702 updated register output.
1703
1e50cda1
DJ
17042002-03-30 Daniel Jacobowitz <drow@mvista.com>
1705
1706 Fix PR gdb/452
1707 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1708 when finished. Make gdb_file_cmd send "exec-file" when
1709 appropriate.
1710
24015922
DJ
17112002-03-30 Daniel Jacobowitz <drow@mvista.com>
1712
1713 * gdb.base/attach.exp: Remove extra setup_xfail.
1714
dd7dfd64
MS
17152002-03-26 Michael Snyder <msnyder@redhat.com>
1716
1717 * gdb.base/default.exp: Add tests for dump, append, and restore.
1718 * gdb.base/help.exp: Add tests for dump, append, and restore.
1719 * gdb.base/dump.exp: New file, test dump, append and restore.
1720 * gdb.base/dump.c: New file.
1721
48b2f8d7
MS
17222002-03-27 Michael Snyder <msnyder@redhat.com>
1723
1724 * gdb.base/help.exp: Modify expect strings to reflect
1725 clean-ups in help messages.
1726
05b4d525
FF
17272002-03-26 Fred Fish <fnf@redhat.com>
1728
1729 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1730 have debugging info for those functions and the compiler uses them
1731 internally to copy structs around.
1732
d7679631
FF
17332002-03-26 Fred Fish <fnf@redhat.com>
1734
1735 * gdb.base/list.exp: Revert the change made yesterday and add note
1736 about why we don't list the default lines for remote targets.
1737
523ac3f9
MS
17382002-03-25 Michael Snyder <msnyder@redhat.com>
1739
1740 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1741
754b2b8d
FF
17422002-03-25 Fred Fish <fnf@redhat.com>
1743
1744 * gdb.base/list.exp: This test works on remote targets so remove
1745 the short circuit for remote targets. Update copyright.
1746
33c3e192
FF
17472002-03-25 Fred Fish <fnf@redhat.com>
1748
1749 * gdb.base/attach.exp: Fix logic error that was suppressing this
1750 test for all non hppa*-*-hpux* targets, instead of the hp target.
1751 Move comments closer to the suppression point. Also now need to
1752 check that we are running natively.
1753
d43e73ee
MS
17542002-03-22 Michael Snyder <msnyder@redhat.com>
1755
882c8f02
MS
1756 * gdb.base/default.exp: Add test for gcore. Update copyright.
1757 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1758
04c12f60
FF
17592002-03-06 Fred Fish <fnf@redhat.com>
1760
1761 * gdb.base/funcargs.c: Remove extraneous ';' character.
1762 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1763
b43df995
MC
17642002-03-04 Michael Chastain <mec@shout.net>
1765
1766 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1767 accommodate gcc v3 function signature.
1768 * gdb.mi/mi0-var-cmd-exp: Ditto.
1769
92362027
AC
17702002-02-24 Andrew Cagney <ac131313@redhat.com>
1771
1772 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1773 ``GNU/Linux'' or ``Linux kernel''
1774 * testsuite/gdb.threads/pthreads.c: Ditto.
1775
258ad32d
MC
17762002-02-24 Michael Chastain <mec@shout.net>
1777
1778 * gdb.threads/pthreads.c (thread1): Add a return statement.
1779 (thread2): Likewise.
1780 (foo): Likewise.
1781
04c3b3d4
MC
17822002-02-23 Michael Chastain <mec@shout.net>
1783
1784 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1785 to placate gcc.
1786
5a2a0a20
MC
17872002-02-23 Michael Chastain <mec@shout.net>
1788
1789 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1790 test "ptype bint". The test passes on all my stabs configurations.
1791
a640f7fc
JB
17922002-02-21 Jim Blandy <jimb@redhat.com>
1793
27924826
JB
1794 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1795 filename at a time, and watch for the ones we want to see.
1796
a640f7fc
JB
1797 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1798 types of pointers to prototyped functions.
1799
edcc8c75
AC
18002002-02-20 Andrew Cagney <ac131313@redhat.com>
1801
1802 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1803 signed, unsigned and straight char.
1804 (padding_char, padding_short, padding_int, padding_long,
1805 padding_long_long, padding_float, padding_double,
1806 padding_long_double): New global variables.
1807 (fill, fill_structs): New functions.
1808
1809 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1810 for correctly sized writes. Update copyright.
1811 (get_valueof): New procedure.
1812 (get_sizeof): Call get_valueof.
1813 (check_valueof): New procedure.
1814 (check_padding): New procedure.
1815
ac57ea44
MC
18162002-02-20 Michael Chastain <mec@shout.net>
1817
1818 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1819 to setup_xfail. Document some of the remaining calls.
1820
7a10c941
MC
18212002-02-18 Michael Chastain <mec@shout.net>
1822
1823 * gdb.c++/userdef.exp: Update copyright year.
1824
fb8acdcc
DJ
18252002-02-18 Daniel Jacobowitz <drow@mvista.com>
1826
1827 * gdb.c++/userdef.exp: Test overloaded operators properly.
1828 Remove xfails.
1829
fda6ae12
MS
18302002-02-14 Michael Snyder <msnyder@redhat.com>
1831
1832 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1833
676a0442
DJ
18342002-02-14 Daniel Jacobowitz <drow@mvista.com>
1835
1836 * gdb.base/a2-run.exp: Check for a remote target properly.
1837 * gdb.base/annota1.exp: Likewise.
1838 * gdb.base/list.exp: Likewise.
1839 * gdb.base/reread.exp: Likewise.
1840 * gdb.base/scope.exp: Likewise.
1841 * gdb.base/shlib-call.exp: Likewise.
1842 * gdb.base/term.exp: Likewise.
1843 * gdb.c++/annota2.exp: Likewise.
1844
78b4f468
RE
18452002-02-13 Richard Earnshaw <rearnsha@arm.com>
1846
1847 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1848
9a81ba51
MC
18492002-02-10 Michael Chastain <mec@shout.net>
1850
1851 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1852 (call_after_alloca): Ditto.
1853
004af6c7
DJ
18542002-02-10 Daniel Jacobowitz <drow@mvista.com>
1855
1856 * gdb.base/ending-run.exp: Guard "cont" test with
1857 gdb_skip_stdio_test.
1858
37225f62
JB
18592002-02-06 Jim Blandy <jimb@redhat.com>
1860
1861 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1862 from here...
1863 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1864 To here. Disable this test on non-HP platforms. Add big comment.
1865
fe6fdd96
MS
18662002-02-04 Michael Snyder <msnyder@redhat.com>
1867
1868 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1869 other than d10v and m32r.
1870
036fad3f
RE
18712002-02-02 Richard Earnshaw <rearnsha@arm.com>
1872
1873 * gdb.base/default.exp: Rewrite test patterns to reduce time
1874 taken to match them.
1875
7148ab62
DJ
18762002-01-30 Daniel Jacobowitz <drow@mvista.com>
1877
1878 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1879 Allow a start function above main.
1880 * gdb.threads/linux-dp.exp: Fix copyright date.
1881
396cc255
DJ
18822002-01-30 Daniel Jacobowitz <drow@mvista.com>
1883
1884 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1885 (check_philosopher_stack): Check for manager thread before checking
1886 for a just-starting thread.
1887
f038d31b
DJ
18882002-01-30 Daniel Jacobowitz <drow@mvista.com>
1889
1890 From Neil Booth <neil@daikokuya.demon.co.uk>:
1891 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1892 warnings.
1893
b3ff9d9a
FF
18942002-01-21 Fred Fish <fnf@redhat.com>
1895
1896 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1897 not caller.
1898
39ad761d
JB
18992002-01-21 Jim Blandy <jimb@redhat.com>
1900
1901 * gdb.base/reread.exp: Check that GDB properly re-reads the
1902 executable file when it changes while no inferior is running.
1903
aaf320fa
FF
19042002-01-21 Fred Fish <fnf@redhat.com>
1905
1906 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1907 optionally accept the "shlib events" variation.
1908
808a31f5
JB
19092002-01-21 Jim Blandy <jimb@redhat.com>
1910
1911 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1912 call `fflush' after every `printf', so that the output is produced
1913 at predictable points, regardless of whatever buffering does (or
1914 doesn't) take place.
1915 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1916 at different points.
1917
4420d5e2
DJ
19182002-01-20 Daniel Jacobowitz <drow@mvista.com>
1919
1920 * gdb.c++/inherit.exp: Update copyright years.
1921 * gdb.c++/method.exp: Likewise.
1922
3e36a0f4
DJ
19232002-01-20 Daniel Jacobowitz <drow@mvista.com>
1924
1925 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1926 artificial methods/arguments.
1927 * gdb.c++/derivation.exp: Likewise.
1928 * gdb.c++/inherit.exp: Likewise.
1929 * gdb.c++/method.exp: Likewise.
1930 * gdb.c++/virtfunc.exp: Likewise.
1931
b4ceaee6
AC
19322002-01-18 Andrew Cagney <ac131313@redhat.com>
1933
1934 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1935 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1936 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1937 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1938 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1939 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1940
ecace851
JB
19412002-01-17 Jim Blandy <jimb@redhat.com>
1942
1943 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1944 anchoring the pattern matching the entry point symbol's name.
1945
375fc983
AC
19462002-01-17 Andrew Cagney <ac131313@redhat.com>
1947
1948 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1949 continue/quit query. Update copyright.
1950
fe6fdd96
MS
19512002-01-14 Michael Snyder <msnyder@redhat.com>
1952
1953 * gdb.base/gcore.exp: Remove extra debugging output.
1954
e017c81f
DJ
19552002-01-13 Daniel Jacobowitz <drow@mvista.com>
1956
1957 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1958 for slightly dubious v2 mangled string.
1959
37ab3bf8
DJ
19602002-01-13 Daniel Jacobowitz <drow@mvista.com>
1961
1962 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1963
1bc05c3a 19642002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1965
1bc05c3a 1966 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1967
1bc05c3a
JM
1968 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1969 constructors.
1970 * gdb.c++/derivation.exp: Likewise.
1971 * gdb.c++/templates.exp: Likewise.
1972 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1973
1bc05c3a
JM
19742002-01-10 Michael Snyder <msnyder@redhat.com>
1975
1976 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1977
a911c360
MS
19782002-01-08 Michael Snyder <msnyder@redhat.com>
1979
1980 * gdb.base/gcore.exp: New test for generate-core-file command.
1981 * gdb.base/gcore.c: Testcase for above.
1982 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1983
ea2119ec
JM
19842002-01-08 Jason Merrill <jason@redhat.com>
1985
1986 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1987
68203136
FF
19882002-01-07 Fred Fish <fnf@redhat.com>
1989
1990 * gdb.c++/overload.exp: Remove unconditional xfails for:
1991 print foo_instance1.overloadargs(1)
1992 print foo_instance1.overloadargs(1, 2)
1993 print foo_instance1.overloadargs(1, 2, 3)
1994 print foo_instance1.overloadargs(1, 2, 3, 4)
1995 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1996 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1997 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1998 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1999 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2000 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2001 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2002 print foo_instance1.overload1arg()
2003 print foo_instance1.overload1arg((char)arg2)
2004 print foo_instance1.overload1arg((signed char)arg3)
2005 print foo_instance1.overload1arg((unsigned char)arg4)
2006 print foo_instance1.overload1arg((int)arg7)
2007 print foo_instance1.overload1arg((unsigned int)arg8)
2008 print foo_instance1.overload1arg((float)arg11)
2009 print foo_instance1.overload1arg((double)arg12)
2010
21b9b5b1
MS
20112002-01-07 Michael Snyder <msnyder@redhat.com>
2012
2013 * gdb.base/huge.exp: New test. Print a very large target data object.
2014 (skip_huge_test): New test variable. Define if you want to skip this
2015 test. The test reads an 8 megabyte data object from the target, so it
2016 might be very time consuming on remote targets with a slow connection.
2017 * gdb.base/huge.c: New file. Test case for above.
2018
725f922e
FF
20192002-01-07 Fred Fish <fnf@redhat.com>
2020
2021 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2022 g_instance.bfoo, and g_instance.cfoo.
2023
634d57ec
JL
2024Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2025
f286b2c3
JL
2026 * gdb.base/break.c (multi_line_if_conditional): New function.
2027 (multi_ilne_while_conditional): Likewise.
2028 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2029 IF or WHILE condition puts the breakpoint at the start of
2030 the condition.
2031
634d57ec
JL
2032 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2033 hppa*-*-hpux* expected failure.
2034 * gdb.base/structs.exp (do_function_calls): Similarly.
2035
2036 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2037 watchpoints.
2038
9fbfe2dc
AC
20392002-01-06 Andrew Cagney <ac131313@redhat.com>
2040
2041 Fix PR gdb/66.
2042 * gdb.base/structs.exp: Replace skip for a29k with skip for
2043 gdb,cannot_call_functions.
2044 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2045 * gdb.base/callfuncs.exp: Ditto.
2046 * gdb.base/call-rt-st.exp: Ditto.
2047 * gdb.base/call-strs.exp: Ditto.
2048 * gdb.base/callfwmall.exp: Ditto.
2049 * gdb.base/scope.exp: Obsolete xfail a29k.
2050 * gdb.c++/misc.exp: Ditto.
2051 * gdb.c++/cplusfuncs.exp: Ditto.
2052 * gdb.base/ptype.exp: Ditto.
2053 * gdb.base/printcmds.exp: Ditto.
2054 * gdb.base/opaque.exp: Ditto.
2055 * gdb.base/list.exp: Ditto.
2056 * gdb.base/funcargs.exp: Ditto.
2057 * gdb.base/default.exp: Ditto.
2058
8ddad156
MS
20592002-01-04 Michael Snyder <msnyder@redhat.com>
2060
ca4976a6 2061 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2062 * gdb.base/maint.exp: Add tests for maint info sections options.
2063
1b074332
JL
2064Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2065
2066 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2067
7d159115
CV
20682001-12-20 Corinna Vinschen <vinschen@redhat.com>
2069
2070 * gdb.asm/arm.inc: New file.
2071 * gdb.asm/asm-source.exp: Add arm targets.
2072 * gdb.asm/configure.in: Ditto.
2073 * gdb.asm/configure: Recreated from configure.in.
2074
8fb87725
JL
2075Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2076
afabe08c
JL
2077 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2078 with HP's compiler.
2079 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2080 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2081 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2082 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2083
2084 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2085 either HP's compilers or GCC.
2086
db521deb
JL
2087 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2088 a SIGBUS or SIGSEGV.
2089
2090 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2091
2092 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2093 can be compiled with either HP's compiler or GCC.
2094
cfa88ab7
JL
2095 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2096 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2097 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2098
ca344dff
JL
2099 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2100 to match current gdb output. Update due to using auto-solib-limit
2101 for limiting instead of overloading auto-solib-add.
2102 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2103 test program.
2104
3f3c6e55 2105 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2106 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2107 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2108 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2109 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2110 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2111 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2112 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2113 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2114 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2115 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2116 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2117 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2118
8fb87725
JL
2119 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2120 a SIGTRAP to the inferior.
2121
cf599fa7
CV
21222001-12-19 Corinna Vinschen <vinschen@redhat.com>
2123
2124 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2125 Substitute call to target_link by call to gdb_compile.
2126
2cd045cd
JL
2127Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2128
2129 * gdb.base/break.exp: Fix HP specific search string when testing
2130 backtracing in a called function.
2131
2132 * gdb.base/constvars.exp: Only set lang to C++ if we're
2133 compiling the test with HP's compilers.
2134 * gdb.base/volatile.exp: Similarly.
2135
99ebe9ac
JB
21362001-12-19 Jim Blandy <jimb@redhat.com>
2137
2138 * gdb.base/printcmds.exp: Expect the null character to be printed
2139 as '\0', and the '\013' to be printed as '\v'.
2140 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2141 * gdb.base/setvar.exp: Same.
2142
b9891b29
JB
21432001-12-17 Jim Blandy <jimb@redhat.com>
2144
0eba65ab
JB
2145 * gdb.base/completion.exp: Rather than completing very long
2146 filenames, which can make the readline library produce output we
2147 don't recognize, cd to the directory first, and then complete
2148 using nice, short relative paths.
2149
6970b5b1
JB
2150 * gdb.base/completion.exp: On some systems, there is, in fact, a
2151 variable named `b' in scope, since GDB treats all static
2152 variables as being in scope. So use `no_var_named_this'
2153 instead of `b'.
2154
b9891b29
JB
2155 * gdb.base/corefile.exp: Recognize the message saying that GDB
2156 can't find the core file's registers as a failure.
2157
e6ccd35f
JSC
21582001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2159
2160 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2161 test expect string more specific.
2162
105ba819
CV
21632001-12-13 Corinna Vinschen <vinschen@redhat.com>
2164
2165 * gdb.asm/asm-source.exp: Add support for xstormy16.
2166 * gdb.asm/configure.in: Ditto.
2167 * gdb.asm/configure: Rebuild.
2168 * gdb.asm/xstormy16.inc: New file.
2169
e9e79dd9
FF
21702001-12-10 Fred Fish <fnf@redhat.com>
2171
2172 * gdb.base/maint.exp: Update to match changes in type dumping code.
2173
347dc97d
JB
21742001-12-10 Jim Blandy <jimb@redhat.com>
2175
2176 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2177 matching the entry point symbol's name at the beginning of the
2178 line.
2179
5178b9d6
DJ
21802001-12-07 Daniel Jacobowitz <drow@mvista.com>
2181
2182 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2183 gdb.c++/inherit.exp, gdb.c++/method.exp,
2184 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2185 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2186 and class layout support.
2187
af890c52
DJ
21882001-12-07 Daniel Jacobowitz <drow@mvista.com>
2189
2190 * gdb.c++/classes.exp: Add test for static member function.
2191 * gdb.c++/misc.cc: Add class with static member function.
2192
7a345fb3
JB
21932001-12-07 Jim Blandy <jimb@redhat.com>
2194
f2e54a80 2195 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2196 those tests as `unsupported'.
2197 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2198 Rewrite subsequent tests to use it.
2199
2200 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2201 those tests as `unsupported'.
2202 * gdb.base/structs.exp (call_struct_func): New function.
2203 (do_function_calls): Use call_struct_func to call the functions
2204 returning structs.
2205
0bc69509
JB
2206 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2207 whether functions are prototyped or not, so we can't possibly pass
2208 arguments to t_float_values2 properly.
2209
7a345fb3
JB
2210 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2211 value of `timeout' for targets other than the mips*tx39-*.
2212
edb6ede1
MS
22132001-12-06 Michael Snyder <msnyder@redhat.com>
2214
2215 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2216 and detect whether the start symbol has a leading underscore.
2217
2d842f13
JB
22182001-12-04 Jim Blandy <jimb@redhat.com>
2219
2220 * gdb.base/completion.exp: Clarify indentation.
2221
68550daf
JB
22222001-12-03 Jim Blandy <jimb@redhat.com>
2223
2224 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2225 variables on the S/390, not `.word'.
2226
cd5195a8
JB
22272001-11-30 Jim Blandy <jimb@redhat.com>
2228
2229 Add assembly-source tests for s390-ibm-linux.
2230 * gdb.asm/s390.inc: New file.
2231 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2232 the S/390 architecture.
2233 * gdb.asm/configure: Regenerated.
2234
ca9efc90
MS
22352001-11-30 Michael Snyder <msnyder@redhat.com>
2236
2237 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2238 next, info source, info sources, info line, global and static
2239 variables, and static functions.
2240 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2241 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2242 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2243 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2244 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2245 (gdbasm_leave): Restore frame pointer.
2246 (gdbasm_startup): Copy stack set-up from crt0.S.
2247
d0e66976
FN
22482001-11-26 Fernando Nasser <fnasser@redhat.com>
2249
2250 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2251 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2252 to a local (non-static) variable. Copy tstruct.a to a static buffer
2253 and return a pointer to that buffer.
2254 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2255
e2334072
MK
22562001-11-24 Mark Kettenis <kettenis@gnu.org>
2257
2258 * gdb.asm/configure.in: Fix recognition of ix86 target.
2259 * gdb.asm/configure: Regenerate.
2260
756caa3d
MS
22612001-11-21 Michael Snyder <msnyder@redhat.com>
2262
2263 * gdb.asm/sparc.inc: New file.
2264 * gdb.asm/asm-source.exp: Recognize sparc target.
2265 * gdb.asm/configure.in: Recognize sparc target.
2266 * gdb.asm/configure: Regenerate.
2267
9a4d72d5
MS
22682001-11-21 Michael Snyder <msnyder@redhat.com>
2269
2270 * gdb.asm/m32r.inc: New file.
2271 * gdb.asm/asm-source.exp: Recognize m32r target.
2272 * gdb.asm/configure.in: Recognize m32r target.
2273 * gdb.asm/configure: Regenerate.
2274
a773d1cd
MS
22752001-11-20 Michael Snyder <msnyder@redhat.com>
2276
017ac23d
MS
2277 * gdb.asm/i386.inc: New file.
2278 * gdb.asm/asm-source.exp: Recognize ix86 target.
2279 * gdb.asm/configure.in: Recognize ix86 target.
2280 * gdb.asm/configure: Regenerate.
2281
a773d1cd
MS
2282 * gdb.c++/namespace.exp: Fix quotes in output messages.
2283
bb632afb
MS
22842001-11-14 Michael Snyder <msnyder@redhat.com>
2285
25d559ca 2286 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2287 qualifier in a type cast expression, to designate an address
2288 in the instruction space (Harvard architecture).
2289
4749e309
MS
22902001-11-13 Michael Snyder <msnyder@redhat.com>
2291
2292 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2293 Tests for expressions using 'const' and 'volatile'.
2294
25050984
CV
22952001-11-13 Corinna Vinschen <vinschen@redhat.com>
2296
2297 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2298
1902c51f
DJ
22992001-11-12 Daniel Jacobowitz <drow@mvista.com>
2300
2301 * lib/mi-support.exp (mi_run_to_helper): Move comments
2302 outside of gdb_expect.
2303
dcf95b47
DJ
23042001-11-11 Daniel Jacobowitz <drow@mvista.com>
2305
2306 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2307 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2308 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2309 mi0_run_to): New functions.
2310 * gdb.mi/mi-simplerun.exp: Use them.
2311 * gdb.mi/mi0-simplerun.exp: Likewise.
2312 * gdb.mi/mi-var-cmd.exp: Likewise.
2313 * gdb.mi/mi0-var-cmd.exp: Likewise.
2314
45b074e1
AC
23152001-11-10 Andrew Cagney <ac131313@redhat.com>
2316
2317 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2318 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2319
bf50d346
AC
23202001-11-09 Andrew Cagney <ac131313@redhat.com>
2321
2322 * gdb.base/restore.exp: Include $expected value in restored test
2323 message.
2324
9383332c
AC
23252001-11-09 Andrew Cagney <ac131313@redhat.com>
2326
2327 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2328 implemented.
2329
db62520a
MS
23302001-11-08 Michael Snyder <msnyder@redhat.com>
2331
2332 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2333 Add pass/fail message for stop at breakpoint in call dummy function.
2334
b5703437
MS
23352001-11-07 Michael Snyder <msnyder@redhat.com>
2336
760f6330
MS
2337 * gdb.c++/templates.exp (test_template_breakpoints):
2338 If we get an overload menu, but it does not match what
2339 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2340 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2341 making the whitespace optional. Argument for "new" may be
2342 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2343 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2344 making the whitespace optional. Also replace "(void) with
2345 "((void|)), making the keyword "void" optional.
63f50499
MS
2346 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2347 making the whitespace optional. Also replace "(void) with
2348 "((void|)), making the keyword "void" optional.
3bf40917
MS
2349 * gdb.base/callfuncs.c (t_float_values): This function must
2350 _not_ be prototyped, and the following function (t_float_values2)
2351 must be prototyped (if the compiler supports it), so that GDB
2352 can be tested against both cases. Usually one case involves
2353 promotion of float to double, while the other does not.
2354 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2355 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2356 includes a stack frame for "start".
2357
c8ab4e6d
JB
23582001-11-05 Jim Blandy <jimb@redhat.com>
2359
2360 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2361 pointers are 32 bits long, and that offsets of relocs are always
2362 stored in the data (REL-style), and not in the reloc entry itself
2363 (RELA-style).
2364 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2365 stabs.
2366
3f08ced9
MS
23672001-11-01 Michael Snyder <msnyder@redhat.com>
2368
2369 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2370 and regular expression operators by using quoting.
2371
cbfa24cd
MS
23722001-10-31 Michael Snyder <msnyder@redhat.com>
2373
2374 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2375 depending on what the symbol table contains.
2376 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2377 the output of the ptype command. Similarly, accept both "const &"
2378 and "const&".
2379
aaa68313
CV
23802001-10-31 Corinna Vinschen <vinschen@redhat.com>
2381
2382 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2383 symbol `STORAGE' to allow to choose the storage class of
2384 the local datastructures.
2385 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2386 compiler directive.
2387
91740388
MS
23882001-10-30 Michael Snyder <msnyder@redhat.com>
2389
2390 * gdb.base/jump.exp: Allow it to run for all targets.
2391
1b7c05e7
CV
23922001-10-29 Corinna Vinschen <vinschen@redhat.com>
2393
2394 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2395 with new double_array size.
2396 (main): Change storage class of all local variables to static.
2397 Reduce size of double_array to 9.
2398 * gdb.base/call-ar-st.exp: Increase timeout value.
2399 Change expected output for double array to match new size in
2400 call-ar-st.c.
2401
36a22261
CV
24022001-10-29 Corinna Vinschen <vinschen@redhat.com>
2403
2404 * gdb.base/ending-run.exp: Create identical output when passing
2405 `step to end of run' case. Add regular expression branch satisfying
2406 Stormy16 target.
2407
92b8ae91
MK
24082001-10-28 Mark Kettenis <kettenis@gnu.org>
2409
2410 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2411 that we catch the expected failure under Linux/x86.
2412
cb135b83
OF
24132001-10-29 Orjan Friberg <orjanf@axis.com>
2414
2415 * gdb.base/setvar.exp: Escape curly braces.
2416 * gdb.stabs/weird.exp: Ditto.
2417
6884aa54
DJ
24182001-10-27 Daniel Jacobowitz <drow@mvista.com>
2419
2420 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2421 * gdm.mi/mi0-hack-cli.exp: Likewise.
2422
0398c9aa
AC
24232001-10-25 Andrew Cagney <ac131313@redhat.com>
2424
2425 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2426 messages.
2427
d20bf2e8
AC
24282001-10-21 Andrew Cagney <ac131313@redhat.com>
2429
2430 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2431 checking MI enabled.
2432
03dd63aa
CV
24332001-10-09 Corinna Vinschen <vinschen@redhat.com>
2434
2435 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2436
1d9d99f3
FCE
24372001-10-04 Frank Ch. Eigler <fche@redhat.com>
2438
2439 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2440 if gdb child process crashes, just signal an error.
2441
838ae6c4
JB
24422001-10-02 Jim Blandy <jimb@redhat.com>
2443
2444 * lib/gdb.exp (test_xfail_format): Simplify.
2445
2446 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2447 front of the variable name `format'. Simplify `if'.
2448
8f0cbc1c
DJ
24492001-10-01 Daniel Jacobowitz <drow@mvista.com>
2450
2451 * gdb.threads/pthreads.exp: Wait for output and delay
2452 before sending ^C.
2453
1f08dafd
DJ
24542001-10-01 Daniel Jacobowitz <drow@mvista.com>
2455
2456 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2457 some incorrect output instead of timing out.
2458 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2459
674f90ff
CV
24602001-09-28 Corinna Vinschen <vinschen@redhat.com>
2461
2462 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2463 check to allow additional `int'.
2464
9b284272
DJ
24652001-09-27 Daniel Jacobowitz <drow@mvista.com>
2466
2467 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2468 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2469
b55a4771
MS
24702001-09-27 Michael Snyder <msnyder@redhat.com>
2471
2472 * lib/gdb.exp (test_debug_format): New proc.
2473 (setup_xfail_format): Use new proc test_debug_format.
2474 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2475 proc; use new service proc test_debug_format.
2476 Replace all other "gcc_compiled" tests with this test.
2477 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2478 proc; use new service proc test_debug_format.
2479 Replace all other "gcc_compiled" tests with this test.
2480
24812001-09-27 Michael Snyder <msnyder@redhat.com>
2482
2483 * gdb.base/cvexpr.exp: New file.
2484 * gdb.base/cvexpr.c: New file
2485 Test for expressions using const and volatile keywords.
2486
4e6667ac
CV
24872001-09-26 Corinna Vinschen <vinschen@redhat.com>
2488
2489 * gdb.base/constvars.exp: Check for different orders of keywords
2490 and additional "int" strings in output.
2491
4f337972
AC
24922001-09-22 Andrew Cagney <ac131313@redhat.com>
2493
2494 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2495 responses from "help maint".
2496
2015650d
FCE
24972001-09-19 Frank Ch. Eigler <fche@redhat.com>
2498
2499 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2500 to localhost:NNN instead of :NNN, in case Xvfb is listening
2501 only on TCP.
2502
f3bcedc1
CV
25032001-09-19 Corinna Vinschen <vinschen@redhat.com>
2504
2505 * gdb.base/recurse.exp: When checking leaving the watchpoint
2506 scope, recognize when gdb is in function's epilogue and pass.
2507
6b819c92
KS
25082001-09-18 Keith Seitz <keiths@redhat.com>
2509
2510 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2511 support for running tests against sid targets.
2512 (gdbtk_done): Ditto.
2513
a10c9419
CV
25142001-09-18 Corinna Vinschen <vinschen@redhat.com>
2515
2516 * gdb.base/ending-run.c (main): Set stdout buffersize
2517 to the same reasonable value for any target.
2518 * gdb.base/ending-run.exp: Add a regular expression
2519 to make testsuite happy on Sanyo Stormy16 target.
2520
739d0d99
CV
25212001-09-17 Corinna Vinschen <vinschen@redhat.com>
2522
2523 * gdb.base/display.c (do_loops): Add float variable `f'.
2524 Increment f in loop.
2525 * gdb.base/display.exp: Increment timeout by 60 seconds.
2526 Change float display test to use variable `f'.
2527
1b8947f0
JB
25282001-09-17 Jim Blandy <jimb@redhat.com>
2529
2530 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2531 overflowing the limited breakpoint tables on some ROM monitors
2532 (like the ROM68K).
2533
9890ac81
FCE
25342001-09-15 Frank Ch. Eigler <fche@redhat.com>
2535
2536 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2537 the "-ac" (disable access control) flag.
2538
6db765ea
JH
25392001-08-30 Jeff Holcomb <jeffh@redhat.com>
2540
2541 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2542 ints.
2543
4c32cc04
KS
25442001-08-30 Keith Seitz <keiths@redhat.com>
2545
2546 * lib/gdb.exp: Move all insight-related functionality into
2547 separate file.
2548 * lib/insight-support.exp: New file.
2549
8d6e6f81
FCE
25502001-08-29 Frank Ch. Eigler <fche@redhat.com>
2551
2552 * config/sid.exp (sid_start): Never set sid verbosity; disable
2553 expect_background {} that consumed its stdout; tolerate </dev/null.
2554 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2555
6a90e1d0
AC
25562001-08-18 Andrew Cagney <ac131313@redhat.com>
2557
2558 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2559 CLI jump command to start it.
2560 (mi_run_to_main): Fail immediatly when unexpected output.
2561
1759b3c3
AC
25622001-08-18 Andrew Cagney <ac131313@redhat.com>
2563
2564 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2565 beginning of function. Fix PR gdb/191.
2566
61d11d80
FCE
25672001-08-16 Frank Ch. Eigler <fche@redhat.com>
2568
2569 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2570 what to force sid endianness to.
2571
942a4df2
KS
25722001-08-15 Keith Seitz <keiths@redhat.com>
2573
2574 * lib/gdb.exp (gdbtk_start): Don't set environment
2575 variables for TCL_LIBRARY and friends. Insight will
2576 now figure these out for itself.
2577
0521c418
MS
25782001-08-02 Michael Snyder <msnyder@redhat.com>
2579
2580 * gdb.base/completion.exp: Remove the symbol "a64l" from
2581 the expect string; this is target-specific, and not related
2582 to what is being tested.
2583
74a9a58a
DB
25842001-08-02 Dave Brolley <brolley@redhat.com>
2585
2586 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2587
c70819fa
MS
25882001-07-25 Michael Snyder <msnyder@redhat.com>
2589
c2b8fa57
MS
2590 * gdb.base/consecutive.exp: New file. Test stepping over
2591 breakpoints on consecutive instructions.
2592 * gdb.base/consecutive.c: New file.
2593
c70819fa
MS
2594 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2595 curly braces in regular expressions.
2596
2b1a1355
MS
25972001-07-25 Michael Snyder <msnyder@redhat.com>
2598
2599 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2600 legitimate output from stepping out of main.
2601
413eca6f
KS
26022001-07-22 Keith Seitz <keiths@redhat.com>
2603
2604 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2605 the empty string, do not run the tests.
2606
7e5a9322
SC
26072001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2608
2609 * gdb.base/long_long.exp: Detect size of pointer. Take into
2610 account 2-byte pointers when testing for p/a results.
2611
de58f10f
SC
26122001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2613
2614 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2615 and defined to 1K for m68hc11.
2616 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2617 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2618 (sizeof_random_data): New variable to tell the size of the data table;
2619 don't test past this size; always run to main.
2620
d6f5fea1
SC
26212001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2622
2623 * gdb.base/return2.exp: return of long long and double fails for
2624 68HC11; don't execute these tests on that platform.
2625 * gdb.base/return.exp: Return of a double fails for 68hc11.
2626
c477543d
SC
26272001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2628
2629 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2630 tests that print a float.
2631 * call-rt-st.exp: Likewise.
2632
63cf1c79
MK
26332001-07-12 Mark Kettenis <kettenis@gnu.org>
2634
2635 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2636 running this test on Linux.
2637
112f9ab5
MC
26382001-06-24 Michael Chastain <chastain@redhat.com>
2639
2640 * gdb.base/arithmet.exp: Remove some tests to make all test names
2641 unique.
2642
4970cb0f
MS
26432001-07-03 Michael Snyder <msnyder@redhat.com>
2644
2645 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2646 the output of the ptype command.
2647
d85da69f
MS
26482001-07-02 Michael Snyder <msnyder@redhat.com>
2649
4c8a82de
MS
2650 * gdb.base/completion.exp: Don't assume that break.c is the only
2651 source file that may contain functions named "marker".
d85da69f
MS
2652 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2653
8afc772b
AC
26542001-06-28 Andrew Cagney <ac131313@redhat.com>
2655
2656 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2657 of files to delete.
2658
2659 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2660 * gdb.disasm/h8300s.exp: New file.
2661 gdb.disasm/h8300s.s: Likewise.
2662
cff22675
AC
26632001-06-27 Andrew Cagney <ac131313@redhat.com>
2664
2665 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2666 empty breakpoint tables.
2667
68c81b54
AC
26682001-06-25 Andrew Cagney <ac131313@redhat.com>
2669
2670 * lib/mi-support.exp: Update args=... part of stop-reason
2671 patterns. Accept either a list or a tuple.
2672
2dd62704
AC
26732001-06-23 Andrew Cagney <ac131313@redhat.com>
2674
2675 * lib/mi-support.exp: Remove local emacs variable defining
2676 change-log-default-name.
2677
b4127474
MC
26782001-06-22 Michael Chastain <chastain@redhat.com>
2679
2680 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2681 This is operationally compatible with the previous version.
2682
8dbfb380
JB
26832001-06-13 Jim Blandy <jimb@redhat.com>
2684
2685 * lib/gdb.exp (gdb_test): Doc fix.
2686
f2d8c86d
MC
26872001-06-10 Michael Chastain <chastain@redhat.com>
2688
2689 * gdb.base/exprs.exp: Remove a duplicate test.
2690
81564d34
JB
26912001-06-06 Jim Blandy <jimb@redhat.com>
2692
2693 * gdb.base/return2.exp (main): Use values to test float and double
2694 returns that are not NaN's, to avoid being confused by IEEE
2695 comparison rules.
2696
da55addb
MS
26972001-06-04 Michael Snyder <msnyder@redhat.com>
2698
2699 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2700 non-zero if control_c fails. Terminate the test on failure,
2701 rather than wait for 12 more tests to time out.
2702
42c65987
JB
27032001-06-06 Jim Blandy <jimb@redhat.com>
2704
b18bced9
JB
2705 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2706 Don't forget to match the GDB prompt.
2707
42c65987
JB
2708 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2709
5b41e5f0
JB
27102001-06-04 Jim Blandy <jimb@redhat.com>
2711
2712 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2713 command.
2714
015e046f
KB
27152001-05-31 Kevin Buettner <kevinb@redhat.com>
2716
2717 * gdb.base/annota1.exp (info break): Match four or more spaces
2718 after "Address".
2719
fb1ffbbe
MC
27202001-05-31 Michael Chastain <chastain@redhat.com>
2721
2722 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2723 (dm_type_int_star): Likewise.
2724 (dm_type_long_star): Likewise.
2725 (dm_type_void_star): Likewise.
2726
5ea2a32c
KB
27272001-05-29 Kevin Buettner <kevinb@redhat.com>
2728
2729 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2730 to a known value in order to get consistent results regardless
2731 of the setting of INPUTRC or the presence or contents of .inputrc.
2732
ae23c492
MS
27332001-05-24 Michael Snyder <msnyder@redhat.com>
2734
ac55707e
MS
2735 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2736 Don't require that the main thread and the manager thread are the
2737 first in the list.
2738
ae23c492
MS
2739 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2740 debugging. If test fails, issue an "unsupported" not a "fail".
2741
400071f1
JB
27422001-05-24 Jim Blandy <jimb@redhat.com>
2743
2744 Don't assume that short is shorter than int.
2745 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2746 assume that shorts are smaller than ints. On a 16-bit machine,
2747 this isn't true.
2748 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2749 an int, is not equal to ~0 stored in an unsigned char. This tests
2750 the same thing that the previous test meant to, but works on
2751 16-bit machines, too.
2752 ("print unsigned char != (~0)"): Same test, complemented.
2753
0816a3e5
MS
27542001-05-24 Michael Snyder <msnyder@redhat.com>
2755
2756 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2757 test for (full_coverage == 0). This makes the test run faster,
2758 and prevents dejagnu getting out of step.
2759
f6dc23a9
KB
27602001-05-23 Kevin Buettner <kevinb@redhat.com>
2761
2762 * gdb.base/finish.exp (finish_void): Revise pattern for
2763 stopping on the call statement to not permit stopping at
2764 the start of the instructions comprising the call sequence.
2765
7dbd117d
MC
27662001-05-19 Michael Chastain <chastain@redhat.com>
2767
2768 * gdb.base/callfuncs.exp: Make all test names unique.
2769 * gdb.base/commands.exp: Make all test names unique.
2770 * gdb.base/condbreak.exp: Make all test names unique.
2771 * gdb.base/dbx.exp: Make all test names unique.
2772 * gdb.base/default.exp: Make all test names unique.
2773 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2774 and TIMEOUT messages to their corresponding PASS message.
2775 * gdb.base/ending-run.exp: Make all test names unique.
2776 * gdb.base/long_long.exp: Remove duplicate test.
2777
6b0b0a9e
KB
27782001-05-21 Kevin Buettner <kevinb@redhat.com>
2779
2780 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2781 stop on the call statement as well as the statement after the
2782 call.
2783
2caa35cb
MS
27842001-05-21 Michael Snyder <msnyder@redhat.com>
2785
2786 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2787
40713331
EZ
27882001-05-10 Elena Zannoni <ezannoni@redhat.com>
2789
2790 * gdb.base/completion.exp: Revamp test. Make it execute on all
2791 platforms.
2792
c2c1be8d
EZ
27932001-05-10 Elena Zannoni <ezannoni@redhat.com>
2794
2c9cd303
EZ
2795 * config/gdbserver.exp (gdb_load): Handle the case
2796 in which the arguments to gdbserver are given in the
2797 baseboard configuration file.
2798 Also handle the case in which the server needs to do a
2799 load.
2800
9671de48
KS
28012001-05-07 Keith Seitz <keiths@cygnus.com>
2802
2803 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2804 set up the display for testing.
2805 (gdbtk_start): Convert all paths to paths that tcl will like.
2806 Export target information to environment.
2807 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2808 necessary.
2809 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2810 (to_tcl_path): New proc to convert a given pathname into
2811 a path acceptible as an argument to a tcl command.
2812 (_gdbtk_export_target_info): New proc to export target info
2813 into the environment for gdbtk testing.
2814 (gdbtk_done): New proc to signal end-of-test.
2815
5a360f47
JB
28162001-05-06 Jim Blandy <jimb@redhat.com>
2817
2818 * restore.c: Make the code of caller0 correspond to its comment.
2819
66c756c6
MS
28202001-05-03 Michael Snyder <msnyder@redhat.com>
2821
2822 * config/sid.exp (gdb_target_sid): Check for error messages.
2823 On error or timeout, don't make expect exit (which will terminate
2824 all subsequent tests); instead just make gdb exit.
2825 (gdb_load): Check for error messages. On error or timeout,
2826 return a negative value.
2827
a966fde5
JB
28282001-04-24 Jim Blandy <jimb@redhat.com>
2829
851c18e0
JB
2830 * gdb.c++/templates.exp: If we see the prompt for the overload
2831 list, but we haven't recognized any of the longer patterns,
2832 arrange for this test to fail, not hang.
2833
a966fde5
JB
2834 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2835 variations.
2836
db144853
MC
28372001-04-22 Michael Chastain <chastain@redhat.com>
2838
2839 * gdb.c++/local.exp: Use the 'runto' library function.
2840 * gdb.c++/namespace.exp: Likewise.
2841 * gdb.c++/overload.exp: Likewise.
2842
3207ec21
KB
28432001-03-26 Kevin Buettner <kevinb@redhat.com>
2844
2845 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2846 * gdb.base/step-line.exp: New file. Test step/next in presence of
2847 #line directives.
2848 * gdb.base/step-line.c: New file. Test program for the above.
2849 * gdb.base/step-line.inp: New file. We pretend that this file has
2850 been transformed by some other tool into step-line.c.
2851
13b57657
JB
28522001-03-21 Jim Blandy <jimb@redhat.com>
2853
2854 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2855 unmangled operator names.
2856
754cbe1c
JB
28572001-03-20 Jim Blandy <jimb@redhat.com>
2858
2859 * gdb.threads/linux-dp.exp: Recognize an additional message
2860 generated by GDB when it doesn't understand how to debug threads
2861 on the target system.
2862
177495c9
AC
28632001-03-19 Andrew Cagney <ac131313@redhat.com>
2864
2865 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2866
f266096b
MC
28672001-03-12 Michael Chastain <chastain@redhat.com>
2868
2869 * gdb.c++/derivation.exp: Use the 'runto' library function.
2870
cac3c2ff
MC
28712001-03-12 Michael Chastain <chastain@redhat.com>
2872
2873 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2874
b6c11a24
MC
28752001-02-24 Michael Chastain <chastain@redhat.com>
2876
2877 * gdb.c++/ref-types.exp: Change handwritten code to library
2878 function 'runto'.
2879
6bae5bce
OF
28802001-03-16 Orjan Friberg <orjanf@axis.com>
2881
2882 * gdb.base/signals.exp: Set count to 0 explicitly.
2883
0015fd9a
MS
28842001-03-15 Mark Salter <msalter@redhat.com>
2885
2886 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2887 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2888 (gdb_load): Add support for additional target_info: gdb_download_size
2889 and gdb_load_timeout.
0015fd9a 2890
fc33412a
DT
2891Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2892
2893 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2894 file -- to prevent failing when the compile fails but we have no
2895 intention of running the tests anyway.
2896
2897 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2898 tests if set.
2899
2900 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2901 integers.
2902
2903 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2904 * gdb.c++/namespace.exp: Ditto.
2905
115f06de
OF
29062001-03-07 Orjan Friberg <orjanf@axis.com>
2907
2908 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2909 * gdb.base/pointers.exp: Relax pattern match of decimals.
2910
b6ba6518
KB
29112001-03-06 Kevin Buettner <kevinb@redhat.com>
2912
2913 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2914 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2915 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2916 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2917 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2918 config/sh.exp, config/sid.exp, config/slite.exp,
2919 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2920 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2921 config/vxworks.exp, config/vxworks29k.exp,
2922 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2923 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2924 gdb.base/arithmet.exp, gdb.base/assign.exp,
2925 gdb.base/async.exp, gdb.base/attach.exp,
2926 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2927 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2928 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2929 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2930 gdb.base/commands.exp, gdb.base/completion.exp,
2931 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2932 gdb.base/constvars.exp, gdb.base/corefile.exp,
2933 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2934 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2935 gdb.base/ending-run.exp, gdb.base/environ.exp,
2936 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2937 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2938 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2939 gdb.base/funcargs.exp, gdb.base/help.exp,
2940 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2941 gdb.base/logical.exp, gdb.base/long_long.exp,
2942 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2943 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2944 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2945 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2946 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2947 gdb.base/regs.exp, gdb.base/relational.exp,
2948 gdb.base/remote.exp, gdb.base/reread.exp,
2949 gdb.base/restore.exp, gdb.base/return2.exp,
2950 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2951 gdb.base/selftest.exp, gdb.base/setshow.exp,
2952 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2953 gdb.base/sigall.exp, gdb.base/signals.exp,
2954 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2955 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2956 gdb.base/step-test.exp, gdb.base/structs.c,
2957 gdb.base/structs.exp, gdb.base/structs2.exp,
2958 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2959 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2960 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2961 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2962 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2963 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2964 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2965 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2966 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2967 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2968 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2969 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2970 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2971 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2972 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2973 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2974 gdb.trace/circ.exp, gdb.trace/collection.exp,
2975 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2976 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2977 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2978 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2979 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2980 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2981 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2982 notices.
2983
dc96c6c7 29842001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2985
2986 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2987 first arg is int not float.
2988
dc96c6c7 29892001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2990
2991 * gdb.base/reread.exp: Unsupported for non-native targets;
2992 doesn't work for remote debugging.
2993
9b0c4aeb
FN
29942001-02-19 Fernando Nasser <fnasser@redhat.com>
2995
2996 From Drew Moseley <dmoseley@redhat.com>
2997 * gdb.base/ending-run.exp: Properly handle the BSP state when
2998 stepping past the end of main.
2999
02aa71d5
MC
30002001-02-19 John Moore <jmoore@redhat.com>
3001
3002 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3003 Converted HPUX fix for non-expected items following multiple
3004 step commands into general solution for all platforms.
3005
1fa449a4
MC
30062001-02-18 Michael Chastain <chastain@redhat.com>
3007
3008 * gdb.c++/classes.exp (do_tests): Change runto statements
3009 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3010 statements demangler agnostic.
3011 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3012 (gdb_virtfunc_restart): Likewise.
3013
b2f9ec70
MC
30142001-02-14 Michael Chastain <chastain@redhat.com>
3015
3016 * gdb.c++/inherit.exp (do_tests): Change runto statements
3017 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3018 statements demangler agnostic.
3019
cf74b8ca
AC
3020Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3021
3022 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3023 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3024 before calling common_routine 15 times'' tests.
3025
99f78f56
MC
30262001-02-11 Michael Chastain <chastain@redhat.com>
3027
3028 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3029 Helps the test script figure out which demangler is in use.
3030 (dm_type_foo_ref): Ditto.
3031 (dm_type_int_star): Ditto.
3032 (dm_type_long_star): Ditto.
3033 (dm_type_unsigned_int): Ditto.
3034 (dm_type_void): Ditto.
3035 (dm_type_void_star): Ditto.
99707966 3036 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3037 Probe the gdb demangler and set variables to accommodate
3038 formatting differences.
3039 (info_func_regexp): New function. Same as info_func, but
3040 matches against a regexp.
3041 (info_func): Match against a literal string.
3042 (print_addr_2): New function. Match against a literal string,
3043 which can be different from the input to gdb.
3044 (print_addr): Simply call print_addr_2 with the same argument twice.
3045 (test_lookup_operator_functions): Use demangler formatting variables.
3046 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3047 the tests in the same order as the C++ class declaration.
3048 (test_paddr_operator_functions): Ditto.
3049 (test_paddr_overloaded_functions): Ditto.
3050 (test_paddr_hairy_functions): Use demangler formatting variables.
3051 Add reference to gdb/19 for related tests.
3052 (do_tests): Call probe_demangler.
3053
1de8f023
KB
30542001-01-30 Kevin Buettner <kevinb@redhat.com>
3055
3056 * gdb.c++/templates.cc (printf): Remove unused function definition.
3057
ca3f91ed
MS
30582001-01-26 Felix Lee <flee@redhat.com>
3059
3060 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3061
30622001-01-25 matthew green <mrg@redhat.com>
3063
3064 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3065 up sid.
3066 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3067
30682001-01-25 matthew green <mrg@redhat.com>
3069
3070 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3071 Deprecate $sid_spawn_id.
3072 (sid_exit): Remove code necessary only for `spawn.'
3073
30742001-01-25 matthew green <mrg@redhat.com>
3075
3076 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3077
fb18ec4a
MC
30782001-01-28 Michael Chastain <chastain@redhat.com>
3079
3080 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3081 to call when tests fail. It takes gdb out of the overloaded
3082 function choice menu back to the main prompt, so that the test
3083 program stays synchronized.
3084 (set_bp_overloaded): New proc to collect all the common
3085 code for setting a breakpoint on an overloaded name. Calls
3086 take_gdb_out_of_choice_menu when needed.
3087 (menu_overload1arg): New variable to collect the repeated
3088 instances of the expected menu for an overloaded name. Change
3089 the regular expression to handle changes in g++ type encoding:
3090 "void" can be either "void" or "", and "unsigned int" can be
3091 either "unsigned int" or "unsigned".
3092 (continue_to_bp_overloaded): Change regular expressions to handle
3093 changes in g++ type encoding.
3094 (no proc): Call take_gdb_out_of_choice_menu when needed.
3095 Remove redundant calls to "info break". Accept either "canceled"
3096 or "cancelled". Change regular expressions in "info break"
3097 calls to handle changes in g++ type encoding. Give all tests
3098 unique strings.
3099
9c646a6e
BE
31002001-01-17 Ben Elliston <bje@redhat.com>
3101
3102 * config/sid.exp: New file.
3103
9549d9c1
AC
3104Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3105
3106 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3107
dc96c6c7 31082000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3109
3110 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3111 Add a RE to accept a non-ascii char if one is ever presented.
3112
b4df4f68
FN
31132000-12-20 Fernando Nasser <fnasser@redhat.com>
3114
297dd0fd 3115 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3116
dc96c6c7 31172000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3118
3119 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3120 in regexp. One '\' does not suffice on Linux.
3121
4a7bddb6
MC
31222000-12-09 Michael Chastain <chastain@redhat.com>
3123
3124 * gdb.base/break.exp (test_clear_command): Use a marker function
3125 rather than 'main' for the test function. Also move this
3126 test to an execution point where the marker function names are
3127 guaranteed to be bound to functions. (Executing tests after a
3128 'finish' from main runs into name conflicts with local names
3129 in __libc_start_main).
3130
dc96c6c7 31312000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3132
3133 * gdb.base/finish.exp: New test for gdb's "finish" command.
3134 * gdb.base/return2.exp: New test for gdb's "return" command.
3135 * gdb.base/return2.c: New source file for above.
3136
dc96c6c7 31372000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3138
3139 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3140 * gdb.base/miscexprs.exp: Ditto.
3141 * gdb.base/pointers.exp: Ditto.
3142 * gdb.c++/derivation.exp: Ditto.
3143 * gdb.c++/local.exp: Ditto.
3144 * gdb.c++/namespace.exp: Ditto.
3145 * gdb.c++/overload.exp: Ditto.
3146 * gdb.c++/ref-types.exp: Ditto.
3147
dc96c6c7 31482000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3149
3150 * gdb.base/constvars.exp: Test result of "up" command.
3151 * gdb.base/miscexprs.exp: Ditto.
3152 * gdb.base/pointers.exp: Ditto.
3153 * gdb.base/scope.exp: Ditto.
3154 * gdb.c++/derivation.exp: Ditto.
3155 * gdb.c++/local.exp: Ditto.
3156 * gdb.c++/namespace.exp: Ditto.
3157 * gdb.c++/overload.exp: Ditto.
3158 * gdb.c++/ref-types.exp: Ditto.
3159
44097287
FN
31602000-11-22 Michael Chastain <chastain@redhat.com>
3161
3162 * mips_pro.exp: Accept either "middle -> top -> main" or
3163 "middle -> main" in the backtrace, because gcc can optimize
3164 tail calls to jumps. Remove setup_xfail for the hppa case.
3165 Add a comment with the original warning messages from PR 3016,
3166 which was filed in 1993, to preserve them for posterity.
3167
9d2e1bab
ND
31682000-11-17 Nick Duffek <nsd@redhat.com>
3169
3170 * lib/gdb.exp (gdb_test): Override timeout with board info.
3171
1aca8eb7
ND
31722000-11-17 Nick Duffek <nsd@redhat.com>
3173
3174 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3175 the second kill and detach messages.
3176
93076499
ND
31772000-11-17 Nick Duffek <nsd@redhat.com>
3178
3179 * configure.in: Add AC_EXEEXT.
3180 * configure: Regenerate.
3181 * Makefile.in (just-check): Export EXEEXT.
3182 * lib/gdb.exp ($EXEEXT): Import from environment.
3183 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3184 expect "maint dump-me" on Cygwin.
3185 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3186 $EXEEXT.
3187
30e87cd3
ND
31882000-11-17 Nick Duffek <nsd@redhat.com>
3189
3190 * gdb.base/break.exp: Test backtrace and finish from called
3191 function on all platforms, not just HP-UX.
3192
dc96c6c7 31932000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3194
3195 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3196 code from gdb_target_monitor, so it can be used independantly
3197 for gdbserver. Also comment out an unnecessary PUTS.
3198
dc96c6c7 31992000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3200
3201 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3202 * gdb.base/corefile.exp: Expect the message "Program is being
3203 debugged already" when we send the "corefile" command, since
3204 the preceeding gdb_load may have connected gdb to a remote target.
3205 * gdb.base/display.exp: Disable hardware watchpoints if new
3206 board info variable "no_hardware_watchpoints" is true.
3207 Replace single-letter commands with more readable ones.
3208 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3209 if new board info variable "no_hardware_watchpoints" is true.
3210 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3211 to see if stdio (printf) testing is possible.
3212 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3213 board info variable "no_hardware_watchpoints" is true. Use new
3214 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3215
39124dea
FN
32162000-11-13 Fernando Nasser <fnasser@redhat.com>
3217
3218 From Orjan Friberg <orjanf@axis.com>:
3219 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3220 in array print pattern match.
3221
a9e2e984
FN
32222000-11-09 Fernando Nasser <fnasser@redhat.com>
3223
3224 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3225 spelling "cancelled" to U.S. spelling "canceled" to match changes
3226 made to gdb.
3227 * gdb.c++/ovldbreak.exp: Ditto.
3228
c7db355b
PS
32292000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3230
3231 * gdb.base/callfuncs.c (main): Moved to end of file, call
3232 t_double_values to initialize the FPU before inferior calls are made.
3233 * gdb.base/callfuncs.exp: Test for register preservation after calling
3234 inferior functions. Add tests for continuining, finishing and
3235 returning from a stop in a call dummy.
3236
dc96c6c7 32372000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3238
3239 * gdb.base/commands.exp: Break up long lines, and re-indent.
3240
dc96c6c7 32412000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3242
3243 * config/gdbserver.exp: Rewritten from the ground up, to make it
3244 compatible with the current dejagnu tree, and to make it work with
3245 the new "gdbserver" in libremote.
3246
dc96c6c7 32472000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3248
3249 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3250 * gdb.base/varargs.exp: Skip entire test if no printf support.
3251 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3252 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3253
dc96c6c7 32542000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3255
3256 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3257 no floating point support.
3258 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3259 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3260 * gdb.base/call-rt-st.exp: Ditto.
3261 * gdb.base/call-strs.exp: Ditto.
3262
bac5fc66
JG
32632000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3264
3265 * gdb.base/sizeof.c: include <stdio.h>.
3266
3267 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3268 'finish', otherwise uncaptured gdb_prompt would potentially
3269 throw remaining test points out of sync.
3270
b22a6027
SB
32712000-07-26 Scott Bambrough <scottb@netwinder.org>
3272
3273 * gdb.base/recurse.exp: Run tests for all targets.
3274 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3275 gnu-oldld case on ARM.
3276 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3277 for ARM targets.
3278
d8231941
AG
3279Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3280
3281 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3282 * gdb.java/configure: Rebuild.
3283
8caabe69
AG
3284Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3285
3286 * gdb.java/jv-exp.exp: New file.
3287
9d273ca3
AG
3288Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3289
3290 * configure: Rebuilt.
3291 * configure.in (configdirs): Add gdb.java.
3292 * gdb.java/jmisc.java: New file.
3293 * gdb.java/jmisc.exp: New file.
3294 * gdb.java/Makefile.in: New file.
3295 * gdb.java/configure: Rebuilt.
3296 * gdb.java/configure.in: New file.
3297 * lib/java.exp: New file.
3298
4f823a66
AC
3299Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3300
3301 * gdb.base/exprs.exp: Test casts to a pointer including over and
3302 underflow.
3303
2391e11d
AC
3304Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3305
3306 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3307 and the compilers sizes.
3308
54602222
ND
33092000-07-09 Nick Duffek <nsd@redhat.com>
3310
3311 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3312 (use_methods): New function.
3313 (main): Call use_methods().
3314 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3315 (do_tests): Call test_method_param_class.
3316
2bec0572
ND
33172000-07-09 Nick Duffek <nsd@redhat.com>
3318
3319 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3320 spelling.
3321 (test_enums): New procedure. Move enum tests from end of script
3322 to here. Set breakpoint on function name instead of line number.
3323 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3324 (enums2): New marker function.
3325 (enums1): New function.
3326 (main): Call enums1(). Move enum tests to enums1().
3327
78492fde
AC
3328Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3329
3330 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3331 compile/link program. Update line numbers.
3332 * gdb.asm/d10v.inc: Define ``startup''.
3333 * gdb.asm/asmsrc1.s: Add definition of _start.
3334
49a2cef8
AC
3335Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3336
3337 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3338
3e6c8688
EZ
33392000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3340
3341 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3342 of 'help maint print' command.
3343
9ff5cbe9
AC
3344Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3345
3346 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3347 they use gdb_expect_list.
3348
17c579bd
AC
3349Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3350
3351 * gdb.base/commands.exp: Use ``set remote
3352 memory-read-packet-size'' instead of ``set endian big'' to test
3353 long commands.
3354
e6d71bf3
DB
33552000-06-03 Daniel Berlin <dan@cgsoftware.com>
3356
3357 * gdb.c++/templates.exp (do_tests): Make all of these work under
3358 g++, and stop skipping them.
3359
3360 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3361 work under g++.
3362
e5f9ba7b
MS
3363 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3364 initialization.
3365
dc96c6c7 33662000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3367
3368 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3369 the regular expression: accept an (almost) arbitrary sequence of
3370 "frames-invalid" and "breakpoints-invalid" messages both before
3371 and after the "starting" message.
3372
dc96c6c7 33732000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3374
3375 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3376
dc96c6c7 33772000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3378
3379 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3380 Relax the regular expression a little, make it pass on Solaris 8.
3381
8216cda9
KB
33822000-05-12 Kevin Buettner <kevinb@redhat.com>
3383
3384 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3385 a call, do not require that gdb stop on the line after the call.
3386 Instead, it is permissible for gdb to stop on the line of the
3387 call itself.
3388
1a570b2f
MS
33892000-05-12 Michael Snyder <msnyder@.cygnus.com>
3390
3391 * gdb.base/break.exp (bp on small function, optimized file):
3392 Add a second pass pattern. The behavior differs here between stabs
3393 and dwarf for one-line functions. Stabs preserves two line symbols
3394 (one before the prologue and one after) with the same line number,
3395 but dwarf regards these as duplicates and discards one of them.
3396 Therefore the address after the prologue (where the breakpoint is)
3397 has no exactly matching line symbol, and GDB reports the breakpoint
3398 as if it were in the middle of a line rather than at the beginning.
3399
dc96c6c7 34002000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3401
3402 * gdb.base/interrupt.exp: Make "pass" message say "send"
3403 rather than "send_gdb" (for consistancy).
3404
7d418785
AC
3405Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3406
3407 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3408 * gdb.c++/templates.cc: Properly check for GCC version number.
3409 * lib/compiler.cc: Likewise
3410
dc96c6c7 34112000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3412
3413 * gdb.base/break.exp: When compiled with -O2 optimization,
3414 gdb may not stop at the first line of main, due to code motion.
3415
dc96c6c7 34162000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3417
3418 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3419 This test depends on parsing the printf output from the target.
3420 Since the sparclet stub doesn't do stdio, this will never work.
3421 * gdb.base/call-rt-st.exp: ditto.
3422 * gdb.base/call-strs: ditto.
3423
dc96c6c7 34242000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3425
3426 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3427
3428 * gdb.base/ending-run.exp: After connecting to a remote target,
3429 but before running, the target will appear to be in a random
3430 location. Specify both a file and a line for breakpoints.
3431 Also, the function that calls main may be called 'init'
3432 rather than 'start'.
3433
a5a51225
EZ
34342000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3435
3436 * gdb.base/help.exp: Update output for add-symbol-file command.
3437
7930cc7c
FN
34382000-04-10 Fernando Nasser <fnasser@cygnus.com>
3439
3440 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3441 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3442
23e37ab1
C
34432000-04-07 J.T. Conklin <jtc@redback.com>
3444
e93c542c
C
3445 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3446
23e37ab1
C
3447 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3448
591b8fa3
PDM
3449Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3450
3451 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3452 values that can be represented exactly.
3453 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3454 above change, and to not check against the directory part of the source
3455 file name.
3456 (step into print_long_arg_list): Likewise.
3457 (print print_small_structs from print_long_arg_list): Likewise.
3458 (print print_long_arg_list): Likewise.
3459
7a495180
EZ
34602000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3461
30b53638 3462 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3463
beb998c6
AC
3464Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3465
3466 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3467
1c689132
DB
34682000-03-25 Daniel Berlin <dan@cgsoftware.com>
3469
3470 * gdb.base/commands.exp (deprecated_command_test): Add test for
3471 deprecate with no arguments.
3472
c1790a9d
JL
34732000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3474
3475 * gdb.base/break.exp: Add new test for setting breakpoints on
3476 optimized code so we can test breakpoints work even when function
3477 prologues may be optimized away
3478
003ba290
FN
34792000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3480
3481 From David Whedon <dwhedon@gordian.com>
3482 * gdb.base/commands.exp : Added command deprecator tests.
3483
6837a0a2
DB
34842000-03-22 Daniel Berlin <dan@cgsoftware.com>
3485
3486 * gdb.base/help.exp: Added test for new apropos command.
3487
b9593231
KB
34882000-03-21 Kevin Buettner <kevinb@redhat.com>
3489
3490 * gdb.base/pointers.c (usevar): New function.
3491 (main): Make sure that global variables v_int_pointer2, rptr,
3492 and y are all referenced someplace in the program by calling
3493 usevar() on them. [Some linkers delete symbols which are
3494 never referenced. The space remains, but there's no way to
3495 get a (symbolic) handle on the variable from the debugger.]
3496
751a959b
EZ
34972000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3498
3499 * gdb.base/printcmds.c: Add typedeffed arrays.
3500
3501 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3502 procedure to test arrays that are typedef'd.
3503
73a93a32
JI
35042000-03-13 James Ingham <jingham@leda.cygnus.com>
3505
3506 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3507 the library directories.
73a93a32 3508
fb40c209
AC
3509Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3510
3511 * configure.in (configdirs): Add sub directory gdb.mi.
3512 * configure: Re-generate.
3513
3514 * gdb.mi: New directory.
beb998c6 3515
ee4dd2c9
AC
35162000-02-25 Scott Bambrough <scottb@netwinder.org>
3517
3518 * gdb.base/long_long.exp: Correct test suite failure when printing
3519 a long long value as a double on ARM platforms.
3520
70f0cc22
JB
35212000-02-16 Jim Blandy <jimb@redhat.com>
3522
3523 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3524 default source file is set properly before running this test.
3525
853819b8
EZ
35262000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3527
3528 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3529 gdbtk/library directory, not in gdbtcl2.
3530
dfcd3bfb
JM
35312000-02-04 Jim Blandy <jimb@redhat.com>
3532
3533 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3534 backslash from regexp pattern.
3535
3536 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3537 procedure. Use it to run all the "continue to bp overloaded"
3538 tests. Note that this changes the names of the tests slightly.
3539 If the breakpoint hit message includes a hex PC value, because
3540 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3541 from the real source code, still consider that a pass.
3542
3543 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3544 XFAIL here if the breakpoint message contains a hex address. Note
3545 similar change on 1999-11-02.
3546
3547 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3548
3549 * gdb.base/ptype.exp: Establish a default source file before
3550 calling get_debug_format.
3551
35522000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3553
3554 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3555
8b93c638
JM
35562000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3557
3558 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3559 of successive stepi commands -- while in the prologue we should see
3560 the function entry bracket.
3561
35622000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3563
3564 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3565 reach __change_mode() when stepping through the end of main().
3566
c5394b80
JM
35672000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3568
3569 * gdb.base/default.exp: Fix expected pattern.
3570 * gdb.base/help.exp: Same.
3571
0d06e24b
JM
35722000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3573
3574 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3575 Don't use xfail's because that affects only the following test.
beb998c6 3576
0d06e24b
JM
3577 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3578 solaris or linux.
3579
3580 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3581
dc96c6c7 35822000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3583
beb998c6 3584 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3585 "A syntax error" rather than "A parse error". Accept both.
3586
35872000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3588
3589 * gdb.base/default.exp: Remove OS dependent string from "target
3590 remote" test.
3591 * gdb.base/help.exp: Same for "help target remote" test.
3592
c3f6f71d
JM
35932000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3594
3595 From Jim Kingdon <kingdon@redhat.com>:
3596
3597 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3598 prompt (cleanup rather than necessity, but still might keep output
3599 from spilling to next test).
3600
36012000-01-02 Fred Fish <fnf@cygnus.com>
3602
3603 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3604 AIX, which defines them in <sys/types.h>.
3605
ed9a39eb 36061999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3607
ed9a39eb
JM
3608 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3609 float" test.
3610
36111999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3612
ed9a39eb 3613 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3614
3615 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3616 outermost frame disallowed".
3617
36181999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3619
3620 * gdb.base/setvar.exp: New tests for setting the value of a struct
3621 with a constant list.
3622
36231999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3624
3625 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3626 require the user to type a cast before setting the value of a struct.
3627
de57eccd
JM
36281999-12-06 Jim Blandy <jimb@cygnus.com>
3629
3630 * gdb.base/default.exp: Expect the new 'info float' command on
3631 all i386 platforms.
3632
3633 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3634 LinuxThreads libraries that don't support debugging.
3635
c2d11a7d
JM
3636Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3637
3638 * gdb.base/remote.c: Fill the buffer with truely random data.
3639 Change the buffer type to ``unsigned char'' to simplify size
3640 arithmetic.
3641
3642 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3643 stub only handles 400-1 byte packets. Verify that the download
3644 worked.
3645
36461999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3647
3648 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3649 tests, using UNRESOLVED for the untested cases. Also, does not wait
3650 for a timeout if the prompt was received before a recognizable pattern.
3651
36521999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3653
3654 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3655
36561999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3657
3658 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3659 watchpoints.
3660
36611999-11-24 Jason Merrill <jason@casey.cygnus.com>
3662
3663 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3664
3665 * gdb.c++/local.exp: Be more flexible in recognizing local class
3666 name mangling. Don't allow horribly truncated method names.
3667 * gdb.c++/derivation.exp: Expect protected inheritance.
3668 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3669 * gdb.c++/virtfunc.exp: Likewise.
3670 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3671 when printing a nested enum.
3672
36731999-11-22 Jim Blandy <jimb@cygnus.com>
3674
3675 * gdb.base/step-test.exp: Properly await GDB's response to setting
3676 a breakpoint on the call to large_struct_by_value.
3677
3678 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3679 just because we have debug info for the `start' function.
3680
36811999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3682
3683 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3684 "Unknown signal" messages, which indicate (on LinuxThreads) that
3685 GDB doesn't know how to debug threads on this system. This is
3686 better than hanging while philosopher 0 dumps chatter into gdb.log.
3687
36881999-11-18 Tom Tromey <tromey@cygnus.com>
3689
3690 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3691
36921999-11-18 Fred Fish <fnf@cygnus.com>
3693
3694 * gdb.base/coremaker2.c: Add sample program for generating
3695 cores that is more self contained than coremaker.c. Eventually
3696 I'll add more code to this and tie it into the testsuite.
3697
4ce44c66
JM
36981999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3699
3700 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3701
37021999-11-10 Jimmy Guo <guo@cup.hp.com>
3703
3704 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3705 from $srcdir/lib/.
3706 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3707 and gdb.c++/.
3708
3709 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3710
beb998c6 3711 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3712 'continue with watch' test point.
3713
37141999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3715
3716 Merged from p2linux-990323-branch:
beb998c6 3717
4ce44c66
JM
3718 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3719
11cf8741
JM
3720Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3721
3722 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3723 {limit,fixed}''. Test ``set download-write-size''.
3724
3725Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3726
3727 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3728 gdb_expect_list.
3729
3730Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3731
3732 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3733
37341999-11-03 Mark Salter <msalter@cygnus.com>
3735
3736 * gdb.base/break.exp: Fix "stub continue" pattern.
3737
37381999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3739
3740 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3741
37421999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3743
3744 * gdb.base/display.exp ("finish"): Add timeout clause.
3745
3746 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3747 plain prompt clause, so this doesn't have to time out in order to
3748 fail.
3749
3750 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3751 breakpoint hit messages include an address.
3752
3753 * gdb.base/display.exp: Don't forget to escape parens in regular
3754 expressions. Unix regexp notatation sucks.
3755
37561999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3757
3758 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3759 order for 'signalled' message.
3760
5c44784c
JM
37611999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3762
3763 From Jimmy Guo <guo@cup.hp.com>:
3764 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3765 * gdb.base/annota1.c: Add code for tests to work with.
3766
37671999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3768
3769 * gdb.base/remote.exp: New test for remote downloading settings.
3770 * gdb.base/remote.c: New file with large .data.
3771
917317f4
JM
37721999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3773
3774 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3775 for LinuxThreads support, merged from the Code Fusion branch.
3776
3777Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3778
3779 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3780 containing exp_continue into a while within an expect. Don't
3781 attempt a start more than three times. Check return value from
3782 gdb_load.
beb998c6 3783
2df3850c
JM
3784Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3785
3786 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3787 a pass case.
3788
2acceee2
JM
37891999-10-01 Kevin Buettner <kevinb@cygnus.com>
3790
3791 * gdb.base/break.c (main): Added a statement that we can step
3792 off of.
3793 * gdb.base/break.exp: Added tests for setting a breakpoint
3794 at an offset and stepping onto a breakpoint.
3795
37961999-10-01 Fred Fish <fnf@cygnus.com>
3797
beb998c6 3798 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3799 gdb output.
3800
c2c6d25f
JM
38011999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3802
3803 * gdb.base/break.exp: Code locations are in hex, don't forget!
3804 (For HP-UX.)
3805
38061999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3807
3808 * condbreak.exp: Use break.c as test program.
3809 * condbreak.c: Remove, redundant with break.c.
3810
38111999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3812
3813 * config/monitor.exp (gdb_target_monitor): Disable X- and
3814 Z-packets if the target needs it.
3815
38161999-09-13 James Ingham <jingham@leda.cygnus.com>
3817
3818 * gdb.c++/overload.exp: Added tests for listing overloaded
3819 functions with function pointers in the arg, explicitly calling
3820 out the version you want.
3821
cff3e48b
JM
38221999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3823
3824 * long_long.exp: Add variations of test cases that work for
3825 targets with 16-bit ints and 32-bit doubles.
3826
d4f3574e
SS
38271999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3828
3829 * break.c (main): Compare a possibly-uninitialized argc with an
3830 unlikely value that fits in 16 bits.
3831
38321999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3833
3834 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3835 0xfeeb, don't want negative numbers if ints are 16 bits.
3836
3837 * lib/gdb.exp (skip_cplus_tests): New proc.
3838 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3839 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3840 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3841 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3842 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3843 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3844 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3845 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3846
3847 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3848
3849Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3850
3851 * gdb.base/corefile.exp (up): Allow a parameter to appear
3852 in the frame that we're going up to.
3853
3854 From Jim Blandy <jimb@cygnus.com>:
3855
3856 * gdb.base/default.exp (info float): Expect some output now.
3857
3858 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3859 returning floating-point values to fail on the x86.
3860 * gdb.base/callfwmall.exp (do_function_calls): Same.
3861
3862 * gdb.base/list.exp (test_listsize): Correct expectations for
3863 listing line 1 with listsize 2. Also, listing a single line
3864 works now, as does listing three lines. [Kevin's note: There
3865 were a number of other cases fixed too where the expectations
3866 differed...]
3867
38681999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3869
3870 * gdb.base/selftest.exp: Add case for when version prints as
3871 constant string instead of char pointer.
3872
104c1213
JM
38731999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3874
3875 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3876 stepping out of main.
3877
3878 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3879 G++ used.
3880
3881 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3882 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3883
3884 * gdb.c++/ovldbreak.exp: Update match string in test that
3885 includes a warning of multiple breakpoints.
3886
38871999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3888
3889 * gdb.base/display.exp: Improve precision of step-after-finish
3890 added yesterday.
3891
3892 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3893 test.
3894
3895 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3896 configs when using G++, not just hppa*.
3897
38981999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3899
3900 * gdb.base/async.c: New file.
3901 * gdb.base/async.exp: New file.
3902
3903Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3904
3905 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3906 PA64.
3907
53a5351d
JM
3908Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3909
104c1213
JM
3910 * gdb.base/display.exp: "finish" can leave us mid-line on many
3911 targets, deal with it. Add a small constant to main, instead of
3912 1000 since main+1000 may not be a valid address in the target.
3913
53a5351d
JM
3914 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3915 on hpux11.
3916
3917 * gdb.base/attach.exp: Handle another hpux11 error message variant
3918 when attaching to a process that does not exist.
3919
39201999-08-19 J.T. Conklin <jtc@redback.com>
3921
3922 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3923 characters in 'continue to 1241' test.
3924
39251999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3926
3927 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3928 stop in print_long_arg_list, define and use a whitespace
3929 variable in print_small_structs test, add an XFAIL for Solaris.
3930 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3931 interested enough to fix.
3932
7be570e7
JM
39331999-08-13 Keith Seitz <keiths@cygnus.com>
3934
3935 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3936 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3937 proc knows about targets other than the natives.
3938 (test_assign): Use "gdb_run_cmd" to "run" the target.
3939 Check that we've actually hit the breakpoint at main.
3940 When we attempt to assign a value to a local variable, check
3941 that the variable is in the current scope, i.e., don't use
3942 a test with an empty result.
3943
3944Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3945
3946 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3947 command.
3948
39491999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3950
3951 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3952 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3953 gdb.compat, gdb.threads-hp.
3954 gdb.hp/configure, gdb.hp/configure.in: New files.
3955 gdb.hp/Makefile.in: Recurse into new subdirs.
3956 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3957 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3958 in object files.
3959 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3960
96baa820
JM
39611999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3962
3963 * gdb.base/display.exp: Help expect by putting a newline in the
3964 funky printf, remove a bogus p/a test.
3965
39661999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3967
3968 * gdb.base/display.exp: Make sure that when we say 'run', we are
3969 connected to the target. This is necessary when running not
3970 natively.
3971
39721999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3973
3974 * gdb.base/step-test.exp: Removed some extraneous messages.
3975
3976 * gdb.base/long_long.exp: Don't run memory examination tests
3977 on little-endian targets (they will need a different set of
3978 results to match).
3979
39801999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3981
3982 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3983 until somebody decides to fix GDB.
3984
3985 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3986 constant as "ULL".
3987 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3988 matches for a couple x/2 commands.
3989
a0b3c4fd
JM
39901999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3991
3992 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3993 by merging in ref-types2 tests.
3994 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3995
3996 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3997 * gdb.c++/Makefile.in: Add standard actions.
3998 (EXECUTABLES): Rename from PROGS, update list.
3999 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4000 from gdb.hp.
4001 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4002 foo and bar locals.
4003 * gdb.c++/anon-union.exp: Fix tests to match.
4004 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4005 expect matches to handle output variations.
4006 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4007 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4008 output, add HP alternatives for new and delete prints.
4009 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4010 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4011 * gdb.c++/demangle.exp: Use $style when reporting failure.
4012 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4013 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4014 match alternatives.
4015 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4016 compilers.
4017 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4018 * gdb.c++/method.exp: Add match alternatives.
4019 * gdb.c++/misc.cc: Add bool types.
4020 * gdb.c++/misc.exp: Add tests for bool types.
4021 * gdb.c++/overload.exp: Add xfails.
4022 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4023 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4024 add some more template parameter tests (only for HP currently).
4025 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4026 * gdb.c++/virtfunc.cc: Add return type and value for main.
4027 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4028 match alternatives.
beb998c6 4029
a0b3c4fd
JM
40301999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4031
4032 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4033
40341999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4035
4036 * gdb.base/signals.exp: Don't expect getting a backtrace from
4037 within a signal handler to fail on Linux.
4038
40391999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4040
4041 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4042 * lib/gdb.exp: Remove some gratuitious semicolons.
4043 (delete_breakpoints): Increase timeout.
4044 (gdb_expect): Add -notransfer option.
4045 (gdb_test): Use -notransfer option.
4046 (get_compiler_info): Add f77 case.
4047 (get_compiler): New proc, split out from gdb_preprocess, add f77
4048 case.
4049 (gdb_preprocess): Call get_compiler.
4050
4051 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4052 * gdb.base/attach.exp, gdb.base/display.exp,
4053 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4054 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4055 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4056 third arg to gdb_test.
4057 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4058 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4059 HP-UX xfails, add others.
4060 * gdb.base/completion.exp: Reflect name change of self-test.
4061 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4062 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4063 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4064 HP failure number.
4065 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4066 useless HP-UX 10.30 references.
4067 * gdb.base/maint.exp: Loosen matches.
4068 * gdb.base/pointers.c (main): Declare more_code.
4069 * gdb.base/pointers.exp: Match on output of a `next'.
4070 * gdb.base/structs.c: Add prototypes.
4071 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4072 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4073
40741999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4075
4076 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4077 command.
4078
40791999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4080
4081 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4082 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4083
4084 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4085 debug info. Deal with lack of signal hanlder info in stack.
4086
4087 From Jim Kingdon <kingdon@redhat.com>:
4088 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4089
5a2468f5
JM
40901999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4091
4092 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4093 gdb.base/foll-vfork.exp: Don't run for crosses.
4094
adf40b2e
JM
4095Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4096
4097 * gdb.base/configure.in: Check for gdbvars.exp instead of
4098 a1-selftest.exp.
4099 * gdb.base/configure: Re-generate.
4100
41011999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4102
4103 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4104 in trying to run first and name is too long.
4105
4106 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4107 pointers2.c and pointers2.exp, respectively.
4108 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4109 doschk happier.
4110
43e526b9
JM
41111999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4112
4113 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4114 callfuncs2.c and callfuncs2.exp.
4115
4116 * gdb.base/list.exp: Remove mistaken xfails.
4117 * gdb.base/list0.h: Add optional prototypes.
4118
9846de1b
JM
4119Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4120
4121 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4122 calling malloc.
4123 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4124 * ptype.exp: Move test for get_debug_format to before its first
4125 use.
4126
41271999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4128
4129 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4130 * gdb.base/annota2.cc, annota2.exp: Move from here.
4131 * gdb.c++/annota2.cc, annota2.exp: To here.
4132 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4133
43ff13b4
JM
4134Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4135
4136 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4137 a consistent format.
4138
085dd6e6
JM
41391999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4140
4141 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4142 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4143 HP compilers, also set the globals $true and $false.
4144
4145 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4146 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4147 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4148 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4149 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4150 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4151 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4152 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4153 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4154 whatis.c} Add C++ compatible function definitions and return
4155 types, add includes for library functions.
4156 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4157 * gdb.base/step-test.c (myglob): Rename from glob.
4158 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4159 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4160 files, move here from gdb.hp.
4161 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4162 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4163 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4164 Adjust line numbers in regexps.
4165
4166 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4167 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4168 instead of 0/1.
4169
4170 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4171 foll-vfork.exp: New files, move here from gdb.hp.
4172 * gdb.base/page.exp: New file, test of pagination command.
4173
4174 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4175 recursion test.
4176 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4177
4178 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4179 gdb.base/solib.exp: Fix compiler invocation process.
4180
4181 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4182 HP-UX 11, turn off overload resolution explicitly.
4183 * gdb.base/commands.exp: Set argument list explicitly, add
4184 watchpoint test.
4185 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4186 them work.
4187 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4188 expressions properly.
4189 * gdb.base/corefile.exp: Loosen the match slightly.
4190 * gdb.base/default.exp: Allow "Error accessing memory" message
4191 also.
4192 * gdb.base/display.exp: Skip over x/0 j if PA64.
4193 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4194 * gdb.base/interrupt.exp: Ditto.
4195 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4196 in use.
4197 * gdb.base/list.exp: Add xfails for HP-UX.
4198 * gdb.base/long_long.exp: Refine some of the numeric matches.
4199 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4200 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4201 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4202 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4203 * gdb.base/ptype.exp: Succeed on more varieties of output.
4204 * gdb.base/scope.exp: Add xfails for HP-UX.
4205 * gdb.base/sect-cmd.exp: Add more cases.
4206 * gdb.base/setvar.exp: Add xfails for HP-UX.
4207 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4208 * gdb.base/signals.exp: Match on void symbolically.
4209 * gdb.base/step-test.exp: Add case for PA64.
4210 * gdb.base/term.exp: Add exit and restart.
4211 * gdb.base/twice.exp: Clean up after self.
4212 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4213 * gdb.base/whatis.exp: Allow more ways to pass tests.
4214
4215 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4216 no longer useful.
4217
4218Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4219
4220 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4221 list of patterns.
4222 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4223 print_double_array(double_array)", "continuing to breakpoint
4224 1018", "print print_double_array(array_d)" and "continuing to
4225 1034" tests.
beb998c6 4226
085dd6e6
JM
42271999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4228
4229 * Makefile.in: Add empty html and install-html targets.
4230
42311999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4232
4233 * config/mt-*: Remove, these haven't been used since 1996.
4234
42351999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4236
4237 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4238 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4239 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4240
9e0b60a8
JM
42411999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4242
4243 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4244 simpler match case for the ptype of the big class.
4245
42461999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4247
4248 * gdb.exp: Fix test for gdb_prompt existence.
4249
42501999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4251
4252 * gdb.exp (gdb_test): Add fail after calls to perror.
4253
42541999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4255
4256 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4257
42581999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4259
4260 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4261
0f71a2f6
JM
4262Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4263
4264 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4265 malloc() is linked in.
4266
42671999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4268
4269 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4270 step at end.
4271
4272 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4273
42741999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4275
4276 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4277
cce74817
JM
4278Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4279
4280 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4281 * gdb.base/mips_pro.exp: Likewise.
4282
42831999-06-02 Keith Seitz <keiths@cygnus.com>
4284
4285 * gdb.c++/templates.cc: Change all "new" operators to throw
4286 an exception.
4287 * gdb.c++/cplusfuncs.cc: Likewise.
4288
4289 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4290
4291Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4292
4293 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4294 * gdb.base/ending-run.exp: When stepping out of main, accept a
4295 step into an arbitrary assembler file.
4296
392a587b
JM
42971999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4298
beb998c6 4299 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4300 "breakpoint-invalid" to be printed.
beb998c6 4301 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4302 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4303 * gdb.base/annota2.cc: Initialize a.x to 0.
4304
9e086581
JM
43051999-05-17 Keith Seitz <keiths@cygnus.com>
4306
4307 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4308 when "skip_float_tests" set.
4309 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4310 "print print_ten_doubles", and "step into print_long_arg_list".
4311 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4312 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4313 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4314 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4315 "skip_float_tests" is set.
4316 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4317 when "skip_float_tests" set.
beb998c6 4318
cd0fc7c3
SS
43191999-05-06 Keith Seitz <keiths@cygnus.com>
4320
4321 * gdb.base/annota2.cc: Include stdio.h.
4322
4323Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4324
4325 * gdb.base/crossload.exp: Remove, this has been disabled ever
4326 since BFD stopped including all targets, and cross-GDB gets
4327 plenty of testing anyway.
4328 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4329 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4330 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4331 * gdb.base/README: Remove, was doc for this.
4332 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4333 needed.
4334
b83266a0
SS
43351999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4336
4337 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4338 output.
4339
4340 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4341 * gdb.base/annota2.exp: New file. More annotation tests.
4342 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4343 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4344
43451999-04-23 Angela Marie Thomas <angela@cygnus.com>
4346
4347 * config/cfdbug.exp: New file.
4348
7a292a7a
SS
43491999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4350
4351 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4352 Marcus Daniel's and Dale Hawkins's demangler crashes.
4353
4354 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4355 test_lucid_style_demangling, test_arm_style_demangling,
4356 test_hp_style_demangling): Try Tom Tromey's core-dumping
4357 identifier under each demangling style.
4358
43591999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4360
4361 * gdb.c++/demangle.exp: Include the current demangling style
4362 in all test names.
4363 (current_demangling_style): New global variable.
4364 (set_demangling_style, test_demangling_core, test_demangling,
4365 test_demangling_exact): New functions.
4366 (test_gnu_style_demangling, test_lucid_style_demangling,
4367 test_arm_style_demangling, test_hp_style_demangling): Use those,
4368 instead of calling gdb_test and gdb_test_exact directly.
4369 (catch_demangling_errors): New function, which reports errors
4370 signalled by the demangling test functions in an orderly way.
4371 (do_tests): Use catch_demangling_errors.
4372
43731999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4374
4375 * gdb.base/signals.exp (test_handle_all_print): Use () for
4376 grouping in expressions, not {}.
4377
4378 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4379 initialized yet.
4380
43811999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4382
4383 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4384 are listed.
4385
43861999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4387
4388 * gdb.stabs/weird.exp: Test for CC being defined before
4389 looking at its value.
4390
43911999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4392
4393 * gdb.base/call-ar-st.exp: Remove stray '#'.
4394 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4395 "short int" and "long int".
4396 * gdb.c++/overload.cc: Cast the string added in the previous
4397 change, to mollify finicky HP compiler.
4398 * gdb.hp/reg-test.exp (testfile): Fix file name.
4399 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4400
7a292a7a
SS
4401 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4402 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4403 alternate form of enum ptype.
4404
c906108c
SS
44051999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4406
7a292a7a
SS
4407 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4408 * gdb.hp/*.exp: Change all to run compiler probe only after
4409 passing skip_hp_tests, so as not to waste time on guaranteed
4410 failure.
4411
c906108c
SS
4412 * gdb.c++/overload.cc: Pass string instead of char addr, always
4413 init ccpfoo.
4414 * gdb.c++/templates.cc: Fix syntax error.
4415
7a292a7a
SS
4416Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4417
4418 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4419 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4420 command.
4421
44221999-03-18 James Ingham <jingham@cygnus.com>
4423
4424 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4425
4426 * gdb.c++/method.exp: It was testing an uninitialized int on the
4427 stack and assuming it was positive.
4428
4429 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4430
4431 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4432 keep it from killing the rest of the tests.
7a292a7a
SS
4433 Use gdb_continue_to_end.
4434
4435 * gdb.base/sigall.exp: use gdb_continue_to_end.
4436
4437 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4438
4439 * gdb.base/display.exp: use runto_main, not run.
4440
beb998c6
AC
4441 * gdb.base/default.exp: Check for the current error message in the
4442 r abbreviation test.
7a292a7a
SS
4443 Add strongarm to the targets that know info float.
4444
beb998c6 4445 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4446 run which doesn't work with monitors.
4447
4448 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4449
4450 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4451
4452 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4453 program. Traps the case (in Cygmon) when the program never really
4454 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4455 more places, so I used my name. Sorry Mark...
4456
4457 * config/monitor.exp (gdb_target_monitor): added another
4458 target_info parameter: remotebinarydownload. This will set the
4459 remotebinarydownload flag if this is causing some boards trouble.
4460
44611999-03-18 Mark Salter <msalter@cygnus.com>
4462
4463 * lib/gdb.exp (continue_to_exit): New function.
4464
4465 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4466 * gdb.base/ending-run.exp: Ditto.
4467 * gdb.base/step-test.exp: Ditto.
4468
44691999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4470
4471 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4472 (suggested by Art Haas <ahaas@neosoft.com>).
4473
44741999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4475
4476 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4477
4478Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4479
4480 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4481 descriptions of types (short unsigned int vs unsigned short, etc).
4482
44831999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4484
4485 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4486 a call to strlen; sometimes we do have sources.
4487
44881999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4489
4490 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4491 character, so GDB won't print garbage after its end.
beb998c6 4492
c906108c
SS
4493 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4494 breakpoint there instead. Sometimes GCC emits memcpy to handle
4495 the large structures being passed by value, so we step into that
4496 instead of sum_array_print, which obscures what we're really testing.
4497 * gdb.base/step-test.exp: However, we do want a test that notices
4498 the bizarre steps into memcpy, so do that here. Add check for
4499 stepping into function calls that pass large structures by value.
4500 ("Is that a noun clause, or are you just happy to see me?")
4501 Remove all references to specific line numbers.
4502 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4503 New type and function.
4504 (main): Call large_struct_by_value, passing it a large struct by value.
4505 * lib/gdb.exp (gdb_get_line_number): New function.
4506
4507 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4508 more portable.
4509
7a292a7a
SS
45101999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4511
c906108c
SS
4512 * lib/gdb.exp: Doc fixes.
4513
7a292a7a
SS
45141999-03-05 Nick Clifton <nickc@cygnus.com>
4515
beb998c6 4516 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4517
45181999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4519
c906108c
SS
4520 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4521 commands. They're not germane to this test, and they don't work
4522 that way on remote targets.
4523
3fc11d3e
JM
45241999-03-01 James Ingham <jingham@cygnus.com>
4525
4526 * Changelog entries merged over from gdb development branch.
4527
3fc11d3e
JM
4528 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4529
4530 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4531 for outputting results of test run.
4532
2d4a1622 4533 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4534
4535 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4536
7a292a7a
SS
45371999-02-25 Felix Lee <flee@cygnus.com>
4538
4539 * lib/gdb.exp (debug_format): initialize
4540
c906108c
SS
45411999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4542
4543 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4544 * gdb.base/call-rt-st.c: Ditto.
4545
c906108c
SS
45461999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4547
4548 * gdb.threads/pthreads.exp (horiz): New variable.
4549 (test_startup): Fix regexps that capture thread numbers.
4550
45511999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4552
4553 * gdb.base/smoke.exp: Disambiguate two test case names (both
4554 called ``print'').
4555
4556Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4557
4558 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4559 compilation.
4560
45611999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4562
4563 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4564 actual output formatting.
4565 * gdb.base/smoke.exp: GDB removes leading 0's.
4566 * gdb.base/volatile.exp: Don't check type of remuneration;
4567 that variable is no longer defined in constvars.c.
4568 * gdb.base/step-test.c (main): Exit with explicit exit code.
4569 * gdb.base/step-test.exp: Remove two nexti checks--they are
4570 not portable.
4571
45721999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4573
4574 * gdb.base/help.exp ("help delete display"): Fix test to match
4575 gdb's output.
4576
4577 * gdb.base/long_long.c (known_types): Initialize values to zero.
4578 * gdb.base/long_long.exp: Step one more line
4579 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4580 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4581 unique test case names.
4582
4583Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4584
beb998c6 4585 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4586
4587 * gdb.c++/method.exp: Add missing close brace.
4588
45891999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4590
4591 * gdb.base/maint.exp: Use 'set height 0' to disable page
4592 prompting, not 'set height 400'.
4593
4594 Fix a bunch of timeouts.
4595 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4596 four separate tests, so expect doesn't take forever to match a ton
4597 of text against a regexp with lots of .* forms.
4598 ("maint print psymbols", "maint print symbols"): Make some of
4599 these greps more selective, so that expect doesn't try to wade
4600 through huge piles of output and time out.
4601
4602 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4603
4604 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4605 tests: one which doesn't expect shlib events to be reported, and
4606 another which does, but is XFAIL for all platforms other than
4607 HP/UX.
4608
4609 * gdb.base/break.exp: Teach the test suite that the `catch
4610 fork', `catch vfork', and `catch exec' commands produce error
4611 messages on platforms that don't provide these features.
4612
4613Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4614
4615 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4616 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4617 (shortening names from solib_threshold.exp etc), won't run on
4618 anything but HP-UX for the foreseeable future.
4619 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4620 reflect move.
4621
4622Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4623
4624 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4625 gdb.trace/Makefile.in (clean): Remove all test executables.
4626
4627Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4628
4629 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4630 successfully re-sets breakpoints in shared libraries.
4631 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4632
4633Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4634
beb998c6
AC
4635 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4636 and compiled w/o GCC.
c906108c
SS
4637
4638 * gdb.hp/watch-cmd.exp: ditto.
4639
4640 * gdb.hp/watch-hp.exp: ditto.
4641
4642 * gdb.hp/xdb1.exp: ditto.
4643
4644 * gdb.hp/xdb2.exp: ditto.
4645
4646 * gdb.hp/dbx.exp: ditto.
4647
4648Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4649
4650 * constvars.c: Remove C++-isms.
4651 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4652 with GCC.
4653
4654Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4655
4656 The following changes are part of the HP merge.
4657
4658 * gdb.base/break.exp: new tests to verify that catchpoints for
4659 fork, vfork, and exec don't trigger inappropriately.
4660
4661 * gdb.base/opaque.exp: compile one file at a time, then link.
4662
4663 * gdb.base/signals.exp: be more restrictive about which hppa
4664 systems receive a setup_xfail. new tests.
4665
4666 * gdb.base/solib_threshold.build: new file.
4667 * gdb.base/solib_threshold.exp: new file.
4668 * gdb.base/solib_threshold.link_opts: new file.
4669 * gdb.base/solib_threshold.mk: new file.
4670 * gdb.base/gen_solib_threshold.c: new file.
4671
4672 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4673 tests. New tests for enums inside classes.
4674
4675 * gdb.c++/compiler.cc: indicate support of template debugging.
4676
4677 * gdb.c++/demangle.exp: run hp style demangling tests.
4678
4679 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4680 tests.
4681
4682 * gdb.c++/misc.cc: changes to support new tests.
4683
4684 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4685 to support new tests.
4686
4687 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4688 gcc, then skip these tests.
4689
4690Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4691
4692 The following files are part of the HP merge; some had longer
4693 names at HP, but have been renamed to be no more than 14
4694 characters in length.
4695
4696 * gdb.hp/ambiguous.cc: new file.
4697 * gdb.hp/ambiguous.exp: new file.
4698 * gdb.hp/attach.exp: new file.
4699 * gdb.hp/attach2.exp: new file.
4700 * gdb.hp/classes-hp.exp: new file.
4701 * gdb.hp/ctti.exp: new file.
4702 * gdb.hp/ctti-add.cc: new file.
4703 * gdb.hp/ctti-add1.cc: new file.
4704 * gdb.hp/ctti-add2.cc: new file.
4705 * gdb.hp/ctti-add3.cc: new file.
4706 * gdb.hp/dbx.exp: new file.
4707 * gdb.hp/exception.cc: new file.
4708 * gdb.hp/exception.exp: new file.
4709 * gdb.hp/foll-exec.c: new file.
4710 * gdb.hp/foll-exec.exp: new file.
4711 * gdb.hp/foll-fork.c: new file.
4712 * gdb.hp/foll-fork.exp: new file.
4713 * gdb.hp/foll-vfork.c: new file.
4714 * gdb.hp/foll-vfork.exp: new file.
4715 * gdb.hp/inherit-hp.exp: new file.
4716 * gdb.hp/more-steps.exp: new file.
4717 * gdb.hp/namespace.cc: new file.
4718 * gdb.hp/namespace.exp: new file.
4719 * gdb.hp/optimize.exp: new file.
4720 * gdb.hp/pxdb.c: new file.
4721 * gdb.hp/pxdb.exp: new file.
4722 * gdb.hp/quicksort.exp: new file.
4723 * gdb.hp/reg-test.exp: new file.
4724 * gdb.hp/reg-test.s: new file.
4725 * gdb.hp/sized-enum.c: new file.
4726 * gdb.hp/sized-enum.exp: new file.
4727 * gdb.hp/start-stop.exp: new file.
4728 * gdb.hp/templ-hp.cc: new file.
4729 * gdb.hp/templ-hp.exp: new file.
4730 * gdb.hp/thr-lib.c: new file.
4731 * gdb.hp/thr-lib.exp: new file.
4732 * gdb.hp/thr-lib.h: new file.
4733 * gdb.hp/thr-liblib.c: new file.
4734 * gdb.hp/virtfun-hp.c: new file.
4735 * gdb.hp/virtfun-hp.exp: new file.
4736 * gdb.hp/watch-cmd.exp: new file.
4737 * gdb.hp/watch-hp.exp: new file.
4738 * gdb.hp/xdb1.exp: new file.
4739 * gdb.hp/xdb2.exp: new file.
4740 * gdb.hp/xdb3.exp: new file.
4741
4742Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4743
4744 The following files are part of the HP merge; some had longer
4745 names at HP, but have been renamed to be no more than 14
4746 characters in length.
4747
4748 * gdb.base/ss.h: new file.
4749 * gdb.base/call-ar-st.c: new file.
4750 * gdb.base/call-ar-st.exp: new file.
4751 * gdb.base/call-rt-st.c: new file.
4752 * gdb.base/call-rt-st-exp: new file.
4753 * gdb.base/call-strs.exp: new file.
4754 * gdb.base/ena-dis-br.exp: new file.
4755 * gdb.base/environ.exp: new file.
4756 * gdb.base/long_long.exp: new file.
4757 * gdb.base/sect-cmd.exp: new file.
4758 * gdb.base/shlib-cl2.exp: new file.
4759 * gdb.base/smoke.exp: new file.
4760 * gdb.base/so-impl-ld.c: new file.
4761 * gdb.base/so-impl-ld.exp: new file.
4762 * gdb.base/so-indr-cl.c: new file.
4763 * gdb.base/so-indr-cl.exp: new file.
4764 * gdb.base/varargs.exp: new file.
4765 * gdb.base/volatile.exp: new file.
4766 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4767 * gdb.base/display.exp: new file.
c906108c
SS
4768 * gdb.c++/derivation.exp: new file.
4769 * gdb.c++/local.exp: new file.
4770 * gdb.c++/member-ptr.exp: new file.
4771 * gdb.c++/overload.exp: new file.
4772 * gdb.c++/ovldbreak.exp: new file.
4773 * gdb.c++/ref-types.exp: new file.
4774 * gdb.c++/ref-types2.exp: new file.
4775 * gdb.c++/userdef.exp: new file.
beb998c6 4776
c906108c
SS
4777Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4778
4779 * gdb.base/default.exp: Reflect wording change in remote.c.
4780
dc96c6c7 4781Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4782
4783 * gdb.base/help.exp: Update to reflect current text.
4784
4785Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4786
4787 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4788 they're stack variables and contain garbage.
4789 * gdb.c++/anon-union.exp: new file.
4790
4791 The following changes were made by David Taylor
4792 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4793 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4794 in changes by HP.
4795
4796 * gdb.base/bitops.exp: new file.
4797 * gdb.base/default.exp: change expected messages for catch and
4798 info catch tests to reflect HP merge changes.
4799 * gdb.base/enable-disable-break.exp
4800 * gdb.base/ending-run.c: new file.
4801 * gdb.base/long_long.c: new file.
4802 * gdb.base/maint.exp: new file.
4803 * gdb.base/pointers2.exp: new file.
4804 * gdb.base/shlib-call2.exp: new file.
4805 * gdb.base/solib.exp: new file.
4806 * gdb.base/step-test.c: new file.
4807 * gdb.c++/anon-union.cc: new file.
4808 * gdb.c++/local.cc: new file.
4809 * gdb.c++/member-pointer.cc: new file.
4810 * gdb.c++/method.cc: new file.
4811 * gdb.c++/ref-types.cc: new file.
4812 * gdb.c++/ref-types2.cc: new file.
4813 * gdb.c++/userdef.cc: new file.
beb998c6 4814
c906108c
SS
4815 * gdb.base/scope.exp: compile one file at a time, then link.
4816 * gdb.base/langs.exp: ditto.
4817 * gdb.base/list.exp: ditto.
beb998c6 4818
c906108c
SS
4819Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4820
4821 The following changes were made by David Taylor
4822 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4823 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4824 in changes by HP.
beb998c6 4825
c906108c
SS
4826 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4827 skip tests. When compiling pass c++ flag to gdb_compile.
4828 * gdb.c++/
beb998c6 4829
c906108c
SS
4830 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4831 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4832 (skip_hp_tests): new function.
4833 (gdb_preprocess): new function.
4834
4835 * configure.in (hpdir): decide whether to configure gdb.hp.
4836 * configure: regenerated.
4837
4838 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4839 to delete on clean.
4840 (EXECUTABLES): update to reflect new additions.
4841 * gdb.base/commands.exp: update message expected.
4842 * gdb.base/default.exp: add copyright notice.
4843 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4844 * gdb.base/help.exp: update messages to reflect current text.
4845 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4846 targets for recurse tests.
4847 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4848 skip this file.
4849
4850 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4851 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4852 compilation.
4853 * gdb.c++/misc.exp: ditto.
4854 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4855 run the tests. tell gdb_compile that it's a c++ compilation.
4856
4857 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4858
c906108c
SS
4859 * gdb.base/all-bin.exp: new file.
4860 * gdb.base/arithmet.exp: new file.
4861 * gdb.base/assign.exp: new file.
4862 * gdb.base/completion.exp: new file.
4863 * gdb.base/cond-expr.exp: new file.
4864 * gdb.base/condbreak.exp: new file.
4865 * gdb.base/define.exp: new file.
4866 * gdb.base/dollar.exp: new file.
4867 * gdb.base/environment.exp: new file.
4868 * gdb.base/eval-skip.exp: new file.
4869 * gdb.base/jump.exp: new file.
4870 * gdb.base/logical.exp: new file.
4871 * gdb.base/pointers.exp: new file.
4872 * gdb.base/relational.exp: new file.
4873 * gdb.base/section_command.exp: new file.
4874 * gdb.base/whatis-expr.exp: new file.
4875
4876 * gdb.base/all-types.c: new file.
4877 * gdb.base/call-array-struct.c: new file.
4878 * gdb.base/call-return-struct.c: new file.
4879 * gdb.base/call-strings.c: new file.
4880 * gdb.base/callfuncs2.c: new file.
4881 * gdb.base/condbreak.c: new file.
4882 * gdb.base/constvars.c: new file.
4883 * gdb.base/display.c: new file.
4884 * gdb.base/int-type.c: new file.
4885 * gdb.base/jump.c: new file.
4886 * gdb.base/miscexprs.c: new file.
4887 * gdb.base/pointers.c: new file.
4888 * gdb.base/pointers2.c: new file.
4889 * gdb.base/shmain.c: new file.
4890 * gdb.base/shr1.c: new file.
4891 * gdb.base/shr2.c: new file.
4892 * gdb.base/solib.c: new file.
4893 * gdb.base/solib1.c: new file.
4894 * gdb.base/solib2.c: new file.
4895 * gdb.base/varargs.c: new file.
4896 * gdb.c++/derivation.cc: new file.
4897 * gdb.c++/overload.cc: new file.
4898 * gdb.c++/ovldbreak.cc: new file.
4899 * gdb.hp/attach.c: new file.
4900 * gdb.hp/attach2.c: new file.
4901 * gdb.hp/average.c: new file.
4902 * gdb.hp/compiler.c: new file.
4903 * gdb.hp/compiler.cc: new file.
4904 * gdb.hp/execd-program.c: new file.
4905 * gdb.hp/follow-exec.c: new file.
4906 * gdb.hp/follow-fork.c: new file.
4907 * gdb.hp/follow-vfork-and-exec.c: new file.
4908 * gdb.hp/misc-hp.cc: new file.
4909 * gdb.hp/more-steps.c: new file.
4910 * gdb.hp/optimize.c: new file.
4911 * gdb.hp/quicksort.c: new file.
4912 * gdb.hp/run-hp.c: new file.
4913 * gdb.hp/start-stop.c: new file.
4914 * gdb.hp/sum.c: new file.
4915 * gdb.hp/templates-hp.cc: new file.
4916 * gdb.hp/thread-local-in-lib.c: new file.
4917 * gdb.hp/thread-local-in-lib.h: new file.
4918 * gdb.hp/thread-local-in-lib.lib.c: new file.
4919 * gdb.hp/vforked-program.c: new file.
4920 * gdb.hp/virtfunc-hp.cc: new file.
4921 * gdb.hp/watchpoint-hp.c: new file.
4922 * gdb.hp/xdb.c: new file.
4923 * gdb.hp/xdb0.c: new file.
4924 * gdb.hp/xdb0.h: new file.
4925 * gdb.hp/xdb1.c: new file.
4926
4927Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4928
4929 The following change was made by Edith Epstein
4930 <eepstein@cygnus.com> as part of a project to merge in changes
4931 originally made by HP; HP did not create ChangeLog entries.
4932
4933 * gdb.c++/demangle.exp: changed the expected output for some
4934 ARM-style mangling -- removed second reference to datatype.
4935 For example, maint demangle __dt__11T1__pt__2_cFv
4936 T1<char>::~T1<char>(void)
4937 becomes,
4938 maint demangle __dt__11T1__pt__2_cFv
4939 T1<char>::~T1(void)
4940
4941 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4942
c906108c
SS
4943Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4944
4945 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4946 * gdb.trace/backtrace.exp: Likewise.
4947 * gdb.trace/circ.exp: Likewise.
4948 * gdb.trace/collection.exp: Likewise.
4949 * gdb.trace/deltrace.exp: Likewise.
4950 * gdb.trace/infotrace.exp: Likewise.
4951 * gdb.trace/limits.exp: Likewise.
4952 * gdb.trace/packetlen.exp: Likewise.
4953 * gdb.trace/passc-dyn.exp: Likewise.
4954 * gdb.trace/passcount.exp: Likewise.
4955 * gdb.trace/report.exp: Likewise.
4956 * gdb.trace/save-trace.exp: Likewise.
4957 * gdb.trace/tfind.exp: Likewise.
4958 * gdb.trace/tracecmd.exp: Likewise.
4959 * gdb.trace/while-dyn.exp: Likewise.
4960 * gdb.trace/while-stepping.exp: Likewise.
4961
49621998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4963
4964 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4965
4966Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4967
4968 From Brendan Kehoe:
4969 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4970 int return types.
4971
4972Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4973
4974 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4975 remote dos host testing right.
4976
4977Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4978
4979 * gdb.base/corefile.exp: remove some xfails.
4980
4981Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4982
4983 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4984 have different timestamps.
4985
4986Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4987
4988 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4989 gdb.base/default.exp: Replace "exec" with "executable".
4990
4991Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4992
4993 * gdb.base/default.exp: Change else if to elseif from previous
4994 delta.
4995
4996Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4997
4998 * gdb.base/default.exp: Add brace missing from previous delta.
4999
5000Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5001
5002 * gdb.base/default.exp: Support test for info float for all
5003 varieties of arm toolchain.
5004
dc96c6c7 5005Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5006
5007 * gdb.trace/*.exp: remove "remote_download" command.
5008
dc96c6c7 5009Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5010
5011 * gdb.trace/*.exp: remove -gdwarf from compile.
5012
5013Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5014
5015 * gdb.trace/configure.in(AC_INIT): typo
5016 * gdb.trace/configure: regenerated
5017
dc96c6c7 5018Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5019
5020 * config/m68k-emc.exp: New file.
5021 * lib/<emc-support.exp trace-support.exp}: New files.
5022 * configure.in: add new test directory gdb.trace.
5023 * gdb.trace/{configure configure.in Makefile.in}: New files.
5024 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5025 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5026 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5027 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5028 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5029 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5030 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5031
dc96c6c7 5032Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5033
5034 * gdb.c++/classes.exp: Change all regular expressions to match
5035 arbitrary combinations of newline/carriage-return, so that they
5036 will work equally well on Unix and Windows.
5037 * gdb.c++/inherit.exp: ditto.
5038 * gdb.c++/virtfunc.exp: ditto.
5039
50401998-08-11 Dawn Perchik <dawn@cygnus.com>
5041
5042 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5043
c2d11a7d
JM
5044Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5045
5046 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5047 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5048 to use a0-a3/d0-d3 as needed.
5049
5050Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5051
5052 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5053 * gdb.disasm/am33.exp: Corresponding changes.
5054
c906108c
SS
50551998-07-11 Felix Lee <flee@cygnus.com>
5056
5057 * gdb.base/callfuncs.exp: add cmp10 test.
5058 * gdb.base/callfuncs.c (cmp10): new function.
5059
5060Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5061
beb998c6 5062 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5063 into two parts to get around a synchronization problem in expect.
5064
3fc11d3e
JM
5065Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5066
5067 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5068
5069 * configure.in: Add options for gdbtk testsuite.
5070
5071 * configure: Regenerate.
5072
5073 * gdb.gdbtk: New directory to hold gdbtk tests.
5074
c906108c
SS
5075Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5076
5077 * gdb.fortran/types.exp: Escape brackets in expect patterns
5078 for test_float_literal_types_accepted tests.
5079 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5080 before run test.
5081
c2d11a7d
JM
5082Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5083
5084 * am33.exp: Just compile, do not link the testcase.
5085 * am33.s: Add ".am33" pseudoop to force am33 mode.
5086
c906108c
SS
50871998-06-25 Felix Lee <flee@cygnus.com>
5088
5089 * gdb.base/setshow.exp: make sure $pc is sane.
5090
5091 * gdb.stabs/weird.exp: split expect patterns properly.
5092
c2d11a7d
JM
5093Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5094
5095 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5096 * gdb.disasm/am33.exp: Run it.
5097
dc96c6c7 5098Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5099
5100 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5101 match processing (and eliminate spurious timeouts when running).
5102
dc96c6c7 5103Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5104
5105 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5106 exception test, but conditionalize it on target [mach | gnu].
5107
dc96c6c7 5108Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5109
5110 * gdb.base/overlays.exp: fixup compile line for linker script.
5111
5112Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5113
5114 * gdb.fortran/types.exp: don't guess at float size.
5115
5116Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5117
5118 * gdb.base/exprs.exp: delete test that depends on int size.
5119
5120Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5121
5122 * config/sim.exp: Removed checks for target triplets.
5123 (gdb_target_sim): Use gdb,target_sim_options.
5124
5125Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5126
5127 * gdb.base/reread.exp: New file.
5128 * gdb.base/reread1.c: New file.
5129 * gdb.base/reread2.c: New file.
5130
5131Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5132
5133 * config/sim.exp: Use 'target sim -sparclite' when running
5134 SPARClite programs.
5135
5136Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5137
5138 * gdb.base/structs2.exp: New file.
5139 * gdb.base/structs2.c: New file.
5140
5141Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5142
5143 * gdb.asm/common.inc: New file.
5144 * gdb.asm/d10v.inc: New file.
5145 * asm-source.exp: Pass -I's to gas to find .inc files.
5146 Update line numbers in expected output.
5147 * asmsrc1.s: Rewrite.
5148 * asmsrc2.s: Rewrite.
5149 * configure.in: Create arch.inc symlink.
5150 * configure: Regenerate.
5151 * Makefile.in (distclean): Delete arch.inc.
5152
5153Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5154
5155 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5156 (t_enum_value2): ditto
5157 (t_enum_value3): ditto
5158 (main): ditto
5159Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5160
5161 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5162 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5163 change.
5164 Use gdb_test instead of send_gdb/gdb_expect sequences.
5165
5166Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5167
5168 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5169 not void.
5170
5171Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5172
5173 * gdb.base/branches.c: Code with lots of loops and
5174 subroutines. Used to test gdbs ability to single step through PC
5175 changes, especially to test mips-tdep.c:mips_next_pc
5176
5177Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5178
5179 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5180 more rigorous EGCS C++ error checking.
5181
5182Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5183
5184 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5185 tests.
c906108c 5186 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5187 function when asleep.
c906108c 5188 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5189 for i*86 Linux and SVR4 signal handling problems.
5190 Remove linux xfail for `next to handler in signals_tests_1', fixed
5191 by recent infrun.c change.
c906108c 5192 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5193 stack backtraces.
c906108c
SS
5194 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5195 target.[ch] change.
5196
5197Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5198
5199 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5200 for a newline from gdb before continuing.
5201 (default_gdb_exit): Just look for y or n.
5202 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5203 it does, fail the rests of the tests in the file.
5204
5205Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5206
5207 * config/cygmon.exp: New file.
5208
5209Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5210
5211 * gdb.base/list.exp: Fix problem with "list default lines around
5212 main" test on remote targets.
5213
5214 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5215 run test on remote targets.
5216
5217Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5218
5219 * gdb.asm: New directory.
5220 * configure.in: Configure it.
5221 * configure: Regenerate.
5222 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5223 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5224
5225Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5226
5227 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5228
dc96c6c7 5229Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5230
c906108c
SS
5231 * gdb.base/overlays (several files): Merge the two overlay
5232 managers into one. Change variables (foox, barx, bazx, grbxx)
5233 back into ints but force them to load in their proper sections.
5234
5235Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5236
5237 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5238 on-chip insn memory and IMAP1 to upper 128k.
5239 (D10VCopy): Handle memory regions crossing 16k boundaries.
5240 (D10VCopy): Transfer data in 32 bit chunks.
5241
5242Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5243
5244 * gdb.base/overlays.c (main): Exit normally when result is
5245 correct.
5246
5247 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5248 map. Include space for printf in .text segment.
5249
5250 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5251 updated d10v memory VMA/LMA map.
5252 (D10VCopy): Call D10VTranslate.
beb998c6 5253
c906108c
SS
5254Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5255
5256 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5257
5258 * gdb.base/bar.c (barx, bar): Change variable to small array so
5259 that it won't be put into the .sdata - small data -
5260 section. Update reference.
5261 * gdb.base/baz.c (bazx, baz): Ditto.
5262 * gdb.base/foo.c (foox, foo): Ditto.
5263 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5264
5265 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5266 to be arrays.
beb998c6 5267
dc96c6c7 5268Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5269
c906108c
SS
5270 * gdb.base/overlays.exp: fix up and get working again.
5271 Add tests for backtraces from an overlay function.
beb998c6 5272
c906108c
SS
5273Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5274
5275 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5276 "calling function with watchpoint enabled".
5277
5278Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5279
5280 * gdb.base/break.exp (test_next_with_recursion): Remove
5281 gdb_suppress_tests for d10v-*-*.
5282 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5283 pending review of whether it is useful or not.
5284
5285Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5286
5287 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5288
5289Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5290
5291 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5292 * config/dve.exp: New file to support Densan boards.
5293
5294Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5295
5296 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5297 reads and BSD.
5298
5299Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5300
5301 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5302 response.
5303
5304 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5305
5306Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5307
5308 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5309 test.
5310
5311 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5312 target_sizeof_long and target_bigendian_p.
5313 (structs_by_value, structs_by_reference): Check values according
5314 to targets word size and endianess.
beb998c6 5315
c906108c
SS
5316Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5317
5318 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5319 output.
5320
5321Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5322
5323 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5324 Update test of set args help to match source change.
5325
5326Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5327
5328 * gdb.base/default.exp: Expect help system output to be in
5329 alphabetical order.
5330 * gdb.base/help.exp: Ditto.
5331
5332Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5333
5334 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5335 "i*86-pc-linux-gnu*".
5336 * gdb.base/interrupt.exp: Ditto.
5337 * gdb.base/corefile.exp: Ditto.
5338
5339 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5340 define vxworks when building the testcase.
5341
5342 * gdb.base/ptype.exp: Fix testnames to be unique.
5343 * gdb.base/radix.exp: Ditto.
5344 * gdb.base/term.exp: Ditto.
5345 * gdb.base/whatis.exp: Ditto.
5346 * gdb.c++/classes.exp: Ditto.
5347
5348Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5349
5350 * gdb.base/callfuncs.exp: Fix indentation.
5351
5352 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5353 suppress_flag has been set.
5354 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5355 target feature.
5356
5357Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5358
5359 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5360 the testcase.
5361
5362 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5363 set_debug_traps() and breakpoint().
5364 * gdb.c++/misc.cc (main): Ditto.
5365 * gdb.c++/templates.cc (main): Ditto.
5366 * gdb.c++/virtfunc.cc (main): Ditto.
5367
5368Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5369
5370 * lib/gdb.exp(gdb_step_for_stub): New function.
5371 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5372 exists, reload the executable and do a "continue" instead of
5373 doing a jump.
5374 (runto_main): Use gdb_step_for_stub.
beb998c6 5375
c906108c
SS
5376 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5377 tests to have unique names.
5378 * gdb.base/callfuncs.exp: Ditto.
5379 * gdb.base/commands.exp: Ditto.
5380 * gdb.base/default.exp: Ditto.
5381 * gdb.base/help.exp: Ditto.
5382 * gdb.base/list.exp: Ditto.
5383 * gdb.base/opaque.exp: Ditto.
5384 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5385 similar tests.
beb998c6 5386
c906108c
SS
5387 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5388 * gdb.c++/cplusfuncs.cc: Ditto.
5389 * gdb.c++/virtfunc.cc: Ditto.
5390
5391 * config/monitor.exp: Keep track of the last file we saw, rather
5392 than trying to get the info from gdb.
5393
5394 * gdb.fortran/types.exp: Move comment to previous line.
5395
5396Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5397
5398 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5399 target mode.
5400
5401Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5402
5403 From Bob Manson:
5404 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5405 string from GDB when it connects.
5406
5407 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5408
5409Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5410
5411 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5412 if we can't get a debug format from GDB (we may be testing an
5413 older GDB). Use a 10 second timeout when checking for the format.
5414
5415 * gdb.stabs/weird.exp: Fix quoting.
5416
5417 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5418
5419Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5420
5421 * config/arm-ice.exp: New file.
5422
5423Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5424
5425 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5426 until it has been modified to work with the new testsuite.
5427
99707966 5428 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5429 testcase won't compile, cause all of the testcases in the file to
5430 fail instead.
5431
5432 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5433 (gdb_clear_suppressed): New procedure.
5434 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5435 it contains a positive value.
5436
5437Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5438
5439 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5440
5441 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5442
5443Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5444
5445 * lib/gdb.exp (setup_xfail_format): New function.
5446 (get_debug_format): New function to get debug format.
5447 (debug_format): New global variable to hold last value set
5448 by get_debug_format.
5449 * gdb.base/list.exp: Call get_debug_format and expect some
5450 tests to fail for DWARF 1 and COFF formats.
5451 * gdb.c++/ptype.exp: Ditto.
5452 * gdb.c++/classes.exp: Ditto.
5453 * gdb.c++/cplusfuncs.exp: Ditto.
5454 * gdb.c++/inherit.exp: Ditto.
5455 * gdb.c++/templates.exp: Ditto.
5456 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5457
c906108c
SS
5458Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5459
5460 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5461 host doesn't have a currently-open connection.
5462
5463 * config/sparclet.exp: Cleanups and fixes to make it generic for
5464 any gdb stub target. Handle cases where gdb doesn't respond when
5465 interrupted in a sane fashion.
5466
5467 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5468 same thing in a totally different way.
5469
5470 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5471 setting "timeout".
5472 (gdb_start): We set the global gdb_prompt variable in
5473 default_gdb_init now.
5474
5475Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5476
5477 * gdb.base/printcmds.exp: Fix "check for floating addition"
5478 regexp to accept results within approx +/- .01 of exact value.
5479 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5480
5481Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5482
5483 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5484 properly.
5485 (gdb_expect): Add optional timeout parameter, and add timeout
5486 value to various calls.
5487 (gdb_suppress_tests): Only give one warning message per group.
5488
5489Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5490
5491 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5492 global variables. Handle getting a value for $timeout more
5493 gracefully.
5494
5495Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5496
5497 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5498 initialize.
5499 (default_gdb_init): New procedure; allow gdb_init to be overridden
5500 by a target configuration file.
5501 (gdb_expect): Pass the timeout to remote_expect.
5502
5503 * config/monitor.exp(gdb_load): Fix typo in regexp.
5504
5505Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5506
5507 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5508
5509Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5510
5511 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5512 here. Call gdb_target_exec before rebooting the target, to make
5513 sure the connection to the target is closed.
5514 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5515 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5516 Also detect "Timeout reading from remote" error.
5517
5518 * config/gdbserver.exp: Pass the executable being loaded to
5519 gdb_target_monitor. Don't call gdb_file_cmd here; let
5520 gdb_target_monitor do it.
5521
5522 * gdb.disasm/hppa.exp: Don't use exec_output.
5523
5524Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5525
5526 * gdb.base/list.exp: If we're debugging a non-native target,
5527 try to set the pc register to point to the start of the
5528 program before doing the first list command.
5529
5530 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5531 test_calls after restarting.
5532
5533 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5534 reloading.
5535
5536 * gdb.base/watchpoint.exp: Fix typo.
5537
5538 * gdb.base/setshow.exp: Check for use_gdb_stub.
5539
5540 * gdb.base/break.exp: Fix continue until exit test for the gdb
5541 stub case.
5542 * gdb.base/langs.exp: Ditto.
5543
5544 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5545 gdb_load_offset. If we weren't given a file to load, figure out
5546 what the current file is and use it.
5547
5548 * config/i386-bozo.exp: New file.
5549
5550Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5551
5552 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5553 feature.
5554
5555 * config/proelf.exp: New entry.
5556
5557Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5558
5559 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5560 of regexps.
5561
5562 * gdb.base/watchpoint.exp: Don't run the test_stepping
5563 tests if gdb can't call functions on the target.
5564
5565 * gdb.base/setshow.exp: Don't run the set prompt tests if
5566 the board has gdb_prompt set.
5567
5568Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5569
5570 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5571 * gdb.base/commands.exp: Likewise.
5572 * gdb.base/setshow.exp: Likewise.
5573
5574Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5575
5576 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5577 feature.
5578
5579 * config/i960.exp: New file.
5580
5581Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5582
5583 * gdb.base/funcargs.exp: Check for gdb,short_int target
5584 feature instead of looking for explicit target triplets.
5585
dc96c6c7 5586Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5587
beb998c6 5588 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5589 "p 123DEADBEEF", to check parse_number.
5590 * top.c: change "to enable to enable" to "to enable" in a couple
5591 of help strings.
5592
5593Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5594
5595 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5596 on the mn10300.
beb998c6 5597
c906108c
SS
5598Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5599
5600 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5601 where the test executable is run with explicit args.
5602 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5603
5604Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5605
5606 * gdb.base/run.c: Use FAKEARGV to build test executable that
5607 does not require a command line arg, since most simulators
5608 don't currently support passing such an arg into the simulated
5609 program.
5610 * gdb.base/commands.exp: Change tests to insert the proper
5611 value as the arg to the first recursive factorial call. Change
5612 compilation line to define FAKEARGV at compile time.
5613
5614Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5615
5616 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5617 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5618 function with watchpoint enabled" test.
5619
5620Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5621
5622 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5623 Don't call gdb_test when the command doesn't return to a gdb prompt.
5624
5625 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5626 "Tests restarted" messages.
5627
5628Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5629
5630 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5631
dc96c6c7 5632Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5633
5634 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5635 for INFO SYMBOL; add help tests for OVERLAY commands.
5636 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5637 add tests for OVERLAY commands
5638 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5639 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5640 * gdb.base/sigall.c: add usestubs code frag
5641 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5642
c906108c
SS
5643Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5644
5645 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5646 failures.
5647 (gdb_stop_suppressing_tests): Note that tests have restarted.
5648
5649Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5650
5651 * config/h8300.exp: New file.
5652
5653Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5654
5655 * gdb.base/setshow.exp: Check for the existence of a
5656 feature, not its value.
5657
5658Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5659
5660 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5661
5662 * gdb.base/scope.exp: It's now init0(), not init().
5663
5664 * gdb.base/scope0.c: For now, change init() to be init0().
5665
5666 * config/monitor.exp: Use gdb_serial in preference to serial
5667 or netport.
5668
5669 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5670 and it's not already set.
5671
5672Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5673
5674 * gdb.base/setshow.exp: Only test the run command if the target
5675 isn't using a stub and if it supports argument passing.
5676
5677Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5678
5679 * config/udi.exp(gdb_start): Make sure UDICONF is set
5680 properly before starting gdb.
5681
5682Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5683
5684 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5685 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5686 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5687
5688Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5689
5690 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5691 specialized code to reboot the board, use remote_reboot instead.
5692
5693 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5694
5695 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5696
5697 * config/monitor.exp: Make sure we disconnect from the target.
5698 Also, try a reboot/reload cycle instead of failing if the
5699 load fails.
5700
5701Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5702
5703 * gdb.base/default.exp: Don't set match_max.
5704 * gdb.base/help.exp: Ditto.
5705 * gdb.base/list.exp: Ditto.
5706 * gdb.base/signals.exp: Ditto.
5707
5708 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5709 set, use remote_ld to download the testcase instead of
5710 the GDB loader.
5711
5712Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5713
5714 * config/vr5000.exp: New file.
5715
5716 * config/monitor.exp(gdb_target_monitor): Add pattern for
5717 "Ending remote" to detect errors in connecting.
5718
5719 * gdb.base/setshow.exp: Add .* within auto language test.
5720
5721 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5722 target feature.
5723
5724 * config/monitor.exp(gdb_load): Check for a failure when loading,
5725 and reboot the board if necessary.
5726
5727 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5728 a set of tests. Remove print.* from the patterns being checked.
5729
5730Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5731
5732 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5733 refer to gdb_spawn_id.
5734
5735 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5736 longer used.
5737 * config/sparclet.exp: Ditto.
5738 * config/sparclet-old.exp: Ditto.
5739 * config/slite.exp: Ditto.
5740 * config/sim.exp: Ditto.
5741 * gdb.base/funcargs.exp: Ditto.
5742
5743 * lib/gdb.exp:Remove references to gdb_spawn_id.
5744 (gdb_expect): Move to remote.exp.
5745
5746Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5747
5748 * config/monitor.exp: Detect the "Couldn't establish connection"
5749 message from GDB.
5750
5751Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5752
5753 * gdb.base/bitfields.exp: Use runto instead of explicit
5754 gdb_run_cmd/gdb_expect sequences.
5755
5756 * gdb.base/break.exp(text_next_with_recursion): Add match for
5757 gdb_expect call.
5758
5759 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5760 We also need to handle the "A program is being debugged already"
5761 prompt from gdb. Use gdb_test to set the baud rate.
5762
5763 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5764 to 20000. Really. I mean it.
5765
5766Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5767
5768 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5769 fails. If suppress_flag is set, skip perror message about not
5770 being able to send to GDB.
5771 (send_gdb): If suppress_flag is set, don't try to send commands to
5772 GDB.
5773 (gdb_expect): If suppress_flag is set, always fail immediately.
5774 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5775 (gdb_init): Call gdb_stop_suppressing_tests.
5776 (default_gdb_exit): Ditto.
5777 (default_gdb_start): Ditto.
5778
5779 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5780 gdb_stop_suppressing_tests as appropriate.
5781 * gdb.base/break.exp: Ditto.
5782 * gdb.base/callfuncs.exp: Ditto.
5783 * gdb.base/commands.exp: Ditto.
5784 * gdb.base/exprs.exp: Ditto.
5785 * gdb.base/funcargs.exp: Ditto.
5786 * gdb.base/list.exp: Ditto.
5787 * gdb.base/recurse.exp: Ditto.
5788 * gdb.base/scope.exp: Ditto.
5789 * gdb.base/structs.exp: Ditto.
5790 * gdb.c++/inherit.exp: Ditto.
5791
5792Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5793
5794 * config/vr4300.exp: New file.
5795
99707966
MC
5796 * gdb.*/*.exp: Call gdb_expect instead of expect.
5797
5798 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5799
5800Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5801
5802 * lib/gdb.exp(gdb_init): New function.
5803
5804 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5805 for each individual variable set.
5806
5807 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5808 name.
5809
5810 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5811
5812 * gdb.base/scope.exp: Use gdb_test.
5813
5814 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5815 aborting; the testsuite driver will do that for us (see
5816 gdb_finish). Also, use gdb_test in a few more places.
5817
5818Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5819
5820 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5821
5822Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5823
5824 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5825 and "add_tests" are not at the same address.
5826
5827Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5828
5829 * gdb.base/ptype.exp: Use gdb_test.
5830
5831Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5832
5833 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5834 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5835 left in. No longer expect them to fail.
5836
5837 * gdb.stabs/*.mt; Deleted, no longer used.
5838 * gdb.stabs/configure.in: Remove references to target makefile
5839 frags.
5840 * gdb.stabs/configure: Rebuilt.
5841
5842 * gdb.disasm/*.mt: Deleted, no longer used.
5843 * gdb.disasm/configure.in: Remove references to target makefile
5844 frags. Use "sh3.s" as the unique filename for this directory.
5845 * gdb.disasm/configure: Rebuilt.
5846
5847 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5848 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5849 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5850
5851Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5852
5853 * config/udi.exp: Use mondfe,name instead of remote_host.
5854
5855Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5856
5857 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5858 a function with a watchpoint enabled on the mn10200.
5859
5860 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5861 before trying to create it!
5862
5863Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5864
5865 * config/vx.exp: Use hostname instead of netport.
5866
5867 * config/vxworks.exp: New file.
5868
5869 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5870
5871 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5872 gdb before assuming everything worked. Send a ^C if a timeout
5873 occurs.
5874
5875 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5876 $gdb_spawn_id directly.
5877 (gdb_run_cmd): Try _start as well as start. Use the target feature
5878 gdb,start_symbol as the symbol to start from when jumping.
5879
5880Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5881
5882 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5883 redundant) test.
5884
5885 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5886 it doesn't lose for 16bit integer systems.
5887
5888Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5889
5890 * gdb.fortran/types.exp: If the target doesn't support "double"
5891 data types, then expect "real" types to only be 4 bytes.
5892
5893 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5894 call tests if the target doesn't support inferior function calls.
5895
5896 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5897 in printf tests.
5898
5899Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5900
5901 * gdb.base/help.exp: Disable "help set", "help show", and
5902 "help support". Simplify regexp for "help stack".
5903
5904 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5905 to 60 seconds. Temporarily set match_max to 15000 around the
5906 "info copying" test.
5907
5908 * gdb.base/nodebug.exp: Don't try to do an inferior function
5909 call if the target doesn't support them.
5910 * gdb.base/printcmds.exp: Likewise.
5911 * gdb.base/setvar.exp: Likewise.
5912 * gdb.base/structs.exp: Likewise.
5913 * gdb.c++/templates.exp: Likewise.
5914 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5915
5916 * gdb.base/recurse.exp: Enable for the mn10200.
5917
5918 * configure.in: Do configure gdb.stabs directory for *-*-elf
5919 targets.
5920 * configure: Rebuilt.
5921
5922 * gdb.base/break.exp: Check for gdb,noresults before testing
5923 exit status and/or results from the target.
5924 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5925 * lib/gdb.exp: Remove old (now bogus) initialization of
5926 noinferior, noargs, noresults and nosignals.
5927
5928Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5929
5930 * config/sh.exp: New file.
5931
5932 * config/slite.exp: Try to connect multiple times to the board
5933 before rebooting. Only send a "monitor run" if need_monitor_run
5934 is set.
5935
5936 * gdb.base/break.exp: Don't do the "stub continue" test if
5937 the target has gdb_stub set.
5938
5939 * gdb.base/callfuncs.exp: Increase the timeout.
5940
5941 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5942 if the target has gdb,noinferiorio set.
5943
5944 * gdb.base/list.exp: Increase match_max to 10000 characters.
5945
5946 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5947
5948 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5949 target.
5950
5951 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5952
5953Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5954
5955 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5956 trying to delete the copy of gdb. Catch the file delete so we
5957 don't die if the delete fails; also, the file should be copied to
5958 the host, not to the build.
5959
5960Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5961
5962 * lib/gdb.exp(gdb_test): Surround the result pattern with
5963 parenthesis in case it contains multiple regexps separated
5964 with |.
5965
5966 * gdb.base/watchpoint.exp: Use gdb_test.
5967 * gdb.base/default.exp: Ditto.
5968
5969Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5970
99707966 5971 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5972
c906108c
SS
5973 * gdb.base/scope.exp: Use gdb_test.
5974 * gdb.c++/classes.exp: Ditto.
5975 * gdb.c++/inherit.exp: Ditto.
5976
5977Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5978
5979 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5980 remote_exec instead.
5981 * gdb.base/corefile.exp: Don't be ridiculous.
5982 * gdb.base/*.c: Add missing stub invocations.
5983
5984Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5985
5986 * config/slite.exp: Miscellaneous fixes.
5987
5988 * lib/gdb.exp: Fix runto.
5989
5990 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5991 the target.
5992
5993 * gdb.base/watchpoint.exp: Fix regexp.
5994
5995 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5996 close and wait commands, as the descriptor may now be
5997 invalid. Always call "remote_close host".
5998
5999Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6000
6001 Major rewrite for testsuite revision.
beb998c6 6002
c906108c
SS
6003 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6004 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6005 instead of relying on spawn_id to always contain a valid
6006 spawn id.
6007 (get_compiler_info): New procedure to build the ${binfile}.ci
6008 file, instead of replicating this in N different places.
6009 (gdb_compile): New procedure.
beb998c6 6010
c906108c
SS
6011 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6012 appropriate arguments) instead of compile. Use gdb_test in a lot
6013 more places. Use send_gdb instead of send. Always run gdb_start
6014 at the start of a testcase, as this is no longer done magically.
6015
6016 config/*-gdb.exp: Rename without the -gdb suffix.
6017
6018 config/mips.exp: Use remote_close instead of exit_remote_shell.
6019 config/monitor.exp: Use target_info instead of looking at
6020 baud, timeout, etc.
6021 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6022
6023Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6024
6025 * gdb.c++/templates.exp (test_ptype_of_templates),
6026 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6027 Update expect patterns for destructors and assignment operators
6028 to match corresponding c-typeprint.c changes.
6029 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6030 to destructor breakpoint test, GDB should be able to set the
6031 destructor breakpoint without specifying arguments.
6032
6033Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6034
6035 * gdb.threads/pthreads.exp: Change result for failure to compile due
6036 to lack of pthreads runtime support from an error to simply an
6037 unsupported test, per dejagnu standards.
6038
6039Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6040
6041 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6042 where GDB exits to reduce pattern match time.
6043 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6044
6045 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6046
dc96c6c7 6047Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6048
6049 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6050 * gdb.base/default.exp: ditto.
6051 * gdb.base/nodebug.exp: ditto.
6052 * gdb.base/printcmds.exp: ditto.
6053 * gdb.base/ptype.exp: ditto.
6054 * gdb.base/setvar.exp: ditto.
6055 * gdb.base/structs.exp: ditto.
6056 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6057
6058Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6059
6060 * configure, */configure: Rebuild with autoconf 2.12.
6061
6062Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6063
6064 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6065 use new i*86-pc-linux*-gnu quads.
6066 * gdb.base/corefile.exp: Ditto.
6067 * gdb.base/signals.exp: Ditto.
6068 * gdb.base/sigall.exp: Ditto.
6069 * gdb.base/interrupt.exp: Ditto.
6070
6071 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6072 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6073 RedHat 4.0.
beb998c6 6074
c906108c
SS
6075 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6076 linux. This allows the test case to at least compile on latest
6077 linux, but still not run due to missing the threads runtime library.
6078
6079Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6080
6081 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6082 directory to search gdb directory. Accept and step over conditional
6083 stack alignment code. Consume $prompt in failure cases.
6084 Reset timeout to $oldtimeout instead of some arbitrary value.
6085 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6086 timeout problems with infinite stack backtraces.
6087 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6088 Accept function parameters for linkfunc member.
6089
6090Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6091
6092 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6093 (CXXFLAGS): Remove, unreferenced.
6094 (B_OPTIONS): Add for -B options and add code to initialize with
6095 previous -B options and also add -B option to pick up cross compiled
6096 runtime.
6097 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6098 doing cross compiles.
6099 (target_alias): Declare global.
6100 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6101 to verify that gcc exists in build tree, and if so set CC to that
6102 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6103
c906108c
SS
6104Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6105
6106 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6107 ptype test for anonymous union. Fixup testcase to match
6108 current gcc debug output.
6109
6110Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6111
6112 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6113 force argument to an unsigned long type.
6114
6115Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6116
6117 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6118 tests and anonymous union print/ptype tests.
6119 * gdb.base/list.exp (test_forward-search): Increase timeout by
6120 5 minutes for the "search extremely long line" case.
6121 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6122 completely optional and that the pass/fail messages use the command as
6123 the message if that third arg is a null string.
6124 (gdb_test_exact): Arrange that a null string pattern means match a
6125 null string output rather than any output, which might include random
6126 errors.
6127 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6128 backtrace test.
6129 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6130 always failing and failure is now exposed by gdb.exp changes.
6131
6132Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6133
6134 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6135 weren't being noted.
6136
6137Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6138
6139 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6140 * gdb.stabs/weird.exp: Remove v_comb xfails.
6141
dc96c6c7 6142Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6143
6144 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6145 list.exp scope.exp watchpoint.exp]
6146 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6147
dc96c6c7 6148Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6149
6150 * config/monitor.exp: Increase download timeout to 1000 seconds.
6151
dc96c6c7 6152Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6153
6154 * config/m32r.exp: Increase timeout to 120 seconds.
6155
6156Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6157
6158 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6159 and accept older ordering as obsolescent gcc or gdb.
6160 * gdb.c++/templates.exp: Ditto.
6161 * gdb.c++/virtfunc.exp: Ditto.
6162
6163Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6164
6165 * gdb.base/coremaker.c: Add code to mmap some data so we
6166 can check that it ends up in the core file.
6167 * gdb.base/corefile.exp: Add test to read mmapped data
6168 from core file.
6169
dc96c6c7 6170Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6171
6172 * config/m32r.exp: New file.
6173
6174Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6175
6176 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6177 that cflags can contains -gstabs, and work correctly for other tests.
6178
dc96c6c7 6179Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6180
6181 * gdb.base/setshow.exp: New file, tests show and set.
6182 * gdb.base/setshow.c: New file, tests show and set.
6183 * gdb.base/help.exp: Add test for help set|show annotate.
6184 * gdb.base/default.exp: Add test for set|show annotate.
6185
6186Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6187
6188 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6189 errors unique.
6190 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6191 explicitly.
6192
6193Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6194
6195 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6196 and width commands. This is done elsewhere.
6197 * (gdb_start): Don't call gdb_start_sim here. That's already
6198 done in gdb_load. This fixes lots of failures in default.exp.
6199
6200Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6201
6202 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6203 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6204 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6205 in the same we we treat other failures (since it may be an expected
6206 condition), rather than as an error.
6207 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6208 old test format.
6209
6210Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6211
6212 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6213 (distclean maintainer-clean realclean): No need to remove files
6214 twice. Nuke the duplicates.
6215 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6216 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6217 Remove config.h along with other config files.
6218
6219Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6220
6221 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6222 "p func1 ()" and note that rests of tests are skipped.
6223 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6224 setup_xfails for "print func2::coremaker_local".
6225 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6226 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6227 affected by the previous run test.
6228 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6229 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6230 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6231 "pass int powerset tuple" and "pass modeless int powerset tuple".
6232 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6233 "real write 4" and "real write 8".
6234 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6235 setup_xfails for "print vs1 after tuple assign 2",
6236 "print \$i after tuple assign 2", and
6237 "print vs2 after tuple assign 2".
6238 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6239 meaningful error message and return -1 so the caller can
6240 suppress further tests and avoid a cascade of errors.
beb998c6 6241
c906108c
SS
6242Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6243
6244 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6245 format for printing version.
6246 * gdb.base/default.exp: Ditto.
6247 * gdb.base/interrupt.exp: Fix problem with cascade of
6248 errors if child process dies while calling a function.
beb998c6 6249
c906108c
SS
6250Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6251
6252 * Makefile.in (VPATH): Add
6253 * Makefile.in (Makefile, config.status): Fix rules so things get
6254 remade when necessary.
6255
6256Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6257
6258 * Makefile.in (just-check): Add path to sibling expect dir
6259 to environment variable specified by RPATH_ENVVAR.
6260
6261Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6262
6263 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6264 (just-check): Add shared library paths for libstdc++, tk,
6265 tcl, bfd, and opcodes to the environment variable specified
6266 in RPATH_ENVVAR.
6267 * configure.in: Add support to recognize --enable-shared flag
6268 and generate correct value for RPATH_ENVVAR.
6269 * configure: Regenerated with autoconf.
6270
6271Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6272
6273 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6274 include all osf versions.
6275 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6276 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6277 when target is linux. When failing to build pthreads test
6278 executable, give more meaningful message.
6279 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6280 arg for pthread_create.
beb998c6 6281
c906108c
SS
6282Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6283
6284 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6285 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6286 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6287 and -lpthreads (everybody else).
6288 (test_startup): Fail gracefully if threads are not supported.
6289 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6290 "p/c array_index("abcdef",2)" when not gcc compiled.
6291 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6292 "print func2::coremaker_local" when not gcc compiled.
6293 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6294 "ptype on opaque struct tagname (statically)",
6295 "ptype on opaque struct tagname (dynamically) 1", and
6296 "ptype on opaque struct tagname (dynamically) 2"
6297 for not compiled with gcc.
6298 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6299 backtrace when compiled with gcc.
beb998c6 6300 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6301 than always return success.
6302
6303Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6304
6305 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6306
6307Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6308
6309 * gdb.base/structs.exp: Undo last change.
6310
6311Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6312
6313 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6314 encapsulate all the steps/nexts done during self test, starting
6315 at main, and makes them less sensitive to optimization issues.
6316 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6317 signal handler" test.
6318 * gdb.threads/pthreads.exp: Only run this for native configs.
6319 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6320 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6321 tests.
6322 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6323 for "runto test_calls(void)" test.
beb998c6 6324
c906108c
SS
6325Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6326
6327 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6328 and don't expect address info in breakpoint confirmations.
6329
6330Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6331
6332 * gdb.base/list.exp (test_forward_search): Increase timeout
6333 temporarily by 60 seconds for searching extremely long line,
6334 and then reset to old value when done. Increase expect input
6335 buffer to 10000.
6336
6337Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6338
6339 * gdb.base/list.exp (test_forward_search): Fix to handle very
6340 long source line without overflowing expect's input buffer.
6341
6342Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6343
6344 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6345 "buffer_full".
6346
6347 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6348 "buffer_full".
6349
6350 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6351 "buffer_full".
6352
6353 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6354 "buffer_full".
6355
6356Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6357
6358 * configure.in (configdirs): Add gdb.threads.
6359 * configure: Regenerated with autoconf.
6360 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6361 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6362 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6363
c906108c
SS
6364Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6365
6366 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6367
6368Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6369
6370 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6371 each signal's status in the output of "handle all print".
6372 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6373 the \r\n sequence that immediately precedes the gdb prompt.
6374 * gdb.base/a1-selftest.exp: Save original timeout and restore
6375 after test.
6376
6377Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6378
6379 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6380 symbol.
6381
6382Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6383
6384 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6385
6386Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6387
6388 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6389 timeout by 60 seconds.
6390
6391Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6392
6393 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6394 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6395 error return.
6396
6397Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6398
6399 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6400 gdb initialization, also report how long dejagnu waited. Restore
6401 old timeout before doing error return. Temporarily increase timeout
6402 by 3 minutes to allow for slow startups over heavy NFS use.
6403
6404Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6405
6406 * lib/gdb.exp: Report timeout value for verbosity level 2.
6407 * config/gdbserver.exp: Ditto.
6408 * config/hppro.exp: Ditto.
6409 * config/mips-gdb.exp: Ditto.
6410 * config/monitor.exp: Ditto.
6411 * config/netware.exp: Ditto.
6412 * config/sim-gdb.exp: Ditto.
6413 * config/slite-gdb.exp: Ditto.
6414 * config/udi-gdb.exp: Ditto.
6415 * config/unix-gdb.exp: Ditto.
6416 * config/vx-gdb.exp: Ditto.
6417 * gdb.base/a1-selftest.exp: Ditto.
6418 * gdb.base/a2-run.exp: Ditto.
6419 * gdb.base/break.exp: Ditto.
6420 * gdb.base/corefile.exp: Ditto.
6421 * gdb.base/list.exp: Ditto.
6422 * gdb.base/recurse.exp: Ditto.
6423 * gdb.base/scope.exp: Ditto.
6424 * gdb.base/signals.exp: Ditto.
6425
6426Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6427
6428 * gdb.threads/Makefile.in (docdir): Removed.
6429
6430Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6431
6432 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6433 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6434 @srcdir@.
beb998c6 6435 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6436 autoconf 2.5 or higher.
6437 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6438
6439Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6440
6441 * configure: Regenerated.
6442 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6443 avoid name clashes with SunOS headers.
6444
6445Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6446
6447 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6448
6449Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6450
6451 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6452 prototype information ends up in the compiler info file.
6453
6454Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6455
6456 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6457 attempting to regenerate it. Eliminate use of a temporary file
6458 and just generate the info file directly. Source it immediately,
6459 for consistency of use.
6460 * gdb.base/corefile.exp: Ditto
6461 * gdb.base/exprs.exp: Ditto.
6462 * gdb.base/funcargs.exp: Ditto.
6463 * gdb.base/langs.exp: Ditto.
6464 * gdb.base/list.exp: Ditto.
6465 * gdb.base/mips_pro.exp: Ditto.
6466 * gdb.base/nodebug.exp: Ditto.
6467 * gdb.base/opaque.exp: Ditto.
6468 * gdb.base/ptype.exp: Ditto.
6469 * gdb.base/scope.exp: Ditto.
6470 * gdb.base/setvar.exp: Ditto.
6471 * gdb.base/signals.exp: Ditto.
6472 * gdb.base/whatis.exp: Ditto.
6473 * gdb.c++/templates.exp: Ditto.
6474 * gdb.c++/virtfunc.exp: Ditto.
6475 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6476 whether or not to add -lstdc++ to the compile command line args.
6477
6478Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6479
6480 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6481 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6482 Increase timeout, a lot of single stepping might be needed if the
6483 target has no hardware watchpoints.
6484
6485Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6486
6487 * gdb.base/break.exp: Ignore compiler warnings when compiling
6488 break.c.
6489 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6490 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6491 from remote-sim.
6492 * gdb.base/exprs.exp: Add h8300 xfails.
6493 * gdb.base/funcargs.exp: Likewise.
6494 * gdb.base/nodebug.exp: Likewise.
6495 * gdb.base/printcmds.exp: Likewise.
6496 * gdb.base/ptype.exp: Likewise.
6497 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6498 h8300 xfails.
beb998c6 6499 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6500 on the h8300.
6501 * gdb.base/funcargs.c: Explicitly make last constant argument to
6502 call_after_alloca_subr an unsigned long type.
6503 * gdb.base/return.c: Include stdio.h.
6504
6505Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6506
6507 * config/abug.exp: New file for the older Motorola Bug monitor
6508 that runs on the mvme13x series VME boards.
6509 * config/monitor.exp: Use the new config array for target settings
6510 if they exist.
6511
6512Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6513
6514 * sim-gdb.exp: Make the SH simulator allocate less space when
6515 it is targeted.
6516
6517Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6518
6519 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6520 test.
6521
6522Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6523
6524 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6525 "rs6000-*-*" for "list function in include file" when gcc compiled.
6526 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6527 for "p ctable1[120]".
6528 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6529 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6530 Remove setup_xfail for "rs6000-*-*" for
6531 "print 'scope0.c'::filelocal before run".
6532 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6533 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6534 since some compilers don't allow both options to be given
6535 on the same command line. Create object file and move it.
beb998c6 6536
c906108c
SS
6537Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6538
6539 * gdb.base/corefile.exp: Always regenerate the core file, since
6540 we always regenerate the coremaker program. Detect special case
6541 where registers cannot be read from core file.
beb998c6 6542
c906108c
SS
6543Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6544
6545 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6546 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6547 * gdb.c++/templates.exp: Only match on basename of file since
6548 some formats like xcoff don't encode directory information.
6549 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6550 and rs6000 AIX xcoff targets.
6551 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6552 * configure: Regenerate.
6553 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6554 here, rather than in distclean.
beb998c6 6555
c906108c
SS
6556Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6557
6558 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6559 defined, and use it to compile the test case with -O2. The
6560 native compilation still uses no optimization.
6561 * gdb.base/mips_pro.c: Remove inline assembly code since
6562 it is compiled PIC by default, which results in assembler
6563 warnings that make the testsuite think the compilation
6564 was unsuccessful.
6565
6566Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6567
6568 * gdb.c++/misc.exp: Add note to message for
6569 "print s.a for foo struct" that this is a known gcc 2.7.2
6570 and earlier bug.
6571
6572Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6573
6574 * gdb.base/break.exp: Fix pattern for matching "Delete all
6575 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6576 setup_xfail for deleting all breakpoints test. Fix various
6577 timeout messages to include "(timeout)".
6578 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6579 for "p t_float_values2(3.14159,float_val2)".
6580 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6581 for "continue to call2g" when gcc compiled.
6582 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6583 "up to foo in langs.exp", "show language at foo in langs.exp",
6584 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6585 and "show language at fsub in langs.exp".
6586 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6587 "list line 1 in include file", "list message for lines past EOF",
6588 "list function in include file", "list list0.h:foo", and
6589 "list filename:function; nonexistant function".
6590 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6591 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6592 and "ptype t_char_array" to be for native cc only.
beb998c6 6593
c906108c
SS
6594Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6595
beb998c6 6596 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6597 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6598 "print func2::coremaker_local", and "backtrace in corefile.exp".
6599
6600Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6601
6602 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6603 "bt in signals.exp". This problem only appears when running
6604 the testsuite, and then only intermittently.
6605
6606Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6607
6608 * gdb.base/return.exp (return_tests): Differentiate between
6609 two tests of continuing.
6610
6611Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6612
6613 * */Makefile.in (maintainer-clean): Remove config.log.
6614 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6615 * gdb.c++/Makefile.in (PROGS): Add inherit.
6616 (clean): Remove *.ci.
6617
6618Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6619
6620 * gdb.c++/misc.cc: Add test code from Mike Stump.
6621 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6622
6623Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6624
6625 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6626 to "alpha-*-osf2*" and add comment.
6627 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6628 setup_xfail for "step over execarg initialization" and
6629 "step over corearg initialization".
6630 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6631 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6632 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6633 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6634 "print func2::coremaker_local", and "backtrace in corefile.exp".
6635 * gdb.base/signals.exp: Build and source signals.ci.
6636 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6637 to be for gcc only.
6638 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6639
c906108c
SS
6640Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6641
6642 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6643 Feb 3 procfs.c change.
6644
6645Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6646
6647 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6648
6649Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6650
6651 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6652 from dejagnu's apparent default of 10 seconds, which gives random
6653 results when running the tests over NFS on moderately loaded systems.
6654 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6655
6656Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6657
6658 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6659 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6660 result reports.
6661
6662Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6663
6664 * configure.in (CY_AC_PATH_TCLH): Remove.
6665 * configure: Regenerate.
6666
6667Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6668
6669 * gdb.c++/Makefile.in (clean): Add missing '{'.
6670
6671Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6672
6673 * lib/gdb.exp: Provide a default value for noinferior.
6674
6675 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6676 Load libgloss.exp.
6677
6678Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6679
6680 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6681 the executable, not the .o to run the tests from.
6682
6683Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6684
6685 * gdb.base/break.exp: Don't test for program exit or exit status
6686 if $noresults if nonzero.
6687 * gdb.base/langs.exp: Likewise.
6688 * gdb.base/watchpoint.exp: Likewise.
6689
6690 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6691 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6692 trying to compile the testcase.
6693
6694Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6695
6696 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6697 * gdb.base/signals.exp (continue to handler): Likewise.
6698
6699Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6700
6701 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6702
6703 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6704
6705Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6706
6707 * gdb.base/corefile.exp: Recognize "not found" as failure
6708 when trying to determine if a core file was generated.
6709 If no core file was generate the first time, try again without
6710 the ulimit -c to work around braindamaged shells.
6711
6712Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6713
6714 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6715 [] tests with "test" and enclose string in quotes.
6716 * gdb.stabs/configure: Rebuild
beb998c6 6717
c906108c
SS
6718Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6719
6720 Changes in sync with expect:
6721 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6722 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6723 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6724 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6725 argument to AC_REQUIRE.
6726 * configure: Regenerated.
6727
6728Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6729
6730 * gdb.base/corefile.exp: When generating a core, discard any
6731 error messages about ulimit not found and the "core dumped"
6732 message from the shell that runs the coredumper.
6733
6734Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6735
6736 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6737
6738 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6739 which sed script to run. Expect failure for v_comb test
6740 on PA targets too.
beb998c6 6741
c906108c
SS
6742Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6743
6744 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6745 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6746
6747Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6748
6749 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6750 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6751 "sparc-sun-solaris*" xfails for "p v_comb".
6752 * lib/gdb.exp (default_gdb_start): Fix typo.
6753 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6754 messages to not include the full program name that caused
6755 the core dump since some systems (such as solaris) apparently
6756 truncate this path to about 80 characters.
6757 When generating a core file first try increasing the core file
6758 size limit to unlimited since some systems may default it to
6759 zero, and it is harmless to try it. Move the test for failing
6760 to generate a core file to where it will actually get executed.
6761 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6762 new gdb result from g++ debug info improvements and make old
6763 pattern obsolescent. Also account for size_t differences
6764 (may be int or long).
6765 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6766 initialization before function call is placed in the delay slot
6767 and thus appears to be skipped over by commands such as "next".
6768
6769Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6770
6771 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6772
6773Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6774
6775 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6776 input source file; fix code to compile test to deal with this
6777 convention.
6778 * gdb.c++/*.exp: Likewise.
6779
6780Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6781
6782 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6783 "bt in signals.exp".
6784
6785Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6786
6787 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6788 "step over execarg initialization" and
6789 "step over corearg initialization".
6790
6791Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6792
6793 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6794 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6795
6796Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6797
6798 From Rob Savoye (rob@poseidon.cygnus.com)
6799 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6800 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6801 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6802 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6803 configure.in}: Major reworking for autoconfig.
6804 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6805 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6806 New files.
6807 * config/unix-gdb.exp: Make GDB global.
6808 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6809 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6810 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6811 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6812 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6813 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6814 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6815 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6816 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6817 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6818 pr-8136.exp, result.exp, string.exp, tuples.exp},
6819 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6820 to returns as necessary, arrange for test to compile own testcase
6821 executable.
6822 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6823
c906108c
SS
6824Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6825
6826 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6827 clear_xfail at end of test which might not call either pass or fail.
6828 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6829 "backtrace through signal handler".
6830
6831Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6832
6833 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6834 continuing from a job control stop signal.
6835 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6836
6837Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6838
6839 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6840 * gdb.base/corefile.exp: Likewise.
6841 * gdb.base/funcargs.exp: Likewise.
6842
6843Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6844
6845 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6846 * config/monitor.exp: Add support for setting baud rate.
6847
6848Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6849
6850 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6851 i*86-*-linux* xfails for "backtrace through signal handler".
6852 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6853 "print func2::coremaker_local".
6854 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6855 alpha-dec-osf2* xfail for
6856 "delete all breakpoints when none".
6857
6858Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6859
6860 * gdb.base/break.exp: Change test that deletes all breakpoints
6861 when no user breakpoints are installed. A post 4.15 change
6862 causes gdb to no longer prompt in this case.
6863
6864Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6865
6866 * gdb.base/return.exp (return_tests): Change xfail for test
6867 "correct value returned double test" to stop xfailing at
6868 Solaris 2.5. Apparently the bug has been fixed.
6869
6870Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6871
6872 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6873 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6874
6875Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6876
6877 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6878 * gdb.disasm/hppa.s: Corresponding changes.
6879
6880Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6881
6882 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6883 makefile fragment.
6884 * config/mt-hpux: Deleted.
6885
6886Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6887
beb998c6 6888 * Many files: When warning about suppressed tests due to a
c906108c
SS
6889 nonexistant test binary, avoid incrementing the warning count.
6890
6891Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6892
6893 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6894
c906108c
SS
6895Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6896
6897 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6898 "sparc-*-solaris2*".
6899
6900Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6901
6902 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6903 Add global and local variables and initialize them.
6904 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6905 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6906 extracts the file name and terminating signal from the core file.
6907 * TODO: Remove note about tests for correct mapping of corefile.
6908 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6909 from optimizing it away.
6910 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6911 handles common blocks.
6912
6913Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6914
6915 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6916 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6917
6918Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6919
6920 * Makefile.in (maintainer-clean): New target, synonym for
6921 realclean.
6922 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6923 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6924 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6925 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6926 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6927 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6928
6929Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6930
6931 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6932 xfails when not gcc compiled for "print foo::funclocal".
6933 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6934 "print foo::funclocal at foo",
6935 "print 'scope1.c'::foo::funclocal at foo",
6936 "print foo::funclocal_bss at foo",
6937 "print 'scope1.c'::foo::funclocal_bss at foo",
6938 "print foo::funclocal_ro at foo",
6939 "print 'scope1.c'::foo::funclocal_ro at foo",
6940 "print bar::funclocal at foo" and
6941 "print 'scope1.c'::bar::funclocal at foo".
6942 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6943 gcc compiled for "print foo::funclocal at bar".
6944 Expand all messages to ensure that they identify that
6945 the test is at bar().
6946 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6947 gcc compiled for:
6948 "ptype on opaque struct pointer (statically)",
6949 "ptype on opaque struct tagname (statically)",
6950 "ptype on opaque struct pointer (dynamically) 1",
6951 "ptype on opaque struct tagname (dynamically) 1",
6952 "ptype on opaque struct pointer (dynamically) 2" and
6953 "ptype on opaque struct tagname (dynamically) 2
6954 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6955 gcc compiled for:
6956 "p datalocal"
6957 "whatis datalocal",
6958 "ptype datalocal",
6959 "p bsslocal",
6960 "whatis bsslocal", and
6961 "ptype bsslocal".
6962 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6963 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6964 when not gcc compiled.
6965 * gdb.base/funcargs.exp (float_and_integral_args): Add
6966 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6967 compiled.
6968 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6969 "backtrace from call6a" when not gcc compiled.
6970 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6971 "backtrace from call7a" when not gcc compiled.
6972 * gdb.base/callfuncs.exp (do_function_calls):
6973 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6974 "p t_char_array_values(char_array_val2,char_array_val1)",
6975 "p t_char_array_values(char_array_val1,char_array_val2)",
6976 "p t_char_array_values("carray 1","carray 2")",
6977 "p t_char_array_values("carray 1",char_array_val2)",
6978 "p t_char_array_values(char_array_val1,"carray 2")",
6979 "p sum_args(1,{2})",
6980 "p sum_args(2,{2,3})",
6981 "p sum_args(3,{2,3,4})",
6982 "p sum_args(4,{2,3,4,5})"
6983 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6984 "backtrace in corefile.exp" when not gcc compiled.
6985
6986Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6987
6988 * gdb.base/signals.exp: Rewrite `handle all print' test as
6989 a procedure. Accept blanks or TABs as whitespace, increase
6990 timeout and expect input buffer size for the large output
6991 from the command. Remove "i*86-*-bsdi2.0" xfail.
6992
6993Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6994
6995 * gdb.base/setvar.exp: Add new testcases for truncation when
6996 assigning invalid values to bitfields.
6997
6998Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6999
beb998c6 7000 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7001 mips-sgi-irix* xfail for
7002 "call inferior func with struct - returns char *"
7003 and fix test so that an optional (unsigned char *) cast is
7004 accepted in the result.
7005
7006Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7007
7008 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7009 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7010 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7011 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7012 that accidentally got checked in.
7013
7014Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7015
beb998c6 7016 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7017 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7018 compiled test.
7019 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7020 Add mips-sgi-irix5* xfail for not gcc compiled.
7021 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7022 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7023 "p top", "whatis top", "p middle", and "whatis middle".
7024 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7025 "whatis signed char" for not gcc compiled.
7026 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7027 "set variable signed char=-1 (-1)" and
7028 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7029 * gdb.base/funcargs.exp (float_and_integral_args):
7030 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7031 Add mips-sgi-irix* xfail when not gcc compiled for
7032 "continue to call2b".
7033 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7034 "continue to call2g".
7035 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7036 "backtrace from call6a"
7037 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7038 "backtrace from call7k".
7039 Add mips-sgi-irix5* xfail when not gcc compiled for
7040 "backtrace from call7a".
7041 (localvars_after_alloca): Fix gdb_test cmds for
7042 "print * after runto ...".
7043 Remove rs6000-*-* xfails for
7044 "print i after runto localvars_after_alloca" and
7045 "print l after runto localvars_after_alloca"
7046 for all compilers.
7047 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7048 when not compiled with gcc, for:
7049 "print signed char == (minus)",
7050 "print signed char != (minus)",
7051 "print signed char < (minus)",
7052 "print signed char > (minus)".
7053 * gdb.base/callfuncs.exp (do_function_calls):
7054 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7055 "call inferior func with struct - returns char *".
beb998c6 7056 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7057 "correct value returned double test" to include Solaris 2.4.
7058 * gdb.base/funcargs.exp (float_and_integral_args):
7059 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7060
c906108c
SS
7061Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7062
7063 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7064 enumeration bitfields if compiling with GNU C.
7065 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7066 to empty' prompt.
7067
7068Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7069
7070 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7071 test for PRO targets.
7072
7073 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7074 breakpoints in the inferior at any given time by making
7075 two groups of breakpoints for call2*, call6* and call7*
7076 tests.
7077
7078Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7079
7080 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7081 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7082 from optimizing it away.
7083 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7084 "call inferior func with struct".
7085
7086Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7087
7088 * configure.in: Only configure gdb.chill for particular targets.
7089
7090Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7091
7092 * gdb.base/Makefile.in: Add action to .c.o transformation
7093 rule that generates a .ci file for each .o file and remove
7094 explicit .c.o rules except for callfuncs.o.
7095 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7096 generates a .ci file for each .o file and remove explicit
7097 .cc.o rules.
7098 (clean): Remove *.tmp *.ci files.
7099 (EXECUTABLES): Remove templ-info.exp.
7100 * gdb.base/compiler.c: New file.
7101 * gdb.c++/compiler.cc: New file
7102 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7103 Change rs6000-*-* xfail for
7104 "print 'scope0.c'::filelocal_ro" and
7105 "print 'scope1.c'::filelocal" and
7106 "print 'scope1.c'::filelocal_bss" and
7107 "print 'scope1.c'::filelocal_ro" and
7108 "print 'scope1.c'::foo::funclocal" and
7109 "print 'scope1.c'::foo::funclocal_ro" and
7110 "print 'scope1.c'::bar::funclocal" and
7111 "print 'scope0.c'::filelocal_ro" and
7112 "print 'scope1.c'::filelocal at foo" and
7113 "print 'scope1.c'::filelocal_bss at foo" and
7114 "print 'scope1.c'::filelocal_ro at foo" and
7115 "print 'scope1.c'::foo::funclocal at foo" and
7116 "print 'scope1.c'::foo::funclocal_bss at foo" and
7117 "print 'scope1.c'::foo::funclocal_ro at foo" and
7118 "print 'scope1.c'::bar::funclocal at foo" and
7119 "print 'scope0.c'::filelocal_ro" and
7120 "print 'scope1.c'::filelocal" and
7121 "print 'scope1.c'::filelocal_bss" and
7122 "print 'scope1.c'::filelocal_ro" and
7123 "print 'scope1.c'::foo::funclocal" and
7124 "print 'scope1.c'::foo::funclocal_bss" and
7125 "print 'scope1.c'::foo::funclocal_ro" and
7126 "print 'scope1.c'::bar::funclocal" and
7127 "print 'scope1.c'::bar::funclocal_bss"
7128 to only be xfail'd when not compiled with gcc.
beb998c6 7129 Add rs6000-*-* xfail for
c906108c
SS
7130 "print 'scope0.c'::filelocal_bss before run"
7131 when compiled with gcc.
7132 (test_at_main): Add rs6000-*-* xfail for
7133 "print filelocal_ro in test_at_main"
7134 when compiled with gcc.
7135 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7136 Add rs6000-*-aix* xfail for
c906108c
SS
7137 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7138 "ptype t_char_array", not compiled with gcc.
7139 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7140 xfail for "list foo (in include file)" when gcc compiled.
7141 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7142 (integral_args): Add rs6000-*-* xfail for
7143 "run to call0a" if not compiled with gcc.
7144 (unsigned_integral_args): Add rs6000-*-* xfail for
7145 "run to call1a" if not compiled with gcc.
7146 (float_and_integral_args): Add rs6000-*-* xfail for
7147 "run to call2a" if not compiled with gcc and for
7148 "continue to call2b" for any compiler.
7149 Add rs6000-*-* xfail to
7150 "print f1 after run to call2a" for gcc compiled.
7151 (discard_and_shuffle): Add rs6000-*-* xfail for
7152 "run to call6a".
7153 (shuffle_round_robin): Add rs6000-*-* xfail for
7154 "backtrace from call7a" if not compiled with gcc.
7155 Add rs6000-*-* xfail for
7156 "backtrace from call7b" if compiled with gcc.
7157 (call_after_alloca): Add rs6000-*-* xfail for
7158 "print c in call_after_alloca" and
7159 "print s in call_after_alloca" and
7160 "backtrace from call_after_alloca_subr"
7161 if not compiled with gcc.
7162 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7163 "print c in localvars_in_indirect_call" and
7164 "print c in localvars_in_indirect_call" and
7165 "backtrace in indirectly called function" and
7166 "stepping into indirectly called function"
7167 if not compiled with gcc.
7168 (localvars_after_alloca): Add rs6000-*-* xfail for
7169 "print c after runto localvars_after_alloca" and
7170 "print s after runto localvars_after_alloca" and
7171 "print i after runto localvars_after_alloca" and
7172 "print l after runto localvars_after_alloca"
7173 for all compilers.
7174 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7175 than whatis-info.exp.
7176 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7177 than opaque-info.exp.
7178 Setup rs6000-*-* xfail for
beb998c6 7179 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7180 "ptype on opaque struct pointer (dynamically)" when
7181 not compiled with gcc.
7182 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7183 rather than callf-info.exp.
7184 (do_function_calls): Add clear_xfail for rs6000-*-* for
7185 "p t_float_values2(3.14159,float_val2)". Seems to work
7186 fine there, both with xlc and gcc. Need to find out what
7187 it is doing right and fix other platforms.
7188 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7189 "call inferior func with struct - returns int",
7190 "call inferior func with struct - returns long",
7191 "call inferior func with struct - returns float",
7192 "call inferior func with struct - returns double",
7193 "call inferior func with struct - returns char *",
7194 but only if not gcc compiled (presumes xlc compiled).
7195 Change rs6000-*-* xfails for
7196 "call inferior func with struct - returns char" and
7197 " call inferior func with struct - returns short" to only
7198 xfail if not using gcc.
7199 (clean mostlyclean): Remove *.ci and *.tmp files.
7200 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7201 than templ-info.exp.
7202 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7203 Add rs6000-*-* xfail for "up to foo in langs.exp"
7204 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7205 when not gcc compiled.
beb998c6 7206
c906108c
SS
7207Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7208
7209 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7210 * gdb.base/corefile.exp: Likewise.
7211 * gdb.base/list.exp: Likewise.
7212 * gdb.base/scope.exp: Likewise.
7213 * gdb.base/siganls.exp: Likewise.
7214
7215 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7216 compiler output.
7217 * gdb.base/whatis.exp: Likewise.
7218
7219Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7220
7221 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7222 failure (opcode table has been fixed to match reality).
7223
7224Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7225
7226 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7227 "call inferior func with struct - returns char",
7228 "call inferior func with struct - returns short"
7229
7230 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7231 "print 'scope0.c'::filelocal at main",
7232 "print 'scope0.c'::filelocal_bss in test_at_main",
7233 "print 'scope0.c'::filelocal at foo",
7234 "print 'scope0.c'::filelocal_bss in test_at_foo",
7235 "print 'scope0.c'::filelocal at bar",
7236 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7237
c906108c
SS
7238 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7239 in source file 1". This bug seems to have been fixed with both
7240 gcc and native cc (was native assembler bug?).
7241
7242Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7243
7244 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7245 "backtrace through signal handler" to "i*86-*-sysv4*".
7246 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7247 continue" case. Add "known SVR4 bug" to fail message.
7248 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7249 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7250 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7251 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7252 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7253 "up to foo in langs.exp", "show language at foo in
7254 langs.exp", "up to cppsub_ in langs.exp", "show
7255 language at cppsub_ in langs.exp", "up to fsub in
7256 langs.exp", and "show language at fsub in langs.exp".
7257 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7258 "bactrace in corefile.exp".
7259 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7260 "call inferior function with struct - returns float" and
7261 "call inferior function with struct - returns double".
beb998c6 7262
c906108c
SS
7263Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7264
7265 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7266 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7267 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7268 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7269
7270Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7271
7272 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7273 (or overriden) "CHILL" macro rather then bare "gcc".
7274 Also look for ../../gcc/xgcc since that is what we will
7275 actually need, not "Makefile". Remove following assignment
7276 of CHILL to CHILL_FOR_TARGET because that results in
7277 recursive definition.
7278
7279Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7280
7281 * gdb.base/corefile.exp: Change xfail for backtrace in
7282 corefile.exp from linuxaout to all linux.
7283 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7284 cases where we miss the breakpoint at the signal handler
7285 for some reason. Setup xfail for linuxoldld/linuxaout and
7286 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7287 hitting SIGURG breakpoint.
7288 * gdb.base/signals.exp: Setup xfail for "next" acting like
7289 continue to add linuxoldld. Setup xfail for all linux for
7290 "next to handler in signals_tests_1", "backtrace in
7291 signals_tests_1", "continue to func1", "pass SIGUSR1",
7292 and continue to handler".
7293
7294Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7295
7296 * Update all FSF addresses except those in COPYING* files.
7297
7298Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7299
7300 * gdb.base/a2-run.exp: Change messages to be more explicit about
7301 the status of args, and quote binfile in results.
7302
7303Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7304
7305 * gdb.base/callfuncs.exp: Add tests for passing structs to
7306 inferior functions and return various types.
7307 * gdb.base/callfuncs.c: Add functions to receive a struct
7308 and return a member of the struct, in various types.
7309
7310Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7311
7312 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7313
7314Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7315
7316 * config/vxworks29k.exp: New file, sources vxworks.exp.
7317
7318Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7319
7320 * config/gdbremote.exp: New file. Testing framework using
7321 gdbserver.
7322
7323Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7324
7325 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7326 "call function when asleep" and "send end of file".
7327 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7328 for "backtrace in corefile.exp".
7329 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7330 for "backtrace through signal handler".
7331 * gdb.base/corefile.exp: Make sure we actually generate a core file
7332 before trying the core tests. Some systems allow the user to suppress
7333 generation of core files and default to that (linux for example).
7334 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7335 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7336
7337Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7338
7339 * gdb.threads: New directory with some crude multi-threaded
7340 gdb tests (step.exp and step2.exp).
7341 * config/mt-lynx (STEP_EXECUTABLE): Define.
7342 (THREADFLAGS): Define.
7343
7344Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7345
7346 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7347
7348 * gdb.base/signals.exp: Disable whole file for lynx until
7349 further notice.
7350
7351 * gdb.base/signals.exp: xfail test where "next" acts like
7352 "continue" for lynx.
7353
7354 * gdb.base/interrupt.exp: xfail test for calling function while
7355 inferior is asleep for lynx.
7356
7357 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7358 than one cr-lf after each command.
7359
7360Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7361
7362 * configure.in: Reinstate setting of stabsdirs variable, fix
7363 typo in setting up configdirs for native builds.
7364
7365 * gdb.base/return.exp: Fix typo in return double test.
7366 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7367 compiler from optimizing them away.
7368
7369Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7370
7371 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7372 sequences to be echo'd by gdb when using gdb_test.
7373 * gdb.chill/chexp.exp: Likewise.
7374 * gdb.fortran/exprs.exp: Likewise
7375
7376Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7377
7378 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7379 after the inferior gdb has started.
7380
7381 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7382 after each command.
7383 * gdb.base/funcargs.exp: Likewise.
7384 * gdb.base/gdbvars.exp: Likewise.
7385 * gdb.base/interrupt.exp: Likewise.
7386 * gdb.base/list.exp: Likewise.
7387 * gdb.base/watchpoint.exp: Likewise.
7388 * gdb.c++/demangle.exp: Likewise.
7389 * gdb.c++/inherit.exp: Likewise.
7390 * gdb.chill/chexp.exp: Likewise.
7391 * gdb.fortran/exprs.exp: Likewise.
7392
7393 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7394 test if we can't handle IO to/from the inferior.
7395
7396 * gdb.c++/misc.exp: Always check for a program already being
7397 started after sending a "run" command to gdb.
7398
7399 * gdb.base/twice.exp: Start with a fresh gdb.
7400
7401 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7402 only depend on gdb's expression code, not the chill runtime.
7403
7404 * gdb.base/return.c: Put return values into variables so we
7405 can have gdb print them rather than depending on the program
7406 to print them.
7407 * gdb.base/return.exp: Corresponding changes.
7408
7409 * lib/gdb.exp: Provide default value for noinferiorio.
7410 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7411 the inferior.
7412
7413 * gdb.base/break.exp: Always check for a program already being
7414 started after sending a "run" command to gdb.
7415 (text_next_with_recursion): Don't check the output from the
7416 program's printf statement. Instead just make sure the program
7417 exited.
7418
7419 * gdb.base/commands.exp: Protect tests which need arguments with
7420 $noargs conditionals.
7421
7422Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7423
7424 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7425 of structure member arrays to match gdb/valops.c:value_addr change.
7426
7427Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7428
7429 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7430 cases.
7431
7432Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7433
7434 * configure.in (configdirs): Remove gdb.chill from default list
7435 of subdirs and then add it back in only if doing a native build.
7436 The current chill compiler does not yet work in any cross build.
7437 * Revert all signal changes from Jul 6.
7438 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7439 for sh-hms targets, allowing these tests to link, with no other
7440 changes. Testing is suppressed by setting "nosignals" in site.exp.
7441
7442Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7443
7444 * configure.in (signaldirs): Define and add to configdirs for all
7445 targets except some specific ones that are known to not support signals.
7446 Also clean up formatting.
7447 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7448 (signals, sigall): Remove rules to build.
7449 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7450 Moved to new gdb.signals directory.
7451 * gdb.signals: New test directory.
7452 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7453 signals.c signals.exp}: New or moved files.
7454
7455Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7456
7457 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7458
7459Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7460
7461 * gdb.base/return.exp: Xfail `return double' test failure
7462 on at least Solaris 2.3 and handle future/past versions on
7463 a case by case basis as appropriate. Also update message
7464 to include i*86 failures.
7465
7466Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7467
7468 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7469
7470 * lib/gdb.exp: Fix comment which erroneously identified
7471 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7472 gdb_file_cmd not gdb_load).
7473 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7474
7475 * gdb.base/setvar.exp: Make test names consistent between pass and
7476 fail cases. Use gdb_test more.
7477
7478Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7479
7480 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7481
7482Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7483
7484 * gdb.base/help.exp: Fix expected help string for `show commands'.
7485
7486Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7487
7488 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7489
7490 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7491 of a text section.
7492
7493Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7494
7495 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7496 that loop eventually terminates. Fix Connection refused logic so
7497 that testsuite will expire nicely.
7498
7499Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7500
7501 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7502 config/rom68k.exp: New tcl glue for the appropriate monitors.
7503 These all just end up calling monitor.exp.
7504 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7505 refused' by retrying. Cleanup some timeout issues.
7506 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7507 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7508 callers don't have to set/restore global timeout variable.
7509
7510 * The following set of changes centralizes management of the global
7511 timeout variable. This way, it can be set in one target dependent
7512 place instead of dozens of places scattered throughout the test suite.
7513 If you need to lengthen a timeout, then you should either set timeout
7514 in one of the config/{target}.exp files, or multiply it by a factor.
7515 Setting it to an absolute value is always going to lose for some
7516 targets.
7517 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7518 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7519 * gdb.base/funcargs.exp: Don't set timeout.
7520 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7521 * gdb.base/printcmds.exp (test_print_string_constants
7522 test_print_array_constants): Don't set timeout.
7523 * gdb.base/ptype.exp: Don't set timeout.
7524 * gdb.base/recurse.exp: Don't set timeout.
7525 * gdb.base/return.exp: Don't set timeout.
7526 * gdb.base/watchpoint.exp: Don't set timeout.
7527 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7528 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7529
7530Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7531
7532 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7533
7534Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7535
7536 * lib/gdb.exp: Disable chill tests for irix5.
7537
7538Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7539
7540 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7541 each test pass or fail.
7542
7543Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7544
7545 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7546 xlc not gcc.
7547
7548Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7549
7550 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7551
7552Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7553
7554 * config/est.exp: Fix copyright and comments. Remove dead code.
7555 Use targetname, serialport and baud variables instead of fixed
7556 constants.
7557 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7558 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7559
7560Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7561
7562 * gdb.base/watchpoint.exp: Don't run
7563 test_watchpoint_triggered_in_syscall for sunos.
7564
7565Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7566
7567 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7568 they don't seem to exist. Do include stdio.h.
7569
7570Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7571
7572 * gdb.base/a1-selftest.exp: Add alpha xfail.
7573
7574Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7575
7576 * gdb.base/watchpoint.c (main): Prompt before calling read().
7577 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7578 Revise accordingly. Remove cruft about sending "123" several
7579 times, until it gets noticed. Clean up the "print buf[0]" stuff
7580 so that it passes or fails, and waits for prompts in the usual way.
7581
7582Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7583
7584 * gdb.base/recurse.exp: Fix comment.
7585
7586 * TODO: Remove item about printing variables in nodebug.exp. Add
7587 item about enabling tests which are only run on some targets.
7588
7589 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7590 fail, make test names unique, use new gdb_test convention
7591 regarding pattern, use gdb_test more, etc.).
7592
7593 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7594 fail, make test names unique, etc.).
7595
7596Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7597
7598 * gdb.base/nodebug.c: Change return type of top and middle to
7599 short.
7600 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7601 are fixed by the recent mdebugread.c changes. Allow `short ()'
7602 as type for top and middle.
7603
7604Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7605
7606 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7607 nearly as I can tell, the whole thing was an accident in Stu's
7608 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7609 to replace a send/expect pair with gdb_test, but ended up only
7610 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7611 of 30 Mar 1995 took care of it, but left this vestigial comment
7612 which I am now nuking.
7613
7614Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7615
7616 * gdb.base/break.exp: Look for different line number for
7617 breakpoint at main depending on usestubs.
7618
7619Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7620
7621 * gdb.base/list.exp: Adjust some alternate expect patterns to
7622 match recent list0.c change. Add alternate expect pattern for
7623 output from `list default lines around main' for optimizing
7624 compilers.
7625
7626Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7627
7628 * lib/gdb.exp: If nosignals is not set, set it to 0.
7629
7630Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7631
7632 * config/slite-gdb.exp: Responds to load symbol table prompt.
7633 * gdb.base/break.exp: Adjust line number, fix rerun.
7634 * gdb.base/langs0.c: Add #ifdef usestubs.
7635
7636Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7637
7638 * gdb.base/list.exp: Adjust line contents after adding new lines in
7639 list0.c. Also fix a syntax error.
7640
7641 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7642 * gdb.base/break.exp: ditto.
7643 * gdb.base/list.exp: ditto.
7644 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7645 * gdb.base/run.c: ditto.
7646 * gdb.base/list0.c: ditto.
7647 * gdb.base/funcargs.c: ditto.
7648
7649Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7650
7651 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7652 $targetname, $serialport and $baud instead of hardwired variables.
7653 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7654 target doesn't support signals.
7655
7656Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7657
7658 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7659
7660Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7661
7662 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7663 Don't rely on the value of an auto variable before it has been
7664 initialized. Use gdb_test more.
7665
7666Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7667
7668 * lib/gdb.exp (default_gdb_version): A version number must start
7669 with a digit, but other than that contains all characters up to
7670 the first whitespace character.
7671
7672Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7673
7674 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7675
7676Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7677
7678 * gdb.c++/*.exp: Warn if executable does not exist. The original
7679 reason for skipping the warning was that configure.in sometimes
7680 intentionally skipped building the executables but the tcl code
7681 had no way of knowing. That (a) was always bogus with respect to
7682 error handling, (b) is no longer true (right now there is no way
7683 to skip C++ tests).
7684
7685 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7686
7687Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7688
7689 * gdb.base/list.exp: Add expect patterns for output from
7690 SunPRO compiled executables.
7691 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7692 types.
7693
7694Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7695
7696 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7697 number (we are already testing that the correct source line text
7698 gets printed).
7699
7700 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7701 that is what is intended, but something needed to be done to get
7702 sunos4 native working again.
7703
7704 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7705
7706 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7707 apparently went with a (very) old xfail.
7708
7709Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7710
7711 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7712 runto_main is a proc in gdb.exp that will do 'step' for target use
7713 stubs.
7714 * gdb.base/exprs.exp: ditto.
7715 * gdb.base/interrupt.exp: ditto.
7716 * gdb.base/opaque.exp: ditto.
7717 * gdb.base/printcmds.exp: ditto.
7718 * gdb.base/ptype.exp: ditto.
7719 * gdb.base/scope.exp: ditto.
7720 * gdb.base/setvar.exp: ditto.
7721 * gdb.base/signals.exp: ditto.
7722 * gdb.base/twice.exp: ditto.
7723 * gdb.c++/classes.exp: ditto.
7724 * gdb.c++/inherit.exp: ditto.
7725 * gdb.c++/templates.exp: ditto.
7726 * gdb.base/break.exp: no run and hit main for stubs. Change line
7727 numbers for breakpoints and info breakpoint.
7728 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7729 breakpoint().
7730 * gdb.base/callfuncs.c: ditto.
7731 * gdb.base/exprs: ditto.
7732 * gdb.base/interrupt.c: ditto.
7733 * gdb.base/opaque0.c: ditto.
7734 * gdb.base/printcmds.c: ditto.
7735 * gdb.base/ptype.c: ditto.
7736 * gdb.base/scope0.c: ditto.
7737 * gdb.base/setvar.c: ditto.
7738 * gdb.base/signals.c: ditto.
7739 * gdb.base/twice.c: ditto.
7740 * gdb.c++/misc.cc: ditto.
7741 * gdb.c++/templates.cc: ditto.
7742
7743Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7744
7745 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7746
7747 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7748 somewhere between `read' and `main.c'. I'm pretty sure the
7749 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7750 and it isn't particularly useful.
7751
7752 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7753
7754Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7755
7756 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7757
7758Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7759
7760 * config/mt-slite: add LIBS and -nostdlib.
7761 * config/slite-gdb.exp: add this new file to support sparclite target.
7762
7763Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7764
7765 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7766
7767 * gdb.base/a2-run.exp: Change argument to istarget from
7768 "*-*-vxworks" to "*-*-vxworks*".
7769 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7770
7771Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7772
7773 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7774 will not runto main but do a 'step' to step out of breakpoint().
7775 * config/mt-slite: add -Dusestubs.
7776
7777Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7778
7779 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7780 instead of just @.
7781
7782 * gdb.base/signals.exp: Add test for "handle all print".
7783 * TODO: Remove "handle all print". Also remove item about
7784 checking copyright date (I don't like the idea of a spurious FAIL
7785 based on when we run the tests).
7786
7787 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7788 for SunOS4 (reason for failure not investigated). Remove
7789 redundant test for $binfile.
7790
7791 * gdb.base/nodebug.c (array_index): Call malloc.
7792
7793 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7794
7795Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7796
7797 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7798 conventions and slightly simplify the matching regexp.
7799
7800Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7801
7802 * gdb.base/break.exp: Update gdb_test invocation to use new
7803 convention.
7804
7805 * lib/gdb.exp: If noargs is not set, set it to 0.
7806
7807 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7808 tests unique.
7809
7810 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7811
7812Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7813
7814 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7815 one argument of type "<non-float parameter>".
7816
7817Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7818
7819 * config/rom68k.exp: New file to support Motorola IDP board.
7820 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7821 * gdb.base/break.c: Change things around so that this program
7822 doesn't depend upon args. This is necessary to make remote
7823 targets work (in general, they can't take args).
7824 * gdb.base/break.exp: Don't try to send args to program. Don't
7825 expect output. Also, replace lots of code with gdb_test.
7826
7827Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7828
7829 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7830 printing of '\'' (which is what the comment says we are testing,
7831 even though we were not), not '''.
7832 (test_integer_literals_rejected): Test that printing ''' is an error.
7833
7834 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7835 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7836 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7837 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7838 Use gdb_test not test_print_accept.
7839 * lib/gdb.exp: Remove test_print_accept.
7840
7841 * gdb.base/signals.exp (signal_tests_1): Make pass message
7842 consistent with fail message.
7843
7844 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7845 unsigned char; the bug (PR 1821) is fixed.
7846
7847 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7848
7849 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7850 successful tests--makes xfailing them work right.
7851
7852Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7853
7854 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7855 only \r\n, not .*. The test can pass .* as the last thing in
7856 $pattern if that is what it wants. In addition to providing this
7857 flexibility, this change should speed up pattern matching in cases
7858 where the pattern already ended with .* (there were a number of
7859 them). This change also helps catch bad patterns--in the old
7860 scheme the typo "char \*" instead of "char \\*" would pass. Now
7861 it is caught.
7862 * Many .exp files: Update callers.
7863
7864 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7865 clearer and does not spuriously match multiple ('s. Likewise for
7866 ) and *.
7867
7868 * gdb.base/nodebug.exp: Test ability to call a function and pass
7869 it a string (even with no debugging info).
7870
7871 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7872 "p '\'", which is the same as "p ''" once tcl gets done with
7873 quoting, to "p '\\'", which I suspect is what is intended (one
7874 backslash gets sent to GDB).
7875
7876 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7877
7878Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7879
7880 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7881 1817) was fixed literally years ago.
7882
7883Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7884
7885 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7886 test, it causes stepping out of call_after_alloca_subr with
7887 optimizing compilers.
7888 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7889 fails.
7890
7891 * gdb.c++/templates.exp: Source templ-info.exp only if
7892 the templates executable exists.
7893
7894 * gdb.c++/misc.cc (class Contains_static_instance,
7895 class Contains_nested_static_instance),
7896 gdb.c++/classes.exp (test_static_members): Test printing of
7897 a class that contains a static instance of the class.
7898
7899Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7900
7901 * gdb.base/langs2.c (cppsub_): Don't prototype.
7902 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7903 only, I believe).
7904
7905Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7906
7907 * lib/gdb.exp (skip_chill_tests): New procedure.
7908
7909 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7910
7911Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7912
7913 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7914 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7915
7916Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7917
7918 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7919
7920 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7921 disassemble 8, not 16, instructions for part 4.
7922
7923 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7924 support the latter anymore.
7925
7926 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7927 -DNO_PROTOTYPES.
7928 * gdb.base/callfuncs.c: Control use of prototypes based on
7929 NO_PROTOTYPES, not __STDC__.
7930 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7931 t_float_values2 tests if prototypes in use.
7932
7933 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7934 t_double_values): When checking differences against DELTA, check
7935 that difference is within the range (-DELTA,DELTA), not just
7936 (-infinity,DELTA).
7937
7938Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7939
7940 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7941 'file' command firts, then 'target', then 'load', this is due to gdb
7942 target set up.
7943 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7944
7945Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7946
7947 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7948 FP load/store variants.
7949 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7950
7951Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7952
7953 * gdb.base/term.exp: Do not give a warning if not native, it is
7954 not an abnormal condition.
7955
7956Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7957
7958 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7959 t_char_array".
7960
7961Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7962
7963 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7964 are getting the version number.
7965
7966 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7967 if not native, it is not an abnormal condition.
7968
7969Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7970
7971 * lib/gdb.exp: Just use "file exists", rather than undocumented
7972 dejagnu procedure "findfile".
7973
7974Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7975
7976 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7977 (LDFLAGS): Set to -Xlinker -Ur.
7978
7979 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7980 Removed, these values are set by lib/gdb.exp.
7981
7982 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7983
7984Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7985
7986 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7987 of replicating gdb startup code.
7988
7989 * config/mt-vxworks (LDFLAGS): Set to -r.
7990 (CFLAGS_FOR_TARGET): Removed.
7991
7992 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7993 (gdb) and gdb for vxworks uses (vxgdb).
7994
7995 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7996 executable is not in the tree and host != target, use sed and
7997 program_transform_name to determine the gdb name used by the
7998 target.
7999
8000 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8001 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8002
8003Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8004
8005 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8006 floats, chars, and shorts where there are ANSI-style function
8007 definitions.
8008
8009 * gdb.base/langs.exp, gdb.base/langs*: New test.
8010 * gdb.base/Makefile.in: Build it.
8011 * TODO: Remove item about checking that C names don't get C++
8012 demangling applied; this test tests it.
8013
8014Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8015
8016 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8017 went with the const70 xfail. The xfail went away a year ago.
8018
8019 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8020
8021 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8022 for hp300.
8023
8024 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8025
8026 * gdb.base/a1-selftest.exp: Don't run on hp300.
8027
8028Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8029
8030 * Makefile.in (site.exp): Set host_alias and target_alias as well
8031 as host_triplet and target_triplet.
8032
8033Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8034
8035 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8036
8037 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8038 places as other ecoff systems).
8039
8040 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8041 ultrix.
8042
8043Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8044
8045 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8046 remove them.
8047 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8048 variable and "variable" in addition to "data variable".
8049 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8050
8051 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8052 2.
8053 * gdb.base/list1.c (long_line): Add additional statement at start
8054 of function.
8055 * gdb.base/list.exp (test_forward_search): Update line number to
8056 reflect new statement.
8057
8058Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8059
8060 * gdb.base/signals.exp: Reinitialize searched source directories
8061 after gdb_start call.
8062
8063Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8064
8065 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8066 * gdb.stabs/Makefile.in: Likewise.
8067
8068 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8069 change. Instead split the tests into smaller pieces.
8070 * gdb.disasm/hppa.s: Corresponding changes.
8071
8072Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8073
8074 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8075 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8076
8077 * gdb.base/funcargs.exp: Modify many tests so that every test
8078 either passes or fails. Make some test names unique.
8079
8080Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8081
8082 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8083 Call stty to set interrupt character.
8084
8085 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8086 for HP assembler versus GNU assembler based on actual behavior of
8087 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8088
8089 * TODO: Suggest a few more stepping tests.
8090
8091Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8092
8093 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8094 restart GDB for h8300 after a continue.
8095 (return): Add pattern to match a29k-udi behavior.
8096 * gdb.base/nodebug.exp: Remove obsolete comment.
8097 * gdb.base/regs.exp: New file, testing of register displays.
8098 * gdb.base/return.exp: Fix typo in reference to $objdir.
8099 * gdb.base/whatis.exp: Always start with a fresh GDB.
8100
8101Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8102
8103 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8104 higher, these tests generate a lot of output.
8105
8106Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8107
8108 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8109 code following the catch silently ignored some errors; without the
8110 catch they should be thrown like any other tcl error. Also, the
8111 catch used "" instead of {} which meant all the callers who wanted
8112 to include one of the characters "[]$ had to quote it an extra time.
8113 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8114 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8115 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8116 Remove extra quoting.
8117
8118Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8119
8120 * gdb.base/commands.exp: Make test names unique; every test either
8121 passes or fails. Update some comments.
8122
8123 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8124
8125Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8126
8127 The following fixes a FAIL caused by the fact that the alpha stabs
8128 configuration didn't use the ".if alpha" code in weird.def.
8129 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8130 bit pointer, so the 32 bit version works even on the alpha.
8131 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8132 Remove the stuff which allowed us to have separate versions for
8133 alpha and everything else.
8134
8135 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8136 regexp which "info func operator\[\](" is supposed to match. Fix
8137 string to send to GDB. Note that GDB still doesn't work right. Add a
8138 new test for "info func .perator\[\](" which GDB does handle correctly.
8139
8140 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8141
8142Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8143
8144 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8145 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8146 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8147 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8148 it makes the tests harder to understand and confuses test-o-matic.
8149 The preferred style is that each test provides a PASS or a FAIL,
8150 and has a unique message (e.g. "continue #54" not just "continue")
8151 which is the same for the pass and the fail.
8152 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8153 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8154 to lib/gdb.exp.
8155 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8156 prt_accept which was basically the same thing. Likewise for
8157 test_print_reject and prt_reject.
8158 * lib/gdb.exp (test_print_reject): Add some more error message
8159 patterns to match from the former printcmds.exp (prt_reject).
8160 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8161 One defect of the passcount stuff is that some of it failed to
8162 report XPASS where appropriate.
8163 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8164 stuff before and after arg in expected pattern.
8165 (test_paddr_operator_functions): Re-do test without print_addr_of;
8166 this is the only test which seems to want extra stuff there.
8167
8168Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8169
8170 * gdb.base/nodebug.exp: Update new tests to reflect improved
8171 wording of gdb output.
8172
8173 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8174 and "ptype" work on variables in files compiled without -g.
8175 Replaces commented out "maint print msymbol" tests.
8176
8177Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8178
8179 * gdb.base/setvar.c (dummy): Call malloc.
8180
8181 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8182 losing with the irix4 sed.
8183
8184 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8185 ALRM" on irix4.
8186
8187Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8188
8189 * TODO: Remove items about corefile.exp testing new exec-file and
8190 backtrace; both are now done. Add items about printing enums.
8191
8192Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8193
8194 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8195 "get signal $thissig" test fails.
8196
8197 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8198
8199Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8200
8201 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8202 compiler warning with dec alpha compiler.
8203
8204 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8205 extra \n from gdb_test call (this explains why the prompt test
8206 that I removed yesterday was there).
8207 (user_defined_command_test): Remove extra \n and prompt test.
8208
8209 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8210 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8211 doesn't exist.
8212 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8213 Also remove alpha workaround, which turns out to be because
8214 SIGABRT == SIGLOST.
8215
8216 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8217
8218 * gdb.base/help.exp: Don't test "help show".
8219
8220Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8221
8222 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8223 "set print address" is on.
8224 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8225 pass prompt to gdb_test; gdb_test already looks for the prompt.
8226
8227 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8228
8229 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8230 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8231 was to make sure that gdb can read a core file. But (a) the "read
8232 the corefile" part didn't make it to a1-selftest.exp, we just
8233 delete the corefile after creating it, and (b) we test reading
8234 corefiles in corefile.exp anyway. Also, this test left around a
8235 xgdb process on Solaris.
8236
8237 * gdb.base/corefile.exp: Also test backtrace.
8238
8239Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8240
8241 * gdb.base/commands.exp: Test a simple user defined command with
8242 arguments and if/while statements; verify the full user command is
8243 printed by "show user".
8244
8245 * gdb.base/commands.exp: Test if/while commands as part of a
8246 breakpoint command list; verify they appear in breakpoint
8247 information.
8248
8249Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8250
8251 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8252 than by dividing by zero.
8253
8254Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8255
8256 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8257 performing an inferior call with watchpoints enabled.
8258 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8259 call.
8260
8261Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8262
8263 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8264 of "file" command.
8265
8266 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8267 Add additional pattern for when "int operator int(void);" appears
8268 in a different order.
8269
8270Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8271
8272 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8273
8274 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8275 and "signal" with ".*".
8276
8277Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8278
8279 * TODO: Add note about "handle all nostop".
8280
8281 * gdb.base/{sigall.c, sigall.exp}: New test.
8282 * gdb.base/Makefile.in: Add it.
8283
8284Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8285
8286 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8287 when invoking GDB, suppresses any windowing interface.
8288
8289Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8290
8291 * config/sim-gdb: New file, simulator testing support.
8292
8293Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8294
8295 * gdb.base/interrupt.exp: Test calling func1 twice.
8296
8297Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8298
8299 * gdb.base/list.exp (test_forward_search): Set timeout higher
8300 when we'll be getting lots of output from gdb.
8301
8302 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8303 "init_malloc" to after the expect statement. Run it if that
8304 regexp is taken, but also for two others which happen if source
8305 cannot be found.
8306
8307Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8308
8309 * gdb.base/printcmds.exp: New test, for printing register before
8310 program is running.
8311
8312Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8313
8314 * gdb.base/list.exp: Correct some alternate expect patterns
8315 to reflect changes in list1.c.
8316
8317Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8318
8319 * TODO: Add item regarding large frames.
8320
8321 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8322
8323 * TODO: Remove item about enabling return.exp; it
8324 is enabled. Suggest a few more "return" tests.
8325
8326Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8327
8328 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8329 anonymous unions.
8330
8331Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8332
8333 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8334 and pr-5646.o, so "make" is the same as "make all", not "make
8335 pr-4975.o".
8336
8337Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8338
8339 * gdb.base/list.exp: Adjust expectations to reflect changes in
8340 list1.c.
8341 (test_forward_search): New test proc.
8342 * gdb.base/list1.c (long_line): New function, has long source line.
8343
8344Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8345
8346 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8347 additional line of code that was added.
8348
8349Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8350
8351 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8352 tests so as not to overflow expect's input buffers.
8353 * gdb.disasm/hppa.exp: Corresponding changes.
8354
8355Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8356
8357 Beginnings of template debugging tests.
8358 * gdb.c++/templ-info.cc: New file to test for template
8359 debugging capability of the compiler.
8360 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8361 templ-info.cc.
8362 * gdb.c++/templates.cc: Add explicit template instantiations
8363 to enable compiling with -fno-implicit-templates. Add destructor
8364 and 'value' method to T5 class for template tests.
8365 * gdb.c++/templates.exp: Add testcases for printing of template
8366 types, setting breakpoints on template methods and calling a
beb998c6 8367 template method.
c906108c
SS
8368
8369Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8370
8371 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8372 branch target since some assemblers (gas-2.5) may emit a
8373 relocation for the branch instead of resolving it in the
8374 assembler.
8375
8376Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8377
8378 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8379 through signal handler.
8380
8381Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8382
8383 * configure.in (*-*-netware): Use config/mt-netware.
8384
8385 * config/mt-netware: New file.
8386 * config/mt-i386-netware: Removed, separate configs for different
8387 netware architectures are no longer needed now that we have
8388 --with-headers.
8389
8390Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8391
8392 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8393 by the recent changes to use ANSI C arithmetic conversions.
8394
8395Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8396
8397 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8398 bug involving using inferior_pid to figure out whether to select a
8399 frame.
8400
8401Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8402
8403 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8404 match the current disassembler output.
8405
8406Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8407
8408 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8409 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8410 types, expect "int" as type of integer values (for now).
8411
8412Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8413
8414 * gdb.base/commands.exp: New tests for if/while commands.
8415
8416Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8417
8418 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8419 by .*, since hex values have different syntax in Chill mode.
8420
8421Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8422
8423 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8424 linefeed from expect pattern for repeated types with indices > 9.
8425
8426Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8427
8428 First part of Fortran test suite.
8429 * gdb.fortran: New directory.
8430 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8431
8432Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8433
8434 * gdb.base/default.exp: Update expect pattern for load command
8435 without arguments.
8436
8437Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8438
8439 * configure.in: Change i386 to i[345]86.
8440 * gdb.base/configure.in: Likewise.
8441 * gdb.c++/configure.in: Likewise.
8442 * gdb.chill/configure.in: Likewise.
8443
8444Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8445
8446 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8447 patterns, since that is not a valid context for comments.
8448
8449Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8450
8451 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8452 repeated types and repeated types with indices > 9.
8453
8454Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8455
8456 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8457 2417; old bug has been fixed.
8458
8459Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8460
8461 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8462 send the newline ourselves instead of assuming gdb_test will do
8463 so when passed an empty input string.
8464
8465 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8466 stabs testcode.
8467
8468Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8469
8470 * lib/gdb.exp (gdb_test): Don't send anything if the first
8471 argument is an empty string. This makes cases where we want to
8472 match output that is already in expect's buffers (for example,
8473 matching a breakpoint after gdb_run_cmd has been called) work
8474 reliably.
8475
8476Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8477
8478 * config/netware.exp: New file.
8479
8480Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8481
8482 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8483 the -B and -L prefixes so we can find the debugging stub.
8484
8485 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8486 there and we are using the gcc from the tree.
8487
8488 * gdb.base/types.c: Removed.
8489
8490 * gdb.base/configure.in: Look for makefile fragments in ../config.
8491 Recognize i386-*-netware.
8492 * gdb.c++/configure.in: Likewise.
8493
8494Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8495
8496 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8497 the correct TCL syntax.
8498
8499Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8500
8501 * gdb.base/opaque.exp: use runto instead of messing around with
8502 breakpoints. Simplify by using gdb_test.
8503
8504 * gdb.base/bitfields.exp: restart between tests on netware targets
8505 because breakpoints aren't relocated after target death. Run
8506 processes to completion.
8507
8508 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8509
8510Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8511
8512 * Makefile.in: Remove extra tabs that confuse some versions
8513 of "make". Use the newly built gdb to test with by default,
8514 rather than the first one in the tester's search path.
8515
8516Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8517
8518 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8519
8520 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8521 condition help.
8522
8523Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8524
8525 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8526
8527 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8528 running.
8529 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8530 * gdb.base/funcargs.exp: Likewise.
8531
8532 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8533 * gdb.base/funcargs.exp: Likewise.
8534
8535 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8536 message is "".
8537
8538Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8539
8540 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8541 return,signals,twice}.exp: Handle non-existant binaries
8542 consistantly.
8543
8544 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8545 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8546 might testing a cross development system.
8547
8548Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8549
8550 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8551 runtest script is relative to ${srcdir}, not ${rootdir}.
8552
8553Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8554
8555 * gdb.base/signals.exp: Allow for optionality of breakpoint
8556 address.
8557
8558Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8559
8560 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8561
8562Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8563
8564 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8565 for size_t definition.
8566 * gdb.c++/templates.cc: Likewise
8567
8568 * config/mt-i386-netware: New file.
8569
8570 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8571 defined.
8572
8573 * gdb.base/Makefile.in: Added support for systems that name core
8574 files by appending "core" to the program name.
8575 * gdb.base/a1-selftest.exp: Likewise.
8576
8577Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8578
8579 * gdb.base/return.exp: Add comment and message for `return double'
8580 test failure on Sparc Solaris.
8581
8582Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8583
8584 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8585
8586Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8587
8588 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8589 from optimizing them away.
8590 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8591 patterns to include default constructors and assignment operators,
8592 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8593 character in the output of the virtual base pointer.
8594
8595Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8596
8597 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8598 expression match in print_addr_of to avoid unintented matches.
8599 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8600 versions up to 2.5.8.
8601
8602Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8603
8604 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8605 included file to run under newer versions of expect.
8606 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8607 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8608 Remove xfail for the virtual table of BDDHookV.
8609
8610Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8611
8612 * lib/gdb.exp (string_to_regexp): Set a default result.
8613 (default_gdb_start): Fix misleading message.
8614
8615Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8616
8617 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8618 Remove all CC, etc definitions.
8619 * config/mt-hpux: New file.
8620 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8621 (CFLAGS, LDFLAGS): Define.
8622 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8623
8624 * Makefile.in (site.exp): Don't insert host_os, etc.
8625 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8626 (distclean): Check existence of subdir.
8627 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8628 * gdb.base/Makefile.in: General cleanup and simplification.
8629 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8630 to build executables. Use default rule to build .o files.
8631 (EXPECT, RUNTEST, CC): Fix relative pathname.
8632 (site.exp): Don't insert host_os, etc.
8633 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8634 and/or SIGUSR1 defined.
8635 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8636 * gdb.c++/Makefile.in: General cleanup and simplification.
8637 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8638 (CFLAGS): Remove.
8639 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8640
8641Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8642
8643 * gdb.base/recurse.exp: Misc changes to get tests running again
8644 after Kung's changes to the watchpoint code.
8645 * gdb.base/watchpoint.exp: Likewise.
8646
8647Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8648
8649 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8650
8651Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8652
8653 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8654 * lib/gdb.exp (default_gdb_start): Define.
8655 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8656 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8657 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8658 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8659 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8660 Don't call gdb_target_udi in between tests.
8661
8662Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8663
8664 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8665 (which was basically just a local version of the same thing). In
8666 addition to avoiding duplication, gdb_test_exact is faster.
8667 * lib/gdb.exp (gdb_test_exact): Fix typo.
8668
8669 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8670 don't give an error.
8671
8672 * gdb.base/term.exp: Call delete_breakpoints before starting.
8673
8674 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8675 (t10): Add comment.
8676
8677Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8678
8679 Reorganization of the GDB Test Suite.
8680
8681 * gdb.base: New directory, contains all the basic tests.
8682 * gdb.c++: New directory, tests specific to C++.
8683 * gdb.chill: New directory, tests specific to Chill.
8684 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8685 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8686 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8687 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8688 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8689 t30-31 to chill).
8690 * */gdbme.*: Rename to match appropriate expect scripts.
8691 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8692 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8693 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8694 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8695 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8696 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8697 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8698 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8699 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8700 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8701 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8702 gdb.c++/virtfunc.cc: New names of C++ files.
8703 * gdb.chill/chillvars.ch: New name of Chill file.
8704 * gdb.base/configure.in, gdb.c++/configure.in,
8705 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8706 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8707 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8708 * configure.in (configdirs): Update to reflect directory changes.
8709 (target_abbrev): No longer define for any configuration.
8710 * Makefile.in: Cosmetic improvements to header comments.
8711
8712Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8713
8714 Various changes to gdb.t31:
8715
8716 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8717 * gdbme.ch: Make all key-words and predefineds be upper-case.
8718 * chillvars.exp: Expect key-words and predefinds in upper-case.
8719
8720 * chillvars.exp: Use gdb_test_exact many places.
8721 Change expected output for arrays (which now includes index labels).
8722
8723 * pr-5020.exp, gdme.ch (module PR_5020):
8724 New test, for PR-5020.
8725
8726Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8727
8728 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8729 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8730
8731Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8732
8733 * Makefile.in: Fix bit-rot in definitions of CHILL,
8734 CHILL_FOR_TARGET and Chill_LIB.
8735 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8736 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8737 CHILL, and CHILL_LIB.
8738
8739Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8740
8741 * Revert the previous changes. Please see Rob's directory
8742 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8743
8744Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8745
8746 * Makefile.in, configure.in, config/mips-gdb.exp,
8747 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8748 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8749 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8750 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8751 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8752 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8753 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8754 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8755 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8756 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8757 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8758 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8759 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8760 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8761 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8762 changes from 94Q1.
8763
8764Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8765
8766 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8767 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8768 Rob's new testing fragments.
8769
8770Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8771
8772 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8773 lib/gdb.exp: Replace error proc calls with perror.
8774
8775Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8776
8777 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8778 version also, match on casted version strings, and match on
8779 gdb startup case where the line numbers might be messed up.
8780
8781Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8782
8783 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8784 (CFLAGS): Delete it from here.
8785
8786Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8787
8788 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8789
8790Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8791
8792 * Makefile.in (RUNTEST): Default to just "runtest".
8793
8794Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8795
8796 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8797 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8798 the code has been restructured.
8799
8800Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8801
8802 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8803 \n, not just one of each.
8804
8805 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8806 /bin/cc gives a warning if you do.
8807
8808Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8809
beb998c6 8810 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8811 __t10ListS_link1ZUiRCUiPT0
8812
8813Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8814
8815 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8816 on local variables in recursive functions.
8817
8818 * gdb.t07/Makefile.in: Build the new test.
8819
8820Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8821
8822 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8823 directly. Instead compare the return values from actual calls.
8824
8825Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8826
8827 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8828
8829Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8830
8831 * From Peter Schauer with minor modifications.
8832 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8833 stops in mid-line in the caller. Add xfail for returning a float
8834 value on X86 targets.
8835
8836Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8837
8838 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8839 to avoid expect lossage.
8840 (fmem_LRbug_tests): Likewise.
8841 * gdb.disasm/hppa.s: Corresponding changes.
8842
8843 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8844 conditions to work with latest dejagnu/expect.
8845
8846 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8847 expected to fail on the PA.
8848 (backtrace in call with trampolines): Explicitly require main
8849 to be frame #1 (no trampolines should show up in backtrace).
8850
8851 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8852 "continue -expect".
8853 * gdb.t06/break.exp: Likewise.
8854 * gdb.t07/watchpoint.exp: Likewise.
8855 * gdb.t13/bitfields.exp: Likewise.
8856 * gdb.t15/{funcargs,return}.exp: Likewise.
8857 * gdb.stabs/weird.exp: Likewise.
8858 * config/{mips,udi}-gdb.exp: Likewise.
8859
8860 * hppa.sed: Enclose comments within a sed command to avoid
8861 losing with the old OSF1 sed.
8862
8863Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8864
8865 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8866 sequent dynix.
8867 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8868 * gdb.t15/funcargs.exp: Conditionally step again to really
8869 finish from marker_call_with_trampolines. Handle the case where
8870 the first step from within call_with_trampolines already steps
8871 us back to main.
8872 * gdb.t15/gdbme.c: Add comment to closing brace of
8873 call_with_trampolines for funcargs.exp.
8874
8875Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8876
beb998c6 8877 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8878 Fix typo(s).
8879
8880Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8881
8882 * gdb.t07/gdbme.c: More code for watchpoint testing.
8883
8884 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8885 "Hardware watchpoint" throughout file.
8886 (test_watchpoint_triggered_in_syscall): New test.
8887 (test_complex_watchpoint): New test.
8888
8889Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8890
8891 * gdbme.c (call_with_trampolines): New function to try and step
8892 into. Tests trampoline problems on the PA.
8893
8894 * funcargs.exp (localvars_in_indirect_call): No longer expect
8895 stepping into indirect call to fail on PAs.
8896 (test_stepping_over_trampolines): New test.
8897
8898Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8899
8900 * TODO: Add suggestions for static member function tests, and
8901 completion tests.
8902
8903Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8904
8905 * TODO: Add suggestions for "p/a" tests.
8906
8907 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8908 (default_gdb_exit): Replace all the hair with sending "quit" to
8909 the process with a simple close.
8910
8911Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8912
8913 * TODO: Add suggestions for shared library tests.
8914
8915Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8916
8917 * TODO: Add suggestions for x/s tests.
8918
8919Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8920
8921 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8922 "enable once", and "enable breakpoints once" with ".*".
8923
8924Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8925
8926 * TODO: Add suggestions about structure passing tests.
8927
8928Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8929
8930 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8931 the primary1 test, use work around if __GNUC__ < 2.
8932 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8933 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8934 Test for bad output rather than waiting for timeout. Issue
8935 second continue only if first continue failed.
8936
8937Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8938
8939 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8940 operator[] test with gdb_test because the old code didn't seem to
8941 be getting the quoting right with the new dejagnu.
8942
8943Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8944
8945 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8946 one from the path.
8947 * Makefile.in: Use a fresh expect if there is one, use runtest
8948 from the src tree if there is one.
beb998c6 8949
c906108c
SS
8950Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8951
8952 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8953 next over recursive call. Revise the tests from that point on
8954 (which had been skipped) to match GDB's actual (correct) output.
8955
8956 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8957 with next over a breakpoint whose condition is false.
8958
8959 * gdb.t00/help.exp: Comment out "help set print" tests just like
8960 (and for same reason as) "help set" test.
8961
8962Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8963
8964 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8965 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8966
8967Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8968
8969 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8970 necessary gdb_target_udi.
8971
8972 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8973
8974 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8975 1838 and 2417; they are fixed.
8976
8977 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8978 gdb.t03/ptype.exp (ptype structure, ptype union):
8979 Remove xfails; the test is looser than when the xfails were added.
8980
8981 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8982 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8983
8984 * gdb.t01/run.exp: Only run shell test if isnative.
8985
8986 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8987 since "run" automatically loads if necessary. Call gdb_target_udi
8988 after the "file" since "file" kills any execution target.
8989
8990 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8991 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8992 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8993 argument for UDI.
8994
8995Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8996
8997 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8998
8999 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9000
9001Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9002
9003 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9004 properly quoting regexps. This makes the second argument to
9005 demangle a fixed string, which matches the callers, instead of a
9006 shell-style pattern which is what the previous implementation
9007 used. Update some of the callers.
9008
9009Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9010
9011 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9012 (comib_nullified_tests): Fix typo.
9013 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9014 strings. No longer expected to fail.
9015
9016 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9017 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9018 strings. No longer expected to fail.
9019
9020 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9021 string. No longer expected to fail.
9022
9023Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9024
9025 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9026 No longer expected to fail.
9027
9028 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9029 string. No longer expected to fail.
9030
9031Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9032
9033 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9034 only in the names (I probably got most of them). I was even
9035 generous with some which differed in underscores in names, and
9036 probably missed a few, and I *still* was able to remove almost a
9037 third of the file with almost no impact on testsuite coverage.
9038
9039Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9040
9041 * gdb.t00/default.exp: Match udi_attach error message as well as
9042 the one from child_attach.
9043
9044 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9045
9046 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9047
9048 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9049 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9050
9051 * Move test with enums and partial symbols back to
9052 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9053 Reverts the change of 26 May 93. Per today's change to
9054 stabs.texinfo, the behavior that weird.exp was expecting was
9055 unreasonable; what is important is that the compiler+gdb get
9056 things right, which happens with a recent gcc. Also fix the test
9057 to deal with native compilers which put out the stab gdb can't
9058 deal with.
9059
9060Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9061
9062 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9063 in the names. The main thing these accomplish is to slow things down.
9064 Many more such duplicates surely remain.
9065
9066 * gdb.t00/help.exp: Comment out "help support" test just like
9067 (and for same reason as) "help set" test.
9068
9069Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9070
9071 * gdb.t06/break.exp: Remove setup_xfails for
9072 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9073 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9074 about known bug in gcc to include up through 2.5.8.
9075 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9076 well as "_vb$".
9077 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9078 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9079 with latest gcc and gdb.
9080 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9081 well as "_vb$".
9082
9083Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9084
9085 * configure.in (hppa*-*-*): Also configure and build stabs-only
9086 tests.
9087
9088Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9089
9090 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9091 * gdb.t10/configure.in (hppa*-*-*): Use it.
9092
9093Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9094
9095 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9096
9097Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9098
9099 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9100 versions prior to 1.13.5.
9101
9102Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9103
9104 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9105 the prompt is at the start of a line.
9106
9107Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9108
9109 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9110 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9111 in the copr tests now.
9112 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9113 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9114 expected to fail.
9115
9116Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9117
9118 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9119 gdb.t31/chillvars.exp, lib/gdb.exp:
9120 Tweak to run under either version of expect.
9121 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9122 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9123 * gdb.t11/list.exp: Remove extraneous whitespace.
9124
9125Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9126
9127 * gdb.t16/printcmds.exp (test_print_strings): Accept
9128 "(unsigned char *) " before the string.
9129
9130 * TODO: Add notes about printing of fancy types and GDB expressions.
9131
9132Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9133
9134 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9135 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9136 if doing mips-idt-ecoff.
c906108c
SS
9137
9138Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9139
9140 * Most .exp files: Tweak to run under either version of expect.
9141
9142Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9143
9144 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9145 xfails; I'm not sure why they are failing, but not because of PR 1806.
9146
9147Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9148
9149 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9150 defined in lib/gdb.exp.
9151
9152Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9153
9154 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9155 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9156 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9157 have to be typeless.
9158
9159Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9160
9161 * TODO: Add suggestion for copyright year test.
9162
9163Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9164
9165 * configure.in (*-*-lynxos*): Add stabs tests.
9166
9167Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9168
9169 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9170 so insert a tab before any assembler directive in column zero.
9171
9172 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9173 stores.
9174 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9175 stores.
9176 (fpu_short_memory_tests): Likewise.
9177
9178Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9179
9180 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9181 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9182 .stabs directives in comments.
9183
9184Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9185
9186 * TODO: New file, describing tests we could write.
9187 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9188
9189Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9190
9191 * gdb.t06/signals.exp: Add kludge to force re-sync.
9192
9193 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9194 to xgdb instead of gdb, get out of gdb.
9195
9196Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9197
9198 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9199 for info.
9200
9201Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9202
9203 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9204 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9205 * gdb.stabs/hppa.sed: New sed script for the PA.
9206
9207Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9208
9209 * gdb.stabs: Re-write weird.def and configuration to use sed
9210 instead of cpp. sed is portable and POSIX; cpp is neither.
9211
9212Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9213
9214 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9215
9216Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9217
9218 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9219
9220Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9221
9222 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9223 "_vb$".
9224 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9225 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9226
9227Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9228
9229 * lib/gdb.exp: Comment out code which depends on non-existent
9230 `transform' procedure.
9231
9232Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9233
9234 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9235 * lib/gdb.exp: Transform tool name.
9236 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9237 1.1's new error handling system.
9238
9239Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9240
9241 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9242
9243Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9244
9245 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9246 They made pattern matching so slow that timeouts happened on
9247 heavily loaded systems. Now any output from "show print" which
9248 gets us back to the GDB prompt is a PASS.
9249
9250Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9251
9252 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9253
9254Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9255
9256 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9257
9258 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9259 It is not from PR 3220.
9260
9261Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9262
9263 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9264 just started failing because they depended on the order the
9265 subcommands are presented, or exact docstring text. This kind of
9266 test is a pain and has minimal benefit.
9267
9268Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9269
9270 * gdb.t09/corefile.exp: At end of test, use "core" command with
9271 no arguments.
9272
9273Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9274
9275 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9276 17}/Makefile.in: Make it possible to run the testsuite with Sun
9277 make and CC = cross gcc by adding explicit build rules for .o
9278 files.
9279
9280Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9281
9282 * gdb.t15/funcargs.exp: Don't put comments on same line as
9283 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9284
c906108c
SS
9285Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9286
9287 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9288
9289Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9290
9291 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9292 * gdb.t20/inherit.exp: remove three dumplicate entries.
9293
9294Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9295
9296 * gdb.t06/break.exp: For "next over recursive call", fail on any
9297 incorrect output, not just on "factorial (value=2)".
9298
9299Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9300
9301 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9302 working now. Add an xfail if accesing a bss variable causes
9303 a memory error if the target is not yet run.
9304
9305Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9306
9307 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9308 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9309 name of __st* demangling (2 strings). Did Kung really get the
9310 more than 95 others right without testing them?
9311
9312Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9313
9314 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9315
9316Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9317
9318 * configure.in (configdirs): Add gdb.disasm
9319 * gdb.disasm: New directory for GDB disassembler tests.
9320 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9321
9322Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9323
9324 * gdb.t00/help.exp: Don't test "help set".
9325
9326 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9327 from within expect statements. None of these happen anymore and
9328 they cause regressions to be silently unnoticed.
9329
9330 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9331 messages) about known failures with gcc cygnus-2.4.5-930417.
9332
9333 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9334 comp-info.exp so it gets built if it doesn't exist.
9335
9336 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9337 it is no longer used.
9338 * gdb.t13/comp-info.c: Removed.
9339
9340Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9341
9342 * gdb.t06/signals.exp: Add xfail for sun3.
9343
9344Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9345
9346 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9347 relevant because ^C doesn't get sent but failure can be reproduced
9348 interactively).
9349
9350Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9351
9352 * gdb.stabs/alpha.mt: New configuration file for alpha.
9353 * gdb.stabs/configure.in: Use it.
9354 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9355 sharing with alpha.mt, redefine long to word via preprocessor.
9356 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9357 for alpha.
9358 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9359 native cc.
9360 * gdb.t00/teststrategy.exp: Change expect string so that we
9361 consume the `(xgdb)' from the command echo and from the gdb prompt.
9362 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9363 gdb currently compares all values as long, so this failure probably
9364 applies to any configuration where LONGEST is bigger than a target int.
9365 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9366 with gcc.
9367 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9368 to handle opaque pointers, gcc is.
9369 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9370 as first argument. Include <sys/types.h> and change all operator
9371 new definitions to use size_t.
9372 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9373 now that we use size_t.
9374
9375Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9376
9377 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9378 a long or float array cast all array members to the same type.
9379 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9380 with 64 bit longs.
9381 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9382 on alpha.
9383 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9384
9385Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9386
9387 * gdb.t24 (demangle.exp): Constructors of templates have names like
9388 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9389 section 14.6 of the ARM.
9390
9391 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9392 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9393 accomplish little and slow down the testsuite.
9394
9395 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9396 Accept spaces various places.
9397
9398Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9399
9400 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9401 with watchpoint enabled.
9402
9403 * Makefile.in: Remove definition of CC and remove the second
9404 definition of CXX (the "CXX = gcc" one remains). These definitions
9405 were causing backquotes to be expanded within backquotes, which
9406 doesn't work.
9407
9408Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9409
9410 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9411
9412Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9413
9414 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9415 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9416 by mips cc and contains no stabs entries.
9417
9418Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9419
9420 * config/vx-gdb.exp: Use fake device to load files rather than
9421 NFS.
9422 * lib/gdb.exp: New proc to do "file" command.
9423 * config/unix-gdb.exp: Use new "file" proc.
9424
9425Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9426
9427 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9428 Rework board rebooting slightly.
9429 (gdb_exit): Don't exit from the remote shell; there isn't one.
9430 * gdb.stabs/weird.exp: If a program is being debugged already,
9431 kill it.
9432 * gdb.t04/setvar.exp: Stop and restart gdb.
9433 * gdb.t05/expr.exp: Likewise.
9434 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9435 restart gdb and reload the program.
9436 * gdb.t08/opaque.exp: Likewise.
9437 * gdb.t12/scope.exp: Likewise.
9438 * gdb.t13/bitfields.exp: Likewise.
9439 * gdb.t15/funcargs.exp: Likewise.
9440 * gdb.t20/classes.exp: Likewise.
9441 * gdb.t03/ptype.exp: Increase timeout.
9442 * gdb.t16/printcmds.exp (test_print_string_constants,
9443 test_print_array_constants): Likewise.
9444 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9445 * gdb.t20/classes.exp (do_tests): Likewise.
9446 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9447
9448Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9449
9450 * gdb.stabs: Renamed *wierd* to *weird*.
9451
9452Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9453
9454 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9455 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9456
9457Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9458
9459 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9460 (do_tests): Remove xfail for whatis on one_var and two_var.
9461
9462Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9463
9464 * Makefile.in: Made cross building work better by adding
9465 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9466
9467Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9468
9469 * gdb.t15/{return.c,return.exp,Makefile.in}:
9470 New test, currently commented out.
9471
9472Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9473
9474 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9475 still running and removes the leftover named socket so GDb can do
9476 clean restarts.
9477
9478Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9479
9480 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9481 console, not GDB.
9482 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9483 cross testing works better with "make check"
9484 * config/unix-gdb: Use default procedures for exit and version.
9485 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9486 with the newest VxWorks.
9487
9488Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9489
9490 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9491 old form.
9492
9493 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9494 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9495
9496 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9497
9498 * config/unix-gdb.exp: Remove this version of gdb_exit
9499 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9500 Rob says he'll look at it when he gets back to testing boards.
9501
9502Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9503
9504 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9505 an expected fail for certain ptype commands.
9506
9507 * gdb.t20/classes.exp: Update expected results of "ptype class
9508 Base1" to account for the constructor that now appears in the type.
9509
9510Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9511
9512 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9513 disappeared from list.
9514 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9515 "alldone" proc with call to cleanup and exit.
9516 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9517 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9518 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9519 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9520 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9521 "alldone" proc with simple returns that suppress remaining
9522 tests. The alldone proc went away many months ago.
9523
9524Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9525
9526 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9527
9528 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9529
9530Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9531
9532 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9533 as vax gdb will display them.
9534
9535Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9536
9537 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9538 optimizers.
9539
9540 * scope.exp: Change "bad value for localval" messages so each one
9541 is unique.
9542
9543 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9544 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9545
9546 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9547
9548Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9549
9550 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9551 doesn't exist (due to optimization).
9552
9553Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9554
9555 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9556 contains \r because the filename is long.
9557
9558 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9559 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9560
9561Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9562
9563 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9564 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9565 Ultrix.
9566 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9567 int tests.
9568 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9569
9570Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9571
9572 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9573
9574 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9575 to match does not match the passing case but still matches the
c906108c
SS
9576 failing case.
9577
9578Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9579
9580 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9581
9582Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9583
9584 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9585 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9586 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9587 Remove various versions of gdb_exit.
9588 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9589 gdb_exit.
9590 * config/unix-gdb.exp: gdb_exit remains here, and should override
9591 the generic version, since it's doing a lot of wierd stuff that
9592 the other versions aren't. FIXME, fold it in, or abandon this
9593 version.
9594
9595Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9596
9597 * gdb.t24/demangle.exp: Add tests for PR 3220.
9598
9599Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9600
9601 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9602
9603Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9604
9605 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9606 "i386-*-*". Works for i486 as well.
9607
9608 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9609 bug, and expand domain of xfail to all SVR4 systems, since the
9610 actual problem is likely to be in generic SVR4 /proc support.
9611
9612Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9613
9614 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9615
9616Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9617
9618 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9619 xfails for other systems. Match a missing 'Continuing.' as an
9620 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9621
9622 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9623 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9624 Only issue warning for missing executables if -all option is used.
9625
9626 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9627 file if -all option is used. It's like an unpredictable XFAIL.
9628
9629Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9630
9631 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9632 for dynamically linked binaries.
9633
9634 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9635
9636Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9637
9638 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9639 to state that this is a known bug in old versions of g++.
9640
9641Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9642
9643 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9644 while waiting for `Continuing'.
9645
9646Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9647
9648 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9649 in text, data, and bss.
9650 * gdb.t10/nodebug.c: Add local and global test variables for
9651 initialized and uninitialized data.
9652
9653Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9654
9655 * config/unix-gdb.exp (gdb_exit): Add "wait".
9656
9657Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9658
9659 * gdb.t06/signals.exp: xfail the continue from the handler for all
9660 targets.
9661
9662 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9663 function with watchpoints enabled, the i386 call dummy starts with
9664 a call.
9665
9666 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9667 386 bsd names its corefiles.
9668
9669Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9670
9671 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9672 compilers don't grok it.
9673 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9674 with small octal ints rather than character constants, which
9675 are signed and might not fit if first promoted to int.
9676
9677Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9678
9679 * gdb.t09/Makefile.in (clean): Remove corefile.
9680
9681Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9682
9683 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9684
9685Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9686 and Jim Kingdon (kingdon@cygnus.com)
9687
9688 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9689 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9690 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9691
9692Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9693
9694 * gdb.t17/interrupt.exp: Add xfail for hppa.
9695
9696Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9697
9698 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9699 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9700 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9701 to determine signed-ness of bitfields and use the result to setup
9702 the xfail.
9703 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9704 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9705 call line is reached if necessary.
9706
9707Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9708
9709 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9710
9711Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9712
9713 * gdb.t06/break.exp: Also test `clear' command.
9714
9715Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9716
9717 * gdb.t00/teststrategy.exp: Remove extra quote.
9718
9719 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9720 watchpoint enabled to be for all non-68k machines.
9721
9722 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9723
9724Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9725
9726 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9727 targets use aout.mt instead of ecoff.mt as gas understands
9728 standard aout format.
9729
9730Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9731
9732 * lib/gdb.exp (runto): Don't insist that function we are running to
9733 was compiled with -g.
9734
9735 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9736
9737 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9738 to get back into the read system call.
9739 Accept leading newline in case where we woke it up.
9740
9741Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9742
9743 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9744 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9745 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9746 enable ecoff configuration.
9747
9748Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9749
9750 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9751
9752Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9753
9754 * gdb.t16/printcmds.exp: Add another printf test.
9755
9756Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9757
9758 * configure.in: If configured -with-stabs on any target, add
9759 stabsdirs to configdirs.
9760
9761Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9762
9763 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9764 fun" so pattern does not match the command itself.
9765
9766Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9767
9768 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9769
9770Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9771
9772 * gdb.t17/interrupt.exp: Test for more things.
9773
9774Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9775
9776 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9777 compiler arranges the code and line numbers.
9778
9779 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9780
9781Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9782
9783 * gdb.t00/help.exp: Increase expect input buffer size.
9784
9785Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9786
9787 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9788
9789 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9790
9791 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9792
9793 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9794 [0-9]*, not just [0-9].
9795
9796Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9797
9798 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9799
9800 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9801
9802Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9803
9804 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9805
9806Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9807
9808 * gdb.t06/signals.c: Add xfails for sun3.
9809
9810 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9811
9812 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9813 test_stepping tests.
9814
9815Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9816
9817 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9818
9819 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9820
9821 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9822 rather than actually putting it through cpp twice.
9823
9824 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9825
9826Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9827
9828 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9829 no longer needed.
9830
9831Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9832
9833 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9834
9835 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9836 C++ features prints as "struct", make it a pass, not an xfail.
9837
9838Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9839
9840 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9841 Don't require VA to print as "class" rather than "struct".
9842
9843Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9844
9845 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9846
9847Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9848
9849 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9850
9851Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9852
9853 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9854 order.
9855
9856Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9857
9858 * gdb.t16/printcmds.exp: Add printf tests.
9859
9860 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9861
9862 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9863
9864Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9865
9866 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9867 pass counts, to counteract any existing or future setup_xfails.
9868
9869Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9870
9871 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9872 {BEGIN,END}_COMMON for common block instead of STAB.
9873 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9874
9875 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9876 intp_var should be N_GSYM not N_LSYM.
9877 wierd-aout.S: Use a label for the value of the N_SO.
9878 wierd.def: Remove all backslashes.
9879 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9880
9881Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9882
9883 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9884 get the expected next to inheritance3.
9885
9886Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9887
9888 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9889 now that gcc-2.4 gets it right.
9890
9891Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9892
9893 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9894
9895 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9896 generating comp-info.exp which works for cross-compilation.
9897
9898Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9899
9900 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9901 "*-*-sysv4.*".
9902
9903Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9904
9905 * gdb.t01/run.exp: Start with a fresh gdb.
9906 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9907 SVR4.x.
9908
9909Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9910
9911 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9912 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9913 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9914 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9915 things to remove.
9916
9917Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9918
9919 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9920 test cases from bug reports.
9921
9922Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9923
9924 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9925 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9926 avoid spurious xfails.
9927 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9928 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9929 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9930
9931Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9932
9933 * gdb.t00/teststrategy.exp: Rework to provide more useful
9934 description of each test, fix problem with systems that define
9935 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9936 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9937 results for "next over recursive call" so timeouts aren't taken
9938 by error.
9939
9940Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9941
9942 * gdb.t12/scope.exp: Test printing of variables before run.
9943
9944 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9945 printed in wrong order due to sorting.
9946
9947Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9948
9949 * gdb.t00/teststrategy.exp: Fix expected results for printing
9950 user entered string constant. Is array of char, prints with no
9951 address.
9952
9953 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9954 commands.
9955 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9956 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9957 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9958 of struct of char arrays.
9959 * gdb.t00/radix.exp: New tests for radix commands.
9960
9961Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9962
9963 * gdb.t16/printcmd.exp: Print a variable before running program
9964 (with xfail for AIX).
9965
9966Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9967
9968 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9969
9970 * gdb.t16/printcmd.exp: Don't print variables before running program.
9971
9972 * gdb.t06/break.exp: Don't require envp argument to main.
9973
9974 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9975
9976 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9977 Add xfails for rs6000.
9978
9979 * gdb.t02/whatis.exp: Change other tests not to re-test something
9980 we already tested.
9981
9982 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9983 each type used has a variable of that type.
9984
9985Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9986
9987 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9988
9989Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9990
9991 * configure.in: change srctrigger to be a file, not a directory
9992
9993Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9994
9995 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9996
9997 * gdb.t11/list.exp: Fixed a couple of typos.
9998
9999Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10000
10001 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10002 is fixed and PR is closed.
10003 * gdb.t16 (gdbme.c): Add simple test string variable.
10004 * gdb.t16 (printcmds.exp): Add tests with simple test string
10005 variable, primarily for boundaries on "set print elements".
10006
10007Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10008
10009 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10010 Make leading 0's optional and don't expect a tab in the middle
10011 of the number.
10012
10013 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10014
10015 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10016 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10017 don't end command passed to gdb_test with newline.
10018
10019 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10020 signed keyword away, don't expect signed bitfields to be signed.
10021
10022 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10023 printing with only as many 1's as are in the field as well as printing
10024 with 32 1's (see comment).
10025
10026Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10027
10028 * gdb.t00/default.exp: Start with a fresh gdb.
10029 * configure.in (configdirs): Remove gdb.t31 until the chill
10030 compiler works again. It no longer is able to find chillrt0
10031 since it isn't in libchill.a anymore.
10032 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10033 wierd.o, make more modular.
10034 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10035 spurious newlines that caused problems.
10036
10037Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10038
10039 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10040 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10041 gdb.stabs/wierd.{exp,def}: Many new tests.
10042
10043 * gdb.t00/default.exp: update info line for new message.
10044
10045 * gdb.t02/{whatis.exp,gdbme.c}:
10046 Test that "char *" doesn't print as "caddr_t".
10047
10048Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10049
10050 * gdb.t00/help.exp: Use .* in place of some help messages which
10051 just changed.
10052 gdb.t00/default.exp: Update "info frame" test for new message.
10053 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10054 Remove some xfails
10055
10056Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10057
10058 * gdb.t03/{gdbme.c,ptype.exp}:
10059 Add tests for typedef'd struct and union without tags.
10060 Also check "whatis" on a variable of a typedef'd enum without a tag.
10061
10062 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10063 PRMS 1823; the bug still exists but isn't reproduced by this test
10064 anymore), and remove rs6000 XFAIL (the bug is fixed).
10065
10066 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10067 duplicated from whatis.exp. For those that are left, accept
10068 "long", "long int", or "int" for long variables (whatis.exp already
10069 has an XFAIL for "int", so no need to fail it here).
10070
10071 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10072 Deal with GCC's names for types now that GDB uses the compiler's names.
10073
10074 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10075 setup_xfail's for sunos4. If we #defined the signed keyword away,
10076 don't expect GDB to know that char it is signed.
10077
10078 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10079
10080Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10081
10082 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10083 should work on any system, regardless of debugging format.
10084 * gdb.t21/demangle.exp: Move to gdb.t24.
10085 * gdb.t24/demangle.exp: Move from gdb.t21.
10086 * gdb.t24/{Makefile.in, configure.in}: New files.
10087
10088Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10089
10090 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10091 * gdb.stabs: New directory.
10092
10093Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10094
10095 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10096 not just "Quit anyway?".
10097
10098Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10099
10100 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10101 that all setup_xfails are immediately followed by clear_xfails.
10102
10103Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10104
10105 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10106 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10107 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10108 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10109 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10110 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10111 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10112 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10113 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10114 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10115 gdb.t31/chillvars.exp, lib/gdb.exp:
10116 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10117 bug-gdb@prep.ai.mit.edu.
10118
10119Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10120
10121 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10122 with 0.0, not integer 0.
10123
10124Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10125
10126 * gdb.t06/break.exp: Update for "Kill the program" message change.
10127
10128Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10129
10130 * Makefile.in (GDBFLAGS): Set to -nx.
10131 * Makefile.in (site.exp): Use GDBFLAGS.
10132
10133Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10134
10135 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10136 Makefiles.
10137 (check): depend on just-check.
10138 (just-check): added so that tests can be run without a noop
10139 build pass.
10140
10141Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10142
10143 Switch to using configure's configdirs.
10144 * Makefile.in (Makefile): add configure.in dependency.
10145 (SUBDIRS): removed redundant assignment.
10146 * configure.in: switch subdirs assignment to configdirs.
10147 * gdb.t*/configure.in: new files.
10148
10149Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10150
10151 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10152 works.
10153
10154Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10155
10156 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10157 in explicit rules. Apparently this is not supported by some makes.
10158
10159Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10160
10161 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10162
10163Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10164
10165 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10166 disappeared.
10167
10168Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10169
10170 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10171
10172Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10173
10174 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10175 watchpoint problem that is now fixed.
10176 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10177 uninitialized convenience variables.
10178 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10179 structures.
10180
10181Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10182
10183 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10184 which causes expect to get out of sync with gdb on long output
10185 from help set.
10186 * gdb.t09/corefile.exp: Make expected pattern for core file
10187 failing signal and frame output format less sun specific.
10188
10189Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10190
10191 * gdb.t31/chillvars.exp: Add and remove initial dummy
10192 breakpoint, so that symbol table is forced in.
10193 (Needed at least on Sunos4, though it seems not SVR4.)
10194 * gdb.t31/chillvars.exp: Update for changed output format.
10195
10196Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10197
10198 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10199
10200Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10201
10202 * Makefile.in: Added --srcdir when invoking runtest, removed the
10203 need for a local config file. (optional now)
10204
10205Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10206
10207 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10208 failure count used to force early termination. Add some more
10209 expected failures for gnu style demangling.
10210
10211Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10212
10213 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10214 pmi variable from gdb.t20/gdbme to get optimized away.
10215 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10216 Check for written corefile upon timeout _and_ eof.
10217
10218Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10219
10220 * config/unix-gdb.exp: Add missing return 0.
10221
10222Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10223
10224 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10225 test termination.
10226
10227Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10228
10229 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10230 disappeared.
10231
10232Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10233
10234 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10235 time as i860 support works.
10236
beb998c6 10237 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10238 "backtrace 100\r" rather than just "backtrace\r", to match last
10239 change.
10240
10241Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10242
10243 * config/udi-gdb.exp (gdb_exit): Remove close command.
10244 (gdb_target_udi): New procedure to set the UDI target.
10245 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10246 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10247 Added waits for prompts after several question responses. Added
10248 some more responses used by a29k-amd-udi-gdb.
10249 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10250 pass different arguments, restart UDI connection after program
10251 completion.
10252 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10253 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10254 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10255 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10256 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10257 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10258 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10259 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10260 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10261 after program completion.
10262 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10263 compiled with a SELECT_VECS setting.
10264 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10265 infinite recursion.
10266
10267 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10268 Added checks for COFF results, and made them expected failures for
10269 all targets. It would be better to make them expected failures
10270 for COFF targets only.
10271
10272Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10273
10274 * Makefile.in: add null dvi target, don't bother to recurse
10275 through test directories for info and install-info; rename
10276 $(datadir) to be dejagnu instead of deja-gnu
10277
10278Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10279
10280 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10281 compiler to coredump.
10282 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10283 code.
10284
10285Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10286
10287 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10288 coredump.
10289 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10290 code.
10291
10292Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10293
10294 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10295 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10296 which in a shell. Deletes xgdb when done.
10297 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10298 Tests the return from the "set height" or "set width" commands.
10299 Added a few return codes where needed.
10300
10301Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10302
10303 * Makefile.in (SUBDIRS): Add gdb.t17.
10304 * configure.in (subdirs): Add gdb.t17.
10305 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10306 files to test gdb's calling of functions in the inferior with
10307 the correct arguments and gdb's ability to retrieve any
10308 result returned.
10309
10310Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10311
10312 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10313 may be called after gdb goes away. Previous versions of expect
10314 needed these to avoid file descriptor leaks, but they cause
10315 errors with the current revision of expect.
10316 * gdb.t00/gdbvars.exp: Use -re on expected output after
10317 setting sevenbit-strings.
10318 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10319 to set sevenbit-strings consistent across tests.
10320 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10321 set sevenbit-strings consistent across tests.
10322
10323Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10324
10325 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10326 expected output to match current "expect" expectations.
10327
10328Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10329
10330 * gdb.t00/default.exp: Change expected output for default "source"
10331 command, to match new gdb behavior which requires a filename to
10332 source.
10333
10334Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10335
10336 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10337 expected fail for i486-*-* that misses the marker2 function.
10338 * gdb.t10/crossload.exp (bfddefault): Allow successful
10339 recognition of a format to pass even if no symbols are found.
10340 Explicitly catch failures where the format is not recognized
10341 or is ambiguous, and add the reason to the fail message.
10342 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10343 the cause is and invalid target and add reason to failure message.
10344 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10345 elf32-i386, elf32-sparc, and elf32-i860.
10346 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10347 Set up expected failure for 'filename'::variable scope resolution,
10348 which is now apparently broken on all targets.
10349 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10350 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10351 gdb.t23/templates.exp: Change failure for missing binfile into
10352 just a warning.
10353 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10354 references.
10355
10356Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10357
10358 * gdb.t00/default.exp: Add expected output for default "source"
10359 command, to match new gdb behavior.
10360 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10361
10362Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10363
10364 * config/*-gdb.exp: returns an error, rather than exiting on
10365 internal errors.
10366
10367Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10368
10369 * gdb.t03/gdbme.c: Add pointer to struct variable.
10370 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10371 referencing struct members.
10372
10373Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10374
10375 * configure.in (mips-idt-ecoff): New target.
10376 * config/mips-gdb.exp: New file for remote board using MIPS remote
10377 debugging protocol.
10378
10379 * Redid configuration scheme. Removed gdb.t*/configure.in.
10380 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10381 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10382 distclean targets. Built executables via .o files. Adjusted
10383 tests to account for source files in $(srcdir) rather than
10384 $(objdir).
10385 * lib/gdb.exp (runto): Don't expect () after the function name,
10386 because it may have arguments.
10387
10388Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10389
10390 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10391 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10392 expected failures for mips-idt-* and mips-sgi-*.
10393 * gdb.t00/default.exp (attach): Kill process if requested.
10394 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10395 that does not read core files.
10396 * gdb.t01/run.exp: Removed checks for exit status code.
10397 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10398 it is linked in.
10399 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10400 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10401 appropriate, rather than doing it by hand.
10402 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10403 execution.
10404 * gdb.t10/crossload.exp: Kill existing program if needed.
10405 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10406 appropriate, rather than doing it by hand. Always increase
10407 timeout for this test, not just for VxWorks.
10408
10409Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10410
10411 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10412 of Chill STRUCT types and STRUCT values.
10413 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10414 than "char".
10415 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10416 struct2): New struct definitions and initializations to test
c906108c
SS
10417 simple Chill STRUCT types.
10418
10419Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10420
10421 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10422 the null byte at the end of strings.
10423 * gdb.t00/default.exp: Make show version insensitive to copyright
10424 date.
10425 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10426 to avoid dependencies on target char signedness.
10427 * gdb.t16/printcmds.exp: Update expected results for explicitly
10428 unsigned char.
10429 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10430 now work.
10431 * gdb.t21/demangle.exp: Add many more patterns for template
10432 demangling, most of them being expected failures.
10433 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10434 string we are matching for, to match on the whole string.
10435 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10436 and fix a whole bunch that had incorrect expected output but were
10437 passing anyway because of the bug in "proc demangle".
10438 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10439 type.
10440 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10441
10442Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10443
10444 * gdb/testsuite: made modifications to testcases, etc., to allow
10445 them to work properly given the reorganization of deja-gnu and the
10446 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10447
10448Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10449
10450 * gdb/testsuite: Initial creation of gdb/testsuite.
10451 Migrated dejagnu testcases and support files for testing nm to
10452 gdb/testsuite from deja-gnu. These files were moved "as is"
10453 with no modifications. This migration is part of a major overhaul
10454 of dejagnu. The modifications to these testcases, etc., which
10455 will allow them to work with the new version of dejagnu will be
10456 made in a future update.
10457\f
10458Local Variables:
10459mode: indented-text
10460left-margin: 8
10461fill-column: 74
10462version-control: never
10463End: