]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* event-top.c (gdb_setup_readline): Add missing type in extern
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
31d3fb18
MK
12005-10-31 Mark Kettenis <kettenis@gnu.org>
2
3 * gdb.asm/asm-source.exp: Use -e instead of --entry.
4
e52b687c
MK
52005-10-31 Mark Kettenis <kettenis@gnu.org>
6
7 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
8
f4711d79
PG
92005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10
11 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12 vscr" tests to better match output.
13
987a9106
JB
142005-10-12 Jim Blandy <jimb@redhat.com>
15
16 * gdb.base/structs.exp (any): New function.
17 (test_struct_returns): Don't make any assumptions at all about
18 what value the function returns when GDB can't set the return
19 value.
20
2336bb58
JB
212005-10-09 Joel Brobecker <brobecker@adacore.com>
22
23 * gdb.ada/arrayidx/p.adb: New file.
24 * gdb.ada/arrayidx.exp: New testcase
25
262005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
27
28 * gdb.ada/array_return/pck.ads: New file.
29 * gdb.ada/array_return/pck.adb: New file.
30 * gdb.ada/array_return/p.adb: New file.
31 * gdb.ada/array_return.exp: New testcase.
32
705335ea
JB
332005-10-03 Joel Brobecker <brobecker@adacore.com>
34
35 * gdb.base/arrayidx.c: New file.
36 * gdb.base/arrayidx.exp: New testcase.
37
11ee9940
NR
382005-09-29 Nick Roberts <nickrob@snap.net.nz>
39
40 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
41 frames-invalid and breakpoints-invalid are no longer generated
42 with level 3 so don't expect them in the output.
43
39fb8e9e
BR
442005-09-27 Bob Rossi <bob@brasko.net>
45
46 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
47 from test. Escape the | in mi_gdb_test call.
48 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
49 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
50 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
51 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
52 expected regex's in mi_gdb_test calls.
53 * lib/mi-support.exp: Remove arbitrary .* from tests.
54 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
55 Fully anchor GDB/MI expected results in mi_gdb_test.
56 * lib/gdb.exp (string_to_regexp): Escape the ] character.
57 * gdb.base/sizeof.exp: Remove escape character. Correct test.
58
2af48f68
PB
592005-09-26 Paul Brook <paul@codesourcery.com>
60
61 * long_long.exp: Exclude eabi targets from arm FPA float format test.
62
f34502bc
WZ
632005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
64
65 * bfp-test.c: New file.
66 * bfp-test.exp: New testcase.
67
ca929517
WZ
682005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
69
70 * gdb.fortran/subarray.exp: New testcase to test the evaluation
71 of subarray and substring variable.
72 * gdb.fortran/subarray.f: New source file for the test of subarray
73 and substring variable evaluation.
74 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
75 of string constant.
76
c761af65
DJ
772005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
78
79 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
80 copyright dates.
81
561d7a1d
PG
822005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
83
84 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
85 powerpc altivec' test with an almost identical 'info vector' test.
86
b2b64cc9
PG
872005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
88
89 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
90 vscr" tests to match output.
91
6ac4d15a
PG
922005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
93
94 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
95 output.
96
40e55bef
BR
972005-09-11 Bob Rossi <bob@brasko.net>
98
99 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
100 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
101 commands that return an MI output command and an asyncronous MI output
102 command.
103 * gdb.mi/mi-console.exp: Ditto.
104
3c7385ec
BR
1052005-09-11 Bob Rossi <bob@brasko.net>
106
107 * gdb.mi/mi-var-child.c: Include <string.h>.
108
a6cd0eb3
DJ
1092005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
110
111 * killed.exp: Correct gdb_expect syntax.
112
2f168eed
CV
1132005-08-09 Corinna Vinschen <vinschen@redhat.com>
114
115 * lib/mi-support.exp (mi_gdb_load): Fix typo.
116
ecd3fd0f
BR
1172005-08-02 Bob Rossi <bob@brasko.net>
118
119 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
120 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
121 Change tests to inferior-tty-set/show.
122 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
123 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
124 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
125 inferior. Use mi_gdb_test to get GDB and Inferior output.
126 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
127 descriptor.
128 (mi_inferior_tty_name): Add inferior PTY file name.
129 (mi_gdb_start): Add INFERIOR_PTY parameter.
130 (mi_gdb_test): Add IPATTERN parameter.
131
f1ea48cb
BR
1322005-08-02 Bob Rossi <bob@brasko.net>
133
134 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
135 parameter to mi_gdb_test.
136 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
137
6e650a67
DJ
1382005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
139
140 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
141 struct_declarations.
142 * gdb.mi/mi-var-child.exp: Step over the initialization of
143 struct_declarations.
144
8be260b6
DJ
1452005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
146
147 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
148 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
149 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
150 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
151 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
152 file.
153
4e660f07
NR
1542005-07-27 Nick Roberts <nickrob@snap.net.nz>
155
156 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
157 (do_children_tests): Assign values to the extra elements.
158
159 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
160 them for tests for "-var-update --no-values" and
161 "-var-update --all-values".
162 Add test for "-var-list-children --simple-values".
163
164 * gdb.mi/basics.c (callee4): Add integer array D[3]...
165
166 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
167 "-stack-list-locals --simple-values" Improve doc strings and
168 comments.
169
6bdae935
MK
1702005-07-18 Mark Kettenis <kettenis@gnu.org>
171
598b7a6f
MK
172 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
173 *-*-openbsd*.
174 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
175
6bdae935
MK
176 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
177 sigaltsatck'.
178
1323e929
BR
1792005-07-14 Bob Rossi <bob@brasko.net>
180
181 * gdb.base/default.exp (tty): Changed output of command.
182 * gdb.base/help.exp (help tty): Ditto.
183
b1a9c082
MK
1842005-07-12 Mark Kettenis <kettenis@gnu.org>
185
186 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
187
10a844a2
MK
1882005-07-10 Mark Kettenis <kettenis@gnu.org>
189
190 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
191 -stack-select-frame without arguments.
192 (test_stack_frame_listing): Add test for newly implemented command
193 -stack-info-frame.
194
3cb3b8df
BR
1952005-07-06 Bob Rossi <bob@brasko.net>
196
197 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
198 command.
199 (Copyright): Update copyright.
200
a0c5fbcf
WZ
2012005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
202
203 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
204 tests to evaluate exponentiation expression.
205
984971d0
AS
2062005-06-29 Andreas Schwab <schwab@suse.de>
207
208 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
209 main to avoid warnings.
210
211 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
212
fe03833f
NR
2132005-06-20 Nick Roberts <nickrob@snap.net.nz>
214
215 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
216 -stack-select-frame without arguments.
217 (test_stack_frame_listing): Add test for newly implemented command
218 -stack-info-frame.
219
7a55f279
WZ
2202005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
221
0ffa0ea5
DJ
222 * gdb.fortran/array-element.f: New file.
223 * gdb.fortran/array-element.exp: New testcase.
7a55f279 224
26585198
DJ
2252005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
226
227 * gdb.base/bigcore.exp: Correct checks for systems which can
228 not dump a large core file.
229
c1bd25fd
DJ
2302005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
231
232 * gdb.base/relocate.c: Add a copyright notice.
233 (dummy): Remove.
234 * gdb.base/relocate.exp: Test printing the values of variables
235 from a relocatable file.
236
589e074d
DJ
2372005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
238
239 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
240 excess MI output after an error.
241
0915f927
JB
2422005-05-29 Joel Brobecker <brobecker@adacore.com>
243
244 * gdb.arch/alpha-step.c: New file.
245 * gdb.arch/alpha-step.exp: New testcase.
246
76ff342d
DJ
2472005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
248 Dennis Brueni <dennis@slickedit.com>
249
250 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
251 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
252 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
253 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
254 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
255 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
256 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
257
96b0c7ac
DJ
2582005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
259 Wu Zhou <woodzltc@cn.ibm.com>
260
261 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
262 IBM's xlc compiler.
263 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
264 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
265
f21565d2
JB
2662005-05-13 Jim Blandy <jimb@redhat.com>
267
268 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
269 calling gdb_suppress_entire_file.
270 * gdb.base/charset.exp: Same.
271 * gdb.base/call-rt-st.exp: Same.
272
6006a3a1
BR
2732005-05-05 Bob Rossi <bob_rossi@cox.net>
274
275 * lib/gdb.exp (fullname_syntax): Added global regex.
276 (fullname_syntax_POSIX): Ditto.
277 (fullname_syntax_UNC): Ditto.
278 (fullname_syntax_DOS_CASE): Ditto.
279 (fullname_syntax_DOS): Ditto.
280 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
281 fullname_syntax variable to scope and use it.
282 (test_file_list_exec_source_files): Ditto.
283 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
284
c3b69c04
DJ
2852005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
286
287 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
288
3c95e6af
PG
2892004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
290
291 * lib/gdb.exp (skip_altivec_tests): New function, based on
292 check_vmx_hw_available from the GCC testsuite.
293 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
294 * lib/gdb.arch/altivec-regs.exp: Likewise.
295
78df6c56
JB
2962005-05-02 Jim Blandy <jimb@redhat.com>
297
298 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
299 calling gdb_suppress_entire_file.
300
1690f9cf
DJ
3012005-04-30 Randolph Chung <tausq@debian.org>
302
303 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
304 Slightly relax "sem_post" name checking.
305
5ea106f7
PG
3062005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
307
308 * gdb.base/unload.exp: Use new shared library infrastructure.
309
bf7234cf
PG
3102005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
311
312 * gdb.base/so-impl-ld.exp: Use new shared library
313 infrastructure.
314
547b869a
CV
3152005-04-29 Corinna Vinschen <vinschen@redhat.com>
316
317 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
318 * gdb.asm/h8300.inc: New file.
319
f07e55f0
PG
3202005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
321
322 * gdb.base/shlib-call.exp: Change to use new shared library
323 infrastructure.
324
3cbba3d1
PG
3252005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
326
327 * gdb.base/pending.exp: Change to use new shared library
328 infrastructure.
329
ed6df200
PG
3302005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
331
332 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
333 use test_compiler_info instead of gcc_compiled, and update copyright.
334
8c8f4ebe
PG
3352005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
336
337 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
338 shared objects being adjusted and update copyright years.
339
607fbc54
DJ
3402005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
341
342 * ChangeLog: Correct some 2003-01-13 dates.
343 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
344 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
345 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
346 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
347 gdb.trace/tfind.exp: Update copyright years.
348
57bf0e56
DJ
3492005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
350 Daniel Jacobowitz <dan@codesourcery.com>
351
352 * lib/gdb.exp (gdb_compile): Handle shlib=.
353 (gdb_compile_shlib): New function.
354
9b593790
PG
3552005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
356
357 * lib/gdb.exp (test_compiler_info): Give argument a default value.
358
9494c6a5
DJ
3592005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
360
361 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
362 gdb.server.
363 * configure.ac: Likewise.
364 * configure: Regenerated.
365 * gdb.gdbserver/Makefile.in: Moved to...
366 * gdb.server/Makefile.in: ... here.
367 * gdb.gdbserver/server.c: Moved to...
368 * gdb.server/server.c: ... here.
369 * gdb.gdbserver/server-run.exp: Moved to...
370 * gdb.server/server-run.exp: ... here.
371
6f8eac0e
DJ
3722005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
373
374 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
375 * configure.ac: Create gdb.gdbserver/Makefile.
376 * configure: Regenerated.
377 * lib/gdbserver-support.exp: New file, derived from
378 config/gdbserver.exp.
379 * config/gdbserver.exp: Use gdbserver-support.exp.
380 * gdb.gdbserver/Makefile.in: New file.
381 * gdb.gdbserver/server.c: New file.
382 * gdb.gdbserver/server-run.exp: New file.
383
6e87504d
PG
3842005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
385
386 * lib/gdb.exp (test_compiler_info): Return compiler_info
387 if no arguments are given.
388
d1779be4
PG
3892005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
390
391 * gdb.arch/altivec-abi.exp: Check for compiler and set
392 use altivec' flag accordingly.
393 * gdb.arch/altivec-regs.exp: Likewise.
394
88750304
DJ
3952005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
396
397 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
398
f3fb768d
AS
3992005-03-27 Andreas Schwab <schwab@suse.de>
400
401 * gdb.base/bigcore.c (main): Add missing mode argument in open
402 call.
403
7e813ac5
DJ
4042005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
405
406 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
407 downloads.
408 * config/gdbserver.exp (gdb_load): Likewise.
409
8e3049aa
PB
4102005-03-14 Paul Brook <paul@codesourcery.com>
411
412 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
413 targets.
414
a9df7c44
JB
4152005-03-09 Joel Brobecker <brobecker@adacore.com>
416
417 * gdb.dwarf2/dup-psym.S: New file.
418 * gdb.dwarf2/dup-psym.exp: New testcase.
419
9f0d94e8
JB
4202005-03-09 Joel Brobecker <brobecker@adacore.com>
421
422 * gdb.ada/exec_changed/first.adb: New file.
423 * gdb.ada/exec_changed/second.adb: New file.
424 * gdb.ada/exec_changed.exp: New testcase.
425
5f579bc5
NS
4262005-03-08 Nathan Sidwell <nathan@codesourcery.com>
427
36e9969c
NS
428 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
429 (A2): New class.
430 (main): Test operator+.
431 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
432 breakpoint test.
433
5f579bc5
NS
434 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
435 * gdb.base/signull.exp: Disable if gdb,nosignals.
436 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
437 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
438 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
439 * gdb.mi/mi2-console.exp: Likewise.
440 * gdb.trace/collection.exp (run_trace_experiment): Consume the
441 continue output at start.
442 (gdb_collect_locals_test): Robustify regexp.
443 * gdb.trace/passc-dyn.exp: Fix comment typo.
444 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
445
be46087e
CV
4462005-03-08 Corinna Vinschen <vinschen@redhat.com>
447
448 * gdb.asm/asm-source.exp: Add iq2000 case.
449 * gdb.asm/iq2000.inc: New file.
450
384e1a61
MI
4512005-03-07 Manoj Iyer <manjo@austin.ibm.com>
452
453 * gdb.base/command.exp: Change hardcoded value to regular expression.
454 * gdb.base/float.exp: Add powerpc to the list of targets checked.
455
584b6e9e
DJ
4562005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
457
458 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
459 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
460 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
461 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
462 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
463
ab5b5d61
MK
4642005-03-05 Mark Kettenis <kettenis@gnu.org>
465
466 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
467 changes.
468
ae051c1b
PG
4692004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
470
471 * lib/compiler.c: Add test for IBM's xlc compiler.
472 * lib/compiler.cc: Likewise.
473
3f0f6ed2
JB
4742004-02-24 Joel Brobecker <brobecker@adacore.com>
475
476 * gdb.ada/fixed_points.exp: Create compilation object directory
477 before running the test.
478 * gdb.ada/null_record.exp: Likewise.
479 * gdb.ada/packed_array.exp: Likewise.
480 * gdb.ada/start.exp: Likewise.
481
724f452b
JB
4822005-02-15 Joel Brobecker <brobecker@adacore.com>
483
484 * gdb.ada/packed_array/pa.adb: New file.
485 * gdb.ada/packed_array.exp: New testcase.
486
57f5cdfb 4872005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 488
1f393151
MK
489 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
490 files.
491
ebdda337
MK
492 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
493 on *-*-openbsd*. Correctly match whitespace in regukar
494 expressions.
495
cf309262
DJ
4962005-02-10 Daniel Jacobowitz <dan@debian.org>
497
498 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
499 PR exp/1821
500 * gdb.base/gdb1821.c: New test file.
501 * gdb.base/gdb1821.exp: New test file.
502
3be49e7a
JB
5032005-02-09 Joel Brobecker <brobecker@adacore.com>
504
505 * gdb.base/start.c: New file.
506 * gdb.base/start.exp: New testcase.
507
e292e67d
JB
5082005-02-09 Joel Brobecker <brobecker@adacore.com>
509
510 * gdb.ada/start/dummy.adb: New file.
511 * gdb.ada/start.exp: New testcase.
512
dbdfa66c
CV
5132005-02-09 Corinna Vinschen <vinschen@redhat.com>
514
515 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
516 for printing symbols and statistics.
517 Add test for using relative pathnames in "maint print msymbols" test.
518 Mark "maint info sections DATA" XFAIL on Cygwin.
519 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
520 tests.
521
d7941671
AC
5222005-02-09 Andreas Schwab <schwab@suse.de>
523
524 Committed by Andrew Cagney <cagney@gnu.org>
525 * gdb.base/remotetimeout.exp: New file.
526
74e5ef44
MK
5272005-02-07 Mark Kettenis <kettenis@gnu.org>
528
529 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
530
464dd14d
JB
5312005-02-03 Joel Brobecker <brobecker@adacore.com>
532
533 * gdb.ada/gnat_ada.gpr: New file.
534 * gdb.ada/gnat_ada.gin: Delete, no longer used.
535 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
536 * configure.ac: No longer generate gnat_ada.gpr.
537 * configure: Regenerate.
538 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
539 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
540 * gdb.ada/null_record/bar.ads: Likewise.
541 * gdb.ada/null_record/bar.adb: Likewise.
542 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
543 * gdb.ada/null_record.exp (testdir): New variable.
544 (testfile): executable is now in testdir subdirectory.
545 (srcfile): Use full path to the main compilation unit.
546 * gdb.ada/fixed_points.exp: Same changes as above.
547
30d756ae
NR
5482005-02-03 Nick Roberts <nickrob@snap.net.nz>
549
550 * gdb.base/interp.exp: New test.
551
9d799f85
AC
5522005-01-24 Andrew Cagney <cagney@gnu.org>
553
554 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
555
15656118
AC
5562005-01-19 Andrew Cagney <cagney@gnu.org>
557
a892c31b
AC
558 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
559 configure.ac not configure.in.
560
15656118
AC
561 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
562 of powerpc*-*-*.
563 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
564 * gdb.base/list.exp (test_list_function)
565 (test_list_filename_and_function): Ditto.
566 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
567
a7b01baf
AC
5682005-01-16 Andrew Cagney <cagney@gnu.org>
569
17d92a02
AC
570 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
571
a7b01baf
AC
572 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
573
bc8332bb
AC
5742005-01-14 Andrew Cagney <cagney@gnu.org>
575
576 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
577 * gdb.mi/mi2-var-cmd.exp: Ditto.
578
4d074752
CV
5792005-01-10 Corinna Vinschen <vinschen@redhat.com>
580
581 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
582
bec39cab
AC
5832005-01-07 Andrew Cagney <cagney@gnu.org>
584
585 * configure.ac: Rename configure.in, require autoconf 2.59.
586 * configure: Re-generate.
587 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
588 * gdb.stabs/configure: Re-generate.
589 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
590 * gdb.hp/configure: Re-generate.
591 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
592 autoconf 2.59.
593 * gdb.hp/gdb.objdbg/configure: Re-generate.
594 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
595 autoconf 2.59.
596 * gdb.hp/gdb.defects/configure: Re-generate.
597 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
598 autoconf 2.59.
599 * gdb.hp/gdb.compat/configure: Re-generate.
600 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
601 autoconf 2.59.
602 * gdb.hp/gdb.base-hp/configure: Re-generate.
603 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
604 autoconf 2.59.
605 * gdb.hp/gdb.aCC/configure: Re-generate.
606
f10b16d4
JB
6072004-12-15 Jim Blandy <jimb@redhat.com>
608
609 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
610 under NPTL when there is debugging info available for libpthread.
611
fb6e1814
JG
6122004-12-13 Jerome Guitton <guitton@gnat.com>
613
614 * gdb.ada/fixed_points.c: New file.
615 * gdb.ada/fixed_points.exp: New file.
616
fe46cd3a
RC
6172004-12-03 Randolph Chung <tausq@debian.org>
618
619 * gdb.arch/pa-nullify.exp: New file.
620 * gdb.arch/pa-nullify.s: New file.
621
8de0841b
RC
6222004-11-30 Randolph Chung <tausq@debian.org>
623
624 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
625 instead of "tbug". Fix regexp to work properly with gdb_test.
626
c8170782
PH
6272004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
628
629 * gdb.base/bitfields2.exp: New test.
630 * gdb.base/bitfields2.c: New file.
631
954269c2
RE
6322004-11-28 Richard Earnshaw <rearnsha@arm.com>
633
634 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
635
0107feed
RC
6362004-11-16 Randolph Chung <tausq@debian.org>
637
638 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
639
f073ae8c
DJ
6402004-11-14 Daniel Jacobowitz <dan@debian.org>
641
642 * gdb.threads/threadapply.exp: Correct "macro details" test.
643
19ad59e7
JJ
6442004-11-11 Jeff Johnston <jjohnstn@redhat.com>
645
646 * gdb.threads/threadapply.exp: New test.
647 * gdb.threads/threadapply.c: New file.
648
9cf0961b
MK
6492004-11-07 Mark Kettenis <kettenis@gnu.org>
650
651 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
652 frames.
653
c789492a
FL
6542004-11-05 Felix Lee <felix+log1@specifixinc.com>
655
656 * gdb.base/cursal.exp: New file.
657 * gdb.base/cursal.c: New file.
658
a1e167bb
AC
6592004-11-03 Andrew Cagney <cagney@gnu.org>
660
661 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
662
b7cbf173
MK
6632004-10-30 Mark Kettenis <kettenis@gnu.org>
664
665 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
666 NetBSD/ELF targets.
667
88f9d34f
JB
6682004-10-29 Joel Brobecker <brobecker@gnat.com>
669
670 * gdb.threads/bp_in_thread.c: New file, copied from
671 pthread_cond_wait.c.
672 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
673 file, rather than reusing the .c file from another testcase.
674
ca7d6a0c
JB
6752004-10-20 Joel Brobecker <brobecker@gnat.com>
676
677 * gdb.ada/null_record.exp: Check where we stopped after
678 sending the start command, instead of where the associated
679 temporary breakpoint was inserted.
680
0d863d03
AC
6812004-10-14 Andrew Cagney <cagney@gnu.org>
682
683 * gdb.mi/gdb701.c (main): Return 0.
684
d11e72cb
DJ
6852004-10-13 Daniel Jacobowitz <dan@debian.org>
686
d40539a4 687 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 688
e1923096
JJ
6892004-10-12 Jeff Johnston <jjohnstn@redhat.com>
690
691 * gdb.threads/schedlock.c: Add comment markers to use to find
692 line numbers.
693 * gdb.threads/schedlock.exp: Adjust regex to handle the new
694 comments.
695 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
696 breakpoint lines.
697
ec8ba2c9
DJ
6982004-10-12 Daniel Jacobowitz <dan@debian.org>
699
700 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
701
0eb3658b
DJ
7022004-10-12 Daniel Jacobowitz <dan@debian.org>
703
704 * configure.in: Add gdb.dwarf2.
705 * configure: Regenerated.
706 * Makefile.in: Add gdb.dwarf2.
707 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
708 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
709 gdb.dwarf2/file1.txt: New files.
710
a271cc33
OF
7112004-10-11 Orjan Friberg <orjanf@axis.com>
712
713 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
714 of "run", since the latter doesn't work with remote targets. Adjust
715 the breakpoint numbering accordingly.
716 * gdb.threads/pthread_cond_wait.exp: Ditto.
717
895ce074
MC
7182004-10-08 Michael Chastain <mec.gnu@mindspring.com>
719
720 * gdb.base/overlays.exp: Update copyright years.
721
6be3092d
KI
7222004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
723
724 * gdb.base/overlays.exp: Disable if target is Linux.
725
e05389b8
FL
7262004-10-06 Felix Lee <felix+log1@specifixinc.com>
727
728 * config/gdbserver.exp (gdb_load): Use right filename on remote.
729
73cb587d
KI
7302004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
731
732 * gdb.asm/asm-source.exp: Add m32r-linux target.
733 * gdb.asm/m32r-linux.inc: New file.
734
3c0edcdc
AC
7352004-09-24 Andrew Cagney <cagney@redhat.com>
736 David Anderson <anderson@redhat.com>
737
738 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
739 command fails, assume things will work.
740 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
741 (_GNU_SOURCE): Define.
742 (print_unsigned, print_hex): Change parameter to "long long".
743 (print_byte_count): New function, use to print byte counts.
744 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
745 O_LARGEFILE.
746 (main): Compute an upper bound on a corefile in max_core_size.
747 Limit memory chunk size to max_core_size. Limit total memory
748 allocated to max_core_size.
749
4bb3667f
AC
7502004-09-23 Andrew Cagney <cagney@gnu.org>
751
752 * gdb.base/bigcore.exp: Replace the code that creates a corefile
753 from a separate process with code that creates a corefile by
754 making the inferior dump core.
755
60fe1a51
MK
7562004-09-23 Mark Kettenis <kettenis@gnu.org>
757
758 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
759 block.
760
8e937346
MC
7612004-09-23 Michael Chastain <mec.gnu@mindspring.com>
762
763 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
764 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
765 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
766 Likewise.
767
7213f6d6
JJ
7682004-09-20 Jeff Johnston <jjohnstn@redhat.com>
769
770 * gdb.java/jprint.exp: New test case for java inferior call.
771 * gdb.java/jprint.java: Ditto.
772
eac69dca
JB
7732004-09-15 Joel Brobecker <brobecker@gnat.com>
774
775 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
776
22227696
MC
7772004-09-14 Michael Chastain <mec.gnu@mindspring.com>
778
779 * gdb.threads/killed.c: Include <stdlib.h>.
780 * gdb.threads/pthreads.c: Likewise.
781
7dd403a4
MC
7822004-09-14 Michael Chastain <mec.gnu@mindspring.com>
783
784 * gdb.threads/killed.c: Add copyright notice.
785
33f2d567
JM
7862004-09-10 Jason Molenda (jmolenda@apple.com)
787
788 * gdb.base/define.exp: Two new tests to verify zero space chars
789 after 'if' and 'while' commands in a user-defined command is correctly
790 parsed.
791
e05b62ac
AC
7922004-09-08 Andrew Cagney <cagney@gnu.org>
793
794 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
795 delivery test with duplicate at end of file.
796
9cbe82da
MK
7972004-09-06 Mark Kettenis <kettenis@jive.nl>
798
799 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
800
564803d9
MC
8012004-09-05 Michael Chastain <mec.gnu@mindspring.com>
802
803 * config/hppro.exp: Removed.
804
7c6807ce
MC
8052004-09-05 Michael Chastain <mec.gnu@mindspring.com>
806
807 * config/sparclet.exp: Removed.
808
bf7e26dd
MC
8092004-09-05 Michael Chastain <mec.gnu@mindspring.com>
810
811 * config/udi.exp: Removed.
812
714e341b
MC
8132004-09-02 Michael Chastain <mec.gnu@mindspring.com>
814
815 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
816 of "exp_continue".
817 (advancei): Likewise.
818
1236e623
JJ
8192004-09-01 Jeff Johnston <jjohnstn@redhat.com>
820
821 * gdb.base/unload.exp: Fix so messages aren't duplicated.
822
3bdcad15
MI
8232004-09-01 Manoj Iyer <manjo@austin.ibm.com>
824
228af206 825 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
826 to check for nodebug in executable.
827 * gdb.gdb/observer.exp (setup_test): Likewise.
828 * gdb.gdb/selftest.exp (test_with_self): Likewise.
829 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
830
c72b934c
AC
8312004-09-01 Andrew Cagney <cagney@gnu.org>
832
833 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
834 files.
835
edd9b715
JJ
8362004-09-01 Jeff Johnston <jjohnstn@redhat.com>
837
838 * gdb.base/unload.exp: Fix expected warning message to match
839 latest format.
840
fb4ce06b
CV
8412004-09-01 Corinna Vinschen <vinschen@redhat.com>
842
843 * gdb.base/call-rt-st.exp: Fix typos.
844
ce78e7c3
MI
8452004-08-31 Manoj Iyer <manjo@austin.ibm.com>
846
847 * gdb.threads/thread_check.exp: New testcase.
848 * gdb.threads/thread_check.c: New testcase.
849
2dedb159
AC
8502004-08-31 Andrew Cagney <cagney@gnu.org>
851
852 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
853 (skip_to_handler_entry): New procedures. Test stepping into a
854 handler when the breakpoint is at the handler's entry point.
855
68f53502
AC
8562004-08-30 Andrew Cagney <cagney@gnu.org>
857
858 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
859 gdb/1757.
860
3e3ffd2b
MC
8612004-08-27 Michael Chastain <mec.gnu@mindspring.com>
862
863 With code from Manoj Iyer <manjo@austin.ibm.com>:
864 * lib/gdb.exp (gdb_file_cmd): Return more information in the
865 return value. Add an arm for "no debugging symbols found".
866 Change a stray "error" to "perror".
867 (gdb_run_cmd): Adapt to new return value.
868 * gdb.base/remote.exp: Adapt to new return value.
869 * gdb.gdb/complaints.exp: Likewise.
870 * gdb.gdb/observer.exp: Likewise.
871 * gdb.gdb/selftest.exp: Likewise.
872 * gdb.gdb/xfullpath.exp: Likewise.
873
4b6f5fd2
JB
8742004-08-27 Joel Brobecker <brobecker@gnat.com>
875
876 * gdb.threads/bp_in_thread.exp: New testcase.
877
e5b25496
MC
8782004-08-27 Michael Chastain <mec.gnu@mindspring.com>
879
880 Fix PR testsuite/1735.
881 * gdb.threads/schedlock.c (thread_function): Add a cast
882 to suppress a gcc warning.
883 * gdb.threads/thread-specific.c (thread_function): Likewise.
884
934353d6
MC
8852004-08-26 Michael Chastain <mec.gnu@mindspring.com>
886
887 * gdb.base/unload.c: Include <stdlib.h>.
888
f98a0aef 8892004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 890
f98a0aef 891 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
892 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
893 synchronized after the "return".
894
5a2e8882
MC
8952004-08-26 Michael Chastain <mec.gnu@mindspring.com>
896
897 * gdb.mi/basics.c: Include <stdio.h>.
898 * gdb.mi/pthreads.c: Include <stdlib.h>.
899 * gdb.mi/var-cmd.c: Include <stdlib.h>.
900
a9640423
MC
9012004-08-26 Michael Chastain <mec.gnu@mindspring.com>
902
903 * gdb.threads/schedlock.c: Add copyright notice.
904
b04e311d
AC
9052004-08-25 Andrew Cagney <cagney@gnu.org>
906
907 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
908 (skip_over_handler, breakpoint_over_hander): New test procedures.
909 (advance, advancei): Add a proper prefix, do not use
910 rerun_to_main.
911 * gdb.base/sigstep.c (main): Change to use an infinite loop.
912
7c27f15b
MC
9132004-08-24 Michael Chastain <mec.gnu@mindspring.com>
914
915 * gdb.mi/basics.c: Add copyright notice.
916 * gdb.mi/var-cmd.c: Add copyright notice.
917
fffc87ae
MC
9182004-08-23 Michael Chastain <mec.gnu@mindspring.com>
919
920 * lib/gdb.exp: Remove signed_keyword_not_used.
921 * lib/compiler.c: Likewise.
922 * lib/compiler.cc: Likewise.
923
d782e0bf
MC
9242004-08-23 Michael Chastain <mec.gnu@mindspring.com>
925
926 * gdb.base/whatis.c: Remove conditional disabling of "signed".
927 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
928
96033e83
MC
9292004-08-23 Michael Chastain <mec.gnu@mindspring.com>
930
931 * gdb.base/whatis.c: Add copyright notice.
932
cf38c229
MK
9332004-08-20 Mark Kettenis <kettenis@gnu.org>
934
935 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
936 it to skip the breakpoints encoded in the inline assembly.
937
f4b49756
MC
9382004-08-20 Michael Chastain <mec.gnu@mindspring.com>
939
940 * Makefile.in: Add gdb.fortran.
941
2f193b69
MC
9422004-08-20 Michael Chastain <mec.gnu@mindspring.com>
943
944 * gdb.base/call-sc.exp (test_scalar_returns):
945 Fix cut-and-paste glitch in "Make fun return now".
946
89a237cb
MC
9472004-08-17 Michael Chastain <mec.gnu@mindspring.com>
948
949 * configure.in: Add gdb.fortran.
950 * configure: Regenerate.
951 * gdb.fortran/Makefile.in: New file.
952 * lib/gdb.exp (skip_fortran_tests): New procedure.
953
469aff8e
MC
9542004-08-17 Michael Chastain <mec.gnu@mindspring.com>
955
956 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
957 reference to bug-gnu@prep.ai.mit.edu.
958 * gdb.mi/mi-var-child.exp: Likewise.
959 * gdb.mi/mi-var-cmd.exp: Likewise.
960 * gdb.mi/mi-var-display.exp: Likewise.
961 * gdb.mi/mi2-var-block.exp: Likewise.
962 * gdb.mi/mi2-var-child.exp: Likewise.
963 * gdb.mi/mi2-var-cmd.exp: Likewise.
964 * gdb.mi/mi2-var-display.exp: Likewise.
965
00b51b9f
MK
9662004-08-15 Mark Kettenis <kettenis@gnu.org>
967
968 * gdb.base/unload.c (main): Make local variable msg const.
969
45f07fef
MC
9702004-08-15 Michael Chastain <mec.gnu@mindspring.com>
971
972 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
973 to bug-gnu@prep.ai.mit.edu.
974 * gdb.mi/mi-disassemble.exp: Likewise.
975 * gdb.mi/mi-eval.exp: Likewise.
976 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
977 default line number.
978 * gdb.mi/mi-return.exp: Likewise.
979 * gdb.mi/mi-simplerun.exp: Likewise.
980 * gdb.mi/mi-stack.exp: Likewise.
981 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
982 number with explicit range test.
983 * gdb.mi/mi-watch.exp: Likewise.
984 * gdb.mi/mi2-break.exp: Likewise.
985 * gdb.mi/mi2-cli.exp: Likewise.
986 * gdb.mi/mi2-disassemble.exp: Likewise.
987 * gdb.mi/mi2-eval.exp: Likewise.
988 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
989 default line number.
990 * gdb.mi/mi2-return.exp: Likewise.
991 * gdb.mi/mi2-simplerun.exp: Likewise.
992 * gdb.mi/mi2-stack.exp: Likewise.
993 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
994 number with explicit range test.
995 * gdb.mi/mi2-watch.exp: Likewise.
996
dd8c8ee7
MC
9972004-08-15 Michael Chastain <mec.gnu@mindspring.com>
998
999 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
1000 * gdb.cp/m-static.exp: Likewise.
1001 * gdb.cp/rtti.exp: Likewise.
1002
4e838464
MK
10032004-08-14 Mark Kettenis <kettenis@gnu.org>
1004
1005 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
1006
8d8cb839
EZ
10072004-08-14 Eli Zaretskii <eliz@gnu.org>
1008
1009 * ChangeLog: Prefix Local Variables with semi-colons and indent
1010 the reference to older ChangeLog files, to fix fontification in
1011 Emacs.
1012
deea8bb0
MC
10132004-08-13 Michael Chastain <mec.gnu@mindspring.com>
1014
1015 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
1016 * gdb.mi/mi2-break.exp: Likewise.
1017
c3297504
MC
10182004-08-13 Michael Chastain <mec.gnu@mindspring.com>
1019
1020 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
1021
25808999
MC
10222004-08-13 Michael Chastain <mec.gnu@mindspring.com>
1023
1024 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
1025
226a8d71
MC
10262004-08-13 Michael Chastain <mec.gnu@mindspring.com>
1027
1028 * gdb.cp/classes.exp: Remove unused declarations. Just let
1029 test names default instead of providing special names. Remove
1030 extraneous demangler test.
1031
37fdf854
JJ
10322004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1033
1034 * gdb.base/unload.exp: New test for breakpoints in dynamically
1035 loaded libraries.
1036 * gdb.base/unload.c: Ditto.
1037 * gdb.base/unloadshr.c: Ditto.
1038
2d3a7986
MC
10392004-08-12 Michael Chastain <mec.gnu@mindspring.com>
1040
1041 * gdb.cp/classes.exp (test_ptype_class_objects): Call
1042 cp_test_ptype_class.
1043 (test_enums): Likewise.
1044
c72b934c
AC
10452004-08-10 Andrew Cagney <cagney@gnu.org>
1046
1047 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
1048 files.
1049
cc503c8a
AC
10502004-08-10 Andrew Cagney <cagney@gnu.org>
1051
1052 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
1053 init_malloc call.
1054
902f2ccb
MC
10552004-08-10 Michael Chastain <mec.gnu@mindspring.com>
1056
1057 * ChangeLog: Add copyright notice. The notice is copied
1058 from emacs 21.3 top level ChangeLog.
1059
78c90502
MC
10602004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1061
1062 * lib/cp-support.exp: New file.
1063 * lib/cp-support.exp (cp_test_type_class): New function.
1064 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
1065 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
1066 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
1067 cp_test_ptype_class.
1068
88e5ea78
MC
10692004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1070
1071 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
1072 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
1073 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
1074 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
1075 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
1076 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
1077 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
1078 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
1079 gdb.mi/mi2-watch.exp: Update copyright years.
1080
6a89fc9c
MK
10812004-08-09 Mark Kettenis <kettenis@gnu.org>
1082
1083 * gdb.base/sigaltstack.exp: Provide proper anchoring.
1084
1482e0de
MC
10852004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1086
1087 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
1088 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
1089 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
1090 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
1091 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
1092 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
1093 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
1094 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
1095 gdb.mi/mi-watch.exp: Update copyright years.
1096
1a5ce3f3
DJ
10972004-08-08 Daniel Jacobowitz <dan@debian.org>
1098
1099 PR gdb/1738
1100 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
1101 from a breakpoint with a pending signal.
1102
04f6ecf2
DJ
11032004-08-08 Daniel Jacobowitz <dan@debian.org>
1104
1105 PR gdb/1736
1106 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
1107 * gdb.base/sigaltstack.exp (finish_test): Consume output until
1108 the prompt.
1109 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
1110
54d90d35
DJ
11112004-08-08 Daniel Jacobowitz <dan@debian.org>
1112
1113 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
1114
d2f6abb0
DJ
11152004-08-08 Daniel Jacobowitz <dan@debian.org>
1116
1117 PR gdb/1736
1118 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
1119 for i?86-*-linux*.
1120
5598c03d
DJ
11212004-08-08 Daniel Jacobowitz <dan@debian.org>
1122
1123 * gdb.arch/i386-prologue.exp: Compile without debug information.
1124
c6fee705
MC
11252004-08-08 Michael Chastain <mec.gnu@mindspring.com>
1126
1127 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
1128 rather than asking gdb to search.
1129
dd90efdb
MC
11302004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1131
1132 * gdb.base/gcore.c: Include <string.h>.
1133
1e84bec1
MC
11342004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1135
1136 * gdb.base/gcore.c: Add copyright notice.
1137
e425eb2b
MC
11382004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1139
1140 * gdb.base/freebpcmd.c: Include <stdio.h>.
1141 * gdb.base/long_long.c: Include <string.h>.
1142 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
1143 * gdb.base/siginfo.c: Include <string.h>.
1144 * gdb.base/sigstep.c: Include <string.h>.
1145
cb9aaed5
MC
11462004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1147
1148 * gdb.base/complex.c: Include <stdlib.h>.
1149
55944f3d
MC
11502004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1151
1152 * gdb.base/complex.c: Add copyright notice.
1153
7b2953d9
MC
11542004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1155
1156 * gdb.base/charset.c: Include <stdlib.h>.
1157
c9133d23
MC
11582004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1159
1160 * gdb.base/auxv.c: Include <stdlib.h>.
1161
0a8490ad
MC
11622004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1163
1164 * gdb.base/auxv.c: Add copyright notice.
1165
3426d5ec
MC
11662004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1167
1168 * gdb.base/coremaker.c: Add copyright notice.
1169 * gdb.base/coremaker2.c: Add copyright notice.
1170
8da195dd
AC
11712004-08-04 Andrew Cagney <cagney@gnu.org>
1172
1173 * gdb.base/store.exp: Update copyright.
1174 (check_set, up_set, check_struct, up_struct): Add a prefix to test
1175 names, do not import gdb_prompt.
1176
8d394f98
AC
11772004-08-01 Andrew Cagney <cagney@gnu.org>
1178
1179 Fix PR testsuite/1729.
1180 * gdb.base/dump.exp: Add test name to callers of capture_value, do
1181 not use capture_value with value 4.
1182 (capture_value): Add optional test name parameter.
1183 (test_reload_saved_value, test_restore_saved_value): Use $msg as
1184 the prefix, pass to capture_value.
1185
b6702b23
MK
11862004-08-01 Mark Kettenis <kettenis@gnu.org>
1187
1188 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
1189 * gdb.arch/i386-prologue.c (standard): New prototype and function.
1190 (main): Call new function.
1191
c203e0ca
MC
11922004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1193
1194 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
1195
a7995a30
MC
11962004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1197
1198 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
1199
9366563b
MC
12002004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1201
b6eeaf26 1202 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
1203 Accept more values of vtbl pointer. Remove some messages
1204 about "obsolete gcc or gdb".
1205
2fc1f950
MC
12062004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1207
1208 * gdb.cp/classes.exp: Accept more varieties of ptype output.
1209
c724d49b
MC
12102004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1211
1212 * gdb.base/asm-source.exp: Properly convert target board
1213 debug flags from gcc format to binutils format.
1214
736b0fce
MK
12152004-07-28 Mark Kettenis <kettenis@gnu.org>
1216
1217 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
1218 gdb1718". PR backtrace/1718 partially fixed.
1219
5633ea5c
JJ
12202004-07-27 Jeff Johnston <jjohnstn@redhat.com>
1221
1222 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
1223
575eebb1
NC
12242004-07-26 Nick Clifton <nickc@redhat.com>
1225
1226 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
1227 good default value for a specific architecture is available then
1228 set it to that value. Otherwise default to the -gstabs switch.
1229 Remove the -g... switches from the asm-flags variable. Allow the
1230 target board info to override the value if it wants to. Pass the
1231 switch on the assembler command line.
1232
62104619
MK
12332004-07-23 Mark Kettenis <kettenis@gnu.org>
1234
1235 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
1236 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
1237 (main): Call new function.
1238
4a1135b8
MC
12392004-07-22 Michael Chastain <mec.gnu@mindspring.com>
1240
1241 Test for PR exp/1715.
1242 * gdb.base/radix.exp: Refactor common procedures. Make all
1243 test names unique. Change XFAIL to KFAIL.
1244
8a12c1f0
MC
12452004-07-20 Michael Chastain <mec.gnu@mindspring.com>
1246
1247 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
1248 * gdb.ada/gnat_ada.gin: ... to here.
1249 * configure.in: Use gnat_ada.gin.
1250 * configure: Regenerate.
1251
23b451cf
AC
12522004-07-20 Andrew Cagney <cagney@gnu.org>
1253
1254 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
1255 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
1256 XFAILs. Clean up test messages and comments. Check backtraces.
1257 Delete re-sync code.
1258
ab618a02
MC
12592004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1260
1261 Fix PR cli/740.
1262 * gdb.base/annota1.exp: Honor gdb,nosignals.
1263 * gdb.base/annota3.exp: Likewise.
1264
46dad340
MC
12652004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1266
1267 * lib/java.exp: Update copyright notice.
1268
756d8c70
AC
12692004-07-19 Andrew Cagney <cagney@gnu.org>
1270
1271 * gdb.base/selftest.exp: Copy file from here ...
1272 * gdb.gdb/selftest.exp: ... to here.
1273
586027e6
AC
12742004-07-16 Andrew Cagney <cagney@redhat.com>
1275
1276 * lib/insight-support.exp: Delete file.
1277 * lib/java.exp (java_init): Fix copyright.
1278
029d2200
AC
12792004-07-16 Andrew Cagney <cagney@gnu.org>
1280
1281 * gdb.base/restore.c: Append "prologue" to comments marking the a
1282 function's prologue.
1283 * gdb.base/restore.exp: Update copyright, re-indent.
1284 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
1285 callerN" prefix where needed. Update patterns that match a
1286 function's prologue.
1287
653b62c5
MC
12882004-07-16 Michael Chastain <mec.gnu@mindspring.com>
1289
1290 * gdb.base/restore.c: Add copyright notice.
1291
f7d690e5
AC
12922004-07-16 Andrew Cagney <cagney@gnu.org>
1293
1294 * gdb.base/logical.exp: Update copyright.
1295 (evaluate): New procedure. Use to re-implement tests using
1296 several tables.
1297
d629a7cb
MH
12982004-07-14 Martin Hunt <hunt@redhat.com>
1299
1300 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
1301 which fixes some problems where init.tcl was not found.
1302
9c7bb332
AC
13032004-07-13 Andrew Cagney <cagney@gnu.org>
1304
6bf46641
AC
1305 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
1306 (check_sizeof, check_valueof): Do not include the output in the
1307 test name. Use gdb_test.
1308 (get_valueof): Use gdb_test_multiple.
1309
c4ffd4c0
AC
1310 * gdb.base/step-test.exp: Update copyright. Use
1311 gdb_test_multiple. Ensure that test names do not include
1312 architecture dependent output.
1313
ab89363a
AC
1314 * gdb.gdb/observer.exp: Update copyright.
1315 (setup_test): Use gdb_test_multiple.
1316 (attach_first_observer, attach_second_observer)
1317 (attach_third_observer, detach_first_observer)
1318 (detach_second_observer, detach_third_observer)
1319 (reset_counters, check_counters): Make $message a prefix.
1320 (test_normal_stop_notifications): Add "args" parameter - a list of
1321 init functions to be called. Make $message a prefix,
1322 (test_observer_normal_stop): Change the message prefixes so that
1323 they are unique, pass the attach / detach procedures to
1324 test_normal_stop_notifications.
1325
ec58997a
AC
1326 * gdb.base/signull.exp (test_segv): Prefix all tests with
1327 "${name}". Clean up test messages.
1328
b475183b
AC
1329 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
1330
9c7bb332
AC
1331 * gdb.base/ena-dis-br.exp: Update copyright.
1332 (break_at): New function. Replace send_gdb with gdb_test,
1333 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
1334 ignore count, not stopped at bpt", with KFAIL.
1335
2dd95497
CV
13362004-07-13 Corinna Vinschen <vinschen@redhat.com>
1337
1338 * gdb.base/attach.exp: Remove cleanupfile handling.
1339
419e626b
AC
13402004-07-12 Andrew Cagney <cagney@gnu.org>
1341
1342 * gdb.base/annota1.exp: Cleanup corefile test name.
1343 * gdb.base/annota3.exp: Ditto.
1344
8b1b3228
AC
13452004-07-12 Andrew Cagney <cagney@gnu.org>
1346
78650829
AC
1347 * gdb.base/signals.exp: Clean up copyright, re-indent.
1348
8b1b3228
AC
1349 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
1350 gdb_test and gdb_test_multiple.
1351
935c2760
JJ
13522004-07-08 Jeff Johnston <jjohnstn@redhat.com>
1353
1354 * gdb.java/jmain.exp: Fix expected line number for main to
1355 break at. Set XFAIL for break at main test since gcj does not
1356 provide line number info for first statement in main.
1357
1544280f
AC
13582004-07-08 Andrew Cagney <cagney@gnu.org>
1359
1279f4ff
AC
1360 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
1361
1544280f
AC
1362 * gdb.base/sigbpt.exp: Make the common part of each test name a
1363 prefix instead of suffix.
1364
bcc82369
BR
13652004-07-07 Bob Rossi <bob_rossi@cox.net>
1366
1367 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
1368 test from test_tbreak_creation_and_listing to
1369 test_file_list_exec_source_file
1370 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
1371 Changed name of test from test_tbreak_creation_and_listing to
1372 test_file_list_exec_source_file
1373
23f4b0aa
JJ
13742004-07-07 Jeff Johnston <jjohnstn@redhat.com>
1375
1376 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
1377 the jmisc() constructor instead of <init>.
1378 * gdb.java/jmisc1.exp: Ditto.
1379
56401cd5
AC
13802004-07-07 Andrew Cagney <cagney@gnu.org>
1381
1382 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
1383 corrupting the PC.
1384
44ae2f6a
MC
13852004-07-06 Michael Chastain <mec.gnu@mindspring.com>
1386
1387 * gdb.cp/templates.exp: Accept whitespace change in demangler
1388 output.
1389
45a83408
AC
13902004-07-06 Andrew Cagney <cagney@gnu.org>
1391
1392 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
1393
d205ad70
MC
13942004-07-02 Michael Chastain <mec.gnu@mindspring.com>
1395
1396 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
1397 * lib/compiler.cc: Likewise.
1398
06ea1a61
MC
13992004-06-30 Michael Chastain <mec.gnu@mindspring.com>
1400
1401 * lib/compiler.cc: Work around string preprocessing problem
1402 with old hp c++ compiler.
1403 * lib/compiler.c: Likewise.
1404
daab1251
CV
14052004-06-29 Corinna Vinschen <vinschen@redhat.com>
1406
1407 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
1408 directives to conditionalize symbol prefixing.
1409 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
1410 additional_flags handling. Add underscore prefix for Cygwin.
1411 * gdb.arch/i386-unwind.c: Use preprocessor directives to
1412 conditionalize symbol prefixing.
1413 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
1414 additional_flags handling. Add underscore prefix for Cygwin.
1415
cc984116
CV
14162004-06-29 Corinna Vinschen <vinschen@redhat.com>
1417
1418 * gdb.base/bigcore.exp: Skip test on Cygwin.
1419
c279b077
MC
14202004-06-28 Michael Chastain <mec.gnu@mindspring.com>
1421
1422 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
1423 formats for "info register". Use gdb_test_multiple. Fix
1424 the "invalid register" test.
1425
0e915747
CV
14262004-06-28 Corinna Vinschen <vinschen@redhat.com>
1427
1428 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
1429 PID for Cygwin. Add Cygwin specific strings to check for in some
1430 tests.
1431 (do_attach_tests): Add a test for user interaction when attaching
1432 to a process with no matching symbol table already loaded.
1433
11422c86
AC
14342004-06-26 Andrew Cagney <cagney@gnu.org>
1435
1436 Test PR java/1567 and PR java/1565.
1437 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
1438 * gdb.java/jmisc2.exp: Delete file.
1439
cefbce26
MC
14402004-06-26 Michael Chastain <mec.gnu@mindspring.com>
1441
1442 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
1443
e19f872c
CV
14442004-06-25 Corinna Vinschen <vinschen@redhat.com>
1445
1446 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
1447 attach process.
1448
d931ba3b
MC
14492004-06-23 Michael Chastain <mec.gnu@mindspring.com>
1450
1451 * gdb.cp/pr-1553.exp: Remove.
1452
aef68c48
MC
14532004-06-22 Michael Chastain <mec.gnu@mindspring.com>
1454
1455 * gdb.cp/pr-1553.cc: Remove.
1456 * gdb.cp/pr-1553.exp: Disable this test.
1457
8d5df71a
JB
14582004-06-20 Jim Blandy <jimb@redhat.com>
1459
1460 Fix PR testsuite/1680.
1461 * gdb.arch/i386-sse.exp: Properly quote curly braces in
1462 regular expressions.
1463
4ac6f39d
MC
14642004-06-19 Michael Chastain <mec.gnu@mindspring.com>
1465
1466 Fix PR testsuite/1679.
1467 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
1468 Issue an UNSUPPORTED result instead.
1469
1b413552
JB
14702004-06-18 Jim Blandy <jimb@redhat.com>
1471
1472 * gdb.base/charset.exp: Only send a control-C if we see a new
1473 prompt and incomplete command.
1474
6daa6ebd
MC
14752004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1476
1477 * gdb.cp/pr-574.cc: Add copyright notice.
1478
51fa4ae0
JB
14792004-06-17 Jim Blandy <jimb@redhat.com>
1480
1481 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1482 cases where the regexp has no groups; this grabs random text from
1483 the previous test suite, whatever that was.
1484
8fea26c5
MC
14852004-06-17 Michael Chastain <mec.gnu@mindspring.com>
1486
1487 * gdb.cp/printmethod.cc: Add copyright notice.
1488
1e3aeb41
MC
14892004-06-16 Michael Chastain <mec.gnu@mindspring.com>
1490
1491 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1492
9d9030bc
AC
14932004-06-16 Andrew Cagney <cagney@gnu.org>
1494
1495 * gdb.base/signull.c: Update copyright. Include <string.h>.
1496 (bowler): Replace data_pointer with data_read
1497 and data_write cases. Add code_descriptor case.
1498 (zero, desc): New array and pointer.
1499 (data, code): Change to simple pointers.
1500 * gdb.base/signull.exp: Fix probe pattern matching a function
1501 descriptor SIGSEGV. Replace data_pointer with data_read and
1502 data_write tests.
1503
acd4ad44
AC
15042004-06-16 Andrew Cagney <cagney@gnu.org>
1505
1506 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1507
08fd625c
MC
15082004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1509
1510 * gdb.base/long_long.c: Add copyright notice.
1511
1903502c
MC
15122004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1513
1514 * gdb.base/long_long.exp: Remove reference to
1515 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
1516 to gdb_breakpoint and gdb_continue_to_breakpoint.
1517
83313cb1
JB
15182004-06-14 Jim Blandy <jimb@redhat.com>
1519
1520 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1521 endian case.
1522
1bf404ef
AC
15232004-06-14 Andrew Cagney <cagney@gnu.org>
1524
1525 * gdb.base/gcore.exp (capture_command_output): Delete the always
1526 passing tests containing inferior values.
1527 * gdb.base/ending-run.exp: Do not include the breakpoint address
1528 in the test message. Update copyright.
1529 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1530 size in the test name, use gdb_test_multiple. Update copyright.
1531
ef220b33
MC
15322004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1533
1534 * gdb.cp/ref-types.cc: Add copyright notice.
1535
4f70a4c9
MC
15362004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1537
1538 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1539 hp_aCC_compiler.
1540 * lib/compiler.cc: Likewise.
1541 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1542 'set' commands. Log diagnostics for other lines. Set
1543 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1544
335928ac
MC
15452004-06-13 Michael Chastain <mec.gnu@mindspring.com>
1546
1547 * gdb.cp/try_catch.cc: Add copyright notice.
1548
2efb12e8
MC
15492004-06-12 Michael Chastain <mec.gnu@mindspring.com>
1550
1551 * gdb.cp/userdef.cc: Add copyright notice.
1552
0bbed51a
MC
15532004-06-11 Michael Chastain <mec.gnu@mindspring.com>
1554
1555 * gdb.cp/virtfunc.cc: Add copyright notice.
1556
e12a46c9
RC
15572004-06-11 Randolph Chung <tausq@debian.org>
1558
1559 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1560 problem.
1561
338e05af
AC
15622004-06-10 Andrew Cagney <cagney@gnu.org>
1563
1564 * lib/compiler.cc, lib/compiler.c: Append either
1565 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1566 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1567 instead of gcc-3-3.
1568
dc3f10cb
AC
15692004-06-09 Andrew Cagney <cagney@gnu.org>
1570
b4d946af
AC
1571 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1572 gdb/1455, bug is specific to "long long" and "double".
1573
dc3f10cb
AC
1574 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1575 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1576 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
1577 fixed.
1578
b5c0bfa2
AC
15792004-06-09 Andrew Cagney <cagney@gnu.org>
1580
1581 * gdb.base/structs.exp (test_struct_returns): Replace
1582 "return_value_unknown" and "finish_value_unknown" by
1583 "return_value_known" and "finish_value_known". Instead of
1584 "return_value_unknown" iff "finish_value_unknown", check
1585 "return_value_known" implies "finish_value_known".
1586
caeb605f
MH
15872004-06-08 Martin Hunt <hunt@redhat.com>
1588
1589 * gdb.base/float.exp: Add pattern for mips targets.
1590
c892bb64
RC
15912004-06-08 Randolph Chung <tausq@debian.org>
1592
1593 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1594 message for unknown architectures more clear.
1595
48306d3e
JB
15962004-06-08 Joel Brobecker <brobecker@gnat.com>
1597
1598 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1599 start the execution of the program.
1600
83ecb59f
JB
16012004-06-07 Jim Blandy <jimb@redhat.com>
1602
1603 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1604 * gdb.arch/i386-cpuid.h: New helper file.
1605
55264cb4
RC
16062004-06-07 Randolph Chung <tausq@debian.org>
1607
1608 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1609 has started.
1610
23cadb28
RM
16112004-06-04 Roland McGrath <roland@redhat.com>
1612
1613 Fix PR gdb/1647.
1614 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1615 differently to be robust to output buffering differences.
1616
51d01eda
MC
16172004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1618
1619 * gdb.threads/pthreads.exp: Update copyright years.
1620 (check_control_c): Change asynchronous 'after' to synchronous.
1621
f4fc3b93
RM
16222004-06-04 Roland McGrath <roland@redhat.com>
1623
1624 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1625 next gdb prompt.
1626
4013522b
MC
16272004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1628
1629 Fix PR gdb/1636.
1630 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1631 calls to synchronous.
1632
7a8f1e6b
JB
16332004-05-26 Jim Blandy <jimb@redhat.com>
1634
1635 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1636
81bb3443
RC
16372004-05-24 Randolph Chung <tausq@debian.org>
1638
1639 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1640 * gdb.asm/pa.inc: New file.
1641
8f5a3103
MK
16422004-05-22 Mark Kettenis <kettenis@gnu.org>
1643
1644 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1645
734b8fe8
JB
16462004-05-21 Joel Brobecker <brobecker@gnat.com>
1647 Daniel Jacobowitz <drow@mvista.com>
1648
1649 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1650 GDB prompt.
1651
725603e1
UW
16522004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1653
f4fc3b93 1654 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
1655 setjmp/longjmp. Use sigaction instead of signal.
1656
8b923272
JB
16572004-05-19 J. Brobecker <brobecker@gnat.com>
1658 Michael Snyder <msnyder@redhat.com>
1659
1660 * gdb.threads/pthread_cond_wait.c: New file.
1661 * gdb.threads/pthread_cond_wait.exp: New testcase.
1662
8bfabb04
AC
16632004-05-13 Andrew Cagney <cagney@redhat.com>
1664
1665 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1666 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1667
42edda50
AC
16682004-05-11 Andrew Cagney <cagney@redhat.com>
1669
1670 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1671 fixed but revealed gdb/1639.
1672
d303a6c7
AC
16732004-05-10 Andrew Cagney <cagney@redhat.com>
1674
1675 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1676 func1" and "next to 2nd alarm", kernel bug avoided.
1677
bf08c2a1
DJ
16782004-05-10 Daniel Jacobowitz <dan@debian.org>
1679
1680 PR external/1568
1681 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1682 XFAIL if it is smaller than bytes_allocated.
1683 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1684 (main): Make chunks_allocated unsigned. Correct comment.
1685
c0586a34
JB
16862004-05-07 Joel Brobecker <brobecker@gnat.com>
1687
1688 * gdb.arch/powerpc-aix-prologue.c: New file.
1689 * gdb.arch/powerpc-aix-prologue.exp: New file.
1690
f2785d12
JB
16912004-05-07 Jim Blandy <jimb@redhat.com>
1692
1693 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1694 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1695
bd7f6e30
JB
16962004-05-06 Joel Brobecker <brobecker@gnat.com>
1697
1698 * gdb.base/sep.exp: No longer setup_kfail when the program was
1699 built with dwarf2.
1700
0a5e7efe
JI
17012004-05-05 Jim Ingham <jingham@apple.com>
1702
1703 * gdb.base/pending.exp: Make sure pending breakpoints
1704 preserve the ignore count.
f4fc3b93 1705
a8958849
MK
17062004-04-27 Jerome Guitton <guitton@gnat.com>
1707
1708 * i386-prologue.exp: Add testcase for jump instruction as first
1709 instruction of the real code.
1710 * i386-prologue.c (jump_at_beginning): New function.
1711
7e103f5b
MK
17122004-04-28 Mark Kettenis <kettenis@gnu.org>
1713
1714 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1715 x86_64-*-*.
1716
5d38b224
MK
17172004-04-28 Mark Kettenis <kettenis@gnu.org>
1718
1719 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1720 i*86-*-*.
1721
0ef32fd9
MK
17222004-04-25 Mark Kettenis <kettenis@gnu.org>
1723
1724 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1725 expression that checks the return type.
1726
71d7dd7c
AC
17272004-04-23 Andrew Cagney <cagney@redhat.com>
1728
1729 * gdb.base/call-sc.exp: New test of scalar call/return values.
1730 * gdb.base/call-sc.c: Ditto.
1731
1e9f977e
JJ
17322004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1733
1734 * gdb.threads/manythreads.c: Reduce thread stack size.
1735
899d9e3a
JJ
17362004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1737
1738 * gdb.threads/manythreads.c: Add copyright notice.
1739
61bcae62
AC
17402004-04-23 Andrew Cagney <cagney@redhat.com>
1741
1742 * gdb.base/siginfo.exp: Better handle step out of signal.
1743 * gdb.base/sigstep.exp: Ditto.
1744
7339a42e
JJ
17452004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1746 Daniel Jacobowitz <drow@mvista.com>
1747
1748 * gdb.threads/manythreads.c: New testcase.
1749 * gdb.threads/manythreads.exp: Ditto.
1750
5c98409b
JB
17512004-04-22 Jim Blandy <jimb@redhat.com>
1752
1753 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1754 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1755
3b611f1a
MC
17562004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1757
1758 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1759
f0fd9238
AC
17602004-04-21 Andrew Cagney <cagney@redhat.com>
1761
1762 * gdb.base/sigstep.c: New file.
1763 * gdb.base/sigstep.exp: New file.
1764
90990674
JB
17652004-04-16 Joel Brobecker <brobecker@gnat.com>
1766
1767 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1768 call to observer_notify_normal_stop.
1769
78cef34b
AC
17702004-04-15 Andrew Cagney <cagney@redhat.com>
1771
1772 * gdb.base/siginfo.c: New file.
1773 * gdb.base/siginfo.exp: New file.
1774
d2343407
JB
17752004-04-12 J. Brobecker <brobecker@gnat.com>
1776
1777 * gdb.base/sep.exp: Fix typo in comment.
1778
a2dba3c8
JB
17792004-04-12 J. Brobecker <brobecker@gnat.com>
1780
1781 * gdb.base/sep.c: New file.
1782 * gdb.base/sep-proc.c: New file.
1783 * gdb.base/sep.exp: New testcase.
1784
15f7b60e
MK
17852004-04-09 Mark Kettenis <kettenis@gnu.org>
1786
1787 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1788 support.
1789
44f4de1a
AC
17902004-04-05 Andrew Cagney <cagney@redhat.com>
1791
1792 * gdb.base/sigaltstack.c: New file.
1793 * gdb.base/sigaltstack.exp: New file.
1794
ef04f396
JB
17952004-04-04 Joel Brobecker <brobecker@gnat.com>
1796
1797 * gdb.base/foll-fork.exp: Update the expected output for
1798 "help set follow-fork-mode", to match a change that was made
1799 to the help of this variable on 2004-01-13.
1800
d40d2c92
JB
18012004-04-01 Joel Brobecker <brobecker@gnat.com>
1802
1803 * lib/ada.exp: Add copyright notice.
1804 * bar.ads: Likewise.
1805 * bar.adb: Likewise.
1806 * null_record.adb: Likewise.
1807 * null_record.exp: Likewise.
1808 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1809
f86ef5a3
JB
18102004-04-01 Joel Brobecker <brobecker@gnat.com>
1811
1812 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1813 * configure: Regenerate.
1814
414e70e3
JB
18152004-04-01 Joel Brobecker <brobecker@gnat.com>
1816
1817 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1818 to build the application. Remove the message printed when in
1819 verbose mode, redundant with the UNSUPPORTED message above.
1820
f0aaee49
JB
18212004-03-31 Joel Brobecker <brobecker@gnat.com>
1822
1823 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1824 * gdb.ada (null_record.exp): New testcase.
1825
ac81cb54
JB
18262004-03-31 Joel Brobecker <brobecker@gnat.com>
1827
1828 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1829
854af2f7
JB
18302004-03-31 Joel Brobecker <brobecker@gnat.com>
1831
1832 * gdb.ada: New subdirectory.
1833 * gdb.ada/Makefile.in: New file.
1834 * gdb.ada/gnat_ada.gpr.in: New file.
1835
034cb681
JB
18362004-03-31 Joel Brobecker <brobecker@gnat.com>
1837
1838 * lib/ada.exp: New file.
1839
78a1a894
DJ
18402004-03-24 Daniel Jacobowitz <drow@mvista.com>
1841
1842 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1843 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1844
4b2b3b3e
AC
18452004-03-22 Andrew Cagney <cagney@redhat.com>
1846
1847 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1848 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1849 Problem identified by Ulrich Weigand.
1850
23c73aa3
DC
18512004-03-17 David Carlton <carlton@kealia.com>
1852
1853 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1854 PR c++/826.
1855
d63a86f8
RM
18562004-03-16 Roland McGrath <roland@redhat.com>
1857
1858 * gdb.base/auxv.exp: New file.
1859 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1860
0e02aa50
DC
18612004-03-12 David Carlton <carlton@kealia.com>
1862
1863 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1864 * gdb.cp/pr-1553.cc: Ditto.
1865 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1866 pass branch.
1867
c20b71be
MC
18682004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1869
1870 * gdb.cp/templates.exp: Accept more template types.
1871
c7414a01
MC
18722004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1873
1874 From Corinna Vinschen with modifications.
1875 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1876 local variable obj_with_enum.
1877 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1878 results with obj_with_enum.
1879
ed69573c
MC
18802004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1881
1882 * gdb.cp/classes.cc: New file, copied from misc.cc.
1883 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1884
28301461
MC
18852004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1886
1887 * gdb.cp/misc.cc: Add copyright notice.
1888
1198ecbe
DC
18892004-03-05 David Carlton <carlton@kealia.com>
1890
1891 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1892 * gdb.cp/rtti.h: Update copyright.
1893 (namespace n2::n3): New.
1894 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1895 (n2::n3::func3): New.
1896 (main): Call n2::n3::func3.
1897 * gdb.cp/rtti2.cc: Update copyright.
1898 (n2::create3): New.
1899
9e08c470
MK
19002004-03-04 Mark Kettenis <kettenis@gnu.org>
1901
1902 * gdb.asm/openbsd.inc: Fix typo.
1903
4bebc3aa
FF
19042004-03-03 Fred Fish <fnf@redhat.com>
1905
1906 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1907 "val" instead of unused "size". Update copyright year.
1908
6ea9fb37
DJ
19092004-02-29 Daniel Jacobowitz <drow@mvista.com>
1910
1911 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1912 to use unsigned char.
1913 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1914 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1915
23b23974
DJ
19162004-02-29 Daniel Jacobowitz <drow@mvista.com>
1917
1918 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1919 line of output.
1920
7574fd53
DJ
19212004-02-28 Daniel Jacobowitz <drow@mvista.com>
1922
1923 * gdb.base/relocate.c (dummy): Initialize.
1924
a195357f
DJ
19252004-02-28 Daniel Jacobowitz <drow@mvista.com>
1926
1927 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1928 a breakpoint at exit.
1929
72fd54a9
FF
19302004-02-27 Fred Fish <fnf@redhat.com>
1931
1932 * gdb.base/chng-syms.exp: Add expect condition to match failing
1933 case that isn't a timeout.
1934
b9d23137
AC
19352004-02-27 Andrew Cagney <cagney@redhat.com>
1936
1937 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1938 support.
1939
15d208f6 19402004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 1941
15d208f6
FF
1942 * gdb.arch/gdb1431.c: Remove.
1943 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1944 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1945 of "until" incorrectly.
1946
98f9cd2d
JB
19472004-02-26 J. Brobecker <brobecker@gnat.com>
1948
1949 * gdb.cp/class2.cc (empty): New class.
1950 (refer): New function.
1951 (main): Declare an object of type empty and use it.
1952 * gdb.cp/class2.exp: Print the value of an object of type empty.
1953
9b50c11b
JJ
19542004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1955
1956 * gdb.base/langs.exp: Update query string to match the
1957 new nquery format used for pending breakpoints.
1958
0dcd613f
AC
19592004-02-26 Andrew Cagney <cagney@redhat.com>
1960
1961 Fix PR i18n/1570.
1962 * gdb.base/charset.c: Update copyright notice.
1963 (main, init_string): Remove the escape character '\e' tests.
1964 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1965 * gdb.base/charset.exp (valid_host_charset): Ditto.
1966 * gdb.base/setvar.exp: Ditto.
1967
b8a56647
AC
19682004-02-24 Andrew Cagney <cagney@redhat.com>
1969
90d59e34
AC
1970 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1971 mmapped data in core file" PASS and FAIL messages consistent.
1972
b8a56647
AC
1973 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1974 setting a breakpoint. Work around PR java/1565.
1975
9f27c604
JJ
19762004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1977
1978 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1979 new nquery format.
1980 * gdb.base/pending.exp: Ditto.
1981
3224a706
MK
19822004-02-22 Mark Kettenis <kettenis@gnu.org>
1983
1984 * configure.in: Run stabs tests on *BSD.
1985 * configure: Regenerated.
1986
41e0a9ca
MK
19872004-02-21 Mark Kettenis <kettenis@gnu.org>
1988
1989 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1990
1e1b3428
FF
19912004-02-20 Fred Fish <fnf@redhat.com>
1992
1993 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1994 blank in test for "returns short", for consistency with other
1995 "returns xxx" tests. Update copyright year.
1996
f9a7572a
FF
19972004-02-19 Fred Fish <fnf@redhat.com>
1998
1999 New testcase for PR breakpoint/1558.
2000 * gdb.arch/gdb1558.exp: New file.
2001 * gdb.arch/gdb1558.c: New file.
2002
b2ce2854
EZ
20032004-02-19 Elena Zannoni <ezannoni@redhat.com>
2004
2005 * gdb.base/nodebug.exp: Fix typo.
2006
e7c9ff01
JB
20072004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2008
2009 Committed by Jim Blandy <jimb@redhat.com>.
2010
62f4b920
JB
2011 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
2012
2db536a1
JB
2013 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
2014
e7c9ff01
JB
2015 * gdb.base/float.exp: Support s390*-*-* targets.
2016
f3205b34
AF
20172004-02-17 Adam Fedor <fedor@gnu.org>
2018
2019 * gdb.base/gdb1555.exp: New file.
2020 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
2021
9d62932d
EZ
20222004-02-17 Elena Zannoni <ezannoni@redhat.com>
2023
2024 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
2025
344c9711
FF
20262004-02-16 Fred Fish <fnf@redhat.com>
2027
2028 * gdb.arch/gdb1291.c: Remove
2029 * gdb.arch/gdb1291.s: New test input file.
2030 * gdb.arch/gdb1291.exp: Expand test to check case that should not
2031 fail. Test for correct result, known incorrect result, other
2032 failures and timeouts.
2033
2d822687
AC
20342004-02-16 Andrew Cagney <cagney@redhat.com>
2035
2036 * gdb.base/bigcore.exp: New file.
2037 * gdb.base/bigcore.c: New file.
2038
dac15b66
AC
20392004-02-13 Andrew Cagney <cagney@redhat.com>
2040
2041 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
2042 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
2043 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
2044 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
2045 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
2046 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
2047 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
2048 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
2049 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
2050 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
2051
6bdfc2c4
JJ
20522004-02-11 Jeff Johnston <jjohnstn@redhat.com>
2053
2054 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
2055 executed is an alloc instruction.
2056
87b3ede8
DC
20572004-02-11 David Carlton <carlton@kealia.com>
2058
2059 * gdb.cp/breakpoint.exp: New.
2060 * gdb.cp/breakpoint.cc: New.
2061
6e19e2bf
MC
20622004-02-11 Michael Chastain <mec.gnu@mindspring.com>
2063
2064 Partial fix for PR gdb/1543.
2065 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
2066 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
2067 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
2068 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
2069 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
2070 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
2071 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
2072 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
2073 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
2074 to bug-gdb@prep.ai.mit.edu .
2075 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
2076 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
2077 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
2078 Likewise.
2079
5c5455dc
AC
20802004-02-10 Andrew Cagney <cagney@redhat.com>
2081
2082 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
2083 using gdb_internal_error_resync.
2084
9cf689d7
DJ
20852004-02-09 Daniel Jacobowitz <drow@mvista.com>
2086
2087 * gdb.threads/thread-specific.exp: Stop early if no threads are
2088 found.
2089
d2dc51db
MC
20902004-02-09 Michael Chastain <mec.gnu@mindspring.com>
2091
2092 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
2093
14b1a056
DJ
20942004-02-08 Daniel Jacobowitz <drow@mvista.com>
2095
2096 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
2097 breakpoints.
2098
83f66e8f
DJ
20992004-02-07 Daniel Jacobowitz <drow@mvista.com>
2100
2101 * config/sim.exp (gdb_load): Handle $arg == "".
2102 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
2103 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
2104
30fc0091
EZ
21052004-02-07 Elena Zannoni <ezannoni@redhat.com>
2106
2107 * gdb.base/maint.exp: Update test to reflect
2108 obstack changes.
2109
4d806929
JJ
21102004-02-04 Jeff Johnston <jjohnstn@redhat.com>
2111
2112 * gdb.base/pendshr.c (pendfunc): New function that calls
2113 pendfunc1.
2114 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
2115
7bfdd688
FF
21162004-02-04 Fred Fish <fnf@redhat.com>
2117
2118 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
2119 function symbols and update copyright years.
2120 * gdb.arch/gdb1291.c: Ditto.
2121
aaa08ee4
MC
21222004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2123
2124 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
2125
dbad7755
MC
21262004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2127
2128 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
2129
ec4646ef
MC
21302004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2131
2132 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
2133
1b802196
FF
21342004-02-02 Fred Fish <fnf@redhat.com>
2135
2136 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
2137 remote targets. Update copyright years.
2138
18fe2033
JJ
21392004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2140
2141 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
2142 support.
2143 * gdb.base/langs.exp: Fix test which attempts to create
2144 breakpoint on non-existent function to handle new pending
2145 support.
2146 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
2147 a breakpoint.
2148 * gdb.base/pending.exp: New test.
2149 * gdb.base/pending.c: New file.
2150 * gdb.base/pendshr.c: Ditto.
2151
8d577d32
DC
21522004-02-02 David Carlton <carlton@kealia.com>
2153
2154 * gdb.cp/overload.exp: Add overloadNamespace tests.
2155 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
2156 (overloadNamespace, XXX): New.
2157 (main): Call XXX::marker2.
2158
3ad13771
FF
21592004-02-01 Fred Fish <fnf@redhat.com>
2160
2161 * gdb.base/dump.exp: Use runto_main instead of "runto main".
2162 * gdb.base/finish.exp: Ditto.
2163 * gdb.base/gcore.exp: Ditto.
2164 * gdb.base/huge.exp: Ditto.
2165 * gdb.base/info-proc.exp: Ditto.
2166 * gdb.base/return2.exp: Ditto.
2167 * gdb.threads/gcore-thread.exp: Ditto.
2168
44c75849
DJ
21692004-02-01 Daniel Jacobowitz <drow@mvista.com>
2170
2171 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
2172
005bc093
MK
21732004-02-01 Mark Kettenis <kettenis@gnu.org>
2174
2175 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
2176 that opening the file succeeds on OpenBSD.
2177
c47cebdb
DJ
21782004-02-01 Daniel Jacobowitz <drow@mvista.com>
2179
2180 * gdb.threads/thread-specific.c: New file.
2181 * gdb.threads/threads-specific.exp: New test script.
2182 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
2183 to expect_out.
2184
5a01311c
MK
21852004-02-01 Mark Kettenis <kettenis@gnu.org>
2186
2187 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
2188 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
2189 only on the "print_small_structs from print_long_arg_list" test.
2190
ce22a4f1
DJ
21912004-02-01 Daniel Jacobowitz <drow@mvista.com>
2192
2193 * gdb.base/completion.exp: Kill a stray backslash.
2194
2195 From Jim Ingham <jingham@apple.com>:
2196 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
2197 agrees with the result from sending a tab.
2198
abbab9d3
DJ
21992004-01-31 Daniel Jacobowitz <drow@mvista.com>
2200
2201 * gdb.base/chng-syms.exp: Remove stray newline.
2202
53904d1e
MK
22032004-01-31 Mark Kettenis <kettenis@gnu.org>
2204
2205 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
2206 *-*-openbsd*.
2207 * gdb.asm/openbsd.inc: New file.
2208
3a4b3aac
MK
22092004-01-30 Mark Kettenis <kettenis@gnu.org>
2210
2211 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
2212 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
2213 *-*solaris2*. Remove commented out default settings for
2214 asm-flags. Replace gdb_compile with target_link.
2215
ebac27b4
MC
22162004-01-29 Michael Chastain <mec.gnu@mindspring.com>
2217
2218 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
2219 for all tests. Remove old hp-ux and cygnus xfail cases.
2220
d8679d84
PH
22212004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
2222
2223 * gdb.base/chng-syms.exp: New file.
2224 * gdb.base/chng-syms.c: New file.
2225
0a55bc22
MC
22262004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2227
2228 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
2229 Provide arms for current output in all my configurations.
2230
94b8e876
MC
22312004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2232
2233 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
2234 * lib/compiler.cc: Likewise.
2235 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
2236 get the right preprocessor. Eval the output directly. Remove
2237 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
2238 hp_f77_compiler and hp_f90_compiler completely.
2239 (gdb_preprocess): Delete.
2240 (get_compiler): Delete.
2241
7cf03d44
MK
22422004-01-24 Mark Kettenis <kettenis@gnu.org>
2243
2244 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
2245 <string.h>.
2246
68b6dce9
NR
22472004-01-24 Nick Roberts <nick@nick.uklinux.net>
2248
2249 * gdb.mi/mi-stack.exp: Update copyright.
2250
b368761e
DC
22512004-01-23 David Carlton <carlton@kealia.com>
2252
2253 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
2254 test for cp_lookup_transparent_type.
2255 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
2256 call them.
2257
f2061b53
DJ
22582004-01-23 Daniel Jacobowitz <drow@mvista.com>
2259
2260 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
2261 after -var-update.
2262
37fc574a
DC
22632004-01-23 David Carlton <carlton@kealia.com>
2264
2265 * gdb.cp/namespace.cc (C::ensureRefs): New.
2266 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2267
8e94b928
NR
22682004-01-20 Nick Roberts <nick@nick.uklinux.net>
2269
2270 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
2271 case "-stack-list-locals 2".
2272 * gdb.mi/mi-var-child.exp: Test for case
2273 "-var-list-children --all-values NAME".
2274
997b0952
MC
22752004-01-18 Michael Chastain <mec.gnu@mindspring.com>
2276
2277 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2278
52470da3
MK
22792004-01-18 Mark Kettenis <kettenis@gnu.org>
2280
7049b4b8
MK
2281 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
2282 used with gdb_test_multiple.
2283
52470da3
MK
2284 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
2285 read at address 0. This fixes PR testsuite/1504.
2286
da6012e5
DJ
22872004-01-18 Daniel Jacobowitz <drow@mvista.com>
2288
2289 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
2290 Remove downloading, guessing the host executable, the calls to
2291 gdb_file_cmd and gdb_target_cmd, and "load" support.
2292 (infer_host_exec): New function broken out from gdb_load.
2293 (gdb_load): New wrapper for gdbserver_gdb_load.
2294 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
2295 gdb_target_cmd. Use -target-select.
2296 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
2297 Download binaries to the host. Clear last_mi_remote_file when
2298 we load a new binary.
2299 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
2300 call gdbserver_gdb_load and mi_gdb_target_cmd.
2301
32c70722
MC
23022004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2303
2304 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
2305 type patterns.
2306
b0cecf36
MC
23072004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2308
2309 * gdb.cp/templates.exp: Fix typo in test name of
2310 "print Foo<volatile char*>::foo".
2311
4120d7e6
MC
23122004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2313
2314 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2315
f679e530
BE
23162004-01-16 Ben Elliston <bje@wasabisystems.com>
2317
2318 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
2319 (clean mostlyclean): Remove empty rm.
2320
091c48f6
MC
23212004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2322
2323 * gdb.base/setvar.exp: Add copyright years.
2324
3e5fc8d2
DC
23252004-01-14 David Carlton <carlton@bactrian.org>
2326
2327 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
2328 PR c++/1511 and update coment.
2329 * gdb.cp/templates.exp: Update patterns to match current output.
2330 If changes involve something other than whitespace, KFAIL
2331 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2332
63d06c5c
DC
23332004-01-14 David Carlton <carlton@kealia.com>
2334
2335 * gdb.cp/namespace.exp: Add tests involving classes defined within
2336 namespaces.
2337 * gdb.cp/namespace.cc (C::CClass): New.
2338 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
2339
a51dab88
EZ
23402004-01-14 Elena Zannoni <ezannoni@redhat.com>
2341
2342 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
2343 what debug info we have. Print a better message if something goes
2344 wrong while producing the separate debug info file.
2345
a476ccc9
MC
23462004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2347
2348 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2349
f453692c
MC
23502004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2351
2352 * gdb.base/callfuncs.c: Add copyright notice.
2353
f40063a5
MC
23542004-01-13 Michael Chastain <mec.gnu@mindspring.com>
2355
2356 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
2357 inheritance. PR gdb/1498, PR gcc/13539.
2358
19ac3974
EZ
23592004-01-13 Elena Zannoni <ezannoni@redhat.com>
2360
2361 * gdb.threads/gcore-thread.exp: Prefix name of binary with
2362 test specific name.
2363 * gdb.mi/gdb669.exp: Ditto.
2364 * gdb.mi/mi-pthreads.exp: Ditto.
2365 * gdb.mi/mi1-pthreads.exp: Ditto.
2366 * gdb.mi/mi2-pthreads.exp: Ditto.
2367
56c97c6e
MC
23682004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2369
2370 * gdb.cp/member-ptr.cc: Add copyright notice.
2371
a0644324
MC
23722004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2373
2374 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
2375 some patterns for recent versions of gcc and hpacc. Delete
2376 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
2377 Delete tests that access a NULL pointer-to-member-data. This
2378 script is still disabled for gcc.
2379
32fabe09
EZ
23802004-01-12 Elena Zannoni <ezannoni@redhat.com>
2381
2382 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
2383 escaped correctly.
2384
1f8a6abb
EZ
23852004-01-12 Elena Zannoni <ezannoni@redhat.com>
2386
2387 * gdb.base/sepdebug.exp: New file.
2388 * gdb.base/sepdebug.c: New file.
2389 * lib/gdb.exp (separate_debug_filename): New procedure.
2390 (gdb_gnu_strip_debug): New procedure.
2391
48efe704
AC
23922004-01-12 Andrew Cagney <cagney@redhat.com>
2393
2394 * gdb.mi/ChangeLog: Delete file. Renamed to ...
2395 * gdb.mi/ChangeLog-1999-2003: New file.
2396
a9415475
AC
23972004-01-12 Andrew Cagney <cagney@redhat.com>
2398
2399 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
2400 "Renaming a directory to a non-empty directory returns ENOTEMPTY
2401 or EEXIST", treat EBUSY as an XFAIL.
2402
83b8cf9d
MC
24032004-01-11 Michael Chastain <mec.gnu@mindspring.com>
2404
2405 * gdb.base/scope.exp: Remove obsolete setup_xfail for
2406 hp_cc_compiler.
2407
9939d2a8
MC
24082004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2409
2410 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
2411 decorations.
2412
1ff8cadf
MC
24132004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2414
2415 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
2416 and "(aCC)" decorations. Remove obsolete doco about old
2417 test results.
2418
6fa9022e
MC
24192004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2420
2421 * gdb.cp/exception.exp: Fix typo in doco.
2422
209721fe
MK
24232004-01-09 Mark Kettenis <kettenis@gnu.org>
2424
2425 * gdb.base/gdb1476.exp: Fix typo.
2426
ef11303e
MC
24272004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2428
2429 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
2430 file.
2431
041ab88c
MC
24322004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2433
2434 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
2435 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
2436 Use gdb_compile. Remove restriction on gcc. Add some patterns
2437 for recent version of gdb. Delete second half, which was a copy
2438 of the first half with different build flags. This test is
2439 still disabled because it is still not ready for production.
2440
e36d075a
MC
24412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2442
2443 * gdb.cp/exception.cc: Add copyright notice.
2444 * gdb.cp/exception.exp: Add a notice that this file is broken
2445 because of line number changes caused by addition of copyright
2446 notice.
2447
42b190ad
MC
24482004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2449
2450 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
2451 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2452
8f25f06b
MC
24532004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2454
2455 * gdb.cp/classes.exp: Accept gnu abi 2.
2456 * gdb.cp/derivation.exp: Likewise.
2457 * gdb.cp/overload.exp: Likewise.
2458 * gdb.cp/virtfunc.exp: Likewise.
2459
06ded8b8
MC
24602004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2461
2462 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
2463 semicolon after end of function.
2464
77c26ae3
MC
24652004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2466
2467 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
2468 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
2469 boilerplate code for compiling and running the program under
2470 test. Add some string method tests.
2471
20757486
MC
24722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2473
2474 * gdb.cp/bs15503.cc: Add copyright notice.
2475 * gdb.cp/bs15503.exp: Adjust line number.
2476
0fd3b503
MC
24772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2478
2479 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2480 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2481
10d1bea8
MC
24822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2483
2484 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2485 hp_cc_compiler.
2486
2789202a
MC
24872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2488
2489 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2490 * gdb.cp/ctti.exp: Use the marker instead of "next".
2491 With gcc, run further before bailing.
2492
b862f14c
MC
24932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2494
2495 * gdb.cp/cttiadd.cc: Add copyright notice.
2496 * gdb.cp/cttiadd1.cc: Likewise.
2497 * gdb.cp/cttiadd2.cc: Likewise.
2498 * gdb.cp/cttiadd3.cc: Likewise.
2499
96da2469
MC
25002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2501
2502 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
2503 Use gdb_test, gdb_test_multiple. Use floating-point values that
2504 have exact representations in IEEE-ish formats.
2505
053248ff
MC
25062004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2507
2508 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2509 compilers. Delete duplicate call to get_compiler_info.
2510 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2511 * gdb.base/volatile.exp: Likewise.
2512
84acecdd
MK
25132004-01-07 Mark Kettenis <kettenis@gnu.org>
2514
2515 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2516 memory at address 0.
2517
fe11a27f
MC
25182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2519
2520 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2521 to test for hp-ux assembler. Fix copyright years.
2522
60ad077b
AC
25232004-01-07 Andrew Cagney <cagney@redhat.com>
2524
2525 * gdb.base/fileio.c (strerrno): Add "EBUSY".
2526
1c9b8f33
AC
25272004-01-07 Andrew Cagney <cagney@redhat.com>
2528
2529 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2530 when creating the read-only file. From analysis by Roland McGrath
2531 and Elena Zannoni.
2532
753ccc7a
MC
25332004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2534
2535 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2536
eca3e36b
MC
25372004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2538
2539 * gdb.base/cvexpr.c: Be type-safe with function pointers and
2540 data pointers.
2541
f8d4bac4
MC
25422004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2543
2544 * gdb.cp/m-static.exp: Compile one source file at a time.
2545 Delete unused call to get_compiler_info.
2546
9b4e0f94
MC
25472004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2548
2549 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2550 * gdb.base/call-rt-st.exp: Likewise.
2551 * gdb.base/nodebug.exp: Likewise.
2552 * gdb.base/volatile.exp: Likewise.
2553 * gdb.cp/ref-types.exp: Likewise.
2554 * gdb.cp/templates.exp: Likewise.
2555
023c1024
MK
25562004-01-05 Mark Kettenis <kettenis@gnu.org>
2557
2558 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2559
19703c4a
MC
25602004-01-05 Michael Chastain <mec.gnu@mindspring.com>
2561
2562 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2563 hppa*-hp-hpux*.
2564
18b67037
MK
25652004-01-04 Mark Kettenis <kettenis@gnu.org>
2566
ba6219c8
MK
2567 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2568 x86_64-*-*.
2569
18b67037
MK
2570 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2571 sparc64-*-* and sparc*-solaris2*.
2572
1bfbbb9d
MK
25732004-01-04 Mark Kettenis <kettenis@gnu.org>
2574
2575 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2576 return ${tests}" test. The ${tests} already mentions the
2577 filename.
2578
06846494
MC
25792004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2580
2581 * gdb.cp/local.exp: Accept gcc abi 2.
2582
3b0cb202
MC
25832004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2584
2585 * gdb.cp/templates.exp: Accept gcc abi 2.
2586
0643ec3f
MC
25872004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2588
2589 * lib/compiler.cc: Remove supports_template_debugging.
2590 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2591
d231d0b1
MC
25922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2593
2594 * gdb.cp/namespace.exp: Accept gcc abi 2.
2595
44ffb27c
MC
25962004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2597
2598 * gdb.cp/method.exp: Accept gcc abi 2.
2599
184ad485
MC
26002004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2601
2602 * gdb.cp/classes.exp: Generate identical results as old version.
2603 * gdb.cp/derivation.exp: Likewise.
2604 * gdb.cp/overload.exp: Likewise.
2605 * gdb.cp/virtfunc.exp: Likewise.
2606
116f09e7
MC
26072004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2608
2609 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2610 mysterious bug with sourceware version of expect.
2611
b1379776
MC
26122004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2613
2614 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2615 current versions of gcc, including gcc abi 2. Remove gratuitous
2616 restart of test program. Use gdb_test_multiple and gdb_test for
2617 all tests. Add patterns to xfail missing "const" in "const char *"
2618 and kfail PR gdb/1155.
2619
6b7a4c0e
MC
26202004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2621
2622 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2623 current versions of gcc, including gcc abi 2. Remove gratuitous
2624 restart of test program. Use gdb_test_multiple and gdb_test for
2625 all tests. Add patterns to kfail PR gdb/1498.
2626
51615d72
MC
26272003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2628
2629 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2630 current versions of gcc, including gcc abi 2. Use "breakpoint"
2631 and "continue" instead of restarting the target program. Use
2632 gdb_test_multiple and gdb_test for all tests.
2633
7b79a9d7
MK
26342004-01-01 Mark Kettenis <kettenis@gnu.org>
2635
2636 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2637 for *-*-solaris2*.
2638
1cd3489f
MC
26392003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2640
2641 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2642 current versions of gcc, including gcc abi 2. Use "breakpoint"
2643 and "continue" instead of restarting the target program several
2644 times. Use gdb_test_multiple and gdb_test for all tests.
2645
850742db
MC
26462003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2647
2648 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2649 source files.
2650
eb4bbda8
MC
26512003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2652
2653 * gdb.base/environ.exp: Handle compiling test case from multiple
2654 source files.
2655
e42c7771
MC
26562003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2657
2658 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2659
80e4b428
JB
26602003-12-17 Jim Blandy <jimb@redhat.com>
2661
5f06973a
JB
2662 * gdb.base/freebpcmd.c: Add copyright notice.
2663
80e4b428
JB
2664 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2665
0ab84fb7
MC
26662003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2667
2668 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2669
1b3bb3d0
JB
26702003-12-13 Jim Blandy <jimb@redhat.com>
2671
2672 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2673
3a4c9371
KB
26742003-12-12 Kevin Buettner <kevinb@redhat.com>
2675
2676 * gdb.asm/frv.inc: New file.
2677 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2678
a1dea79a
FF
26792003-12-09 Fred Fish <fnf@redhat.com>
2680
2681 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2682 functions to break1.c and leave prototypes behind. Add more
2683 "set breakpoint NN here" comments.
2684 * gdb.base/break1.c: New file.
2685
2686 * gdb.base/break.exp: Handle compiling test case from multiple
2687 source files and change source file references as needed.
2688 * gdb.base/completion.exp: Ditto.
2689 * gdb.base/condbreak.exp: Ditto.
2690 * gdb.base/define.exp: Ditto.
2691 * gdb.base/ena-dis-br.exp: Ditto.
2692 * gdb.base/info-proc.exp: Ditto.
2693 * gdb.base/maint.exp: Ditto.
2694 * gdb.base/until.exp: Ditto.
2695
2696 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2697 hardcoded line numbers.
2698 * gdb.base/define.exp: Ditto.
2699 * gdb.base/ena-dis-br.exp: Ditto.
2700 * gdb.base/maint.exp: Ditto.
2701 * gdb.base/until.exp: Ditto.
2702
2703 * gdb.base/completion.exp: Use "break1" for completion tests since
2704 "break" is no longer a unique prefix.
2705
5266b69c
AC
27062003-12-06 Andrew Cagney <cagney@redhat.com>
2707
2708 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2709 "return_value_unimplemented". When an unimplemented struct return
2710 architecture, report incorrect values as a KFAIL
2711
374451f0
MC
27122003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2713
2714 * gdb.cp/rtti.exp: Accept new wording of warning from
2715 cp_lookup_rtti_type.
2716
ba9b20a7
MC
27172003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2718
2719 Partial fix for PR testsuite/1456.
2720 * gdb.base/scope.exp (test_at_main): Replace references to
2721 gcc_compiled with calls to test_compiler_info.
2722 (test_at_foo): Likewise.
2723 (test_at_bar): Likewise.
2724
b74b6d0b
MC
27252003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2726
2727 Partial fix for PR testsuite/1456.
2728 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2729 to test_compiler_info.
2730
ccfa3402
MC
27312003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2732
2733 * gdb.base/so-impl-ld.exp: Update copyright notice.
2734
f6246aba
MC
27352003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2736
2737 Partial fix for PR testsuite/1456.
2738 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2739 to test_compiler_info.
2740
13ae734a
MC
27412003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2742
2743 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2744 from current versions of gdb. Clean up regular expressions.
2745 Delete redundant timeout case.
2746
d8e1cdee
MC
27472003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2748
2749 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2750 from current versions of gdb. Clean up regular expressions.
2751 Delete redundant timeout case.
2752
96457b64
MC
27532003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2754
2755 Partial fix for PR testsuite/1456.
2756 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2757 gcc_compiled with call to test_compiler_info.
2758
f35309fc
MC
27592003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2760
2761 Partial fix for PR testsuite/1456.
2762 * gdb.base/list.exp (test_list_function): Delete unused declaration
2763 of gcc_compiled.
2764
d7afdf9b
MC
27652003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2766
2767 Partial fix for PR testsuite/1456.
2768 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2769 call to test_compiler_info.
2770
71507b56
MK
27712003-11-29 Mark Kettenis <kettenis@gnu.org>
2772
2773 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2774 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2775 it to create the appropriate note.inc.
2776 * gdb.asm/asmsrc1.s: Include "note.inc".
2777 * gdb.asm/netbsd.inc: New file.
2778 * gdb.asm/empty.inc: New file.
2779
f81f93f7
MC
27802003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2781
2782 Partial fix for PR testsuite/1456.
2783 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2784 calls to test_compiler_info.
2785
9a77938e
MC
27862003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2787
2788 Partial fix for PR testsuite/1456.
2789 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2790 calls to test_compiler_info.
2791
e8367dc7
MK
27922003-11-27 Mark Kettenis <kettenis@gnu.org>
2793
2794 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2795 pattern for the KFAILs.
2796
526c61ee
AF
27972003-11-25 Adam Fedor <fedor@gnu.org>
2798
2799 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2800 * gdb.objc/objcdecode.m: New file.
2801
28f2d600
AF
28022003-11-25 Adam Fedor <fedor@gnu.org>
2803
2804 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2805 * gdb.objc/nondebug.m: New file.
2806
a3895cee
BE
28072003-11-26 Ben Elliston <bje@wasabisystems.com>
2808
2809 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2810 NetBSD as it does on FreeBSD. Modelled on a similar change by
2811 Mark Kettenis on 2003-05-30.
2812 (link-flags): Set to "--entry _start" regardless of target.
2813 Special linker flags are to be appended to $link-flags.
2814 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2815
c9f2c8a3
MC
28162003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2817
2818 * gdb.cp/method.exp: Accept output of new demangler.
2819
15a0587a 28202003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
2821
2822 * gdb/class2.exp: New file.
2823 * gdb/class2.cc: New file.
2824
3c00b570
MC
28252003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2826
2827 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2828 of new demangler.
2829
7027acc7
MK
28302003-11-23 Mark Kettenis <kettenis@gnu.org>
2831
2832 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2833 of gdb_test "run".
2834
b0e1598a
MK
28352003-11-23 Mark Kettenis <kettenis@gnu.org>
2836
2837 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2838 "continue" into "run".
2839
4d9eda44
MC
28402003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2841
2842 Partial fix for PR testsuite/1456.
2843 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2844 call to test_compiler_info.
2845 * gdb.cp/ctti.exp: Likewise.
2846 * gdb.cp/derivation.exp: Likewise.
2847 * gdb.cp/member-ptr.exp: Likewise.
2848 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2849 reference to gcc_compiled.
2850
28512003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
2852
2853 Fix PR testsuite/1463.
2854 * gdb.base/structs.exp (start_structs_test): Call
2855 get_debug_format before using the debug format.
2856
d422fe19
AC
28572003-11-22 Andrew Cagney <cagney@redhat.com>
2858
2859 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2860 * gdb.base/structs.exp: Use gdb_test_multiple.
2861
039cf96d
AC
28622003-11-20 Andrew Cagney <cagney@redhat.com>
2863
6882279b
AC
2864 * gdb.base/structs.exp: Handle and recover from internal errors.
2865 Replace "foo${n}" with "foo<n>" in test messages.
2866
e53890ae
AC
2867 * gdb.base/structs.exp: Update copyright. Rewrite.
2868 * gdb.base/structs.c: Update copyright. Rewrite.
2869
2b211c59
AC
2870 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2871 resync count exceeded.
d63a86f8 2872
039cf96d
AC
2873 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2874 from the internal error.
2875 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2876 Original from Jim Blandy.
2877 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 2878
eac98b22
AC
28792003-11-19 Andrew Cagney <cagney@redhat.com>
2880
2881 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2882 KFAIL.
2883
67455b2a
MK
28842003-11-17 Mark Kettenis <kettenis@gnu.org>
2885
2886 New testcase for PR backtrace/1435.
2887 * gdb.arch/i386-unwind.exp: New file.
2888 * gdb.arch/i386-unwind.c: New file.
2889
853d6e5b
AC
28902003-11-17 Andrew Cagney <cagney@redhat.com>
2891
2892 * lib/gdb.exp (compiler_info): New global.
2893 (test_compiler_info): New function.
2894 (get_compiler_info): Set compiler_info.
2895 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2896 "compiler_info" to gcc-<major>-<minor>.
2897
38cf6e11
MC
28982003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2899
2900 * gdb.trace/configure: Remove.
2901
a50d3602
EZ
29022003-11-13 Elena Zannoni <ezannoni@redhat.com>
2903
2904 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 2905 breakpoints.
a50d3602
EZ
2906 * gdb.base/break.exp: Remove all references to explicit line
2907 numbers.
2908
d9407aaa
NC
29092003-11-11 Nick Clifton <nickc@redhat.com>
2910
2911 * gdb.base/shreloc.exp: Do not run for targets which do not
2912 support shared objects.
2913
db488fc1
CV
29142003-11-10 Corinna Vinschen <vinschen@redhat.com>
2915
2916 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2917 Don't run tests if nofileio flag is given.
2918
6a90a18e
EZ
29192003-11-07 Elena Zannoni <ezannoni@redhat.com>
2920
2921 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2922 as well as 'Watchpoint'.
2923
0b915e9c
EZ
29242003-11-06 Elena Zannoni <ezannoni@redhat.com>
2925
2926 Reported by Jim Ingham <jingham@apple.com>:
2927 * gdb.base/annota1.exp: Match at least one occurrence of the
2928 signal handler annotation.
2929
d7e4b55f
EZ
29302003-11-06 Elena Zannoni <ezannoni@redhat.com>
2931
2932 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2933 as well as 'Watchpoint'.
2934
2fe4e8d0
MC
29352003-11-05 Michael Chastain <mec@shout.net>
2936
2937 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2938
6ef88553
KW
29392003-11-03 Kris Warkentin <kewarken@qnx.com>
2940
2941 * gdb.arch/gdb1291.c: New test file.
2942 * gdb.arch/gdb1291.exp: New test script.
2943 * gdb.arch/gdb1431.c: New test file.
2944 * gdb.arch/gdb1431.exp: New test script.
2945
ae7dc4d8
MC
29462003-10-22 Michael Chastain <mec@shout.net>
2947
2948 * gdb.mi/pthreads.c: Add copyright notice.
2949
c39d7427
MC
29502003-10-22 Michael Chastain <mec@shout.net>
2951
2952 * gdb.threads/pthreads.c: Add copyright notice.
2953
8b7d96c1
MC
29542003-10-20 Michael Chastain <mec@shout.net>
2955
2956 * gdb.base/gdb1056.exp: New test script.
2957
d1d69fdd
DJ
29582003-10-13 Daniel Jacobowitz <drow@mvista.com>
2959
2960 * gdb.threads/killed.exp: Use gdb_run_cmd.
2961
7d605576
DJ
29622003-10-13 Daniel Jacobowitz <drow@mvista.com>
2963
2964 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2965 create a core file.
2966 * gdb.threads/gcore-thread.exp: Likewise.
2967
618ec112
CV
29682003-10-13 Corinna Vinschen <vinschen@redhat.com>
2969
2970 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2971 type, based on char type.
2972 (struct bit_flags_short_t): New bitfield type, based on short type.
2973 (init_bit_flags_char): New fuction.
2974 (init_bit_flags_short): Ditto.
2975 (print_bit_flags_char): Ditto.
2976 (print_bit_flags_short): Ditto.
2977 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2978
9367a73c
MC
29792003-10-11 Michael Chastain <mec@shout.net>
2980
2981 * gdb.base/call-rt-st.exp: Update copyright year.
2982
1decf120
KI
29832003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2984
2985 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2986 * gdb.disasm/sh3.s: Ditto.
2987
5445b2ae
DJ
29882003-10-07 Daniel Jacobowitz <drow@mvista.com>
2989
2990 * gdb.threads/switch-threads.exp: New test.
2991 * gdb.threads/switch-threads.c: New source file.
2992
aec24853
CV
29932003-10-07 Corinna Vinschen <vinschen@redhat.com>
2994
2995 * gdb.base/ending-run.exp: Add sh specific case.
2996
adc7428d
AC
29972003-10-06 Andrew Cagney <cagney@redhat.com>
2998
2999 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
3000 * gdb.disasm/mn10200.exp: Delete obsolete file.
3001
c9d37158
DJ
30022003-09-29 Daniel Jacobowitz <drow@mvista.com>
3003
3004 * ChangeLog: Correct an entry command.exp -> commands.exp.
3005 * gdb.base/commands.exp (bp_deleted_in_command_test)
3006 (temporary_breakpoint_commands): Check noargs.
3007
79c2c32d
DC
30082003-09-25 David Carlton <carlton@kealia.com>
3009
3010 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
3011 of some print tests, where appropriate. Add tests for C::D::cd,
3012 E::ce, F::cXfX, G::XgX.
3013 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
3014
594e6d67
RE
30152003-09-25 Richard Earnshaw <rearnsha@arm.com>
3016
3017 * lib/java.exp (java_init): Import target_alias before using it.
3018
10f0d451
DC
30192003-09-25 David Carlton <carlton@kealia.com>
3020
3021 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
3022
274bcba0
EZ
30232003-09-23 Elena Zannoni <ezannoni@redhat.com>
3024
d63a86f8 3025 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
3026 weirdness.
3027
cdbf20f7
MC
30282003-09-17 Michael Chastain <mec@shout.net>
3029
3030 * gdb.cp/gdb1355.exp: New file.
3031 * gdb.cp/gdb1355.c: New file.
3032
71e06f80
CV
30332003-09-15 Corinna Vinschen <vinschen@redhat.com>
3034
3035 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
3036 * gdb.asm/sh.inc: New file.
3037
5c4e30ca
DC
30382003-09-11 David Carlton <carlton@kealia.com>
3039
bd45b7af
DC
3040 * gdb.cp/namespace.exp: Add tests for namespace types.
3041 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
3042 (test_namespace): New.
3043
1c199746
EZ
30442003-09-11 Elena Zannoni <ezannoni@redhat.com>
3045
3046 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 3047 * gdb.stabs/weird.exp: Ditto.
1c199746 3048
04ed252f
MC
30492003-09-08 Michael Chastain <mec@shout.net>
3050
3051 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
3052
d8a2d9e7
MC
30532003-09-07 Michael Chastain <mec@shout.net>
3054
3055 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
3056 'parse error'.
3057
161afb24
MK
30582003-09-07 Mark Kettenis <m.kettenis@osp.nl>
3059
3060 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
3061
49f2741a
MC
30622003-08-30 Michael Chastain <mec@shout.net>
3063
3064 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
3065 * gdb.gdb/observer.exp: Ditto.
3066 * gdb.gdb/xfullpath.exp: Ditto.
3067
8afa723e
MK
30682003-08-29 Mark Kettenis <kettenis@gnu.org>
3069
3070 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
3071 *-*-*bsd*.
3072
f31dfe3b
JJ
30732003-08-28 Jeff Johnston <jjohnstn@redhat.com>
3074
3075 * gdb.base/dump.exp: Skip for ia64.
3076
4630e498
JJ
30772003-08-25 Jeff Johnston <jjohnstn@redhat.com>
3078
3079 * gdb.asm/asm-source.exp: Add ia64 support.
3080 * gdb.asm/ia64.inc: New file.
3081
1105b7ef
MC
30822003-08-22 Michael Chastain <mec@shout.net>
3083
3084 * gdb.cp: New directory.
3085 * gdb.cp/*: Copy from gdb.c++/*.
3086 * gdb.c++/*: Remove.
3087 * Makefile.in: Change gdb.c++ to gdb.cp.
3088 * configure.in: Ditto.
3089 * configure: Regnerate.
3090
c945b932
MK
30912003-08-18 Mark Kettenis <kettenis@gnu.org>
3092
3093 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
3094 * gdb.arch/i386-prologue.c (gdb1338): Add function.
3095
2b66634b
DJ
30962003-08-17 Daniel Jacobowitz <drow@mvista.com>
3097
3098 * mi-var-display.exp (-var-list-children weird): Accept function
3099 pointers with argument types.
3100 * mi1-var-display.exp (-var-list-children weird): Likewise.
3101 * mi2-var-display.exp (-var-list-children weird): Likewise.
3102
a356f73b
DJ
31032003-08-17 Daniel Jacobowitz <drow@mvista.com>
3104
3105 * gdb.base/annota3.exp: Add missing newline.
3106
483417b8
MC
31072003-08-06 Michael Chastain <mec@shout.net>
3108
3109 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
3110
c99c59c3
MS
31112003-08-12 Michael Snyder <msnyder@redhat.com>
3112
3113 * gdb.base/float.exp: Add test for SH.
3114
55ed7501
MK
31152003-08-10 Mark Kettenis <kettenis@gnu.org>
3116
3117 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
3118
1a371f2e
EZ
31192003-08-07 Elena Zannoni <ezannoni@redhat.com>
3120
3121 * gdb.base/completion.exp: Remove reduntant completion test
3122 on filename.
3123
e0f353ce
EZ
31242003-08-07 Elena Zannoni <ezannoni@redhat.com>
3125
3126 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
3127 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
3128 gdb.trace/save-trace.exp: Make sure that full pathnames are
3129 escaped correctly.
3130
5710a1af 31312003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 3132
5710a1af
EZ
3133 * configure.in: Don't generate config.h from config.hin.
3134 * configure: Regenerate.
3135 * config.hin: Remove file.
3136 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
3137 * gdb.threads/pthreads.c: Ditto.
3138
dcd81ce9
DJ
31392003-08-07 Daniel Jacobowitz <drow@mvista.com>
3140
3141 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3142 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
3143 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
3144 Replace ld24 with seth/add3.
3145
6009d884
AC
31462003-08-02 Andrew Cagney <cagney@redhat.com>
3147
3148 * gdb.base/annota3.exp: New file.
3149 * gdb.base/annota3.c: New file.
3150 * gdb.c++/annota3.exp: New file.
3151 * gdb.c++/annota3.cc: New file.
3152
51514e06
MC
31532003-07-29 Michael Chastain <mec@shout.net>
3154
3155 * gdb.threads/tls.c (spin): Check errno only if sem_wait
3156 actually failed.
3157 (do_pass): Likewise.
3158 * gdb.threads/tls.exp: Always initialize no_of_threads.
3159
4ee6625b
DJ
31602003-07-27 Daniel Jacobowitz <drow@mvista.com>
3161
3162 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
3163 pattern.
3164 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
3165 * gdb.threads/tls.exp: Recognize one case of the host library not
3166 supporting TLS.
3167
225f2bf6
AC
31682003-07-27 Andrew Cagney <cagney@redhat.com>
3169
3170 * gdb.base/fileio.exp: Use SH when running commands using
3171 remote_exec.
3172
bcb27c9f
DJ
31732003-07-24 Daniel Jacobowitz <drow@mvista.com>
3174
3175 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3176 * gdb.base/relocate.c (dummy): New padding array.
3177
3d67be83
MS
31782003-07-22 Michael Snyder <msnyder@redhat.com>
3179
d63a86f8 3180 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
3181
3182 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
3183 patterns to be more general, accepting old and new output.
3184 Some output chars (such as '+') also must be quoted.
d63a86f8 3185 Some addresses are displayed numerically instead of
3d67be83
MS
3186 symbolically.
3187
57ba3b85
MS
31882003-07-23 Michael Snyder <msnyder@redhat.com>
3189
686d097c
MS
3190 * gdb.base/return2.exp: Don't test long-long return.
3191
57ba3b85
MS
3192 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
3193 * gdb.disasm/t01_mov.exp: Ditto.
3194 * gdb.disasm/t02_mova.s: Ditto.
3195 * gdb.disasm/t02_mova.exp: Ditto.
3196 * gdb.disasm/t03_add.s: Ditto.
3197 * gdb.disasm/t03_add.exp: Ditto.
3198 * gdb.disasm/t04_sub.s: Ditto.
3199 * gdb.disasm/t04_sub.exp: Ditto.
3200 * gdb.disasm/t05_cmp.s: Ditto.
3201 * gdb.disasm/t05_cmp.exp: Ditto.
3202 * gdb.disasm/t06_ari2.s: Ditto.
3203 * gdb.disasm/t06_ari2.exp: Ditto.
3204 * gdb.disasm/t07_ari3.s: Ditto.
3205 * gdb.disasm/t07_ari3.exp: Ditto.
3206 * gdb.disasm/t08_or.s: Ditto.
3207 * gdb.disasm/t08_or.exp: Ditto.
3208 * gdb.disasm/t09_xor.s: Ditto.
3209 * gdb.disasm/t09_xor.exp: Ditto.
3210 * gdb.disasm/t10_and.s: Ditto.
3211 * gdb.disasm/t10_and.exp: Ditto.
3212 * gdb.disasm/t11_logs.s: Ditto.
3213 * gdb.disasm/t11_logs.exp: Ditto.
3214 * gdb.disasm/t12_bit.s: Ditto.
3215 * gdb.disasm/t12_bit.exp: Ditto.
3216 * gdb.disasm/t13_otr.s: Ditto.
3217 * gdb.disasm/t13_otr.exp: Ditto.
3218
e00759ef
EZ
32192003-07-22 Elena Zannoni <ezannoni@redhat.com>
3220
3221 * gdb.threads/tls.exp :Add kfail for 'info address' case.
3222
8bc2021f
EZ
32232003-07-22 Elena Zannoni <ezannoni@redhat.com>
3224
3225 * gdb.threads/tls.c : New file.
3226 * gdb.threads/tls.exp : New file.
3227 * gdb.threads/tls-main.c : New file.
3228 * gdb.threads/tls-shared.c : New file.
3229 * gdb.threads/tls-shared.exp : New file.
3230
89320c4c
AS
32312003-07-22 Andreas Schwab <schwab@suse.de>
3232
3233 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
3234
180dea7c
AS
32352003-07-20 Andreas Schwab <schwab@suse.de>
3236
3237 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
3238 due to insn reordering.
3239
0714963c
AC
32402003-07-15 Andrew Cagney <cagney@redhat.com>
3241
3242 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
3243
98a23b3f
MC
32442003-07-15 Michael Chastain <mec@shout.net>
3245
3246 * gdb.base/gdb1250.exp: New file.
3247 * gdb.base/gdb1250.c: New file.
3248
27e417a2
ML
32492003-07-09 Michal Ludvig <mludvig@suse.cz>
3250
3251 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
3252 expansion of size_t to 'unsigned long', not only to 'unsigned'.
3253
8bc2021f
EZ
32542003-07-09 Elena Zannoni <ezannoni@redhat.com>
3255
3256 * gdb.threads/tls.c: New file.
3257 * gdb.threads/tls.exp: New file.
3258 * gdb.threads/tls-main.c: New file.
3259 * gdb.threads/tls-shared.c: New file.
3260 * gdb.threads/tls-shared.exp: New file.
3261
d99968dc
EZ
32622003-07-09 Elena Zannoni <ezannoni@redhat.com>
3263
3264 * gdb.base/annota1.exp: Make sure that we properly escape the
3265 full path of the source file. Xfail more permissive patterns,
d63a86f8 3266 due to a compiler debug info problem.
d99968dc 3267
83876b3b
AS
32682003-07-07 Andreas Schwab <schwab@suse.de>
3269
2705e972
AS
3270 * gdb.asm/m68k.inc: New file.
3271 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
3272
83876b3b
AS
3273 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
3274 arguments"): Also match negative number.
3275
3276 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
3277
3a871b37
DJ
32782003-07-03 Daniel Jacobowitz <drow@mvista.com>
3279
3280 * gdb.base/store.c (charest): New typedef.
3281 (add_char): Rename to add_charest, update.
3282 (wack_char): Rename to wack_charest, update types. Return l + r
3283 to keep r live across the call.
3284 (wack_short, wack_int, wack_long, wack_longest, wack_float)
3285 (wack_double, wack_doublest): Return l + r to keep r live across
3286 the call.
3287 * gdb.base/store.exp: Accomodate store.c changes.
3288
b2a7f303
DC
32892003-06-30 David Carlton <carlton@kealia.com>
3290
3291 * gdb.c++/maint.exp (test_invalid_name): New.
3292 (test_first_component): Add tests for invalid names.
3293
3c6cb4a1
MC
32942003-06-29 Michael Chastain <mec@shout.net>
3295
3296 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
3297 output of '<VTT for class>' for virtual base classes.
3298
f1c2644b
DJ
32992003-06-29 Daniel Jacobowitz <drow@mvista.com>
3300
3301 * gdb.base/completion.exp: Tab-complete "complet" instead of
3302 "compl".
3303 * gdb.base/complex.exp, gdb.base/complex.c: New files.
3304
18080350
DJ
33052003-06-29 Daniel Jacobowitz <drow@mvista.com>
3306
3307 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
3308 * gdb.base/volatile.exp: Likewise.
3309
f56973f8
DJ
33102003-06-29 Daniel Jacobowitz <drow@mvista.com>
3311
3312 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
3313 gdb/1265.
3314
33152003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
3316 Daniel Jacobowitz <drow@mvista.com>
3317
3318 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
3319 initial line count of 'captured_main' from 26 to 32.
3320 (test_with_self): Allow xmalloc call to be interleaved with the
3321 preceding two lines.
3322
e766d4d6
JB
33232003-06-24 Joel Brobecker <brobecker@gnat.com>
3324
3325 * gdb.base/bang.exp: New testcase.
3326
f125c9a4
JB
33272003-06-23 Joel Brobecker <brobecker@gnat.com>
3328
3329 * gdb.base/langs.exp: Add some tests for the "minimal" language
3330 support.
3331
6e25beaf
EZ
33322003-06-23 Elena Zannoni <ezannoni@redhat.com>
3333
3334 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
3335 the testcase.
3336
2f816dda
DJ
33372003-06-22 Daniel Jacobowitz <drow@mvista.com>
3338
3339 * gdb.base/relocate.exp: Test add-symbol-file with a variable
3340 offset.
3341
db5a5748
DJ
33422003-06-22 Daniel Jacobowitz <drow@mvista.com>
3343
3344 * gdb.c++/pr-1210.cc: New file.
3345 * gdb.c++/pr-1210.exp: New file.
3346
1df0c130
DJ
33472003-06-21 Daniel Jacobowitz <drow@mvista.com>
3348
3349 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
3350 000-exec-continue.
3351
a92feac0
MK
33522003-06-15 Mark Kettenis <kettenis@gnu.org>
3353
3354 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
3355 on *-*-*bsd* instead of *-*-freebsd*.
3356
81a58f5b
AC
33572003-06-14 Andrew Cagney <cagney@redhat.com>
3358
3359 * gdb.base/store.exp: Test longest and doublest. Test all
3360 parameters. Weaken return statement match.
3361 * gdb.base/store.c: Add longest and doublest - aka long long and
3362 long double functions. Put all parameters into local register
3363 variables. Use negative values.
3364
b257a0d3
AC
33652003-06-14 Andrew Cagney <cagney@redhat.com>
3366
3367 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
3368 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
3369 exit status.
3370 * gdb.base/fileio.exp: Disable target when nointerrupts and
3371 noinferiorio, instead of limiting it to remote. Use remote_exec
3372 instead of system.
d63a86f8 3373
21c38304
JJ
33742003-06-12 Jeff Johnston <jjohnstn@redhat.com>
3375
3376 * gdb.base/float.exp: Add ia64 support.
3377
1bcdb424
CV
33782003-06-12 Corinna Vinschen <vinschen@redhat.com>
3379
3380 * gdb.base/fileio.exp: Run only on remote targets.
3381
6aeb981f
CV
33822003-06-10 Corinna Vinschen <vinschen@redhat.com>
3383
3384 * gdb.base/fileio.c: New file, testing File-I/O.
3385 * gdb.base/fileio.exp: Ditto.
3386
53df362e
RG
33872003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
3388
3389 * gdb.base/shreloc.exp: New file, check symbol values obtained from
3390 shared objects after relocation at load time (gdb PR/1132).
3391 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
3392 as above, part of the shared object relocation test.
3393
ffee1b46
MK
33942003-06-08 Mark Kettenis <kettenis@gnu.org>
3395
b5ca3722
MK
3396 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
3397 fully filled history list.
3398 * gdb.base/gdb_history: New file.
3399
03ed860d
MK
3400 * gdb.base/signals.exp: XFAIL "continue to func1" on
3401 i*86-*-freebsd*.
3402
ffee1b46
MK
3403 * gdb.base/attach.exp: When trying to attach to a nonexistent
3404 process, make it possible to specify the PID based on the target,
3405 and do so for *-*-freebsd*.
3406
d80dbb52
RH
34072003-06-02 Richard Henderson <rth@redhat.com>
3408
3409 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
3410
6dd77b81
RH
34112003-06-02 Richard Henderson <rth@redhat.com>
3412
3413 * gdb.base/selftest.exp: Next over lim_at_start initialization.
3414
f6347e16
RH
34152003-06-02 Richard Henderson <rth@redhat.com>
3416
3417 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
3418
2c161407
DJ
34192003-06-01 Daniel Jacobowitz <drow@mvista.com>
3420
3421 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
3422 of globalvar.
3423
572eb746
MK
34242003-06-01 Mark Kettenis <kettenis@gnu.org>
3425
3426 * gdb.asm/asm-source.exp: Check for memory read errors in
3427 disassembler test on *BSD too.
3428
9e9617a5
RH
34292003-06-01 Richard Henderson <rth@redhat.com>
3430
3431 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
3432 for .frame.
3433 (gdbasm_call): Lose ldgp.
3434 (gdbasm_startup): Add frame information.
3435 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
3436
7b34ad4e
MK
34372003-05-31 Mark Kettenis <kettenis@gnu.org>
3438
3439 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
3440 i?86-*-*.
3441
10059fdf
MK
34422003-05-30 Mark Kettenis <kettenis@gnu.org>
3443
3444 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3445 FreeBSD.
3446
acf4b816
RH
34472003-05-29 Richard Henderson <rth@redhat.com>
3448
3449 * gdb.asm/alpha.inc: New file.
3450 * gdb.asm/asm-source.exp: Use it.
3451
e9ecd949
JB
34522003-05-29 Jim Blandy <jimb@redhat.com>
3453
3454 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
3455 'core.PID'.
3456
e3e5a4f3
JB
34572003-05-22 Jim Blandy <jimb@redhat.com>
3458
3459 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
3460 backtrace.
d63a86f8 3461
72fe3d25
DC
34622003-05-20 David Carlton <carlton@math.stanford.edu>
3463
3464 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
3465 this time.
3466
58da2eb2
DC
34672003-05-19 David Carlton <carlton@bactrian.org>
3468
3469 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
3470 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
3471
1fcb5155
DC
34722003-05-19 David Carlton <carlton@bactrian.org>
3473
3474 * gdb.c++/namespace.exp: Add namespace scope and anonymous
3475 namespace tests.
3476 Bump copyright date.
3477 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3478 (main): Call C::D::marker2.
3479 * gdb.c++/namespace1.cc: New file.
3480
85e85163
JJ
34812003-05-14 Jeff Johnston <jjohnstn@redhat.com>
3482
3483 Roland McGrath <roland@redhat.com>
d63a86f8 3484 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
3485 there is no manager thread.
3486
a25fbfec
JJ
34872003-05-08 Jeff Johnston <jjohnstn@redhat.com>
3488
d63a86f8
RM
3489 * gdb.threads/schedlock.exp: Remove assumption that all threads
3490 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
3491 in one of the child threads rather than the main thread.
3492
be375bae
JB
34932003-05-07 Jim Blandy <jimb@redhat.com>
3494
09bf6082
JB
3495 Add support for assembly source testing on the s390x.
3496 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3497 architecture.
3498 * gdb.asm/s390x.inc: New file.
3499
be375bae
JB
3500 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3501 succession of 'if' statements.
3502
00905d52
AC
35032003-05-05 Andrew Cagney <cagney@redhat.com>
3504
3505 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3506
b1e29e33
AC
35072003-05-05 Andrew Cagney <cagney@redhat.com>
3508
3509 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3510 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3511
e33d66ec
EZ
35122003-05-02 Elena Zannoni <ezannoni@redhat.com>
3513
3514 * gdb.base/charset.exp: Update based on new behavior of set/show
3515 charset commands.
3516
2b6fd0d8
AC
35172003-05-01 Andrew Cagney <cagney@redhat.com>
3518
3519 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3520 variable do not give memory errors.
3521
130cacce
AF
35222003-04-30 Adam Fedor <fedor@gnu.org>
3523
3524 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3525 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3526 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3527 gdb.objc/basicclass.m: : New files
3528
3529 * lib/gdb.exp (gdb_compile_objc): New procedure.
3530
bea71854
DJ
35312003-04-27 Daniel Jacobowitz <drow@mvista.com>
3532
3533 * gdb.base/signals.exp: Make backtrace tests more specific.
3534
0f20eeea
DC
35352003-04-23 David Carlton <carlton@bactrian.org>
3536
3537 * gdb.c++/maint.exp (test_first_component): Add tests for
3538 'operator' in more locations.
3539
c8c4d8dc
KB
35402003-04-16 Kevin Buettner <kevinb@redhat.com>
3541
3542 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3543
3fe60e3c
EZ
35442003-04-16 Elena Zannoni <ezannoni@redhat.com>
3545
3546 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3547 func marke' instead. Update test name.
3548
9219021c
DC
35492003-04-15 David Carlton <carlton@math.stanford.edu>
3550
3551 * gdb.c++/maint.exp: New file.
3552
5dd55bdd
EZ
35532003-04-14 Elena Zannoni <ezannoni@redhat.com>
3554
3555 * gdb.threads/schedlock.c: Change type of thread function argument
3556 to long, to avoid warnings on 64-bit platforms.
3557
00890572
EZ
35582003-04-14 Elena Zannoni <ezannoni@redhat.com>
3559
3560 * gdb.base/attach.exp: Add new message from ptrace in case of
3561 attaching to nonexistent process.
d63a86f8 3562
93201743
JB
35632003-04-11 Jim Blandy <jimb@redhat.com>
3564
3565 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3566 gdb.c++/userdef.cc: Place comments on the lines to which the
3567 marker function might return.
3568 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3569 gdb.c++/userdef.exp: Look for those comments to check that we've
3570 returned to the right place, instead of checking line numbers.
3571
2a11c64d
EZ
35722003-04-11 Elena Zannoni <ezannoni@redhat.com>
3573
3574 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3575 match on sourcefile name, instead of directory name.
3576
68ab8fc5
EZ
35772003-04-10 Elena Zannoni <ezannoni@redhat.com>
3578
d63a86f8 3579 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
3580 working directory name.
3581
5624293a
JB
35822003-04-09 Jim Blandy <jimb@redhat.com>
3583
3584 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3585 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3586 after an inferior function call, report the failure, but allow the
3587 test to continue.
3588
f1f02ee4
SC
35892003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3590
3591 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3592 with -DPROTOTYPES.
3593
6eb79af0
SC
35942003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3595
3596 * gdb.base/break.exp: Revert last patch.
3597
8dfb4cf0
SC
35982003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3599
3600 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3601 with -DPROTOTYPES.
3602
ed4c619a
AC
36032003-04-02 Andrew Cagney <cagney@redhat.com>
3604
3605 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3606 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3607 matching directories by the name breakpoint.
3608 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3609 Make "continue to marker1" consistent.
3610 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3611 message consistent.
3612 * lib/gdb.exp: Put "the program is no longer running", and "the
3613 program exited" in parenthesis.
3614 * lib/mi-support.exp: Ditto.
d63a86f8 3615
4e35d5f0 36162003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 3617
4e35d5f0
BR
3618 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3619
71900fe8
AC
36202003-03-29 Andrew Cagney <cagney@redhat.com>
3621
3622 * gdb.base/sizeof.c (main): Print the value of '\377'.
3623 * gdb.base/sizeof.exp: Check the sign of '\377'.
3624
c0655a16
MC
36252003-03-27 Michael Chastain <mec@shout.net>
3626
3627 * gdb.base/gdb1090.exp: New file.
3628 * gdb.base/gdb1090.cc: New file.
3629
5b2a3989
JB
36302003-03-27 J. Brobecker <brobecker@gnat.com>
3631
3632 * gdb.gdb/observer.exp: New regression test.
3633
79876890
MC
36342003-03-27 Michael Chastain <mec@shout.net>
3635
3636 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3637 * gdb.base/ptype.exp: Likewise.
3638
6eac95e3
CV
36392003-03-27 Corinna Vinschen <vinschen@redhat.com>
3640
3641 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3642
e8c71839
MC
36432003-03-26 Michael Chastain <mec@shout.net>
3644
3645 * gdb.base/ptype.exp: Actually use some typedef'd types.
3646
71b10041
SC
36472003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3648
3649 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3650 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3651
2512cf80
CV
36522003-03-20 Corinna Vinschen <vinschen@redhat.com>
3653
3654 * gdb.base/default.exp: Fix regular expression.
3655
0d195a4f
CV
36562003-03-20 Corinna Vinschen <vinschen@redhat.com>
3657
3658 * gdb.base/args.exp: Fix regular expression.
3659
8a2dbca8
CV
36602003-03-20 Corinna Vinschen <vinschen@redhat.com>
3661
3662 * gdb.base/help.exp: Allow Win32 child process.
3663
bf028682
CV
36642003-03-20 Corinna Vinschen <vinschen@redhat.com>
3665
3666 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3667 when stepping out of main().
3668
182dbe85
CV
36692003-03-20 Corinna Vinschen <vinschen@redhat.com>
3670
3671 * gdb.base/default.exp: Check for win32 specific message when calling
3672 "run" without executable.
3673
d67a6ba5
CV
36742003-03-20 Corinna Vinschen <vinschen@redhat.com>
3675
3676 * gdb.base/args.exp: Expect .exe in output.
3677
a955b5bb
CV
36782003-03-20 Corinna Vinschen <vinschen@redhat.com>
3679
3680 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3681 Cygwin native.
3682
bf6bad4b
AC
36832003-03-17 Andrew Cagney <cagney@redhat.com>
3684
3685 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3686 vector registes.
3687 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3688 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3689
293e9a31
DC
36902003-03-17 David Carlton <carlton@math.stanford.edu>
3691
3692 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3693 test, for PR breakpoints/38.
3694 Call test_watchpoint_and_breakpoint.
3695 * gdb.base/watchpoint.c (func3): New function.
3696 (main): Call func3.
3697
5330f2db
DC
36982003-03-04 David Carlton <carlton@math.stanford.edu>
3699
3700 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3701 Garply<Garply<char> >:: garply".
3702 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3703 with respect to PR c++/1111; note also PR c++/1113.
3704 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3705 respect to PR c++/1062.
3706 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3707
6ece72da
DC
37082003-03-03 David Carlton <carlton@math.stanford.edu>
3709
3710 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3711 with respect to PR c++/57.
3712 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3713 c++/826.
3714 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3715 respect to PR c++/57.
3716
85ca1584
DC
37172003-03-03 David Carlton <carlton@math.stanford.edu>
3718
3719 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3720 respect to PR c++/33 into FAILs.
3721
98e9c5b8
MC
37222003-03-03 Michael Chastain <mec@shout.net>
3723
7bedbf27
MC
3724 * configure.in: Update copyright years.
3725
37262003-03-03 Michael Chastain <mec@shout.net>
3727
3728 * Makefile.in: Update copyright years.
98e9c5b8 3729
f683e100
DC
37302003-02-28 David Carlton <carlton@math.stanford.edu>
3731
3732 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3733 print class instead of struct and/or superfluous protection
3734 specifiers, as long as the resulting output is equivalent to the
3735 source code.
3736 Delete FIXME from end of messages on tests that don't need
3737 fixing.
3738
a9e0cf2c
DC
37392003-02-28 David Carlton <carlton@math.stanford.edu>
3740
3741 * gdb.c++/templates.exp (do_tests): Allow const in the two
3742 Foo<volatile char *>::foo tests.
3743
e8d359df
MS
37442003-02-27 Michael Snyder <msnyder@redhat.com>
3745
d63a86f8 3746 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
3747 will be consistant.
3748
0b71dc91
DC
37492003-02-26 David Carlton <carlton@math.stanford.edu>
3750
3751 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3752 char *>::foo" test with respect to PR c++/33. Create a new test
3753 which is identical to that one except that it doesn't put the
3754 space between the "char" and the "*"; KFAIL it, too.
3755
dd14ab43
DC
37562003-02-26 David Carlton <carlton@math.stanford.edu>
3757
3758 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3759 template types into either PASSes or KFAILs (corresponding to PR
3760 c++/57). Tweak indentation. Update copyright.
3761
1146c7f1
SC
37622003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3763
3764 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3765
74641dfb
MC
37662003-02-13 Michael Chastain <mec@shout.net>
3767
3768 * gdb.base/exprs.exp: Remove i960 remnants.
3769 * gdb.base/funcargs.exp: Likewise.
3770 * gdb.base/list.exp: Likewise.
3771 * gdb.base/ptype.exp: Likewise.
3772
559cd2d0
DC
37732003-02-14 David Carlton <carlton@math.stanford.edu>
3774
3775 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3776 pEe->D::vg()" from XFAIL to KFAIL.
3777
c4f90d87
JM
37782003-02-13 Jason Molenda (jmolenda@apple.com)
3779
3780 * gdb.base/maint.exp: Update maint print statistics regexp to include
3781 new entries.
3782
cbc4d97c
MC
37832003-02-13 Michael Chastain <mec@shout.net>
3784
3785 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3786
40f235b7
MC
37872003-02-12 Michael Chastain <mec@shout.net>
3788
3789 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3790 * gdb.c++/inherit.exp: Likewise.
3791 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3792 * gdb.c++/templates.exp: Likewise.
3793 * gdb.c++/virtfunc.exp: Likewise.
3794
c56716b0
JM
37952003-02-06 Jason Molenda (jason-cl@molenda.com)
3796
3797 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3798 why the code is written that way.
3799
070afcf8
MC
38002003-02-05 Michael Chastain <mec@shout.net>
3801
3802 * gdb.base/dump.exp: Add missing copyright line.
3803
5d0331e5
JM
38042003-02-05 Jason Molenda (jason-cl@molenda.com)
3805
f7ae6d3e 3806 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
3807 at the beginning so the breakpoint doesn't get set on the loop.
3808
92851186
MC
38092003-02-05 Michael Chastain <mec@shout.net>
3810
3811 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3812 output for configurations with gcc 2.95.3.
3813
cbf1e085
AC
38142003-02-05 Keith Seitz <keiths@redhat.com>
3815 Andrew Cagney <ac131313@redhat.com>
3816
3817 * gdb.mi/mi-cli.exp: New file.
d63a86f8 3818
29518e1e
MC
38192003-02-04 Michael Chastain <mec@shout.net>
3820
3821 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3822 Call perror and then continue.
3823
5af1d5f3
MC
38242003-02-03 Michael Chastain <mec@shout.net>
3825
3826 * gdb.c++/pr-1023.cc: New file.
3827 * gdb.c++/pr-1023.exp: New file.
3828
6b549786
JB
38292003-02-05 Jim Blandy <jimb@redhat.com>
3830
3831 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3832 it's local to foobar. Check for it there, and check that it's not
3833 present in main.
3834 * gdb.c++/local.cc (marker2): New function.
3835 (foobar): Call marker1.
3836 (main): Call marker2 instead of marker1.
3837
67f16606
AC
38382003-02-04 Andrew Cagney <ac131313@redhat.com>
3839
3840 * gdb.disasm/mn10200.exp: Obsolete file.
3841 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3842 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3843 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3844
1c5cb38e
DC
38452003-02-04 David Carlton <carlton@math.stanford.edu>
3846
3847 * gdb.c++/overload.exp: Test intToChar(1).
3848 * gdb.c++/overload.cc (intToChar): New.
3849 (main): Call intToChar.
3850
d1fe6965
DC
38512003-02-03 David Carlton <carlton@math.stanford.edu>
3852
3853 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3854 'might_kfail' arg.
3855 KFAIL some of the continue_to_bp_overloaded calls, according to
3856 PR c++/1025.
3857
9ba61c5d
MC
38582003-02-01 Michael Chastain <mec@shout.net>
3859
3860 * gdb.base/advance.c (marker1): New marker function.
3861 * gdb.base/advance.exp: When the 'advance' command lands on the
3862 return breakpoint, it can legitimately stop on either the
3863 current line or the next line. Accommodate both outcomes.
3864 * gdb.base/until.exp: Likewise.
3865
e7494ffb
AC
38662003-02-02 Andrew Cagney <ac131313@redhat.com>
3867
3868 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3869 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3870 now a list, not a tuple.
3871 * gdb.mi/mi-var-display.exp: Ditto.
3872 * gdb.mi/gdb792.exp: Ditto.
3873
075559bc
AC
38742003-02-01 Andrew Cagney <ac131313@redhat.com>
3875
3876 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3877 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3878 stack backtraces.
3879 * gdb.mi/mi-syn-frame.c: Part of same.
3880
2bd4c7b1
MK
38812003-02-01 Mark Kettenis <kettenis@gnu.org>
3882
3883 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3884 gdb.mi/mi1-pthreads.exp: Return instead of calling
3885 gdb_suppress_entire_file.
3886
eabd8992
MS
38872003-02-01 Mark Salter <msalter@redhat.com>
3888
3889 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3890
71469e2f
MS
38912003-01-31 Mark Salter <msalter@redhat.com>
3892
3893 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3894 Support empty arg.
3895
38a94d44
MC
38962003-01-30 Michael Chastain <mec@shout.net>
3897
3898 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3899 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3900 has been fixed in gdb/readline on 2003-01-09.
3901
19ea9e73
MS
39022003-01-29 Michael Snyder <msnyder@redhat.com>
3903
e8d359df
MS
3904 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3905 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
3906 * gdb.base/args.exp: Skip if target does not support args passing.
3907
2307bd6a
DJ
39082003-01-22 Daniel Jacobowitz <drow@mvista.com>
3909
19ea9e73 3910 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
3911 gdb_test. Accept a list of expect arguments as the third
3912 parameter.
3913 (gdb_test): Use it.
3914
f2dd3617
EZ
39152003-01-20 Elena Zannoni <ezannoni@redhat.com>
3916
3917 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3918 allow for different test tree configurations. Update some
3919 tescases accordingly.
3920 * gdb.arch/altivec-regs.exp: Ditto.
3921 * gdb.asm/asm-source.exp: Ditto.
3922 * gdb.base/advance.exp: Ditto.
3923 * gdb.base/display.exp: Ditto.
d63a86f8 3924 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
3925 * gdb.base/mips_pro.exp: Ditto.
3926 * gdb.base/overlays.exp: Ditto.
3927 * gdb.base/relocate.exp: Ditto.
3928 * gdb.base/setshow.exp: Ditto.
3929 * gdb.base/step-line.exp: Ditto.
3930 * gdb.base/step-test.exp: Ditto.
3931 * gdb.base/until.exp: Ditto.
3932 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3933
c71cdefd
DC
39342003-01-17 David Carlton <carlton@math.stanford.edu>
3935
3936 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3937 corresponding to PR c++/945.
3938 Update copyright.
3939
fdba05d7
DC
39402003-01-17 David Carlton <carlton@math.stanford.edu>
3941
3942 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3943 corresponding to PR c++/68.
3944
39452003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
3946
3947 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3948 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3949 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3950
c362c33a
EZ
39512003-01-15 Elena Zannoni <ezannoni@redhat.com>
3952
0fbc361c
EZ
3953 * gdb.base/break.exp: Fix change of default location, because of
3954 removal of until tests.
3955 * gdb.base/help.exp: Update test for new 'until' help message.
3956 Add test for help on 'advance'.
c362c33a
EZ
3957 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3958
dabf8a35
MK
39592003-01-15 Mark Kettenis <kettenis@gnu.org>
3960
3961 * gdb.base/default.exp: Adapt "info float" test for recent changes
3962 to that command. Add test for "info vector".
3963 * gdb.base/float.exp: New file. Add test for "info float" that
3964 resembles the old test in gdb.base/default.exp.
3965
a1769aca
DC
39662003-01-15 David Carlton <carlton@math.stanford.edu>
3967
3968 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3969
82025e13
EZ
39702003-01-15 Elena Zannoni <ezannoni@redhat.com>
3971
3972 * gdb.base/break.exp: Move the tests of until command from here...
3973 * gdb.base/until.exp: ... to here. New file. Add other tests.
3974 * gdb.base/advance.c: New file.
3975 * gdb.base/advance.exp: New file.
3976
8f9ab801
EZ
39772003-01-14 Elena Zannoni <ezannoni@redhat.com>
3978
3979 * gdb.base/args.c: New file.
3980 * gdb.base/args.exp: New file.
3981
9ae66589
DJ
39822003-01-14 Daniel Jacobowitz <drow@mvista.com>
3983
3984 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3985
8d77e5c3
DJ
39862003-01-14 Daniel Jacobowitz <drow@mvista.com>
3987
3988 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3989
12d2f0a1
DJ
39902003-01-14 Daniel Jacobowitz <drow@mvista.com>
3991
3992 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3993 dates.
3994
6ca37014
DJ
39952003-01-13 Daniel Jacobowitz <drow@mvista.com>
3996
3997 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3998
b0023472
DJ
39992003-01-13 Daniel Jacobowitz <drow@mvista.com>
4000
4001 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
4002 (ptype &*"foo").
4003 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
4004
607fbc54 40052003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
4006
4007 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
4008 * gdb.mi/mi1-console.exp: Likewise.
4009
607fbc54 40102003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
4011
4012 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
4013 * gdb.mi/mi1-console.exp: Likewise.
4014
a1fb14a2
DJ
40152003-01-13 Daniel Jacobowitz <drow@mvista.com>
4016
4017 * gdb.c++/overload.exp: Remove some fixed XFAILs.
4018
c4cf40b7
DJ
40192003-01-09 Daniel Jacobowitz <drow@mvista.com>
4020
4021 * gdb.base/detach.exp: New test.
4022
696d5a5b
DJ
40232003-01-09 Daniel Jacobowitz <drow@mvista.com>
4024
4025 * Makefile.in (ALL_SUBDIRS): New variable.
4026 (subdirs, clean, distclean): Use it.
4027 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
4028 regenerating Makefile, since it is generated from the top level.
4029 * gdb.asm/Makefile.in: Likewise.
4030 * gdb.base/Makefile.in: Likewise.
4031 * gdb.c++/Makefile.in: Likewise.
4032 * gdb.disasm/Makefile.in: Likewise.
4033 * gdb.java/Makefile.in: Likewise.
4034 * gdb.mi/Makefile.in: Likewise.
4035 * gdb.threads/Makefile.in: Likewise.
4036 * gdb.trace/Makefile.in: Likewise.
4037
754533e4
DC
40382003-01-09 David Carlton <carlton@math.stanford.edu>
4039
4040 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
4041 Add copyright year 2003.
4042
d8b3e9ee
MC
40432003-01-06 Michael Chastain <mec@shout.net>
4044
4045 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
4046 When selecting a thread, 'line' and 'file' are optional.
4047 * gdb.mi/mi1-pthreads.exp: Likewise.
4048
8e9e0fe6
AS
40492003-01-06 Andreas Schwab <schwab@suse.de>
4050
4051 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
4052 failures.
4053
b5ab8ff3
DJ
40542003-01-04 Daniel Jacobowitz <drow@mvista.com>
4055
4056 Fix PR gdb/844
4057 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
4058 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
4059
4060 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
4061 instead of calling gdb_suppress_entire_file.
4062 * gdb.threads/print-threads.exp: Likewise.
4063 * gdb.threads/schedlock.exp: Likewise.
4064
4065 * gdb.threads/killed.exp: Return instead of calling
4066 gdb_suppress_entire_file.
4067 * gdb.threads/linux-dp.exp: Likewise.
4068 * gdb.threads/pthreads.exp: Likewise.
4069
1e698235
DJ
40702003-01-04 Daniel Jacobowitz <drow@mvista.com>
4071
4072 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
4073 stabs.
4074 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
4075 * gdb.base/whatis.exp: Always allow (void) after function names.
4076
147ff08c
DJ
40772003-01-04 Daniel Jacobowitz <drow@mvista.com>
4078
4079 * gdb.c++/casts.exp: Correct regexp.
4080
dc62bfc2
MK
40812003-01-04 Mark Kettenis <kettenis@gnu.org>
4082
4083 * configure.in: Call AC_CONFIG_HEADER. Don't call
4084 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
4085 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
4086 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
4087 aforementioned directories in the AC_OUPUT call.
4088 * config.hin: New file.
4089 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
4090 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
4091 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
4092 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
4093 pass -I$objdir instead of -I$objdir/$subdir in compilation.
4094 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
4095 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
4096 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
4097 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
4098 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
4099 gdb.threads/configure.in, gdb.threads/configure,
4100 gdb.threads/config.in, gdb.trace/configure.in,
4101 gdb.trace/configure: Removed.
4102
77afa639
MC
41032003-01-03 Michael Chastain <mec@shout.net>
4104
4105 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
4106 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
4107
7634bb6e
DJ
41082003-01-03 Daniel Jacobowitz <drow@mvista.com>
4109
4110 * gdb.base/store.exp: Fix regular expressions.
4111
b39c905e
MK
41122002-12-28 Mark Kettenis <kettenis@gnu.org>
4113
4114 * configure.in: Rewrite.
4115 * configure: Regenerated.
4116
0a8551dd
DC
41172003-01-03 David Carlton <carlton@math.stanford.edu>
4118
4119 * gdb.base/psymtab.exp: New file.
4120 * gdb.base/psymtab1.c: Ditto.
4121 * gdb.base/psymtab2.c: Ditto.
4122
c60b7188
AF
41232002-12-23 Adam Fedor <fedor@gnu.org>
4124
4125 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
4126
ee73db83
DC
41272002-12-23 David Carlton <carlton@math.stanford.edu>
4128
4129 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
4130 and current_directory initialization.
4131
d6c1774e
JB
41322002-12-22 Jim Blandy <jimb@redhat.com>
4133
f0a847b8
JB
4134 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
4135 rather than as part of the output file name.
4136
d6c1774e
JB
4137 * gdb.base/attach.exp: There's no need to copy the test program to
4138 /tmp; that was only ever necessary on HP/UX, and this test is
4139 entirely disabled there anyway.
4140
f0708dbb
JB
41412002-12-21 Jim Blandy <jimb@redhat.com>
4142
4c2acfea
JB
4143 * gdb.c++/psmang.exp: Doc fix.
4144
f0708dbb
JB
4145 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
4146 test.
4147
9579e000
DC
41482002-12-20 David Carlton <carlton@math.stanford.edu>
4149
4150 * gdb.c++/annota2.exp: KFAIL annotate-quit.
4151
d1810171
MC
41522002-12-18 Michael Chastain <mec@shout.net>
4153
4154 * gdb.c++/annota2.exp: Add copyright year 2002.
4155
76565097
DC
41562002-12-17 David Carlton <carlton@math.stanford.edu>
4157
4158 * gdb.c++/try_catch.cc: Add marker comments.
4159 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
4160 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
4161 * gdb.c++/m-static.cc: Ditto.
4162 * gdb.c++/m-static1.cc: Ditto.
4163 * gdb.c++/try_catch.cc: Ditto.
4164
da81390b
JJ
41652002-12-16 Jeff Johnston <jjohnstn@redhat.com>
4166
4167 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
4168 to see whether we are using the new -environment-directory
4169 command which resets via -r or the old version of the command
4170 which may prompt the user. Part of fix for gdb/741.
4171
b304d130
AC
41722002-12-13 Andrew Cagney <ac131313@redhat.com>
4173
4174 * gdb.fortran/types.exp: Update obsolete comment.
4175 * gdb.fortran/exprs.exp: Ditto.
4176 * lib/gdb.exp: Delete obsolete code.
4177 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
4178 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
4179 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
4180 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
4181 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
4182 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
4183 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
4184 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
4185 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
4186 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
4187 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
4188 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
4189 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
4190 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
4191 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
4192 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
4193 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
4194 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
4195 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
4196 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
4197 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
4198 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
4199 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
4200 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
4201 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
4202 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
4203 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
4204 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
4205 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
4206 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
4207 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
4208 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
4209 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
4210 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
4211 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
4212 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
4213 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
4214
a23b6e6a
DC
42152002-12-11 David Carlton <carlton@math.stanford.edu>
4216
4217 * gdb.c++/m-data.exp: Add test for members that shadow global
4218 variables: see PR gdb/804.
4219 * gdb.c++/m-data.cc: Ditto.
4220
6604731b
DJ
42212002-12-10 Daniel Jacobowitz <drow@mvista.com>
4222
4223 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
4224
de46ecd7
DC
42252002-12-06 David Carlton <carlton@math.stanford.edu>
4226
4227 * gdb.base/store.c: Don't declare functions static.
4228
27e829d0
AC
42292002-12-04 Andrew Cagney <ac131313@redhat.com>
4230
4231 * gdb.base/store.exp, gdb.base/store.c: New files.
4232
92806416
DJ
42332002-12-03 Daniel Jacobowitz <drow@mvista.com>
4234
4235 * gdb.base/selftest.exp: Update for current gdb.
4236
3bcbaac5
DJ
42372002-12-03 Daniel Jacobowitz <drow@mvista.com>
4238
4239 * gdb.base/maint.exp: Only dump symbols from one source file
4240 or objfile.
4241
f4f00b1f
DJ
42422002-12-03 Daniel Jacobowitz <drow@mvista.com>
4243
4244 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
4245 function call.
4246
f1c8a949
JB
42472002-11-25 Jim Blandy <jimb@redhat.com>
4248
4249 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
4250 function appearing in error message.
4251
9e297a97
DJ
42522002-11-21 Daniel Jacobowitz <drow@mvista.com>
4253
4254 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
4255
1f312e79
JJ
42562002-11-08 Jeff Johnston <jjohnstn@redhat.com>
4257
d63a86f8
RM
4258 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
4259 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
4260 should be in mi console format. This is part of fix for PR gdb/604.
4261
83c31e7d
FN
42622002-09-18 Fernando Nasser <fnasser@redhat.com>
4263
4264 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
4265 which explicitly prints the zero offset as "+0".
4266
322b3f65
DJ
42672002-10-22 Daniel Jacobowitz <drow@mvista.com>
4268
4269 * gdb.threads/schedlock.c (args): Make unsigned.
4270
42712002-10-21 Daniel Jacobowitz <drow@mvista.com>
4272
4273 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
4274 numbers. Allow "foo2|selected stack frame".
4275 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
4276 * gdb.asm/asmsrc2.s: Likewise.
4277 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
4278 comments.
4279 * gdb.asm/mips.inc: New file.
4280
5e2fe5b8
AF
42812002-10-18 Adam Fedor <fedor@gnu.org>
4282
4283 * gdb.base/default.exp: Update expected output to include 'ObjC'.
4284 * gdb.base/help.exp: Likewise.
4285
abe1a5d0
KB
42862002-10-17 Kevin Buettner <kevinb@redhat.com>
4287
4288 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
4289 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
4290
10abb1d4
JB
42912002-10-02 Jim Blandy <jimb@redhat.com>
4292
4293 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
4294
1f609b42
AC
42952002-10-01 Andrew Cagney <ac131313@redhat.com>
4296
4297 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
4298 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
4299 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
4300 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
4301 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
4302 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
4303 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
4304
0aee02e4
AC
43052002-09-29 Andrew Cagney <ac131313@redhat.com>
4306
4307 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
4308 * mi0-disassemble.exp, mi0-eval.exp: Delete.
4309 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
4310 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
4311 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
4312 * mi0-var-block.exp, mi0-var-child.exp: Delete.
4313 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 4314
6fde09ad
KB
43152002-09-27 Kevin Buettner <kevinb@redhat.com>
4316
4317 * gdb.base/annota1.exp (info break): Make directory components of
4318 path optional since not all compilers emit this debug information.
4319
4320 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
4321 step ends up stepping out of the function instead of stopping on
4322 the epilogue.
4323
9e8aab75
KS
43242002-09-26 Keith Seitz <keiths@redhat.com>
4325
4326 * lib/insight-support.exp (gdbtk_start): Figure out where
4327 the insight executable is based on where gdb is. Use this
4328 executable to start insight instead of gdb.
4329
e36180d7
AC
43302002-09-25 Andrew Cagney <cagney@redhat.com>
4331
4332 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
4333
9dd34b2b
AC
43342002-09-24 Andrew Cagney <ac131313@redhat.com>
4335
4336 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
4337 test_isolated_complaints.
4338 (test_empty_complaint): New function.
4339 (test_empty_complaints): New function. Check no output when no
4340 complaints.
d63a86f8 4341
dea97812
KB
43422002-09-19 Jim Blandy <jimb@redhat.com>
4343
4344 * gdb.base/charset.exp, gdb.base/charset.c: New files.
4345
54951bd7
AC
43462002-09-19 Andrew Cagney <ac131313@redhat.com>
4347
4348 * gdb.gdb/complaints.exp: New file.
4349
dec43320
AC
43502002-09-18 Andrew Cagney <ac131313@redhat.com>
4351
4352 * gdb.base/maint.exp: Check `help maint internal-warning'.
4353
e70d6e3f
DC
43542002-09-18 David Carlton <carlton@math.stanford.edu>
4355
4356 * gdb.c++/m-static.exp: Remove breakpoints depending on line
4357 numbers, and replace them by a single breakpoint after the
4358 constructors are all finished.
4359 Add test 4.
4360 * gdb.c++/m-static.cc: Add test 4.
4361 * gdb.c++/m-static.h: New file.
4362 * gdb.c++/m-static1.cc: New file.
4363
4364 * gdb.c++/printmethod.exp: New file.
4365 * gdb.c++/printmethod.cc: New file.
4366
4367 * gdb.c++/pr-574.exp: New file.
4368 * gdb.c++/pr-574.cc: New file.
4369
afb5c968
CV
43702002-09-18 Corinna Vinschen <vinschen@redhat.com>
4371
4372 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
4373 embedded targets which never actually exit.
4374
31e45dee
FN
43752002-09-18 Fernando Nasser <fnasser@redhat.com>
4376
4377 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
4378 "don't step after run" as unresolved or unsupported, instead of xfail.
4379
a283c5a1
CV
43802002-09-18 Corinna Vinschen <vinschen@redhat.com>
4381
4382 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
4383 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
4384 Add newline to expected string in "step out of main (status wrapper)"
4385 case.
4386
11350d2a
CV
43872002-09-18 Corinna Vinschen <vinschen@redhat.com>
4388
4389 * lib/gdb.exp (rerun_to_main): Allow restarting application.
4390 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
4391
0deec7d6
TT
43922002-09-17 Tom Tromey <tromey@redhat.com>
4393
4394 * gdb.base/printcmds.exp (test_print_string_constants): Expect
4395 \000, not \0, in double-quoted string.
4396
b2b4a1b5
CV
43972002-09-14 Corinna Vinschen <vinschen@redhat.com>
4398
c9d37158 4399 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
4400 string after running the commands execution on breakpoint tests.
4401
1c56143a
CV
44022002-09-13 Corinna Vinschen <vinschen@redhat.com>
4403
4404 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
4405
37f8da45
JB
44062002-09-12 Joel Brobecker <brobecker@gnat.com>
4407
4408 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
4409
08b468e0
KS
44102002-09-10 Keith Seitz <keiths@redhat.com>
4411
4412 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
4413 runto proc.
4414 (mi_run_to_main): Use mi_runto.
4415 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
4416
dc360f58
KS
44172002-09-10 Keith Seitz <keiths@redhat.com>
4418
4419 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
4420 regexp for stopping at main. Could have multiple event notifications.
4421 Don't assume that main was declared with no parameters.
4422 (mi_next): Use mi_step_to.
4423 (mi_step): Use mi_next_to.
4424
ce3abcfb
CV
44252002-09-09 Corinna Vinschen <vinschen@redhat.com>
4426
4427 * gdb.base/default.exp: Fix expected string in `info float' test.
4428
d1f5b980
BE
44292002-09-09 Ben Elliston <bje@redhat.com>
4430
4431 * config/mips.exp: Update comments.
4432 * config/mips-idt.exp: Likewise.
4433 * config/nind.exp: Likewise.
4434 * config/slite.exp: Likewise.
4435 * config/sparclet.exp: Likewise.
4436 * config/udi.exp: Likewise.
4437 * config/vx.exp: Likewise.
4438 * config/vxworks29k.exp: Likewise.
4439
2f71430b
JB
44402002-09-05 Jim Blandy <jimb@redhat.com>
4441
4442 * gdb.threads/killed.exp: Fix test failure message.
4443
7ddebc7e
KS
44442002-09-04 Keith Seitz <keiths@redhat.com>
4445
4446 * lib/mi-support.exp: Update copyright.
4447 (mi_gdb_test): Increase the priority of the expected pattern
4448 so that it matches gdb_test.
4449
0ae67eb3
KS
44502002-09-03 Keith Seitz <keiths@redhat.com>
4451
4452 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
4453 Use integer comparison instead of string comparison for testing
4454 whether binary was built.
4455
38fc42c8
JB
44562002-09-03 Jim Blandy <jimb@redhat.com>
4457
4458 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
4459
b6ff0e81
JB
44602002-08-29 Jim Blandy <jimb@redhat.com>
4461
4462 * gdb.threads/pthreads.exp: Move the portable thread compilation
4463 code into a function in lib/gdb.exp, and call that from here.
4464 * lib/gdb.exp (gdb_compile_pthreads): New function.
4465
07c98896
KS
44662002-08-29 Keith Seitz <keiths@redhat.com>
4467
4468 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
4469 expect_out so that callers can get at it.
4470
0312286c
DJ
44712002-08-23 Daniel Jacobowitz <drow@mvista.com>
4472
4473 * gdb.threads/print-threads.c: New file.
4474 * gdb.threads/print-threads.exp: New file.
4475 * gdb.threads/schedlock.c: New file.
4476 * gdb.threads/schedlock.exp: New file.
4477
dd039bc4
EZ
44782002-08-22 Elena Zannoni <ezannoni@redhat.com>
4479
4480 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4481 not altivec.c.
4482
1f36144c
MK
44832002-08-17 Mark Kettenis <kettenis@gnu.org>
4484
4485 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4486 targets. The problem should be fixed now.
4487
16057ec7 44882002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
4489
4490 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4491 2002-07-24 change that removes final dots from error messages.
4492
3c1499ad
TT
44932002-08-13 Tom Tromey <tromey@redhat.com>
4494
4495 * gdb.base/readline.exp: New file.
4496
a20ce2c3
AC
44972002-08-01 Andrew Cagney <ac131313@redhat.com>
4498
4499 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4500 supress message.
4501
db034ac5
AC
45022002-08-01 Andrew Cagney <cagney@redhat.com>
4503
4504 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4505 CHILL_FOR_TARGET and CHILL_LIB.
4506 * configure.in (configdirs): Remove gdb.chill.
4507 * configure: Regenerate.
4508 * lib/gdb.exp: Obsolete references to chill.
4509 * gdb.fortran/types.exp: Ditto.
4510 * gdb.fortran/exprs.exp: Ditto.
4511
3e000b18
KB
45122002-07-30 Kevin Buettner <kevinb@redhat.com>
4513
4514 * gdb.base/shlib-call.exp (additional_flags): Conditionally
4515 set Irix-specific compile and link flags.
4516
28f4966b
KB
45172002-07-29 Kevin Buettner <kevinb@redhat.com>
4518
4519 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4520 source files. The ``-o'' option doesn't work with the ``-E'' option
4521 when using the Irix compiler.
4522
46c0d5a6
DJ
45232002-07-19 Daniel Jacobowitz <drow@mvista.com>
4524
4525 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4526 Improve support for reusing an exec file. Copy exec file
4527 to target, and run gdbserver on the target instead of on the host.
4528
eecf4bed
JB
45292002-07-18 Jim Blandy <jimb@redhat.com>
4530
0f815cdf
JB
4531 * gdb.base/ending-run.exp: Don't expect to see the program end in
4532 some orderly fashion when we're running on a real stand-alone
4533 board.
4534
eecf4bed
JB
4535 * gdb.base/interrupt.exp: Correct logic for skipping tests on
4536 targets that don't support interrupts.
4537
52d309e4
JB
45382002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
4539
4540 * gdb.base/attach.exp: Add patterns to match output from /proc-based
4541 systems.
4542 Move comments in expect statements to inside the actions, so that they
4543 don't get matched against.
4544
ff683d9e
MK
45452002-07-10 Mark Kettenis <kettenis@gnu.org>
4546
4547 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4548 function when asleep" test.
4549
b5356753
AC
45502002-07-10 Andrew Cagney <ac131313@redhat.com>
4551
4552 * gdb.base/page.exp: Rewrite to handle problems with very long
4553 `info set' output. Update copyright.
4554
6aa4d13a
AC
45552002-06-26 Andrew Cagney <ac131313@redhat.com>
4556
4557 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4558 gdb.threads-hp.
4559 * gdb.hp/configure: Regenerate.
4560 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4561 * gdb.hp/gdb.threads-hp/configure: Delete file.
4562 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4563
8cf8c2b8
AC
45642002-06-22 Andrew Cagney <ac131313@redhat.com>
4565
4566 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4567 setlocale, bindtextdomain and textdomain.
4568
6827a8f8
JB
45692002-06-11 Jim Blandy <jimb@redhat.com>
4570
919d772c
JB
4571 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4572 preprocessor macro information is present.
4573
6827a8f8
JB
4574 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4575 tests.
4576
c15b0d21
MS
45772002-06-06 Michael Snyder <msnyder@redhat.com>
4578
c5984d70
MS
4579 * gdb.base/overlays.exp: Record addresses of overlay
4580 functions in TCL variables rather than in GDB variables,
4581 to avoid having GDB convert them to pointers (with loss
4582 of information).
4583
d63a86f8 4584 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 4585 default linker script changes.
c15b0d21
MS
4586 * gdb.base/long_long.exp: Add check for sizeof (long double).
4587
be26fe0d
ML
45882002-06-06 Michal Ludvig <mludvig@suse.cz>
4589
4590 * gdb.asm/asm-source.exp: Add x86-64 target.
4591 * gdb.asm/x86_64.inc: New.
d63a86f8 4592
258093ca 45932002-05-30 Michael Chastain <mec@shout.net>
258093ca 4594
4b3153f1 4595 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
4596 * gdb.c++/m-static.cc: New file.
4597 * gdb.c++/m-static.exp: New file.
4598
241264c6
MS
45992002-05-28 Michael Snyder <msnyder@redhat.com>
4600
4601 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4602 precision.
4603
9bba8c8f 46042002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 4605
4b3153f1 4606 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
4607 * gdb.c++/m-data.cc: New file.
4608 * gdb.c++/m-data.exp: New file.
4609
46102002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 4611
4b3153f1 4612 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 4613 * gdb.c++/try_catch.cc: New file.
d63a86f8 4614 * gdb.c++/try_catch.exp: New file.
9bba8c8f 4615
def1b996
MC
46162002-05-27 Michael Chastain <mec@shout.net>
4617
4618 * gdb.c++/local.exp: Accept more nested types in output.
4619
522ba268
MC
46202002-05-26 Michael Chastain <mec@shout.net>
4621
4622 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4623
277254ba
MS
46242002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4625
4626 * lib/gdb.exp (gdb_wrapper_init): Just because
4627 gdb_wrapper_file exists, this does not mean that the file
4628 should not be rebuilt. That is what gdb_wrapper_initialized
4629 is for.
4630 (default_gdb_init): Reset gdb_wrapper_initialized.
4631
b61a8733
MS
46322002-05-23 Michael Snyder <msnyder@redhat.com>
4633
d63a86f8 4634 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
4635 the precision of the floating point test results.
4636 * gdb.base/call-rt-st.exp: Ditto.
4637
b61a8733
MS
4638 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4639 * gdb.base/call-rt-st.exp: Ditto.
4640
56f6e910
MC
46412002-05-19 Michael Chastain <mec@shout.net>
4642
4643 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4644
ad0b0016
EZ
46452002-05-19 Elena Zannoni <ezannoni@redhat.com>
4646
4647 * configure.in (configdirs): Add gdb.arch.
4648 * configure: Regenerate.
4649
f617d2b6
JB
46502002-05-17 Jim Blandy <jimb@redhat.com>
4651
4652 * gdb.base/completion.exp: Recognize the more detailed error
4653 messages produced by the macro expander's lexical analyzer.
4654
eac2a696
EZ
46552002-05-14 Elena Zannoni <ezannoni@redhat.com>
4656
4657 * gdb.arch/altivec-abi.c: New file.
4658 * gdb.arch/altivec-abi.exp: New file.
4659 * gdb.arch/altivec-regs.c: New file.
4660 * gdb.arch/altivec-regs.exp: New file.
4661
2fdde8f8
DJ
46622002-05-14 Daniel Jacobowitz <drow@mvista.com>
4663
4664 * gdb.base/maint.exp (maint print type): Update for new type
4665 structure.
d63a86f8 4666
e31f1a7c
EZ
46672002-05-14 Elena Zannoni <ezannoni@redhat.com>
4668
4669 * gdb.arch: New directory.
4670 * gdb.arch/configure.in: New file.
4671 * gdb.arch/configure: New file.
4672 * gdb.arch/Makefile.in: New file.
4673
db589741
CV
46742002-05-13 Corinna Vinschen <vinschen@redhat.com>
4675
4676 * gdb.asm/asm-source.exp: Add v850 as supported target.
4677 * gdb.asm/v850.inc: New file.
4678
8ce2a7dc
DJ
46792002-05-13 Daniel Jacobowitz <drow@mvista.com>
4680
4681 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4682
df763c7f
DJ
46832002-05-12 Daniel Jacobowitz <drow@mvista.com>
4684
4685 * gdb.base/break.exp: Check 'break "marker2"'.
4686
377daeed
MS
46872002-05-10 Michael Snyder <msnyder@redhat.com>
4688
4689 * gdb.base/long_long.exp: Fix typo.
4690
c4b7bc2b
JB
46912002-05-10 Jim Blandy <jimb@redhat.com>
4692
ecac9a4e
JB
4693 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4694 a bug.
4695
c4b7bc2b
JB
4696 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4697 Recognize more detailed error message produced by the macro
4698 expander's lexical analyzer.
4699 * lib/gdb.exp (test_print_reject): Same.
4700
e71019a1
MK
47012002-05-09 Mark Kettenis <kettenis@gnu.org>
4702
4703 * gdb.c++/method.exp: Fix typo.
4704
fedfc8e6
MS
47052002-05-08 Michael Snyder <msnyder@redhat.com>
4706
166a1957
MS
4707 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4708 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 4709 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
4710 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4711 Add iftarget clause for strongarm.
d63a86f8 4712
f1c47eb2
MS
47132002-05-06 Michael Snyder <msnyder@redhat.com>
4714
cb9a9d3e
MS
4715 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4716 (gdb_continue_to_end): Accept output from status wrapper.
4717 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4718 Clean up fail messages to match pass messages.
4719
f1c47eb2
MS
4720 Enable the "needs_status_wrapper" testsuite feature.
4721 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4722 (gdb_compile): Conditionally call gdb_wrapper_init.
4723 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4724 * gdb.c++/method.exp: Recognize output from status wrapper.
4725
6079c749
BE
47262002-05-06 Ben Elliston <bje@redhat.com>
4727From Graydon Hoare <graydon@redhat.com>
4728
4729 * config/sid.exp: Include support for "rawsid" protocol.
4730
188baff3
JB
47312002-05-03 Jim Blandy <jimb@redhat.com>
4732
4733 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4734 * gdb.c++/hang3.C: New file.
4735
b9c07f0f
AC
47362002-05-04 Andrew Cagney <ac131313@redhat.com>
4737
4738 * gdb.base/default.exp: Remove obsolete code.
4739 * gdb.c++/misc.exp: Ditto. Update copyright.
4740 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4741 * gdb.base/whatis.exp: Ditto. Update copyright.
4742 * gdb.base/scope.exp: Ditto. Update copyright.
4743 * gdb.base/ptype.exp: Ditto. Update copyright.
4744 * gdb.base/printcmds.exp: Ditto. Update copyright.
4745 * gdb.base/opaque.exp: Ditto. Update copyright.
4746 * gdb.base/list.exp: Ditto.
4747 * gdb.base/funcargs.exp: Ditto. Update copyright.
4748 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4749 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4750 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4751 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4752 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4753 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4754
5c7a0397
MS
47552002-05-02 Michael Snyder <msnyder@redhat.com>
4756
d6dcc264 4757 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
4758 * gdb.base/long_long.exp: Add xscale target.
4759 * gdb.base/default.exp: Add xscale target.
4760
eb7f1c48
JB
47612002-05-01 Jim Blandy <jimb@redhat.com>
4762
4763 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4764 gdb.c++/hang.exp: New test.
4765
a6befae8
FF
47662002-05-01 Fred Fish <fnf@redhat.com>
4767
4768 * gdb.base/completion.exp: Handle completions of "./Make" for
4769 more than one completion possibility, as is the case when we
4770 build and test in the source tree.
4771
0a310277
AG
47722002-04-29 Anthony Green <green@redhat.com>
4773
4774 * gdb.java/jmisc1.exp: New file.
4775 * gdb.java/jmisc2.exp: New file.
4776
6ff9af88
DJ
47772002-04-24 Daniel Jacobowitz <drow@mvista.com>
4778
4779 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4780
96b3d632
EZ
47812002-04-23 Elena Zannoni <ezannoni@redhat.com>
4782
4783 * gdb.base/help.exp: Change 'help status' to allow for target
4784 dependent output differences.
4785
5019bb54
MC
47862002-04-22 Michael Chastain <mec@shout.net>
4787
4788 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4789
a805a116
MC
47902002-04-22 Michael Chastain <mec@shout.net>
4791
4792 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4793
a1706bfd
DM
47942002-04-17 David S. Miller <davem@redhat.com>
4795
4796 * gdb.asm/sparc64.inc: New file.
4797 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4798
a73a20a2
EZ
47992002-04-19 Elena Zannoni <ezannoni@redhat.com>
4800
4801 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4802 instruction file directly into the build tree. Clean up at end of
4803 test.
4804
ba678339
DM
48052002-04-18 David S. Miller <davem@redhat.com>
4806
4807 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4808 handle 64-bit platforms correctly.
4809 * gdb.base/maint.exp: Likewise.
4810
b03399da
KB
48112002-04-18 Kevin Buettner <kevinb@redhat.com>
4812
4813 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4814 ``-fpic'' when compiling files comprising a shared library, but
4815 it does need additional linker flags in order to find shared
4816 libraries at run time.
4817
e2004992
KB
48182002-04-18 Kevin Buettner <kevinb@redhat.com>
4819
4820 * gdb.base/cvexpr.c (use): New function.
4821 (main): Invoke use() on all global variables to prevent
4822 some linkers from deleting these otherwise unused symbols.
4823
d8937120
MC
48242002-04-17 Michael Chastain <mec@shout.net>
4825From David S. Miller <davem@redhat.com>
4826
4827 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4828 handle 64-bit platforms correctly.
4829
ffd61a58
MS
48302002-04-12 Michael Snyder <msnyder@redhat.com>
4831From Jim Blandy <jimb@redhat.com>
4832 * gdb.base/foo.c (foox): Remove section attribute; the linker
4833 script can handle this instead.
4834 * gdb.base/bar.c (barx): Same.
4835 * gdb.base/baz.c (bazx): Same.
4836 * gdb.base/grbx.c (grbxx): Same.
4837
4838 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4839 manager doesn't automatically unmap overlays unnecessarily.
4840
6b8426a6
MH
48412002-04-10 Martin M. Hunt <hunt@redhat.com>
4842
4843 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4844 stepping out of main.
4845
34af4875
MC
48462002-04-09 Michael Chastain <mec@shout.net>
4847
4848 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4849 scope so that the nested scope tests will make sense.
4850 * gdb.c++/local.exp: Write patterns that actually work with gcc
4851 (the HP patterns "were never known to work with gcc").
4852 Keep the old aCC patterns too.
4853
2d1676a0
DJ
48542002-04-09 Daniel Jacobowitz <drow@mvista.com>
4855
4856 * gdb.base/attach.exp: Correct target board test.
4857
3a63e3f9
MC
48582002-04-08 Michael Chastain <mec@shout.net>
4859
4860 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4861 in a const method. Add some xfail and fail cases for configurations
4862 that do not emit the "const ...".
4863
f18dabd2
MC
48642002-04-07 Michael Chastain <mec@shout.net>
4865
4866 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4867 Accept "A * const" and "const A * const" as type of "this".
4868 Fix spelling of getFunky throughout. Make messages uniform.
4869
0fcddd82
EZ
48702002-04-07 Elena Zannoni <ezannoni@redhat.com>
4871
4872 Work around for PR gdb/285:
4873 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4874
16a8534a
EZ
48752002-04-07 Elena Zannoni <ezannoni@redhat.com>
4876
4877 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4878 instructions file at run time instead of configure time.
4879 Sometimes we run the test in a directory that is not the one we
4880 configured in.
4881 * gdb.asm/configure.in: Delete creation of symlink.
4882 * gdb.asm/configure: Regenerate.
4883
24181d81
JB
48842002-04-05 J. Brobecker <brobecker@gnat.com>
4885
4886 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4887 xfullpath () function.
4888
7cdb7107
DJ
48892002-04-04 Daniel Jacobowitz <drow@mvista.com>
4890
4891 * gdb.asm/Makefile.in: Correct dependencies.
4892
4893 * gdb.asm/powerpc.inc: New file.
4894 * gdb.asm/asm-source.exp: Add PowerPC.
4895 * gdb.asm/configure.in: Likewise.
4896 * gdb.asm/configure: Regenerated.
4897
a7d17088
DJ
48982002-04-04 Daniel Jacobowitz <drow@mvista.com>
4899
4900 * gdb.base/relocate.exp: New file.
4901 * gdb.base/relocate.c: New file.
4902
cd721503
FF
49032002-04-04 Fred Fish <fnf@redhat.com>
4904
4905 * gdb.base/step-test.exp: Update comment regarding stopping in
4906 memcpy/bcopy calls inserted as part of the compiler runtime.
4907
b22ad7a7
MS
49082002-04-04 Michael Snyder <msnyder@redhat.com>
4909
4910 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4911
5f279fa6
DJ
49122002-04-03 Daniel Jacobowitz <drow@mvista.com>
4913
4914 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4915 (gdb_expect): Remove $notransfer hack.
4916
dd0fd3ce
DJ
49172002-04-02 Daniel Jacobowitz <drow@mvista.com>
4918
4919 * gdb.c++/classes.exp ("calling method for small class"): Match
4920 updated register output.
4921
1e50cda1
DJ
49222002-03-30 Daniel Jacobowitz <drow@mvista.com>
4923
4924 Fix PR gdb/452
4925 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4926 when finished. Make gdb_file_cmd send "exec-file" when
4927 appropriate.
4928
24015922
DJ
49292002-03-30 Daniel Jacobowitz <drow@mvista.com>
4930
4931 * gdb.base/attach.exp: Remove extra setup_xfail.
4932
dd7dfd64
MS
49332002-03-26 Michael Snyder <msnyder@redhat.com>
4934
4935 * gdb.base/default.exp: Add tests for dump, append, and restore.
4936 * gdb.base/help.exp: Add tests for dump, append, and restore.
4937 * gdb.base/dump.exp: New file, test dump, append and restore.
4938 * gdb.base/dump.c: New file.
4939
48b2f8d7
MS
49402002-03-27 Michael Snyder <msnyder@redhat.com>
4941
d63a86f8 4942 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
4943 clean-ups in help messages.
4944
05b4d525
FF
49452002-03-26 Fred Fish <fnf@redhat.com>
4946
4947 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4948 have debugging info for those functions and the compiler uses them
4949 internally to copy structs around.
4950
d7679631
FF
49512002-03-26 Fred Fish <fnf@redhat.com>
4952
4953 * gdb.base/list.exp: Revert the change made yesterday and add note
4954 about why we don't list the default lines for remote targets.
4955
523ac3f9
MS
49562002-03-25 Michael Snyder <msnyder@redhat.com>
4957
4958 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4959
754b2b8d
FF
49602002-03-25 Fred Fish <fnf@redhat.com>
4961
4962 * gdb.base/list.exp: This test works on remote targets so remove
4963 the short circuit for remote targets. Update copyright.
4964
33c3e192
FF
49652002-03-25 Fred Fish <fnf@redhat.com>
4966
4967 * gdb.base/attach.exp: Fix logic error that was suppressing this
4968 test for all non hppa*-*-hpux* targets, instead of the hp target.
4969 Move comments closer to the suppression point. Also now need to
4970 check that we are running natively.
4971
d43e73ee
MS
49722002-03-22 Michael Snyder <msnyder@redhat.com>
4973
882c8f02
MS
4974 * gdb.base/default.exp: Add test for gcore. Update copyright.
4975 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 4976
04c12f60
FF
49772002-03-06 Fred Fish <fnf@redhat.com>
4978
4979 * gdb.base/funcargs.c: Remove extraneous ';' character.
4980 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4981
b43df995
MC
49822002-03-04 Michael Chastain <mec@shout.net>
4983
4984 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4985 accommodate gcc v3 function signature.
4986 * gdb.mi/mi0-var-cmd-exp: Ditto.
4987
92362027
AC
49882002-02-24 Andrew Cagney <ac131313@redhat.com>
4989
4990 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4991 ``GNU/Linux'' or ``Linux kernel''
4992 * testsuite/gdb.threads/pthreads.c: Ditto.
4993
258ad32d
MC
49942002-02-24 Michael Chastain <mec@shout.net>
4995
4996 * gdb.threads/pthreads.c (thread1): Add a return statement.
4997 (thread2): Likewise.
4998 (foo): Likewise.
4999
04c3b3d4
MC
50002002-02-23 Michael Chastain <mec@shout.net>
5001
5002 * gdb.threads/linux-dp.c (philosopher): Add a return statement
5003 to placate gcc.
5004
5a2a0a20
MC
50052002-02-23 Michael Chastain <mec@shout.net>
5006
5007 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
5008 test "ptype bint". The test passes on all my stabs configurations.
5009
a640f7fc
JB
50102002-02-21 Jim Blandy <jimb@redhat.com>
5011
27924826
JB
5012 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
5013 filename at a time, and watch for the ones we want to see.
5014
a640f7fc
JB
5015 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
5016 types of pointers to prototyped functions.
5017
edcc8c75
AC
50182002-02-20 Andrew Cagney <ac131313@redhat.com>
5019
5020 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
5021 signed, unsigned and straight char.
5022 (padding_char, padding_short, padding_int, padding_long,
5023 padding_long_long, padding_float, padding_double,
5024 padding_long_double): New global variables.
5025 (fill, fill_structs): New functions.
5026
5027 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
5028 for correctly sized writes. Update copyright.
5029 (get_valueof): New procedure.
5030 (get_sizeof): Call get_valueof.
5031 (check_valueof): New procedure.
5032 (check_padding): New procedure.
5033
ac57ea44
MC
50342002-02-20 Michael Chastain <mec@shout.net>
5035
5036 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
5037 to setup_xfail. Document some of the remaining calls.
5038
7a10c941
MC
50392002-02-18 Michael Chastain <mec@shout.net>
5040
5041 * gdb.c++/userdef.exp: Update copyright year.
5042
fb8acdcc
DJ
50432002-02-18 Daniel Jacobowitz <drow@mvista.com>
5044
5045 * gdb.c++/userdef.exp: Test overloaded operators properly.
5046 Remove xfails.
5047
fda6ae12
MS
50482002-02-14 Michael Snyder <msnyder@redhat.com>
5049
5050 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
5051
676a0442
DJ
50522002-02-14 Daniel Jacobowitz <drow@mvista.com>
5053
5054 * gdb.base/a2-run.exp: Check for a remote target properly.
5055 * gdb.base/annota1.exp: Likewise.
5056 * gdb.base/list.exp: Likewise.
5057 * gdb.base/reread.exp: Likewise.
5058 * gdb.base/scope.exp: Likewise.
5059 * gdb.base/shlib-call.exp: Likewise.
5060 * gdb.base/term.exp: Likewise.
5061 * gdb.c++/annota2.exp: Likewise.
5062
78b4f468
RE
50632002-02-13 Richard Earnshaw <rearnsha@arm.com>
5064
5065 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
5066
9a81ba51
MC
50672002-02-10 Michael Chastain <mec@shout.net>
5068
5069 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
5070 (call_after_alloca): Ditto.
5071
004af6c7
DJ
50722002-02-10 Daniel Jacobowitz <drow@mvista.com>
5073
5074 * gdb.base/ending-run.exp: Guard "cont" test with
5075 gdb_skip_stdio_test.
5076
37225f62
JB
50772002-02-06 Jim Blandy <jimb@redhat.com>
5078
5079 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
5080 from here...
5081 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
5082 To here. Disable this test on non-HP platforms. Add big comment.
5083
fe6fdd96
MS
50842002-02-04 Michael Snyder <msnyder@redhat.com>
5085
5086 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
5087 other than d10v and m32r.
5088
036fad3f
RE
50892002-02-02 Richard Earnshaw <rearnsha@arm.com>
5090
5091 * gdb.base/default.exp: Rewrite test patterns to reduce time
5092 taken to match them.
5093
7148ab62
DJ
50942002-01-30 Daniel Jacobowitz <drow@mvista.com>
5095
5096 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
5097 Allow a start function above main.
5098 * gdb.threads/linux-dp.exp: Fix copyright date.
5099
396cc255
DJ
51002002-01-30 Daniel Jacobowitz <drow@mvista.com>
5101
5102 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
5103 (check_philosopher_stack): Check for manager thread before checking
5104 for a just-starting thread.
5105
f038d31b
DJ
51062002-01-30 Daniel Jacobowitz <drow@mvista.com>
5107
5108 From Neil Booth <neil@daikokuya.demon.co.uk>:
5109 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
5110 warnings.
5111
b3ff9d9a
FF
51122002-01-21 Fred Fish <fnf@redhat.com>
5113
5114 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
5115 not caller.
5116
39ad761d
JB
51172002-01-21 Jim Blandy <jimb@redhat.com>
5118
5119 * gdb.base/reread.exp: Check that GDB properly re-reads the
5120 executable file when it changes while no inferior is running.
5121
aaf320fa
FF
51222002-01-21 Fred Fish <fnf@redhat.com>
5123
5124 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
5125 optionally accept the "shlib events" variation.
5126
808a31f5
JB
51272002-01-21 Jim Blandy <jimb@redhat.com>
5128
5129 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
5130 call `fflush' after every `printf', so that the output is produced
5131 at predictable points, regardless of whatever buffering does (or
5132 doesn't) take place.
5133 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
5134 at different points.
5135
4420d5e2
DJ
51362002-01-20 Daniel Jacobowitz <drow@mvista.com>
5137
5138 * gdb.c++/inherit.exp: Update copyright years.
5139 * gdb.c++/method.exp: Likewise.
5140
3e36a0f4
DJ
51412002-01-20 Daniel Jacobowitz <drow@mvista.com>
5142
5143 * gdb.c++/classes.exp: Update for improved v3 support and skipping
5144 artificial methods/arguments.
5145 * gdb.c++/derivation.exp: Likewise.
5146 * gdb.c++/inherit.exp: Likewise.
5147 * gdb.c++/method.exp: Likewise.
5148 * gdb.c++/virtfunc.exp: Likewise.
5149
b4ceaee6
AC
51502002-01-18 Andrew Cagney <ac131313@redhat.com>
5151
5152 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
5153 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
5154 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
5155 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
5156 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
5157 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
5158
ecace851
JB
51592002-01-17 Jim Blandy <jimb@redhat.com>
5160
5161 * gdb.asm/asm-source.exp (info symbol): Take another shot at
5162 anchoring the pattern matching the entry point symbol's name.
5163
375fc983
AC
51642002-01-17 Andrew Cagney <ac131313@redhat.com>
5165
5166 * gdb.base/maint.exp: Update ``maint internal-error'' to match
5167 continue/quit query. Update copyright.
5168
fe6fdd96
MS
51692002-01-14 Michael Snyder <msnyder@redhat.com>
5170
5171 * gdb.base/gcore.exp: Remove extra debugging output.
5172
e017c81f
DJ
51732002-01-13 Daniel Jacobowitz <drow@mvista.com>
5174
5175 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
5176 for slightly dubious v2 mangled string.
5177
37ab3bf8
DJ
51782002-01-13 Daniel Jacobowitz <drow@mvista.com>
5179
5180 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
5181
1bc05c3a 51822002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 5183
1bc05c3a 5184 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 5185
1bc05c3a
JM
5186 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
5187 constructors.
5188 * gdb.c++/derivation.exp: Likewise.
5189 * gdb.c++/templates.exp: Likewise.
5190 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 5191
1bc05c3a
JM
51922002-01-10 Michael Snyder <msnyder@redhat.com>
5193
5194 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 5195
a911c360
MS
51962002-01-08 Michael Snyder <msnyder@redhat.com>
5197
5198 * gdb.base/gcore.exp: New test for generate-core-file command.
5199 * gdb.base/gcore.c: Testcase for above.
5200 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
5201
ea2119ec
JM
52022002-01-08 Jason Merrill <jason@redhat.com>
5203
5204 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
5205
68203136
FF
52062002-01-07 Fred Fish <fnf@redhat.com>
5207
5208 * gdb.c++/overload.exp: Remove unconditional xfails for:
5209 print foo_instance1.overloadargs(1)
5210 print foo_instance1.overloadargs(1, 2)
5211 print foo_instance1.overloadargs(1, 2, 3)
5212 print foo_instance1.overloadargs(1, 2, 3, 4)
5213 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
5214 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
5215 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
5216 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
5217 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
5218 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
5219 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
5220 print foo_instance1.overload1arg()
5221 print foo_instance1.overload1arg((char)arg2)
5222 print foo_instance1.overload1arg((signed char)arg3)
5223 print foo_instance1.overload1arg((unsigned char)arg4)
5224 print foo_instance1.overload1arg((int)arg7)
5225 print foo_instance1.overload1arg((unsigned int)arg8)
5226 print foo_instance1.overload1arg((float)arg11)
5227 print foo_instance1.overload1arg((double)arg12)
d63a86f8 5228
21b9b5b1
MS
52292002-01-07 Michael Snyder <msnyder@redhat.com>
5230
5231 * gdb.base/huge.exp: New test. Print a very large target data object.
5232 (skip_huge_test): New test variable. Define if you want to skip this
5233 test. The test reads an 8 megabyte data object from the target, so it
5234 might be very time consuming on remote targets with a slow connection.
5235 * gdb.base/huge.c: New file. Test case for above.
5236
725f922e
FF
52372002-01-07 Fred Fish <fnf@redhat.com>
5238
5239 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
5240 g_instance.bfoo, and g_instance.cfoo.
5241
634d57ec
JL
5242Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
5243
f286b2c3
JL
5244 * gdb.base/break.c (multi_line_if_conditional): New function.
5245 (multi_ilne_while_conditional): Likewise.
5246 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
5247 IF or WHILE condition puts the breakpoint at the start of
5248 the condition.
5249
634d57ec
JL
5250 * gdb.base/selftest.exp (backtrace through signal handler): Remove
5251 hppa*-*-hpux* expected failure.
5252 * gdb.base/structs.exp (do_function_calls): Similarly.
5253
5254 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
5255 watchpoints.
5256
9fbfe2dc
AC
52572002-01-06 Andrew Cagney <ac131313@redhat.com>
5258
5259 Fix PR gdb/66.
5260 * gdb.base/structs.exp: Replace skip for a29k with skip for
5261 gdb,cannot_call_functions.
5262 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
5263 * gdb.base/callfuncs.exp: Ditto.
5264 * gdb.base/call-rt-st.exp: Ditto.
5265 * gdb.base/call-strs.exp: Ditto.
5266 * gdb.base/callfwmall.exp: Ditto.
5267 * gdb.base/scope.exp: Obsolete xfail a29k.
5268 * gdb.c++/misc.exp: Ditto.
5269 * gdb.c++/cplusfuncs.exp: Ditto.
5270 * gdb.base/ptype.exp: Ditto.
5271 * gdb.base/printcmds.exp: Ditto.
5272 * gdb.base/opaque.exp: Ditto.
5273 * gdb.base/list.exp: Ditto.
5274 * gdb.base/funcargs.exp: Ditto.
5275 * gdb.base/default.exp: Ditto.
5276
8ddad156
MS
52772002-01-04 Michael Snyder <msnyder@redhat.com>
5278
ca4976a6 5279 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
5280 * gdb.base/maint.exp: Add tests for maint info sections options.
5281
1b074332
JL
5282Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
5283
5284 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
5285
7d159115
CV
52862001-12-20 Corinna Vinschen <vinschen@redhat.com>
5287
5288 * gdb.asm/arm.inc: New file.
5289 * gdb.asm/asm-source.exp: Add arm targets.
5290 * gdb.asm/configure.in: Ditto.
5291 * gdb.asm/configure: Recreated from configure.in.
5292
8fb87725
JL
5293Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
5294
afabe08c
JL
5295 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
5296 with HP's compiler.
5297 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
5298 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
5299 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
5300 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
5301
5302 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
5303 either HP's compilers or GCC.
5304
db521deb
JL
5305 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
5306 a SIGBUS or SIGSEGV.
5307
5308 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
5309
5310 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
5311 can be compiled with either HP's compiler or GCC.
5312
cfa88ab7
JL
5313 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
5314 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
5315 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
5316
ca344dff
JL
5317 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
5318 to match current gdb output. Update due to using auto-solib-limit
5319 for limiting instead of overloading auto-solib-add.
5320 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
5321 test program.
5322
3f3c6e55 5323 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
5324 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
5325 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5326 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5327 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5328 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5329 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
5330 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
5331 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
5332 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
5333 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
5334 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
5335 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 5336
8fb87725
JL
5337 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
5338 a SIGTRAP to the inferior.
5339
cf599fa7
CV
53402001-12-19 Corinna Vinschen <vinschen@redhat.com>
5341
5342 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
5343 Substitute call to target_link by call to gdb_compile.
5344
2cd045cd
JL
5345Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
5346
5347 * gdb.base/break.exp: Fix HP specific search string when testing
5348 backtracing in a called function.
5349
d63a86f8 5350 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
5351 compiling the test with HP's compilers.
5352 * gdb.base/volatile.exp: Similarly.
5353
99ebe9ac
JB
53542001-12-19 Jim Blandy <jimb@redhat.com>
5355
5356 * gdb.base/printcmds.exp: Expect the null character to be printed
5357 as '\0', and the '\013' to be printed as '\v'.
5358 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
5359 * gdb.base/setvar.exp: Same.
5360
b9891b29
JB
53612001-12-17 Jim Blandy <jimb@redhat.com>
5362
0eba65ab
JB
5363 * gdb.base/completion.exp: Rather than completing very long
5364 filenames, which can make the readline library produce output we
5365 don't recognize, cd to the directory first, and then complete
5366 using nice, short relative paths.
5367
6970b5b1
JB
5368 * gdb.base/completion.exp: On some systems, there is, in fact, a
5369 variable named `b' in scope, since GDB treats all static
5370 variables as being in scope. So use `no_var_named_this'
5371 instead of `b'.
5372
b9891b29
JB
5373 * gdb.base/corefile.exp: Recognize the message saying that GDB
5374 can't find the core file's registers as a failure.
5375
e6ccd35f
JSC
53762001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
5377
5378 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
5379 test expect string more specific.
5380
105ba819
CV
53812001-12-13 Corinna Vinschen <vinschen@redhat.com>
5382
5383 * gdb.asm/asm-source.exp: Add support for xstormy16.
5384 * gdb.asm/configure.in: Ditto.
5385 * gdb.asm/configure: Rebuild.
5386 * gdb.asm/xstormy16.inc: New file.
5387
e9e79dd9
FF
53882001-12-10 Fred Fish <fnf@redhat.com>
5389
5390 * gdb.base/maint.exp: Update to match changes in type dumping code.
5391
347dc97d
JB
53922001-12-10 Jim Blandy <jimb@redhat.com>
5393
5394 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
5395 matching the entry point symbol's name at the beginning of the
5396 line.
5397
5178b9d6
DJ
53982001-12-07 Daniel Jacobowitz <drow@mvista.com>
5399
5400 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
5401 gdb.c++/inherit.exp, gdb.c++/method.exp,
5402 gdb.c++/namespace.exp, gdb.c++/templates.exp,
5403 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
5404 and class layout support.
5405
af890c52
DJ
54062001-12-07 Daniel Jacobowitz <drow@mvista.com>
5407
5408 * gdb.c++/classes.exp: Add test for static member function.
5409 * gdb.c++/misc.cc: Add class with static member function.
5410
7a345fb3
JB
54112001-12-07 Jim Blandy <jimb@redhat.com>
5412
f2e54a80 5413 If GDB says it can't find the struct the function returned, report
8032bf31
JB
5414 those tests as `unsupported'.
5415 * gdb.base/call-rt-st.exp (print_struct_call): New function.
5416 Rewrite subsequent tests to use it.
5417
5418 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
5419 those tests as `unsupported'.
5420 * gdb.base/structs.exp (call_struct_func): New function.
5421 (do_function_calls): Use call_struct_func to call the functions
5422 returning structs.
5423
0bc69509
JB
5424 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
5425 whether functions are prototyped or not, so we can't possibly pass
5426 arguments to t_float_values2 properly.
5427
7a345fb3
JB
5428 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
5429 value of `timeout' for targets other than the mips*tx39-*.
5430
edb6ede1
MS
54312001-12-06 Michael Snyder <msnyder@redhat.com>
5432
d63a86f8 5433 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
5434 and detect whether the start symbol has a leading underscore.
5435
2d842f13
JB
54362001-12-04 Jim Blandy <jimb@redhat.com>
5437
5438 * gdb.base/completion.exp: Clarify indentation.
5439
68550daf
JB
54402001-12-03 Jim Blandy <jimb@redhat.com>
5441
5442 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
5443 variables on the S/390, not `.word'.
5444
cd5195a8
JB
54452001-11-30 Jim Blandy <jimb@redhat.com>
5446
5447 Add assembly-source tests for s390-ibm-linux.
5448 * gdb.asm/s390.inc: New file.
5449 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
5450 the S/390 architecture.
5451 * gdb.asm/configure: Regenerated.
5452
ca9efc90
MS
54532001-11-30 Michael Snyder <msnyder@redhat.com>
5454
5455 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
5456 next, info source, info sources, info line, global and static
5457 variables, and static functions.
5458 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
5459 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
5460 * gdb.asm/asmsrc1.s: Add a static function and some variables.
5461 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
5462 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
5463 (gdbasm_leave): Restore frame pointer.
5464 (gdbasm_startup): Copy stack set-up from crt0.S.
5465
d0e66976
FN
54662001-11-26 Fernando Nasser <fnasser@redhat.com>
5467
5468 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
5469 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
5470 to a local (non-static) variable. Copy tstruct.a to a static buffer
5471 and return a pointer to that buffer.
5472 * gdb.base/callfwmall.c (t_structs_a): Ditto.
5473
e2334072
MK
54742001-11-24 Mark Kettenis <kettenis@gnu.org>
5475
5476 * gdb.asm/configure.in: Fix recognition of ix86 target.
5477 * gdb.asm/configure: Regenerate.
5478
756caa3d
MS
54792001-11-21 Michael Snyder <msnyder@redhat.com>
5480
5481 * gdb.asm/sparc.inc: New file.
5482 * gdb.asm/asm-source.exp: Recognize sparc target.
5483 * gdb.asm/configure.in: Recognize sparc target.
5484 * gdb.asm/configure: Regenerate.
d63a86f8 5485
9a4d72d5
MS
54862001-11-21 Michael Snyder <msnyder@redhat.com>
5487
5488 * gdb.asm/m32r.inc: New file.
5489 * gdb.asm/asm-source.exp: Recognize m32r target.
5490 * gdb.asm/configure.in: Recognize m32r target.
5491 * gdb.asm/configure: Regenerate.
5492
a773d1cd
MS
54932001-11-20 Michael Snyder <msnyder@redhat.com>
5494
017ac23d
MS
5495 * gdb.asm/i386.inc: New file.
5496 * gdb.asm/asm-source.exp: Recognize ix86 target.
5497 * gdb.asm/configure.in: Recognize ix86 target.
5498 * gdb.asm/configure: Regenerate.
5499
a773d1cd
MS
5500 * gdb.c++/namespace.exp: Fix quotes in output messages.
5501
bb632afb
MS
55022001-11-14 Michael Snyder <msnyder@redhat.com>
5503
25d559ca 5504 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
5505 qualifier in a type cast expression, to designate an address
5506 in the instruction space (Harvard architecture).
5507
4749e309
MS
55082001-11-13 Michael Snyder <msnyder@redhat.com>
5509
5510 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5511 Tests for expressions using 'const' and 'volatile'.
5512
25050984
CV
55132001-11-13 Corinna Vinschen <vinschen@redhat.com>
5514
5515 * gdb.asm/asm-sources.exp: Allow defining linker flags.
5516
1902c51f
DJ
55172001-11-12 Daniel Jacobowitz <drow@mvista.com>
5518
5519 * lib/mi-support.exp (mi_run_to_helper): Move comments
5520 outside of gdb_expect.
5521
dcf95b47
DJ
55222001-11-11 Daniel Jacobowitz <drow@mvista.com>
5523
5524 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5525 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5526 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5527 mi0_run_to): New functions.
5528 * gdb.mi/mi-simplerun.exp: Use them.
5529 * gdb.mi/mi0-simplerun.exp: Likewise.
5530 * gdb.mi/mi-var-cmd.exp: Likewise.
5531 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 5532
45b074e1
AC
55332001-11-10 Andrew Cagney <ac131313@redhat.com>
5534
5535 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5536 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5537
bf50d346
AC
55382001-11-09 Andrew Cagney <ac131313@redhat.com>
5539
5540 * gdb.base/restore.exp: Include $expected value in restored test
5541 message.
5542
9383332c
AC
55432001-11-09 Andrew Cagney <ac131313@redhat.com>
5544
5545 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5546 implemented.
5547
db62520a
MS
55482001-11-08 Michael Snyder <msnyder@redhat.com>
5549
5550 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5551 Add pass/fail message for stop at breakpoint in call dummy function.
5552
b5703437
MS
55532001-11-07 Michael Snyder <msnyder@redhat.com>
5554
d63a86f8
RM
5555 * gdb.c++/templates.exp (test_template_breakpoints):
5556 If we get an overload menu, but it does not match what
760f6330 5557 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
5558 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5559 making the whitespace optional. Argument for "new" may be
5560 "unsigned" as well as "unsigned int/long".
d63a86f8 5561 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
5562 making the whitespace optional. Also replace "(void) with
5563 "((void|)), making the keyword "void" optional.
d63a86f8 5564 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
5565 making the whitespace optional. Also replace "(void) with
5566 "((void|)), making the keyword "void" optional.
3bf40917
MS
5567 * gdb.base/callfuncs.c (t_float_values): This function must
5568 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 5569 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
5570 can be tested against both cases. Usually one case involves
5571 promotion of float to double, while the other does not.
5572 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
5573 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5574 includes a stack frame for "start".
5575
c8ab4e6d
JB
55762001-11-05 Jim Blandy <jimb@redhat.com>
5577
5578 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
5579 pointers are 32 bits long, and that offsets of relocs are always
5580 stored in the data (REL-style), and not in the reloc entry itself
5581 (RELA-style).
5582 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5583 stabs.
5584
3f08ced9
MS
55852001-11-01 Michael Snyder <msnyder@redhat.com>
5586
5587 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5588 and regular expression operators by using quoting.
5589
cbfa24cd
MS
55902001-10-31 Michael Snyder <msnyder@redhat.com>
5591
5592 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5593 depending on what the symbol table contains.
5594 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5595 the output of the ptype command. Similarly, accept both "const &"
5596 and "const&".
5597
aaa68313
CV
55982001-10-31 Corinna Vinschen <vinschen@redhat.com>
5599
5600 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5601 symbol `STORAGE' to allow to choose the storage class of
5602 the local datastructures.
5603 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5604 compiler directive.
5605
91740388
MS
56062001-10-30 Michael Snyder <msnyder@redhat.com>
5607
5608 * gdb.base/jump.exp: Allow it to run for all targets.
5609
1b7c05e7
CV
56102001-10-29 Corinna Vinschen <vinschen@redhat.com>
5611
5612 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5613 with new double_array size.
5614 (main): Change storage class of all local variables to static.
5615 Reduce size of double_array to 9.
5616 * gdb.base/call-ar-st.exp: Increase timeout value.
5617 Change expected output for double array to match new size in
5618 call-ar-st.c.
5619
36a22261
CV
56202001-10-29 Corinna Vinschen <vinschen@redhat.com>
5621
5622 * gdb.base/ending-run.exp: Create identical output when passing
5623 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 5624 Stormy16 target.
36a22261 5625
92b8ae91
MK
56262001-10-28 Mark Kettenis <kettenis@gnu.org>
5627
5628 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5629 that we catch the expected failure under Linux/x86.
5630
cb135b83
OF
56312001-10-29 Orjan Friberg <orjanf@axis.com>
5632
5633 * gdb.base/setvar.exp: Escape curly braces.
5634 * gdb.stabs/weird.exp: Ditto.
5635
6884aa54
DJ
56362001-10-27 Daniel Jacobowitz <drow@mvista.com>
5637
5638 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5639 * gdm.mi/mi0-hack-cli.exp: Likewise.
5640
0398c9aa
AC
56412001-10-25 Andrew Cagney <ac131313@redhat.com>
5642
5643 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5644 messages.
5645
d20bf2e8
AC
56462001-10-21 Andrew Cagney <ac131313@redhat.com>
5647
5648 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5649 checking MI enabled.
5650
03dd63aa
CV
56512001-10-09 Corinna Vinschen <vinschen@redhat.com>
5652
5653 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5654
1d9d99f3
FCE
56552001-10-04 Frank Ch. Eigler <fche@redhat.com>
5656
5657 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5658 if gdb child process crashes, just signal an error.
5659
838ae6c4
JB
56602001-10-02 Jim Blandy <jimb@redhat.com>
5661
5662 * lib/gdb.exp (test_xfail_format): Simplify.
5663
5664 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5665 front of the variable name `format'. Simplify `if'.
5666
8f0cbc1c
DJ
56672001-10-01 Daniel Jacobowitz <drow@mvista.com>
5668
5669 * gdb.threads/pthreads.exp: Wait for output and delay
5670 before sending ^C.
5671
1f08dafd
DJ
56722001-10-01 Daniel Jacobowitz <drow@mvista.com>
5673
5674 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5675 some incorrect output instead of timing out.
5676 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5677
674f90ff
CV
56782001-09-28 Corinna Vinschen <vinschen@redhat.com>
5679
5680 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5681 check to allow additional `int'.
5682
9b284272
DJ
56832001-09-27 Daniel Jacobowitz <drow@mvista.com>
5684
5685 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5686 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5687
b55a4771
MS
56882001-09-27 Michael Snyder <msnyder@redhat.com>
5689
5690 * lib/gdb.exp (test_debug_format): New proc.
5691 (setup_xfail_format): Use new proc test_debug_format.
5692 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5693 proc; use new service proc test_debug_format.
5694 Replace all other "gcc_compiled" tests with this test.
5695 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5696 proc; use new service proc test_debug_format.
5697 Replace all other "gcc_compiled" tests with this test.
5698
56992001-09-27 Michael Snyder <msnyder@redhat.com>
5700
5701 * gdb.base/cvexpr.exp: New file.
5702 * gdb.base/cvexpr.c: New file
5703 Test for expressions using const and volatile keywords.
5704
4e6667ac
CV
57052001-09-26 Corinna Vinschen <vinschen@redhat.com>
5706
5707 * gdb.base/constvars.exp: Check for different orders of keywords
5708 and additional "int" strings in output.
5709
4f337972
AC
57102001-09-22 Andrew Cagney <ac131313@redhat.com>
5711
5712 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5713 responses from "help maint".
5714
2015650d
FCE
57152001-09-19 Frank Ch. Eigler <fche@redhat.com>
5716
5717 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5718 to localhost:NNN instead of :NNN, in case Xvfb is listening
5719 only on TCP.
5720
f3bcedc1
CV
57212001-09-19 Corinna Vinschen <vinschen@redhat.com>
5722
5723 * gdb.base/recurse.exp: When checking leaving the watchpoint
5724 scope, recognize when gdb is in function's epilogue and pass.
5725
6b819c92
KS
57262001-09-18 Keith Seitz <keiths@redhat.com>
5727
5728 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5729 support for running tests against sid targets.
5730 (gdbtk_done): Ditto.
5731
a10c9419
CV
57322001-09-18 Corinna Vinschen <vinschen@redhat.com>
5733
5734 * gdb.base/ending-run.c (main): Set stdout buffersize
5735 to the same reasonable value for any target.
5736 * gdb.base/ending-run.exp: Add a regular expression
5737 to make testsuite happy on Sanyo Stormy16 target.
5738
739d0d99
CV
57392001-09-17 Corinna Vinschen <vinschen@redhat.com>
5740
5741 * gdb.base/display.c (do_loops): Add float variable `f'.
5742 Increment f in loop.
5743 * gdb.base/display.exp: Increment timeout by 60 seconds.
5744 Change float display test to use variable `f'.
5745
1b8947f0
JB
57462001-09-17 Jim Blandy <jimb@redhat.com>
5747
5748 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5749 overflowing the limited breakpoint tables on some ROM monitors
5750 (like the ROM68K).
5751
9890ac81
FCE
57522001-09-15 Frank Ch. Eigler <fche@redhat.com>
5753
5754 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5755 the "-ac" (disable access control) flag.
5756
6db765ea
JH
57572001-08-30 Jeff Holcomb <jeffh@redhat.com>
5758
5759 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5760 ints.
5761
4c32cc04
KS
57622001-08-30 Keith Seitz <keiths@redhat.com>
5763
5764 * lib/gdb.exp: Move all insight-related functionality into
5765 separate file.
5766 * lib/insight-support.exp: New file.
5767
8d6e6f81
FCE
57682001-08-29 Frank Ch. Eigler <fche@redhat.com>
5769
5770 * config/sid.exp (sid_start): Never set sid verbosity; disable
5771 expect_background {} that consumed its stdout; tolerate </dev/null.
5772 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5773
6a90e1d0
AC
57742001-08-18 Andrew Cagney <ac131313@redhat.com>
5775
5776 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5777 CLI jump command to start it.
5778 (mi_run_to_main): Fail immediatly when unexpected output.
5779
1759b3c3
AC
57802001-08-18 Andrew Cagney <ac131313@redhat.com>
5781
5782 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5783 beginning of function. Fix PR gdb/191.
5784
61d11d80
FCE
57852001-08-16 Frank Ch. Eigler <fche@redhat.com>
5786
5787 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5788 what to force sid endianness to.
5789
942a4df2
KS
57902001-08-15 Keith Seitz <keiths@redhat.com>
5791
5792 * lib/gdb.exp (gdbtk_start): Don't set environment
5793 variables for TCL_LIBRARY and friends. Insight will
5794 now figure these out for itself.
5795
0521c418
MS
57962001-08-02 Michael Snyder <msnyder@redhat.com>
5797
5798 * gdb.base/completion.exp: Remove the symbol "a64l" from
5799 the expect string; this is target-specific, and not related
5800 to what is being tested.
5801
74a9a58a
DB
58022001-08-02 Dave Brolley <brolley@redhat.com>
5803
5804 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5805
c70819fa
MS
58062001-07-25 Michael Snyder <msnyder@redhat.com>
5807
c2b8fa57
MS
5808 * gdb.base/consecutive.exp: New file. Test stepping over
5809 breakpoints on consecutive instructions.
5810 * gdb.base/consecutive.c: New file.
5811
c70819fa
MS
5812 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5813 curly braces in regular expressions.
5814
2b1a1355
MS
58152001-07-25 Michael Snyder <msnyder@redhat.com>
5816
5817 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5818 legitimate output from stepping out of main.
5819
413eca6f
KS
58202001-07-22 Keith Seitz <keiths@redhat.com>
5821
5822 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5823 the empty string, do not run the tests.
5824
7e5a9322
SC
58252001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5826
5827 * gdb.base/long_long.exp: Detect size of pointer. Take into
5828 account 2-byte pointers when testing for p/a results.
5829
de58f10f
SC
58302001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5831
d63a86f8 5832 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
5833 and defined to 1K for m68hc11.
5834 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5835 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5836 (sizeof_random_data): New variable to tell the size of the data table;
5837 don't test past this size; always run to main.
5838
d6f5fea1
SC
58392001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5840
5841 * gdb.base/return2.exp: return of long long and double fails for
5842 68HC11; don't execute these tests on that platform.
5843 * gdb.base/return.exp: Return of a double fails for 68hc11.
5844
c477543d
SC
58452001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5846
5847 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5848 tests that print a float.
5849 * call-rt-st.exp: Likewise.
5850
63cf1c79
MK
58512001-07-12 Mark Kettenis <kettenis@gnu.org>
5852
5853 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5854 running this test on Linux.
5855
112f9ab5
MC
58562001-06-24 Michael Chastain <chastain@redhat.com>
5857
5858 * gdb.base/arithmet.exp: Remove some tests to make all test names
5859 unique.
5860
4970cb0f
MS
58612001-07-03 Michael Snyder <msnyder@redhat.com>
5862
5863 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5864 the output of the ptype command.
5865
d85da69f
MS
58662001-07-02 Michael Snyder <msnyder@redhat.com>
5867
4c8a82de
MS
5868 * gdb.base/completion.exp: Don't assume that break.c is the only
5869 source file that may contain functions named "marker".
d85da69f
MS
5870 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5871
8afc772b
AC
58722001-06-28 Andrew Cagney <ac131313@redhat.com>
5873
5874 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5875 of files to delete.
5876
5877 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5878 * gdb.disasm/h8300s.exp: New file.
5879 gdb.disasm/h8300s.s: Likewise.
5880
cff22675
AC
58812001-06-27 Andrew Cagney <ac131313@redhat.com>
5882
5883 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5884 empty breakpoint tables.
5885
68c81b54
AC
58862001-06-25 Andrew Cagney <ac131313@redhat.com>
5887
5888 * lib/mi-support.exp: Update args=... part of stop-reason
5889 patterns. Accept either a list or a tuple.
5890
2dd62704
AC
58912001-06-23 Andrew Cagney <ac131313@redhat.com>
5892
5893 * lib/mi-support.exp: Remove local emacs variable defining
5894 change-log-default-name.
5895
b4127474
MC
58962001-06-22 Michael Chastain <chastain@redhat.com>
5897
5898 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5899 This is operationally compatible with the previous version.
5900
8dbfb380
JB
59012001-06-13 Jim Blandy <jimb@redhat.com>
5902
5903 * lib/gdb.exp (gdb_test): Doc fix.
5904
f2d8c86d
MC
59052001-06-10 Michael Chastain <chastain@redhat.com>
5906
5907 * gdb.base/exprs.exp: Remove a duplicate test.
5908
81564d34
JB
59092001-06-06 Jim Blandy <jimb@redhat.com>
5910
5911 * gdb.base/return2.exp (main): Use values to test float and double
5912 returns that are not NaN's, to avoid being confused by IEEE
5913 comparison rules.
5914
da55addb
MS
59152001-06-04 Michael Snyder <msnyder@redhat.com>
5916
5917 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 5918 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
5919 rather than wait for 12 more tests to time out.
5920
42c65987
JB
59212001-06-06 Jim Blandy <jimb@redhat.com>
5922
b18bced9 5923 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 5924 Don't forget to match the GDB prompt.
b18bced9 5925
42c65987
JB
5926 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5927
5b41e5f0
JB
59282001-06-04 Jim Blandy <jimb@redhat.com>
5929
5930 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5931 command.
5932
015e046f
KB
59332001-05-31 Kevin Buettner <kevinb@redhat.com>
5934
5935 * gdb.base/annota1.exp (info break): Match four or more spaces
5936 after "Address".
5937
fb1ffbbe
MC
59382001-05-31 Michael Chastain <chastain@redhat.com>
5939
5940 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5941 (dm_type_int_star): Likewise.
5942 (dm_type_long_star): Likewise.
5943 (dm_type_void_star): Likewise.
5944
5ea2a32c
KB
59452001-05-29 Kevin Buettner <kevinb@redhat.com>
5946
5947 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5948 to a known value in order to get consistent results regardless
5949 of the setting of INPUTRC or the presence or contents of .inputrc.
5950
ae23c492
MS
59512001-05-24 Michael Snyder <msnyder@redhat.com>
5952
ac55707e
MS
5953 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5954 Don't require that the main thread and the manager thread are the
5955 first in the list.
5956
ae23c492
MS
5957 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5958 debugging. If test fails, issue an "unsupported" not a "fail".
5959
400071f1
JB
59602001-05-24 Jim Blandy <jimb@redhat.com>
5961
5962 Don't assume that short is shorter than int.
5963 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5964 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 5965 this isn't true.
400071f1
JB
5966 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5967 an int, is not equal to ~0 stored in an unsigned char. This tests
5968 the same thing that the previous test meant to, but works on
5969 16-bit machines, too.
5970 ("print unsigned char != (~0)"): Same test, complemented.
5971
0816a3e5
MS
59722001-05-24 Michael Snyder <msnyder@redhat.com>
5973
5974 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 5975 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
5976 and prevents dejagnu getting out of step.
5977
f6dc23a9
KB
59782001-05-23 Kevin Buettner <kevinb@redhat.com>
5979
5980 * gdb.base/finish.exp (finish_void): Revise pattern for
5981 stopping on the call statement to not permit stopping at
5982 the start of the instructions comprising the call sequence.
5983
7dbd117d
MC
59842001-05-19 Michael Chastain <chastain@redhat.com>
5985
5986 * gdb.base/callfuncs.exp: Make all test names unique.
5987 * gdb.base/commands.exp: Make all test names unique.
5988 * gdb.base/condbreak.exp: Make all test names unique.
5989 * gdb.base/dbx.exp: Make all test names unique.
5990 * gdb.base/default.exp: Make all test names unique.
5991 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5992 and TIMEOUT messages to their corresponding PASS message.
5993 * gdb.base/ending-run.exp: Make all test names unique.
5994 * gdb.base/long_long.exp: Remove duplicate test.
5995
6b0b0a9e
KB
59962001-05-21 Kevin Buettner <kevinb@redhat.com>
5997
5998 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5999 stop on the call statement as well as the statement after the
6000 call.
6001
2caa35cb
MS
60022001-05-21 Michael Snyder <msnyder@redhat.com>
6003
6004 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
6005
40713331
EZ
60062001-05-10 Elena Zannoni <ezannoni@redhat.com>
6007
6008 * gdb.base/completion.exp: Revamp test. Make it execute on all
6009 platforms.
6010
c2c1be8d
EZ
60112001-05-10 Elena Zannoni <ezannoni@redhat.com>
6012
2c9cd303
EZ
6013 * config/gdbserver.exp (gdb_load): Handle the case
6014 in which the arguments to gdbserver are given in the
6015 baseboard configuration file.
6016 Also handle the case in which the server needs to do a
6017 load.
6018
9671de48
KS
60192001-05-07 Keith Seitz <keiths@cygnus.com>
6020
6021 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
6022 set up the display for testing.
6023 (gdbtk_start): Convert all paths to paths that tcl will like.
6024 Export target information to environment.
6025 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
6026 necessary.
6027 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
6028 (to_tcl_path): New proc to convert a given pathname into
6029 a path acceptible as an argument to a tcl command.
6030 (_gdbtk_export_target_info): New proc to export target info
6031 into the environment for gdbtk testing.
6032 (gdbtk_done): New proc to signal end-of-test.
6033
5a360f47
JB
60342001-05-06 Jim Blandy <jimb@redhat.com>
6035
6036 * restore.c: Make the code of caller0 correspond to its comment.
6037
66c756c6
MS
60382001-05-03 Michael Snyder <msnyder@redhat.com>
6039
6040 * config/sid.exp (gdb_target_sid): Check for error messages.
6041 On error or timeout, don't make expect exit (which will terminate
6042 all subsequent tests); instead just make gdb exit.
d63a86f8 6043 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
6044 return a negative value.
6045
a966fde5
JB
60462001-04-24 Jim Blandy <jimb@redhat.com>
6047
851c18e0
JB
6048 * gdb.c++/templates.exp: If we see the prompt for the overload
6049 list, but we haven't recognized any of the longer patterns,
6050 arrange for this test to fail, not hang.
6051
a966fde5
JB
6052 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
6053 variations.
6054
db144853
MC
60552001-04-22 Michael Chastain <chastain@redhat.com>
6056
6057 * gdb.c++/local.exp: Use the 'runto' library function.
6058 * gdb.c++/namespace.exp: Likewise.
6059 * gdb.c++/overload.exp: Likewise.
6060
3207ec21
KB
60612001-03-26 Kevin Buettner <kevinb@redhat.com>
6062
6063 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
6064 * gdb.base/step-line.exp: New file. Test step/next in presence of
6065 #line directives.
6066 * gdb.base/step-line.c: New file. Test program for the above.
6067 * gdb.base/step-line.inp: New file. We pretend that this file has
6068 been transformed by some other tool into step-line.c.
6069
13b57657
JB
60702001-03-21 Jim Blandy <jimb@redhat.com>
6071
6072 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
6073 unmangled operator names.
6074
754cbe1c
JB
60752001-03-20 Jim Blandy <jimb@redhat.com>
6076
6077 * gdb.threads/linux-dp.exp: Recognize an additional message
6078 generated by GDB when it doesn't understand how to debug threads
6079 on the target system.
6080
177495c9
AC
60812001-03-19 Andrew Cagney <ac131313@redhat.com>
6082
6083 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
6084
f266096b
MC
60852001-03-12 Michael Chastain <chastain@redhat.com>
6086
6087 * gdb.c++/derivation.exp: Use the 'runto' library function.
6088
cac3c2ff
MC
60892001-03-12 Michael Chastain <chastain@redhat.com>
6090
6091 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
6092
b6c11a24
MC
60932001-02-24 Michael Chastain <chastain@redhat.com>
6094
6095 * gdb.c++/ref-types.exp: Change handwritten code to library
6096 function 'runto'.
6097
6bae5bce
OF
60982001-03-16 Orjan Friberg <orjanf@axis.com>
6099
6100 * gdb.base/signals.exp: Set count to 0 explicitly.
6101
0015fd9a
MS
61022001-03-15 Mark Salter <msalter@redhat.com>
6103
6104 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
6105 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
6106 (gdb_load): Add support for additional target_info: gdb_download_size
6107 and gdb_load_timeout.
0015fd9a 6108
fc33412a
DT
6109Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
6110
6111 * gdb.base/annota1.exp: Move test of isnative to earlier in the
6112 file -- to prevent failing when the compile fails but we have no
6113 intention of running the tests anyway.
6114
6115 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
6116 tests if set.
6117
6118 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
6119 integers.
6120
6121 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
6122 * gdb.c++/namespace.exp: Ditto.
6123
115f06de
OF
61242001-03-07 Orjan Friberg <orjanf@axis.com>
6125
6126 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
6127 * gdb.base/pointers.exp: Relax pattern match of decimals.
6128
b6ba6518
KB
61292001-03-06 Kevin Buettner <kevinb@redhat.com>
6130
6131 * Makefile.in, config/abug.exp, config/cfdbug.exp,
6132 config/cpu32bug.exp, config/dve.exp, config/est.exp,
6133 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
6134 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
6135 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
6136 config/sh.exp, config/sid.exp, config/slite.exp,
6137 config/sparclet.exp, config/udi.exp, config/unknown.exp,
6138 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
6139 config/vxworks.exp, config/vxworks29k.exp,
6140 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
6141 gdb.base/all-bin.exp, gdb.base/annota1.exp,
6142 gdb.base/arithmet.exp, gdb.base/assign.exp,
6143 gdb.base/async.exp, gdb.base/attach.exp,
6144 gdb.base/bitfields.exp, gdb.base/bitops.exp,
6145 gdb.base/break.exp, gdb.base/call-ar-st.exp,
6146 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
6147 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
6148 gdb.base/commands.exp, gdb.base/completion.exp,
6149 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6150 gdb.base/constvars.exp, gdb.base/corefile.exp,
6151 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
6152 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
6153 gdb.base/ending-run.exp, gdb.base/environ.exp,
6154 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6155 gdb.base/finish.exp, gdb.base/foll-exec.exp,
6156 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
6157 gdb.base/funcargs.exp, gdb.base/help.exp,
6158 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
6159 gdb.base/logical.exp, gdb.base/long_long.exp,
6160 gdb.base/maint.exp, gdb.base/mips_pro.exp,
6161 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
6162 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
6163 gdb.base/pointers.exp, gdb.base/printcmds.exp,
6164 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
6165 gdb.base/regs.exp, gdb.base/relational.exp,
6166 gdb.base/remote.exp, gdb.base/reread.exp,
6167 gdb.base/restore.exp, gdb.base/return2.exp,
6168 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
6169 gdb.base/selftest.exp, gdb.base/setshow.exp,
6170 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
6171 gdb.base/sigall.exp, gdb.base/signals.exp,
6172 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
6173 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6174 gdb.base/step-test.exp, gdb.base/structs.c,
6175 gdb.base/structs.exp, gdb.base/structs2.exp,
6176 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
6177 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
6178 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
6179 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6180 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
6181 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
6182 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
6183 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
6184 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
6185 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
6186 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
6187 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
6188 gdb.fortran/types.exp, gdb.java/jmisc.exp,
6189 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6190 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
6191 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6192 gdb.trace/circ.exp, gdb.trace/collection.exp,
6193 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6194 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6195 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
6196 gdb.trace/report.exp, gdb.trace/save-trace.exp,
6197 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6198 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6199 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
6200 notices.
6201
dc96c6c7 62022001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
6203
6204 * gdb.base/varargs.c (find_max_double): Fix printf format string:
6205 first arg is int not float.
6206
dc96c6c7 62072001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
6208
6209 * gdb.base/reread.exp: Unsupported for non-native targets;
6210 doesn't work for remote debugging.
6211
9b0c4aeb
FN
62122001-02-19 Fernando Nasser <fnasser@redhat.com>
6213
6214 From Drew Moseley <dmoseley@redhat.com>
6215 * gdb.base/ending-run.exp: Properly handle the BSP state when
6216 stepping past the end of main.
6217
02aa71d5
MC
62182001-02-19 John Moore <jmoore@redhat.com>
6219
6220 * gdb.base/commands.exp (infrun_breakpoint_command_test):
6221 Converted HPUX fix for non-expected items following multiple
6222 step commands into general solution for all platforms.
6223
1fa449a4
MC
62242001-02-18 Michael Chastain <chastain@redhat.com>
6225
6226 * gdb.c++/classes.exp (do_tests): Change runto statements
6227 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6228 statements demangler agnostic.
6229 * gdb.c++/virtfunc.exp (do_tests): Likewise.
6230 (gdb_virtfunc_restart): Likewise.
6231
b2f9ec70
MC
62322001-02-14 Michael Chastain <chastain@redhat.com>
6233
6234 * gdb.c++/inherit.exp (do_tests): Change runto statements
6235 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6236 statements demangler agnostic.
6237
cf74b8ca
AC
6238Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
6239
6240 * gdb.threads/pthreads.exp: Unify pass/fail messages for
6241 ``continue to bkpt at common_routine in thread 2'' and ``stopped
6242 before calling common_routine 15 times'' tests.
6243
99f78f56
MC
62442001-02-11 Michael Chastain <chastain@redhat.com>
6245
6246 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
6247 Helps the test script figure out which demangler is in use.
6248 (dm_type_foo_ref): Ditto.
6249 (dm_type_int_star): Ditto.
6250 (dm_type_long_star): Ditto.
6251 (dm_type_unsigned_int): Ditto.
6252 (dm_type_void): Ditto.
6253 (dm_type_void_star): Ditto.
99707966 6254 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
6255 Probe the gdb demangler and set variables to accommodate
6256 formatting differences.
6257 (info_func_regexp): New function. Same as info_func, but
6258 matches against a regexp.
6259 (info_func): Match against a literal string.
6260 (print_addr_2): New function. Match against a literal string,
6261 which can be different from the input to gdb.
6262 (print_addr): Simply call print_addr_2 with the same argument twice.
6263 (test_lookup_operator_functions): Use demangler formatting variables.
6264 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
6265 the tests in the same order as the C++ class declaration.
6266 (test_paddr_operator_functions): Ditto.
6267 (test_paddr_overloaded_functions): Ditto.
6268 (test_paddr_hairy_functions): Use demangler formatting variables.
6269 Add reference to gdb/19 for related tests.
6270 (do_tests): Call probe_demangler.
6271
1de8f023
KB
62722001-01-30 Kevin Buettner <kevinb@redhat.com>
6273
6274 * gdb.c++/templates.cc (printf): Remove unused function definition.
6275
ca3f91ed
MS
62762001-01-26 Felix Lee <flee@redhat.com>
6277
6278 * sid.exp (sid_exit): Pass host, not target, to remote_close.
6279
62802001-01-25 matthew green <mrg@redhat.com>
6281
6282 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
6283 up sid.
6284 (sid_exit): Call `remote_pop_conn' after GDB is gone.
6285
62862001-01-25 matthew green <mrg@redhat.com>
6287
6288 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 6289 Deprecate $sid_spawn_id.
ca3f91ed
MS
6290 (sid_exit): Remove code necessary only for `spawn.'
6291
62922001-01-25 matthew green <mrg@redhat.com>
6293
6294 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
6295
fb18ec4a
MC
62962001-01-28 Michael Chastain <chastain@redhat.com>
6297
6298 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
6299 to call when tests fail. It takes gdb out of the overloaded
6300 function choice menu back to the main prompt, so that the test
6301 program stays synchronized.
6302 (set_bp_overloaded): New proc to collect all the common
6303 code for setting a breakpoint on an overloaded name. Calls
6304 take_gdb_out_of_choice_menu when needed.
6305 (menu_overload1arg): New variable to collect the repeated
6306 instances of the expected menu for an overloaded name. Change
6307 the regular expression to handle changes in g++ type encoding:
6308 "void" can be either "void" or "", and "unsigned int" can be
6309 either "unsigned int" or "unsigned".
6310 (continue_to_bp_overloaded): Change regular expressions to handle
6311 changes in g++ type encoding.
6312 (no proc): Call take_gdb_out_of_choice_menu when needed.
6313 Remove redundant calls to "info break". Accept either "canceled"
6314 or "cancelled". Change regular expressions in "info break"
6315 calls to handle changes in g++ type encoding. Give all tests
6316 unique strings.
6317
9c646a6e
BE
63182001-01-17 Ben Elliston <bje@redhat.com>
6319
6320 * config/sid.exp: New file.
6321
9549d9c1
AC
6322Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
6323
6324 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
6325
dc96c6c7 63262000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
6327
6328 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
6329 Add a RE to accept a non-ascii char if one is ever presented.
6330
b4df4f68
FN
63312000-12-20 Fernando Nasser <fnasser@redhat.com>
6332
297dd0fd 6333 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 6334
dc96c6c7 63352000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 6336
d63a86f8 6337 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
6338 in regexp. One '\' does not suffice on Linux.
6339
4a7bddb6
MC
63402000-12-09 Michael Chastain <chastain@redhat.com>
6341
6342 * gdb.base/break.exp (test_clear_command): Use a marker function
6343 rather than 'main' for the test function. Also move this
6344 test to an execution point where the marker function names are
6345 guaranteed to be bound to functions. (Executing tests after a
6346 'finish' from main runs into name conflicts with local names
6347 in __libc_start_main).
6348
dc96c6c7 63492000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
6350
6351 * gdb.base/finish.exp: New test for gdb's "finish" command.
6352 * gdb.base/return2.exp: New test for gdb's "return" command.
6353 * gdb.base/return2.c: New source file for above.
6354
dc96c6c7 63552000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
6356
6357 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
6358 * gdb.base/miscexprs.exp: Ditto.
6359 * gdb.base/pointers.exp: Ditto.
6360 * gdb.c++/derivation.exp: Ditto.
6361 * gdb.c++/local.exp: Ditto.
6362 * gdb.c++/namespace.exp: Ditto.
6363 * gdb.c++/overload.exp: Ditto.
6364 * gdb.c++/ref-types.exp: Ditto.
6365
dc96c6c7 63662000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
6367
6368 * gdb.base/constvars.exp: Test result of "up" command.
6369 * gdb.base/miscexprs.exp: Ditto.
6370 * gdb.base/pointers.exp: Ditto.
6371 * gdb.base/scope.exp: Ditto.
6372 * gdb.c++/derivation.exp: Ditto.
6373 * gdb.c++/local.exp: Ditto.
6374 * gdb.c++/namespace.exp: Ditto.
6375 * gdb.c++/overload.exp: Ditto.
6376 * gdb.c++/ref-types.exp: Ditto.
6377
44097287
FN
63782000-11-22 Michael Chastain <chastain@redhat.com>
6379
6380 * mips_pro.exp: Accept either "middle -> top -> main" or
6381 "middle -> main" in the backtrace, because gcc can optimize
6382 tail calls to jumps. Remove setup_xfail for the hppa case.
6383 Add a comment with the original warning messages from PR 3016,
6384 which was filed in 1993, to preserve them for posterity.
6385
9d2e1bab
ND
63862000-11-17 Nick Duffek <nsd@redhat.com>
6387
6388 * lib/gdb.exp (gdb_test): Override timeout with board info.
6389
1aca8eb7
ND
63902000-11-17 Nick Duffek <nsd@redhat.com>
6391
6392 * gdb.base/display.exp: Don't kill running stub. Add "again" to
6393 the second kill and detach messages.
6394
93076499
ND
63952000-11-17 Nick Duffek <nsd@redhat.com>
6396
6397 * configure.in: Add AC_EXEEXT.
6398 * configure: Regenerate.
6399 * Makefile.in (just-check): Export EXEEXT.
6400 * lib/gdb.exp ($EXEEXT): Import from environment.
6401 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
6402 expect "maint dump-me" on Cygwin.
6403 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
6404 $EXEEXT.
6405
30e87cd3
ND
64062000-11-17 Nick Duffek <nsd@redhat.com>
6407
6408 * gdb.base/break.exp: Test backtrace and finish from called
6409 function on all platforms, not just HP-UX.
6410
dc96c6c7 64112000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
6412
6413 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
6414 code from gdb_target_monitor, so it can be used independantly
6415 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 6416
dc96c6c7 64172000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
6418
6419 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
6420 * gdb.base/corefile.exp: Expect the message "Program is being
6421 debugged already" when we send the "corefile" command, since
6422 the preceeding gdb_load may have connected gdb to a remote target.
6423 * gdb.base/display.exp: Disable hardware watchpoints if new
6424 board info variable "no_hardware_watchpoints" is true.
6425 Replace single-letter commands with more readable ones.
6426 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
6427 if new board info variable "no_hardware_watchpoints" is true.
6428 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
6429 to see if stdio (printf) testing is possible.
6430 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
6431 board info variable "no_hardware_watchpoints" is true. Use new
6432 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
6433
39124dea
FN
64342000-11-13 Fernando Nasser <fnasser@redhat.com>
6435
6436 From Orjan Friberg <orjanf@axis.com>:
6437 * gdb.base/printcmds.exp: Escape curly braces followed by a number
6438 in array print pattern match.
6439
a9e2e984
FN
64402000-11-09 Fernando Nasser <fnasser@redhat.com>
6441
6442 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
6443 spelling "cancelled" to U.S. spelling "canceled" to match changes
6444 made to gdb.
6445 * gdb.c++/ovldbreak.exp: Ditto.
6446
c7db355b
PS
64472000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6448
6449 * gdb.base/callfuncs.c (main): Moved to end of file, call
6450 t_double_values to initialize the FPU before inferior calls are made.
6451 * gdb.base/callfuncs.exp: Test for register preservation after calling
6452 inferior functions. Add tests for continuining, finishing and
6453 returning from a stop in a call dummy.
6454
dc96c6c7 64552000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
6456
6457 * gdb.base/commands.exp: Break up long lines, and re-indent.
6458
dc96c6c7 64592000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
6460
6461 * config/gdbserver.exp: Rewritten from the ground up, to make it
6462 compatible with the current dejagnu tree, and to make it work with
6463 the new "gdbserver" in libremote.
6464
dc96c6c7 64652000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6466
6467 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
6468 * gdb.base/varargs.exp: Skip entire test if no printf support.
6469 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
6470 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
6471
dc96c6c7 64722000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6473
6474 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
6475 no floating point support.
6476 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
6477 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6478 * gdb.base/call-rt-st.exp: Ditto.
6479 * gdb.base/call-strs.exp: Ditto.
6480
bac5fc66
JG
64812000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
6482
6483 * gdb.base/sizeof.c: include <stdio.h>.
6484
6485 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6486 'finish', otherwise uncaptured gdb_prompt would potentially
6487 throw remaining test points out of sync.
6488
b22a6027
SB
64892000-07-26 Scott Bambrough <scottb@netwinder.org>
6490
6491 * gdb.base/recurse.exp: Run tests for all targets.
6492 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6493 gnu-oldld case on ARM.
6494 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6495 for ARM targets.
d63a86f8 6496
d8231941
AG
6497Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
6498
6499 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6500 * gdb.java/configure: Rebuild.
6501
8caabe69
AG
6502Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
6503
6504 * gdb.java/jv-exp.exp: New file.
6505
9d273ca3
AG
6506Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
6507
6508 * configure: Rebuilt.
6509 * configure.in (configdirs): Add gdb.java.
6510 * gdb.java/jmisc.java: New file.
6511 * gdb.java/jmisc.exp: New file.
6512 * gdb.java/Makefile.in: New file.
6513 * gdb.java/configure: Rebuilt.
6514 * gdb.java/configure.in: New file.
6515 * lib/java.exp: New file.
6516
4f823a66
AC
6517Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
6518
6519 * gdb.base/exprs.exp: Test casts to a pointer including over and
6520 underflow.
6521
2391e11d
AC
6522Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
6523
6524 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
6525 and the compilers sizes.
6526
54602222
ND
65272000-07-09 Nick Duffek <nsd@redhat.com>
6528
6529 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6530 (use_methods): New function.
6531 (main): Call use_methods().
6532 * gdb.c++/classes.exp (test_method_param_class): New procedure.
6533 (do_tests): Call test_method_param_class.
6534
2bec0572
ND
65352000-07-09 Nick Duffek <nsd@redhat.com>
6536
6537 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6538 spelling.
6539 (test_enums): New procedure. Move enum tests from end of script
6540 to here. Set breakpoint on function name instead of line number.
6541 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6542 (enums2): New marker function.
6543 (enums1): New function.
6544 (main): Call enums1(). Move enum tests to enums1().
6545
78492fde
AC
6546Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6547
6548 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6549 compile/link program. Update line numbers.
6550 * gdb.asm/d10v.inc: Define ``startup''.
6551 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 6552
49a2cef8
AC
6553Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6554
6555 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6556
3e6c8688
EZ
65572000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6558
6559 * gdb.base/maint.exp: Add 'maint print architecture' item to output
6560 of 'help maint print' command.
6561
9ff5cbe9
AC
6562Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
6563
6564 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6565 they use gdb_expect_list.
6566
17c579bd
AC
6567Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6568
6569 * gdb.base/commands.exp: Use ``set remote
6570 memory-read-packet-size'' instead of ``set endian big'' to test
6571 long commands.
6572
e6d71bf3
DB
65732000-06-03 Daniel Berlin <dan@cgsoftware.com>
6574
6575 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 6576 g++, and stop skipping them.
e6d71bf3
DB
6577
6578 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6579 work under g++.
6580
d63a86f8 6581 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
6582 initialization.
6583
dc96c6c7 65842000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
6585
6586 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6587 the regular expression: accept an (almost) arbitrary sequence of
6588 "frames-invalid" and "breakpoints-invalid" messages both before
6589 and after the "starting" message.
6590
dc96c6c7 65912000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
6592
6593 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 6594
dc96c6c7 65952000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
6596
6597 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6598 Relax the regular expression a little, make it pass on Solaris 8.
6599
8216cda9
KB
66002000-05-12 Kevin Buettner <kevinb@redhat.com>
6601
6602 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 6603 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
6604 Instead, it is permissible for gdb to stop on the line of the
6605 call itself.
6606
1a570b2f
MS
66072000-05-12 Michael Snyder <msnyder@.cygnus.com>
6608
6609 * gdb.base/break.exp (bp on small function, optimized file):
6610 Add a second pass pattern. The behavior differs here between stabs
6611 and dwarf for one-line functions. Stabs preserves two line symbols
6612 (one before the prologue and one after) with the same line number,
6613 but dwarf regards these as duplicates and discards one of them.
6614 Therefore the address after the prologue (where the breakpoint is)
6615 has no exactly matching line symbol, and GDB reports the breakpoint
6616 as if it were in the middle of a line rather than at the beginning.
6617
dc96c6c7 66182000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 6619
d63a86f8 6620 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
6621 rather than "send_gdb" (for consistancy).
6622
7d418785
AC
6623Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6624
6625 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6626 * gdb.c++/templates.cc: Properly check for GCC version number.
6627 * lib/compiler.cc: Likewise
6628
dc96c6c7 66292000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 6630
d63a86f8 6631 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
6632 gdb may not stop at the first line of main, due to code motion.
6633
dc96c6c7 66342000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
6635
6636 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6637 This test depends on parsing the printf output from the target.
6638 Since the sparclet stub doesn't do stdio, this will never work.
6639 * gdb.base/call-rt-st.exp: ditto.
6640 * gdb.base/call-strs: ditto.
6641
dc96c6c7 66422000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
6643
6644 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6645
6646 * gdb.base/ending-run.exp: After connecting to a remote target,
6647 but before running, the target will appear to be in a random
6648 location. Specify both a file and a line for breakpoints.
6649 Also, the function that calls main may be called 'init'
6650 rather than 'start'.
6651
a5a51225
EZ
66522000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6653
6654 * gdb.base/help.exp: Update output for add-symbol-file command.
6655
7930cc7c
FN
66562000-04-10 Fernando Nasser <fnasser@cygnus.com>
6657
6658 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6659 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6660
23e37ab1
C
66612000-04-07 J.T. Conklin <jtc@redback.com>
6662
e93c542c
C
6663 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6664
23e37ab1
C
6665 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6666
591b8fa3
PDM
6667Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6668
6669 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6670 values that can be represented exactly.
6671 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6672 above change, and to not check against the directory part of the source
6673 file name.
6674 (step into print_long_arg_list): Likewise.
6675 (print print_small_structs from print_long_arg_list): Likewise.
6676 (print print_long_arg_list): Likewise.
6677
7a495180
EZ
66782000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6679
30b53638 6680 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 6681
beb998c6
AC
6682Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6683
6684 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6685
1c689132
DB
66862000-03-25 Daniel Berlin <dan@cgsoftware.com>
6687
6688 * gdb.base/commands.exp (deprecated_command_test): Add test for
6689 deprecate with no arguments.
6690
c1790a9d
JL
66912000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6692
6693 * gdb.base/break.exp: Add new test for setting breakpoints on
6694 optimized code so we can test breakpoints work even when function
6695 prologues may be optimized away
6696
003ba290
FN
66972000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6698
6699 From David Whedon <dwhedon@gordian.com>
6700 * gdb.base/commands.exp : Added command deprecator tests.
6701
6837a0a2
DB
67022000-03-22 Daniel Berlin <dan@cgsoftware.com>
6703
6704 * gdb.base/help.exp: Added test for new apropos command.
6705
b9593231
KB
67062000-03-21 Kevin Buettner <kevinb@redhat.com>
6707
6708 * gdb.base/pointers.c (usevar): New function.
6709 (main): Make sure that global variables v_int_pointer2, rptr,
6710 and y are all referenced someplace in the program by calling
6711 usevar() on them. [Some linkers delete symbols which are
6712 never referenced. The space remains, but there's no way to
6713 get a (symbolic) handle on the variable from the debugger.]
6714
751a959b
EZ
67152000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6716
6717 * gdb.base/printcmds.c: Add typedeffed arrays.
6718
6719 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6720 procedure to test arrays that are typedef'd.
6721
73a93a32
JI
67222000-03-13 James Ingham <jingham@leda.cygnus.com>
6723
6724 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 6725 the library directories.
73a93a32 6726
fb40c209
AC
6727Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6728
6729 * configure.in (configdirs): Add sub directory gdb.mi.
6730 * configure: Re-generate.
6731
6732 * gdb.mi: New directory.
d63a86f8 6733
ee4dd2c9
AC
67342000-02-25 Scott Bambrough <scottb@netwinder.org>
6735
6736 * gdb.base/long_long.exp: Correct test suite failure when printing
6737 a long long value as a double on ARM platforms.
6738
70f0cc22
JB
67392000-02-16 Jim Blandy <jimb@redhat.com>
6740
6741 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6742 default source file is set properly before running this test.
6743
853819b8
EZ
67442000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6745
6746 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6747 gdbtk/library directory, not in gdbtcl2.
6748
dfcd3bfb
JM
67492000-02-04 Jim Blandy <jimb@redhat.com>
6750
6751 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6752 backslash from regexp pattern.
6753
6754 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6755 procedure. Use it to run all the "continue to bp overloaded"
6756 tests. Note that this changes the names of the tests slightly.
6757 If the breakpoint hit message includes a hex PC value, because
6758 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6759 from the real source code, still consider that a pass.
6760
6761 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6762 XFAIL here if the breakpoint message contains a hex address. Note
6763 similar change on 1999-11-02.
6764
6765 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6766
6767 * gdb.base/ptype.exp: Establish a default source file before
6768 calling get_debug_format.
6769
67702000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6771
6772 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6773
8b93c638
JM
67742000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6775
6776 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6777 of successive stepi commands -- while in the prologue we should see
6778 the function entry bracket.
6779
67802000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6781
6782 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6783 reach __change_mode() when stepping through the end of main().
6784
c5394b80
JM
67852000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6786
6787 * gdb.base/default.exp: Fix expected pattern.
6788 * gdb.base/help.exp: Same.
6789
0d06e24b
JM
67902000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6791
6792 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6793 Don't use xfail's because that affects only the following test.
d63a86f8 6794
0d06e24b
JM
6795 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6796 solaris or linux.
6797
6798 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6799
dc96c6c7 68002000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 6801
d63a86f8 6802 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
6803 "A syntax error" rather than "A parse error". Accept both.
6804
68052000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6806
6807 * gdb.base/default.exp: Remove OS dependent string from "target
6808 remote" test.
6809 * gdb.base/help.exp: Same for "help target remote" test.
6810
c3f6f71d
JM
68112000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6812
6813 From Jim Kingdon <kingdon@redhat.com>:
6814
6815 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6816 prompt (cleanup rather than necessity, but still might keep output
6817 from spilling to next test).
6818
68192000-01-02 Fred Fish <fnf@cygnus.com>
6820
6821 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6822 AIX, which defines them in <sys/types.h>.
6823
ed9a39eb 68241999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 6825
ed9a39eb
JM
6826 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6827 float" test.
6828
68291999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 6830
ed9a39eb 6831 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
6832
6833 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6834 outermost frame disallowed".
6835
68361999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6837
6838 * gdb.base/setvar.exp: New tests for setting the value of a struct
6839 with a constant list.
6840
68411999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6842
6843 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6844 require the user to type a cast before setting the value of a struct.
6845
de57eccd
JM
68461999-12-06 Jim Blandy <jimb@cygnus.com>
6847
6848 * gdb.base/default.exp: Expect the new 'info float' command on
6849 all i386 platforms.
6850
6851 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6852 LinuxThreads libraries that don't support debugging.
6853
c2d11a7d
JM
6854Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6855
6856 * gdb.base/remote.c: Fill the buffer with truely random data.
6857 Change the buffer type to ``unsigned char'' to simplify size
6858 arithmetic.
6859
6860 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6861 stub only handles 400-1 byte packets. Verify that the download
6862 worked.
6863
68641999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6865
6866 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6867 tests, using UNRESOLVED for the untested cases. Also, does not wait
6868 for a timeout if the prompt was received before a recognizable pattern.
6869
68701999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6871
6872 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6873
68741999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6875
6876 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6877 watchpoints.
6878
68791999-11-24 Jason Merrill <jason@casey.cygnus.com>
6880
6881 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6882
6883 * gdb.c++/local.exp: Be more flexible in recognizing local class
6884 name mangling. Don't allow horribly truncated method names.
6885 * gdb.c++/derivation.exp: Expect protected inheritance.
6886 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6887 * gdb.c++/virtfunc.exp: Likewise.
6888 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6889 when printing a nested enum.
6890
68911999-11-22 Jim Blandy <jimb@cygnus.com>
6892
6893 * gdb.base/step-test.exp: Properly await GDB's response to setting
6894 a breakpoint on the call to large_struct_by_value.
6895
6896 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6897 just because we have debug info for the `start' function.
6898
68991999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6900
6901 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6902 "Unknown signal" messages, which indicate (on LinuxThreads) that
6903 GDB doesn't know how to debug threads on this system. This is
6904 better than hanging while philosopher 0 dumps chatter into gdb.log.
6905
69061999-11-18 Tom Tromey <tromey@cygnus.com>
6907
6908 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6909
69101999-11-18 Fred Fish <fnf@cygnus.com>
6911
6912 * gdb.base/coremaker2.c: Add sample program for generating
6913 cores that is more self contained than coremaker.c. Eventually
6914 I'll add more code to this and tie it into the testsuite.
6915
4ce44c66
JM
69161999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6917
6918 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6919
69201999-11-10 Jimmy Guo <guo@cup.hp.com>
6921
6922 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6923 from $srcdir/lib/.
6924 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6925 and gdb.c++/.
6926
6927 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6928
d63a86f8 6929 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
6930 'continue with watch' test point.
6931
69321999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6933
6934 Merged from p2linux-990323-branch:
d63a86f8 6935
4ce44c66
JM
6936 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6937
11cf8741
JM
6938Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6939
6940 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6941 {limit,fixed}''. Test ``set download-write-size''.
6942
6943Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6944
6945 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6946 gdb_expect_list.
6947
6948Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6949
6950 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6951
69521999-11-03 Mark Salter <msalter@cygnus.com>
6953
6954 * gdb.base/break.exp: Fix "stub continue" pattern.
6955
69561999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6957
6958 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6959
69601999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6961
6962 * gdb.base/display.exp ("finish"): Add timeout clause.
6963
6964 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6965 plain prompt clause, so this doesn't have to time out in order to
6966 fail.
6967
6968 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6969 breakpoint hit messages include an address.
6970
6971 * gdb.base/display.exp: Don't forget to escape parens in regular
6972 expressions. Unix regexp notatation sucks.
6973
69741999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6975
6976 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6977 order for 'signalled' message.
6978
5c44784c
JM
69791999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6980
6981 From Jimmy Guo <guo@cup.hp.com>:
6982 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6983 * gdb.base/annota1.c: Add code for tests to work with.
6984
69851999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6986
6987 * gdb.base/remote.exp: New test for remote downloading settings.
6988 * gdb.base/remote.c: New file with large .data.
6989
917317f4
JM
69901999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6991
6992 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6993 for LinuxThreads support, merged from the Code Fusion branch.
6994
6995Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6996
6997 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6998 containing exp_continue into a while within an expect. Don't
6999 attempt a start more than three times. Check return value from
7000 gdb_load.
d63a86f8 7001
2df3850c
JM
7002Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
7003
7004 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
7005 a pass case.
7006
2acceee2
JM
70071999-10-01 Kevin Buettner <kevinb@cygnus.com>
7008
7009 * gdb.base/break.c (main): Added a statement that we can step
7010 off of.
7011 * gdb.base/break.exp: Added tests for setting a breakpoint
7012 at an offset and stepping onto a breakpoint.
7013
70141999-10-01 Fred Fish <fnf@cygnus.com>
7015
d63a86f8 7016 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
7017 gdb output.
7018
c2c6d25f
JM
70191999-09-18 Jim Blandy <jimb@cris.red-bean.com>
7020
7021 * gdb.base/break.exp: Code locations are in hex, don't forget!
7022 (For HP-UX.)
7023
70241999-09-17 Stan Shebs <shebs@andros.cygnus.com>
7025
7026 * condbreak.exp: Use break.c as test program.
7027 * condbreak.c: Remove, redundant with break.c.
7028
70291999-09-15 Stan Shebs <shebs@andros.cygnus.com>
7030
7031 * config/monitor.exp (gdb_target_monitor): Disable X- and
7032 Z-packets if the target needs it.
7033
70341999-09-13 James Ingham <jingham@leda.cygnus.com>
7035
7036 * gdb.c++/overload.exp: Added tests for listing overloaded
7037 functions with function pointers in the arg, explicitly calling
7038 out the version you want.
7039
cff3e48b
JM
70401999-09-09 Stan Shebs <shebs@andros.cygnus.com>
7041
7042 * long_long.exp: Add variations of test cases that work for
7043 targets with 16-bit ints and 32-bit doubles.
7044
d4f3574e
SS
70451999-09-08 Stan Shebs <shebs@andros.cygnus.com>
7046
7047 * break.c (main): Compare a possibly-uninitialized argc with an
7048 unlikely value that fits in 16 bits.
7049
70501999-09-07 Stan Shebs <shebs@andros.cygnus.com>
7051
7052 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
7053 0xfeeb, don't want negative numbers if ints are 16 bits.
7054
7055 * lib/gdb.exp (skip_cplus_tests): New proc.
7056 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
7057 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
7058 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
7059 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
7060 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
7061 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
7062 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
7063 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
7064
7065 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
7066
7067Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
7068
7069 * gdb.base/corefile.exp (up): Allow a parameter to appear
7070 in the frame that we're going up to.
7071
7072 From Jim Blandy <jimb@cygnus.com>:
7073
7074 * gdb.base/default.exp (info float): Expect some output now.
7075
7076 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
7077 returning floating-point values to fail on the x86.
7078 * gdb.base/callfwmall.exp (do_function_calls): Same.
7079
7080 * gdb.base/list.exp (test_listsize): Correct expectations for
7081 listing line 1 with listsize 2. Also, listing a single line
7082 works now, as does listing three lines. [Kevin's note: There
7083 were a number of other cases fixed too where the expectations
7084 differed...]
7085
70861999-09-02 Stan Shebs <shebs@andros.cygnus.com>
7087
7088 * gdb.base/selftest.exp: Add case for when version prints as
7089 constant string instead of char pointer.
7090
104c1213
JM
70911999-08-25 Stan Shebs <shebs@andros.cygnus.com>
7092
7093 * gdb.base/ending-run.exp: Add Solaris case for what happens when
7094 stepping out of main.
7095
7096 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
7097 G++ used.
7098
7099 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
7100 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
7101
7102 * gdb.c++/ovldbreak.exp: Update match string in test that
7103 includes a warning of multiple breakpoints.
7104
71051999-08-24 Stan Shebs <shebs@andros.cygnus.com>
7106
7107 * gdb.base/display.exp: Improve precision of step-after-finish
7108 added yesterday.
7109
7110 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
7111 test.
7112
7113 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
7114 configs when using G++, not just hppa*.
7115
71161999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7117
7118 * gdb.base/async.c: New file.
7119 * gdb.base/async.exp: New file.
7120
7121Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
7122
7123 * gdb.base/break.exp: Tweak PA specific tests to properly handle
7124 PA64.
7125
53a5351d
JM
7126Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
7127
104c1213
JM
7128 * gdb.base/display.exp: "finish" can leave us mid-line on many
7129 targets, deal with it. Add a small constant to main, instead of
7130 1000 since main+1000 may not be a valid address in the target.
7131
53a5351d
JM
7132 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
7133 on hpux11.
7134
7135 * gdb.base/attach.exp: Handle another hpux11 error message variant
7136 when attaching to a process that does not exist.
7137
71381999-08-19 J.T. Conklin <jtc@redback.com>
7139
7140 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
7141 characters in 'continue to 1241' test.
7142
71431999-08-17 Stan Shebs <shebs@andros.cygnus.com>
7144
7145 * gdb.base/call-ar-st.exp: Add a shorter match case for the
7146 stop in print_long_arg_list, define and use a whitespace
7147 variable in print_small_structs test, add an XFAIL for Solaris.
7148 * gdb.base/dbx.exp: XFAIL func commands until somebody is
7149 interested enough to fix.
7150
7be570e7
JM
71511999-08-13 Keith Seitz <keiths@cygnus.com>
7152
7153 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
7154 (dbx_gdb_load): Remove. Use gdb_load instead, since that
7155 proc knows about targets other than the natives.
7156 (test_assign): Use "gdb_run_cmd" to "run" the target.
7157 Check that we've actually hit the breakpoint at main.
7158 When we attempt to assign a value to a local variable, check
7159 that the variable is in the current scope, i.e., don't use
7160 a test with an empty result.
7161
7162Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
7163
7164 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
7165 command.
7166
71671999-08-09 Stan Shebs <shebs@andros.cygnus.com>
7168
7169 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7170 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
7171 gdb.compat, gdb.threads-hp.
7172 gdb.hp/configure, gdb.hp/configure.in: New files.
7173 gdb.hp/Makefile.in: Recurse into new subdirs.
7174 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
7175 gdb.hp/gdb.objdbg: New directory, tests for debugging info
7176 in object files.
7177 gdb.hp/tools: New directory, aux tools for HP-specific tests.
7178
96baa820
JM
71791999-08-05 Stan Shebs <shebs@andros.cygnus.com>
7180
7181 * gdb.base/display.exp: Help expect by putting a newline in the
7182 funky printf, remove a bogus p/a test.
7183
71841999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7185
7186 * gdb.base/display.exp: Make sure that when we say 'run', we are
7187 connected to the target. This is necessary when running not
7188 natively.
7189
71901999-08-03 Stan Shebs <shebs@andros.cygnus.com>
7191
7192 * gdb.base/step-test.exp: Removed some extraneous messages.
7193
7194 * gdb.base/long_long.exp: Don't run memory examination tests
7195 on little-endian targets (they will need a different set of
7196 results to match).
7197
71981999-08-02 Stan Shebs <shebs@andros.cygnus.com>
7199
7200 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
7201 until somebody decides to fix GDB.
7202
7203 * gdb.base/long_long.c: Stop compiler complaint by specifying long
7204 constant as "ULL".
7205 * gdb.base/long_long.exp: Loosen x/c test, add partial result
7206 matches for a couple x/2 commands.
7207
a0b3c4fd
JM
72081999-07-30 Stan Shebs <shebs@andros.cygnus.com>
7209
7210 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
7211 by merging in ref-types2 tests.
7212 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
7213
7214 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7215 * gdb.c++/Makefile.in: Add standard actions.
7216 (EXECUTABLES): Rename from PROGS, update list.
7217 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
7218 from gdb.hp.
7219 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
7220 foo and bar locals.
7221 * gdb.c++/anon-union.exp: Fix tests to match.
7222 * gdb.c++/classes.exp: Run if HP compiler used, add extra
7223 expect matches to handle output variations.
7224 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
7225 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
7226 output, add HP alternatives for new and delete prints.
7227 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
7228 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
7229 * gdb.c++/demangle.exp: Use $style when reporting failure.
7230 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
7231 * gdb.c++/inherit.exp: Run if HP compiler used, add some
7232 match alternatives.
7233 * gdb.c++/local.exp: Add match alternatives or xfails for HP
7234 compilers.
7235 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
7236 * gdb.c++/method.exp: Add match alternatives.
7237 * gdb.c++/misc.cc: Add bool types.
7238 * gdb.c++/misc.exp: Add tests for bool types.
7239 * gdb.c++/overload.exp: Add xfails.
7240 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
7241 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
7242 add some more template parameter tests (only for HP currently).
7243 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
7244 * gdb.c++/virtfunc.cc: Add return type and value for main.
7245 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
7246 match alternatives.
d63a86f8 7247
a0b3c4fd
JM
72481999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7249
7250 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
7251
72521999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
7253
7254 * gdb.base/signals.exp: Don't expect getting a backtrace from
7255 within a signal handler to fail on Linux.
7256
72571999-07-29 Stan Shebs <shebs@andros.cygnus.com>
7258
7259 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7260 * lib/gdb.exp: Remove some gratuitious semicolons.
7261 (delete_breakpoints): Increase timeout.
7262 (gdb_expect): Add -notransfer option.
7263 (gdb_test): Use -notransfer option.
7264 (get_compiler_info): Add f77 case.
7265 (get_compiler): New proc, split out from gdb_preprocess, add f77
7266 case.
7267 (gdb_preprocess): Call get_compiler.
7268
7269 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
7270 * gdb.base/attach.exp, gdb.base/display.exp,
7271 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
7272 gdb.base/long_long.exp, gdb.base/printcmds.exp,
7273 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
7274 third arg to gdb_test.
7275 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
7276 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
7277 HP-UX xfails, add others.
7278 * gdb.base/completion.exp: Reflect name change of self-test.
7279 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
7280 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
7281 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
7282 HP failure number.
7283 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
7284 useless HP-UX 10.30 references.
7285 * gdb.base/maint.exp: Loosen matches.
7286 * gdb.base/pointers.c (main): Declare more_code.
7287 * gdb.base/pointers.exp: Match on output of a `next'.
7288 * gdb.base/structs.c: Add prototypes.
7289 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
7290 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
7291
72921999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7293
7294 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
7295 command.
7296
72971999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7298
7299 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
7300 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
7301
7302 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
7303 debug info. Deal with lack of signal hanlder info in stack.
7304
7305 From Jim Kingdon <kingdon@redhat.com>:
7306 * gdb.base/annota1.exp: If printf has debug info, deal with it.
7307
5a2468f5
JM
73081999-07-19 Stan Shebs <shebs@andros.cygnus.com>
7309
7310 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
7311 gdb.base/foll-vfork.exp: Don't run for crosses.
7312
adf40b2e
JM
7313Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
7314
7315 * gdb.base/configure.in: Check for gdbvars.exp instead of
7316 a1-selftest.exp.
7317 * gdb.base/configure: Re-generate.
7318
73191999-07-12 Stan Shebs <shebs@andros.cygnus.com>
7320
7321 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
7322 in trying to run first and name is too long.
7323
7324 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
7325 pointers2.c and pointers2.exp, respectively.
7326 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
7327 doschk happier.
7328
43e526b9
JM
73291999-07-08 Stan Shebs <shebs@andros.cygnus.com>
7330
7331 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
7332 callfuncs2.c and callfuncs2.exp.
7333
7334 * gdb.base/list.exp: Remove mistaken xfails.
7335 * gdb.base/list0.h: Add optional prototypes.
7336
9846de1b
JM
7337Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
7338
7339 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
7340 calling malloc.
7341 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
7342 * ptype.exp: Move test for get_debug_format to before its first
7343 use.
7344
73451999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7346
7347 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
7348 * gdb.base/annota2.cc, annota2.exp: Move from here.
7349 * gdb.c++/annota2.cc, annota2.exp: To here.
7350 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
7351
43ff13b4
JM
7352Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
7353
7354 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
7355 a consistent format.
7356
085dd6e6
JM
73571999-06-25 Stan Shebs <shebs@andros.cygnus.com>
7358
7359 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7360 * lib/gdb.exp (get_compiler_info): Add detection for assorted
7361 HP compilers, also set the globals $true and $false.
7362
7363 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
7364 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
7365 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
7366 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
7367 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
7368 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
7369 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
7370 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
7371 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
7372 whatis.c} Add C++ compatible function definitions and return
7373 types, add includes for library functions.
7374 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
7375 * gdb.base/step-test.c (myglob): Rename from glob.
7376 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
7377 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
7378 files, move here from gdb.hp.
7379 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
7380 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
7381 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
7382 Adjust line numbers in regexps.
7383
7384 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
7385 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
7386 instead of 0/1.
7387
7388 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
7389 foll-vfork.exp: New files, move here from gdb.hp.
7390 * gdb.base/page.exp: New file, test of pagination command.
7391
7392 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
7393 recursion test.
7394 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
7395
7396 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
7397 gdb.base/solib.exp: Fix compiler invocation process.
7398
7399 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
7400 HP-UX 11, turn off overload resolution explicitly.
7401 * gdb.base/commands.exp: Set argument list explicitly, add
7402 watchpoint test.
7403 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
7404 them work.
7405 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
7406 expressions properly.
7407 * gdb.base/corefile.exp: Loosen the match slightly.
7408 * gdb.base/default.exp: Allow "Error accessing memory" message
7409 also.
7410 * gdb.base/display.exp: Skip over x/0 j if PA64.
7411 * gdb.base/funcargs.exp: Add xfails for HP-UX.
7412 * gdb.base/interrupt.exp: Ditto.
7413 * gdb.base/langs.exp: Add symbolic matches governed by compiler
7414 in use.
7415 * gdb.base/list.exp: Add xfails for HP-UX.
7416 * gdb.base/long_long.exp: Refine some of the numeric matches.
7417 * gdb.base/mips_pro.exp: Xfail on HP-UX.
7418 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
7419 * gdb.base/nodebug.exp: Succeed on more varieties of output.
7420 * gdb.base/opaque.exp: Remove some HP-UX xfails.
7421 * gdb.base/ptype.exp: Succeed on more varieties of output.
7422 * gdb.base/scope.exp: Add xfails for HP-UX.
7423 * gdb.base/sect-cmd.exp: Add more cases.
7424 * gdb.base/setvar.exp: Add xfails for HP-UX.
7425 * gdb.base/shlib-call.exp: Loosen some matches slightly.
7426 * gdb.base/signals.exp: Match on void symbolically.
7427 * gdb.base/step-test.exp: Add case for PA64.
7428 * gdb.base/term.exp: Add exit and restart.
7429 * gdb.base/twice.exp: Clean up after self.
7430 * gdb.base/varargs.exp: Disable overload resolution explicitly.
7431 * gdb.base/whatis.exp: Allow more ways to pass tests.
7432
7433 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
7434 no longer useful.
7435
7436Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
7437
7438 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
7439 list of patterns.
7440 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
7441 print_double_array(double_array)", "continuing to breakpoint
7442 1018", "print print_double_array(array_d)" and "continuing to
7443 1034" tests.
d63a86f8 7444
085dd6e6
JM
74451999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
7446
7447 * Makefile.in: Add empty html and install-html targets.
7448
74491999-06-24 Stan Shebs <shebs@andros.cygnus.com>
7450
7451 * config/mt-*: Remove, these haven't been used since 1996.
7452
74531999-06-22 Stan Shebs <shebs@andros.cygnus.com>
7454
7455 * gdb.base/call-strs.c, gdb.base/ending-run.c,
7456 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
7457 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
7458
9e0b60a8
JM
74591999-06-18 Stan Shebs <shebs@andros.cygnus.com>
7460
7461 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
7462 simpler match case for the ptype of the big class.
7463
74641999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7465
7466 * gdb.exp: Fix test for gdb_prompt existence.
7467
74681999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7469
7470 * gdb.exp (gdb_test): Add fail after calls to perror.
7471
74721999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7473
7474 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7475
74761999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7477
7478 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7479
0f71a2f6
JM
7480Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
7481
7482 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
7483 malloc() is linked in.
7484
74851999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
7486
7487 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7488 step at end.
7489
7490 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7491
74921999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
7493
7494 * gdb.java/jv-print.exp: New file. (Our first Java test!)
7495
cce74817
JM
7496Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
7497
7498 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7499 * gdb.base/mips_pro.exp: Likewise.
7500
75011999-06-02 Keith Seitz <keiths@cygnus.com>
7502
7503 * gdb.c++/templates.cc: Change all "new" operators to throw
7504 an exception.
7505 * gdb.c++/cplusfuncs.cc: Likewise.
7506
7507 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7508
7509Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
7510
7511 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7512 * gdb.base/ending-run.exp: When stepping out of main, accept a
7513 step into an arbitrary assembler file.
7514
392a587b
JM
75151999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7516
d63a86f8 7517 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 7518 "breakpoint-invalid" to be printed.
d63a86f8 7519 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
7520 number of "frames-invalid" and "breakpoint-invalid" to be printed.
7521 * gdb.base/annota2.cc: Initialize a.x to 0.
7522
9e086581
JM
75231999-05-17 Keith Seitz <keiths@cygnus.com>
7524
7525 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7526 when "skip_float_tests" set.
7527 Ditto for "print print_double_array(array_d)", "print print_small_structs",
7528 "print print_ten_doubles", and "step into print_long_arg_list".
7529 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7530 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7531 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7532 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7533 "skip_float_tests" is set.
7534 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7535 when "skip_float_tests" set.
d63a86f8 7536
cd0fc7c3
SS
75371999-05-06 Keith Seitz <keiths@cygnus.com>
7538
7539 * gdb.base/annota2.cc: Include stdio.h.
7540
7541Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
7542
7543 * gdb.base/crossload.exp: Remove, this has been disabled ever
7544 since BFD stopped including all targets, and cross-GDB gets
7545 plenty of testing anyway.
7546 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7547 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7548 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7549 * gdb.base/README: Remove, was doc for this.
7550 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7551 needed.
7552
b83266a0
SS
75531999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7554
7555 * gdb.base/call-ar-st.exp: Fix one regular expression in test
7556 output.
7557
7558 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7559 * gdb.base/annota2.exp: New file. More annotation tests.
7560 * gdb.base/annota1.c: New file. Source file for annota1.exp.
7561 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7562
75631999-04-23 Angela Marie Thomas <angela@cygnus.com>
7564
7565 * config/cfdbug.exp: New file.
7566
7a292a7a
SS
75671999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
7568
7569 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7570 Marcus Daniel's and Dale Hawkins's demangler crashes.
7571
7572 * gdb.c++/demangle.exp (test_gnu_style_demangling,
7573 test_lucid_style_demangling, test_arm_style_demangling,
7574 test_hp_style_demangling): Try Tom Tromey's core-dumping
7575 identifier under each demangling style.
7576
75771999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
7578
7579 * gdb.c++/demangle.exp: Include the current demangling style
7580 in all test names.
7581 (current_demangling_style): New global variable.
7582 (set_demangling_style, test_demangling_core, test_demangling,
7583 test_demangling_exact): New functions.
7584 (test_gnu_style_demangling, test_lucid_style_demangling,
7585 test_arm_style_demangling, test_hp_style_demangling): Use those,
7586 instead of calling gdb_test and gdb_test_exact directly.
7587 (catch_demangling_errors): New function, which reports errors
7588 signalled by the demangling test functions in an orderly way.
7589 (do_tests): Use catch_demangling_errors.
7590
75911999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7592
7593 * gdb.base/signals.exp (test_handle_all_print): Use () for
7594 grouping in expressions, not {}.
7595
7596 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7597 initialized yet.
7598
75991999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7600
7601 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7602 are listed.
7603
76041999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7605
7606 * gdb.stabs/weird.exp: Test for CC being defined before
7607 looking at its value.
7608
76091999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7610
7611 * gdb.base/call-ar-st.exp: Remove stray '#'.
7612 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7613 "short int" and "long int".
7614 * gdb.c++/overload.cc: Cast the string added in the previous
7615 change, to mollify finicky HP compiler.
7616 * gdb.hp/reg-test.exp (testfile): Fix file name.
7617 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 7618
7a292a7a
SS
7619 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7620 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7621 alternate form of enum ptype.
7622
c906108c
SS
76231999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7624
7a292a7a
SS
7625 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7626 * gdb.hp/*.exp: Change all to run compiler probe only after
7627 passing skip_hp_tests, so as not to waste time on guaranteed
7628 failure.
7629
c906108c
SS
7630 * gdb.c++/overload.cc: Pass string instead of char addr, always
7631 init ccpfoo.
7632 * gdb.c++/templates.cc: Fix syntax error.
7633
7a292a7a
SS
7634Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7635
7636 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 7637 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
7638 command.
7639
76401999-03-18 James Ingham <jingham@cygnus.com>
7641
7642 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7643
7644 * gdb.c++/method.exp: It was testing an uninitialized int on the
7645 stack and assuming it was positive.
7646
7647 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7648
7649 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 7650 keep it from killing the rest of the tests.
7a292a7a
SS
7651 Use gdb_continue_to_end.
7652
7653 * gdb.base/sigall.exp: use gdb_continue_to_end.
7654
7655 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7656
7657 * gdb.base/display.exp: use runto_main, not run.
7658
d63a86f8
RM
7659 * gdb.base/default.exp: Check for the current error message in the
7660 r abbreviation test.
7a292a7a
SS
7661 Add strongarm to the targets that know info float.
7662
d63a86f8 7663 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
7664 run which doesn't work with monitors.
7665
7666 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7667
7668 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7669
7670 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
7671 program. Traps the case (in Cygmon) when the program never really
7672 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
7673 more places, so I used my name. Sorry Mark...
7674
7675 * config/monitor.exp (gdb_target_monitor): added another
7676 target_info parameter: remotebinarydownload. This will set the
7677 remotebinarydownload flag if this is causing some boards trouble.
7678
76791999-03-18 Mark Salter <msalter@cygnus.com>
7680
7681 * lib/gdb.exp (continue_to_exit): New function.
7682
7683 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7684 * gdb.base/ending-run.exp: Ditto.
7685 * gdb.base/step-test.exp: Ditto.
7686
76871999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7688
7689 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7690 (suggested by Art Haas <ahaas@neosoft.com>).
7691
76921999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7693
7694 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7695
7696Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7697
7698 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7699 descriptions of types (short unsigned int vs unsigned short, etc).
7700
77011999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7702
7703 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7704 a call to strlen; sometimes we do have sources.
7705
77061999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
7707
7708 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7709 character, so GDB won't print garbage after its end.
d63a86f8 7710
c906108c
SS
7711 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7712 breakpoint there instead. Sometimes GCC emits memcpy to handle
7713 the large structures being passed by value, so we step into that
7714 instead of sum_array_print, which obscures what we're really testing.
7715 * gdb.base/step-test.exp: However, we do want a test that notices
7716 the bizarre steps into memcpy, so do that here. Add check for
7717 stepping into function calls that pass large structures by value.
7718 ("Is that a noun clause, or are you just happy to see me?")
7719 Remove all references to specific line numbers.
7720 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7721 New type and function.
7722 (main): Call large_struct_by_value, passing it a large struct by value.
7723 * lib/gdb.exp (gdb_get_line_number): New function.
7724
7725 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7726 more portable.
7727
7a292a7a
SS
77281999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7729
c906108c
SS
7730 * lib/gdb.exp: Doc fixes.
7731
7a292a7a
SS
77321999-03-05 Nick Clifton <nickc@cygnus.com>
7733
d63a86f8 7734 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
7735
77361999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7737
c906108c
SS
7738 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7739 commands. They're not germane to this test, and they don't work
7740 that way on remote targets.
7741
3fc11d3e
JM
77421999-03-01 James Ingham <jingham@cygnus.com>
7743
7744 * Changelog entries merged over from gdb development branch.
7745
3fc11d3e
JM
7746 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7747
7748 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7749 for outputting results of test run.
7750
2d4a1622 7751 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
7752
7753 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 7754
7a292a7a
SS
77551999-02-25 Felix Lee <flee@cygnus.com>
7756
7757 * lib/gdb.exp (debug_format): initialize
7758
c906108c
SS
77591999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7760
7761 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7762 * gdb.base/call-rt-st.c: Ditto.
7763
c906108c
SS
77641999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7765
7766 * gdb.threads/pthreads.exp (horiz): New variable.
7767 (test_startup): Fix regexps that capture thread numbers.
7768
77691999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7770
7771 * gdb.base/smoke.exp: Disambiguate two test case names (both
7772 called ``print'').
7773
7774Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7775
7776 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7777 compilation.
7778
77791999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7780
7781 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7782 actual output formatting.
7783 * gdb.base/smoke.exp: GDB removes leading 0's.
7784 * gdb.base/volatile.exp: Don't check type of remuneration;
7785 that variable is no longer defined in constvars.c.
7786 * gdb.base/step-test.c (main): Exit with explicit exit code.
7787 * gdb.base/step-test.exp: Remove two nexti checks--they are
7788 not portable.
7789
77901999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7791
7792 * gdb.base/help.exp ("help delete display"): Fix test to match
7793 gdb's output.
7794
7795 * gdb.base/long_long.c (known_types): Initialize values to zero.
7796 * gdb.base/long_long.exp: Step one more line
7797 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 7798 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
7799 unique test case names.
7800
7801Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7802
d63a86f8 7803 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
7804
7805 * gdb.c++/method.exp: Add missing close brace.
7806
78071999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7808
7809 * gdb.base/maint.exp: Use 'set height 0' to disable page
7810 prompting, not 'set height 400'.
7811
7812 Fix a bunch of timeouts.
7813 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7814 four separate tests, so expect doesn't take forever to match a ton
7815 of text against a regexp with lots of .* forms.
7816 ("maint print psymbols", "maint print symbols"): Make some of
7817 these greps more selective, so that expect doesn't try to wade
7818 through huge piles of output and time out.
7819
7820 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7821
7822 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7823 tests: one which doesn't expect shlib events to be reported, and
7824 another which does, but is XFAIL for all platforms other than
7825 HP/UX.
7826
7827 * gdb.base/break.exp: Teach the test suite that the `catch
7828 fork', `catch vfork', and `catch exec' commands produce error
7829 messages on platforms that don't provide these features.
7830
7831Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7832
7833 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7834 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7835 (shortening names from solib_threshold.exp etc), won't run on
7836 anything but HP-UX for the foreseeable future.
7837 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7838 reflect move.
7839
7840Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7841
7842 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7843 gdb.trace/Makefile.in (clean): Remove all test executables.
7844
7845Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7846
7847 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7848 successfully re-sets breakpoints in shared libraries.
7849 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7850
7851Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7852
d63a86f8
RM
7853 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7854 and compiled w/o GCC.
c906108c
SS
7855
7856 * gdb.hp/watch-cmd.exp: ditto.
7857
7858 * gdb.hp/watch-hp.exp: ditto.
7859
7860 * gdb.hp/xdb1.exp: ditto.
7861
7862 * gdb.hp/xdb2.exp: ditto.
7863
7864 * gdb.hp/dbx.exp: ditto.
7865
7866Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7867
7868 * constvars.c: Remove C++-isms.
7869 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7870 with GCC.
7871
7872Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7873
7874 The following changes are part of the HP merge.
7875
7876 * gdb.base/break.exp: new tests to verify that catchpoints for
7877 fork, vfork, and exec don't trigger inappropriately.
7878
7879 * gdb.base/opaque.exp: compile one file at a time, then link.
7880
7881 * gdb.base/signals.exp: be more restrictive about which hppa
7882 systems receive a setup_xfail. new tests.
7883
7884 * gdb.base/solib_threshold.build: new file.
7885 * gdb.base/solib_threshold.exp: new file.
7886 * gdb.base/solib_threshold.link_opts: new file.
7887 * gdb.base/solib_threshold.mk: new file.
7888 * gdb.base/gen_solib_threshold.c: new file.
7889
7890 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7891 tests. New tests for enums inside classes.
7892
7893 * gdb.c++/compiler.cc: indicate support of template debugging.
7894
7895 * gdb.c++/demangle.exp: run hp style demangling tests.
7896
7897 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7898 tests.
7899
7900 * gdb.c++/misc.cc: changes to support new tests.
7901
7902 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7903 to support new tests.
7904
7905 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7906 gcc, then skip these tests.
7907
7908Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7909
7910 The following files are part of the HP merge; some had longer
7911 names at HP, but have been renamed to be no more than 14
7912 characters in length.
7913
7914 * gdb.hp/ambiguous.cc: new file.
7915 * gdb.hp/ambiguous.exp: new file.
7916 * gdb.hp/attach.exp: new file.
7917 * gdb.hp/attach2.exp: new file.
7918 * gdb.hp/classes-hp.exp: new file.
7919 * gdb.hp/ctti.exp: new file.
7920 * gdb.hp/ctti-add.cc: new file.
7921 * gdb.hp/ctti-add1.cc: new file.
7922 * gdb.hp/ctti-add2.cc: new file.
7923 * gdb.hp/ctti-add3.cc: new file.
7924 * gdb.hp/dbx.exp: new file.
7925 * gdb.hp/exception.cc: new file.
7926 * gdb.hp/exception.exp: new file.
7927 * gdb.hp/foll-exec.c: new file.
7928 * gdb.hp/foll-exec.exp: new file.
7929 * gdb.hp/foll-fork.c: new file.
7930 * gdb.hp/foll-fork.exp: new file.
7931 * gdb.hp/foll-vfork.c: new file.
7932 * gdb.hp/foll-vfork.exp: new file.
7933 * gdb.hp/inherit-hp.exp: new file.
7934 * gdb.hp/more-steps.exp: new file.
7935 * gdb.hp/namespace.cc: new file.
7936 * gdb.hp/namespace.exp: new file.
7937 * gdb.hp/optimize.exp: new file.
7938 * gdb.hp/pxdb.c: new file.
7939 * gdb.hp/pxdb.exp: new file.
7940 * gdb.hp/quicksort.exp: new file.
7941 * gdb.hp/reg-test.exp: new file.
7942 * gdb.hp/reg-test.s: new file.
7943 * gdb.hp/sized-enum.c: new file.
7944 * gdb.hp/sized-enum.exp: new file.
7945 * gdb.hp/start-stop.exp: new file.
7946 * gdb.hp/templ-hp.cc: new file.
7947 * gdb.hp/templ-hp.exp: new file.
7948 * gdb.hp/thr-lib.c: new file.
7949 * gdb.hp/thr-lib.exp: new file.
7950 * gdb.hp/thr-lib.h: new file.
7951 * gdb.hp/thr-liblib.c: new file.
7952 * gdb.hp/virtfun-hp.c: new file.
7953 * gdb.hp/virtfun-hp.exp: new file.
7954 * gdb.hp/watch-cmd.exp: new file.
7955 * gdb.hp/watch-hp.exp: new file.
7956 * gdb.hp/xdb1.exp: new file.
7957 * gdb.hp/xdb2.exp: new file.
7958 * gdb.hp/xdb3.exp: new file.
7959
7960Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7961
7962 The following files are part of the HP merge; some had longer
7963 names at HP, but have been renamed to be no more than 14
7964 characters in length.
7965
7966 * gdb.base/ss.h: new file.
7967 * gdb.base/call-ar-st.c: new file.
7968 * gdb.base/call-ar-st.exp: new file.
7969 * gdb.base/call-rt-st.c: new file.
7970 * gdb.base/call-rt-st-exp: new file.
7971 * gdb.base/call-strs.exp: new file.
7972 * gdb.base/ena-dis-br.exp: new file.
7973 * gdb.base/environ.exp: new file.
7974 * gdb.base/long_long.exp: new file.
7975 * gdb.base/sect-cmd.exp: new file.
7976 * gdb.base/shlib-cl2.exp: new file.
7977 * gdb.base/smoke.exp: new file.
7978 * gdb.base/so-impl-ld.c: new file.
7979 * gdb.base/so-impl-ld.exp: new file.
7980 * gdb.base/so-indr-cl.c: new file.
7981 * gdb.base/so-indr-cl.exp: new file.
7982 * gdb.base/varargs.exp: new file.
7983 * gdb.base/volatile.exp: new file.
7984 * gdb.base/whatis-exp.exp: new file.
7a292a7a 7985 * gdb.base/display.exp: new file.
c906108c
SS
7986 * gdb.c++/derivation.exp: new file.
7987 * gdb.c++/local.exp: new file.
7988 * gdb.c++/member-ptr.exp: new file.
7989 * gdb.c++/overload.exp: new file.
7990 * gdb.c++/ovldbreak.exp: new file.
7991 * gdb.c++/ref-types.exp: new file.
7992 * gdb.c++/ref-types2.exp: new file.
7993 * gdb.c++/userdef.exp: new file.
d63a86f8 7994
c906108c
SS
7995Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7996
7997 * gdb.base/default.exp: Reflect wording change in remote.c.
7998
dc96c6c7 7999Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8000
8001 * gdb.base/help.exp: Update to reflect current text.
8002
8003Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
8004
8005 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
8006 they're stack variables and contain garbage.
8007 * gdb.c++/anon-union.exp: new file.
8008
8009 The following changes were made by David Taylor
8010 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
8011 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
8012 in changes by HP.
8013
8014 * gdb.base/bitops.exp: new file.
8015 * gdb.base/default.exp: change expected messages for catch and
8016 info catch tests to reflect HP merge changes.
8017 * gdb.base/enable-disable-break.exp
8018 * gdb.base/ending-run.c: new file.
8019 * gdb.base/long_long.c: new file.
8020 * gdb.base/maint.exp: new file.
8021 * gdb.base/pointers2.exp: new file.
8022 * gdb.base/shlib-call2.exp: new file.
8023 * gdb.base/solib.exp: new file.
8024 * gdb.base/step-test.c: new file.
8025 * gdb.c++/anon-union.cc: new file.
8026 * gdb.c++/local.cc: new file.
8027 * gdb.c++/member-pointer.cc: new file.
8028 * gdb.c++/method.cc: new file.
8029 * gdb.c++/ref-types.cc: new file.
8030 * gdb.c++/ref-types2.cc: new file.
8031 * gdb.c++/userdef.cc: new file.
d63a86f8 8032
c906108c
SS
8033 * gdb.base/scope.exp: compile one file at a time, then link.
8034 * gdb.base/langs.exp: ditto.
8035 * gdb.base/list.exp: ditto.
d63a86f8 8036
c906108c
SS
8037Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
8038
8039 The following changes were made by David Taylor
8040 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
8041 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
8042 in changes by HP.
d63a86f8 8043
c906108c
SS
8044 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
8045 skip tests. When compiling pass c++ flag to gdb_compile.
8046 * gdb.c++/
d63a86f8 8047
c906108c
SS
8048 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
8049 test for on hppa*-*-hpux*; use args to see if c++ was specified.
8050 (skip_hp_tests): new function.
8051 (gdb_preprocess): new function.
8052
8053 * configure.in (hpdir): decide whether to configure gdb.hp.
8054 * configure: regenerated.
8055
8056 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
8057 to delete on clean.
8058 (EXECUTABLES): update to reflect new additions.
8059 * gdb.base/commands.exp: update message expected.
8060 * gdb.base/default.exp: add copyright notice.
8061 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
8062 * gdb.base/help.exp: update messages to reflect current text.
8063 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
8064 targets for recurse tests.
8065 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
8066 skip this file.
8067
8068 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
8069 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
8070 compilation.
8071 * gdb.c++/misc.exp: ditto.
8072 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
8073 run the tests. tell gdb_compile that it's a c++ compilation.
8074
8075 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 8076
c906108c
SS
8077 * gdb.base/all-bin.exp: new file.
8078 * gdb.base/arithmet.exp: new file.
8079 * gdb.base/assign.exp: new file.
8080 * gdb.base/completion.exp: new file.
8081 * gdb.base/cond-expr.exp: new file.
8082 * gdb.base/condbreak.exp: new file.
8083 * gdb.base/define.exp: new file.
8084 * gdb.base/dollar.exp: new file.
8085 * gdb.base/environment.exp: new file.
8086 * gdb.base/eval-skip.exp: new file.
8087 * gdb.base/jump.exp: new file.
8088 * gdb.base/logical.exp: new file.
8089 * gdb.base/pointers.exp: new file.
8090 * gdb.base/relational.exp: new file.
8091 * gdb.base/section_command.exp: new file.
8092 * gdb.base/whatis-expr.exp: new file.
8093
8094 * gdb.base/all-types.c: new file.
8095 * gdb.base/call-array-struct.c: new file.
8096 * gdb.base/call-return-struct.c: new file.
8097 * gdb.base/call-strings.c: new file.
8098 * gdb.base/callfuncs2.c: new file.
8099 * gdb.base/condbreak.c: new file.
8100 * gdb.base/constvars.c: new file.
8101 * gdb.base/display.c: new file.
8102 * gdb.base/int-type.c: new file.
8103 * gdb.base/jump.c: new file.
8104 * gdb.base/miscexprs.c: new file.
8105 * gdb.base/pointers.c: new file.
8106 * gdb.base/pointers2.c: new file.
8107 * gdb.base/shmain.c: new file.
8108 * gdb.base/shr1.c: new file.
8109 * gdb.base/shr2.c: new file.
8110 * gdb.base/solib.c: new file.
8111 * gdb.base/solib1.c: new file.
8112 * gdb.base/solib2.c: new file.
8113 * gdb.base/varargs.c: new file.
8114 * gdb.c++/derivation.cc: new file.
8115 * gdb.c++/overload.cc: new file.
8116 * gdb.c++/ovldbreak.cc: new file.
8117 * gdb.hp/attach.c: new file.
8118 * gdb.hp/attach2.c: new file.
8119 * gdb.hp/average.c: new file.
8120 * gdb.hp/compiler.c: new file.
8121 * gdb.hp/compiler.cc: new file.
8122 * gdb.hp/execd-program.c: new file.
8123 * gdb.hp/follow-exec.c: new file.
8124 * gdb.hp/follow-fork.c: new file.
8125 * gdb.hp/follow-vfork-and-exec.c: new file.
8126 * gdb.hp/misc-hp.cc: new file.
8127 * gdb.hp/more-steps.c: new file.
8128 * gdb.hp/optimize.c: new file.
8129 * gdb.hp/quicksort.c: new file.
8130 * gdb.hp/run-hp.c: new file.
8131 * gdb.hp/start-stop.c: new file.
8132 * gdb.hp/sum.c: new file.
8133 * gdb.hp/templates-hp.cc: new file.
8134 * gdb.hp/thread-local-in-lib.c: new file.
8135 * gdb.hp/thread-local-in-lib.h: new file.
8136 * gdb.hp/thread-local-in-lib.lib.c: new file.
8137 * gdb.hp/vforked-program.c: new file.
8138 * gdb.hp/virtfunc-hp.cc: new file.
8139 * gdb.hp/watchpoint-hp.c: new file.
8140 * gdb.hp/xdb.c: new file.
8141 * gdb.hp/xdb0.c: new file.
8142 * gdb.hp/xdb0.h: new file.
8143 * gdb.hp/xdb1.c: new file.
8144
8145Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
8146
8147 The following change was made by Edith Epstein
8148 <eepstein@cygnus.com> as part of a project to merge in changes
8149 originally made by HP; HP did not create ChangeLog entries.
8150
8151 * gdb.c++/demangle.exp: changed the expected output for some
8152 ARM-style mangling -- removed second reference to datatype.
8153 For example, maint demangle __dt__11T1__pt__2_cFv
8154 T1<char>::~T1<char>(void)
8155 becomes,
8156 maint demangle __dt__11T1__pt__2_cFv
8157 T1<char>::~T1(void)
8158
8159 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 8160
c906108c
SS
8161Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
8162
8163 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
8164 * gdb.trace/backtrace.exp: Likewise.
8165 * gdb.trace/circ.exp: Likewise.
8166 * gdb.trace/collection.exp: Likewise.
8167 * gdb.trace/deltrace.exp: Likewise.
8168 * gdb.trace/infotrace.exp: Likewise.
8169 * gdb.trace/limits.exp: Likewise.
8170 * gdb.trace/packetlen.exp: Likewise.
8171 * gdb.trace/passc-dyn.exp: Likewise.
8172 * gdb.trace/passcount.exp: Likewise.
8173 * gdb.trace/report.exp: Likewise.
8174 * gdb.trace/save-trace.exp: Likewise.
8175 * gdb.trace/tfind.exp: Likewise.
8176 * gdb.trace/tracecmd.exp: Likewise.
8177 * gdb.trace/while-dyn.exp: Likewise.
8178 * gdb.trace/while-stepping.exp: Likewise.
8179
81801998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
8181
8182 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
8183
8184Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
8185
8186 From Brendan Kehoe:
8187 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
8188 int return types.
8189
8190Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
8191
8192 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
8193 remote dos host testing right.
8194
8195Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
8196
8197 * gdb.base/corefile.exp: remove some xfails.
8198
8199Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
8200
8201 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
8202 have different timestamps.
8203
8204Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
8205
8206 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
8207 gdb.base/default.exp: Replace "exec" with "executable".
8208
8209Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
8210
8211 * gdb.base/default.exp: Change else if to elseif from previous
8212 delta.
8213
8214Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
8215
8216 * gdb.base/default.exp: Add brace missing from previous delta.
8217
8218Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
8219
8220 * gdb.base/default.exp: Support test for info float for all
8221 varieties of arm toolchain.
8222
dc96c6c7 8223Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8224
8225 * gdb.trace/*.exp: remove "remote_download" command.
8226
dc96c6c7 8227Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8228
8229 * gdb.trace/*.exp: remove -gdwarf from compile.
8230
8231Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
8232
8233 * gdb.trace/configure.in(AC_INIT): typo
8234 * gdb.trace/configure: regenerated
8235
dc96c6c7 8236Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8237
8238 * config/m68k-emc.exp: New file.
8239 * lib/<emc-support.exp trace-support.exp}: New files.
8240 * configure.in: add new test directory gdb.trace.
8241 * gdb.trace/{configure configure.in Makefile.in}: New files.
8242 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
8243 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
8244 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
8245 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
8246 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
8247 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
8248 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 8249
dc96c6c7 8250Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8251
8252 * gdb.c++/classes.exp: Change all regular expressions to match
8253 arbitrary combinations of newline/carriage-return, so that they
8254 will work equally well on Unix and Windows.
8255 * gdb.c++/inherit.exp: ditto.
8256 * gdb.c++/virtfunc.exp: ditto.
8257
82581998-08-11 Dawn Perchik <dawn@cygnus.com>
8259
8260 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
8261
c2d11a7d
JM
8262Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
8263
8264 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
8265 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
8266 to use a0-a3/d0-d3 as needed.
8267
8268Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
8269
8270 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
8271 * gdb.disasm/am33.exp: Corresponding changes.
8272
c906108c
SS
82731998-07-11 Felix Lee <flee@cygnus.com>
8274
8275 * gdb.base/callfuncs.exp: add cmp10 test.
8276 * gdb.base/callfuncs.c (cmp10): new function.
8277
8278Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
8279
d63a86f8 8280 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
8281 into two parts to get around a synchronization problem in expect.
8282
3fc11d3e
JM
8283Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
8284
8285 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
8286
8287 * configure.in: Add options for gdbtk testsuite.
8288
8289 * configure: Regenerate.
8290
8291 * gdb.gdbtk: New directory to hold gdbtk tests.
8292
c906108c
SS
8293Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8294
8295 * gdb.fortran/types.exp: Escape brackets in expect patterns
8296 for test_float_literal_types_accepted tests.
8297 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
8298 before run test.
8299
c2d11a7d
JM
8300Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
8301
8302 * am33.exp: Just compile, do not link the testcase.
8303 * am33.s: Add ".am33" pseudoop to force am33 mode.
8304
c906108c
SS
83051998-06-25 Felix Lee <flee@cygnus.com>
8306
8307 * gdb.base/setshow.exp: make sure $pc is sane.
8308
8309 * gdb.stabs/weird.exp: split expect patterns properly.
8310
c2d11a7d
JM
8311Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
8312
8313 * gdb.disasm/am33.s: New disassembler testfile for the am33.
8314 * gdb.disasm/am33.exp: Run it.
8315
dc96c6c7 8316Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8317
8318 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
8319 match processing (and eliminate spurious timeouts when running).
8320
dc96c6c7 8321Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8322
8323 * gdb.base/signals.exp (test_handle_all_print): put back Mach
8324 exception test, but conditionalize it on target [mach | gnu].
8325
dc96c6c7 8326Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8327
8328 * gdb.base/overlays.exp: fixup compile line for linker script.
8329
8330Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
8331
8332 * gdb.fortran/types.exp: don't guess at float size.
8333
8334Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
8335
8336 * gdb.base/exprs.exp: delete test that depends on int size.
8337
8338Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
8339
8340 * config/sim.exp: Removed checks for target triplets.
8341 (gdb_target_sim): Use gdb,target_sim_options.
8342
8343Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
8344
8345 * gdb.base/reread.exp: New file.
8346 * gdb.base/reread1.c: New file.
8347 * gdb.base/reread2.c: New file.
8348
8349Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
8350
8351 * config/sim.exp: Use 'target sim -sparclite' when running
8352 SPARClite programs.
8353
8354Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
8355
8356 * gdb.base/structs2.exp: New file.
8357 * gdb.base/structs2.c: New file.
8358
8359Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
8360
8361 * gdb.asm/common.inc: New file.
8362 * gdb.asm/d10v.inc: New file.
8363 * asm-source.exp: Pass -I's to gas to find .inc files.
8364 Update line numbers in expected output.
8365 * asmsrc1.s: Rewrite.
8366 * asmsrc2.s: Rewrite.
8367 * configure.in: Create arch.inc symlink.
8368 * configure: Regenerate.
8369 * Makefile.in (distclean): Delete arch.inc.
8370
8371Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
8372
8373 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
8374 (t_enum_value2): ditto
8375 (t_enum_value3): ditto
8376 (main): ditto
8377Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8378
8379 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
8380 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
8381 change.
8382 Use gdb_test instead of send_gdb/gdb_expect sequences.
8383
8384Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
8385
8386 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
8387 not void.
8388
8389Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
8390
8391 * gdb.base/branches.c: Code with lots of loops and
8392 subroutines. Used to test gdbs ability to single step through PC
8393 changes, especially to test mips-tdep.c:mips_next_pc
8394
8395Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
8396
8397 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
8398 more rigorous EGCS C++ error checking.
8399
8400Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8401
8402 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 8403 tests.
c906108c 8404 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 8405 function when asleep.
c906108c 8406 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
8407 for i*86 Linux and SVR4 signal handling problems.
8408 Remove linux xfail for `next to handler in signals_tests_1', fixed
8409 by recent infrun.c change.
c906108c 8410 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 8411 stack backtraces.
c906108c
SS
8412 Adjust expect pattern in `handle all print' test to match Apr 28 1997
8413 target.[ch] change.
8414
8415Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
8416
8417 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
8418 for a newline from gdb before continuing.
8419 (default_gdb_exit): Just look for y or n.
8420 (gdb_test): Detect abnormal exit from GDB running on DOS; if
8421 it does, fail the rests of the tests in the file.
8422
8423Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
8424
8425 * config/cygmon.exp: New file.
8426
8427Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
8428
8429 * gdb.base/list.exp: Fix problem with "list default lines around
8430 main" test on remote targets.
8431
8432 * gdb.base/scope.exp: Fix problem with filelocal_bss before
8433 run test on remote targets.
8434
8435Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
8436
8437 * gdb.asm: New directory.
8438 * configure.in: Configure it.
8439 * configure: Regenerate.
8440 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
8441 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
8442
8443Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
8444
8445 * config/mn10300-eval.exp: New file to support MN10300 eval board.
8446
dc96c6c7 8447Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8448
c906108c
SS
8449 * gdb.base/overlays (several files): Merge the two overlay
8450 managers into one. Change variables (foox, barx, bazx, grbxx)
8451 back into ints but force them to load in their proper sections.
8452
8453Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
8454
8455 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
8456 on-chip insn memory and IMAP1 to upper 128k.
8457 (D10VCopy): Handle memory regions crossing 16k boundaries.
8458 (D10VCopy): Transfer data in 32 bit chunks.
8459
8460Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
8461
8462 * gdb.base/overlays.c (main): Exit normally when result is
8463 correct.
8464
8465 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
8466 map. Include space for printf in .text segment.
8467
8468 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
8469 updated d10v memory VMA/LMA map.
8470 (D10VCopy): Call D10VTranslate.
d63a86f8 8471
c906108c
SS
8472Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
8473
8474 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8475
8476 * gdb.base/bar.c (barx, bar): Change variable to small array so
8477 that it won't be put into the .sdata - small data -
8478 section. Update reference.
8479 * gdb.base/baz.c (bazx, baz): Ditto.
8480 * gdb.base/foo.c (foox, foo): Ditto.
8481 * gdb.base/grbx.c (grbxx, grbx): Ditto.
8482
8483 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8484 to be arrays.
d63a86f8 8485
dc96c6c7 8486Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8487
c906108c
SS
8488 * gdb.base/overlays.exp: fix up and get working again.
8489 Add tests for backtraces from an overlay function.
d63a86f8 8490
c906108c
SS
8491Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
8492
8493 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8494 "calling function with watchpoint enabled".
8495
8496Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
8497
8498 * gdb.base/break.exp (test_next_with_recursion): Remove
8499 gdb_suppress_tests for d10v-*-*.
8500 * lib/gdb.exp (gdb_suppress_tests): Disable this function
8501 pending review of whether it is useful or not.
8502
8503Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
8504
8505 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8506
8507Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
8508
8509 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8510 * config/dve.exp: New file to support Densan boards.
8511
8512Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
8513
8514 * gdb.base/interrupt.exp: Document problem of simulators, signals,
8515 reads and BSD.
8516
8517Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
8518
8519 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8520 response.
8521
8522 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8523
8524Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
8525
8526 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8527 test.
8528
8529 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8530 target_sizeof_long and target_bigendian_p.
8531 (structs_by_value, structs_by_reference): Check values according
8532 to targets word size and endianess.
d63a86f8 8533
c906108c
SS
8534Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
8535
8536 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8537 output.
8538
8539Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
8540
8541 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8542 Update test of set args help to match source change.
8543
8544Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
8545
8546 * gdb.base/default.exp: Expect help system output to be in
8547 alphabetical order.
8548 * gdb.base/help.exp: Ditto.
8549
8550Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
8551
8552 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8553 "i*86-pc-linux-gnu*".
8554 * gdb.base/interrupt.exp: Ditto.
8555 * gdb.base/corefile.exp: Ditto.
8556
8557 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8558 define vxworks when building the testcase.
8559
8560 * gdb.base/ptype.exp: Fix testnames to be unique.
8561 * gdb.base/radix.exp: Ditto.
8562 * gdb.base/term.exp: Ditto.
8563 * gdb.base/whatis.exp: Ditto.
8564 * gdb.c++/classes.exp: Ditto.
8565
8566Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
8567
8568 * gdb.base/callfuncs.exp: Fix indentation.
8569
8570 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8571 suppress_flag has been set.
8572 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8573 target feature.
8574
8575Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
8576
8577 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8578 the testcase.
8579
8580 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8581 set_debug_traps() and breakpoint().
8582 * gdb.c++/misc.cc (main): Ditto.
8583 * gdb.c++/templates.cc (main): Ditto.
8584 * gdb.c++/virtfunc.cc (main): Ditto.
8585
8586Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8587
8588 * lib/gdb.exp(gdb_step_for_stub): New function.
8589 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8590 exists, reload the executable and do a "continue" instead of
8591 doing a jump.
8592 (runto_main): Use gdb_step_for_stub.
d63a86f8 8593
c906108c
SS
8594 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8595 tests to have unique names.
8596 * gdb.base/callfuncs.exp: Ditto.
8597 * gdb.base/commands.exp: Ditto.
8598 * gdb.base/default.exp: Ditto.
8599 * gdb.base/help.exp: Ditto.
8600 * gdb.base/list.exp: Ditto.
8601 * gdb.base/opaque.exp: Ditto.
8602 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8603 similar tests.
d63a86f8 8604
c906108c
SS
8605 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8606 * gdb.c++/cplusfuncs.cc: Ditto.
8607 * gdb.c++/virtfunc.cc: Ditto.
8608
8609 * config/monitor.exp: Keep track of the last file we saw, rather
8610 than trying to get the info from gdb.
8611
8612 * gdb.fortran/types.exp: Move comment to previous line.
8613
8614Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8615
8616 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8617 target mode.
8618
8619Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8620
8621 From Bob Manson:
8622 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8623 string from GDB when it connects.
8624
8625 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8626
8627Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8628
8629 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8630 if we can't get a debug format from GDB (we may be testing an
8631 older GDB). Use a 10 second timeout when checking for the format.
8632
8633 * gdb.stabs/weird.exp: Fix quoting.
8634
8635 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8636
8637Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8638
8639 * config/arm-ice.exp: New file.
8640
8641Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8642
8643 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8644 until it has been modified to work with the new testsuite.
8645
99707966 8646 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
8647 testcase won't compile, cause all of the testcases in the file to
8648 fail instead.
8649
8650 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8651 (gdb_clear_suppressed): New procedure.
8652 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8653 it contains a positive value.
8654
8655Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8656
8657 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8658
8659 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8660
8661Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8662
8663 * lib/gdb.exp (setup_xfail_format): New function.
8664 (get_debug_format): New function to get debug format.
8665 (debug_format): New global variable to hold last value set
8666 by get_debug_format.
8667 * gdb.base/list.exp: Call get_debug_format and expect some
8668 tests to fail for DWARF 1 and COFF formats.
8669 * gdb.c++/ptype.exp: Ditto.
8670 * gdb.c++/classes.exp: Ditto.
8671 * gdb.c++/cplusfuncs.exp: Ditto.
8672 * gdb.c++/inherit.exp: Ditto.
8673 * gdb.c++/templates.exp: Ditto.
8674 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 8675
c906108c
SS
8676Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8677
8678 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8679 host doesn't have a currently-open connection.
8680
8681 * config/sparclet.exp: Cleanups and fixes to make it generic for
8682 any gdb stub target. Handle cases where gdb doesn't respond when
8683 interrupted in a sane fashion.
8684
8685 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8686 same thing in a totally different way.
8687
8688 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8689 setting "timeout".
8690 (gdb_start): We set the global gdb_prompt variable in
8691 default_gdb_init now.
8692
8693Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8694
8695 * gdb.base/printcmds.exp: Fix "check for floating addition"
8696 regexp to accept results within approx +/- .01 of exact value.
8697 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8698
8699Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8700
8701 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8702 properly.
8703 (gdb_expect): Add optional timeout parameter, and add timeout
8704 value to various calls.
8705 (gdb_suppress_tests): Only give one warning message per group.
8706
8707Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8708
8709 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8710 global variables. Handle getting a value for $timeout more
8711 gracefully.
8712
8713Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8714
8715 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8716 initialize.
8717 (default_gdb_init): New procedure; allow gdb_init to be overridden
8718 by a target configuration file.
8719 (gdb_expect): Pass the timeout to remote_expect.
8720
8721 * config/monitor.exp(gdb_load): Fix typo in regexp.
8722
8723Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8724
8725 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8726
8727Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8728
8729 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8730 here. Call gdb_target_exec before rebooting the target, to make
8731 sure the connection to the target is closed.
8732 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8733 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8734 Also detect "Timeout reading from remote" error.
8735
8736 * config/gdbserver.exp: Pass the executable being loaded to
8737 gdb_target_monitor. Don't call gdb_file_cmd here; let
8738 gdb_target_monitor do it.
8739
8740 * gdb.disasm/hppa.exp: Don't use exec_output.
8741
8742Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8743
8744 * gdb.base/list.exp: If we're debugging a non-native target,
8745 try to set the pc register to point to the start of the
8746 program before doing the first list command.
8747
8748 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8749 test_calls after restarting.
8750
8751 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8752 reloading.
8753
8754 * gdb.base/watchpoint.exp: Fix typo.
8755
8756 * gdb.base/setshow.exp: Check for use_gdb_stub.
8757
8758 * gdb.base/break.exp: Fix continue until exit test for the gdb
8759 stub case.
8760 * gdb.base/langs.exp: Ditto.
8761
8762 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8763 gdb_load_offset. If we weren't given a file to load, figure out
8764 what the current file is and use it.
8765
8766 * config/i386-bozo.exp: New file.
8767
8768Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8769
8770 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8771 feature.
8772
8773 * config/proelf.exp: New entry.
8774
8775Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8776
8777 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8778 of regexps.
8779
8780 * gdb.base/watchpoint.exp: Don't run the test_stepping
8781 tests if gdb can't call functions on the target.
8782
8783 * gdb.base/setshow.exp: Don't run the set prompt tests if
8784 the board has gdb_prompt set.
8785
8786Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8787
8788 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8789 * gdb.base/commands.exp: Likewise.
8790 * gdb.base/setshow.exp: Likewise.
8791
8792Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8793
8794 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8795 feature.
8796
8797 * config/i960.exp: New file.
8798
8799Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8800
8801 * gdb.base/funcargs.exp: Check for gdb,short_int target
8802 feature instead of looking for explicit target triplets.
8803
dc96c6c7 8804Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 8805
d63a86f8 8806 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
8807 "p 123DEADBEEF", to check parse_number.
8808 * top.c: change "to enable to enable" to "to enable" in a couple
8809 of help strings.
8810
8811Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8812
8813 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8814 on the mn10300.
d63a86f8 8815
c906108c
SS
8816Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8817
8818 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8819 where the test executable is run with explicit args.
8820 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8821
8822Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8823
8824 * gdb.base/run.c: Use FAKEARGV to build test executable that
8825 does not require a command line arg, since most simulators
8826 don't currently support passing such an arg into the simulated
8827 program.
8828 * gdb.base/commands.exp: Change tests to insert the proper
8829 value as the arg to the first recursive factorial call. Change
8830 compilation line to define FAKEARGV at compile time.
8831
8832Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8833
8834 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8835 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8836 function with watchpoint enabled" test.
8837
8838Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8839
8840 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8841 Don't call gdb_test when the command doesn't return to a gdb prompt.
8842
8843 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8844 "Tests restarted" messages.
8845
8846Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8847
8848 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8849
dc96c6c7 8850Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8851
8852 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8853 for INFO SYMBOL; add help tests for OVERLAY commands.
8854 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8855 add tests for OVERLAY commands
8856 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8857 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8858 * gdb.base/sigall.c: add usestubs code frag
8859 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 8860
c906108c
SS
8861Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8862
8863 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8864 failures.
8865 (gdb_stop_suppressing_tests): Note that tests have restarted.
8866
8867Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8868
8869 * config/h8300.exp: New file.
8870
8871Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8872
8873 * gdb.base/setshow.exp: Check for the existence of a
8874 feature, not its value.
8875
8876Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8877
8878 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8879
8880 * gdb.base/scope.exp: It's now init0(), not init().
8881
8882 * gdb.base/scope0.c: For now, change init() to be init0().
8883
8884 * config/monitor.exp: Use gdb_serial in preference to serial
8885 or netport.
8886
8887 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8888 and it's not already set.
8889
8890Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8891
8892 * gdb.base/setshow.exp: Only test the run command if the target
8893 isn't using a stub and if it supports argument passing.
8894
8895Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8896
8897 * config/udi.exp(gdb_start): Make sure UDICONF is set
8898 properly before starting gdb.
8899
8900Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8901
8902 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8903 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8904 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8905
8906Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8907
8908 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8909 specialized code to reboot the board, use remote_reboot instead.
8910
8911 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8912
8913 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8914
8915 * config/monitor.exp: Make sure we disconnect from the target.
8916 Also, try a reboot/reload cycle instead of failing if the
8917 load fails.
8918
8919Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8920
8921 * gdb.base/default.exp: Don't set match_max.
8922 * gdb.base/help.exp: Ditto.
8923 * gdb.base/list.exp: Ditto.
8924 * gdb.base/signals.exp: Ditto.
8925
8926 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8927 set, use remote_ld to download the testcase instead of
8928 the GDB loader.
8929
8930Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8931
8932 * config/vr5000.exp: New file.
8933
8934 * config/monitor.exp(gdb_target_monitor): Add pattern for
8935 "Ending remote" to detect errors in connecting.
8936
8937 * gdb.base/setshow.exp: Add .* within auto language test.
8938
8939 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8940 target feature.
8941
8942 * config/monitor.exp(gdb_load): Check for a failure when loading,
8943 and reboot the board if necessary.
8944
8945 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8946 a set of tests. Remove print.* from the patterns being checked.
8947
8948Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8949
8950 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8951 refer to gdb_spawn_id.
8952
8953 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8954 longer used.
8955 * config/sparclet.exp: Ditto.
8956 * config/sparclet-old.exp: Ditto.
8957 * config/slite.exp: Ditto.
8958 * config/sim.exp: Ditto.
8959 * gdb.base/funcargs.exp: Ditto.
8960
8961 * lib/gdb.exp:Remove references to gdb_spawn_id.
8962 (gdb_expect): Move to remote.exp.
8963
8964Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8965
8966 * config/monitor.exp: Detect the "Couldn't establish connection"
8967 message from GDB.
8968
8969Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8970
8971 * gdb.base/bitfields.exp: Use runto instead of explicit
8972 gdb_run_cmd/gdb_expect sequences.
8973
8974 * gdb.base/break.exp(text_next_with_recursion): Add match for
8975 gdb_expect call.
8976
8977 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8978 We also need to handle the "A program is being debugged already"
8979 prompt from gdb. Use gdb_test to set the baud rate.
8980
8981 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8982 to 20000. Really. I mean it.
8983
8984Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8985
8986 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8987 fails. If suppress_flag is set, skip perror message about not
8988 being able to send to GDB.
8989 (send_gdb): If suppress_flag is set, don't try to send commands to
8990 GDB.
8991 (gdb_expect): If suppress_flag is set, always fail immediately.
8992 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8993 (gdb_init): Call gdb_stop_suppressing_tests.
8994 (default_gdb_exit): Ditto.
8995 (default_gdb_start): Ditto.
8996
8997 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8998 gdb_stop_suppressing_tests as appropriate.
8999 * gdb.base/break.exp: Ditto.
9000 * gdb.base/callfuncs.exp: Ditto.
9001 * gdb.base/commands.exp: Ditto.
9002 * gdb.base/exprs.exp: Ditto.
9003 * gdb.base/funcargs.exp: Ditto.
9004 * gdb.base/list.exp: Ditto.
9005 * gdb.base/recurse.exp: Ditto.
9006 * gdb.base/scope.exp: Ditto.
9007 * gdb.base/structs.exp: Ditto.
9008 * gdb.c++/inherit.exp: Ditto.
9009
9010Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
9011
9012 * config/vr4300.exp: New file.
9013
99707966 9014 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 9015
99707966 9016 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
9017
9018Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
9019
9020 * lib/gdb.exp(gdb_init): New function.
9021
9022 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
9023 for each individual variable set.
9024
9025 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
9026 name.
9027
9028 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
9029
9030 * gdb.base/scope.exp: Use gdb_test.
9031
9032 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
9033 aborting; the testsuite driver will do that for us (see
9034 gdb_finish). Also, use gdb_test in a few more places.
9035
9036Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
9037
9038 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
9039
9040Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
9041
9042 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
9043 and "add_tests" are not at the same address.
9044
9045Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
9046
9047 * gdb.base/ptype.exp: Use gdb_test.
9048
9049Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
9050
9051 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
9052 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
9053 left in. No longer expect them to fail.
9054
9055 * gdb.stabs/*.mt; Deleted, no longer used.
9056 * gdb.stabs/configure.in: Remove references to target makefile
9057 frags.
9058 * gdb.stabs/configure: Rebuilt.
9059
9060 * gdb.disasm/*.mt: Deleted, no longer used.
9061 * gdb.disasm/configure.in: Remove references to target makefile
9062 frags. Use "sh3.s" as the unique filename for this directory.
9063 * gdb.disasm/configure: Rebuilt.
9064
9065 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
9066 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
9067 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
9068
9069Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
9070
9071 * config/udi.exp: Use mondfe,name instead of remote_host.
9072
9073Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
9074
9075 * gdb.base/watchpoint.exp: Don't expect a failure when calling
9076 a function with a watchpoint enabled on the mn10200.
9077
9078 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
9079 before trying to create it!
9080
9081Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
9082
9083 * config/vx.exp: Use hostname instead of netport.
9084
9085 * config/vxworks.exp: New file.
9086
9087 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
9088
9089 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
9090 gdb before assuming everything worked. Send a ^C if a timeout
9091 occurs.
9092
9093 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
9094 $gdb_spawn_id directly.
9095 (gdb_run_cmd): Try _start as well as start. Use the target feature
9096 gdb,start_symbol as the symbol to start from when jumping.
9097
9098Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
9099
9100 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
9101 redundant) test.
9102
9103 * gdb.base/recurse.exp: Relax final value test for 'b' so that
9104 it doesn't lose for 16bit integer systems.
9105
9106Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
9107
9108 * gdb.fortran/types.exp: If the target doesn't support "double"
9109 data types, then expect "real" types to only be 4 bytes.
9110
9111 * gdb.c++/virtfunc.exp: Expect failure for virtual function
9112 call tests if the target doesn't support inferior function calls.
9113
9114 * gdb.base/printcmds.exp: Allow minor deviation in FP values
9115 in printf tests.
9116
9117Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
9118
9119 * gdb.base/help.exp: Disable "help set", "help show", and
9120 "help support". Simplify regexp for "help stack".
9121
9122 * gdb.base/default.exp: Set match_max to 5000 and the timeout
9123 to 60 seconds. Temporarily set match_max to 15000 around the
9124 "info copying" test.
9125
9126 * gdb.base/nodebug.exp: Don't try to do an inferior function
9127 call if the target doesn't support them.
9128 * gdb.base/printcmds.exp: Likewise.
9129 * gdb.base/setvar.exp: Likewise.
9130 * gdb.base/structs.exp: Likewise.
9131 * gdb.c++/templates.exp: Likewise.
9132 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
9133
9134 * gdb.base/recurse.exp: Enable for the mn10200.
9135
9136 * configure.in: Do configure gdb.stabs directory for *-*-elf
9137 targets.
9138 * configure: Rebuilt.
9139
9140 * gdb.base/break.exp: Check for gdb,noresults before testing
9141 exit status and/or results from the target.
9142 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
9143 * lib/gdb.exp: Remove old (now bogus) initialization of
9144 noinferior, noargs, noresults and nosignals.
9145
9146Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
9147
9148 * config/sh.exp: New file.
9149
9150 * config/slite.exp: Try to connect multiple times to the board
9151 before rebooting. Only send a "monitor run" if need_monitor_run
9152 is set.
9153
9154 * gdb.base/break.exp: Don't do the "stub continue" test if
9155 the target has gdb_stub set.
9156
9157 * gdb.base/callfuncs.exp: Increase the timeout.
9158
9159 * gdb.base/interrupt.exp: Don't even try to compile the testcase
9160 if the target has gdb,noinferiorio set.
9161
9162 * gdb.base/list.exp: Increase match_max to 10000 characters.
9163
9164 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
9165
9166 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
9167 target.
9168
9169 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
9170
9171Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
9172
9173 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
9174 trying to delete the copy of gdb. Catch the file delete so we
9175 don't die if the delete fails; also, the file should be copied to
9176 the host, not to the build.
9177
9178Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
9179
9180 * lib/gdb.exp(gdb_test): Surround the result pattern with
9181 parenthesis in case it contains multiple regexps separated
9182 with |.
9183
9184 * gdb.base/watchpoint.exp: Use gdb_test.
9185 * gdb.base/default.exp: Ditto.
9186
9187Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
9188
99707966 9189 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 9190
c906108c
SS
9191 * gdb.base/scope.exp: Use gdb_test.
9192 * gdb.c++/classes.exp: Ditto.
9193 * gdb.c++/inherit.exp: Ditto.
9194
9195Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
9196
9197 * gdb.base/crossload.exp: Don't use execute_anywhere, use
9198 remote_exec instead.
9199 * gdb.base/corefile.exp: Don't be ridiculous.
9200 * gdb.base/*.c: Add missing stub invocations.
9201
9202Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
9203
9204 * config/slite.exp: Miscellaneous fixes.
9205
9206 * lib/gdb.exp: Fix runto.
9207
9208 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
9209 the target.
9210
9211 * gdb.base/watchpoint.exp: Fix regexp.
9212
9213 * lib/gdb.exp(default_gdb_exit): Add a catch to the
9214 close and wait commands, as the descriptor may now be
9215 invalid. Always call "remote_close host".
9216
9217Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
9218
9219 Major rewrite for testsuite revision.
d63a86f8 9220
c906108c
SS
9221 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
9222 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
9223 instead of relying on spawn_id to always contain a valid
9224 spawn id.
9225 (get_compiler_info): New procedure to build the ${binfile}.ci
9226 file, instead of replicating this in N different places.
9227 (gdb_compile): New procedure.
d63a86f8 9228
c906108c
SS
9229 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
9230 appropriate arguments) instead of compile. Use gdb_test in a lot
9231 more places. Use send_gdb instead of send. Always run gdb_start
9232 at the start of a testcase, as this is no longer done magically.
9233
9234 config/*-gdb.exp: Rename without the -gdb suffix.
9235
9236 config/mips.exp: Use remote_close instead of exit_remote_shell.
9237 config/monitor.exp: Use target_info instead of looking at
9238 baud, timeout, etc.
9239 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
9240
9241Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9242
9243 * gdb.c++/templates.exp (test_ptype_of_templates),
9244 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
9245 Update expect patterns for destructors and assignment operators
9246 to match corresponding c-typeprint.c changes.
9247 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
9248 to destructor breakpoint test, GDB should be able to set the
9249 destructor breakpoint without specifying arguments.
9250
9251Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
9252
9253 * gdb.threads/pthreads.exp: Change result for failure to compile due
9254 to lack of pthreads runtime support from an error to simply an
9255 unsupported test, per dejagnu standards.
9256
9257Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9258
9259 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
9260 where GDB exits to reduce pattern match time.
9261 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
9262
9263 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
9264
dc96c6c7 9265Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9266
9267 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
9268 * gdb.base/default.exp: ditto.
9269 * gdb.base/nodebug.exp: ditto.
9270 * gdb.base/printcmds.exp: ditto.
9271 * gdb.base/ptype.exp: ditto.
9272 * gdb.base/setvar.exp: ditto.
9273 * gdb.base/structs.exp: ditto.
9274 * gdb.base/setshow.c: Guard against uninitialized values of argc.
9275
9276Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
9277
9278 * configure, */configure: Rebuild with autoconf 2.12.
9279
9280Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
9281
9282 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
9283 use new i*86-pc-linux*-gnu quads.
9284 * gdb.base/corefile.exp: Ditto.
9285 * gdb.base/signals.exp: Ditto.
9286 * gdb.base/sigall.exp: Ditto.
9287 * gdb.base/interrupt.exp: Ditto.
9288
9289 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
9290 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
9291 RedHat 4.0.
d63a86f8 9292
c906108c
SS
9293 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
9294 linux. This allows the test case to at least compile on latest
9295 linux, but still not run due to missing the threads runtime library.
9296
9297Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9298
9299 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
9300 directory to search gdb directory. Accept and step over conditional
9301 stack alignment code. Consume $prompt in failure cases.
9302 Reset timeout to $oldtimeout instead of some arbitrary value.
9303 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
9304 timeout problems with infinite stack backtraces.
9305 * gdb.base/ptype.exp (ptype struct link, union tu_link):
9306 Accept function parameters for linkfunc member.
9307
9308Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
9309
9310 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
9311 (CXXFLAGS): Remove, unreferenced.
9312 (B_OPTIONS): Add for -B options and add code to initialize with
9313 previous -B options and also add -B option to pick up cross compiled
9314 runtime.
9315 (TARGET_INCLUDES): Add for -I options and add code to initialize when
9316 doing cross compiles.
9317 (target_alias): Declare global.
9318 (xgcc): Set variable to full path of gcc in build tree. Use findfile
9319 to verify that gcc exists in build tree, and if so set CC to that
9320 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 9321
c906108c
SS
9322Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
9323
9324 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
9325 ptype test for anonymous union. Fixup testcase to match
9326 current gcc debug output.
9327
9328Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
9329
9330 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
9331 force argument to an unsigned long type.
9332
9333Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
9334
9335 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
9336 tests and anonymous union print/ptype tests.
9337 * gdb.base/list.exp (test_forward-search): Increase timeout by
9338 5 minutes for the "search extremely long line" case.
9339 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
9340 completely optional and that the pass/fail messages use the command as
9341 the message if that third arg is a null string.
9342 (gdb_test_exact): Arrange that a null string pattern means match a
9343 null string output rather than any output, which might include random
9344 errors.
9345 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
9346 backtrace test.
9347 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
9348 always failing and failure is now exposed by gdb.exp changes.
9349
9350Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
9351
9352 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
9353 weren't being noted.
9354
9355Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9356
9357 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
9358 * gdb.stabs/weird.exp: Remove v_comb xfails.
9359
dc96c6c7 9360Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9361
9362 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
9363 list.exp scope.exp watchpoint.exp]
9364 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 9365
dc96c6c7 9366Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9367
9368 * config/monitor.exp: Increase download timeout to 1000 seconds.
9369
dc96c6c7 9370Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9371
9372 * config/m32r.exp: Increase timeout to 120 seconds.
9373
9374Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
9375
9376 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
9377 and accept older ordering as obsolescent gcc or gdb.
9378 * gdb.c++/templates.exp: Ditto.
9379 * gdb.c++/virtfunc.exp: Ditto.
9380
9381Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
9382
9383 * gdb.base/coremaker.c: Add code to mmap some data so we
9384 can check that it ends up in the core file.
9385 * gdb.base/corefile.exp: Add test to read mmapped data
9386 from core file.
9387
dc96c6c7 9388Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9389
9390 * config/m32r.exp: New file.
9391
9392Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
9393
9394 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
9395 that cflags can contains -gstabs, and work correctly for other tests.
9396
dc96c6c7 9397Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9398
9399 * gdb.base/setshow.exp: New file, tests show and set.
9400 * gdb.base/setshow.c: New file, tests show and set.
9401 * gdb.base/help.exp: Add test for help set|show annotate.
9402 * gdb.base/default.exp: Add test for set|show annotate.
9403
9404Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
9405
9406 * testsuite/gdb.base/break.exp: Make backtrace from factorial
9407 errors unique.
9408 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
9409 explicitly.
9410
9411Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
9412
9413 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
9414 and width commands. This is done elsewhere.
9415 * (gdb_start): Don't call gdb_start_sim here. That's already
9416 done in gdb_load. This fixes lots of failures in default.exp.
9417
9418Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
9419
9420 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
9421 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
9422 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
9423 in the same we we treat other failures (since it may be an expected
9424 condition), rather than as an error.
9425 * gdb.base/signals.exp (test_handle_all_print): Revert back to
9426 old test format.
9427
9428Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
9429
9430 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
9431 (distclean maintainer-clean realclean): No need to remove files
9432 twice. Nuke the duplicates.
9433 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 9434 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
9435 Remove config.h along with other config files.
9436
9437Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
9438
9439 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
9440 "p func1 ()" and note that rests of tests are skipped.
9441 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
9442 setup_xfails for "print func2::coremaker_local".
9443 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
9444 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
9445 affected by the previous run test.
9446 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
9447 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
9448 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
9449 "pass int powerset tuple" and "pass modeless int powerset tuple".
9450 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
9451 "real write 4" and "real write 8".
9452 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
9453 setup_xfails for "print vs1 after tuple assign 2",
9454 "print \$i after tuple assign 2", and
9455 "print vs2 after tuple assign 2".
9456 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
9457 meaningful error message and return -1 so the caller can
9458 suppress further tests and avoid a cascade of errors.
d63a86f8 9459
c906108c
SS
9460Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
9461
9462 * gdb.base/a1-selftest.exp: Tweak tests to account for new
9463 format for printing version.
9464 * gdb.base/default.exp: Ditto.
9465 * gdb.base/interrupt.exp: Fix problem with cascade of
9466 errors if child process dies while calling a function.
d63a86f8 9467
c906108c
SS
9468Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
9469
9470 * Makefile.in (VPATH): Add
9471 * Makefile.in (Makefile, config.status): Fix rules so things get
9472 remade when necessary.
9473
9474Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
9475
9476 * Makefile.in (just-check): Add path to sibling expect dir
9477 to environment variable specified by RPATH_ENVVAR.
9478
9479Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
9480
9481 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9482 (just-check): Add shared library paths for libstdc++, tk,
9483 tcl, bfd, and opcodes to the environment variable specified
9484 in RPATH_ENVVAR.
9485 * configure.in: Add support to recognize --enable-shared flag
9486 and generate correct value for RPATH_ENVVAR.
9487 * configure: Regenerated with autoconf.
9488
9489Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
9490
9491 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9492 include all osf versions.
9493 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9494 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
9495 when target is linux. When failing to build pthreads test
9496 executable, give more meaningful message.
9497 * gdb.threads/pthreads.c: Hpux also uses old definition of second
9498 arg for pthread_create.
d63a86f8 9499
c906108c
SS
9500Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
9501
9502 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9503 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9504 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9505 and -lpthreads (everybody else).
9506 (test_startup): Fail gracefully if threads are not supported.
9507 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9508 "p/c array_index("abcdef",2)" when not gcc compiled.
9509 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9510 "print func2::coremaker_local" when not gcc compiled.
9511 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9512 "ptype on opaque struct tagname (statically)",
9513 "ptype on opaque struct tagname (dynamically) 1", and
9514 "ptype on opaque struct tagname (dynamically) 2"
9515 for not compiled with gcc.
9516 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9517 backtrace when compiled with gcc.
d63a86f8 9518 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
9519 than always return success.
9520
9521Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
9522
9523 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9524
9525Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
9526
9527 * gdb.base/structs.exp: Undo last change.
9528
9529Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
9530
9531 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9532 encapsulate all the steps/nexts done during self test, starting
9533 at main, and makes them less sensitive to optimization issues.
9534 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9535 signal handler" test.
9536 * gdb.threads/pthreads.exp: Only run this for native configs.
9537 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9538 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9539 tests.
9540 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9541 for "runto test_calls(void)" test.
d63a86f8 9542
c906108c
SS
9543Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
9544
9545 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9546 and don't expect address info in breakpoint confirmations.
9547
9548Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
9549
9550 * gdb.base/list.exp (test_forward_search): Increase timeout
9551 temporarily by 60 seconds for searching extremely long line,
9552 and then reset to old value when done. Increase expect input
9553 buffer to 10000.
9554
9555Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
9556
9557 * gdb.base/list.exp (test_forward_search): Fix to handle very
9558 long source line without overflowing expect's input buffer.
9559
9560Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
9561
9562 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9563 "buffer_full".
9564
9565 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9566 "buffer_full".
9567
9568 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9569 "buffer_full".
9570
9571 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9572 "buffer_full".
9573
9574Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
9575
9576 * configure.in (configdirs): Add gdb.threads.
9577 * configure: Regenerated with autoconf.
9578 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9579 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9580 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 9581
c906108c
SS
9582Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9583
9584 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9585
9586Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9587
9588 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9589 each signal's status in the output of "handle all print".
9590 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9591 the \r\n sequence that immediately precedes the gdb prompt.
9592 * gdb.base/a1-selftest.exp: Save original timeout and restore
9593 after test.
9594
9595Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9596
9597 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9598 symbol.
9599
9600Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9601
9602 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9603
9604Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9605
9606 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9607 timeout by 60 seconds.
9608
9609Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9610
9611 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9612 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9613 error return.
9614
9615Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9616
9617 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9618 gdb initialization, also report how long dejagnu waited. Restore
9619 old timeout before doing error return. Temporarily increase timeout
9620 by 3 minutes to allow for slow startups over heavy NFS use.
9621
9622Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9623
9624 * lib/gdb.exp: Report timeout value for verbosity level 2.
9625 * config/gdbserver.exp: Ditto.
9626 * config/hppro.exp: Ditto.
9627 * config/mips-gdb.exp: Ditto.
9628 * config/monitor.exp: Ditto.
9629 * config/netware.exp: Ditto.
9630 * config/sim-gdb.exp: Ditto.
9631 * config/slite-gdb.exp: Ditto.
9632 * config/udi-gdb.exp: Ditto.
9633 * config/unix-gdb.exp: Ditto.
9634 * config/vx-gdb.exp: Ditto.
9635 * gdb.base/a1-selftest.exp: Ditto.
9636 * gdb.base/a2-run.exp: Ditto.
9637 * gdb.base/break.exp: Ditto.
9638 * gdb.base/corefile.exp: Ditto.
9639 * gdb.base/list.exp: Ditto.
9640 * gdb.base/recurse.exp: Ditto.
9641 * gdb.base/scope.exp: Ditto.
9642 * gdb.base/signals.exp: Ditto.
9643
9644Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9645
9646 * gdb.threads/Makefile.in (docdir): Removed.
9647
9648Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9649
9650 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 9651 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 9652 @srcdir@.
d63a86f8 9653 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
9654 autoconf 2.5 or higher.
9655 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9656
9657Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9658
9659 * configure: Regenerated.
9660 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9661 avoid name clashes with SunOS headers.
9662
9663Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9664
9665 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9666
9667Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9668
9669 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9670 prototype information ends up in the compiler info file.
9671
9672Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9673
9674 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9675 attempting to regenerate it. Eliminate use of a temporary file
9676 and just generate the info file directly. Source it immediately,
9677 for consistency of use.
9678 * gdb.base/corefile.exp: Ditto
9679 * gdb.base/exprs.exp: Ditto.
9680 * gdb.base/funcargs.exp: Ditto.
9681 * gdb.base/langs.exp: Ditto.
9682 * gdb.base/list.exp: Ditto.
9683 * gdb.base/mips_pro.exp: Ditto.
9684 * gdb.base/nodebug.exp: Ditto.
9685 * gdb.base/opaque.exp: Ditto.
9686 * gdb.base/ptype.exp: Ditto.
9687 * gdb.base/scope.exp: Ditto.
9688 * gdb.base/setvar.exp: Ditto.
9689 * gdb.base/signals.exp: Ditto.
9690 * gdb.base/whatis.exp: Ditto.
9691 * gdb.c++/templates.exp: Ditto.
9692 * gdb.c++/virtfunc.exp: Ditto.
9693 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9694 whether or not to add -lstdc++ to the compile command line args.
9695
9696Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9697
9698 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9699 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9700 Increase timeout, a lot of single stepping might be needed if the
9701 target has no hardware watchpoints.
9702
9703Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9704
9705 * gdb.base/break.exp: Ignore compiler warnings when compiling
9706 break.c.
9707 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9708 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9709 from remote-sim.
9710 * gdb.base/exprs.exp: Add h8300 xfails.
9711 * gdb.base/funcargs.exp: Likewise.
9712 * gdb.base/nodebug.exp: Likewise.
9713 * gdb.base/printcmds.exp: Likewise.
9714 * gdb.base/ptype.exp: Likewise.
9715 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9716 h8300 xfails.
d63a86f8 9717 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
9718 on the h8300.
9719 * gdb.base/funcargs.c: Explicitly make last constant argument to
9720 call_after_alloca_subr an unsigned long type.
9721 * gdb.base/return.c: Include stdio.h.
9722
9723Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9724
9725 * config/abug.exp: New file for the older Motorola Bug monitor
9726 that runs on the mvme13x series VME boards.
9727 * config/monitor.exp: Use the new config array for target settings
9728 if they exist.
9729
9730Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9731
9732 * sim-gdb.exp: Make the SH simulator allocate less space when
9733 it is targeted.
9734
9735Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9736
9737 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9738 test.
9739
9740Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9741
9742 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9743 "rs6000-*-*" for "list function in include file" when gcc compiled.
9744 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9745 for "p ctable1[120]".
9746 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9747 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9748 Remove setup_xfail for "rs6000-*-*" for
9749 "print 'scope0.c'::filelocal before run".
9750 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9751 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9752 since some compilers don't allow both options to be given
9753 on the same command line. Create object file and move it.
d63a86f8 9754
c906108c
SS
9755Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9756
9757 * gdb.base/corefile.exp: Always regenerate the core file, since
9758 we always regenerate the coremaker program. Detect special case
9759 where registers cannot be read from core file.
d63a86f8 9760
c906108c
SS
9761Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9762
9763 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9764 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9765 * gdb.c++/templates.exp: Only match on basename of file since
9766 some formats like xcoff don't encode directory information.
9767 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9768 and rs6000 AIX xcoff targets.
9769 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9770 * configure: Regenerate.
9771 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9772 here, rather than in distclean.
d63a86f8 9773
c906108c
SS
9774Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9775
9776 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9777 defined, and use it to compile the test case with -O2. The
9778 native compilation still uses no optimization.
9779 * gdb.base/mips_pro.c: Remove inline assembly code since
9780 it is compiled PIC by default, which results in assembler
9781 warnings that make the testsuite think the compilation
9782 was unsuccessful.
9783
9784Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9785
9786 * gdb.c++/misc.exp: Add note to message for
9787 "print s.a for foo struct" that this is a known gcc 2.7.2
9788 and earlier bug.
9789
9790Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9791
9792 * gdb.base/break.exp: Fix pattern for matching "Delete all
9793 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9794 setup_xfail for deleting all breakpoints test. Fix various
9795 timeout messages to include "(timeout)".
9796 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9797 for "p t_float_values2(3.14159,float_val2)".
9798 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9799 for "continue to call2g" when gcc compiled.
9800 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9801 "up to foo in langs.exp", "show language at foo in langs.exp",
9802 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9803 and "show language at fsub in langs.exp".
9804 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9805 "list line 1 in include file", "list message for lines past EOF",
9806 "list function in include file", "list list0.h:foo", and
9807 "list filename:function; nonexistant function".
9808 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9809 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9810 and "ptype t_char_array" to be for native cc only.
d63a86f8 9811
c906108c
SS
9812Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9813
d63a86f8 9814 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
9815 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9816 "print func2::coremaker_local", and "backtrace in corefile.exp".
9817
9818Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9819
9820 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9821 "bt in signals.exp". This problem only appears when running
9822 the testsuite, and then only intermittently.
9823
9824Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9825
9826 * gdb.base/return.exp (return_tests): Differentiate between
9827 two tests of continuing.
9828
9829Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9830
9831 * */Makefile.in (maintainer-clean): Remove config.log.
9832 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9833 * gdb.c++/Makefile.in (PROGS): Add inherit.
9834 (clean): Remove *.ci.
9835
9836Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9837
9838 * gdb.c++/misc.cc: Add test code from Mike Stump.
9839 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9840
9841Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9842
9843 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9844 to "alpha-*-osf2*" and add comment.
9845 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9846 setup_xfail for "step over execarg initialization" and
9847 "step over corearg initialization".
9848 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9849 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9850 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9851 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9852 "print func2::coremaker_local", and "backtrace in corefile.exp".
9853 * gdb.base/signals.exp: Build and source signals.ci.
9854 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9855 to be for gcc only.
9856 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 9857
c906108c
SS
9858Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9859
9860 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9861 Feb 3 procfs.c change.
9862
9863Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9864
9865 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9866
9867Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9868
9869 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9870 from dejagnu's apparent default of 10 seconds, which gives random
9871 results when running the tests over NFS on moderately loaded systems.
9872 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9873
9874Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9875
9876 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9877 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9878 result reports.
9879
9880Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9881
9882 * configure.in (CY_AC_PATH_TCLH): Remove.
9883 * configure: Regenerate.
9884
9885Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9886
9887 * gdb.c++/Makefile.in (clean): Add missing '{'.
9888
9889Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9890
9891 * lib/gdb.exp: Provide a default value for noinferior.
9892
9893 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9894 Load libgloss.exp.
9895
9896Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9897
9898 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9899 the executable, not the .o to run the tests from.
9900
9901Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9902
9903 * gdb.base/break.exp: Don't test for program exit or exit status
9904 if $noresults if nonzero.
9905 * gdb.base/langs.exp: Likewise.
9906 * gdb.base/watchpoint.exp: Likewise.
9907
9908 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9909 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9910 trying to compile the testcase.
9911
9912Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9913
9914 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9915 * gdb.base/signals.exp (continue to handler): Likewise.
9916
9917Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9918
9919 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9920
9921 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9922
9923Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9924
9925 * gdb.base/corefile.exp: Recognize "not found" as failure
9926 when trying to determine if a core file was generated.
9927 If no core file was generate the first time, try again without
9928 the ulimit -c to work around braindamaged shells.
9929
9930Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9931
9932 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9933 [] tests with "test" and enclose string in quotes.
9934 * gdb.stabs/configure: Rebuild
d63a86f8 9935
c906108c
SS
9936Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9937
9938 Changes in sync with expect:
9939 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9940 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9941 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9942 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9943 argument to AC_REQUIRE.
9944 * configure: Regenerated.
9945
9946Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9947
9948 * gdb.base/corefile.exp: When generating a core, discard any
9949 error messages about ulimit not found and the "core dumped"
9950 message from the shell that runs the coredumper.
9951
9952Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9953
9954 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9955
9956 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9957 which sed script to run. Expect failure for v_comb test
9958 on PA targets too.
d63a86f8 9959
c906108c
SS
9960Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9961
9962 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9963 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9964
9965Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9966
9967 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9968 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9969 "sparc-sun-solaris*" xfails for "p v_comb".
9970 * lib/gdb.exp (default_gdb_start): Fix typo.
9971 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9972 messages to not include the full program name that caused
9973 the core dump since some systems (such as solaris) apparently
9974 truncate this path to about 80 characters.
9975 When generating a core file first try increasing the core file
9976 size limit to unlimited since some systems may default it to
9977 zero, and it is harmless to try it. Move the test for failing
9978 to generate a core file to where it will actually get executed.
9979 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9980 new gdb result from g++ debug info improvements and make old
9981 pattern obsolescent. Also account for size_t differences
9982 (may be int or long).
9983 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9984 initialization before function call is placed in the delay slot
9985 and thus appears to be skipped over by commands such as "next".
9986
9987Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9988
9989 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9990
9991Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9992
9993 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9994 input source file; fix code to compile test to deal with this
9995 convention.
9996 * gdb.c++/*.exp: Likewise.
9997
9998Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9999
10000 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
10001 "bt in signals.exp".
10002
10003Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
10004
10005 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
10006 "step over execarg initialization" and
10007 "step over corearg initialization".
10008
10009Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
10010
10011 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
10012 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
10013
10014Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
10015
10016 From Rob Savoye (rob@poseidon.cygnus.com)
10017 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
10018 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
10019 configure.in}, gdb.disasm/{Makefile.in, configure.in},
10020 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
10021 configure.in}: Major reworking for autoconfig.
10022 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
10023 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
10024 New files.
10025 * config/unix-gdb.exp: Make GDB global.
10026 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
10027 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
10028 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
10029 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
10030 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
10031 term.exp, twice.exp, watchpoint.exp, whatis.exp},
10032 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
10033 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
10034 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
10035 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
10036 pr-8136.exp, result.exp, string.exp, tuples.exp},
10037 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
10038 to returns as necessary, arrange for test to compile own testcase
10039 executable.
10040 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 10041
c906108c
SS
10042Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
10043
10044 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
10045 clear_xfail at end of test which might not call either pass or fail.
10046 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
10047 "backtrace through signal handler".
10048
10049Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10050
10051 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
10052 continuing from a job control stop signal.
10053 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
10054
10055Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
10056
10057 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
10058 * gdb.base/corefile.exp: Likewise.
10059 * gdb.base/funcargs.exp: Likewise.
10060
10061Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
10062
10063 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
10064 * config/monitor.exp: Add support for setting baud rate.
10065
10066Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
10067
10068 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
10069 i*86-*-linux* xfails for "backtrace through signal handler".
10070 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
10071 "print func2::coremaker_local".
10072 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
10073 alpha-dec-osf2* xfail for
10074 "delete all breakpoints when none".
10075
10076Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
10077
10078 * gdb.base/break.exp: Change test that deletes all breakpoints
10079 when no user breakpoints are installed. A post 4.15 change
10080 causes gdb to no longer prompt in this case.
10081
10082Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
10083
10084 * gdb.base/return.exp (return_tests): Change xfail for test
10085 "correct value returned double test" to stop xfailing at
10086 Solaris 2.5. Apparently the bug has been fixed.
10087
10088Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
10089
10090 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
10091 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
10092
10093Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
10094
10095 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
10096 * gdb.disasm/hppa.s: Corresponding changes.
10097
10098Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
10099
10100 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
10101 makefile fragment.
10102 * config/mt-hpux: Deleted.
10103
10104Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
10105
d63a86f8 10106 * Many files: When warning about suppressed tests due to a
c906108c
SS
10107 nonexistant test binary, avoid incrementing the warning count.
10108
10109Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
10110
10111 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 10112
c906108c
SS
10113Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10114
10115 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
10116 "sparc-*-solaris2*".
10117
10118Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10119
10120 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
10121 Add global and local variables and initialize them.
10122 * gdb.base/corefile.exp: Test correct mapping of corefile sections
10123 by printing variables. Remove rs6000 and powerpc xfails, BFD now
10124 extracts the file name and terminating signal from the core file.
10125 * TODO: Remove note about tests for correct mapping of corefile.
10126 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
10127 from optimizing it away.
10128 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
10129 handles common blocks.
10130
10131Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
10132
10133 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
10134 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
10135
10136Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
10137
10138 * Makefile.in (maintainer-clean): New target, synonym for
10139 realclean.
10140 * gdb.base/Makefile.in (maintainer-clean): Likewise.
10141 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
10142 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
10143 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
10144 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
10145 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
10146
10147Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
10148
10149 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
10150 xfails when not gcc compiled for "print foo::funclocal".
10151 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
10152 "print foo::funclocal at foo",
10153 "print 'scope1.c'::foo::funclocal at foo",
10154 "print foo::funclocal_bss at foo",
10155 "print 'scope1.c'::foo::funclocal_bss at foo",
10156 "print foo::funclocal_ro at foo",
10157 "print 'scope1.c'::foo::funclocal_ro at foo",
10158 "print bar::funclocal at foo" and
10159 "print 'scope1.c'::bar::funclocal at foo".
10160 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
10161 gcc compiled for "print foo::funclocal at bar".
10162 Expand all messages to ensure that they identify that
10163 the test is at bar().
10164 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
10165 gcc compiled for:
10166 "ptype on opaque struct pointer (statically)",
10167 "ptype on opaque struct tagname (statically)",
10168 "ptype on opaque struct pointer (dynamically) 1",
10169 "ptype on opaque struct tagname (dynamically) 1",
10170 "ptype on opaque struct pointer (dynamically) 2" and
10171 "ptype on opaque struct tagname (dynamically) 2
10172 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
10173 gcc compiled for:
10174 "p datalocal"
10175 "whatis datalocal",
10176 "ptype datalocal",
10177 "p bsslocal",
10178 "whatis bsslocal", and
10179 "ptype bsslocal".
10180 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
10181 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
10182 when not gcc compiled.
10183 * gdb.base/funcargs.exp (float_and_integral_args): Add
10184 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
10185 compiled.
10186 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
10187 "backtrace from call6a" when not gcc compiled.
10188 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
10189 "backtrace from call7a" when not gcc compiled.
10190 * gdb.base/callfuncs.exp (do_function_calls):
10191 Add "hppa*-*-hpux*" xfail when not gcc compiled for
10192 "p t_char_array_values(char_array_val2,char_array_val1)",
10193 "p t_char_array_values(char_array_val1,char_array_val2)",
10194 "p t_char_array_values("carray 1","carray 2")",
10195 "p t_char_array_values("carray 1",char_array_val2)",
10196 "p t_char_array_values(char_array_val1,"carray 2")",
10197 "p sum_args(1,{2})",
10198 "p sum_args(2,{2,3})",
10199 "p sum_args(3,{2,3,4})",
10200 "p sum_args(4,{2,3,4,5})"
10201 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
10202 "backtrace in corefile.exp" when not gcc compiled.
10203
10204Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10205
10206 * gdb.base/signals.exp: Rewrite `handle all print' test as
10207 a procedure. Accept blanks or TABs as whitespace, increase
10208 timeout and expect input buffer size for the large output
10209 from the command. Remove "i*86-*-bsdi2.0" xfail.
10210
10211Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10212
10213 * gdb.base/setvar.exp: Add new testcases for truncation when
10214 assigning invalid values to bitfields.
10215
10216Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
10217
d63a86f8 10218 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
10219 mips-sgi-irix* xfail for
10220 "call inferior func with struct - returns char *"
10221 and fix test so that an optional (unsigned char *) cast is
10222 accepted in the result.
10223
10224Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
10225
10226 * gdb.base/funcargs.exp (float_and_integral_args): Remove
10227 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10228 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
10229 * gdb.base/signals.exp: Remove duplicate "handle all print" test
10230 that accidentally got checked in.
10231
10232Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
10233
d63a86f8 10234 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
10235 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
10236 compiled test.
10237 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
10238 Add mips-sgi-irix5* xfail for not gcc compiled.
10239 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
10240 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
10241 "p top", "whatis top", "p middle", and "whatis middle".
10242 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
10243 "whatis signed char" for not gcc compiled.
10244 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
10245 "set variable signed char=-1 (-1)" and
10246 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
10247 * gdb.base/funcargs.exp (float_and_integral_args):
10248 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
10249 Add mips-sgi-irix* xfail when not gcc compiled for
10250 "continue to call2b".
10251 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
10252 "continue to call2g".
10253 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
10254 "backtrace from call6a"
10255 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
10256 "backtrace from call7k".
10257 Add mips-sgi-irix5* xfail when not gcc compiled for
10258 "backtrace from call7a".
10259 (localvars_after_alloca): Fix gdb_test cmds for
10260 "print * after runto ...".
10261 Remove rs6000-*-* xfails for
10262 "print i after runto localvars_after_alloca" and
10263 "print l after runto localvars_after_alloca"
10264 for all compilers.
10265 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
10266 when not compiled with gcc, for:
10267 "print signed char == (minus)",
10268 "print signed char != (minus)",
10269 "print signed char < (minus)",
10270 "print signed char > (minus)".
10271 * gdb.base/callfuncs.exp (do_function_calls):
10272 Add mips-sgi-irix* xfail, when compiled with native compiler, for
10273 "call inferior func with struct - returns char *".
d63a86f8 10274 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
10275 "correct value returned double test" to include Solaris 2.4.
10276 * gdb.base/funcargs.exp (float_and_integral_args):
10277 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 10278
c906108c
SS
10279Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10280
10281 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
10282 enumeration bitfields if compiling with GNU C.
10283 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
10284 to empty' prompt.
10285
10286Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
10287
10288 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
10289 test for PRO targets.
10290
10291 * gdb.base/funcargs.exp: Avoid ever setting more than 8
10292 breakpoints in the inferior at any given time by making
10293 two groups of breakpoints for call2*, call6* and call7*
10294 tests.
10295
10296Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10297
10298 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
10299 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
10300 from optimizing it away.
10301 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
10302 "call inferior func with struct".
10303
10304Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
10305
10306 * configure.in: Only configure gdb.chill for particular targets.
10307
10308Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
10309
10310 * gdb.base/Makefile.in: Add action to .c.o transformation
10311 rule that generates a .ci file for each .o file and remove
10312 explicit .c.o rules except for callfuncs.o.
10313 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
10314 generates a .ci file for each .o file and remove explicit
10315 .cc.o rules.
10316 (clean): Remove *.tmp *.ci files.
10317 (EXECUTABLES): Remove templ-info.exp.
10318 * gdb.base/compiler.c: New file.
10319 * gdb.c++/compiler.cc: New file
10320 * gdb.base/scope.exp: Source gdb.base/scope.ci.
10321 Change rs6000-*-* xfail for
10322 "print 'scope0.c'::filelocal_ro" and
10323 "print 'scope1.c'::filelocal" and
10324 "print 'scope1.c'::filelocal_bss" and
10325 "print 'scope1.c'::filelocal_ro" and
10326 "print 'scope1.c'::foo::funclocal" and
10327 "print 'scope1.c'::foo::funclocal_ro" and
10328 "print 'scope1.c'::bar::funclocal" and
10329 "print 'scope0.c'::filelocal_ro" and
10330 "print 'scope1.c'::filelocal at foo" and
10331 "print 'scope1.c'::filelocal_bss at foo" and
10332 "print 'scope1.c'::filelocal_ro at foo" and
10333 "print 'scope1.c'::foo::funclocal at foo" and
10334 "print 'scope1.c'::foo::funclocal_bss at foo" and
10335 "print 'scope1.c'::foo::funclocal_ro at foo" and
10336 "print 'scope1.c'::bar::funclocal at foo" and
10337 "print 'scope0.c'::filelocal_ro" and
10338 "print 'scope1.c'::filelocal" and
10339 "print 'scope1.c'::filelocal_bss" and
10340 "print 'scope1.c'::filelocal_ro" and
10341 "print 'scope1.c'::foo::funclocal" and
10342 "print 'scope1.c'::foo::funclocal_bss" and
10343 "print 'scope1.c'::foo::funclocal_ro" and
10344 "print 'scope1.c'::bar::funclocal" and
10345 "print 'scope1.c'::bar::funclocal_bss"
10346 to only be xfail'd when not compiled with gcc.
d63a86f8 10347 Add rs6000-*-* xfail for
c906108c
SS
10348 "print 'scope0.c'::filelocal_bss before run"
10349 when compiled with gcc.
10350 (test_at_main): Add rs6000-*-* xfail for
10351 "print filelocal_ro in test_at_main"
10352 when compiled with gcc.
10353 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 10354 Add rs6000-*-aix* xfail for
c906108c
SS
10355 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
10356 "ptype t_char_array", not compiled with gcc.
10357 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
10358 xfail for "list foo (in include file)" when gcc compiled.
10359 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
10360 (integral_args): Add rs6000-*-* xfail for
10361 "run to call0a" if not compiled with gcc.
10362 (unsigned_integral_args): Add rs6000-*-* xfail for
10363 "run to call1a" if not compiled with gcc.
10364 (float_and_integral_args): Add rs6000-*-* xfail for
10365 "run to call2a" if not compiled with gcc and for
10366 "continue to call2b" for any compiler.
10367 Add rs6000-*-* xfail to
10368 "print f1 after run to call2a" for gcc compiled.
10369 (discard_and_shuffle): Add rs6000-*-* xfail for
10370 "run to call6a".
10371 (shuffle_round_robin): Add rs6000-*-* xfail for
10372 "backtrace from call7a" if not compiled with gcc.
10373 Add rs6000-*-* xfail for
10374 "backtrace from call7b" if compiled with gcc.
10375 (call_after_alloca): Add rs6000-*-* xfail for
10376 "print c in call_after_alloca" and
10377 "print s in call_after_alloca" and
10378 "backtrace from call_after_alloca_subr"
10379 if not compiled with gcc.
10380 (localvars_in_indirect_call): Add rs6000-*-* xfail for
10381 "print c in localvars_in_indirect_call" and
10382 "print c in localvars_in_indirect_call" and
10383 "backtrace in indirectly called function" and
10384 "stepping into indirectly called function"
10385 if not compiled with gcc.
10386 (localvars_after_alloca): Add rs6000-*-* xfail for
10387 "print c after runto localvars_after_alloca" and
10388 "print s after runto localvars_after_alloca" and
10389 "print i after runto localvars_after_alloca" and
10390 "print l after runto localvars_after_alloca"
10391 for all compilers.
10392 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
10393 than whatis-info.exp.
10394 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
10395 than opaque-info.exp.
10396 Setup rs6000-*-* xfail for
d63a86f8 10397 "ptype on opaque struct pointer (statically)" and
c906108c
SS
10398 "ptype on opaque struct pointer (dynamically)" when
10399 not compiled with gcc.
10400 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
10401 rather than callf-info.exp.
10402 (do_function_calls): Add clear_xfail for rs6000-*-* for
10403 "p t_float_values2(3.14159,float_val2)". Seems to work
10404 fine there, both with xlc and gcc. Need to find out what
10405 it is doing right and fix other platforms.
10406 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
10407 "call inferior func with struct - returns int",
10408 "call inferior func with struct - returns long",
10409 "call inferior func with struct - returns float",
10410 "call inferior func with struct - returns double",
10411 "call inferior func with struct - returns char *",
10412 but only if not gcc compiled (presumes xlc compiled).
10413 Change rs6000-*-* xfails for
10414 "call inferior func with struct - returns char" and
10415 " call inferior func with struct - returns short" to only
10416 xfail if not using gcc.
10417 (clean mostlyclean): Remove *.ci and *.tmp files.
10418 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
10419 than templ-info.exp.
10420 * gdb.base/langs.exp: Source gdb.base/langs.ci.
10421 Add rs6000-*-* xfail for "up to foo in langs.exp"
10422 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
10423 when not gcc compiled.
d63a86f8 10424
c906108c
SS
10425Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10426
10427 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
10428 * gdb.base/corefile.exp: Likewise.
10429 * gdb.base/list.exp: Likewise.
10430 * gdb.base/scope.exp: Likewise.
10431 * gdb.base/siganls.exp: Likewise.
10432
10433 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
10434 compiler output.
10435 * gdb.base/whatis.exp: Likewise.
10436
10437Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
10438
10439 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
10440 failure (opcode table has been fixed to match reality).
10441
10442Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
10443
10444 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
10445 "call inferior func with struct - returns char",
10446 "call inferior func with struct - returns short"
10447
10448 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
10449 "print 'scope0.c'::filelocal at main",
10450 "print 'scope0.c'::filelocal_bss in test_at_main",
10451 "print 'scope0.c'::filelocal at foo",
10452 "print 'scope0.c'::filelocal_bss in test_at_foo",
10453 "print 'scope0.c'::filelocal at bar",
10454 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 10455
c906108c
SS
10456 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
10457 in source file 1". This bug seems to have been fixed with both
10458 gcc and native cc (was native assembler bug?).
10459
10460Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
10461
10462 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
10463 "backtrace through signal handler" to "i*86-*-sysv4*".
10464 * gdb.base/signals.exp: Add xfail for "'next' behaved as
10465 continue" case. Add "known SVR4 bug" to fail message.
10466 Add "i*86-*-bsdi2.0" xfail for "handle all print".
10467 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
10468 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
10469 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
10470 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
10471 "up to foo in langs.exp", "show language at foo in
10472 langs.exp", "up to cppsub_ in langs.exp", "show
10473 language at cppsub_ in langs.exp", "up to fsub in
10474 langs.exp", and "show language at fsub in langs.exp".
10475 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10476 "bactrace in corefile.exp".
10477 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10478 "call inferior function with struct - returns float" and
10479 "call inferior function with struct - returns double".
d63a86f8 10480
c906108c
SS
10481Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
10482
10483 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10484 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10485 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10486 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10487
10488Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
10489
10490 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10491 (or overriden) "CHILL" macro rather then bare "gcc".
10492 Also look for ../../gcc/xgcc since that is what we will
10493 actually need, not "Makefile". Remove following assignment
10494 of CHILL to CHILL_FOR_TARGET because that results in
10495 recursive definition.
10496
10497Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
10498
10499 * gdb.base/corefile.exp: Change xfail for backtrace in
10500 corefile.exp from linuxaout to all linux.
10501 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
10502 cases where we miss the breakpoint at the signal handler
10503 for some reason. Setup xfail for linuxoldld/linuxaout and
10504 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
10505 hitting SIGURG breakpoint.
10506 * gdb.base/signals.exp: Setup xfail for "next" acting like
10507 continue to add linuxoldld. Setup xfail for all linux for
10508 "next to handler in signals_tests_1", "backtrace in
10509 signals_tests_1", "continue to func1", "pass SIGUSR1",
10510 and continue to handler".
10511
10512Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
10513
10514 * Update all FSF addresses except those in COPYING* files.
10515
10516Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
10517
10518 * gdb.base/a2-run.exp: Change messages to be more explicit about
10519 the status of args, and quote binfile in results.
10520
10521Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
10522
10523 * gdb.base/callfuncs.exp: Add tests for passing structs to
10524 inferior functions and return various types.
10525 * gdb.base/callfuncs.c: Add functions to receive a struct
10526 and return a member of the struct, in various types.
10527
10528Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10529
10530 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
10531
10532Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10533
10534 * config/vxworks29k.exp: New file, sources vxworks.exp.
10535
10536Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10537
10538 * config/gdbremote.exp: New file. Testing framework using
10539 gdbserver.
10540
10541Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
10542
10543 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10544 "call function when asleep" and "send end of file".
10545 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10546 for "backtrace in corefile.exp".
10547 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10548 for "backtrace through signal handler".
10549 * gdb.base/corefile.exp: Make sure we actually generate a core file
10550 before trying the core tests. Some systems allow the user to suppress
10551 generation of core files and default to that (linux for example).
10552 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10553 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
10554
10555Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10556
10557 * gdb.threads: New directory with some crude multi-threaded
10558 gdb tests (step.exp and step2.exp).
10559 * config/mt-lynx (STEP_EXECUTABLE): Define.
10560 (THREADFLAGS): Define.
10561
10562Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
10563
10564 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10565
10566 * gdb.base/signals.exp: Disable whole file for lynx until
10567 further notice.
10568
10569 * gdb.base/signals.exp: xfail test where "next" acts like
10570 "continue" for lynx.
10571
10572 * gdb.base/interrupt.exp: xfail test for calling function while
10573 inferior is asleep for lynx.
10574
10575 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10576 than one cr-lf after each command.
10577
10578Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10579
10580 * configure.in: Reinstate setting of stabsdirs variable, fix
10581 typo in setting up configdirs for native builds.
10582
10583 * gdb.base/return.exp: Fix typo in return double test.
10584 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10585 compiler from optimizing them away.
10586
10587Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10588
10589 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10590 sequences to be echo'd by gdb when using gdb_test.
10591 * gdb.chill/chexp.exp: Likewise.
10592 * gdb.fortran/exprs.exp: Likewise
10593
10594Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10595
10596 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10597 after the inferior gdb has started.
10598
10599 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10600 after each command.
10601 * gdb.base/funcargs.exp: Likewise.
10602 * gdb.base/gdbvars.exp: Likewise.
10603 * gdb.base/interrupt.exp: Likewise.
10604 * gdb.base/list.exp: Likewise.
10605 * gdb.base/watchpoint.exp: Likewise.
10606 * gdb.c++/demangle.exp: Likewise.
10607 * gdb.c++/inherit.exp: Likewise.
10608 * gdb.chill/chexp.exp: Likewise.
10609 * gdb.fortran/exprs.exp: Likewise.
10610
10611 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10612 test if we can't handle IO to/from the inferior.
10613
10614 * gdb.c++/misc.exp: Always check for a program already being
10615 started after sending a "run" command to gdb.
10616
10617 * gdb.base/twice.exp: Start with a fresh gdb.
10618
10619 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10620 only depend on gdb's expression code, not the chill runtime.
10621
10622 * gdb.base/return.c: Put return values into variables so we
10623 can have gdb print them rather than depending on the program
10624 to print them.
10625 * gdb.base/return.exp: Corresponding changes.
10626
10627 * lib/gdb.exp: Provide default value for noinferiorio.
10628 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10629 the inferior.
10630
10631 * gdb.base/break.exp: Always check for a program already being
10632 started after sending a "run" command to gdb.
10633 (text_next_with_recursion): Don't check the output from the
10634 program's printf statement. Instead just make sure the program
10635 exited.
10636
10637 * gdb.base/commands.exp: Protect tests which need arguments with
10638 $noargs conditionals.
10639
10640Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10641
10642 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10643 of structure member arrays to match gdb/valops.c:value_addr change.
10644
10645Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10646
10647 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10648 cases.
10649
10650Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10651
10652 * configure.in (configdirs): Remove gdb.chill from default list
10653 of subdirs and then add it back in only if doing a native build.
10654 The current chill compiler does not yet work in any cross build.
10655 * Revert all signal changes from Jul 6.
10656 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10657 for sh-hms targets, allowing these tests to link, with no other
10658 changes. Testing is suppressed by setting "nosignals" in site.exp.
10659
10660Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10661
10662 * configure.in (signaldirs): Define and add to configdirs for all
10663 targets except some specific ones that are known to not support signals.
10664 Also clean up formatting.
10665 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10666 (signals, sigall): Remove rules to build.
10667 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10668 Moved to new gdb.signals directory.
10669 * gdb.signals: New test directory.
10670 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10671 signals.c signals.exp}: New or moved files.
10672
10673Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10674
10675 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10676
10677Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10678
10679 * gdb.base/return.exp: Xfail `return double' test failure
10680 on at least Solaris 2.3 and handle future/past versions on
10681 a case by case basis as appropriate. Also update message
10682 to include i*86 failures.
10683
10684Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10685
10686 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10687
10688 * lib/gdb.exp: Fix comment which erroneously identified
10689 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10690 gdb_file_cmd not gdb_load).
10691 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10692
10693 * gdb.base/setvar.exp: Make test names consistent between pass and
10694 fail cases. Use gdb_test more.
10695
10696Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10697
10698 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10699
10700Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10701
10702 * gdb.base/help.exp: Fix expected help string for `show commands'.
10703
10704Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10705
10706 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10707
10708 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10709 of a text section.
10710
10711Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10712
10713 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10714 that loop eventually terminates. Fix Connection refused logic so
10715 that testsuite will expire nicely.
10716
10717Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10718
10719 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10720 config/rom68k.exp: New tcl glue for the appropriate monitors.
10721 These all just end up calling monitor.exp.
10722 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10723 refused' by retrying. Cleanup some timeout issues.
10724 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10725 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10726 callers don't have to set/restore global timeout variable.
10727
10728 * The following set of changes centralizes management of the global
10729 timeout variable. This way, it can be set in one target dependent
10730 place instead of dozens of places scattered throughout the test suite.
10731 If you need to lengthen a timeout, then you should either set timeout
10732 in one of the config/{target}.exp files, or multiply it by a factor.
10733 Setting it to an absolute value is always going to lose for some
10734 targets.
10735 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10736 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10737 * gdb.base/funcargs.exp: Don't set timeout.
10738 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10739 * gdb.base/printcmds.exp (test_print_string_constants
10740 test_print_array_constants): Don't set timeout.
10741 * gdb.base/ptype.exp: Don't set timeout.
10742 * gdb.base/recurse.exp: Don't set timeout.
10743 * gdb.base/return.exp: Don't set timeout.
10744 * gdb.base/watchpoint.exp: Don't set timeout.
10745 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10746 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10747
10748Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10749
10750 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10751
10752Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10753
10754 * lib/gdb.exp: Disable chill tests for irix5.
10755
10756Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10757
10758 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10759 each test pass or fail.
10760
10761Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10762
10763 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10764 xlc not gcc.
10765
10766Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10767
10768 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10769
10770Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10771
10772 * config/est.exp: Fix copyright and comments. Remove dead code.
10773 Use targetname, serialport and baud variables instead of fixed
10774 constants.
10775 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10776 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10777
10778Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10779
10780 * gdb.base/watchpoint.exp: Don't run
10781 test_watchpoint_triggered_in_syscall for sunos.
10782
10783Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10784
10785 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10786 they don't seem to exist. Do include stdio.h.
10787
10788Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10789
10790 * gdb.base/a1-selftest.exp: Add alpha xfail.
10791
10792Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10793
10794 * gdb.base/watchpoint.c (main): Prompt before calling read().
10795 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10796 Revise accordingly. Remove cruft about sending "123" several
10797 times, until it gets noticed. Clean up the "print buf[0]" stuff
10798 so that it passes or fails, and waits for prompts in the usual way.
10799
10800Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10801
10802 * gdb.base/recurse.exp: Fix comment.
10803
10804 * TODO: Remove item about printing variables in nodebug.exp. Add
10805 item about enabling tests which are only run on some targets.
10806
10807 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10808 fail, make test names unique, use new gdb_test convention
10809 regarding pattern, use gdb_test more, etc.).
10810
10811 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10812 fail, make test names unique, etc.).
10813
10814Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10815
10816 * gdb.base/nodebug.c: Change return type of top and middle to
10817 short.
10818 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10819 are fixed by the recent mdebugread.c changes. Allow `short ()'
10820 as type for top and middle.
10821
10822Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10823
10824 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10825 nearly as I can tell, the whole thing was an accident in Stu's
10826 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10827 to replace a send/expect pair with gdb_test, but ended up only
10828 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10829 of 30 Mar 1995 took care of it, but left this vestigial comment
10830 which I am now nuking.
10831
10832Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10833
10834 * gdb.base/break.exp: Look for different line number for
10835 breakpoint at main depending on usestubs.
10836
10837Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10838
10839 * gdb.base/list.exp: Adjust some alternate expect patterns to
10840 match recent list0.c change. Add alternate expect pattern for
10841 output from `list default lines around main' for optimizing
10842 compilers.
10843
10844Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10845
10846 * lib/gdb.exp: If nosignals is not set, set it to 0.
10847
10848Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10849
10850 * config/slite-gdb.exp: Responds to load symbol table prompt.
10851 * gdb.base/break.exp: Adjust line number, fix rerun.
10852 * gdb.base/langs0.c: Add #ifdef usestubs.
10853
10854Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10855
10856 * gdb.base/list.exp: Adjust line contents after adding new lines in
10857 list0.c. Also fix a syntax error.
10858
10859 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10860 * gdb.base/break.exp: ditto.
10861 * gdb.base/list.exp: ditto.
10862 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10863 * gdb.base/run.c: ditto.
10864 * gdb.base/list0.c: ditto.
10865 * gdb.base/funcargs.c: ditto.
10866
10867Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10868
10869 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10870 $targetname, $serialport and $baud instead of hardwired variables.
10871 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10872 target doesn't support signals.
10873
10874Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10875
10876 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10877
10878Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10879
10880 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10881 Don't rely on the value of an auto variable before it has been
10882 initialized. Use gdb_test more.
10883
10884Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10885
10886 * lib/gdb.exp (default_gdb_version): A version number must start
10887 with a digit, but other than that contains all characters up to
10888 the first whitespace character.
10889
10890Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10891
10892 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10893
10894Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10895
10896 * gdb.c++/*.exp: Warn if executable does not exist. The original
10897 reason for skipping the warning was that configure.in sometimes
10898 intentionally skipped building the executables but the tcl code
10899 had no way of knowing. That (a) was always bogus with respect to
10900 error handling, (b) is no longer true (right now there is no way
10901 to skip C++ tests).
10902
10903 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10904
10905Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10906
10907 * gdb.base/list.exp: Add expect patterns for output from
10908 SunPRO compiled executables.
10909 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10910 types.
10911
10912Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10913
10914 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10915 number (we are already testing that the correct source line text
10916 gets printed).
10917
10918 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10919 that is what is intended, but something needed to be done to get
10920 sunos4 native working again.
10921
10922 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10923
10924 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10925 apparently went with a (very) old xfail.
10926
10927Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10928
10929 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10930 runto_main is a proc in gdb.exp that will do 'step' for target use
10931 stubs.
10932 * gdb.base/exprs.exp: ditto.
10933 * gdb.base/interrupt.exp: ditto.
10934 * gdb.base/opaque.exp: ditto.
10935 * gdb.base/printcmds.exp: ditto.
10936 * gdb.base/ptype.exp: ditto.
10937 * gdb.base/scope.exp: ditto.
10938 * gdb.base/setvar.exp: ditto.
10939 * gdb.base/signals.exp: ditto.
10940 * gdb.base/twice.exp: ditto.
10941 * gdb.c++/classes.exp: ditto.
10942 * gdb.c++/inherit.exp: ditto.
10943 * gdb.c++/templates.exp: ditto.
10944 * gdb.base/break.exp: no run and hit main for stubs. Change line
10945 numbers for breakpoints and info breakpoint.
10946 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10947 breakpoint().
10948 * gdb.base/callfuncs.c: ditto.
10949 * gdb.base/exprs: ditto.
10950 * gdb.base/interrupt.c: ditto.
10951 * gdb.base/opaque0.c: ditto.
10952 * gdb.base/printcmds.c: ditto.
10953 * gdb.base/ptype.c: ditto.
10954 * gdb.base/scope0.c: ditto.
10955 * gdb.base/setvar.c: ditto.
10956 * gdb.base/signals.c: ditto.
10957 * gdb.base/twice.c: ditto.
10958 * gdb.c++/misc.cc: ditto.
10959 * gdb.c++/templates.cc: ditto.
10960
10961Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10962
10963 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10964
10965 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10966 somewhere between `read' and `main.c'. I'm pretty sure the
10967 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10968 and it isn't particularly useful.
10969
10970 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10971
10972Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10973
10974 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10975
10976Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10977
10978 * config/mt-slite: add LIBS and -nostdlib.
10979 * config/slite-gdb.exp: add this new file to support sparclite target.
10980
10981Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10982
10983 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10984
10985 * gdb.base/a2-run.exp: Change argument to istarget from
10986 "*-*-vxworks" to "*-*-vxworks*".
10987 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10988
10989Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10990
10991 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10992 will not runto main but do a 'step' to step out of breakpoint().
10993 * config/mt-slite: add -Dusestubs.
10994
10995Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10996
10997 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10998 instead of just @.
10999
11000 * gdb.base/signals.exp: Add test for "handle all print".
11001 * TODO: Remove "handle all print". Also remove item about
11002 checking copyright date (I don't like the idea of a spurious FAIL
11003 based on when we run the tests).
11004
11005 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
11006 for SunOS4 (reason for failure not investigated). Remove
11007 redundant test for $binfile.
11008
11009 * gdb.base/nodebug.c (array_index): Call malloc.
11010
11011 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
11012
11013Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
11014
11015 * gdb.base/recurse.exp: Update gdb_test invocation to use new
11016 conventions and slightly simplify the matching regexp.
11017
11018Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11019
11020 * gdb.base/break.exp: Update gdb_test invocation to use new
11021 convention.
11022
11023 * lib/gdb.exp: If noargs is not set, set it to 0.
11024
11025 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
11026 tests unique.
11027
11028 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
11029
11030Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11031
11032 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
11033 one argument of type "<non-float parameter>".
11034
11035Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
11036
11037 * config/rom68k.exp: New file to support Motorola IDP board.
11038 * gdb.base/a2-run.exp: Skip this file if noargs is set.
11039 * gdb.base/break.c: Change things around so that this program
11040 doesn't depend upon args. This is necessary to make remote
11041 targets work (in general, they can't take args).
11042 * gdb.base/break.exp: Don't try to send args to program. Don't
11043 expect output. Also, replace lots of code with gdb_test.
11044
11045Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11046
11047 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
11048 printing of '\'' (which is what the comment says we are testing,
11049 even though we were not), not '''.
11050 (test_integer_literals_rejected): Test that printing ''' is an error.
11051
11052 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11053 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
11054 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
11055 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
11056 Use gdb_test not test_print_accept.
11057 * lib/gdb.exp: Remove test_print_accept.
11058
11059 * gdb.base/signals.exp (signal_tests_1): Make pass message
11060 consistent with fail message.
11061
11062 * gdb.base/whatis.exp: Remove xfails for printing char vs.
11063 unsigned char; the bug (PR 1821) is fixed.
11064
11065 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
11066
11067 * gdb.base/scope.exp (test_at_localscopes): Call pass for
11068 successful tests--makes xfailing them work right.
11069
11070Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11071
11072 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
11073 only \r\n, not .*. The test can pass .* as the last thing in
11074 $pattern if that is what it wants. In addition to providing this
11075 flexibility, this change should speed up pattern matching in cases
11076 where the pattern already ended with .* (there were a number of
11077 them). This change also helps catch bad patterns--in the old
11078 scheme the typo "char \*" instead of "char \\*" would pass. Now
11079 it is caught.
11080 * Many .exp files: Update callers.
11081
11082 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
11083 clearer and does not spuriously match multiple ('s. Likewise for
11084 ) and *.
11085
11086 * gdb.base/nodebug.exp: Test ability to call a function and pass
11087 it a string (even with no debugging info).
11088
11089 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
11090 "p '\'", which is the same as "p ''" once tcl gets done with
11091 quoting, to "p '\\'", which I suspect is what is intended (one
11092 backslash gets sent to GDB).
11093
11094 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
11095
11096Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11097
11098 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
11099 1817) was fixed literally years ago.
11100
11101Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11102
11103 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
11104 test, it causes stepping out of call_after_alloca_subr with
11105 optimizing compilers.
11106 (localvars_in_indirect_call): Consume GDB prompt if `finish'
11107 fails.
11108
11109 * gdb.c++/templates.exp: Source templ-info.exp only if
11110 the templates executable exists.
11111
11112 * gdb.c++/misc.cc (class Contains_static_instance,
11113 class Contains_nested_static_instance),
11114 gdb.c++/classes.exp (test_static_members): Test printing of
11115 a class that contains a static instance of the class.
11116
11117Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11118
11119 * gdb.base/langs2.c (cppsub_): Don't prototype.
11120 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
11121 only, I believe).
11122
11123Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11124
11125 * lib/gdb.exp (skip_chill_tests): New procedure.
11126
11127 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
11128
11129Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
11130
11131 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
11132 each expect pattern. Cuts runtime from 12 to about 4 seconds.
11133
11134Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11135
11136 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
11137
11138 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
11139 disassemble 8, not 16, instructions for part 4.
11140
11141 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
11142 support the latter anymore.
11143
11144 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
11145 -DNO_PROTOTYPES.
11146 * gdb.base/callfuncs.c: Control use of prototypes based on
11147 NO_PROTOTYPES, not __STDC__.
11148 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
11149 t_float_values2 tests if prototypes in use.
11150
11151 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
11152 t_double_values): When checking differences against DELTA, check
11153 that difference is within the range (-DELTA,DELTA), not just
11154 (-infinity,DELTA).
11155
11156Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
11157
11158 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
11159 'file' command firts, then 'target', then 'load', this is due to gdb
11160 target set up.
11161 * config/mips-gdb.exp: Fix a couple regular exp bugs.
11162
11163Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
11164
11165 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
11166 FP load/store variants.
11167 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
11168
11169Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11170
11171 * gdb.base/term.exp: Do not give a warning if not native, it is
11172 not an abnormal condition.
11173
11174Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
11175
11176 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
11177 t_char_array".
11178
11179Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11180
11181 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
11182 are getting the version number.
11183
11184 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
11185 if not native, it is not an abnormal condition.
11186
11187Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11188
11189 * lib/gdb.exp: Just use "file exists", rather than undocumented
11190 dejagnu procedure "findfile".
11191
11192Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11193
11194 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
11195 (LDFLAGS): Set to -Xlinker -Ur.
11196
11197 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
11198 Removed, these values are set by lib/gdb.exp.
11199
11200 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
11201
11202Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11203
11204 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
11205 of replicating gdb startup code.
11206
11207 * config/mt-vxworks (LDFLAGS): Set to -r.
11208 (CFLAGS_FOR_TARGET): Removed.
11209
11210 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
11211 (gdb) and gdb for vxworks uses (vxgdb).
11212
11213 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
11214 executable is not in the tree and host != target, use sed and
11215 program_transform_name to determine the gdb name used by the
11216 target.
11217
11218 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
11219 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
11220
11221Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11222
11223 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
11224 floats, chars, and shorts where there are ANSI-style function
11225 definitions.
11226
11227 * gdb.base/langs.exp, gdb.base/langs*: New test.
11228 * gdb.base/Makefile.in: Build it.
11229 * TODO: Remove item about checking that C names don't get C++
11230 demangling applied; this test tests it.
11231
11232Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11233
11234 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
11235 went with the const70 xfail. The xfail went away a year ago.
11236
11237 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
11238
11239 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
11240 for hp300.
11241
11242 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
11243
11244 * gdb.base/a1-selftest.exp: Don't run on hp300.
11245
11246Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11247
11248 * Makefile.in (site.exp): Set host_alias and target_alias as well
11249 as host_triplet and target_triplet.
11250
11251Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11252
11253 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
11254
11255 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
11256 places as other ecoff systems).
11257
11258 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
11259 ultrix.
11260
11261Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11262
11263 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
11264 remove them.
11265 * gdb.base/nodebug.exp: Accept "function" in addition to "text
11266 variable and "variable" in addition to "data variable".
11267 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
11268
11269 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
11270 2.
11271 * gdb.base/list1.c (long_line): Add additional statement at start
11272 of function.
11273 * gdb.base/list.exp (test_forward_search): Update line number to
11274 reflect new statement.
11275
11276Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11277
11278 * gdb.base/signals.exp: Reinitialize searched source directories
11279 after gdb_start call.
11280
11281Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
11282
11283 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
11284 * gdb.stabs/Makefile.in: Likewise.
11285
11286 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
11287 change. Instead split the tests into smaller pieces.
11288 * gdb.disasm/hppa.s: Corresponding changes.
11289
11290Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11291
11292 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11293 Quote ^C when passing it to stty. For some shells ^ is a pipe.
11294
11295 * gdb.base/funcargs.exp: Modify many tests so that every test
11296 either passes or fails. Make some test names unique.
11297
11298Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11299
11300 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11301 Call stty to set interrupt character.
11302
11303 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
11304 for HP assembler versus GNU assembler based on actual behavior of
11305 $(CC), rather than assuming that $(AS) is always the GNU assembler.
11306
11307 * TODO: Suggest a few more stepping tests.
11308
11309Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
11310
11311 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
11312 restart GDB for h8300 after a continue.
11313 (return): Add pattern to match a29k-udi behavior.
11314 * gdb.base/nodebug.exp: Remove obsolete comment.
11315 * gdb.base/regs.exp: New file, testing of register displays.
11316 * gdb.base/return.exp: Fix typo in reference to $objdir.
11317 * gdb.base/whatis.exp: Always start with a fresh GDB.
11318
11319Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11320
11321 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
11322 higher, these tests generate a lot of output.
11323
11324Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11325
11326 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
11327 code following the catch silently ignored some errors; without the
11328 catch they should be thrown like any other tcl error. Also, the
11329 catch used "" instead of {} which meant all the callers who wanted
11330 to include one of the characters "[]$ had to quote it an extra time.
11331 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
11332 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
11333 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
11334 Remove extra quoting.
11335
11336Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
11337
11338 * gdb.base/commands.exp: Make test names unique; every test either
11339 passes or fails. Update some comments.
11340
11341 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
11342
11343Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11344
11345 The following fixes a FAIL caused by the fact that the alpha stabs
11346 configuration didn't use the ".if alpha" code in weird.def.
11347 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
11348 bit pointer, so the 32 bit version works even on the alpha.
11349 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
11350 Remove the stuff which allowed us to have separate versions for
11351 alpha and everything else.
11352
11353 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
11354 regexp which "info func operator\[\](" is supposed to match. Fix
11355 string to send to GDB. Note that GDB still doesn't work right. Add a
11356 new test for "info func .perator\[\](" which GDB does handle correctly.
11357
11358 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
11359
11360Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11361
11362 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
11363 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
11364 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
11365 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11366 it makes the tests harder to understand and confuses test-o-matic.
11367 The preferred style is that each test provides a PASS or a FAIL,
11368 and has a unique message (e.g. "continue #54" not just "continue")
11369 which is the same for the pass and the fail.
11370 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11371 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
11372 to lib/gdb.exp.
11373 * gdb.base/printcmds.exp: Use test_print_accept. Remove
11374 prt_accept which was basically the same thing. Likewise for
11375 test_print_reject and prt_reject.
11376 * lib/gdb.exp (test_print_reject): Add some more error message
11377 patterns to match from the former printcmds.exp (prt_reject).
11378 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
11379 One defect of the passcount stuff is that some of it failed to
11380 report XPASS where appropriate.
11381 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
11382 stuff before and after arg in expected pattern.
11383 (test_paddr_operator_functions): Re-do test without print_addr_of;
11384 this is the only test which seems to want extra stuff there.
11385
11386Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11387
11388 * gdb.base/nodebug.exp: Update new tests to reflect improved
11389 wording of gdb output.
11390
11391 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
11392 and "ptype" work on variables in files compiled without -g.
11393 Replaces commented out "maint print msymbol" tests.
11394
11395Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11396
11397 * gdb.base/setvar.c (dummy): Call malloc.
11398
11399 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
11400 losing with the irix4 sed.
11401
11402 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
11403 ALRM" on irix4.
11404
11405Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11406
11407 * TODO: Remove items about corefile.exp testing new exec-file and
11408 backtrace; both are now done. Add items about printing enums.
11409
11410Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11411
11412 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
11413 "get signal $thissig" test fails.
11414
11415 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
11416
11417Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11418
11419 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
11420 compiler warning with dec alpha compiler.
11421
11422 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
11423 extra \n from gdb_test call (this explains why the prompt test
11424 that I removed yesterday was there).
11425 (user_defined_command_test): Remove extra \n and prompt test.
11426
11427 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
11428 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
11429 doesn't exist.
11430 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
11431 Also remove alpha workaround, which turns out to be because
11432 SIGABRT == SIGLOST.
11433
11434 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
11435
11436 * gdb.base/help.exp: Don't test "help show".
11437
11438Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11439
11440 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
11441 "set print address" is on.
11442 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
11443 pass prompt to gdb_test; gdb_test already looks for the prompt.
11444
11445 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
11446
11447 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
11448 was a vestige of the manual TESTSTRATEGY, and the purpose of it
11449 was to make sure that gdb can read a core file. But (a) the "read
11450 the corefile" part didn't make it to a1-selftest.exp, we just
11451 delete the corefile after creating it, and (b) we test reading
11452 corefiles in corefile.exp anyway. Also, this test left around a
11453 xgdb process on Solaris.
11454
11455 * gdb.base/corefile.exp: Also test backtrace.
11456
11457Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
11458
11459 * gdb.base/commands.exp: Test a simple user defined command with
11460 arguments and if/while statements; verify the full user command is
11461 printed by "show user".
11462
11463 * gdb.base/commands.exp: Test if/while commands as part of a
11464 breakpoint command list; verify they appear in breakpoint
11465 information.
11466
11467Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11468
11469 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
11470 than by dividing by zero.
11471
11472Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
11473
11474 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11475 performing an inferior call with watchpoints enabled.
11476 * gdb.base/watchpoint.c (main): Delete second unnecessary read
11477 call.
11478
11479Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11480
11481 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11482 of "file" command.
11483
11484 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11485 Add additional pattern for when "int operator int(void);" appears
11486 in a different order.
11487
11488Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11489
11490 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11491
11492 * gdb.base/help.exp: Replace most of docstrings for "info signals"
11493 and "signal" with ".*".
11494
11495Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11496
11497 * TODO: Add note about "handle all nostop".
11498
11499 * gdb.base/{sigall.c, sigall.exp}: New test.
11500 * gdb.base/Makefile.in: Add it.
11501
11502Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
11503
11504 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11505 when invoking GDB, suppresses any windowing interface.
11506
11507Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
11508
11509 * config/sim-gdb: New file, simulator testing support.
11510
11511Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
11512
11513 * gdb.base/interrupt.exp: Test calling func1 twice.
11514
11515Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
11516
11517 * gdb.base/list.exp (test_forward_search): Set timeout higher
11518 when we'll be getting lots of output from gdb.
11519
11520 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11521 "init_malloc" to after the expect statement. Run it if that
11522 regexp is taken, but also for two others which happen if source
11523 cannot be found.
11524
11525Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11526
11527 * gdb.base/printcmds.exp: New test, for printing register before
11528 program is running.
11529
11530Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11531
11532 * gdb.base/list.exp: Correct some alternate expect patterns
11533 to reflect changes in list1.c.
11534
11535Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11536
11537 * TODO: Add item regarding large frames.
11538
11539 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11540
11541 * TODO: Remove item about enabling return.exp; it
11542 is enabled. Suggest a few more "return" tests.
11543
11544Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11545
11546 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
11547 anonymous unions.
11548
11549Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11550
11551 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11552 and pr-5646.o, so "make" is the same as "make all", not "make
11553 pr-4975.o".
11554
11555Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
11556
11557 * gdb.base/list.exp: Adjust expectations to reflect changes in
11558 list1.c.
11559 (test_forward_search): New test proc.
11560 * gdb.base/list1.c (long_line): New function, has long source line.
11561
11562Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
11563
11564 * gdb.base/a1-selftest.exp: Change initial stepping to know about
11565 additional line of code that was added.
11566
11567Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
11568
11569 * gdb.disasm/hppa.s: Break the large branching tests into smaller
11570 tests so as not to overflow expect's input buffers.
11571 * gdb.disasm/hppa.exp: Corresponding changes.
11572
11573Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11574
11575 Beginnings of template debugging tests.
11576 * gdb.c++/templ-info.cc: New file to test for template
11577 debugging capability of the compiler.
11578 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
11579 templ-info.cc.
11580 * gdb.c++/templates.cc: Add explicit template instantiations
11581 to enable compiling with -fno-implicit-templates. Add destructor
11582 and 'value' method to T5 class for template tests.
11583 * gdb.c++/templates.exp: Add testcases for printing of template
11584 types, setting breakpoints on template methods and calling a
d63a86f8 11585 template method.
c906108c
SS
11586
11587Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11588
11589 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11590 branch target since some assemblers (gas-2.5) may emit a
11591 relocation for the branch instead of resolving it in the
11592 assembler.
11593
11594Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11595
11596 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11597 through signal handler.
11598
11599Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11600
11601 * configure.in (*-*-netware): Use config/mt-netware.
11602
11603 * config/mt-netware: New file.
11604 * config/mt-i386-netware: Removed, separate configs for different
11605 netware architectures are no longer needed now that we have
11606 --with-headers.
11607
11608Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11609
11610 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11611 by the recent changes to use ANSI C arithmetic conversions.
11612
11613Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11614
11615 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11616 bug involving using inferior_pid to figure out whether to select a
11617 frame.
11618
11619Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11620
11621 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11622 match the current disassembler output.
11623
11624Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11625
11626 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11627 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11628 types, expect "int" as type of integer values (for now).
11629
11630Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11631
11632 * gdb.base/commands.exp: New tests for if/while commands.
11633
11634Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11635
11636 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11637 by .*, since hex values have different syntax in Chill mode.
11638
11639Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11640
11641 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11642 linefeed from expect pattern for repeated types with indices > 9.
11643
11644Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11645
11646 First part of Fortran test suite.
11647 * gdb.fortran: New directory.
11648 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11649
11650Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11651
11652 * gdb.base/default.exp: Update expect pattern for load command
11653 without arguments.
11654
11655Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11656
11657 * configure.in: Change i386 to i[345]86.
11658 * gdb.base/configure.in: Likewise.
11659 * gdb.c++/configure.in: Likewise.
11660 * gdb.chill/configure.in: Likewise.
11661
11662Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11663
11664 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11665 patterns, since that is not a valid context for comments.
11666
11667Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11668
11669 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11670 repeated types and repeated types with indices > 9.
11671
11672Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11673
11674 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11675 2417; old bug has been fixed.
11676
11677Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11678
11679 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11680 send the newline ourselves instead of assuming gdb_test will do
11681 so when passed an empty input string.
11682
11683 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11684 stabs testcode.
11685
11686Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11687
11688 * lib/gdb.exp (gdb_test): Don't send anything if the first
11689 argument is an empty string. This makes cases where we want to
11690 match output that is already in expect's buffers (for example,
11691 matching a breakpoint after gdb_run_cmd has been called) work
11692 reliably.
11693
11694Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11695
11696 * config/netware.exp: New file.
11697
11698Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11699
11700 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11701 the -B and -L prefixes so we can find the debugging stub.
11702
11703 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11704 there and we are using the gcc from the tree.
11705
11706 * gdb.base/types.c: Removed.
11707
11708 * gdb.base/configure.in: Look for makefile fragments in ../config.
11709 Recognize i386-*-netware.
11710 * gdb.c++/configure.in: Likewise.
11711
11712Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11713
11714 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11715 the correct TCL syntax.
11716
11717Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11718
11719 * gdb.base/opaque.exp: use runto instead of messing around with
11720 breakpoints. Simplify by using gdb_test.
11721
11722 * gdb.base/bitfields.exp: restart between tests on netware targets
11723 because breakpoints aren't relocated after target death. Run
11724 processes to completion.
11725
11726 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11727
11728Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11729
11730 * Makefile.in: Remove extra tabs that confuse some versions
11731 of "make". Use the newly built gdb to test with by default,
11732 rather than the first one in the tester's search path.
11733
11734Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11735
11736 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11737
11738 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11739 condition help.
11740
11741Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11742
11743 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11744
11745 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11746 running.
11747 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11748 * gdb.base/funcargs.exp: Likewise.
11749
11750 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11751 * gdb.base/funcargs.exp: Likewise.
11752
11753 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11754 message is "".
11755
11756Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11757
11758 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11759 return,signals,twice}.exp: Handle non-existant binaries
11760 consistantly.
11761
11762 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11763 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11764 might testing a cross development system.
11765
11766Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11767
11768 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11769 runtest script is relative to ${srcdir}, not ${rootdir}.
11770
11771Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11772
11773 * gdb.base/signals.exp: Allow for optionality of breakpoint
11774 address.
11775
11776Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11777
11778 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11779
11780Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11781
11782 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11783 for size_t definition.
11784 * gdb.c++/templates.cc: Likewise
11785
11786 * config/mt-i386-netware: New file.
11787
11788 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11789 defined.
11790
11791 * gdb.base/Makefile.in: Added support for systems that name core
11792 files by appending "core" to the program name.
11793 * gdb.base/a1-selftest.exp: Likewise.
11794
11795Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11796
11797 * gdb.base/return.exp: Add comment and message for `return double'
11798 test failure on Sparc Solaris.
11799
11800Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11801
11802 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11803
11804Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11805
11806 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11807 from optimizing them away.
11808 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11809 patterns to include default constructors and assignment operators,
11810 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11811 character in the output of the virtual base pointer.
11812
11813Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11814
11815 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11816 expression match in print_addr_of to avoid unintented matches.
11817 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11818 versions up to 2.5.8.
11819
11820Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11821
11822 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11823 included file to run under newer versions of expect.
11824 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11825 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11826 Remove xfail for the virtual table of BDDHookV.
11827
11828Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11829
11830 * lib/gdb.exp (string_to_regexp): Set a default result.
11831 (default_gdb_start): Fix misleading message.
11832
11833Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11834
11835 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11836 Remove all CC, etc definitions.
11837 * config/mt-hpux: New file.
11838 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11839 (CFLAGS, LDFLAGS): Define.
11840 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11841
11842 * Makefile.in (site.exp): Don't insert host_os, etc.
11843 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11844 (distclean): Check existence of subdir.
11845 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11846 * gdb.base/Makefile.in: General cleanup and simplification.
11847 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11848 to build executables. Use default rule to build .o files.
11849 (EXPECT, RUNTEST, CC): Fix relative pathname.
11850 (site.exp): Don't insert host_os, etc.
11851 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11852 and/or SIGUSR1 defined.
11853 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11854 * gdb.c++/Makefile.in: General cleanup and simplification.
11855 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11856 (CFLAGS): Remove.
11857 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11858
11859Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11860
11861 * gdb.base/recurse.exp: Misc changes to get tests running again
11862 after Kung's changes to the watchpoint code.
11863 * gdb.base/watchpoint.exp: Likewise.
11864
11865Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11866
11867 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11868
11869Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11870
11871 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11872 * lib/gdb.exp (default_gdb_start): Define.
11873 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11874 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11875 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11876 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11877 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11878 Don't call gdb_target_udi in between tests.
11879
11880Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11881
11882 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11883 (which was basically just a local version of the same thing). In
11884 addition to avoiding duplication, gdb_test_exact is faster.
11885 * lib/gdb.exp (gdb_test_exact): Fix typo.
11886
11887 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11888 don't give an error.
11889
11890 * gdb.base/term.exp: Call delete_breakpoints before starting.
11891
11892 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11893 (t10): Add comment.
11894
11895Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11896
11897 Reorganization of the GDB Test Suite.
11898
11899 * gdb.base: New directory, contains all the basic tests.
11900 * gdb.c++: New directory, tests specific to C++.
11901 * gdb.chill: New directory, tests specific to Chill.
11902 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11903 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11904 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11905 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11906 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11907 t30-31 to chill).
11908 * */gdbme.*: Rename to match appropriate expect scripts.
11909 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11910 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11911 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11912 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11913 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11914 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11915 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11916 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11917 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11918 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11919 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11920 gdb.c++/virtfunc.cc: New names of C++ files.
11921 * gdb.chill/chillvars.ch: New name of Chill file.
11922 * gdb.base/configure.in, gdb.c++/configure.in,
11923 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11924 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11925 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11926 * configure.in (configdirs): Update to reflect directory changes.
11927 (target_abbrev): No longer define for any configuration.
11928 * Makefile.in: Cosmetic improvements to header comments.
11929
11930Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11931
11932 Various changes to gdb.t31:
11933
11934 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11935 * gdbme.ch: Make all key-words and predefineds be upper-case.
11936 * chillvars.exp: Expect key-words and predefinds in upper-case.
11937
11938 * chillvars.exp: Use gdb_test_exact many places.
11939 Change expected output for arrays (which now includes index labels).
11940
11941 * pr-5020.exp, gdme.ch (module PR_5020):
11942 New test, for PR-5020.
11943
11944Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11945
11946 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11947 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11948
11949Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11950
11951 * Makefile.in: Fix bit-rot in definitions of CHILL,
11952 CHILL_FOR_TARGET and Chill_LIB.
11953 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11954 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11955 CHILL, and CHILL_LIB.
11956
11957Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11958
11959 * Revert the previous changes. Please see Rob's directory
11960 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11961
11962Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11963
11964 * Makefile.in, configure.in, config/mips-gdb.exp,
11965 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11966 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11967 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11968 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11969 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11970 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11971 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11972 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11973 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11974 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11975 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11976 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11977 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11978 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11979 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11980 changes from 94Q1.
11981
11982Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11983
11984 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11985 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11986 Rob's new testing fragments.
11987
11988Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11989
11990 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11991 lib/gdb.exp: Replace error proc calls with perror.
11992
11993Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11994
11995 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11996 version also, match on casted version strings, and match on
11997 gdb startup case where the line numbers might be messed up.
11998
11999Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
12000
12001 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
12002 (CFLAGS): Delete it from here.
12003
12004Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
12005
12006 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
12007
12008Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
12009
12010 * Makefile.in (RUNTEST): Default to just "runtest".
12011
12012Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12013
12014 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
12015 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
12016 the code has been restructured.
12017
12018Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12019
12020 * gdb.t00/default.exp (set write): Allow any number of \r and/or
12021 \n, not just one of each.
12022
12023 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
12024 /bin/cc gives a warning if you do.
12025
12026Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
12027
d63a86f8 12028 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
12029 __t10ListS_link1ZUiRCUiPT0
12030
12031Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12032
12033 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
12034 on local variables in recursive functions.
12035
12036 * gdb.t07/Makefile.in: Build the new test.
12037
12038Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12039
12040 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
12041 directly. Instead compare the return values from actual calls.
12042
12043Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
12044
12045 * Makefile.in (check): Set TCL_LIBRARY for runtest.
12046
12047Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12048
12049 * From Peter Schauer with minor modifications.
12050 * gdb.t15/return.exp (return_tests): Handle targets where "return"
12051 stops in mid-line in the caller. Add xfail for returning a float
12052 value on X86 targets.
12053
12054Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12055
12056 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
12057 to avoid expect lossage.
12058 (fmem_LRbug_tests): Likewise.
12059 * gdb.disasm/hppa.s: Corresponding changes.
12060
12061 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
12062 conditions to work with latest dejagnu/expect.
12063
12064 * gdb.t15/funcargs.exp (finish from indirect call): No longer
12065 expected to fail on the PA.
12066 (backtrace in call with trampolines): Explicitly require main
12067 to be frame #1 (no trampolines should show up in backtrace).
12068
12069 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
12070 "continue -expect".
12071 * gdb.t06/break.exp: Likewise.
12072 * gdb.t07/watchpoint.exp: Likewise.
12073 * gdb.t13/bitfields.exp: Likewise.
12074 * gdb.t15/{funcargs,return}.exp: Likewise.
12075 * gdb.stabs/weird.exp: Likewise.
12076 * config/{mips,udi}-gdb.exp: Likewise.
12077
12078 * hppa.sed: Enclose comments within a sed command to avoid
12079 losing with the old OSF1 sed.
12080
12081Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12082
12083 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
12084 sequent dynix.
12085 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
12086 * gdb.t15/funcargs.exp: Conditionally step again to really
12087 finish from marker_call_with_trampolines. Handle the case where
12088 the first step from within call_with_trampolines already steps
12089 us back to main.
12090 * gdb.t15/gdbme.c: Add comment to closing brace of
12091 call_with_trampolines for funcargs.exp.
12092
12093Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12094
d63a86f8 12095 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
12096 Fix typo(s).
12097
12098Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12099
12100 * gdb.t07/gdbme.c: More code for watchpoint testing.
12101
12102 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
12103 "Hardware watchpoint" throughout file.
12104 (test_watchpoint_triggered_in_syscall): New test.
12105 (test_complex_watchpoint): New test.
12106
12107Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12108
12109 * gdbme.c (call_with_trampolines): New function to try and step
12110 into. Tests trampoline problems on the PA.
12111
12112 * funcargs.exp (localvars_in_indirect_call): No longer expect
12113 stepping into indirect call to fail on PAs.
12114 (test_stepping_over_trampolines): New test.
12115
12116Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12117
12118 * TODO: Add suggestions for static member function tests, and
12119 completion tests.
12120
12121Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12122
12123 * TODO: Add suggestions for "p/a" tests.
12124
12125 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
12126 (default_gdb_exit): Replace all the hair with sending "quit" to
12127 the process with a simple close.
12128
12129Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12130
12131 * TODO: Add suggestions for shared library tests.
12132
12133Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12134
12135 * TODO: Add suggestions for x/s tests.
12136
12137Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12138
12139 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
12140 "enable once", and "enable breakpoints once" with ".*".
12141
12142Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12143
12144 * TODO: Add suggestions about structure passing tests.
12145
12146Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12147
12148 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
12149 the primary1 test, use work around if __GNUC__ < 2.
12150 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
12151 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
12152 Test for bad output rather than waiting for timeout. Issue
12153 second continue only if first continue failed.
12154
12155Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12156
12157 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
12158 operator[] test with gdb_test because the old code didn't seem to
12159 be getting the quoting right with the new dejagnu.
12160
12161Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
12162
12163 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
12164 one from the path.
12165 * Makefile.in: Use a fresh expect if there is one, use runtest
12166 from the src tree if there is one.
d63a86f8 12167
c906108c
SS
12168Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12169
12170 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
12171 next over recursive call. Revise the tests from that point on
12172 (which had been skipped) to match GDB's actual (correct) output.
12173
12174 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
12175 with next over a breakpoint whose condition is false.
12176
12177 * gdb.t00/help.exp: Comment out "help set print" tests just like
12178 (and for same reason as) "help set" test.
12179
12180Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12181
12182 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
12183 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
12184
12185Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12186
12187 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
12188 necessary gdb_target_udi.
12189
12190 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
12191
12192 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
12193 1838 and 2417; they are fixed.
12194
12195 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
12196 gdb.t03/ptype.exp (ptype structure, ptype union):
12197 Remove xfails; the test is looser than when the xfails were added.
12198
12199 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
12200 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
12201
12202 * gdb.t01/run.exp: Only run shell test if isnative.
12203
12204 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
12205 since "run" automatically loads if necessary. Call gdb_target_udi
12206 after the "file" since "file" kills any execution target.
12207
12208 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
12209 GDB. GDB doesn't work that way (not anymore at least) on UDI.
12210 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
12211 argument for UDI.
12212
12213Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12214
12215 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
12216
12217 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
12218
12219Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12220
12221 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
12222 properly quoting regexps. This makes the second argument to
12223 demangle a fixed string, which matches the callers, instead of a
12224 shell-style pattern which is what the previous implementation
12225 used. Update some of the callers.
12226
12227Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12228
12229 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
12230 (comib_nullified_tests): Fix typo.
12231 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
12232 strings. No longer expected to fail.
12233
12234 * gdb.disasm/hppa.s (addib_tests): Fix typo.
12235 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
12236 strings. No longer expected to fail.
12237
12238 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
12239 string. No longer expected to fail.
12240
12241Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12242
12243 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
12244 No longer expected to fail.
12245
12246 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
12247 string. No longer expected to fail.
12248
12249Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12250
12251 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
12252 only in the names (I probably got most of them). I was even
12253 generous with some which differed in underscores in names, and
12254 probably missed a few, and I *still* was able to remove almost a
12255 third of the file with almost no impact on testsuite coverage.
12256
12257Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12258
12259 * gdb.t00/default.exp: Match udi_attach error message as well as
12260 the one from child_attach.
12261
12262 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
12263
12264 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
12265
12266 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
12267 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
12268
12269 * Move test with enums and partial symbols back to
12270 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
12271 Reverts the change of 26 May 93. Per today's change to
12272 stabs.texinfo, the behavior that weird.exp was expecting was
12273 unreasonable; what is important is that the compiler+gdb get
12274 things right, which happens with a recent gcc. Also fix the test
12275 to deal with native compilers which put out the stab gdb can't
12276 deal with.
12277
12278Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12279
12280 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
12281 in the names. The main thing these accomplish is to slow things down.
12282 Many more such duplicates surely remain.
12283
12284 * gdb.t00/help.exp: Comment out "help support" test just like
12285 (and for same reason as) "help set" test.
12286
12287Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
12288
12289 * gdb.t06/break.exp: Remove setup_xfails for
12290 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
12291 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
12292 about known bug in gcc to include up through 2.5.8.
12293 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
12294 well as "_vb$".
12295 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
12296 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
12297 with latest gcc and gdb.
12298 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
12299 well as "_vb$".
12300
12301Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12302
12303 * configure.in (hppa*-*-*): Also configure and build stabs-only
12304 tests.
12305
12306Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12307
12308 * gdb.t10/hppa.mt: A makefile fragment for the PA.
12309 * gdb.t10/configure.in (hppa*-*-*): Use it.
12310
12311Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12312
12313 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
12314
12315Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12316
12317 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
12318 versions prior to 1.13.5.
12319
12320Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12321
12322 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
12323 the prompt is at the start of a line.
12324
12325Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12326
12327 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
12328 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
12329 in the copr tests now.
12330 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
12331 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
12332 expected to fail.
12333
12334Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
12335
12336 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
12337 gdb.t31/chillvars.exp, lib/gdb.exp:
12338 Tweak to run under either version of expect.
12339 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
12340 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
12341 * gdb.t11/list.exp: Remove extraneous whitespace.
12342
12343Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12344
12345 * gdb.t16/printcmds.exp (test_print_strings): Accept
12346 "(unsigned char *) " before the string.
12347
12348 * TODO: Add notes about printing of fancy types and GDB expressions.
12349
12350Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
12351
12352 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
12353 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 12354 if doing mips-idt-ecoff.
c906108c
SS
12355
12356Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
12357
12358 * Most .exp files: Tweak to run under either version of expect.
12359
12360Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12361
12362 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
12363 xfails; I'm not sure why they are failing, but not because of PR 1806.
12364
12365Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
12366
12367 * config/unix-gdb.exp: Remove gdb_unload cause it's already
12368 defined in lib/gdb.exp.
12369
12370Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12371
12372 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
12373 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
12374 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
12375 have to be typeless.
12376
12377Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12378
12379 * TODO: Add suggestion for copyright year test.
12380
12381Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
12382
12383 * configure.in (*-*-lynxos*): Add stabs tests.
12384
12385Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12386
12387 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
12388 so insert a tab before any assembler directive in column zero.
12389
12390 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
12391 stores.
12392 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
12393 stores.
12394 (fpu_short_memory_tests): Likewise.
12395
12396Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12397
12398 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
12399 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
12400 .stabs directives in comments.
12401
12402Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12403
12404 * TODO: New file, describing tests we could write.
12405 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
12406
12407Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12408
12409 * gdb.t06/signals.exp: Add kludge to force re-sync.
12410
12411 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
12412 to xgdb instead of gdb, get out of gdb.
12413
12414Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
12415
12416 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
12417 for info.
12418
12419Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12420
12421 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
12422 * gdb.stabs/configure.in (hppa*-*-*): Use it.
12423 * gdb.stabs/hppa.sed: New sed script for the PA.
12424
12425Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12426
12427 * gdb.stabs: Re-write weird.def and configuration to use sed
12428 instead of cpp. sed is portable and POSIX; cpp is neither.
12429
12430Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12431
12432 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
12433
12434Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12435
12436 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
12437
12438Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12439
12440 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
12441 "_vb$".
12442 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
12443 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
12444
12445Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12446
12447 * lib/gdb.exp: Comment out code which depends on non-existent
12448 `transform' procedure.
12449
12450Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
12451
12452 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
12453 * lib/gdb.exp: Transform tool name.
12454 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
12455 1.1's new error handling system.
12456
12457Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12458
12459 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
12460
12461Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12462
12463 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
12464 They made pattern matching so slow that timeouts happened on
12465 heavily loaded systems. Now any output from "show print" which
12466 gets us back to the GDB prompt is a PASS.
12467
12468Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
12469
12470 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
12471
12472Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12473
12474 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12475
12476 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12477 It is not from PR 3220.
12478
12479Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12480
12481 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12482 just started failing because they depended on the order the
12483 subcommands are presented, or exact docstring text. This kind of
12484 test is a pain and has minimal benefit.
12485
12486Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12487
12488 * gdb.t09/corefile.exp: At end of test, use "core" command with
12489 no arguments.
12490
12491Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
12492
12493 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12494 17}/Makefile.in: Make it possible to run the testsuite with Sun
12495 make and CC = cross gcc by adding explicit build rules for .o
12496 files.
12497
12498Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12499
12500 * gdb.t15/funcargs.exp: Don't put comments on same line as
12501 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 12502
c906108c
SS
12503Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12504
12505 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12506
12507Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
12508
12509 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12510 * gdb.t20/inherit.exp: remove three dumplicate entries.
12511
12512Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12513
12514 * gdb.t06/break.exp: For "next over recursive call", fail on any
12515 incorrect output, not just on "factorial (value=2)".
12516
12517Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12518
12519 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
12520 working now. Add an xfail if accesing a bss variable causes
12521 a memory error if the target is not yet run.
12522
12523Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12524
12525 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12526 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12527 name of __st* demangling (2 strings). Did Kung really get the
12528 more than 95 others right without testing them?
12529
12530Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
12531
12532 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12533
12534Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
12535
12536 * configure.in (configdirs): Add gdb.disasm
12537 * gdb.disasm: New directory for GDB disassembler tests.
12538 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12539
12540Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12541
12542 * gdb.t00/help.exp: Don't test "help set".
12543
12544 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12545 from within expect statements. None of these happen anymore and
12546 they cause regressions to be silently unnoticed.
12547
12548 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12549 messages) about known failures with gcc cygnus-2.4.5-930417.
12550
12551 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12552 comp-info.exp so it gets built if it doesn't exist.
12553
12554 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12555 it is no longer used.
12556 * gdb.t13/comp-info.c: Removed.
12557
12558Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12559
12560 * gdb.t06/signals.exp: Add xfail for sun3.
12561
12562Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12563
12564 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12565 relevant because ^C doesn't get sent but failure can be reproduced
12566 interactively).
12567
12568Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12569
12570 * gdb.stabs/alpha.mt: New configuration file for alpha.
12571 * gdb.stabs/configure.in: Use it.
12572 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
12573 sharing with alpha.mt, redefine long to word via preprocessor.
12574 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
12575 for alpha.
12576 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
12577 native cc.
12578 * gdb.t00/teststrategy.exp: Change expect string so that we
12579 consume the `(xgdb)' from the command echo and from the gdb prompt.
12580 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
12581 gdb currently compares all values as long, so this failure probably
12582 applies to any configuration where LONGEST is bigger than a target int.
12583 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12584 with gcc.
12585 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12586 to handle opaque pointers, gcc is.
12587 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12588 as first argument. Include <sys/types.h> and change all operator
12589 new definitions to use size_t.
12590 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12591 now that we use size_t.
12592
12593Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12594
12595 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12596 a long or float array cast all array members to the same type.
12597 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12598 with 64 bit longs.
12599 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12600 on alpha.
12601 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12602
12603Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12604
12605 * gdb.t24 (demangle.exp): Constructors of templates have names like
12606 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12607 section 14.6 of the ARM.
12608
12609 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12610 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12611 accomplish little and slow down the testsuite.
12612
12613 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12614 Accept spaces various places.
12615
12616Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12617
12618 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12619 with watchpoint enabled.
12620
12621 * Makefile.in: Remove definition of CC and remove the second
12622 definition of CXX (the "CXX = gcc" one remains). These definitions
12623 were causing backquotes to be expanded within backquotes, which
12624 doesn't work.
12625
12626Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12627
12628 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12629
12630Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12631
12632 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12633 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12634 by mips cc and contains no stabs entries.
12635
12636Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12637
12638 * config/vx-gdb.exp: Use fake device to load files rather than
12639 NFS.
12640 * lib/gdb.exp: New proc to do "file" command.
12641 * config/unix-gdb.exp: Use new "file" proc.
12642
12643Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12644
12645 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12646 Rework board rebooting slightly.
12647 (gdb_exit): Don't exit from the remote shell; there isn't one.
12648 * gdb.stabs/weird.exp: If a program is being debugged already,
12649 kill it.
12650 * gdb.t04/setvar.exp: Stop and restart gdb.
12651 * gdb.t05/expr.exp: Likewise.
12652 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12653 restart gdb and reload the program.
12654 * gdb.t08/opaque.exp: Likewise.
12655 * gdb.t12/scope.exp: Likewise.
12656 * gdb.t13/bitfields.exp: Likewise.
12657 * gdb.t15/funcargs.exp: Likewise.
12658 * gdb.t20/classes.exp: Likewise.
12659 * gdb.t03/ptype.exp: Increase timeout.
12660 * gdb.t16/printcmds.exp (test_print_string_constants,
12661 test_print_array_constants): Likewise.
12662 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12663 * gdb.t20/classes.exp (do_tests): Likewise.
12664 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12665
12666Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12667
12668 * gdb.stabs: Renamed *wierd* to *weird*.
12669
12670Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12671
12672 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12673 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12674
12675Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12676
12677 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12678 (do_tests): Remove xfail for whatis on one_var and two_var.
12679
12680Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12681
12682 * Makefile.in: Made cross building work better by adding
12683 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12684
12685Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12686
12687 * gdb.t15/{return.c,return.exp,Makefile.in}:
12688 New test, currently commented out.
12689
12690Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12691
12692 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12693 still running and removes the leftover named socket so GDb can do
12694 clean restarts.
12695
12696Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12697
12698 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12699 console, not GDB.
12700 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12701 cross testing works better with "make check"
12702 * config/unix-gdb: Use default procedures for exit and version.
12703 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12704 with the newest VxWorks.
12705
12706Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12707
12708 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12709 old form.
12710
12711 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12712 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12713
12714 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12715
12716 * config/unix-gdb.exp: Remove this version of gdb_exit
12717 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12718 Rob says he'll look at it when he gets back to testing boards.
12719
12720Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12721
12722 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12723 an expected fail for certain ptype commands.
12724
12725 * gdb.t20/classes.exp: Update expected results of "ptype class
12726 Base1" to account for the constructor that now appears in the type.
12727
12728Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12729
12730 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12731 disappeared from list.
12732 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12733 "alldone" proc with call to cleanup and exit.
12734 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12735 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12736 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12737 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12738 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12739 "alldone" proc with simple returns that suppress remaining
12740 tests. The alldone proc went away many months ago.
12741
12742Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12743
12744 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12745
12746 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12747
12748Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12749
12750 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12751 as vax gdb will display them.
12752
12753Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12754
12755 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12756 optimizers.
12757
12758 * scope.exp: Change "bad value for localval" messages so each one
12759 is unique.
12760
12761 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12762 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12763
12764 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12765
12766Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12767
12768 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12769 doesn't exist (due to optimization).
12770
12771Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12772
12773 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12774 contains \r because the filename is long.
12775
12776 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12777 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12778
12779Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12780
12781 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12782 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12783 Ultrix.
12784 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12785 int tests.
12786 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12787
12788Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12789
12790 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12791
12792 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 12793 to match does not match the passing case but still matches the
c906108c
SS
12794 failing case.
12795
12796Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12797
12798 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12799
12800Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12801
12802 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12803 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12804 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12805 Remove various versions of gdb_exit.
12806 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12807 gdb_exit.
12808 * config/unix-gdb.exp: gdb_exit remains here, and should override
12809 the generic version, since it's doing a lot of wierd stuff that
12810 the other versions aren't. FIXME, fold it in, or abandon this
12811 version.
12812
12813Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12814
12815 * gdb.t24/demangle.exp: Add tests for PR 3220.
12816
12817Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12818
12819 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12820
12821Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12822
12823 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12824 "i386-*-*". Works for i486 as well.
12825
12826 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12827 bug, and expand domain of xfail to all SVR4 systems, since the
12828 actual problem is likely to be in generic SVR4 /proc support.
12829
12830Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12831
12832 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12833
12834Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12835
12836 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12837 xfails for other systems. Match a missing 'Continuing.' as an
12838 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12839
12840 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12841 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12842 Only issue warning for missing executables if -all option is used.
12843
12844 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12845 file if -all option is used. It's like an unpredictable XFAIL.
12846
12847Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12848
12849 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12850 for dynamically linked binaries.
12851
12852 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12853
12854Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12855
12856 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12857 to state that this is a known bug in old versions of g++.
12858
12859Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12860
12861 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12862 while waiting for `Continuing'.
12863
12864Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12865
12866 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12867 in text, data, and bss.
12868 * gdb.t10/nodebug.c: Add local and global test variables for
12869 initialized and uninitialized data.
12870
12871Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12872
12873 * config/unix-gdb.exp (gdb_exit): Add "wait".
12874
12875Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12876
12877 * gdb.t06/signals.exp: xfail the continue from the handler for all
12878 targets.
12879
12880 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12881 function with watchpoints enabled, the i386 call dummy starts with
12882 a call.
12883
12884 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12885 386 bsd names its corefiles.
12886
12887Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12888
12889 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12890 compilers don't grok it.
12891 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12892 with small octal ints rather than character constants, which
12893 are signed and might not fit if first promoted to int.
12894
12895Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12896
12897 * gdb.t09/Makefile.in (clean): Remove corefile.
12898
12899Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12900
12901 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12902
12903Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12904 and Jim Kingdon (kingdon@cygnus.com)
12905
12906 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12907 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12908 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12909
12910Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12911
12912 * gdb.t17/interrupt.exp: Add xfail for hppa.
12913
12914Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12915
12916 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12917 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12918 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12919 to determine signed-ness of bitfields and use the result to setup
12920 the xfail.
12921 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12922 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12923 call line is reached if necessary.
12924
12925Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12926
12927 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12928
12929Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12930
12931 * gdb.t06/break.exp: Also test `clear' command.
12932
12933Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12934
12935 * gdb.t00/teststrategy.exp: Remove extra quote.
12936
12937 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12938 watchpoint enabled to be for all non-68k machines.
12939
12940 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12941
12942Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12943
12944 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12945 targets use aout.mt instead of ecoff.mt as gas understands
12946 standard aout format.
12947
12948Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12949
12950 * lib/gdb.exp (runto): Don't insist that function we are running to
12951 was compiled with -g.
12952
12953 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12954
12955 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12956 to get back into the read system call.
12957 Accept leading newline in case where we woke it up.
12958
12959Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12960
12961 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12962 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12963 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12964 enable ecoff configuration.
12965
12966Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12967
12968 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12969
12970Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12971
12972 * gdb.t16/printcmds.exp: Add another printf test.
12973
12974Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12975
12976 * configure.in: If configured -with-stabs on any target, add
12977 stabsdirs to configdirs.
12978
12979Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12980
12981 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12982 fun" so pattern does not match the command itself.
12983
12984Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12985
12986 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12987
12988Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12989
12990 * gdb.t17/interrupt.exp: Test for more things.
12991
12992Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12993
12994 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12995 compiler arranges the code and line numbers.
12996
12997 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12998
12999Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13000
13001 * gdb.t00/help.exp: Increase expect input buffer size.
13002
13003Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13004
13005 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
13006
13007 * gdb.t07/watchpoint.exp: Add xfail for hppa.
13008
13009 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
13010
13011 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
13012 [0-9]*, not just [0-9].
13013
13014Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13015
13016 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
13017
13018 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
13019
13020Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13021
13022 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
13023
13024Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13025
13026 * gdb.t06/signals.c: Add xfails for sun3.
13027
13028 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
13029
13030 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
13031 test_stepping tests.
13032
13033Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13034
13035 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
13036
13037 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
13038
13039 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
13040 rather than actually putting it through cpp twice.
13041
13042 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
13043
13044Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
13045
13046 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
13047 no longer needed.
13048
13049Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13050
13051 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
13052
13053 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
13054 C++ features prints as "struct", make it a pass, not an xfail.
13055
13056Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13057
13058 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
13059 Don't require VA to print as "class" rather than "struct".
13060
13061Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
13062
13063 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
13064
13065Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13066
13067 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
13068
13069Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13070
13071 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
13072 order.
13073
13074Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13075
13076 * gdb.t16/printcmds.exp: Add printf tests.
13077
13078 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
13079
13080 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
13081
13082Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
13083
13084 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
13085 pass counts, to counteract any existing or future setup_xfails.
13086
13087Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13088
13089 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
13090 {BEGIN,END}_COMMON for common block instead of STAB.
13091 * gdb.stabs/wierd.exp: Add xfail for rs6000.
13092
13093 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
13094 intp_var should be N_GSYM not N_LSYM.
13095 wierd-aout.S: Use a label for the value of the N_SO.
13096 wierd.def: Remove all backslashes.
13097 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
13098
13099Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13100
13101 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
13102 get the expected next to inheritance3.
13103
13104Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13105
13106 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
13107 now that gcc-2.4 gets it right.
13108
13109Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13110
13111 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
13112
13113 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
13114 generating comp-info.exp which works for cross-compilation.
13115
13116Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
13117
13118 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
13119 "*-*-sysv4.*".
13120
13121Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
13122
13123 * gdb.t01/run.exp: Start with a fresh gdb.
13124 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
13125 SVR4.x.
13126
13127Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
13128
13129 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
13130 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
13131 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
13132 Makefile.in (distclean, realclean): Remove gdbme.c from list of
13133 things to remove.
13134
13135Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
13136
13137 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
13138 test cases from bug reports.
13139
13140Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
13141
13142 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
13143 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
13144 avoid spurious xfails.
13145 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
13146 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
13147 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
13148
13149Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
13150
13151 * gdb.t00/teststrategy.exp: Rework to provide more useful
13152 description of each test, fix problem with systems that define
13153 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
13154 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
13155 results for "next over recursive call" so timeouts aren't taken
13156 by error.
13157
13158Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
13159
13160 * gdb.t12/scope.exp: Test printing of variables before run.
13161
13162 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
13163 printed in wrong order due to sorting.
13164
13165Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
13166
13167 * gdb.t00/teststrategy.exp: Fix expected results for printing
13168 user entered string constant. Is array of char, prints with no
13169 address.
13170
13171 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
13172 commands.
13173 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
13174 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
13175 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
13176 of struct of char arrays.
13177 * gdb.t00/radix.exp: New tests for radix commands.
13178
13179Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
13180
13181 * gdb.t16/printcmd.exp: Print a variable before running program
13182 (with xfail for AIX).
13183
13184Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
13185
13186 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
13187
13188 * gdb.t16/printcmd.exp: Don't print variables before running program.
13189
13190 * gdb.t06/break.exp: Don't require envp argument to main.
13191
13192 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
13193
13194 * gdb.t02/whatis.exp, gdb.t11/list.exp:
13195 Add xfails for rs6000.
13196
13197 * gdb.t02/whatis.exp: Change other tests not to re-test something
13198 we already tested.
13199
13200 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
13201 each type used has a variable of that type.
13202
13203Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
13204
13205 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
13206
13207Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13208
13209 * configure.in: change srctrigger to be a file, not a directory
13210
13211Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
13212
13213 * configure.in (mips-idt-ecoff*): Added trailing '*'.
13214
13215 * gdb.t11/list.exp: Fixed a couple of typos.
13216
13217Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
13218
13219 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
13220 is fixed and PR is closed.
13221 * gdb.t16 (gdbme.c): Add simple test string variable.
13222 * gdb.t16 (printcmds.exp): Add tests with simple test string
13223 variable, primarily for boundaries on "set print elements".
13224
13225Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
13226
13227 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
13228 Make leading 0's optional and don't expect a tab in the middle
13229 of the number.
13230
13231 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
13232
13233 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
13234 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
13235 don't end command passed to gdb_test with newline.
13236
13237 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
13238 signed keyword away, don't expect signed bitfields to be signed.
13239
13240 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
13241 printing with only as many 1's as are in the field as well as printing
13242 with 32 1's (see comment).
13243
13244Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
13245
13246 * gdb.t00/default.exp: Start with a fresh gdb.
13247 * configure.in (configdirs): Remove gdb.t31 until the chill
13248 compiler works again. It no longer is able to find chillrt0
13249 since it isn't in libchill.a anymore.
13250 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
13251 wierd.o, make more modular.
13252 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
13253 spurious newlines that caused problems.
13254
13255Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13256
13257 * Move test with enums and partial symbols from gdb.t03/ptype.exp
13258 to gdb.stabs/wierd.exp since GCC has worked around the bug.
13259 gdb.stabs/wierd.{exp,def}: Many new tests.
13260
13261 * gdb.t00/default.exp: update info line for new message.
13262
13263 * gdb.t02/{whatis.exp,gdbme.c}:
13264 Test that "char *" doesn't print as "caddr_t".
13265
13266Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13267
13268 * gdb.t00/help.exp: Use .* in place of some help messages which
13269 just changed.
13270 gdb.t00/default.exp: Update "info frame" test for new message.
13271 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
13272 Remove some xfails
13273
13274Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13275
13276 * gdb.t03/{gdbme.c,ptype.exp}:
13277 Add tests for typedef'd struct and union without tags.
13278 Also check "whatis" on a variable of a typedef'd enum without a tag.
13279
13280 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
13281 PRMS 1823; the bug still exists but isn't reproduced by this test
13282 anymore), and remove rs6000 XFAIL (the bug is fixed).
13283
13284 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
13285 duplicated from whatis.exp. For those that are left, accept
13286 "long", "long int", or "int" for long variables (whatis.exp already
13287 has an XFAIL for "int", so no need to fail it here).
13288
13289 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
13290 Deal with GCC's names for types now that GDB uses the compiler's names.
13291
13292 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
13293 setup_xfail's for sunos4. If we #defined the signed keyword away,
13294 don't expect GDB to know that char it is signed.
13295
13296 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
13297
13298Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
13299
13300 * configure.in (configdirs): Add gdb.t24 for C++ tests that
13301 should work on any system, regardless of debugging format.
13302 * gdb.t21/demangle.exp: Move to gdb.t24.
13303 * gdb.t24/demangle.exp: Move from gdb.t21.
13304 * gdb.t24/{Makefile.in, configure.in}: New files.
13305
13306Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13307
13308 * configure.in: Do gdb.stabs and C++ tests only for stabs.
13309 * gdb.stabs: New directory.
13310
13311Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13312
13313 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
13314 not just "Quit anyway?".
13315
13316Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
13317
13318 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
13319 that all setup_xfails are immediately followed by clear_xfails.
13320
13321Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
13322
13323 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
13324 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
13325 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
13326 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
13327 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
13328 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13329 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13330 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
13331 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
13332 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
13333 gdb.t31/chillvars.exp, lib/gdb.exp:
13334 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
13335 bug-gdb@prep.ai.mit.edu.
13336
13337Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
13338
13339 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
13340 with 0.0, not integer 0.
13341
13342Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
13343
13344 * gdb.t06/break.exp: Update for "Kill the program" message change.
13345
13346Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
13347
13348 * Makefile.in (GDBFLAGS): Set to -nx.
13349 * Makefile.in (site.exp): Use GDBFLAGS.
13350
13351Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13352
13353 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
13354 Makefiles.
13355 (check): depend on just-check.
13356 (just-check): added so that tests can be run without a noop
13357 build pass.
13358
13359Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13360
13361 Switch to using configure's configdirs.
13362 * Makefile.in (Makefile): add configure.in dependency.
13363 (SUBDIRS): removed redundant assignment.
13364 * configure.in: switch subdirs assignment to configdirs.
13365 * gdb.t*/configure.in: new files.
13366
13367Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
13368
13369 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
13370 works.
13371
13372Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
13373
13374 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
13375 in explicit rules. Apparently this is not supported by some makes.
13376
13377Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
13378
13379 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
13380
13381Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13382
13383 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
13384 disappeared.
13385
13386Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
13387
13388 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
13389
13390Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
13391
13392 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
13393 watchpoint problem that is now fixed.
13394 * gdb.t30/chexp.exp: Remove setup_xfail for printing
13395 uninitialized convenience variables.
13396 * gdb.t31/chillvars.exp: Fix expected patterns for printing
13397 structures.
13398
13399Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13400
13401 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
13402 which causes expect to get out of sync with gdb on long output
13403 from help set.
13404 * gdb.t09/corefile.exp: Make expected pattern for core file
13405 failing signal and frame output format less sun specific.
13406
13407Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
13408
13409 * gdb.t31/chillvars.exp: Add and remove initial dummy
13410 breakpoint, so that symbol table is forced in.
13411 (Needed at least on Sunos4, though it seems not SVR4.)
13412 * gdb.t31/chillvars.exp: Update for changed output format.
13413
13414Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
13415
13416 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
13417
13418Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
13419
13420 * Makefile.in: Added --srcdir when invoking runtest, removed the
13421 need for a local config file. (optional now)
13422
13423Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
13424
13425 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
13426 failure count used to force early termination. Add some more
13427 expected failures for gnu style demangling.
13428
13429Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13430
13431 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
13432 pmi variable from gdb.t20/gdbme to get optimized away.
13433 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
13434 Check for written corefile upon timeout _and_ eof.
13435
13436Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13437
13438 * config/unix-gdb.exp: Add missing return 0.
13439
13440Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13441
13442 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
13443 test termination.
13444
13445Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
13446
13447 * configure.in (subdirs): Put back gdb.t17 which mysteriously
13448 disappeared.
13449
13450Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
13451
13452 * gdb.t10/crossload.exp: Disable the i860-elf test until such
13453 time as i860 support works.
13454
d63a86f8 13455 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
13456 "backtrace 100\r" rather than just "backtrace\r", to match last
13457 change.
13458
13459Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
13460
13461 * config/udi-gdb.exp (gdb_exit): Remove close command.
13462 (gdb_target_udi): New procedure to set the UDI target.
13463 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
13464 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
13465 Added waits for prompts after several question responses. Added
13466 some more responses used by a29k-amd-udi-gdb.
13467 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
13468 pass different arguments, restart UDI connection after program
13469 completion.
13470 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
13471 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13472 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13473 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13474 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13475 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13476 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13477 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13478 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13479 after program completion.
13480 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13481 compiled with a SELECT_VECS setting.
13482 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13483 infinite recursion.
13484
13485 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13486 Added checks for COFF results, and made them expected failures for
13487 all targets. It would be better to make them expected failures
13488 for COFF targets only.
13489
13490Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
13491
13492 * Makefile.in: add null dvi target, don't bother to recurse
13493 through test directories for info and install-info; rename
13494 $(datadir) to be dejagnu instead of deja-gnu
13495
13496Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
13497
13498 * gdb.t31/gdbme.ch: Re-enable code that previously caused
13499 compiler to coredump.
13500 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
13501 code.
13502
13503Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
13504
13505 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
13506 coredump.
13507 * gdb.t31/chillvars.exp: Comment out tests that depend on that
13508 code.
13509
13510Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
13511
13512 * gdb.t03/ptype.exp: tests for return code from gdb_test.
13513 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13514 which in a shell. Deletes xgdb when done.
13515 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13516 Tests the return from the "set height" or "set width" commands.
13517 Added a few return codes where needed.
13518
13519Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
13520
13521 * Makefile.in (SUBDIRS): Add gdb.t17.
13522 * configure.in (subdirs): Add gdb.t17.
13523 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
13524 files to test gdb's calling of functions in the inferior with
13525 the correct arguments and gdb's ability to retrieve any
13526 result returned.
13527
13528Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
13529
13530 * config/unix-gdb.exp (gdb_exit): Remove close commands that
13531 may be called after gdb goes away. Previous versions of expect
13532 needed these to avoid file descriptor leaks, but they cause
13533 errors with the current revision of expect.
13534 * gdb.t00/gdbvars.exp: Use -re on expected output after
13535 setting sevenbit-strings.
13536 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
13537 to set sevenbit-strings consistent across tests.
13538 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
13539 set sevenbit-strings consistent across tests.
13540
13541Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
13542
13543 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
13544 expected output to match current "expect" expectations.
13545
13546Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
13547
13548 * gdb.t00/default.exp: Change expected output for default "source"
13549 command, to match new gdb behavior which requires a filename to
13550 source.
13551
13552Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
13553
13554 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
13555 expected fail for i486-*-* that misses the marker2 function.
13556 * gdb.t10/crossload.exp (bfddefault): Allow successful
13557 recognition of a format to pass even if no symbols are found.
13558 Explicitly catch failures where the format is not recognized
13559 or is ambiguous, and add the reason to the fail message.
13560 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
13561 the cause is and invalid target and add reason to failure message.
13562 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
13563 elf32-i386, elf32-sparc, and elf32-i860.
13564 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13565 Set up expected failure for 'filename'::variable scope resolution,
13566 which is now apparently broken on all targets.
13567 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13568 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13569 gdb.t23/templates.exp: Change failure for missing binfile into
13570 just a warning.
13571 gdb.t21/demangle.exp: Change all cfront references to 'arm'
13572 references.
13573
13574Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
13575
13576 * gdb.t00/default.exp: Add expected output for default "source"
13577 command, to match new gdb behavior.
13578 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
13579
13580Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
13581
13582 * config/*-gdb.exp: returns an error, rather than exiting on
13583 internal errors.
13584
13585Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13586
13587 * gdb.t03/gdbme.c: Add pointer to struct variable.
13588 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13589 referencing struct members.
13590
13591Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13592
13593 * configure.in (mips-idt-ecoff): New target.
13594 * config/mips-gdb.exp: New file for remote board using MIPS remote
13595 debugging protocol.
13596
13597 * Redid configuration scheme. Removed gdb.t*/configure.in.
13598 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13599 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13600 distclean targets. Built executables via .o files. Adjusted
13601 tests to account for source files in $(srcdir) rather than
13602 $(objdir).
13603 * lib/gdb.exp (runto): Don't expect () after the function name,
13604 because it may have arguments.
13605
13606Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13607
13608 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13609 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13610 expected failures for mips-idt-* and mips-sgi-*.
13611 * gdb.t00/default.exp (attach): Kill process if requested.
13612 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13613 that does not read core files.
13614 * gdb.t01/run.exp: Removed checks for exit status code.
13615 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13616 it is linked in.
13617 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13618 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13619 appropriate, rather than doing it by hand.
13620 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13621 execution.
13622 * gdb.t10/crossload.exp: Kill existing program if needed.
13623 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13624 appropriate, rather than doing it by hand. Always increase
13625 timeout for this test, not just for VxWorks.
13626
13627Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13628
13629 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13630 of Chill STRUCT types and STRUCT values.
13631 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13632 than "char".
13633 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 13634 struct2): New struct definitions and initializations to test
c906108c
SS
13635 simple Chill STRUCT types.
13636
13637Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13638
13639 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13640 the null byte at the end of strings.
13641 * gdb.t00/default.exp: Make show version insensitive to copyright
13642 date.
13643 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13644 to avoid dependencies on target char signedness.
13645 * gdb.t16/printcmds.exp: Update expected results for explicitly
13646 unsigned char.
13647 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13648 now work.
13649 * gdb.t21/demangle.exp: Add many more patterns for template
13650 demangling, most of them being expected failures.
13651 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13652 string we are matching for, to match on the whole string.
13653 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13654 and fix a whole bunch that had incorrect expected output but were
13655 passing anyway because of the bug in "proc demangle".
13656 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13657 type.
13658 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13659
13660Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13661
13662 * gdb/testsuite: made modifications to testcases, etc., to allow
13663 them to work properly given the reorganization of deja-gnu and the
13664 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13665
13666Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13667
13668 * gdb/testsuite: Initial creation of gdb/testsuite.
13669 Migrated dejagnu testcases and support files for testing nm to
13670 gdb/testsuite from deja-gnu. These files were moved "as is"
13671 with no modifications. This migration is part of a major overhaul
13672 of dejagnu. The modifications to these testcases, etc., which
13673 will allow them to work with the new version of dejagnu will be
13674 made in a future update.
48efe704 13675
8d8cb839 13676 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 13677\f
8d8cb839
EZ
13678;; Local Variables:
13679;; mode: change-log
13680;; left-margin: 8
13681;; fill-column: 74
13682;; version-control: never
13683;; End:
902f2ccb
MC
13684
13685 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 13686 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
13687 Copying and distribution of this file, with or without modification,
13688 are permitted provided the copyright notice and this notice are preserved.