bfd/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f1ea48cb
BR
12005-08-02 Bob Rossi <bob@brasko.net>
2
3 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
4 parameter to mi_gdb_test.
5 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
6
6e650a67
DJ
72005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8
9 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10 struct_declarations.
11 * gdb.mi/mi-var-child.exp: Step over the initialization of
12 struct_declarations.
13
8be260b6
DJ
142005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15
16 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
20 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
21 file.
22
4e660f07
NR
232005-07-27 Nick Roberts <nickrob@snap.net.nz>
24
25 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
26 (do_children_tests): Assign values to the extra elements.
27
28 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
29 them for tests for "-var-update --no-values" and
30 "-var-update --all-values".
31 Add test for "-var-list-children --simple-values".
32
33 * gdb.mi/basics.c (callee4): Add integer array D[3]...
34
35 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
36 "-stack-list-locals --simple-values" Improve doc strings and
37 comments.
38
6bdae935
MK
392005-07-18 Mark Kettenis <kettenis@gnu.org>
40
598b7a6f
MK
41 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
42 *-*-openbsd*.
43 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
44
6bdae935
MK
45 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
46 sigaltsatck'.
47
1323e929
BR
482005-07-14 Bob Rossi <bob@brasko.net>
49
50 * gdb.base/default.exp (tty): Changed output of command.
51 * gdb.base/help.exp (help tty): Ditto.
52
b1a9c082
MK
532005-07-12 Mark Kettenis <kettenis@gnu.org>
54
55 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
56
10a844a2
MK
572005-07-10 Mark Kettenis <kettenis@gnu.org>
58
59 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
60 -stack-select-frame without arguments.
61 (test_stack_frame_listing): Add test for newly implemented command
62 -stack-info-frame.
63
3cb3b8df
BR
642005-07-06 Bob Rossi <bob@brasko.net>
65
66 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
67 command.
68 (Copyright): Update copyright.
69
a0c5fbcf
WZ
702005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
71
72 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
73 tests to evaluate exponentiation expression.
74
984971d0
AS
752005-06-29 Andreas Schwab <schwab@suse.de>
76
77 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
78 main to avoid warnings.
79
80 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
81
fe03833f
NR
822005-06-20 Nick Roberts <nickrob@snap.net.nz>
83
84 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
85 -stack-select-frame without arguments.
86 (test_stack_frame_listing): Add test for newly implemented command
87 -stack-info-frame.
88
7a55f279
WZ
892005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
90
0ffa0ea5
DJ
91 * gdb.fortran/array-element.f: New file.
92 * gdb.fortran/array-element.exp: New testcase.
7a55f279 93
26585198
DJ
942005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
95
96 * gdb.base/bigcore.exp: Correct checks for systems which can
97 not dump a large core file.
98
c1bd25fd
DJ
992005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
100
101 * gdb.base/relocate.c: Add a copyright notice.
102 (dummy): Remove.
103 * gdb.base/relocate.exp: Test printing the values of variables
104 from a relocatable file.
105
589e074d
DJ
1062005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
107
108 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
109 excess MI output after an error.
110
0915f927
JB
1112005-05-29 Joel Brobecker <brobecker@adacore.com>
112
113 * gdb.arch/alpha-step.c: New file.
114 * gdb.arch/alpha-step.exp: New testcase.
115
76ff342d
DJ
1162005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
117 Dennis Brueni <dennis@slickedit.com>
118
119 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
120 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
121 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
122 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
123 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
124 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
125 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
126
96b0c7ac
DJ
1272005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
128 Wu Zhou <woodzltc@cn.ibm.com>
129
130 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
131 IBM's xlc compiler.
132 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
133 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
134
f21565d2
JB
1352005-05-13 Jim Blandy <jimb@redhat.com>
136
137 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
138 calling gdb_suppress_entire_file.
139 * gdb.base/charset.exp: Same.
140 * gdb.base/call-rt-st.exp: Same.
141
6006a3a1
BR
1422005-05-05 Bob Rossi <bob_rossi@cox.net>
143
144 * lib/gdb.exp (fullname_syntax): Added global regex.
145 (fullname_syntax_POSIX): Ditto.
146 (fullname_syntax_UNC): Ditto.
147 (fullname_syntax_DOS_CASE): Ditto.
148 (fullname_syntax_DOS): Ditto.
149 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
150 fullname_syntax variable to scope and use it.
151 (test_file_list_exec_source_files): Ditto.
152 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
153
c3b69c04
DJ
1542005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
155
156 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
157
3c95e6af
PG
1582004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
159
160 * lib/gdb.exp (skip_altivec_tests): New function, based on
161 check_vmx_hw_available from the GCC testsuite.
162 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
163 * lib/gdb.arch/altivec-regs.exp: Likewise.
164
78df6c56
JB
1652005-05-02 Jim Blandy <jimb@redhat.com>
166
167 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
168 calling gdb_suppress_entire_file.
169
1690f9cf
DJ
1702005-04-30 Randolph Chung <tausq@debian.org>
171
172 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
173 Slightly relax "sem_post" name checking.
174
5ea106f7
PG
1752005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
176
177 * gdb.base/unload.exp: Use new shared library infrastructure.
178
bf7234cf
PG
1792005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
180
181 * gdb.base/so-impl-ld.exp: Use new shared library
182 infrastructure.
183
547b869a
CV
1842005-04-29 Corinna Vinschen <vinschen@redhat.com>
185
186 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
187 * gdb.asm/h8300.inc: New file.
188
f07e55f0
PG
1892005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
190
191 * gdb.base/shlib-call.exp: Change to use new shared library
192 infrastructure.
193
3cbba3d1
PG
1942005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
195
196 * gdb.base/pending.exp: Change to use new shared library
197 infrastructure.
198
ed6df200
PG
1992005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
200
201 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
202 use test_compiler_info instead of gcc_compiled, and update copyright.
203
8c8f4ebe
PG
2042005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
205
206 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
207 shared objects being adjusted and update copyright years.
208
607fbc54
DJ
2092005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
210
211 * ChangeLog: Correct some 2003-01-13 dates.
212 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
213 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
214 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
215 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
216 gdb.trace/tfind.exp: Update copyright years.
217
57bf0e56
DJ
2182005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
219 Daniel Jacobowitz <dan@codesourcery.com>
220
221 * lib/gdb.exp (gdb_compile): Handle shlib=.
222 (gdb_compile_shlib): New function.
223
9b593790
PG
2242005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
225
226 * lib/gdb.exp (test_compiler_info): Give argument a default value.
227
9494c6a5
DJ
2282005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
229
230 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
231 gdb.server.
232 * configure.ac: Likewise.
233 * configure: Regenerated.
234 * gdb.gdbserver/Makefile.in: Moved to...
235 * gdb.server/Makefile.in: ... here.
236 * gdb.gdbserver/server.c: Moved to...
237 * gdb.server/server.c: ... here.
238 * gdb.gdbserver/server-run.exp: Moved to...
239 * gdb.server/server-run.exp: ... here.
240
6f8eac0e
DJ
2412005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
242
243 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
244 * configure.ac: Create gdb.gdbserver/Makefile.
245 * configure: Regenerated.
246 * lib/gdbserver-support.exp: New file, derived from
247 config/gdbserver.exp.
248 * config/gdbserver.exp: Use gdbserver-support.exp.
249 * gdb.gdbserver/Makefile.in: New file.
250 * gdb.gdbserver/server.c: New file.
251 * gdb.gdbserver/server-run.exp: New file.
252
6e87504d
PG
2532005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
254
255 * lib/gdb.exp (test_compiler_info): Return compiler_info
256 if no arguments are given.
257
d1779be4
PG
2582005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
259
260 * gdb.arch/altivec-abi.exp: Check for compiler and set
261 use altivec' flag accordingly.
262 * gdb.arch/altivec-regs.exp: Likewise.
263
88750304
DJ
2642005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
265
266 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
267
f3fb768d
AS
2682005-03-27 Andreas Schwab <schwab@suse.de>
269
270 * gdb.base/bigcore.c (main): Add missing mode argument in open
271 call.
272
7e813ac5
DJ
2732005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
274
275 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
276 downloads.
277 * config/gdbserver.exp (gdb_load): Likewise.
278
8e3049aa
PB
2792005-03-14 Paul Brook <paul@codesourcery.com>
280
281 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
282 targets.
283
a9df7c44
JB
2842005-03-09 Joel Brobecker <brobecker@adacore.com>
285
286 * gdb.dwarf2/dup-psym.S: New file.
287 * gdb.dwarf2/dup-psym.exp: New testcase.
288
9f0d94e8
JB
2892005-03-09 Joel Brobecker <brobecker@adacore.com>
290
291 * gdb.ada/exec_changed/first.adb: New file.
292 * gdb.ada/exec_changed/second.adb: New file.
293 * gdb.ada/exec_changed.exp: New testcase.
294
5f579bc5
NS
2952005-03-08 Nathan Sidwell <nathan@codesourcery.com>
296
36e9969c
NS
297 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
298 (A2): New class.
299 (main): Test operator+.
300 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
301 breakpoint test.
302
5f579bc5
NS
303 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
304 * gdb.base/signull.exp: Disable if gdb,nosignals.
305 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
306 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
307 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
308 * gdb.mi/mi2-console.exp: Likewise.
309 * gdb.trace/collection.exp (run_trace_experiment): Consume the
310 continue output at start.
311 (gdb_collect_locals_test): Robustify regexp.
312 * gdb.trace/passc-dyn.exp: Fix comment typo.
313 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
314
be46087e
CV
3152005-03-08 Corinna Vinschen <vinschen@redhat.com>
316
317 * gdb.asm/asm-source.exp: Add iq2000 case.
318 * gdb.asm/iq2000.inc: New file.
319
384e1a61
MI
3202005-03-07 Manoj Iyer <manjo@austin.ibm.com>
321
322 * gdb.base/command.exp: Change hardcoded value to regular expression.
323 * gdb.base/float.exp: Add powerpc to the list of targets checked.
324
584b6e9e
DJ
3252005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
326
327 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
328 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
329 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
330 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
331 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
332
ab5b5d61
MK
3332005-03-05 Mark Kettenis <kettenis@gnu.org>
334
335 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
336 changes.
337
ae051c1b
PG
3382004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
339
340 * lib/compiler.c: Add test for IBM's xlc compiler.
341 * lib/compiler.cc: Likewise.
342
3f0f6ed2
JB
3432004-02-24 Joel Brobecker <brobecker@adacore.com>
344
345 * gdb.ada/fixed_points.exp: Create compilation object directory
346 before running the test.
347 * gdb.ada/null_record.exp: Likewise.
348 * gdb.ada/packed_array.exp: Likewise.
349 * gdb.ada/start.exp: Likewise.
350
724f452b
JB
3512005-02-15 Joel Brobecker <brobecker@adacore.com>
352
353 * gdb.ada/packed_array/pa.adb: New file.
354 * gdb.ada/packed_array.exp: New testcase.
355
57f5cdfb 3562005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 357
1f393151
MK
358 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
359 files.
360
ebdda337
MK
361 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
362 on *-*-openbsd*. Correctly match whitespace in regukar
363 expressions.
364
cf309262
DJ
3652005-02-10 Daniel Jacobowitz <dan@debian.org>
366
367 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
368 PR exp/1821
369 * gdb.base/gdb1821.c: New test file.
370 * gdb.base/gdb1821.exp: New test file.
371
3be49e7a
JB
3722005-02-09 Joel Brobecker <brobecker@adacore.com>
373
374 * gdb.base/start.c: New file.
375 * gdb.base/start.exp: New testcase.
376
e292e67d
JB
3772005-02-09 Joel Brobecker <brobecker@adacore.com>
378
379 * gdb.ada/start/dummy.adb: New file.
380 * gdb.ada/start.exp: New testcase.
381
dbdfa66c
CV
3822005-02-09 Corinna Vinschen <vinschen@redhat.com>
383
384 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
385 for printing symbols and statistics.
386 Add test for using relative pathnames in "maint print msymbols" test.
387 Mark "maint info sections DATA" XFAIL on Cygwin.
388 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
389 tests.
390
d7941671
AC
3912005-02-09 Andreas Schwab <schwab@suse.de>
392
393 Committed by Andrew Cagney <cagney@gnu.org>
394 * gdb.base/remotetimeout.exp: New file.
395
74e5ef44
MK
3962005-02-07 Mark Kettenis <kettenis@gnu.org>
397
398 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
399
464dd14d
JB
4002005-02-03 Joel Brobecker <brobecker@adacore.com>
401
402 * gdb.ada/gnat_ada.gpr: New file.
403 * gdb.ada/gnat_ada.gin: Delete, no longer used.
404 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
405 * configure.ac: No longer generate gnat_ada.gpr.
406 * configure: Regenerate.
407 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
408 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
409 * gdb.ada/null_record/bar.ads: Likewise.
410 * gdb.ada/null_record/bar.adb: Likewise.
411 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
412 * gdb.ada/null_record.exp (testdir): New variable.
413 (testfile): executable is now in testdir subdirectory.
414 (srcfile): Use full path to the main compilation unit.
415 * gdb.ada/fixed_points.exp: Same changes as above.
416
30d756ae
NR
4172005-02-03 Nick Roberts <nickrob@snap.net.nz>
418
419 * gdb.base/interp.exp: New test.
420
9d799f85
AC
4212005-01-24 Andrew Cagney <cagney@gnu.org>
422
423 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
424
15656118
AC
4252005-01-19 Andrew Cagney <cagney@gnu.org>
426
a892c31b
AC
427 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
428 configure.ac not configure.in.
429
15656118
AC
430 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
431 of powerpc*-*-*.
432 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
433 * gdb.base/list.exp (test_list_function)
434 (test_list_filename_and_function): Ditto.
435 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
436
a7b01baf
AC
4372005-01-16 Andrew Cagney <cagney@gnu.org>
438
17d92a02
AC
439 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
440
a7b01baf
AC
441 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
442
bc8332bb
AC
4432005-01-14 Andrew Cagney <cagney@gnu.org>
444
445 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
446 * gdb.mi/mi2-var-cmd.exp: Ditto.
447
4d074752
CV
4482005-01-10 Corinna Vinschen <vinschen@redhat.com>
449
450 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
451
bec39cab
AC
4522005-01-07 Andrew Cagney <cagney@gnu.org>
453
454 * configure.ac: Rename configure.in, require autoconf 2.59.
455 * configure: Re-generate.
456 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
457 * gdb.stabs/configure: Re-generate.
458 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
459 * gdb.hp/configure: Re-generate.
460 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
461 autoconf 2.59.
462 * gdb.hp/gdb.objdbg/configure: Re-generate.
463 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
464 autoconf 2.59.
465 * gdb.hp/gdb.defects/configure: Re-generate.
466 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
467 autoconf 2.59.
468 * gdb.hp/gdb.compat/configure: Re-generate.
469 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
470 autoconf 2.59.
471 * gdb.hp/gdb.base-hp/configure: Re-generate.
472 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
473 autoconf 2.59.
474 * gdb.hp/gdb.aCC/configure: Re-generate.
475
f10b16d4
JB
4762004-12-15 Jim Blandy <jimb@redhat.com>
477
478 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
479 under NPTL when there is debugging info available for libpthread.
480
fb6e1814
JG
4812004-12-13 Jerome Guitton <guitton@gnat.com>
482
483 * gdb.ada/fixed_points.c: New file.
484 * gdb.ada/fixed_points.exp: New file.
485
fe46cd3a
RC
4862004-12-03 Randolph Chung <tausq@debian.org>
487
488 * gdb.arch/pa-nullify.exp: New file.
489 * gdb.arch/pa-nullify.s: New file.
490
8de0841b
RC
4912004-11-30 Randolph Chung <tausq@debian.org>
492
493 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
494 instead of "tbug". Fix regexp to work properly with gdb_test.
495
c8170782
PH
4962004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
497
498 * gdb.base/bitfields2.exp: New test.
499 * gdb.base/bitfields2.c: New file.
500
954269c2
RE
5012004-11-28 Richard Earnshaw <rearnsha@arm.com>
502
503 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
504
0107feed
RC
5052004-11-16 Randolph Chung <tausq@debian.org>
506
507 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
508
f073ae8c
DJ
5092004-11-14 Daniel Jacobowitz <dan@debian.org>
510
511 * gdb.threads/threadapply.exp: Correct "macro details" test.
512
19ad59e7
JJ
5132004-11-11 Jeff Johnston <jjohnstn@redhat.com>
514
515 * gdb.threads/threadapply.exp: New test.
516 * gdb.threads/threadapply.c: New file.
517
9cf0961b
MK
5182004-11-07 Mark Kettenis <kettenis@gnu.org>
519
520 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
521 frames.
522
c789492a
FL
5232004-11-05 Felix Lee <felix+log1@specifixinc.com>
524
525 * gdb.base/cursal.exp: New file.
526 * gdb.base/cursal.c: New file.
527
a1e167bb
AC
5282004-11-03 Andrew Cagney <cagney@gnu.org>
529
530 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
531
b7cbf173
MK
5322004-10-30 Mark Kettenis <kettenis@gnu.org>
533
534 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
535 NetBSD/ELF targets.
536
88f9d34f
JB
5372004-10-29 Joel Brobecker <brobecker@gnat.com>
538
539 * gdb.threads/bp_in_thread.c: New file, copied from
540 pthread_cond_wait.c.
541 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
542 file, rather than reusing the .c file from another testcase.
543
ca7d6a0c
JB
5442004-10-20 Joel Brobecker <brobecker@gnat.com>
545
546 * gdb.ada/null_record.exp: Check where we stopped after
547 sending the start command, instead of where the associated
548 temporary breakpoint was inserted.
549
0d863d03
AC
5502004-10-14 Andrew Cagney <cagney@gnu.org>
551
552 * gdb.mi/gdb701.c (main): Return 0.
553
d11e72cb
DJ
5542004-10-13 Daniel Jacobowitz <dan@debian.org>
555
d40539a4 556 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 557
e1923096
JJ
5582004-10-12 Jeff Johnston <jjohnstn@redhat.com>
559
560 * gdb.threads/schedlock.c: Add comment markers to use to find
561 line numbers.
562 * gdb.threads/schedlock.exp: Adjust regex to handle the new
563 comments.
564 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
565 breakpoint lines.
566
ec8ba2c9
DJ
5672004-10-12 Daniel Jacobowitz <dan@debian.org>
568
569 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
570
0eb3658b
DJ
5712004-10-12 Daniel Jacobowitz <dan@debian.org>
572
573 * configure.in: Add gdb.dwarf2.
574 * configure: Regenerated.
575 * Makefile.in: Add gdb.dwarf2.
576 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
577 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
578 gdb.dwarf2/file1.txt: New files.
579
a271cc33
OF
5802004-10-11 Orjan Friberg <orjanf@axis.com>
581
582 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
583 of "run", since the latter doesn't work with remote targets. Adjust
584 the breakpoint numbering accordingly.
585 * gdb.threads/pthread_cond_wait.exp: Ditto.
586
895ce074
MC
5872004-10-08 Michael Chastain <mec.gnu@mindspring.com>
588
589 * gdb.base/overlays.exp: Update copyright years.
590
6be3092d
KI
5912004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
592
593 * gdb.base/overlays.exp: Disable if target is Linux.
594
e05389b8
FL
5952004-10-06 Felix Lee <felix+log1@specifixinc.com>
596
597 * config/gdbserver.exp (gdb_load): Use right filename on remote.
598
73cb587d
KI
5992004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
600
601 * gdb.asm/asm-source.exp: Add m32r-linux target.
602 * gdb.asm/m32r-linux.inc: New file.
603
3c0edcdc
AC
6042004-09-24 Andrew Cagney <cagney@redhat.com>
605 David Anderson <anderson@redhat.com>
606
607 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
608 command fails, assume things will work.
609 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
610 (_GNU_SOURCE): Define.
611 (print_unsigned, print_hex): Change parameter to "long long".
612 (print_byte_count): New function, use to print byte counts.
613 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
614 O_LARGEFILE.
615 (main): Compute an upper bound on a corefile in max_core_size.
616 Limit memory chunk size to max_core_size. Limit total memory
617 allocated to max_core_size.
618
4bb3667f
AC
6192004-09-23 Andrew Cagney <cagney@gnu.org>
620
621 * gdb.base/bigcore.exp: Replace the code that creates a corefile
622 from a separate process with code that creates a corefile by
623 making the inferior dump core.
624
60fe1a51
MK
6252004-09-23 Mark Kettenis <kettenis@gnu.org>
626
627 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
628 block.
629
8e937346
MC
6302004-09-23 Michael Chastain <mec.gnu@mindspring.com>
631
632 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
633 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
634 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
635 Likewise.
636
7213f6d6
JJ
6372004-09-20 Jeff Johnston <jjohnstn@redhat.com>
638
639 * gdb.java/jprint.exp: New test case for java inferior call.
640 * gdb.java/jprint.java: Ditto.
641
eac69dca
JB
6422004-09-15 Joel Brobecker <brobecker@gnat.com>
643
644 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
645
22227696
MC
6462004-09-14 Michael Chastain <mec.gnu@mindspring.com>
647
648 * gdb.threads/killed.c: Include <stdlib.h>.
649 * gdb.threads/pthreads.c: Likewise.
650
7dd403a4
MC
6512004-09-14 Michael Chastain <mec.gnu@mindspring.com>
652
653 * gdb.threads/killed.c: Add copyright notice.
654
33f2d567
JM
6552004-09-10 Jason Molenda (jmolenda@apple.com)
656
657 * gdb.base/define.exp: Two new tests to verify zero space chars
658 after 'if' and 'while' commands in a user-defined command is correctly
659 parsed.
660
e05b62ac
AC
6612004-09-08 Andrew Cagney <cagney@gnu.org>
662
663 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
664 delivery test with duplicate at end of file.
665
9cbe82da
MK
6662004-09-06 Mark Kettenis <kettenis@jive.nl>
667
668 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
669
564803d9
MC
6702004-09-05 Michael Chastain <mec.gnu@mindspring.com>
671
672 * config/hppro.exp: Removed.
673
7c6807ce
MC
6742004-09-05 Michael Chastain <mec.gnu@mindspring.com>
675
676 * config/sparclet.exp: Removed.
677
bf7e26dd
MC
6782004-09-05 Michael Chastain <mec.gnu@mindspring.com>
679
680 * config/udi.exp: Removed.
681
714e341b
MC
6822004-09-02 Michael Chastain <mec.gnu@mindspring.com>
683
684 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
685 of "exp_continue".
686 (advancei): Likewise.
687
1236e623
JJ
6882004-09-01 Jeff Johnston <jjohnstn@redhat.com>
689
690 * gdb.base/unload.exp: Fix so messages aren't duplicated.
691
3bdcad15
MI
6922004-09-01 Manoj Iyer <manjo@austin.ibm.com>
693
228af206 694 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
695 to check for nodebug in executable.
696 * gdb.gdb/observer.exp (setup_test): Likewise.
697 * gdb.gdb/selftest.exp (test_with_self): Likewise.
698 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
699
c72b934c
AC
7002004-09-01 Andrew Cagney <cagney@gnu.org>
701
702 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
703 files.
704
edd9b715
JJ
7052004-09-01 Jeff Johnston <jjohnstn@redhat.com>
706
707 * gdb.base/unload.exp: Fix expected warning message to match
708 latest format.
709
fb4ce06b
CV
7102004-09-01 Corinna Vinschen <vinschen@redhat.com>
711
712 * gdb.base/call-rt-st.exp: Fix typos.
713
ce78e7c3
MI
7142004-08-31 Manoj Iyer <manjo@austin.ibm.com>
715
716 * gdb.threads/thread_check.exp: New testcase.
717 * gdb.threads/thread_check.c: New testcase.
718
2dedb159
AC
7192004-08-31 Andrew Cagney <cagney@gnu.org>
720
721 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
722 (skip_to_handler_entry): New procedures. Test stepping into a
723 handler when the breakpoint is at the handler's entry point.
724
68f53502
AC
7252004-08-30 Andrew Cagney <cagney@gnu.org>
726
727 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
728 gdb/1757.
729
3e3ffd2b
MC
7302004-08-27 Michael Chastain <mec.gnu@mindspring.com>
731
732 With code from Manoj Iyer <manjo@austin.ibm.com>:
733 * lib/gdb.exp (gdb_file_cmd): Return more information in the
734 return value. Add an arm for "no debugging symbols found".
735 Change a stray "error" to "perror".
736 (gdb_run_cmd): Adapt to new return value.
737 * gdb.base/remote.exp: Adapt to new return value.
738 * gdb.gdb/complaints.exp: Likewise.
739 * gdb.gdb/observer.exp: Likewise.
740 * gdb.gdb/selftest.exp: Likewise.
741 * gdb.gdb/xfullpath.exp: Likewise.
742
4b6f5fd2
JB
7432004-08-27 Joel Brobecker <brobecker@gnat.com>
744
745 * gdb.threads/bp_in_thread.exp: New testcase.
746
e5b25496
MC
7472004-08-27 Michael Chastain <mec.gnu@mindspring.com>
748
749 Fix PR testsuite/1735.
750 * gdb.threads/schedlock.c (thread_function): Add a cast
751 to suppress a gcc warning.
752 * gdb.threads/thread-specific.c (thread_function): Likewise.
753
934353d6
MC
7542004-08-26 Michael Chastain <mec.gnu@mindspring.com>
755
756 * gdb.base/unload.c: Include <stdlib.h>.
757
f98a0aef 7582004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 759
f98a0aef 760 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
761 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
762 synchronized after the "return".
763
5a2e8882
MC
7642004-08-26 Michael Chastain <mec.gnu@mindspring.com>
765
766 * gdb.mi/basics.c: Include <stdio.h>.
767 * gdb.mi/pthreads.c: Include <stdlib.h>.
768 * gdb.mi/var-cmd.c: Include <stdlib.h>.
769
a9640423
MC
7702004-08-26 Michael Chastain <mec.gnu@mindspring.com>
771
772 * gdb.threads/schedlock.c: Add copyright notice.
773
b04e311d
AC
7742004-08-25 Andrew Cagney <cagney@gnu.org>
775
776 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
777 (skip_over_handler, breakpoint_over_hander): New test procedures.
778 (advance, advancei): Add a proper prefix, do not use
779 rerun_to_main.
780 * gdb.base/sigstep.c (main): Change to use an infinite loop.
781
7c27f15b
MC
7822004-08-24 Michael Chastain <mec.gnu@mindspring.com>
783
784 * gdb.mi/basics.c: Add copyright notice.
785 * gdb.mi/var-cmd.c: Add copyright notice.
786
fffc87ae
MC
7872004-08-23 Michael Chastain <mec.gnu@mindspring.com>
788
789 * lib/gdb.exp: Remove signed_keyword_not_used.
790 * lib/compiler.c: Likewise.
791 * lib/compiler.cc: Likewise.
792
d782e0bf
MC
7932004-08-23 Michael Chastain <mec.gnu@mindspring.com>
794
795 * gdb.base/whatis.c: Remove conditional disabling of "signed".
796 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
797
96033e83
MC
7982004-08-23 Michael Chastain <mec.gnu@mindspring.com>
799
800 * gdb.base/whatis.c: Add copyright notice.
801
cf38c229
MK
8022004-08-20 Mark Kettenis <kettenis@gnu.org>
803
804 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
805 it to skip the breakpoints encoded in the inline assembly.
806
f4b49756
MC
8072004-08-20 Michael Chastain <mec.gnu@mindspring.com>
808
809 * Makefile.in: Add gdb.fortran.
810
2f193b69
MC
8112004-08-20 Michael Chastain <mec.gnu@mindspring.com>
812
813 * gdb.base/call-sc.exp (test_scalar_returns):
814 Fix cut-and-paste glitch in "Make fun return now".
815
89a237cb
MC
8162004-08-17 Michael Chastain <mec.gnu@mindspring.com>
817
818 * configure.in: Add gdb.fortran.
819 * configure: Regenerate.
820 * gdb.fortran/Makefile.in: New file.
821 * lib/gdb.exp (skip_fortran_tests): New procedure.
822
469aff8e
MC
8232004-08-17 Michael Chastain <mec.gnu@mindspring.com>
824
825 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
826 reference to bug-gnu@prep.ai.mit.edu.
827 * gdb.mi/mi-var-child.exp: Likewise.
828 * gdb.mi/mi-var-cmd.exp: Likewise.
829 * gdb.mi/mi-var-display.exp: Likewise.
830 * gdb.mi/mi2-var-block.exp: Likewise.
831 * gdb.mi/mi2-var-child.exp: Likewise.
832 * gdb.mi/mi2-var-cmd.exp: Likewise.
833 * gdb.mi/mi2-var-display.exp: Likewise.
834
00b51b9f
MK
8352004-08-15 Mark Kettenis <kettenis@gnu.org>
836
837 * gdb.base/unload.c (main): Make local variable msg const.
838
45f07fef
MC
8392004-08-15 Michael Chastain <mec.gnu@mindspring.com>
840
841 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
842 to bug-gnu@prep.ai.mit.edu.
843 * gdb.mi/mi-disassemble.exp: Likewise.
844 * gdb.mi/mi-eval.exp: Likewise.
845 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
846 default line number.
847 * gdb.mi/mi-return.exp: Likewise.
848 * gdb.mi/mi-simplerun.exp: Likewise.
849 * gdb.mi/mi-stack.exp: Likewise.
850 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
851 number with explicit range test.
852 * gdb.mi/mi-watch.exp: Likewise.
853 * gdb.mi/mi2-break.exp: Likewise.
854 * gdb.mi/mi2-cli.exp: Likewise.
855 * gdb.mi/mi2-disassemble.exp: Likewise.
856 * gdb.mi/mi2-eval.exp: Likewise.
857 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
858 default line number.
859 * gdb.mi/mi2-return.exp: Likewise.
860 * gdb.mi/mi2-simplerun.exp: Likewise.
861 * gdb.mi/mi2-stack.exp: Likewise.
862 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
863 number with explicit range test.
864 * gdb.mi/mi2-watch.exp: Likewise.
865
dd8c8ee7
MC
8662004-08-15 Michael Chastain <mec.gnu@mindspring.com>
867
868 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
869 * gdb.cp/m-static.exp: Likewise.
870 * gdb.cp/rtti.exp: Likewise.
871
4e838464
MK
8722004-08-14 Mark Kettenis <kettenis@gnu.org>
873
874 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
875
8d8cb839
EZ
8762004-08-14 Eli Zaretskii <eliz@gnu.org>
877
878 * ChangeLog: Prefix Local Variables with semi-colons and indent
879 the reference to older ChangeLog files, to fix fontification in
880 Emacs.
881
deea8bb0
MC
8822004-08-13 Michael Chastain <mec.gnu@mindspring.com>
883
884 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
885 * gdb.mi/mi2-break.exp: Likewise.
886
c3297504
MC
8872004-08-13 Michael Chastain <mec.gnu@mindspring.com>
888
889 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
890
25808999
MC
8912004-08-13 Michael Chastain <mec.gnu@mindspring.com>
892
893 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
894
226a8d71
MC
8952004-08-13 Michael Chastain <mec.gnu@mindspring.com>
896
897 * gdb.cp/classes.exp: Remove unused declarations. Just let
898 test names default instead of providing special names. Remove
899 extraneous demangler test.
900
37fdf854
JJ
9012004-08-12 Jeff Johnston <jjohnstn@redhat.com>
902
903 * gdb.base/unload.exp: New test for breakpoints in dynamically
904 loaded libraries.
905 * gdb.base/unload.c: Ditto.
906 * gdb.base/unloadshr.c: Ditto.
907
2d3a7986
MC
9082004-08-12 Michael Chastain <mec.gnu@mindspring.com>
909
910 * gdb.cp/classes.exp (test_ptype_class_objects): Call
911 cp_test_ptype_class.
912 (test_enums): Likewise.
913
c72b934c
AC
9142004-08-10 Andrew Cagney <cagney@gnu.org>
915
916 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
917 files.
918
cc503c8a
AC
9192004-08-10 Andrew Cagney <cagney@gnu.org>
920
921 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
922 init_malloc call.
923
902f2ccb
MC
9242004-08-10 Michael Chastain <mec.gnu@mindspring.com>
925
926 * ChangeLog: Add copyright notice. The notice is copied
927 from emacs 21.3 top level ChangeLog.
928
78c90502
MC
9292004-08-09 Michael Chastain <mec.gnu@mindspring.com>
930
931 * lib/cp-support.exp: New file.
932 * lib/cp-support.exp (cp_test_type_class): New function.
933 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
934 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
935 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
936 cp_test_ptype_class.
937
88e5ea78
MC
9382004-08-09 Michael Chastain <mec.gnu@mindspring.com>
939
940 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
941 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
942 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
943 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
944 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
945 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
946 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
947 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
948 gdb.mi/mi2-watch.exp: Update copyright years.
949
6a89fc9c
MK
9502004-08-09 Mark Kettenis <kettenis@gnu.org>
951
952 * gdb.base/sigaltstack.exp: Provide proper anchoring.
953
1482e0de
MC
9542004-08-09 Michael Chastain <mec.gnu@mindspring.com>
955
956 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
957 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
958 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
959 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
960 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
961 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
962 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
963 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
964 gdb.mi/mi-watch.exp: Update copyright years.
965
1a5ce3f3
DJ
9662004-08-08 Daniel Jacobowitz <dan@debian.org>
967
968 PR gdb/1738
969 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
970 from a breakpoint with a pending signal.
971
04f6ecf2
DJ
9722004-08-08 Daniel Jacobowitz <dan@debian.org>
973
974 PR gdb/1736
975 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
976 * gdb.base/sigaltstack.exp (finish_test): Consume output until
977 the prompt.
978 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
979
54d90d35
DJ
9802004-08-08 Daniel Jacobowitz <dan@debian.org>
981
982 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
983
d2f6abb0
DJ
9842004-08-08 Daniel Jacobowitz <dan@debian.org>
985
986 PR gdb/1736
987 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
988 for i?86-*-linux*.
989
5598c03d
DJ
9902004-08-08 Daniel Jacobowitz <dan@debian.org>
991
992 * gdb.arch/i386-prologue.exp: Compile without debug information.
993
c6fee705
MC
9942004-08-08 Michael Chastain <mec.gnu@mindspring.com>
995
996 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
997 rather than asking gdb to search.
998
dd90efdb
MC
9992004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1000
1001 * gdb.base/gcore.c: Include <string.h>.
1002
1e84bec1
MC
10032004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1004
1005 * gdb.base/gcore.c: Add copyright notice.
1006
e425eb2b
MC
10072004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1008
1009 * gdb.base/freebpcmd.c: Include <stdio.h>.
1010 * gdb.base/long_long.c: Include <string.h>.
1011 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
1012 * gdb.base/siginfo.c: Include <string.h>.
1013 * gdb.base/sigstep.c: Include <string.h>.
1014
cb9aaed5
MC
10152004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1016
1017 * gdb.base/complex.c: Include <stdlib.h>.
1018
55944f3d
MC
10192004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1020
1021 * gdb.base/complex.c: Add copyright notice.
1022
7b2953d9
MC
10232004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1024
1025 * gdb.base/charset.c: Include <stdlib.h>.
1026
c9133d23
MC
10272004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1028
1029 * gdb.base/auxv.c: Include <stdlib.h>.
1030
0a8490ad
MC
10312004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1032
1033 * gdb.base/auxv.c: Add copyright notice.
1034
3426d5ec
MC
10352004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1036
1037 * gdb.base/coremaker.c: Add copyright notice.
1038 * gdb.base/coremaker2.c: Add copyright notice.
1039
8da195dd
AC
10402004-08-04 Andrew Cagney <cagney@gnu.org>
1041
1042 * gdb.base/store.exp: Update copyright.
1043 (check_set, up_set, check_struct, up_struct): Add a prefix to test
1044 names, do not import gdb_prompt.
1045
8d394f98
AC
10462004-08-01 Andrew Cagney <cagney@gnu.org>
1047
1048 Fix PR testsuite/1729.
1049 * gdb.base/dump.exp: Add test name to callers of capture_value, do
1050 not use capture_value with value 4.
1051 (capture_value): Add optional test name parameter.
1052 (test_reload_saved_value, test_restore_saved_value): Use $msg as
1053 the prefix, pass to capture_value.
1054
b6702b23
MK
10552004-08-01 Mark Kettenis <kettenis@gnu.org>
1056
1057 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
1058 * gdb.arch/i386-prologue.c (standard): New prototype and function.
1059 (main): Call new function.
1060
c203e0ca
MC
10612004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1062
1063 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
1064
a7995a30
MC
10652004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1066
1067 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
1068
9366563b
MC
10692004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1070
b6eeaf26 1071 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
1072 Accept more values of vtbl pointer. Remove some messages
1073 about "obsolete gcc or gdb".
1074
2fc1f950
MC
10752004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1076
1077 * gdb.cp/classes.exp: Accept more varieties of ptype output.
1078
c724d49b
MC
10792004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1080
1081 * gdb.base/asm-source.exp: Properly convert target board
1082 debug flags from gcc format to binutils format.
1083
736b0fce
MK
10842004-07-28 Mark Kettenis <kettenis@gnu.org>
1085
1086 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
1087 gdb1718". PR backtrace/1718 partially fixed.
1088
5633ea5c
JJ
10892004-07-27 Jeff Johnston <jjohnstn@redhat.com>
1090
1091 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
1092
575eebb1
NC
10932004-07-26 Nick Clifton <nickc@redhat.com>
1094
1095 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
1096 good default value for a specific architecture is available then
1097 set it to that value. Otherwise default to the -gstabs switch.
1098 Remove the -g... switches from the asm-flags variable. Allow the
1099 target board info to override the value if it wants to. Pass the
1100 switch on the assembler command line.
1101
62104619
MK
11022004-07-23 Mark Kettenis <kettenis@gnu.org>
1103
1104 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
1105 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
1106 (main): Call new function.
1107
4a1135b8
MC
11082004-07-22 Michael Chastain <mec.gnu@mindspring.com>
1109
1110 Test for PR exp/1715.
1111 * gdb.base/radix.exp: Refactor common procedures. Make all
1112 test names unique. Change XFAIL to KFAIL.
1113
8a12c1f0
MC
11142004-07-20 Michael Chastain <mec.gnu@mindspring.com>
1115
1116 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
1117 * gdb.ada/gnat_ada.gin: ... to here.
1118 * configure.in: Use gnat_ada.gin.
1119 * configure: Regenerate.
1120
23b451cf
AC
11212004-07-20 Andrew Cagney <cagney@gnu.org>
1122
1123 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
1124 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
1125 XFAILs. Clean up test messages and comments. Check backtraces.
1126 Delete re-sync code.
1127
ab618a02
MC
11282004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1129
1130 Fix PR cli/740.
1131 * gdb.base/annota1.exp: Honor gdb,nosignals.
1132 * gdb.base/annota3.exp: Likewise.
1133
46dad340
MC
11342004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1135
1136 * lib/java.exp: Update copyright notice.
1137
756d8c70
AC
11382004-07-19 Andrew Cagney <cagney@gnu.org>
1139
1140 * gdb.base/selftest.exp: Copy file from here ...
1141 * gdb.gdb/selftest.exp: ... to here.
1142
586027e6
AC
11432004-07-16 Andrew Cagney <cagney@redhat.com>
1144
1145 * lib/insight-support.exp: Delete file.
1146 * lib/java.exp (java_init): Fix copyright.
1147
029d2200
AC
11482004-07-16 Andrew Cagney <cagney@gnu.org>
1149
1150 * gdb.base/restore.c: Append "prologue" to comments marking the a
1151 function's prologue.
1152 * gdb.base/restore.exp: Update copyright, re-indent.
1153 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
1154 callerN" prefix where needed. Update patterns that match a
1155 function's prologue.
1156
653b62c5
MC
11572004-07-16 Michael Chastain <mec.gnu@mindspring.com>
1158
1159 * gdb.base/restore.c: Add copyright notice.
1160
f7d690e5
AC
11612004-07-16 Andrew Cagney <cagney@gnu.org>
1162
1163 * gdb.base/logical.exp: Update copyright.
1164 (evaluate): New procedure. Use to re-implement tests using
1165 several tables.
1166
d629a7cb
MH
11672004-07-14 Martin Hunt <hunt@redhat.com>
1168
1169 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
1170 which fixes some problems where init.tcl was not found.
1171
9c7bb332
AC
11722004-07-13 Andrew Cagney <cagney@gnu.org>
1173
6bf46641
AC
1174 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
1175 (check_sizeof, check_valueof): Do not include the output in the
1176 test name. Use gdb_test.
1177 (get_valueof): Use gdb_test_multiple.
1178
c4ffd4c0
AC
1179 * gdb.base/step-test.exp: Update copyright. Use
1180 gdb_test_multiple. Ensure that test names do not include
1181 architecture dependent output.
1182
ab89363a
AC
1183 * gdb.gdb/observer.exp: Update copyright.
1184 (setup_test): Use gdb_test_multiple.
1185 (attach_first_observer, attach_second_observer)
1186 (attach_third_observer, detach_first_observer)
1187 (detach_second_observer, detach_third_observer)
1188 (reset_counters, check_counters): Make $message a prefix.
1189 (test_normal_stop_notifications): Add "args" parameter - a list of
1190 init functions to be called. Make $message a prefix,
1191 (test_observer_normal_stop): Change the message prefixes so that
1192 they are unique, pass the attach / detach procedures to
1193 test_normal_stop_notifications.
1194
ec58997a
AC
1195 * gdb.base/signull.exp (test_segv): Prefix all tests with
1196 "${name}". Clean up test messages.
1197
b475183b
AC
1198 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
1199
9c7bb332
AC
1200 * gdb.base/ena-dis-br.exp: Update copyright.
1201 (break_at): New function. Replace send_gdb with gdb_test,
1202 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
1203 ignore count, not stopped at bpt", with KFAIL.
1204
2dd95497
CV
12052004-07-13 Corinna Vinschen <vinschen@redhat.com>
1206
1207 * gdb.base/attach.exp: Remove cleanupfile handling.
1208
419e626b
AC
12092004-07-12 Andrew Cagney <cagney@gnu.org>
1210
1211 * gdb.base/annota1.exp: Cleanup corefile test name.
1212 * gdb.base/annota3.exp: Ditto.
1213
8b1b3228
AC
12142004-07-12 Andrew Cagney <cagney@gnu.org>
1215
78650829
AC
1216 * gdb.base/signals.exp: Clean up copyright, re-indent.
1217
8b1b3228
AC
1218 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
1219 gdb_test and gdb_test_multiple.
1220
935c2760
JJ
12212004-07-08 Jeff Johnston <jjohnstn@redhat.com>
1222
1223 * gdb.java/jmain.exp: Fix expected line number for main to
1224 break at. Set XFAIL for break at main test since gcj does not
1225 provide line number info for first statement in main.
1226
1544280f
AC
12272004-07-08 Andrew Cagney <cagney@gnu.org>
1228
1279f4ff
AC
1229 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
1230
1544280f
AC
1231 * gdb.base/sigbpt.exp: Make the common part of each test name a
1232 prefix instead of suffix.
1233
bcc82369
BR
12342004-07-07 Bob Rossi <bob_rossi@cox.net>
1235
1236 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
1237 test from test_tbreak_creation_and_listing to
1238 test_file_list_exec_source_file
1239 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
1240 Changed name of test from test_tbreak_creation_and_listing to
1241 test_file_list_exec_source_file
1242
23f4b0aa
JJ
12432004-07-07 Jeff Johnston <jjohnstn@redhat.com>
1244
1245 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
1246 the jmisc() constructor instead of <init>.
1247 * gdb.java/jmisc1.exp: Ditto.
1248
56401cd5
AC
12492004-07-07 Andrew Cagney <cagney@gnu.org>
1250
1251 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
1252 corrupting the PC.
1253
44ae2f6a
MC
12542004-07-06 Michael Chastain <mec.gnu@mindspring.com>
1255
1256 * gdb.cp/templates.exp: Accept whitespace change in demangler
1257 output.
1258
45a83408
AC
12592004-07-06 Andrew Cagney <cagney@gnu.org>
1260
1261 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
1262
d205ad70
MC
12632004-07-02 Michael Chastain <mec.gnu@mindspring.com>
1264
1265 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
1266 * lib/compiler.cc: Likewise.
1267
06ea1a61
MC
12682004-06-30 Michael Chastain <mec.gnu@mindspring.com>
1269
1270 * lib/compiler.cc: Work around string preprocessing problem
1271 with old hp c++ compiler.
1272 * lib/compiler.c: Likewise.
1273
daab1251
CV
12742004-06-29 Corinna Vinschen <vinschen@redhat.com>
1275
1276 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
1277 directives to conditionalize symbol prefixing.
1278 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
1279 additional_flags handling. Add underscore prefix for Cygwin.
1280 * gdb.arch/i386-unwind.c: Use preprocessor directives to
1281 conditionalize symbol prefixing.
1282 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
1283 additional_flags handling. Add underscore prefix for Cygwin.
1284
cc984116
CV
12852004-06-29 Corinna Vinschen <vinschen@redhat.com>
1286
1287 * gdb.base/bigcore.exp: Skip test on Cygwin.
1288
c279b077
MC
12892004-06-28 Michael Chastain <mec.gnu@mindspring.com>
1290
1291 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
1292 formats for "info register". Use gdb_test_multiple. Fix
1293 the "invalid register" test.
1294
0e915747
CV
12952004-06-28 Corinna Vinschen <vinschen@redhat.com>
1296
1297 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
1298 PID for Cygwin. Add Cygwin specific strings to check for in some
1299 tests.
1300 (do_attach_tests): Add a test for user interaction when attaching
1301 to a process with no matching symbol table already loaded.
1302
11422c86
AC
13032004-06-26 Andrew Cagney <cagney@gnu.org>
1304
1305 Test PR java/1567 and PR java/1565.
1306 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
1307 * gdb.java/jmisc2.exp: Delete file.
1308
cefbce26
MC
13092004-06-26 Michael Chastain <mec.gnu@mindspring.com>
1310
1311 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
1312
e19f872c
CV
13132004-06-25 Corinna Vinschen <vinschen@redhat.com>
1314
1315 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
1316 attach process.
1317
d931ba3b
MC
13182004-06-23 Michael Chastain <mec.gnu@mindspring.com>
1319
1320 * gdb.cp/pr-1553.exp: Remove.
1321
aef68c48
MC
13222004-06-22 Michael Chastain <mec.gnu@mindspring.com>
1323
1324 * gdb.cp/pr-1553.cc: Remove.
1325 * gdb.cp/pr-1553.exp: Disable this test.
1326
8d5df71a
JB
13272004-06-20 Jim Blandy <jimb@redhat.com>
1328
1329 Fix PR testsuite/1680.
1330 * gdb.arch/i386-sse.exp: Properly quote curly braces in
1331 regular expressions.
1332
4ac6f39d
MC
13332004-06-19 Michael Chastain <mec.gnu@mindspring.com>
1334
1335 Fix PR testsuite/1679.
1336 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
1337 Issue an UNSUPPORTED result instead.
1338
1b413552
JB
13392004-06-18 Jim Blandy <jimb@redhat.com>
1340
1341 * gdb.base/charset.exp: Only send a control-C if we see a new
1342 prompt and incomplete command.
1343
6daa6ebd
MC
13442004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1345
1346 * gdb.cp/pr-574.cc: Add copyright notice.
1347
51fa4ae0
JB
13482004-06-17 Jim Blandy <jimb@redhat.com>
1349
1350 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1351 cases where the regexp has no groups; this grabs random text from
1352 the previous test suite, whatever that was.
1353
8fea26c5
MC
13542004-06-17 Michael Chastain <mec.gnu@mindspring.com>
1355
1356 * gdb.cp/printmethod.cc: Add copyright notice.
1357
1e3aeb41
MC
13582004-06-16 Michael Chastain <mec.gnu@mindspring.com>
1359
1360 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1361
9d9030bc
AC
13622004-06-16 Andrew Cagney <cagney@gnu.org>
1363
1364 * gdb.base/signull.c: Update copyright. Include <string.h>.
1365 (bowler): Replace data_pointer with data_read
1366 and data_write cases. Add code_descriptor case.
1367 (zero, desc): New array and pointer.
1368 (data, code): Change to simple pointers.
1369 * gdb.base/signull.exp: Fix probe pattern matching a function
1370 descriptor SIGSEGV. Replace data_pointer with data_read and
1371 data_write tests.
1372
acd4ad44
AC
13732004-06-16 Andrew Cagney <cagney@gnu.org>
1374
1375 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1376
08fd625c
MC
13772004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1378
1379 * gdb.base/long_long.c: Add copyright notice.
1380
1903502c
MC
13812004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1382
1383 * gdb.base/long_long.exp: Remove reference to
1384 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
1385 to gdb_breakpoint and gdb_continue_to_breakpoint.
1386
83313cb1
JB
13872004-06-14 Jim Blandy <jimb@redhat.com>
1388
1389 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1390 endian case.
1391
1bf404ef
AC
13922004-06-14 Andrew Cagney <cagney@gnu.org>
1393
1394 * gdb.base/gcore.exp (capture_command_output): Delete the always
1395 passing tests containing inferior values.
1396 * gdb.base/ending-run.exp: Do not include the breakpoint address
1397 in the test message. Update copyright.
1398 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1399 size in the test name, use gdb_test_multiple. Update copyright.
1400
ef220b33
MC
14012004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1402
1403 * gdb.cp/ref-types.cc: Add copyright notice.
1404
4f70a4c9
MC
14052004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1406
1407 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1408 hp_aCC_compiler.
1409 * lib/compiler.cc: Likewise.
1410 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1411 'set' commands. Log diagnostics for other lines. Set
1412 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1413
335928ac
MC
14142004-06-13 Michael Chastain <mec.gnu@mindspring.com>
1415
1416 * gdb.cp/try_catch.cc: Add copyright notice.
1417
2efb12e8
MC
14182004-06-12 Michael Chastain <mec.gnu@mindspring.com>
1419
1420 * gdb.cp/userdef.cc: Add copyright notice.
1421
0bbed51a
MC
14222004-06-11 Michael Chastain <mec.gnu@mindspring.com>
1423
1424 * gdb.cp/virtfunc.cc: Add copyright notice.
1425
e12a46c9
RC
14262004-06-11 Randolph Chung <tausq@debian.org>
1427
1428 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1429 problem.
1430
338e05af
AC
14312004-06-10 Andrew Cagney <cagney@gnu.org>
1432
1433 * lib/compiler.cc, lib/compiler.c: Append either
1434 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1435 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1436 instead of gcc-3-3.
1437
dc3f10cb
AC
14382004-06-09 Andrew Cagney <cagney@gnu.org>
1439
b4d946af
AC
1440 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1441 gdb/1455, bug is specific to "long long" and "double".
1442
dc3f10cb
AC
1443 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1444 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1445 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
1446 fixed.
1447
b5c0bfa2
AC
14482004-06-09 Andrew Cagney <cagney@gnu.org>
1449
1450 * gdb.base/structs.exp (test_struct_returns): Replace
1451 "return_value_unknown" and "finish_value_unknown" by
1452 "return_value_known" and "finish_value_known". Instead of
1453 "return_value_unknown" iff "finish_value_unknown", check
1454 "return_value_known" implies "finish_value_known".
1455
caeb605f
MH
14562004-06-08 Martin Hunt <hunt@redhat.com>
1457
1458 * gdb.base/float.exp: Add pattern for mips targets.
1459
c892bb64
RC
14602004-06-08 Randolph Chung <tausq@debian.org>
1461
1462 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1463 message for unknown architectures more clear.
1464
48306d3e
JB
14652004-06-08 Joel Brobecker <brobecker@gnat.com>
1466
1467 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1468 start the execution of the program.
1469
83ecb59f
JB
14702004-06-07 Jim Blandy <jimb@redhat.com>
1471
1472 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1473 * gdb.arch/i386-cpuid.h: New helper file.
1474
55264cb4
RC
14752004-06-07 Randolph Chung <tausq@debian.org>
1476
1477 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1478 has started.
1479
23cadb28
RM
14802004-06-04 Roland McGrath <roland@redhat.com>
1481
1482 Fix PR gdb/1647.
1483 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1484 differently to be robust to output buffering differences.
1485
51d01eda
MC
14862004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1487
1488 * gdb.threads/pthreads.exp: Update copyright years.
1489 (check_control_c): Change asynchronous 'after' to synchronous.
1490
f4fc3b93
RM
14912004-06-04 Roland McGrath <roland@redhat.com>
1492
1493 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1494 next gdb prompt.
1495
4013522b
MC
14962004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1497
1498 Fix PR gdb/1636.
1499 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1500 calls to synchronous.
1501
7a8f1e6b
JB
15022004-05-26 Jim Blandy <jimb@redhat.com>
1503
1504 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1505
81bb3443
RC
15062004-05-24 Randolph Chung <tausq@debian.org>
1507
1508 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1509 * gdb.asm/pa.inc: New file.
1510
8f5a3103
MK
15112004-05-22 Mark Kettenis <kettenis@gnu.org>
1512
1513 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1514
734b8fe8
JB
15152004-05-21 Joel Brobecker <brobecker@gnat.com>
1516 Daniel Jacobowitz <drow@mvista.com>
1517
1518 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1519 GDB prompt.
1520
725603e1
UW
15212004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1522
f4fc3b93 1523 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
1524 setjmp/longjmp. Use sigaction instead of signal.
1525
8b923272
JB
15262004-05-19 J. Brobecker <brobecker@gnat.com>
1527 Michael Snyder <msnyder@redhat.com>
1528
1529 * gdb.threads/pthread_cond_wait.c: New file.
1530 * gdb.threads/pthread_cond_wait.exp: New testcase.
1531
8bfabb04
AC
15322004-05-13 Andrew Cagney <cagney@redhat.com>
1533
1534 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1535 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1536
42edda50
AC
15372004-05-11 Andrew Cagney <cagney@redhat.com>
1538
1539 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1540 fixed but revealed gdb/1639.
1541
d303a6c7
AC
15422004-05-10 Andrew Cagney <cagney@redhat.com>
1543
1544 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1545 func1" and "next to 2nd alarm", kernel bug avoided.
1546
bf08c2a1
DJ
15472004-05-10 Daniel Jacobowitz <dan@debian.org>
1548
1549 PR external/1568
1550 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1551 XFAIL if it is smaller than bytes_allocated.
1552 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1553 (main): Make chunks_allocated unsigned. Correct comment.
1554
c0586a34
JB
15552004-05-07 Joel Brobecker <brobecker@gnat.com>
1556
1557 * gdb.arch/powerpc-aix-prologue.c: New file.
1558 * gdb.arch/powerpc-aix-prologue.exp: New file.
1559
f2785d12
JB
15602004-05-07 Jim Blandy <jimb@redhat.com>
1561
1562 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1563 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1564
bd7f6e30
JB
15652004-05-06 Joel Brobecker <brobecker@gnat.com>
1566
1567 * gdb.base/sep.exp: No longer setup_kfail when the program was
1568 built with dwarf2.
1569
0a5e7efe
JI
15702004-05-05 Jim Ingham <jingham@apple.com>
1571
1572 * gdb.base/pending.exp: Make sure pending breakpoints
1573 preserve the ignore count.
f4fc3b93 1574
a8958849
MK
15752004-04-27 Jerome Guitton <guitton@gnat.com>
1576
1577 * i386-prologue.exp: Add testcase for jump instruction as first
1578 instruction of the real code.
1579 * i386-prologue.c (jump_at_beginning): New function.
1580
7e103f5b
MK
15812004-04-28 Mark Kettenis <kettenis@gnu.org>
1582
1583 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1584 x86_64-*-*.
1585
5d38b224
MK
15862004-04-28 Mark Kettenis <kettenis@gnu.org>
1587
1588 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1589 i*86-*-*.
1590
0ef32fd9
MK
15912004-04-25 Mark Kettenis <kettenis@gnu.org>
1592
1593 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1594 expression that checks the return type.
1595
71d7dd7c
AC
15962004-04-23 Andrew Cagney <cagney@redhat.com>
1597
1598 * gdb.base/call-sc.exp: New test of scalar call/return values.
1599 * gdb.base/call-sc.c: Ditto.
1600
1e9f977e
JJ
16012004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1602
1603 * gdb.threads/manythreads.c: Reduce thread stack size.
1604
899d9e3a
JJ
16052004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1606
1607 * gdb.threads/manythreads.c: Add copyright notice.
1608
61bcae62
AC
16092004-04-23 Andrew Cagney <cagney@redhat.com>
1610
1611 * gdb.base/siginfo.exp: Better handle step out of signal.
1612 * gdb.base/sigstep.exp: Ditto.
1613
7339a42e
JJ
16142004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1615 Daniel Jacobowitz <drow@mvista.com>
1616
1617 * gdb.threads/manythreads.c: New testcase.
1618 * gdb.threads/manythreads.exp: Ditto.
1619
5c98409b
JB
16202004-04-22 Jim Blandy <jimb@redhat.com>
1621
1622 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1623 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1624
3b611f1a
MC
16252004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1626
1627 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1628
f0fd9238
AC
16292004-04-21 Andrew Cagney <cagney@redhat.com>
1630
1631 * gdb.base/sigstep.c: New file.
1632 * gdb.base/sigstep.exp: New file.
1633
90990674
JB
16342004-04-16 Joel Brobecker <brobecker@gnat.com>
1635
1636 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1637 call to observer_notify_normal_stop.
1638
78cef34b
AC
16392004-04-15 Andrew Cagney <cagney@redhat.com>
1640
1641 * gdb.base/siginfo.c: New file.
1642 * gdb.base/siginfo.exp: New file.
1643
d2343407
JB
16442004-04-12 J. Brobecker <brobecker@gnat.com>
1645
1646 * gdb.base/sep.exp: Fix typo in comment.
1647
a2dba3c8
JB
16482004-04-12 J. Brobecker <brobecker@gnat.com>
1649
1650 * gdb.base/sep.c: New file.
1651 * gdb.base/sep-proc.c: New file.
1652 * gdb.base/sep.exp: New testcase.
1653
15f7b60e
MK
16542004-04-09 Mark Kettenis <kettenis@gnu.org>
1655
1656 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1657 support.
1658
44f4de1a
AC
16592004-04-05 Andrew Cagney <cagney@redhat.com>
1660
1661 * gdb.base/sigaltstack.c: New file.
1662 * gdb.base/sigaltstack.exp: New file.
1663
ef04f396
JB
16642004-04-04 Joel Brobecker <brobecker@gnat.com>
1665
1666 * gdb.base/foll-fork.exp: Update the expected output for
1667 "help set follow-fork-mode", to match a change that was made
1668 to the help of this variable on 2004-01-13.
1669
d40d2c92
JB
16702004-04-01 Joel Brobecker <brobecker@gnat.com>
1671
1672 * lib/ada.exp: Add copyright notice.
1673 * bar.ads: Likewise.
1674 * bar.adb: Likewise.
1675 * null_record.adb: Likewise.
1676 * null_record.exp: Likewise.
1677 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1678
f86ef5a3
JB
16792004-04-01 Joel Brobecker <brobecker@gnat.com>
1680
1681 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1682 * configure: Regenerate.
1683
414e70e3
JB
16842004-04-01 Joel Brobecker <brobecker@gnat.com>
1685
1686 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1687 to build the application. Remove the message printed when in
1688 verbose mode, redundant with the UNSUPPORTED message above.
1689
f0aaee49
JB
16902004-03-31 Joel Brobecker <brobecker@gnat.com>
1691
1692 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1693 * gdb.ada (null_record.exp): New testcase.
1694
ac81cb54
JB
16952004-03-31 Joel Brobecker <brobecker@gnat.com>
1696
1697 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1698
854af2f7
JB
16992004-03-31 Joel Brobecker <brobecker@gnat.com>
1700
1701 * gdb.ada: New subdirectory.
1702 * gdb.ada/Makefile.in: New file.
1703 * gdb.ada/gnat_ada.gpr.in: New file.
1704
034cb681
JB
17052004-03-31 Joel Brobecker <brobecker@gnat.com>
1706
1707 * lib/ada.exp: New file.
1708
78a1a894
DJ
17092004-03-24 Daniel Jacobowitz <drow@mvista.com>
1710
1711 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1712 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1713
4b2b3b3e
AC
17142004-03-22 Andrew Cagney <cagney@redhat.com>
1715
1716 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1717 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1718 Problem identified by Ulrich Weigand.
1719
23c73aa3
DC
17202004-03-17 David Carlton <carlton@kealia.com>
1721
1722 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1723 PR c++/826.
1724
d63a86f8
RM
17252004-03-16 Roland McGrath <roland@redhat.com>
1726
1727 * gdb.base/auxv.exp: New file.
1728 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1729
0e02aa50
DC
17302004-03-12 David Carlton <carlton@kealia.com>
1731
1732 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1733 * gdb.cp/pr-1553.cc: Ditto.
1734 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1735 pass branch.
1736
c20b71be
MC
17372004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1738
1739 * gdb.cp/templates.exp: Accept more template types.
1740
c7414a01
MC
17412004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1742
1743 From Corinna Vinschen with modifications.
1744 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1745 local variable obj_with_enum.
1746 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1747 results with obj_with_enum.
1748
ed69573c
MC
17492004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1750
1751 * gdb.cp/classes.cc: New file, copied from misc.cc.
1752 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1753
28301461
MC
17542004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1755
1756 * gdb.cp/misc.cc: Add copyright notice.
1757
1198ecbe
DC
17582004-03-05 David Carlton <carlton@kealia.com>
1759
1760 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1761 * gdb.cp/rtti.h: Update copyright.
1762 (namespace n2::n3): New.
1763 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1764 (n2::n3::func3): New.
1765 (main): Call n2::n3::func3.
1766 * gdb.cp/rtti2.cc: Update copyright.
1767 (n2::create3): New.
1768
9e08c470
MK
17692004-03-04 Mark Kettenis <kettenis@gnu.org>
1770
1771 * gdb.asm/openbsd.inc: Fix typo.
1772
4bebc3aa
FF
17732004-03-03 Fred Fish <fnf@redhat.com>
1774
1775 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1776 "val" instead of unused "size". Update copyright year.
1777
6ea9fb37
DJ
17782004-02-29 Daniel Jacobowitz <drow@mvista.com>
1779
1780 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1781 to use unsigned char.
1782 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1783 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1784
23b23974
DJ
17852004-02-29 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1788 line of output.
1789
7574fd53
DJ
17902004-02-28 Daniel Jacobowitz <drow@mvista.com>
1791
1792 * gdb.base/relocate.c (dummy): Initialize.
1793
a195357f
DJ
17942004-02-28 Daniel Jacobowitz <drow@mvista.com>
1795
1796 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1797 a breakpoint at exit.
1798
72fd54a9
FF
17992004-02-27 Fred Fish <fnf@redhat.com>
1800
1801 * gdb.base/chng-syms.exp: Add expect condition to match failing
1802 case that isn't a timeout.
1803
b9d23137
AC
18042004-02-27 Andrew Cagney <cagney@redhat.com>
1805
1806 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1807 support.
1808
15d208f6 18092004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 1810
15d208f6
FF
1811 * gdb.arch/gdb1431.c: Remove.
1812 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1813 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1814 of "until" incorrectly.
1815
98f9cd2d
JB
18162004-02-26 J. Brobecker <brobecker@gnat.com>
1817
1818 * gdb.cp/class2.cc (empty): New class.
1819 (refer): New function.
1820 (main): Declare an object of type empty and use it.
1821 * gdb.cp/class2.exp: Print the value of an object of type empty.
1822
9b50c11b
JJ
18232004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1824
1825 * gdb.base/langs.exp: Update query string to match the
1826 new nquery format used for pending breakpoints.
1827
0dcd613f
AC
18282004-02-26 Andrew Cagney <cagney@redhat.com>
1829
1830 Fix PR i18n/1570.
1831 * gdb.base/charset.c: Update copyright notice.
1832 (main, init_string): Remove the escape character '\e' tests.
1833 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1834 * gdb.base/charset.exp (valid_host_charset): Ditto.
1835 * gdb.base/setvar.exp: Ditto.
1836
b8a56647
AC
18372004-02-24 Andrew Cagney <cagney@redhat.com>
1838
90d59e34
AC
1839 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1840 mmapped data in core file" PASS and FAIL messages consistent.
1841
b8a56647
AC
1842 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1843 setting a breakpoint. Work around PR java/1565.
1844
9f27c604
JJ
18452004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1846
1847 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1848 new nquery format.
1849 * gdb.base/pending.exp: Ditto.
1850
3224a706
MK
18512004-02-22 Mark Kettenis <kettenis@gnu.org>
1852
1853 * configure.in: Run stabs tests on *BSD.
1854 * configure: Regenerated.
1855
41e0a9ca
MK
18562004-02-21 Mark Kettenis <kettenis@gnu.org>
1857
1858 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1859
1e1b3428
FF
18602004-02-20 Fred Fish <fnf@redhat.com>
1861
1862 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1863 blank in test for "returns short", for consistency with other
1864 "returns xxx" tests. Update copyright year.
1865
f9a7572a
FF
18662004-02-19 Fred Fish <fnf@redhat.com>
1867
1868 New testcase for PR breakpoint/1558.
1869 * gdb.arch/gdb1558.exp: New file.
1870 * gdb.arch/gdb1558.c: New file.
1871
b2ce2854
EZ
18722004-02-19 Elena Zannoni <ezannoni@redhat.com>
1873
1874 * gdb.base/nodebug.exp: Fix typo.
1875
e7c9ff01
JB
18762004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1877
1878 Committed by Jim Blandy <jimb@redhat.com>.
1879
62f4b920
JB
1880 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1881
2db536a1
JB
1882 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1883
e7c9ff01
JB
1884 * gdb.base/float.exp: Support s390*-*-* targets.
1885
f3205b34
AF
18862004-02-17 Adam Fedor <fedor@gnu.org>
1887
1888 * gdb.base/gdb1555.exp: New file.
1889 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1890
9d62932d
EZ
18912004-02-17 Elena Zannoni <ezannoni@redhat.com>
1892
1893 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1894
344c9711
FF
18952004-02-16 Fred Fish <fnf@redhat.com>
1896
1897 * gdb.arch/gdb1291.c: Remove
1898 * gdb.arch/gdb1291.s: New test input file.
1899 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1900 fail. Test for correct result, known incorrect result, other
1901 failures and timeouts.
1902
2d822687
AC
19032004-02-16 Andrew Cagney <cagney@redhat.com>
1904
1905 * gdb.base/bigcore.exp: New file.
1906 * gdb.base/bigcore.c: New file.
1907
dac15b66
AC
19082004-02-13 Andrew Cagney <cagney@redhat.com>
1909
1910 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1911 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1912 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1913 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1914 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1915 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1916 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1917 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1918 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1919 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1920
6bdfc2c4
JJ
19212004-02-11 Jeff Johnston <jjohnstn@redhat.com>
1922
1923 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1924 executed is an alloc instruction.
1925
87b3ede8
DC
19262004-02-11 David Carlton <carlton@kealia.com>
1927
1928 * gdb.cp/breakpoint.exp: New.
1929 * gdb.cp/breakpoint.cc: New.
1930
6e19e2bf
MC
19312004-02-11 Michael Chastain <mec.gnu@mindspring.com>
1932
1933 Partial fix for PR gdb/1543.
1934 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1935 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1936 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1937 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1938 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1939 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1940 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1941 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1942 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1943 to bug-gdb@prep.ai.mit.edu .
1944 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1945 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1946 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1947 Likewise.
1948
5c5455dc
AC
19492004-02-10 Andrew Cagney <cagney@redhat.com>
1950
1951 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1952 using gdb_internal_error_resync.
1953
9cf689d7
DJ
19542004-02-09 Daniel Jacobowitz <drow@mvista.com>
1955
1956 * gdb.threads/thread-specific.exp: Stop early if no threads are
1957 found.
1958
d2dc51db
MC
19592004-02-09 Michael Chastain <mec.gnu@mindspring.com>
1960
1961 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1962
14b1a056
DJ
19632004-02-08 Daniel Jacobowitz <drow@mvista.com>
1964
1965 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1966 breakpoints.
1967
83f66e8f
DJ
19682004-02-07 Daniel Jacobowitz <drow@mvista.com>
1969
1970 * config/sim.exp (gdb_load): Handle $arg == "".
1971 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1972 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1973
30fc0091
EZ
19742004-02-07 Elena Zannoni <ezannoni@redhat.com>
1975
1976 * gdb.base/maint.exp: Update test to reflect
1977 obstack changes.
1978
4d806929
JJ
19792004-02-04 Jeff Johnston <jjohnstn@redhat.com>
1980
1981 * gdb.base/pendshr.c (pendfunc): New function that calls
1982 pendfunc1.
1983 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1984
7bfdd688
FF
19852004-02-04 Fred Fish <fnf@redhat.com>
1986
1987 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1988 function symbols and update copyright years.
1989 * gdb.arch/gdb1291.c: Ditto.
1990
aaa08ee4
MC
19912004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1992
1993 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1994
dbad7755
MC
19952004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1996
1997 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1998
ec4646ef
MC
19992004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2000
2001 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
2002
1b802196
FF
20032004-02-02 Fred Fish <fnf@redhat.com>
2004
2005 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
2006 remote targets. Update copyright years.
2007
18fe2033
JJ
20082004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2009
2010 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
2011 support.
2012 * gdb.base/langs.exp: Fix test which attempts to create
2013 breakpoint on non-existent function to handle new pending
2014 support.
2015 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
2016 a breakpoint.
2017 * gdb.base/pending.exp: New test.
2018 * gdb.base/pending.c: New file.
2019 * gdb.base/pendshr.c: Ditto.
2020
8d577d32
DC
20212004-02-02 David Carlton <carlton@kealia.com>
2022
2023 * gdb.cp/overload.exp: Add overloadNamespace tests.
2024 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
2025 (overloadNamespace, XXX): New.
2026 (main): Call XXX::marker2.
2027
3ad13771
FF
20282004-02-01 Fred Fish <fnf@redhat.com>
2029
2030 * gdb.base/dump.exp: Use runto_main instead of "runto main".
2031 * gdb.base/finish.exp: Ditto.
2032 * gdb.base/gcore.exp: Ditto.
2033 * gdb.base/huge.exp: Ditto.
2034 * gdb.base/info-proc.exp: Ditto.
2035 * gdb.base/return2.exp: Ditto.
2036 * gdb.threads/gcore-thread.exp: Ditto.
2037
44c75849
DJ
20382004-02-01 Daniel Jacobowitz <drow@mvista.com>
2039
2040 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
2041
005bc093
MK
20422004-02-01 Mark Kettenis <kettenis@gnu.org>
2043
2044 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
2045 that opening the file succeeds on OpenBSD.
2046
c47cebdb
DJ
20472004-02-01 Daniel Jacobowitz <drow@mvista.com>
2048
2049 * gdb.threads/thread-specific.c: New file.
2050 * gdb.threads/threads-specific.exp: New test script.
2051 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
2052 to expect_out.
2053
5a01311c
MK
20542004-02-01 Mark Kettenis <kettenis@gnu.org>
2055
2056 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
2057 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
2058 only on the "print_small_structs from print_long_arg_list" test.
2059
ce22a4f1
DJ
20602004-02-01 Daniel Jacobowitz <drow@mvista.com>
2061
2062 * gdb.base/completion.exp: Kill a stray backslash.
2063
2064 From Jim Ingham <jingham@apple.com>:
2065 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
2066 agrees with the result from sending a tab.
2067
abbab9d3
DJ
20682004-01-31 Daniel Jacobowitz <drow@mvista.com>
2069
2070 * gdb.base/chng-syms.exp: Remove stray newline.
2071
53904d1e
MK
20722004-01-31 Mark Kettenis <kettenis@gnu.org>
2073
2074 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
2075 *-*-openbsd*.
2076 * gdb.asm/openbsd.inc: New file.
2077
3a4b3aac
MK
20782004-01-30 Mark Kettenis <kettenis@gnu.org>
2079
2080 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
2081 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
2082 *-*solaris2*. Remove commented out default settings for
2083 asm-flags. Replace gdb_compile with target_link.
2084
ebac27b4
MC
20852004-01-29 Michael Chastain <mec.gnu@mindspring.com>
2086
2087 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
2088 for all tests. Remove old hp-ux and cygnus xfail cases.
2089
d8679d84
PH
20902004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
2091
2092 * gdb.base/chng-syms.exp: New file.
2093 * gdb.base/chng-syms.c: New file.
2094
0a55bc22
MC
20952004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2096
2097 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
2098 Provide arms for current output in all my configurations.
2099
94b8e876
MC
21002004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2101
2102 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
2103 * lib/compiler.cc: Likewise.
2104 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
2105 get the right preprocessor. Eval the output directly. Remove
2106 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
2107 hp_f77_compiler and hp_f90_compiler completely.
2108 (gdb_preprocess): Delete.
2109 (get_compiler): Delete.
2110
7cf03d44
MK
21112004-01-24 Mark Kettenis <kettenis@gnu.org>
2112
2113 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
2114 <string.h>.
2115
68b6dce9
NR
21162004-01-24 Nick Roberts <nick@nick.uklinux.net>
2117
2118 * gdb.mi/mi-stack.exp: Update copyright.
2119
b368761e
DC
21202004-01-23 David Carlton <carlton@kealia.com>
2121
2122 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
2123 test for cp_lookup_transparent_type.
2124 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
2125 call them.
2126
f2061b53
DJ
21272004-01-23 Daniel Jacobowitz <drow@mvista.com>
2128
2129 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
2130 after -var-update.
2131
37fc574a
DC
21322004-01-23 David Carlton <carlton@kealia.com>
2133
2134 * gdb.cp/namespace.cc (C::ensureRefs): New.
2135 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2136
8e94b928
NR
21372004-01-20 Nick Roberts <nick@nick.uklinux.net>
2138
2139 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
2140 case "-stack-list-locals 2".
2141 * gdb.mi/mi-var-child.exp: Test for case
2142 "-var-list-children --all-values NAME".
2143
997b0952
MC
21442004-01-18 Michael Chastain <mec.gnu@mindspring.com>
2145
2146 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2147
52470da3
MK
21482004-01-18 Mark Kettenis <kettenis@gnu.org>
2149
7049b4b8
MK
2150 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
2151 used with gdb_test_multiple.
2152
52470da3
MK
2153 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
2154 read at address 0. This fixes PR testsuite/1504.
2155
da6012e5
DJ
21562004-01-18 Daniel Jacobowitz <drow@mvista.com>
2157
2158 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
2159 Remove downloading, guessing the host executable, the calls to
2160 gdb_file_cmd and gdb_target_cmd, and "load" support.
2161 (infer_host_exec): New function broken out from gdb_load.
2162 (gdb_load): New wrapper for gdbserver_gdb_load.
2163 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
2164 gdb_target_cmd. Use -target-select.
2165 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
2166 Download binaries to the host. Clear last_mi_remote_file when
2167 we load a new binary.
2168 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
2169 call gdbserver_gdb_load and mi_gdb_target_cmd.
2170
32c70722
MC
21712004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2172
2173 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
2174 type patterns.
2175
b0cecf36
MC
21762004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2177
2178 * gdb.cp/templates.exp: Fix typo in test name of
2179 "print Foo<volatile char*>::foo".
2180
4120d7e6
MC
21812004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2182
2183 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2184
f679e530
BE
21852004-01-16 Ben Elliston <bje@wasabisystems.com>
2186
2187 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
2188 (clean mostlyclean): Remove empty rm.
2189
091c48f6
MC
21902004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2191
2192 * gdb.base/setvar.exp: Add copyright years.
2193
3e5fc8d2
DC
21942004-01-14 David Carlton <carlton@bactrian.org>
2195
2196 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
2197 PR c++/1511 and update coment.
2198 * gdb.cp/templates.exp: Update patterns to match current output.
2199 If changes involve something other than whitespace, KFAIL
2200 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2201
63d06c5c
DC
22022004-01-14 David Carlton <carlton@kealia.com>
2203
2204 * gdb.cp/namespace.exp: Add tests involving classes defined within
2205 namespaces.
2206 * gdb.cp/namespace.cc (C::CClass): New.
2207 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
2208
a51dab88
EZ
22092004-01-14 Elena Zannoni <ezannoni@redhat.com>
2210
2211 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
2212 what debug info we have. Print a better message if something goes
2213 wrong while producing the separate debug info file.
2214
a476ccc9
MC
22152004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2216
2217 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2218
f453692c
MC
22192004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2220
2221 * gdb.base/callfuncs.c: Add copyright notice.
2222
f40063a5
MC
22232004-01-13 Michael Chastain <mec.gnu@mindspring.com>
2224
2225 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
2226 inheritance. PR gdb/1498, PR gcc/13539.
2227
19ac3974
EZ
22282004-01-13 Elena Zannoni <ezannoni@redhat.com>
2229
2230 * gdb.threads/gcore-thread.exp: Prefix name of binary with
2231 test specific name.
2232 * gdb.mi/gdb669.exp: Ditto.
2233 * gdb.mi/mi-pthreads.exp: Ditto.
2234 * gdb.mi/mi1-pthreads.exp: Ditto.
2235 * gdb.mi/mi2-pthreads.exp: Ditto.
2236
56c97c6e
MC
22372004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2238
2239 * gdb.cp/member-ptr.cc: Add copyright notice.
2240
a0644324
MC
22412004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2242
2243 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
2244 some patterns for recent versions of gcc and hpacc. Delete
2245 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
2246 Delete tests that access a NULL pointer-to-member-data. This
2247 script is still disabled for gcc.
2248
32fabe09
EZ
22492004-01-12 Elena Zannoni <ezannoni@redhat.com>
2250
2251 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
2252 escaped correctly.
2253
1f8a6abb
EZ
22542004-01-12 Elena Zannoni <ezannoni@redhat.com>
2255
2256 * gdb.base/sepdebug.exp: New file.
2257 * gdb.base/sepdebug.c: New file.
2258 * lib/gdb.exp (separate_debug_filename): New procedure.
2259 (gdb_gnu_strip_debug): New procedure.
2260
48efe704
AC
22612004-01-12 Andrew Cagney <cagney@redhat.com>
2262
2263 * gdb.mi/ChangeLog: Delete file. Renamed to ...
2264 * gdb.mi/ChangeLog-1999-2003: New file.
2265
a9415475
AC
22662004-01-12 Andrew Cagney <cagney@redhat.com>
2267
2268 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
2269 "Renaming a directory to a non-empty directory returns ENOTEMPTY
2270 or EEXIST", treat EBUSY as an XFAIL.
2271
83b8cf9d
MC
22722004-01-11 Michael Chastain <mec.gnu@mindspring.com>
2273
2274 * gdb.base/scope.exp: Remove obsolete setup_xfail for
2275 hp_cc_compiler.
2276
9939d2a8
MC
22772004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2278
2279 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
2280 decorations.
2281
1ff8cadf
MC
22822004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2283
2284 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
2285 and "(aCC)" decorations. Remove obsolete doco about old
2286 test results.
2287
6fa9022e
MC
22882004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2289
2290 * gdb.cp/exception.exp: Fix typo in doco.
2291
209721fe
MK
22922004-01-09 Mark Kettenis <kettenis@gnu.org>
2293
2294 * gdb.base/gdb1476.exp: Fix typo.
2295
ef11303e
MC
22962004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2297
2298 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
2299 file.
2300
041ab88c
MC
23012004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2302
2303 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
2304 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
2305 Use gdb_compile. Remove restriction on gcc. Add some patterns
2306 for recent version of gdb. Delete second half, which was a copy
2307 of the first half with different build flags. This test is
2308 still disabled because it is still not ready for production.
2309
e36d075a
MC
23102004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2311
2312 * gdb.cp/exception.cc: Add copyright notice.
2313 * gdb.cp/exception.exp: Add a notice that this file is broken
2314 because of line number changes caused by addition of copyright
2315 notice.
2316
42b190ad
MC
23172004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2318
2319 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
2320 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2321
8f25f06b
MC
23222004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2323
2324 * gdb.cp/classes.exp: Accept gnu abi 2.
2325 * gdb.cp/derivation.exp: Likewise.
2326 * gdb.cp/overload.exp: Likewise.
2327 * gdb.cp/virtfunc.exp: Likewise.
2328
06ded8b8
MC
23292004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2330
2331 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
2332 semicolon after end of function.
2333
77c26ae3
MC
23342004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2335
2336 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
2337 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
2338 boilerplate code for compiling and running the program under
2339 test. Add some string method tests.
2340
20757486
MC
23412004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2342
2343 * gdb.cp/bs15503.cc: Add copyright notice.
2344 * gdb.cp/bs15503.exp: Adjust line number.
2345
0fd3b503
MC
23462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2347
2348 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2349 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2350
10d1bea8
MC
23512004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2352
2353 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2354 hp_cc_compiler.
2355
2789202a
MC
23562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2357
2358 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2359 * gdb.cp/ctti.exp: Use the marker instead of "next".
2360 With gcc, run further before bailing.
2361
b862f14c
MC
23622004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2363
2364 * gdb.cp/cttiadd.cc: Add copyright notice.
2365 * gdb.cp/cttiadd1.cc: Likewise.
2366 * gdb.cp/cttiadd2.cc: Likewise.
2367 * gdb.cp/cttiadd3.cc: Likewise.
2368
96da2469
MC
23692004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2370
2371 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
2372 Use gdb_test, gdb_test_multiple. Use floating-point values that
2373 have exact representations in IEEE-ish formats.
2374
053248ff
MC
23752004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2376
2377 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2378 compilers. Delete duplicate call to get_compiler_info.
2379 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2380 * gdb.base/volatile.exp: Likewise.
2381
84acecdd
MK
23822004-01-07 Mark Kettenis <kettenis@gnu.org>
2383
2384 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2385 memory at address 0.
2386
fe11a27f
MC
23872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2388
2389 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2390 to test for hp-ux assembler. Fix copyright years.
2391
60ad077b
AC
23922004-01-07 Andrew Cagney <cagney@redhat.com>
2393
2394 * gdb.base/fileio.c (strerrno): Add "EBUSY".
2395
1c9b8f33
AC
23962004-01-07 Andrew Cagney <cagney@redhat.com>
2397
2398 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2399 when creating the read-only file. From analysis by Roland McGrath
2400 and Elena Zannoni.
2401
753ccc7a
MC
24022004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2403
2404 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2405
eca3e36b
MC
24062004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2407
2408 * gdb.base/cvexpr.c: Be type-safe with function pointers and
2409 data pointers.
2410
f8d4bac4
MC
24112004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2412
2413 * gdb.cp/m-static.exp: Compile one source file at a time.
2414 Delete unused call to get_compiler_info.
2415
9b4e0f94
MC
24162004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2417
2418 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2419 * gdb.base/call-rt-st.exp: Likewise.
2420 * gdb.base/nodebug.exp: Likewise.
2421 * gdb.base/volatile.exp: Likewise.
2422 * gdb.cp/ref-types.exp: Likewise.
2423 * gdb.cp/templates.exp: Likewise.
2424
023c1024
MK
24252004-01-05 Mark Kettenis <kettenis@gnu.org>
2426
2427 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2428
19703c4a
MC
24292004-01-05 Michael Chastain <mec.gnu@mindspring.com>
2430
2431 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2432 hppa*-hp-hpux*.
2433
18b67037
MK
24342004-01-04 Mark Kettenis <kettenis@gnu.org>
2435
ba6219c8
MK
2436 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2437 x86_64-*-*.
2438
18b67037
MK
2439 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2440 sparc64-*-* and sparc*-solaris2*.
2441
1bfbbb9d
MK
24422004-01-04 Mark Kettenis <kettenis@gnu.org>
2443
2444 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2445 return ${tests}" test. The ${tests} already mentions the
2446 filename.
2447
06846494
MC
24482004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2449
2450 * gdb.cp/local.exp: Accept gcc abi 2.
2451
3b0cb202
MC
24522004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2453
2454 * gdb.cp/templates.exp: Accept gcc abi 2.
2455
0643ec3f
MC
24562004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2457
2458 * lib/compiler.cc: Remove supports_template_debugging.
2459 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2460
d231d0b1
MC
24612004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2462
2463 * gdb.cp/namespace.exp: Accept gcc abi 2.
2464
44ffb27c
MC
24652004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2466
2467 * gdb.cp/method.exp: Accept gcc abi 2.
2468
184ad485
MC
24692004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2470
2471 * gdb.cp/classes.exp: Generate identical results as old version.
2472 * gdb.cp/derivation.exp: Likewise.
2473 * gdb.cp/overload.exp: Likewise.
2474 * gdb.cp/virtfunc.exp: Likewise.
2475
116f09e7
MC
24762004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2477
2478 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2479 mysterious bug with sourceware version of expect.
2480
b1379776
MC
24812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2482
2483 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2484 current versions of gcc, including gcc abi 2. Remove gratuitous
2485 restart of test program. Use gdb_test_multiple and gdb_test for
2486 all tests. Add patterns to xfail missing "const" in "const char *"
2487 and kfail PR gdb/1155.
2488
6b7a4c0e
MC
24892004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2490
2491 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2492 current versions of gcc, including gcc abi 2. Remove gratuitous
2493 restart of test program. Use gdb_test_multiple and gdb_test for
2494 all tests. Add patterns to kfail PR gdb/1498.
2495
51615d72
MC
24962003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2497
2498 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2499 current versions of gcc, including gcc abi 2. Use "breakpoint"
2500 and "continue" instead of restarting the target program. Use
2501 gdb_test_multiple and gdb_test for all tests.
2502
7b79a9d7
MK
25032004-01-01 Mark Kettenis <kettenis@gnu.org>
2504
2505 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2506 for *-*-solaris2*.
2507
1cd3489f
MC
25082003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2509
2510 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2511 current versions of gcc, including gcc abi 2. Use "breakpoint"
2512 and "continue" instead of restarting the target program several
2513 times. Use gdb_test_multiple and gdb_test for all tests.
2514
850742db
MC
25152003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2516
2517 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2518 source files.
2519
eb4bbda8
MC
25202003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2521
2522 * gdb.base/environ.exp: Handle compiling test case from multiple
2523 source files.
2524
e42c7771
MC
25252003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2526
2527 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2528
80e4b428
JB
25292003-12-17 Jim Blandy <jimb@redhat.com>
2530
5f06973a
JB
2531 * gdb.base/freebpcmd.c: Add copyright notice.
2532
80e4b428
JB
2533 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2534
0ab84fb7
MC
25352003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2536
2537 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2538
1b3bb3d0
JB
25392003-12-13 Jim Blandy <jimb@redhat.com>
2540
2541 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2542
3a4c9371
KB
25432003-12-12 Kevin Buettner <kevinb@redhat.com>
2544
2545 * gdb.asm/frv.inc: New file.
2546 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2547
a1dea79a
FF
25482003-12-09 Fred Fish <fnf@redhat.com>
2549
2550 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2551 functions to break1.c and leave prototypes behind. Add more
2552 "set breakpoint NN here" comments.
2553 * gdb.base/break1.c: New file.
2554
2555 * gdb.base/break.exp: Handle compiling test case from multiple
2556 source files and change source file references as needed.
2557 * gdb.base/completion.exp: Ditto.
2558 * gdb.base/condbreak.exp: Ditto.
2559 * gdb.base/define.exp: Ditto.
2560 * gdb.base/ena-dis-br.exp: Ditto.
2561 * gdb.base/info-proc.exp: Ditto.
2562 * gdb.base/maint.exp: Ditto.
2563 * gdb.base/until.exp: Ditto.
2564
2565 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2566 hardcoded line numbers.
2567 * gdb.base/define.exp: Ditto.
2568 * gdb.base/ena-dis-br.exp: Ditto.
2569 * gdb.base/maint.exp: Ditto.
2570 * gdb.base/until.exp: Ditto.
2571
2572 * gdb.base/completion.exp: Use "break1" for completion tests since
2573 "break" is no longer a unique prefix.
2574
5266b69c
AC
25752003-12-06 Andrew Cagney <cagney@redhat.com>
2576
2577 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2578 "return_value_unimplemented". When an unimplemented struct return
2579 architecture, report incorrect values as a KFAIL
2580
374451f0
MC
25812003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2582
2583 * gdb.cp/rtti.exp: Accept new wording of warning from
2584 cp_lookup_rtti_type.
2585
ba9b20a7
MC
25862003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2587
2588 Partial fix for PR testsuite/1456.
2589 * gdb.base/scope.exp (test_at_main): Replace references to
2590 gcc_compiled with calls to test_compiler_info.
2591 (test_at_foo): Likewise.
2592 (test_at_bar): Likewise.
2593
b74b6d0b
MC
25942003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2595
2596 Partial fix for PR testsuite/1456.
2597 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2598 to test_compiler_info.
2599
ccfa3402
MC
26002003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2601
2602 * gdb.base/so-impl-ld.exp: Update copyright notice.
2603
f6246aba
MC
26042003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2605
2606 Partial fix for PR testsuite/1456.
2607 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2608 to test_compiler_info.
2609
13ae734a
MC
26102003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2611
2612 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2613 from current versions of gdb. Clean up regular expressions.
2614 Delete redundant timeout case.
2615
d8e1cdee
MC
26162003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2617
2618 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2619 from current versions of gdb. Clean up regular expressions.
2620 Delete redundant timeout case.
2621
96457b64
MC
26222003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2623
2624 Partial fix for PR testsuite/1456.
2625 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2626 gcc_compiled with call to test_compiler_info.
2627
f35309fc
MC
26282003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2629
2630 Partial fix for PR testsuite/1456.
2631 * gdb.base/list.exp (test_list_function): Delete unused declaration
2632 of gcc_compiled.
2633
d7afdf9b
MC
26342003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2635
2636 Partial fix for PR testsuite/1456.
2637 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2638 call to test_compiler_info.
2639
71507b56
MK
26402003-11-29 Mark Kettenis <kettenis@gnu.org>
2641
2642 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2643 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2644 it to create the appropriate note.inc.
2645 * gdb.asm/asmsrc1.s: Include "note.inc".
2646 * gdb.asm/netbsd.inc: New file.
2647 * gdb.asm/empty.inc: New file.
2648
f81f93f7
MC
26492003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2650
2651 Partial fix for PR testsuite/1456.
2652 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2653 calls to test_compiler_info.
2654
9a77938e
MC
26552003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2656
2657 Partial fix for PR testsuite/1456.
2658 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2659 calls to test_compiler_info.
2660
e8367dc7
MK
26612003-11-27 Mark Kettenis <kettenis@gnu.org>
2662
2663 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2664 pattern for the KFAILs.
2665
526c61ee
AF
26662003-11-25 Adam Fedor <fedor@gnu.org>
2667
2668 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2669 * gdb.objc/objcdecode.m: New file.
2670
28f2d600
AF
26712003-11-25 Adam Fedor <fedor@gnu.org>
2672
2673 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2674 * gdb.objc/nondebug.m: New file.
2675
a3895cee
BE
26762003-11-26 Ben Elliston <bje@wasabisystems.com>
2677
2678 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2679 NetBSD as it does on FreeBSD. Modelled on a similar change by
2680 Mark Kettenis on 2003-05-30.
2681 (link-flags): Set to "--entry _start" regardless of target.
2682 Special linker flags are to be appended to $link-flags.
2683 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2684
c9f2c8a3
MC
26852003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2686
2687 * gdb.cp/method.exp: Accept output of new demangler.
2688
15a0587a 26892003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
2690
2691 * gdb/class2.exp: New file.
2692 * gdb/class2.cc: New file.
2693
3c00b570
MC
26942003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2695
2696 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2697 of new demangler.
2698
7027acc7
MK
26992003-11-23 Mark Kettenis <kettenis@gnu.org>
2700
2701 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2702 of gdb_test "run".
2703
b0e1598a
MK
27042003-11-23 Mark Kettenis <kettenis@gnu.org>
2705
2706 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2707 "continue" into "run".
2708
4d9eda44
MC
27092003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2710
2711 Partial fix for PR testsuite/1456.
2712 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2713 call to test_compiler_info.
2714 * gdb.cp/ctti.exp: Likewise.
2715 * gdb.cp/derivation.exp: Likewise.
2716 * gdb.cp/member-ptr.exp: Likewise.
2717 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2718 reference to gcc_compiled.
2719
27202003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
2721
2722 Fix PR testsuite/1463.
2723 * gdb.base/structs.exp (start_structs_test): Call
2724 get_debug_format before using the debug format.
2725
d422fe19
AC
27262003-11-22 Andrew Cagney <cagney@redhat.com>
2727
2728 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2729 * gdb.base/structs.exp: Use gdb_test_multiple.
2730
039cf96d
AC
27312003-11-20 Andrew Cagney <cagney@redhat.com>
2732
6882279b
AC
2733 * gdb.base/structs.exp: Handle and recover from internal errors.
2734 Replace "foo${n}" with "foo<n>" in test messages.
2735
e53890ae
AC
2736 * gdb.base/structs.exp: Update copyright. Rewrite.
2737 * gdb.base/structs.c: Update copyright. Rewrite.
2738
2b211c59
AC
2739 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2740 resync count exceeded.
d63a86f8 2741
039cf96d
AC
2742 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2743 from the internal error.
2744 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2745 Original from Jim Blandy.
2746 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 2747
eac98b22
AC
27482003-11-19 Andrew Cagney <cagney@redhat.com>
2749
2750 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2751 KFAIL.
2752
67455b2a
MK
27532003-11-17 Mark Kettenis <kettenis@gnu.org>
2754
2755 New testcase for PR backtrace/1435.
2756 * gdb.arch/i386-unwind.exp: New file.
2757 * gdb.arch/i386-unwind.c: New file.
2758
853d6e5b
AC
27592003-11-17 Andrew Cagney <cagney@redhat.com>
2760
2761 * lib/gdb.exp (compiler_info): New global.
2762 (test_compiler_info): New function.
2763 (get_compiler_info): Set compiler_info.
2764 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2765 "compiler_info" to gcc-<major>-<minor>.
2766
38cf6e11
MC
27672003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2768
2769 * gdb.trace/configure: Remove.
2770
a50d3602
EZ
27712003-11-13 Elena Zannoni <ezannoni@redhat.com>
2772
2773 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 2774 breakpoints.
a50d3602
EZ
2775 * gdb.base/break.exp: Remove all references to explicit line
2776 numbers.
2777
d9407aaa
NC
27782003-11-11 Nick Clifton <nickc@redhat.com>
2779
2780 * gdb.base/shreloc.exp: Do not run for targets which do not
2781 support shared objects.
2782
db488fc1
CV
27832003-11-10 Corinna Vinschen <vinschen@redhat.com>
2784
2785 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2786 Don't run tests if nofileio flag is given.
2787
6a90a18e
EZ
27882003-11-07 Elena Zannoni <ezannoni@redhat.com>
2789
2790 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2791 as well as 'Watchpoint'.
2792
0b915e9c
EZ
27932003-11-06 Elena Zannoni <ezannoni@redhat.com>
2794
2795 Reported by Jim Ingham <jingham@apple.com>:
2796 * gdb.base/annota1.exp: Match at least one occurrence of the
2797 signal handler annotation.
2798
d7e4b55f
EZ
27992003-11-06 Elena Zannoni <ezannoni@redhat.com>
2800
2801 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2802 as well as 'Watchpoint'.
2803
2fe4e8d0
MC
28042003-11-05 Michael Chastain <mec@shout.net>
2805
2806 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2807
6ef88553
KW
28082003-11-03 Kris Warkentin <kewarken@qnx.com>
2809
2810 * gdb.arch/gdb1291.c: New test file.
2811 * gdb.arch/gdb1291.exp: New test script.
2812 * gdb.arch/gdb1431.c: New test file.
2813 * gdb.arch/gdb1431.exp: New test script.
2814
ae7dc4d8
MC
28152003-10-22 Michael Chastain <mec@shout.net>
2816
2817 * gdb.mi/pthreads.c: Add copyright notice.
2818
c39d7427
MC
28192003-10-22 Michael Chastain <mec@shout.net>
2820
2821 * gdb.threads/pthreads.c: Add copyright notice.
2822
8b7d96c1
MC
28232003-10-20 Michael Chastain <mec@shout.net>
2824
2825 * gdb.base/gdb1056.exp: New test script.
2826
d1d69fdd
DJ
28272003-10-13 Daniel Jacobowitz <drow@mvista.com>
2828
2829 * gdb.threads/killed.exp: Use gdb_run_cmd.
2830
7d605576
DJ
28312003-10-13 Daniel Jacobowitz <drow@mvista.com>
2832
2833 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2834 create a core file.
2835 * gdb.threads/gcore-thread.exp: Likewise.
2836
618ec112
CV
28372003-10-13 Corinna Vinschen <vinschen@redhat.com>
2838
2839 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2840 type, based on char type.
2841 (struct bit_flags_short_t): New bitfield type, based on short type.
2842 (init_bit_flags_char): New fuction.
2843 (init_bit_flags_short): Ditto.
2844 (print_bit_flags_char): Ditto.
2845 (print_bit_flags_short): Ditto.
2846 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2847
9367a73c
MC
28482003-10-11 Michael Chastain <mec@shout.net>
2849
2850 * gdb.base/call-rt-st.exp: Update copyright year.
2851
1decf120
KI
28522003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2853
2854 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2855 * gdb.disasm/sh3.s: Ditto.
2856
5445b2ae
DJ
28572003-10-07 Daniel Jacobowitz <drow@mvista.com>
2858
2859 * gdb.threads/switch-threads.exp: New test.
2860 * gdb.threads/switch-threads.c: New source file.
2861
aec24853
CV
28622003-10-07 Corinna Vinschen <vinschen@redhat.com>
2863
2864 * gdb.base/ending-run.exp: Add sh specific case.
2865
adc7428d
AC
28662003-10-06 Andrew Cagney <cagney@redhat.com>
2867
2868 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2869 * gdb.disasm/mn10200.exp: Delete obsolete file.
2870
c9d37158
DJ
28712003-09-29 Daniel Jacobowitz <drow@mvista.com>
2872
2873 * ChangeLog: Correct an entry command.exp -> commands.exp.
2874 * gdb.base/commands.exp (bp_deleted_in_command_test)
2875 (temporary_breakpoint_commands): Check noargs.
2876
79c2c32d
DC
28772003-09-25 David Carlton <carlton@kealia.com>
2878
2879 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2880 of some print tests, where appropriate. Add tests for C::D::cd,
2881 E::ce, F::cXfX, G::XgX.
2882 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2883
594e6d67
RE
28842003-09-25 Richard Earnshaw <rearnsha@arm.com>
2885
2886 * lib/java.exp (java_init): Import target_alias before using it.
2887
10f0d451
DC
28882003-09-25 David Carlton <carlton@kealia.com>
2889
2890 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2891
274bcba0
EZ
28922003-09-23 Elena Zannoni <ezannoni@redhat.com>
2893
d63a86f8 2894 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
2895 weirdness.
2896
cdbf20f7
MC
28972003-09-17 Michael Chastain <mec@shout.net>
2898
2899 * gdb.cp/gdb1355.exp: New file.
2900 * gdb.cp/gdb1355.c: New file.
2901
71e06f80
CV
29022003-09-15 Corinna Vinschen <vinschen@redhat.com>
2903
2904 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2905 * gdb.asm/sh.inc: New file.
2906
5c4e30ca
DC
29072003-09-11 David Carlton <carlton@kealia.com>
2908
bd45b7af
DC
2909 * gdb.cp/namespace.exp: Add tests for namespace types.
2910 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
2911 (test_namespace): New.
2912
1c199746
EZ
29132003-09-11 Elena Zannoni <ezannoni@redhat.com>
2914
2915 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 2916 * gdb.stabs/weird.exp: Ditto.
1c199746 2917
04ed252f
MC
29182003-09-08 Michael Chastain <mec@shout.net>
2919
2920 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2921
d8a2d9e7
MC
29222003-09-07 Michael Chastain <mec@shout.net>
2923
2924 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2925 'parse error'.
2926
161afb24
MK
29272003-09-07 Mark Kettenis <m.kettenis@osp.nl>
2928
2929 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2930
49f2741a
MC
29312003-08-30 Michael Chastain <mec@shout.net>
2932
2933 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2934 * gdb.gdb/observer.exp: Ditto.
2935 * gdb.gdb/xfullpath.exp: Ditto.
2936
8afa723e
MK
29372003-08-29 Mark Kettenis <kettenis@gnu.org>
2938
2939 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2940 *-*-*bsd*.
2941
f31dfe3b
JJ
29422003-08-28 Jeff Johnston <jjohnstn@redhat.com>
2943
2944 * gdb.base/dump.exp: Skip for ia64.
2945
4630e498
JJ
29462003-08-25 Jeff Johnston <jjohnstn@redhat.com>
2947
2948 * gdb.asm/asm-source.exp: Add ia64 support.
2949 * gdb.asm/ia64.inc: New file.
2950
1105b7ef
MC
29512003-08-22 Michael Chastain <mec@shout.net>
2952
2953 * gdb.cp: New directory.
2954 * gdb.cp/*: Copy from gdb.c++/*.
2955 * gdb.c++/*: Remove.
2956 * Makefile.in: Change gdb.c++ to gdb.cp.
2957 * configure.in: Ditto.
2958 * configure: Regnerate.
2959
c945b932
MK
29602003-08-18 Mark Kettenis <kettenis@gnu.org>
2961
2962 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2963 * gdb.arch/i386-prologue.c (gdb1338): Add function.
2964
2b66634b
DJ
29652003-08-17 Daniel Jacobowitz <drow@mvista.com>
2966
2967 * mi-var-display.exp (-var-list-children weird): Accept function
2968 pointers with argument types.
2969 * mi1-var-display.exp (-var-list-children weird): Likewise.
2970 * mi2-var-display.exp (-var-list-children weird): Likewise.
2971
a356f73b
DJ
29722003-08-17 Daniel Jacobowitz <drow@mvista.com>
2973
2974 * gdb.base/annota3.exp: Add missing newline.
2975
483417b8
MC
29762003-08-06 Michael Chastain <mec@shout.net>
2977
2978 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2979
c99c59c3
MS
29802003-08-12 Michael Snyder <msnyder@redhat.com>
2981
2982 * gdb.base/float.exp: Add test for SH.
2983
55ed7501
MK
29842003-08-10 Mark Kettenis <kettenis@gnu.org>
2985
2986 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2987
1a371f2e
EZ
29882003-08-07 Elena Zannoni <ezannoni@redhat.com>
2989
2990 * gdb.base/completion.exp: Remove reduntant completion test
2991 on filename.
2992
e0f353ce
EZ
29932003-08-07 Elena Zannoni <ezannoni@redhat.com>
2994
2995 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2996 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2997 gdb.trace/save-trace.exp: Make sure that full pathnames are
2998 escaped correctly.
2999
5710a1af 30002003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 3001
5710a1af
EZ
3002 * configure.in: Don't generate config.h from config.hin.
3003 * configure: Regenerate.
3004 * config.hin: Remove file.
3005 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
3006 * gdb.threads/pthreads.c: Ditto.
3007
dcd81ce9
DJ
30082003-08-07 Daniel Jacobowitz <drow@mvista.com>
3009
3010 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3011 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
3012 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
3013 Replace ld24 with seth/add3.
3014
6009d884
AC
30152003-08-02 Andrew Cagney <cagney@redhat.com>
3016
3017 * gdb.base/annota3.exp: New file.
3018 * gdb.base/annota3.c: New file.
3019 * gdb.c++/annota3.exp: New file.
3020 * gdb.c++/annota3.cc: New file.
3021
51514e06
MC
30222003-07-29 Michael Chastain <mec@shout.net>
3023
3024 * gdb.threads/tls.c (spin): Check errno only if sem_wait
3025 actually failed.
3026 (do_pass): Likewise.
3027 * gdb.threads/tls.exp: Always initialize no_of_threads.
3028
4ee6625b
DJ
30292003-07-27 Daniel Jacobowitz <drow@mvista.com>
3030
3031 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
3032 pattern.
3033 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
3034 * gdb.threads/tls.exp: Recognize one case of the host library not
3035 supporting TLS.
3036
225f2bf6
AC
30372003-07-27 Andrew Cagney <cagney@redhat.com>
3038
3039 * gdb.base/fileio.exp: Use SH when running commands using
3040 remote_exec.
3041
bcb27c9f
DJ
30422003-07-24 Daniel Jacobowitz <drow@mvista.com>
3043
3044 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3045 * gdb.base/relocate.c (dummy): New padding array.
3046
3d67be83
MS
30472003-07-22 Michael Snyder <msnyder@redhat.com>
3048
d63a86f8 3049 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
3050
3051 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
3052 patterns to be more general, accepting old and new output.
3053 Some output chars (such as '+') also must be quoted.
d63a86f8 3054 Some addresses are displayed numerically instead of
3d67be83
MS
3055 symbolically.
3056
57ba3b85
MS
30572003-07-23 Michael Snyder <msnyder@redhat.com>
3058
686d097c
MS
3059 * gdb.base/return2.exp: Don't test long-long return.
3060
57ba3b85
MS
3061 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
3062 * gdb.disasm/t01_mov.exp: Ditto.
3063 * gdb.disasm/t02_mova.s: Ditto.
3064 * gdb.disasm/t02_mova.exp: Ditto.
3065 * gdb.disasm/t03_add.s: Ditto.
3066 * gdb.disasm/t03_add.exp: Ditto.
3067 * gdb.disasm/t04_sub.s: Ditto.
3068 * gdb.disasm/t04_sub.exp: Ditto.
3069 * gdb.disasm/t05_cmp.s: Ditto.
3070 * gdb.disasm/t05_cmp.exp: Ditto.
3071 * gdb.disasm/t06_ari2.s: Ditto.
3072 * gdb.disasm/t06_ari2.exp: Ditto.
3073 * gdb.disasm/t07_ari3.s: Ditto.
3074 * gdb.disasm/t07_ari3.exp: Ditto.
3075 * gdb.disasm/t08_or.s: Ditto.
3076 * gdb.disasm/t08_or.exp: Ditto.
3077 * gdb.disasm/t09_xor.s: Ditto.
3078 * gdb.disasm/t09_xor.exp: Ditto.
3079 * gdb.disasm/t10_and.s: Ditto.
3080 * gdb.disasm/t10_and.exp: Ditto.
3081 * gdb.disasm/t11_logs.s: Ditto.
3082 * gdb.disasm/t11_logs.exp: Ditto.
3083 * gdb.disasm/t12_bit.s: Ditto.
3084 * gdb.disasm/t12_bit.exp: Ditto.
3085 * gdb.disasm/t13_otr.s: Ditto.
3086 * gdb.disasm/t13_otr.exp: Ditto.
3087
e00759ef
EZ
30882003-07-22 Elena Zannoni <ezannoni@redhat.com>
3089
3090 * gdb.threads/tls.exp :Add kfail for 'info address' case.
3091
8bc2021f
EZ
30922003-07-22 Elena Zannoni <ezannoni@redhat.com>
3093
3094 * gdb.threads/tls.c : New file.
3095 * gdb.threads/tls.exp : New file.
3096 * gdb.threads/tls-main.c : New file.
3097 * gdb.threads/tls-shared.c : New file.
3098 * gdb.threads/tls-shared.exp : New file.
3099
89320c4c
AS
31002003-07-22 Andreas Schwab <schwab@suse.de>
3101
3102 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
3103
180dea7c
AS
31042003-07-20 Andreas Schwab <schwab@suse.de>
3105
3106 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
3107 due to insn reordering.
3108
0714963c
AC
31092003-07-15 Andrew Cagney <cagney@redhat.com>
3110
3111 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
3112
98a23b3f
MC
31132003-07-15 Michael Chastain <mec@shout.net>
3114
3115 * gdb.base/gdb1250.exp: New file.
3116 * gdb.base/gdb1250.c: New file.
3117
27e417a2
ML
31182003-07-09 Michal Ludvig <mludvig@suse.cz>
3119
3120 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
3121 expansion of size_t to 'unsigned long', not only to 'unsigned'.
3122
8bc2021f
EZ
31232003-07-09 Elena Zannoni <ezannoni@redhat.com>
3124
3125 * gdb.threads/tls.c: New file.
3126 * gdb.threads/tls.exp: New file.
3127 * gdb.threads/tls-main.c: New file.
3128 * gdb.threads/tls-shared.c: New file.
3129 * gdb.threads/tls-shared.exp: New file.
3130
d99968dc
EZ
31312003-07-09 Elena Zannoni <ezannoni@redhat.com>
3132
3133 * gdb.base/annota1.exp: Make sure that we properly escape the
3134 full path of the source file. Xfail more permissive patterns,
d63a86f8 3135 due to a compiler debug info problem.
d99968dc 3136
83876b3b
AS
31372003-07-07 Andreas Schwab <schwab@suse.de>
3138
2705e972
AS
3139 * gdb.asm/m68k.inc: New file.
3140 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
3141
83876b3b
AS
3142 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
3143 arguments"): Also match negative number.
3144
3145 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
3146
3a871b37
DJ
31472003-07-03 Daniel Jacobowitz <drow@mvista.com>
3148
3149 * gdb.base/store.c (charest): New typedef.
3150 (add_char): Rename to add_charest, update.
3151 (wack_char): Rename to wack_charest, update types. Return l + r
3152 to keep r live across the call.
3153 (wack_short, wack_int, wack_long, wack_longest, wack_float)
3154 (wack_double, wack_doublest): Return l + r to keep r live across
3155 the call.
3156 * gdb.base/store.exp: Accomodate store.c changes.
3157
b2a7f303
DC
31582003-06-30 David Carlton <carlton@kealia.com>
3159
3160 * gdb.c++/maint.exp (test_invalid_name): New.
3161 (test_first_component): Add tests for invalid names.
3162
3c6cb4a1
MC
31632003-06-29 Michael Chastain <mec@shout.net>
3164
3165 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
3166 output of '<VTT for class>' for virtual base classes.
3167
f1c2644b
DJ
31682003-06-29 Daniel Jacobowitz <drow@mvista.com>
3169
3170 * gdb.base/completion.exp: Tab-complete "complet" instead of
3171 "compl".
3172 * gdb.base/complex.exp, gdb.base/complex.c: New files.
3173
18080350
DJ
31742003-06-29 Daniel Jacobowitz <drow@mvista.com>
3175
3176 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
3177 * gdb.base/volatile.exp: Likewise.
3178
f56973f8
DJ
31792003-06-29 Daniel Jacobowitz <drow@mvista.com>
3180
3181 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
3182 gdb/1265.
3183
31842003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
3185 Daniel Jacobowitz <drow@mvista.com>
3186
3187 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
3188 initial line count of 'captured_main' from 26 to 32.
3189 (test_with_self): Allow xmalloc call to be interleaved with the
3190 preceding two lines.
3191
e766d4d6
JB
31922003-06-24 Joel Brobecker <brobecker@gnat.com>
3193
3194 * gdb.base/bang.exp: New testcase.
3195
f125c9a4
JB
31962003-06-23 Joel Brobecker <brobecker@gnat.com>
3197
3198 * gdb.base/langs.exp: Add some tests for the "minimal" language
3199 support.
3200
6e25beaf
EZ
32012003-06-23 Elena Zannoni <ezannoni@redhat.com>
3202
3203 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
3204 the testcase.
3205
2f816dda
DJ
32062003-06-22 Daniel Jacobowitz <drow@mvista.com>
3207
3208 * gdb.base/relocate.exp: Test add-symbol-file with a variable
3209 offset.
3210
db5a5748
DJ
32112003-06-22 Daniel Jacobowitz <drow@mvista.com>
3212
3213 * gdb.c++/pr-1210.cc: New file.
3214 * gdb.c++/pr-1210.exp: New file.
3215
1df0c130
DJ
32162003-06-21 Daniel Jacobowitz <drow@mvista.com>
3217
3218 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
3219 000-exec-continue.
3220
a92feac0
MK
32212003-06-15 Mark Kettenis <kettenis@gnu.org>
3222
3223 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
3224 on *-*-*bsd* instead of *-*-freebsd*.
3225
81a58f5b
AC
32262003-06-14 Andrew Cagney <cagney@redhat.com>
3227
3228 * gdb.base/store.exp: Test longest and doublest. Test all
3229 parameters. Weaken return statement match.
3230 * gdb.base/store.c: Add longest and doublest - aka long long and
3231 long double functions. Put all parameters into local register
3232 variables. Use negative values.
3233
b257a0d3
AC
32342003-06-14 Andrew Cagney <cagney@redhat.com>
3235
3236 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
3237 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
3238 exit status.
3239 * gdb.base/fileio.exp: Disable target when nointerrupts and
3240 noinferiorio, instead of limiting it to remote. Use remote_exec
3241 instead of system.
d63a86f8 3242
21c38304
JJ
32432003-06-12 Jeff Johnston <jjohnstn@redhat.com>
3244
3245 * gdb.base/float.exp: Add ia64 support.
3246
1bcdb424
CV
32472003-06-12 Corinna Vinschen <vinschen@redhat.com>
3248
3249 * gdb.base/fileio.exp: Run only on remote targets.
3250
6aeb981f
CV
32512003-06-10 Corinna Vinschen <vinschen@redhat.com>
3252
3253 * gdb.base/fileio.c: New file, testing File-I/O.
3254 * gdb.base/fileio.exp: Ditto.
3255
53df362e
RG
32562003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
3257
3258 * gdb.base/shreloc.exp: New file, check symbol values obtained from
3259 shared objects after relocation at load time (gdb PR/1132).
3260 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
3261 as above, part of the shared object relocation test.
3262
ffee1b46
MK
32632003-06-08 Mark Kettenis <kettenis@gnu.org>
3264
b5ca3722
MK
3265 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
3266 fully filled history list.
3267 * gdb.base/gdb_history: New file.
3268
03ed860d
MK
3269 * gdb.base/signals.exp: XFAIL "continue to func1" on
3270 i*86-*-freebsd*.
3271
ffee1b46
MK
3272 * gdb.base/attach.exp: When trying to attach to a nonexistent
3273 process, make it possible to specify the PID based on the target,
3274 and do so for *-*-freebsd*.
3275
d80dbb52
RH
32762003-06-02 Richard Henderson <rth@redhat.com>
3277
3278 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
3279
6dd77b81
RH
32802003-06-02 Richard Henderson <rth@redhat.com>
3281
3282 * gdb.base/selftest.exp: Next over lim_at_start initialization.
3283
f6347e16
RH
32842003-06-02 Richard Henderson <rth@redhat.com>
3285
3286 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
3287
2c161407
DJ
32882003-06-01 Daniel Jacobowitz <drow@mvista.com>
3289
3290 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
3291 of globalvar.
3292
572eb746
MK
32932003-06-01 Mark Kettenis <kettenis@gnu.org>
3294
3295 * gdb.asm/asm-source.exp: Check for memory read errors in
3296 disassembler test on *BSD too.
3297
9e9617a5
RH
32982003-06-01 Richard Henderson <rth@redhat.com>
3299
3300 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
3301 for .frame.
3302 (gdbasm_call): Lose ldgp.
3303 (gdbasm_startup): Add frame information.
3304 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
3305
7b34ad4e
MK
33062003-05-31 Mark Kettenis <kettenis@gnu.org>
3307
3308 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
3309 i?86-*-*.
3310
10059fdf
MK
33112003-05-30 Mark Kettenis <kettenis@gnu.org>
3312
3313 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3314 FreeBSD.
3315
acf4b816
RH
33162003-05-29 Richard Henderson <rth@redhat.com>
3317
3318 * gdb.asm/alpha.inc: New file.
3319 * gdb.asm/asm-source.exp: Use it.
3320
e9ecd949
JB
33212003-05-29 Jim Blandy <jimb@redhat.com>
3322
3323 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
3324 'core.PID'.
3325
e3e5a4f3
JB
33262003-05-22 Jim Blandy <jimb@redhat.com>
3327
3328 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
3329 backtrace.
d63a86f8 3330
72fe3d25
DC
33312003-05-20 David Carlton <carlton@math.stanford.edu>
3332
3333 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
3334 this time.
3335
58da2eb2
DC
33362003-05-19 David Carlton <carlton@bactrian.org>
3337
3338 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
3339 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
3340
1fcb5155
DC
33412003-05-19 David Carlton <carlton@bactrian.org>
3342
3343 * gdb.c++/namespace.exp: Add namespace scope and anonymous
3344 namespace tests.
3345 Bump copyright date.
3346 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3347 (main): Call C::D::marker2.
3348 * gdb.c++/namespace1.cc: New file.
3349
85e85163
JJ
33502003-05-14 Jeff Johnston <jjohnstn@redhat.com>
3351
3352 Roland McGrath <roland@redhat.com>
d63a86f8 3353 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
3354 there is no manager thread.
3355
a25fbfec
JJ
33562003-05-08 Jeff Johnston <jjohnstn@redhat.com>
3357
d63a86f8
RM
3358 * gdb.threads/schedlock.exp: Remove assumption that all threads
3359 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
3360 in one of the child threads rather than the main thread.
3361
be375bae
JB
33622003-05-07 Jim Blandy <jimb@redhat.com>
3363
09bf6082
JB
3364 Add support for assembly source testing on the s390x.
3365 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3366 architecture.
3367 * gdb.asm/s390x.inc: New file.
3368
be375bae
JB
3369 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3370 succession of 'if' statements.
3371
00905d52
AC
33722003-05-05 Andrew Cagney <cagney@redhat.com>
3373
3374 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3375
b1e29e33
AC
33762003-05-05 Andrew Cagney <cagney@redhat.com>
3377
3378 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3379 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3380
e33d66ec
EZ
33812003-05-02 Elena Zannoni <ezannoni@redhat.com>
3382
3383 * gdb.base/charset.exp: Update based on new behavior of set/show
3384 charset commands.
3385
2b6fd0d8
AC
33862003-05-01 Andrew Cagney <cagney@redhat.com>
3387
3388 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3389 variable do not give memory errors.
3390
130cacce
AF
33912003-04-30 Adam Fedor <fedor@gnu.org>
3392
3393 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3394 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3395 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3396 gdb.objc/basicclass.m: : New files
3397
3398 * lib/gdb.exp (gdb_compile_objc): New procedure.
3399
bea71854
DJ
34002003-04-27 Daniel Jacobowitz <drow@mvista.com>
3401
3402 * gdb.base/signals.exp: Make backtrace tests more specific.
3403
0f20eeea
DC
34042003-04-23 David Carlton <carlton@bactrian.org>
3405
3406 * gdb.c++/maint.exp (test_first_component): Add tests for
3407 'operator' in more locations.
3408
c8c4d8dc
KB
34092003-04-16 Kevin Buettner <kevinb@redhat.com>
3410
3411 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3412
3fe60e3c
EZ
34132003-04-16 Elena Zannoni <ezannoni@redhat.com>
3414
3415 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3416 func marke' instead. Update test name.
3417
9219021c
DC
34182003-04-15 David Carlton <carlton@math.stanford.edu>
3419
3420 * gdb.c++/maint.exp: New file.
3421
5dd55bdd
EZ
34222003-04-14 Elena Zannoni <ezannoni@redhat.com>
3423
3424 * gdb.threads/schedlock.c: Change type of thread function argument
3425 to long, to avoid warnings on 64-bit platforms.
3426
00890572
EZ
34272003-04-14 Elena Zannoni <ezannoni@redhat.com>
3428
3429 * gdb.base/attach.exp: Add new message from ptrace in case of
3430 attaching to nonexistent process.
d63a86f8 3431
93201743
JB
34322003-04-11 Jim Blandy <jimb@redhat.com>
3433
3434 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3435 gdb.c++/userdef.cc: Place comments on the lines to which the
3436 marker function might return.
3437 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3438 gdb.c++/userdef.exp: Look for those comments to check that we've
3439 returned to the right place, instead of checking line numbers.
3440
2a11c64d
EZ
34412003-04-11 Elena Zannoni <ezannoni@redhat.com>
3442
3443 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3444 match on sourcefile name, instead of directory name.
3445
68ab8fc5
EZ
34462003-04-10 Elena Zannoni <ezannoni@redhat.com>
3447
d63a86f8 3448 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
3449 working directory name.
3450
5624293a
JB
34512003-04-09 Jim Blandy <jimb@redhat.com>
3452
3453 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3454 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3455 after an inferior function call, report the failure, but allow the
3456 test to continue.
3457
f1f02ee4
SC
34582003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3459
3460 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3461 with -DPROTOTYPES.
3462
6eb79af0
SC
34632003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3464
3465 * gdb.base/break.exp: Revert last patch.
3466
8dfb4cf0
SC
34672003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3468
3469 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3470 with -DPROTOTYPES.
3471
ed4c619a
AC
34722003-04-02 Andrew Cagney <cagney@redhat.com>
3473
3474 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3475 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3476 matching directories by the name breakpoint.
3477 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3478 Make "continue to marker1" consistent.
3479 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3480 message consistent.
3481 * lib/gdb.exp: Put "the program is no longer running", and "the
3482 program exited" in parenthesis.
3483 * lib/mi-support.exp: Ditto.
d63a86f8 3484
4e35d5f0 34852003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 3486
4e35d5f0
BR
3487 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3488
71900fe8
AC
34892003-03-29 Andrew Cagney <cagney@redhat.com>
3490
3491 * gdb.base/sizeof.c (main): Print the value of '\377'.
3492 * gdb.base/sizeof.exp: Check the sign of '\377'.
3493
c0655a16
MC
34942003-03-27 Michael Chastain <mec@shout.net>
3495
3496 * gdb.base/gdb1090.exp: New file.
3497 * gdb.base/gdb1090.cc: New file.
3498
5b2a3989
JB
34992003-03-27 J. Brobecker <brobecker@gnat.com>
3500
3501 * gdb.gdb/observer.exp: New regression test.
3502
79876890
MC
35032003-03-27 Michael Chastain <mec@shout.net>
3504
3505 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3506 * gdb.base/ptype.exp: Likewise.
3507
6eac95e3
CV
35082003-03-27 Corinna Vinschen <vinschen@redhat.com>
3509
3510 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3511
e8c71839
MC
35122003-03-26 Michael Chastain <mec@shout.net>
3513
3514 * gdb.base/ptype.exp: Actually use some typedef'd types.
3515
71b10041
SC
35162003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3517
3518 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3519 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3520
2512cf80
CV
35212003-03-20 Corinna Vinschen <vinschen@redhat.com>
3522
3523 * gdb.base/default.exp: Fix regular expression.
3524
0d195a4f
CV
35252003-03-20 Corinna Vinschen <vinschen@redhat.com>
3526
3527 * gdb.base/args.exp: Fix regular expression.
3528
8a2dbca8
CV
35292003-03-20 Corinna Vinschen <vinschen@redhat.com>
3530
3531 * gdb.base/help.exp: Allow Win32 child process.
3532
bf028682
CV
35332003-03-20 Corinna Vinschen <vinschen@redhat.com>
3534
3535 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3536 when stepping out of main().
3537
182dbe85
CV
35382003-03-20 Corinna Vinschen <vinschen@redhat.com>
3539
3540 * gdb.base/default.exp: Check for win32 specific message when calling
3541 "run" without executable.
3542
d67a6ba5
CV
35432003-03-20 Corinna Vinschen <vinschen@redhat.com>
3544
3545 * gdb.base/args.exp: Expect .exe in output.
3546
a955b5bb
CV
35472003-03-20 Corinna Vinschen <vinschen@redhat.com>
3548
3549 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3550 Cygwin native.
3551
bf6bad4b
AC
35522003-03-17 Andrew Cagney <cagney@redhat.com>
3553
3554 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3555 vector registes.
3556 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3557 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3558
293e9a31
DC
35592003-03-17 David Carlton <carlton@math.stanford.edu>
3560
3561 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3562 test, for PR breakpoints/38.
3563 Call test_watchpoint_and_breakpoint.
3564 * gdb.base/watchpoint.c (func3): New function.
3565 (main): Call func3.
3566
5330f2db
DC
35672003-03-04 David Carlton <carlton@math.stanford.edu>
3568
3569 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3570 Garply<Garply<char> >:: garply".
3571 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3572 with respect to PR c++/1111; note also PR c++/1113.
3573 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3574 respect to PR c++/1062.
3575 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3576
6ece72da
DC
35772003-03-03 David Carlton <carlton@math.stanford.edu>
3578
3579 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3580 with respect to PR c++/57.
3581 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3582 c++/826.
3583 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3584 respect to PR c++/57.
3585
85ca1584
DC
35862003-03-03 David Carlton <carlton@math.stanford.edu>
3587
3588 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3589 respect to PR c++/33 into FAILs.
3590
98e9c5b8
MC
35912003-03-03 Michael Chastain <mec@shout.net>
3592
7bedbf27
MC
3593 * configure.in: Update copyright years.
3594
35952003-03-03 Michael Chastain <mec@shout.net>
3596
3597 * Makefile.in: Update copyright years.
98e9c5b8 3598
f683e100
DC
35992003-02-28 David Carlton <carlton@math.stanford.edu>
3600
3601 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3602 print class instead of struct and/or superfluous protection
3603 specifiers, as long as the resulting output is equivalent to the
3604 source code.
3605 Delete FIXME from end of messages on tests that don't need
3606 fixing.
3607
a9e0cf2c
DC
36082003-02-28 David Carlton <carlton@math.stanford.edu>
3609
3610 * gdb.c++/templates.exp (do_tests): Allow const in the two
3611 Foo<volatile char *>::foo tests.
3612
e8d359df
MS
36132003-02-27 Michael Snyder <msnyder@redhat.com>
3614
d63a86f8 3615 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
3616 will be consistant.
3617
0b71dc91
DC
36182003-02-26 David Carlton <carlton@math.stanford.edu>
3619
3620 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3621 char *>::foo" test with respect to PR c++/33. Create a new test
3622 which is identical to that one except that it doesn't put the
3623 space between the "char" and the "*"; KFAIL it, too.
3624
dd14ab43
DC
36252003-02-26 David Carlton <carlton@math.stanford.edu>
3626
3627 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3628 template types into either PASSes or KFAILs (corresponding to PR
3629 c++/57). Tweak indentation. Update copyright.
3630
1146c7f1
SC
36312003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3632
3633 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3634
74641dfb
MC
36352003-02-13 Michael Chastain <mec@shout.net>
3636
3637 * gdb.base/exprs.exp: Remove i960 remnants.
3638 * gdb.base/funcargs.exp: Likewise.
3639 * gdb.base/list.exp: Likewise.
3640 * gdb.base/ptype.exp: Likewise.
3641
559cd2d0
DC
36422003-02-14 David Carlton <carlton@math.stanford.edu>
3643
3644 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3645 pEe->D::vg()" from XFAIL to KFAIL.
3646
c4f90d87
JM
36472003-02-13 Jason Molenda (jmolenda@apple.com)
3648
3649 * gdb.base/maint.exp: Update maint print statistics regexp to include
3650 new entries.
3651
cbc4d97c
MC
36522003-02-13 Michael Chastain <mec@shout.net>
3653
3654 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3655
40f235b7
MC
36562003-02-12 Michael Chastain <mec@shout.net>
3657
3658 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3659 * gdb.c++/inherit.exp: Likewise.
3660 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3661 * gdb.c++/templates.exp: Likewise.
3662 * gdb.c++/virtfunc.exp: Likewise.
3663
c56716b0
JM
36642003-02-06 Jason Molenda (jason-cl@molenda.com)
3665
3666 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3667 why the code is written that way.
3668
070afcf8
MC
36692003-02-05 Michael Chastain <mec@shout.net>
3670
3671 * gdb.base/dump.exp: Add missing copyright line.
3672
5d0331e5
JM
36732003-02-05 Jason Molenda (jason-cl@molenda.com)
3674
f7ae6d3e 3675 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
3676 at the beginning so the breakpoint doesn't get set on the loop.
3677
92851186
MC
36782003-02-05 Michael Chastain <mec@shout.net>
3679
3680 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3681 output for configurations with gcc 2.95.3.
3682
cbf1e085
AC
36832003-02-05 Keith Seitz <keiths@redhat.com>
3684 Andrew Cagney <ac131313@redhat.com>
3685
3686 * gdb.mi/mi-cli.exp: New file.
d63a86f8 3687
29518e1e
MC
36882003-02-04 Michael Chastain <mec@shout.net>
3689
3690 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3691 Call perror and then continue.
3692
5af1d5f3
MC
36932003-02-03 Michael Chastain <mec@shout.net>
3694
3695 * gdb.c++/pr-1023.cc: New file.
3696 * gdb.c++/pr-1023.exp: New file.
3697
6b549786
JB
36982003-02-05 Jim Blandy <jimb@redhat.com>
3699
3700 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3701 it's local to foobar. Check for it there, and check that it's not
3702 present in main.
3703 * gdb.c++/local.cc (marker2): New function.
3704 (foobar): Call marker1.
3705 (main): Call marker2 instead of marker1.
3706
67f16606
AC
37072003-02-04 Andrew Cagney <ac131313@redhat.com>
3708
3709 * gdb.disasm/mn10200.exp: Obsolete file.
3710 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3711 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3712 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3713
1c5cb38e
DC
37142003-02-04 David Carlton <carlton@math.stanford.edu>
3715
3716 * gdb.c++/overload.exp: Test intToChar(1).
3717 * gdb.c++/overload.cc (intToChar): New.
3718 (main): Call intToChar.
3719
d1fe6965
DC
37202003-02-03 David Carlton <carlton@math.stanford.edu>
3721
3722 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3723 'might_kfail' arg.
3724 KFAIL some of the continue_to_bp_overloaded calls, according to
3725 PR c++/1025.
3726
9ba61c5d
MC
37272003-02-01 Michael Chastain <mec@shout.net>
3728
3729 * gdb.base/advance.c (marker1): New marker function.
3730 * gdb.base/advance.exp: When the 'advance' command lands on the
3731 return breakpoint, it can legitimately stop on either the
3732 current line or the next line. Accommodate both outcomes.
3733 * gdb.base/until.exp: Likewise.
3734
e7494ffb
AC
37352003-02-02 Andrew Cagney <ac131313@redhat.com>
3736
3737 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3738 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3739 now a list, not a tuple.
3740 * gdb.mi/mi-var-display.exp: Ditto.
3741 * gdb.mi/gdb792.exp: Ditto.
3742
075559bc
AC
37432003-02-01 Andrew Cagney <ac131313@redhat.com>
3744
3745 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3746 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3747 stack backtraces.
3748 * gdb.mi/mi-syn-frame.c: Part of same.
3749
2bd4c7b1
MK
37502003-02-01 Mark Kettenis <kettenis@gnu.org>
3751
3752 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3753 gdb.mi/mi1-pthreads.exp: Return instead of calling
3754 gdb_suppress_entire_file.
3755
eabd8992
MS
37562003-02-01 Mark Salter <msalter@redhat.com>
3757
3758 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3759
71469e2f
MS
37602003-01-31 Mark Salter <msalter@redhat.com>
3761
3762 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3763 Support empty arg.
3764
38a94d44
MC
37652003-01-30 Michael Chastain <mec@shout.net>
3766
3767 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3768 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3769 has been fixed in gdb/readline on 2003-01-09.
3770
19ea9e73
MS
37712003-01-29 Michael Snyder <msnyder@redhat.com>
3772
e8d359df
MS
3773 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3774 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
3775 * gdb.base/args.exp: Skip if target does not support args passing.
3776
2307bd6a
DJ
37772003-01-22 Daniel Jacobowitz <drow@mvista.com>
3778
19ea9e73 3779 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
3780 gdb_test. Accept a list of expect arguments as the third
3781 parameter.
3782 (gdb_test): Use it.
3783
f2dd3617
EZ
37842003-01-20 Elena Zannoni <ezannoni@redhat.com>
3785
3786 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3787 allow for different test tree configurations. Update some
3788 tescases accordingly.
3789 * gdb.arch/altivec-regs.exp: Ditto.
3790 * gdb.asm/asm-source.exp: Ditto.
3791 * gdb.base/advance.exp: Ditto.
3792 * gdb.base/display.exp: Ditto.
d63a86f8 3793 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
3794 * gdb.base/mips_pro.exp: Ditto.
3795 * gdb.base/overlays.exp: Ditto.
3796 * gdb.base/relocate.exp: Ditto.
3797 * gdb.base/setshow.exp: Ditto.
3798 * gdb.base/step-line.exp: Ditto.
3799 * gdb.base/step-test.exp: Ditto.
3800 * gdb.base/until.exp: Ditto.
3801 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3802
c71cdefd
DC
38032003-01-17 David Carlton <carlton@math.stanford.edu>
3804
3805 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3806 corresponding to PR c++/945.
3807 Update copyright.
3808
fdba05d7
DC
38092003-01-17 David Carlton <carlton@math.stanford.edu>
3810
3811 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3812 corresponding to PR c++/68.
3813
38142003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
3815
3816 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3817 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3818 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3819
c362c33a
EZ
38202003-01-15 Elena Zannoni <ezannoni@redhat.com>
3821
0fbc361c
EZ
3822 * gdb.base/break.exp: Fix change of default location, because of
3823 removal of until tests.
3824 * gdb.base/help.exp: Update test for new 'until' help message.
3825 Add test for help on 'advance'.
c362c33a
EZ
3826 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3827
dabf8a35
MK
38282003-01-15 Mark Kettenis <kettenis@gnu.org>
3829
3830 * gdb.base/default.exp: Adapt "info float" test for recent changes
3831 to that command. Add test for "info vector".
3832 * gdb.base/float.exp: New file. Add test for "info float" that
3833 resembles the old test in gdb.base/default.exp.
3834
a1769aca
DC
38352003-01-15 David Carlton <carlton@math.stanford.edu>
3836
3837 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3838
82025e13
EZ
38392003-01-15 Elena Zannoni <ezannoni@redhat.com>
3840
3841 * gdb.base/break.exp: Move the tests of until command from here...
3842 * gdb.base/until.exp: ... to here. New file. Add other tests.
3843 * gdb.base/advance.c: New file.
3844 * gdb.base/advance.exp: New file.
3845
8f9ab801
EZ
38462003-01-14 Elena Zannoni <ezannoni@redhat.com>
3847
3848 * gdb.base/args.c: New file.
3849 * gdb.base/args.exp: New file.
3850
9ae66589
DJ
38512003-01-14 Daniel Jacobowitz <drow@mvista.com>
3852
3853 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3854
8d77e5c3
DJ
38552003-01-14 Daniel Jacobowitz <drow@mvista.com>
3856
3857 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3858
12d2f0a1
DJ
38592003-01-14 Daniel Jacobowitz <drow@mvista.com>
3860
3861 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3862 dates.
3863
6ca37014
DJ
38642003-01-13 Daniel Jacobowitz <drow@mvista.com>
3865
3866 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3867
b0023472
DJ
38682003-01-13 Daniel Jacobowitz <drow@mvista.com>
3869
3870 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3871 (ptype &*"foo").
3872 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3873
607fbc54 38742003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
3875
3876 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3877 * gdb.mi/mi1-console.exp: Likewise.
3878
607fbc54 38792003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
3880
3881 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3882 * gdb.mi/mi1-console.exp: Likewise.
3883
a1fb14a2
DJ
38842003-01-13 Daniel Jacobowitz <drow@mvista.com>
3885
3886 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3887
c4cf40b7
DJ
38882003-01-09 Daniel Jacobowitz <drow@mvista.com>
3889
3890 * gdb.base/detach.exp: New test.
3891
696d5a5b
DJ
38922003-01-09 Daniel Jacobowitz <drow@mvista.com>
3893
3894 * Makefile.in (ALL_SUBDIRS): New variable.
3895 (subdirs, clean, distclean): Use it.
3896 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3897 regenerating Makefile, since it is generated from the top level.
3898 * gdb.asm/Makefile.in: Likewise.
3899 * gdb.base/Makefile.in: Likewise.
3900 * gdb.c++/Makefile.in: Likewise.
3901 * gdb.disasm/Makefile.in: Likewise.
3902 * gdb.java/Makefile.in: Likewise.
3903 * gdb.mi/Makefile.in: Likewise.
3904 * gdb.threads/Makefile.in: Likewise.
3905 * gdb.trace/Makefile.in: Likewise.
3906
754533e4
DC
39072003-01-09 David Carlton <carlton@math.stanford.edu>
3908
3909 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3910 Add copyright year 2003.
3911
d8b3e9ee
MC
39122003-01-06 Michael Chastain <mec@shout.net>
3913
3914 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3915 When selecting a thread, 'line' and 'file' are optional.
3916 * gdb.mi/mi1-pthreads.exp: Likewise.
3917
8e9e0fe6
AS
39182003-01-06 Andreas Schwab <schwab@suse.de>
3919
3920 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3921 failures.
3922
b5ab8ff3
DJ
39232003-01-04 Daniel Jacobowitz <drow@mvista.com>
3924
3925 Fix PR gdb/844
3926 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3927 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
3928
3929 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
3930 instead of calling gdb_suppress_entire_file.
3931 * gdb.threads/print-threads.exp: Likewise.
3932 * gdb.threads/schedlock.exp: Likewise.
3933
3934 * gdb.threads/killed.exp: Return instead of calling
3935 gdb_suppress_entire_file.
3936 * gdb.threads/linux-dp.exp: Likewise.
3937 * gdb.threads/pthreads.exp: Likewise.
3938
1e698235
DJ
39392003-01-04 Daniel Jacobowitz <drow@mvista.com>
3940
3941 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3942 stabs.
3943 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3944 * gdb.base/whatis.exp: Always allow (void) after function names.
3945
147ff08c
DJ
39462003-01-04 Daniel Jacobowitz <drow@mvista.com>
3947
3948 * gdb.c++/casts.exp: Correct regexp.
3949
dc62bfc2
MK
39502003-01-04 Mark Kettenis <kettenis@gnu.org>
3951
3952 * configure.in: Call AC_CONFIG_HEADER. Don't call
3953 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3954 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
3955 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
3956 aforementioned directories in the AC_OUPUT call.
3957 * config.hin: New file.
3958 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3959 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3960 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3961 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3962 pass -I$objdir instead of -I$objdir/$subdir in compilation.
3963 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3964 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3965 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3966 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3967 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3968 gdb.threads/configure.in, gdb.threads/configure,
3969 gdb.threads/config.in, gdb.trace/configure.in,
3970 gdb.trace/configure: Removed.
3971
77afa639
MC
39722003-01-03 Michael Chastain <mec@shout.net>
3973
3974 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3975 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3976
7634bb6e
DJ
39772003-01-03 Daniel Jacobowitz <drow@mvista.com>
3978
3979 * gdb.base/store.exp: Fix regular expressions.
3980
b39c905e
MK
39812002-12-28 Mark Kettenis <kettenis@gnu.org>
3982
3983 * configure.in: Rewrite.
3984 * configure: Regenerated.
3985
0a8551dd
DC
39862003-01-03 David Carlton <carlton@math.stanford.edu>
3987
3988 * gdb.base/psymtab.exp: New file.
3989 * gdb.base/psymtab1.c: Ditto.
3990 * gdb.base/psymtab2.c: Ditto.
3991
c60b7188
AF
39922002-12-23 Adam Fedor <fedor@gnu.org>
3993
3994 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3995
ee73db83
DC
39962002-12-23 David Carlton <carlton@math.stanford.edu>
3997
3998 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3999 and current_directory initialization.
4000
d6c1774e
JB
40012002-12-22 Jim Blandy <jimb@redhat.com>
4002
f0a847b8
JB
4003 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
4004 rather than as part of the output file name.
4005
d6c1774e
JB
4006 * gdb.base/attach.exp: There's no need to copy the test program to
4007 /tmp; that was only ever necessary on HP/UX, and this test is
4008 entirely disabled there anyway.
4009
f0708dbb
JB
40102002-12-21 Jim Blandy <jimb@redhat.com>
4011
4c2acfea
JB
4012 * gdb.c++/psmang.exp: Doc fix.
4013
f0708dbb
JB
4014 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
4015 test.
4016
9579e000
DC
40172002-12-20 David Carlton <carlton@math.stanford.edu>
4018
4019 * gdb.c++/annota2.exp: KFAIL annotate-quit.
4020
d1810171
MC
40212002-12-18 Michael Chastain <mec@shout.net>
4022
4023 * gdb.c++/annota2.exp: Add copyright year 2002.
4024
76565097
DC
40252002-12-17 David Carlton <carlton@math.stanford.edu>
4026
4027 * gdb.c++/try_catch.cc: Add marker comments.
4028 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
4029 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
4030 * gdb.c++/m-static.cc: Ditto.
4031 * gdb.c++/m-static1.cc: Ditto.
4032 * gdb.c++/try_catch.cc: Ditto.
4033
da81390b
JJ
40342002-12-16 Jeff Johnston <jjohnstn@redhat.com>
4035
4036 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
4037 to see whether we are using the new -environment-directory
4038 command which resets via -r or the old version of the command
4039 which may prompt the user. Part of fix for gdb/741.
4040
b304d130
AC
40412002-12-13 Andrew Cagney <ac131313@redhat.com>
4042
4043 * gdb.fortran/types.exp: Update obsolete comment.
4044 * gdb.fortran/exprs.exp: Ditto.
4045 * lib/gdb.exp: Delete obsolete code.
4046 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
4047 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
4048 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
4049 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
4050 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
4051 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
4052 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
4053 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
4054 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
4055 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
4056 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
4057 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
4058 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
4059 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
4060 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
4061 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
4062 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
4063 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
4064 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
4065 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
4066 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
4067 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
4068 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
4069 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
4070 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
4071 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
4072 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
4073 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
4074 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
4075 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
4076 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
4077 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
4078 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
4079 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
4080 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
4081 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
4082 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
4083
a23b6e6a
DC
40842002-12-11 David Carlton <carlton@math.stanford.edu>
4085
4086 * gdb.c++/m-data.exp: Add test for members that shadow global
4087 variables: see PR gdb/804.
4088 * gdb.c++/m-data.cc: Ditto.
4089
6604731b
DJ
40902002-12-10 Daniel Jacobowitz <drow@mvista.com>
4091
4092 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
4093
de46ecd7
DC
40942002-12-06 David Carlton <carlton@math.stanford.edu>
4095
4096 * gdb.base/store.c: Don't declare functions static.
4097
27e829d0
AC
40982002-12-04 Andrew Cagney <ac131313@redhat.com>
4099
4100 * gdb.base/store.exp, gdb.base/store.c: New files.
4101
92806416
DJ
41022002-12-03 Daniel Jacobowitz <drow@mvista.com>
4103
4104 * gdb.base/selftest.exp: Update for current gdb.
4105
3bcbaac5
DJ
41062002-12-03 Daniel Jacobowitz <drow@mvista.com>
4107
4108 * gdb.base/maint.exp: Only dump symbols from one source file
4109 or objfile.
4110
f4f00b1f
DJ
41112002-12-03 Daniel Jacobowitz <drow@mvista.com>
4112
4113 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
4114 function call.
4115
f1c8a949
JB
41162002-11-25 Jim Blandy <jimb@redhat.com>
4117
4118 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
4119 function appearing in error message.
4120
9e297a97
DJ
41212002-11-21 Daniel Jacobowitz <drow@mvista.com>
4122
4123 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
4124
1f312e79
JJ
41252002-11-08 Jeff Johnston <jjohnstn@redhat.com>
4126
d63a86f8
RM
4127 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
4128 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
4129 should be in mi console format. This is part of fix for PR gdb/604.
4130
83c31e7d
FN
41312002-09-18 Fernando Nasser <fnasser@redhat.com>
4132
4133 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
4134 which explicitly prints the zero offset as "+0".
4135
322b3f65
DJ
41362002-10-22 Daniel Jacobowitz <drow@mvista.com>
4137
4138 * gdb.threads/schedlock.c (args): Make unsigned.
4139
41402002-10-21 Daniel Jacobowitz <drow@mvista.com>
4141
4142 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
4143 numbers. Allow "foo2|selected stack frame".
4144 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
4145 * gdb.asm/asmsrc2.s: Likewise.
4146 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
4147 comments.
4148 * gdb.asm/mips.inc: New file.
4149
5e2fe5b8
AF
41502002-10-18 Adam Fedor <fedor@gnu.org>
4151
4152 * gdb.base/default.exp: Update expected output to include 'ObjC'.
4153 * gdb.base/help.exp: Likewise.
4154
abe1a5d0
KB
41552002-10-17 Kevin Buettner <kevinb@redhat.com>
4156
4157 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
4158 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
4159
10abb1d4
JB
41602002-10-02 Jim Blandy <jimb@redhat.com>
4161
4162 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
4163
1f609b42
AC
41642002-10-01 Andrew Cagney <ac131313@redhat.com>
4165
4166 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
4167 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
4168 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
4169 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
4170 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
4171 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
4172 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
4173
0aee02e4
AC
41742002-09-29 Andrew Cagney <ac131313@redhat.com>
4175
4176 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
4177 * mi0-disassemble.exp, mi0-eval.exp: Delete.
4178 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
4179 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
4180 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
4181 * mi0-var-block.exp, mi0-var-child.exp: Delete.
4182 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 4183
6fde09ad
KB
41842002-09-27 Kevin Buettner <kevinb@redhat.com>
4185
4186 * gdb.base/annota1.exp (info break): Make directory components of
4187 path optional since not all compilers emit this debug information.
4188
4189 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
4190 step ends up stepping out of the function instead of stopping on
4191 the epilogue.
4192
9e8aab75
KS
41932002-09-26 Keith Seitz <keiths@redhat.com>
4194
4195 * lib/insight-support.exp (gdbtk_start): Figure out where
4196 the insight executable is based on where gdb is. Use this
4197 executable to start insight instead of gdb.
4198
e36180d7
AC
41992002-09-25 Andrew Cagney <cagney@redhat.com>
4200
4201 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
4202
9dd34b2b
AC
42032002-09-24 Andrew Cagney <ac131313@redhat.com>
4204
4205 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
4206 test_isolated_complaints.
4207 (test_empty_complaint): New function.
4208 (test_empty_complaints): New function. Check no output when no
4209 complaints.
d63a86f8 4210
dea97812
KB
42112002-09-19 Jim Blandy <jimb@redhat.com>
4212
4213 * gdb.base/charset.exp, gdb.base/charset.c: New files.
4214
54951bd7
AC
42152002-09-19 Andrew Cagney <ac131313@redhat.com>
4216
4217 * gdb.gdb/complaints.exp: New file.
4218
dec43320
AC
42192002-09-18 Andrew Cagney <ac131313@redhat.com>
4220
4221 * gdb.base/maint.exp: Check `help maint internal-warning'.
4222
e70d6e3f
DC
42232002-09-18 David Carlton <carlton@math.stanford.edu>
4224
4225 * gdb.c++/m-static.exp: Remove breakpoints depending on line
4226 numbers, and replace them by a single breakpoint after the
4227 constructors are all finished.
4228 Add test 4.
4229 * gdb.c++/m-static.cc: Add test 4.
4230 * gdb.c++/m-static.h: New file.
4231 * gdb.c++/m-static1.cc: New file.
4232
4233 * gdb.c++/printmethod.exp: New file.
4234 * gdb.c++/printmethod.cc: New file.
4235
4236 * gdb.c++/pr-574.exp: New file.
4237 * gdb.c++/pr-574.cc: New file.
4238
afb5c968
CV
42392002-09-18 Corinna Vinschen <vinschen@redhat.com>
4240
4241 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
4242 embedded targets which never actually exit.
4243
31e45dee
FN
42442002-09-18 Fernando Nasser <fnasser@redhat.com>
4245
4246 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
4247 "don't step after run" as unresolved or unsupported, instead of xfail.
4248
a283c5a1
CV
42492002-09-18 Corinna Vinschen <vinschen@redhat.com>
4250
4251 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
4252 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
4253 Add newline to expected string in "step out of main (status wrapper)"
4254 case.
4255
11350d2a
CV
42562002-09-18 Corinna Vinschen <vinschen@redhat.com>
4257
4258 * lib/gdb.exp (rerun_to_main): Allow restarting application.
4259 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
4260
0deec7d6
TT
42612002-09-17 Tom Tromey <tromey@redhat.com>
4262
4263 * gdb.base/printcmds.exp (test_print_string_constants): Expect
4264 \000, not \0, in double-quoted string.
4265
b2b4a1b5
CV
42662002-09-14 Corinna Vinschen <vinschen@redhat.com>
4267
c9d37158 4268 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
4269 string after running the commands execution on breakpoint tests.
4270
1c56143a
CV
42712002-09-13 Corinna Vinschen <vinschen@redhat.com>
4272
4273 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
4274
37f8da45
JB
42752002-09-12 Joel Brobecker <brobecker@gnat.com>
4276
4277 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
4278
08b468e0
KS
42792002-09-10 Keith Seitz <keiths@redhat.com>
4280
4281 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
4282 runto proc.
4283 (mi_run_to_main): Use mi_runto.
4284 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
4285
dc360f58
KS
42862002-09-10 Keith Seitz <keiths@redhat.com>
4287
4288 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
4289 regexp for stopping at main. Could have multiple event notifications.
4290 Don't assume that main was declared with no parameters.
4291 (mi_next): Use mi_step_to.
4292 (mi_step): Use mi_next_to.
4293
ce3abcfb
CV
42942002-09-09 Corinna Vinschen <vinschen@redhat.com>
4295
4296 * gdb.base/default.exp: Fix expected string in `info float' test.
4297
d1f5b980
BE
42982002-09-09 Ben Elliston <bje@redhat.com>
4299
4300 * config/mips.exp: Update comments.
4301 * config/mips-idt.exp: Likewise.
4302 * config/nind.exp: Likewise.
4303 * config/slite.exp: Likewise.
4304 * config/sparclet.exp: Likewise.
4305 * config/udi.exp: Likewise.
4306 * config/vx.exp: Likewise.
4307 * config/vxworks29k.exp: Likewise.
4308
2f71430b
JB
43092002-09-05 Jim Blandy <jimb@redhat.com>
4310
4311 * gdb.threads/killed.exp: Fix test failure message.
4312
7ddebc7e
KS
43132002-09-04 Keith Seitz <keiths@redhat.com>
4314
4315 * lib/mi-support.exp: Update copyright.
4316 (mi_gdb_test): Increase the priority of the expected pattern
4317 so that it matches gdb_test.
4318
0ae67eb3
KS
43192002-09-03 Keith Seitz <keiths@redhat.com>
4320
4321 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
4322 Use integer comparison instead of string comparison for testing
4323 whether binary was built.
4324
38fc42c8
JB
43252002-09-03 Jim Blandy <jimb@redhat.com>
4326
4327 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
4328
b6ff0e81
JB
43292002-08-29 Jim Blandy <jimb@redhat.com>
4330
4331 * gdb.threads/pthreads.exp: Move the portable thread compilation
4332 code into a function in lib/gdb.exp, and call that from here.
4333 * lib/gdb.exp (gdb_compile_pthreads): New function.
4334
07c98896
KS
43352002-08-29 Keith Seitz <keiths@redhat.com>
4336
4337 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
4338 expect_out so that callers can get at it.
4339
0312286c
DJ
43402002-08-23 Daniel Jacobowitz <drow@mvista.com>
4341
4342 * gdb.threads/print-threads.c: New file.
4343 * gdb.threads/print-threads.exp: New file.
4344 * gdb.threads/schedlock.c: New file.
4345 * gdb.threads/schedlock.exp: New file.
4346
dd039bc4
EZ
43472002-08-22 Elena Zannoni <ezannoni@redhat.com>
4348
4349 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4350 not altivec.c.
4351
1f36144c
MK
43522002-08-17 Mark Kettenis <kettenis@gnu.org>
4353
4354 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4355 targets. The problem should be fixed now.
4356
16057ec7 43572002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
4358
4359 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4360 2002-07-24 change that removes final dots from error messages.
4361
3c1499ad
TT
43622002-08-13 Tom Tromey <tromey@redhat.com>
4363
4364 * gdb.base/readline.exp: New file.
4365
a20ce2c3
AC
43662002-08-01 Andrew Cagney <ac131313@redhat.com>
4367
4368 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4369 supress message.
4370
db034ac5
AC
43712002-08-01 Andrew Cagney <cagney@redhat.com>
4372
4373 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4374 CHILL_FOR_TARGET and CHILL_LIB.
4375 * configure.in (configdirs): Remove gdb.chill.
4376 * configure: Regenerate.
4377 * lib/gdb.exp: Obsolete references to chill.
4378 * gdb.fortran/types.exp: Ditto.
4379 * gdb.fortran/exprs.exp: Ditto.
4380
3e000b18
KB
43812002-07-30 Kevin Buettner <kevinb@redhat.com>
4382
4383 * gdb.base/shlib-call.exp (additional_flags): Conditionally
4384 set Irix-specific compile and link flags.
4385
28f4966b
KB
43862002-07-29 Kevin Buettner <kevinb@redhat.com>
4387
4388 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4389 source files. The ``-o'' option doesn't work with the ``-E'' option
4390 when using the Irix compiler.
4391
46c0d5a6
DJ
43922002-07-19 Daniel Jacobowitz <drow@mvista.com>
4393
4394 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4395 Improve support for reusing an exec file. Copy exec file
4396 to target, and run gdbserver on the target instead of on the host.
4397
eecf4bed
JB
43982002-07-18 Jim Blandy <jimb@redhat.com>
4399
0f815cdf
JB
4400 * gdb.base/ending-run.exp: Don't expect to see the program end in
4401 some orderly fashion when we're running on a real stand-alone
4402 board.
4403
eecf4bed
JB
4404 * gdb.base/interrupt.exp: Correct logic for skipping tests on
4405 targets that don't support interrupts.
4406
52d309e4
JB
44072002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
4408
4409 * gdb.base/attach.exp: Add patterns to match output from /proc-based
4410 systems.
4411 Move comments in expect statements to inside the actions, so that they
4412 don't get matched against.
4413
ff683d9e
MK
44142002-07-10 Mark Kettenis <kettenis@gnu.org>
4415
4416 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4417 function when asleep" test.
4418
b5356753
AC
44192002-07-10 Andrew Cagney <ac131313@redhat.com>
4420
4421 * gdb.base/page.exp: Rewrite to handle problems with very long
4422 `info set' output. Update copyright.
4423
6aa4d13a
AC
44242002-06-26 Andrew Cagney <ac131313@redhat.com>
4425
4426 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4427 gdb.threads-hp.
4428 * gdb.hp/configure: Regenerate.
4429 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4430 * gdb.hp/gdb.threads-hp/configure: Delete file.
4431 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4432
8cf8c2b8
AC
44332002-06-22 Andrew Cagney <ac131313@redhat.com>
4434
4435 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4436 setlocale, bindtextdomain and textdomain.
4437
6827a8f8
JB
44382002-06-11 Jim Blandy <jimb@redhat.com>
4439
919d772c
JB
4440 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4441 preprocessor macro information is present.
4442
6827a8f8
JB
4443 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4444 tests.
4445
c15b0d21
MS
44462002-06-06 Michael Snyder <msnyder@redhat.com>
4447
c5984d70
MS
4448 * gdb.base/overlays.exp: Record addresses of overlay
4449 functions in TCL variables rather than in GDB variables,
4450 to avoid having GDB convert them to pointers (with loss
4451 of information).
4452
d63a86f8 4453 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 4454 default linker script changes.
c15b0d21
MS
4455 * gdb.base/long_long.exp: Add check for sizeof (long double).
4456
be26fe0d
ML
44572002-06-06 Michal Ludvig <mludvig@suse.cz>
4458
4459 * gdb.asm/asm-source.exp: Add x86-64 target.
4460 * gdb.asm/x86_64.inc: New.
d63a86f8 4461
258093ca 44622002-05-30 Michael Chastain <mec@shout.net>
258093ca 4463
4b3153f1 4464 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
4465 * gdb.c++/m-static.cc: New file.
4466 * gdb.c++/m-static.exp: New file.
4467
241264c6
MS
44682002-05-28 Michael Snyder <msnyder@redhat.com>
4469
4470 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4471 precision.
4472
9bba8c8f 44732002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 4474
4b3153f1 4475 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
4476 * gdb.c++/m-data.cc: New file.
4477 * gdb.c++/m-data.exp: New file.
4478
44792002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 4480
4b3153f1 4481 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 4482 * gdb.c++/try_catch.cc: New file.
d63a86f8 4483 * gdb.c++/try_catch.exp: New file.
9bba8c8f 4484
def1b996
MC
44852002-05-27 Michael Chastain <mec@shout.net>
4486
4487 * gdb.c++/local.exp: Accept more nested types in output.
4488
522ba268
MC
44892002-05-26 Michael Chastain <mec@shout.net>
4490
4491 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4492
277254ba
MS
44932002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4494
4495 * lib/gdb.exp (gdb_wrapper_init): Just because
4496 gdb_wrapper_file exists, this does not mean that the file
4497 should not be rebuilt. That is what gdb_wrapper_initialized
4498 is for.
4499 (default_gdb_init): Reset gdb_wrapper_initialized.
4500
b61a8733
MS
45012002-05-23 Michael Snyder <msnyder@redhat.com>
4502
d63a86f8 4503 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
4504 the precision of the floating point test results.
4505 * gdb.base/call-rt-st.exp: Ditto.
4506
b61a8733
MS
4507 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4508 * gdb.base/call-rt-st.exp: Ditto.
4509
56f6e910
MC
45102002-05-19 Michael Chastain <mec@shout.net>
4511
4512 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4513
ad0b0016
EZ
45142002-05-19 Elena Zannoni <ezannoni@redhat.com>
4515
4516 * configure.in (configdirs): Add gdb.arch.
4517 * configure: Regenerate.
4518
f617d2b6
JB
45192002-05-17 Jim Blandy <jimb@redhat.com>
4520
4521 * gdb.base/completion.exp: Recognize the more detailed error
4522 messages produced by the macro expander's lexical analyzer.
4523
eac2a696
EZ
45242002-05-14 Elena Zannoni <ezannoni@redhat.com>
4525
4526 * gdb.arch/altivec-abi.c: New file.
4527 * gdb.arch/altivec-abi.exp: New file.
4528 * gdb.arch/altivec-regs.c: New file.
4529 * gdb.arch/altivec-regs.exp: New file.
4530
2fdde8f8
DJ
45312002-05-14 Daniel Jacobowitz <drow@mvista.com>
4532
4533 * gdb.base/maint.exp (maint print type): Update for new type
4534 structure.
d63a86f8 4535
e31f1a7c
EZ
45362002-05-14 Elena Zannoni <ezannoni@redhat.com>
4537
4538 * gdb.arch: New directory.
4539 * gdb.arch/configure.in: New file.
4540 * gdb.arch/configure: New file.
4541 * gdb.arch/Makefile.in: New file.
4542
db589741
CV
45432002-05-13 Corinna Vinschen <vinschen@redhat.com>
4544
4545 * gdb.asm/asm-source.exp: Add v850 as supported target.
4546 * gdb.asm/v850.inc: New file.
4547
8ce2a7dc
DJ
45482002-05-13 Daniel Jacobowitz <drow@mvista.com>
4549
4550 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4551
df763c7f
DJ
45522002-05-12 Daniel Jacobowitz <drow@mvista.com>
4553
4554 * gdb.base/break.exp: Check 'break "marker2"'.
4555
377daeed
MS
45562002-05-10 Michael Snyder <msnyder@redhat.com>
4557
4558 * gdb.base/long_long.exp: Fix typo.
4559
c4b7bc2b
JB
45602002-05-10 Jim Blandy <jimb@redhat.com>
4561
ecac9a4e
JB
4562 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4563 a bug.
4564
c4b7bc2b
JB
4565 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4566 Recognize more detailed error message produced by the macro
4567 expander's lexical analyzer.
4568 * lib/gdb.exp (test_print_reject): Same.
4569
e71019a1
MK
45702002-05-09 Mark Kettenis <kettenis@gnu.org>
4571
4572 * gdb.c++/method.exp: Fix typo.
4573
fedfc8e6
MS
45742002-05-08 Michael Snyder <msnyder@redhat.com>
4575
166a1957
MS
4576 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4577 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 4578 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
4579 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4580 Add iftarget clause for strongarm.
d63a86f8 4581
f1c47eb2
MS
45822002-05-06 Michael Snyder <msnyder@redhat.com>
4583
cb9a9d3e
MS
4584 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4585 (gdb_continue_to_end): Accept output from status wrapper.
4586 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4587 Clean up fail messages to match pass messages.
4588
f1c47eb2
MS
4589 Enable the "needs_status_wrapper" testsuite feature.
4590 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4591 (gdb_compile): Conditionally call gdb_wrapper_init.
4592 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4593 * gdb.c++/method.exp: Recognize output from status wrapper.
4594
6079c749
BE
45952002-05-06 Ben Elliston <bje@redhat.com>
4596From Graydon Hoare <graydon@redhat.com>
4597
4598 * config/sid.exp: Include support for "rawsid" protocol.
4599
188baff3
JB
46002002-05-03 Jim Blandy <jimb@redhat.com>
4601
4602 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4603 * gdb.c++/hang3.C: New file.
4604
b9c07f0f
AC
46052002-05-04 Andrew Cagney <ac131313@redhat.com>
4606
4607 * gdb.base/default.exp: Remove obsolete code.
4608 * gdb.c++/misc.exp: Ditto. Update copyright.
4609 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4610 * gdb.base/whatis.exp: Ditto. Update copyright.
4611 * gdb.base/scope.exp: Ditto. Update copyright.
4612 * gdb.base/ptype.exp: Ditto. Update copyright.
4613 * gdb.base/printcmds.exp: Ditto. Update copyright.
4614 * gdb.base/opaque.exp: Ditto. Update copyright.
4615 * gdb.base/list.exp: Ditto.
4616 * gdb.base/funcargs.exp: Ditto. Update copyright.
4617 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4618 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4619 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4620 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4621 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4622 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4623
5c7a0397
MS
46242002-05-02 Michael Snyder <msnyder@redhat.com>
4625
d6dcc264 4626 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
4627 * gdb.base/long_long.exp: Add xscale target.
4628 * gdb.base/default.exp: Add xscale target.
4629
eb7f1c48
JB
46302002-05-01 Jim Blandy <jimb@redhat.com>
4631
4632 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4633 gdb.c++/hang.exp: New test.
4634
a6befae8
FF
46352002-05-01 Fred Fish <fnf@redhat.com>
4636
4637 * gdb.base/completion.exp: Handle completions of "./Make" for
4638 more than one completion possibility, as is the case when we
4639 build and test in the source tree.
4640
0a310277
AG
46412002-04-29 Anthony Green <green@redhat.com>
4642
4643 * gdb.java/jmisc1.exp: New file.
4644 * gdb.java/jmisc2.exp: New file.
4645
6ff9af88
DJ
46462002-04-24 Daniel Jacobowitz <drow@mvista.com>
4647
4648 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4649
96b3d632
EZ
46502002-04-23 Elena Zannoni <ezannoni@redhat.com>
4651
4652 * gdb.base/help.exp: Change 'help status' to allow for target
4653 dependent output differences.
4654
5019bb54
MC
46552002-04-22 Michael Chastain <mec@shout.net>
4656
4657 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4658
a805a116
MC
46592002-04-22 Michael Chastain <mec@shout.net>
4660
4661 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4662
a1706bfd
DM
46632002-04-17 David S. Miller <davem@redhat.com>
4664
4665 * gdb.asm/sparc64.inc: New file.
4666 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4667
a73a20a2
EZ
46682002-04-19 Elena Zannoni <ezannoni@redhat.com>
4669
4670 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4671 instruction file directly into the build tree. Clean up at end of
4672 test.
4673
ba678339
DM
46742002-04-18 David S. Miller <davem@redhat.com>
4675
4676 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4677 handle 64-bit platforms correctly.
4678 * gdb.base/maint.exp: Likewise.
4679
b03399da
KB
46802002-04-18 Kevin Buettner <kevinb@redhat.com>
4681
4682 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4683 ``-fpic'' when compiling files comprising a shared library, but
4684 it does need additional linker flags in order to find shared
4685 libraries at run time.
4686
e2004992
KB
46872002-04-18 Kevin Buettner <kevinb@redhat.com>
4688
4689 * gdb.base/cvexpr.c (use): New function.
4690 (main): Invoke use() on all global variables to prevent
4691 some linkers from deleting these otherwise unused symbols.
4692
d8937120
MC
46932002-04-17 Michael Chastain <mec@shout.net>
4694From David S. Miller <davem@redhat.com>
4695
4696 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4697 handle 64-bit platforms correctly.
4698
ffd61a58
MS
46992002-04-12 Michael Snyder <msnyder@redhat.com>
4700From Jim Blandy <jimb@redhat.com>
4701 * gdb.base/foo.c (foox): Remove section attribute; the linker
4702 script can handle this instead.
4703 * gdb.base/bar.c (barx): Same.
4704 * gdb.base/baz.c (bazx): Same.
4705 * gdb.base/grbx.c (grbxx): Same.
4706
4707 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4708 manager doesn't automatically unmap overlays unnecessarily.
4709
6b8426a6
MH
47102002-04-10 Martin M. Hunt <hunt@redhat.com>
4711
4712 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4713 stepping out of main.
4714
34af4875
MC
47152002-04-09 Michael Chastain <mec@shout.net>
4716
4717 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4718 scope so that the nested scope tests will make sense.
4719 * gdb.c++/local.exp: Write patterns that actually work with gcc
4720 (the HP patterns "were never known to work with gcc").
4721 Keep the old aCC patterns too.
4722
2d1676a0
DJ
47232002-04-09 Daniel Jacobowitz <drow@mvista.com>
4724
4725 * gdb.base/attach.exp: Correct target board test.
4726
3a63e3f9
MC
47272002-04-08 Michael Chastain <mec@shout.net>
4728
4729 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4730 in a const method. Add some xfail and fail cases for configurations
4731 that do not emit the "const ...".
4732
f18dabd2
MC
47332002-04-07 Michael Chastain <mec@shout.net>
4734
4735 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4736 Accept "A * const" and "const A * const" as type of "this".
4737 Fix spelling of getFunky throughout. Make messages uniform.
4738
0fcddd82
EZ
47392002-04-07 Elena Zannoni <ezannoni@redhat.com>
4740
4741 Work around for PR gdb/285:
4742 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4743
16a8534a
EZ
47442002-04-07 Elena Zannoni <ezannoni@redhat.com>
4745
4746 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4747 instructions file at run time instead of configure time.
4748 Sometimes we run the test in a directory that is not the one we
4749 configured in.
4750 * gdb.asm/configure.in: Delete creation of symlink.
4751 * gdb.asm/configure: Regenerate.
4752
24181d81
JB
47532002-04-05 J. Brobecker <brobecker@gnat.com>
4754
4755 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4756 xfullpath () function.
4757
7cdb7107
DJ
47582002-04-04 Daniel Jacobowitz <drow@mvista.com>
4759
4760 * gdb.asm/Makefile.in: Correct dependencies.
4761
4762 * gdb.asm/powerpc.inc: New file.
4763 * gdb.asm/asm-source.exp: Add PowerPC.
4764 * gdb.asm/configure.in: Likewise.
4765 * gdb.asm/configure: Regenerated.
4766
a7d17088
DJ
47672002-04-04 Daniel Jacobowitz <drow@mvista.com>
4768
4769 * gdb.base/relocate.exp: New file.
4770 * gdb.base/relocate.c: New file.
4771
cd721503
FF
47722002-04-04 Fred Fish <fnf@redhat.com>
4773
4774 * gdb.base/step-test.exp: Update comment regarding stopping in
4775 memcpy/bcopy calls inserted as part of the compiler runtime.
4776
b22ad7a7
MS
47772002-04-04 Michael Snyder <msnyder@redhat.com>
4778
4779 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4780
5f279fa6
DJ
47812002-04-03 Daniel Jacobowitz <drow@mvista.com>
4782
4783 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4784 (gdb_expect): Remove $notransfer hack.
4785
dd0fd3ce
DJ
47862002-04-02 Daniel Jacobowitz <drow@mvista.com>
4787
4788 * gdb.c++/classes.exp ("calling method for small class"): Match
4789 updated register output.
4790
1e50cda1
DJ
47912002-03-30 Daniel Jacobowitz <drow@mvista.com>
4792
4793 Fix PR gdb/452
4794 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4795 when finished. Make gdb_file_cmd send "exec-file" when
4796 appropriate.
4797
24015922
DJ
47982002-03-30 Daniel Jacobowitz <drow@mvista.com>
4799
4800 * gdb.base/attach.exp: Remove extra setup_xfail.
4801
dd7dfd64
MS
48022002-03-26 Michael Snyder <msnyder@redhat.com>
4803
4804 * gdb.base/default.exp: Add tests for dump, append, and restore.
4805 * gdb.base/help.exp: Add tests for dump, append, and restore.
4806 * gdb.base/dump.exp: New file, test dump, append and restore.
4807 * gdb.base/dump.c: New file.
4808
48b2f8d7
MS
48092002-03-27 Michael Snyder <msnyder@redhat.com>
4810
d63a86f8 4811 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
4812 clean-ups in help messages.
4813
05b4d525
FF
48142002-03-26 Fred Fish <fnf@redhat.com>
4815
4816 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4817 have debugging info for those functions and the compiler uses them
4818 internally to copy structs around.
4819
d7679631
FF
48202002-03-26 Fred Fish <fnf@redhat.com>
4821
4822 * gdb.base/list.exp: Revert the change made yesterday and add note
4823 about why we don't list the default lines for remote targets.
4824
523ac3f9
MS
48252002-03-25 Michael Snyder <msnyder@redhat.com>
4826
4827 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4828
754b2b8d
FF
48292002-03-25 Fred Fish <fnf@redhat.com>
4830
4831 * gdb.base/list.exp: This test works on remote targets so remove
4832 the short circuit for remote targets. Update copyright.
4833
33c3e192
FF
48342002-03-25 Fred Fish <fnf@redhat.com>
4835
4836 * gdb.base/attach.exp: Fix logic error that was suppressing this
4837 test for all non hppa*-*-hpux* targets, instead of the hp target.
4838 Move comments closer to the suppression point. Also now need to
4839 check that we are running natively.
4840
d43e73ee
MS
48412002-03-22 Michael Snyder <msnyder@redhat.com>
4842
882c8f02
MS
4843 * gdb.base/default.exp: Add test for gcore. Update copyright.
4844 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 4845
04c12f60
FF
48462002-03-06 Fred Fish <fnf@redhat.com>
4847
4848 * gdb.base/funcargs.c: Remove extraneous ';' character.
4849 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4850
b43df995
MC
48512002-03-04 Michael Chastain <mec@shout.net>
4852
4853 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4854 accommodate gcc v3 function signature.
4855 * gdb.mi/mi0-var-cmd-exp: Ditto.
4856
92362027
AC
48572002-02-24 Andrew Cagney <ac131313@redhat.com>
4858
4859 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4860 ``GNU/Linux'' or ``Linux kernel''
4861 * testsuite/gdb.threads/pthreads.c: Ditto.
4862
258ad32d
MC
48632002-02-24 Michael Chastain <mec@shout.net>
4864
4865 * gdb.threads/pthreads.c (thread1): Add a return statement.
4866 (thread2): Likewise.
4867 (foo): Likewise.
4868
04c3b3d4
MC
48692002-02-23 Michael Chastain <mec@shout.net>
4870
4871 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4872 to placate gcc.
4873
5a2a0a20
MC
48742002-02-23 Michael Chastain <mec@shout.net>
4875
4876 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4877 test "ptype bint". The test passes on all my stabs configurations.
4878
a640f7fc
JB
48792002-02-21 Jim Blandy <jimb@redhat.com>
4880
27924826
JB
4881 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4882 filename at a time, and watch for the ones we want to see.
4883
a640f7fc
JB
4884 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4885 types of pointers to prototyped functions.
4886
edcc8c75
AC
48872002-02-20 Andrew Cagney <ac131313@redhat.com>
4888
4889 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4890 signed, unsigned and straight char.
4891 (padding_char, padding_short, padding_int, padding_long,
4892 padding_long_long, padding_float, padding_double,
4893 padding_long_double): New global variables.
4894 (fill, fill_structs): New functions.
4895
4896 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4897 for correctly sized writes. Update copyright.
4898 (get_valueof): New procedure.
4899 (get_sizeof): Call get_valueof.
4900 (check_valueof): New procedure.
4901 (check_padding): New procedure.
4902
ac57ea44
MC
49032002-02-20 Michael Chastain <mec@shout.net>
4904
4905 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4906 to setup_xfail. Document some of the remaining calls.
4907
7a10c941
MC
49082002-02-18 Michael Chastain <mec@shout.net>
4909
4910 * gdb.c++/userdef.exp: Update copyright year.
4911
fb8acdcc
DJ
49122002-02-18 Daniel Jacobowitz <drow@mvista.com>
4913
4914 * gdb.c++/userdef.exp: Test overloaded operators properly.
4915 Remove xfails.
4916
fda6ae12
MS
49172002-02-14 Michael Snyder <msnyder@redhat.com>
4918
4919 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4920
676a0442
DJ
49212002-02-14 Daniel Jacobowitz <drow@mvista.com>
4922
4923 * gdb.base/a2-run.exp: Check for a remote target properly.
4924 * gdb.base/annota1.exp: Likewise.
4925 * gdb.base/list.exp: Likewise.
4926 * gdb.base/reread.exp: Likewise.
4927 * gdb.base/scope.exp: Likewise.
4928 * gdb.base/shlib-call.exp: Likewise.
4929 * gdb.base/term.exp: Likewise.
4930 * gdb.c++/annota2.exp: Likewise.
4931
78b4f468
RE
49322002-02-13 Richard Earnshaw <rearnsha@arm.com>
4933
4934 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4935
9a81ba51
MC
49362002-02-10 Michael Chastain <mec@shout.net>
4937
4938 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4939 (call_after_alloca): Ditto.
4940
004af6c7
DJ
49412002-02-10 Daniel Jacobowitz <drow@mvista.com>
4942
4943 * gdb.base/ending-run.exp: Guard "cont" test with
4944 gdb_skip_stdio_test.
4945
37225f62
JB
49462002-02-06 Jim Blandy <jimb@redhat.com>
4947
4948 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4949 from here...
4950 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4951 To here. Disable this test on non-HP platforms. Add big comment.
4952
fe6fdd96
MS
49532002-02-04 Michael Snyder <msnyder@redhat.com>
4954
4955 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
4956 other than d10v and m32r.
4957
036fad3f
RE
49582002-02-02 Richard Earnshaw <rearnsha@arm.com>
4959
4960 * gdb.base/default.exp: Rewrite test patterns to reduce time
4961 taken to match them.
4962
7148ab62
DJ
49632002-01-30 Daniel Jacobowitz <drow@mvista.com>
4964
4965 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4966 Allow a start function above main.
4967 * gdb.threads/linux-dp.exp: Fix copyright date.
4968
396cc255
DJ
49692002-01-30 Daniel Jacobowitz <drow@mvista.com>
4970
4971 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4972 (check_philosopher_stack): Check for manager thread before checking
4973 for a just-starting thread.
4974
f038d31b
DJ
49752002-01-30 Daniel Jacobowitz <drow@mvista.com>
4976
4977 From Neil Booth <neil@daikokuya.demon.co.uk>:
4978 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4979 warnings.
4980
b3ff9d9a
FF
49812002-01-21 Fred Fish <fnf@redhat.com>
4982
4983 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4984 not caller.
4985
39ad761d
JB
49862002-01-21 Jim Blandy <jimb@redhat.com>
4987
4988 * gdb.base/reread.exp: Check that GDB properly re-reads the
4989 executable file when it changes while no inferior is running.
4990
aaf320fa
FF
49912002-01-21 Fred Fish <fnf@redhat.com>
4992
4993 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4994 optionally accept the "shlib events" variation.
4995
808a31f5
JB
49962002-01-21 Jim Blandy <jimb@redhat.com>
4997
4998 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4999 call `fflush' after every `printf', so that the output is produced
5000 at predictable points, regardless of whatever buffering does (or
5001 doesn't) take place.
5002 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
5003 at different points.
5004
4420d5e2
DJ
50052002-01-20 Daniel Jacobowitz <drow@mvista.com>
5006
5007 * gdb.c++/inherit.exp: Update copyright years.
5008 * gdb.c++/method.exp: Likewise.
5009
3e36a0f4
DJ
50102002-01-20 Daniel Jacobowitz <drow@mvista.com>
5011
5012 * gdb.c++/classes.exp: Update for improved v3 support and skipping
5013 artificial methods/arguments.
5014 * gdb.c++/derivation.exp: Likewise.
5015 * gdb.c++/inherit.exp: Likewise.
5016 * gdb.c++/method.exp: Likewise.
5017 * gdb.c++/virtfunc.exp: Likewise.
5018
b4ceaee6
AC
50192002-01-18 Andrew Cagney <ac131313@redhat.com>
5020
5021 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
5022 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
5023 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
5024 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
5025 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
5026 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
5027
ecace851
JB
50282002-01-17 Jim Blandy <jimb@redhat.com>
5029
5030 * gdb.asm/asm-source.exp (info symbol): Take another shot at
5031 anchoring the pattern matching the entry point symbol's name.
5032
375fc983
AC
50332002-01-17 Andrew Cagney <ac131313@redhat.com>
5034
5035 * gdb.base/maint.exp: Update ``maint internal-error'' to match
5036 continue/quit query. Update copyright.
5037
fe6fdd96
MS
50382002-01-14 Michael Snyder <msnyder@redhat.com>
5039
5040 * gdb.base/gcore.exp: Remove extra debugging output.
5041
e017c81f
DJ
50422002-01-13 Daniel Jacobowitz <drow@mvista.com>
5043
5044 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
5045 for slightly dubious v2 mangled string.
5046
37ab3bf8
DJ
50472002-01-13 Daniel Jacobowitz <drow@mvista.com>
5048
5049 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
5050
1bc05c3a 50512002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 5052
1bc05c3a 5053 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 5054
1bc05c3a
JM
5055 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
5056 constructors.
5057 * gdb.c++/derivation.exp: Likewise.
5058 * gdb.c++/templates.exp: Likewise.
5059 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 5060
1bc05c3a
JM
50612002-01-10 Michael Snyder <msnyder@redhat.com>
5062
5063 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 5064
a911c360
MS
50652002-01-08 Michael Snyder <msnyder@redhat.com>
5066
5067 * gdb.base/gcore.exp: New test for generate-core-file command.
5068 * gdb.base/gcore.c: Testcase for above.
5069 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
5070
ea2119ec
JM
50712002-01-08 Jason Merrill <jason@redhat.com>
5072
5073 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
5074
68203136
FF
50752002-01-07 Fred Fish <fnf@redhat.com>
5076
5077 * gdb.c++/overload.exp: Remove unconditional xfails for:
5078 print foo_instance1.overloadargs(1)
5079 print foo_instance1.overloadargs(1, 2)
5080 print foo_instance1.overloadargs(1, 2, 3)
5081 print foo_instance1.overloadargs(1, 2, 3, 4)
5082 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
5083 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
5084 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
5085 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
5086 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
5087 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
5088 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
5089 print foo_instance1.overload1arg()
5090 print foo_instance1.overload1arg((char)arg2)
5091 print foo_instance1.overload1arg((signed char)arg3)
5092 print foo_instance1.overload1arg((unsigned char)arg4)
5093 print foo_instance1.overload1arg((int)arg7)
5094 print foo_instance1.overload1arg((unsigned int)arg8)
5095 print foo_instance1.overload1arg((float)arg11)
5096 print foo_instance1.overload1arg((double)arg12)
d63a86f8 5097
21b9b5b1
MS
50982002-01-07 Michael Snyder <msnyder@redhat.com>
5099
5100 * gdb.base/huge.exp: New test. Print a very large target data object.
5101 (skip_huge_test): New test variable. Define if you want to skip this
5102 test. The test reads an 8 megabyte data object from the target, so it
5103 might be very time consuming on remote targets with a slow connection.
5104 * gdb.base/huge.c: New file. Test case for above.
5105
725f922e
FF
51062002-01-07 Fred Fish <fnf@redhat.com>
5107
5108 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
5109 g_instance.bfoo, and g_instance.cfoo.
5110
634d57ec
JL
5111Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
5112
f286b2c3
JL
5113 * gdb.base/break.c (multi_line_if_conditional): New function.
5114 (multi_ilne_while_conditional): Likewise.
5115 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
5116 IF or WHILE condition puts the breakpoint at the start of
5117 the condition.
5118
634d57ec
JL
5119 * gdb.base/selftest.exp (backtrace through signal handler): Remove
5120 hppa*-*-hpux* expected failure.
5121 * gdb.base/structs.exp (do_function_calls): Similarly.
5122
5123 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
5124 watchpoints.
5125
9fbfe2dc
AC
51262002-01-06 Andrew Cagney <ac131313@redhat.com>
5127
5128 Fix PR gdb/66.
5129 * gdb.base/structs.exp: Replace skip for a29k with skip for
5130 gdb,cannot_call_functions.
5131 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
5132 * gdb.base/callfuncs.exp: Ditto.
5133 * gdb.base/call-rt-st.exp: Ditto.
5134 * gdb.base/call-strs.exp: Ditto.
5135 * gdb.base/callfwmall.exp: Ditto.
5136 * gdb.base/scope.exp: Obsolete xfail a29k.
5137 * gdb.c++/misc.exp: Ditto.
5138 * gdb.c++/cplusfuncs.exp: Ditto.
5139 * gdb.base/ptype.exp: Ditto.
5140 * gdb.base/printcmds.exp: Ditto.
5141 * gdb.base/opaque.exp: Ditto.
5142 * gdb.base/list.exp: Ditto.
5143 * gdb.base/funcargs.exp: Ditto.
5144 * gdb.base/default.exp: Ditto.
5145
8ddad156
MS
51462002-01-04 Michael Snyder <msnyder@redhat.com>
5147
ca4976a6 5148 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
5149 * gdb.base/maint.exp: Add tests for maint info sections options.
5150
1b074332
JL
5151Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
5152
5153 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
5154
7d159115
CV
51552001-12-20 Corinna Vinschen <vinschen@redhat.com>
5156
5157 * gdb.asm/arm.inc: New file.
5158 * gdb.asm/asm-source.exp: Add arm targets.
5159 * gdb.asm/configure.in: Ditto.
5160 * gdb.asm/configure: Recreated from configure.in.
5161
8fb87725
JL
5162Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
5163
afabe08c
JL
5164 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
5165 with HP's compiler.
5166 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
5167 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
5168 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
5169 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
5170
5171 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
5172 either HP's compilers or GCC.
5173
db521deb
JL
5174 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
5175 a SIGBUS or SIGSEGV.
5176
5177 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
5178
5179 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
5180 can be compiled with either HP's compiler or GCC.
5181
cfa88ab7
JL
5182 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
5183 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
5184 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
5185
ca344dff
JL
5186 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
5187 to match current gdb output. Update due to using auto-solib-limit
5188 for limiting instead of overloading auto-solib-add.
5189 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
5190 test program.
5191
3f3c6e55 5192 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
5193 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
5194 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5195 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5196 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5197 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5198 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
5199 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
5200 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
5201 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
5202 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
5203 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
5204 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 5205
8fb87725
JL
5206 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
5207 a SIGTRAP to the inferior.
5208
cf599fa7
CV
52092001-12-19 Corinna Vinschen <vinschen@redhat.com>
5210
5211 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
5212 Substitute call to target_link by call to gdb_compile.
5213
2cd045cd
JL
5214Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
5215
5216 * gdb.base/break.exp: Fix HP specific search string when testing
5217 backtracing in a called function.
5218
d63a86f8 5219 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
5220 compiling the test with HP's compilers.
5221 * gdb.base/volatile.exp: Similarly.
5222
99ebe9ac
JB
52232001-12-19 Jim Blandy <jimb@redhat.com>
5224
5225 * gdb.base/printcmds.exp: Expect the null character to be printed
5226 as '\0', and the '\013' to be printed as '\v'.
5227 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
5228 * gdb.base/setvar.exp: Same.
5229
b9891b29
JB
52302001-12-17 Jim Blandy <jimb@redhat.com>
5231
0eba65ab
JB
5232 * gdb.base/completion.exp: Rather than completing very long
5233 filenames, which can make the readline library produce output we
5234 don't recognize, cd to the directory first, and then complete
5235 using nice, short relative paths.
5236
6970b5b1
JB
5237 * gdb.base/completion.exp: On some systems, there is, in fact, a
5238 variable named `b' in scope, since GDB treats all static
5239 variables as being in scope. So use `no_var_named_this'
5240 instead of `b'.
5241
b9891b29
JB
5242 * gdb.base/corefile.exp: Recognize the message saying that GDB
5243 can't find the core file's registers as a failure.
5244
e6ccd35f
JSC
52452001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
5246
5247 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
5248 test expect string more specific.
5249
105ba819
CV
52502001-12-13 Corinna Vinschen <vinschen@redhat.com>
5251
5252 * gdb.asm/asm-source.exp: Add support for xstormy16.
5253 * gdb.asm/configure.in: Ditto.
5254 * gdb.asm/configure: Rebuild.
5255 * gdb.asm/xstormy16.inc: New file.
5256
e9e79dd9
FF
52572001-12-10 Fred Fish <fnf@redhat.com>
5258
5259 * gdb.base/maint.exp: Update to match changes in type dumping code.
5260
347dc97d
JB
52612001-12-10 Jim Blandy <jimb@redhat.com>
5262
5263 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
5264 matching the entry point symbol's name at the beginning of the
5265 line.
5266
5178b9d6
DJ
52672001-12-07 Daniel Jacobowitz <drow@mvista.com>
5268
5269 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
5270 gdb.c++/inherit.exp, gdb.c++/method.exp,
5271 gdb.c++/namespace.exp, gdb.c++/templates.exp,
5272 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
5273 and class layout support.
5274
af890c52
DJ
52752001-12-07 Daniel Jacobowitz <drow@mvista.com>
5276
5277 * gdb.c++/classes.exp: Add test for static member function.
5278 * gdb.c++/misc.cc: Add class with static member function.
5279
7a345fb3
JB
52802001-12-07 Jim Blandy <jimb@redhat.com>
5281
f2e54a80 5282 If GDB says it can't find the struct the function returned, report
8032bf31
JB
5283 those tests as `unsupported'.
5284 * gdb.base/call-rt-st.exp (print_struct_call): New function.
5285 Rewrite subsequent tests to use it.
5286
5287 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
5288 those tests as `unsupported'.
5289 * gdb.base/structs.exp (call_struct_func): New function.
5290 (do_function_calls): Use call_struct_func to call the functions
5291 returning structs.
5292
0bc69509
JB
5293 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
5294 whether functions are prototyped or not, so we can't possibly pass
5295 arguments to t_float_values2 properly.
5296
7a345fb3
JB
5297 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
5298 value of `timeout' for targets other than the mips*tx39-*.
5299
edb6ede1
MS
53002001-12-06 Michael Snyder <msnyder@redhat.com>
5301
d63a86f8 5302 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
5303 and detect whether the start symbol has a leading underscore.
5304
2d842f13
JB
53052001-12-04 Jim Blandy <jimb@redhat.com>
5306
5307 * gdb.base/completion.exp: Clarify indentation.
5308
68550daf
JB
53092001-12-03 Jim Blandy <jimb@redhat.com>
5310
5311 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
5312 variables on the S/390, not `.word'.
5313
cd5195a8
JB
53142001-11-30 Jim Blandy <jimb@redhat.com>
5315
5316 Add assembly-source tests for s390-ibm-linux.
5317 * gdb.asm/s390.inc: New file.
5318 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
5319 the S/390 architecture.
5320 * gdb.asm/configure: Regenerated.
5321
ca9efc90
MS
53222001-11-30 Michael Snyder <msnyder@redhat.com>
5323
5324 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
5325 next, info source, info sources, info line, global and static
5326 variables, and static functions.
5327 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
5328 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
5329 * gdb.asm/asmsrc1.s: Add a static function and some variables.
5330 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
5331 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
5332 (gdbasm_leave): Restore frame pointer.
5333 (gdbasm_startup): Copy stack set-up from crt0.S.
5334
d0e66976
FN
53352001-11-26 Fernando Nasser <fnasser@redhat.com>
5336
5337 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
5338 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
5339 to a local (non-static) variable. Copy tstruct.a to a static buffer
5340 and return a pointer to that buffer.
5341 * gdb.base/callfwmall.c (t_structs_a): Ditto.
5342
e2334072
MK
53432001-11-24 Mark Kettenis <kettenis@gnu.org>
5344
5345 * gdb.asm/configure.in: Fix recognition of ix86 target.
5346 * gdb.asm/configure: Regenerate.
5347
756caa3d
MS
53482001-11-21 Michael Snyder <msnyder@redhat.com>
5349
5350 * gdb.asm/sparc.inc: New file.
5351 * gdb.asm/asm-source.exp: Recognize sparc target.
5352 * gdb.asm/configure.in: Recognize sparc target.
5353 * gdb.asm/configure: Regenerate.
d63a86f8 5354
9a4d72d5
MS
53552001-11-21 Michael Snyder <msnyder@redhat.com>
5356
5357 * gdb.asm/m32r.inc: New file.
5358 * gdb.asm/asm-source.exp: Recognize m32r target.
5359 * gdb.asm/configure.in: Recognize m32r target.
5360 * gdb.asm/configure: Regenerate.
5361
a773d1cd
MS
53622001-11-20 Michael Snyder <msnyder@redhat.com>
5363
017ac23d
MS
5364 * gdb.asm/i386.inc: New file.
5365 * gdb.asm/asm-source.exp: Recognize ix86 target.
5366 * gdb.asm/configure.in: Recognize ix86 target.
5367 * gdb.asm/configure: Regenerate.
5368
a773d1cd
MS
5369 * gdb.c++/namespace.exp: Fix quotes in output messages.
5370
bb632afb
MS
53712001-11-14 Michael Snyder <msnyder@redhat.com>
5372
25d559ca 5373 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
5374 qualifier in a type cast expression, to designate an address
5375 in the instruction space (Harvard architecture).
5376
4749e309
MS
53772001-11-13 Michael Snyder <msnyder@redhat.com>
5378
5379 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5380 Tests for expressions using 'const' and 'volatile'.
5381
25050984
CV
53822001-11-13 Corinna Vinschen <vinschen@redhat.com>
5383
5384 * gdb.asm/asm-sources.exp: Allow defining linker flags.
5385
1902c51f
DJ
53862001-11-12 Daniel Jacobowitz <drow@mvista.com>
5387
5388 * lib/mi-support.exp (mi_run_to_helper): Move comments
5389 outside of gdb_expect.
5390
dcf95b47
DJ
53912001-11-11 Daniel Jacobowitz <drow@mvista.com>
5392
5393 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5394 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5395 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5396 mi0_run_to): New functions.
5397 * gdb.mi/mi-simplerun.exp: Use them.
5398 * gdb.mi/mi0-simplerun.exp: Likewise.
5399 * gdb.mi/mi-var-cmd.exp: Likewise.
5400 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 5401
45b074e1
AC
54022001-11-10 Andrew Cagney <ac131313@redhat.com>
5403
5404 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5405 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5406
bf50d346
AC
54072001-11-09 Andrew Cagney <ac131313@redhat.com>
5408
5409 * gdb.base/restore.exp: Include $expected value in restored test
5410 message.
5411
9383332c
AC
54122001-11-09 Andrew Cagney <ac131313@redhat.com>
5413
5414 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5415 implemented.
5416
db62520a
MS
54172001-11-08 Michael Snyder <msnyder@redhat.com>
5418
5419 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5420 Add pass/fail message for stop at breakpoint in call dummy function.
5421
b5703437
MS
54222001-11-07 Michael Snyder <msnyder@redhat.com>
5423
d63a86f8
RM
5424 * gdb.c++/templates.exp (test_template_breakpoints):
5425 If we get an overload menu, but it does not match what
760f6330 5426 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
5427 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5428 making the whitespace optional. Argument for "new" may be
5429 "unsigned" as well as "unsigned int/long".
d63a86f8 5430 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
5431 making the whitespace optional. Also replace "(void) with
5432 "((void|)), making the keyword "void" optional.
d63a86f8 5433 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
5434 making the whitespace optional. Also replace "(void) with
5435 "((void|)), making the keyword "void" optional.
3bf40917
MS
5436 * gdb.base/callfuncs.c (t_float_values): This function must
5437 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 5438 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
5439 can be tested against both cases. Usually one case involves
5440 promotion of float to double, while the other does not.
5441 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
5442 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5443 includes a stack frame for "start".
5444
c8ab4e6d
JB
54452001-11-05 Jim Blandy <jimb@redhat.com>
5446
5447 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
5448 pointers are 32 bits long, and that offsets of relocs are always
5449 stored in the data (REL-style), and not in the reloc entry itself
5450 (RELA-style).
5451 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5452 stabs.
5453
3f08ced9
MS
54542001-11-01 Michael Snyder <msnyder@redhat.com>
5455
5456 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5457 and regular expression operators by using quoting.
5458
cbfa24cd
MS
54592001-10-31 Michael Snyder <msnyder@redhat.com>
5460
5461 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5462 depending on what the symbol table contains.
5463 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5464 the output of the ptype command. Similarly, accept both "const &"
5465 and "const&".
5466
aaa68313
CV
54672001-10-31 Corinna Vinschen <vinschen@redhat.com>
5468
5469 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5470 symbol `STORAGE' to allow to choose the storage class of
5471 the local datastructures.
5472 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5473 compiler directive.
5474
91740388
MS
54752001-10-30 Michael Snyder <msnyder@redhat.com>
5476
5477 * gdb.base/jump.exp: Allow it to run for all targets.
5478
1b7c05e7
CV
54792001-10-29 Corinna Vinschen <vinschen@redhat.com>
5480
5481 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5482 with new double_array size.
5483 (main): Change storage class of all local variables to static.
5484 Reduce size of double_array to 9.
5485 * gdb.base/call-ar-st.exp: Increase timeout value.
5486 Change expected output for double array to match new size in
5487 call-ar-st.c.
5488
36a22261
CV
54892001-10-29 Corinna Vinschen <vinschen@redhat.com>
5490
5491 * gdb.base/ending-run.exp: Create identical output when passing
5492 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 5493 Stormy16 target.
36a22261 5494
92b8ae91
MK
54952001-10-28 Mark Kettenis <kettenis@gnu.org>
5496
5497 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5498 that we catch the expected failure under Linux/x86.
5499
cb135b83
OF
55002001-10-29 Orjan Friberg <orjanf@axis.com>
5501
5502 * gdb.base/setvar.exp: Escape curly braces.
5503 * gdb.stabs/weird.exp: Ditto.
5504
6884aa54
DJ
55052001-10-27 Daniel Jacobowitz <drow@mvista.com>
5506
5507 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5508 * gdm.mi/mi0-hack-cli.exp: Likewise.
5509
0398c9aa
AC
55102001-10-25 Andrew Cagney <ac131313@redhat.com>
5511
5512 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5513 messages.
5514
d20bf2e8
AC
55152001-10-21 Andrew Cagney <ac131313@redhat.com>
5516
5517 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5518 checking MI enabled.
5519
03dd63aa
CV
55202001-10-09 Corinna Vinschen <vinschen@redhat.com>
5521
5522 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5523
1d9d99f3
FCE
55242001-10-04 Frank Ch. Eigler <fche@redhat.com>
5525
5526 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5527 if gdb child process crashes, just signal an error.
5528
838ae6c4
JB
55292001-10-02 Jim Blandy <jimb@redhat.com>
5530
5531 * lib/gdb.exp (test_xfail_format): Simplify.
5532
5533 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5534 front of the variable name `format'. Simplify `if'.
5535
8f0cbc1c
DJ
55362001-10-01 Daniel Jacobowitz <drow@mvista.com>
5537
5538 * gdb.threads/pthreads.exp: Wait for output and delay
5539 before sending ^C.
5540
1f08dafd
DJ
55412001-10-01 Daniel Jacobowitz <drow@mvista.com>
5542
5543 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5544 some incorrect output instead of timing out.
5545 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5546
674f90ff
CV
55472001-09-28 Corinna Vinschen <vinschen@redhat.com>
5548
5549 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5550 check to allow additional `int'.
5551
9b284272
DJ
55522001-09-27 Daniel Jacobowitz <drow@mvista.com>
5553
5554 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5555 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5556
b55a4771
MS
55572001-09-27 Michael Snyder <msnyder@redhat.com>
5558
5559 * lib/gdb.exp (test_debug_format): New proc.
5560 (setup_xfail_format): Use new proc test_debug_format.
5561 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5562 proc; use new service proc test_debug_format.
5563 Replace all other "gcc_compiled" tests with this test.
5564 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5565 proc; use new service proc test_debug_format.
5566 Replace all other "gcc_compiled" tests with this test.
5567
55682001-09-27 Michael Snyder <msnyder@redhat.com>
5569
5570 * gdb.base/cvexpr.exp: New file.
5571 * gdb.base/cvexpr.c: New file
5572 Test for expressions using const and volatile keywords.
5573
4e6667ac
CV
55742001-09-26 Corinna Vinschen <vinschen@redhat.com>
5575
5576 * gdb.base/constvars.exp: Check for different orders of keywords
5577 and additional "int" strings in output.
5578
4f337972
AC
55792001-09-22 Andrew Cagney <ac131313@redhat.com>
5580
5581 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5582 responses from "help maint".
5583
2015650d
FCE
55842001-09-19 Frank Ch. Eigler <fche@redhat.com>
5585
5586 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5587 to localhost:NNN instead of :NNN, in case Xvfb is listening
5588 only on TCP.
5589
f3bcedc1
CV
55902001-09-19 Corinna Vinschen <vinschen@redhat.com>
5591
5592 * gdb.base/recurse.exp: When checking leaving the watchpoint
5593 scope, recognize when gdb is in function's epilogue and pass.
5594
6b819c92
KS
55952001-09-18 Keith Seitz <keiths@redhat.com>
5596
5597 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5598 support for running tests against sid targets.
5599 (gdbtk_done): Ditto.
5600
a10c9419
CV
56012001-09-18 Corinna Vinschen <vinschen@redhat.com>
5602
5603 * gdb.base/ending-run.c (main): Set stdout buffersize
5604 to the same reasonable value for any target.
5605 * gdb.base/ending-run.exp: Add a regular expression
5606 to make testsuite happy on Sanyo Stormy16 target.
5607
739d0d99
CV
56082001-09-17 Corinna Vinschen <vinschen@redhat.com>
5609
5610 * gdb.base/display.c (do_loops): Add float variable `f'.
5611 Increment f in loop.
5612 * gdb.base/display.exp: Increment timeout by 60 seconds.
5613 Change float display test to use variable `f'.
5614
1b8947f0
JB
56152001-09-17 Jim Blandy <jimb@redhat.com>
5616
5617 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5618 overflowing the limited breakpoint tables on some ROM monitors
5619 (like the ROM68K).
5620
9890ac81
FCE
56212001-09-15 Frank Ch. Eigler <fche@redhat.com>
5622
5623 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5624 the "-ac" (disable access control) flag.
5625
6db765ea
JH
56262001-08-30 Jeff Holcomb <jeffh@redhat.com>
5627
5628 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5629 ints.
5630
4c32cc04
KS
56312001-08-30 Keith Seitz <keiths@redhat.com>
5632
5633 * lib/gdb.exp: Move all insight-related functionality into
5634 separate file.
5635 * lib/insight-support.exp: New file.
5636
8d6e6f81
FCE
56372001-08-29 Frank Ch. Eigler <fche@redhat.com>
5638
5639 * config/sid.exp (sid_start): Never set sid verbosity; disable
5640 expect_background {} that consumed its stdout; tolerate </dev/null.
5641 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5642
6a90e1d0
AC
56432001-08-18 Andrew Cagney <ac131313@redhat.com>
5644
5645 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5646 CLI jump command to start it.
5647 (mi_run_to_main): Fail immediatly when unexpected output.
5648
1759b3c3
AC
56492001-08-18 Andrew Cagney <ac131313@redhat.com>
5650
5651 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5652 beginning of function. Fix PR gdb/191.
5653
61d11d80
FCE
56542001-08-16 Frank Ch. Eigler <fche@redhat.com>
5655
5656 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5657 what to force sid endianness to.
5658
942a4df2
KS
56592001-08-15 Keith Seitz <keiths@redhat.com>
5660
5661 * lib/gdb.exp (gdbtk_start): Don't set environment
5662 variables for TCL_LIBRARY and friends. Insight will
5663 now figure these out for itself.
5664
0521c418
MS
56652001-08-02 Michael Snyder <msnyder@redhat.com>
5666
5667 * gdb.base/completion.exp: Remove the symbol "a64l" from
5668 the expect string; this is target-specific, and not related
5669 to what is being tested.
5670
74a9a58a
DB
56712001-08-02 Dave Brolley <brolley@redhat.com>
5672
5673 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5674
c70819fa
MS
56752001-07-25 Michael Snyder <msnyder@redhat.com>
5676
c2b8fa57
MS
5677 * gdb.base/consecutive.exp: New file. Test stepping over
5678 breakpoints on consecutive instructions.
5679 * gdb.base/consecutive.c: New file.
5680
c70819fa
MS
5681 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5682 curly braces in regular expressions.
5683
2b1a1355
MS
56842001-07-25 Michael Snyder <msnyder@redhat.com>
5685
5686 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5687 legitimate output from stepping out of main.
5688
413eca6f
KS
56892001-07-22 Keith Seitz <keiths@redhat.com>
5690
5691 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5692 the empty string, do not run the tests.
5693
7e5a9322
SC
56942001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5695
5696 * gdb.base/long_long.exp: Detect size of pointer. Take into
5697 account 2-byte pointers when testing for p/a results.
5698
de58f10f
SC
56992001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5700
d63a86f8 5701 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
5702 and defined to 1K for m68hc11.
5703 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5704 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5705 (sizeof_random_data): New variable to tell the size of the data table;
5706 don't test past this size; always run to main.
5707
d6f5fea1
SC
57082001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5709
5710 * gdb.base/return2.exp: return of long long and double fails for
5711 68HC11; don't execute these tests on that platform.
5712 * gdb.base/return.exp: Return of a double fails for 68hc11.
5713
c477543d
SC
57142001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5715
5716 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5717 tests that print a float.
5718 * call-rt-st.exp: Likewise.
5719
63cf1c79
MK
57202001-07-12 Mark Kettenis <kettenis@gnu.org>
5721
5722 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5723 running this test on Linux.
5724
112f9ab5
MC
57252001-06-24 Michael Chastain <chastain@redhat.com>
5726
5727 * gdb.base/arithmet.exp: Remove some tests to make all test names
5728 unique.
5729
4970cb0f
MS
57302001-07-03 Michael Snyder <msnyder@redhat.com>
5731
5732 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5733 the output of the ptype command.
5734
d85da69f
MS
57352001-07-02 Michael Snyder <msnyder@redhat.com>
5736
4c8a82de
MS
5737 * gdb.base/completion.exp: Don't assume that break.c is the only
5738 source file that may contain functions named "marker".
d85da69f
MS
5739 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5740
8afc772b
AC
57412001-06-28 Andrew Cagney <ac131313@redhat.com>
5742
5743 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5744 of files to delete.
5745
5746 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5747 * gdb.disasm/h8300s.exp: New file.
5748 gdb.disasm/h8300s.s: Likewise.
5749
cff22675
AC
57502001-06-27 Andrew Cagney <ac131313@redhat.com>
5751
5752 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5753 empty breakpoint tables.
5754
68c81b54
AC
57552001-06-25 Andrew Cagney <ac131313@redhat.com>
5756
5757 * lib/mi-support.exp: Update args=... part of stop-reason
5758 patterns. Accept either a list or a tuple.
5759
2dd62704
AC
57602001-06-23 Andrew Cagney <ac131313@redhat.com>
5761
5762 * lib/mi-support.exp: Remove local emacs variable defining
5763 change-log-default-name.
5764
b4127474
MC
57652001-06-22 Michael Chastain <chastain@redhat.com>
5766
5767 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5768 This is operationally compatible with the previous version.
5769
8dbfb380
JB
57702001-06-13 Jim Blandy <jimb@redhat.com>
5771
5772 * lib/gdb.exp (gdb_test): Doc fix.
5773
f2d8c86d
MC
57742001-06-10 Michael Chastain <chastain@redhat.com>
5775
5776 * gdb.base/exprs.exp: Remove a duplicate test.
5777
81564d34
JB
57782001-06-06 Jim Blandy <jimb@redhat.com>
5779
5780 * gdb.base/return2.exp (main): Use values to test float and double
5781 returns that are not NaN's, to avoid being confused by IEEE
5782 comparison rules.
5783
da55addb
MS
57842001-06-04 Michael Snyder <msnyder@redhat.com>
5785
5786 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 5787 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
5788 rather than wait for 12 more tests to time out.
5789
42c65987
JB
57902001-06-06 Jim Blandy <jimb@redhat.com>
5791
b18bced9 5792 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 5793 Don't forget to match the GDB prompt.
b18bced9 5794
42c65987
JB
5795 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5796
5b41e5f0
JB
57972001-06-04 Jim Blandy <jimb@redhat.com>
5798
5799 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5800 command.
5801
015e046f
KB
58022001-05-31 Kevin Buettner <kevinb@redhat.com>
5803
5804 * gdb.base/annota1.exp (info break): Match four or more spaces
5805 after "Address".
5806
fb1ffbbe
MC
58072001-05-31 Michael Chastain <chastain@redhat.com>
5808
5809 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5810 (dm_type_int_star): Likewise.
5811 (dm_type_long_star): Likewise.
5812 (dm_type_void_star): Likewise.
5813
5ea2a32c
KB
58142001-05-29 Kevin Buettner <kevinb@redhat.com>
5815
5816 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5817 to a known value in order to get consistent results regardless
5818 of the setting of INPUTRC or the presence or contents of .inputrc.
5819
ae23c492
MS
58202001-05-24 Michael Snyder <msnyder@redhat.com>
5821
ac55707e
MS
5822 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5823 Don't require that the main thread and the manager thread are the
5824 first in the list.
5825
ae23c492
MS
5826 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5827 debugging. If test fails, issue an "unsupported" not a "fail".
5828
400071f1
JB
58292001-05-24 Jim Blandy <jimb@redhat.com>
5830
5831 Don't assume that short is shorter than int.
5832 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5833 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 5834 this isn't true.
400071f1
JB
5835 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5836 an int, is not equal to ~0 stored in an unsigned char. This tests
5837 the same thing that the previous test meant to, but works on
5838 16-bit machines, too.
5839 ("print unsigned char != (~0)"): Same test, complemented.
5840
0816a3e5
MS
58412001-05-24 Michael Snyder <msnyder@redhat.com>
5842
5843 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 5844 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
5845 and prevents dejagnu getting out of step.
5846
f6dc23a9
KB
58472001-05-23 Kevin Buettner <kevinb@redhat.com>
5848
5849 * gdb.base/finish.exp (finish_void): Revise pattern for
5850 stopping on the call statement to not permit stopping at
5851 the start of the instructions comprising the call sequence.
5852
7dbd117d
MC
58532001-05-19 Michael Chastain <chastain@redhat.com>
5854
5855 * gdb.base/callfuncs.exp: Make all test names unique.
5856 * gdb.base/commands.exp: Make all test names unique.
5857 * gdb.base/condbreak.exp: Make all test names unique.
5858 * gdb.base/dbx.exp: Make all test names unique.
5859 * gdb.base/default.exp: Make all test names unique.
5860 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5861 and TIMEOUT messages to their corresponding PASS message.
5862 * gdb.base/ending-run.exp: Make all test names unique.
5863 * gdb.base/long_long.exp: Remove duplicate test.
5864
6b0b0a9e
KB
58652001-05-21 Kevin Buettner <kevinb@redhat.com>
5866
5867 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5868 stop on the call statement as well as the statement after the
5869 call.
5870
2caa35cb
MS
58712001-05-21 Michael Snyder <msnyder@redhat.com>
5872
5873 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5874
40713331
EZ
58752001-05-10 Elena Zannoni <ezannoni@redhat.com>
5876
5877 * gdb.base/completion.exp: Revamp test. Make it execute on all
5878 platforms.
5879
c2c1be8d
EZ
58802001-05-10 Elena Zannoni <ezannoni@redhat.com>
5881
2c9cd303
EZ
5882 * config/gdbserver.exp (gdb_load): Handle the case
5883 in which the arguments to gdbserver are given in the
5884 baseboard configuration file.
5885 Also handle the case in which the server needs to do a
5886 load.
5887
9671de48
KS
58882001-05-07 Keith Seitz <keiths@cygnus.com>
5889
5890 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5891 set up the display for testing.
5892 (gdbtk_start): Convert all paths to paths that tcl will like.
5893 Export target information to environment.
5894 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5895 necessary.
5896 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5897 (to_tcl_path): New proc to convert a given pathname into
5898 a path acceptible as an argument to a tcl command.
5899 (_gdbtk_export_target_info): New proc to export target info
5900 into the environment for gdbtk testing.
5901 (gdbtk_done): New proc to signal end-of-test.
5902
5a360f47
JB
59032001-05-06 Jim Blandy <jimb@redhat.com>
5904
5905 * restore.c: Make the code of caller0 correspond to its comment.
5906
66c756c6
MS
59072001-05-03 Michael Snyder <msnyder@redhat.com>
5908
5909 * config/sid.exp (gdb_target_sid): Check for error messages.
5910 On error or timeout, don't make expect exit (which will terminate
5911 all subsequent tests); instead just make gdb exit.
d63a86f8 5912 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
5913 return a negative value.
5914
a966fde5
JB
59152001-04-24 Jim Blandy <jimb@redhat.com>
5916
851c18e0
JB
5917 * gdb.c++/templates.exp: If we see the prompt for the overload
5918 list, but we haven't recognized any of the longer patterns,
5919 arrange for this test to fail, not hang.
5920
a966fde5
JB
5921 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5922 variations.
5923
db144853
MC
59242001-04-22 Michael Chastain <chastain@redhat.com>
5925
5926 * gdb.c++/local.exp: Use the 'runto' library function.
5927 * gdb.c++/namespace.exp: Likewise.
5928 * gdb.c++/overload.exp: Likewise.
5929
3207ec21
KB
59302001-03-26 Kevin Buettner <kevinb@redhat.com>
5931
5932 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5933 * gdb.base/step-line.exp: New file. Test step/next in presence of
5934 #line directives.
5935 * gdb.base/step-line.c: New file. Test program for the above.
5936 * gdb.base/step-line.inp: New file. We pretend that this file has
5937 been transformed by some other tool into step-line.c.
5938
13b57657
JB
59392001-03-21 Jim Blandy <jimb@redhat.com>
5940
5941 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5942 unmangled operator names.
5943
754cbe1c
JB
59442001-03-20 Jim Blandy <jimb@redhat.com>
5945
5946 * gdb.threads/linux-dp.exp: Recognize an additional message
5947 generated by GDB when it doesn't understand how to debug threads
5948 on the target system.
5949
177495c9
AC
59502001-03-19 Andrew Cagney <ac131313@redhat.com>
5951
5952 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5953
f266096b
MC
59542001-03-12 Michael Chastain <chastain@redhat.com>
5955
5956 * gdb.c++/derivation.exp: Use the 'runto' library function.
5957
cac3c2ff
MC
59582001-03-12 Michael Chastain <chastain@redhat.com>
5959
5960 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5961
b6c11a24
MC
59622001-02-24 Michael Chastain <chastain@redhat.com>
5963
5964 * gdb.c++/ref-types.exp: Change handwritten code to library
5965 function 'runto'.
5966
6bae5bce
OF
59672001-03-16 Orjan Friberg <orjanf@axis.com>
5968
5969 * gdb.base/signals.exp: Set count to 0 explicitly.
5970
0015fd9a
MS
59712001-03-15 Mark Salter <msalter@redhat.com>
5972
5973 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
5974 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
5975 (gdb_load): Add support for additional target_info: gdb_download_size
5976 and gdb_load_timeout.
0015fd9a 5977
fc33412a
DT
5978Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
5979
5980 * gdb.base/annota1.exp: Move test of isnative to earlier in the
5981 file -- to prevent failing when the compile fails but we have no
5982 intention of running the tests anyway.
5983
5984 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5985 tests if set.
5986
5987 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5988 integers.
5989
5990 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5991 * gdb.c++/namespace.exp: Ditto.
5992
115f06de
OF
59932001-03-07 Orjan Friberg <orjanf@axis.com>
5994
5995 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5996 * gdb.base/pointers.exp: Relax pattern match of decimals.
5997
b6ba6518
KB
59982001-03-06 Kevin Buettner <kevinb@redhat.com>
5999
6000 * Makefile.in, config/abug.exp, config/cfdbug.exp,
6001 config/cpu32bug.exp, config/dve.exp, config/est.exp,
6002 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
6003 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
6004 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
6005 config/sh.exp, config/sid.exp, config/slite.exp,
6006 config/sparclet.exp, config/udi.exp, config/unknown.exp,
6007 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
6008 config/vxworks.exp, config/vxworks29k.exp,
6009 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
6010 gdb.base/all-bin.exp, gdb.base/annota1.exp,
6011 gdb.base/arithmet.exp, gdb.base/assign.exp,
6012 gdb.base/async.exp, gdb.base/attach.exp,
6013 gdb.base/bitfields.exp, gdb.base/bitops.exp,
6014 gdb.base/break.exp, gdb.base/call-ar-st.exp,
6015 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
6016 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
6017 gdb.base/commands.exp, gdb.base/completion.exp,
6018 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6019 gdb.base/constvars.exp, gdb.base/corefile.exp,
6020 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
6021 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
6022 gdb.base/ending-run.exp, gdb.base/environ.exp,
6023 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6024 gdb.base/finish.exp, gdb.base/foll-exec.exp,
6025 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
6026 gdb.base/funcargs.exp, gdb.base/help.exp,
6027 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
6028 gdb.base/logical.exp, gdb.base/long_long.exp,
6029 gdb.base/maint.exp, gdb.base/mips_pro.exp,
6030 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
6031 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
6032 gdb.base/pointers.exp, gdb.base/printcmds.exp,
6033 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
6034 gdb.base/regs.exp, gdb.base/relational.exp,
6035 gdb.base/remote.exp, gdb.base/reread.exp,
6036 gdb.base/restore.exp, gdb.base/return2.exp,
6037 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
6038 gdb.base/selftest.exp, gdb.base/setshow.exp,
6039 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
6040 gdb.base/sigall.exp, gdb.base/signals.exp,
6041 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
6042 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6043 gdb.base/step-test.exp, gdb.base/structs.c,
6044 gdb.base/structs.exp, gdb.base/structs2.exp,
6045 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
6046 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
6047 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
6048 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6049 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
6050 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
6051 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
6052 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
6053 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
6054 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
6055 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
6056 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
6057 gdb.fortran/types.exp, gdb.java/jmisc.exp,
6058 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6059 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
6060 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6061 gdb.trace/circ.exp, gdb.trace/collection.exp,
6062 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6063 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6064 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
6065 gdb.trace/report.exp, gdb.trace/save-trace.exp,
6066 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6067 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6068 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
6069 notices.
6070
dc96c6c7 60712001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
6072
6073 * gdb.base/varargs.c (find_max_double): Fix printf format string:
6074 first arg is int not float.
6075
dc96c6c7 60762001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
6077
6078 * gdb.base/reread.exp: Unsupported for non-native targets;
6079 doesn't work for remote debugging.
6080
9b0c4aeb
FN
60812001-02-19 Fernando Nasser <fnasser@redhat.com>
6082
6083 From Drew Moseley <dmoseley@redhat.com>
6084 * gdb.base/ending-run.exp: Properly handle the BSP state when
6085 stepping past the end of main.
6086
02aa71d5
MC
60872001-02-19 John Moore <jmoore@redhat.com>
6088
6089 * gdb.base/commands.exp (infrun_breakpoint_command_test):
6090 Converted HPUX fix for non-expected items following multiple
6091 step commands into general solution for all platforms.
6092
1fa449a4
MC
60932001-02-18 Michael Chastain <chastain@redhat.com>
6094
6095 * gdb.c++/classes.exp (do_tests): Change runto statements
6096 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6097 statements demangler agnostic.
6098 * gdb.c++/virtfunc.exp (do_tests): Likewise.
6099 (gdb_virtfunc_restart): Likewise.
6100
b2f9ec70
MC
61012001-02-14 Michael Chastain <chastain@redhat.com>
6102
6103 * gdb.c++/inherit.exp (do_tests): Change runto statements
6104 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6105 statements demangler agnostic.
6106
cf74b8ca
AC
6107Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
6108
6109 * gdb.threads/pthreads.exp: Unify pass/fail messages for
6110 ``continue to bkpt at common_routine in thread 2'' and ``stopped
6111 before calling common_routine 15 times'' tests.
6112
99f78f56
MC
61132001-02-11 Michael Chastain <chastain@redhat.com>
6114
6115 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
6116 Helps the test script figure out which demangler is in use.
6117 (dm_type_foo_ref): Ditto.
6118 (dm_type_int_star): Ditto.
6119 (dm_type_long_star): Ditto.
6120 (dm_type_unsigned_int): Ditto.
6121 (dm_type_void): Ditto.
6122 (dm_type_void_star): Ditto.
99707966 6123 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
6124 Probe the gdb demangler and set variables to accommodate
6125 formatting differences.
6126 (info_func_regexp): New function. Same as info_func, but
6127 matches against a regexp.
6128 (info_func): Match against a literal string.
6129 (print_addr_2): New function. Match against a literal string,
6130 which can be different from the input to gdb.
6131 (print_addr): Simply call print_addr_2 with the same argument twice.
6132 (test_lookup_operator_functions): Use demangler formatting variables.
6133 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
6134 the tests in the same order as the C++ class declaration.
6135 (test_paddr_operator_functions): Ditto.
6136 (test_paddr_overloaded_functions): Ditto.
6137 (test_paddr_hairy_functions): Use demangler formatting variables.
6138 Add reference to gdb/19 for related tests.
6139 (do_tests): Call probe_demangler.
6140
1de8f023
KB
61412001-01-30 Kevin Buettner <kevinb@redhat.com>
6142
6143 * gdb.c++/templates.cc (printf): Remove unused function definition.
6144
ca3f91ed
MS
61452001-01-26 Felix Lee <flee@redhat.com>
6146
6147 * sid.exp (sid_exit): Pass host, not target, to remote_close.
6148
61492001-01-25 matthew green <mrg@redhat.com>
6150
6151 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
6152 up sid.
6153 (sid_exit): Call `remote_pop_conn' after GDB is gone.
6154
61552001-01-25 matthew green <mrg@redhat.com>
6156
6157 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 6158 Deprecate $sid_spawn_id.
ca3f91ed
MS
6159 (sid_exit): Remove code necessary only for `spawn.'
6160
61612001-01-25 matthew green <mrg@redhat.com>
6162
6163 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
6164
fb18ec4a
MC
61652001-01-28 Michael Chastain <chastain@redhat.com>
6166
6167 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
6168 to call when tests fail. It takes gdb out of the overloaded
6169 function choice menu back to the main prompt, so that the test
6170 program stays synchronized.
6171 (set_bp_overloaded): New proc to collect all the common
6172 code for setting a breakpoint on an overloaded name. Calls
6173 take_gdb_out_of_choice_menu when needed.
6174 (menu_overload1arg): New variable to collect the repeated
6175 instances of the expected menu for an overloaded name. Change
6176 the regular expression to handle changes in g++ type encoding:
6177 "void" can be either "void" or "", and "unsigned int" can be
6178 either "unsigned int" or "unsigned".
6179 (continue_to_bp_overloaded): Change regular expressions to handle
6180 changes in g++ type encoding.
6181 (no proc): Call take_gdb_out_of_choice_menu when needed.
6182 Remove redundant calls to "info break". Accept either "canceled"
6183 or "cancelled". Change regular expressions in "info break"
6184 calls to handle changes in g++ type encoding. Give all tests
6185 unique strings.
6186
9c646a6e
BE
61872001-01-17 Ben Elliston <bje@redhat.com>
6188
6189 * config/sid.exp: New file.
6190
9549d9c1
AC
6191Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
6192
6193 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
6194
dc96c6c7 61952000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
6196
6197 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
6198 Add a RE to accept a non-ascii char if one is ever presented.
6199
b4df4f68
FN
62002000-12-20 Fernando Nasser <fnasser@redhat.com>
6201
297dd0fd 6202 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 6203
dc96c6c7 62042000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 6205
d63a86f8 6206 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
6207 in regexp. One '\' does not suffice on Linux.
6208
4a7bddb6
MC
62092000-12-09 Michael Chastain <chastain@redhat.com>
6210
6211 * gdb.base/break.exp (test_clear_command): Use a marker function
6212 rather than 'main' for the test function. Also move this
6213 test to an execution point where the marker function names are
6214 guaranteed to be bound to functions. (Executing tests after a
6215 'finish' from main runs into name conflicts with local names
6216 in __libc_start_main).
6217
dc96c6c7 62182000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
6219
6220 * gdb.base/finish.exp: New test for gdb's "finish" command.
6221 * gdb.base/return2.exp: New test for gdb's "return" command.
6222 * gdb.base/return2.c: New source file for above.
6223
dc96c6c7 62242000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
6225
6226 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
6227 * gdb.base/miscexprs.exp: Ditto.
6228 * gdb.base/pointers.exp: Ditto.
6229 * gdb.c++/derivation.exp: Ditto.
6230 * gdb.c++/local.exp: Ditto.
6231 * gdb.c++/namespace.exp: Ditto.
6232 * gdb.c++/overload.exp: Ditto.
6233 * gdb.c++/ref-types.exp: Ditto.
6234
dc96c6c7 62352000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
6236
6237 * gdb.base/constvars.exp: Test result of "up" command.
6238 * gdb.base/miscexprs.exp: Ditto.
6239 * gdb.base/pointers.exp: Ditto.
6240 * gdb.base/scope.exp: Ditto.
6241 * gdb.c++/derivation.exp: Ditto.
6242 * gdb.c++/local.exp: Ditto.
6243 * gdb.c++/namespace.exp: Ditto.
6244 * gdb.c++/overload.exp: Ditto.
6245 * gdb.c++/ref-types.exp: Ditto.
6246
44097287
FN
62472000-11-22 Michael Chastain <chastain@redhat.com>
6248
6249 * mips_pro.exp: Accept either "middle -> top -> main" or
6250 "middle -> main" in the backtrace, because gcc can optimize
6251 tail calls to jumps. Remove setup_xfail for the hppa case.
6252 Add a comment with the original warning messages from PR 3016,
6253 which was filed in 1993, to preserve them for posterity.
6254
9d2e1bab
ND
62552000-11-17 Nick Duffek <nsd@redhat.com>
6256
6257 * lib/gdb.exp (gdb_test): Override timeout with board info.
6258
1aca8eb7
ND
62592000-11-17 Nick Duffek <nsd@redhat.com>
6260
6261 * gdb.base/display.exp: Don't kill running stub. Add "again" to
6262 the second kill and detach messages.
6263
93076499
ND
62642000-11-17 Nick Duffek <nsd@redhat.com>
6265
6266 * configure.in: Add AC_EXEEXT.
6267 * configure: Regenerate.
6268 * Makefile.in (just-check): Export EXEEXT.
6269 * lib/gdb.exp ($EXEEXT): Import from environment.
6270 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
6271 expect "maint dump-me" on Cygwin.
6272 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
6273 $EXEEXT.
6274
30e87cd3
ND
62752000-11-17 Nick Duffek <nsd@redhat.com>
6276
6277 * gdb.base/break.exp: Test backtrace and finish from called
6278 function on all platforms, not just HP-UX.
6279
dc96c6c7 62802000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
6281
6282 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
6283 code from gdb_target_monitor, so it can be used independantly
6284 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 6285
dc96c6c7 62862000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
6287
6288 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
6289 * gdb.base/corefile.exp: Expect the message "Program is being
6290 debugged already" when we send the "corefile" command, since
6291 the preceeding gdb_load may have connected gdb to a remote target.
6292 * gdb.base/display.exp: Disable hardware watchpoints if new
6293 board info variable "no_hardware_watchpoints" is true.
6294 Replace single-letter commands with more readable ones.
6295 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
6296 if new board info variable "no_hardware_watchpoints" is true.
6297 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
6298 to see if stdio (printf) testing is possible.
6299 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
6300 board info variable "no_hardware_watchpoints" is true. Use new
6301 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
6302
39124dea
FN
63032000-11-13 Fernando Nasser <fnasser@redhat.com>
6304
6305 From Orjan Friberg <orjanf@axis.com>:
6306 * gdb.base/printcmds.exp: Escape curly braces followed by a number
6307 in array print pattern match.
6308
a9e2e984
FN
63092000-11-09 Fernando Nasser <fnasser@redhat.com>
6310
6311 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
6312 spelling "cancelled" to U.S. spelling "canceled" to match changes
6313 made to gdb.
6314 * gdb.c++/ovldbreak.exp: Ditto.
6315
c7db355b
PS
63162000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6317
6318 * gdb.base/callfuncs.c (main): Moved to end of file, call
6319 t_double_values to initialize the FPU before inferior calls are made.
6320 * gdb.base/callfuncs.exp: Test for register preservation after calling
6321 inferior functions. Add tests for continuining, finishing and
6322 returning from a stop in a call dummy.
6323
dc96c6c7 63242000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
6325
6326 * gdb.base/commands.exp: Break up long lines, and re-indent.
6327
dc96c6c7 63282000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
6329
6330 * config/gdbserver.exp: Rewritten from the ground up, to make it
6331 compatible with the current dejagnu tree, and to make it work with
6332 the new "gdbserver" in libremote.
6333
dc96c6c7 63342000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6335
6336 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
6337 * gdb.base/varargs.exp: Skip entire test if no printf support.
6338 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
6339 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
6340
dc96c6c7 63412000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6342
6343 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
6344 no floating point support.
6345 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
6346 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6347 * gdb.base/call-rt-st.exp: Ditto.
6348 * gdb.base/call-strs.exp: Ditto.
6349
bac5fc66
JG
63502000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
6351
6352 * gdb.base/sizeof.c: include <stdio.h>.
6353
6354 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6355 'finish', otherwise uncaptured gdb_prompt would potentially
6356 throw remaining test points out of sync.
6357
b22a6027
SB
63582000-07-26 Scott Bambrough <scottb@netwinder.org>
6359
6360 * gdb.base/recurse.exp: Run tests for all targets.
6361 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6362 gnu-oldld case on ARM.
6363 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6364 for ARM targets.
d63a86f8 6365
d8231941
AG
6366Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
6367
6368 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6369 * gdb.java/configure: Rebuild.
6370
8caabe69
AG
6371Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
6372
6373 * gdb.java/jv-exp.exp: New file.
6374
9d273ca3
AG
6375Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
6376
6377 * configure: Rebuilt.
6378 * configure.in (configdirs): Add gdb.java.
6379 * gdb.java/jmisc.java: New file.
6380 * gdb.java/jmisc.exp: New file.
6381 * gdb.java/Makefile.in: New file.
6382 * gdb.java/configure: Rebuilt.
6383 * gdb.java/configure.in: New file.
6384 * lib/java.exp: New file.
6385
4f823a66
AC
6386Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
6387
6388 * gdb.base/exprs.exp: Test casts to a pointer including over and
6389 underflow.
6390
2391e11d
AC
6391Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
6392
6393 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
6394 and the compilers sizes.
6395
54602222
ND
63962000-07-09 Nick Duffek <nsd@redhat.com>
6397
6398 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6399 (use_methods): New function.
6400 (main): Call use_methods().
6401 * gdb.c++/classes.exp (test_method_param_class): New procedure.
6402 (do_tests): Call test_method_param_class.
6403
2bec0572
ND
64042000-07-09 Nick Duffek <nsd@redhat.com>
6405
6406 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6407 spelling.
6408 (test_enums): New procedure. Move enum tests from end of script
6409 to here. Set breakpoint on function name instead of line number.
6410 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6411 (enums2): New marker function.
6412 (enums1): New function.
6413 (main): Call enums1(). Move enum tests to enums1().
6414
78492fde
AC
6415Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6416
6417 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6418 compile/link program. Update line numbers.
6419 * gdb.asm/d10v.inc: Define ``startup''.
6420 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 6421
49a2cef8
AC
6422Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6423
6424 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6425
3e6c8688
EZ
64262000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6427
6428 * gdb.base/maint.exp: Add 'maint print architecture' item to output
6429 of 'help maint print' command.
6430
9ff5cbe9
AC
6431Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
6432
6433 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6434 they use gdb_expect_list.
6435
17c579bd
AC
6436Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6437
6438 * gdb.base/commands.exp: Use ``set remote
6439 memory-read-packet-size'' instead of ``set endian big'' to test
6440 long commands.
6441
e6d71bf3
DB
64422000-06-03 Daniel Berlin <dan@cgsoftware.com>
6443
6444 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 6445 g++, and stop skipping them.
e6d71bf3
DB
6446
6447 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6448 work under g++.
6449
d63a86f8 6450 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
6451 initialization.
6452
dc96c6c7 64532000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
6454
6455 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6456 the regular expression: accept an (almost) arbitrary sequence of
6457 "frames-invalid" and "breakpoints-invalid" messages both before
6458 and after the "starting" message.
6459
dc96c6c7 64602000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
6461
6462 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 6463
dc96c6c7 64642000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
6465
6466 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6467 Relax the regular expression a little, make it pass on Solaris 8.
6468
8216cda9
KB
64692000-05-12 Kevin Buettner <kevinb@redhat.com>
6470
6471 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 6472 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
6473 Instead, it is permissible for gdb to stop on the line of the
6474 call itself.
6475
1a570b2f
MS
64762000-05-12 Michael Snyder <msnyder@.cygnus.com>
6477
6478 * gdb.base/break.exp (bp on small function, optimized file):
6479 Add a second pass pattern. The behavior differs here between stabs
6480 and dwarf for one-line functions. Stabs preserves two line symbols
6481 (one before the prologue and one after) with the same line number,
6482 but dwarf regards these as duplicates and discards one of them.
6483 Therefore the address after the prologue (where the breakpoint is)
6484 has no exactly matching line symbol, and GDB reports the breakpoint
6485 as if it were in the middle of a line rather than at the beginning.
6486
dc96c6c7 64872000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 6488
d63a86f8 6489 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
6490 rather than "send_gdb" (for consistancy).
6491
7d418785
AC
6492Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6493
6494 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6495 * gdb.c++/templates.cc: Properly check for GCC version number.
6496 * lib/compiler.cc: Likewise
6497
dc96c6c7 64982000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 6499
d63a86f8 6500 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
6501 gdb may not stop at the first line of main, due to code motion.
6502
dc96c6c7 65032000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
6504
6505 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6506 This test depends on parsing the printf output from the target.
6507 Since the sparclet stub doesn't do stdio, this will never work.
6508 * gdb.base/call-rt-st.exp: ditto.
6509 * gdb.base/call-strs: ditto.
6510
dc96c6c7 65112000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
6512
6513 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6514
6515 * gdb.base/ending-run.exp: After connecting to a remote target,
6516 but before running, the target will appear to be in a random
6517 location. Specify both a file and a line for breakpoints.
6518 Also, the function that calls main may be called 'init'
6519 rather than 'start'.
6520
a5a51225
EZ
65212000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6522
6523 * gdb.base/help.exp: Update output for add-symbol-file command.
6524
7930cc7c
FN
65252000-04-10 Fernando Nasser <fnasser@cygnus.com>
6526
6527 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6528 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6529
23e37ab1
C
65302000-04-07 J.T. Conklin <jtc@redback.com>
6531
e93c542c
C
6532 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6533
23e37ab1
C
6534 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6535
591b8fa3
PDM
6536Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6537
6538 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6539 values that can be represented exactly.
6540 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6541 above change, and to not check against the directory part of the source
6542 file name.
6543 (step into print_long_arg_list): Likewise.
6544 (print print_small_structs from print_long_arg_list): Likewise.
6545 (print print_long_arg_list): Likewise.
6546
7a495180
EZ
65472000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6548
30b53638 6549 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 6550
beb998c6
AC
6551Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6552
6553 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6554
1c689132
DB
65552000-03-25 Daniel Berlin <dan@cgsoftware.com>
6556
6557 * gdb.base/commands.exp (deprecated_command_test): Add test for
6558 deprecate with no arguments.
6559
c1790a9d
JL
65602000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6561
6562 * gdb.base/break.exp: Add new test for setting breakpoints on
6563 optimized code so we can test breakpoints work even when function
6564 prologues may be optimized away
6565
003ba290
FN
65662000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6567
6568 From David Whedon <dwhedon@gordian.com>
6569 * gdb.base/commands.exp : Added command deprecator tests.
6570
6837a0a2
DB
65712000-03-22 Daniel Berlin <dan@cgsoftware.com>
6572
6573 * gdb.base/help.exp: Added test for new apropos command.
6574
b9593231
KB
65752000-03-21 Kevin Buettner <kevinb@redhat.com>
6576
6577 * gdb.base/pointers.c (usevar): New function.
6578 (main): Make sure that global variables v_int_pointer2, rptr,
6579 and y are all referenced someplace in the program by calling
6580 usevar() on them. [Some linkers delete symbols which are
6581 never referenced. The space remains, but there's no way to
6582 get a (symbolic) handle on the variable from the debugger.]
6583
751a959b
EZ
65842000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6585
6586 * gdb.base/printcmds.c: Add typedeffed arrays.
6587
6588 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6589 procedure to test arrays that are typedef'd.
6590
73a93a32
JI
65912000-03-13 James Ingham <jingham@leda.cygnus.com>
6592
6593 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 6594 the library directories.
73a93a32 6595
fb40c209
AC
6596Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6597
6598 * configure.in (configdirs): Add sub directory gdb.mi.
6599 * configure: Re-generate.
6600
6601 * gdb.mi: New directory.
d63a86f8 6602
ee4dd2c9
AC
66032000-02-25 Scott Bambrough <scottb@netwinder.org>
6604
6605 * gdb.base/long_long.exp: Correct test suite failure when printing
6606 a long long value as a double on ARM platforms.
6607
70f0cc22
JB
66082000-02-16 Jim Blandy <jimb@redhat.com>
6609
6610 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6611 default source file is set properly before running this test.
6612
853819b8
EZ
66132000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6614
6615 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6616 gdbtk/library directory, not in gdbtcl2.
6617
dfcd3bfb
JM
66182000-02-04 Jim Blandy <jimb@redhat.com>
6619
6620 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6621 backslash from regexp pattern.
6622
6623 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6624 procedure. Use it to run all the "continue to bp overloaded"
6625 tests. Note that this changes the names of the tests slightly.
6626 If the breakpoint hit message includes a hex PC value, because
6627 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6628 from the real source code, still consider that a pass.
6629
6630 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6631 XFAIL here if the breakpoint message contains a hex address. Note
6632 similar change on 1999-11-02.
6633
6634 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6635
6636 * gdb.base/ptype.exp: Establish a default source file before
6637 calling get_debug_format.
6638
66392000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6640
6641 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6642
8b93c638
JM
66432000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6644
6645 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6646 of successive stepi commands -- while in the prologue we should see
6647 the function entry bracket.
6648
66492000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6650
6651 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6652 reach __change_mode() when stepping through the end of main().
6653
c5394b80
JM
66542000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6655
6656 * gdb.base/default.exp: Fix expected pattern.
6657 * gdb.base/help.exp: Same.
6658
0d06e24b
JM
66592000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6660
6661 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6662 Don't use xfail's because that affects only the following test.
d63a86f8 6663
0d06e24b
JM
6664 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6665 solaris or linux.
6666
6667 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6668
dc96c6c7 66692000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 6670
d63a86f8 6671 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
6672 "A syntax error" rather than "A parse error". Accept both.
6673
66742000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6675
6676 * gdb.base/default.exp: Remove OS dependent string from "target
6677 remote" test.
6678 * gdb.base/help.exp: Same for "help target remote" test.
6679
c3f6f71d
JM
66802000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6681
6682 From Jim Kingdon <kingdon@redhat.com>:
6683
6684 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6685 prompt (cleanup rather than necessity, but still might keep output
6686 from spilling to next test).
6687
66882000-01-02 Fred Fish <fnf@cygnus.com>
6689
6690 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6691 AIX, which defines them in <sys/types.h>.
6692
ed9a39eb 66931999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 6694
ed9a39eb
JM
6695 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6696 float" test.
6697
66981999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 6699
ed9a39eb 6700 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
6701
6702 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6703 outermost frame disallowed".
6704
67051999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6706
6707 * gdb.base/setvar.exp: New tests for setting the value of a struct
6708 with a constant list.
6709
67101999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6711
6712 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6713 require the user to type a cast before setting the value of a struct.
6714
de57eccd
JM
67151999-12-06 Jim Blandy <jimb@cygnus.com>
6716
6717 * gdb.base/default.exp: Expect the new 'info float' command on
6718 all i386 platforms.
6719
6720 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6721 LinuxThreads libraries that don't support debugging.
6722
c2d11a7d
JM
6723Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6724
6725 * gdb.base/remote.c: Fill the buffer with truely random data.
6726 Change the buffer type to ``unsigned char'' to simplify size
6727 arithmetic.
6728
6729 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6730 stub only handles 400-1 byte packets. Verify that the download
6731 worked.
6732
67331999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6734
6735 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6736 tests, using UNRESOLVED for the untested cases. Also, does not wait
6737 for a timeout if the prompt was received before a recognizable pattern.
6738
67391999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6740
6741 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6742
67431999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6744
6745 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6746 watchpoints.
6747
67481999-11-24 Jason Merrill <jason@casey.cygnus.com>
6749
6750 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6751
6752 * gdb.c++/local.exp: Be more flexible in recognizing local class
6753 name mangling. Don't allow horribly truncated method names.
6754 * gdb.c++/derivation.exp: Expect protected inheritance.
6755 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6756 * gdb.c++/virtfunc.exp: Likewise.
6757 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6758 when printing a nested enum.
6759
67601999-11-22 Jim Blandy <jimb@cygnus.com>
6761
6762 * gdb.base/step-test.exp: Properly await GDB's response to setting
6763 a breakpoint on the call to large_struct_by_value.
6764
6765 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6766 just because we have debug info for the `start' function.
6767
67681999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6769
6770 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6771 "Unknown signal" messages, which indicate (on LinuxThreads) that
6772 GDB doesn't know how to debug threads on this system. This is
6773 better than hanging while philosopher 0 dumps chatter into gdb.log.
6774
67751999-11-18 Tom Tromey <tromey@cygnus.com>
6776
6777 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6778
67791999-11-18 Fred Fish <fnf@cygnus.com>
6780
6781 * gdb.base/coremaker2.c: Add sample program for generating
6782 cores that is more self contained than coremaker.c. Eventually
6783 I'll add more code to this and tie it into the testsuite.
6784
4ce44c66
JM
67851999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6786
6787 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6788
67891999-11-10 Jimmy Guo <guo@cup.hp.com>
6790
6791 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6792 from $srcdir/lib/.
6793 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6794 and gdb.c++/.
6795
6796 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6797
d63a86f8 6798 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
6799 'continue with watch' test point.
6800
68011999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6802
6803 Merged from p2linux-990323-branch:
d63a86f8 6804
4ce44c66
JM
6805 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6806
11cf8741
JM
6807Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6808
6809 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6810 {limit,fixed}''. Test ``set download-write-size''.
6811
6812Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6813
6814 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6815 gdb_expect_list.
6816
6817Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6818
6819 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6820
68211999-11-03 Mark Salter <msalter@cygnus.com>
6822
6823 * gdb.base/break.exp: Fix "stub continue" pattern.
6824
68251999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6826
6827 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6828
68291999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6830
6831 * gdb.base/display.exp ("finish"): Add timeout clause.
6832
6833 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6834 plain prompt clause, so this doesn't have to time out in order to
6835 fail.
6836
6837 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6838 breakpoint hit messages include an address.
6839
6840 * gdb.base/display.exp: Don't forget to escape parens in regular
6841 expressions. Unix regexp notatation sucks.
6842
68431999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6844
6845 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6846 order for 'signalled' message.
6847
5c44784c
JM
68481999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6849
6850 From Jimmy Guo <guo@cup.hp.com>:
6851 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6852 * gdb.base/annota1.c: Add code for tests to work with.
6853
68541999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6855
6856 * gdb.base/remote.exp: New test for remote downloading settings.
6857 * gdb.base/remote.c: New file with large .data.
6858
917317f4
JM
68591999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6860
6861 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6862 for LinuxThreads support, merged from the Code Fusion branch.
6863
6864Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6865
6866 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6867 containing exp_continue into a while within an expect. Don't
6868 attempt a start more than three times. Check return value from
6869 gdb_load.
d63a86f8 6870
2df3850c
JM
6871Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6872
6873 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6874 a pass case.
6875
2acceee2
JM
68761999-10-01 Kevin Buettner <kevinb@cygnus.com>
6877
6878 * gdb.base/break.c (main): Added a statement that we can step
6879 off of.
6880 * gdb.base/break.exp: Added tests for setting a breakpoint
6881 at an offset and stepping onto a breakpoint.
6882
68831999-10-01 Fred Fish <fnf@cygnus.com>
6884
d63a86f8 6885 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
6886 gdb output.
6887
c2c6d25f
JM
68881999-09-18 Jim Blandy <jimb@cris.red-bean.com>
6889
6890 * gdb.base/break.exp: Code locations are in hex, don't forget!
6891 (For HP-UX.)
6892
68931999-09-17 Stan Shebs <shebs@andros.cygnus.com>
6894
6895 * condbreak.exp: Use break.c as test program.
6896 * condbreak.c: Remove, redundant with break.c.
6897
68981999-09-15 Stan Shebs <shebs@andros.cygnus.com>
6899
6900 * config/monitor.exp (gdb_target_monitor): Disable X- and
6901 Z-packets if the target needs it.
6902
69031999-09-13 James Ingham <jingham@leda.cygnus.com>
6904
6905 * gdb.c++/overload.exp: Added tests for listing overloaded
6906 functions with function pointers in the arg, explicitly calling
6907 out the version you want.
6908
cff3e48b
JM
69091999-09-09 Stan Shebs <shebs@andros.cygnus.com>
6910
6911 * long_long.exp: Add variations of test cases that work for
6912 targets with 16-bit ints and 32-bit doubles.
6913
d4f3574e
SS
69141999-09-08 Stan Shebs <shebs@andros.cygnus.com>
6915
6916 * break.c (main): Compare a possibly-uninitialized argc with an
6917 unlikely value that fits in 16 bits.
6918
69191999-09-07 Stan Shebs <shebs@andros.cygnus.com>
6920
6921 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6922 0xfeeb, don't want negative numbers if ints are 16 bits.
6923
6924 * lib/gdb.exp (skip_cplus_tests): New proc.
6925 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6926 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6927 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6928 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6929 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6930 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6931 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6932 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6933
6934 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6935
6936Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
6937
6938 * gdb.base/corefile.exp (up): Allow a parameter to appear
6939 in the frame that we're going up to.
6940
6941 From Jim Blandy <jimb@cygnus.com>:
6942
6943 * gdb.base/default.exp (info float): Expect some output now.
6944
6945 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6946 returning floating-point values to fail on the x86.
6947 * gdb.base/callfwmall.exp (do_function_calls): Same.
6948
6949 * gdb.base/list.exp (test_listsize): Correct expectations for
6950 listing line 1 with listsize 2. Also, listing a single line
6951 works now, as does listing three lines. [Kevin's note: There
6952 were a number of other cases fixed too where the expectations
6953 differed...]
6954
69551999-09-02 Stan Shebs <shebs@andros.cygnus.com>
6956
6957 * gdb.base/selftest.exp: Add case for when version prints as
6958 constant string instead of char pointer.
6959
104c1213
JM
69601999-08-25 Stan Shebs <shebs@andros.cygnus.com>
6961
6962 * gdb.base/ending-run.exp: Add Solaris case for what happens when
6963 stepping out of main.
6964
6965 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6966 G++ used.
6967
6968 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6969 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
6970
6971 * gdb.c++/ovldbreak.exp: Update match string in test that
6972 includes a warning of multiple breakpoints.
6973
69741999-08-24 Stan Shebs <shebs@andros.cygnus.com>
6975
6976 * gdb.base/display.exp: Improve precision of step-after-finish
6977 added yesterday.
6978
6979 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6980 test.
6981
6982 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6983 configs when using G++, not just hppa*.
6984
69851999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6986
6987 * gdb.base/async.c: New file.
6988 * gdb.base/async.exp: New file.
6989
6990Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
6991
6992 * gdb.base/break.exp: Tweak PA specific tests to properly handle
6993 PA64.
6994
53a5351d
JM
6995Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
6996
104c1213
JM
6997 * gdb.base/display.exp: "finish" can leave us mid-line on many
6998 targets, deal with it. Add a small constant to main, instead of
6999 1000 since main+1000 may not be a valid address in the target.
7000
53a5351d
JM
7001 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
7002 on hpux11.
7003
7004 * gdb.base/attach.exp: Handle another hpux11 error message variant
7005 when attaching to a process that does not exist.
7006
70071999-08-19 J.T. Conklin <jtc@redback.com>
7008
7009 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
7010 characters in 'continue to 1241' test.
7011
70121999-08-17 Stan Shebs <shebs@andros.cygnus.com>
7013
7014 * gdb.base/call-ar-st.exp: Add a shorter match case for the
7015 stop in print_long_arg_list, define and use a whitespace
7016 variable in print_small_structs test, add an XFAIL for Solaris.
7017 * gdb.base/dbx.exp: XFAIL func commands until somebody is
7018 interested enough to fix.
7019
7be570e7
JM
70201999-08-13 Keith Seitz <keiths@cygnus.com>
7021
7022 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
7023 (dbx_gdb_load): Remove. Use gdb_load instead, since that
7024 proc knows about targets other than the natives.
7025 (test_assign): Use "gdb_run_cmd" to "run" the target.
7026 Check that we've actually hit the breakpoint at main.
7027 When we attempt to assign a value to a local variable, check
7028 that the variable is in the current scope, i.e., don't use
7029 a test with an empty result.
7030
7031Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
7032
7033 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
7034 command.
7035
70361999-08-09 Stan Shebs <shebs@andros.cygnus.com>
7037
7038 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7039 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
7040 gdb.compat, gdb.threads-hp.
7041 gdb.hp/configure, gdb.hp/configure.in: New files.
7042 gdb.hp/Makefile.in: Recurse into new subdirs.
7043 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
7044 gdb.hp/gdb.objdbg: New directory, tests for debugging info
7045 in object files.
7046 gdb.hp/tools: New directory, aux tools for HP-specific tests.
7047
96baa820
JM
70481999-08-05 Stan Shebs <shebs@andros.cygnus.com>
7049
7050 * gdb.base/display.exp: Help expect by putting a newline in the
7051 funky printf, remove a bogus p/a test.
7052
70531999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7054
7055 * gdb.base/display.exp: Make sure that when we say 'run', we are
7056 connected to the target. This is necessary when running not
7057 natively.
7058
70591999-08-03 Stan Shebs <shebs@andros.cygnus.com>
7060
7061 * gdb.base/step-test.exp: Removed some extraneous messages.
7062
7063 * gdb.base/long_long.exp: Don't run memory examination tests
7064 on little-endian targets (they will need a different set of
7065 results to match).
7066
70671999-08-02 Stan Shebs <shebs@andros.cygnus.com>
7068
7069 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
7070 until somebody decides to fix GDB.
7071
7072 * gdb.base/long_long.c: Stop compiler complaint by specifying long
7073 constant as "ULL".
7074 * gdb.base/long_long.exp: Loosen x/c test, add partial result
7075 matches for a couple x/2 commands.
7076
a0b3c4fd
JM
70771999-07-30 Stan Shebs <shebs@andros.cygnus.com>
7078
7079 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
7080 by merging in ref-types2 tests.
7081 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
7082
7083 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7084 * gdb.c++/Makefile.in: Add standard actions.
7085 (EXECUTABLES): Rename from PROGS, update list.
7086 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
7087 from gdb.hp.
7088 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
7089 foo and bar locals.
7090 * gdb.c++/anon-union.exp: Fix tests to match.
7091 * gdb.c++/classes.exp: Run if HP compiler used, add extra
7092 expect matches to handle output variations.
7093 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
7094 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
7095 output, add HP alternatives for new and delete prints.
7096 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
7097 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
7098 * gdb.c++/demangle.exp: Use $style when reporting failure.
7099 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
7100 * gdb.c++/inherit.exp: Run if HP compiler used, add some
7101 match alternatives.
7102 * gdb.c++/local.exp: Add match alternatives or xfails for HP
7103 compilers.
7104 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
7105 * gdb.c++/method.exp: Add match alternatives.
7106 * gdb.c++/misc.cc: Add bool types.
7107 * gdb.c++/misc.exp: Add tests for bool types.
7108 * gdb.c++/overload.exp: Add xfails.
7109 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
7110 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
7111 add some more template parameter tests (only for HP currently).
7112 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
7113 * gdb.c++/virtfunc.cc: Add return type and value for main.
7114 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
7115 match alternatives.
d63a86f8 7116
a0b3c4fd
JM
71171999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7118
7119 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
7120
71211999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
7122
7123 * gdb.base/signals.exp: Don't expect getting a backtrace from
7124 within a signal handler to fail on Linux.
7125
71261999-07-29 Stan Shebs <shebs@andros.cygnus.com>
7127
7128 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7129 * lib/gdb.exp: Remove some gratuitious semicolons.
7130 (delete_breakpoints): Increase timeout.
7131 (gdb_expect): Add -notransfer option.
7132 (gdb_test): Use -notransfer option.
7133 (get_compiler_info): Add f77 case.
7134 (get_compiler): New proc, split out from gdb_preprocess, add f77
7135 case.
7136 (gdb_preprocess): Call get_compiler.
7137
7138 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
7139 * gdb.base/attach.exp, gdb.base/display.exp,
7140 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
7141 gdb.base/long_long.exp, gdb.base/printcmds.exp,
7142 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
7143 third arg to gdb_test.
7144 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
7145 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
7146 HP-UX xfails, add others.
7147 * gdb.base/completion.exp: Reflect name change of self-test.
7148 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
7149 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
7150 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
7151 HP failure number.
7152 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
7153 useless HP-UX 10.30 references.
7154 * gdb.base/maint.exp: Loosen matches.
7155 * gdb.base/pointers.c (main): Declare more_code.
7156 * gdb.base/pointers.exp: Match on output of a `next'.
7157 * gdb.base/structs.c: Add prototypes.
7158 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
7159 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
7160
71611999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7162
7163 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
7164 command.
7165
71661999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7167
7168 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
7169 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
7170
7171 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
7172 debug info. Deal with lack of signal hanlder info in stack.
7173
7174 From Jim Kingdon <kingdon@redhat.com>:
7175 * gdb.base/annota1.exp: If printf has debug info, deal with it.
7176
5a2468f5
JM
71771999-07-19 Stan Shebs <shebs@andros.cygnus.com>
7178
7179 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
7180 gdb.base/foll-vfork.exp: Don't run for crosses.
7181
adf40b2e
JM
7182Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
7183
7184 * gdb.base/configure.in: Check for gdbvars.exp instead of
7185 a1-selftest.exp.
7186 * gdb.base/configure: Re-generate.
7187
71881999-07-12 Stan Shebs <shebs@andros.cygnus.com>
7189
7190 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
7191 in trying to run first and name is too long.
7192
7193 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
7194 pointers2.c and pointers2.exp, respectively.
7195 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
7196 doschk happier.
7197
43e526b9
JM
71981999-07-08 Stan Shebs <shebs@andros.cygnus.com>
7199
7200 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
7201 callfuncs2.c and callfuncs2.exp.
7202
7203 * gdb.base/list.exp: Remove mistaken xfails.
7204 * gdb.base/list0.h: Add optional prototypes.
7205
9846de1b
JM
7206Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
7207
7208 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
7209 calling malloc.
7210 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
7211 * ptype.exp: Move test for get_debug_format to before its first
7212 use.
7213
72141999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7215
7216 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
7217 * gdb.base/annota2.cc, annota2.exp: Move from here.
7218 * gdb.c++/annota2.cc, annota2.exp: To here.
7219 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
7220
43ff13b4
JM
7221Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
7222
7223 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
7224 a consistent format.
7225
085dd6e6
JM
72261999-06-25 Stan Shebs <shebs@andros.cygnus.com>
7227
7228 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7229 * lib/gdb.exp (get_compiler_info): Add detection for assorted
7230 HP compilers, also set the globals $true and $false.
7231
7232 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
7233 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
7234 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
7235 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
7236 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
7237 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
7238 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
7239 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
7240 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
7241 whatis.c} Add C++ compatible function definitions and return
7242 types, add includes for library functions.
7243 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
7244 * gdb.base/step-test.c (myglob): Rename from glob.
7245 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
7246 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
7247 files, move here from gdb.hp.
7248 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
7249 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
7250 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
7251 Adjust line numbers in regexps.
7252
7253 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
7254 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
7255 instead of 0/1.
7256
7257 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
7258 foll-vfork.exp: New files, move here from gdb.hp.
7259 * gdb.base/page.exp: New file, test of pagination command.
7260
7261 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
7262 recursion test.
7263 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
7264
7265 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
7266 gdb.base/solib.exp: Fix compiler invocation process.
7267
7268 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
7269 HP-UX 11, turn off overload resolution explicitly.
7270 * gdb.base/commands.exp: Set argument list explicitly, add
7271 watchpoint test.
7272 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
7273 them work.
7274 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
7275 expressions properly.
7276 * gdb.base/corefile.exp: Loosen the match slightly.
7277 * gdb.base/default.exp: Allow "Error accessing memory" message
7278 also.
7279 * gdb.base/display.exp: Skip over x/0 j if PA64.
7280 * gdb.base/funcargs.exp: Add xfails for HP-UX.
7281 * gdb.base/interrupt.exp: Ditto.
7282 * gdb.base/langs.exp: Add symbolic matches governed by compiler
7283 in use.
7284 * gdb.base/list.exp: Add xfails for HP-UX.
7285 * gdb.base/long_long.exp: Refine some of the numeric matches.
7286 * gdb.base/mips_pro.exp: Xfail on HP-UX.
7287 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
7288 * gdb.base/nodebug.exp: Succeed on more varieties of output.
7289 * gdb.base/opaque.exp: Remove some HP-UX xfails.
7290 * gdb.base/ptype.exp: Succeed on more varieties of output.
7291 * gdb.base/scope.exp: Add xfails for HP-UX.
7292 * gdb.base/sect-cmd.exp: Add more cases.
7293 * gdb.base/setvar.exp: Add xfails for HP-UX.
7294 * gdb.base/shlib-call.exp: Loosen some matches slightly.
7295 * gdb.base/signals.exp: Match on void symbolically.
7296 * gdb.base/step-test.exp: Add case for PA64.
7297 * gdb.base/term.exp: Add exit and restart.
7298 * gdb.base/twice.exp: Clean up after self.
7299 * gdb.base/varargs.exp: Disable overload resolution explicitly.
7300 * gdb.base/whatis.exp: Allow more ways to pass tests.
7301
7302 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
7303 no longer useful.
7304
7305Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
7306
7307 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
7308 list of patterns.
7309 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
7310 print_double_array(double_array)", "continuing to breakpoint
7311 1018", "print print_double_array(array_d)" and "continuing to
7312 1034" tests.
d63a86f8 7313
085dd6e6
JM
73141999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
7315
7316 * Makefile.in: Add empty html and install-html targets.
7317
73181999-06-24 Stan Shebs <shebs@andros.cygnus.com>
7319
7320 * config/mt-*: Remove, these haven't been used since 1996.
7321
73221999-06-22 Stan Shebs <shebs@andros.cygnus.com>
7323
7324 * gdb.base/call-strs.c, gdb.base/ending-run.c,
7325 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
7326 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
7327
9e0b60a8
JM
73281999-06-18 Stan Shebs <shebs@andros.cygnus.com>
7329
7330 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
7331 simpler match case for the ptype of the big class.
7332
73331999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7334
7335 * gdb.exp: Fix test for gdb_prompt existence.
7336
73371999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7338
7339 * gdb.exp (gdb_test): Add fail after calls to perror.
7340
73411999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7342
7343 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7344
73451999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7346
7347 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7348
0f71a2f6
JM
7349Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
7350
7351 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
7352 malloc() is linked in.
7353
73541999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
7355
7356 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7357 step at end.
7358
7359 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7360
73611999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
7362
7363 * gdb.java/jv-print.exp: New file. (Our first Java test!)
7364
cce74817
JM
7365Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
7366
7367 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7368 * gdb.base/mips_pro.exp: Likewise.
7369
73701999-06-02 Keith Seitz <keiths@cygnus.com>
7371
7372 * gdb.c++/templates.cc: Change all "new" operators to throw
7373 an exception.
7374 * gdb.c++/cplusfuncs.cc: Likewise.
7375
7376 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7377
7378Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
7379
7380 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7381 * gdb.base/ending-run.exp: When stepping out of main, accept a
7382 step into an arbitrary assembler file.
7383
392a587b
JM
73841999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7385
d63a86f8 7386 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 7387 "breakpoint-invalid" to be printed.
d63a86f8 7388 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
7389 number of "frames-invalid" and "breakpoint-invalid" to be printed.
7390 * gdb.base/annota2.cc: Initialize a.x to 0.
7391
9e086581
JM
73921999-05-17 Keith Seitz <keiths@cygnus.com>
7393
7394 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7395 when "skip_float_tests" set.
7396 Ditto for "print print_double_array(array_d)", "print print_small_structs",
7397 "print print_ten_doubles", and "step into print_long_arg_list".
7398 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7399 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7400 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7401 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7402 "skip_float_tests" is set.
7403 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7404 when "skip_float_tests" set.
d63a86f8 7405
cd0fc7c3
SS
74061999-05-06 Keith Seitz <keiths@cygnus.com>
7407
7408 * gdb.base/annota2.cc: Include stdio.h.
7409
7410Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
7411
7412 * gdb.base/crossload.exp: Remove, this has been disabled ever
7413 since BFD stopped including all targets, and cross-GDB gets
7414 plenty of testing anyway.
7415 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7416 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7417 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7418 * gdb.base/README: Remove, was doc for this.
7419 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7420 needed.
7421
b83266a0
SS
74221999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7423
7424 * gdb.base/call-ar-st.exp: Fix one regular expression in test
7425 output.
7426
7427 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7428 * gdb.base/annota2.exp: New file. More annotation tests.
7429 * gdb.base/annota1.c: New file. Source file for annota1.exp.
7430 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7431
74321999-04-23 Angela Marie Thomas <angela@cygnus.com>
7433
7434 * config/cfdbug.exp: New file.
7435
7a292a7a
SS
74361999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
7437
7438 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7439 Marcus Daniel's and Dale Hawkins's demangler crashes.
7440
7441 * gdb.c++/demangle.exp (test_gnu_style_demangling,
7442 test_lucid_style_demangling, test_arm_style_demangling,
7443 test_hp_style_demangling): Try Tom Tromey's core-dumping
7444 identifier under each demangling style.
7445
74461999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
7447
7448 * gdb.c++/demangle.exp: Include the current demangling style
7449 in all test names.
7450 (current_demangling_style): New global variable.
7451 (set_demangling_style, test_demangling_core, test_demangling,
7452 test_demangling_exact): New functions.
7453 (test_gnu_style_demangling, test_lucid_style_demangling,
7454 test_arm_style_demangling, test_hp_style_demangling): Use those,
7455 instead of calling gdb_test and gdb_test_exact directly.
7456 (catch_demangling_errors): New function, which reports errors
7457 signalled by the demangling test functions in an orderly way.
7458 (do_tests): Use catch_demangling_errors.
7459
74601999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7461
7462 * gdb.base/signals.exp (test_handle_all_print): Use () for
7463 grouping in expressions, not {}.
7464
7465 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7466 initialized yet.
7467
74681999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7469
7470 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7471 are listed.
7472
74731999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7474
7475 * gdb.stabs/weird.exp: Test for CC being defined before
7476 looking at its value.
7477
74781999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7479
7480 * gdb.base/call-ar-st.exp: Remove stray '#'.
7481 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7482 "short int" and "long int".
7483 * gdb.c++/overload.cc: Cast the string added in the previous
7484 change, to mollify finicky HP compiler.
7485 * gdb.hp/reg-test.exp (testfile): Fix file name.
7486 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 7487
7a292a7a
SS
7488 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7489 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7490 alternate form of enum ptype.
7491
c906108c
SS
74921999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7493
7a292a7a
SS
7494 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7495 * gdb.hp/*.exp: Change all to run compiler probe only after
7496 passing skip_hp_tests, so as not to waste time on guaranteed
7497 failure.
7498
c906108c
SS
7499 * gdb.c++/overload.cc: Pass string instead of char addr, always
7500 init ccpfoo.
7501 * gdb.c++/templates.cc: Fix syntax error.
7502
7a292a7a
SS
7503Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7504
7505 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 7506 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
7507 command.
7508
75091999-03-18 James Ingham <jingham@cygnus.com>
7510
7511 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7512
7513 * gdb.c++/method.exp: It was testing an uninitialized int on the
7514 stack and assuming it was positive.
7515
7516 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7517
7518 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 7519 keep it from killing the rest of the tests.
7a292a7a
SS
7520 Use gdb_continue_to_end.
7521
7522 * gdb.base/sigall.exp: use gdb_continue_to_end.
7523
7524 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7525
7526 * gdb.base/display.exp: use runto_main, not run.
7527
d63a86f8
RM
7528 * gdb.base/default.exp: Check for the current error message in the
7529 r abbreviation test.
7a292a7a
SS
7530 Add strongarm to the targets that know info float.
7531
d63a86f8 7532 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
7533 run which doesn't work with monitors.
7534
7535 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7536
7537 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7538
7539 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
7540 program. Traps the case (in Cygmon) when the program never really
7541 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
7542 more places, so I used my name. Sorry Mark...
7543
7544 * config/monitor.exp (gdb_target_monitor): added another
7545 target_info parameter: remotebinarydownload. This will set the
7546 remotebinarydownload flag if this is causing some boards trouble.
7547
75481999-03-18 Mark Salter <msalter@cygnus.com>
7549
7550 * lib/gdb.exp (continue_to_exit): New function.
7551
7552 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7553 * gdb.base/ending-run.exp: Ditto.
7554 * gdb.base/step-test.exp: Ditto.
7555
75561999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7557
7558 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7559 (suggested by Art Haas <ahaas@neosoft.com>).
7560
75611999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7562
7563 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7564
7565Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7566
7567 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7568 descriptions of types (short unsigned int vs unsigned short, etc).
7569
75701999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7571
7572 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7573 a call to strlen; sometimes we do have sources.
7574
75751999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
7576
7577 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7578 character, so GDB won't print garbage after its end.
d63a86f8 7579
c906108c
SS
7580 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7581 breakpoint there instead. Sometimes GCC emits memcpy to handle
7582 the large structures being passed by value, so we step into that
7583 instead of sum_array_print, which obscures what we're really testing.
7584 * gdb.base/step-test.exp: However, we do want a test that notices
7585 the bizarre steps into memcpy, so do that here. Add check for
7586 stepping into function calls that pass large structures by value.
7587 ("Is that a noun clause, or are you just happy to see me?")
7588 Remove all references to specific line numbers.
7589 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7590 New type and function.
7591 (main): Call large_struct_by_value, passing it a large struct by value.
7592 * lib/gdb.exp (gdb_get_line_number): New function.
7593
7594 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7595 more portable.
7596
7a292a7a
SS
75971999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7598
c906108c
SS
7599 * lib/gdb.exp: Doc fixes.
7600
7a292a7a
SS
76011999-03-05 Nick Clifton <nickc@cygnus.com>
7602
d63a86f8 7603 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
7604
76051999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7606
c906108c
SS
7607 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7608 commands. They're not germane to this test, and they don't work
7609 that way on remote targets.
7610
3fc11d3e
JM
76111999-03-01 James Ingham <jingham@cygnus.com>
7612
7613 * Changelog entries merged over from gdb development branch.
7614
3fc11d3e
JM
7615 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7616
7617 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7618 for outputting results of test run.
7619
2d4a1622 7620 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
7621
7622 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 7623
7a292a7a
SS
76241999-02-25 Felix Lee <flee@cygnus.com>
7625
7626 * lib/gdb.exp (debug_format): initialize
7627
c906108c
SS
76281999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7629
7630 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7631 * gdb.base/call-rt-st.c: Ditto.
7632
c906108c
SS
76331999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7634
7635 * gdb.threads/pthreads.exp (horiz): New variable.
7636 (test_startup): Fix regexps that capture thread numbers.
7637
76381999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7639
7640 * gdb.base/smoke.exp: Disambiguate two test case names (both
7641 called ``print'').
7642
7643Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7644
7645 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7646 compilation.
7647
76481999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7649
7650 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7651 actual output formatting.
7652 * gdb.base/smoke.exp: GDB removes leading 0's.
7653 * gdb.base/volatile.exp: Don't check type of remuneration;
7654 that variable is no longer defined in constvars.c.
7655 * gdb.base/step-test.c (main): Exit with explicit exit code.
7656 * gdb.base/step-test.exp: Remove two nexti checks--they are
7657 not portable.
7658
76591999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7660
7661 * gdb.base/help.exp ("help delete display"): Fix test to match
7662 gdb's output.
7663
7664 * gdb.base/long_long.c (known_types): Initialize values to zero.
7665 * gdb.base/long_long.exp: Step one more line
7666 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 7667 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
7668 unique test case names.
7669
7670Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7671
d63a86f8 7672 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
7673
7674 * gdb.c++/method.exp: Add missing close brace.
7675
76761999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7677
7678 * gdb.base/maint.exp: Use 'set height 0' to disable page
7679 prompting, not 'set height 400'.
7680
7681 Fix a bunch of timeouts.
7682 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7683 four separate tests, so expect doesn't take forever to match a ton
7684 of text against a regexp with lots of .* forms.
7685 ("maint print psymbols", "maint print symbols"): Make some of
7686 these greps more selective, so that expect doesn't try to wade
7687 through huge piles of output and time out.
7688
7689 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7690
7691 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7692 tests: one which doesn't expect shlib events to be reported, and
7693 another which does, but is XFAIL for all platforms other than
7694 HP/UX.
7695
7696 * gdb.base/break.exp: Teach the test suite that the `catch
7697 fork', `catch vfork', and `catch exec' commands produce error
7698 messages on platforms that don't provide these features.
7699
7700Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7701
7702 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7703 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7704 (shortening names from solib_threshold.exp etc), won't run on
7705 anything but HP-UX for the foreseeable future.
7706 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7707 reflect move.
7708
7709Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7710
7711 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7712 gdb.trace/Makefile.in (clean): Remove all test executables.
7713
7714Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7715
7716 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7717 successfully re-sets breakpoints in shared libraries.
7718 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7719
7720Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7721
d63a86f8
RM
7722 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7723 and compiled w/o GCC.
c906108c
SS
7724
7725 * gdb.hp/watch-cmd.exp: ditto.
7726
7727 * gdb.hp/watch-hp.exp: ditto.
7728
7729 * gdb.hp/xdb1.exp: ditto.
7730
7731 * gdb.hp/xdb2.exp: ditto.
7732
7733 * gdb.hp/dbx.exp: ditto.
7734
7735Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7736
7737 * constvars.c: Remove C++-isms.
7738 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7739 with GCC.
7740
7741Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7742
7743 The following changes are part of the HP merge.
7744
7745 * gdb.base/break.exp: new tests to verify that catchpoints for
7746 fork, vfork, and exec don't trigger inappropriately.
7747
7748 * gdb.base/opaque.exp: compile one file at a time, then link.
7749
7750 * gdb.base/signals.exp: be more restrictive about which hppa
7751 systems receive a setup_xfail. new tests.
7752
7753 * gdb.base/solib_threshold.build: new file.
7754 * gdb.base/solib_threshold.exp: new file.
7755 * gdb.base/solib_threshold.link_opts: new file.
7756 * gdb.base/solib_threshold.mk: new file.
7757 * gdb.base/gen_solib_threshold.c: new file.
7758
7759 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7760 tests. New tests for enums inside classes.
7761
7762 * gdb.c++/compiler.cc: indicate support of template debugging.
7763
7764 * gdb.c++/demangle.exp: run hp style demangling tests.
7765
7766 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7767 tests.
7768
7769 * gdb.c++/misc.cc: changes to support new tests.
7770
7771 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7772 to support new tests.
7773
7774 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7775 gcc, then skip these tests.
7776
7777Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7778
7779 The following files are part of the HP merge; some had longer
7780 names at HP, but have been renamed to be no more than 14
7781 characters in length.
7782
7783 * gdb.hp/ambiguous.cc: new file.
7784 * gdb.hp/ambiguous.exp: new file.
7785 * gdb.hp/attach.exp: new file.
7786 * gdb.hp/attach2.exp: new file.
7787 * gdb.hp/classes-hp.exp: new file.
7788 * gdb.hp/ctti.exp: new file.
7789 * gdb.hp/ctti-add.cc: new file.
7790 * gdb.hp/ctti-add1.cc: new file.
7791 * gdb.hp/ctti-add2.cc: new file.
7792 * gdb.hp/ctti-add3.cc: new file.
7793 * gdb.hp/dbx.exp: new file.
7794 * gdb.hp/exception.cc: new file.
7795 * gdb.hp/exception.exp: new file.
7796 * gdb.hp/foll-exec.c: new file.
7797 * gdb.hp/foll-exec.exp: new file.
7798 * gdb.hp/foll-fork.c: new file.
7799 * gdb.hp/foll-fork.exp: new file.
7800 * gdb.hp/foll-vfork.c: new file.
7801 * gdb.hp/foll-vfork.exp: new file.
7802 * gdb.hp/inherit-hp.exp: new file.
7803 * gdb.hp/more-steps.exp: new file.
7804 * gdb.hp/namespace.cc: new file.
7805 * gdb.hp/namespace.exp: new file.
7806 * gdb.hp/optimize.exp: new file.
7807 * gdb.hp/pxdb.c: new file.
7808 * gdb.hp/pxdb.exp: new file.
7809 * gdb.hp/quicksort.exp: new file.
7810 * gdb.hp/reg-test.exp: new file.
7811 * gdb.hp/reg-test.s: new file.
7812 * gdb.hp/sized-enum.c: new file.
7813 * gdb.hp/sized-enum.exp: new file.
7814 * gdb.hp/start-stop.exp: new file.
7815 * gdb.hp/templ-hp.cc: new file.
7816 * gdb.hp/templ-hp.exp: new file.
7817 * gdb.hp/thr-lib.c: new file.
7818 * gdb.hp/thr-lib.exp: new file.
7819 * gdb.hp/thr-lib.h: new file.
7820 * gdb.hp/thr-liblib.c: new file.
7821 * gdb.hp/virtfun-hp.c: new file.
7822 * gdb.hp/virtfun-hp.exp: new file.
7823 * gdb.hp/watch-cmd.exp: new file.
7824 * gdb.hp/watch-hp.exp: new file.
7825 * gdb.hp/xdb1.exp: new file.
7826 * gdb.hp/xdb2.exp: new file.
7827 * gdb.hp/xdb3.exp: new file.
7828
7829Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7830
7831 The following files are part of the HP merge; some had longer
7832 names at HP, but have been renamed to be no more than 14
7833 characters in length.
7834
7835 * gdb.base/ss.h: new file.
7836 * gdb.base/call-ar-st.c: new file.
7837 * gdb.base/call-ar-st.exp: new file.
7838 * gdb.base/call-rt-st.c: new file.
7839 * gdb.base/call-rt-st-exp: new file.
7840 * gdb.base/call-strs.exp: new file.
7841 * gdb.base/ena-dis-br.exp: new file.
7842 * gdb.base/environ.exp: new file.
7843 * gdb.base/long_long.exp: new file.
7844 * gdb.base/sect-cmd.exp: new file.
7845 * gdb.base/shlib-cl2.exp: new file.
7846 * gdb.base/smoke.exp: new file.
7847 * gdb.base/so-impl-ld.c: new file.
7848 * gdb.base/so-impl-ld.exp: new file.
7849 * gdb.base/so-indr-cl.c: new file.
7850 * gdb.base/so-indr-cl.exp: new file.
7851 * gdb.base/varargs.exp: new file.
7852 * gdb.base/volatile.exp: new file.
7853 * gdb.base/whatis-exp.exp: new file.
7a292a7a 7854 * gdb.base/display.exp: new file.
c906108c
SS
7855 * gdb.c++/derivation.exp: new file.
7856 * gdb.c++/local.exp: new file.
7857 * gdb.c++/member-ptr.exp: new file.
7858 * gdb.c++/overload.exp: new file.
7859 * gdb.c++/ovldbreak.exp: new file.
7860 * gdb.c++/ref-types.exp: new file.
7861 * gdb.c++/ref-types2.exp: new file.
7862 * gdb.c++/userdef.exp: new file.
d63a86f8 7863
c906108c
SS
7864Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7865
7866 * gdb.base/default.exp: Reflect wording change in remote.c.
7867
dc96c6c7 7868Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7869
7870 * gdb.base/help.exp: Update to reflect current text.
7871
7872Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7873
7874 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7875 they're stack variables and contain garbage.
7876 * gdb.c++/anon-union.exp: new file.
7877
7878 The following changes were made by David Taylor
7879 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7880 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7881 in changes by HP.
7882
7883 * gdb.base/bitops.exp: new file.
7884 * gdb.base/default.exp: change expected messages for catch and
7885 info catch tests to reflect HP merge changes.
7886 * gdb.base/enable-disable-break.exp
7887 * gdb.base/ending-run.c: new file.
7888 * gdb.base/long_long.c: new file.
7889 * gdb.base/maint.exp: new file.
7890 * gdb.base/pointers2.exp: new file.
7891 * gdb.base/shlib-call2.exp: new file.
7892 * gdb.base/solib.exp: new file.
7893 * gdb.base/step-test.c: new file.
7894 * gdb.c++/anon-union.cc: new file.
7895 * gdb.c++/local.cc: new file.
7896 * gdb.c++/member-pointer.cc: new file.
7897 * gdb.c++/method.cc: new file.
7898 * gdb.c++/ref-types.cc: new file.
7899 * gdb.c++/ref-types2.cc: new file.
7900 * gdb.c++/userdef.cc: new file.
d63a86f8 7901
c906108c
SS
7902 * gdb.base/scope.exp: compile one file at a time, then link.
7903 * gdb.base/langs.exp: ditto.
7904 * gdb.base/list.exp: ditto.
d63a86f8 7905
c906108c
SS
7906Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
7907
7908 The following changes were made by David Taylor
7909 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7910 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7911 in changes by HP.
d63a86f8 7912
c906108c
SS
7913 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7914 skip tests. When compiling pass c++ flag to gdb_compile.
7915 * gdb.c++/
d63a86f8 7916
c906108c
SS
7917 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7918 test for on hppa*-*-hpux*; use args to see if c++ was specified.
7919 (skip_hp_tests): new function.
7920 (gdb_preprocess): new function.
7921
7922 * configure.in (hpdir): decide whether to configure gdb.hp.
7923 * configure: regenerated.
7924
7925 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7926 to delete on clean.
7927 (EXECUTABLES): update to reflect new additions.
7928 * gdb.base/commands.exp: update message expected.
7929 * gdb.base/default.exp: add copyright notice.
7930 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7931 * gdb.base/help.exp: update messages to reflect current text.
7932 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7933 targets for recurse tests.
7934 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7935 skip this file.
7936
7937 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7938 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7939 compilation.
7940 * gdb.c++/misc.exp: ditto.
7941 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7942 run the tests. tell gdb_compile that it's a c++ compilation.
7943
7944 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 7945
c906108c
SS
7946 * gdb.base/all-bin.exp: new file.
7947 * gdb.base/arithmet.exp: new file.
7948 * gdb.base/assign.exp: new file.
7949 * gdb.base/completion.exp: new file.
7950 * gdb.base/cond-expr.exp: new file.
7951 * gdb.base/condbreak.exp: new file.
7952 * gdb.base/define.exp: new file.
7953 * gdb.base/dollar.exp: new file.
7954 * gdb.base/environment.exp: new file.
7955 * gdb.base/eval-skip.exp: new file.
7956 * gdb.base/jump.exp: new file.
7957 * gdb.base/logical.exp: new file.
7958 * gdb.base/pointers.exp: new file.
7959 * gdb.base/relational.exp: new file.
7960 * gdb.base/section_command.exp: new file.
7961 * gdb.base/whatis-expr.exp: new file.
7962
7963 * gdb.base/all-types.c: new file.
7964 * gdb.base/call-array-struct.c: new file.
7965 * gdb.base/call-return-struct.c: new file.
7966 * gdb.base/call-strings.c: new file.
7967 * gdb.base/callfuncs2.c: new file.
7968 * gdb.base/condbreak.c: new file.
7969 * gdb.base/constvars.c: new file.
7970 * gdb.base/display.c: new file.
7971 * gdb.base/int-type.c: new file.
7972 * gdb.base/jump.c: new file.
7973 * gdb.base/miscexprs.c: new file.
7974 * gdb.base/pointers.c: new file.
7975 * gdb.base/pointers2.c: new file.
7976 * gdb.base/shmain.c: new file.
7977 * gdb.base/shr1.c: new file.
7978 * gdb.base/shr2.c: new file.
7979 * gdb.base/solib.c: new file.
7980 * gdb.base/solib1.c: new file.
7981 * gdb.base/solib2.c: new file.
7982 * gdb.base/varargs.c: new file.
7983 * gdb.c++/derivation.cc: new file.
7984 * gdb.c++/overload.cc: new file.
7985 * gdb.c++/ovldbreak.cc: new file.
7986 * gdb.hp/attach.c: new file.
7987 * gdb.hp/attach2.c: new file.
7988 * gdb.hp/average.c: new file.
7989 * gdb.hp/compiler.c: new file.
7990 * gdb.hp/compiler.cc: new file.
7991 * gdb.hp/execd-program.c: new file.
7992 * gdb.hp/follow-exec.c: new file.
7993 * gdb.hp/follow-fork.c: new file.
7994 * gdb.hp/follow-vfork-and-exec.c: new file.
7995 * gdb.hp/misc-hp.cc: new file.
7996 * gdb.hp/more-steps.c: new file.
7997 * gdb.hp/optimize.c: new file.
7998 * gdb.hp/quicksort.c: new file.
7999 * gdb.hp/run-hp.c: new file.
8000 * gdb.hp/start-stop.c: new file.
8001 * gdb.hp/sum.c: new file.
8002 * gdb.hp/templates-hp.cc: new file.
8003 * gdb.hp/thread-local-in-lib.c: new file.
8004 * gdb.hp/thread-local-in-lib.h: new file.
8005 * gdb.hp/thread-local-in-lib.lib.c: new file.
8006 * gdb.hp/vforked-program.c: new file.
8007 * gdb.hp/virtfunc-hp.cc: new file.
8008 * gdb.hp/watchpoint-hp.c: new file.
8009 * gdb.hp/xdb.c: new file.
8010 * gdb.hp/xdb0.c: new file.
8011 * gdb.hp/xdb0.h: new file.
8012 * gdb.hp/xdb1.c: new file.
8013
8014Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
8015
8016 The following change was made by Edith Epstein
8017 <eepstein@cygnus.com> as part of a project to merge in changes
8018 originally made by HP; HP did not create ChangeLog entries.
8019
8020 * gdb.c++/demangle.exp: changed the expected output for some
8021 ARM-style mangling -- removed second reference to datatype.
8022 For example, maint demangle __dt__11T1__pt__2_cFv
8023 T1<char>::~T1<char>(void)
8024 becomes,
8025 maint demangle __dt__11T1__pt__2_cFv
8026 T1<char>::~T1(void)
8027
8028 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 8029
c906108c
SS
8030Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
8031
8032 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
8033 * gdb.trace/backtrace.exp: Likewise.
8034 * gdb.trace/circ.exp: Likewise.
8035 * gdb.trace/collection.exp: Likewise.
8036 * gdb.trace/deltrace.exp: Likewise.
8037 * gdb.trace/infotrace.exp: Likewise.
8038 * gdb.trace/limits.exp: Likewise.
8039 * gdb.trace/packetlen.exp: Likewise.
8040 * gdb.trace/passc-dyn.exp: Likewise.
8041 * gdb.trace/passcount.exp: Likewise.
8042 * gdb.trace/report.exp: Likewise.
8043 * gdb.trace/save-trace.exp: Likewise.
8044 * gdb.trace/tfind.exp: Likewise.
8045 * gdb.trace/tracecmd.exp: Likewise.
8046 * gdb.trace/while-dyn.exp: Likewise.
8047 * gdb.trace/while-stepping.exp: Likewise.
8048
80491998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
8050
8051 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
8052
8053Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
8054
8055 From Brendan Kehoe:
8056 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
8057 int return types.
8058
8059Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
8060
8061 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
8062 remote dos host testing right.
8063
8064Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
8065
8066 * gdb.base/corefile.exp: remove some xfails.
8067
8068Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
8069
8070 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
8071 have different timestamps.
8072
8073Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
8074
8075 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
8076 gdb.base/default.exp: Replace "exec" with "executable".
8077
8078Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
8079
8080 * gdb.base/default.exp: Change else if to elseif from previous
8081 delta.
8082
8083Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
8084
8085 * gdb.base/default.exp: Add brace missing from previous delta.
8086
8087Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
8088
8089 * gdb.base/default.exp: Support test for info float for all
8090 varieties of arm toolchain.
8091
dc96c6c7 8092Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8093
8094 * gdb.trace/*.exp: remove "remote_download" command.
8095
dc96c6c7 8096Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8097
8098 * gdb.trace/*.exp: remove -gdwarf from compile.
8099
8100Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
8101
8102 * gdb.trace/configure.in(AC_INIT): typo
8103 * gdb.trace/configure: regenerated
8104
dc96c6c7 8105Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8106
8107 * config/m68k-emc.exp: New file.
8108 * lib/<emc-support.exp trace-support.exp}: New files.
8109 * configure.in: add new test directory gdb.trace.
8110 * gdb.trace/{configure configure.in Makefile.in}: New files.
8111 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
8112 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
8113 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
8114 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
8115 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
8116 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
8117 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 8118
dc96c6c7 8119Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8120
8121 * gdb.c++/classes.exp: Change all regular expressions to match
8122 arbitrary combinations of newline/carriage-return, so that they
8123 will work equally well on Unix and Windows.
8124 * gdb.c++/inherit.exp: ditto.
8125 * gdb.c++/virtfunc.exp: ditto.
8126
81271998-08-11 Dawn Perchik <dawn@cygnus.com>
8128
8129 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
8130
c2d11a7d
JM
8131Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
8132
8133 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
8134 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
8135 to use a0-a3/d0-d3 as needed.
8136
8137Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
8138
8139 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
8140 * gdb.disasm/am33.exp: Corresponding changes.
8141
c906108c
SS
81421998-07-11 Felix Lee <flee@cygnus.com>
8143
8144 * gdb.base/callfuncs.exp: add cmp10 test.
8145 * gdb.base/callfuncs.c (cmp10): new function.
8146
8147Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
8148
d63a86f8 8149 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
8150 into two parts to get around a synchronization problem in expect.
8151
3fc11d3e
JM
8152Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
8153
8154 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
8155
8156 * configure.in: Add options for gdbtk testsuite.
8157
8158 * configure: Regenerate.
8159
8160 * gdb.gdbtk: New directory to hold gdbtk tests.
8161
c906108c
SS
8162Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8163
8164 * gdb.fortran/types.exp: Escape brackets in expect patterns
8165 for test_float_literal_types_accepted tests.
8166 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
8167 before run test.
8168
c2d11a7d
JM
8169Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
8170
8171 * am33.exp: Just compile, do not link the testcase.
8172 * am33.s: Add ".am33" pseudoop to force am33 mode.
8173
c906108c
SS
81741998-06-25 Felix Lee <flee@cygnus.com>
8175
8176 * gdb.base/setshow.exp: make sure $pc is sane.
8177
8178 * gdb.stabs/weird.exp: split expect patterns properly.
8179
c2d11a7d
JM
8180Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
8181
8182 * gdb.disasm/am33.s: New disassembler testfile for the am33.
8183 * gdb.disasm/am33.exp: Run it.
8184
dc96c6c7 8185Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8186
8187 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
8188 match processing (and eliminate spurious timeouts when running).
8189
dc96c6c7 8190Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8191
8192 * gdb.base/signals.exp (test_handle_all_print): put back Mach
8193 exception test, but conditionalize it on target [mach | gnu].
8194
dc96c6c7 8195Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8196
8197 * gdb.base/overlays.exp: fixup compile line for linker script.
8198
8199Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
8200
8201 * gdb.fortran/types.exp: don't guess at float size.
8202
8203Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
8204
8205 * gdb.base/exprs.exp: delete test that depends on int size.
8206
8207Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
8208
8209 * config/sim.exp: Removed checks for target triplets.
8210 (gdb_target_sim): Use gdb,target_sim_options.
8211
8212Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
8213
8214 * gdb.base/reread.exp: New file.
8215 * gdb.base/reread1.c: New file.
8216 * gdb.base/reread2.c: New file.
8217
8218Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
8219
8220 * config/sim.exp: Use 'target sim -sparclite' when running
8221 SPARClite programs.
8222
8223Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
8224
8225 * gdb.base/structs2.exp: New file.
8226 * gdb.base/structs2.c: New file.
8227
8228Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
8229
8230 * gdb.asm/common.inc: New file.
8231 * gdb.asm/d10v.inc: New file.
8232 * asm-source.exp: Pass -I's to gas to find .inc files.
8233 Update line numbers in expected output.
8234 * asmsrc1.s: Rewrite.
8235 * asmsrc2.s: Rewrite.
8236 * configure.in: Create arch.inc symlink.
8237 * configure: Regenerate.
8238 * Makefile.in (distclean): Delete arch.inc.
8239
8240Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
8241
8242 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
8243 (t_enum_value2): ditto
8244 (t_enum_value3): ditto
8245 (main): ditto
8246Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8247
8248 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
8249 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
8250 change.
8251 Use gdb_test instead of send_gdb/gdb_expect sequences.
8252
8253Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
8254
8255 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
8256 not void.
8257
8258Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
8259
8260 * gdb.base/branches.c: Code with lots of loops and
8261 subroutines. Used to test gdbs ability to single step through PC
8262 changes, especially to test mips-tdep.c:mips_next_pc
8263
8264Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
8265
8266 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
8267 more rigorous EGCS C++ error checking.
8268
8269Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8270
8271 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 8272 tests.
c906108c 8273 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 8274 function when asleep.
c906108c 8275 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
8276 for i*86 Linux and SVR4 signal handling problems.
8277 Remove linux xfail for `next to handler in signals_tests_1', fixed
8278 by recent infrun.c change.
c906108c 8279 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 8280 stack backtraces.
c906108c
SS
8281 Adjust expect pattern in `handle all print' test to match Apr 28 1997
8282 target.[ch] change.
8283
8284Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
8285
8286 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
8287 for a newline from gdb before continuing.
8288 (default_gdb_exit): Just look for y or n.
8289 (gdb_test): Detect abnormal exit from GDB running on DOS; if
8290 it does, fail the rests of the tests in the file.
8291
8292Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
8293
8294 * config/cygmon.exp: New file.
8295
8296Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
8297
8298 * gdb.base/list.exp: Fix problem with "list default lines around
8299 main" test on remote targets.
8300
8301 * gdb.base/scope.exp: Fix problem with filelocal_bss before
8302 run test on remote targets.
8303
8304Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
8305
8306 * gdb.asm: New directory.
8307 * configure.in: Configure it.
8308 * configure: Regenerate.
8309 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
8310 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
8311
8312Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
8313
8314 * config/mn10300-eval.exp: New file to support MN10300 eval board.
8315
dc96c6c7 8316Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8317
c906108c
SS
8318 * gdb.base/overlays (several files): Merge the two overlay
8319 managers into one. Change variables (foox, barx, bazx, grbxx)
8320 back into ints but force them to load in their proper sections.
8321
8322Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
8323
8324 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
8325 on-chip insn memory and IMAP1 to upper 128k.
8326 (D10VCopy): Handle memory regions crossing 16k boundaries.
8327 (D10VCopy): Transfer data in 32 bit chunks.
8328
8329Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
8330
8331 * gdb.base/overlays.c (main): Exit normally when result is
8332 correct.
8333
8334 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
8335 map. Include space for printf in .text segment.
8336
8337 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
8338 updated d10v memory VMA/LMA map.
8339 (D10VCopy): Call D10VTranslate.
d63a86f8 8340
c906108c
SS
8341Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
8342
8343 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8344
8345 * gdb.base/bar.c (barx, bar): Change variable to small array so
8346 that it won't be put into the .sdata - small data -
8347 section. Update reference.
8348 * gdb.base/baz.c (bazx, baz): Ditto.
8349 * gdb.base/foo.c (foox, foo): Ditto.
8350 * gdb.base/grbx.c (grbxx, grbx): Ditto.
8351
8352 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8353 to be arrays.
d63a86f8 8354
dc96c6c7 8355Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8356
c906108c
SS
8357 * gdb.base/overlays.exp: fix up and get working again.
8358 Add tests for backtraces from an overlay function.
d63a86f8 8359
c906108c
SS
8360Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
8361
8362 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8363 "calling function with watchpoint enabled".
8364
8365Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
8366
8367 * gdb.base/break.exp (test_next_with_recursion): Remove
8368 gdb_suppress_tests for d10v-*-*.
8369 * lib/gdb.exp (gdb_suppress_tests): Disable this function
8370 pending review of whether it is useful or not.
8371
8372Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
8373
8374 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8375
8376Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
8377
8378 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8379 * config/dve.exp: New file to support Densan boards.
8380
8381Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
8382
8383 * gdb.base/interrupt.exp: Document problem of simulators, signals,
8384 reads and BSD.
8385
8386Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
8387
8388 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8389 response.
8390
8391 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8392
8393Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
8394
8395 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8396 test.
8397
8398 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8399 target_sizeof_long and target_bigendian_p.
8400 (structs_by_value, structs_by_reference): Check values according
8401 to targets word size and endianess.
d63a86f8 8402
c906108c
SS
8403Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
8404
8405 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8406 output.
8407
8408Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
8409
8410 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8411 Update test of set args help to match source change.
8412
8413Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
8414
8415 * gdb.base/default.exp: Expect help system output to be in
8416 alphabetical order.
8417 * gdb.base/help.exp: Ditto.
8418
8419Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
8420
8421 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8422 "i*86-pc-linux-gnu*".
8423 * gdb.base/interrupt.exp: Ditto.
8424 * gdb.base/corefile.exp: Ditto.
8425
8426 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8427 define vxworks when building the testcase.
8428
8429 * gdb.base/ptype.exp: Fix testnames to be unique.
8430 * gdb.base/radix.exp: Ditto.
8431 * gdb.base/term.exp: Ditto.
8432 * gdb.base/whatis.exp: Ditto.
8433 * gdb.c++/classes.exp: Ditto.
8434
8435Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
8436
8437 * gdb.base/callfuncs.exp: Fix indentation.
8438
8439 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8440 suppress_flag has been set.
8441 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8442 target feature.
8443
8444Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
8445
8446 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8447 the testcase.
8448
8449 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8450 set_debug_traps() and breakpoint().
8451 * gdb.c++/misc.cc (main): Ditto.
8452 * gdb.c++/templates.cc (main): Ditto.
8453 * gdb.c++/virtfunc.cc (main): Ditto.
8454
8455Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8456
8457 * lib/gdb.exp(gdb_step_for_stub): New function.
8458 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8459 exists, reload the executable and do a "continue" instead of
8460 doing a jump.
8461 (runto_main): Use gdb_step_for_stub.
d63a86f8 8462
c906108c
SS
8463 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8464 tests to have unique names.
8465 * gdb.base/callfuncs.exp: Ditto.
8466 * gdb.base/commands.exp: Ditto.
8467 * gdb.base/default.exp: Ditto.
8468 * gdb.base/help.exp: Ditto.
8469 * gdb.base/list.exp: Ditto.
8470 * gdb.base/opaque.exp: Ditto.
8471 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8472 similar tests.
d63a86f8 8473
c906108c
SS
8474 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8475 * gdb.c++/cplusfuncs.cc: Ditto.
8476 * gdb.c++/virtfunc.cc: Ditto.
8477
8478 * config/monitor.exp: Keep track of the last file we saw, rather
8479 than trying to get the info from gdb.
8480
8481 * gdb.fortran/types.exp: Move comment to previous line.
8482
8483Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8484
8485 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8486 target mode.
8487
8488Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8489
8490 From Bob Manson:
8491 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8492 string from GDB when it connects.
8493
8494 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8495
8496Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8497
8498 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8499 if we can't get a debug format from GDB (we may be testing an
8500 older GDB). Use a 10 second timeout when checking for the format.
8501
8502 * gdb.stabs/weird.exp: Fix quoting.
8503
8504 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8505
8506Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8507
8508 * config/arm-ice.exp: New file.
8509
8510Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8511
8512 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8513 until it has been modified to work with the new testsuite.
8514
99707966 8515 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
8516 testcase won't compile, cause all of the testcases in the file to
8517 fail instead.
8518
8519 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8520 (gdb_clear_suppressed): New procedure.
8521 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8522 it contains a positive value.
8523
8524Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8525
8526 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8527
8528 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8529
8530Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8531
8532 * lib/gdb.exp (setup_xfail_format): New function.
8533 (get_debug_format): New function to get debug format.
8534 (debug_format): New global variable to hold last value set
8535 by get_debug_format.
8536 * gdb.base/list.exp: Call get_debug_format and expect some
8537 tests to fail for DWARF 1 and COFF formats.
8538 * gdb.c++/ptype.exp: Ditto.
8539 * gdb.c++/classes.exp: Ditto.
8540 * gdb.c++/cplusfuncs.exp: Ditto.
8541 * gdb.c++/inherit.exp: Ditto.
8542 * gdb.c++/templates.exp: Ditto.
8543 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 8544
c906108c
SS
8545Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8546
8547 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8548 host doesn't have a currently-open connection.
8549
8550 * config/sparclet.exp: Cleanups and fixes to make it generic for
8551 any gdb stub target. Handle cases where gdb doesn't respond when
8552 interrupted in a sane fashion.
8553
8554 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8555 same thing in a totally different way.
8556
8557 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8558 setting "timeout".
8559 (gdb_start): We set the global gdb_prompt variable in
8560 default_gdb_init now.
8561
8562Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8563
8564 * gdb.base/printcmds.exp: Fix "check for floating addition"
8565 regexp to accept results within approx +/- .01 of exact value.
8566 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8567
8568Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8569
8570 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8571 properly.
8572 (gdb_expect): Add optional timeout parameter, and add timeout
8573 value to various calls.
8574 (gdb_suppress_tests): Only give one warning message per group.
8575
8576Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8577
8578 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8579 global variables. Handle getting a value for $timeout more
8580 gracefully.
8581
8582Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8583
8584 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8585 initialize.
8586 (default_gdb_init): New procedure; allow gdb_init to be overridden
8587 by a target configuration file.
8588 (gdb_expect): Pass the timeout to remote_expect.
8589
8590 * config/monitor.exp(gdb_load): Fix typo in regexp.
8591
8592Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8593
8594 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8595
8596Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8597
8598 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8599 here. Call gdb_target_exec before rebooting the target, to make
8600 sure the connection to the target is closed.
8601 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8602 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8603 Also detect "Timeout reading from remote" error.
8604
8605 * config/gdbserver.exp: Pass the executable being loaded to
8606 gdb_target_monitor. Don't call gdb_file_cmd here; let
8607 gdb_target_monitor do it.
8608
8609 * gdb.disasm/hppa.exp: Don't use exec_output.
8610
8611Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8612
8613 * gdb.base/list.exp: If we're debugging a non-native target,
8614 try to set the pc register to point to the start of the
8615 program before doing the first list command.
8616
8617 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8618 test_calls after restarting.
8619
8620 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8621 reloading.
8622
8623 * gdb.base/watchpoint.exp: Fix typo.
8624
8625 * gdb.base/setshow.exp: Check for use_gdb_stub.
8626
8627 * gdb.base/break.exp: Fix continue until exit test for the gdb
8628 stub case.
8629 * gdb.base/langs.exp: Ditto.
8630
8631 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8632 gdb_load_offset. If we weren't given a file to load, figure out
8633 what the current file is and use it.
8634
8635 * config/i386-bozo.exp: New file.
8636
8637Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8638
8639 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8640 feature.
8641
8642 * config/proelf.exp: New entry.
8643
8644Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8645
8646 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8647 of regexps.
8648
8649 * gdb.base/watchpoint.exp: Don't run the test_stepping
8650 tests if gdb can't call functions on the target.
8651
8652 * gdb.base/setshow.exp: Don't run the set prompt tests if
8653 the board has gdb_prompt set.
8654
8655Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8656
8657 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8658 * gdb.base/commands.exp: Likewise.
8659 * gdb.base/setshow.exp: Likewise.
8660
8661Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8662
8663 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8664 feature.
8665
8666 * config/i960.exp: New file.
8667
8668Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8669
8670 * gdb.base/funcargs.exp: Check for gdb,short_int target
8671 feature instead of looking for explicit target triplets.
8672
dc96c6c7 8673Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 8674
d63a86f8 8675 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
8676 "p 123DEADBEEF", to check parse_number.
8677 * top.c: change "to enable to enable" to "to enable" in a couple
8678 of help strings.
8679
8680Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8681
8682 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8683 on the mn10300.
d63a86f8 8684
c906108c
SS
8685Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8686
8687 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8688 where the test executable is run with explicit args.
8689 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8690
8691Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8692
8693 * gdb.base/run.c: Use FAKEARGV to build test executable that
8694 does not require a command line arg, since most simulators
8695 don't currently support passing such an arg into the simulated
8696 program.
8697 * gdb.base/commands.exp: Change tests to insert the proper
8698 value as the arg to the first recursive factorial call. Change
8699 compilation line to define FAKEARGV at compile time.
8700
8701Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8702
8703 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8704 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8705 function with watchpoint enabled" test.
8706
8707Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8708
8709 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8710 Don't call gdb_test when the command doesn't return to a gdb prompt.
8711
8712 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8713 "Tests restarted" messages.
8714
8715Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8716
8717 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8718
dc96c6c7 8719Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8720
8721 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8722 for INFO SYMBOL; add help tests for OVERLAY commands.
8723 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8724 add tests for OVERLAY commands
8725 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8726 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8727 * gdb.base/sigall.c: add usestubs code frag
8728 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 8729
c906108c
SS
8730Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8731
8732 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8733 failures.
8734 (gdb_stop_suppressing_tests): Note that tests have restarted.
8735
8736Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8737
8738 * config/h8300.exp: New file.
8739
8740Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8741
8742 * gdb.base/setshow.exp: Check for the existence of a
8743 feature, not its value.
8744
8745Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8746
8747 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8748
8749 * gdb.base/scope.exp: It's now init0(), not init().
8750
8751 * gdb.base/scope0.c: For now, change init() to be init0().
8752
8753 * config/monitor.exp: Use gdb_serial in preference to serial
8754 or netport.
8755
8756 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8757 and it's not already set.
8758
8759Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8760
8761 * gdb.base/setshow.exp: Only test the run command if the target
8762 isn't using a stub and if it supports argument passing.
8763
8764Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8765
8766 * config/udi.exp(gdb_start): Make sure UDICONF is set
8767 properly before starting gdb.
8768
8769Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8770
8771 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8772 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8773 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8774
8775Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8776
8777 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8778 specialized code to reboot the board, use remote_reboot instead.
8779
8780 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8781
8782 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8783
8784 * config/monitor.exp: Make sure we disconnect from the target.
8785 Also, try a reboot/reload cycle instead of failing if the
8786 load fails.
8787
8788Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8789
8790 * gdb.base/default.exp: Don't set match_max.
8791 * gdb.base/help.exp: Ditto.
8792 * gdb.base/list.exp: Ditto.
8793 * gdb.base/signals.exp: Ditto.
8794
8795 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8796 set, use remote_ld to download the testcase instead of
8797 the GDB loader.
8798
8799Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8800
8801 * config/vr5000.exp: New file.
8802
8803 * config/monitor.exp(gdb_target_monitor): Add pattern for
8804 "Ending remote" to detect errors in connecting.
8805
8806 * gdb.base/setshow.exp: Add .* within auto language test.
8807
8808 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8809 target feature.
8810
8811 * config/monitor.exp(gdb_load): Check for a failure when loading,
8812 and reboot the board if necessary.
8813
8814 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8815 a set of tests. Remove print.* from the patterns being checked.
8816
8817Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8818
8819 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8820 refer to gdb_spawn_id.
8821
8822 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8823 longer used.
8824 * config/sparclet.exp: Ditto.
8825 * config/sparclet-old.exp: Ditto.
8826 * config/slite.exp: Ditto.
8827 * config/sim.exp: Ditto.
8828 * gdb.base/funcargs.exp: Ditto.
8829
8830 * lib/gdb.exp:Remove references to gdb_spawn_id.
8831 (gdb_expect): Move to remote.exp.
8832
8833Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8834
8835 * config/monitor.exp: Detect the "Couldn't establish connection"
8836 message from GDB.
8837
8838Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8839
8840 * gdb.base/bitfields.exp: Use runto instead of explicit
8841 gdb_run_cmd/gdb_expect sequences.
8842
8843 * gdb.base/break.exp(text_next_with_recursion): Add match for
8844 gdb_expect call.
8845
8846 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8847 We also need to handle the "A program is being debugged already"
8848 prompt from gdb. Use gdb_test to set the baud rate.
8849
8850 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8851 to 20000. Really. I mean it.
8852
8853Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8854
8855 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8856 fails. If suppress_flag is set, skip perror message about not
8857 being able to send to GDB.
8858 (send_gdb): If suppress_flag is set, don't try to send commands to
8859 GDB.
8860 (gdb_expect): If suppress_flag is set, always fail immediately.
8861 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8862 (gdb_init): Call gdb_stop_suppressing_tests.
8863 (default_gdb_exit): Ditto.
8864 (default_gdb_start): Ditto.
8865
8866 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8867 gdb_stop_suppressing_tests as appropriate.
8868 * gdb.base/break.exp: Ditto.
8869 * gdb.base/callfuncs.exp: Ditto.
8870 * gdb.base/commands.exp: Ditto.
8871 * gdb.base/exprs.exp: Ditto.
8872 * gdb.base/funcargs.exp: Ditto.
8873 * gdb.base/list.exp: Ditto.
8874 * gdb.base/recurse.exp: Ditto.
8875 * gdb.base/scope.exp: Ditto.
8876 * gdb.base/structs.exp: Ditto.
8877 * gdb.c++/inherit.exp: Ditto.
8878
8879Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8880
8881 * config/vr4300.exp: New file.
8882
99707966 8883 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 8884
99707966 8885 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
8886
8887Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
8888
8889 * lib/gdb.exp(gdb_init): New function.
8890
8891 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8892 for each individual variable set.
8893
8894 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8895 name.
8896
8897 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8898
8899 * gdb.base/scope.exp: Use gdb_test.
8900
8901 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8902 aborting; the testsuite driver will do that for us (see
8903 gdb_finish). Also, use gdb_test in a few more places.
8904
8905Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
8906
8907 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8908
8909Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
8910
8911 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8912 and "add_tests" are not at the same address.
8913
8914Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
8915
8916 * gdb.base/ptype.exp: Use gdb_test.
8917
8918Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
8919
8920 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8921 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8922 left in. No longer expect them to fail.
8923
8924 * gdb.stabs/*.mt; Deleted, no longer used.
8925 * gdb.stabs/configure.in: Remove references to target makefile
8926 frags.
8927 * gdb.stabs/configure: Rebuilt.
8928
8929 * gdb.disasm/*.mt: Deleted, no longer used.
8930 * gdb.disasm/configure.in: Remove references to target makefile
8931 frags. Use "sh3.s" as the unique filename for this directory.
8932 * gdb.disasm/configure: Rebuilt.
8933
8934 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8935 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8936 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8937
8938Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
8939
8940 * config/udi.exp: Use mondfe,name instead of remote_host.
8941
8942Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
8943
8944 * gdb.base/watchpoint.exp: Don't expect a failure when calling
8945 a function with a watchpoint enabled on the mn10200.
8946
8947 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8948 before trying to create it!
8949
8950Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
8951
8952 * config/vx.exp: Use hostname instead of netport.
8953
8954 * config/vxworks.exp: New file.
8955
8956 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8957
8958 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
8959 gdb before assuming everything worked. Send a ^C if a timeout
8960 occurs.
8961
8962 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8963 $gdb_spawn_id directly.
8964 (gdb_run_cmd): Try _start as well as start. Use the target feature
8965 gdb,start_symbol as the symbol to start from when jumping.
8966
8967Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
8968
8969 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8970 redundant) test.
8971
8972 * gdb.base/recurse.exp: Relax final value test for 'b' so that
8973 it doesn't lose for 16bit integer systems.
8974
8975Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
8976
8977 * gdb.fortran/types.exp: If the target doesn't support "double"
8978 data types, then expect "real" types to only be 4 bytes.
8979
8980 * gdb.c++/virtfunc.exp: Expect failure for virtual function
8981 call tests if the target doesn't support inferior function calls.
8982
8983 * gdb.base/printcmds.exp: Allow minor deviation in FP values
8984 in printf tests.
8985
8986Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
8987
8988 * gdb.base/help.exp: Disable "help set", "help show", and
8989 "help support". Simplify regexp for "help stack".
8990
8991 * gdb.base/default.exp: Set match_max to 5000 and the timeout
8992 to 60 seconds. Temporarily set match_max to 15000 around the
8993 "info copying" test.
8994
8995 * gdb.base/nodebug.exp: Don't try to do an inferior function
8996 call if the target doesn't support them.
8997 * gdb.base/printcmds.exp: Likewise.
8998 * gdb.base/setvar.exp: Likewise.
8999 * gdb.base/structs.exp: Likewise.
9000 * gdb.c++/templates.exp: Likewise.
9001 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
9002
9003 * gdb.base/recurse.exp: Enable for the mn10200.
9004
9005 * configure.in: Do configure gdb.stabs directory for *-*-elf
9006 targets.
9007 * configure: Rebuilt.
9008
9009 * gdb.base/break.exp: Check for gdb,noresults before testing
9010 exit status and/or results from the target.
9011 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
9012 * lib/gdb.exp: Remove old (now bogus) initialization of
9013 noinferior, noargs, noresults and nosignals.
9014
9015Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
9016
9017 * config/sh.exp: New file.
9018
9019 * config/slite.exp: Try to connect multiple times to the board
9020 before rebooting. Only send a "monitor run" if need_monitor_run
9021 is set.
9022
9023 * gdb.base/break.exp: Don't do the "stub continue" test if
9024 the target has gdb_stub set.
9025
9026 * gdb.base/callfuncs.exp: Increase the timeout.
9027
9028 * gdb.base/interrupt.exp: Don't even try to compile the testcase
9029 if the target has gdb,noinferiorio set.
9030
9031 * gdb.base/list.exp: Increase match_max to 10000 characters.
9032
9033 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
9034
9035 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
9036 target.
9037
9038 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
9039
9040Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
9041
9042 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
9043 trying to delete the copy of gdb. Catch the file delete so we
9044 don't die if the delete fails; also, the file should be copied to
9045 the host, not to the build.
9046
9047Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
9048
9049 * lib/gdb.exp(gdb_test): Surround the result pattern with
9050 parenthesis in case it contains multiple regexps separated
9051 with |.
9052
9053 * gdb.base/watchpoint.exp: Use gdb_test.
9054 * gdb.base/default.exp: Ditto.
9055
9056Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
9057
99707966 9058 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 9059
c906108c
SS
9060 * gdb.base/scope.exp: Use gdb_test.
9061 * gdb.c++/classes.exp: Ditto.
9062 * gdb.c++/inherit.exp: Ditto.
9063
9064Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
9065
9066 * gdb.base/crossload.exp: Don't use execute_anywhere, use
9067 remote_exec instead.
9068 * gdb.base/corefile.exp: Don't be ridiculous.
9069 * gdb.base/*.c: Add missing stub invocations.
9070
9071Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
9072
9073 * config/slite.exp: Miscellaneous fixes.
9074
9075 * lib/gdb.exp: Fix runto.
9076
9077 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
9078 the target.
9079
9080 * gdb.base/watchpoint.exp: Fix regexp.
9081
9082 * lib/gdb.exp(default_gdb_exit): Add a catch to the
9083 close and wait commands, as the descriptor may now be
9084 invalid. Always call "remote_close host".
9085
9086Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
9087
9088 Major rewrite for testsuite revision.
d63a86f8 9089
c906108c
SS
9090 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
9091 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
9092 instead of relying on spawn_id to always contain a valid
9093 spawn id.
9094 (get_compiler_info): New procedure to build the ${binfile}.ci
9095 file, instead of replicating this in N different places.
9096 (gdb_compile): New procedure.
d63a86f8 9097
c906108c
SS
9098 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
9099 appropriate arguments) instead of compile. Use gdb_test in a lot
9100 more places. Use send_gdb instead of send. Always run gdb_start
9101 at the start of a testcase, as this is no longer done magically.
9102
9103 config/*-gdb.exp: Rename without the -gdb suffix.
9104
9105 config/mips.exp: Use remote_close instead of exit_remote_shell.
9106 config/monitor.exp: Use target_info instead of looking at
9107 baud, timeout, etc.
9108 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
9109
9110Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9111
9112 * gdb.c++/templates.exp (test_ptype_of_templates),
9113 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
9114 Update expect patterns for destructors and assignment operators
9115 to match corresponding c-typeprint.c changes.
9116 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
9117 to destructor breakpoint test, GDB should be able to set the
9118 destructor breakpoint without specifying arguments.
9119
9120Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
9121
9122 * gdb.threads/pthreads.exp: Change result for failure to compile due
9123 to lack of pthreads runtime support from an error to simply an
9124 unsupported test, per dejagnu standards.
9125
9126Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9127
9128 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
9129 where GDB exits to reduce pattern match time.
9130 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
9131
9132 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
9133
dc96c6c7 9134Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9135
9136 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
9137 * gdb.base/default.exp: ditto.
9138 * gdb.base/nodebug.exp: ditto.
9139 * gdb.base/printcmds.exp: ditto.
9140 * gdb.base/ptype.exp: ditto.
9141 * gdb.base/setvar.exp: ditto.
9142 * gdb.base/structs.exp: ditto.
9143 * gdb.base/setshow.c: Guard against uninitialized values of argc.
9144
9145Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
9146
9147 * configure, */configure: Rebuild with autoconf 2.12.
9148
9149Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
9150
9151 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
9152 use new i*86-pc-linux*-gnu quads.
9153 * gdb.base/corefile.exp: Ditto.
9154 * gdb.base/signals.exp: Ditto.
9155 * gdb.base/sigall.exp: Ditto.
9156 * gdb.base/interrupt.exp: Ditto.
9157
9158 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
9159 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
9160 RedHat 4.0.
d63a86f8 9161
c906108c
SS
9162 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
9163 linux. This allows the test case to at least compile on latest
9164 linux, but still not run due to missing the threads runtime library.
9165
9166Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9167
9168 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
9169 directory to search gdb directory. Accept and step over conditional
9170 stack alignment code. Consume $prompt in failure cases.
9171 Reset timeout to $oldtimeout instead of some arbitrary value.
9172 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
9173 timeout problems with infinite stack backtraces.
9174 * gdb.base/ptype.exp (ptype struct link, union tu_link):
9175 Accept function parameters for linkfunc member.
9176
9177Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
9178
9179 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
9180 (CXXFLAGS): Remove, unreferenced.
9181 (B_OPTIONS): Add for -B options and add code to initialize with
9182 previous -B options and also add -B option to pick up cross compiled
9183 runtime.
9184 (TARGET_INCLUDES): Add for -I options and add code to initialize when
9185 doing cross compiles.
9186 (target_alias): Declare global.
9187 (xgcc): Set variable to full path of gcc in build tree. Use findfile
9188 to verify that gcc exists in build tree, and if so set CC to that
9189 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 9190
c906108c
SS
9191Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
9192
9193 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
9194 ptype test for anonymous union. Fixup testcase to match
9195 current gcc debug output.
9196
9197Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
9198
9199 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
9200 force argument to an unsigned long type.
9201
9202Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
9203
9204 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
9205 tests and anonymous union print/ptype tests.
9206 * gdb.base/list.exp (test_forward-search): Increase timeout by
9207 5 minutes for the "search extremely long line" case.
9208 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
9209 completely optional and that the pass/fail messages use the command as
9210 the message if that third arg is a null string.
9211 (gdb_test_exact): Arrange that a null string pattern means match a
9212 null string output rather than any output, which might include random
9213 errors.
9214 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
9215 backtrace test.
9216 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
9217 always failing and failure is now exposed by gdb.exp changes.
9218
9219Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
9220
9221 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
9222 weren't being noted.
9223
9224Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9225
9226 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
9227 * gdb.stabs/weird.exp: Remove v_comb xfails.
9228
dc96c6c7 9229Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9230
9231 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
9232 list.exp scope.exp watchpoint.exp]
9233 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 9234
dc96c6c7 9235Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9236
9237 * config/monitor.exp: Increase download timeout to 1000 seconds.
9238
dc96c6c7 9239Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9240
9241 * config/m32r.exp: Increase timeout to 120 seconds.
9242
9243Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
9244
9245 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
9246 and accept older ordering as obsolescent gcc or gdb.
9247 * gdb.c++/templates.exp: Ditto.
9248 * gdb.c++/virtfunc.exp: Ditto.
9249
9250Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
9251
9252 * gdb.base/coremaker.c: Add code to mmap some data so we
9253 can check that it ends up in the core file.
9254 * gdb.base/corefile.exp: Add test to read mmapped data
9255 from core file.
9256
dc96c6c7 9257Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9258
9259 * config/m32r.exp: New file.
9260
9261Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
9262
9263 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
9264 that cflags can contains -gstabs, and work correctly for other tests.
9265
dc96c6c7 9266Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9267
9268 * gdb.base/setshow.exp: New file, tests show and set.
9269 * gdb.base/setshow.c: New file, tests show and set.
9270 * gdb.base/help.exp: Add test for help set|show annotate.
9271 * gdb.base/default.exp: Add test for set|show annotate.
9272
9273Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
9274
9275 * testsuite/gdb.base/break.exp: Make backtrace from factorial
9276 errors unique.
9277 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
9278 explicitly.
9279
9280Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
9281
9282 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
9283 and width commands. This is done elsewhere.
9284 * (gdb_start): Don't call gdb_start_sim here. That's already
9285 done in gdb_load. This fixes lots of failures in default.exp.
9286
9287Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
9288
9289 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
9290 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
9291 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
9292 in the same we we treat other failures (since it may be an expected
9293 condition), rather than as an error.
9294 * gdb.base/signals.exp (test_handle_all_print): Revert back to
9295 old test format.
9296
9297Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
9298
9299 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
9300 (distclean maintainer-clean realclean): No need to remove files
9301 twice. Nuke the duplicates.
9302 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 9303 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
9304 Remove config.h along with other config files.
9305
9306Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
9307
9308 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
9309 "p func1 ()" and note that rests of tests are skipped.
9310 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
9311 setup_xfails for "print func2::coremaker_local".
9312 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
9313 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
9314 affected by the previous run test.
9315 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
9316 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
9317 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
9318 "pass int powerset tuple" and "pass modeless int powerset tuple".
9319 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
9320 "real write 4" and "real write 8".
9321 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
9322 setup_xfails for "print vs1 after tuple assign 2",
9323 "print \$i after tuple assign 2", and
9324 "print vs2 after tuple assign 2".
9325 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
9326 meaningful error message and return -1 so the caller can
9327 suppress further tests and avoid a cascade of errors.
d63a86f8 9328
c906108c
SS
9329Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
9330
9331 * gdb.base/a1-selftest.exp: Tweak tests to account for new
9332 format for printing version.
9333 * gdb.base/default.exp: Ditto.
9334 * gdb.base/interrupt.exp: Fix problem with cascade of
9335 errors if child process dies while calling a function.
d63a86f8 9336
c906108c
SS
9337Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
9338
9339 * Makefile.in (VPATH): Add
9340 * Makefile.in (Makefile, config.status): Fix rules so things get
9341 remade when necessary.
9342
9343Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
9344
9345 * Makefile.in (just-check): Add path to sibling expect dir
9346 to environment variable specified by RPATH_ENVVAR.
9347
9348Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
9349
9350 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9351 (just-check): Add shared library paths for libstdc++, tk,
9352 tcl, bfd, and opcodes to the environment variable specified
9353 in RPATH_ENVVAR.
9354 * configure.in: Add support to recognize --enable-shared flag
9355 and generate correct value for RPATH_ENVVAR.
9356 * configure: Regenerated with autoconf.
9357
9358Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
9359
9360 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9361 include all osf versions.
9362 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9363 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
9364 when target is linux. When failing to build pthreads test
9365 executable, give more meaningful message.
9366 * gdb.threads/pthreads.c: Hpux also uses old definition of second
9367 arg for pthread_create.
d63a86f8 9368
c906108c
SS
9369Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
9370
9371 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9372 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9373 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9374 and -lpthreads (everybody else).
9375 (test_startup): Fail gracefully if threads are not supported.
9376 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9377 "p/c array_index("abcdef",2)" when not gcc compiled.
9378 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9379 "print func2::coremaker_local" when not gcc compiled.
9380 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9381 "ptype on opaque struct tagname (statically)",
9382 "ptype on opaque struct tagname (dynamically) 1", and
9383 "ptype on opaque struct tagname (dynamically) 2"
9384 for not compiled with gcc.
9385 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9386 backtrace when compiled with gcc.
d63a86f8 9387 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
9388 than always return success.
9389
9390Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
9391
9392 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9393
9394Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
9395
9396 * gdb.base/structs.exp: Undo last change.
9397
9398Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
9399
9400 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9401 encapsulate all the steps/nexts done during self test, starting
9402 at main, and makes them less sensitive to optimization issues.
9403 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9404 signal handler" test.
9405 * gdb.threads/pthreads.exp: Only run this for native configs.
9406 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9407 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9408 tests.
9409 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9410 for "runto test_calls(void)" test.
d63a86f8 9411
c906108c
SS
9412Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
9413
9414 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9415 and don't expect address info in breakpoint confirmations.
9416
9417Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
9418
9419 * gdb.base/list.exp (test_forward_search): Increase timeout
9420 temporarily by 60 seconds for searching extremely long line,
9421 and then reset to old value when done. Increase expect input
9422 buffer to 10000.
9423
9424Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
9425
9426 * gdb.base/list.exp (test_forward_search): Fix to handle very
9427 long source line without overflowing expect's input buffer.
9428
9429Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
9430
9431 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9432 "buffer_full".
9433
9434 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9435 "buffer_full".
9436
9437 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9438 "buffer_full".
9439
9440 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9441 "buffer_full".
9442
9443Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
9444
9445 * configure.in (configdirs): Add gdb.threads.
9446 * configure: Regenerated with autoconf.
9447 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9448 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9449 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 9450
c906108c
SS
9451Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9452
9453 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9454
9455Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9456
9457 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9458 each signal's status in the output of "handle all print".
9459 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9460 the \r\n sequence that immediately precedes the gdb prompt.
9461 * gdb.base/a1-selftest.exp: Save original timeout and restore
9462 after test.
9463
9464Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9465
9466 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9467 symbol.
9468
9469Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9470
9471 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9472
9473Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9474
9475 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9476 timeout by 60 seconds.
9477
9478Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9479
9480 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9481 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9482 error return.
9483
9484Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9485
9486 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9487 gdb initialization, also report how long dejagnu waited. Restore
9488 old timeout before doing error return. Temporarily increase timeout
9489 by 3 minutes to allow for slow startups over heavy NFS use.
9490
9491Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9492
9493 * lib/gdb.exp: Report timeout value for verbosity level 2.
9494 * config/gdbserver.exp: Ditto.
9495 * config/hppro.exp: Ditto.
9496 * config/mips-gdb.exp: Ditto.
9497 * config/monitor.exp: Ditto.
9498 * config/netware.exp: Ditto.
9499 * config/sim-gdb.exp: Ditto.
9500 * config/slite-gdb.exp: Ditto.
9501 * config/udi-gdb.exp: Ditto.
9502 * config/unix-gdb.exp: Ditto.
9503 * config/vx-gdb.exp: Ditto.
9504 * gdb.base/a1-selftest.exp: Ditto.
9505 * gdb.base/a2-run.exp: Ditto.
9506 * gdb.base/break.exp: Ditto.
9507 * gdb.base/corefile.exp: Ditto.
9508 * gdb.base/list.exp: Ditto.
9509 * gdb.base/recurse.exp: Ditto.
9510 * gdb.base/scope.exp: Ditto.
9511 * gdb.base/signals.exp: Ditto.
9512
9513Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9514
9515 * gdb.threads/Makefile.in (docdir): Removed.
9516
9517Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9518
9519 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 9520 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 9521 @srcdir@.
d63a86f8 9522 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
9523 autoconf 2.5 or higher.
9524 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9525
9526Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9527
9528 * configure: Regenerated.
9529 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9530 avoid name clashes with SunOS headers.
9531
9532Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9533
9534 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9535
9536Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9537
9538 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9539 prototype information ends up in the compiler info file.
9540
9541Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9542
9543 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9544 attempting to regenerate it. Eliminate use of a temporary file
9545 and just generate the info file directly. Source it immediately,
9546 for consistency of use.
9547 * gdb.base/corefile.exp: Ditto
9548 * gdb.base/exprs.exp: Ditto.
9549 * gdb.base/funcargs.exp: Ditto.
9550 * gdb.base/langs.exp: Ditto.
9551 * gdb.base/list.exp: Ditto.
9552 * gdb.base/mips_pro.exp: Ditto.
9553 * gdb.base/nodebug.exp: Ditto.
9554 * gdb.base/opaque.exp: Ditto.
9555 * gdb.base/ptype.exp: Ditto.
9556 * gdb.base/scope.exp: Ditto.
9557 * gdb.base/setvar.exp: Ditto.
9558 * gdb.base/signals.exp: Ditto.
9559 * gdb.base/whatis.exp: Ditto.
9560 * gdb.c++/templates.exp: Ditto.
9561 * gdb.c++/virtfunc.exp: Ditto.
9562 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9563 whether or not to add -lstdc++ to the compile command line args.
9564
9565Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9566
9567 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9568 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9569 Increase timeout, a lot of single stepping might be needed if the
9570 target has no hardware watchpoints.
9571
9572Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9573
9574 * gdb.base/break.exp: Ignore compiler warnings when compiling
9575 break.c.
9576 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9577 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9578 from remote-sim.
9579 * gdb.base/exprs.exp: Add h8300 xfails.
9580 * gdb.base/funcargs.exp: Likewise.
9581 * gdb.base/nodebug.exp: Likewise.
9582 * gdb.base/printcmds.exp: Likewise.
9583 * gdb.base/ptype.exp: Likewise.
9584 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9585 h8300 xfails.
d63a86f8 9586 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
9587 on the h8300.
9588 * gdb.base/funcargs.c: Explicitly make last constant argument to
9589 call_after_alloca_subr an unsigned long type.
9590 * gdb.base/return.c: Include stdio.h.
9591
9592Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9593
9594 * config/abug.exp: New file for the older Motorola Bug monitor
9595 that runs on the mvme13x series VME boards.
9596 * config/monitor.exp: Use the new config array for target settings
9597 if they exist.
9598
9599Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9600
9601 * sim-gdb.exp: Make the SH simulator allocate less space when
9602 it is targeted.
9603
9604Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9605
9606 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9607 test.
9608
9609Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9610
9611 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9612 "rs6000-*-*" for "list function in include file" when gcc compiled.
9613 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9614 for "p ctable1[120]".
9615 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9616 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9617 Remove setup_xfail for "rs6000-*-*" for
9618 "print 'scope0.c'::filelocal before run".
9619 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9620 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9621 since some compilers don't allow both options to be given
9622 on the same command line. Create object file and move it.
d63a86f8 9623
c906108c
SS
9624Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9625
9626 * gdb.base/corefile.exp: Always regenerate the core file, since
9627 we always regenerate the coremaker program. Detect special case
9628 where registers cannot be read from core file.
d63a86f8 9629
c906108c
SS
9630Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9631
9632 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9633 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9634 * gdb.c++/templates.exp: Only match on basename of file since
9635 some formats like xcoff don't encode directory information.
9636 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9637 and rs6000 AIX xcoff targets.
9638 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9639 * configure: Regenerate.
9640 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9641 here, rather than in distclean.
d63a86f8 9642
c906108c
SS
9643Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9644
9645 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9646 defined, and use it to compile the test case with -O2. The
9647 native compilation still uses no optimization.
9648 * gdb.base/mips_pro.c: Remove inline assembly code since
9649 it is compiled PIC by default, which results in assembler
9650 warnings that make the testsuite think the compilation
9651 was unsuccessful.
9652
9653Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9654
9655 * gdb.c++/misc.exp: Add note to message for
9656 "print s.a for foo struct" that this is a known gcc 2.7.2
9657 and earlier bug.
9658
9659Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9660
9661 * gdb.base/break.exp: Fix pattern for matching "Delete all
9662 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9663 setup_xfail for deleting all breakpoints test. Fix various
9664 timeout messages to include "(timeout)".
9665 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9666 for "p t_float_values2(3.14159,float_val2)".
9667 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9668 for "continue to call2g" when gcc compiled.
9669 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9670 "up to foo in langs.exp", "show language at foo in langs.exp",
9671 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9672 and "show language at fsub in langs.exp".
9673 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9674 "list line 1 in include file", "list message for lines past EOF",
9675 "list function in include file", "list list0.h:foo", and
9676 "list filename:function; nonexistant function".
9677 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9678 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9679 and "ptype t_char_array" to be for native cc only.
d63a86f8 9680
c906108c
SS
9681Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9682
d63a86f8 9683 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
9684 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9685 "print func2::coremaker_local", and "backtrace in corefile.exp".
9686
9687Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9688
9689 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9690 "bt in signals.exp". This problem only appears when running
9691 the testsuite, and then only intermittently.
9692
9693Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9694
9695 * gdb.base/return.exp (return_tests): Differentiate between
9696 two tests of continuing.
9697
9698Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9699
9700 * */Makefile.in (maintainer-clean): Remove config.log.
9701 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9702 * gdb.c++/Makefile.in (PROGS): Add inherit.
9703 (clean): Remove *.ci.
9704
9705Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9706
9707 * gdb.c++/misc.cc: Add test code from Mike Stump.
9708 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9709
9710Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9711
9712 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9713 to "alpha-*-osf2*" and add comment.
9714 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9715 setup_xfail for "step over execarg initialization" and
9716 "step over corearg initialization".
9717 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9718 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9719 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9720 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9721 "print func2::coremaker_local", and "backtrace in corefile.exp".
9722 * gdb.base/signals.exp: Build and source signals.ci.
9723 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9724 to be for gcc only.
9725 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 9726
c906108c
SS
9727Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9728
9729 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9730 Feb 3 procfs.c change.
9731
9732Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9733
9734 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9735
9736Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9737
9738 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9739 from dejagnu's apparent default of 10 seconds, which gives random
9740 results when running the tests over NFS on moderately loaded systems.
9741 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9742
9743Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9744
9745 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9746 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9747 result reports.
9748
9749Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9750
9751 * configure.in (CY_AC_PATH_TCLH): Remove.
9752 * configure: Regenerate.
9753
9754Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9755
9756 * gdb.c++/Makefile.in (clean): Add missing '{'.
9757
9758Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9759
9760 * lib/gdb.exp: Provide a default value for noinferior.
9761
9762 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9763 Load libgloss.exp.
9764
9765Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9766
9767 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9768 the executable, not the .o to run the tests from.
9769
9770Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9771
9772 * gdb.base/break.exp: Don't test for program exit or exit status
9773 if $noresults if nonzero.
9774 * gdb.base/langs.exp: Likewise.
9775 * gdb.base/watchpoint.exp: Likewise.
9776
9777 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9778 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9779 trying to compile the testcase.
9780
9781Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9782
9783 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9784 * gdb.base/signals.exp (continue to handler): Likewise.
9785
9786Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9787
9788 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9789
9790 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9791
9792Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9793
9794 * gdb.base/corefile.exp: Recognize "not found" as failure
9795 when trying to determine if a core file was generated.
9796 If no core file was generate the first time, try again without
9797 the ulimit -c to work around braindamaged shells.
9798
9799Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9800
9801 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9802 [] tests with "test" and enclose string in quotes.
9803 * gdb.stabs/configure: Rebuild
d63a86f8 9804
c906108c
SS
9805Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9806
9807 Changes in sync with expect:
9808 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9809 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9810 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9811 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9812 argument to AC_REQUIRE.
9813 * configure: Regenerated.
9814
9815Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9816
9817 * gdb.base/corefile.exp: When generating a core, discard any
9818 error messages about ulimit not found and the "core dumped"
9819 message from the shell that runs the coredumper.
9820
9821Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9822
9823 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9824
9825 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9826 which sed script to run. Expect failure for v_comb test
9827 on PA targets too.
d63a86f8 9828
c906108c
SS
9829Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9830
9831 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9832 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9833
9834Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9835
9836 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9837 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9838 "sparc-sun-solaris*" xfails for "p v_comb".
9839 * lib/gdb.exp (default_gdb_start): Fix typo.
9840 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9841 messages to not include the full program name that caused
9842 the core dump since some systems (such as solaris) apparently
9843 truncate this path to about 80 characters.
9844 When generating a core file first try increasing the core file
9845 size limit to unlimited since some systems may default it to
9846 zero, and it is harmless to try it. Move the test for failing
9847 to generate a core file to where it will actually get executed.
9848 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9849 new gdb result from g++ debug info improvements and make old
9850 pattern obsolescent. Also account for size_t differences
9851 (may be int or long).
9852 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9853 initialization before function call is placed in the delay slot
9854 and thus appears to be skipped over by commands such as "next".
9855
9856Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9857
9858 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9859
9860Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9861
9862 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9863 input source file; fix code to compile test to deal with this
9864 convention.
9865 * gdb.c++/*.exp: Likewise.
9866
9867Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9868
9869 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9870 "bt in signals.exp".
9871
9872Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9873
9874 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9875 "step over execarg initialization" and
9876 "step over corearg initialization".
9877
9878Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9879
9880 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9881 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
9882
9883Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
9884
9885 From Rob Savoye (rob@poseidon.cygnus.com)
9886 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9887 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9888 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9889 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9890 configure.in}: Major reworking for autoconfig.
9891 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9892 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9893 New files.
9894 * config/unix-gdb.exp: Make GDB global.
9895 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9896 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9897 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9898 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9899 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9900 term.exp, twice.exp, watchpoint.exp, whatis.exp},
9901 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9902 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9903 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9904 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9905 pr-8136.exp, result.exp, string.exp, tuples.exp},
9906 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9907 to returns as necessary, arrange for test to compile own testcase
9908 executable.
9909 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 9910
c906108c
SS
9911Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
9912
9913 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9914 clear_xfail at end of test which might not call either pass or fail.
9915 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9916 "backtrace through signal handler".
9917
9918Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9919
9920 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9921 continuing from a job control stop signal.
9922 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9923
9924Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
9925
9926 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9927 * gdb.base/corefile.exp: Likewise.
9928 * gdb.base/funcargs.exp: Likewise.
9929
9930Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
9931
9932 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
9933 * config/monitor.exp: Add support for setting baud rate.
9934
9935Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
9936
9937 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9938 i*86-*-linux* xfails for "backtrace through signal handler".
9939 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9940 "print func2::coremaker_local".
9941 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9942 alpha-dec-osf2* xfail for
9943 "delete all breakpoints when none".
9944
9945Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
9946
9947 * gdb.base/break.exp: Change test that deletes all breakpoints
9948 when no user breakpoints are installed. A post 4.15 change
9949 causes gdb to no longer prompt in this case.
9950
9951Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
9952
9953 * gdb.base/return.exp (return_tests): Change xfail for test
9954 "correct value returned double test" to stop xfailing at
9955 Solaris 2.5. Apparently the bug has been fixed.
9956
9957Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
9958
9959 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9960 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
9961
9962Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
9963
9964 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9965 * gdb.disasm/hppa.s: Corresponding changes.
9966
9967Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
9968
9969 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9970 makefile fragment.
9971 * config/mt-hpux: Deleted.
9972
9973Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
9974
d63a86f8 9975 * Many files: When warning about suppressed tests due to a
c906108c
SS
9976 nonexistant test binary, avoid incrementing the warning count.
9977
9978Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
9979
9980 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 9981
c906108c
SS
9982Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9983
9984 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
9985 "sparc-*-solaris2*".
9986
9987Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9988
9989 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
9990 Add global and local variables and initialize them.
9991 * gdb.base/corefile.exp: Test correct mapping of corefile sections
9992 by printing variables. Remove rs6000 and powerpc xfails, BFD now
9993 extracts the file name and terminating signal from the core file.
9994 * TODO: Remove note about tests for correct mapping of corefile.
9995 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
9996 from optimizing it away.
9997 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
9998 handles common blocks.
9999
10000Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
10001
10002 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
10003 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
10004
10005Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
10006
10007 * Makefile.in (maintainer-clean): New target, synonym for
10008 realclean.
10009 * gdb.base/Makefile.in (maintainer-clean): Likewise.
10010 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
10011 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
10012 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
10013 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
10014 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
10015
10016Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
10017
10018 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
10019 xfails when not gcc compiled for "print foo::funclocal".
10020 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
10021 "print foo::funclocal at foo",
10022 "print 'scope1.c'::foo::funclocal at foo",
10023 "print foo::funclocal_bss at foo",
10024 "print 'scope1.c'::foo::funclocal_bss at foo",
10025 "print foo::funclocal_ro at foo",
10026 "print 'scope1.c'::foo::funclocal_ro at foo",
10027 "print bar::funclocal at foo" and
10028 "print 'scope1.c'::bar::funclocal at foo".
10029 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
10030 gcc compiled for "print foo::funclocal at bar".
10031 Expand all messages to ensure that they identify that
10032 the test is at bar().
10033 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
10034 gcc compiled for:
10035 "ptype on opaque struct pointer (statically)",
10036 "ptype on opaque struct tagname (statically)",
10037 "ptype on opaque struct pointer (dynamically) 1",
10038 "ptype on opaque struct tagname (dynamically) 1",
10039 "ptype on opaque struct pointer (dynamically) 2" and
10040 "ptype on opaque struct tagname (dynamically) 2
10041 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
10042 gcc compiled for:
10043 "p datalocal"
10044 "whatis datalocal",
10045 "ptype datalocal",
10046 "p bsslocal",
10047 "whatis bsslocal", and
10048 "ptype bsslocal".
10049 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
10050 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
10051 when not gcc compiled.
10052 * gdb.base/funcargs.exp (float_and_integral_args): Add
10053 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
10054 compiled.
10055 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
10056 "backtrace from call6a" when not gcc compiled.
10057 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
10058 "backtrace from call7a" when not gcc compiled.
10059 * gdb.base/callfuncs.exp (do_function_calls):
10060 Add "hppa*-*-hpux*" xfail when not gcc compiled for
10061 "p t_char_array_values(char_array_val2,char_array_val1)",
10062 "p t_char_array_values(char_array_val1,char_array_val2)",
10063 "p t_char_array_values("carray 1","carray 2")",
10064 "p t_char_array_values("carray 1",char_array_val2)",
10065 "p t_char_array_values(char_array_val1,"carray 2")",
10066 "p sum_args(1,{2})",
10067 "p sum_args(2,{2,3})",
10068 "p sum_args(3,{2,3,4})",
10069 "p sum_args(4,{2,3,4,5})"
10070 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
10071 "backtrace in corefile.exp" when not gcc compiled.
10072
10073Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10074
10075 * gdb.base/signals.exp: Rewrite `handle all print' test as
10076 a procedure. Accept blanks or TABs as whitespace, increase
10077 timeout and expect input buffer size for the large output
10078 from the command. Remove "i*86-*-bsdi2.0" xfail.
10079
10080Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10081
10082 * gdb.base/setvar.exp: Add new testcases for truncation when
10083 assigning invalid values to bitfields.
10084
10085Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
10086
d63a86f8 10087 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
10088 mips-sgi-irix* xfail for
10089 "call inferior func with struct - returns char *"
10090 and fix test so that an optional (unsigned char *) cast is
10091 accepted in the result.
10092
10093Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
10094
10095 * gdb.base/funcargs.exp (float_and_integral_args): Remove
10096 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10097 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
10098 * gdb.base/signals.exp: Remove duplicate "handle all print" test
10099 that accidentally got checked in.
10100
10101Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
10102
d63a86f8 10103 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
10104 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
10105 compiled test.
10106 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
10107 Add mips-sgi-irix5* xfail for not gcc compiled.
10108 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
10109 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
10110 "p top", "whatis top", "p middle", and "whatis middle".
10111 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
10112 "whatis signed char" for not gcc compiled.
10113 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
10114 "set variable signed char=-1 (-1)" and
10115 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
10116 * gdb.base/funcargs.exp (float_and_integral_args):
10117 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
10118 Add mips-sgi-irix* xfail when not gcc compiled for
10119 "continue to call2b".
10120 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
10121 "continue to call2g".
10122 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
10123 "backtrace from call6a"
10124 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
10125 "backtrace from call7k".
10126 Add mips-sgi-irix5* xfail when not gcc compiled for
10127 "backtrace from call7a".
10128 (localvars_after_alloca): Fix gdb_test cmds for
10129 "print * after runto ...".
10130 Remove rs6000-*-* xfails for
10131 "print i after runto localvars_after_alloca" and
10132 "print l after runto localvars_after_alloca"
10133 for all compilers.
10134 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
10135 when not compiled with gcc, for:
10136 "print signed char == (minus)",
10137 "print signed char != (minus)",
10138 "print signed char < (minus)",
10139 "print signed char > (minus)".
10140 * gdb.base/callfuncs.exp (do_function_calls):
10141 Add mips-sgi-irix* xfail, when compiled with native compiler, for
10142 "call inferior func with struct - returns char *".
d63a86f8 10143 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
10144 "correct value returned double test" to include Solaris 2.4.
10145 * gdb.base/funcargs.exp (float_and_integral_args):
10146 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 10147
c906108c
SS
10148Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10149
10150 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
10151 enumeration bitfields if compiling with GNU C.
10152 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
10153 to empty' prompt.
10154
10155Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
10156
10157 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
10158 test for PRO targets.
10159
10160 * gdb.base/funcargs.exp: Avoid ever setting more than 8
10161 breakpoints in the inferior at any given time by making
10162 two groups of breakpoints for call2*, call6* and call7*
10163 tests.
10164
10165Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10166
10167 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
10168 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
10169 from optimizing it away.
10170 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
10171 "call inferior func with struct".
10172
10173Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
10174
10175 * configure.in: Only configure gdb.chill for particular targets.
10176
10177Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
10178
10179 * gdb.base/Makefile.in: Add action to .c.o transformation
10180 rule that generates a .ci file for each .o file and remove
10181 explicit .c.o rules except for callfuncs.o.
10182 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
10183 generates a .ci file for each .o file and remove explicit
10184 .cc.o rules.
10185 (clean): Remove *.tmp *.ci files.
10186 (EXECUTABLES): Remove templ-info.exp.
10187 * gdb.base/compiler.c: New file.
10188 * gdb.c++/compiler.cc: New file
10189 * gdb.base/scope.exp: Source gdb.base/scope.ci.
10190 Change rs6000-*-* xfail for
10191 "print 'scope0.c'::filelocal_ro" and
10192 "print 'scope1.c'::filelocal" and
10193 "print 'scope1.c'::filelocal_bss" and
10194 "print 'scope1.c'::filelocal_ro" and
10195 "print 'scope1.c'::foo::funclocal" and
10196 "print 'scope1.c'::foo::funclocal_ro" and
10197 "print 'scope1.c'::bar::funclocal" and
10198 "print 'scope0.c'::filelocal_ro" and
10199 "print 'scope1.c'::filelocal at foo" and
10200 "print 'scope1.c'::filelocal_bss at foo" and
10201 "print 'scope1.c'::filelocal_ro at foo" and
10202 "print 'scope1.c'::foo::funclocal at foo" and
10203 "print 'scope1.c'::foo::funclocal_bss at foo" and
10204 "print 'scope1.c'::foo::funclocal_ro at foo" and
10205 "print 'scope1.c'::bar::funclocal at foo" and
10206 "print 'scope0.c'::filelocal_ro" and
10207 "print 'scope1.c'::filelocal" and
10208 "print 'scope1.c'::filelocal_bss" and
10209 "print 'scope1.c'::filelocal_ro" and
10210 "print 'scope1.c'::foo::funclocal" and
10211 "print 'scope1.c'::foo::funclocal_bss" and
10212 "print 'scope1.c'::foo::funclocal_ro" and
10213 "print 'scope1.c'::bar::funclocal" and
10214 "print 'scope1.c'::bar::funclocal_bss"
10215 to only be xfail'd when not compiled with gcc.
d63a86f8 10216 Add rs6000-*-* xfail for
c906108c
SS
10217 "print 'scope0.c'::filelocal_bss before run"
10218 when compiled with gcc.
10219 (test_at_main): Add rs6000-*-* xfail for
10220 "print filelocal_ro in test_at_main"
10221 when compiled with gcc.
10222 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 10223 Add rs6000-*-aix* xfail for
c906108c
SS
10224 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
10225 "ptype t_char_array", not compiled with gcc.
10226 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
10227 xfail for "list foo (in include file)" when gcc compiled.
10228 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
10229 (integral_args): Add rs6000-*-* xfail for
10230 "run to call0a" if not compiled with gcc.
10231 (unsigned_integral_args): Add rs6000-*-* xfail for
10232 "run to call1a" if not compiled with gcc.
10233 (float_and_integral_args): Add rs6000-*-* xfail for
10234 "run to call2a" if not compiled with gcc and for
10235 "continue to call2b" for any compiler.
10236 Add rs6000-*-* xfail to
10237 "print f1 after run to call2a" for gcc compiled.
10238 (discard_and_shuffle): Add rs6000-*-* xfail for
10239 "run to call6a".
10240 (shuffle_round_robin): Add rs6000-*-* xfail for
10241 "backtrace from call7a" if not compiled with gcc.
10242 Add rs6000-*-* xfail for
10243 "backtrace from call7b" if compiled with gcc.
10244 (call_after_alloca): Add rs6000-*-* xfail for
10245 "print c in call_after_alloca" and
10246 "print s in call_after_alloca" and
10247 "backtrace from call_after_alloca_subr"
10248 if not compiled with gcc.
10249 (localvars_in_indirect_call): Add rs6000-*-* xfail for
10250 "print c in localvars_in_indirect_call" and
10251 "print c in localvars_in_indirect_call" and
10252 "backtrace in indirectly called function" and
10253 "stepping into indirectly called function"
10254 if not compiled with gcc.
10255 (localvars_after_alloca): Add rs6000-*-* xfail for
10256 "print c after runto localvars_after_alloca" and
10257 "print s after runto localvars_after_alloca" and
10258 "print i after runto localvars_after_alloca" and
10259 "print l after runto localvars_after_alloca"
10260 for all compilers.
10261 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
10262 than whatis-info.exp.
10263 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
10264 than opaque-info.exp.
10265 Setup rs6000-*-* xfail for
d63a86f8 10266 "ptype on opaque struct pointer (statically)" and
c906108c
SS
10267 "ptype on opaque struct pointer (dynamically)" when
10268 not compiled with gcc.
10269 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
10270 rather than callf-info.exp.
10271 (do_function_calls): Add clear_xfail for rs6000-*-* for
10272 "p t_float_values2(3.14159,float_val2)". Seems to work
10273 fine there, both with xlc and gcc. Need to find out what
10274 it is doing right and fix other platforms.
10275 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
10276 "call inferior func with struct - returns int",
10277 "call inferior func with struct - returns long",
10278 "call inferior func with struct - returns float",
10279 "call inferior func with struct - returns double",
10280 "call inferior func with struct - returns char *",
10281 but only if not gcc compiled (presumes xlc compiled).
10282 Change rs6000-*-* xfails for
10283 "call inferior func with struct - returns char" and
10284 " call inferior func with struct - returns short" to only
10285 xfail if not using gcc.
10286 (clean mostlyclean): Remove *.ci and *.tmp files.
10287 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
10288 than templ-info.exp.
10289 * gdb.base/langs.exp: Source gdb.base/langs.ci.
10290 Add rs6000-*-* xfail for "up to foo in langs.exp"
10291 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
10292 when not gcc compiled.
d63a86f8 10293
c906108c
SS
10294Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10295
10296 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
10297 * gdb.base/corefile.exp: Likewise.
10298 * gdb.base/list.exp: Likewise.
10299 * gdb.base/scope.exp: Likewise.
10300 * gdb.base/siganls.exp: Likewise.
10301
10302 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
10303 compiler output.
10304 * gdb.base/whatis.exp: Likewise.
10305
10306Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
10307
10308 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
10309 failure (opcode table has been fixed to match reality).
10310
10311Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
10312
10313 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
10314 "call inferior func with struct - returns char",
10315 "call inferior func with struct - returns short"
10316
10317 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
10318 "print 'scope0.c'::filelocal at main",
10319 "print 'scope0.c'::filelocal_bss in test_at_main",
10320 "print 'scope0.c'::filelocal at foo",
10321 "print 'scope0.c'::filelocal_bss in test_at_foo",
10322 "print 'scope0.c'::filelocal at bar",
10323 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 10324
c906108c
SS
10325 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
10326 in source file 1". This bug seems to have been fixed with both
10327 gcc and native cc (was native assembler bug?).
10328
10329Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
10330
10331 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
10332 "backtrace through signal handler" to "i*86-*-sysv4*".
10333 * gdb.base/signals.exp: Add xfail for "'next' behaved as
10334 continue" case. Add "known SVR4 bug" to fail message.
10335 Add "i*86-*-bsdi2.0" xfail for "handle all print".
10336 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
10337 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
10338 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
10339 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
10340 "up to foo in langs.exp", "show language at foo in
10341 langs.exp", "up to cppsub_ in langs.exp", "show
10342 language at cppsub_ in langs.exp", "up to fsub in
10343 langs.exp", and "show language at fsub in langs.exp".
10344 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10345 "bactrace in corefile.exp".
10346 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10347 "call inferior function with struct - returns float" and
10348 "call inferior function with struct - returns double".
d63a86f8 10349
c906108c
SS
10350Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
10351
10352 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10353 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10354 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10355 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10356
10357Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
10358
10359 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10360 (or overriden) "CHILL" macro rather then bare "gcc".
10361 Also look for ../../gcc/xgcc since that is what we will
10362 actually need, not "Makefile". Remove following assignment
10363 of CHILL to CHILL_FOR_TARGET because that results in
10364 recursive definition.
10365
10366Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
10367
10368 * gdb.base/corefile.exp: Change xfail for backtrace in
10369 corefile.exp from linuxaout to all linux.
10370 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
10371 cases where we miss the breakpoint at the signal handler
10372 for some reason. Setup xfail for linuxoldld/linuxaout and
10373 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
10374 hitting SIGURG breakpoint.
10375 * gdb.base/signals.exp: Setup xfail for "next" acting like
10376 continue to add linuxoldld. Setup xfail for all linux for
10377 "next to handler in signals_tests_1", "backtrace in
10378 signals_tests_1", "continue to func1", "pass SIGUSR1",
10379 and continue to handler".
10380
10381Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
10382
10383 * Update all FSF addresses except those in COPYING* files.
10384
10385Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
10386
10387 * gdb.base/a2-run.exp: Change messages to be more explicit about
10388 the status of args, and quote binfile in results.
10389
10390Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
10391
10392 * gdb.base/callfuncs.exp: Add tests for passing structs to
10393 inferior functions and return various types.
10394 * gdb.base/callfuncs.c: Add functions to receive a struct
10395 and return a member of the struct, in various types.
10396
10397Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10398
10399 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
10400
10401Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10402
10403 * config/vxworks29k.exp: New file, sources vxworks.exp.
10404
10405Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10406
10407 * config/gdbremote.exp: New file. Testing framework using
10408 gdbserver.
10409
10410Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
10411
10412 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10413 "call function when asleep" and "send end of file".
10414 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10415 for "backtrace in corefile.exp".
10416 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10417 for "backtrace through signal handler".
10418 * gdb.base/corefile.exp: Make sure we actually generate a core file
10419 before trying the core tests. Some systems allow the user to suppress
10420 generation of core files and default to that (linux for example).
10421 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10422 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
10423
10424Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10425
10426 * gdb.threads: New directory with some crude multi-threaded
10427 gdb tests (step.exp and step2.exp).
10428 * config/mt-lynx (STEP_EXECUTABLE): Define.
10429 (THREADFLAGS): Define.
10430
10431Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
10432
10433 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10434
10435 * gdb.base/signals.exp: Disable whole file for lynx until
10436 further notice.
10437
10438 * gdb.base/signals.exp: xfail test where "next" acts like
10439 "continue" for lynx.
10440
10441 * gdb.base/interrupt.exp: xfail test for calling function while
10442 inferior is asleep for lynx.
10443
10444 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10445 than one cr-lf after each command.
10446
10447Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10448
10449 * configure.in: Reinstate setting of stabsdirs variable, fix
10450 typo in setting up configdirs for native builds.
10451
10452 * gdb.base/return.exp: Fix typo in return double test.
10453 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10454 compiler from optimizing them away.
10455
10456Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10457
10458 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10459 sequences to be echo'd by gdb when using gdb_test.
10460 * gdb.chill/chexp.exp: Likewise.
10461 * gdb.fortran/exprs.exp: Likewise
10462
10463Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10464
10465 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10466 after the inferior gdb has started.
10467
10468 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10469 after each command.
10470 * gdb.base/funcargs.exp: Likewise.
10471 * gdb.base/gdbvars.exp: Likewise.
10472 * gdb.base/interrupt.exp: Likewise.
10473 * gdb.base/list.exp: Likewise.
10474 * gdb.base/watchpoint.exp: Likewise.
10475 * gdb.c++/demangle.exp: Likewise.
10476 * gdb.c++/inherit.exp: Likewise.
10477 * gdb.chill/chexp.exp: Likewise.
10478 * gdb.fortran/exprs.exp: Likewise.
10479
10480 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10481 test if we can't handle IO to/from the inferior.
10482
10483 * gdb.c++/misc.exp: Always check for a program already being
10484 started after sending a "run" command to gdb.
10485
10486 * gdb.base/twice.exp: Start with a fresh gdb.
10487
10488 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10489 only depend on gdb's expression code, not the chill runtime.
10490
10491 * gdb.base/return.c: Put return values into variables so we
10492 can have gdb print them rather than depending on the program
10493 to print them.
10494 * gdb.base/return.exp: Corresponding changes.
10495
10496 * lib/gdb.exp: Provide default value for noinferiorio.
10497 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10498 the inferior.
10499
10500 * gdb.base/break.exp: Always check for a program already being
10501 started after sending a "run" command to gdb.
10502 (text_next_with_recursion): Don't check the output from the
10503 program's printf statement. Instead just make sure the program
10504 exited.
10505
10506 * gdb.base/commands.exp: Protect tests which need arguments with
10507 $noargs conditionals.
10508
10509Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10510
10511 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10512 of structure member arrays to match gdb/valops.c:value_addr change.
10513
10514Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10515
10516 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10517 cases.
10518
10519Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10520
10521 * configure.in (configdirs): Remove gdb.chill from default list
10522 of subdirs and then add it back in only if doing a native build.
10523 The current chill compiler does not yet work in any cross build.
10524 * Revert all signal changes from Jul 6.
10525 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10526 for sh-hms targets, allowing these tests to link, with no other
10527 changes. Testing is suppressed by setting "nosignals" in site.exp.
10528
10529Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10530
10531 * configure.in (signaldirs): Define and add to configdirs for all
10532 targets except some specific ones that are known to not support signals.
10533 Also clean up formatting.
10534 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10535 (signals, sigall): Remove rules to build.
10536 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10537 Moved to new gdb.signals directory.
10538 * gdb.signals: New test directory.
10539 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10540 signals.c signals.exp}: New or moved files.
10541
10542Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10543
10544 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10545
10546Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10547
10548 * gdb.base/return.exp: Xfail `return double' test failure
10549 on at least Solaris 2.3 and handle future/past versions on
10550 a case by case basis as appropriate. Also update message
10551 to include i*86 failures.
10552
10553Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10554
10555 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10556
10557 * lib/gdb.exp: Fix comment which erroneously identified
10558 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10559 gdb_file_cmd not gdb_load).
10560 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10561
10562 * gdb.base/setvar.exp: Make test names consistent between pass and
10563 fail cases. Use gdb_test more.
10564
10565Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10566
10567 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10568
10569Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10570
10571 * gdb.base/help.exp: Fix expected help string for `show commands'.
10572
10573Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10574
10575 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10576
10577 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10578 of a text section.
10579
10580Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10581
10582 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10583 that loop eventually terminates. Fix Connection refused logic so
10584 that testsuite will expire nicely.
10585
10586Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10587
10588 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10589 config/rom68k.exp: New tcl glue for the appropriate monitors.
10590 These all just end up calling monitor.exp.
10591 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10592 refused' by retrying. Cleanup some timeout issues.
10593 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10594 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10595 callers don't have to set/restore global timeout variable.
10596
10597 * The following set of changes centralizes management of the global
10598 timeout variable. This way, it can be set in one target dependent
10599 place instead of dozens of places scattered throughout the test suite.
10600 If you need to lengthen a timeout, then you should either set timeout
10601 in one of the config/{target}.exp files, or multiply it by a factor.
10602 Setting it to an absolute value is always going to lose for some
10603 targets.
10604 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10605 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10606 * gdb.base/funcargs.exp: Don't set timeout.
10607 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10608 * gdb.base/printcmds.exp (test_print_string_constants
10609 test_print_array_constants): Don't set timeout.
10610 * gdb.base/ptype.exp: Don't set timeout.
10611 * gdb.base/recurse.exp: Don't set timeout.
10612 * gdb.base/return.exp: Don't set timeout.
10613 * gdb.base/watchpoint.exp: Don't set timeout.
10614 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10615 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10616
10617Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10618
10619 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10620
10621Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10622
10623 * lib/gdb.exp: Disable chill tests for irix5.
10624
10625Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10626
10627 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10628 each test pass or fail.
10629
10630Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10631
10632 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10633 xlc not gcc.
10634
10635Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10636
10637 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10638
10639Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10640
10641 * config/est.exp: Fix copyright and comments. Remove dead code.
10642 Use targetname, serialport and baud variables instead of fixed
10643 constants.
10644 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10645 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10646
10647Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10648
10649 * gdb.base/watchpoint.exp: Don't run
10650 test_watchpoint_triggered_in_syscall for sunos.
10651
10652Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10653
10654 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10655 they don't seem to exist. Do include stdio.h.
10656
10657Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10658
10659 * gdb.base/a1-selftest.exp: Add alpha xfail.
10660
10661Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10662
10663 * gdb.base/watchpoint.c (main): Prompt before calling read().
10664 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10665 Revise accordingly. Remove cruft about sending "123" several
10666 times, until it gets noticed. Clean up the "print buf[0]" stuff
10667 so that it passes or fails, and waits for prompts in the usual way.
10668
10669Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10670
10671 * gdb.base/recurse.exp: Fix comment.
10672
10673 * TODO: Remove item about printing variables in nodebug.exp. Add
10674 item about enabling tests which are only run on some targets.
10675
10676 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10677 fail, make test names unique, use new gdb_test convention
10678 regarding pattern, use gdb_test more, etc.).
10679
10680 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10681 fail, make test names unique, etc.).
10682
10683Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10684
10685 * gdb.base/nodebug.c: Change return type of top and middle to
10686 short.
10687 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10688 are fixed by the recent mdebugread.c changes. Allow `short ()'
10689 as type for top and middle.
10690
10691Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10692
10693 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10694 nearly as I can tell, the whole thing was an accident in Stu's
10695 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10696 to replace a send/expect pair with gdb_test, but ended up only
10697 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10698 of 30 Mar 1995 took care of it, but left this vestigial comment
10699 which I am now nuking.
10700
10701Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10702
10703 * gdb.base/break.exp: Look for different line number for
10704 breakpoint at main depending on usestubs.
10705
10706Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10707
10708 * gdb.base/list.exp: Adjust some alternate expect patterns to
10709 match recent list0.c change. Add alternate expect pattern for
10710 output from `list default lines around main' for optimizing
10711 compilers.
10712
10713Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10714
10715 * lib/gdb.exp: If nosignals is not set, set it to 0.
10716
10717Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10718
10719 * config/slite-gdb.exp: Responds to load symbol table prompt.
10720 * gdb.base/break.exp: Adjust line number, fix rerun.
10721 * gdb.base/langs0.c: Add #ifdef usestubs.
10722
10723Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10724
10725 * gdb.base/list.exp: Adjust line contents after adding new lines in
10726 list0.c. Also fix a syntax error.
10727
10728 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10729 * gdb.base/break.exp: ditto.
10730 * gdb.base/list.exp: ditto.
10731 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10732 * gdb.base/run.c: ditto.
10733 * gdb.base/list0.c: ditto.
10734 * gdb.base/funcargs.c: ditto.
10735
10736Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10737
10738 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10739 $targetname, $serialport and $baud instead of hardwired variables.
10740 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10741 target doesn't support signals.
10742
10743Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10744
10745 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10746
10747Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10748
10749 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10750 Don't rely on the value of an auto variable before it has been
10751 initialized. Use gdb_test more.
10752
10753Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10754
10755 * lib/gdb.exp (default_gdb_version): A version number must start
10756 with a digit, but other than that contains all characters up to
10757 the first whitespace character.
10758
10759Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10760
10761 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10762
10763Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10764
10765 * gdb.c++/*.exp: Warn if executable does not exist. The original
10766 reason for skipping the warning was that configure.in sometimes
10767 intentionally skipped building the executables but the tcl code
10768 had no way of knowing. That (a) was always bogus with respect to
10769 error handling, (b) is no longer true (right now there is no way
10770 to skip C++ tests).
10771
10772 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10773
10774Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10775
10776 * gdb.base/list.exp: Add expect patterns for output from
10777 SunPRO compiled executables.
10778 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10779 types.
10780
10781Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10782
10783 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10784 number (we are already testing that the correct source line text
10785 gets printed).
10786
10787 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10788 that is what is intended, but something needed to be done to get
10789 sunos4 native working again.
10790
10791 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10792
10793 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10794 apparently went with a (very) old xfail.
10795
10796Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10797
10798 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10799 runto_main is a proc in gdb.exp that will do 'step' for target use
10800 stubs.
10801 * gdb.base/exprs.exp: ditto.
10802 * gdb.base/interrupt.exp: ditto.
10803 * gdb.base/opaque.exp: ditto.
10804 * gdb.base/printcmds.exp: ditto.
10805 * gdb.base/ptype.exp: ditto.
10806 * gdb.base/scope.exp: ditto.
10807 * gdb.base/setvar.exp: ditto.
10808 * gdb.base/signals.exp: ditto.
10809 * gdb.base/twice.exp: ditto.
10810 * gdb.c++/classes.exp: ditto.
10811 * gdb.c++/inherit.exp: ditto.
10812 * gdb.c++/templates.exp: ditto.
10813 * gdb.base/break.exp: no run and hit main for stubs. Change line
10814 numbers for breakpoints and info breakpoint.
10815 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10816 breakpoint().
10817 * gdb.base/callfuncs.c: ditto.
10818 * gdb.base/exprs: ditto.
10819 * gdb.base/interrupt.c: ditto.
10820 * gdb.base/opaque0.c: ditto.
10821 * gdb.base/printcmds.c: ditto.
10822 * gdb.base/ptype.c: ditto.
10823 * gdb.base/scope0.c: ditto.
10824 * gdb.base/setvar.c: ditto.
10825 * gdb.base/signals.c: ditto.
10826 * gdb.base/twice.c: ditto.
10827 * gdb.c++/misc.cc: ditto.
10828 * gdb.c++/templates.cc: ditto.
10829
10830Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10831
10832 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10833
10834 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10835 somewhere between `read' and `main.c'. I'm pretty sure the
10836 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10837 and it isn't particularly useful.
10838
10839 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10840
10841Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10842
10843 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10844
10845Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10846
10847 * config/mt-slite: add LIBS and -nostdlib.
10848 * config/slite-gdb.exp: add this new file to support sparclite target.
10849
10850Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10851
10852 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10853
10854 * gdb.base/a2-run.exp: Change argument to istarget from
10855 "*-*-vxworks" to "*-*-vxworks*".
10856 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10857
10858Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10859
10860 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10861 will not runto main but do a 'step' to step out of breakpoint().
10862 * config/mt-slite: add -Dusestubs.
10863
10864Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10865
10866 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10867 instead of just @.
10868
10869 * gdb.base/signals.exp: Add test for "handle all print".
10870 * TODO: Remove "handle all print". Also remove item about
10871 checking copyright date (I don't like the idea of a spurious FAIL
10872 based on when we run the tests).
10873
10874 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10875 for SunOS4 (reason for failure not investigated). Remove
10876 redundant test for $binfile.
10877
10878 * gdb.base/nodebug.c (array_index): Call malloc.
10879
10880 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10881
10882Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
10883
10884 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10885 conventions and slightly simplify the matching regexp.
10886
10887Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10888
10889 * gdb.base/break.exp: Update gdb_test invocation to use new
10890 convention.
10891
10892 * lib/gdb.exp: If noargs is not set, set it to 0.
10893
10894 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10895 tests unique.
10896
10897 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10898
10899Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10900
10901 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10902 one argument of type "<non-float parameter>".
10903
10904Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
10905
10906 * config/rom68k.exp: New file to support Motorola IDP board.
10907 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10908 * gdb.base/break.c: Change things around so that this program
10909 doesn't depend upon args. This is necessary to make remote
10910 targets work (in general, they can't take args).
10911 * gdb.base/break.exp: Don't try to send args to program. Don't
10912 expect output. Also, replace lots of code with gdb_test.
10913
10914Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10915
10916 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10917 printing of '\'' (which is what the comment says we are testing,
10918 even though we were not), not '''.
10919 (test_integer_literals_rejected): Test that printing ''' is an error.
10920
10921 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10922 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10923 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10924 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10925 Use gdb_test not test_print_accept.
10926 * lib/gdb.exp: Remove test_print_accept.
10927
10928 * gdb.base/signals.exp (signal_tests_1): Make pass message
10929 consistent with fail message.
10930
10931 * gdb.base/whatis.exp: Remove xfails for printing char vs.
10932 unsigned char; the bug (PR 1821) is fixed.
10933
10934 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10935
10936 * gdb.base/scope.exp (test_at_localscopes): Call pass for
10937 successful tests--makes xfailing them work right.
10938
10939Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10940
10941 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10942 only \r\n, not .*. The test can pass .* as the last thing in
10943 $pattern if that is what it wants. In addition to providing this
10944 flexibility, this change should speed up pattern matching in cases
10945 where the pattern already ended with .* (there were a number of
10946 them). This change also helps catch bad patterns--in the old
10947 scheme the typo "char \*" instead of "char \\*" would pass. Now
10948 it is caught.
10949 * Many .exp files: Update callers.
10950
10951 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
10952 clearer and does not spuriously match multiple ('s. Likewise for
10953 ) and *.
10954
10955 * gdb.base/nodebug.exp: Test ability to call a function and pass
10956 it a string (even with no debugging info).
10957
10958 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10959 "p '\'", which is the same as "p ''" once tcl gets done with
10960 quoting, to "p '\\'", which I suspect is what is intended (one
10961 backslash gets sent to GDB).
10962
10963 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10964
10965Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10966
10967 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
10968 1817) was fixed literally years ago.
10969
10970Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10971
10972 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
10973 test, it causes stepping out of call_after_alloca_subr with
10974 optimizing compilers.
10975 (localvars_in_indirect_call): Consume GDB prompt if `finish'
10976 fails.
10977
10978 * gdb.c++/templates.exp: Source templ-info.exp only if
10979 the templates executable exists.
10980
10981 * gdb.c++/misc.cc (class Contains_static_instance,
10982 class Contains_nested_static_instance),
10983 gdb.c++/classes.exp (test_static_members): Test printing of
10984 a class that contains a static instance of the class.
10985
10986Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10987
10988 * gdb.base/langs2.c (cppsub_): Don't prototype.
10989 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10990 only, I believe).
10991
10992Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10993
10994 * lib/gdb.exp (skip_chill_tests): New procedure.
10995
10996 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10997
10998Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
10999
11000 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
11001 each expect pattern. Cuts runtime from 12 to about 4 seconds.
11002
11003Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11004
11005 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
11006
11007 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
11008 disassemble 8, not 16, instructions for part 4.
11009
11010 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
11011 support the latter anymore.
11012
11013 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
11014 -DNO_PROTOTYPES.
11015 * gdb.base/callfuncs.c: Control use of prototypes based on
11016 NO_PROTOTYPES, not __STDC__.
11017 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
11018 t_float_values2 tests if prototypes in use.
11019
11020 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
11021 t_double_values): When checking differences against DELTA, check
11022 that difference is within the range (-DELTA,DELTA), not just
11023 (-infinity,DELTA).
11024
11025Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
11026
11027 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
11028 'file' command firts, then 'target', then 'load', this is due to gdb
11029 target set up.
11030 * config/mips-gdb.exp: Fix a couple regular exp bugs.
11031
11032Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
11033
11034 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
11035 FP load/store variants.
11036 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
11037
11038Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11039
11040 * gdb.base/term.exp: Do not give a warning if not native, it is
11041 not an abnormal condition.
11042
11043Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
11044
11045 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
11046 t_char_array".
11047
11048Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11049
11050 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
11051 are getting the version number.
11052
11053 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
11054 if not native, it is not an abnormal condition.
11055
11056Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11057
11058 * lib/gdb.exp: Just use "file exists", rather than undocumented
11059 dejagnu procedure "findfile".
11060
11061Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11062
11063 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
11064 (LDFLAGS): Set to -Xlinker -Ur.
11065
11066 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
11067 Removed, these values are set by lib/gdb.exp.
11068
11069 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
11070
11071Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11072
11073 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
11074 of replicating gdb startup code.
11075
11076 * config/mt-vxworks (LDFLAGS): Set to -r.
11077 (CFLAGS_FOR_TARGET): Removed.
11078
11079 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
11080 (gdb) and gdb for vxworks uses (vxgdb).
11081
11082 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
11083 executable is not in the tree and host != target, use sed and
11084 program_transform_name to determine the gdb name used by the
11085 target.
11086
11087 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
11088 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
11089
11090Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11091
11092 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
11093 floats, chars, and shorts where there are ANSI-style function
11094 definitions.
11095
11096 * gdb.base/langs.exp, gdb.base/langs*: New test.
11097 * gdb.base/Makefile.in: Build it.
11098 * TODO: Remove item about checking that C names don't get C++
11099 demangling applied; this test tests it.
11100
11101Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11102
11103 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
11104 went with the const70 xfail. The xfail went away a year ago.
11105
11106 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
11107
11108 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
11109 for hp300.
11110
11111 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
11112
11113 * gdb.base/a1-selftest.exp: Don't run on hp300.
11114
11115Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11116
11117 * Makefile.in (site.exp): Set host_alias and target_alias as well
11118 as host_triplet and target_triplet.
11119
11120Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11121
11122 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
11123
11124 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
11125 places as other ecoff systems).
11126
11127 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
11128 ultrix.
11129
11130Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11131
11132 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
11133 remove them.
11134 * gdb.base/nodebug.exp: Accept "function" in addition to "text
11135 variable and "variable" in addition to "data variable".
11136 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
11137
11138 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
11139 2.
11140 * gdb.base/list1.c (long_line): Add additional statement at start
11141 of function.
11142 * gdb.base/list.exp (test_forward_search): Update line number to
11143 reflect new statement.
11144
11145Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11146
11147 * gdb.base/signals.exp: Reinitialize searched source directories
11148 after gdb_start call.
11149
11150Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
11151
11152 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
11153 * gdb.stabs/Makefile.in: Likewise.
11154
11155 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
11156 change. Instead split the tests into smaller pieces.
11157 * gdb.disasm/hppa.s: Corresponding changes.
11158
11159Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11160
11161 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11162 Quote ^C when passing it to stty. For some shells ^ is a pipe.
11163
11164 * gdb.base/funcargs.exp: Modify many tests so that every test
11165 either passes or fails. Make some test names unique.
11166
11167Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11168
11169 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11170 Call stty to set interrupt character.
11171
11172 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
11173 for HP assembler versus GNU assembler based on actual behavior of
11174 $(CC), rather than assuming that $(AS) is always the GNU assembler.
11175
11176 * TODO: Suggest a few more stepping tests.
11177
11178Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
11179
11180 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
11181 restart GDB for h8300 after a continue.
11182 (return): Add pattern to match a29k-udi behavior.
11183 * gdb.base/nodebug.exp: Remove obsolete comment.
11184 * gdb.base/regs.exp: New file, testing of register displays.
11185 * gdb.base/return.exp: Fix typo in reference to $objdir.
11186 * gdb.base/whatis.exp: Always start with a fresh GDB.
11187
11188Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11189
11190 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
11191 higher, these tests generate a lot of output.
11192
11193Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11194
11195 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
11196 code following the catch silently ignored some errors; without the
11197 catch they should be thrown like any other tcl error. Also, the
11198 catch used "" instead of {} which meant all the callers who wanted
11199 to include one of the characters "[]$ had to quote it an extra time.
11200 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
11201 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
11202 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
11203 Remove extra quoting.
11204
11205Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
11206
11207 * gdb.base/commands.exp: Make test names unique; every test either
11208 passes or fails. Update some comments.
11209
11210 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
11211
11212Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11213
11214 The following fixes a FAIL caused by the fact that the alpha stabs
11215 configuration didn't use the ".if alpha" code in weird.def.
11216 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
11217 bit pointer, so the 32 bit version works even on the alpha.
11218 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
11219 Remove the stuff which allowed us to have separate versions for
11220 alpha and everything else.
11221
11222 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
11223 regexp which "info func operator\[\](" is supposed to match. Fix
11224 string to send to GDB. Note that GDB still doesn't work right. Add a
11225 new test for "info func .perator\[\](" which GDB does handle correctly.
11226
11227 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
11228
11229Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11230
11231 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
11232 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
11233 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
11234 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11235 it makes the tests harder to understand and confuses test-o-matic.
11236 The preferred style is that each test provides a PASS or a FAIL,
11237 and has a unique message (e.g. "continue #54" not just "continue")
11238 which is the same for the pass and the fail.
11239 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11240 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
11241 to lib/gdb.exp.
11242 * gdb.base/printcmds.exp: Use test_print_accept. Remove
11243 prt_accept which was basically the same thing. Likewise for
11244 test_print_reject and prt_reject.
11245 * lib/gdb.exp (test_print_reject): Add some more error message
11246 patterns to match from the former printcmds.exp (prt_reject).
11247 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
11248 One defect of the passcount stuff is that some of it failed to
11249 report XPASS where appropriate.
11250 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
11251 stuff before and after arg in expected pattern.
11252 (test_paddr_operator_functions): Re-do test without print_addr_of;
11253 this is the only test which seems to want extra stuff there.
11254
11255Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11256
11257 * gdb.base/nodebug.exp: Update new tests to reflect improved
11258 wording of gdb output.
11259
11260 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
11261 and "ptype" work on variables in files compiled without -g.
11262 Replaces commented out "maint print msymbol" tests.
11263
11264Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11265
11266 * gdb.base/setvar.c (dummy): Call malloc.
11267
11268 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
11269 losing with the irix4 sed.
11270
11271 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
11272 ALRM" on irix4.
11273
11274Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11275
11276 * TODO: Remove items about corefile.exp testing new exec-file and
11277 backtrace; both are now done. Add items about printing enums.
11278
11279Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11280
11281 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
11282 "get signal $thissig" test fails.
11283
11284 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
11285
11286Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11287
11288 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
11289 compiler warning with dec alpha compiler.
11290
11291 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
11292 extra \n from gdb_test call (this explains why the prompt test
11293 that I removed yesterday was there).
11294 (user_defined_command_test): Remove extra \n and prompt test.
11295
11296 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
11297 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
11298 doesn't exist.
11299 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
11300 Also remove alpha workaround, which turns out to be because
11301 SIGABRT == SIGLOST.
11302
11303 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
11304
11305 * gdb.base/help.exp: Don't test "help show".
11306
11307Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11308
11309 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
11310 "set print address" is on.
11311 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
11312 pass prompt to gdb_test; gdb_test already looks for the prompt.
11313
11314 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
11315
11316 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
11317 was a vestige of the manual TESTSTRATEGY, and the purpose of it
11318 was to make sure that gdb can read a core file. But (a) the "read
11319 the corefile" part didn't make it to a1-selftest.exp, we just
11320 delete the corefile after creating it, and (b) we test reading
11321 corefiles in corefile.exp anyway. Also, this test left around a
11322 xgdb process on Solaris.
11323
11324 * gdb.base/corefile.exp: Also test backtrace.
11325
11326Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
11327
11328 * gdb.base/commands.exp: Test a simple user defined command with
11329 arguments and if/while statements; verify the full user command is
11330 printed by "show user".
11331
11332 * gdb.base/commands.exp: Test if/while commands as part of a
11333 breakpoint command list; verify they appear in breakpoint
11334 information.
11335
11336Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11337
11338 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
11339 than by dividing by zero.
11340
11341Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
11342
11343 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11344 performing an inferior call with watchpoints enabled.
11345 * gdb.base/watchpoint.c (main): Delete second unnecessary read
11346 call.
11347
11348Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11349
11350 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11351 of "file" command.
11352
11353 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11354 Add additional pattern for when "int operator int(void);" appears
11355 in a different order.
11356
11357Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11358
11359 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11360
11361 * gdb.base/help.exp: Replace most of docstrings for "info signals"
11362 and "signal" with ".*".
11363
11364Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11365
11366 * TODO: Add note about "handle all nostop".
11367
11368 * gdb.base/{sigall.c, sigall.exp}: New test.
11369 * gdb.base/Makefile.in: Add it.
11370
11371Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
11372
11373 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11374 when invoking GDB, suppresses any windowing interface.
11375
11376Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
11377
11378 * config/sim-gdb: New file, simulator testing support.
11379
11380Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
11381
11382 * gdb.base/interrupt.exp: Test calling func1 twice.
11383
11384Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
11385
11386 * gdb.base/list.exp (test_forward_search): Set timeout higher
11387 when we'll be getting lots of output from gdb.
11388
11389 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11390 "init_malloc" to after the expect statement. Run it if that
11391 regexp is taken, but also for two others which happen if source
11392 cannot be found.
11393
11394Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11395
11396 * gdb.base/printcmds.exp: New test, for printing register before
11397 program is running.
11398
11399Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11400
11401 * gdb.base/list.exp: Correct some alternate expect patterns
11402 to reflect changes in list1.c.
11403
11404Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11405
11406 * TODO: Add item regarding large frames.
11407
11408 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11409
11410 * TODO: Remove item about enabling return.exp; it
11411 is enabled. Suggest a few more "return" tests.
11412
11413Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11414
11415 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
11416 anonymous unions.
11417
11418Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11419
11420 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11421 and pr-5646.o, so "make" is the same as "make all", not "make
11422 pr-4975.o".
11423
11424Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
11425
11426 * gdb.base/list.exp: Adjust expectations to reflect changes in
11427 list1.c.
11428 (test_forward_search): New test proc.
11429 * gdb.base/list1.c (long_line): New function, has long source line.
11430
11431Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
11432
11433 * gdb.base/a1-selftest.exp: Change initial stepping to know about
11434 additional line of code that was added.
11435
11436Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
11437
11438 * gdb.disasm/hppa.s: Break the large branching tests into smaller
11439 tests so as not to overflow expect's input buffers.
11440 * gdb.disasm/hppa.exp: Corresponding changes.
11441
11442Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11443
11444 Beginnings of template debugging tests.
11445 * gdb.c++/templ-info.cc: New file to test for template
11446 debugging capability of the compiler.
11447 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
11448 templ-info.cc.
11449 * gdb.c++/templates.cc: Add explicit template instantiations
11450 to enable compiling with -fno-implicit-templates. Add destructor
11451 and 'value' method to T5 class for template tests.
11452 * gdb.c++/templates.exp: Add testcases for printing of template
11453 types, setting breakpoints on template methods and calling a
d63a86f8 11454 template method.
c906108c
SS
11455
11456Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11457
11458 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11459 branch target since some assemblers (gas-2.5) may emit a
11460 relocation for the branch instead of resolving it in the
11461 assembler.
11462
11463Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11464
11465 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11466 through signal handler.
11467
11468Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11469
11470 * configure.in (*-*-netware): Use config/mt-netware.
11471
11472 * config/mt-netware: New file.
11473 * config/mt-i386-netware: Removed, separate configs for different
11474 netware architectures are no longer needed now that we have
11475 --with-headers.
11476
11477Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11478
11479 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11480 by the recent changes to use ANSI C arithmetic conversions.
11481
11482Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11483
11484 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11485 bug involving using inferior_pid to figure out whether to select a
11486 frame.
11487
11488Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11489
11490 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11491 match the current disassembler output.
11492
11493Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11494
11495 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11496 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11497 types, expect "int" as type of integer values (for now).
11498
11499Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11500
11501 * gdb.base/commands.exp: New tests for if/while commands.
11502
11503Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11504
11505 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11506 by .*, since hex values have different syntax in Chill mode.
11507
11508Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11509
11510 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11511 linefeed from expect pattern for repeated types with indices > 9.
11512
11513Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11514
11515 First part of Fortran test suite.
11516 * gdb.fortran: New directory.
11517 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11518
11519Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11520
11521 * gdb.base/default.exp: Update expect pattern for load command
11522 without arguments.
11523
11524Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11525
11526 * configure.in: Change i386 to i[345]86.
11527 * gdb.base/configure.in: Likewise.
11528 * gdb.c++/configure.in: Likewise.
11529 * gdb.chill/configure.in: Likewise.
11530
11531Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11532
11533 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11534 patterns, since that is not a valid context for comments.
11535
11536Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11537
11538 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11539 repeated types and repeated types with indices > 9.
11540
11541Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11542
11543 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11544 2417; old bug has been fixed.
11545
11546Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11547
11548 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11549 send the newline ourselves instead of assuming gdb_test will do
11550 so when passed an empty input string.
11551
11552 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11553 stabs testcode.
11554
11555Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11556
11557 * lib/gdb.exp (gdb_test): Don't send anything if the first
11558 argument is an empty string. This makes cases where we want to
11559 match output that is already in expect's buffers (for example,
11560 matching a breakpoint after gdb_run_cmd has been called) work
11561 reliably.
11562
11563Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11564
11565 * config/netware.exp: New file.
11566
11567Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11568
11569 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11570 the -B and -L prefixes so we can find the debugging stub.
11571
11572 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11573 there and we are using the gcc from the tree.
11574
11575 * gdb.base/types.c: Removed.
11576
11577 * gdb.base/configure.in: Look for makefile fragments in ../config.
11578 Recognize i386-*-netware.
11579 * gdb.c++/configure.in: Likewise.
11580
11581Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11582
11583 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11584 the correct TCL syntax.
11585
11586Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11587
11588 * gdb.base/opaque.exp: use runto instead of messing around with
11589 breakpoints. Simplify by using gdb_test.
11590
11591 * gdb.base/bitfields.exp: restart between tests on netware targets
11592 because breakpoints aren't relocated after target death. Run
11593 processes to completion.
11594
11595 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11596
11597Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11598
11599 * Makefile.in: Remove extra tabs that confuse some versions
11600 of "make". Use the newly built gdb to test with by default,
11601 rather than the first one in the tester's search path.
11602
11603Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11604
11605 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11606
11607 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11608 condition help.
11609
11610Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11611
11612 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11613
11614 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11615 running.
11616 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11617 * gdb.base/funcargs.exp: Likewise.
11618
11619 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11620 * gdb.base/funcargs.exp: Likewise.
11621
11622 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11623 message is "".
11624
11625Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11626
11627 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11628 return,signals,twice}.exp: Handle non-existant binaries
11629 consistantly.
11630
11631 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11632 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11633 might testing a cross development system.
11634
11635Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11636
11637 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11638 runtest script is relative to ${srcdir}, not ${rootdir}.
11639
11640Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11641
11642 * gdb.base/signals.exp: Allow for optionality of breakpoint
11643 address.
11644
11645Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11646
11647 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11648
11649Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11650
11651 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11652 for size_t definition.
11653 * gdb.c++/templates.cc: Likewise
11654
11655 * config/mt-i386-netware: New file.
11656
11657 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11658 defined.
11659
11660 * gdb.base/Makefile.in: Added support for systems that name core
11661 files by appending "core" to the program name.
11662 * gdb.base/a1-selftest.exp: Likewise.
11663
11664Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11665
11666 * gdb.base/return.exp: Add comment and message for `return double'
11667 test failure on Sparc Solaris.
11668
11669Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11670
11671 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11672
11673Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11674
11675 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11676 from optimizing them away.
11677 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11678 patterns to include default constructors and assignment operators,
11679 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11680 character in the output of the virtual base pointer.
11681
11682Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11683
11684 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11685 expression match in print_addr_of to avoid unintented matches.
11686 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11687 versions up to 2.5.8.
11688
11689Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11690
11691 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11692 included file to run under newer versions of expect.
11693 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11694 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11695 Remove xfail for the virtual table of BDDHookV.
11696
11697Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11698
11699 * lib/gdb.exp (string_to_regexp): Set a default result.
11700 (default_gdb_start): Fix misleading message.
11701
11702Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11703
11704 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11705 Remove all CC, etc definitions.
11706 * config/mt-hpux: New file.
11707 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11708 (CFLAGS, LDFLAGS): Define.
11709 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11710
11711 * Makefile.in (site.exp): Don't insert host_os, etc.
11712 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11713 (distclean): Check existence of subdir.
11714 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11715 * gdb.base/Makefile.in: General cleanup and simplification.
11716 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11717 to build executables. Use default rule to build .o files.
11718 (EXPECT, RUNTEST, CC): Fix relative pathname.
11719 (site.exp): Don't insert host_os, etc.
11720 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11721 and/or SIGUSR1 defined.
11722 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11723 * gdb.c++/Makefile.in: General cleanup and simplification.
11724 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11725 (CFLAGS): Remove.
11726 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11727
11728Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11729
11730 * gdb.base/recurse.exp: Misc changes to get tests running again
11731 after Kung's changes to the watchpoint code.
11732 * gdb.base/watchpoint.exp: Likewise.
11733
11734Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11735
11736 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11737
11738Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11739
11740 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11741 * lib/gdb.exp (default_gdb_start): Define.
11742 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11743 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11744 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11745 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11746 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11747 Don't call gdb_target_udi in between tests.
11748
11749Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11750
11751 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11752 (which was basically just a local version of the same thing). In
11753 addition to avoiding duplication, gdb_test_exact is faster.
11754 * lib/gdb.exp (gdb_test_exact): Fix typo.
11755
11756 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11757 don't give an error.
11758
11759 * gdb.base/term.exp: Call delete_breakpoints before starting.
11760
11761 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11762 (t10): Add comment.
11763
11764Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11765
11766 Reorganization of the GDB Test Suite.
11767
11768 * gdb.base: New directory, contains all the basic tests.
11769 * gdb.c++: New directory, tests specific to C++.
11770 * gdb.chill: New directory, tests specific to Chill.
11771 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11772 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11773 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11774 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11775 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11776 t30-31 to chill).
11777 * */gdbme.*: Rename to match appropriate expect scripts.
11778 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11779 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11780 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11781 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11782 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11783 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11784 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11785 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11786 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11787 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11788 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11789 gdb.c++/virtfunc.cc: New names of C++ files.
11790 * gdb.chill/chillvars.ch: New name of Chill file.
11791 * gdb.base/configure.in, gdb.c++/configure.in,
11792 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11793 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11794 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11795 * configure.in (configdirs): Update to reflect directory changes.
11796 (target_abbrev): No longer define for any configuration.
11797 * Makefile.in: Cosmetic improvements to header comments.
11798
11799Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11800
11801 Various changes to gdb.t31:
11802
11803 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11804 * gdbme.ch: Make all key-words and predefineds be upper-case.
11805 * chillvars.exp: Expect key-words and predefinds in upper-case.
11806
11807 * chillvars.exp: Use gdb_test_exact many places.
11808 Change expected output for arrays (which now includes index labels).
11809
11810 * pr-5020.exp, gdme.ch (module PR_5020):
11811 New test, for PR-5020.
11812
11813Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11814
11815 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11816 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11817
11818Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11819
11820 * Makefile.in: Fix bit-rot in definitions of CHILL,
11821 CHILL_FOR_TARGET and Chill_LIB.
11822 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11823 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11824 CHILL, and CHILL_LIB.
11825
11826Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11827
11828 * Revert the previous changes. Please see Rob's directory
11829 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11830
11831Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11832
11833 * Makefile.in, configure.in, config/mips-gdb.exp,
11834 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11835 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11836 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11837 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11838 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11839 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11840 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11841 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11842 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11843 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11844 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11845 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11846 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11847 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11848 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11849 changes from 94Q1.
11850
11851Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11852
11853 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11854 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11855 Rob's new testing fragments.
11856
11857Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11858
11859 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11860 lib/gdb.exp: Replace error proc calls with perror.
11861
11862Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11863
11864 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11865 version also, match on casted version strings, and match on
11866 gdb startup case where the line numbers might be messed up.
11867
11868Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11869
11870 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11871 (CFLAGS): Delete it from here.
11872
11873Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11874
11875 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11876
11877Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11878
11879 * Makefile.in (RUNTEST): Default to just "runtest".
11880
11881Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11882
11883 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11884 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11885 the code has been restructured.
11886
11887Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11888
11889 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11890 \n, not just one of each.
11891
11892 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11893 /bin/cc gives a warning if you do.
11894
11895Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
11896
d63a86f8 11897 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
11898 __t10ListS_link1ZUiRCUiPT0
11899
11900Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11901
11902 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11903 on local variables in recursive functions.
11904
11905 * gdb.t07/Makefile.in: Build the new test.
11906
11907Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11908
11909 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11910 directly. Instead compare the return values from actual calls.
11911
11912Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
11913
11914 * Makefile.in (check): Set TCL_LIBRARY for runtest.
11915
11916Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11917
11918 * From Peter Schauer with minor modifications.
11919 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11920 stops in mid-line in the caller. Add xfail for returning a float
11921 value on X86 targets.
11922
11923Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11924
11925 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11926 to avoid expect lossage.
11927 (fmem_LRbug_tests): Likewise.
11928 * gdb.disasm/hppa.s: Corresponding changes.
11929
11930 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11931 conditions to work with latest dejagnu/expect.
11932
11933 * gdb.t15/funcargs.exp (finish from indirect call): No longer
11934 expected to fail on the PA.
11935 (backtrace in call with trampolines): Explicitly require main
11936 to be frame #1 (no trampolines should show up in backtrace).
11937
11938 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11939 "continue -expect".
11940 * gdb.t06/break.exp: Likewise.
11941 * gdb.t07/watchpoint.exp: Likewise.
11942 * gdb.t13/bitfields.exp: Likewise.
11943 * gdb.t15/{funcargs,return}.exp: Likewise.
11944 * gdb.stabs/weird.exp: Likewise.
11945 * config/{mips,udi}-gdb.exp: Likewise.
11946
11947 * hppa.sed: Enclose comments within a sed command to avoid
11948 losing with the old OSF1 sed.
11949
11950Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11951
11952 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
11953 sequent dynix.
11954 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
11955 * gdb.t15/funcargs.exp: Conditionally step again to really
11956 finish from marker_call_with_trampolines. Handle the case where
11957 the first step from within call_with_trampolines already steps
11958 us back to main.
11959 * gdb.t15/gdbme.c: Add comment to closing brace of
11960 call_with_trampolines for funcargs.exp.
11961
11962Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11963
d63a86f8 11964 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
11965 Fix typo(s).
11966
11967Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11968
11969 * gdb.t07/gdbme.c: More code for watchpoint testing.
11970
11971 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11972 "Hardware watchpoint" throughout file.
11973 (test_watchpoint_triggered_in_syscall): New test.
11974 (test_complex_watchpoint): New test.
11975
11976Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11977
11978 * gdbme.c (call_with_trampolines): New function to try and step
11979 into. Tests trampoline problems on the PA.
11980
11981 * funcargs.exp (localvars_in_indirect_call): No longer expect
11982 stepping into indirect call to fail on PAs.
11983 (test_stepping_over_trampolines): New test.
11984
11985Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11986
11987 * TODO: Add suggestions for static member function tests, and
11988 completion tests.
11989
11990Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11991
11992 * TODO: Add suggestions for "p/a" tests.
11993
11994 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11995 (default_gdb_exit): Replace all the hair with sending "quit" to
11996 the process with a simple close.
11997
11998Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11999
12000 * TODO: Add suggestions for shared library tests.
12001
12002Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12003
12004 * TODO: Add suggestions for x/s tests.
12005
12006Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12007
12008 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
12009 "enable once", and "enable breakpoints once" with ".*".
12010
12011Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12012
12013 * TODO: Add suggestions about structure passing tests.
12014
12015Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12016
12017 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
12018 the primary1 test, use work around if __GNUC__ < 2.
12019 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
12020 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
12021 Test for bad output rather than waiting for timeout. Issue
12022 second continue only if first continue failed.
12023
12024Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12025
12026 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
12027 operator[] test with gdb_test because the old code didn't seem to
12028 be getting the quoting right with the new dejagnu.
12029
12030Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
12031
12032 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
12033 one from the path.
12034 * Makefile.in: Use a fresh expect if there is one, use runtest
12035 from the src tree if there is one.
d63a86f8 12036
c906108c
SS
12037Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12038
12039 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
12040 next over recursive call. Revise the tests from that point on
12041 (which had been skipped) to match GDB's actual (correct) output.
12042
12043 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
12044 with next over a breakpoint whose condition is false.
12045
12046 * gdb.t00/help.exp: Comment out "help set print" tests just like
12047 (and for same reason as) "help set" test.
12048
12049Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12050
12051 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
12052 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
12053
12054Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12055
12056 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
12057 necessary gdb_target_udi.
12058
12059 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
12060
12061 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
12062 1838 and 2417; they are fixed.
12063
12064 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
12065 gdb.t03/ptype.exp (ptype structure, ptype union):
12066 Remove xfails; the test is looser than when the xfails were added.
12067
12068 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
12069 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
12070
12071 * gdb.t01/run.exp: Only run shell test if isnative.
12072
12073 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
12074 since "run" automatically loads if necessary. Call gdb_target_udi
12075 after the "file" since "file" kills any execution target.
12076
12077 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
12078 GDB. GDB doesn't work that way (not anymore at least) on UDI.
12079 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
12080 argument for UDI.
12081
12082Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12083
12084 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
12085
12086 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
12087
12088Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12089
12090 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
12091 properly quoting regexps. This makes the second argument to
12092 demangle a fixed string, which matches the callers, instead of a
12093 shell-style pattern which is what the previous implementation
12094 used. Update some of the callers.
12095
12096Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12097
12098 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
12099 (comib_nullified_tests): Fix typo.
12100 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
12101 strings. No longer expected to fail.
12102
12103 * gdb.disasm/hppa.s (addib_tests): Fix typo.
12104 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
12105 strings. No longer expected to fail.
12106
12107 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
12108 string. No longer expected to fail.
12109
12110Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12111
12112 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
12113 No longer expected to fail.
12114
12115 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
12116 string. No longer expected to fail.
12117
12118Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12119
12120 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
12121 only in the names (I probably got most of them). I was even
12122 generous with some which differed in underscores in names, and
12123 probably missed a few, and I *still* was able to remove almost a
12124 third of the file with almost no impact on testsuite coverage.
12125
12126Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12127
12128 * gdb.t00/default.exp: Match udi_attach error message as well as
12129 the one from child_attach.
12130
12131 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
12132
12133 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
12134
12135 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
12136 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
12137
12138 * Move test with enums and partial symbols back to
12139 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
12140 Reverts the change of 26 May 93. Per today's change to
12141 stabs.texinfo, the behavior that weird.exp was expecting was
12142 unreasonable; what is important is that the compiler+gdb get
12143 things right, which happens with a recent gcc. Also fix the test
12144 to deal with native compilers which put out the stab gdb can't
12145 deal with.
12146
12147Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12148
12149 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
12150 in the names. The main thing these accomplish is to slow things down.
12151 Many more such duplicates surely remain.
12152
12153 * gdb.t00/help.exp: Comment out "help support" test just like
12154 (and for same reason as) "help set" test.
12155
12156Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
12157
12158 * gdb.t06/break.exp: Remove setup_xfails for
12159 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
12160 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
12161 about known bug in gcc to include up through 2.5.8.
12162 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
12163 well as "_vb$".
12164 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
12165 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
12166 with latest gcc and gdb.
12167 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
12168 well as "_vb$".
12169
12170Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12171
12172 * configure.in (hppa*-*-*): Also configure and build stabs-only
12173 tests.
12174
12175Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12176
12177 * gdb.t10/hppa.mt: A makefile fragment for the PA.
12178 * gdb.t10/configure.in (hppa*-*-*): Use it.
12179
12180Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12181
12182 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
12183
12184Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12185
12186 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
12187 versions prior to 1.13.5.
12188
12189Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12190
12191 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
12192 the prompt is at the start of a line.
12193
12194Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12195
12196 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
12197 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
12198 in the copr tests now.
12199 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
12200 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
12201 expected to fail.
12202
12203Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
12204
12205 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
12206 gdb.t31/chillvars.exp, lib/gdb.exp:
12207 Tweak to run under either version of expect.
12208 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
12209 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
12210 * gdb.t11/list.exp: Remove extraneous whitespace.
12211
12212Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12213
12214 * gdb.t16/printcmds.exp (test_print_strings): Accept
12215 "(unsigned char *) " before the string.
12216
12217 * TODO: Add notes about printing of fancy types and GDB expressions.
12218
12219Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
12220
12221 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
12222 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 12223 if doing mips-idt-ecoff.
c906108c
SS
12224
12225Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
12226
12227 * Most .exp files: Tweak to run under either version of expect.
12228
12229Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12230
12231 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
12232 xfails; I'm not sure why they are failing, but not because of PR 1806.
12233
12234Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
12235
12236 * config/unix-gdb.exp: Remove gdb_unload cause it's already
12237 defined in lib/gdb.exp.
12238
12239Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12240
12241 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
12242 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
12243 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
12244 have to be typeless.
12245
12246Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12247
12248 * TODO: Add suggestion for copyright year test.
12249
12250Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
12251
12252 * configure.in (*-*-lynxos*): Add stabs tests.
12253
12254Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12255
12256 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
12257 so insert a tab before any assembler directive in column zero.
12258
12259 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
12260 stores.
12261 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
12262 stores.
12263 (fpu_short_memory_tests): Likewise.
12264
12265Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12266
12267 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
12268 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
12269 .stabs directives in comments.
12270
12271Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12272
12273 * TODO: New file, describing tests we could write.
12274 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
12275
12276Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12277
12278 * gdb.t06/signals.exp: Add kludge to force re-sync.
12279
12280 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
12281 to xgdb instead of gdb, get out of gdb.
12282
12283Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
12284
12285 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
12286 for info.
12287
12288Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12289
12290 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
12291 * gdb.stabs/configure.in (hppa*-*-*): Use it.
12292 * gdb.stabs/hppa.sed: New sed script for the PA.
12293
12294Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12295
12296 * gdb.stabs: Re-write weird.def and configuration to use sed
12297 instead of cpp. sed is portable and POSIX; cpp is neither.
12298
12299Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12300
12301 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
12302
12303Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12304
12305 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
12306
12307Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12308
12309 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
12310 "_vb$".
12311 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
12312 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
12313
12314Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12315
12316 * lib/gdb.exp: Comment out code which depends on non-existent
12317 `transform' procedure.
12318
12319Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
12320
12321 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
12322 * lib/gdb.exp: Transform tool name.
12323 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
12324 1.1's new error handling system.
12325
12326Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12327
12328 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
12329
12330Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12331
12332 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
12333 They made pattern matching so slow that timeouts happened on
12334 heavily loaded systems. Now any output from "show print" which
12335 gets us back to the GDB prompt is a PASS.
12336
12337Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
12338
12339 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
12340
12341Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12342
12343 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12344
12345 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12346 It is not from PR 3220.
12347
12348Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12349
12350 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12351 just started failing because they depended on the order the
12352 subcommands are presented, or exact docstring text. This kind of
12353 test is a pain and has minimal benefit.
12354
12355Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12356
12357 * gdb.t09/corefile.exp: At end of test, use "core" command with
12358 no arguments.
12359
12360Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
12361
12362 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12363 17}/Makefile.in: Make it possible to run the testsuite with Sun
12364 make and CC = cross gcc by adding explicit build rules for .o
12365 files.
12366
12367Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12368
12369 * gdb.t15/funcargs.exp: Don't put comments on same line as
12370 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 12371
c906108c
SS
12372Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12373
12374 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12375
12376Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
12377
12378 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12379 * gdb.t20/inherit.exp: remove three dumplicate entries.
12380
12381Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12382
12383 * gdb.t06/break.exp: For "next over recursive call", fail on any
12384 incorrect output, not just on "factorial (value=2)".
12385
12386Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12387
12388 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
12389 working now. Add an xfail if accesing a bss variable causes
12390 a memory error if the target is not yet run.
12391
12392Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12393
12394 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12395 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12396 name of __st* demangling (2 strings). Did Kung really get the
12397 more than 95 others right without testing them?
12398
12399Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
12400
12401 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12402
12403Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
12404
12405 * configure.in (configdirs): Add gdb.disasm
12406 * gdb.disasm: New directory for GDB disassembler tests.
12407 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12408
12409Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12410
12411 * gdb.t00/help.exp: Don't test "help set".
12412
12413 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12414 from within expect statements. None of these happen anymore and
12415 they cause regressions to be silently unnoticed.
12416
12417 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12418 messages) about known failures with gcc cygnus-2.4.5-930417.
12419
12420 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12421 comp-info.exp so it gets built if it doesn't exist.
12422
12423 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12424 it is no longer used.
12425 * gdb.t13/comp-info.c: Removed.
12426
12427Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12428
12429 * gdb.t06/signals.exp: Add xfail for sun3.
12430
12431Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12432
12433 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12434 relevant because ^C doesn't get sent but failure can be reproduced
12435 interactively).
12436
12437Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12438
12439 * gdb.stabs/alpha.mt: New configuration file for alpha.
12440 * gdb.stabs/configure.in: Use it.
12441 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
12442 sharing with alpha.mt, redefine long to word via preprocessor.
12443 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
12444 for alpha.
12445 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
12446 native cc.
12447 * gdb.t00/teststrategy.exp: Change expect string so that we
12448 consume the `(xgdb)' from the command echo and from the gdb prompt.
12449 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
12450 gdb currently compares all values as long, so this failure probably
12451 applies to any configuration where LONGEST is bigger than a target int.
12452 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12453 with gcc.
12454 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12455 to handle opaque pointers, gcc is.
12456 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12457 as first argument. Include <sys/types.h> and change all operator
12458 new definitions to use size_t.
12459 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12460 now that we use size_t.
12461
12462Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12463
12464 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12465 a long or float array cast all array members to the same type.
12466 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12467 with 64 bit longs.
12468 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12469 on alpha.
12470 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12471
12472Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12473
12474 * gdb.t24 (demangle.exp): Constructors of templates have names like
12475 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12476 section 14.6 of the ARM.
12477
12478 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12479 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12480 accomplish little and slow down the testsuite.
12481
12482 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12483 Accept spaces various places.
12484
12485Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12486
12487 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12488 with watchpoint enabled.
12489
12490 * Makefile.in: Remove definition of CC and remove the second
12491 definition of CXX (the "CXX = gcc" one remains). These definitions
12492 were causing backquotes to be expanded within backquotes, which
12493 doesn't work.
12494
12495Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12496
12497 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12498
12499Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12500
12501 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12502 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12503 by mips cc and contains no stabs entries.
12504
12505Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12506
12507 * config/vx-gdb.exp: Use fake device to load files rather than
12508 NFS.
12509 * lib/gdb.exp: New proc to do "file" command.
12510 * config/unix-gdb.exp: Use new "file" proc.
12511
12512Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12513
12514 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12515 Rework board rebooting slightly.
12516 (gdb_exit): Don't exit from the remote shell; there isn't one.
12517 * gdb.stabs/weird.exp: If a program is being debugged already,
12518 kill it.
12519 * gdb.t04/setvar.exp: Stop and restart gdb.
12520 * gdb.t05/expr.exp: Likewise.
12521 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12522 restart gdb and reload the program.
12523 * gdb.t08/opaque.exp: Likewise.
12524 * gdb.t12/scope.exp: Likewise.
12525 * gdb.t13/bitfields.exp: Likewise.
12526 * gdb.t15/funcargs.exp: Likewise.
12527 * gdb.t20/classes.exp: Likewise.
12528 * gdb.t03/ptype.exp: Increase timeout.
12529 * gdb.t16/printcmds.exp (test_print_string_constants,
12530 test_print_array_constants): Likewise.
12531 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12532 * gdb.t20/classes.exp (do_tests): Likewise.
12533 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12534
12535Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12536
12537 * gdb.stabs: Renamed *wierd* to *weird*.
12538
12539Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12540
12541 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12542 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12543
12544Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12545
12546 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12547 (do_tests): Remove xfail for whatis on one_var and two_var.
12548
12549Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12550
12551 * Makefile.in: Made cross building work better by adding
12552 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12553
12554Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12555
12556 * gdb.t15/{return.c,return.exp,Makefile.in}:
12557 New test, currently commented out.
12558
12559Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12560
12561 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12562 still running and removes the leftover named socket so GDb can do
12563 clean restarts.
12564
12565Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12566
12567 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12568 console, not GDB.
12569 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12570 cross testing works better with "make check"
12571 * config/unix-gdb: Use default procedures for exit and version.
12572 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12573 with the newest VxWorks.
12574
12575Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12576
12577 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12578 old form.
12579
12580 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12581 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12582
12583 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12584
12585 * config/unix-gdb.exp: Remove this version of gdb_exit
12586 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12587 Rob says he'll look at it when he gets back to testing boards.
12588
12589Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12590
12591 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12592 an expected fail for certain ptype commands.
12593
12594 * gdb.t20/classes.exp: Update expected results of "ptype class
12595 Base1" to account for the constructor that now appears in the type.
12596
12597Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12598
12599 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12600 disappeared from list.
12601 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12602 "alldone" proc with call to cleanup and exit.
12603 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12604 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12605 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12606 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12607 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12608 "alldone" proc with simple returns that suppress remaining
12609 tests. The alldone proc went away many months ago.
12610
12611Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12612
12613 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12614
12615 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12616
12617Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12618
12619 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12620 as vax gdb will display them.
12621
12622Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12623
12624 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12625 optimizers.
12626
12627 * scope.exp: Change "bad value for localval" messages so each one
12628 is unique.
12629
12630 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12631 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12632
12633 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12634
12635Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12636
12637 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12638 doesn't exist (due to optimization).
12639
12640Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12641
12642 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12643 contains \r because the filename is long.
12644
12645 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12646 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12647
12648Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12649
12650 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12651 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12652 Ultrix.
12653 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12654 int tests.
12655 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12656
12657Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12658
12659 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12660
12661 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 12662 to match does not match the passing case but still matches the
c906108c
SS
12663 failing case.
12664
12665Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12666
12667 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12668
12669Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12670
12671 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12672 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12673 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12674 Remove various versions of gdb_exit.
12675 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12676 gdb_exit.
12677 * config/unix-gdb.exp: gdb_exit remains here, and should override
12678 the generic version, since it's doing a lot of wierd stuff that
12679 the other versions aren't. FIXME, fold it in, or abandon this
12680 version.
12681
12682Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12683
12684 * gdb.t24/demangle.exp: Add tests for PR 3220.
12685
12686Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12687
12688 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12689
12690Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12691
12692 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12693 "i386-*-*". Works for i486 as well.
12694
12695 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12696 bug, and expand domain of xfail to all SVR4 systems, since the
12697 actual problem is likely to be in generic SVR4 /proc support.
12698
12699Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12700
12701 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12702
12703Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12704
12705 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12706 xfails for other systems. Match a missing 'Continuing.' as an
12707 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12708
12709 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12710 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12711 Only issue warning for missing executables if -all option is used.
12712
12713 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12714 file if -all option is used. It's like an unpredictable XFAIL.
12715
12716Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12717
12718 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12719 for dynamically linked binaries.
12720
12721 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12722
12723Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12724
12725 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12726 to state that this is a known bug in old versions of g++.
12727
12728Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12729
12730 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12731 while waiting for `Continuing'.
12732
12733Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12734
12735 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12736 in text, data, and bss.
12737 * gdb.t10/nodebug.c: Add local and global test variables for
12738 initialized and uninitialized data.
12739
12740Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12741
12742 * config/unix-gdb.exp (gdb_exit): Add "wait".
12743
12744Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12745
12746 * gdb.t06/signals.exp: xfail the continue from the handler for all
12747 targets.
12748
12749 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12750 function with watchpoints enabled, the i386 call dummy starts with
12751 a call.
12752
12753 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12754 386 bsd names its corefiles.
12755
12756Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12757
12758 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12759 compilers don't grok it.
12760 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12761 with small octal ints rather than character constants, which
12762 are signed and might not fit if first promoted to int.
12763
12764Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12765
12766 * gdb.t09/Makefile.in (clean): Remove corefile.
12767
12768Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12769
12770 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12771
12772Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12773 and Jim Kingdon (kingdon@cygnus.com)
12774
12775 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12776 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12777 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12778
12779Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12780
12781 * gdb.t17/interrupt.exp: Add xfail for hppa.
12782
12783Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12784
12785 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12786 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12787 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12788 to determine signed-ness of bitfields and use the result to setup
12789 the xfail.
12790 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12791 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12792 call line is reached if necessary.
12793
12794Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12795
12796 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12797
12798Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12799
12800 * gdb.t06/break.exp: Also test `clear' command.
12801
12802Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12803
12804 * gdb.t00/teststrategy.exp: Remove extra quote.
12805
12806 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12807 watchpoint enabled to be for all non-68k machines.
12808
12809 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12810
12811Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12812
12813 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12814 targets use aout.mt instead of ecoff.mt as gas understands
12815 standard aout format.
12816
12817Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12818
12819 * lib/gdb.exp (runto): Don't insist that function we are running to
12820 was compiled with -g.
12821
12822 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12823
12824 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12825 to get back into the read system call.
12826 Accept leading newline in case where we woke it up.
12827
12828Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12829
12830 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12831 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12832 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12833 enable ecoff configuration.
12834
12835Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12836
12837 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12838
12839Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12840
12841 * gdb.t16/printcmds.exp: Add another printf test.
12842
12843Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12844
12845 * configure.in: If configured -with-stabs on any target, add
12846 stabsdirs to configdirs.
12847
12848Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12849
12850 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12851 fun" so pattern does not match the command itself.
12852
12853Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12854
12855 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12856
12857Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12858
12859 * gdb.t17/interrupt.exp: Test for more things.
12860
12861Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12862
12863 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12864 compiler arranges the code and line numbers.
12865
12866 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12867
12868Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12869
12870 * gdb.t00/help.exp: Increase expect input buffer size.
12871
12872Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12873
12874 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12875
12876 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12877
12878 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12879
12880 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12881 [0-9]*, not just [0-9].
12882
12883Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12884
12885 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12886
12887 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12888
12889Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12890
12891 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12892
12893Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12894
12895 * gdb.t06/signals.c: Add xfails for sun3.
12896
12897 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12898
12899 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12900 test_stepping tests.
12901
12902Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12903
12904 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12905
12906 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12907
12908 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12909 rather than actually putting it through cpp twice.
12910
12911 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12912
12913Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
12914
12915 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12916 no longer needed.
12917
12918Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12919
12920 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12921
12922 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12923 C++ features prints as "struct", make it a pass, not an xfail.
12924
12925Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12926
12927 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12928 Don't require VA to print as "class" rather than "struct".
12929
12930Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
12931
12932 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12933
12934Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12935
12936 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12937
12938Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12939
12940 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
12941 order.
12942
12943Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12944
12945 * gdb.t16/printcmds.exp: Add printf tests.
12946
12947 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12948
12949 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12950
12951Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
12952
12953 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
12954 pass counts, to counteract any existing or future setup_xfails.
12955
12956Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12957
12958 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12959 {BEGIN,END}_COMMON for common block instead of STAB.
12960 * gdb.stabs/wierd.exp: Add xfail for rs6000.
12961
12962 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12963 intp_var should be N_GSYM not N_LSYM.
12964 wierd-aout.S: Use a label for the value of the N_SO.
12965 wierd.def: Remove all backslashes.
12966 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
12967
12968Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12969
12970 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12971 get the expected next to inheritance3.
12972
12973Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12974
12975 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12976 now that gcc-2.4 gets it right.
12977
12978Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12979
12980 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12981
12982 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12983 generating comp-info.exp which works for cross-compilation.
12984
12985Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
12986
12987 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
12988 "*-*-sysv4.*".
12989
12990Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
12991
12992 * gdb.t01/run.exp: Start with a fresh gdb.
12993 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
12994 SVR4.x.
12995
12996Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
12997
12998 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12999 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
13000 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
13001 Makefile.in (distclean, realclean): Remove gdbme.c from list of
13002 things to remove.
13003
13004Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
13005
13006 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
13007 test cases from bug reports.
13008
13009Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
13010
13011 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
13012 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
13013 avoid spurious xfails.
13014 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
13015 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
13016 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
13017
13018Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
13019
13020 * gdb.t00/teststrategy.exp: Rework to provide more useful
13021 description of each test, fix problem with systems that define
13022 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
13023 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
13024 results for "next over recursive call" so timeouts aren't taken
13025 by error.
13026
13027Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
13028
13029 * gdb.t12/scope.exp: Test printing of variables before run.
13030
13031 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
13032 printed in wrong order due to sorting.
13033
13034Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
13035
13036 * gdb.t00/teststrategy.exp: Fix expected results for printing
13037 user entered string constant. Is array of char, prints with no
13038 address.
13039
13040 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
13041 commands.
13042 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
13043 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
13044 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
13045 of struct of char arrays.
13046 * gdb.t00/radix.exp: New tests for radix commands.
13047
13048Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
13049
13050 * gdb.t16/printcmd.exp: Print a variable before running program
13051 (with xfail for AIX).
13052
13053Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
13054
13055 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
13056
13057 * gdb.t16/printcmd.exp: Don't print variables before running program.
13058
13059 * gdb.t06/break.exp: Don't require envp argument to main.
13060
13061 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
13062
13063 * gdb.t02/whatis.exp, gdb.t11/list.exp:
13064 Add xfails for rs6000.
13065
13066 * gdb.t02/whatis.exp: Change other tests not to re-test something
13067 we already tested.
13068
13069 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
13070 each type used has a variable of that type.
13071
13072Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
13073
13074 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
13075
13076Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13077
13078 * configure.in: change srctrigger to be a file, not a directory
13079
13080Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
13081
13082 * configure.in (mips-idt-ecoff*): Added trailing '*'.
13083
13084 * gdb.t11/list.exp: Fixed a couple of typos.
13085
13086Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
13087
13088 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
13089 is fixed and PR is closed.
13090 * gdb.t16 (gdbme.c): Add simple test string variable.
13091 * gdb.t16 (printcmds.exp): Add tests with simple test string
13092 variable, primarily for boundaries on "set print elements".
13093
13094Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
13095
13096 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
13097 Make leading 0's optional and don't expect a tab in the middle
13098 of the number.
13099
13100 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
13101
13102 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
13103 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
13104 don't end command passed to gdb_test with newline.
13105
13106 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
13107 signed keyword away, don't expect signed bitfields to be signed.
13108
13109 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
13110 printing with only as many 1's as are in the field as well as printing
13111 with 32 1's (see comment).
13112
13113Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
13114
13115 * gdb.t00/default.exp: Start with a fresh gdb.
13116 * configure.in (configdirs): Remove gdb.t31 until the chill
13117 compiler works again. It no longer is able to find chillrt0
13118 since it isn't in libchill.a anymore.
13119 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
13120 wierd.o, make more modular.
13121 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
13122 spurious newlines that caused problems.
13123
13124Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13125
13126 * Move test with enums and partial symbols from gdb.t03/ptype.exp
13127 to gdb.stabs/wierd.exp since GCC has worked around the bug.
13128 gdb.stabs/wierd.{exp,def}: Many new tests.
13129
13130 * gdb.t00/default.exp: update info line for new message.
13131
13132 * gdb.t02/{whatis.exp,gdbme.c}:
13133 Test that "char *" doesn't print as "caddr_t".
13134
13135Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13136
13137 * gdb.t00/help.exp: Use .* in place of some help messages which
13138 just changed.
13139 gdb.t00/default.exp: Update "info frame" test for new message.
13140 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
13141 Remove some xfails
13142
13143Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13144
13145 * gdb.t03/{gdbme.c,ptype.exp}:
13146 Add tests for typedef'd struct and union without tags.
13147 Also check "whatis" on a variable of a typedef'd enum without a tag.
13148
13149 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
13150 PRMS 1823; the bug still exists but isn't reproduced by this test
13151 anymore), and remove rs6000 XFAIL (the bug is fixed).
13152
13153 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
13154 duplicated from whatis.exp. For those that are left, accept
13155 "long", "long int", or "int" for long variables (whatis.exp already
13156 has an XFAIL for "int", so no need to fail it here).
13157
13158 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
13159 Deal with GCC's names for types now that GDB uses the compiler's names.
13160
13161 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
13162 setup_xfail's for sunos4. If we #defined the signed keyword away,
13163 don't expect GDB to know that char it is signed.
13164
13165 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
13166
13167Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
13168
13169 * configure.in (configdirs): Add gdb.t24 for C++ tests that
13170 should work on any system, regardless of debugging format.
13171 * gdb.t21/demangle.exp: Move to gdb.t24.
13172 * gdb.t24/demangle.exp: Move from gdb.t21.
13173 * gdb.t24/{Makefile.in, configure.in}: New files.
13174
13175Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13176
13177 * configure.in: Do gdb.stabs and C++ tests only for stabs.
13178 * gdb.stabs: New directory.
13179
13180Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13181
13182 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
13183 not just "Quit anyway?".
13184
13185Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
13186
13187 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
13188 that all setup_xfails are immediately followed by clear_xfails.
13189
13190Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
13191
13192 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
13193 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
13194 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
13195 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
13196 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
13197 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13198 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13199 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
13200 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
13201 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
13202 gdb.t31/chillvars.exp, lib/gdb.exp:
13203 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
13204 bug-gdb@prep.ai.mit.edu.
13205
13206Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
13207
13208 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
13209 with 0.0, not integer 0.
13210
13211Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
13212
13213 * gdb.t06/break.exp: Update for "Kill the program" message change.
13214
13215Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
13216
13217 * Makefile.in (GDBFLAGS): Set to -nx.
13218 * Makefile.in (site.exp): Use GDBFLAGS.
13219
13220Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13221
13222 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
13223 Makefiles.
13224 (check): depend on just-check.
13225 (just-check): added so that tests can be run without a noop
13226 build pass.
13227
13228Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13229
13230 Switch to using configure's configdirs.
13231 * Makefile.in (Makefile): add configure.in dependency.
13232 (SUBDIRS): removed redundant assignment.
13233 * configure.in: switch subdirs assignment to configdirs.
13234 * gdb.t*/configure.in: new files.
13235
13236Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
13237
13238 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
13239 works.
13240
13241Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
13242
13243 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
13244 in explicit rules. Apparently this is not supported by some makes.
13245
13246Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
13247
13248 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
13249
13250Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13251
13252 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
13253 disappeared.
13254
13255Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
13256
13257 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
13258
13259Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
13260
13261 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
13262 watchpoint problem that is now fixed.
13263 * gdb.t30/chexp.exp: Remove setup_xfail for printing
13264 uninitialized convenience variables.
13265 * gdb.t31/chillvars.exp: Fix expected patterns for printing
13266 structures.
13267
13268Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13269
13270 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
13271 which causes expect to get out of sync with gdb on long output
13272 from help set.
13273 * gdb.t09/corefile.exp: Make expected pattern for core file
13274 failing signal and frame output format less sun specific.
13275
13276Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
13277
13278 * gdb.t31/chillvars.exp: Add and remove initial dummy
13279 breakpoint, so that symbol table is forced in.
13280 (Needed at least on Sunos4, though it seems not SVR4.)
13281 * gdb.t31/chillvars.exp: Update for changed output format.
13282
13283Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
13284
13285 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
13286
13287Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
13288
13289 * Makefile.in: Added --srcdir when invoking runtest, removed the
13290 need for a local config file. (optional now)
13291
13292Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
13293
13294 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
13295 failure count used to force early termination. Add some more
13296 expected failures for gnu style demangling.
13297
13298Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13299
13300 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
13301 pmi variable from gdb.t20/gdbme to get optimized away.
13302 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
13303 Check for written corefile upon timeout _and_ eof.
13304
13305Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13306
13307 * config/unix-gdb.exp: Add missing return 0.
13308
13309Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13310
13311 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
13312 test termination.
13313
13314Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
13315
13316 * configure.in (subdirs): Put back gdb.t17 which mysteriously
13317 disappeared.
13318
13319Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
13320
13321 * gdb.t10/crossload.exp: Disable the i860-elf test until such
13322 time as i860 support works.
13323
d63a86f8 13324 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
13325 "backtrace 100\r" rather than just "backtrace\r", to match last
13326 change.
13327
13328Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
13329
13330 * config/udi-gdb.exp (gdb_exit): Remove close command.
13331 (gdb_target_udi): New procedure to set the UDI target.
13332 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
13333 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
13334 Added waits for prompts after several question responses. Added
13335 some more responses used by a29k-amd-udi-gdb.
13336 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
13337 pass different arguments, restart UDI connection after program
13338 completion.
13339 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
13340 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13341 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13342 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13343 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13344 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13345 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13346 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13347 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13348 after program completion.
13349 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13350 compiled with a SELECT_VECS setting.
13351 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13352 infinite recursion.
13353
13354 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13355 Added checks for COFF results, and made them expected failures for
13356 all targets. It would be better to make them expected failures
13357 for COFF targets only.
13358
13359Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
13360
13361 * Makefile.in: add null dvi target, don't bother to recurse
13362 through test directories for info and install-info; rename
13363 $(datadir) to be dejagnu instead of deja-gnu
13364
13365Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
13366
13367 * gdb.t31/gdbme.ch: Re-enable code that previously caused
13368 compiler to coredump.
13369 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
13370 code.
13371
13372Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
13373
13374 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
13375 coredump.
13376 * gdb.t31/chillvars.exp: Comment out tests that depend on that
13377 code.
13378
13379Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
13380
13381 * gdb.t03/ptype.exp: tests for return code from gdb_test.
13382 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13383 which in a shell. Deletes xgdb when done.
13384 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13385 Tests the return from the "set height" or "set width" commands.
13386 Added a few return codes where needed.
13387
13388Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
13389
13390 * Makefile.in (SUBDIRS): Add gdb.t17.
13391 * configure.in (subdirs): Add gdb.t17.
13392 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
13393 files to test gdb's calling of functions in the inferior with
13394 the correct arguments and gdb's ability to retrieve any
13395 result returned.
13396
13397Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
13398
13399 * config/unix-gdb.exp (gdb_exit): Remove close commands that
13400 may be called after gdb goes away. Previous versions of expect
13401 needed these to avoid file descriptor leaks, but they cause
13402 errors with the current revision of expect.
13403 * gdb.t00/gdbvars.exp: Use -re on expected output after
13404 setting sevenbit-strings.
13405 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
13406 to set sevenbit-strings consistent across tests.
13407 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
13408 set sevenbit-strings consistent across tests.
13409
13410Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
13411
13412 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
13413 expected output to match current "expect" expectations.
13414
13415Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
13416
13417 * gdb.t00/default.exp: Change expected output for default "source"
13418 command, to match new gdb behavior which requires a filename to
13419 source.
13420
13421Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
13422
13423 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
13424 expected fail for i486-*-* that misses the marker2 function.
13425 * gdb.t10/crossload.exp (bfddefault): Allow successful
13426 recognition of a format to pass even if no symbols are found.
13427 Explicitly catch failures where the format is not recognized
13428 or is ambiguous, and add the reason to the fail message.
13429 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
13430 the cause is and invalid target and add reason to failure message.
13431 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
13432 elf32-i386, elf32-sparc, and elf32-i860.
13433 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13434 Set up expected failure for 'filename'::variable scope resolution,
13435 which is now apparently broken on all targets.
13436 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13437 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13438 gdb.t23/templates.exp: Change failure for missing binfile into
13439 just a warning.
13440 gdb.t21/demangle.exp: Change all cfront references to 'arm'
13441 references.
13442
13443Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
13444
13445 * gdb.t00/default.exp: Add expected output for default "source"
13446 command, to match new gdb behavior.
13447 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
13448
13449Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
13450
13451 * config/*-gdb.exp: returns an error, rather than exiting on
13452 internal errors.
13453
13454Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13455
13456 * gdb.t03/gdbme.c: Add pointer to struct variable.
13457 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13458 referencing struct members.
13459
13460Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13461
13462 * configure.in (mips-idt-ecoff): New target.
13463 * config/mips-gdb.exp: New file for remote board using MIPS remote
13464 debugging protocol.
13465
13466 * Redid configuration scheme. Removed gdb.t*/configure.in.
13467 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13468 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13469 distclean targets. Built executables via .o files. Adjusted
13470 tests to account for source files in $(srcdir) rather than
13471 $(objdir).
13472 * lib/gdb.exp (runto): Don't expect () after the function name,
13473 because it may have arguments.
13474
13475Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13476
13477 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13478 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13479 expected failures for mips-idt-* and mips-sgi-*.
13480 * gdb.t00/default.exp (attach): Kill process if requested.
13481 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13482 that does not read core files.
13483 * gdb.t01/run.exp: Removed checks for exit status code.
13484 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13485 it is linked in.
13486 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13487 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13488 appropriate, rather than doing it by hand.
13489 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13490 execution.
13491 * gdb.t10/crossload.exp: Kill existing program if needed.
13492 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13493 appropriate, rather than doing it by hand. Always increase
13494 timeout for this test, not just for VxWorks.
13495
13496Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13497
13498 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13499 of Chill STRUCT types and STRUCT values.
13500 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13501 than "char".
13502 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 13503 struct2): New struct definitions and initializations to test
c906108c
SS
13504 simple Chill STRUCT types.
13505
13506Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13507
13508 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13509 the null byte at the end of strings.
13510 * gdb.t00/default.exp: Make show version insensitive to copyright
13511 date.
13512 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13513 to avoid dependencies on target char signedness.
13514 * gdb.t16/printcmds.exp: Update expected results for explicitly
13515 unsigned char.
13516 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13517 now work.
13518 * gdb.t21/demangle.exp: Add many more patterns for template
13519 demangling, most of them being expected failures.
13520 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13521 string we are matching for, to match on the whole string.
13522 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13523 and fix a whole bunch that had incorrect expected output but were
13524 passing anyway because of the bug in "proc demangle".
13525 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13526 type.
13527 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13528
13529Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13530
13531 * gdb/testsuite: made modifications to testcases, etc., to allow
13532 them to work properly given the reorganization of deja-gnu and the
13533 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13534
13535Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13536
13537 * gdb/testsuite: Initial creation of gdb/testsuite.
13538 Migrated dejagnu testcases and support files for testing nm to
13539 gdb/testsuite from deja-gnu. These files were moved "as is"
13540 with no modifications. This migration is part of a major overhaul
13541 of dejagnu. The modifications to these testcases, etc., which
13542 will allow them to work with the new version of dejagnu will be
13543 made in a future update.
48efe704 13544
8d8cb839 13545 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 13546\f
8d8cb839
EZ
13547;; Local Variables:
13548;; mode: change-log
13549;; left-margin: 8
13550;; fill-column: 74
13551;; version-control: never
13552;; End:
902f2ccb
MC
13553
13554 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 13555 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
13556 Copying and distribution of this file, with or without modification,
13557 are permitted provided the copyright notice and this notice are preserved.
This page took 1.257948 seconds and 4 git commands to generate.