* config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
987a9106
JB
12005-10-12 Jim Blandy <jimb@redhat.com>
2
3 * gdb.base/structs.exp (any): New function.
4 (test_struct_returns): Don't make any assumptions at all about
5 what value the function returns when GDB can't set the return
6 value.
7
2336bb58
JB
82005-10-09 Joel Brobecker <brobecker@adacore.com>
9
10 * gdb.ada/arrayidx/p.adb: New file.
11 * gdb.ada/arrayidx.exp: New testcase
12
132005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
14
15 * gdb.ada/array_return/pck.ads: New file.
16 * gdb.ada/array_return/pck.adb: New file.
17 * gdb.ada/array_return/p.adb: New file.
18 * gdb.ada/array_return.exp: New testcase.
19
705335ea
JB
202005-10-03 Joel Brobecker <brobecker@adacore.com>
21
22 * gdb.base/arrayidx.c: New file.
23 * gdb.base/arrayidx.exp: New testcase.
24
11ee9940
NR
252005-09-29 Nick Roberts <nickrob@snap.net.nz>
26
27 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
28 frames-invalid and breakpoints-invalid are no longer generated
29 with level 3 so don't expect them in the output.
30
39fb8e9e
BR
312005-09-27 Bob Rossi <bob@brasko.net>
32
33 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
34 from test. Escape the | in mi_gdb_test call.
35 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
36 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
37 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
38 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
39 expected regex's in mi_gdb_test calls.
40 * lib/mi-support.exp: Remove arbitrary .* from tests.
41 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
42 Fully anchor GDB/MI expected results in mi_gdb_test.
43 * lib/gdb.exp (string_to_regexp): Escape the ] character.
44 * gdb.base/sizeof.exp: Remove escape character. Correct test.
45
2af48f68
PB
462005-09-26 Paul Brook <paul@codesourcery.com>
47
48 * long_long.exp: Exclude eabi targets from arm FPA float format test.
49
f34502bc
WZ
502005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
51
52 * bfp-test.c: New file.
53 * bfp-test.exp: New testcase.
54
ca929517
WZ
552005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
56
57 * gdb.fortran/subarray.exp: New testcase to test the evaluation
58 of subarray and substring variable.
59 * gdb.fortran/subarray.f: New source file for the test of subarray
60 and substring variable evaluation.
61 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
62 of string constant.
63
c761af65
DJ
642005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
65
66 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
67 copyright dates.
68
561d7a1d
PG
692005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
70
71 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
72 powerpc altivec' test with an almost identical 'info vector' test.
73
b2b64cc9
PG
742005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
75
76 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
77 vscr" tests to match output.
78
6ac4d15a
PG
792005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
80
81 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
82 output.
83
40e55bef
BR
842005-09-11 Bob Rossi <bob@brasko.net>
85
86 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
87 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
88 commands that return an MI output command and an asyncronous MI output
89 command.
90 * gdb.mi/mi-console.exp: Ditto.
91
3c7385ec
BR
922005-09-11 Bob Rossi <bob@brasko.net>
93
94 * gdb.mi/mi-var-child.c: Include <string.h>.
95
a6cd0eb3
DJ
962005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
97
98 * killed.exp: Correct gdb_expect syntax.
99
2f168eed
CV
1002005-08-09 Corinna Vinschen <vinschen@redhat.com>
101
102 * lib/mi-support.exp (mi_gdb_load): Fix typo.
103
ecd3fd0f
BR
1042005-08-02 Bob Rossi <bob@brasko.net>
105
106 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
107 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
108 Change tests to inferior-tty-set/show.
109 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
110 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
111 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
112 inferior. Use mi_gdb_test to get GDB and Inferior output.
113 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
114 descriptor.
115 (mi_inferior_tty_name): Add inferior PTY file name.
116 (mi_gdb_start): Add INFERIOR_PTY parameter.
117 (mi_gdb_test): Add IPATTERN parameter.
118
f1ea48cb
BR
1192005-08-02 Bob Rossi <bob@brasko.net>
120
121 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
122 parameter to mi_gdb_test.
123 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
124
6e650a67
DJ
1252005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
126
127 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
128 struct_declarations.
129 * gdb.mi/mi-var-child.exp: Step over the initialization of
130 struct_declarations.
131
8be260b6
DJ
1322005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
133
134 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
135 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
136 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
137 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
138 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
139 file.
140
4e660f07
NR
1412005-07-27 Nick Roberts <nickrob@snap.net.nz>
142
143 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
144 (do_children_tests): Assign values to the extra elements.
145
146 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
147 them for tests for "-var-update --no-values" and
148 "-var-update --all-values".
149 Add test for "-var-list-children --simple-values".
150
151 * gdb.mi/basics.c (callee4): Add integer array D[3]...
152
153 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
154 "-stack-list-locals --simple-values" Improve doc strings and
155 comments.
156
6bdae935
MK
1572005-07-18 Mark Kettenis <kettenis@gnu.org>
158
598b7a6f
MK
159 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
160 *-*-openbsd*.
161 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
162
6bdae935
MK
163 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
164 sigaltsatck'.
165
1323e929
BR
1662005-07-14 Bob Rossi <bob@brasko.net>
167
168 * gdb.base/default.exp (tty): Changed output of command.
169 * gdb.base/help.exp (help tty): Ditto.
170
b1a9c082
MK
1712005-07-12 Mark Kettenis <kettenis@gnu.org>
172
173 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
174
10a844a2
MK
1752005-07-10 Mark Kettenis <kettenis@gnu.org>
176
177 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
178 -stack-select-frame without arguments.
179 (test_stack_frame_listing): Add test for newly implemented command
180 -stack-info-frame.
181
3cb3b8df
BR
1822005-07-06 Bob Rossi <bob@brasko.net>
183
184 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
185 command.
186 (Copyright): Update copyright.
187
a0c5fbcf
WZ
1882005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
189
190 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
191 tests to evaluate exponentiation expression.
192
984971d0
AS
1932005-06-29 Andreas Schwab <schwab@suse.de>
194
195 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
196 main to avoid warnings.
197
198 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
199
fe03833f
NR
2002005-06-20 Nick Roberts <nickrob@snap.net.nz>
201
202 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
203 -stack-select-frame without arguments.
204 (test_stack_frame_listing): Add test for newly implemented command
205 -stack-info-frame.
206
7a55f279
WZ
2072005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
208
0ffa0ea5
DJ
209 * gdb.fortran/array-element.f: New file.
210 * gdb.fortran/array-element.exp: New testcase.
7a55f279 211
26585198
DJ
2122005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
213
214 * gdb.base/bigcore.exp: Correct checks for systems which can
215 not dump a large core file.
216
c1bd25fd
DJ
2172005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
218
219 * gdb.base/relocate.c: Add a copyright notice.
220 (dummy): Remove.
221 * gdb.base/relocate.exp: Test printing the values of variables
222 from a relocatable file.
223
589e074d
DJ
2242005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
225
226 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
227 excess MI output after an error.
228
0915f927
JB
2292005-05-29 Joel Brobecker <brobecker@adacore.com>
230
231 * gdb.arch/alpha-step.c: New file.
232 * gdb.arch/alpha-step.exp: New testcase.
233
76ff342d
DJ
2342005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
235 Dennis Brueni <dennis@slickedit.com>
236
237 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
238 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
239 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
240 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
241 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
242 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
243 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
244
96b0c7ac
DJ
2452005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
246 Wu Zhou <woodzltc@cn.ibm.com>
247
248 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
249 IBM's xlc compiler.
250 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
251 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
252
f21565d2
JB
2532005-05-13 Jim Blandy <jimb@redhat.com>
254
255 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
256 calling gdb_suppress_entire_file.
257 * gdb.base/charset.exp: Same.
258 * gdb.base/call-rt-st.exp: Same.
259
6006a3a1
BR
2602005-05-05 Bob Rossi <bob_rossi@cox.net>
261
262 * lib/gdb.exp (fullname_syntax): Added global regex.
263 (fullname_syntax_POSIX): Ditto.
264 (fullname_syntax_UNC): Ditto.
265 (fullname_syntax_DOS_CASE): Ditto.
266 (fullname_syntax_DOS): Ditto.
267 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
268 fullname_syntax variable to scope and use it.
269 (test_file_list_exec_source_files): Ditto.
270 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
271
c3b69c04
DJ
2722005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
273
274 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
275
3c95e6af
PG
2762004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
277
278 * lib/gdb.exp (skip_altivec_tests): New function, based on
279 check_vmx_hw_available from the GCC testsuite.
280 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
281 * lib/gdb.arch/altivec-regs.exp: Likewise.
282
78df6c56
JB
2832005-05-02 Jim Blandy <jimb@redhat.com>
284
285 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
286 calling gdb_suppress_entire_file.
287
1690f9cf
DJ
2882005-04-30 Randolph Chung <tausq@debian.org>
289
290 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
291 Slightly relax "sem_post" name checking.
292
5ea106f7
PG
2932005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
294
295 * gdb.base/unload.exp: Use new shared library infrastructure.
296
bf7234cf
PG
2972005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
298
299 * gdb.base/so-impl-ld.exp: Use new shared library
300 infrastructure.
301
547b869a
CV
3022005-04-29 Corinna Vinschen <vinschen@redhat.com>
303
304 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
305 * gdb.asm/h8300.inc: New file.
306
f07e55f0
PG
3072005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
308
309 * gdb.base/shlib-call.exp: Change to use new shared library
310 infrastructure.
311
3cbba3d1
PG
3122005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
313
314 * gdb.base/pending.exp: Change to use new shared library
315 infrastructure.
316
ed6df200
PG
3172005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
318
319 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
320 use test_compiler_info instead of gcc_compiled, and update copyright.
321
8c8f4ebe
PG
3222005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
323
324 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
325 shared objects being adjusted and update copyright years.
326
607fbc54
DJ
3272005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
328
329 * ChangeLog: Correct some 2003-01-13 dates.
330 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
331 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
332 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
333 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
334 gdb.trace/tfind.exp: Update copyright years.
335
57bf0e56
DJ
3362005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
337 Daniel Jacobowitz <dan@codesourcery.com>
338
339 * lib/gdb.exp (gdb_compile): Handle shlib=.
340 (gdb_compile_shlib): New function.
341
9b593790
PG
3422005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
343
344 * lib/gdb.exp (test_compiler_info): Give argument a default value.
345
9494c6a5
DJ
3462005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
347
348 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
349 gdb.server.
350 * configure.ac: Likewise.
351 * configure: Regenerated.
352 * gdb.gdbserver/Makefile.in: Moved to...
353 * gdb.server/Makefile.in: ... here.
354 * gdb.gdbserver/server.c: Moved to...
355 * gdb.server/server.c: ... here.
356 * gdb.gdbserver/server-run.exp: Moved to...
357 * gdb.server/server-run.exp: ... here.
358
6f8eac0e
DJ
3592005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
360
361 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
362 * configure.ac: Create gdb.gdbserver/Makefile.
363 * configure: Regenerated.
364 * lib/gdbserver-support.exp: New file, derived from
365 config/gdbserver.exp.
366 * config/gdbserver.exp: Use gdbserver-support.exp.
367 * gdb.gdbserver/Makefile.in: New file.
368 * gdb.gdbserver/server.c: New file.
369 * gdb.gdbserver/server-run.exp: New file.
370
6e87504d
PG
3712005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
372
373 * lib/gdb.exp (test_compiler_info): Return compiler_info
374 if no arguments are given.
375
d1779be4
PG
3762005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
377
378 * gdb.arch/altivec-abi.exp: Check for compiler and set
379 use altivec' flag accordingly.
380 * gdb.arch/altivec-regs.exp: Likewise.
381
88750304
DJ
3822005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
383
384 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
385
f3fb768d
AS
3862005-03-27 Andreas Schwab <schwab@suse.de>
387
388 * gdb.base/bigcore.c (main): Add missing mode argument in open
389 call.
390
7e813ac5
DJ
3912005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
392
393 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
394 downloads.
395 * config/gdbserver.exp (gdb_load): Likewise.
396
8e3049aa
PB
3972005-03-14 Paul Brook <paul@codesourcery.com>
398
399 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
400 targets.
401
a9df7c44
JB
4022005-03-09 Joel Brobecker <brobecker@adacore.com>
403
404 * gdb.dwarf2/dup-psym.S: New file.
405 * gdb.dwarf2/dup-psym.exp: New testcase.
406
9f0d94e8
JB
4072005-03-09 Joel Brobecker <brobecker@adacore.com>
408
409 * gdb.ada/exec_changed/first.adb: New file.
410 * gdb.ada/exec_changed/second.adb: New file.
411 * gdb.ada/exec_changed.exp: New testcase.
412
5f579bc5
NS
4132005-03-08 Nathan Sidwell <nathan@codesourcery.com>
414
36e9969c
NS
415 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
416 (A2): New class.
417 (main): Test operator+.
418 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
419 breakpoint test.
420
5f579bc5
NS
421 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
422 * gdb.base/signull.exp: Disable if gdb,nosignals.
423 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
424 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
425 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
426 * gdb.mi/mi2-console.exp: Likewise.
427 * gdb.trace/collection.exp (run_trace_experiment): Consume the
428 continue output at start.
429 (gdb_collect_locals_test): Robustify regexp.
430 * gdb.trace/passc-dyn.exp: Fix comment typo.
431 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
432
be46087e
CV
4332005-03-08 Corinna Vinschen <vinschen@redhat.com>
434
435 * gdb.asm/asm-source.exp: Add iq2000 case.
436 * gdb.asm/iq2000.inc: New file.
437
384e1a61
MI
4382005-03-07 Manoj Iyer <manjo@austin.ibm.com>
439
440 * gdb.base/command.exp: Change hardcoded value to regular expression.
441 * gdb.base/float.exp: Add powerpc to the list of targets checked.
442
584b6e9e
DJ
4432005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
444
445 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
446 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
447 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
448 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
449 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
450
ab5b5d61
MK
4512005-03-05 Mark Kettenis <kettenis@gnu.org>
452
453 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
454 changes.
455
ae051c1b
PG
4562004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
457
458 * lib/compiler.c: Add test for IBM's xlc compiler.
459 * lib/compiler.cc: Likewise.
460
3f0f6ed2
JB
4612004-02-24 Joel Brobecker <brobecker@adacore.com>
462
463 * gdb.ada/fixed_points.exp: Create compilation object directory
464 before running the test.
465 * gdb.ada/null_record.exp: Likewise.
466 * gdb.ada/packed_array.exp: Likewise.
467 * gdb.ada/start.exp: Likewise.
468
724f452b
JB
4692005-02-15 Joel Brobecker <brobecker@adacore.com>
470
471 * gdb.ada/packed_array/pa.adb: New file.
472 * gdb.ada/packed_array.exp: New testcase.
473
57f5cdfb 4742005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 475
1f393151
MK
476 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
477 files.
478
ebdda337
MK
479 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
480 on *-*-openbsd*. Correctly match whitespace in regukar
481 expressions.
482
cf309262
DJ
4832005-02-10 Daniel Jacobowitz <dan@debian.org>
484
485 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
486 PR exp/1821
487 * gdb.base/gdb1821.c: New test file.
488 * gdb.base/gdb1821.exp: New test file.
489
3be49e7a
JB
4902005-02-09 Joel Brobecker <brobecker@adacore.com>
491
492 * gdb.base/start.c: New file.
493 * gdb.base/start.exp: New testcase.
494
e292e67d
JB
4952005-02-09 Joel Brobecker <brobecker@adacore.com>
496
497 * gdb.ada/start/dummy.adb: New file.
498 * gdb.ada/start.exp: New testcase.
499
dbdfa66c
CV
5002005-02-09 Corinna Vinschen <vinschen@redhat.com>
501
502 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
503 for printing symbols and statistics.
504 Add test for using relative pathnames in "maint print msymbols" test.
505 Mark "maint info sections DATA" XFAIL on Cygwin.
506 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
507 tests.
508
d7941671
AC
5092005-02-09 Andreas Schwab <schwab@suse.de>
510
511 Committed by Andrew Cagney <cagney@gnu.org>
512 * gdb.base/remotetimeout.exp: New file.
513
74e5ef44
MK
5142005-02-07 Mark Kettenis <kettenis@gnu.org>
515
516 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
517
464dd14d
JB
5182005-02-03 Joel Brobecker <brobecker@adacore.com>
519
520 * gdb.ada/gnat_ada.gpr: New file.
521 * gdb.ada/gnat_ada.gin: Delete, no longer used.
522 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
523 * configure.ac: No longer generate gnat_ada.gpr.
524 * configure: Regenerate.
525 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
526 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
527 * gdb.ada/null_record/bar.ads: Likewise.
528 * gdb.ada/null_record/bar.adb: Likewise.
529 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
530 * gdb.ada/null_record.exp (testdir): New variable.
531 (testfile): executable is now in testdir subdirectory.
532 (srcfile): Use full path to the main compilation unit.
533 * gdb.ada/fixed_points.exp: Same changes as above.
534
30d756ae
NR
5352005-02-03 Nick Roberts <nickrob@snap.net.nz>
536
537 * gdb.base/interp.exp: New test.
538
9d799f85
AC
5392005-01-24 Andrew Cagney <cagney@gnu.org>
540
541 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
542
15656118
AC
5432005-01-19 Andrew Cagney <cagney@gnu.org>
544
a892c31b
AC
545 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
546 configure.ac not configure.in.
547
15656118
AC
548 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
549 of powerpc*-*-*.
550 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
551 * gdb.base/list.exp (test_list_function)
552 (test_list_filename_and_function): Ditto.
553 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
554
a7b01baf
AC
5552005-01-16 Andrew Cagney <cagney@gnu.org>
556
17d92a02
AC
557 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
558
a7b01baf
AC
559 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
560
bc8332bb
AC
5612005-01-14 Andrew Cagney <cagney@gnu.org>
562
563 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
564 * gdb.mi/mi2-var-cmd.exp: Ditto.
565
4d074752
CV
5662005-01-10 Corinna Vinschen <vinschen@redhat.com>
567
568 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
569
bec39cab
AC
5702005-01-07 Andrew Cagney <cagney@gnu.org>
571
572 * configure.ac: Rename configure.in, require autoconf 2.59.
573 * configure: Re-generate.
574 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
575 * gdb.stabs/configure: Re-generate.
576 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
577 * gdb.hp/configure: Re-generate.
578 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
579 autoconf 2.59.
580 * gdb.hp/gdb.objdbg/configure: Re-generate.
581 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
582 autoconf 2.59.
583 * gdb.hp/gdb.defects/configure: Re-generate.
584 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
585 autoconf 2.59.
586 * gdb.hp/gdb.compat/configure: Re-generate.
587 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
588 autoconf 2.59.
589 * gdb.hp/gdb.base-hp/configure: Re-generate.
590 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
591 autoconf 2.59.
592 * gdb.hp/gdb.aCC/configure: Re-generate.
593
f10b16d4
JB
5942004-12-15 Jim Blandy <jimb@redhat.com>
595
596 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
597 under NPTL when there is debugging info available for libpthread.
598
fb6e1814
JG
5992004-12-13 Jerome Guitton <guitton@gnat.com>
600
601 * gdb.ada/fixed_points.c: New file.
602 * gdb.ada/fixed_points.exp: New file.
603
fe46cd3a
RC
6042004-12-03 Randolph Chung <tausq@debian.org>
605
606 * gdb.arch/pa-nullify.exp: New file.
607 * gdb.arch/pa-nullify.s: New file.
608
8de0841b
RC
6092004-11-30 Randolph Chung <tausq@debian.org>
610
611 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
612 instead of "tbug". Fix regexp to work properly with gdb_test.
613
c8170782
PH
6142004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
615
616 * gdb.base/bitfields2.exp: New test.
617 * gdb.base/bitfields2.c: New file.
618
954269c2
RE
6192004-11-28 Richard Earnshaw <rearnsha@arm.com>
620
621 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
622
0107feed
RC
6232004-11-16 Randolph Chung <tausq@debian.org>
624
625 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
626
f073ae8c
DJ
6272004-11-14 Daniel Jacobowitz <dan@debian.org>
628
629 * gdb.threads/threadapply.exp: Correct "macro details" test.
630
19ad59e7
JJ
6312004-11-11 Jeff Johnston <jjohnstn@redhat.com>
632
633 * gdb.threads/threadapply.exp: New test.
634 * gdb.threads/threadapply.c: New file.
635
9cf0961b
MK
6362004-11-07 Mark Kettenis <kettenis@gnu.org>
637
638 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
639 frames.
640
c789492a
FL
6412004-11-05 Felix Lee <felix+log1@specifixinc.com>
642
643 * gdb.base/cursal.exp: New file.
644 * gdb.base/cursal.c: New file.
645
a1e167bb
AC
6462004-11-03 Andrew Cagney <cagney@gnu.org>
647
648 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
649
b7cbf173
MK
6502004-10-30 Mark Kettenis <kettenis@gnu.org>
651
652 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
653 NetBSD/ELF targets.
654
88f9d34f
JB
6552004-10-29 Joel Brobecker <brobecker@gnat.com>
656
657 * gdb.threads/bp_in_thread.c: New file, copied from
658 pthread_cond_wait.c.
659 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
660 file, rather than reusing the .c file from another testcase.
661
ca7d6a0c
JB
6622004-10-20 Joel Brobecker <brobecker@gnat.com>
663
664 * gdb.ada/null_record.exp: Check where we stopped after
665 sending the start command, instead of where the associated
666 temporary breakpoint was inserted.
667
0d863d03
AC
6682004-10-14 Andrew Cagney <cagney@gnu.org>
669
670 * gdb.mi/gdb701.c (main): Return 0.
671
d11e72cb
DJ
6722004-10-13 Daniel Jacobowitz <dan@debian.org>
673
d40539a4 674 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 675
e1923096
JJ
6762004-10-12 Jeff Johnston <jjohnstn@redhat.com>
677
678 * gdb.threads/schedlock.c: Add comment markers to use to find
679 line numbers.
680 * gdb.threads/schedlock.exp: Adjust regex to handle the new
681 comments.
682 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
683 breakpoint lines.
684
ec8ba2c9
DJ
6852004-10-12 Daniel Jacobowitz <dan@debian.org>
686
687 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
688
0eb3658b
DJ
6892004-10-12 Daniel Jacobowitz <dan@debian.org>
690
691 * configure.in: Add gdb.dwarf2.
692 * configure: Regenerated.
693 * Makefile.in: Add gdb.dwarf2.
694 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
695 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
696 gdb.dwarf2/file1.txt: New files.
697
a271cc33
OF
6982004-10-11 Orjan Friberg <orjanf@axis.com>
699
700 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
701 of "run", since the latter doesn't work with remote targets. Adjust
702 the breakpoint numbering accordingly.
703 * gdb.threads/pthread_cond_wait.exp: Ditto.
704
895ce074
MC
7052004-10-08 Michael Chastain <mec.gnu@mindspring.com>
706
707 * gdb.base/overlays.exp: Update copyright years.
708
6be3092d
KI
7092004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
710
711 * gdb.base/overlays.exp: Disable if target is Linux.
712
e05389b8
FL
7132004-10-06 Felix Lee <felix+log1@specifixinc.com>
714
715 * config/gdbserver.exp (gdb_load): Use right filename on remote.
716
73cb587d
KI
7172004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
718
719 * gdb.asm/asm-source.exp: Add m32r-linux target.
720 * gdb.asm/m32r-linux.inc: New file.
721
3c0edcdc
AC
7222004-09-24 Andrew Cagney <cagney@redhat.com>
723 David Anderson <anderson@redhat.com>
724
725 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
726 command fails, assume things will work.
727 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
728 (_GNU_SOURCE): Define.
729 (print_unsigned, print_hex): Change parameter to "long long".
730 (print_byte_count): New function, use to print byte counts.
731 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
732 O_LARGEFILE.
733 (main): Compute an upper bound on a corefile in max_core_size.
734 Limit memory chunk size to max_core_size. Limit total memory
735 allocated to max_core_size.
736
4bb3667f
AC
7372004-09-23 Andrew Cagney <cagney@gnu.org>
738
739 * gdb.base/bigcore.exp: Replace the code that creates a corefile
740 from a separate process with code that creates a corefile by
741 making the inferior dump core.
742
60fe1a51
MK
7432004-09-23 Mark Kettenis <kettenis@gnu.org>
744
745 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
746 block.
747
8e937346
MC
7482004-09-23 Michael Chastain <mec.gnu@mindspring.com>
749
750 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
751 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
752 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
753 Likewise.
754
7213f6d6
JJ
7552004-09-20 Jeff Johnston <jjohnstn@redhat.com>
756
757 * gdb.java/jprint.exp: New test case for java inferior call.
758 * gdb.java/jprint.java: Ditto.
759
eac69dca
JB
7602004-09-15 Joel Brobecker <brobecker@gnat.com>
761
762 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
763
22227696
MC
7642004-09-14 Michael Chastain <mec.gnu@mindspring.com>
765
766 * gdb.threads/killed.c: Include <stdlib.h>.
767 * gdb.threads/pthreads.c: Likewise.
768
7dd403a4
MC
7692004-09-14 Michael Chastain <mec.gnu@mindspring.com>
770
771 * gdb.threads/killed.c: Add copyright notice.
772
33f2d567
JM
7732004-09-10 Jason Molenda (jmolenda@apple.com)
774
775 * gdb.base/define.exp: Two new tests to verify zero space chars
776 after 'if' and 'while' commands in a user-defined command is correctly
777 parsed.
778
e05b62ac
AC
7792004-09-08 Andrew Cagney <cagney@gnu.org>
780
781 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
782 delivery test with duplicate at end of file.
783
9cbe82da
MK
7842004-09-06 Mark Kettenis <kettenis@jive.nl>
785
786 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
787
564803d9
MC
7882004-09-05 Michael Chastain <mec.gnu@mindspring.com>
789
790 * config/hppro.exp: Removed.
791
7c6807ce
MC
7922004-09-05 Michael Chastain <mec.gnu@mindspring.com>
793
794 * config/sparclet.exp: Removed.
795
bf7e26dd
MC
7962004-09-05 Michael Chastain <mec.gnu@mindspring.com>
797
798 * config/udi.exp: Removed.
799
714e341b
MC
8002004-09-02 Michael Chastain <mec.gnu@mindspring.com>
801
802 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
803 of "exp_continue".
804 (advancei): Likewise.
805
1236e623
JJ
8062004-09-01 Jeff Johnston <jjohnstn@redhat.com>
807
808 * gdb.base/unload.exp: Fix so messages aren't duplicated.
809
3bdcad15
MI
8102004-09-01 Manoj Iyer <manjo@austin.ibm.com>
811
228af206 812 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
813 to check for nodebug in executable.
814 * gdb.gdb/observer.exp (setup_test): Likewise.
815 * gdb.gdb/selftest.exp (test_with_self): Likewise.
816 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
817
c72b934c
AC
8182004-09-01 Andrew Cagney <cagney@gnu.org>
819
820 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
821 files.
822
edd9b715
JJ
8232004-09-01 Jeff Johnston <jjohnstn@redhat.com>
824
825 * gdb.base/unload.exp: Fix expected warning message to match
826 latest format.
827
fb4ce06b
CV
8282004-09-01 Corinna Vinschen <vinschen@redhat.com>
829
830 * gdb.base/call-rt-st.exp: Fix typos.
831
ce78e7c3
MI
8322004-08-31 Manoj Iyer <manjo@austin.ibm.com>
833
834 * gdb.threads/thread_check.exp: New testcase.
835 * gdb.threads/thread_check.c: New testcase.
836
2dedb159
AC
8372004-08-31 Andrew Cagney <cagney@gnu.org>
838
839 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
840 (skip_to_handler_entry): New procedures. Test stepping into a
841 handler when the breakpoint is at the handler's entry point.
842
68f53502
AC
8432004-08-30 Andrew Cagney <cagney@gnu.org>
844
845 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
846 gdb/1757.
847
3e3ffd2b
MC
8482004-08-27 Michael Chastain <mec.gnu@mindspring.com>
849
850 With code from Manoj Iyer <manjo@austin.ibm.com>:
851 * lib/gdb.exp (gdb_file_cmd): Return more information in the
852 return value. Add an arm for "no debugging symbols found".
853 Change a stray "error" to "perror".
854 (gdb_run_cmd): Adapt to new return value.
855 * gdb.base/remote.exp: Adapt to new return value.
856 * gdb.gdb/complaints.exp: Likewise.
857 * gdb.gdb/observer.exp: Likewise.
858 * gdb.gdb/selftest.exp: Likewise.
859 * gdb.gdb/xfullpath.exp: Likewise.
860
4b6f5fd2
JB
8612004-08-27 Joel Brobecker <brobecker@gnat.com>
862
863 * gdb.threads/bp_in_thread.exp: New testcase.
864
e5b25496
MC
8652004-08-27 Michael Chastain <mec.gnu@mindspring.com>
866
867 Fix PR testsuite/1735.
868 * gdb.threads/schedlock.c (thread_function): Add a cast
869 to suppress a gcc warning.
870 * gdb.threads/thread-specific.c (thread_function): Likewise.
871
934353d6
MC
8722004-08-26 Michael Chastain <mec.gnu@mindspring.com>
873
874 * gdb.base/unload.c: Include <stdlib.h>.
875
f98a0aef 8762004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 877
f98a0aef 878 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
879 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
880 synchronized after the "return".
881
5a2e8882
MC
8822004-08-26 Michael Chastain <mec.gnu@mindspring.com>
883
884 * gdb.mi/basics.c: Include <stdio.h>.
885 * gdb.mi/pthreads.c: Include <stdlib.h>.
886 * gdb.mi/var-cmd.c: Include <stdlib.h>.
887
a9640423
MC
8882004-08-26 Michael Chastain <mec.gnu@mindspring.com>
889
890 * gdb.threads/schedlock.c: Add copyright notice.
891
b04e311d
AC
8922004-08-25 Andrew Cagney <cagney@gnu.org>
893
894 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
895 (skip_over_handler, breakpoint_over_hander): New test procedures.
896 (advance, advancei): Add a proper prefix, do not use
897 rerun_to_main.
898 * gdb.base/sigstep.c (main): Change to use an infinite loop.
899
7c27f15b
MC
9002004-08-24 Michael Chastain <mec.gnu@mindspring.com>
901
902 * gdb.mi/basics.c: Add copyright notice.
903 * gdb.mi/var-cmd.c: Add copyright notice.
904
fffc87ae
MC
9052004-08-23 Michael Chastain <mec.gnu@mindspring.com>
906
907 * lib/gdb.exp: Remove signed_keyword_not_used.
908 * lib/compiler.c: Likewise.
909 * lib/compiler.cc: Likewise.
910
d782e0bf
MC
9112004-08-23 Michael Chastain <mec.gnu@mindspring.com>
912
913 * gdb.base/whatis.c: Remove conditional disabling of "signed".
914 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
915
96033e83
MC
9162004-08-23 Michael Chastain <mec.gnu@mindspring.com>
917
918 * gdb.base/whatis.c: Add copyright notice.
919
cf38c229
MK
9202004-08-20 Mark Kettenis <kettenis@gnu.org>
921
922 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
923 it to skip the breakpoints encoded in the inline assembly.
924
f4b49756
MC
9252004-08-20 Michael Chastain <mec.gnu@mindspring.com>
926
927 * Makefile.in: Add gdb.fortran.
928
2f193b69
MC
9292004-08-20 Michael Chastain <mec.gnu@mindspring.com>
930
931 * gdb.base/call-sc.exp (test_scalar_returns):
932 Fix cut-and-paste glitch in "Make fun return now".
933
89a237cb
MC
9342004-08-17 Michael Chastain <mec.gnu@mindspring.com>
935
936 * configure.in: Add gdb.fortran.
937 * configure: Regenerate.
938 * gdb.fortran/Makefile.in: New file.
939 * lib/gdb.exp (skip_fortran_tests): New procedure.
940
469aff8e
MC
9412004-08-17 Michael Chastain <mec.gnu@mindspring.com>
942
943 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
944 reference to bug-gnu@prep.ai.mit.edu.
945 * gdb.mi/mi-var-child.exp: Likewise.
946 * gdb.mi/mi-var-cmd.exp: Likewise.
947 * gdb.mi/mi-var-display.exp: Likewise.
948 * gdb.mi/mi2-var-block.exp: Likewise.
949 * gdb.mi/mi2-var-child.exp: Likewise.
950 * gdb.mi/mi2-var-cmd.exp: Likewise.
951 * gdb.mi/mi2-var-display.exp: Likewise.
952
00b51b9f
MK
9532004-08-15 Mark Kettenis <kettenis@gnu.org>
954
955 * gdb.base/unload.c (main): Make local variable msg const.
956
45f07fef
MC
9572004-08-15 Michael Chastain <mec.gnu@mindspring.com>
958
959 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
960 to bug-gnu@prep.ai.mit.edu.
961 * gdb.mi/mi-disassemble.exp: Likewise.
962 * gdb.mi/mi-eval.exp: Likewise.
963 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
964 default line number.
965 * gdb.mi/mi-return.exp: Likewise.
966 * gdb.mi/mi-simplerun.exp: Likewise.
967 * gdb.mi/mi-stack.exp: Likewise.
968 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
969 number with explicit range test.
970 * gdb.mi/mi-watch.exp: Likewise.
971 * gdb.mi/mi2-break.exp: Likewise.
972 * gdb.mi/mi2-cli.exp: Likewise.
973 * gdb.mi/mi2-disassemble.exp: Likewise.
974 * gdb.mi/mi2-eval.exp: Likewise.
975 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
976 default line number.
977 * gdb.mi/mi2-return.exp: Likewise.
978 * gdb.mi/mi2-simplerun.exp: Likewise.
979 * gdb.mi/mi2-stack.exp: Likewise.
980 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
981 number with explicit range test.
982 * gdb.mi/mi2-watch.exp: Likewise.
983
dd8c8ee7
MC
9842004-08-15 Michael Chastain <mec.gnu@mindspring.com>
985
986 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
987 * gdb.cp/m-static.exp: Likewise.
988 * gdb.cp/rtti.exp: Likewise.
989
4e838464
MK
9902004-08-14 Mark Kettenis <kettenis@gnu.org>
991
992 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
993
8d8cb839
EZ
9942004-08-14 Eli Zaretskii <eliz@gnu.org>
995
996 * ChangeLog: Prefix Local Variables with semi-colons and indent
997 the reference to older ChangeLog files, to fix fontification in
998 Emacs.
999
deea8bb0
MC
10002004-08-13 Michael Chastain <mec.gnu@mindspring.com>
1001
1002 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
1003 * gdb.mi/mi2-break.exp: Likewise.
1004
c3297504
MC
10052004-08-13 Michael Chastain <mec.gnu@mindspring.com>
1006
1007 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
1008
25808999
MC
10092004-08-13 Michael Chastain <mec.gnu@mindspring.com>
1010
1011 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
1012
226a8d71
MC
10132004-08-13 Michael Chastain <mec.gnu@mindspring.com>
1014
1015 * gdb.cp/classes.exp: Remove unused declarations. Just let
1016 test names default instead of providing special names. Remove
1017 extraneous demangler test.
1018
37fdf854
JJ
10192004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1020
1021 * gdb.base/unload.exp: New test for breakpoints in dynamically
1022 loaded libraries.
1023 * gdb.base/unload.c: Ditto.
1024 * gdb.base/unloadshr.c: Ditto.
1025
2d3a7986
MC
10262004-08-12 Michael Chastain <mec.gnu@mindspring.com>
1027
1028 * gdb.cp/classes.exp (test_ptype_class_objects): Call
1029 cp_test_ptype_class.
1030 (test_enums): Likewise.
1031
c72b934c
AC
10322004-08-10 Andrew Cagney <cagney@gnu.org>
1033
1034 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
1035 files.
1036
cc503c8a
AC
10372004-08-10 Andrew Cagney <cagney@gnu.org>
1038
1039 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
1040 init_malloc call.
1041
902f2ccb
MC
10422004-08-10 Michael Chastain <mec.gnu@mindspring.com>
1043
1044 * ChangeLog: Add copyright notice. The notice is copied
1045 from emacs 21.3 top level ChangeLog.
1046
78c90502
MC
10472004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1048
1049 * lib/cp-support.exp: New file.
1050 * lib/cp-support.exp (cp_test_type_class): New function.
1051 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
1052 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
1053 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
1054 cp_test_ptype_class.
1055
88e5ea78
MC
10562004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1057
1058 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
1059 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
1060 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
1061 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
1062 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
1063 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
1064 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
1065 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
1066 gdb.mi/mi2-watch.exp: Update copyright years.
1067
6a89fc9c
MK
10682004-08-09 Mark Kettenis <kettenis@gnu.org>
1069
1070 * gdb.base/sigaltstack.exp: Provide proper anchoring.
1071
1482e0de
MC
10722004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1073
1074 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
1075 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
1076 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
1077 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
1078 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
1079 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
1080 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
1081 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
1082 gdb.mi/mi-watch.exp: Update copyright years.
1083
1a5ce3f3
DJ
10842004-08-08 Daniel Jacobowitz <dan@debian.org>
1085
1086 PR gdb/1738
1087 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
1088 from a breakpoint with a pending signal.
1089
04f6ecf2
DJ
10902004-08-08 Daniel Jacobowitz <dan@debian.org>
1091
1092 PR gdb/1736
1093 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
1094 * gdb.base/sigaltstack.exp (finish_test): Consume output until
1095 the prompt.
1096 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
1097
54d90d35
DJ
10982004-08-08 Daniel Jacobowitz <dan@debian.org>
1099
1100 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
1101
d2f6abb0
DJ
11022004-08-08 Daniel Jacobowitz <dan@debian.org>
1103
1104 PR gdb/1736
1105 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
1106 for i?86-*-linux*.
1107
5598c03d
DJ
11082004-08-08 Daniel Jacobowitz <dan@debian.org>
1109
1110 * gdb.arch/i386-prologue.exp: Compile without debug information.
1111
c6fee705
MC
11122004-08-08 Michael Chastain <mec.gnu@mindspring.com>
1113
1114 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
1115 rather than asking gdb to search.
1116
dd90efdb
MC
11172004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1118
1119 * gdb.base/gcore.c: Include <string.h>.
1120
1e84bec1
MC
11212004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1122
1123 * gdb.base/gcore.c: Add copyright notice.
1124
e425eb2b
MC
11252004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1126
1127 * gdb.base/freebpcmd.c: Include <stdio.h>.
1128 * gdb.base/long_long.c: Include <string.h>.
1129 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
1130 * gdb.base/siginfo.c: Include <string.h>.
1131 * gdb.base/sigstep.c: Include <string.h>.
1132
cb9aaed5
MC
11332004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1134
1135 * gdb.base/complex.c: Include <stdlib.h>.
1136
55944f3d
MC
11372004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1138
1139 * gdb.base/complex.c: Add copyright notice.
1140
7b2953d9
MC
11412004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1142
1143 * gdb.base/charset.c: Include <stdlib.h>.
1144
c9133d23
MC
11452004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1146
1147 * gdb.base/auxv.c: Include <stdlib.h>.
1148
0a8490ad
MC
11492004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1150
1151 * gdb.base/auxv.c: Add copyright notice.
1152
3426d5ec
MC
11532004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1154
1155 * gdb.base/coremaker.c: Add copyright notice.
1156 * gdb.base/coremaker2.c: Add copyright notice.
1157
8da195dd
AC
11582004-08-04 Andrew Cagney <cagney@gnu.org>
1159
1160 * gdb.base/store.exp: Update copyright.
1161 (check_set, up_set, check_struct, up_struct): Add a prefix to test
1162 names, do not import gdb_prompt.
1163
8d394f98
AC
11642004-08-01 Andrew Cagney <cagney@gnu.org>
1165
1166 Fix PR testsuite/1729.
1167 * gdb.base/dump.exp: Add test name to callers of capture_value, do
1168 not use capture_value with value 4.
1169 (capture_value): Add optional test name parameter.
1170 (test_reload_saved_value, test_restore_saved_value): Use $msg as
1171 the prefix, pass to capture_value.
1172
b6702b23
MK
11732004-08-01 Mark Kettenis <kettenis@gnu.org>
1174
1175 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
1176 * gdb.arch/i386-prologue.c (standard): New prototype and function.
1177 (main): Call new function.
1178
c203e0ca
MC
11792004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1180
1181 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
1182
a7995a30
MC
11832004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1184
1185 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
1186
9366563b
MC
11872004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1188
b6eeaf26 1189 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
1190 Accept more values of vtbl pointer. Remove some messages
1191 about "obsolete gcc or gdb".
1192
2fc1f950
MC
11932004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1194
1195 * gdb.cp/classes.exp: Accept more varieties of ptype output.
1196
c724d49b
MC
11972004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1198
1199 * gdb.base/asm-source.exp: Properly convert target board
1200 debug flags from gcc format to binutils format.
1201
736b0fce
MK
12022004-07-28 Mark Kettenis <kettenis@gnu.org>
1203
1204 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
1205 gdb1718". PR backtrace/1718 partially fixed.
1206
5633ea5c
JJ
12072004-07-27 Jeff Johnston <jjohnstn@redhat.com>
1208
1209 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
1210
575eebb1
NC
12112004-07-26 Nick Clifton <nickc@redhat.com>
1212
1213 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
1214 good default value for a specific architecture is available then
1215 set it to that value. Otherwise default to the -gstabs switch.
1216 Remove the -g... switches from the asm-flags variable. Allow the
1217 target board info to override the value if it wants to. Pass the
1218 switch on the assembler command line.
1219
62104619
MK
12202004-07-23 Mark Kettenis <kettenis@gnu.org>
1221
1222 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
1223 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
1224 (main): Call new function.
1225
4a1135b8
MC
12262004-07-22 Michael Chastain <mec.gnu@mindspring.com>
1227
1228 Test for PR exp/1715.
1229 * gdb.base/radix.exp: Refactor common procedures. Make all
1230 test names unique. Change XFAIL to KFAIL.
1231
8a12c1f0
MC
12322004-07-20 Michael Chastain <mec.gnu@mindspring.com>
1233
1234 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
1235 * gdb.ada/gnat_ada.gin: ... to here.
1236 * configure.in: Use gnat_ada.gin.
1237 * configure: Regenerate.
1238
23b451cf
AC
12392004-07-20 Andrew Cagney <cagney@gnu.org>
1240
1241 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
1242 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
1243 XFAILs. Clean up test messages and comments. Check backtraces.
1244 Delete re-sync code.
1245
ab618a02
MC
12462004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1247
1248 Fix PR cli/740.
1249 * gdb.base/annota1.exp: Honor gdb,nosignals.
1250 * gdb.base/annota3.exp: Likewise.
1251
46dad340
MC
12522004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1253
1254 * lib/java.exp: Update copyright notice.
1255
756d8c70
AC
12562004-07-19 Andrew Cagney <cagney@gnu.org>
1257
1258 * gdb.base/selftest.exp: Copy file from here ...
1259 * gdb.gdb/selftest.exp: ... to here.
1260
586027e6
AC
12612004-07-16 Andrew Cagney <cagney@redhat.com>
1262
1263 * lib/insight-support.exp: Delete file.
1264 * lib/java.exp (java_init): Fix copyright.
1265
029d2200
AC
12662004-07-16 Andrew Cagney <cagney@gnu.org>
1267
1268 * gdb.base/restore.c: Append "prologue" to comments marking the a
1269 function's prologue.
1270 * gdb.base/restore.exp: Update copyright, re-indent.
1271 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
1272 callerN" prefix where needed. Update patterns that match a
1273 function's prologue.
1274
653b62c5
MC
12752004-07-16 Michael Chastain <mec.gnu@mindspring.com>
1276
1277 * gdb.base/restore.c: Add copyright notice.
1278
f7d690e5
AC
12792004-07-16 Andrew Cagney <cagney@gnu.org>
1280
1281 * gdb.base/logical.exp: Update copyright.
1282 (evaluate): New procedure. Use to re-implement tests using
1283 several tables.
1284
d629a7cb
MH
12852004-07-14 Martin Hunt <hunt@redhat.com>
1286
1287 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
1288 which fixes some problems where init.tcl was not found.
1289
9c7bb332
AC
12902004-07-13 Andrew Cagney <cagney@gnu.org>
1291
6bf46641
AC
1292 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
1293 (check_sizeof, check_valueof): Do not include the output in the
1294 test name. Use gdb_test.
1295 (get_valueof): Use gdb_test_multiple.
1296
c4ffd4c0
AC
1297 * gdb.base/step-test.exp: Update copyright. Use
1298 gdb_test_multiple. Ensure that test names do not include
1299 architecture dependent output.
1300
ab89363a
AC
1301 * gdb.gdb/observer.exp: Update copyright.
1302 (setup_test): Use gdb_test_multiple.
1303 (attach_first_observer, attach_second_observer)
1304 (attach_third_observer, detach_first_observer)
1305 (detach_second_observer, detach_third_observer)
1306 (reset_counters, check_counters): Make $message a prefix.
1307 (test_normal_stop_notifications): Add "args" parameter - a list of
1308 init functions to be called. Make $message a prefix,
1309 (test_observer_normal_stop): Change the message prefixes so that
1310 they are unique, pass the attach / detach procedures to
1311 test_normal_stop_notifications.
1312
ec58997a
AC
1313 * gdb.base/signull.exp (test_segv): Prefix all tests with
1314 "${name}". Clean up test messages.
1315
b475183b
AC
1316 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
1317
9c7bb332
AC
1318 * gdb.base/ena-dis-br.exp: Update copyright.
1319 (break_at): New function. Replace send_gdb with gdb_test,
1320 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
1321 ignore count, not stopped at bpt", with KFAIL.
1322
2dd95497
CV
13232004-07-13 Corinna Vinschen <vinschen@redhat.com>
1324
1325 * gdb.base/attach.exp: Remove cleanupfile handling.
1326
419e626b
AC
13272004-07-12 Andrew Cagney <cagney@gnu.org>
1328
1329 * gdb.base/annota1.exp: Cleanup corefile test name.
1330 * gdb.base/annota3.exp: Ditto.
1331
8b1b3228
AC
13322004-07-12 Andrew Cagney <cagney@gnu.org>
1333
78650829
AC
1334 * gdb.base/signals.exp: Clean up copyright, re-indent.
1335
8b1b3228
AC
1336 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
1337 gdb_test and gdb_test_multiple.
1338
935c2760
JJ
13392004-07-08 Jeff Johnston <jjohnstn@redhat.com>
1340
1341 * gdb.java/jmain.exp: Fix expected line number for main to
1342 break at. Set XFAIL for break at main test since gcj does not
1343 provide line number info for first statement in main.
1344
1544280f
AC
13452004-07-08 Andrew Cagney <cagney@gnu.org>
1346
1279f4ff
AC
1347 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
1348
1544280f
AC
1349 * gdb.base/sigbpt.exp: Make the common part of each test name a
1350 prefix instead of suffix.
1351
bcc82369
BR
13522004-07-07 Bob Rossi <bob_rossi@cox.net>
1353
1354 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
1355 test from test_tbreak_creation_and_listing to
1356 test_file_list_exec_source_file
1357 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
1358 Changed name of test from test_tbreak_creation_and_listing to
1359 test_file_list_exec_source_file
1360
23f4b0aa
JJ
13612004-07-07 Jeff Johnston <jjohnstn@redhat.com>
1362
1363 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
1364 the jmisc() constructor instead of <init>.
1365 * gdb.java/jmisc1.exp: Ditto.
1366
56401cd5
AC
13672004-07-07 Andrew Cagney <cagney@gnu.org>
1368
1369 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
1370 corrupting the PC.
1371
44ae2f6a
MC
13722004-07-06 Michael Chastain <mec.gnu@mindspring.com>
1373
1374 * gdb.cp/templates.exp: Accept whitespace change in demangler
1375 output.
1376
45a83408
AC
13772004-07-06 Andrew Cagney <cagney@gnu.org>
1378
1379 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
1380
d205ad70
MC
13812004-07-02 Michael Chastain <mec.gnu@mindspring.com>
1382
1383 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
1384 * lib/compiler.cc: Likewise.
1385
06ea1a61
MC
13862004-06-30 Michael Chastain <mec.gnu@mindspring.com>
1387
1388 * lib/compiler.cc: Work around string preprocessing problem
1389 with old hp c++ compiler.
1390 * lib/compiler.c: Likewise.
1391
daab1251
CV
13922004-06-29 Corinna Vinschen <vinschen@redhat.com>
1393
1394 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
1395 directives to conditionalize symbol prefixing.
1396 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
1397 additional_flags handling. Add underscore prefix for Cygwin.
1398 * gdb.arch/i386-unwind.c: Use preprocessor directives to
1399 conditionalize symbol prefixing.
1400 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
1401 additional_flags handling. Add underscore prefix for Cygwin.
1402
cc984116
CV
14032004-06-29 Corinna Vinschen <vinschen@redhat.com>
1404
1405 * gdb.base/bigcore.exp: Skip test on Cygwin.
1406
c279b077
MC
14072004-06-28 Michael Chastain <mec.gnu@mindspring.com>
1408
1409 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
1410 formats for "info register". Use gdb_test_multiple. Fix
1411 the "invalid register" test.
1412
0e915747
CV
14132004-06-28 Corinna Vinschen <vinschen@redhat.com>
1414
1415 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
1416 PID for Cygwin. Add Cygwin specific strings to check for in some
1417 tests.
1418 (do_attach_tests): Add a test for user interaction when attaching
1419 to a process with no matching symbol table already loaded.
1420
11422c86
AC
14212004-06-26 Andrew Cagney <cagney@gnu.org>
1422
1423 Test PR java/1567 and PR java/1565.
1424 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
1425 * gdb.java/jmisc2.exp: Delete file.
1426
cefbce26
MC
14272004-06-26 Michael Chastain <mec.gnu@mindspring.com>
1428
1429 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
1430
e19f872c
CV
14312004-06-25 Corinna Vinschen <vinschen@redhat.com>
1432
1433 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
1434 attach process.
1435
d931ba3b
MC
14362004-06-23 Michael Chastain <mec.gnu@mindspring.com>
1437
1438 * gdb.cp/pr-1553.exp: Remove.
1439
aef68c48
MC
14402004-06-22 Michael Chastain <mec.gnu@mindspring.com>
1441
1442 * gdb.cp/pr-1553.cc: Remove.
1443 * gdb.cp/pr-1553.exp: Disable this test.
1444
8d5df71a
JB
14452004-06-20 Jim Blandy <jimb@redhat.com>
1446
1447 Fix PR testsuite/1680.
1448 * gdb.arch/i386-sse.exp: Properly quote curly braces in
1449 regular expressions.
1450
4ac6f39d
MC
14512004-06-19 Michael Chastain <mec.gnu@mindspring.com>
1452
1453 Fix PR testsuite/1679.
1454 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
1455 Issue an UNSUPPORTED result instead.
1456
1b413552
JB
14572004-06-18 Jim Blandy <jimb@redhat.com>
1458
1459 * gdb.base/charset.exp: Only send a control-C if we see a new
1460 prompt and incomplete command.
1461
6daa6ebd
MC
14622004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1463
1464 * gdb.cp/pr-574.cc: Add copyright notice.
1465
51fa4ae0
JB
14662004-06-17 Jim Blandy <jimb@redhat.com>
1467
1468 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1469 cases where the regexp has no groups; this grabs random text from
1470 the previous test suite, whatever that was.
1471
8fea26c5
MC
14722004-06-17 Michael Chastain <mec.gnu@mindspring.com>
1473
1474 * gdb.cp/printmethod.cc: Add copyright notice.
1475
1e3aeb41
MC
14762004-06-16 Michael Chastain <mec.gnu@mindspring.com>
1477
1478 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1479
9d9030bc
AC
14802004-06-16 Andrew Cagney <cagney@gnu.org>
1481
1482 * gdb.base/signull.c: Update copyright. Include <string.h>.
1483 (bowler): Replace data_pointer with data_read
1484 and data_write cases. Add code_descriptor case.
1485 (zero, desc): New array and pointer.
1486 (data, code): Change to simple pointers.
1487 * gdb.base/signull.exp: Fix probe pattern matching a function
1488 descriptor SIGSEGV. Replace data_pointer with data_read and
1489 data_write tests.
1490
acd4ad44
AC
14912004-06-16 Andrew Cagney <cagney@gnu.org>
1492
1493 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1494
08fd625c
MC
14952004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1496
1497 * gdb.base/long_long.c: Add copyright notice.
1498
1903502c
MC
14992004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1500
1501 * gdb.base/long_long.exp: Remove reference to
1502 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
1503 to gdb_breakpoint and gdb_continue_to_breakpoint.
1504
83313cb1
JB
15052004-06-14 Jim Blandy <jimb@redhat.com>
1506
1507 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1508 endian case.
1509
1bf404ef
AC
15102004-06-14 Andrew Cagney <cagney@gnu.org>
1511
1512 * gdb.base/gcore.exp (capture_command_output): Delete the always
1513 passing tests containing inferior values.
1514 * gdb.base/ending-run.exp: Do not include the breakpoint address
1515 in the test message. Update copyright.
1516 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1517 size in the test name, use gdb_test_multiple. Update copyright.
1518
ef220b33
MC
15192004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1520
1521 * gdb.cp/ref-types.cc: Add copyright notice.
1522
4f70a4c9
MC
15232004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1524
1525 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1526 hp_aCC_compiler.
1527 * lib/compiler.cc: Likewise.
1528 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1529 'set' commands. Log diagnostics for other lines. Set
1530 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1531
335928ac
MC
15322004-06-13 Michael Chastain <mec.gnu@mindspring.com>
1533
1534 * gdb.cp/try_catch.cc: Add copyright notice.
1535
2efb12e8
MC
15362004-06-12 Michael Chastain <mec.gnu@mindspring.com>
1537
1538 * gdb.cp/userdef.cc: Add copyright notice.
1539
0bbed51a
MC
15402004-06-11 Michael Chastain <mec.gnu@mindspring.com>
1541
1542 * gdb.cp/virtfunc.cc: Add copyright notice.
1543
e12a46c9
RC
15442004-06-11 Randolph Chung <tausq@debian.org>
1545
1546 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1547 problem.
1548
338e05af
AC
15492004-06-10 Andrew Cagney <cagney@gnu.org>
1550
1551 * lib/compiler.cc, lib/compiler.c: Append either
1552 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1553 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1554 instead of gcc-3-3.
1555
dc3f10cb
AC
15562004-06-09 Andrew Cagney <cagney@gnu.org>
1557
b4d946af
AC
1558 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1559 gdb/1455, bug is specific to "long long" and "double".
1560
dc3f10cb
AC
1561 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1562 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1563 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
1564 fixed.
1565
b5c0bfa2
AC
15662004-06-09 Andrew Cagney <cagney@gnu.org>
1567
1568 * gdb.base/structs.exp (test_struct_returns): Replace
1569 "return_value_unknown" and "finish_value_unknown" by
1570 "return_value_known" and "finish_value_known". Instead of
1571 "return_value_unknown" iff "finish_value_unknown", check
1572 "return_value_known" implies "finish_value_known".
1573
caeb605f
MH
15742004-06-08 Martin Hunt <hunt@redhat.com>
1575
1576 * gdb.base/float.exp: Add pattern for mips targets.
1577
c892bb64
RC
15782004-06-08 Randolph Chung <tausq@debian.org>
1579
1580 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1581 message for unknown architectures more clear.
1582
48306d3e
JB
15832004-06-08 Joel Brobecker <brobecker@gnat.com>
1584
1585 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1586 start the execution of the program.
1587
83ecb59f
JB
15882004-06-07 Jim Blandy <jimb@redhat.com>
1589
1590 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1591 * gdb.arch/i386-cpuid.h: New helper file.
1592
55264cb4
RC
15932004-06-07 Randolph Chung <tausq@debian.org>
1594
1595 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1596 has started.
1597
23cadb28
RM
15982004-06-04 Roland McGrath <roland@redhat.com>
1599
1600 Fix PR gdb/1647.
1601 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1602 differently to be robust to output buffering differences.
1603
51d01eda
MC
16042004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1605
1606 * gdb.threads/pthreads.exp: Update copyright years.
1607 (check_control_c): Change asynchronous 'after' to synchronous.
1608
f4fc3b93
RM
16092004-06-04 Roland McGrath <roland@redhat.com>
1610
1611 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1612 next gdb prompt.
1613
4013522b
MC
16142004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1615
1616 Fix PR gdb/1636.
1617 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1618 calls to synchronous.
1619
7a8f1e6b
JB
16202004-05-26 Jim Blandy <jimb@redhat.com>
1621
1622 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1623
81bb3443
RC
16242004-05-24 Randolph Chung <tausq@debian.org>
1625
1626 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1627 * gdb.asm/pa.inc: New file.
1628
8f5a3103
MK
16292004-05-22 Mark Kettenis <kettenis@gnu.org>
1630
1631 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1632
734b8fe8
JB
16332004-05-21 Joel Brobecker <brobecker@gnat.com>
1634 Daniel Jacobowitz <drow@mvista.com>
1635
1636 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1637 GDB prompt.
1638
725603e1
UW
16392004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1640
f4fc3b93 1641 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
1642 setjmp/longjmp. Use sigaction instead of signal.
1643
8b923272
JB
16442004-05-19 J. Brobecker <brobecker@gnat.com>
1645 Michael Snyder <msnyder@redhat.com>
1646
1647 * gdb.threads/pthread_cond_wait.c: New file.
1648 * gdb.threads/pthread_cond_wait.exp: New testcase.
1649
8bfabb04
AC
16502004-05-13 Andrew Cagney <cagney@redhat.com>
1651
1652 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1653 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1654
42edda50
AC
16552004-05-11 Andrew Cagney <cagney@redhat.com>
1656
1657 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1658 fixed but revealed gdb/1639.
1659
d303a6c7
AC
16602004-05-10 Andrew Cagney <cagney@redhat.com>
1661
1662 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1663 func1" and "next to 2nd alarm", kernel bug avoided.
1664
bf08c2a1
DJ
16652004-05-10 Daniel Jacobowitz <dan@debian.org>
1666
1667 PR external/1568
1668 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1669 XFAIL if it is smaller than bytes_allocated.
1670 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1671 (main): Make chunks_allocated unsigned. Correct comment.
1672
c0586a34
JB
16732004-05-07 Joel Brobecker <brobecker@gnat.com>
1674
1675 * gdb.arch/powerpc-aix-prologue.c: New file.
1676 * gdb.arch/powerpc-aix-prologue.exp: New file.
1677
f2785d12
JB
16782004-05-07 Jim Blandy <jimb@redhat.com>
1679
1680 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1681 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1682
bd7f6e30
JB
16832004-05-06 Joel Brobecker <brobecker@gnat.com>
1684
1685 * gdb.base/sep.exp: No longer setup_kfail when the program was
1686 built with dwarf2.
1687
0a5e7efe
JI
16882004-05-05 Jim Ingham <jingham@apple.com>
1689
1690 * gdb.base/pending.exp: Make sure pending breakpoints
1691 preserve the ignore count.
f4fc3b93 1692
a8958849
MK
16932004-04-27 Jerome Guitton <guitton@gnat.com>
1694
1695 * i386-prologue.exp: Add testcase for jump instruction as first
1696 instruction of the real code.
1697 * i386-prologue.c (jump_at_beginning): New function.
1698
7e103f5b
MK
16992004-04-28 Mark Kettenis <kettenis@gnu.org>
1700
1701 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1702 x86_64-*-*.
1703
5d38b224
MK
17042004-04-28 Mark Kettenis <kettenis@gnu.org>
1705
1706 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1707 i*86-*-*.
1708
0ef32fd9
MK
17092004-04-25 Mark Kettenis <kettenis@gnu.org>
1710
1711 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1712 expression that checks the return type.
1713
71d7dd7c
AC
17142004-04-23 Andrew Cagney <cagney@redhat.com>
1715
1716 * gdb.base/call-sc.exp: New test of scalar call/return values.
1717 * gdb.base/call-sc.c: Ditto.
1718
1e9f977e
JJ
17192004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1720
1721 * gdb.threads/manythreads.c: Reduce thread stack size.
1722
899d9e3a
JJ
17232004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1724
1725 * gdb.threads/manythreads.c: Add copyright notice.
1726
61bcae62
AC
17272004-04-23 Andrew Cagney <cagney@redhat.com>
1728
1729 * gdb.base/siginfo.exp: Better handle step out of signal.
1730 * gdb.base/sigstep.exp: Ditto.
1731
7339a42e
JJ
17322004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1733 Daniel Jacobowitz <drow@mvista.com>
1734
1735 * gdb.threads/manythreads.c: New testcase.
1736 * gdb.threads/manythreads.exp: Ditto.
1737
5c98409b
JB
17382004-04-22 Jim Blandy <jimb@redhat.com>
1739
1740 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1741 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1742
3b611f1a
MC
17432004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1744
1745 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1746
f0fd9238
AC
17472004-04-21 Andrew Cagney <cagney@redhat.com>
1748
1749 * gdb.base/sigstep.c: New file.
1750 * gdb.base/sigstep.exp: New file.
1751
90990674
JB
17522004-04-16 Joel Brobecker <brobecker@gnat.com>
1753
1754 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1755 call to observer_notify_normal_stop.
1756
78cef34b
AC
17572004-04-15 Andrew Cagney <cagney@redhat.com>
1758
1759 * gdb.base/siginfo.c: New file.
1760 * gdb.base/siginfo.exp: New file.
1761
d2343407
JB
17622004-04-12 J. Brobecker <brobecker@gnat.com>
1763
1764 * gdb.base/sep.exp: Fix typo in comment.
1765
a2dba3c8
JB
17662004-04-12 J. Brobecker <brobecker@gnat.com>
1767
1768 * gdb.base/sep.c: New file.
1769 * gdb.base/sep-proc.c: New file.
1770 * gdb.base/sep.exp: New testcase.
1771
15f7b60e
MK
17722004-04-09 Mark Kettenis <kettenis@gnu.org>
1773
1774 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1775 support.
1776
44f4de1a
AC
17772004-04-05 Andrew Cagney <cagney@redhat.com>
1778
1779 * gdb.base/sigaltstack.c: New file.
1780 * gdb.base/sigaltstack.exp: New file.
1781
ef04f396
JB
17822004-04-04 Joel Brobecker <brobecker@gnat.com>
1783
1784 * gdb.base/foll-fork.exp: Update the expected output for
1785 "help set follow-fork-mode", to match a change that was made
1786 to the help of this variable on 2004-01-13.
1787
d40d2c92
JB
17882004-04-01 Joel Brobecker <brobecker@gnat.com>
1789
1790 * lib/ada.exp: Add copyright notice.
1791 * bar.ads: Likewise.
1792 * bar.adb: Likewise.
1793 * null_record.adb: Likewise.
1794 * null_record.exp: Likewise.
1795 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1796
f86ef5a3
JB
17972004-04-01 Joel Brobecker <brobecker@gnat.com>
1798
1799 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1800 * configure: Regenerate.
1801
414e70e3
JB
18022004-04-01 Joel Brobecker <brobecker@gnat.com>
1803
1804 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1805 to build the application. Remove the message printed when in
1806 verbose mode, redundant with the UNSUPPORTED message above.
1807
f0aaee49
JB
18082004-03-31 Joel Brobecker <brobecker@gnat.com>
1809
1810 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1811 * gdb.ada (null_record.exp): New testcase.
1812
ac81cb54
JB
18132004-03-31 Joel Brobecker <brobecker@gnat.com>
1814
1815 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1816
854af2f7
JB
18172004-03-31 Joel Brobecker <brobecker@gnat.com>
1818
1819 * gdb.ada: New subdirectory.
1820 * gdb.ada/Makefile.in: New file.
1821 * gdb.ada/gnat_ada.gpr.in: New file.
1822
034cb681
JB
18232004-03-31 Joel Brobecker <brobecker@gnat.com>
1824
1825 * lib/ada.exp: New file.
1826
78a1a894
DJ
18272004-03-24 Daniel Jacobowitz <drow@mvista.com>
1828
1829 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1830 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1831
4b2b3b3e
AC
18322004-03-22 Andrew Cagney <cagney@redhat.com>
1833
1834 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1835 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1836 Problem identified by Ulrich Weigand.
1837
23c73aa3
DC
18382004-03-17 David Carlton <carlton@kealia.com>
1839
1840 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1841 PR c++/826.
1842
d63a86f8
RM
18432004-03-16 Roland McGrath <roland@redhat.com>
1844
1845 * gdb.base/auxv.exp: New file.
1846 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1847
0e02aa50
DC
18482004-03-12 David Carlton <carlton@kealia.com>
1849
1850 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1851 * gdb.cp/pr-1553.cc: Ditto.
1852 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1853 pass branch.
1854
c20b71be
MC
18552004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1856
1857 * gdb.cp/templates.exp: Accept more template types.
1858
c7414a01
MC
18592004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1860
1861 From Corinna Vinschen with modifications.
1862 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1863 local variable obj_with_enum.
1864 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1865 results with obj_with_enum.
1866
ed69573c
MC
18672004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1868
1869 * gdb.cp/classes.cc: New file, copied from misc.cc.
1870 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1871
28301461
MC
18722004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1873
1874 * gdb.cp/misc.cc: Add copyright notice.
1875
1198ecbe
DC
18762004-03-05 David Carlton <carlton@kealia.com>
1877
1878 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1879 * gdb.cp/rtti.h: Update copyright.
1880 (namespace n2::n3): New.
1881 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1882 (n2::n3::func3): New.
1883 (main): Call n2::n3::func3.
1884 * gdb.cp/rtti2.cc: Update copyright.
1885 (n2::create3): New.
1886
9e08c470
MK
18872004-03-04 Mark Kettenis <kettenis@gnu.org>
1888
1889 * gdb.asm/openbsd.inc: Fix typo.
1890
4bebc3aa
FF
18912004-03-03 Fred Fish <fnf@redhat.com>
1892
1893 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1894 "val" instead of unused "size". Update copyright year.
1895
6ea9fb37
DJ
18962004-02-29 Daniel Jacobowitz <drow@mvista.com>
1897
1898 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1899 to use unsigned char.
1900 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1901 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1902
23b23974
DJ
19032004-02-29 Daniel Jacobowitz <drow@mvista.com>
1904
1905 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1906 line of output.
1907
7574fd53
DJ
19082004-02-28 Daniel Jacobowitz <drow@mvista.com>
1909
1910 * gdb.base/relocate.c (dummy): Initialize.
1911
a195357f
DJ
19122004-02-28 Daniel Jacobowitz <drow@mvista.com>
1913
1914 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1915 a breakpoint at exit.
1916
72fd54a9
FF
19172004-02-27 Fred Fish <fnf@redhat.com>
1918
1919 * gdb.base/chng-syms.exp: Add expect condition to match failing
1920 case that isn't a timeout.
1921
b9d23137
AC
19222004-02-27 Andrew Cagney <cagney@redhat.com>
1923
1924 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1925 support.
1926
15d208f6 19272004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 1928
15d208f6
FF
1929 * gdb.arch/gdb1431.c: Remove.
1930 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1931 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1932 of "until" incorrectly.
1933
98f9cd2d
JB
19342004-02-26 J. Brobecker <brobecker@gnat.com>
1935
1936 * gdb.cp/class2.cc (empty): New class.
1937 (refer): New function.
1938 (main): Declare an object of type empty and use it.
1939 * gdb.cp/class2.exp: Print the value of an object of type empty.
1940
9b50c11b
JJ
19412004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1942
1943 * gdb.base/langs.exp: Update query string to match the
1944 new nquery format used for pending breakpoints.
1945
0dcd613f
AC
19462004-02-26 Andrew Cagney <cagney@redhat.com>
1947
1948 Fix PR i18n/1570.
1949 * gdb.base/charset.c: Update copyright notice.
1950 (main, init_string): Remove the escape character '\e' tests.
1951 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1952 * gdb.base/charset.exp (valid_host_charset): Ditto.
1953 * gdb.base/setvar.exp: Ditto.
1954
b8a56647
AC
19552004-02-24 Andrew Cagney <cagney@redhat.com>
1956
90d59e34
AC
1957 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1958 mmapped data in core file" PASS and FAIL messages consistent.
1959
b8a56647
AC
1960 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1961 setting a breakpoint. Work around PR java/1565.
1962
9f27c604
JJ
19632004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1964
1965 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1966 new nquery format.
1967 * gdb.base/pending.exp: Ditto.
1968
3224a706
MK
19692004-02-22 Mark Kettenis <kettenis@gnu.org>
1970
1971 * configure.in: Run stabs tests on *BSD.
1972 * configure: Regenerated.
1973
41e0a9ca
MK
19742004-02-21 Mark Kettenis <kettenis@gnu.org>
1975
1976 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1977
1e1b3428
FF
19782004-02-20 Fred Fish <fnf@redhat.com>
1979
1980 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1981 blank in test for "returns short", for consistency with other
1982 "returns xxx" tests. Update copyright year.
1983
f9a7572a
FF
19842004-02-19 Fred Fish <fnf@redhat.com>
1985
1986 New testcase for PR breakpoint/1558.
1987 * gdb.arch/gdb1558.exp: New file.
1988 * gdb.arch/gdb1558.c: New file.
1989
b2ce2854
EZ
19902004-02-19 Elena Zannoni <ezannoni@redhat.com>
1991
1992 * gdb.base/nodebug.exp: Fix typo.
1993
e7c9ff01
JB
19942004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1995
1996 Committed by Jim Blandy <jimb@redhat.com>.
1997
62f4b920
JB
1998 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1999
2db536a1
JB
2000 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
2001
e7c9ff01
JB
2002 * gdb.base/float.exp: Support s390*-*-* targets.
2003
f3205b34
AF
20042004-02-17 Adam Fedor <fedor@gnu.org>
2005
2006 * gdb.base/gdb1555.exp: New file.
2007 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
2008
9d62932d
EZ
20092004-02-17 Elena Zannoni <ezannoni@redhat.com>
2010
2011 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
2012
344c9711
FF
20132004-02-16 Fred Fish <fnf@redhat.com>
2014
2015 * gdb.arch/gdb1291.c: Remove
2016 * gdb.arch/gdb1291.s: New test input file.
2017 * gdb.arch/gdb1291.exp: Expand test to check case that should not
2018 fail. Test for correct result, known incorrect result, other
2019 failures and timeouts.
2020
2d822687
AC
20212004-02-16 Andrew Cagney <cagney@redhat.com>
2022
2023 * gdb.base/bigcore.exp: New file.
2024 * gdb.base/bigcore.c: New file.
2025
dac15b66
AC
20262004-02-13 Andrew Cagney <cagney@redhat.com>
2027
2028 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
2029 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
2030 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
2031 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
2032 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
2033 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
2034 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
2035 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
2036 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
2037 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
2038
6bdfc2c4
JJ
20392004-02-11 Jeff Johnston <jjohnstn@redhat.com>
2040
2041 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
2042 executed is an alloc instruction.
2043
87b3ede8
DC
20442004-02-11 David Carlton <carlton@kealia.com>
2045
2046 * gdb.cp/breakpoint.exp: New.
2047 * gdb.cp/breakpoint.cc: New.
2048
6e19e2bf
MC
20492004-02-11 Michael Chastain <mec.gnu@mindspring.com>
2050
2051 Partial fix for PR gdb/1543.
2052 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
2053 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
2054 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
2055 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
2056 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
2057 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
2058 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
2059 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
2060 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
2061 to bug-gdb@prep.ai.mit.edu .
2062 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
2063 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
2064 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
2065 Likewise.
2066
5c5455dc
AC
20672004-02-10 Andrew Cagney <cagney@redhat.com>
2068
2069 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
2070 using gdb_internal_error_resync.
2071
9cf689d7
DJ
20722004-02-09 Daniel Jacobowitz <drow@mvista.com>
2073
2074 * gdb.threads/thread-specific.exp: Stop early if no threads are
2075 found.
2076
d2dc51db
MC
20772004-02-09 Michael Chastain <mec.gnu@mindspring.com>
2078
2079 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
2080
14b1a056
DJ
20812004-02-08 Daniel Jacobowitz <drow@mvista.com>
2082
2083 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
2084 breakpoints.
2085
83f66e8f
DJ
20862004-02-07 Daniel Jacobowitz <drow@mvista.com>
2087
2088 * config/sim.exp (gdb_load): Handle $arg == "".
2089 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
2090 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
2091
30fc0091
EZ
20922004-02-07 Elena Zannoni <ezannoni@redhat.com>
2093
2094 * gdb.base/maint.exp: Update test to reflect
2095 obstack changes.
2096
4d806929
JJ
20972004-02-04 Jeff Johnston <jjohnstn@redhat.com>
2098
2099 * gdb.base/pendshr.c (pendfunc): New function that calls
2100 pendfunc1.
2101 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
2102
7bfdd688
FF
21032004-02-04 Fred Fish <fnf@redhat.com>
2104
2105 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
2106 function symbols and update copyright years.
2107 * gdb.arch/gdb1291.c: Ditto.
2108
aaa08ee4
MC
21092004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2110
2111 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
2112
dbad7755
MC
21132004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2114
2115 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
2116
ec4646ef
MC
21172004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2118
2119 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
2120
1b802196
FF
21212004-02-02 Fred Fish <fnf@redhat.com>
2122
2123 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
2124 remote targets. Update copyright years.
2125
18fe2033
JJ
21262004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2127
2128 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
2129 support.
2130 * gdb.base/langs.exp: Fix test which attempts to create
2131 breakpoint on non-existent function to handle new pending
2132 support.
2133 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
2134 a breakpoint.
2135 * gdb.base/pending.exp: New test.
2136 * gdb.base/pending.c: New file.
2137 * gdb.base/pendshr.c: Ditto.
2138
8d577d32
DC
21392004-02-02 David Carlton <carlton@kealia.com>
2140
2141 * gdb.cp/overload.exp: Add overloadNamespace tests.
2142 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
2143 (overloadNamespace, XXX): New.
2144 (main): Call XXX::marker2.
2145
3ad13771
FF
21462004-02-01 Fred Fish <fnf@redhat.com>
2147
2148 * gdb.base/dump.exp: Use runto_main instead of "runto main".
2149 * gdb.base/finish.exp: Ditto.
2150 * gdb.base/gcore.exp: Ditto.
2151 * gdb.base/huge.exp: Ditto.
2152 * gdb.base/info-proc.exp: Ditto.
2153 * gdb.base/return2.exp: Ditto.
2154 * gdb.threads/gcore-thread.exp: Ditto.
2155
44c75849
DJ
21562004-02-01 Daniel Jacobowitz <drow@mvista.com>
2157
2158 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
2159
005bc093
MK
21602004-02-01 Mark Kettenis <kettenis@gnu.org>
2161
2162 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
2163 that opening the file succeeds on OpenBSD.
2164
c47cebdb
DJ
21652004-02-01 Daniel Jacobowitz <drow@mvista.com>
2166
2167 * gdb.threads/thread-specific.c: New file.
2168 * gdb.threads/threads-specific.exp: New test script.
2169 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
2170 to expect_out.
2171
5a01311c
MK
21722004-02-01 Mark Kettenis <kettenis@gnu.org>
2173
2174 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
2175 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
2176 only on the "print_small_structs from print_long_arg_list" test.
2177
ce22a4f1
DJ
21782004-02-01 Daniel Jacobowitz <drow@mvista.com>
2179
2180 * gdb.base/completion.exp: Kill a stray backslash.
2181
2182 From Jim Ingham <jingham@apple.com>:
2183 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
2184 agrees with the result from sending a tab.
2185
abbab9d3
DJ
21862004-01-31 Daniel Jacobowitz <drow@mvista.com>
2187
2188 * gdb.base/chng-syms.exp: Remove stray newline.
2189
53904d1e
MK
21902004-01-31 Mark Kettenis <kettenis@gnu.org>
2191
2192 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
2193 *-*-openbsd*.
2194 * gdb.asm/openbsd.inc: New file.
2195
3a4b3aac
MK
21962004-01-30 Mark Kettenis <kettenis@gnu.org>
2197
2198 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
2199 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
2200 *-*solaris2*. Remove commented out default settings for
2201 asm-flags. Replace gdb_compile with target_link.
2202
ebac27b4
MC
22032004-01-29 Michael Chastain <mec.gnu@mindspring.com>
2204
2205 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
2206 for all tests. Remove old hp-ux and cygnus xfail cases.
2207
d8679d84
PH
22082004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
2209
2210 * gdb.base/chng-syms.exp: New file.
2211 * gdb.base/chng-syms.c: New file.
2212
0a55bc22
MC
22132004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2214
2215 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
2216 Provide arms for current output in all my configurations.
2217
94b8e876
MC
22182004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2219
2220 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
2221 * lib/compiler.cc: Likewise.
2222 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
2223 get the right preprocessor. Eval the output directly. Remove
2224 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
2225 hp_f77_compiler and hp_f90_compiler completely.
2226 (gdb_preprocess): Delete.
2227 (get_compiler): Delete.
2228
7cf03d44
MK
22292004-01-24 Mark Kettenis <kettenis@gnu.org>
2230
2231 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
2232 <string.h>.
2233
68b6dce9
NR
22342004-01-24 Nick Roberts <nick@nick.uklinux.net>
2235
2236 * gdb.mi/mi-stack.exp: Update copyright.
2237
b368761e
DC
22382004-01-23 David Carlton <carlton@kealia.com>
2239
2240 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
2241 test for cp_lookup_transparent_type.
2242 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
2243 call them.
2244
f2061b53
DJ
22452004-01-23 Daniel Jacobowitz <drow@mvista.com>
2246
2247 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
2248 after -var-update.
2249
37fc574a
DC
22502004-01-23 David Carlton <carlton@kealia.com>
2251
2252 * gdb.cp/namespace.cc (C::ensureRefs): New.
2253 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2254
8e94b928
NR
22552004-01-20 Nick Roberts <nick@nick.uklinux.net>
2256
2257 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
2258 case "-stack-list-locals 2".
2259 * gdb.mi/mi-var-child.exp: Test for case
2260 "-var-list-children --all-values NAME".
2261
997b0952
MC
22622004-01-18 Michael Chastain <mec.gnu@mindspring.com>
2263
2264 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2265
52470da3
MK
22662004-01-18 Mark Kettenis <kettenis@gnu.org>
2267
7049b4b8
MK
2268 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
2269 used with gdb_test_multiple.
2270
52470da3
MK
2271 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
2272 read at address 0. This fixes PR testsuite/1504.
2273
da6012e5
DJ
22742004-01-18 Daniel Jacobowitz <drow@mvista.com>
2275
2276 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
2277 Remove downloading, guessing the host executable, the calls to
2278 gdb_file_cmd and gdb_target_cmd, and "load" support.
2279 (infer_host_exec): New function broken out from gdb_load.
2280 (gdb_load): New wrapper for gdbserver_gdb_load.
2281 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
2282 gdb_target_cmd. Use -target-select.
2283 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
2284 Download binaries to the host. Clear last_mi_remote_file when
2285 we load a new binary.
2286 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
2287 call gdbserver_gdb_load and mi_gdb_target_cmd.
2288
32c70722
MC
22892004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2290
2291 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
2292 type patterns.
2293
b0cecf36
MC
22942004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2295
2296 * gdb.cp/templates.exp: Fix typo in test name of
2297 "print Foo<volatile char*>::foo".
2298
4120d7e6
MC
22992004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2300
2301 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2302
f679e530
BE
23032004-01-16 Ben Elliston <bje@wasabisystems.com>
2304
2305 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
2306 (clean mostlyclean): Remove empty rm.
2307
091c48f6
MC
23082004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2309
2310 * gdb.base/setvar.exp: Add copyright years.
2311
3e5fc8d2
DC
23122004-01-14 David Carlton <carlton@bactrian.org>
2313
2314 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
2315 PR c++/1511 and update coment.
2316 * gdb.cp/templates.exp: Update patterns to match current output.
2317 If changes involve something other than whitespace, KFAIL
2318 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2319
63d06c5c
DC
23202004-01-14 David Carlton <carlton@kealia.com>
2321
2322 * gdb.cp/namespace.exp: Add tests involving classes defined within
2323 namespaces.
2324 * gdb.cp/namespace.cc (C::CClass): New.
2325 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
2326
a51dab88
EZ
23272004-01-14 Elena Zannoni <ezannoni@redhat.com>
2328
2329 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
2330 what debug info we have. Print a better message if something goes
2331 wrong while producing the separate debug info file.
2332
a476ccc9
MC
23332004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2334
2335 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2336
f453692c
MC
23372004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2338
2339 * gdb.base/callfuncs.c: Add copyright notice.
2340
f40063a5
MC
23412004-01-13 Michael Chastain <mec.gnu@mindspring.com>
2342
2343 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
2344 inheritance. PR gdb/1498, PR gcc/13539.
2345
19ac3974
EZ
23462004-01-13 Elena Zannoni <ezannoni@redhat.com>
2347
2348 * gdb.threads/gcore-thread.exp: Prefix name of binary with
2349 test specific name.
2350 * gdb.mi/gdb669.exp: Ditto.
2351 * gdb.mi/mi-pthreads.exp: Ditto.
2352 * gdb.mi/mi1-pthreads.exp: Ditto.
2353 * gdb.mi/mi2-pthreads.exp: Ditto.
2354
56c97c6e
MC
23552004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2356
2357 * gdb.cp/member-ptr.cc: Add copyright notice.
2358
a0644324
MC
23592004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2360
2361 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
2362 some patterns for recent versions of gcc and hpacc. Delete
2363 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
2364 Delete tests that access a NULL pointer-to-member-data. This
2365 script is still disabled for gcc.
2366
32fabe09
EZ
23672004-01-12 Elena Zannoni <ezannoni@redhat.com>
2368
2369 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
2370 escaped correctly.
2371
1f8a6abb
EZ
23722004-01-12 Elena Zannoni <ezannoni@redhat.com>
2373
2374 * gdb.base/sepdebug.exp: New file.
2375 * gdb.base/sepdebug.c: New file.
2376 * lib/gdb.exp (separate_debug_filename): New procedure.
2377 (gdb_gnu_strip_debug): New procedure.
2378
48efe704
AC
23792004-01-12 Andrew Cagney <cagney@redhat.com>
2380
2381 * gdb.mi/ChangeLog: Delete file. Renamed to ...
2382 * gdb.mi/ChangeLog-1999-2003: New file.
2383
a9415475
AC
23842004-01-12 Andrew Cagney <cagney@redhat.com>
2385
2386 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
2387 "Renaming a directory to a non-empty directory returns ENOTEMPTY
2388 or EEXIST", treat EBUSY as an XFAIL.
2389
83b8cf9d
MC
23902004-01-11 Michael Chastain <mec.gnu@mindspring.com>
2391
2392 * gdb.base/scope.exp: Remove obsolete setup_xfail for
2393 hp_cc_compiler.
2394
9939d2a8
MC
23952004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2396
2397 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
2398 decorations.
2399
1ff8cadf
MC
24002004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2401
2402 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
2403 and "(aCC)" decorations. Remove obsolete doco about old
2404 test results.
2405
6fa9022e
MC
24062004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2407
2408 * gdb.cp/exception.exp: Fix typo in doco.
2409
209721fe
MK
24102004-01-09 Mark Kettenis <kettenis@gnu.org>
2411
2412 * gdb.base/gdb1476.exp: Fix typo.
2413
ef11303e
MC
24142004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2415
2416 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
2417 file.
2418
041ab88c
MC
24192004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2420
2421 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
2422 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
2423 Use gdb_compile. Remove restriction on gcc. Add some patterns
2424 for recent version of gdb. Delete second half, which was a copy
2425 of the first half with different build flags. This test is
2426 still disabled because it is still not ready for production.
2427
e36d075a
MC
24282004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2429
2430 * gdb.cp/exception.cc: Add copyright notice.
2431 * gdb.cp/exception.exp: Add a notice that this file is broken
2432 because of line number changes caused by addition of copyright
2433 notice.
2434
42b190ad
MC
24352004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2436
2437 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
2438 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2439
8f25f06b
MC
24402004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2441
2442 * gdb.cp/classes.exp: Accept gnu abi 2.
2443 * gdb.cp/derivation.exp: Likewise.
2444 * gdb.cp/overload.exp: Likewise.
2445 * gdb.cp/virtfunc.exp: Likewise.
2446
06ded8b8
MC
24472004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2448
2449 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
2450 semicolon after end of function.
2451
77c26ae3
MC
24522004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2453
2454 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
2455 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
2456 boilerplate code for compiling and running the program under
2457 test. Add some string method tests.
2458
20757486
MC
24592004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2460
2461 * gdb.cp/bs15503.cc: Add copyright notice.
2462 * gdb.cp/bs15503.exp: Adjust line number.
2463
0fd3b503
MC
24642004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2465
2466 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2467 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2468
10d1bea8
MC
24692004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2470
2471 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2472 hp_cc_compiler.
2473
2789202a
MC
24742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2475
2476 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2477 * gdb.cp/ctti.exp: Use the marker instead of "next".
2478 With gcc, run further before bailing.
2479
b862f14c
MC
24802004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2481
2482 * gdb.cp/cttiadd.cc: Add copyright notice.
2483 * gdb.cp/cttiadd1.cc: Likewise.
2484 * gdb.cp/cttiadd2.cc: Likewise.
2485 * gdb.cp/cttiadd3.cc: Likewise.
2486
96da2469
MC
24872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2488
2489 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
2490 Use gdb_test, gdb_test_multiple. Use floating-point values that
2491 have exact representations in IEEE-ish formats.
2492
053248ff
MC
24932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2494
2495 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2496 compilers. Delete duplicate call to get_compiler_info.
2497 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2498 * gdb.base/volatile.exp: Likewise.
2499
84acecdd
MK
25002004-01-07 Mark Kettenis <kettenis@gnu.org>
2501
2502 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2503 memory at address 0.
2504
fe11a27f
MC
25052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2506
2507 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2508 to test for hp-ux assembler. Fix copyright years.
2509
60ad077b
AC
25102004-01-07 Andrew Cagney <cagney@redhat.com>
2511
2512 * gdb.base/fileio.c (strerrno): Add "EBUSY".
2513
1c9b8f33
AC
25142004-01-07 Andrew Cagney <cagney@redhat.com>
2515
2516 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2517 when creating the read-only file. From analysis by Roland McGrath
2518 and Elena Zannoni.
2519
753ccc7a
MC
25202004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2521
2522 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2523
eca3e36b
MC
25242004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2525
2526 * gdb.base/cvexpr.c: Be type-safe with function pointers and
2527 data pointers.
2528
f8d4bac4
MC
25292004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2530
2531 * gdb.cp/m-static.exp: Compile one source file at a time.
2532 Delete unused call to get_compiler_info.
2533
9b4e0f94
MC
25342004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2535
2536 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2537 * gdb.base/call-rt-st.exp: Likewise.
2538 * gdb.base/nodebug.exp: Likewise.
2539 * gdb.base/volatile.exp: Likewise.
2540 * gdb.cp/ref-types.exp: Likewise.
2541 * gdb.cp/templates.exp: Likewise.
2542
023c1024
MK
25432004-01-05 Mark Kettenis <kettenis@gnu.org>
2544
2545 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2546
19703c4a
MC
25472004-01-05 Michael Chastain <mec.gnu@mindspring.com>
2548
2549 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2550 hppa*-hp-hpux*.
2551
18b67037
MK
25522004-01-04 Mark Kettenis <kettenis@gnu.org>
2553
ba6219c8
MK
2554 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2555 x86_64-*-*.
2556
18b67037
MK
2557 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2558 sparc64-*-* and sparc*-solaris2*.
2559
1bfbbb9d
MK
25602004-01-04 Mark Kettenis <kettenis@gnu.org>
2561
2562 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2563 return ${tests}" test. The ${tests} already mentions the
2564 filename.
2565
06846494
MC
25662004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2567
2568 * gdb.cp/local.exp: Accept gcc abi 2.
2569
3b0cb202
MC
25702004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2571
2572 * gdb.cp/templates.exp: Accept gcc abi 2.
2573
0643ec3f
MC
25742004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2575
2576 * lib/compiler.cc: Remove supports_template_debugging.
2577 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2578
d231d0b1
MC
25792004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2580
2581 * gdb.cp/namespace.exp: Accept gcc abi 2.
2582
44ffb27c
MC
25832004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2584
2585 * gdb.cp/method.exp: Accept gcc abi 2.
2586
184ad485
MC
25872004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2588
2589 * gdb.cp/classes.exp: Generate identical results as old version.
2590 * gdb.cp/derivation.exp: Likewise.
2591 * gdb.cp/overload.exp: Likewise.
2592 * gdb.cp/virtfunc.exp: Likewise.
2593
116f09e7
MC
25942004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2595
2596 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2597 mysterious bug with sourceware version of expect.
2598
b1379776
MC
25992004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2600
2601 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2602 current versions of gcc, including gcc abi 2. Remove gratuitous
2603 restart of test program. Use gdb_test_multiple and gdb_test for
2604 all tests. Add patterns to xfail missing "const" in "const char *"
2605 and kfail PR gdb/1155.
2606
6b7a4c0e
MC
26072004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2608
2609 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2610 current versions of gcc, including gcc abi 2. Remove gratuitous
2611 restart of test program. Use gdb_test_multiple and gdb_test for
2612 all tests. Add patterns to kfail PR gdb/1498.
2613
51615d72
MC
26142003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2615
2616 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2617 current versions of gcc, including gcc abi 2. Use "breakpoint"
2618 and "continue" instead of restarting the target program. Use
2619 gdb_test_multiple and gdb_test for all tests.
2620
7b79a9d7
MK
26212004-01-01 Mark Kettenis <kettenis@gnu.org>
2622
2623 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2624 for *-*-solaris2*.
2625
1cd3489f
MC
26262003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2627
2628 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2629 current versions of gcc, including gcc abi 2. Use "breakpoint"
2630 and "continue" instead of restarting the target program several
2631 times. Use gdb_test_multiple and gdb_test for all tests.
2632
850742db
MC
26332003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2634
2635 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2636 source files.
2637
eb4bbda8
MC
26382003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2639
2640 * gdb.base/environ.exp: Handle compiling test case from multiple
2641 source files.
2642
e42c7771
MC
26432003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2644
2645 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2646
80e4b428
JB
26472003-12-17 Jim Blandy <jimb@redhat.com>
2648
5f06973a
JB
2649 * gdb.base/freebpcmd.c: Add copyright notice.
2650
80e4b428
JB
2651 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2652
0ab84fb7
MC
26532003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2654
2655 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2656
1b3bb3d0
JB
26572003-12-13 Jim Blandy <jimb@redhat.com>
2658
2659 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2660
3a4c9371
KB
26612003-12-12 Kevin Buettner <kevinb@redhat.com>
2662
2663 * gdb.asm/frv.inc: New file.
2664 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2665
a1dea79a
FF
26662003-12-09 Fred Fish <fnf@redhat.com>
2667
2668 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2669 functions to break1.c and leave prototypes behind. Add more
2670 "set breakpoint NN here" comments.
2671 * gdb.base/break1.c: New file.
2672
2673 * gdb.base/break.exp: Handle compiling test case from multiple
2674 source files and change source file references as needed.
2675 * gdb.base/completion.exp: Ditto.
2676 * gdb.base/condbreak.exp: Ditto.
2677 * gdb.base/define.exp: Ditto.
2678 * gdb.base/ena-dis-br.exp: Ditto.
2679 * gdb.base/info-proc.exp: Ditto.
2680 * gdb.base/maint.exp: Ditto.
2681 * gdb.base/until.exp: Ditto.
2682
2683 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2684 hardcoded line numbers.
2685 * gdb.base/define.exp: Ditto.
2686 * gdb.base/ena-dis-br.exp: Ditto.
2687 * gdb.base/maint.exp: Ditto.
2688 * gdb.base/until.exp: Ditto.
2689
2690 * gdb.base/completion.exp: Use "break1" for completion tests since
2691 "break" is no longer a unique prefix.
2692
5266b69c
AC
26932003-12-06 Andrew Cagney <cagney@redhat.com>
2694
2695 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2696 "return_value_unimplemented". When an unimplemented struct return
2697 architecture, report incorrect values as a KFAIL
2698
374451f0
MC
26992003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2700
2701 * gdb.cp/rtti.exp: Accept new wording of warning from
2702 cp_lookup_rtti_type.
2703
ba9b20a7
MC
27042003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2705
2706 Partial fix for PR testsuite/1456.
2707 * gdb.base/scope.exp (test_at_main): Replace references to
2708 gcc_compiled with calls to test_compiler_info.
2709 (test_at_foo): Likewise.
2710 (test_at_bar): Likewise.
2711
b74b6d0b
MC
27122003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2713
2714 Partial fix for PR testsuite/1456.
2715 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2716 to test_compiler_info.
2717
ccfa3402
MC
27182003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2719
2720 * gdb.base/so-impl-ld.exp: Update copyright notice.
2721
f6246aba
MC
27222003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2723
2724 Partial fix for PR testsuite/1456.
2725 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2726 to test_compiler_info.
2727
13ae734a
MC
27282003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2729
2730 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2731 from current versions of gdb. Clean up regular expressions.
2732 Delete redundant timeout case.
2733
d8e1cdee
MC
27342003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2735
2736 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2737 from current versions of gdb. Clean up regular expressions.
2738 Delete redundant timeout case.
2739
96457b64
MC
27402003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2741
2742 Partial fix for PR testsuite/1456.
2743 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2744 gcc_compiled with call to test_compiler_info.
2745
f35309fc
MC
27462003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2747
2748 Partial fix for PR testsuite/1456.
2749 * gdb.base/list.exp (test_list_function): Delete unused declaration
2750 of gcc_compiled.
2751
d7afdf9b
MC
27522003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2753
2754 Partial fix for PR testsuite/1456.
2755 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2756 call to test_compiler_info.
2757
71507b56
MK
27582003-11-29 Mark Kettenis <kettenis@gnu.org>
2759
2760 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2761 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2762 it to create the appropriate note.inc.
2763 * gdb.asm/asmsrc1.s: Include "note.inc".
2764 * gdb.asm/netbsd.inc: New file.
2765 * gdb.asm/empty.inc: New file.
2766
f81f93f7
MC
27672003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2768
2769 Partial fix for PR testsuite/1456.
2770 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2771 calls to test_compiler_info.
2772
9a77938e
MC
27732003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2774
2775 Partial fix for PR testsuite/1456.
2776 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2777 calls to test_compiler_info.
2778
e8367dc7
MK
27792003-11-27 Mark Kettenis <kettenis@gnu.org>
2780
2781 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2782 pattern for the KFAILs.
2783
526c61ee
AF
27842003-11-25 Adam Fedor <fedor@gnu.org>
2785
2786 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2787 * gdb.objc/objcdecode.m: New file.
2788
28f2d600
AF
27892003-11-25 Adam Fedor <fedor@gnu.org>
2790
2791 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2792 * gdb.objc/nondebug.m: New file.
2793
a3895cee
BE
27942003-11-26 Ben Elliston <bje@wasabisystems.com>
2795
2796 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2797 NetBSD as it does on FreeBSD. Modelled on a similar change by
2798 Mark Kettenis on 2003-05-30.
2799 (link-flags): Set to "--entry _start" regardless of target.
2800 Special linker flags are to be appended to $link-flags.
2801 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2802
c9f2c8a3
MC
28032003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2804
2805 * gdb.cp/method.exp: Accept output of new demangler.
2806
15a0587a 28072003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
2808
2809 * gdb/class2.exp: New file.
2810 * gdb/class2.cc: New file.
2811
3c00b570
MC
28122003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2813
2814 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2815 of new demangler.
2816
7027acc7
MK
28172003-11-23 Mark Kettenis <kettenis@gnu.org>
2818
2819 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2820 of gdb_test "run".
2821
b0e1598a
MK
28222003-11-23 Mark Kettenis <kettenis@gnu.org>
2823
2824 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2825 "continue" into "run".
2826
4d9eda44
MC
28272003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2828
2829 Partial fix for PR testsuite/1456.
2830 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2831 call to test_compiler_info.
2832 * gdb.cp/ctti.exp: Likewise.
2833 * gdb.cp/derivation.exp: Likewise.
2834 * gdb.cp/member-ptr.exp: Likewise.
2835 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2836 reference to gcc_compiled.
2837
28382003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
2839
2840 Fix PR testsuite/1463.
2841 * gdb.base/structs.exp (start_structs_test): Call
2842 get_debug_format before using the debug format.
2843
d422fe19
AC
28442003-11-22 Andrew Cagney <cagney@redhat.com>
2845
2846 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2847 * gdb.base/structs.exp: Use gdb_test_multiple.
2848
039cf96d
AC
28492003-11-20 Andrew Cagney <cagney@redhat.com>
2850
6882279b
AC
2851 * gdb.base/structs.exp: Handle and recover from internal errors.
2852 Replace "foo${n}" with "foo<n>" in test messages.
2853
e53890ae
AC
2854 * gdb.base/structs.exp: Update copyright. Rewrite.
2855 * gdb.base/structs.c: Update copyright. Rewrite.
2856
2b211c59
AC
2857 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2858 resync count exceeded.
d63a86f8 2859
039cf96d
AC
2860 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2861 from the internal error.
2862 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2863 Original from Jim Blandy.
2864 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 2865
eac98b22
AC
28662003-11-19 Andrew Cagney <cagney@redhat.com>
2867
2868 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2869 KFAIL.
2870
67455b2a
MK
28712003-11-17 Mark Kettenis <kettenis@gnu.org>
2872
2873 New testcase for PR backtrace/1435.
2874 * gdb.arch/i386-unwind.exp: New file.
2875 * gdb.arch/i386-unwind.c: New file.
2876
853d6e5b
AC
28772003-11-17 Andrew Cagney <cagney@redhat.com>
2878
2879 * lib/gdb.exp (compiler_info): New global.
2880 (test_compiler_info): New function.
2881 (get_compiler_info): Set compiler_info.
2882 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2883 "compiler_info" to gcc-<major>-<minor>.
2884
38cf6e11
MC
28852003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2886
2887 * gdb.trace/configure: Remove.
2888
a50d3602
EZ
28892003-11-13 Elena Zannoni <ezannoni@redhat.com>
2890
2891 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 2892 breakpoints.
a50d3602
EZ
2893 * gdb.base/break.exp: Remove all references to explicit line
2894 numbers.
2895
d9407aaa
NC
28962003-11-11 Nick Clifton <nickc@redhat.com>
2897
2898 * gdb.base/shreloc.exp: Do not run for targets which do not
2899 support shared objects.
2900
db488fc1
CV
29012003-11-10 Corinna Vinschen <vinschen@redhat.com>
2902
2903 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2904 Don't run tests if nofileio flag is given.
2905
6a90a18e
EZ
29062003-11-07 Elena Zannoni <ezannoni@redhat.com>
2907
2908 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2909 as well as 'Watchpoint'.
2910
0b915e9c
EZ
29112003-11-06 Elena Zannoni <ezannoni@redhat.com>
2912
2913 Reported by Jim Ingham <jingham@apple.com>:
2914 * gdb.base/annota1.exp: Match at least one occurrence of the
2915 signal handler annotation.
2916
d7e4b55f
EZ
29172003-11-06 Elena Zannoni <ezannoni@redhat.com>
2918
2919 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2920 as well as 'Watchpoint'.
2921
2fe4e8d0
MC
29222003-11-05 Michael Chastain <mec@shout.net>
2923
2924 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2925
6ef88553
KW
29262003-11-03 Kris Warkentin <kewarken@qnx.com>
2927
2928 * gdb.arch/gdb1291.c: New test file.
2929 * gdb.arch/gdb1291.exp: New test script.
2930 * gdb.arch/gdb1431.c: New test file.
2931 * gdb.arch/gdb1431.exp: New test script.
2932
ae7dc4d8
MC
29332003-10-22 Michael Chastain <mec@shout.net>
2934
2935 * gdb.mi/pthreads.c: Add copyright notice.
2936
c39d7427
MC
29372003-10-22 Michael Chastain <mec@shout.net>
2938
2939 * gdb.threads/pthreads.c: Add copyright notice.
2940
8b7d96c1
MC
29412003-10-20 Michael Chastain <mec@shout.net>
2942
2943 * gdb.base/gdb1056.exp: New test script.
2944
d1d69fdd
DJ
29452003-10-13 Daniel Jacobowitz <drow@mvista.com>
2946
2947 * gdb.threads/killed.exp: Use gdb_run_cmd.
2948
7d605576
DJ
29492003-10-13 Daniel Jacobowitz <drow@mvista.com>
2950
2951 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2952 create a core file.
2953 * gdb.threads/gcore-thread.exp: Likewise.
2954
618ec112
CV
29552003-10-13 Corinna Vinschen <vinschen@redhat.com>
2956
2957 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2958 type, based on char type.
2959 (struct bit_flags_short_t): New bitfield type, based on short type.
2960 (init_bit_flags_char): New fuction.
2961 (init_bit_flags_short): Ditto.
2962 (print_bit_flags_char): Ditto.
2963 (print_bit_flags_short): Ditto.
2964 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2965
9367a73c
MC
29662003-10-11 Michael Chastain <mec@shout.net>
2967
2968 * gdb.base/call-rt-st.exp: Update copyright year.
2969
1decf120
KI
29702003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2971
2972 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2973 * gdb.disasm/sh3.s: Ditto.
2974
5445b2ae
DJ
29752003-10-07 Daniel Jacobowitz <drow@mvista.com>
2976
2977 * gdb.threads/switch-threads.exp: New test.
2978 * gdb.threads/switch-threads.c: New source file.
2979
aec24853
CV
29802003-10-07 Corinna Vinschen <vinschen@redhat.com>
2981
2982 * gdb.base/ending-run.exp: Add sh specific case.
2983
adc7428d
AC
29842003-10-06 Andrew Cagney <cagney@redhat.com>
2985
2986 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2987 * gdb.disasm/mn10200.exp: Delete obsolete file.
2988
c9d37158
DJ
29892003-09-29 Daniel Jacobowitz <drow@mvista.com>
2990
2991 * ChangeLog: Correct an entry command.exp -> commands.exp.
2992 * gdb.base/commands.exp (bp_deleted_in_command_test)
2993 (temporary_breakpoint_commands): Check noargs.
2994
79c2c32d
DC
29952003-09-25 David Carlton <carlton@kealia.com>
2996
2997 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2998 of some print tests, where appropriate. Add tests for C::D::cd,
2999 E::ce, F::cXfX, G::XgX.
3000 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
3001
594e6d67
RE
30022003-09-25 Richard Earnshaw <rearnsha@arm.com>
3003
3004 * lib/java.exp (java_init): Import target_alias before using it.
3005
10f0d451
DC
30062003-09-25 David Carlton <carlton@kealia.com>
3007
3008 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
3009
274bcba0
EZ
30102003-09-23 Elena Zannoni <ezannoni@redhat.com>
3011
d63a86f8 3012 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
3013 weirdness.
3014
cdbf20f7
MC
30152003-09-17 Michael Chastain <mec@shout.net>
3016
3017 * gdb.cp/gdb1355.exp: New file.
3018 * gdb.cp/gdb1355.c: New file.
3019
71e06f80
CV
30202003-09-15 Corinna Vinschen <vinschen@redhat.com>
3021
3022 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
3023 * gdb.asm/sh.inc: New file.
3024
5c4e30ca
DC
30252003-09-11 David Carlton <carlton@kealia.com>
3026
bd45b7af
DC
3027 * gdb.cp/namespace.exp: Add tests for namespace types.
3028 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
3029 (test_namespace): New.
3030
1c199746
EZ
30312003-09-11 Elena Zannoni <ezannoni@redhat.com>
3032
3033 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 3034 * gdb.stabs/weird.exp: Ditto.
1c199746 3035
04ed252f
MC
30362003-09-08 Michael Chastain <mec@shout.net>
3037
3038 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
3039
d8a2d9e7
MC
30402003-09-07 Michael Chastain <mec@shout.net>
3041
3042 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
3043 'parse error'.
3044
161afb24
MK
30452003-09-07 Mark Kettenis <m.kettenis@osp.nl>
3046
3047 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
3048
49f2741a
MC
30492003-08-30 Michael Chastain <mec@shout.net>
3050
3051 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
3052 * gdb.gdb/observer.exp: Ditto.
3053 * gdb.gdb/xfullpath.exp: Ditto.
3054
8afa723e
MK
30552003-08-29 Mark Kettenis <kettenis@gnu.org>
3056
3057 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
3058 *-*-*bsd*.
3059
f31dfe3b
JJ
30602003-08-28 Jeff Johnston <jjohnstn@redhat.com>
3061
3062 * gdb.base/dump.exp: Skip for ia64.
3063
4630e498
JJ
30642003-08-25 Jeff Johnston <jjohnstn@redhat.com>
3065
3066 * gdb.asm/asm-source.exp: Add ia64 support.
3067 * gdb.asm/ia64.inc: New file.
3068
1105b7ef
MC
30692003-08-22 Michael Chastain <mec@shout.net>
3070
3071 * gdb.cp: New directory.
3072 * gdb.cp/*: Copy from gdb.c++/*.
3073 * gdb.c++/*: Remove.
3074 * Makefile.in: Change gdb.c++ to gdb.cp.
3075 * configure.in: Ditto.
3076 * configure: Regnerate.
3077
c945b932
MK
30782003-08-18 Mark Kettenis <kettenis@gnu.org>
3079
3080 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
3081 * gdb.arch/i386-prologue.c (gdb1338): Add function.
3082
2b66634b
DJ
30832003-08-17 Daniel Jacobowitz <drow@mvista.com>
3084
3085 * mi-var-display.exp (-var-list-children weird): Accept function
3086 pointers with argument types.
3087 * mi1-var-display.exp (-var-list-children weird): Likewise.
3088 * mi2-var-display.exp (-var-list-children weird): Likewise.
3089
a356f73b
DJ
30902003-08-17 Daniel Jacobowitz <drow@mvista.com>
3091
3092 * gdb.base/annota3.exp: Add missing newline.
3093
483417b8
MC
30942003-08-06 Michael Chastain <mec@shout.net>
3095
3096 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
3097
c99c59c3
MS
30982003-08-12 Michael Snyder <msnyder@redhat.com>
3099
3100 * gdb.base/float.exp: Add test for SH.
3101
55ed7501
MK
31022003-08-10 Mark Kettenis <kettenis@gnu.org>
3103
3104 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
3105
1a371f2e
EZ
31062003-08-07 Elena Zannoni <ezannoni@redhat.com>
3107
3108 * gdb.base/completion.exp: Remove reduntant completion test
3109 on filename.
3110
e0f353ce
EZ
31112003-08-07 Elena Zannoni <ezannoni@redhat.com>
3112
3113 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
3114 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
3115 gdb.trace/save-trace.exp: Make sure that full pathnames are
3116 escaped correctly.
3117
5710a1af 31182003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 3119
5710a1af
EZ
3120 * configure.in: Don't generate config.h from config.hin.
3121 * configure: Regenerate.
3122 * config.hin: Remove file.
3123 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
3124 * gdb.threads/pthreads.c: Ditto.
3125
dcd81ce9
DJ
31262003-08-07 Daniel Jacobowitz <drow@mvista.com>
3127
3128 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3129 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
3130 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
3131 Replace ld24 with seth/add3.
3132
6009d884
AC
31332003-08-02 Andrew Cagney <cagney@redhat.com>
3134
3135 * gdb.base/annota3.exp: New file.
3136 * gdb.base/annota3.c: New file.
3137 * gdb.c++/annota3.exp: New file.
3138 * gdb.c++/annota3.cc: New file.
3139
51514e06
MC
31402003-07-29 Michael Chastain <mec@shout.net>
3141
3142 * gdb.threads/tls.c (spin): Check errno only if sem_wait
3143 actually failed.
3144 (do_pass): Likewise.
3145 * gdb.threads/tls.exp: Always initialize no_of_threads.
3146
4ee6625b
DJ
31472003-07-27 Daniel Jacobowitz <drow@mvista.com>
3148
3149 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
3150 pattern.
3151 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
3152 * gdb.threads/tls.exp: Recognize one case of the host library not
3153 supporting TLS.
3154
225f2bf6
AC
31552003-07-27 Andrew Cagney <cagney@redhat.com>
3156
3157 * gdb.base/fileio.exp: Use SH when running commands using
3158 remote_exec.
3159
bcb27c9f
DJ
31602003-07-24 Daniel Jacobowitz <drow@mvista.com>
3161
3162 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3163 * gdb.base/relocate.c (dummy): New padding array.
3164
3d67be83
MS
31652003-07-22 Michael Snyder <msnyder@redhat.com>
3166
d63a86f8 3167 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
3168
3169 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
3170 patterns to be more general, accepting old and new output.
3171 Some output chars (such as '+') also must be quoted.
d63a86f8 3172 Some addresses are displayed numerically instead of
3d67be83
MS
3173 symbolically.
3174
57ba3b85
MS
31752003-07-23 Michael Snyder <msnyder@redhat.com>
3176
686d097c
MS
3177 * gdb.base/return2.exp: Don't test long-long return.
3178
57ba3b85
MS
3179 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
3180 * gdb.disasm/t01_mov.exp: Ditto.
3181 * gdb.disasm/t02_mova.s: Ditto.
3182 * gdb.disasm/t02_mova.exp: Ditto.
3183 * gdb.disasm/t03_add.s: Ditto.
3184 * gdb.disasm/t03_add.exp: Ditto.
3185 * gdb.disasm/t04_sub.s: Ditto.
3186 * gdb.disasm/t04_sub.exp: Ditto.
3187 * gdb.disasm/t05_cmp.s: Ditto.
3188 * gdb.disasm/t05_cmp.exp: Ditto.
3189 * gdb.disasm/t06_ari2.s: Ditto.
3190 * gdb.disasm/t06_ari2.exp: Ditto.
3191 * gdb.disasm/t07_ari3.s: Ditto.
3192 * gdb.disasm/t07_ari3.exp: Ditto.
3193 * gdb.disasm/t08_or.s: Ditto.
3194 * gdb.disasm/t08_or.exp: Ditto.
3195 * gdb.disasm/t09_xor.s: Ditto.
3196 * gdb.disasm/t09_xor.exp: Ditto.
3197 * gdb.disasm/t10_and.s: Ditto.
3198 * gdb.disasm/t10_and.exp: Ditto.
3199 * gdb.disasm/t11_logs.s: Ditto.
3200 * gdb.disasm/t11_logs.exp: Ditto.
3201 * gdb.disasm/t12_bit.s: Ditto.
3202 * gdb.disasm/t12_bit.exp: Ditto.
3203 * gdb.disasm/t13_otr.s: Ditto.
3204 * gdb.disasm/t13_otr.exp: Ditto.
3205
e00759ef
EZ
32062003-07-22 Elena Zannoni <ezannoni@redhat.com>
3207
3208 * gdb.threads/tls.exp :Add kfail for 'info address' case.
3209
8bc2021f
EZ
32102003-07-22 Elena Zannoni <ezannoni@redhat.com>
3211
3212 * gdb.threads/tls.c : New file.
3213 * gdb.threads/tls.exp : New file.
3214 * gdb.threads/tls-main.c : New file.
3215 * gdb.threads/tls-shared.c : New file.
3216 * gdb.threads/tls-shared.exp : New file.
3217
89320c4c
AS
32182003-07-22 Andreas Schwab <schwab@suse.de>
3219
3220 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
3221
180dea7c
AS
32222003-07-20 Andreas Schwab <schwab@suse.de>
3223
3224 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
3225 due to insn reordering.
3226
0714963c
AC
32272003-07-15 Andrew Cagney <cagney@redhat.com>
3228
3229 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
3230
98a23b3f
MC
32312003-07-15 Michael Chastain <mec@shout.net>
3232
3233 * gdb.base/gdb1250.exp: New file.
3234 * gdb.base/gdb1250.c: New file.
3235
27e417a2
ML
32362003-07-09 Michal Ludvig <mludvig@suse.cz>
3237
3238 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
3239 expansion of size_t to 'unsigned long', not only to 'unsigned'.
3240
8bc2021f
EZ
32412003-07-09 Elena Zannoni <ezannoni@redhat.com>
3242
3243 * gdb.threads/tls.c: New file.
3244 * gdb.threads/tls.exp: New file.
3245 * gdb.threads/tls-main.c: New file.
3246 * gdb.threads/tls-shared.c: New file.
3247 * gdb.threads/tls-shared.exp: New file.
3248
d99968dc
EZ
32492003-07-09 Elena Zannoni <ezannoni@redhat.com>
3250
3251 * gdb.base/annota1.exp: Make sure that we properly escape the
3252 full path of the source file. Xfail more permissive patterns,
d63a86f8 3253 due to a compiler debug info problem.
d99968dc 3254
83876b3b
AS
32552003-07-07 Andreas Schwab <schwab@suse.de>
3256
2705e972
AS
3257 * gdb.asm/m68k.inc: New file.
3258 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
3259
83876b3b
AS
3260 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
3261 arguments"): Also match negative number.
3262
3263 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
3264
3a871b37
DJ
32652003-07-03 Daniel Jacobowitz <drow@mvista.com>
3266
3267 * gdb.base/store.c (charest): New typedef.
3268 (add_char): Rename to add_charest, update.
3269 (wack_char): Rename to wack_charest, update types. Return l + r
3270 to keep r live across the call.
3271 (wack_short, wack_int, wack_long, wack_longest, wack_float)
3272 (wack_double, wack_doublest): Return l + r to keep r live across
3273 the call.
3274 * gdb.base/store.exp: Accomodate store.c changes.
3275
b2a7f303
DC
32762003-06-30 David Carlton <carlton@kealia.com>
3277
3278 * gdb.c++/maint.exp (test_invalid_name): New.
3279 (test_first_component): Add tests for invalid names.
3280
3c6cb4a1
MC
32812003-06-29 Michael Chastain <mec@shout.net>
3282
3283 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
3284 output of '<VTT for class>' for virtual base classes.
3285
f1c2644b
DJ
32862003-06-29 Daniel Jacobowitz <drow@mvista.com>
3287
3288 * gdb.base/completion.exp: Tab-complete "complet" instead of
3289 "compl".
3290 * gdb.base/complex.exp, gdb.base/complex.c: New files.
3291
18080350
DJ
32922003-06-29 Daniel Jacobowitz <drow@mvista.com>
3293
3294 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
3295 * gdb.base/volatile.exp: Likewise.
3296
f56973f8
DJ
32972003-06-29 Daniel Jacobowitz <drow@mvista.com>
3298
3299 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
3300 gdb/1265.
3301
33022003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
3303 Daniel Jacobowitz <drow@mvista.com>
3304
3305 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
3306 initial line count of 'captured_main' from 26 to 32.
3307 (test_with_self): Allow xmalloc call to be interleaved with the
3308 preceding two lines.
3309
e766d4d6
JB
33102003-06-24 Joel Brobecker <brobecker@gnat.com>
3311
3312 * gdb.base/bang.exp: New testcase.
3313
f125c9a4
JB
33142003-06-23 Joel Brobecker <brobecker@gnat.com>
3315
3316 * gdb.base/langs.exp: Add some tests for the "minimal" language
3317 support.
3318
6e25beaf
EZ
33192003-06-23 Elena Zannoni <ezannoni@redhat.com>
3320
3321 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
3322 the testcase.
3323
2f816dda
DJ
33242003-06-22 Daniel Jacobowitz <drow@mvista.com>
3325
3326 * gdb.base/relocate.exp: Test add-symbol-file with a variable
3327 offset.
3328
db5a5748
DJ
33292003-06-22 Daniel Jacobowitz <drow@mvista.com>
3330
3331 * gdb.c++/pr-1210.cc: New file.
3332 * gdb.c++/pr-1210.exp: New file.
3333
1df0c130
DJ
33342003-06-21 Daniel Jacobowitz <drow@mvista.com>
3335
3336 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
3337 000-exec-continue.
3338
a92feac0
MK
33392003-06-15 Mark Kettenis <kettenis@gnu.org>
3340
3341 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
3342 on *-*-*bsd* instead of *-*-freebsd*.
3343
81a58f5b
AC
33442003-06-14 Andrew Cagney <cagney@redhat.com>
3345
3346 * gdb.base/store.exp: Test longest and doublest. Test all
3347 parameters. Weaken return statement match.
3348 * gdb.base/store.c: Add longest and doublest - aka long long and
3349 long double functions. Put all parameters into local register
3350 variables. Use negative values.
3351
b257a0d3
AC
33522003-06-14 Andrew Cagney <cagney@redhat.com>
3353
3354 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
3355 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
3356 exit status.
3357 * gdb.base/fileio.exp: Disable target when nointerrupts and
3358 noinferiorio, instead of limiting it to remote. Use remote_exec
3359 instead of system.
d63a86f8 3360
21c38304
JJ
33612003-06-12 Jeff Johnston <jjohnstn@redhat.com>
3362
3363 * gdb.base/float.exp: Add ia64 support.
3364
1bcdb424
CV
33652003-06-12 Corinna Vinschen <vinschen@redhat.com>
3366
3367 * gdb.base/fileio.exp: Run only on remote targets.
3368
6aeb981f
CV
33692003-06-10 Corinna Vinschen <vinschen@redhat.com>
3370
3371 * gdb.base/fileio.c: New file, testing File-I/O.
3372 * gdb.base/fileio.exp: Ditto.
3373
53df362e
RG
33742003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
3375
3376 * gdb.base/shreloc.exp: New file, check symbol values obtained from
3377 shared objects after relocation at load time (gdb PR/1132).
3378 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
3379 as above, part of the shared object relocation test.
3380
ffee1b46
MK
33812003-06-08 Mark Kettenis <kettenis@gnu.org>
3382
b5ca3722
MK
3383 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
3384 fully filled history list.
3385 * gdb.base/gdb_history: New file.
3386
03ed860d
MK
3387 * gdb.base/signals.exp: XFAIL "continue to func1" on
3388 i*86-*-freebsd*.
3389
ffee1b46
MK
3390 * gdb.base/attach.exp: When trying to attach to a nonexistent
3391 process, make it possible to specify the PID based on the target,
3392 and do so for *-*-freebsd*.
3393
d80dbb52
RH
33942003-06-02 Richard Henderson <rth@redhat.com>
3395
3396 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
3397
6dd77b81
RH
33982003-06-02 Richard Henderson <rth@redhat.com>
3399
3400 * gdb.base/selftest.exp: Next over lim_at_start initialization.
3401
f6347e16
RH
34022003-06-02 Richard Henderson <rth@redhat.com>
3403
3404 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
3405
2c161407
DJ
34062003-06-01 Daniel Jacobowitz <drow@mvista.com>
3407
3408 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
3409 of globalvar.
3410
572eb746
MK
34112003-06-01 Mark Kettenis <kettenis@gnu.org>
3412
3413 * gdb.asm/asm-source.exp: Check for memory read errors in
3414 disassembler test on *BSD too.
3415
9e9617a5
RH
34162003-06-01 Richard Henderson <rth@redhat.com>
3417
3418 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
3419 for .frame.
3420 (gdbasm_call): Lose ldgp.
3421 (gdbasm_startup): Add frame information.
3422 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
3423
7b34ad4e
MK
34242003-05-31 Mark Kettenis <kettenis@gnu.org>
3425
3426 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
3427 i?86-*-*.
3428
10059fdf
MK
34292003-05-30 Mark Kettenis <kettenis@gnu.org>
3430
3431 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3432 FreeBSD.
3433
acf4b816
RH
34342003-05-29 Richard Henderson <rth@redhat.com>
3435
3436 * gdb.asm/alpha.inc: New file.
3437 * gdb.asm/asm-source.exp: Use it.
3438
e9ecd949
JB
34392003-05-29 Jim Blandy <jimb@redhat.com>
3440
3441 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
3442 'core.PID'.
3443
e3e5a4f3
JB
34442003-05-22 Jim Blandy <jimb@redhat.com>
3445
3446 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
3447 backtrace.
d63a86f8 3448
72fe3d25
DC
34492003-05-20 David Carlton <carlton@math.stanford.edu>
3450
3451 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
3452 this time.
3453
58da2eb2
DC
34542003-05-19 David Carlton <carlton@bactrian.org>
3455
3456 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
3457 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
3458
1fcb5155
DC
34592003-05-19 David Carlton <carlton@bactrian.org>
3460
3461 * gdb.c++/namespace.exp: Add namespace scope and anonymous
3462 namespace tests.
3463 Bump copyright date.
3464 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3465 (main): Call C::D::marker2.
3466 * gdb.c++/namespace1.cc: New file.
3467
85e85163
JJ
34682003-05-14 Jeff Johnston <jjohnstn@redhat.com>
3469
3470 Roland McGrath <roland@redhat.com>
d63a86f8 3471 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
3472 there is no manager thread.
3473
a25fbfec
JJ
34742003-05-08 Jeff Johnston <jjohnstn@redhat.com>
3475
d63a86f8
RM
3476 * gdb.threads/schedlock.exp: Remove assumption that all threads
3477 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
3478 in one of the child threads rather than the main thread.
3479
be375bae
JB
34802003-05-07 Jim Blandy <jimb@redhat.com>
3481
09bf6082
JB
3482 Add support for assembly source testing on the s390x.
3483 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3484 architecture.
3485 * gdb.asm/s390x.inc: New file.
3486
be375bae
JB
3487 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3488 succession of 'if' statements.
3489
00905d52
AC
34902003-05-05 Andrew Cagney <cagney@redhat.com>
3491
3492 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3493
b1e29e33
AC
34942003-05-05 Andrew Cagney <cagney@redhat.com>
3495
3496 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3497 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3498
e33d66ec
EZ
34992003-05-02 Elena Zannoni <ezannoni@redhat.com>
3500
3501 * gdb.base/charset.exp: Update based on new behavior of set/show
3502 charset commands.
3503
2b6fd0d8
AC
35042003-05-01 Andrew Cagney <cagney@redhat.com>
3505
3506 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3507 variable do not give memory errors.
3508
130cacce
AF
35092003-04-30 Adam Fedor <fedor@gnu.org>
3510
3511 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3512 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3513 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3514 gdb.objc/basicclass.m: : New files
3515
3516 * lib/gdb.exp (gdb_compile_objc): New procedure.
3517
bea71854
DJ
35182003-04-27 Daniel Jacobowitz <drow@mvista.com>
3519
3520 * gdb.base/signals.exp: Make backtrace tests more specific.
3521
0f20eeea
DC
35222003-04-23 David Carlton <carlton@bactrian.org>
3523
3524 * gdb.c++/maint.exp (test_first_component): Add tests for
3525 'operator' in more locations.
3526
c8c4d8dc
KB
35272003-04-16 Kevin Buettner <kevinb@redhat.com>
3528
3529 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3530
3fe60e3c
EZ
35312003-04-16 Elena Zannoni <ezannoni@redhat.com>
3532
3533 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3534 func marke' instead. Update test name.
3535
9219021c
DC
35362003-04-15 David Carlton <carlton@math.stanford.edu>
3537
3538 * gdb.c++/maint.exp: New file.
3539
5dd55bdd
EZ
35402003-04-14 Elena Zannoni <ezannoni@redhat.com>
3541
3542 * gdb.threads/schedlock.c: Change type of thread function argument
3543 to long, to avoid warnings on 64-bit platforms.
3544
00890572
EZ
35452003-04-14 Elena Zannoni <ezannoni@redhat.com>
3546
3547 * gdb.base/attach.exp: Add new message from ptrace in case of
3548 attaching to nonexistent process.
d63a86f8 3549
93201743
JB
35502003-04-11 Jim Blandy <jimb@redhat.com>
3551
3552 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3553 gdb.c++/userdef.cc: Place comments on the lines to which the
3554 marker function might return.
3555 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3556 gdb.c++/userdef.exp: Look for those comments to check that we've
3557 returned to the right place, instead of checking line numbers.
3558
2a11c64d
EZ
35592003-04-11 Elena Zannoni <ezannoni@redhat.com>
3560
3561 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3562 match on sourcefile name, instead of directory name.
3563
68ab8fc5
EZ
35642003-04-10 Elena Zannoni <ezannoni@redhat.com>
3565
d63a86f8 3566 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
3567 working directory name.
3568
5624293a
JB
35692003-04-09 Jim Blandy <jimb@redhat.com>
3570
3571 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3572 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3573 after an inferior function call, report the failure, but allow the
3574 test to continue.
3575
f1f02ee4
SC
35762003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3577
3578 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3579 with -DPROTOTYPES.
3580
6eb79af0
SC
35812003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3582
3583 * gdb.base/break.exp: Revert last patch.
3584
8dfb4cf0
SC
35852003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3586
3587 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3588 with -DPROTOTYPES.
3589
ed4c619a
AC
35902003-04-02 Andrew Cagney <cagney@redhat.com>
3591
3592 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3593 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3594 matching directories by the name breakpoint.
3595 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3596 Make "continue to marker1" consistent.
3597 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3598 message consistent.
3599 * lib/gdb.exp: Put "the program is no longer running", and "the
3600 program exited" in parenthesis.
3601 * lib/mi-support.exp: Ditto.
d63a86f8 3602
4e35d5f0 36032003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 3604
4e35d5f0
BR
3605 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3606
71900fe8
AC
36072003-03-29 Andrew Cagney <cagney@redhat.com>
3608
3609 * gdb.base/sizeof.c (main): Print the value of '\377'.
3610 * gdb.base/sizeof.exp: Check the sign of '\377'.
3611
c0655a16
MC
36122003-03-27 Michael Chastain <mec@shout.net>
3613
3614 * gdb.base/gdb1090.exp: New file.
3615 * gdb.base/gdb1090.cc: New file.
3616
5b2a3989
JB
36172003-03-27 J. Brobecker <brobecker@gnat.com>
3618
3619 * gdb.gdb/observer.exp: New regression test.
3620
79876890
MC
36212003-03-27 Michael Chastain <mec@shout.net>
3622
3623 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3624 * gdb.base/ptype.exp: Likewise.
3625
6eac95e3
CV
36262003-03-27 Corinna Vinschen <vinschen@redhat.com>
3627
3628 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3629
e8c71839
MC
36302003-03-26 Michael Chastain <mec@shout.net>
3631
3632 * gdb.base/ptype.exp: Actually use some typedef'd types.
3633
71b10041
SC
36342003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3635
3636 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3637 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3638
2512cf80
CV
36392003-03-20 Corinna Vinschen <vinschen@redhat.com>
3640
3641 * gdb.base/default.exp: Fix regular expression.
3642
0d195a4f
CV
36432003-03-20 Corinna Vinschen <vinschen@redhat.com>
3644
3645 * gdb.base/args.exp: Fix regular expression.
3646
8a2dbca8
CV
36472003-03-20 Corinna Vinschen <vinschen@redhat.com>
3648
3649 * gdb.base/help.exp: Allow Win32 child process.
3650
bf028682
CV
36512003-03-20 Corinna Vinschen <vinschen@redhat.com>
3652
3653 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3654 when stepping out of main().
3655
182dbe85
CV
36562003-03-20 Corinna Vinschen <vinschen@redhat.com>
3657
3658 * gdb.base/default.exp: Check for win32 specific message when calling
3659 "run" without executable.
3660
d67a6ba5
CV
36612003-03-20 Corinna Vinschen <vinschen@redhat.com>
3662
3663 * gdb.base/args.exp: Expect .exe in output.
3664
a955b5bb
CV
36652003-03-20 Corinna Vinschen <vinschen@redhat.com>
3666
3667 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3668 Cygwin native.
3669
bf6bad4b
AC
36702003-03-17 Andrew Cagney <cagney@redhat.com>
3671
3672 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3673 vector registes.
3674 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3675 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3676
293e9a31
DC
36772003-03-17 David Carlton <carlton@math.stanford.edu>
3678
3679 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3680 test, for PR breakpoints/38.
3681 Call test_watchpoint_and_breakpoint.
3682 * gdb.base/watchpoint.c (func3): New function.
3683 (main): Call func3.
3684
5330f2db
DC
36852003-03-04 David Carlton <carlton@math.stanford.edu>
3686
3687 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3688 Garply<Garply<char> >:: garply".
3689 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3690 with respect to PR c++/1111; note also PR c++/1113.
3691 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3692 respect to PR c++/1062.
3693 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3694
6ece72da
DC
36952003-03-03 David Carlton <carlton@math.stanford.edu>
3696
3697 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3698 with respect to PR c++/57.
3699 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3700 c++/826.
3701 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3702 respect to PR c++/57.
3703
85ca1584
DC
37042003-03-03 David Carlton <carlton@math.stanford.edu>
3705
3706 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3707 respect to PR c++/33 into FAILs.
3708
98e9c5b8
MC
37092003-03-03 Michael Chastain <mec@shout.net>
3710
7bedbf27
MC
3711 * configure.in: Update copyright years.
3712
37132003-03-03 Michael Chastain <mec@shout.net>
3714
3715 * Makefile.in: Update copyright years.
98e9c5b8 3716
f683e100
DC
37172003-02-28 David Carlton <carlton@math.stanford.edu>
3718
3719 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3720 print class instead of struct and/or superfluous protection
3721 specifiers, as long as the resulting output is equivalent to the
3722 source code.
3723 Delete FIXME from end of messages on tests that don't need
3724 fixing.
3725
a9e0cf2c
DC
37262003-02-28 David Carlton <carlton@math.stanford.edu>
3727
3728 * gdb.c++/templates.exp (do_tests): Allow const in the two
3729 Foo<volatile char *>::foo tests.
3730
e8d359df
MS
37312003-02-27 Michael Snyder <msnyder@redhat.com>
3732
d63a86f8 3733 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
3734 will be consistant.
3735
0b71dc91
DC
37362003-02-26 David Carlton <carlton@math.stanford.edu>
3737
3738 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3739 char *>::foo" test with respect to PR c++/33. Create a new test
3740 which is identical to that one except that it doesn't put the
3741 space between the "char" and the "*"; KFAIL it, too.
3742
dd14ab43
DC
37432003-02-26 David Carlton <carlton@math.stanford.edu>
3744
3745 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3746 template types into either PASSes or KFAILs (corresponding to PR
3747 c++/57). Tweak indentation. Update copyright.
3748
1146c7f1
SC
37492003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3750
3751 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3752
74641dfb
MC
37532003-02-13 Michael Chastain <mec@shout.net>
3754
3755 * gdb.base/exprs.exp: Remove i960 remnants.
3756 * gdb.base/funcargs.exp: Likewise.
3757 * gdb.base/list.exp: Likewise.
3758 * gdb.base/ptype.exp: Likewise.
3759
559cd2d0
DC
37602003-02-14 David Carlton <carlton@math.stanford.edu>
3761
3762 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3763 pEe->D::vg()" from XFAIL to KFAIL.
3764
c4f90d87
JM
37652003-02-13 Jason Molenda (jmolenda@apple.com)
3766
3767 * gdb.base/maint.exp: Update maint print statistics regexp to include
3768 new entries.
3769
cbc4d97c
MC
37702003-02-13 Michael Chastain <mec@shout.net>
3771
3772 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3773
40f235b7
MC
37742003-02-12 Michael Chastain <mec@shout.net>
3775
3776 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3777 * gdb.c++/inherit.exp: Likewise.
3778 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3779 * gdb.c++/templates.exp: Likewise.
3780 * gdb.c++/virtfunc.exp: Likewise.
3781
c56716b0
JM
37822003-02-06 Jason Molenda (jason-cl@molenda.com)
3783
3784 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3785 why the code is written that way.
3786
070afcf8
MC
37872003-02-05 Michael Chastain <mec@shout.net>
3788
3789 * gdb.base/dump.exp: Add missing copyright line.
3790
5d0331e5
JM
37912003-02-05 Jason Molenda (jason-cl@molenda.com)
3792
f7ae6d3e 3793 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
3794 at the beginning so the breakpoint doesn't get set on the loop.
3795
92851186
MC
37962003-02-05 Michael Chastain <mec@shout.net>
3797
3798 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3799 output for configurations with gcc 2.95.3.
3800
cbf1e085
AC
38012003-02-05 Keith Seitz <keiths@redhat.com>
3802 Andrew Cagney <ac131313@redhat.com>
3803
3804 * gdb.mi/mi-cli.exp: New file.
d63a86f8 3805
29518e1e
MC
38062003-02-04 Michael Chastain <mec@shout.net>
3807
3808 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3809 Call perror and then continue.
3810
5af1d5f3
MC
38112003-02-03 Michael Chastain <mec@shout.net>
3812
3813 * gdb.c++/pr-1023.cc: New file.
3814 * gdb.c++/pr-1023.exp: New file.
3815
6b549786
JB
38162003-02-05 Jim Blandy <jimb@redhat.com>
3817
3818 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3819 it's local to foobar. Check for it there, and check that it's not
3820 present in main.
3821 * gdb.c++/local.cc (marker2): New function.
3822 (foobar): Call marker1.
3823 (main): Call marker2 instead of marker1.
3824
67f16606
AC
38252003-02-04 Andrew Cagney <ac131313@redhat.com>
3826
3827 * gdb.disasm/mn10200.exp: Obsolete file.
3828 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3829 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3830 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3831
1c5cb38e
DC
38322003-02-04 David Carlton <carlton@math.stanford.edu>
3833
3834 * gdb.c++/overload.exp: Test intToChar(1).
3835 * gdb.c++/overload.cc (intToChar): New.
3836 (main): Call intToChar.
3837
d1fe6965
DC
38382003-02-03 David Carlton <carlton@math.stanford.edu>
3839
3840 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3841 'might_kfail' arg.
3842 KFAIL some of the continue_to_bp_overloaded calls, according to
3843 PR c++/1025.
3844
9ba61c5d
MC
38452003-02-01 Michael Chastain <mec@shout.net>
3846
3847 * gdb.base/advance.c (marker1): New marker function.
3848 * gdb.base/advance.exp: When the 'advance' command lands on the
3849 return breakpoint, it can legitimately stop on either the
3850 current line or the next line. Accommodate both outcomes.
3851 * gdb.base/until.exp: Likewise.
3852
e7494ffb
AC
38532003-02-02 Andrew Cagney <ac131313@redhat.com>
3854
3855 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3856 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3857 now a list, not a tuple.
3858 * gdb.mi/mi-var-display.exp: Ditto.
3859 * gdb.mi/gdb792.exp: Ditto.
3860
075559bc
AC
38612003-02-01 Andrew Cagney <ac131313@redhat.com>
3862
3863 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3864 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3865 stack backtraces.
3866 * gdb.mi/mi-syn-frame.c: Part of same.
3867
2bd4c7b1
MK
38682003-02-01 Mark Kettenis <kettenis@gnu.org>
3869
3870 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3871 gdb.mi/mi1-pthreads.exp: Return instead of calling
3872 gdb_suppress_entire_file.
3873
eabd8992
MS
38742003-02-01 Mark Salter <msalter@redhat.com>
3875
3876 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3877
71469e2f
MS
38782003-01-31 Mark Salter <msalter@redhat.com>
3879
3880 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3881 Support empty arg.
3882
38a94d44
MC
38832003-01-30 Michael Chastain <mec@shout.net>
3884
3885 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3886 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3887 has been fixed in gdb/readline on 2003-01-09.
3888
19ea9e73
MS
38892003-01-29 Michael Snyder <msnyder@redhat.com>
3890
e8d359df
MS
3891 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3892 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
3893 * gdb.base/args.exp: Skip if target does not support args passing.
3894
2307bd6a
DJ
38952003-01-22 Daniel Jacobowitz <drow@mvista.com>
3896
19ea9e73 3897 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
3898 gdb_test. Accept a list of expect arguments as the third
3899 parameter.
3900 (gdb_test): Use it.
3901
f2dd3617
EZ
39022003-01-20 Elena Zannoni <ezannoni@redhat.com>
3903
3904 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3905 allow for different test tree configurations. Update some
3906 tescases accordingly.
3907 * gdb.arch/altivec-regs.exp: Ditto.
3908 * gdb.asm/asm-source.exp: Ditto.
3909 * gdb.base/advance.exp: Ditto.
3910 * gdb.base/display.exp: Ditto.
d63a86f8 3911 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
3912 * gdb.base/mips_pro.exp: Ditto.
3913 * gdb.base/overlays.exp: Ditto.
3914 * gdb.base/relocate.exp: Ditto.
3915 * gdb.base/setshow.exp: Ditto.
3916 * gdb.base/step-line.exp: Ditto.
3917 * gdb.base/step-test.exp: Ditto.
3918 * gdb.base/until.exp: Ditto.
3919 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3920
c71cdefd
DC
39212003-01-17 David Carlton <carlton@math.stanford.edu>
3922
3923 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3924 corresponding to PR c++/945.
3925 Update copyright.
3926
fdba05d7
DC
39272003-01-17 David Carlton <carlton@math.stanford.edu>
3928
3929 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3930 corresponding to PR c++/68.
3931
39322003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
3933
3934 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3935 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3936 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3937
c362c33a
EZ
39382003-01-15 Elena Zannoni <ezannoni@redhat.com>
3939
0fbc361c
EZ
3940 * gdb.base/break.exp: Fix change of default location, because of
3941 removal of until tests.
3942 * gdb.base/help.exp: Update test for new 'until' help message.
3943 Add test for help on 'advance'.
c362c33a
EZ
3944 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3945
dabf8a35
MK
39462003-01-15 Mark Kettenis <kettenis@gnu.org>
3947
3948 * gdb.base/default.exp: Adapt "info float" test for recent changes
3949 to that command. Add test for "info vector".
3950 * gdb.base/float.exp: New file. Add test for "info float" that
3951 resembles the old test in gdb.base/default.exp.
3952
a1769aca
DC
39532003-01-15 David Carlton <carlton@math.stanford.edu>
3954
3955 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3956
82025e13
EZ
39572003-01-15 Elena Zannoni <ezannoni@redhat.com>
3958
3959 * gdb.base/break.exp: Move the tests of until command from here...
3960 * gdb.base/until.exp: ... to here. New file. Add other tests.
3961 * gdb.base/advance.c: New file.
3962 * gdb.base/advance.exp: New file.
3963
8f9ab801
EZ
39642003-01-14 Elena Zannoni <ezannoni@redhat.com>
3965
3966 * gdb.base/args.c: New file.
3967 * gdb.base/args.exp: New file.
3968
9ae66589
DJ
39692003-01-14 Daniel Jacobowitz <drow@mvista.com>
3970
3971 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3972
8d77e5c3
DJ
39732003-01-14 Daniel Jacobowitz <drow@mvista.com>
3974
3975 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3976
12d2f0a1
DJ
39772003-01-14 Daniel Jacobowitz <drow@mvista.com>
3978
3979 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3980 dates.
3981
6ca37014
DJ
39822003-01-13 Daniel Jacobowitz <drow@mvista.com>
3983
3984 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3985
b0023472
DJ
39862003-01-13 Daniel Jacobowitz <drow@mvista.com>
3987
3988 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3989 (ptype &*"foo").
3990 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3991
607fbc54 39922003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
3993
3994 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3995 * gdb.mi/mi1-console.exp: Likewise.
3996
607fbc54 39972003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
3998
3999 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
4000 * gdb.mi/mi1-console.exp: Likewise.
4001
a1fb14a2
DJ
40022003-01-13 Daniel Jacobowitz <drow@mvista.com>
4003
4004 * gdb.c++/overload.exp: Remove some fixed XFAILs.
4005
c4cf40b7
DJ
40062003-01-09 Daniel Jacobowitz <drow@mvista.com>
4007
4008 * gdb.base/detach.exp: New test.
4009
696d5a5b
DJ
40102003-01-09 Daniel Jacobowitz <drow@mvista.com>
4011
4012 * Makefile.in (ALL_SUBDIRS): New variable.
4013 (subdirs, clean, distclean): Use it.
4014 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
4015 regenerating Makefile, since it is generated from the top level.
4016 * gdb.asm/Makefile.in: Likewise.
4017 * gdb.base/Makefile.in: Likewise.
4018 * gdb.c++/Makefile.in: Likewise.
4019 * gdb.disasm/Makefile.in: Likewise.
4020 * gdb.java/Makefile.in: Likewise.
4021 * gdb.mi/Makefile.in: Likewise.
4022 * gdb.threads/Makefile.in: Likewise.
4023 * gdb.trace/Makefile.in: Likewise.
4024
754533e4
DC
40252003-01-09 David Carlton <carlton@math.stanford.edu>
4026
4027 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
4028 Add copyright year 2003.
4029
d8b3e9ee
MC
40302003-01-06 Michael Chastain <mec@shout.net>
4031
4032 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
4033 When selecting a thread, 'line' and 'file' are optional.
4034 * gdb.mi/mi1-pthreads.exp: Likewise.
4035
8e9e0fe6
AS
40362003-01-06 Andreas Schwab <schwab@suse.de>
4037
4038 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
4039 failures.
4040
b5ab8ff3
DJ
40412003-01-04 Daniel Jacobowitz <drow@mvista.com>
4042
4043 Fix PR gdb/844
4044 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
4045 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
4046
4047 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
4048 instead of calling gdb_suppress_entire_file.
4049 * gdb.threads/print-threads.exp: Likewise.
4050 * gdb.threads/schedlock.exp: Likewise.
4051
4052 * gdb.threads/killed.exp: Return instead of calling
4053 gdb_suppress_entire_file.
4054 * gdb.threads/linux-dp.exp: Likewise.
4055 * gdb.threads/pthreads.exp: Likewise.
4056
1e698235
DJ
40572003-01-04 Daniel Jacobowitz <drow@mvista.com>
4058
4059 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
4060 stabs.
4061 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
4062 * gdb.base/whatis.exp: Always allow (void) after function names.
4063
147ff08c
DJ
40642003-01-04 Daniel Jacobowitz <drow@mvista.com>
4065
4066 * gdb.c++/casts.exp: Correct regexp.
4067
dc62bfc2
MK
40682003-01-04 Mark Kettenis <kettenis@gnu.org>
4069
4070 * configure.in: Call AC_CONFIG_HEADER. Don't call
4071 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
4072 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
4073 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
4074 aforementioned directories in the AC_OUPUT call.
4075 * config.hin: New file.
4076 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
4077 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
4078 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
4079 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
4080 pass -I$objdir instead of -I$objdir/$subdir in compilation.
4081 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
4082 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
4083 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
4084 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
4085 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
4086 gdb.threads/configure.in, gdb.threads/configure,
4087 gdb.threads/config.in, gdb.trace/configure.in,
4088 gdb.trace/configure: Removed.
4089
77afa639
MC
40902003-01-03 Michael Chastain <mec@shout.net>
4091
4092 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
4093 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
4094
7634bb6e
DJ
40952003-01-03 Daniel Jacobowitz <drow@mvista.com>
4096
4097 * gdb.base/store.exp: Fix regular expressions.
4098
b39c905e
MK
40992002-12-28 Mark Kettenis <kettenis@gnu.org>
4100
4101 * configure.in: Rewrite.
4102 * configure: Regenerated.
4103
0a8551dd
DC
41042003-01-03 David Carlton <carlton@math.stanford.edu>
4105
4106 * gdb.base/psymtab.exp: New file.
4107 * gdb.base/psymtab1.c: Ditto.
4108 * gdb.base/psymtab2.c: Ditto.
4109
c60b7188
AF
41102002-12-23 Adam Fedor <fedor@gnu.org>
4111
4112 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
4113
ee73db83
DC
41142002-12-23 David Carlton <carlton@math.stanford.edu>
4115
4116 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
4117 and current_directory initialization.
4118
d6c1774e
JB
41192002-12-22 Jim Blandy <jimb@redhat.com>
4120
f0a847b8
JB
4121 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
4122 rather than as part of the output file name.
4123
d6c1774e
JB
4124 * gdb.base/attach.exp: There's no need to copy the test program to
4125 /tmp; that was only ever necessary on HP/UX, and this test is
4126 entirely disabled there anyway.
4127
f0708dbb
JB
41282002-12-21 Jim Blandy <jimb@redhat.com>
4129
4c2acfea
JB
4130 * gdb.c++/psmang.exp: Doc fix.
4131
f0708dbb
JB
4132 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
4133 test.
4134
9579e000
DC
41352002-12-20 David Carlton <carlton@math.stanford.edu>
4136
4137 * gdb.c++/annota2.exp: KFAIL annotate-quit.
4138
d1810171
MC
41392002-12-18 Michael Chastain <mec@shout.net>
4140
4141 * gdb.c++/annota2.exp: Add copyright year 2002.
4142
76565097
DC
41432002-12-17 David Carlton <carlton@math.stanford.edu>
4144
4145 * gdb.c++/try_catch.cc: Add marker comments.
4146 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
4147 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
4148 * gdb.c++/m-static.cc: Ditto.
4149 * gdb.c++/m-static1.cc: Ditto.
4150 * gdb.c++/try_catch.cc: Ditto.
4151
da81390b
JJ
41522002-12-16 Jeff Johnston <jjohnstn@redhat.com>
4153
4154 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
4155 to see whether we are using the new -environment-directory
4156 command which resets via -r or the old version of the command
4157 which may prompt the user. Part of fix for gdb/741.
4158
b304d130
AC
41592002-12-13 Andrew Cagney <ac131313@redhat.com>
4160
4161 * gdb.fortran/types.exp: Update obsolete comment.
4162 * gdb.fortran/exprs.exp: Ditto.
4163 * lib/gdb.exp: Delete obsolete code.
4164 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
4165 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
4166 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
4167 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
4168 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
4169 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
4170 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
4171 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
4172 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
4173 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
4174 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
4175 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
4176 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
4177 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
4178 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
4179 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
4180 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
4181 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
4182 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
4183 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
4184 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
4185 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
4186 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
4187 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
4188 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
4189 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
4190 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
4191 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
4192 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
4193 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
4194 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
4195 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
4196 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
4197 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
4198 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
4199 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
4200 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
4201
a23b6e6a
DC
42022002-12-11 David Carlton <carlton@math.stanford.edu>
4203
4204 * gdb.c++/m-data.exp: Add test for members that shadow global
4205 variables: see PR gdb/804.
4206 * gdb.c++/m-data.cc: Ditto.
4207
6604731b
DJ
42082002-12-10 Daniel Jacobowitz <drow@mvista.com>
4209
4210 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
4211
de46ecd7
DC
42122002-12-06 David Carlton <carlton@math.stanford.edu>
4213
4214 * gdb.base/store.c: Don't declare functions static.
4215
27e829d0
AC
42162002-12-04 Andrew Cagney <ac131313@redhat.com>
4217
4218 * gdb.base/store.exp, gdb.base/store.c: New files.
4219
92806416
DJ
42202002-12-03 Daniel Jacobowitz <drow@mvista.com>
4221
4222 * gdb.base/selftest.exp: Update for current gdb.
4223
3bcbaac5
DJ
42242002-12-03 Daniel Jacobowitz <drow@mvista.com>
4225
4226 * gdb.base/maint.exp: Only dump symbols from one source file
4227 or objfile.
4228
f4f00b1f
DJ
42292002-12-03 Daniel Jacobowitz <drow@mvista.com>
4230
4231 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
4232 function call.
4233
f1c8a949
JB
42342002-11-25 Jim Blandy <jimb@redhat.com>
4235
4236 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
4237 function appearing in error message.
4238
9e297a97
DJ
42392002-11-21 Daniel Jacobowitz <drow@mvista.com>
4240
4241 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
4242
1f312e79
JJ
42432002-11-08 Jeff Johnston <jjohnstn@redhat.com>
4244
d63a86f8
RM
4245 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
4246 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
4247 should be in mi console format. This is part of fix for PR gdb/604.
4248
83c31e7d
FN
42492002-09-18 Fernando Nasser <fnasser@redhat.com>
4250
4251 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
4252 which explicitly prints the zero offset as "+0".
4253
322b3f65
DJ
42542002-10-22 Daniel Jacobowitz <drow@mvista.com>
4255
4256 * gdb.threads/schedlock.c (args): Make unsigned.
4257
42582002-10-21 Daniel Jacobowitz <drow@mvista.com>
4259
4260 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
4261 numbers. Allow "foo2|selected stack frame".
4262 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
4263 * gdb.asm/asmsrc2.s: Likewise.
4264 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
4265 comments.
4266 * gdb.asm/mips.inc: New file.
4267
5e2fe5b8
AF
42682002-10-18 Adam Fedor <fedor@gnu.org>
4269
4270 * gdb.base/default.exp: Update expected output to include 'ObjC'.
4271 * gdb.base/help.exp: Likewise.
4272
abe1a5d0
KB
42732002-10-17 Kevin Buettner <kevinb@redhat.com>
4274
4275 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
4276 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
4277
10abb1d4
JB
42782002-10-02 Jim Blandy <jimb@redhat.com>
4279
4280 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
4281
1f609b42
AC
42822002-10-01 Andrew Cagney <ac131313@redhat.com>
4283
4284 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
4285 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
4286 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
4287 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
4288 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
4289 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
4290 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
4291
0aee02e4
AC
42922002-09-29 Andrew Cagney <ac131313@redhat.com>
4293
4294 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
4295 * mi0-disassemble.exp, mi0-eval.exp: Delete.
4296 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
4297 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
4298 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
4299 * mi0-var-block.exp, mi0-var-child.exp: Delete.
4300 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 4301
6fde09ad
KB
43022002-09-27 Kevin Buettner <kevinb@redhat.com>
4303
4304 * gdb.base/annota1.exp (info break): Make directory components of
4305 path optional since not all compilers emit this debug information.
4306
4307 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
4308 step ends up stepping out of the function instead of stopping on
4309 the epilogue.
4310
9e8aab75
KS
43112002-09-26 Keith Seitz <keiths@redhat.com>
4312
4313 * lib/insight-support.exp (gdbtk_start): Figure out where
4314 the insight executable is based on where gdb is. Use this
4315 executable to start insight instead of gdb.
4316
e36180d7
AC
43172002-09-25 Andrew Cagney <cagney@redhat.com>
4318
4319 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
4320
9dd34b2b
AC
43212002-09-24 Andrew Cagney <ac131313@redhat.com>
4322
4323 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
4324 test_isolated_complaints.
4325 (test_empty_complaint): New function.
4326 (test_empty_complaints): New function. Check no output when no
4327 complaints.
d63a86f8 4328
dea97812
KB
43292002-09-19 Jim Blandy <jimb@redhat.com>
4330
4331 * gdb.base/charset.exp, gdb.base/charset.c: New files.
4332
54951bd7
AC
43332002-09-19 Andrew Cagney <ac131313@redhat.com>
4334
4335 * gdb.gdb/complaints.exp: New file.
4336
dec43320
AC
43372002-09-18 Andrew Cagney <ac131313@redhat.com>
4338
4339 * gdb.base/maint.exp: Check `help maint internal-warning'.
4340
e70d6e3f
DC
43412002-09-18 David Carlton <carlton@math.stanford.edu>
4342
4343 * gdb.c++/m-static.exp: Remove breakpoints depending on line
4344 numbers, and replace them by a single breakpoint after the
4345 constructors are all finished.
4346 Add test 4.
4347 * gdb.c++/m-static.cc: Add test 4.
4348 * gdb.c++/m-static.h: New file.
4349 * gdb.c++/m-static1.cc: New file.
4350
4351 * gdb.c++/printmethod.exp: New file.
4352 * gdb.c++/printmethod.cc: New file.
4353
4354 * gdb.c++/pr-574.exp: New file.
4355 * gdb.c++/pr-574.cc: New file.
4356
afb5c968
CV
43572002-09-18 Corinna Vinschen <vinschen@redhat.com>
4358
4359 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
4360 embedded targets which never actually exit.
4361
31e45dee
FN
43622002-09-18 Fernando Nasser <fnasser@redhat.com>
4363
4364 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
4365 "don't step after run" as unresolved or unsupported, instead of xfail.
4366
a283c5a1
CV
43672002-09-18 Corinna Vinschen <vinschen@redhat.com>
4368
4369 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
4370 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
4371 Add newline to expected string in "step out of main (status wrapper)"
4372 case.
4373
11350d2a
CV
43742002-09-18 Corinna Vinschen <vinschen@redhat.com>
4375
4376 * lib/gdb.exp (rerun_to_main): Allow restarting application.
4377 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
4378
0deec7d6
TT
43792002-09-17 Tom Tromey <tromey@redhat.com>
4380
4381 * gdb.base/printcmds.exp (test_print_string_constants): Expect
4382 \000, not \0, in double-quoted string.
4383
b2b4a1b5
CV
43842002-09-14 Corinna Vinschen <vinschen@redhat.com>
4385
c9d37158 4386 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
4387 string after running the commands execution on breakpoint tests.
4388
1c56143a
CV
43892002-09-13 Corinna Vinschen <vinschen@redhat.com>
4390
4391 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
4392
37f8da45
JB
43932002-09-12 Joel Brobecker <brobecker@gnat.com>
4394
4395 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
4396
08b468e0
KS
43972002-09-10 Keith Seitz <keiths@redhat.com>
4398
4399 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
4400 runto proc.
4401 (mi_run_to_main): Use mi_runto.
4402 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
4403
dc360f58
KS
44042002-09-10 Keith Seitz <keiths@redhat.com>
4405
4406 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
4407 regexp for stopping at main. Could have multiple event notifications.
4408 Don't assume that main was declared with no parameters.
4409 (mi_next): Use mi_step_to.
4410 (mi_step): Use mi_next_to.
4411
ce3abcfb
CV
44122002-09-09 Corinna Vinschen <vinschen@redhat.com>
4413
4414 * gdb.base/default.exp: Fix expected string in `info float' test.
4415
d1f5b980
BE
44162002-09-09 Ben Elliston <bje@redhat.com>
4417
4418 * config/mips.exp: Update comments.
4419 * config/mips-idt.exp: Likewise.
4420 * config/nind.exp: Likewise.
4421 * config/slite.exp: Likewise.
4422 * config/sparclet.exp: Likewise.
4423 * config/udi.exp: Likewise.
4424 * config/vx.exp: Likewise.
4425 * config/vxworks29k.exp: Likewise.
4426
2f71430b
JB
44272002-09-05 Jim Blandy <jimb@redhat.com>
4428
4429 * gdb.threads/killed.exp: Fix test failure message.
4430
7ddebc7e
KS
44312002-09-04 Keith Seitz <keiths@redhat.com>
4432
4433 * lib/mi-support.exp: Update copyright.
4434 (mi_gdb_test): Increase the priority of the expected pattern
4435 so that it matches gdb_test.
4436
0ae67eb3
KS
44372002-09-03 Keith Seitz <keiths@redhat.com>
4438
4439 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
4440 Use integer comparison instead of string comparison for testing
4441 whether binary was built.
4442
38fc42c8
JB
44432002-09-03 Jim Blandy <jimb@redhat.com>
4444
4445 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
4446
b6ff0e81
JB
44472002-08-29 Jim Blandy <jimb@redhat.com>
4448
4449 * gdb.threads/pthreads.exp: Move the portable thread compilation
4450 code into a function in lib/gdb.exp, and call that from here.
4451 * lib/gdb.exp (gdb_compile_pthreads): New function.
4452
07c98896
KS
44532002-08-29 Keith Seitz <keiths@redhat.com>
4454
4455 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
4456 expect_out so that callers can get at it.
4457
0312286c
DJ
44582002-08-23 Daniel Jacobowitz <drow@mvista.com>
4459
4460 * gdb.threads/print-threads.c: New file.
4461 * gdb.threads/print-threads.exp: New file.
4462 * gdb.threads/schedlock.c: New file.
4463 * gdb.threads/schedlock.exp: New file.
4464
dd039bc4
EZ
44652002-08-22 Elena Zannoni <ezannoni@redhat.com>
4466
4467 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4468 not altivec.c.
4469
1f36144c
MK
44702002-08-17 Mark Kettenis <kettenis@gnu.org>
4471
4472 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4473 targets. The problem should be fixed now.
4474
16057ec7 44752002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
4476
4477 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4478 2002-07-24 change that removes final dots from error messages.
4479
3c1499ad
TT
44802002-08-13 Tom Tromey <tromey@redhat.com>
4481
4482 * gdb.base/readline.exp: New file.
4483
a20ce2c3
AC
44842002-08-01 Andrew Cagney <ac131313@redhat.com>
4485
4486 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4487 supress message.
4488
db034ac5
AC
44892002-08-01 Andrew Cagney <cagney@redhat.com>
4490
4491 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4492 CHILL_FOR_TARGET and CHILL_LIB.
4493 * configure.in (configdirs): Remove gdb.chill.
4494 * configure: Regenerate.
4495 * lib/gdb.exp: Obsolete references to chill.
4496 * gdb.fortran/types.exp: Ditto.
4497 * gdb.fortran/exprs.exp: Ditto.
4498
3e000b18
KB
44992002-07-30 Kevin Buettner <kevinb@redhat.com>
4500
4501 * gdb.base/shlib-call.exp (additional_flags): Conditionally
4502 set Irix-specific compile and link flags.
4503
28f4966b
KB
45042002-07-29 Kevin Buettner <kevinb@redhat.com>
4505
4506 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4507 source files. The ``-o'' option doesn't work with the ``-E'' option
4508 when using the Irix compiler.
4509
46c0d5a6
DJ
45102002-07-19 Daniel Jacobowitz <drow@mvista.com>
4511
4512 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4513 Improve support for reusing an exec file. Copy exec file
4514 to target, and run gdbserver on the target instead of on the host.
4515
eecf4bed
JB
45162002-07-18 Jim Blandy <jimb@redhat.com>
4517
0f815cdf
JB
4518 * gdb.base/ending-run.exp: Don't expect to see the program end in
4519 some orderly fashion when we're running on a real stand-alone
4520 board.
4521
eecf4bed
JB
4522 * gdb.base/interrupt.exp: Correct logic for skipping tests on
4523 targets that don't support interrupts.
4524
52d309e4
JB
45252002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
4526
4527 * gdb.base/attach.exp: Add patterns to match output from /proc-based
4528 systems.
4529 Move comments in expect statements to inside the actions, so that they
4530 don't get matched against.
4531
ff683d9e
MK
45322002-07-10 Mark Kettenis <kettenis@gnu.org>
4533
4534 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4535 function when asleep" test.
4536
b5356753
AC
45372002-07-10 Andrew Cagney <ac131313@redhat.com>
4538
4539 * gdb.base/page.exp: Rewrite to handle problems with very long
4540 `info set' output. Update copyright.
4541
6aa4d13a
AC
45422002-06-26 Andrew Cagney <ac131313@redhat.com>
4543
4544 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4545 gdb.threads-hp.
4546 * gdb.hp/configure: Regenerate.
4547 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4548 * gdb.hp/gdb.threads-hp/configure: Delete file.
4549 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4550
8cf8c2b8
AC
45512002-06-22 Andrew Cagney <ac131313@redhat.com>
4552
4553 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4554 setlocale, bindtextdomain and textdomain.
4555
6827a8f8
JB
45562002-06-11 Jim Blandy <jimb@redhat.com>
4557
919d772c
JB
4558 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4559 preprocessor macro information is present.
4560
6827a8f8
JB
4561 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4562 tests.
4563
c15b0d21
MS
45642002-06-06 Michael Snyder <msnyder@redhat.com>
4565
c5984d70
MS
4566 * gdb.base/overlays.exp: Record addresses of overlay
4567 functions in TCL variables rather than in GDB variables,
4568 to avoid having GDB convert them to pointers (with loss
4569 of information).
4570
d63a86f8 4571 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 4572 default linker script changes.
c15b0d21
MS
4573 * gdb.base/long_long.exp: Add check for sizeof (long double).
4574
be26fe0d
ML
45752002-06-06 Michal Ludvig <mludvig@suse.cz>
4576
4577 * gdb.asm/asm-source.exp: Add x86-64 target.
4578 * gdb.asm/x86_64.inc: New.
d63a86f8 4579
258093ca 45802002-05-30 Michael Chastain <mec@shout.net>
258093ca 4581
4b3153f1 4582 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
4583 * gdb.c++/m-static.cc: New file.
4584 * gdb.c++/m-static.exp: New file.
4585
241264c6
MS
45862002-05-28 Michael Snyder <msnyder@redhat.com>
4587
4588 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4589 precision.
4590
9bba8c8f 45912002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 4592
4b3153f1 4593 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
4594 * gdb.c++/m-data.cc: New file.
4595 * gdb.c++/m-data.exp: New file.
4596
45972002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 4598
4b3153f1 4599 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 4600 * gdb.c++/try_catch.cc: New file.
d63a86f8 4601 * gdb.c++/try_catch.exp: New file.
9bba8c8f 4602
def1b996
MC
46032002-05-27 Michael Chastain <mec@shout.net>
4604
4605 * gdb.c++/local.exp: Accept more nested types in output.
4606
522ba268
MC
46072002-05-26 Michael Chastain <mec@shout.net>
4608
4609 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4610
277254ba
MS
46112002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4612
4613 * lib/gdb.exp (gdb_wrapper_init): Just because
4614 gdb_wrapper_file exists, this does not mean that the file
4615 should not be rebuilt. That is what gdb_wrapper_initialized
4616 is for.
4617 (default_gdb_init): Reset gdb_wrapper_initialized.
4618
b61a8733
MS
46192002-05-23 Michael Snyder <msnyder@redhat.com>
4620
d63a86f8 4621 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
4622 the precision of the floating point test results.
4623 * gdb.base/call-rt-st.exp: Ditto.
4624
b61a8733
MS
4625 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4626 * gdb.base/call-rt-st.exp: Ditto.
4627
56f6e910
MC
46282002-05-19 Michael Chastain <mec@shout.net>
4629
4630 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4631
ad0b0016
EZ
46322002-05-19 Elena Zannoni <ezannoni@redhat.com>
4633
4634 * configure.in (configdirs): Add gdb.arch.
4635 * configure: Regenerate.
4636
f617d2b6
JB
46372002-05-17 Jim Blandy <jimb@redhat.com>
4638
4639 * gdb.base/completion.exp: Recognize the more detailed error
4640 messages produced by the macro expander's lexical analyzer.
4641
eac2a696
EZ
46422002-05-14 Elena Zannoni <ezannoni@redhat.com>
4643
4644 * gdb.arch/altivec-abi.c: New file.
4645 * gdb.arch/altivec-abi.exp: New file.
4646 * gdb.arch/altivec-regs.c: New file.
4647 * gdb.arch/altivec-regs.exp: New file.
4648
2fdde8f8
DJ
46492002-05-14 Daniel Jacobowitz <drow@mvista.com>
4650
4651 * gdb.base/maint.exp (maint print type): Update for new type
4652 structure.
d63a86f8 4653
e31f1a7c
EZ
46542002-05-14 Elena Zannoni <ezannoni@redhat.com>
4655
4656 * gdb.arch: New directory.
4657 * gdb.arch/configure.in: New file.
4658 * gdb.arch/configure: New file.
4659 * gdb.arch/Makefile.in: New file.
4660
db589741
CV
46612002-05-13 Corinna Vinschen <vinschen@redhat.com>
4662
4663 * gdb.asm/asm-source.exp: Add v850 as supported target.
4664 * gdb.asm/v850.inc: New file.
4665
8ce2a7dc
DJ
46662002-05-13 Daniel Jacobowitz <drow@mvista.com>
4667
4668 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4669
df763c7f
DJ
46702002-05-12 Daniel Jacobowitz <drow@mvista.com>
4671
4672 * gdb.base/break.exp: Check 'break "marker2"'.
4673
377daeed
MS
46742002-05-10 Michael Snyder <msnyder@redhat.com>
4675
4676 * gdb.base/long_long.exp: Fix typo.
4677
c4b7bc2b
JB
46782002-05-10 Jim Blandy <jimb@redhat.com>
4679
ecac9a4e
JB
4680 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4681 a bug.
4682
c4b7bc2b
JB
4683 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4684 Recognize more detailed error message produced by the macro
4685 expander's lexical analyzer.
4686 * lib/gdb.exp (test_print_reject): Same.
4687
e71019a1
MK
46882002-05-09 Mark Kettenis <kettenis@gnu.org>
4689
4690 * gdb.c++/method.exp: Fix typo.
4691
fedfc8e6
MS
46922002-05-08 Michael Snyder <msnyder@redhat.com>
4693
166a1957
MS
4694 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4695 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 4696 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
4697 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4698 Add iftarget clause for strongarm.
d63a86f8 4699
f1c47eb2
MS
47002002-05-06 Michael Snyder <msnyder@redhat.com>
4701
cb9a9d3e
MS
4702 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4703 (gdb_continue_to_end): Accept output from status wrapper.
4704 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4705 Clean up fail messages to match pass messages.
4706
f1c47eb2
MS
4707 Enable the "needs_status_wrapper" testsuite feature.
4708 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4709 (gdb_compile): Conditionally call gdb_wrapper_init.
4710 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4711 * gdb.c++/method.exp: Recognize output from status wrapper.
4712
6079c749
BE
47132002-05-06 Ben Elliston <bje@redhat.com>
4714From Graydon Hoare <graydon@redhat.com>
4715
4716 * config/sid.exp: Include support for "rawsid" protocol.
4717
188baff3
JB
47182002-05-03 Jim Blandy <jimb@redhat.com>
4719
4720 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4721 * gdb.c++/hang3.C: New file.
4722
b9c07f0f
AC
47232002-05-04 Andrew Cagney <ac131313@redhat.com>
4724
4725 * gdb.base/default.exp: Remove obsolete code.
4726 * gdb.c++/misc.exp: Ditto. Update copyright.
4727 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4728 * gdb.base/whatis.exp: Ditto. Update copyright.
4729 * gdb.base/scope.exp: Ditto. Update copyright.
4730 * gdb.base/ptype.exp: Ditto. Update copyright.
4731 * gdb.base/printcmds.exp: Ditto. Update copyright.
4732 * gdb.base/opaque.exp: Ditto. Update copyright.
4733 * gdb.base/list.exp: Ditto.
4734 * gdb.base/funcargs.exp: Ditto. Update copyright.
4735 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4736 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4737 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4738 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4739 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4740 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4741
5c7a0397
MS
47422002-05-02 Michael Snyder <msnyder@redhat.com>
4743
d6dcc264 4744 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
4745 * gdb.base/long_long.exp: Add xscale target.
4746 * gdb.base/default.exp: Add xscale target.
4747
eb7f1c48
JB
47482002-05-01 Jim Blandy <jimb@redhat.com>
4749
4750 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4751 gdb.c++/hang.exp: New test.
4752
a6befae8
FF
47532002-05-01 Fred Fish <fnf@redhat.com>
4754
4755 * gdb.base/completion.exp: Handle completions of "./Make" for
4756 more than one completion possibility, as is the case when we
4757 build and test in the source tree.
4758
0a310277
AG
47592002-04-29 Anthony Green <green@redhat.com>
4760
4761 * gdb.java/jmisc1.exp: New file.
4762 * gdb.java/jmisc2.exp: New file.
4763
6ff9af88
DJ
47642002-04-24 Daniel Jacobowitz <drow@mvista.com>
4765
4766 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4767
96b3d632
EZ
47682002-04-23 Elena Zannoni <ezannoni@redhat.com>
4769
4770 * gdb.base/help.exp: Change 'help status' to allow for target
4771 dependent output differences.
4772
5019bb54
MC
47732002-04-22 Michael Chastain <mec@shout.net>
4774
4775 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4776
a805a116
MC
47772002-04-22 Michael Chastain <mec@shout.net>
4778
4779 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4780
a1706bfd
DM
47812002-04-17 David S. Miller <davem@redhat.com>
4782
4783 * gdb.asm/sparc64.inc: New file.
4784 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4785
a73a20a2
EZ
47862002-04-19 Elena Zannoni <ezannoni@redhat.com>
4787
4788 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4789 instruction file directly into the build tree. Clean up at end of
4790 test.
4791
ba678339
DM
47922002-04-18 David S. Miller <davem@redhat.com>
4793
4794 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4795 handle 64-bit platforms correctly.
4796 * gdb.base/maint.exp: Likewise.
4797
b03399da
KB
47982002-04-18 Kevin Buettner <kevinb@redhat.com>
4799
4800 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4801 ``-fpic'' when compiling files comprising a shared library, but
4802 it does need additional linker flags in order to find shared
4803 libraries at run time.
4804
e2004992
KB
48052002-04-18 Kevin Buettner <kevinb@redhat.com>
4806
4807 * gdb.base/cvexpr.c (use): New function.
4808 (main): Invoke use() on all global variables to prevent
4809 some linkers from deleting these otherwise unused symbols.
4810
d8937120
MC
48112002-04-17 Michael Chastain <mec@shout.net>
4812From David S. Miller <davem@redhat.com>
4813
4814 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4815 handle 64-bit platforms correctly.
4816
ffd61a58
MS
48172002-04-12 Michael Snyder <msnyder@redhat.com>
4818From Jim Blandy <jimb@redhat.com>
4819 * gdb.base/foo.c (foox): Remove section attribute; the linker
4820 script can handle this instead.
4821 * gdb.base/bar.c (barx): Same.
4822 * gdb.base/baz.c (bazx): Same.
4823 * gdb.base/grbx.c (grbxx): Same.
4824
4825 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4826 manager doesn't automatically unmap overlays unnecessarily.
4827
6b8426a6
MH
48282002-04-10 Martin M. Hunt <hunt@redhat.com>
4829
4830 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4831 stepping out of main.
4832
34af4875
MC
48332002-04-09 Michael Chastain <mec@shout.net>
4834
4835 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4836 scope so that the nested scope tests will make sense.
4837 * gdb.c++/local.exp: Write patterns that actually work with gcc
4838 (the HP patterns "were never known to work with gcc").
4839 Keep the old aCC patterns too.
4840
2d1676a0
DJ
48412002-04-09 Daniel Jacobowitz <drow@mvista.com>
4842
4843 * gdb.base/attach.exp: Correct target board test.
4844
3a63e3f9
MC
48452002-04-08 Michael Chastain <mec@shout.net>
4846
4847 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4848 in a const method. Add some xfail and fail cases for configurations
4849 that do not emit the "const ...".
4850
f18dabd2
MC
48512002-04-07 Michael Chastain <mec@shout.net>
4852
4853 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4854 Accept "A * const" and "const A * const" as type of "this".
4855 Fix spelling of getFunky throughout. Make messages uniform.
4856
0fcddd82
EZ
48572002-04-07 Elena Zannoni <ezannoni@redhat.com>
4858
4859 Work around for PR gdb/285:
4860 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4861
16a8534a
EZ
48622002-04-07 Elena Zannoni <ezannoni@redhat.com>
4863
4864 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4865 instructions file at run time instead of configure time.
4866 Sometimes we run the test in a directory that is not the one we
4867 configured in.
4868 * gdb.asm/configure.in: Delete creation of symlink.
4869 * gdb.asm/configure: Regenerate.
4870
24181d81
JB
48712002-04-05 J. Brobecker <brobecker@gnat.com>
4872
4873 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4874 xfullpath () function.
4875
7cdb7107
DJ
48762002-04-04 Daniel Jacobowitz <drow@mvista.com>
4877
4878 * gdb.asm/Makefile.in: Correct dependencies.
4879
4880 * gdb.asm/powerpc.inc: New file.
4881 * gdb.asm/asm-source.exp: Add PowerPC.
4882 * gdb.asm/configure.in: Likewise.
4883 * gdb.asm/configure: Regenerated.
4884
a7d17088
DJ
48852002-04-04 Daniel Jacobowitz <drow@mvista.com>
4886
4887 * gdb.base/relocate.exp: New file.
4888 * gdb.base/relocate.c: New file.
4889
cd721503
FF
48902002-04-04 Fred Fish <fnf@redhat.com>
4891
4892 * gdb.base/step-test.exp: Update comment regarding stopping in
4893 memcpy/bcopy calls inserted as part of the compiler runtime.
4894
b22ad7a7
MS
48952002-04-04 Michael Snyder <msnyder@redhat.com>
4896
4897 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4898
5f279fa6
DJ
48992002-04-03 Daniel Jacobowitz <drow@mvista.com>
4900
4901 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4902 (gdb_expect): Remove $notransfer hack.
4903
dd0fd3ce
DJ
49042002-04-02 Daniel Jacobowitz <drow@mvista.com>
4905
4906 * gdb.c++/classes.exp ("calling method for small class"): Match
4907 updated register output.
4908
1e50cda1
DJ
49092002-03-30 Daniel Jacobowitz <drow@mvista.com>
4910
4911 Fix PR gdb/452
4912 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4913 when finished. Make gdb_file_cmd send "exec-file" when
4914 appropriate.
4915
24015922
DJ
49162002-03-30 Daniel Jacobowitz <drow@mvista.com>
4917
4918 * gdb.base/attach.exp: Remove extra setup_xfail.
4919
dd7dfd64
MS
49202002-03-26 Michael Snyder <msnyder@redhat.com>
4921
4922 * gdb.base/default.exp: Add tests for dump, append, and restore.
4923 * gdb.base/help.exp: Add tests for dump, append, and restore.
4924 * gdb.base/dump.exp: New file, test dump, append and restore.
4925 * gdb.base/dump.c: New file.
4926
48b2f8d7
MS
49272002-03-27 Michael Snyder <msnyder@redhat.com>
4928
d63a86f8 4929 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
4930 clean-ups in help messages.
4931
05b4d525
FF
49322002-03-26 Fred Fish <fnf@redhat.com>
4933
4934 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4935 have debugging info for those functions and the compiler uses them
4936 internally to copy structs around.
4937
d7679631
FF
49382002-03-26 Fred Fish <fnf@redhat.com>
4939
4940 * gdb.base/list.exp: Revert the change made yesterday and add note
4941 about why we don't list the default lines for remote targets.
4942
523ac3f9
MS
49432002-03-25 Michael Snyder <msnyder@redhat.com>
4944
4945 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4946
754b2b8d
FF
49472002-03-25 Fred Fish <fnf@redhat.com>
4948
4949 * gdb.base/list.exp: This test works on remote targets so remove
4950 the short circuit for remote targets. Update copyright.
4951
33c3e192
FF
49522002-03-25 Fred Fish <fnf@redhat.com>
4953
4954 * gdb.base/attach.exp: Fix logic error that was suppressing this
4955 test for all non hppa*-*-hpux* targets, instead of the hp target.
4956 Move comments closer to the suppression point. Also now need to
4957 check that we are running natively.
4958
d43e73ee
MS
49592002-03-22 Michael Snyder <msnyder@redhat.com>
4960
882c8f02
MS
4961 * gdb.base/default.exp: Add test for gcore. Update copyright.
4962 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 4963
04c12f60
FF
49642002-03-06 Fred Fish <fnf@redhat.com>
4965
4966 * gdb.base/funcargs.c: Remove extraneous ';' character.
4967 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4968
b43df995
MC
49692002-03-04 Michael Chastain <mec@shout.net>
4970
4971 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4972 accommodate gcc v3 function signature.
4973 * gdb.mi/mi0-var-cmd-exp: Ditto.
4974
92362027
AC
49752002-02-24 Andrew Cagney <ac131313@redhat.com>
4976
4977 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4978 ``GNU/Linux'' or ``Linux kernel''
4979 * testsuite/gdb.threads/pthreads.c: Ditto.
4980
258ad32d
MC
49812002-02-24 Michael Chastain <mec@shout.net>
4982
4983 * gdb.threads/pthreads.c (thread1): Add a return statement.
4984 (thread2): Likewise.
4985 (foo): Likewise.
4986
04c3b3d4
MC
49872002-02-23 Michael Chastain <mec@shout.net>
4988
4989 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4990 to placate gcc.
4991
5a2a0a20
MC
49922002-02-23 Michael Chastain <mec@shout.net>
4993
4994 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4995 test "ptype bint". The test passes on all my stabs configurations.
4996
a640f7fc
JB
49972002-02-21 Jim Blandy <jimb@redhat.com>
4998
27924826
JB
4999 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
5000 filename at a time, and watch for the ones we want to see.
5001
a640f7fc
JB
5002 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
5003 types of pointers to prototyped functions.
5004
edcc8c75
AC
50052002-02-20 Andrew Cagney <ac131313@redhat.com>
5006
5007 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
5008 signed, unsigned and straight char.
5009 (padding_char, padding_short, padding_int, padding_long,
5010 padding_long_long, padding_float, padding_double,
5011 padding_long_double): New global variables.
5012 (fill, fill_structs): New functions.
5013
5014 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
5015 for correctly sized writes. Update copyright.
5016 (get_valueof): New procedure.
5017 (get_sizeof): Call get_valueof.
5018 (check_valueof): New procedure.
5019 (check_padding): New procedure.
5020
ac57ea44
MC
50212002-02-20 Michael Chastain <mec@shout.net>
5022
5023 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
5024 to setup_xfail. Document some of the remaining calls.
5025
7a10c941
MC
50262002-02-18 Michael Chastain <mec@shout.net>
5027
5028 * gdb.c++/userdef.exp: Update copyright year.
5029
fb8acdcc
DJ
50302002-02-18 Daniel Jacobowitz <drow@mvista.com>
5031
5032 * gdb.c++/userdef.exp: Test overloaded operators properly.
5033 Remove xfails.
5034
fda6ae12
MS
50352002-02-14 Michael Snyder <msnyder@redhat.com>
5036
5037 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
5038
676a0442
DJ
50392002-02-14 Daniel Jacobowitz <drow@mvista.com>
5040
5041 * gdb.base/a2-run.exp: Check for a remote target properly.
5042 * gdb.base/annota1.exp: Likewise.
5043 * gdb.base/list.exp: Likewise.
5044 * gdb.base/reread.exp: Likewise.
5045 * gdb.base/scope.exp: Likewise.
5046 * gdb.base/shlib-call.exp: Likewise.
5047 * gdb.base/term.exp: Likewise.
5048 * gdb.c++/annota2.exp: Likewise.
5049
78b4f468
RE
50502002-02-13 Richard Earnshaw <rearnsha@arm.com>
5051
5052 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
5053
9a81ba51
MC
50542002-02-10 Michael Chastain <mec@shout.net>
5055
5056 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
5057 (call_after_alloca): Ditto.
5058
004af6c7
DJ
50592002-02-10 Daniel Jacobowitz <drow@mvista.com>
5060
5061 * gdb.base/ending-run.exp: Guard "cont" test with
5062 gdb_skip_stdio_test.
5063
37225f62
JB
50642002-02-06 Jim Blandy <jimb@redhat.com>
5065
5066 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
5067 from here...
5068 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
5069 To here. Disable this test on non-HP platforms. Add big comment.
5070
fe6fdd96
MS
50712002-02-04 Michael Snyder <msnyder@redhat.com>
5072
5073 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
5074 other than d10v and m32r.
5075
036fad3f
RE
50762002-02-02 Richard Earnshaw <rearnsha@arm.com>
5077
5078 * gdb.base/default.exp: Rewrite test patterns to reduce time
5079 taken to match them.
5080
7148ab62
DJ
50812002-01-30 Daniel Jacobowitz <drow@mvista.com>
5082
5083 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
5084 Allow a start function above main.
5085 * gdb.threads/linux-dp.exp: Fix copyright date.
5086
396cc255
DJ
50872002-01-30 Daniel Jacobowitz <drow@mvista.com>
5088
5089 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
5090 (check_philosopher_stack): Check for manager thread before checking
5091 for a just-starting thread.
5092
f038d31b
DJ
50932002-01-30 Daniel Jacobowitz <drow@mvista.com>
5094
5095 From Neil Booth <neil@daikokuya.demon.co.uk>:
5096 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
5097 warnings.
5098
b3ff9d9a
FF
50992002-01-21 Fred Fish <fnf@redhat.com>
5100
5101 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
5102 not caller.
5103
39ad761d
JB
51042002-01-21 Jim Blandy <jimb@redhat.com>
5105
5106 * gdb.base/reread.exp: Check that GDB properly re-reads the
5107 executable file when it changes while no inferior is running.
5108
aaf320fa
FF
51092002-01-21 Fred Fish <fnf@redhat.com>
5110
5111 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
5112 optionally accept the "shlib events" variation.
5113
808a31f5
JB
51142002-01-21 Jim Blandy <jimb@redhat.com>
5115
5116 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
5117 call `fflush' after every `printf', so that the output is produced
5118 at predictable points, regardless of whatever buffering does (or
5119 doesn't) take place.
5120 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
5121 at different points.
5122
4420d5e2
DJ
51232002-01-20 Daniel Jacobowitz <drow@mvista.com>
5124
5125 * gdb.c++/inherit.exp: Update copyright years.
5126 * gdb.c++/method.exp: Likewise.
5127
3e36a0f4
DJ
51282002-01-20 Daniel Jacobowitz <drow@mvista.com>
5129
5130 * gdb.c++/classes.exp: Update for improved v3 support and skipping
5131 artificial methods/arguments.
5132 * gdb.c++/derivation.exp: Likewise.
5133 * gdb.c++/inherit.exp: Likewise.
5134 * gdb.c++/method.exp: Likewise.
5135 * gdb.c++/virtfunc.exp: Likewise.
5136
b4ceaee6
AC
51372002-01-18 Andrew Cagney <ac131313@redhat.com>
5138
5139 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
5140 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
5141 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
5142 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
5143 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
5144 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
5145
ecace851
JB
51462002-01-17 Jim Blandy <jimb@redhat.com>
5147
5148 * gdb.asm/asm-source.exp (info symbol): Take another shot at
5149 anchoring the pattern matching the entry point symbol's name.
5150
375fc983
AC
51512002-01-17 Andrew Cagney <ac131313@redhat.com>
5152
5153 * gdb.base/maint.exp: Update ``maint internal-error'' to match
5154 continue/quit query. Update copyright.
5155
fe6fdd96
MS
51562002-01-14 Michael Snyder <msnyder@redhat.com>
5157
5158 * gdb.base/gcore.exp: Remove extra debugging output.
5159
e017c81f
DJ
51602002-01-13 Daniel Jacobowitz <drow@mvista.com>
5161
5162 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
5163 for slightly dubious v2 mangled string.
5164
37ab3bf8
DJ
51652002-01-13 Daniel Jacobowitz <drow@mvista.com>
5166
5167 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
5168
1bc05c3a 51692002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 5170
1bc05c3a 5171 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 5172
1bc05c3a
JM
5173 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
5174 constructors.
5175 * gdb.c++/derivation.exp: Likewise.
5176 * gdb.c++/templates.exp: Likewise.
5177 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 5178
1bc05c3a
JM
51792002-01-10 Michael Snyder <msnyder@redhat.com>
5180
5181 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 5182
a911c360
MS
51832002-01-08 Michael Snyder <msnyder@redhat.com>
5184
5185 * gdb.base/gcore.exp: New test for generate-core-file command.
5186 * gdb.base/gcore.c: Testcase for above.
5187 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
5188
ea2119ec
JM
51892002-01-08 Jason Merrill <jason@redhat.com>
5190
5191 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
5192
68203136
FF
51932002-01-07 Fred Fish <fnf@redhat.com>
5194
5195 * gdb.c++/overload.exp: Remove unconditional xfails for:
5196 print foo_instance1.overloadargs(1)
5197 print foo_instance1.overloadargs(1, 2)
5198 print foo_instance1.overloadargs(1, 2, 3)
5199 print foo_instance1.overloadargs(1, 2, 3, 4)
5200 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
5201 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
5202 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
5203 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
5204 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
5205 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
5206 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
5207 print foo_instance1.overload1arg()
5208 print foo_instance1.overload1arg((char)arg2)
5209 print foo_instance1.overload1arg((signed char)arg3)
5210 print foo_instance1.overload1arg((unsigned char)arg4)
5211 print foo_instance1.overload1arg((int)arg7)
5212 print foo_instance1.overload1arg((unsigned int)arg8)
5213 print foo_instance1.overload1arg((float)arg11)
5214 print foo_instance1.overload1arg((double)arg12)
d63a86f8 5215
21b9b5b1
MS
52162002-01-07 Michael Snyder <msnyder@redhat.com>
5217
5218 * gdb.base/huge.exp: New test. Print a very large target data object.
5219 (skip_huge_test): New test variable. Define if you want to skip this
5220 test. The test reads an 8 megabyte data object from the target, so it
5221 might be very time consuming on remote targets with a slow connection.
5222 * gdb.base/huge.c: New file. Test case for above.
5223
725f922e
FF
52242002-01-07 Fred Fish <fnf@redhat.com>
5225
5226 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
5227 g_instance.bfoo, and g_instance.cfoo.
5228
634d57ec
JL
5229Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
5230
f286b2c3
JL
5231 * gdb.base/break.c (multi_line_if_conditional): New function.
5232 (multi_ilne_while_conditional): Likewise.
5233 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
5234 IF or WHILE condition puts the breakpoint at the start of
5235 the condition.
5236
634d57ec
JL
5237 * gdb.base/selftest.exp (backtrace through signal handler): Remove
5238 hppa*-*-hpux* expected failure.
5239 * gdb.base/structs.exp (do_function_calls): Similarly.
5240
5241 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
5242 watchpoints.
5243
9fbfe2dc
AC
52442002-01-06 Andrew Cagney <ac131313@redhat.com>
5245
5246 Fix PR gdb/66.
5247 * gdb.base/structs.exp: Replace skip for a29k with skip for
5248 gdb,cannot_call_functions.
5249 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
5250 * gdb.base/callfuncs.exp: Ditto.
5251 * gdb.base/call-rt-st.exp: Ditto.
5252 * gdb.base/call-strs.exp: Ditto.
5253 * gdb.base/callfwmall.exp: Ditto.
5254 * gdb.base/scope.exp: Obsolete xfail a29k.
5255 * gdb.c++/misc.exp: Ditto.
5256 * gdb.c++/cplusfuncs.exp: Ditto.
5257 * gdb.base/ptype.exp: Ditto.
5258 * gdb.base/printcmds.exp: Ditto.
5259 * gdb.base/opaque.exp: Ditto.
5260 * gdb.base/list.exp: Ditto.
5261 * gdb.base/funcargs.exp: Ditto.
5262 * gdb.base/default.exp: Ditto.
5263
8ddad156
MS
52642002-01-04 Michael Snyder <msnyder@redhat.com>
5265
ca4976a6 5266 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
5267 * gdb.base/maint.exp: Add tests for maint info sections options.
5268
1b074332
JL
5269Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
5270
5271 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
5272
7d159115
CV
52732001-12-20 Corinna Vinschen <vinschen@redhat.com>
5274
5275 * gdb.asm/arm.inc: New file.
5276 * gdb.asm/asm-source.exp: Add arm targets.
5277 * gdb.asm/configure.in: Ditto.
5278 * gdb.asm/configure: Recreated from configure.in.
5279
8fb87725
JL
5280Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
5281
afabe08c
JL
5282 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
5283 with HP's compiler.
5284 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
5285 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
5286 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
5287 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
5288
5289 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
5290 either HP's compilers or GCC.
5291
db521deb
JL
5292 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
5293 a SIGBUS or SIGSEGV.
5294
5295 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
5296
5297 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
5298 can be compiled with either HP's compiler or GCC.
5299
cfa88ab7
JL
5300 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
5301 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
5302 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
5303
ca344dff
JL
5304 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
5305 to match current gdb output. Update due to using auto-solib-limit
5306 for limiting instead of overloading auto-solib-add.
5307 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
5308 test program.
5309
3f3c6e55 5310 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
5311 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
5312 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5313 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5314 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5315 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5316 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
5317 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
5318 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
5319 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
5320 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
5321 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
5322 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 5323
8fb87725
JL
5324 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
5325 a SIGTRAP to the inferior.
5326
cf599fa7
CV
53272001-12-19 Corinna Vinschen <vinschen@redhat.com>
5328
5329 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
5330 Substitute call to target_link by call to gdb_compile.
5331
2cd045cd
JL
5332Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
5333
5334 * gdb.base/break.exp: Fix HP specific search string when testing
5335 backtracing in a called function.
5336
d63a86f8 5337 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
5338 compiling the test with HP's compilers.
5339 * gdb.base/volatile.exp: Similarly.
5340
99ebe9ac
JB
53412001-12-19 Jim Blandy <jimb@redhat.com>
5342
5343 * gdb.base/printcmds.exp: Expect the null character to be printed
5344 as '\0', and the '\013' to be printed as '\v'.
5345 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
5346 * gdb.base/setvar.exp: Same.
5347
b9891b29
JB
53482001-12-17 Jim Blandy <jimb@redhat.com>
5349
0eba65ab
JB
5350 * gdb.base/completion.exp: Rather than completing very long
5351 filenames, which can make the readline library produce output we
5352 don't recognize, cd to the directory first, and then complete
5353 using nice, short relative paths.
5354
6970b5b1
JB
5355 * gdb.base/completion.exp: On some systems, there is, in fact, a
5356 variable named `b' in scope, since GDB treats all static
5357 variables as being in scope. So use `no_var_named_this'
5358 instead of `b'.
5359
b9891b29
JB
5360 * gdb.base/corefile.exp: Recognize the message saying that GDB
5361 can't find the core file's registers as a failure.
5362
e6ccd35f
JSC
53632001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
5364
5365 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
5366 test expect string more specific.
5367
105ba819
CV
53682001-12-13 Corinna Vinschen <vinschen@redhat.com>
5369
5370 * gdb.asm/asm-source.exp: Add support for xstormy16.
5371 * gdb.asm/configure.in: Ditto.
5372 * gdb.asm/configure: Rebuild.
5373 * gdb.asm/xstormy16.inc: New file.
5374
e9e79dd9
FF
53752001-12-10 Fred Fish <fnf@redhat.com>
5376
5377 * gdb.base/maint.exp: Update to match changes in type dumping code.
5378
347dc97d
JB
53792001-12-10 Jim Blandy <jimb@redhat.com>
5380
5381 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
5382 matching the entry point symbol's name at the beginning of the
5383 line.
5384
5178b9d6
DJ
53852001-12-07 Daniel Jacobowitz <drow@mvista.com>
5386
5387 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
5388 gdb.c++/inherit.exp, gdb.c++/method.exp,
5389 gdb.c++/namespace.exp, gdb.c++/templates.exp,
5390 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
5391 and class layout support.
5392
af890c52
DJ
53932001-12-07 Daniel Jacobowitz <drow@mvista.com>
5394
5395 * gdb.c++/classes.exp: Add test for static member function.
5396 * gdb.c++/misc.cc: Add class with static member function.
5397
7a345fb3
JB
53982001-12-07 Jim Blandy <jimb@redhat.com>
5399
f2e54a80 5400 If GDB says it can't find the struct the function returned, report
8032bf31
JB
5401 those tests as `unsupported'.
5402 * gdb.base/call-rt-st.exp (print_struct_call): New function.
5403 Rewrite subsequent tests to use it.
5404
5405 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
5406 those tests as `unsupported'.
5407 * gdb.base/structs.exp (call_struct_func): New function.
5408 (do_function_calls): Use call_struct_func to call the functions
5409 returning structs.
5410
0bc69509
JB
5411 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
5412 whether functions are prototyped or not, so we can't possibly pass
5413 arguments to t_float_values2 properly.
5414
7a345fb3
JB
5415 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
5416 value of `timeout' for targets other than the mips*tx39-*.
5417
edb6ede1
MS
54182001-12-06 Michael Snyder <msnyder@redhat.com>
5419
d63a86f8 5420 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
5421 and detect whether the start symbol has a leading underscore.
5422
2d842f13
JB
54232001-12-04 Jim Blandy <jimb@redhat.com>
5424
5425 * gdb.base/completion.exp: Clarify indentation.
5426
68550daf
JB
54272001-12-03 Jim Blandy <jimb@redhat.com>
5428
5429 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
5430 variables on the S/390, not `.word'.
5431
cd5195a8
JB
54322001-11-30 Jim Blandy <jimb@redhat.com>
5433
5434 Add assembly-source tests for s390-ibm-linux.
5435 * gdb.asm/s390.inc: New file.
5436 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
5437 the S/390 architecture.
5438 * gdb.asm/configure: Regenerated.
5439
ca9efc90
MS
54402001-11-30 Michael Snyder <msnyder@redhat.com>
5441
5442 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
5443 next, info source, info sources, info line, global and static
5444 variables, and static functions.
5445 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
5446 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
5447 * gdb.asm/asmsrc1.s: Add a static function and some variables.
5448 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
5449 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
5450 (gdbasm_leave): Restore frame pointer.
5451 (gdbasm_startup): Copy stack set-up from crt0.S.
5452
d0e66976
FN
54532001-11-26 Fernando Nasser <fnasser@redhat.com>
5454
5455 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
5456 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
5457 to a local (non-static) variable. Copy tstruct.a to a static buffer
5458 and return a pointer to that buffer.
5459 * gdb.base/callfwmall.c (t_structs_a): Ditto.
5460
e2334072
MK
54612001-11-24 Mark Kettenis <kettenis@gnu.org>
5462
5463 * gdb.asm/configure.in: Fix recognition of ix86 target.
5464 * gdb.asm/configure: Regenerate.
5465
756caa3d
MS
54662001-11-21 Michael Snyder <msnyder@redhat.com>
5467
5468 * gdb.asm/sparc.inc: New file.
5469 * gdb.asm/asm-source.exp: Recognize sparc target.
5470 * gdb.asm/configure.in: Recognize sparc target.
5471 * gdb.asm/configure: Regenerate.
d63a86f8 5472
9a4d72d5
MS
54732001-11-21 Michael Snyder <msnyder@redhat.com>
5474
5475 * gdb.asm/m32r.inc: New file.
5476 * gdb.asm/asm-source.exp: Recognize m32r target.
5477 * gdb.asm/configure.in: Recognize m32r target.
5478 * gdb.asm/configure: Regenerate.
5479
a773d1cd
MS
54802001-11-20 Michael Snyder <msnyder@redhat.com>
5481
017ac23d
MS
5482 * gdb.asm/i386.inc: New file.
5483 * gdb.asm/asm-source.exp: Recognize ix86 target.
5484 * gdb.asm/configure.in: Recognize ix86 target.
5485 * gdb.asm/configure: Regenerate.
5486
a773d1cd
MS
5487 * gdb.c++/namespace.exp: Fix quotes in output messages.
5488
bb632afb
MS
54892001-11-14 Michael Snyder <msnyder@redhat.com>
5490
25d559ca 5491 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
5492 qualifier in a type cast expression, to designate an address
5493 in the instruction space (Harvard architecture).
5494
4749e309
MS
54952001-11-13 Michael Snyder <msnyder@redhat.com>
5496
5497 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5498 Tests for expressions using 'const' and 'volatile'.
5499
25050984
CV
55002001-11-13 Corinna Vinschen <vinschen@redhat.com>
5501
5502 * gdb.asm/asm-sources.exp: Allow defining linker flags.
5503
1902c51f
DJ
55042001-11-12 Daniel Jacobowitz <drow@mvista.com>
5505
5506 * lib/mi-support.exp (mi_run_to_helper): Move comments
5507 outside of gdb_expect.
5508
dcf95b47
DJ
55092001-11-11 Daniel Jacobowitz <drow@mvista.com>
5510
5511 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5512 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5513 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5514 mi0_run_to): New functions.
5515 * gdb.mi/mi-simplerun.exp: Use them.
5516 * gdb.mi/mi0-simplerun.exp: Likewise.
5517 * gdb.mi/mi-var-cmd.exp: Likewise.
5518 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 5519
45b074e1
AC
55202001-11-10 Andrew Cagney <ac131313@redhat.com>
5521
5522 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5523 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5524
bf50d346
AC
55252001-11-09 Andrew Cagney <ac131313@redhat.com>
5526
5527 * gdb.base/restore.exp: Include $expected value in restored test
5528 message.
5529
9383332c
AC
55302001-11-09 Andrew Cagney <ac131313@redhat.com>
5531
5532 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5533 implemented.
5534
db62520a
MS
55352001-11-08 Michael Snyder <msnyder@redhat.com>
5536
5537 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5538 Add pass/fail message for stop at breakpoint in call dummy function.
5539
b5703437
MS
55402001-11-07 Michael Snyder <msnyder@redhat.com>
5541
d63a86f8
RM
5542 * gdb.c++/templates.exp (test_template_breakpoints):
5543 If we get an overload menu, but it does not match what
760f6330 5544 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
5545 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5546 making the whitespace optional. Argument for "new" may be
5547 "unsigned" as well as "unsigned int/long".
d63a86f8 5548 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
5549 making the whitespace optional. Also replace "(void) with
5550 "((void|)), making the keyword "void" optional.
d63a86f8 5551 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
5552 making the whitespace optional. Also replace "(void) with
5553 "((void|)), making the keyword "void" optional.
3bf40917
MS
5554 * gdb.base/callfuncs.c (t_float_values): This function must
5555 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 5556 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
5557 can be tested against both cases. Usually one case involves
5558 promotion of float to double, while the other does not.
5559 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
5560 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5561 includes a stack frame for "start".
5562
c8ab4e6d
JB
55632001-11-05 Jim Blandy <jimb@redhat.com>
5564
5565 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
5566 pointers are 32 bits long, and that offsets of relocs are always
5567 stored in the data (REL-style), and not in the reloc entry itself
5568 (RELA-style).
5569 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5570 stabs.
5571
3f08ced9
MS
55722001-11-01 Michael Snyder <msnyder@redhat.com>
5573
5574 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5575 and regular expression operators by using quoting.
5576
cbfa24cd
MS
55772001-10-31 Michael Snyder <msnyder@redhat.com>
5578
5579 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5580 depending on what the symbol table contains.
5581 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5582 the output of the ptype command. Similarly, accept both "const &"
5583 and "const&".
5584
aaa68313
CV
55852001-10-31 Corinna Vinschen <vinschen@redhat.com>
5586
5587 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5588 symbol `STORAGE' to allow to choose the storage class of
5589 the local datastructures.
5590 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5591 compiler directive.
5592
91740388
MS
55932001-10-30 Michael Snyder <msnyder@redhat.com>
5594
5595 * gdb.base/jump.exp: Allow it to run for all targets.
5596
1b7c05e7
CV
55972001-10-29 Corinna Vinschen <vinschen@redhat.com>
5598
5599 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5600 with new double_array size.
5601 (main): Change storage class of all local variables to static.
5602 Reduce size of double_array to 9.
5603 * gdb.base/call-ar-st.exp: Increase timeout value.
5604 Change expected output for double array to match new size in
5605 call-ar-st.c.
5606
36a22261
CV
56072001-10-29 Corinna Vinschen <vinschen@redhat.com>
5608
5609 * gdb.base/ending-run.exp: Create identical output when passing
5610 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 5611 Stormy16 target.
36a22261 5612
92b8ae91
MK
56132001-10-28 Mark Kettenis <kettenis@gnu.org>
5614
5615 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5616 that we catch the expected failure under Linux/x86.
5617
cb135b83
OF
56182001-10-29 Orjan Friberg <orjanf@axis.com>
5619
5620 * gdb.base/setvar.exp: Escape curly braces.
5621 * gdb.stabs/weird.exp: Ditto.
5622
6884aa54
DJ
56232001-10-27 Daniel Jacobowitz <drow@mvista.com>
5624
5625 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5626 * gdm.mi/mi0-hack-cli.exp: Likewise.
5627
0398c9aa
AC
56282001-10-25 Andrew Cagney <ac131313@redhat.com>
5629
5630 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5631 messages.
5632
d20bf2e8
AC
56332001-10-21 Andrew Cagney <ac131313@redhat.com>
5634
5635 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5636 checking MI enabled.
5637
03dd63aa
CV
56382001-10-09 Corinna Vinschen <vinschen@redhat.com>
5639
5640 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5641
1d9d99f3
FCE
56422001-10-04 Frank Ch. Eigler <fche@redhat.com>
5643
5644 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5645 if gdb child process crashes, just signal an error.
5646
838ae6c4
JB
56472001-10-02 Jim Blandy <jimb@redhat.com>
5648
5649 * lib/gdb.exp (test_xfail_format): Simplify.
5650
5651 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5652 front of the variable name `format'. Simplify `if'.
5653
8f0cbc1c
DJ
56542001-10-01 Daniel Jacobowitz <drow@mvista.com>
5655
5656 * gdb.threads/pthreads.exp: Wait for output and delay
5657 before sending ^C.
5658
1f08dafd
DJ
56592001-10-01 Daniel Jacobowitz <drow@mvista.com>
5660
5661 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5662 some incorrect output instead of timing out.
5663 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5664
674f90ff
CV
56652001-09-28 Corinna Vinschen <vinschen@redhat.com>
5666
5667 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5668 check to allow additional `int'.
5669
9b284272
DJ
56702001-09-27 Daniel Jacobowitz <drow@mvista.com>
5671
5672 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5673 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5674
b55a4771
MS
56752001-09-27 Michael Snyder <msnyder@redhat.com>
5676
5677 * lib/gdb.exp (test_debug_format): New proc.
5678 (setup_xfail_format): Use new proc test_debug_format.
5679 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5680 proc; use new service proc test_debug_format.
5681 Replace all other "gcc_compiled" tests with this test.
5682 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5683 proc; use new service proc test_debug_format.
5684 Replace all other "gcc_compiled" tests with this test.
5685
56862001-09-27 Michael Snyder <msnyder@redhat.com>
5687
5688 * gdb.base/cvexpr.exp: New file.
5689 * gdb.base/cvexpr.c: New file
5690 Test for expressions using const and volatile keywords.
5691
4e6667ac
CV
56922001-09-26 Corinna Vinschen <vinschen@redhat.com>
5693
5694 * gdb.base/constvars.exp: Check for different orders of keywords
5695 and additional "int" strings in output.
5696
4f337972
AC
56972001-09-22 Andrew Cagney <ac131313@redhat.com>
5698
5699 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5700 responses from "help maint".
5701
2015650d
FCE
57022001-09-19 Frank Ch. Eigler <fche@redhat.com>
5703
5704 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5705 to localhost:NNN instead of :NNN, in case Xvfb is listening
5706 only on TCP.
5707
f3bcedc1
CV
57082001-09-19 Corinna Vinschen <vinschen@redhat.com>
5709
5710 * gdb.base/recurse.exp: When checking leaving the watchpoint
5711 scope, recognize when gdb is in function's epilogue and pass.
5712
6b819c92
KS
57132001-09-18 Keith Seitz <keiths@redhat.com>
5714
5715 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5716 support for running tests against sid targets.
5717 (gdbtk_done): Ditto.
5718
a10c9419
CV
57192001-09-18 Corinna Vinschen <vinschen@redhat.com>
5720
5721 * gdb.base/ending-run.c (main): Set stdout buffersize
5722 to the same reasonable value for any target.
5723 * gdb.base/ending-run.exp: Add a regular expression
5724 to make testsuite happy on Sanyo Stormy16 target.
5725
739d0d99
CV
57262001-09-17 Corinna Vinschen <vinschen@redhat.com>
5727
5728 * gdb.base/display.c (do_loops): Add float variable `f'.
5729 Increment f in loop.
5730 * gdb.base/display.exp: Increment timeout by 60 seconds.
5731 Change float display test to use variable `f'.
5732
1b8947f0
JB
57332001-09-17 Jim Blandy <jimb@redhat.com>
5734
5735 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5736 overflowing the limited breakpoint tables on some ROM monitors
5737 (like the ROM68K).
5738
9890ac81
FCE
57392001-09-15 Frank Ch. Eigler <fche@redhat.com>
5740
5741 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5742 the "-ac" (disable access control) flag.
5743
6db765ea
JH
57442001-08-30 Jeff Holcomb <jeffh@redhat.com>
5745
5746 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5747 ints.
5748
4c32cc04
KS
57492001-08-30 Keith Seitz <keiths@redhat.com>
5750
5751 * lib/gdb.exp: Move all insight-related functionality into
5752 separate file.
5753 * lib/insight-support.exp: New file.
5754
8d6e6f81
FCE
57552001-08-29 Frank Ch. Eigler <fche@redhat.com>
5756
5757 * config/sid.exp (sid_start): Never set sid verbosity; disable
5758 expect_background {} that consumed its stdout; tolerate </dev/null.
5759 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5760
6a90e1d0
AC
57612001-08-18 Andrew Cagney <ac131313@redhat.com>
5762
5763 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5764 CLI jump command to start it.
5765 (mi_run_to_main): Fail immediatly when unexpected output.
5766
1759b3c3
AC
57672001-08-18 Andrew Cagney <ac131313@redhat.com>
5768
5769 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5770 beginning of function. Fix PR gdb/191.
5771
61d11d80
FCE
57722001-08-16 Frank Ch. Eigler <fche@redhat.com>
5773
5774 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5775 what to force sid endianness to.
5776
942a4df2
KS
57772001-08-15 Keith Seitz <keiths@redhat.com>
5778
5779 * lib/gdb.exp (gdbtk_start): Don't set environment
5780 variables for TCL_LIBRARY and friends. Insight will
5781 now figure these out for itself.
5782
0521c418
MS
57832001-08-02 Michael Snyder <msnyder@redhat.com>
5784
5785 * gdb.base/completion.exp: Remove the symbol "a64l" from
5786 the expect string; this is target-specific, and not related
5787 to what is being tested.
5788
74a9a58a
DB
57892001-08-02 Dave Brolley <brolley@redhat.com>
5790
5791 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5792
c70819fa
MS
57932001-07-25 Michael Snyder <msnyder@redhat.com>
5794
c2b8fa57
MS
5795 * gdb.base/consecutive.exp: New file. Test stepping over
5796 breakpoints on consecutive instructions.
5797 * gdb.base/consecutive.c: New file.
5798
c70819fa
MS
5799 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5800 curly braces in regular expressions.
5801
2b1a1355
MS
58022001-07-25 Michael Snyder <msnyder@redhat.com>
5803
5804 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5805 legitimate output from stepping out of main.
5806
413eca6f
KS
58072001-07-22 Keith Seitz <keiths@redhat.com>
5808
5809 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5810 the empty string, do not run the tests.
5811
7e5a9322
SC
58122001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5813
5814 * gdb.base/long_long.exp: Detect size of pointer. Take into
5815 account 2-byte pointers when testing for p/a results.
5816
de58f10f
SC
58172001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5818
d63a86f8 5819 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
5820 and defined to 1K for m68hc11.
5821 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5822 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5823 (sizeof_random_data): New variable to tell the size of the data table;
5824 don't test past this size; always run to main.
5825
d6f5fea1
SC
58262001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5827
5828 * gdb.base/return2.exp: return of long long and double fails for
5829 68HC11; don't execute these tests on that platform.
5830 * gdb.base/return.exp: Return of a double fails for 68hc11.
5831
c477543d
SC
58322001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5833
5834 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5835 tests that print a float.
5836 * call-rt-st.exp: Likewise.
5837
63cf1c79
MK
58382001-07-12 Mark Kettenis <kettenis@gnu.org>
5839
5840 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5841 running this test on Linux.
5842
112f9ab5
MC
58432001-06-24 Michael Chastain <chastain@redhat.com>
5844
5845 * gdb.base/arithmet.exp: Remove some tests to make all test names
5846 unique.
5847
4970cb0f
MS
58482001-07-03 Michael Snyder <msnyder@redhat.com>
5849
5850 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5851 the output of the ptype command.
5852
d85da69f
MS
58532001-07-02 Michael Snyder <msnyder@redhat.com>
5854
4c8a82de
MS
5855 * gdb.base/completion.exp: Don't assume that break.c is the only
5856 source file that may contain functions named "marker".
d85da69f
MS
5857 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5858
8afc772b
AC
58592001-06-28 Andrew Cagney <ac131313@redhat.com>
5860
5861 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5862 of files to delete.
5863
5864 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5865 * gdb.disasm/h8300s.exp: New file.
5866 gdb.disasm/h8300s.s: Likewise.
5867
cff22675
AC
58682001-06-27 Andrew Cagney <ac131313@redhat.com>
5869
5870 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5871 empty breakpoint tables.
5872
68c81b54
AC
58732001-06-25 Andrew Cagney <ac131313@redhat.com>
5874
5875 * lib/mi-support.exp: Update args=... part of stop-reason
5876 patterns. Accept either a list or a tuple.
5877
2dd62704
AC
58782001-06-23 Andrew Cagney <ac131313@redhat.com>
5879
5880 * lib/mi-support.exp: Remove local emacs variable defining
5881 change-log-default-name.
5882
b4127474
MC
58832001-06-22 Michael Chastain <chastain@redhat.com>
5884
5885 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5886 This is operationally compatible with the previous version.
5887
8dbfb380
JB
58882001-06-13 Jim Blandy <jimb@redhat.com>
5889
5890 * lib/gdb.exp (gdb_test): Doc fix.
5891
f2d8c86d
MC
58922001-06-10 Michael Chastain <chastain@redhat.com>
5893
5894 * gdb.base/exprs.exp: Remove a duplicate test.
5895
81564d34
JB
58962001-06-06 Jim Blandy <jimb@redhat.com>
5897
5898 * gdb.base/return2.exp (main): Use values to test float and double
5899 returns that are not NaN's, to avoid being confused by IEEE
5900 comparison rules.
5901
da55addb
MS
59022001-06-04 Michael Snyder <msnyder@redhat.com>
5903
5904 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 5905 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
5906 rather than wait for 12 more tests to time out.
5907
42c65987
JB
59082001-06-06 Jim Blandy <jimb@redhat.com>
5909
b18bced9 5910 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 5911 Don't forget to match the GDB prompt.
b18bced9 5912
42c65987
JB
5913 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5914
5b41e5f0
JB
59152001-06-04 Jim Blandy <jimb@redhat.com>
5916
5917 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5918 command.
5919
015e046f
KB
59202001-05-31 Kevin Buettner <kevinb@redhat.com>
5921
5922 * gdb.base/annota1.exp (info break): Match four or more spaces
5923 after "Address".
5924
fb1ffbbe
MC
59252001-05-31 Michael Chastain <chastain@redhat.com>
5926
5927 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5928 (dm_type_int_star): Likewise.
5929 (dm_type_long_star): Likewise.
5930 (dm_type_void_star): Likewise.
5931
5ea2a32c
KB
59322001-05-29 Kevin Buettner <kevinb@redhat.com>
5933
5934 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5935 to a known value in order to get consistent results regardless
5936 of the setting of INPUTRC or the presence or contents of .inputrc.
5937
ae23c492
MS
59382001-05-24 Michael Snyder <msnyder@redhat.com>
5939
ac55707e
MS
5940 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5941 Don't require that the main thread and the manager thread are the
5942 first in the list.
5943
ae23c492
MS
5944 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5945 debugging. If test fails, issue an "unsupported" not a "fail".
5946
400071f1
JB
59472001-05-24 Jim Blandy <jimb@redhat.com>
5948
5949 Don't assume that short is shorter than int.
5950 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5951 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 5952 this isn't true.
400071f1
JB
5953 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5954 an int, is not equal to ~0 stored in an unsigned char. This tests
5955 the same thing that the previous test meant to, but works on
5956 16-bit machines, too.
5957 ("print unsigned char != (~0)"): Same test, complemented.
5958
0816a3e5
MS
59592001-05-24 Michael Snyder <msnyder@redhat.com>
5960
5961 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 5962 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
5963 and prevents dejagnu getting out of step.
5964
f6dc23a9
KB
59652001-05-23 Kevin Buettner <kevinb@redhat.com>
5966
5967 * gdb.base/finish.exp (finish_void): Revise pattern for
5968 stopping on the call statement to not permit stopping at
5969 the start of the instructions comprising the call sequence.
5970
7dbd117d
MC
59712001-05-19 Michael Chastain <chastain@redhat.com>
5972
5973 * gdb.base/callfuncs.exp: Make all test names unique.
5974 * gdb.base/commands.exp: Make all test names unique.
5975 * gdb.base/condbreak.exp: Make all test names unique.
5976 * gdb.base/dbx.exp: Make all test names unique.
5977 * gdb.base/default.exp: Make all test names unique.
5978 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5979 and TIMEOUT messages to their corresponding PASS message.
5980 * gdb.base/ending-run.exp: Make all test names unique.
5981 * gdb.base/long_long.exp: Remove duplicate test.
5982
6b0b0a9e
KB
59832001-05-21 Kevin Buettner <kevinb@redhat.com>
5984
5985 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5986 stop on the call statement as well as the statement after the
5987 call.
5988
2caa35cb
MS
59892001-05-21 Michael Snyder <msnyder@redhat.com>
5990
5991 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5992
40713331
EZ
59932001-05-10 Elena Zannoni <ezannoni@redhat.com>
5994
5995 * gdb.base/completion.exp: Revamp test. Make it execute on all
5996 platforms.
5997
c2c1be8d
EZ
59982001-05-10 Elena Zannoni <ezannoni@redhat.com>
5999
2c9cd303
EZ
6000 * config/gdbserver.exp (gdb_load): Handle the case
6001 in which the arguments to gdbserver are given in the
6002 baseboard configuration file.
6003 Also handle the case in which the server needs to do a
6004 load.
6005
9671de48
KS
60062001-05-07 Keith Seitz <keiths@cygnus.com>
6007
6008 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
6009 set up the display for testing.
6010 (gdbtk_start): Convert all paths to paths that tcl will like.
6011 Export target information to environment.
6012 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
6013 necessary.
6014 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
6015 (to_tcl_path): New proc to convert a given pathname into
6016 a path acceptible as an argument to a tcl command.
6017 (_gdbtk_export_target_info): New proc to export target info
6018 into the environment for gdbtk testing.
6019 (gdbtk_done): New proc to signal end-of-test.
6020
5a360f47
JB
60212001-05-06 Jim Blandy <jimb@redhat.com>
6022
6023 * restore.c: Make the code of caller0 correspond to its comment.
6024
66c756c6
MS
60252001-05-03 Michael Snyder <msnyder@redhat.com>
6026
6027 * config/sid.exp (gdb_target_sid): Check for error messages.
6028 On error or timeout, don't make expect exit (which will terminate
6029 all subsequent tests); instead just make gdb exit.
d63a86f8 6030 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
6031 return a negative value.
6032
a966fde5
JB
60332001-04-24 Jim Blandy <jimb@redhat.com>
6034
851c18e0
JB
6035 * gdb.c++/templates.exp: If we see the prompt for the overload
6036 list, but we haven't recognized any of the longer patterns,
6037 arrange for this test to fail, not hang.
6038
a966fde5
JB
6039 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
6040 variations.
6041
db144853
MC
60422001-04-22 Michael Chastain <chastain@redhat.com>
6043
6044 * gdb.c++/local.exp: Use the 'runto' library function.
6045 * gdb.c++/namespace.exp: Likewise.
6046 * gdb.c++/overload.exp: Likewise.
6047
3207ec21
KB
60482001-03-26 Kevin Buettner <kevinb@redhat.com>
6049
6050 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
6051 * gdb.base/step-line.exp: New file. Test step/next in presence of
6052 #line directives.
6053 * gdb.base/step-line.c: New file. Test program for the above.
6054 * gdb.base/step-line.inp: New file. We pretend that this file has
6055 been transformed by some other tool into step-line.c.
6056
13b57657
JB
60572001-03-21 Jim Blandy <jimb@redhat.com>
6058
6059 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
6060 unmangled operator names.
6061
754cbe1c
JB
60622001-03-20 Jim Blandy <jimb@redhat.com>
6063
6064 * gdb.threads/linux-dp.exp: Recognize an additional message
6065 generated by GDB when it doesn't understand how to debug threads
6066 on the target system.
6067
177495c9
AC
60682001-03-19 Andrew Cagney <ac131313@redhat.com>
6069
6070 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
6071
f266096b
MC
60722001-03-12 Michael Chastain <chastain@redhat.com>
6073
6074 * gdb.c++/derivation.exp: Use the 'runto' library function.
6075
cac3c2ff
MC
60762001-03-12 Michael Chastain <chastain@redhat.com>
6077
6078 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
6079
b6c11a24
MC
60802001-02-24 Michael Chastain <chastain@redhat.com>
6081
6082 * gdb.c++/ref-types.exp: Change handwritten code to library
6083 function 'runto'.
6084
6bae5bce
OF
60852001-03-16 Orjan Friberg <orjanf@axis.com>
6086
6087 * gdb.base/signals.exp: Set count to 0 explicitly.
6088
0015fd9a
MS
60892001-03-15 Mark Salter <msalter@redhat.com>
6090
6091 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
6092 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
6093 (gdb_load): Add support for additional target_info: gdb_download_size
6094 and gdb_load_timeout.
0015fd9a 6095
fc33412a
DT
6096Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
6097
6098 * gdb.base/annota1.exp: Move test of isnative to earlier in the
6099 file -- to prevent failing when the compile fails but we have no
6100 intention of running the tests anyway.
6101
6102 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
6103 tests if set.
6104
6105 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
6106 integers.
6107
6108 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
6109 * gdb.c++/namespace.exp: Ditto.
6110
115f06de
OF
61112001-03-07 Orjan Friberg <orjanf@axis.com>
6112
6113 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
6114 * gdb.base/pointers.exp: Relax pattern match of decimals.
6115
b6ba6518
KB
61162001-03-06 Kevin Buettner <kevinb@redhat.com>
6117
6118 * Makefile.in, config/abug.exp, config/cfdbug.exp,
6119 config/cpu32bug.exp, config/dve.exp, config/est.exp,
6120 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
6121 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
6122 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
6123 config/sh.exp, config/sid.exp, config/slite.exp,
6124 config/sparclet.exp, config/udi.exp, config/unknown.exp,
6125 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
6126 config/vxworks.exp, config/vxworks29k.exp,
6127 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
6128 gdb.base/all-bin.exp, gdb.base/annota1.exp,
6129 gdb.base/arithmet.exp, gdb.base/assign.exp,
6130 gdb.base/async.exp, gdb.base/attach.exp,
6131 gdb.base/bitfields.exp, gdb.base/bitops.exp,
6132 gdb.base/break.exp, gdb.base/call-ar-st.exp,
6133 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
6134 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
6135 gdb.base/commands.exp, gdb.base/completion.exp,
6136 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6137 gdb.base/constvars.exp, gdb.base/corefile.exp,
6138 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
6139 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
6140 gdb.base/ending-run.exp, gdb.base/environ.exp,
6141 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6142 gdb.base/finish.exp, gdb.base/foll-exec.exp,
6143 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
6144 gdb.base/funcargs.exp, gdb.base/help.exp,
6145 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
6146 gdb.base/logical.exp, gdb.base/long_long.exp,
6147 gdb.base/maint.exp, gdb.base/mips_pro.exp,
6148 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
6149 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
6150 gdb.base/pointers.exp, gdb.base/printcmds.exp,
6151 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
6152 gdb.base/regs.exp, gdb.base/relational.exp,
6153 gdb.base/remote.exp, gdb.base/reread.exp,
6154 gdb.base/restore.exp, gdb.base/return2.exp,
6155 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
6156 gdb.base/selftest.exp, gdb.base/setshow.exp,
6157 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
6158 gdb.base/sigall.exp, gdb.base/signals.exp,
6159 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
6160 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6161 gdb.base/step-test.exp, gdb.base/structs.c,
6162 gdb.base/structs.exp, gdb.base/structs2.exp,
6163 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
6164 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
6165 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
6166 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6167 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
6168 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
6169 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
6170 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
6171 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
6172 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
6173 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
6174 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
6175 gdb.fortran/types.exp, gdb.java/jmisc.exp,
6176 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6177 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
6178 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6179 gdb.trace/circ.exp, gdb.trace/collection.exp,
6180 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6181 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6182 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
6183 gdb.trace/report.exp, gdb.trace/save-trace.exp,
6184 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6185 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6186 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
6187 notices.
6188
dc96c6c7 61892001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
6190
6191 * gdb.base/varargs.c (find_max_double): Fix printf format string:
6192 first arg is int not float.
6193
dc96c6c7 61942001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
6195
6196 * gdb.base/reread.exp: Unsupported for non-native targets;
6197 doesn't work for remote debugging.
6198
9b0c4aeb
FN
61992001-02-19 Fernando Nasser <fnasser@redhat.com>
6200
6201 From Drew Moseley <dmoseley@redhat.com>
6202 * gdb.base/ending-run.exp: Properly handle the BSP state when
6203 stepping past the end of main.
6204
02aa71d5
MC
62052001-02-19 John Moore <jmoore@redhat.com>
6206
6207 * gdb.base/commands.exp (infrun_breakpoint_command_test):
6208 Converted HPUX fix for non-expected items following multiple
6209 step commands into general solution for all platforms.
6210
1fa449a4
MC
62112001-02-18 Michael Chastain <chastain@redhat.com>
6212
6213 * gdb.c++/classes.exp (do_tests): Change runto statements
6214 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6215 statements demangler agnostic.
6216 * gdb.c++/virtfunc.exp (do_tests): Likewise.
6217 (gdb_virtfunc_restart): Likewise.
6218
b2f9ec70
MC
62192001-02-14 Michael Chastain <chastain@redhat.com>
6220
6221 * gdb.c++/inherit.exp (do_tests): Change runto statements
6222 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6223 statements demangler agnostic.
6224
cf74b8ca
AC
6225Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
6226
6227 * gdb.threads/pthreads.exp: Unify pass/fail messages for
6228 ``continue to bkpt at common_routine in thread 2'' and ``stopped
6229 before calling common_routine 15 times'' tests.
6230
99f78f56
MC
62312001-02-11 Michael Chastain <chastain@redhat.com>
6232
6233 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
6234 Helps the test script figure out which demangler is in use.
6235 (dm_type_foo_ref): Ditto.
6236 (dm_type_int_star): Ditto.
6237 (dm_type_long_star): Ditto.
6238 (dm_type_unsigned_int): Ditto.
6239 (dm_type_void): Ditto.
6240 (dm_type_void_star): Ditto.
99707966 6241 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
6242 Probe the gdb demangler and set variables to accommodate
6243 formatting differences.
6244 (info_func_regexp): New function. Same as info_func, but
6245 matches against a regexp.
6246 (info_func): Match against a literal string.
6247 (print_addr_2): New function. Match against a literal string,
6248 which can be different from the input to gdb.
6249 (print_addr): Simply call print_addr_2 with the same argument twice.
6250 (test_lookup_operator_functions): Use demangler formatting variables.
6251 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
6252 the tests in the same order as the C++ class declaration.
6253 (test_paddr_operator_functions): Ditto.
6254 (test_paddr_overloaded_functions): Ditto.
6255 (test_paddr_hairy_functions): Use demangler formatting variables.
6256 Add reference to gdb/19 for related tests.
6257 (do_tests): Call probe_demangler.
6258
1de8f023
KB
62592001-01-30 Kevin Buettner <kevinb@redhat.com>
6260
6261 * gdb.c++/templates.cc (printf): Remove unused function definition.
6262
ca3f91ed
MS
62632001-01-26 Felix Lee <flee@redhat.com>
6264
6265 * sid.exp (sid_exit): Pass host, not target, to remote_close.
6266
62672001-01-25 matthew green <mrg@redhat.com>
6268
6269 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
6270 up sid.
6271 (sid_exit): Call `remote_pop_conn' after GDB is gone.
6272
62732001-01-25 matthew green <mrg@redhat.com>
6274
6275 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 6276 Deprecate $sid_spawn_id.
ca3f91ed
MS
6277 (sid_exit): Remove code necessary only for `spawn.'
6278
62792001-01-25 matthew green <mrg@redhat.com>
6280
6281 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
6282
fb18ec4a
MC
62832001-01-28 Michael Chastain <chastain@redhat.com>
6284
6285 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
6286 to call when tests fail. It takes gdb out of the overloaded
6287 function choice menu back to the main prompt, so that the test
6288 program stays synchronized.
6289 (set_bp_overloaded): New proc to collect all the common
6290 code for setting a breakpoint on an overloaded name. Calls
6291 take_gdb_out_of_choice_menu when needed.
6292 (menu_overload1arg): New variable to collect the repeated
6293 instances of the expected menu for an overloaded name. Change
6294 the regular expression to handle changes in g++ type encoding:
6295 "void" can be either "void" or "", and "unsigned int" can be
6296 either "unsigned int" or "unsigned".
6297 (continue_to_bp_overloaded): Change regular expressions to handle
6298 changes in g++ type encoding.
6299 (no proc): Call take_gdb_out_of_choice_menu when needed.
6300 Remove redundant calls to "info break". Accept either "canceled"
6301 or "cancelled". Change regular expressions in "info break"
6302 calls to handle changes in g++ type encoding. Give all tests
6303 unique strings.
6304
9c646a6e
BE
63052001-01-17 Ben Elliston <bje@redhat.com>
6306
6307 * config/sid.exp: New file.
6308
9549d9c1
AC
6309Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
6310
6311 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
6312
dc96c6c7 63132000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
6314
6315 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
6316 Add a RE to accept a non-ascii char if one is ever presented.
6317
b4df4f68
FN
63182000-12-20 Fernando Nasser <fnasser@redhat.com>
6319
297dd0fd 6320 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 6321
dc96c6c7 63222000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 6323
d63a86f8 6324 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
6325 in regexp. One '\' does not suffice on Linux.
6326
4a7bddb6
MC
63272000-12-09 Michael Chastain <chastain@redhat.com>
6328
6329 * gdb.base/break.exp (test_clear_command): Use a marker function
6330 rather than 'main' for the test function. Also move this
6331 test to an execution point where the marker function names are
6332 guaranteed to be bound to functions. (Executing tests after a
6333 'finish' from main runs into name conflicts with local names
6334 in __libc_start_main).
6335
dc96c6c7 63362000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
6337
6338 * gdb.base/finish.exp: New test for gdb's "finish" command.
6339 * gdb.base/return2.exp: New test for gdb's "return" command.
6340 * gdb.base/return2.c: New source file for above.
6341
dc96c6c7 63422000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
6343
6344 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
6345 * gdb.base/miscexprs.exp: Ditto.
6346 * gdb.base/pointers.exp: Ditto.
6347 * gdb.c++/derivation.exp: Ditto.
6348 * gdb.c++/local.exp: Ditto.
6349 * gdb.c++/namespace.exp: Ditto.
6350 * gdb.c++/overload.exp: Ditto.
6351 * gdb.c++/ref-types.exp: Ditto.
6352
dc96c6c7 63532000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
6354
6355 * gdb.base/constvars.exp: Test result of "up" command.
6356 * gdb.base/miscexprs.exp: Ditto.
6357 * gdb.base/pointers.exp: Ditto.
6358 * gdb.base/scope.exp: Ditto.
6359 * gdb.c++/derivation.exp: Ditto.
6360 * gdb.c++/local.exp: Ditto.
6361 * gdb.c++/namespace.exp: Ditto.
6362 * gdb.c++/overload.exp: Ditto.
6363 * gdb.c++/ref-types.exp: Ditto.
6364
44097287
FN
63652000-11-22 Michael Chastain <chastain@redhat.com>
6366
6367 * mips_pro.exp: Accept either "middle -> top -> main" or
6368 "middle -> main" in the backtrace, because gcc can optimize
6369 tail calls to jumps. Remove setup_xfail for the hppa case.
6370 Add a comment with the original warning messages from PR 3016,
6371 which was filed in 1993, to preserve them for posterity.
6372
9d2e1bab
ND
63732000-11-17 Nick Duffek <nsd@redhat.com>
6374
6375 * lib/gdb.exp (gdb_test): Override timeout with board info.
6376
1aca8eb7
ND
63772000-11-17 Nick Duffek <nsd@redhat.com>
6378
6379 * gdb.base/display.exp: Don't kill running stub. Add "again" to
6380 the second kill and detach messages.
6381
93076499
ND
63822000-11-17 Nick Duffek <nsd@redhat.com>
6383
6384 * configure.in: Add AC_EXEEXT.
6385 * configure: Regenerate.
6386 * Makefile.in (just-check): Export EXEEXT.
6387 * lib/gdb.exp ($EXEEXT): Import from environment.
6388 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
6389 expect "maint dump-me" on Cygwin.
6390 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
6391 $EXEEXT.
6392
30e87cd3
ND
63932000-11-17 Nick Duffek <nsd@redhat.com>
6394
6395 * gdb.base/break.exp: Test backtrace and finish from called
6396 function on all platforms, not just HP-UX.
6397
dc96c6c7 63982000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
6399
6400 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
6401 code from gdb_target_monitor, so it can be used independantly
6402 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 6403
dc96c6c7 64042000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
6405
6406 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
6407 * gdb.base/corefile.exp: Expect the message "Program is being
6408 debugged already" when we send the "corefile" command, since
6409 the preceeding gdb_load may have connected gdb to a remote target.
6410 * gdb.base/display.exp: Disable hardware watchpoints if new
6411 board info variable "no_hardware_watchpoints" is true.
6412 Replace single-letter commands with more readable ones.
6413 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
6414 if new board info variable "no_hardware_watchpoints" is true.
6415 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
6416 to see if stdio (printf) testing is possible.
6417 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
6418 board info variable "no_hardware_watchpoints" is true. Use new
6419 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
6420
39124dea
FN
64212000-11-13 Fernando Nasser <fnasser@redhat.com>
6422
6423 From Orjan Friberg <orjanf@axis.com>:
6424 * gdb.base/printcmds.exp: Escape curly braces followed by a number
6425 in array print pattern match.
6426
a9e2e984
FN
64272000-11-09 Fernando Nasser <fnasser@redhat.com>
6428
6429 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
6430 spelling "cancelled" to U.S. spelling "canceled" to match changes
6431 made to gdb.
6432 * gdb.c++/ovldbreak.exp: Ditto.
6433
c7db355b
PS
64342000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6435
6436 * gdb.base/callfuncs.c (main): Moved to end of file, call
6437 t_double_values to initialize the FPU before inferior calls are made.
6438 * gdb.base/callfuncs.exp: Test for register preservation after calling
6439 inferior functions. Add tests for continuining, finishing and
6440 returning from a stop in a call dummy.
6441
dc96c6c7 64422000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
6443
6444 * gdb.base/commands.exp: Break up long lines, and re-indent.
6445
dc96c6c7 64462000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
6447
6448 * config/gdbserver.exp: Rewritten from the ground up, to make it
6449 compatible with the current dejagnu tree, and to make it work with
6450 the new "gdbserver" in libremote.
6451
dc96c6c7 64522000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6453
6454 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
6455 * gdb.base/varargs.exp: Skip entire test if no printf support.
6456 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
6457 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
6458
dc96c6c7 64592000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6460
6461 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
6462 no floating point support.
6463 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
6464 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6465 * gdb.base/call-rt-st.exp: Ditto.
6466 * gdb.base/call-strs.exp: Ditto.
6467
bac5fc66
JG
64682000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
6469
6470 * gdb.base/sizeof.c: include <stdio.h>.
6471
6472 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6473 'finish', otherwise uncaptured gdb_prompt would potentially
6474 throw remaining test points out of sync.
6475
b22a6027
SB
64762000-07-26 Scott Bambrough <scottb@netwinder.org>
6477
6478 * gdb.base/recurse.exp: Run tests for all targets.
6479 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6480 gnu-oldld case on ARM.
6481 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6482 for ARM targets.
d63a86f8 6483
d8231941
AG
6484Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
6485
6486 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6487 * gdb.java/configure: Rebuild.
6488
8caabe69
AG
6489Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
6490
6491 * gdb.java/jv-exp.exp: New file.
6492
9d273ca3
AG
6493Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
6494
6495 * configure: Rebuilt.
6496 * configure.in (configdirs): Add gdb.java.
6497 * gdb.java/jmisc.java: New file.
6498 * gdb.java/jmisc.exp: New file.
6499 * gdb.java/Makefile.in: New file.
6500 * gdb.java/configure: Rebuilt.
6501 * gdb.java/configure.in: New file.
6502 * lib/java.exp: New file.
6503
4f823a66
AC
6504Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
6505
6506 * gdb.base/exprs.exp: Test casts to a pointer including over and
6507 underflow.
6508
2391e11d
AC
6509Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
6510
6511 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
6512 and the compilers sizes.
6513
54602222
ND
65142000-07-09 Nick Duffek <nsd@redhat.com>
6515
6516 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6517 (use_methods): New function.
6518 (main): Call use_methods().
6519 * gdb.c++/classes.exp (test_method_param_class): New procedure.
6520 (do_tests): Call test_method_param_class.
6521
2bec0572
ND
65222000-07-09 Nick Duffek <nsd@redhat.com>
6523
6524 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6525 spelling.
6526 (test_enums): New procedure. Move enum tests from end of script
6527 to here. Set breakpoint on function name instead of line number.
6528 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6529 (enums2): New marker function.
6530 (enums1): New function.
6531 (main): Call enums1(). Move enum tests to enums1().
6532
78492fde
AC
6533Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6534
6535 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6536 compile/link program. Update line numbers.
6537 * gdb.asm/d10v.inc: Define ``startup''.
6538 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 6539
49a2cef8
AC
6540Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6541
6542 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6543
3e6c8688
EZ
65442000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6545
6546 * gdb.base/maint.exp: Add 'maint print architecture' item to output
6547 of 'help maint print' command.
6548
9ff5cbe9
AC
6549Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
6550
6551 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6552 they use gdb_expect_list.
6553
17c579bd
AC
6554Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6555
6556 * gdb.base/commands.exp: Use ``set remote
6557 memory-read-packet-size'' instead of ``set endian big'' to test
6558 long commands.
6559
e6d71bf3
DB
65602000-06-03 Daniel Berlin <dan@cgsoftware.com>
6561
6562 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 6563 g++, and stop skipping them.
e6d71bf3
DB
6564
6565 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6566 work under g++.
6567
d63a86f8 6568 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
6569 initialization.
6570
dc96c6c7 65712000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
6572
6573 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6574 the regular expression: accept an (almost) arbitrary sequence of
6575 "frames-invalid" and "breakpoints-invalid" messages both before
6576 and after the "starting" message.
6577
dc96c6c7 65782000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
6579
6580 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 6581
dc96c6c7 65822000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
6583
6584 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6585 Relax the regular expression a little, make it pass on Solaris 8.
6586
8216cda9
KB
65872000-05-12 Kevin Buettner <kevinb@redhat.com>
6588
6589 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 6590 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
6591 Instead, it is permissible for gdb to stop on the line of the
6592 call itself.
6593
1a570b2f
MS
65942000-05-12 Michael Snyder <msnyder@.cygnus.com>
6595
6596 * gdb.base/break.exp (bp on small function, optimized file):
6597 Add a second pass pattern. The behavior differs here between stabs
6598 and dwarf for one-line functions. Stabs preserves two line symbols
6599 (one before the prologue and one after) with the same line number,
6600 but dwarf regards these as duplicates and discards one of them.
6601 Therefore the address after the prologue (where the breakpoint is)
6602 has no exactly matching line symbol, and GDB reports the breakpoint
6603 as if it were in the middle of a line rather than at the beginning.
6604
dc96c6c7 66052000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 6606
d63a86f8 6607 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
6608 rather than "send_gdb" (for consistancy).
6609
7d418785
AC
6610Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6611
6612 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6613 * gdb.c++/templates.cc: Properly check for GCC version number.
6614 * lib/compiler.cc: Likewise
6615
dc96c6c7 66162000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 6617
d63a86f8 6618 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
6619 gdb may not stop at the first line of main, due to code motion.
6620
dc96c6c7 66212000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
6622
6623 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6624 This test depends on parsing the printf output from the target.
6625 Since the sparclet stub doesn't do stdio, this will never work.
6626 * gdb.base/call-rt-st.exp: ditto.
6627 * gdb.base/call-strs: ditto.
6628
dc96c6c7 66292000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
6630
6631 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6632
6633 * gdb.base/ending-run.exp: After connecting to a remote target,
6634 but before running, the target will appear to be in a random
6635 location. Specify both a file and a line for breakpoints.
6636 Also, the function that calls main may be called 'init'
6637 rather than 'start'.
6638
a5a51225
EZ
66392000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6640
6641 * gdb.base/help.exp: Update output for add-symbol-file command.
6642
7930cc7c
FN
66432000-04-10 Fernando Nasser <fnasser@cygnus.com>
6644
6645 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6646 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6647
23e37ab1
C
66482000-04-07 J.T. Conklin <jtc@redback.com>
6649
e93c542c
C
6650 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6651
23e37ab1
C
6652 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6653
591b8fa3
PDM
6654Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6655
6656 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6657 values that can be represented exactly.
6658 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6659 above change, and to not check against the directory part of the source
6660 file name.
6661 (step into print_long_arg_list): Likewise.
6662 (print print_small_structs from print_long_arg_list): Likewise.
6663 (print print_long_arg_list): Likewise.
6664
7a495180
EZ
66652000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6666
30b53638 6667 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 6668
beb998c6
AC
6669Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6670
6671 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6672
1c689132
DB
66732000-03-25 Daniel Berlin <dan@cgsoftware.com>
6674
6675 * gdb.base/commands.exp (deprecated_command_test): Add test for
6676 deprecate with no arguments.
6677
c1790a9d
JL
66782000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6679
6680 * gdb.base/break.exp: Add new test for setting breakpoints on
6681 optimized code so we can test breakpoints work even when function
6682 prologues may be optimized away
6683
003ba290
FN
66842000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6685
6686 From David Whedon <dwhedon@gordian.com>
6687 * gdb.base/commands.exp : Added command deprecator tests.
6688
6837a0a2
DB
66892000-03-22 Daniel Berlin <dan@cgsoftware.com>
6690
6691 * gdb.base/help.exp: Added test for new apropos command.
6692
b9593231
KB
66932000-03-21 Kevin Buettner <kevinb@redhat.com>
6694
6695 * gdb.base/pointers.c (usevar): New function.
6696 (main): Make sure that global variables v_int_pointer2, rptr,
6697 and y are all referenced someplace in the program by calling
6698 usevar() on them. [Some linkers delete symbols which are
6699 never referenced. The space remains, but there's no way to
6700 get a (symbolic) handle on the variable from the debugger.]
6701
751a959b
EZ
67022000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6703
6704 * gdb.base/printcmds.c: Add typedeffed arrays.
6705
6706 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6707 procedure to test arrays that are typedef'd.
6708
73a93a32
JI
67092000-03-13 James Ingham <jingham@leda.cygnus.com>
6710
6711 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 6712 the library directories.
73a93a32 6713
fb40c209
AC
6714Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6715
6716 * configure.in (configdirs): Add sub directory gdb.mi.
6717 * configure: Re-generate.
6718
6719 * gdb.mi: New directory.
d63a86f8 6720
ee4dd2c9
AC
67212000-02-25 Scott Bambrough <scottb@netwinder.org>
6722
6723 * gdb.base/long_long.exp: Correct test suite failure when printing
6724 a long long value as a double on ARM platforms.
6725
70f0cc22
JB
67262000-02-16 Jim Blandy <jimb@redhat.com>
6727
6728 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6729 default source file is set properly before running this test.
6730
853819b8
EZ
67312000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6732
6733 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6734 gdbtk/library directory, not in gdbtcl2.
6735
dfcd3bfb
JM
67362000-02-04 Jim Blandy <jimb@redhat.com>
6737
6738 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6739 backslash from regexp pattern.
6740
6741 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6742 procedure. Use it to run all the "continue to bp overloaded"
6743 tests. Note that this changes the names of the tests slightly.
6744 If the breakpoint hit message includes a hex PC value, because
6745 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6746 from the real source code, still consider that a pass.
6747
6748 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6749 XFAIL here if the breakpoint message contains a hex address. Note
6750 similar change on 1999-11-02.
6751
6752 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6753
6754 * gdb.base/ptype.exp: Establish a default source file before
6755 calling get_debug_format.
6756
67572000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6758
6759 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6760
8b93c638
JM
67612000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6762
6763 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6764 of successive stepi commands -- while in the prologue we should see
6765 the function entry bracket.
6766
67672000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6768
6769 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6770 reach __change_mode() when stepping through the end of main().
6771
c5394b80
JM
67722000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6773
6774 * gdb.base/default.exp: Fix expected pattern.
6775 * gdb.base/help.exp: Same.
6776
0d06e24b
JM
67772000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6778
6779 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6780 Don't use xfail's because that affects only the following test.
d63a86f8 6781
0d06e24b
JM
6782 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6783 solaris or linux.
6784
6785 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6786
dc96c6c7 67872000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 6788
d63a86f8 6789 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
6790 "A syntax error" rather than "A parse error". Accept both.
6791
67922000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6793
6794 * gdb.base/default.exp: Remove OS dependent string from "target
6795 remote" test.
6796 * gdb.base/help.exp: Same for "help target remote" test.
6797
c3f6f71d
JM
67982000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6799
6800 From Jim Kingdon <kingdon@redhat.com>:
6801
6802 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6803 prompt (cleanup rather than necessity, but still might keep output
6804 from spilling to next test).
6805
68062000-01-02 Fred Fish <fnf@cygnus.com>
6807
6808 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6809 AIX, which defines them in <sys/types.h>.
6810
ed9a39eb 68111999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 6812
ed9a39eb
JM
6813 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6814 float" test.
6815
68161999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 6817
ed9a39eb 6818 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
6819
6820 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6821 outermost frame disallowed".
6822
68231999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6824
6825 * gdb.base/setvar.exp: New tests for setting the value of a struct
6826 with a constant list.
6827
68281999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6829
6830 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6831 require the user to type a cast before setting the value of a struct.
6832
de57eccd
JM
68331999-12-06 Jim Blandy <jimb@cygnus.com>
6834
6835 * gdb.base/default.exp: Expect the new 'info float' command on
6836 all i386 platforms.
6837
6838 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6839 LinuxThreads libraries that don't support debugging.
6840
c2d11a7d
JM
6841Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6842
6843 * gdb.base/remote.c: Fill the buffer with truely random data.
6844 Change the buffer type to ``unsigned char'' to simplify size
6845 arithmetic.
6846
6847 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6848 stub only handles 400-1 byte packets. Verify that the download
6849 worked.
6850
68511999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6852
6853 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6854 tests, using UNRESOLVED for the untested cases. Also, does not wait
6855 for a timeout if the prompt was received before a recognizable pattern.
6856
68571999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6858
6859 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6860
68611999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6862
6863 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6864 watchpoints.
6865
68661999-11-24 Jason Merrill <jason@casey.cygnus.com>
6867
6868 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6869
6870 * gdb.c++/local.exp: Be more flexible in recognizing local class
6871 name mangling. Don't allow horribly truncated method names.
6872 * gdb.c++/derivation.exp: Expect protected inheritance.
6873 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6874 * gdb.c++/virtfunc.exp: Likewise.
6875 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6876 when printing a nested enum.
6877
68781999-11-22 Jim Blandy <jimb@cygnus.com>
6879
6880 * gdb.base/step-test.exp: Properly await GDB's response to setting
6881 a breakpoint on the call to large_struct_by_value.
6882
6883 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6884 just because we have debug info for the `start' function.
6885
68861999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6887
6888 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6889 "Unknown signal" messages, which indicate (on LinuxThreads) that
6890 GDB doesn't know how to debug threads on this system. This is
6891 better than hanging while philosopher 0 dumps chatter into gdb.log.
6892
68931999-11-18 Tom Tromey <tromey@cygnus.com>
6894
6895 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6896
68971999-11-18 Fred Fish <fnf@cygnus.com>
6898
6899 * gdb.base/coremaker2.c: Add sample program for generating
6900 cores that is more self contained than coremaker.c. Eventually
6901 I'll add more code to this and tie it into the testsuite.
6902
4ce44c66
JM
69031999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6904
6905 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6906
69071999-11-10 Jimmy Guo <guo@cup.hp.com>
6908
6909 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6910 from $srcdir/lib/.
6911 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6912 and gdb.c++/.
6913
6914 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6915
d63a86f8 6916 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
6917 'continue with watch' test point.
6918
69191999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6920
6921 Merged from p2linux-990323-branch:
d63a86f8 6922
4ce44c66
JM
6923 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6924
11cf8741
JM
6925Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6926
6927 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6928 {limit,fixed}''. Test ``set download-write-size''.
6929
6930Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6931
6932 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6933 gdb_expect_list.
6934
6935Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6936
6937 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6938
69391999-11-03 Mark Salter <msalter@cygnus.com>
6940
6941 * gdb.base/break.exp: Fix "stub continue" pattern.
6942
69431999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6944
6945 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6946
69471999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6948
6949 * gdb.base/display.exp ("finish"): Add timeout clause.
6950
6951 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6952 plain prompt clause, so this doesn't have to time out in order to
6953 fail.
6954
6955 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6956 breakpoint hit messages include an address.
6957
6958 * gdb.base/display.exp: Don't forget to escape parens in regular
6959 expressions. Unix regexp notatation sucks.
6960
69611999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6962
6963 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6964 order for 'signalled' message.
6965
5c44784c
JM
69661999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6967
6968 From Jimmy Guo <guo@cup.hp.com>:
6969 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6970 * gdb.base/annota1.c: Add code for tests to work with.
6971
69721999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6973
6974 * gdb.base/remote.exp: New test for remote downloading settings.
6975 * gdb.base/remote.c: New file with large .data.
6976
917317f4
JM
69771999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6978
6979 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6980 for LinuxThreads support, merged from the Code Fusion branch.
6981
6982Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6983
6984 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6985 containing exp_continue into a while within an expect. Don't
6986 attempt a start more than three times. Check return value from
6987 gdb_load.
d63a86f8 6988
2df3850c
JM
6989Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6990
6991 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6992 a pass case.
6993
2acceee2
JM
69941999-10-01 Kevin Buettner <kevinb@cygnus.com>
6995
6996 * gdb.base/break.c (main): Added a statement that we can step
6997 off of.
6998 * gdb.base/break.exp: Added tests for setting a breakpoint
6999 at an offset and stepping onto a breakpoint.
7000
70011999-10-01 Fred Fish <fnf@cygnus.com>
7002
d63a86f8 7003 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
7004 gdb output.
7005
c2c6d25f
JM
70061999-09-18 Jim Blandy <jimb@cris.red-bean.com>
7007
7008 * gdb.base/break.exp: Code locations are in hex, don't forget!
7009 (For HP-UX.)
7010
70111999-09-17 Stan Shebs <shebs@andros.cygnus.com>
7012
7013 * condbreak.exp: Use break.c as test program.
7014 * condbreak.c: Remove, redundant with break.c.
7015
70161999-09-15 Stan Shebs <shebs@andros.cygnus.com>
7017
7018 * config/monitor.exp (gdb_target_monitor): Disable X- and
7019 Z-packets if the target needs it.
7020
70211999-09-13 James Ingham <jingham@leda.cygnus.com>
7022
7023 * gdb.c++/overload.exp: Added tests for listing overloaded
7024 functions with function pointers in the arg, explicitly calling
7025 out the version you want.
7026
cff3e48b
JM
70271999-09-09 Stan Shebs <shebs@andros.cygnus.com>
7028
7029 * long_long.exp: Add variations of test cases that work for
7030 targets with 16-bit ints and 32-bit doubles.
7031
d4f3574e
SS
70321999-09-08 Stan Shebs <shebs@andros.cygnus.com>
7033
7034 * break.c (main): Compare a possibly-uninitialized argc with an
7035 unlikely value that fits in 16 bits.
7036
70371999-09-07 Stan Shebs <shebs@andros.cygnus.com>
7038
7039 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
7040 0xfeeb, don't want negative numbers if ints are 16 bits.
7041
7042 * lib/gdb.exp (skip_cplus_tests): New proc.
7043 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
7044 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
7045 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
7046 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
7047 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
7048 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
7049 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
7050 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
7051
7052 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
7053
7054Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
7055
7056 * gdb.base/corefile.exp (up): Allow a parameter to appear
7057 in the frame that we're going up to.
7058
7059 From Jim Blandy <jimb@cygnus.com>:
7060
7061 * gdb.base/default.exp (info float): Expect some output now.
7062
7063 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
7064 returning floating-point values to fail on the x86.
7065 * gdb.base/callfwmall.exp (do_function_calls): Same.
7066
7067 * gdb.base/list.exp (test_listsize): Correct expectations for
7068 listing line 1 with listsize 2. Also, listing a single line
7069 works now, as does listing three lines. [Kevin's note: There
7070 were a number of other cases fixed too where the expectations
7071 differed...]
7072
70731999-09-02 Stan Shebs <shebs@andros.cygnus.com>
7074
7075 * gdb.base/selftest.exp: Add case for when version prints as
7076 constant string instead of char pointer.
7077
104c1213
JM
70781999-08-25 Stan Shebs <shebs@andros.cygnus.com>
7079
7080 * gdb.base/ending-run.exp: Add Solaris case for what happens when
7081 stepping out of main.
7082
7083 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
7084 G++ used.
7085
7086 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
7087 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
7088
7089 * gdb.c++/ovldbreak.exp: Update match string in test that
7090 includes a warning of multiple breakpoints.
7091
70921999-08-24 Stan Shebs <shebs@andros.cygnus.com>
7093
7094 * gdb.base/display.exp: Improve precision of step-after-finish
7095 added yesterday.
7096
7097 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
7098 test.
7099
7100 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
7101 configs when using G++, not just hppa*.
7102
71031999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7104
7105 * gdb.base/async.c: New file.
7106 * gdb.base/async.exp: New file.
7107
7108Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
7109
7110 * gdb.base/break.exp: Tweak PA specific tests to properly handle
7111 PA64.
7112
53a5351d
JM
7113Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
7114
104c1213
JM
7115 * gdb.base/display.exp: "finish" can leave us mid-line on many
7116 targets, deal with it. Add a small constant to main, instead of
7117 1000 since main+1000 may not be a valid address in the target.
7118
53a5351d
JM
7119 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
7120 on hpux11.
7121
7122 * gdb.base/attach.exp: Handle another hpux11 error message variant
7123 when attaching to a process that does not exist.
7124
71251999-08-19 J.T. Conklin <jtc@redback.com>
7126
7127 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
7128 characters in 'continue to 1241' test.
7129
71301999-08-17 Stan Shebs <shebs@andros.cygnus.com>
7131
7132 * gdb.base/call-ar-st.exp: Add a shorter match case for the
7133 stop in print_long_arg_list, define and use a whitespace
7134 variable in print_small_structs test, add an XFAIL for Solaris.
7135 * gdb.base/dbx.exp: XFAIL func commands until somebody is
7136 interested enough to fix.
7137
7be570e7
JM
71381999-08-13 Keith Seitz <keiths@cygnus.com>
7139
7140 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
7141 (dbx_gdb_load): Remove. Use gdb_load instead, since that
7142 proc knows about targets other than the natives.
7143 (test_assign): Use "gdb_run_cmd" to "run" the target.
7144 Check that we've actually hit the breakpoint at main.
7145 When we attempt to assign a value to a local variable, check
7146 that the variable is in the current scope, i.e., don't use
7147 a test with an empty result.
7148
7149Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
7150
7151 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
7152 command.
7153
71541999-08-09 Stan Shebs <shebs@andros.cygnus.com>
7155
7156 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7157 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
7158 gdb.compat, gdb.threads-hp.
7159 gdb.hp/configure, gdb.hp/configure.in: New files.
7160 gdb.hp/Makefile.in: Recurse into new subdirs.
7161 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
7162 gdb.hp/gdb.objdbg: New directory, tests for debugging info
7163 in object files.
7164 gdb.hp/tools: New directory, aux tools for HP-specific tests.
7165
96baa820
JM
71661999-08-05 Stan Shebs <shebs@andros.cygnus.com>
7167
7168 * gdb.base/display.exp: Help expect by putting a newline in the
7169 funky printf, remove a bogus p/a test.
7170
71711999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7172
7173 * gdb.base/display.exp: Make sure that when we say 'run', we are
7174 connected to the target. This is necessary when running not
7175 natively.
7176
71771999-08-03 Stan Shebs <shebs@andros.cygnus.com>
7178
7179 * gdb.base/step-test.exp: Removed some extraneous messages.
7180
7181 * gdb.base/long_long.exp: Don't run memory examination tests
7182 on little-endian targets (they will need a different set of
7183 results to match).
7184
71851999-08-02 Stan Shebs <shebs@andros.cygnus.com>
7186
7187 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
7188 until somebody decides to fix GDB.
7189
7190 * gdb.base/long_long.c: Stop compiler complaint by specifying long
7191 constant as "ULL".
7192 * gdb.base/long_long.exp: Loosen x/c test, add partial result
7193 matches for a couple x/2 commands.
7194
a0b3c4fd
JM
71951999-07-30 Stan Shebs <shebs@andros.cygnus.com>
7196
7197 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
7198 by merging in ref-types2 tests.
7199 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
7200
7201 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7202 * gdb.c++/Makefile.in: Add standard actions.
7203 (EXECUTABLES): Rename from PROGS, update list.
7204 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
7205 from gdb.hp.
7206 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
7207 foo and bar locals.
7208 * gdb.c++/anon-union.exp: Fix tests to match.
7209 * gdb.c++/classes.exp: Run if HP compiler used, add extra
7210 expect matches to handle output variations.
7211 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
7212 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
7213 output, add HP alternatives for new and delete prints.
7214 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
7215 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
7216 * gdb.c++/demangle.exp: Use $style when reporting failure.
7217 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
7218 * gdb.c++/inherit.exp: Run if HP compiler used, add some
7219 match alternatives.
7220 * gdb.c++/local.exp: Add match alternatives or xfails for HP
7221 compilers.
7222 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
7223 * gdb.c++/method.exp: Add match alternatives.
7224 * gdb.c++/misc.cc: Add bool types.
7225 * gdb.c++/misc.exp: Add tests for bool types.
7226 * gdb.c++/overload.exp: Add xfails.
7227 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
7228 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
7229 add some more template parameter tests (only for HP currently).
7230 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
7231 * gdb.c++/virtfunc.cc: Add return type and value for main.
7232 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
7233 match alternatives.
d63a86f8 7234
a0b3c4fd
JM
72351999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7236
7237 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
7238
72391999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
7240
7241 * gdb.base/signals.exp: Don't expect getting a backtrace from
7242 within a signal handler to fail on Linux.
7243
72441999-07-29 Stan Shebs <shebs@andros.cygnus.com>
7245
7246 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7247 * lib/gdb.exp: Remove some gratuitious semicolons.
7248 (delete_breakpoints): Increase timeout.
7249 (gdb_expect): Add -notransfer option.
7250 (gdb_test): Use -notransfer option.
7251 (get_compiler_info): Add f77 case.
7252 (get_compiler): New proc, split out from gdb_preprocess, add f77
7253 case.
7254 (gdb_preprocess): Call get_compiler.
7255
7256 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
7257 * gdb.base/attach.exp, gdb.base/display.exp,
7258 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
7259 gdb.base/long_long.exp, gdb.base/printcmds.exp,
7260 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
7261 third arg to gdb_test.
7262 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
7263 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
7264 HP-UX xfails, add others.
7265 * gdb.base/completion.exp: Reflect name change of self-test.
7266 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
7267 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
7268 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
7269 HP failure number.
7270 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
7271 useless HP-UX 10.30 references.
7272 * gdb.base/maint.exp: Loosen matches.
7273 * gdb.base/pointers.c (main): Declare more_code.
7274 * gdb.base/pointers.exp: Match on output of a `next'.
7275 * gdb.base/structs.c: Add prototypes.
7276 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
7277 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
7278
72791999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7280
7281 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
7282 command.
7283
72841999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7285
7286 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
7287 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
7288
7289 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
7290 debug info. Deal with lack of signal hanlder info in stack.
7291
7292 From Jim Kingdon <kingdon@redhat.com>:
7293 * gdb.base/annota1.exp: If printf has debug info, deal with it.
7294
5a2468f5
JM
72951999-07-19 Stan Shebs <shebs@andros.cygnus.com>
7296
7297 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
7298 gdb.base/foll-vfork.exp: Don't run for crosses.
7299
adf40b2e
JM
7300Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
7301
7302 * gdb.base/configure.in: Check for gdbvars.exp instead of
7303 a1-selftest.exp.
7304 * gdb.base/configure: Re-generate.
7305
73061999-07-12 Stan Shebs <shebs@andros.cygnus.com>
7307
7308 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
7309 in trying to run first and name is too long.
7310
7311 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
7312 pointers2.c and pointers2.exp, respectively.
7313 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
7314 doschk happier.
7315
43e526b9
JM
73161999-07-08 Stan Shebs <shebs@andros.cygnus.com>
7317
7318 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
7319 callfuncs2.c and callfuncs2.exp.
7320
7321 * gdb.base/list.exp: Remove mistaken xfails.
7322 * gdb.base/list0.h: Add optional prototypes.
7323
9846de1b
JM
7324Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
7325
7326 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
7327 calling malloc.
7328 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
7329 * ptype.exp: Move test for get_debug_format to before its first
7330 use.
7331
73321999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7333
7334 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
7335 * gdb.base/annota2.cc, annota2.exp: Move from here.
7336 * gdb.c++/annota2.cc, annota2.exp: To here.
7337 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
7338
43ff13b4
JM
7339Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
7340
7341 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
7342 a consistent format.
7343
085dd6e6
JM
73441999-06-25 Stan Shebs <shebs@andros.cygnus.com>
7345
7346 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7347 * lib/gdb.exp (get_compiler_info): Add detection for assorted
7348 HP compilers, also set the globals $true and $false.
7349
7350 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
7351 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
7352 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
7353 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
7354 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
7355 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
7356 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
7357 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
7358 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
7359 whatis.c} Add C++ compatible function definitions and return
7360 types, add includes for library functions.
7361 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
7362 * gdb.base/step-test.c (myglob): Rename from glob.
7363 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
7364 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
7365 files, move here from gdb.hp.
7366 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
7367 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
7368 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
7369 Adjust line numbers in regexps.
7370
7371 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
7372 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
7373 instead of 0/1.
7374
7375 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
7376 foll-vfork.exp: New files, move here from gdb.hp.
7377 * gdb.base/page.exp: New file, test of pagination command.
7378
7379 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
7380 recursion test.
7381 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
7382
7383 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
7384 gdb.base/solib.exp: Fix compiler invocation process.
7385
7386 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
7387 HP-UX 11, turn off overload resolution explicitly.
7388 * gdb.base/commands.exp: Set argument list explicitly, add
7389 watchpoint test.
7390 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
7391 them work.
7392 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
7393 expressions properly.
7394 * gdb.base/corefile.exp: Loosen the match slightly.
7395 * gdb.base/default.exp: Allow "Error accessing memory" message
7396 also.
7397 * gdb.base/display.exp: Skip over x/0 j if PA64.
7398 * gdb.base/funcargs.exp: Add xfails for HP-UX.
7399 * gdb.base/interrupt.exp: Ditto.
7400 * gdb.base/langs.exp: Add symbolic matches governed by compiler
7401 in use.
7402 * gdb.base/list.exp: Add xfails for HP-UX.
7403 * gdb.base/long_long.exp: Refine some of the numeric matches.
7404 * gdb.base/mips_pro.exp: Xfail on HP-UX.
7405 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
7406 * gdb.base/nodebug.exp: Succeed on more varieties of output.
7407 * gdb.base/opaque.exp: Remove some HP-UX xfails.
7408 * gdb.base/ptype.exp: Succeed on more varieties of output.
7409 * gdb.base/scope.exp: Add xfails for HP-UX.
7410 * gdb.base/sect-cmd.exp: Add more cases.
7411 * gdb.base/setvar.exp: Add xfails for HP-UX.
7412 * gdb.base/shlib-call.exp: Loosen some matches slightly.
7413 * gdb.base/signals.exp: Match on void symbolically.
7414 * gdb.base/step-test.exp: Add case for PA64.
7415 * gdb.base/term.exp: Add exit and restart.
7416 * gdb.base/twice.exp: Clean up after self.
7417 * gdb.base/varargs.exp: Disable overload resolution explicitly.
7418 * gdb.base/whatis.exp: Allow more ways to pass tests.
7419
7420 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
7421 no longer useful.
7422
7423Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
7424
7425 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
7426 list of patterns.
7427 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
7428 print_double_array(double_array)", "continuing to breakpoint
7429 1018", "print print_double_array(array_d)" and "continuing to
7430 1034" tests.
d63a86f8 7431
085dd6e6
JM
74321999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
7433
7434 * Makefile.in: Add empty html and install-html targets.
7435
74361999-06-24 Stan Shebs <shebs@andros.cygnus.com>
7437
7438 * config/mt-*: Remove, these haven't been used since 1996.
7439
74401999-06-22 Stan Shebs <shebs@andros.cygnus.com>
7441
7442 * gdb.base/call-strs.c, gdb.base/ending-run.c,
7443 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
7444 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
7445
9e0b60a8
JM
74461999-06-18 Stan Shebs <shebs@andros.cygnus.com>
7447
7448 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
7449 simpler match case for the ptype of the big class.
7450
74511999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7452
7453 * gdb.exp: Fix test for gdb_prompt existence.
7454
74551999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7456
7457 * gdb.exp (gdb_test): Add fail after calls to perror.
7458
74591999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7460
7461 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7462
74631999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7464
7465 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7466
0f71a2f6
JM
7467Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
7468
7469 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
7470 malloc() is linked in.
7471
74721999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
7473
7474 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7475 step at end.
7476
7477 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7478
74791999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
7480
7481 * gdb.java/jv-print.exp: New file. (Our first Java test!)
7482
cce74817
JM
7483Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
7484
7485 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7486 * gdb.base/mips_pro.exp: Likewise.
7487
74881999-06-02 Keith Seitz <keiths@cygnus.com>
7489
7490 * gdb.c++/templates.cc: Change all "new" operators to throw
7491 an exception.
7492 * gdb.c++/cplusfuncs.cc: Likewise.
7493
7494 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7495
7496Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
7497
7498 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7499 * gdb.base/ending-run.exp: When stepping out of main, accept a
7500 step into an arbitrary assembler file.
7501
392a587b
JM
75021999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7503
d63a86f8 7504 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 7505 "breakpoint-invalid" to be printed.
d63a86f8 7506 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
7507 number of "frames-invalid" and "breakpoint-invalid" to be printed.
7508 * gdb.base/annota2.cc: Initialize a.x to 0.
7509
9e086581
JM
75101999-05-17 Keith Seitz <keiths@cygnus.com>
7511
7512 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7513 when "skip_float_tests" set.
7514 Ditto for "print print_double_array(array_d)", "print print_small_structs",
7515 "print print_ten_doubles", and "step into print_long_arg_list".
7516 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7517 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7518 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7519 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7520 "skip_float_tests" is set.
7521 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7522 when "skip_float_tests" set.
d63a86f8 7523
cd0fc7c3
SS
75241999-05-06 Keith Seitz <keiths@cygnus.com>
7525
7526 * gdb.base/annota2.cc: Include stdio.h.
7527
7528Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
7529
7530 * gdb.base/crossload.exp: Remove, this has been disabled ever
7531 since BFD stopped including all targets, and cross-GDB gets
7532 plenty of testing anyway.
7533 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7534 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7535 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7536 * gdb.base/README: Remove, was doc for this.
7537 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7538 needed.
7539
b83266a0
SS
75401999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7541
7542 * gdb.base/call-ar-st.exp: Fix one regular expression in test
7543 output.
7544
7545 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7546 * gdb.base/annota2.exp: New file. More annotation tests.
7547 * gdb.base/annota1.c: New file. Source file for annota1.exp.
7548 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7549
75501999-04-23 Angela Marie Thomas <angela@cygnus.com>
7551
7552 * config/cfdbug.exp: New file.
7553
7a292a7a
SS
75541999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
7555
7556 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7557 Marcus Daniel's and Dale Hawkins's demangler crashes.
7558
7559 * gdb.c++/demangle.exp (test_gnu_style_demangling,
7560 test_lucid_style_demangling, test_arm_style_demangling,
7561 test_hp_style_demangling): Try Tom Tromey's core-dumping
7562 identifier under each demangling style.
7563
75641999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
7565
7566 * gdb.c++/demangle.exp: Include the current demangling style
7567 in all test names.
7568 (current_demangling_style): New global variable.
7569 (set_demangling_style, test_demangling_core, test_demangling,
7570 test_demangling_exact): New functions.
7571 (test_gnu_style_demangling, test_lucid_style_demangling,
7572 test_arm_style_demangling, test_hp_style_demangling): Use those,
7573 instead of calling gdb_test and gdb_test_exact directly.
7574 (catch_demangling_errors): New function, which reports errors
7575 signalled by the demangling test functions in an orderly way.
7576 (do_tests): Use catch_demangling_errors.
7577
75781999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7579
7580 * gdb.base/signals.exp (test_handle_all_print): Use () for
7581 grouping in expressions, not {}.
7582
7583 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7584 initialized yet.
7585
75861999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7587
7588 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7589 are listed.
7590
75911999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7592
7593 * gdb.stabs/weird.exp: Test for CC being defined before
7594 looking at its value.
7595
75961999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7597
7598 * gdb.base/call-ar-st.exp: Remove stray '#'.
7599 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7600 "short int" and "long int".
7601 * gdb.c++/overload.cc: Cast the string added in the previous
7602 change, to mollify finicky HP compiler.
7603 * gdb.hp/reg-test.exp (testfile): Fix file name.
7604 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 7605
7a292a7a
SS
7606 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7607 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7608 alternate form of enum ptype.
7609
c906108c
SS
76101999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7611
7a292a7a
SS
7612 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7613 * gdb.hp/*.exp: Change all to run compiler probe only after
7614 passing skip_hp_tests, so as not to waste time on guaranteed
7615 failure.
7616
c906108c
SS
7617 * gdb.c++/overload.cc: Pass string instead of char addr, always
7618 init ccpfoo.
7619 * gdb.c++/templates.cc: Fix syntax error.
7620
7a292a7a
SS
7621Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7622
7623 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 7624 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
7625 command.
7626
76271999-03-18 James Ingham <jingham@cygnus.com>
7628
7629 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7630
7631 * gdb.c++/method.exp: It was testing an uninitialized int on the
7632 stack and assuming it was positive.
7633
7634 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7635
7636 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 7637 keep it from killing the rest of the tests.
7a292a7a
SS
7638 Use gdb_continue_to_end.
7639
7640 * gdb.base/sigall.exp: use gdb_continue_to_end.
7641
7642 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7643
7644 * gdb.base/display.exp: use runto_main, not run.
7645
d63a86f8
RM
7646 * gdb.base/default.exp: Check for the current error message in the
7647 r abbreviation test.
7a292a7a
SS
7648 Add strongarm to the targets that know info float.
7649
d63a86f8 7650 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
7651 run which doesn't work with monitors.
7652
7653 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7654
7655 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7656
7657 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
7658 program. Traps the case (in Cygmon) when the program never really
7659 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
7660 more places, so I used my name. Sorry Mark...
7661
7662 * config/monitor.exp (gdb_target_monitor): added another
7663 target_info parameter: remotebinarydownload. This will set the
7664 remotebinarydownload flag if this is causing some boards trouble.
7665
76661999-03-18 Mark Salter <msalter@cygnus.com>
7667
7668 * lib/gdb.exp (continue_to_exit): New function.
7669
7670 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7671 * gdb.base/ending-run.exp: Ditto.
7672 * gdb.base/step-test.exp: Ditto.
7673
76741999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7675
7676 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7677 (suggested by Art Haas <ahaas@neosoft.com>).
7678
76791999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7680
7681 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7682
7683Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7684
7685 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7686 descriptions of types (short unsigned int vs unsigned short, etc).
7687
76881999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7689
7690 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7691 a call to strlen; sometimes we do have sources.
7692
76931999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
7694
7695 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7696 character, so GDB won't print garbage after its end.
d63a86f8 7697
c906108c
SS
7698 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7699 breakpoint there instead. Sometimes GCC emits memcpy to handle
7700 the large structures being passed by value, so we step into that
7701 instead of sum_array_print, which obscures what we're really testing.
7702 * gdb.base/step-test.exp: However, we do want a test that notices
7703 the bizarre steps into memcpy, so do that here. Add check for
7704 stepping into function calls that pass large structures by value.
7705 ("Is that a noun clause, or are you just happy to see me?")
7706 Remove all references to specific line numbers.
7707 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7708 New type and function.
7709 (main): Call large_struct_by_value, passing it a large struct by value.
7710 * lib/gdb.exp (gdb_get_line_number): New function.
7711
7712 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7713 more portable.
7714
7a292a7a
SS
77151999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7716
c906108c
SS
7717 * lib/gdb.exp: Doc fixes.
7718
7a292a7a
SS
77191999-03-05 Nick Clifton <nickc@cygnus.com>
7720
d63a86f8 7721 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
7722
77231999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7724
c906108c
SS
7725 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7726 commands. They're not germane to this test, and they don't work
7727 that way on remote targets.
7728
3fc11d3e
JM
77291999-03-01 James Ingham <jingham@cygnus.com>
7730
7731 * Changelog entries merged over from gdb development branch.
7732
3fc11d3e
JM
7733 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7734
7735 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7736 for outputting results of test run.
7737
2d4a1622 7738 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
7739
7740 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 7741
7a292a7a
SS
77421999-02-25 Felix Lee <flee@cygnus.com>
7743
7744 * lib/gdb.exp (debug_format): initialize
7745
c906108c
SS
77461999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7747
7748 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7749 * gdb.base/call-rt-st.c: Ditto.
7750
c906108c
SS
77511999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7752
7753 * gdb.threads/pthreads.exp (horiz): New variable.
7754 (test_startup): Fix regexps that capture thread numbers.
7755
77561999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7757
7758 * gdb.base/smoke.exp: Disambiguate two test case names (both
7759 called ``print'').
7760
7761Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7762
7763 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7764 compilation.
7765
77661999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7767
7768 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7769 actual output formatting.
7770 * gdb.base/smoke.exp: GDB removes leading 0's.
7771 * gdb.base/volatile.exp: Don't check type of remuneration;
7772 that variable is no longer defined in constvars.c.
7773 * gdb.base/step-test.c (main): Exit with explicit exit code.
7774 * gdb.base/step-test.exp: Remove two nexti checks--they are
7775 not portable.
7776
77771999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7778
7779 * gdb.base/help.exp ("help delete display"): Fix test to match
7780 gdb's output.
7781
7782 * gdb.base/long_long.c (known_types): Initialize values to zero.
7783 * gdb.base/long_long.exp: Step one more line
7784 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 7785 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
7786 unique test case names.
7787
7788Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7789
d63a86f8 7790 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
7791
7792 * gdb.c++/method.exp: Add missing close brace.
7793
77941999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7795
7796 * gdb.base/maint.exp: Use 'set height 0' to disable page
7797 prompting, not 'set height 400'.
7798
7799 Fix a bunch of timeouts.
7800 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7801 four separate tests, so expect doesn't take forever to match a ton
7802 of text against a regexp with lots of .* forms.
7803 ("maint print psymbols", "maint print symbols"): Make some of
7804 these greps more selective, so that expect doesn't try to wade
7805 through huge piles of output and time out.
7806
7807 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7808
7809 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7810 tests: one which doesn't expect shlib events to be reported, and
7811 another which does, but is XFAIL for all platforms other than
7812 HP/UX.
7813
7814 * gdb.base/break.exp: Teach the test suite that the `catch
7815 fork', `catch vfork', and `catch exec' commands produce error
7816 messages on platforms that don't provide these features.
7817
7818Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7819
7820 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7821 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7822 (shortening names from solib_threshold.exp etc), won't run on
7823 anything but HP-UX for the foreseeable future.
7824 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7825 reflect move.
7826
7827Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7828
7829 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7830 gdb.trace/Makefile.in (clean): Remove all test executables.
7831
7832Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7833
7834 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7835 successfully re-sets breakpoints in shared libraries.
7836 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7837
7838Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7839
d63a86f8
RM
7840 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7841 and compiled w/o GCC.
c906108c
SS
7842
7843 * gdb.hp/watch-cmd.exp: ditto.
7844
7845 * gdb.hp/watch-hp.exp: ditto.
7846
7847 * gdb.hp/xdb1.exp: ditto.
7848
7849 * gdb.hp/xdb2.exp: ditto.
7850
7851 * gdb.hp/dbx.exp: ditto.
7852
7853Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7854
7855 * constvars.c: Remove C++-isms.
7856 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7857 with GCC.
7858
7859Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7860
7861 The following changes are part of the HP merge.
7862
7863 * gdb.base/break.exp: new tests to verify that catchpoints for
7864 fork, vfork, and exec don't trigger inappropriately.
7865
7866 * gdb.base/opaque.exp: compile one file at a time, then link.
7867
7868 * gdb.base/signals.exp: be more restrictive about which hppa
7869 systems receive a setup_xfail. new tests.
7870
7871 * gdb.base/solib_threshold.build: new file.
7872 * gdb.base/solib_threshold.exp: new file.
7873 * gdb.base/solib_threshold.link_opts: new file.
7874 * gdb.base/solib_threshold.mk: new file.
7875 * gdb.base/gen_solib_threshold.c: new file.
7876
7877 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7878 tests. New tests for enums inside classes.
7879
7880 * gdb.c++/compiler.cc: indicate support of template debugging.
7881
7882 * gdb.c++/demangle.exp: run hp style demangling tests.
7883
7884 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7885 tests.
7886
7887 * gdb.c++/misc.cc: changes to support new tests.
7888
7889 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7890 to support new tests.
7891
7892 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7893 gcc, then skip these tests.
7894
7895Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7896
7897 The following files are part of the HP merge; some had longer
7898 names at HP, but have been renamed to be no more than 14
7899 characters in length.
7900
7901 * gdb.hp/ambiguous.cc: new file.
7902 * gdb.hp/ambiguous.exp: new file.
7903 * gdb.hp/attach.exp: new file.
7904 * gdb.hp/attach2.exp: new file.
7905 * gdb.hp/classes-hp.exp: new file.
7906 * gdb.hp/ctti.exp: new file.
7907 * gdb.hp/ctti-add.cc: new file.
7908 * gdb.hp/ctti-add1.cc: new file.
7909 * gdb.hp/ctti-add2.cc: new file.
7910 * gdb.hp/ctti-add3.cc: new file.
7911 * gdb.hp/dbx.exp: new file.
7912 * gdb.hp/exception.cc: new file.
7913 * gdb.hp/exception.exp: new file.
7914 * gdb.hp/foll-exec.c: new file.
7915 * gdb.hp/foll-exec.exp: new file.
7916 * gdb.hp/foll-fork.c: new file.
7917 * gdb.hp/foll-fork.exp: new file.
7918 * gdb.hp/foll-vfork.c: new file.
7919 * gdb.hp/foll-vfork.exp: new file.
7920 * gdb.hp/inherit-hp.exp: new file.
7921 * gdb.hp/more-steps.exp: new file.
7922 * gdb.hp/namespace.cc: new file.
7923 * gdb.hp/namespace.exp: new file.
7924 * gdb.hp/optimize.exp: new file.
7925 * gdb.hp/pxdb.c: new file.
7926 * gdb.hp/pxdb.exp: new file.
7927 * gdb.hp/quicksort.exp: new file.
7928 * gdb.hp/reg-test.exp: new file.
7929 * gdb.hp/reg-test.s: new file.
7930 * gdb.hp/sized-enum.c: new file.
7931 * gdb.hp/sized-enum.exp: new file.
7932 * gdb.hp/start-stop.exp: new file.
7933 * gdb.hp/templ-hp.cc: new file.
7934 * gdb.hp/templ-hp.exp: new file.
7935 * gdb.hp/thr-lib.c: new file.
7936 * gdb.hp/thr-lib.exp: new file.
7937 * gdb.hp/thr-lib.h: new file.
7938 * gdb.hp/thr-liblib.c: new file.
7939 * gdb.hp/virtfun-hp.c: new file.
7940 * gdb.hp/virtfun-hp.exp: new file.
7941 * gdb.hp/watch-cmd.exp: new file.
7942 * gdb.hp/watch-hp.exp: new file.
7943 * gdb.hp/xdb1.exp: new file.
7944 * gdb.hp/xdb2.exp: new file.
7945 * gdb.hp/xdb3.exp: new file.
7946
7947Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7948
7949 The following files are part of the HP merge; some had longer
7950 names at HP, but have been renamed to be no more than 14
7951 characters in length.
7952
7953 * gdb.base/ss.h: new file.
7954 * gdb.base/call-ar-st.c: new file.
7955 * gdb.base/call-ar-st.exp: new file.
7956 * gdb.base/call-rt-st.c: new file.
7957 * gdb.base/call-rt-st-exp: new file.
7958 * gdb.base/call-strs.exp: new file.
7959 * gdb.base/ena-dis-br.exp: new file.
7960 * gdb.base/environ.exp: new file.
7961 * gdb.base/long_long.exp: new file.
7962 * gdb.base/sect-cmd.exp: new file.
7963 * gdb.base/shlib-cl2.exp: new file.
7964 * gdb.base/smoke.exp: new file.
7965 * gdb.base/so-impl-ld.c: new file.
7966 * gdb.base/so-impl-ld.exp: new file.
7967 * gdb.base/so-indr-cl.c: new file.
7968 * gdb.base/so-indr-cl.exp: new file.
7969 * gdb.base/varargs.exp: new file.
7970 * gdb.base/volatile.exp: new file.
7971 * gdb.base/whatis-exp.exp: new file.
7a292a7a 7972 * gdb.base/display.exp: new file.
c906108c
SS
7973 * gdb.c++/derivation.exp: new file.
7974 * gdb.c++/local.exp: new file.
7975 * gdb.c++/member-ptr.exp: new file.
7976 * gdb.c++/overload.exp: new file.
7977 * gdb.c++/ovldbreak.exp: new file.
7978 * gdb.c++/ref-types.exp: new file.
7979 * gdb.c++/ref-types2.exp: new file.
7980 * gdb.c++/userdef.exp: new file.
d63a86f8 7981
c906108c
SS
7982Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7983
7984 * gdb.base/default.exp: Reflect wording change in remote.c.
7985
dc96c6c7 7986Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7987
7988 * gdb.base/help.exp: Update to reflect current text.
7989
7990Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7991
7992 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7993 they're stack variables and contain garbage.
7994 * gdb.c++/anon-union.exp: new file.
7995
7996 The following changes were made by David Taylor
7997 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7998 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7999 in changes by HP.
8000
8001 * gdb.base/bitops.exp: new file.
8002 * gdb.base/default.exp: change expected messages for catch and
8003 info catch tests to reflect HP merge changes.
8004 * gdb.base/enable-disable-break.exp
8005 * gdb.base/ending-run.c: new file.
8006 * gdb.base/long_long.c: new file.
8007 * gdb.base/maint.exp: new file.
8008 * gdb.base/pointers2.exp: new file.
8009 * gdb.base/shlib-call2.exp: new file.
8010 * gdb.base/solib.exp: new file.
8011 * gdb.base/step-test.c: new file.
8012 * gdb.c++/anon-union.cc: new file.
8013 * gdb.c++/local.cc: new file.
8014 * gdb.c++/member-pointer.cc: new file.
8015 * gdb.c++/method.cc: new file.
8016 * gdb.c++/ref-types.cc: new file.
8017 * gdb.c++/ref-types2.cc: new file.
8018 * gdb.c++/userdef.cc: new file.
d63a86f8 8019
c906108c
SS
8020 * gdb.base/scope.exp: compile one file at a time, then link.
8021 * gdb.base/langs.exp: ditto.
8022 * gdb.base/list.exp: ditto.
d63a86f8 8023
c906108c
SS
8024Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
8025
8026 The following changes were made by David Taylor
8027 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
8028 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
8029 in changes by HP.
d63a86f8 8030
c906108c
SS
8031 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
8032 skip tests. When compiling pass c++ flag to gdb_compile.
8033 * gdb.c++/
d63a86f8 8034
c906108c
SS
8035 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
8036 test for on hppa*-*-hpux*; use args to see if c++ was specified.
8037 (skip_hp_tests): new function.
8038 (gdb_preprocess): new function.
8039
8040 * configure.in (hpdir): decide whether to configure gdb.hp.
8041 * configure: regenerated.
8042
8043 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
8044 to delete on clean.
8045 (EXECUTABLES): update to reflect new additions.
8046 * gdb.base/commands.exp: update message expected.
8047 * gdb.base/default.exp: add copyright notice.
8048 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
8049 * gdb.base/help.exp: update messages to reflect current text.
8050 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
8051 targets for recurse tests.
8052 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
8053 skip this file.
8054
8055 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
8056 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
8057 compilation.
8058 * gdb.c++/misc.exp: ditto.
8059 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
8060 run the tests. tell gdb_compile that it's a c++ compilation.
8061
8062 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 8063
c906108c
SS
8064 * gdb.base/all-bin.exp: new file.
8065 * gdb.base/arithmet.exp: new file.
8066 * gdb.base/assign.exp: new file.
8067 * gdb.base/completion.exp: new file.
8068 * gdb.base/cond-expr.exp: new file.
8069 * gdb.base/condbreak.exp: new file.
8070 * gdb.base/define.exp: new file.
8071 * gdb.base/dollar.exp: new file.
8072 * gdb.base/environment.exp: new file.
8073 * gdb.base/eval-skip.exp: new file.
8074 * gdb.base/jump.exp: new file.
8075 * gdb.base/logical.exp: new file.
8076 * gdb.base/pointers.exp: new file.
8077 * gdb.base/relational.exp: new file.
8078 * gdb.base/section_command.exp: new file.
8079 * gdb.base/whatis-expr.exp: new file.
8080
8081 * gdb.base/all-types.c: new file.
8082 * gdb.base/call-array-struct.c: new file.
8083 * gdb.base/call-return-struct.c: new file.
8084 * gdb.base/call-strings.c: new file.
8085 * gdb.base/callfuncs2.c: new file.
8086 * gdb.base/condbreak.c: new file.
8087 * gdb.base/constvars.c: new file.
8088 * gdb.base/display.c: new file.
8089 * gdb.base/int-type.c: new file.
8090 * gdb.base/jump.c: new file.
8091 * gdb.base/miscexprs.c: new file.
8092 * gdb.base/pointers.c: new file.
8093 * gdb.base/pointers2.c: new file.
8094 * gdb.base/shmain.c: new file.
8095 * gdb.base/shr1.c: new file.
8096 * gdb.base/shr2.c: new file.
8097 * gdb.base/solib.c: new file.
8098 * gdb.base/solib1.c: new file.
8099 * gdb.base/solib2.c: new file.
8100 * gdb.base/varargs.c: new file.
8101 * gdb.c++/derivation.cc: new file.
8102 * gdb.c++/overload.cc: new file.
8103 * gdb.c++/ovldbreak.cc: new file.
8104 * gdb.hp/attach.c: new file.
8105 * gdb.hp/attach2.c: new file.
8106 * gdb.hp/average.c: new file.
8107 * gdb.hp/compiler.c: new file.
8108 * gdb.hp/compiler.cc: new file.
8109 * gdb.hp/execd-program.c: new file.
8110 * gdb.hp/follow-exec.c: new file.
8111 * gdb.hp/follow-fork.c: new file.
8112 * gdb.hp/follow-vfork-and-exec.c: new file.
8113 * gdb.hp/misc-hp.cc: new file.
8114 * gdb.hp/more-steps.c: new file.
8115 * gdb.hp/optimize.c: new file.
8116 * gdb.hp/quicksort.c: new file.
8117 * gdb.hp/run-hp.c: new file.
8118 * gdb.hp/start-stop.c: new file.
8119 * gdb.hp/sum.c: new file.
8120 * gdb.hp/templates-hp.cc: new file.
8121 * gdb.hp/thread-local-in-lib.c: new file.
8122 * gdb.hp/thread-local-in-lib.h: new file.
8123 * gdb.hp/thread-local-in-lib.lib.c: new file.
8124 * gdb.hp/vforked-program.c: new file.
8125 * gdb.hp/virtfunc-hp.cc: new file.
8126 * gdb.hp/watchpoint-hp.c: new file.
8127 * gdb.hp/xdb.c: new file.
8128 * gdb.hp/xdb0.c: new file.
8129 * gdb.hp/xdb0.h: new file.
8130 * gdb.hp/xdb1.c: new file.
8131
8132Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
8133
8134 The following change was made by Edith Epstein
8135 <eepstein@cygnus.com> as part of a project to merge in changes
8136 originally made by HP; HP did not create ChangeLog entries.
8137
8138 * gdb.c++/demangle.exp: changed the expected output for some
8139 ARM-style mangling -- removed second reference to datatype.
8140 For example, maint demangle __dt__11T1__pt__2_cFv
8141 T1<char>::~T1<char>(void)
8142 becomes,
8143 maint demangle __dt__11T1__pt__2_cFv
8144 T1<char>::~T1(void)
8145
8146 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 8147
c906108c
SS
8148Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
8149
8150 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
8151 * gdb.trace/backtrace.exp: Likewise.
8152 * gdb.trace/circ.exp: Likewise.
8153 * gdb.trace/collection.exp: Likewise.
8154 * gdb.trace/deltrace.exp: Likewise.
8155 * gdb.trace/infotrace.exp: Likewise.
8156 * gdb.trace/limits.exp: Likewise.
8157 * gdb.trace/packetlen.exp: Likewise.
8158 * gdb.trace/passc-dyn.exp: Likewise.
8159 * gdb.trace/passcount.exp: Likewise.
8160 * gdb.trace/report.exp: Likewise.
8161 * gdb.trace/save-trace.exp: Likewise.
8162 * gdb.trace/tfind.exp: Likewise.
8163 * gdb.trace/tracecmd.exp: Likewise.
8164 * gdb.trace/while-dyn.exp: Likewise.
8165 * gdb.trace/while-stepping.exp: Likewise.
8166
81671998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
8168
8169 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
8170
8171Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
8172
8173 From Brendan Kehoe:
8174 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
8175 int return types.
8176
8177Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
8178
8179 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
8180 remote dos host testing right.
8181
8182Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
8183
8184 * gdb.base/corefile.exp: remove some xfails.
8185
8186Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
8187
8188 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
8189 have different timestamps.
8190
8191Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
8192
8193 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
8194 gdb.base/default.exp: Replace "exec" with "executable".
8195
8196Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
8197
8198 * gdb.base/default.exp: Change else if to elseif from previous
8199 delta.
8200
8201Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
8202
8203 * gdb.base/default.exp: Add brace missing from previous delta.
8204
8205Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
8206
8207 * gdb.base/default.exp: Support test for info float for all
8208 varieties of arm toolchain.
8209
dc96c6c7 8210Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8211
8212 * gdb.trace/*.exp: remove "remote_download" command.
8213
dc96c6c7 8214Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8215
8216 * gdb.trace/*.exp: remove -gdwarf from compile.
8217
8218Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
8219
8220 * gdb.trace/configure.in(AC_INIT): typo
8221 * gdb.trace/configure: regenerated
8222
dc96c6c7 8223Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8224
8225 * config/m68k-emc.exp: New file.
8226 * lib/<emc-support.exp trace-support.exp}: New files.
8227 * configure.in: add new test directory gdb.trace.
8228 * gdb.trace/{configure configure.in Makefile.in}: New files.
8229 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
8230 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
8231 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
8232 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
8233 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
8234 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
8235 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 8236
dc96c6c7 8237Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8238
8239 * gdb.c++/classes.exp: Change all regular expressions to match
8240 arbitrary combinations of newline/carriage-return, so that they
8241 will work equally well on Unix and Windows.
8242 * gdb.c++/inherit.exp: ditto.
8243 * gdb.c++/virtfunc.exp: ditto.
8244
82451998-08-11 Dawn Perchik <dawn@cygnus.com>
8246
8247 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
8248
c2d11a7d
JM
8249Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
8250
8251 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
8252 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
8253 to use a0-a3/d0-d3 as needed.
8254
8255Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
8256
8257 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
8258 * gdb.disasm/am33.exp: Corresponding changes.
8259
c906108c
SS
82601998-07-11 Felix Lee <flee@cygnus.com>
8261
8262 * gdb.base/callfuncs.exp: add cmp10 test.
8263 * gdb.base/callfuncs.c (cmp10): new function.
8264
8265Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
8266
d63a86f8 8267 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
8268 into two parts to get around a synchronization problem in expect.
8269
3fc11d3e
JM
8270Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
8271
8272 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
8273
8274 * configure.in: Add options for gdbtk testsuite.
8275
8276 * configure: Regenerate.
8277
8278 * gdb.gdbtk: New directory to hold gdbtk tests.
8279
c906108c
SS
8280Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8281
8282 * gdb.fortran/types.exp: Escape brackets in expect patterns
8283 for test_float_literal_types_accepted tests.
8284 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
8285 before run test.
8286
c2d11a7d
JM
8287Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
8288
8289 * am33.exp: Just compile, do not link the testcase.
8290 * am33.s: Add ".am33" pseudoop to force am33 mode.
8291
c906108c
SS
82921998-06-25 Felix Lee <flee@cygnus.com>
8293
8294 * gdb.base/setshow.exp: make sure $pc is sane.
8295
8296 * gdb.stabs/weird.exp: split expect patterns properly.
8297
c2d11a7d
JM
8298Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
8299
8300 * gdb.disasm/am33.s: New disassembler testfile for the am33.
8301 * gdb.disasm/am33.exp: Run it.
8302
dc96c6c7 8303Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8304
8305 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
8306 match processing (and eliminate spurious timeouts when running).
8307
dc96c6c7 8308Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8309
8310 * gdb.base/signals.exp (test_handle_all_print): put back Mach
8311 exception test, but conditionalize it on target [mach | gnu].
8312
dc96c6c7 8313Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8314
8315 * gdb.base/overlays.exp: fixup compile line for linker script.
8316
8317Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
8318
8319 * gdb.fortran/types.exp: don't guess at float size.
8320
8321Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
8322
8323 * gdb.base/exprs.exp: delete test that depends on int size.
8324
8325Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
8326
8327 * config/sim.exp: Removed checks for target triplets.
8328 (gdb_target_sim): Use gdb,target_sim_options.
8329
8330Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
8331
8332 * gdb.base/reread.exp: New file.
8333 * gdb.base/reread1.c: New file.
8334 * gdb.base/reread2.c: New file.
8335
8336Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
8337
8338 * config/sim.exp: Use 'target sim -sparclite' when running
8339 SPARClite programs.
8340
8341Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
8342
8343 * gdb.base/structs2.exp: New file.
8344 * gdb.base/structs2.c: New file.
8345
8346Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
8347
8348 * gdb.asm/common.inc: New file.
8349 * gdb.asm/d10v.inc: New file.
8350 * asm-source.exp: Pass -I's to gas to find .inc files.
8351 Update line numbers in expected output.
8352 * asmsrc1.s: Rewrite.
8353 * asmsrc2.s: Rewrite.
8354 * configure.in: Create arch.inc symlink.
8355 * configure: Regenerate.
8356 * Makefile.in (distclean): Delete arch.inc.
8357
8358Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
8359
8360 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
8361 (t_enum_value2): ditto
8362 (t_enum_value3): ditto
8363 (main): ditto
8364Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8365
8366 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
8367 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
8368 change.
8369 Use gdb_test instead of send_gdb/gdb_expect sequences.
8370
8371Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
8372
8373 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
8374 not void.
8375
8376Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
8377
8378 * gdb.base/branches.c: Code with lots of loops and
8379 subroutines. Used to test gdbs ability to single step through PC
8380 changes, especially to test mips-tdep.c:mips_next_pc
8381
8382Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
8383
8384 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
8385 more rigorous EGCS C++ error checking.
8386
8387Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8388
8389 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 8390 tests.
c906108c 8391 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 8392 function when asleep.
c906108c 8393 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
8394 for i*86 Linux and SVR4 signal handling problems.
8395 Remove linux xfail for `next to handler in signals_tests_1', fixed
8396 by recent infrun.c change.
c906108c 8397 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 8398 stack backtraces.
c906108c
SS
8399 Adjust expect pattern in `handle all print' test to match Apr 28 1997
8400 target.[ch] change.
8401
8402Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
8403
8404 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
8405 for a newline from gdb before continuing.
8406 (default_gdb_exit): Just look for y or n.
8407 (gdb_test): Detect abnormal exit from GDB running on DOS; if
8408 it does, fail the rests of the tests in the file.
8409
8410Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
8411
8412 * config/cygmon.exp: New file.
8413
8414Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
8415
8416 * gdb.base/list.exp: Fix problem with "list default lines around
8417 main" test on remote targets.
8418
8419 * gdb.base/scope.exp: Fix problem with filelocal_bss before
8420 run test on remote targets.
8421
8422Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
8423
8424 * gdb.asm: New directory.
8425 * configure.in: Configure it.
8426 * configure: Regenerate.
8427 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
8428 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
8429
8430Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
8431
8432 * config/mn10300-eval.exp: New file to support MN10300 eval board.
8433
dc96c6c7 8434Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8435
c906108c
SS
8436 * gdb.base/overlays (several files): Merge the two overlay
8437 managers into one. Change variables (foox, barx, bazx, grbxx)
8438 back into ints but force them to load in their proper sections.
8439
8440Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
8441
8442 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
8443 on-chip insn memory and IMAP1 to upper 128k.
8444 (D10VCopy): Handle memory regions crossing 16k boundaries.
8445 (D10VCopy): Transfer data in 32 bit chunks.
8446
8447Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
8448
8449 * gdb.base/overlays.c (main): Exit normally when result is
8450 correct.
8451
8452 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
8453 map. Include space for printf in .text segment.
8454
8455 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
8456 updated d10v memory VMA/LMA map.
8457 (D10VCopy): Call D10VTranslate.
d63a86f8 8458
c906108c
SS
8459Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
8460
8461 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8462
8463 * gdb.base/bar.c (barx, bar): Change variable to small array so
8464 that it won't be put into the .sdata - small data -
8465 section. Update reference.
8466 * gdb.base/baz.c (bazx, baz): Ditto.
8467 * gdb.base/foo.c (foox, foo): Ditto.
8468 * gdb.base/grbx.c (grbxx, grbx): Ditto.
8469
8470 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8471 to be arrays.
d63a86f8 8472
dc96c6c7 8473Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8474
c906108c
SS
8475 * gdb.base/overlays.exp: fix up and get working again.
8476 Add tests for backtraces from an overlay function.
d63a86f8 8477
c906108c
SS
8478Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
8479
8480 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8481 "calling function with watchpoint enabled".
8482
8483Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
8484
8485 * gdb.base/break.exp (test_next_with_recursion): Remove
8486 gdb_suppress_tests for d10v-*-*.
8487 * lib/gdb.exp (gdb_suppress_tests): Disable this function
8488 pending review of whether it is useful or not.
8489
8490Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
8491
8492 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8493
8494Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
8495
8496 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8497 * config/dve.exp: New file to support Densan boards.
8498
8499Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
8500
8501 * gdb.base/interrupt.exp: Document problem of simulators, signals,
8502 reads and BSD.
8503
8504Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
8505
8506 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8507 response.
8508
8509 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8510
8511Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
8512
8513 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8514 test.
8515
8516 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8517 target_sizeof_long and target_bigendian_p.
8518 (structs_by_value, structs_by_reference): Check values according
8519 to targets word size and endianess.
d63a86f8 8520
c906108c
SS
8521Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
8522
8523 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8524 output.
8525
8526Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
8527
8528 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8529 Update test of set args help to match source change.
8530
8531Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
8532
8533 * gdb.base/default.exp: Expect help system output to be in
8534 alphabetical order.
8535 * gdb.base/help.exp: Ditto.
8536
8537Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
8538
8539 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8540 "i*86-pc-linux-gnu*".
8541 * gdb.base/interrupt.exp: Ditto.
8542 * gdb.base/corefile.exp: Ditto.
8543
8544 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8545 define vxworks when building the testcase.
8546
8547 * gdb.base/ptype.exp: Fix testnames to be unique.
8548 * gdb.base/radix.exp: Ditto.
8549 * gdb.base/term.exp: Ditto.
8550 * gdb.base/whatis.exp: Ditto.
8551 * gdb.c++/classes.exp: Ditto.
8552
8553Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
8554
8555 * gdb.base/callfuncs.exp: Fix indentation.
8556
8557 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8558 suppress_flag has been set.
8559 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8560 target feature.
8561
8562Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
8563
8564 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8565 the testcase.
8566
8567 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8568 set_debug_traps() and breakpoint().
8569 * gdb.c++/misc.cc (main): Ditto.
8570 * gdb.c++/templates.cc (main): Ditto.
8571 * gdb.c++/virtfunc.cc (main): Ditto.
8572
8573Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8574
8575 * lib/gdb.exp(gdb_step_for_stub): New function.
8576 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8577 exists, reload the executable and do a "continue" instead of
8578 doing a jump.
8579 (runto_main): Use gdb_step_for_stub.
d63a86f8 8580
c906108c
SS
8581 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8582 tests to have unique names.
8583 * gdb.base/callfuncs.exp: Ditto.
8584 * gdb.base/commands.exp: Ditto.
8585 * gdb.base/default.exp: Ditto.
8586 * gdb.base/help.exp: Ditto.
8587 * gdb.base/list.exp: Ditto.
8588 * gdb.base/opaque.exp: Ditto.
8589 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8590 similar tests.
d63a86f8 8591
c906108c
SS
8592 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8593 * gdb.c++/cplusfuncs.cc: Ditto.
8594 * gdb.c++/virtfunc.cc: Ditto.
8595
8596 * config/monitor.exp: Keep track of the last file we saw, rather
8597 than trying to get the info from gdb.
8598
8599 * gdb.fortran/types.exp: Move comment to previous line.
8600
8601Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8602
8603 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8604 target mode.
8605
8606Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8607
8608 From Bob Manson:
8609 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8610 string from GDB when it connects.
8611
8612 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8613
8614Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8615
8616 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8617 if we can't get a debug format from GDB (we may be testing an
8618 older GDB). Use a 10 second timeout when checking for the format.
8619
8620 * gdb.stabs/weird.exp: Fix quoting.
8621
8622 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8623
8624Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8625
8626 * config/arm-ice.exp: New file.
8627
8628Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8629
8630 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8631 until it has been modified to work with the new testsuite.
8632
99707966 8633 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
8634 testcase won't compile, cause all of the testcases in the file to
8635 fail instead.
8636
8637 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8638 (gdb_clear_suppressed): New procedure.
8639 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8640 it contains a positive value.
8641
8642Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8643
8644 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8645
8646 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8647
8648Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8649
8650 * lib/gdb.exp (setup_xfail_format): New function.
8651 (get_debug_format): New function to get debug format.
8652 (debug_format): New global variable to hold last value set
8653 by get_debug_format.
8654 * gdb.base/list.exp: Call get_debug_format and expect some
8655 tests to fail for DWARF 1 and COFF formats.
8656 * gdb.c++/ptype.exp: Ditto.
8657 * gdb.c++/classes.exp: Ditto.
8658 * gdb.c++/cplusfuncs.exp: Ditto.
8659 * gdb.c++/inherit.exp: Ditto.
8660 * gdb.c++/templates.exp: Ditto.
8661 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 8662
c906108c
SS
8663Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8664
8665 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8666 host doesn't have a currently-open connection.
8667
8668 * config/sparclet.exp: Cleanups and fixes to make it generic for
8669 any gdb stub target. Handle cases where gdb doesn't respond when
8670 interrupted in a sane fashion.
8671
8672 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8673 same thing in a totally different way.
8674
8675 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8676 setting "timeout".
8677 (gdb_start): We set the global gdb_prompt variable in
8678 default_gdb_init now.
8679
8680Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8681
8682 * gdb.base/printcmds.exp: Fix "check for floating addition"
8683 regexp to accept results within approx +/- .01 of exact value.
8684 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8685
8686Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8687
8688 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8689 properly.
8690 (gdb_expect): Add optional timeout parameter, and add timeout
8691 value to various calls.
8692 (gdb_suppress_tests): Only give one warning message per group.
8693
8694Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8695
8696 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8697 global variables. Handle getting a value for $timeout more
8698 gracefully.
8699
8700Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8701
8702 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8703 initialize.
8704 (default_gdb_init): New procedure; allow gdb_init to be overridden
8705 by a target configuration file.
8706 (gdb_expect): Pass the timeout to remote_expect.
8707
8708 * config/monitor.exp(gdb_load): Fix typo in regexp.
8709
8710Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8711
8712 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8713
8714Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8715
8716 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8717 here. Call gdb_target_exec before rebooting the target, to make
8718 sure the connection to the target is closed.
8719 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8720 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8721 Also detect "Timeout reading from remote" error.
8722
8723 * config/gdbserver.exp: Pass the executable being loaded to
8724 gdb_target_monitor. Don't call gdb_file_cmd here; let
8725 gdb_target_monitor do it.
8726
8727 * gdb.disasm/hppa.exp: Don't use exec_output.
8728
8729Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8730
8731 * gdb.base/list.exp: If we're debugging a non-native target,
8732 try to set the pc register to point to the start of the
8733 program before doing the first list command.
8734
8735 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8736 test_calls after restarting.
8737
8738 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8739 reloading.
8740
8741 * gdb.base/watchpoint.exp: Fix typo.
8742
8743 * gdb.base/setshow.exp: Check for use_gdb_stub.
8744
8745 * gdb.base/break.exp: Fix continue until exit test for the gdb
8746 stub case.
8747 * gdb.base/langs.exp: Ditto.
8748
8749 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8750 gdb_load_offset. If we weren't given a file to load, figure out
8751 what the current file is and use it.
8752
8753 * config/i386-bozo.exp: New file.
8754
8755Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8756
8757 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8758 feature.
8759
8760 * config/proelf.exp: New entry.
8761
8762Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8763
8764 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8765 of regexps.
8766
8767 * gdb.base/watchpoint.exp: Don't run the test_stepping
8768 tests if gdb can't call functions on the target.
8769
8770 * gdb.base/setshow.exp: Don't run the set prompt tests if
8771 the board has gdb_prompt set.
8772
8773Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8774
8775 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8776 * gdb.base/commands.exp: Likewise.
8777 * gdb.base/setshow.exp: Likewise.
8778
8779Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8780
8781 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8782 feature.
8783
8784 * config/i960.exp: New file.
8785
8786Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8787
8788 * gdb.base/funcargs.exp: Check for gdb,short_int target
8789 feature instead of looking for explicit target triplets.
8790
dc96c6c7 8791Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 8792
d63a86f8 8793 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
8794 "p 123DEADBEEF", to check parse_number.
8795 * top.c: change "to enable to enable" to "to enable" in a couple
8796 of help strings.
8797
8798Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8799
8800 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8801 on the mn10300.
d63a86f8 8802
c906108c
SS
8803Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8804
8805 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8806 where the test executable is run with explicit args.
8807 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8808
8809Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8810
8811 * gdb.base/run.c: Use FAKEARGV to build test executable that
8812 does not require a command line arg, since most simulators
8813 don't currently support passing such an arg into the simulated
8814 program.
8815 * gdb.base/commands.exp: Change tests to insert the proper
8816 value as the arg to the first recursive factorial call. Change
8817 compilation line to define FAKEARGV at compile time.
8818
8819Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8820
8821 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8822 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8823 function with watchpoint enabled" test.
8824
8825Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8826
8827 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8828 Don't call gdb_test when the command doesn't return to a gdb prompt.
8829
8830 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8831 "Tests restarted" messages.
8832
8833Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8834
8835 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8836
dc96c6c7 8837Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8838
8839 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8840 for INFO SYMBOL; add help tests for OVERLAY commands.
8841 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8842 add tests for OVERLAY commands
8843 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8844 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8845 * gdb.base/sigall.c: add usestubs code frag
8846 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 8847
c906108c
SS
8848Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8849
8850 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8851 failures.
8852 (gdb_stop_suppressing_tests): Note that tests have restarted.
8853
8854Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8855
8856 * config/h8300.exp: New file.
8857
8858Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8859
8860 * gdb.base/setshow.exp: Check for the existence of a
8861 feature, not its value.
8862
8863Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8864
8865 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8866
8867 * gdb.base/scope.exp: It's now init0(), not init().
8868
8869 * gdb.base/scope0.c: For now, change init() to be init0().
8870
8871 * config/monitor.exp: Use gdb_serial in preference to serial
8872 or netport.
8873
8874 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8875 and it's not already set.
8876
8877Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8878
8879 * gdb.base/setshow.exp: Only test the run command if the target
8880 isn't using a stub and if it supports argument passing.
8881
8882Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8883
8884 * config/udi.exp(gdb_start): Make sure UDICONF is set
8885 properly before starting gdb.
8886
8887Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8888
8889 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8890 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8891 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8892
8893Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8894
8895 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8896 specialized code to reboot the board, use remote_reboot instead.
8897
8898 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8899
8900 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8901
8902 * config/monitor.exp: Make sure we disconnect from the target.
8903 Also, try a reboot/reload cycle instead of failing if the
8904 load fails.
8905
8906Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8907
8908 * gdb.base/default.exp: Don't set match_max.
8909 * gdb.base/help.exp: Ditto.
8910 * gdb.base/list.exp: Ditto.
8911 * gdb.base/signals.exp: Ditto.
8912
8913 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8914 set, use remote_ld to download the testcase instead of
8915 the GDB loader.
8916
8917Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8918
8919 * config/vr5000.exp: New file.
8920
8921 * config/monitor.exp(gdb_target_monitor): Add pattern for
8922 "Ending remote" to detect errors in connecting.
8923
8924 * gdb.base/setshow.exp: Add .* within auto language test.
8925
8926 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8927 target feature.
8928
8929 * config/monitor.exp(gdb_load): Check for a failure when loading,
8930 and reboot the board if necessary.
8931
8932 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8933 a set of tests. Remove print.* from the patterns being checked.
8934
8935Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8936
8937 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8938 refer to gdb_spawn_id.
8939
8940 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8941 longer used.
8942 * config/sparclet.exp: Ditto.
8943 * config/sparclet-old.exp: Ditto.
8944 * config/slite.exp: Ditto.
8945 * config/sim.exp: Ditto.
8946 * gdb.base/funcargs.exp: Ditto.
8947
8948 * lib/gdb.exp:Remove references to gdb_spawn_id.
8949 (gdb_expect): Move to remote.exp.
8950
8951Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8952
8953 * config/monitor.exp: Detect the "Couldn't establish connection"
8954 message from GDB.
8955
8956Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8957
8958 * gdb.base/bitfields.exp: Use runto instead of explicit
8959 gdb_run_cmd/gdb_expect sequences.
8960
8961 * gdb.base/break.exp(text_next_with_recursion): Add match for
8962 gdb_expect call.
8963
8964 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8965 We also need to handle the "A program is being debugged already"
8966 prompt from gdb. Use gdb_test to set the baud rate.
8967
8968 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8969 to 20000. Really. I mean it.
8970
8971Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8972
8973 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8974 fails. If suppress_flag is set, skip perror message about not
8975 being able to send to GDB.
8976 (send_gdb): If suppress_flag is set, don't try to send commands to
8977 GDB.
8978 (gdb_expect): If suppress_flag is set, always fail immediately.
8979 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8980 (gdb_init): Call gdb_stop_suppressing_tests.
8981 (default_gdb_exit): Ditto.
8982 (default_gdb_start): Ditto.
8983
8984 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8985 gdb_stop_suppressing_tests as appropriate.
8986 * gdb.base/break.exp: Ditto.
8987 * gdb.base/callfuncs.exp: Ditto.
8988 * gdb.base/commands.exp: Ditto.
8989 * gdb.base/exprs.exp: Ditto.
8990 * gdb.base/funcargs.exp: Ditto.
8991 * gdb.base/list.exp: Ditto.
8992 * gdb.base/recurse.exp: Ditto.
8993 * gdb.base/scope.exp: Ditto.
8994 * gdb.base/structs.exp: Ditto.
8995 * gdb.c++/inherit.exp: Ditto.
8996
8997Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8998
8999 * config/vr4300.exp: New file.
9000
99707966 9001 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 9002
99707966 9003 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
9004
9005Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
9006
9007 * lib/gdb.exp(gdb_init): New function.
9008
9009 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
9010 for each individual variable set.
9011
9012 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
9013 name.
9014
9015 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
9016
9017 * gdb.base/scope.exp: Use gdb_test.
9018
9019 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
9020 aborting; the testsuite driver will do that for us (see
9021 gdb_finish). Also, use gdb_test in a few more places.
9022
9023Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
9024
9025 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
9026
9027Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
9028
9029 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
9030 and "add_tests" are not at the same address.
9031
9032Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
9033
9034 * gdb.base/ptype.exp: Use gdb_test.
9035
9036Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
9037
9038 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
9039 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
9040 left in. No longer expect them to fail.
9041
9042 * gdb.stabs/*.mt; Deleted, no longer used.
9043 * gdb.stabs/configure.in: Remove references to target makefile
9044 frags.
9045 * gdb.stabs/configure: Rebuilt.
9046
9047 * gdb.disasm/*.mt: Deleted, no longer used.
9048 * gdb.disasm/configure.in: Remove references to target makefile
9049 frags. Use "sh3.s" as the unique filename for this directory.
9050 * gdb.disasm/configure: Rebuilt.
9051
9052 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
9053 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
9054 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
9055
9056Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
9057
9058 * config/udi.exp: Use mondfe,name instead of remote_host.
9059
9060Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
9061
9062 * gdb.base/watchpoint.exp: Don't expect a failure when calling
9063 a function with a watchpoint enabled on the mn10200.
9064
9065 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
9066 before trying to create it!
9067
9068Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
9069
9070 * config/vx.exp: Use hostname instead of netport.
9071
9072 * config/vxworks.exp: New file.
9073
9074 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
9075
9076 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
9077 gdb before assuming everything worked. Send a ^C if a timeout
9078 occurs.
9079
9080 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
9081 $gdb_spawn_id directly.
9082 (gdb_run_cmd): Try _start as well as start. Use the target feature
9083 gdb,start_symbol as the symbol to start from when jumping.
9084
9085Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
9086
9087 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
9088 redundant) test.
9089
9090 * gdb.base/recurse.exp: Relax final value test for 'b' so that
9091 it doesn't lose for 16bit integer systems.
9092
9093Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
9094
9095 * gdb.fortran/types.exp: If the target doesn't support "double"
9096 data types, then expect "real" types to only be 4 bytes.
9097
9098 * gdb.c++/virtfunc.exp: Expect failure for virtual function
9099 call tests if the target doesn't support inferior function calls.
9100
9101 * gdb.base/printcmds.exp: Allow minor deviation in FP values
9102 in printf tests.
9103
9104Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
9105
9106 * gdb.base/help.exp: Disable "help set", "help show", and
9107 "help support". Simplify regexp for "help stack".
9108
9109 * gdb.base/default.exp: Set match_max to 5000 and the timeout
9110 to 60 seconds. Temporarily set match_max to 15000 around the
9111 "info copying" test.
9112
9113 * gdb.base/nodebug.exp: Don't try to do an inferior function
9114 call if the target doesn't support them.
9115 * gdb.base/printcmds.exp: Likewise.
9116 * gdb.base/setvar.exp: Likewise.
9117 * gdb.base/structs.exp: Likewise.
9118 * gdb.c++/templates.exp: Likewise.
9119 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
9120
9121 * gdb.base/recurse.exp: Enable for the mn10200.
9122
9123 * configure.in: Do configure gdb.stabs directory for *-*-elf
9124 targets.
9125 * configure: Rebuilt.
9126
9127 * gdb.base/break.exp: Check for gdb,noresults before testing
9128 exit status and/or results from the target.
9129 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
9130 * lib/gdb.exp: Remove old (now bogus) initialization of
9131 noinferior, noargs, noresults and nosignals.
9132
9133Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
9134
9135 * config/sh.exp: New file.
9136
9137 * config/slite.exp: Try to connect multiple times to the board
9138 before rebooting. Only send a "monitor run" if need_monitor_run
9139 is set.
9140
9141 * gdb.base/break.exp: Don't do the "stub continue" test if
9142 the target has gdb_stub set.
9143
9144 * gdb.base/callfuncs.exp: Increase the timeout.
9145
9146 * gdb.base/interrupt.exp: Don't even try to compile the testcase
9147 if the target has gdb,noinferiorio set.
9148
9149 * gdb.base/list.exp: Increase match_max to 10000 characters.
9150
9151 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
9152
9153 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
9154 target.
9155
9156 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
9157
9158Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
9159
9160 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
9161 trying to delete the copy of gdb. Catch the file delete so we
9162 don't die if the delete fails; also, the file should be copied to
9163 the host, not to the build.
9164
9165Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
9166
9167 * lib/gdb.exp(gdb_test): Surround the result pattern with
9168 parenthesis in case it contains multiple regexps separated
9169 with |.
9170
9171 * gdb.base/watchpoint.exp: Use gdb_test.
9172 * gdb.base/default.exp: Ditto.
9173
9174Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
9175
99707966 9176 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 9177
c906108c
SS
9178 * gdb.base/scope.exp: Use gdb_test.
9179 * gdb.c++/classes.exp: Ditto.
9180 * gdb.c++/inherit.exp: Ditto.
9181
9182Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
9183
9184 * gdb.base/crossload.exp: Don't use execute_anywhere, use
9185 remote_exec instead.
9186 * gdb.base/corefile.exp: Don't be ridiculous.
9187 * gdb.base/*.c: Add missing stub invocations.
9188
9189Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
9190
9191 * config/slite.exp: Miscellaneous fixes.
9192
9193 * lib/gdb.exp: Fix runto.
9194
9195 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
9196 the target.
9197
9198 * gdb.base/watchpoint.exp: Fix regexp.
9199
9200 * lib/gdb.exp(default_gdb_exit): Add a catch to the
9201 close and wait commands, as the descriptor may now be
9202 invalid. Always call "remote_close host".
9203
9204Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
9205
9206 Major rewrite for testsuite revision.
d63a86f8 9207
c906108c
SS
9208 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
9209 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
9210 instead of relying on spawn_id to always contain a valid
9211 spawn id.
9212 (get_compiler_info): New procedure to build the ${binfile}.ci
9213 file, instead of replicating this in N different places.
9214 (gdb_compile): New procedure.
d63a86f8 9215
c906108c
SS
9216 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
9217 appropriate arguments) instead of compile. Use gdb_test in a lot
9218 more places. Use send_gdb instead of send. Always run gdb_start
9219 at the start of a testcase, as this is no longer done magically.
9220
9221 config/*-gdb.exp: Rename without the -gdb suffix.
9222
9223 config/mips.exp: Use remote_close instead of exit_remote_shell.
9224 config/monitor.exp: Use target_info instead of looking at
9225 baud, timeout, etc.
9226 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
9227
9228Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9229
9230 * gdb.c++/templates.exp (test_ptype_of_templates),
9231 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
9232 Update expect patterns for destructors and assignment operators
9233 to match corresponding c-typeprint.c changes.
9234 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
9235 to destructor breakpoint test, GDB should be able to set the
9236 destructor breakpoint without specifying arguments.
9237
9238Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
9239
9240 * gdb.threads/pthreads.exp: Change result for failure to compile due
9241 to lack of pthreads runtime support from an error to simply an
9242 unsupported test, per dejagnu standards.
9243
9244Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9245
9246 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
9247 where GDB exits to reduce pattern match time.
9248 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
9249
9250 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
9251
dc96c6c7 9252Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9253
9254 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
9255 * gdb.base/default.exp: ditto.
9256 * gdb.base/nodebug.exp: ditto.
9257 * gdb.base/printcmds.exp: ditto.
9258 * gdb.base/ptype.exp: ditto.
9259 * gdb.base/setvar.exp: ditto.
9260 * gdb.base/structs.exp: ditto.
9261 * gdb.base/setshow.c: Guard against uninitialized values of argc.
9262
9263Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
9264
9265 * configure, */configure: Rebuild with autoconf 2.12.
9266
9267Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
9268
9269 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
9270 use new i*86-pc-linux*-gnu quads.
9271 * gdb.base/corefile.exp: Ditto.
9272 * gdb.base/signals.exp: Ditto.
9273 * gdb.base/sigall.exp: Ditto.
9274 * gdb.base/interrupt.exp: Ditto.
9275
9276 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
9277 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
9278 RedHat 4.0.
d63a86f8 9279
c906108c
SS
9280 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
9281 linux. This allows the test case to at least compile on latest
9282 linux, but still not run due to missing the threads runtime library.
9283
9284Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9285
9286 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
9287 directory to search gdb directory. Accept and step over conditional
9288 stack alignment code. Consume $prompt in failure cases.
9289 Reset timeout to $oldtimeout instead of some arbitrary value.
9290 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
9291 timeout problems with infinite stack backtraces.
9292 * gdb.base/ptype.exp (ptype struct link, union tu_link):
9293 Accept function parameters for linkfunc member.
9294
9295Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
9296
9297 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
9298 (CXXFLAGS): Remove, unreferenced.
9299 (B_OPTIONS): Add for -B options and add code to initialize with
9300 previous -B options and also add -B option to pick up cross compiled
9301 runtime.
9302 (TARGET_INCLUDES): Add for -I options and add code to initialize when
9303 doing cross compiles.
9304 (target_alias): Declare global.
9305 (xgcc): Set variable to full path of gcc in build tree. Use findfile
9306 to verify that gcc exists in build tree, and if so set CC to that
9307 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 9308
c906108c
SS
9309Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
9310
9311 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
9312 ptype test for anonymous union. Fixup testcase to match
9313 current gcc debug output.
9314
9315Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
9316
9317 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
9318 force argument to an unsigned long type.
9319
9320Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
9321
9322 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
9323 tests and anonymous union print/ptype tests.
9324 * gdb.base/list.exp (test_forward-search): Increase timeout by
9325 5 minutes for the "search extremely long line" case.
9326 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
9327 completely optional and that the pass/fail messages use the command as
9328 the message if that third arg is a null string.
9329 (gdb_test_exact): Arrange that a null string pattern means match a
9330 null string output rather than any output, which might include random
9331 errors.
9332 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
9333 backtrace test.
9334 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
9335 always failing and failure is now exposed by gdb.exp changes.
9336
9337Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
9338
9339 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
9340 weren't being noted.
9341
9342Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9343
9344 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
9345 * gdb.stabs/weird.exp: Remove v_comb xfails.
9346
dc96c6c7 9347Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9348
9349 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
9350 list.exp scope.exp watchpoint.exp]
9351 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 9352
dc96c6c7 9353Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9354
9355 * config/monitor.exp: Increase download timeout to 1000 seconds.
9356
dc96c6c7 9357Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9358
9359 * config/m32r.exp: Increase timeout to 120 seconds.
9360
9361Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
9362
9363 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
9364 and accept older ordering as obsolescent gcc or gdb.
9365 * gdb.c++/templates.exp: Ditto.
9366 * gdb.c++/virtfunc.exp: Ditto.
9367
9368Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
9369
9370 * gdb.base/coremaker.c: Add code to mmap some data so we
9371 can check that it ends up in the core file.
9372 * gdb.base/corefile.exp: Add test to read mmapped data
9373 from core file.
9374
dc96c6c7 9375Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9376
9377 * config/m32r.exp: New file.
9378
9379Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
9380
9381 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
9382 that cflags can contains -gstabs, and work correctly for other tests.
9383
dc96c6c7 9384Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9385
9386 * gdb.base/setshow.exp: New file, tests show and set.
9387 * gdb.base/setshow.c: New file, tests show and set.
9388 * gdb.base/help.exp: Add test for help set|show annotate.
9389 * gdb.base/default.exp: Add test for set|show annotate.
9390
9391Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
9392
9393 * testsuite/gdb.base/break.exp: Make backtrace from factorial
9394 errors unique.
9395 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
9396 explicitly.
9397
9398Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
9399
9400 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
9401 and width commands. This is done elsewhere.
9402 * (gdb_start): Don't call gdb_start_sim here. That's already
9403 done in gdb_load. This fixes lots of failures in default.exp.
9404
9405Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
9406
9407 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
9408 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
9409 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
9410 in the same we we treat other failures (since it may be an expected
9411 condition), rather than as an error.
9412 * gdb.base/signals.exp (test_handle_all_print): Revert back to
9413 old test format.
9414
9415Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
9416
9417 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
9418 (distclean maintainer-clean realclean): No need to remove files
9419 twice. Nuke the duplicates.
9420 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 9421 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
9422 Remove config.h along with other config files.
9423
9424Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
9425
9426 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
9427 "p func1 ()" and note that rests of tests are skipped.
9428 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
9429 setup_xfails for "print func2::coremaker_local".
9430 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
9431 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
9432 affected by the previous run test.
9433 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
9434 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
9435 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
9436 "pass int powerset tuple" and "pass modeless int powerset tuple".
9437 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
9438 "real write 4" and "real write 8".
9439 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
9440 setup_xfails for "print vs1 after tuple assign 2",
9441 "print \$i after tuple assign 2", and
9442 "print vs2 after tuple assign 2".
9443 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
9444 meaningful error message and return -1 so the caller can
9445 suppress further tests and avoid a cascade of errors.
d63a86f8 9446
c906108c
SS
9447Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
9448
9449 * gdb.base/a1-selftest.exp: Tweak tests to account for new
9450 format for printing version.
9451 * gdb.base/default.exp: Ditto.
9452 * gdb.base/interrupt.exp: Fix problem with cascade of
9453 errors if child process dies while calling a function.
d63a86f8 9454
c906108c
SS
9455Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
9456
9457 * Makefile.in (VPATH): Add
9458 * Makefile.in (Makefile, config.status): Fix rules so things get
9459 remade when necessary.
9460
9461Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
9462
9463 * Makefile.in (just-check): Add path to sibling expect dir
9464 to environment variable specified by RPATH_ENVVAR.
9465
9466Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
9467
9468 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9469 (just-check): Add shared library paths for libstdc++, tk,
9470 tcl, bfd, and opcodes to the environment variable specified
9471 in RPATH_ENVVAR.
9472 * configure.in: Add support to recognize --enable-shared flag
9473 and generate correct value for RPATH_ENVVAR.
9474 * configure: Regenerated with autoconf.
9475
9476Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
9477
9478 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9479 include all osf versions.
9480 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9481 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
9482 when target is linux. When failing to build pthreads test
9483 executable, give more meaningful message.
9484 * gdb.threads/pthreads.c: Hpux also uses old definition of second
9485 arg for pthread_create.
d63a86f8 9486
c906108c
SS
9487Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
9488
9489 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9490 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9491 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9492 and -lpthreads (everybody else).
9493 (test_startup): Fail gracefully if threads are not supported.
9494 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9495 "p/c array_index("abcdef",2)" when not gcc compiled.
9496 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9497 "print func2::coremaker_local" when not gcc compiled.
9498 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9499 "ptype on opaque struct tagname (statically)",
9500 "ptype on opaque struct tagname (dynamically) 1", and
9501 "ptype on opaque struct tagname (dynamically) 2"
9502 for not compiled with gcc.
9503 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9504 backtrace when compiled with gcc.
d63a86f8 9505 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
9506 than always return success.
9507
9508Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
9509
9510 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9511
9512Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
9513
9514 * gdb.base/structs.exp: Undo last change.
9515
9516Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
9517
9518 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9519 encapsulate all the steps/nexts done during self test, starting
9520 at main, and makes them less sensitive to optimization issues.
9521 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9522 signal handler" test.
9523 * gdb.threads/pthreads.exp: Only run this for native configs.
9524 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9525 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9526 tests.
9527 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9528 for "runto test_calls(void)" test.
d63a86f8 9529
c906108c
SS
9530Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
9531
9532 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9533 and don't expect address info in breakpoint confirmations.
9534
9535Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
9536
9537 * gdb.base/list.exp (test_forward_search): Increase timeout
9538 temporarily by 60 seconds for searching extremely long line,
9539 and then reset to old value when done. Increase expect input
9540 buffer to 10000.
9541
9542Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
9543
9544 * gdb.base/list.exp (test_forward_search): Fix to handle very
9545 long source line without overflowing expect's input buffer.
9546
9547Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
9548
9549 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9550 "buffer_full".
9551
9552 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9553 "buffer_full".
9554
9555 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9556 "buffer_full".
9557
9558 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9559 "buffer_full".
9560
9561Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
9562
9563 * configure.in (configdirs): Add gdb.threads.
9564 * configure: Regenerated with autoconf.
9565 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9566 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9567 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 9568
c906108c
SS
9569Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9570
9571 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9572
9573Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9574
9575 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9576 each signal's status in the output of "handle all print".
9577 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9578 the \r\n sequence that immediately precedes the gdb prompt.
9579 * gdb.base/a1-selftest.exp: Save original timeout and restore
9580 after test.
9581
9582Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9583
9584 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9585 symbol.
9586
9587Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9588
9589 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9590
9591Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9592
9593 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9594 timeout by 60 seconds.
9595
9596Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9597
9598 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9599 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9600 error return.
9601
9602Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9603
9604 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9605 gdb initialization, also report how long dejagnu waited. Restore
9606 old timeout before doing error return. Temporarily increase timeout
9607 by 3 minutes to allow for slow startups over heavy NFS use.
9608
9609Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9610
9611 * lib/gdb.exp: Report timeout value for verbosity level 2.
9612 * config/gdbserver.exp: Ditto.
9613 * config/hppro.exp: Ditto.
9614 * config/mips-gdb.exp: Ditto.
9615 * config/monitor.exp: Ditto.
9616 * config/netware.exp: Ditto.
9617 * config/sim-gdb.exp: Ditto.
9618 * config/slite-gdb.exp: Ditto.
9619 * config/udi-gdb.exp: Ditto.
9620 * config/unix-gdb.exp: Ditto.
9621 * config/vx-gdb.exp: Ditto.
9622 * gdb.base/a1-selftest.exp: Ditto.
9623 * gdb.base/a2-run.exp: Ditto.
9624 * gdb.base/break.exp: Ditto.
9625 * gdb.base/corefile.exp: Ditto.
9626 * gdb.base/list.exp: Ditto.
9627 * gdb.base/recurse.exp: Ditto.
9628 * gdb.base/scope.exp: Ditto.
9629 * gdb.base/signals.exp: Ditto.
9630
9631Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9632
9633 * gdb.threads/Makefile.in (docdir): Removed.
9634
9635Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9636
9637 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 9638 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 9639 @srcdir@.
d63a86f8 9640 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
9641 autoconf 2.5 or higher.
9642 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9643
9644Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9645
9646 * configure: Regenerated.
9647 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9648 avoid name clashes with SunOS headers.
9649
9650Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9651
9652 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9653
9654Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9655
9656 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9657 prototype information ends up in the compiler info file.
9658
9659Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9660
9661 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9662 attempting to regenerate it. Eliminate use of a temporary file
9663 and just generate the info file directly. Source it immediately,
9664 for consistency of use.
9665 * gdb.base/corefile.exp: Ditto
9666 * gdb.base/exprs.exp: Ditto.
9667 * gdb.base/funcargs.exp: Ditto.
9668 * gdb.base/langs.exp: Ditto.
9669 * gdb.base/list.exp: Ditto.
9670 * gdb.base/mips_pro.exp: Ditto.
9671 * gdb.base/nodebug.exp: Ditto.
9672 * gdb.base/opaque.exp: Ditto.
9673 * gdb.base/ptype.exp: Ditto.
9674 * gdb.base/scope.exp: Ditto.
9675 * gdb.base/setvar.exp: Ditto.
9676 * gdb.base/signals.exp: Ditto.
9677 * gdb.base/whatis.exp: Ditto.
9678 * gdb.c++/templates.exp: Ditto.
9679 * gdb.c++/virtfunc.exp: Ditto.
9680 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9681 whether or not to add -lstdc++ to the compile command line args.
9682
9683Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9684
9685 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9686 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9687 Increase timeout, a lot of single stepping might be needed if the
9688 target has no hardware watchpoints.
9689
9690Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9691
9692 * gdb.base/break.exp: Ignore compiler warnings when compiling
9693 break.c.
9694 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9695 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9696 from remote-sim.
9697 * gdb.base/exprs.exp: Add h8300 xfails.
9698 * gdb.base/funcargs.exp: Likewise.
9699 * gdb.base/nodebug.exp: Likewise.
9700 * gdb.base/printcmds.exp: Likewise.
9701 * gdb.base/ptype.exp: Likewise.
9702 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9703 h8300 xfails.
d63a86f8 9704 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
9705 on the h8300.
9706 * gdb.base/funcargs.c: Explicitly make last constant argument to
9707 call_after_alloca_subr an unsigned long type.
9708 * gdb.base/return.c: Include stdio.h.
9709
9710Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9711
9712 * config/abug.exp: New file for the older Motorola Bug monitor
9713 that runs on the mvme13x series VME boards.
9714 * config/monitor.exp: Use the new config array for target settings
9715 if they exist.
9716
9717Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9718
9719 * sim-gdb.exp: Make the SH simulator allocate less space when
9720 it is targeted.
9721
9722Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9723
9724 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9725 test.
9726
9727Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9728
9729 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9730 "rs6000-*-*" for "list function in include file" when gcc compiled.
9731 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9732 for "p ctable1[120]".
9733 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9734 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9735 Remove setup_xfail for "rs6000-*-*" for
9736 "print 'scope0.c'::filelocal before run".
9737 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9738 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9739 since some compilers don't allow both options to be given
9740 on the same command line. Create object file and move it.
d63a86f8 9741
c906108c
SS
9742Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9743
9744 * gdb.base/corefile.exp: Always regenerate the core file, since
9745 we always regenerate the coremaker program. Detect special case
9746 where registers cannot be read from core file.
d63a86f8 9747
c906108c
SS
9748Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9749
9750 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9751 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9752 * gdb.c++/templates.exp: Only match on basename of file since
9753 some formats like xcoff don't encode directory information.
9754 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9755 and rs6000 AIX xcoff targets.
9756 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9757 * configure: Regenerate.
9758 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9759 here, rather than in distclean.
d63a86f8 9760
c906108c
SS
9761Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9762
9763 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9764 defined, and use it to compile the test case with -O2. The
9765 native compilation still uses no optimization.
9766 * gdb.base/mips_pro.c: Remove inline assembly code since
9767 it is compiled PIC by default, which results in assembler
9768 warnings that make the testsuite think the compilation
9769 was unsuccessful.
9770
9771Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9772
9773 * gdb.c++/misc.exp: Add note to message for
9774 "print s.a for foo struct" that this is a known gcc 2.7.2
9775 and earlier bug.
9776
9777Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9778
9779 * gdb.base/break.exp: Fix pattern for matching "Delete all
9780 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9781 setup_xfail for deleting all breakpoints test. Fix various
9782 timeout messages to include "(timeout)".
9783 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9784 for "p t_float_values2(3.14159,float_val2)".
9785 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9786 for "continue to call2g" when gcc compiled.
9787 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9788 "up to foo in langs.exp", "show language at foo in langs.exp",
9789 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9790 and "show language at fsub in langs.exp".
9791 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9792 "list line 1 in include file", "list message for lines past EOF",
9793 "list function in include file", "list list0.h:foo", and
9794 "list filename:function; nonexistant function".
9795 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9796 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9797 and "ptype t_char_array" to be for native cc only.
d63a86f8 9798
c906108c
SS
9799Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9800
d63a86f8 9801 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
9802 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9803 "print func2::coremaker_local", and "backtrace in corefile.exp".
9804
9805Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9806
9807 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9808 "bt in signals.exp". This problem only appears when running
9809 the testsuite, and then only intermittently.
9810
9811Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9812
9813 * gdb.base/return.exp (return_tests): Differentiate between
9814 two tests of continuing.
9815
9816Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9817
9818 * */Makefile.in (maintainer-clean): Remove config.log.
9819 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9820 * gdb.c++/Makefile.in (PROGS): Add inherit.
9821 (clean): Remove *.ci.
9822
9823Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9824
9825 * gdb.c++/misc.cc: Add test code from Mike Stump.
9826 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9827
9828Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9829
9830 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9831 to "alpha-*-osf2*" and add comment.
9832 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9833 setup_xfail for "step over execarg initialization" and
9834 "step over corearg initialization".
9835 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9836 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9837 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9838 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9839 "print func2::coremaker_local", and "backtrace in corefile.exp".
9840 * gdb.base/signals.exp: Build and source signals.ci.
9841 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9842 to be for gcc only.
9843 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 9844
c906108c
SS
9845Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9846
9847 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9848 Feb 3 procfs.c change.
9849
9850Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9851
9852 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9853
9854Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9855
9856 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9857 from dejagnu's apparent default of 10 seconds, which gives random
9858 results when running the tests over NFS on moderately loaded systems.
9859 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9860
9861Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9862
9863 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9864 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9865 result reports.
9866
9867Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9868
9869 * configure.in (CY_AC_PATH_TCLH): Remove.
9870 * configure: Regenerate.
9871
9872Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9873
9874 * gdb.c++/Makefile.in (clean): Add missing '{'.
9875
9876Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9877
9878 * lib/gdb.exp: Provide a default value for noinferior.
9879
9880 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9881 Load libgloss.exp.
9882
9883Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9884
9885 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9886 the executable, not the .o to run the tests from.
9887
9888Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9889
9890 * gdb.base/break.exp: Don't test for program exit or exit status
9891 if $noresults if nonzero.
9892 * gdb.base/langs.exp: Likewise.
9893 * gdb.base/watchpoint.exp: Likewise.
9894
9895 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9896 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9897 trying to compile the testcase.
9898
9899Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9900
9901 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9902 * gdb.base/signals.exp (continue to handler): Likewise.
9903
9904Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9905
9906 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9907
9908 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9909
9910Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9911
9912 * gdb.base/corefile.exp: Recognize "not found" as failure
9913 when trying to determine if a core file was generated.
9914 If no core file was generate the first time, try again without
9915 the ulimit -c to work around braindamaged shells.
9916
9917Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9918
9919 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9920 [] tests with "test" and enclose string in quotes.
9921 * gdb.stabs/configure: Rebuild
d63a86f8 9922
c906108c
SS
9923Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9924
9925 Changes in sync with expect:
9926 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9927 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9928 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9929 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9930 argument to AC_REQUIRE.
9931 * configure: Regenerated.
9932
9933Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9934
9935 * gdb.base/corefile.exp: When generating a core, discard any
9936 error messages about ulimit not found and the "core dumped"
9937 message from the shell that runs the coredumper.
9938
9939Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9940
9941 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9942
9943 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9944 which sed script to run. Expect failure for v_comb test
9945 on PA targets too.
d63a86f8 9946
c906108c
SS
9947Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9948
9949 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9950 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9951
9952Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9953
9954 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9955 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9956 "sparc-sun-solaris*" xfails for "p v_comb".
9957 * lib/gdb.exp (default_gdb_start): Fix typo.
9958 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9959 messages to not include the full program name that caused
9960 the core dump since some systems (such as solaris) apparently
9961 truncate this path to about 80 characters.
9962 When generating a core file first try increasing the core file
9963 size limit to unlimited since some systems may default it to
9964 zero, and it is harmless to try it. Move the test for failing
9965 to generate a core file to where it will actually get executed.
9966 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9967 new gdb result from g++ debug info improvements and make old
9968 pattern obsolescent. Also account for size_t differences
9969 (may be int or long).
9970 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9971 initialization before function call is placed in the delay slot
9972 and thus appears to be skipped over by commands such as "next".
9973
9974Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9975
9976 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9977
9978Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9979
9980 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9981 input source file; fix code to compile test to deal with this
9982 convention.
9983 * gdb.c++/*.exp: Likewise.
9984
9985Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9986
9987 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9988 "bt in signals.exp".
9989
9990Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9991
9992 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9993 "step over execarg initialization" and
9994 "step over corearg initialization".
9995
9996Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9997
9998 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9999 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
10000
10001Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
10002
10003 From Rob Savoye (rob@poseidon.cygnus.com)
10004 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
10005 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
10006 configure.in}, gdb.disasm/{Makefile.in, configure.in},
10007 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
10008 configure.in}: Major reworking for autoconfig.
10009 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
10010 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
10011 New files.
10012 * config/unix-gdb.exp: Make GDB global.
10013 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
10014 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
10015 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
10016 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
10017 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
10018 term.exp, twice.exp, watchpoint.exp, whatis.exp},
10019 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
10020 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
10021 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
10022 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
10023 pr-8136.exp, result.exp, string.exp, tuples.exp},
10024 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
10025 to returns as necessary, arrange for test to compile own testcase
10026 executable.
10027 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 10028
c906108c
SS
10029Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
10030
10031 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
10032 clear_xfail at end of test which might not call either pass or fail.
10033 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
10034 "backtrace through signal handler".
10035
10036Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10037
10038 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
10039 continuing from a job control stop signal.
10040 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
10041
10042Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
10043
10044 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
10045 * gdb.base/corefile.exp: Likewise.
10046 * gdb.base/funcargs.exp: Likewise.
10047
10048Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
10049
10050 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
10051 * config/monitor.exp: Add support for setting baud rate.
10052
10053Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
10054
10055 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
10056 i*86-*-linux* xfails for "backtrace through signal handler".
10057 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
10058 "print func2::coremaker_local".
10059 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
10060 alpha-dec-osf2* xfail for
10061 "delete all breakpoints when none".
10062
10063Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
10064
10065 * gdb.base/break.exp: Change test that deletes all breakpoints
10066 when no user breakpoints are installed. A post 4.15 change
10067 causes gdb to no longer prompt in this case.
10068
10069Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
10070
10071 * gdb.base/return.exp (return_tests): Change xfail for test
10072 "correct value returned double test" to stop xfailing at
10073 Solaris 2.5. Apparently the bug has been fixed.
10074
10075Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
10076
10077 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
10078 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
10079
10080Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
10081
10082 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
10083 * gdb.disasm/hppa.s: Corresponding changes.
10084
10085Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
10086
10087 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
10088 makefile fragment.
10089 * config/mt-hpux: Deleted.
10090
10091Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
10092
d63a86f8 10093 * Many files: When warning about suppressed tests due to a
c906108c
SS
10094 nonexistant test binary, avoid incrementing the warning count.
10095
10096Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
10097
10098 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 10099
c906108c
SS
10100Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10101
10102 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
10103 "sparc-*-solaris2*".
10104
10105Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10106
10107 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
10108 Add global and local variables and initialize them.
10109 * gdb.base/corefile.exp: Test correct mapping of corefile sections
10110 by printing variables. Remove rs6000 and powerpc xfails, BFD now
10111 extracts the file name and terminating signal from the core file.
10112 * TODO: Remove note about tests for correct mapping of corefile.
10113 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
10114 from optimizing it away.
10115 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
10116 handles common blocks.
10117
10118Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
10119
10120 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
10121 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
10122
10123Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
10124
10125 * Makefile.in (maintainer-clean): New target, synonym for
10126 realclean.
10127 * gdb.base/Makefile.in (maintainer-clean): Likewise.
10128 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
10129 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
10130 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
10131 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
10132 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
10133
10134Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
10135
10136 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
10137 xfails when not gcc compiled for "print foo::funclocal".
10138 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
10139 "print foo::funclocal at foo",
10140 "print 'scope1.c'::foo::funclocal at foo",
10141 "print foo::funclocal_bss at foo",
10142 "print 'scope1.c'::foo::funclocal_bss at foo",
10143 "print foo::funclocal_ro at foo",
10144 "print 'scope1.c'::foo::funclocal_ro at foo",
10145 "print bar::funclocal at foo" and
10146 "print 'scope1.c'::bar::funclocal at foo".
10147 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
10148 gcc compiled for "print foo::funclocal at bar".
10149 Expand all messages to ensure that they identify that
10150 the test is at bar().
10151 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
10152 gcc compiled for:
10153 "ptype on opaque struct pointer (statically)",
10154 "ptype on opaque struct tagname (statically)",
10155 "ptype on opaque struct pointer (dynamically) 1",
10156 "ptype on opaque struct tagname (dynamically) 1",
10157 "ptype on opaque struct pointer (dynamically) 2" and
10158 "ptype on opaque struct tagname (dynamically) 2
10159 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
10160 gcc compiled for:
10161 "p datalocal"
10162 "whatis datalocal",
10163 "ptype datalocal",
10164 "p bsslocal",
10165 "whatis bsslocal", and
10166 "ptype bsslocal".
10167 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
10168 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
10169 when not gcc compiled.
10170 * gdb.base/funcargs.exp (float_and_integral_args): Add
10171 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
10172 compiled.
10173 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
10174 "backtrace from call6a" when not gcc compiled.
10175 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
10176 "backtrace from call7a" when not gcc compiled.
10177 * gdb.base/callfuncs.exp (do_function_calls):
10178 Add "hppa*-*-hpux*" xfail when not gcc compiled for
10179 "p t_char_array_values(char_array_val2,char_array_val1)",
10180 "p t_char_array_values(char_array_val1,char_array_val2)",
10181 "p t_char_array_values("carray 1","carray 2")",
10182 "p t_char_array_values("carray 1",char_array_val2)",
10183 "p t_char_array_values(char_array_val1,"carray 2")",
10184 "p sum_args(1,{2})",
10185 "p sum_args(2,{2,3})",
10186 "p sum_args(3,{2,3,4})",
10187 "p sum_args(4,{2,3,4,5})"
10188 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
10189 "backtrace in corefile.exp" when not gcc compiled.
10190
10191Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10192
10193 * gdb.base/signals.exp: Rewrite `handle all print' test as
10194 a procedure. Accept blanks or TABs as whitespace, increase
10195 timeout and expect input buffer size for the large output
10196 from the command. Remove "i*86-*-bsdi2.0" xfail.
10197
10198Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10199
10200 * gdb.base/setvar.exp: Add new testcases for truncation when
10201 assigning invalid values to bitfields.
10202
10203Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
10204
d63a86f8 10205 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
10206 mips-sgi-irix* xfail for
10207 "call inferior func with struct - returns char *"
10208 and fix test so that an optional (unsigned char *) cast is
10209 accepted in the result.
10210
10211Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
10212
10213 * gdb.base/funcargs.exp (float_and_integral_args): Remove
10214 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10215 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
10216 * gdb.base/signals.exp: Remove duplicate "handle all print" test
10217 that accidentally got checked in.
10218
10219Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
10220
d63a86f8 10221 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
10222 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
10223 compiled test.
10224 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
10225 Add mips-sgi-irix5* xfail for not gcc compiled.
10226 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
10227 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
10228 "p top", "whatis top", "p middle", and "whatis middle".
10229 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
10230 "whatis signed char" for not gcc compiled.
10231 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
10232 "set variable signed char=-1 (-1)" and
10233 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
10234 * gdb.base/funcargs.exp (float_and_integral_args):
10235 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
10236 Add mips-sgi-irix* xfail when not gcc compiled for
10237 "continue to call2b".
10238 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
10239 "continue to call2g".
10240 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
10241 "backtrace from call6a"
10242 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
10243 "backtrace from call7k".
10244 Add mips-sgi-irix5* xfail when not gcc compiled for
10245 "backtrace from call7a".
10246 (localvars_after_alloca): Fix gdb_test cmds for
10247 "print * after runto ...".
10248 Remove rs6000-*-* xfails for
10249 "print i after runto localvars_after_alloca" and
10250 "print l after runto localvars_after_alloca"
10251 for all compilers.
10252 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
10253 when not compiled with gcc, for:
10254 "print signed char == (minus)",
10255 "print signed char != (minus)",
10256 "print signed char < (minus)",
10257 "print signed char > (minus)".
10258 * gdb.base/callfuncs.exp (do_function_calls):
10259 Add mips-sgi-irix* xfail, when compiled with native compiler, for
10260 "call inferior func with struct - returns char *".
d63a86f8 10261 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
10262 "correct value returned double test" to include Solaris 2.4.
10263 * gdb.base/funcargs.exp (float_and_integral_args):
10264 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 10265
c906108c
SS
10266Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10267
10268 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
10269 enumeration bitfields if compiling with GNU C.
10270 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
10271 to empty' prompt.
10272
10273Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
10274
10275 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
10276 test for PRO targets.
10277
10278 * gdb.base/funcargs.exp: Avoid ever setting more than 8
10279 breakpoints in the inferior at any given time by making
10280 two groups of breakpoints for call2*, call6* and call7*
10281 tests.
10282
10283Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10284
10285 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
10286 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
10287 from optimizing it away.
10288 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
10289 "call inferior func with struct".
10290
10291Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
10292
10293 * configure.in: Only configure gdb.chill for particular targets.
10294
10295Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
10296
10297 * gdb.base/Makefile.in: Add action to .c.o transformation
10298 rule that generates a .ci file for each .o file and remove
10299 explicit .c.o rules except for callfuncs.o.
10300 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
10301 generates a .ci file for each .o file and remove explicit
10302 .cc.o rules.
10303 (clean): Remove *.tmp *.ci files.
10304 (EXECUTABLES): Remove templ-info.exp.
10305 * gdb.base/compiler.c: New file.
10306 * gdb.c++/compiler.cc: New file
10307 * gdb.base/scope.exp: Source gdb.base/scope.ci.
10308 Change rs6000-*-* xfail for
10309 "print 'scope0.c'::filelocal_ro" and
10310 "print 'scope1.c'::filelocal" and
10311 "print 'scope1.c'::filelocal_bss" and
10312 "print 'scope1.c'::filelocal_ro" and
10313 "print 'scope1.c'::foo::funclocal" and
10314 "print 'scope1.c'::foo::funclocal_ro" and
10315 "print 'scope1.c'::bar::funclocal" and
10316 "print 'scope0.c'::filelocal_ro" and
10317 "print 'scope1.c'::filelocal at foo" and
10318 "print 'scope1.c'::filelocal_bss at foo" and
10319 "print 'scope1.c'::filelocal_ro at foo" and
10320 "print 'scope1.c'::foo::funclocal at foo" and
10321 "print 'scope1.c'::foo::funclocal_bss at foo" and
10322 "print 'scope1.c'::foo::funclocal_ro at foo" and
10323 "print 'scope1.c'::bar::funclocal at foo" and
10324 "print 'scope0.c'::filelocal_ro" and
10325 "print 'scope1.c'::filelocal" and
10326 "print 'scope1.c'::filelocal_bss" and
10327 "print 'scope1.c'::filelocal_ro" and
10328 "print 'scope1.c'::foo::funclocal" and
10329 "print 'scope1.c'::foo::funclocal_bss" and
10330 "print 'scope1.c'::foo::funclocal_ro" and
10331 "print 'scope1.c'::bar::funclocal" and
10332 "print 'scope1.c'::bar::funclocal_bss"
10333 to only be xfail'd when not compiled with gcc.
d63a86f8 10334 Add rs6000-*-* xfail for
c906108c
SS
10335 "print 'scope0.c'::filelocal_bss before run"
10336 when compiled with gcc.
10337 (test_at_main): Add rs6000-*-* xfail for
10338 "print filelocal_ro in test_at_main"
10339 when compiled with gcc.
10340 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 10341 Add rs6000-*-aix* xfail for
c906108c
SS
10342 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
10343 "ptype t_char_array", not compiled with gcc.
10344 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
10345 xfail for "list foo (in include file)" when gcc compiled.
10346 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
10347 (integral_args): Add rs6000-*-* xfail for
10348 "run to call0a" if not compiled with gcc.
10349 (unsigned_integral_args): Add rs6000-*-* xfail for
10350 "run to call1a" if not compiled with gcc.
10351 (float_and_integral_args): Add rs6000-*-* xfail for
10352 "run to call2a" if not compiled with gcc and for
10353 "continue to call2b" for any compiler.
10354 Add rs6000-*-* xfail to
10355 "print f1 after run to call2a" for gcc compiled.
10356 (discard_and_shuffle): Add rs6000-*-* xfail for
10357 "run to call6a".
10358 (shuffle_round_robin): Add rs6000-*-* xfail for
10359 "backtrace from call7a" if not compiled with gcc.
10360 Add rs6000-*-* xfail for
10361 "backtrace from call7b" if compiled with gcc.
10362 (call_after_alloca): Add rs6000-*-* xfail for
10363 "print c in call_after_alloca" and
10364 "print s in call_after_alloca" and
10365 "backtrace from call_after_alloca_subr"
10366 if not compiled with gcc.
10367 (localvars_in_indirect_call): Add rs6000-*-* xfail for
10368 "print c in localvars_in_indirect_call" and
10369 "print c in localvars_in_indirect_call" and
10370 "backtrace in indirectly called function" and
10371 "stepping into indirectly called function"
10372 if not compiled with gcc.
10373 (localvars_after_alloca): Add rs6000-*-* xfail for
10374 "print c after runto localvars_after_alloca" and
10375 "print s after runto localvars_after_alloca" and
10376 "print i after runto localvars_after_alloca" and
10377 "print l after runto localvars_after_alloca"
10378 for all compilers.
10379 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
10380 than whatis-info.exp.
10381 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
10382 than opaque-info.exp.
10383 Setup rs6000-*-* xfail for
d63a86f8 10384 "ptype on opaque struct pointer (statically)" and
c906108c
SS
10385 "ptype on opaque struct pointer (dynamically)" when
10386 not compiled with gcc.
10387 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
10388 rather than callf-info.exp.
10389 (do_function_calls): Add clear_xfail for rs6000-*-* for
10390 "p t_float_values2(3.14159,float_val2)". Seems to work
10391 fine there, both with xlc and gcc. Need to find out what
10392 it is doing right and fix other platforms.
10393 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
10394 "call inferior func with struct - returns int",
10395 "call inferior func with struct - returns long",
10396 "call inferior func with struct - returns float",
10397 "call inferior func with struct - returns double",
10398 "call inferior func with struct - returns char *",
10399 but only if not gcc compiled (presumes xlc compiled).
10400 Change rs6000-*-* xfails for
10401 "call inferior func with struct - returns char" and
10402 " call inferior func with struct - returns short" to only
10403 xfail if not using gcc.
10404 (clean mostlyclean): Remove *.ci and *.tmp files.
10405 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
10406 than templ-info.exp.
10407 * gdb.base/langs.exp: Source gdb.base/langs.ci.
10408 Add rs6000-*-* xfail for "up to foo in langs.exp"
10409 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
10410 when not gcc compiled.
d63a86f8 10411
c906108c
SS
10412Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10413
10414 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
10415 * gdb.base/corefile.exp: Likewise.
10416 * gdb.base/list.exp: Likewise.
10417 * gdb.base/scope.exp: Likewise.
10418 * gdb.base/siganls.exp: Likewise.
10419
10420 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
10421 compiler output.
10422 * gdb.base/whatis.exp: Likewise.
10423
10424Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
10425
10426 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
10427 failure (opcode table has been fixed to match reality).
10428
10429Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
10430
10431 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
10432 "call inferior func with struct - returns char",
10433 "call inferior func with struct - returns short"
10434
10435 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
10436 "print 'scope0.c'::filelocal at main",
10437 "print 'scope0.c'::filelocal_bss in test_at_main",
10438 "print 'scope0.c'::filelocal at foo",
10439 "print 'scope0.c'::filelocal_bss in test_at_foo",
10440 "print 'scope0.c'::filelocal at bar",
10441 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 10442
c906108c
SS
10443 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
10444 in source file 1". This bug seems to have been fixed with both
10445 gcc and native cc (was native assembler bug?).
10446
10447Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
10448
10449 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
10450 "backtrace through signal handler" to "i*86-*-sysv4*".
10451 * gdb.base/signals.exp: Add xfail for "'next' behaved as
10452 continue" case. Add "known SVR4 bug" to fail message.
10453 Add "i*86-*-bsdi2.0" xfail for "handle all print".
10454 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
10455 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
10456 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
10457 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
10458 "up to foo in langs.exp", "show language at foo in
10459 langs.exp", "up to cppsub_ in langs.exp", "show
10460 language at cppsub_ in langs.exp", "up to fsub in
10461 langs.exp", and "show language at fsub in langs.exp".
10462 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10463 "bactrace in corefile.exp".
10464 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10465 "call inferior function with struct - returns float" and
10466 "call inferior function with struct - returns double".
d63a86f8 10467
c906108c
SS
10468Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
10469
10470 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10471 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10472 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10473 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10474
10475Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
10476
10477 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10478 (or overriden) "CHILL" macro rather then bare "gcc".
10479 Also look for ../../gcc/xgcc since that is what we will
10480 actually need, not "Makefile". Remove following assignment
10481 of CHILL to CHILL_FOR_TARGET because that results in
10482 recursive definition.
10483
10484Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
10485
10486 * gdb.base/corefile.exp: Change xfail for backtrace in
10487 corefile.exp from linuxaout to all linux.
10488 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
10489 cases where we miss the breakpoint at the signal handler
10490 for some reason. Setup xfail for linuxoldld/linuxaout and
10491 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
10492 hitting SIGURG breakpoint.
10493 * gdb.base/signals.exp: Setup xfail for "next" acting like
10494 continue to add linuxoldld. Setup xfail for all linux for
10495 "next to handler in signals_tests_1", "backtrace in
10496 signals_tests_1", "continue to func1", "pass SIGUSR1",
10497 and continue to handler".
10498
10499Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
10500
10501 * Update all FSF addresses except those in COPYING* files.
10502
10503Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
10504
10505 * gdb.base/a2-run.exp: Change messages to be more explicit about
10506 the status of args, and quote binfile in results.
10507
10508Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
10509
10510 * gdb.base/callfuncs.exp: Add tests for passing structs to
10511 inferior functions and return various types.
10512 * gdb.base/callfuncs.c: Add functions to receive a struct
10513 and return a member of the struct, in various types.
10514
10515Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10516
10517 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
10518
10519Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10520
10521 * config/vxworks29k.exp: New file, sources vxworks.exp.
10522
10523Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10524
10525 * config/gdbremote.exp: New file. Testing framework using
10526 gdbserver.
10527
10528Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
10529
10530 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10531 "call function when asleep" and "send end of file".
10532 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10533 for "backtrace in corefile.exp".
10534 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10535 for "backtrace through signal handler".
10536 * gdb.base/corefile.exp: Make sure we actually generate a core file
10537 before trying the core tests. Some systems allow the user to suppress
10538 generation of core files and default to that (linux for example).
10539 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10540 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
10541
10542Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10543
10544 * gdb.threads: New directory with some crude multi-threaded
10545 gdb tests (step.exp and step2.exp).
10546 * config/mt-lynx (STEP_EXECUTABLE): Define.
10547 (THREADFLAGS): Define.
10548
10549Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
10550
10551 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10552
10553 * gdb.base/signals.exp: Disable whole file for lynx until
10554 further notice.
10555
10556 * gdb.base/signals.exp: xfail test where "next" acts like
10557 "continue" for lynx.
10558
10559 * gdb.base/interrupt.exp: xfail test for calling function while
10560 inferior is asleep for lynx.
10561
10562 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10563 than one cr-lf after each command.
10564
10565Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10566
10567 * configure.in: Reinstate setting of stabsdirs variable, fix
10568 typo in setting up configdirs for native builds.
10569
10570 * gdb.base/return.exp: Fix typo in return double test.
10571 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10572 compiler from optimizing them away.
10573
10574Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10575
10576 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10577 sequences to be echo'd by gdb when using gdb_test.
10578 * gdb.chill/chexp.exp: Likewise.
10579 * gdb.fortran/exprs.exp: Likewise
10580
10581Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10582
10583 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10584 after the inferior gdb has started.
10585
10586 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10587 after each command.
10588 * gdb.base/funcargs.exp: Likewise.
10589 * gdb.base/gdbvars.exp: Likewise.
10590 * gdb.base/interrupt.exp: Likewise.
10591 * gdb.base/list.exp: Likewise.
10592 * gdb.base/watchpoint.exp: Likewise.
10593 * gdb.c++/demangle.exp: Likewise.
10594 * gdb.c++/inherit.exp: Likewise.
10595 * gdb.chill/chexp.exp: Likewise.
10596 * gdb.fortran/exprs.exp: Likewise.
10597
10598 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10599 test if we can't handle IO to/from the inferior.
10600
10601 * gdb.c++/misc.exp: Always check for a program already being
10602 started after sending a "run" command to gdb.
10603
10604 * gdb.base/twice.exp: Start with a fresh gdb.
10605
10606 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10607 only depend on gdb's expression code, not the chill runtime.
10608
10609 * gdb.base/return.c: Put return values into variables so we
10610 can have gdb print them rather than depending on the program
10611 to print them.
10612 * gdb.base/return.exp: Corresponding changes.
10613
10614 * lib/gdb.exp: Provide default value for noinferiorio.
10615 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10616 the inferior.
10617
10618 * gdb.base/break.exp: Always check for a program already being
10619 started after sending a "run" command to gdb.
10620 (text_next_with_recursion): Don't check the output from the
10621 program's printf statement. Instead just make sure the program
10622 exited.
10623
10624 * gdb.base/commands.exp: Protect tests which need arguments with
10625 $noargs conditionals.
10626
10627Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10628
10629 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10630 of structure member arrays to match gdb/valops.c:value_addr change.
10631
10632Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10633
10634 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10635 cases.
10636
10637Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10638
10639 * configure.in (configdirs): Remove gdb.chill from default list
10640 of subdirs and then add it back in only if doing a native build.
10641 The current chill compiler does not yet work in any cross build.
10642 * Revert all signal changes from Jul 6.
10643 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10644 for sh-hms targets, allowing these tests to link, with no other
10645 changes. Testing is suppressed by setting "nosignals" in site.exp.
10646
10647Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10648
10649 * configure.in (signaldirs): Define and add to configdirs for all
10650 targets except some specific ones that are known to not support signals.
10651 Also clean up formatting.
10652 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10653 (signals, sigall): Remove rules to build.
10654 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10655 Moved to new gdb.signals directory.
10656 * gdb.signals: New test directory.
10657 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10658 signals.c signals.exp}: New or moved files.
10659
10660Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10661
10662 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10663
10664Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10665
10666 * gdb.base/return.exp: Xfail `return double' test failure
10667 on at least Solaris 2.3 and handle future/past versions on
10668 a case by case basis as appropriate. Also update message
10669 to include i*86 failures.
10670
10671Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10672
10673 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10674
10675 * lib/gdb.exp: Fix comment which erroneously identified
10676 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10677 gdb_file_cmd not gdb_load).
10678 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10679
10680 * gdb.base/setvar.exp: Make test names consistent between pass and
10681 fail cases. Use gdb_test more.
10682
10683Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10684
10685 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10686
10687Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10688
10689 * gdb.base/help.exp: Fix expected help string for `show commands'.
10690
10691Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10692
10693 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10694
10695 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10696 of a text section.
10697
10698Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10699
10700 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10701 that loop eventually terminates. Fix Connection refused logic so
10702 that testsuite will expire nicely.
10703
10704Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10705
10706 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10707 config/rom68k.exp: New tcl glue for the appropriate monitors.
10708 These all just end up calling monitor.exp.
10709 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10710 refused' by retrying. Cleanup some timeout issues.
10711 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10712 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10713 callers don't have to set/restore global timeout variable.
10714
10715 * The following set of changes centralizes management of the global
10716 timeout variable. This way, it can be set in one target dependent
10717 place instead of dozens of places scattered throughout the test suite.
10718 If you need to lengthen a timeout, then you should either set timeout
10719 in one of the config/{target}.exp files, or multiply it by a factor.
10720 Setting it to an absolute value is always going to lose for some
10721 targets.
10722 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10723 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10724 * gdb.base/funcargs.exp: Don't set timeout.
10725 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10726 * gdb.base/printcmds.exp (test_print_string_constants
10727 test_print_array_constants): Don't set timeout.
10728 * gdb.base/ptype.exp: Don't set timeout.
10729 * gdb.base/recurse.exp: Don't set timeout.
10730 * gdb.base/return.exp: Don't set timeout.
10731 * gdb.base/watchpoint.exp: Don't set timeout.
10732 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10733 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10734
10735Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10736
10737 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10738
10739Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10740
10741 * lib/gdb.exp: Disable chill tests for irix5.
10742
10743Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10744
10745 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10746 each test pass or fail.
10747
10748Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10749
10750 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10751 xlc not gcc.
10752
10753Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10754
10755 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10756
10757Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10758
10759 * config/est.exp: Fix copyright and comments. Remove dead code.
10760 Use targetname, serialport and baud variables instead of fixed
10761 constants.
10762 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10763 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10764
10765Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10766
10767 * gdb.base/watchpoint.exp: Don't run
10768 test_watchpoint_triggered_in_syscall for sunos.
10769
10770Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10771
10772 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10773 they don't seem to exist. Do include stdio.h.
10774
10775Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10776
10777 * gdb.base/a1-selftest.exp: Add alpha xfail.
10778
10779Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10780
10781 * gdb.base/watchpoint.c (main): Prompt before calling read().
10782 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10783 Revise accordingly. Remove cruft about sending "123" several
10784 times, until it gets noticed. Clean up the "print buf[0]" stuff
10785 so that it passes or fails, and waits for prompts in the usual way.
10786
10787Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10788
10789 * gdb.base/recurse.exp: Fix comment.
10790
10791 * TODO: Remove item about printing variables in nodebug.exp. Add
10792 item about enabling tests which are only run on some targets.
10793
10794 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10795 fail, make test names unique, use new gdb_test convention
10796 regarding pattern, use gdb_test more, etc.).
10797
10798 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10799 fail, make test names unique, etc.).
10800
10801Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10802
10803 * gdb.base/nodebug.c: Change return type of top and middle to
10804 short.
10805 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10806 are fixed by the recent mdebugread.c changes. Allow `short ()'
10807 as type for top and middle.
10808
10809Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10810
10811 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10812 nearly as I can tell, the whole thing was an accident in Stu's
10813 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10814 to replace a send/expect pair with gdb_test, but ended up only
10815 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10816 of 30 Mar 1995 took care of it, but left this vestigial comment
10817 which I am now nuking.
10818
10819Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10820
10821 * gdb.base/break.exp: Look for different line number for
10822 breakpoint at main depending on usestubs.
10823
10824Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10825
10826 * gdb.base/list.exp: Adjust some alternate expect patterns to
10827 match recent list0.c change. Add alternate expect pattern for
10828 output from `list default lines around main' for optimizing
10829 compilers.
10830
10831Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10832
10833 * lib/gdb.exp: If nosignals is not set, set it to 0.
10834
10835Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10836
10837 * config/slite-gdb.exp: Responds to load symbol table prompt.
10838 * gdb.base/break.exp: Adjust line number, fix rerun.
10839 * gdb.base/langs0.c: Add #ifdef usestubs.
10840
10841Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10842
10843 * gdb.base/list.exp: Adjust line contents after adding new lines in
10844 list0.c. Also fix a syntax error.
10845
10846 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10847 * gdb.base/break.exp: ditto.
10848 * gdb.base/list.exp: ditto.
10849 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10850 * gdb.base/run.c: ditto.
10851 * gdb.base/list0.c: ditto.
10852 * gdb.base/funcargs.c: ditto.
10853
10854Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10855
10856 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10857 $targetname, $serialport and $baud instead of hardwired variables.
10858 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10859 target doesn't support signals.
10860
10861Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10862
10863 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10864
10865Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10866
10867 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10868 Don't rely on the value of an auto variable before it has been
10869 initialized. Use gdb_test more.
10870
10871Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10872
10873 * lib/gdb.exp (default_gdb_version): A version number must start
10874 with a digit, but other than that contains all characters up to
10875 the first whitespace character.
10876
10877Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10878
10879 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10880
10881Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10882
10883 * gdb.c++/*.exp: Warn if executable does not exist. The original
10884 reason for skipping the warning was that configure.in sometimes
10885 intentionally skipped building the executables but the tcl code
10886 had no way of knowing. That (a) was always bogus with respect to
10887 error handling, (b) is no longer true (right now there is no way
10888 to skip C++ tests).
10889
10890 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10891
10892Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10893
10894 * gdb.base/list.exp: Add expect patterns for output from
10895 SunPRO compiled executables.
10896 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10897 types.
10898
10899Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10900
10901 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10902 number (we are already testing that the correct source line text
10903 gets printed).
10904
10905 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10906 that is what is intended, but something needed to be done to get
10907 sunos4 native working again.
10908
10909 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10910
10911 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10912 apparently went with a (very) old xfail.
10913
10914Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10915
10916 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10917 runto_main is a proc in gdb.exp that will do 'step' for target use
10918 stubs.
10919 * gdb.base/exprs.exp: ditto.
10920 * gdb.base/interrupt.exp: ditto.
10921 * gdb.base/opaque.exp: ditto.
10922 * gdb.base/printcmds.exp: ditto.
10923 * gdb.base/ptype.exp: ditto.
10924 * gdb.base/scope.exp: ditto.
10925 * gdb.base/setvar.exp: ditto.
10926 * gdb.base/signals.exp: ditto.
10927 * gdb.base/twice.exp: ditto.
10928 * gdb.c++/classes.exp: ditto.
10929 * gdb.c++/inherit.exp: ditto.
10930 * gdb.c++/templates.exp: ditto.
10931 * gdb.base/break.exp: no run and hit main for stubs. Change line
10932 numbers for breakpoints and info breakpoint.
10933 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10934 breakpoint().
10935 * gdb.base/callfuncs.c: ditto.
10936 * gdb.base/exprs: ditto.
10937 * gdb.base/interrupt.c: ditto.
10938 * gdb.base/opaque0.c: ditto.
10939 * gdb.base/printcmds.c: ditto.
10940 * gdb.base/ptype.c: ditto.
10941 * gdb.base/scope0.c: ditto.
10942 * gdb.base/setvar.c: ditto.
10943 * gdb.base/signals.c: ditto.
10944 * gdb.base/twice.c: ditto.
10945 * gdb.c++/misc.cc: ditto.
10946 * gdb.c++/templates.cc: ditto.
10947
10948Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10949
10950 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10951
10952 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10953 somewhere between `read' and `main.c'. I'm pretty sure the
10954 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10955 and it isn't particularly useful.
10956
10957 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10958
10959Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10960
10961 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10962
10963Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10964
10965 * config/mt-slite: add LIBS and -nostdlib.
10966 * config/slite-gdb.exp: add this new file to support sparclite target.
10967
10968Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10969
10970 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10971
10972 * gdb.base/a2-run.exp: Change argument to istarget from
10973 "*-*-vxworks" to "*-*-vxworks*".
10974 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10975
10976Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10977
10978 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10979 will not runto main but do a 'step' to step out of breakpoint().
10980 * config/mt-slite: add -Dusestubs.
10981
10982Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10983
10984 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10985 instead of just @.
10986
10987 * gdb.base/signals.exp: Add test for "handle all print".
10988 * TODO: Remove "handle all print". Also remove item about
10989 checking copyright date (I don't like the idea of a spurious FAIL
10990 based on when we run the tests).
10991
10992 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10993 for SunOS4 (reason for failure not investigated). Remove
10994 redundant test for $binfile.
10995
10996 * gdb.base/nodebug.c (array_index): Call malloc.
10997
10998 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10999
11000Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
11001
11002 * gdb.base/recurse.exp: Update gdb_test invocation to use new
11003 conventions and slightly simplify the matching regexp.
11004
11005Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11006
11007 * gdb.base/break.exp: Update gdb_test invocation to use new
11008 convention.
11009
11010 * lib/gdb.exp: If noargs is not set, set it to 0.
11011
11012 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
11013 tests unique.
11014
11015 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
11016
11017Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11018
11019 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
11020 one argument of type "<non-float parameter>".
11021
11022Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
11023
11024 * config/rom68k.exp: New file to support Motorola IDP board.
11025 * gdb.base/a2-run.exp: Skip this file if noargs is set.
11026 * gdb.base/break.c: Change things around so that this program
11027 doesn't depend upon args. This is necessary to make remote
11028 targets work (in general, they can't take args).
11029 * gdb.base/break.exp: Don't try to send args to program. Don't
11030 expect output. Also, replace lots of code with gdb_test.
11031
11032Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11033
11034 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
11035 printing of '\'' (which is what the comment says we are testing,
11036 even though we were not), not '''.
11037 (test_integer_literals_rejected): Test that printing ''' is an error.
11038
11039 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11040 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
11041 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
11042 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
11043 Use gdb_test not test_print_accept.
11044 * lib/gdb.exp: Remove test_print_accept.
11045
11046 * gdb.base/signals.exp (signal_tests_1): Make pass message
11047 consistent with fail message.
11048
11049 * gdb.base/whatis.exp: Remove xfails for printing char vs.
11050 unsigned char; the bug (PR 1821) is fixed.
11051
11052 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
11053
11054 * gdb.base/scope.exp (test_at_localscopes): Call pass for
11055 successful tests--makes xfailing them work right.
11056
11057Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11058
11059 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
11060 only \r\n, not .*. The test can pass .* as the last thing in
11061 $pattern if that is what it wants. In addition to providing this
11062 flexibility, this change should speed up pattern matching in cases
11063 where the pattern already ended with .* (there were a number of
11064 them). This change also helps catch bad patterns--in the old
11065 scheme the typo "char \*" instead of "char \\*" would pass. Now
11066 it is caught.
11067 * Many .exp files: Update callers.
11068
11069 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
11070 clearer and does not spuriously match multiple ('s. Likewise for
11071 ) and *.
11072
11073 * gdb.base/nodebug.exp: Test ability to call a function and pass
11074 it a string (even with no debugging info).
11075
11076 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
11077 "p '\'", which is the same as "p ''" once tcl gets done with
11078 quoting, to "p '\\'", which I suspect is what is intended (one
11079 backslash gets sent to GDB).
11080
11081 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
11082
11083Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11084
11085 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
11086 1817) was fixed literally years ago.
11087
11088Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11089
11090 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
11091 test, it causes stepping out of call_after_alloca_subr with
11092 optimizing compilers.
11093 (localvars_in_indirect_call): Consume GDB prompt if `finish'
11094 fails.
11095
11096 * gdb.c++/templates.exp: Source templ-info.exp only if
11097 the templates executable exists.
11098
11099 * gdb.c++/misc.cc (class Contains_static_instance,
11100 class Contains_nested_static_instance),
11101 gdb.c++/classes.exp (test_static_members): Test printing of
11102 a class that contains a static instance of the class.
11103
11104Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11105
11106 * gdb.base/langs2.c (cppsub_): Don't prototype.
11107 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
11108 only, I believe).
11109
11110Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11111
11112 * lib/gdb.exp (skip_chill_tests): New procedure.
11113
11114 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
11115
11116Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
11117
11118 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
11119 each expect pattern. Cuts runtime from 12 to about 4 seconds.
11120
11121Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11122
11123 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
11124
11125 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
11126 disassemble 8, not 16, instructions for part 4.
11127
11128 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
11129 support the latter anymore.
11130
11131 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
11132 -DNO_PROTOTYPES.
11133 * gdb.base/callfuncs.c: Control use of prototypes based on
11134 NO_PROTOTYPES, not __STDC__.
11135 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
11136 t_float_values2 tests if prototypes in use.
11137
11138 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
11139 t_double_values): When checking differences against DELTA, check
11140 that difference is within the range (-DELTA,DELTA), not just
11141 (-infinity,DELTA).
11142
11143Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
11144
11145 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
11146 'file' command firts, then 'target', then 'load', this is due to gdb
11147 target set up.
11148 * config/mips-gdb.exp: Fix a couple regular exp bugs.
11149
11150Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
11151
11152 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
11153 FP load/store variants.
11154 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
11155
11156Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11157
11158 * gdb.base/term.exp: Do not give a warning if not native, it is
11159 not an abnormal condition.
11160
11161Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
11162
11163 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
11164 t_char_array".
11165
11166Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11167
11168 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
11169 are getting the version number.
11170
11171 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
11172 if not native, it is not an abnormal condition.
11173
11174Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11175
11176 * lib/gdb.exp: Just use "file exists", rather than undocumented
11177 dejagnu procedure "findfile".
11178
11179Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11180
11181 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
11182 (LDFLAGS): Set to -Xlinker -Ur.
11183
11184 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
11185 Removed, these values are set by lib/gdb.exp.
11186
11187 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
11188
11189Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11190
11191 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
11192 of replicating gdb startup code.
11193
11194 * config/mt-vxworks (LDFLAGS): Set to -r.
11195 (CFLAGS_FOR_TARGET): Removed.
11196
11197 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
11198 (gdb) and gdb for vxworks uses (vxgdb).
11199
11200 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
11201 executable is not in the tree and host != target, use sed and
11202 program_transform_name to determine the gdb name used by the
11203 target.
11204
11205 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
11206 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
11207
11208Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11209
11210 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
11211 floats, chars, and shorts where there are ANSI-style function
11212 definitions.
11213
11214 * gdb.base/langs.exp, gdb.base/langs*: New test.
11215 * gdb.base/Makefile.in: Build it.
11216 * TODO: Remove item about checking that C names don't get C++
11217 demangling applied; this test tests it.
11218
11219Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11220
11221 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
11222 went with the const70 xfail. The xfail went away a year ago.
11223
11224 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
11225
11226 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
11227 for hp300.
11228
11229 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
11230
11231 * gdb.base/a1-selftest.exp: Don't run on hp300.
11232
11233Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11234
11235 * Makefile.in (site.exp): Set host_alias and target_alias as well
11236 as host_triplet and target_triplet.
11237
11238Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11239
11240 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
11241
11242 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
11243 places as other ecoff systems).
11244
11245 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
11246 ultrix.
11247
11248Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11249
11250 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
11251 remove them.
11252 * gdb.base/nodebug.exp: Accept "function" in addition to "text
11253 variable and "variable" in addition to "data variable".
11254 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
11255
11256 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
11257 2.
11258 * gdb.base/list1.c (long_line): Add additional statement at start
11259 of function.
11260 * gdb.base/list.exp (test_forward_search): Update line number to
11261 reflect new statement.
11262
11263Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11264
11265 * gdb.base/signals.exp: Reinitialize searched source directories
11266 after gdb_start call.
11267
11268Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
11269
11270 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
11271 * gdb.stabs/Makefile.in: Likewise.
11272
11273 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
11274 change. Instead split the tests into smaller pieces.
11275 * gdb.disasm/hppa.s: Corresponding changes.
11276
11277Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11278
11279 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11280 Quote ^C when passing it to stty. For some shells ^ is a pipe.
11281
11282 * gdb.base/funcargs.exp: Modify many tests so that every test
11283 either passes or fails. Make some test names unique.
11284
11285Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11286
11287 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11288 Call stty to set interrupt character.
11289
11290 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
11291 for HP assembler versus GNU assembler based on actual behavior of
11292 $(CC), rather than assuming that $(AS) is always the GNU assembler.
11293
11294 * TODO: Suggest a few more stepping tests.
11295
11296Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
11297
11298 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
11299 restart GDB for h8300 after a continue.
11300 (return): Add pattern to match a29k-udi behavior.
11301 * gdb.base/nodebug.exp: Remove obsolete comment.
11302 * gdb.base/regs.exp: New file, testing of register displays.
11303 * gdb.base/return.exp: Fix typo in reference to $objdir.
11304 * gdb.base/whatis.exp: Always start with a fresh GDB.
11305
11306Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11307
11308 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
11309 higher, these tests generate a lot of output.
11310
11311Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11312
11313 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
11314 code following the catch silently ignored some errors; without the
11315 catch they should be thrown like any other tcl error. Also, the
11316 catch used "" instead of {} which meant all the callers who wanted
11317 to include one of the characters "[]$ had to quote it an extra time.
11318 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
11319 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
11320 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
11321 Remove extra quoting.
11322
11323Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
11324
11325 * gdb.base/commands.exp: Make test names unique; every test either
11326 passes or fails. Update some comments.
11327
11328 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
11329
11330Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11331
11332 The following fixes a FAIL caused by the fact that the alpha stabs
11333 configuration didn't use the ".if alpha" code in weird.def.
11334 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
11335 bit pointer, so the 32 bit version works even on the alpha.
11336 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
11337 Remove the stuff which allowed us to have separate versions for
11338 alpha and everything else.
11339
11340 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
11341 regexp which "info func operator\[\](" is supposed to match. Fix
11342 string to send to GDB. Note that GDB still doesn't work right. Add a
11343 new test for "info func .perator\[\](" which GDB does handle correctly.
11344
11345 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
11346
11347Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11348
11349 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
11350 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
11351 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
11352 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11353 it makes the tests harder to understand and confuses test-o-matic.
11354 The preferred style is that each test provides a PASS or a FAIL,
11355 and has a unique message (e.g. "continue #54" not just "continue")
11356 which is the same for the pass and the fail.
11357 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11358 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
11359 to lib/gdb.exp.
11360 * gdb.base/printcmds.exp: Use test_print_accept. Remove
11361 prt_accept which was basically the same thing. Likewise for
11362 test_print_reject and prt_reject.
11363 * lib/gdb.exp (test_print_reject): Add some more error message
11364 patterns to match from the former printcmds.exp (prt_reject).
11365 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
11366 One defect of the passcount stuff is that some of it failed to
11367 report XPASS where appropriate.
11368 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
11369 stuff before and after arg in expected pattern.
11370 (test_paddr_operator_functions): Re-do test without print_addr_of;
11371 this is the only test which seems to want extra stuff there.
11372
11373Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11374
11375 * gdb.base/nodebug.exp: Update new tests to reflect improved
11376 wording of gdb output.
11377
11378 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
11379 and "ptype" work on variables in files compiled without -g.
11380 Replaces commented out "maint print msymbol" tests.
11381
11382Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11383
11384 * gdb.base/setvar.c (dummy): Call malloc.
11385
11386 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
11387 losing with the irix4 sed.
11388
11389 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
11390 ALRM" on irix4.
11391
11392Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11393
11394 * TODO: Remove items about corefile.exp testing new exec-file and
11395 backtrace; both are now done. Add items about printing enums.
11396
11397Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11398
11399 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
11400 "get signal $thissig" test fails.
11401
11402 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
11403
11404Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11405
11406 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
11407 compiler warning with dec alpha compiler.
11408
11409 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
11410 extra \n from gdb_test call (this explains why the prompt test
11411 that I removed yesterday was there).
11412 (user_defined_command_test): Remove extra \n and prompt test.
11413
11414 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
11415 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
11416 doesn't exist.
11417 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
11418 Also remove alpha workaround, which turns out to be because
11419 SIGABRT == SIGLOST.
11420
11421 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
11422
11423 * gdb.base/help.exp: Don't test "help show".
11424
11425Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11426
11427 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
11428 "set print address" is on.
11429 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
11430 pass prompt to gdb_test; gdb_test already looks for the prompt.
11431
11432 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
11433
11434 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
11435 was a vestige of the manual TESTSTRATEGY, and the purpose of it
11436 was to make sure that gdb can read a core file. But (a) the "read
11437 the corefile" part didn't make it to a1-selftest.exp, we just
11438 delete the corefile after creating it, and (b) we test reading
11439 corefiles in corefile.exp anyway. Also, this test left around a
11440 xgdb process on Solaris.
11441
11442 * gdb.base/corefile.exp: Also test backtrace.
11443
11444Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
11445
11446 * gdb.base/commands.exp: Test a simple user defined command with
11447 arguments and if/while statements; verify the full user command is
11448 printed by "show user".
11449
11450 * gdb.base/commands.exp: Test if/while commands as part of a
11451 breakpoint command list; verify they appear in breakpoint
11452 information.
11453
11454Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11455
11456 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
11457 than by dividing by zero.
11458
11459Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
11460
11461 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11462 performing an inferior call with watchpoints enabled.
11463 * gdb.base/watchpoint.c (main): Delete second unnecessary read
11464 call.
11465
11466Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11467
11468 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11469 of "file" command.
11470
11471 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11472 Add additional pattern for when "int operator int(void);" appears
11473 in a different order.
11474
11475Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11476
11477 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11478
11479 * gdb.base/help.exp: Replace most of docstrings for "info signals"
11480 and "signal" with ".*".
11481
11482Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11483
11484 * TODO: Add note about "handle all nostop".
11485
11486 * gdb.base/{sigall.c, sigall.exp}: New test.
11487 * gdb.base/Makefile.in: Add it.
11488
11489Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
11490
11491 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11492 when invoking GDB, suppresses any windowing interface.
11493
11494Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
11495
11496 * config/sim-gdb: New file, simulator testing support.
11497
11498Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
11499
11500 * gdb.base/interrupt.exp: Test calling func1 twice.
11501
11502Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
11503
11504 * gdb.base/list.exp (test_forward_search): Set timeout higher
11505 when we'll be getting lots of output from gdb.
11506
11507 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11508 "init_malloc" to after the expect statement. Run it if that
11509 regexp is taken, but also for two others which happen if source
11510 cannot be found.
11511
11512Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11513
11514 * gdb.base/printcmds.exp: New test, for printing register before
11515 program is running.
11516
11517Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11518
11519 * gdb.base/list.exp: Correct some alternate expect patterns
11520 to reflect changes in list1.c.
11521
11522Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11523
11524 * TODO: Add item regarding large frames.
11525
11526 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11527
11528 * TODO: Remove item about enabling return.exp; it
11529 is enabled. Suggest a few more "return" tests.
11530
11531Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11532
11533 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
11534 anonymous unions.
11535
11536Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11537
11538 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11539 and pr-5646.o, so "make" is the same as "make all", not "make
11540 pr-4975.o".
11541
11542Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
11543
11544 * gdb.base/list.exp: Adjust expectations to reflect changes in
11545 list1.c.
11546 (test_forward_search): New test proc.
11547 * gdb.base/list1.c (long_line): New function, has long source line.
11548
11549Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
11550
11551 * gdb.base/a1-selftest.exp: Change initial stepping to know about
11552 additional line of code that was added.
11553
11554Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
11555
11556 * gdb.disasm/hppa.s: Break the large branching tests into smaller
11557 tests so as not to overflow expect's input buffers.
11558 * gdb.disasm/hppa.exp: Corresponding changes.
11559
11560Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11561
11562 Beginnings of template debugging tests.
11563 * gdb.c++/templ-info.cc: New file to test for template
11564 debugging capability of the compiler.
11565 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
11566 templ-info.cc.
11567 * gdb.c++/templates.cc: Add explicit template instantiations
11568 to enable compiling with -fno-implicit-templates. Add destructor
11569 and 'value' method to T5 class for template tests.
11570 * gdb.c++/templates.exp: Add testcases for printing of template
11571 types, setting breakpoints on template methods and calling a
d63a86f8 11572 template method.
c906108c
SS
11573
11574Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11575
11576 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11577 branch target since some assemblers (gas-2.5) may emit a
11578 relocation for the branch instead of resolving it in the
11579 assembler.
11580
11581Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11582
11583 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11584 through signal handler.
11585
11586Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11587
11588 * configure.in (*-*-netware): Use config/mt-netware.
11589
11590 * config/mt-netware: New file.
11591 * config/mt-i386-netware: Removed, separate configs for different
11592 netware architectures are no longer needed now that we have
11593 --with-headers.
11594
11595Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11596
11597 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11598 by the recent changes to use ANSI C arithmetic conversions.
11599
11600Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11601
11602 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11603 bug involving using inferior_pid to figure out whether to select a
11604 frame.
11605
11606Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11607
11608 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11609 match the current disassembler output.
11610
11611Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11612
11613 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11614 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11615 types, expect "int" as type of integer values (for now).
11616
11617Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11618
11619 * gdb.base/commands.exp: New tests for if/while commands.
11620
11621Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11622
11623 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11624 by .*, since hex values have different syntax in Chill mode.
11625
11626Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11627
11628 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11629 linefeed from expect pattern for repeated types with indices > 9.
11630
11631Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11632
11633 First part of Fortran test suite.
11634 * gdb.fortran: New directory.
11635 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11636
11637Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11638
11639 * gdb.base/default.exp: Update expect pattern for load command
11640 without arguments.
11641
11642Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11643
11644 * configure.in: Change i386 to i[345]86.
11645 * gdb.base/configure.in: Likewise.
11646 * gdb.c++/configure.in: Likewise.
11647 * gdb.chill/configure.in: Likewise.
11648
11649Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11650
11651 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11652 patterns, since that is not a valid context for comments.
11653
11654Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11655
11656 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11657 repeated types and repeated types with indices > 9.
11658
11659Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11660
11661 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11662 2417; old bug has been fixed.
11663
11664Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11665
11666 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11667 send the newline ourselves instead of assuming gdb_test will do
11668 so when passed an empty input string.
11669
11670 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11671 stabs testcode.
11672
11673Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11674
11675 * lib/gdb.exp (gdb_test): Don't send anything if the first
11676 argument is an empty string. This makes cases where we want to
11677 match output that is already in expect's buffers (for example,
11678 matching a breakpoint after gdb_run_cmd has been called) work
11679 reliably.
11680
11681Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11682
11683 * config/netware.exp: New file.
11684
11685Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11686
11687 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11688 the -B and -L prefixes so we can find the debugging stub.
11689
11690 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11691 there and we are using the gcc from the tree.
11692
11693 * gdb.base/types.c: Removed.
11694
11695 * gdb.base/configure.in: Look for makefile fragments in ../config.
11696 Recognize i386-*-netware.
11697 * gdb.c++/configure.in: Likewise.
11698
11699Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11700
11701 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11702 the correct TCL syntax.
11703
11704Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11705
11706 * gdb.base/opaque.exp: use runto instead of messing around with
11707 breakpoints. Simplify by using gdb_test.
11708
11709 * gdb.base/bitfields.exp: restart between tests on netware targets
11710 because breakpoints aren't relocated after target death. Run
11711 processes to completion.
11712
11713 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11714
11715Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11716
11717 * Makefile.in: Remove extra tabs that confuse some versions
11718 of "make". Use the newly built gdb to test with by default,
11719 rather than the first one in the tester's search path.
11720
11721Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11722
11723 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11724
11725 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11726 condition help.
11727
11728Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11729
11730 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11731
11732 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11733 running.
11734 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11735 * gdb.base/funcargs.exp: Likewise.
11736
11737 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11738 * gdb.base/funcargs.exp: Likewise.
11739
11740 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11741 message is "".
11742
11743Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11744
11745 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11746 return,signals,twice}.exp: Handle non-existant binaries
11747 consistantly.
11748
11749 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11750 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11751 might testing a cross development system.
11752
11753Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11754
11755 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11756 runtest script is relative to ${srcdir}, not ${rootdir}.
11757
11758Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11759
11760 * gdb.base/signals.exp: Allow for optionality of breakpoint
11761 address.
11762
11763Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11764
11765 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11766
11767Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11768
11769 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11770 for size_t definition.
11771 * gdb.c++/templates.cc: Likewise
11772
11773 * config/mt-i386-netware: New file.
11774
11775 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11776 defined.
11777
11778 * gdb.base/Makefile.in: Added support for systems that name core
11779 files by appending "core" to the program name.
11780 * gdb.base/a1-selftest.exp: Likewise.
11781
11782Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11783
11784 * gdb.base/return.exp: Add comment and message for `return double'
11785 test failure on Sparc Solaris.
11786
11787Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11788
11789 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11790
11791Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11792
11793 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11794 from optimizing them away.
11795 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11796 patterns to include default constructors and assignment operators,
11797 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11798 character in the output of the virtual base pointer.
11799
11800Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11801
11802 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11803 expression match in print_addr_of to avoid unintented matches.
11804 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11805 versions up to 2.5.8.
11806
11807Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11808
11809 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11810 included file to run under newer versions of expect.
11811 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11812 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11813 Remove xfail for the virtual table of BDDHookV.
11814
11815Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11816
11817 * lib/gdb.exp (string_to_regexp): Set a default result.
11818 (default_gdb_start): Fix misleading message.
11819
11820Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11821
11822 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11823 Remove all CC, etc definitions.
11824 * config/mt-hpux: New file.
11825 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11826 (CFLAGS, LDFLAGS): Define.
11827 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11828
11829 * Makefile.in (site.exp): Don't insert host_os, etc.
11830 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11831 (distclean): Check existence of subdir.
11832 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11833 * gdb.base/Makefile.in: General cleanup and simplification.
11834 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11835 to build executables. Use default rule to build .o files.
11836 (EXPECT, RUNTEST, CC): Fix relative pathname.
11837 (site.exp): Don't insert host_os, etc.
11838 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11839 and/or SIGUSR1 defined.
11840 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11841 * gdb.c++/Makefile.in: General cleanup and simplification.
11842 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11843 (CFLAGS): Remove.
11844 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11845
11846Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11847
11848 * gdb.base/recurse.exp: Misc changes to get tests running again
11849 after Kung's changes to the watchpoint code.
11850 * gdb.base/watchpoint.exp: Likewise.
11851
11852Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11853
11854 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11855
11856Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11857
11858 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11859 * lib/gdb.exp (default_gdb_start): Define.
11860 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11861 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11862 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11863 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11864 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11865 Don't call gdb_target_udi in between tests.
11866
11867Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11868
11869 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11870 (which was basically just a local version of the same thing). In
11871 addition to avoiding duplication, gdb_test_exact is faster.
11872 * lib/gdb.exp (gdb_test_exact): Fix typo.
11873
11874 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11875 don't give an error.
11876
11877 * gdb.base/term.exp: Call delete_breakpoints before starting.
11878
11879 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11880 (t10): Add comment.
11881
11882Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11883
11884 Reorganization of the GDB Test Suite.
11885
11886 * gdb.base: New directory, contains all the basic tests.
11887 * gdb.c++: New directory, tests specific to C++.
11888 * gdb.chill: New directory, tests specific to Chill.
11889 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11890 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11891 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11892 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11893 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11894 t30-31 to chill).
11895 * */gdbme.*: Rename to match appropriate expect scripts.
11896 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11897 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11898 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11899 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11900 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11901 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11902 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11903 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11904 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11905 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11906 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11907 gdb.c++/virtfunc.cc: New names of C++ files.
11908 * gdb.chill/chillvars.ch: New name of Chill file.
11909 * gdb.base/configure.in, gdb.c++/configure.in,
11910 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11911 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11912 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11913 * configure.in (configdirs): Update to reflect directory changes.
11914 (target_abbrev): No longer define for any configuration.
11915 * Makefile.in: Cosmetic improvements to header comments.
11916
11917Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11918
11919 Various changes to gdb.t31:
11920
11921 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11922 * gdbme.ch: Make all key-words and predefineds be upper-case.
11923 * chillvars.exp: Expect key-words and predefinds in upper-case.
11924
11925 * chillvars.exp: Use gdb_test_exact many places.
11926 Change expected output for arrays (which now includes index labels).
11927
11928 * pr-5020.exp, gdme.ch (module PR_5020):
11929 New test, for PR-5020.
11930
11931Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11932
11933 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11934 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11935
11936Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11937
11938 * Makefile.in: Fix bit-rot in definitions of CHILL,
11939 CHILL_FOR_TARGET and Chill_LIB.
11940 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11941 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11942 CHILL, and CHILL_LIB.
11943
11944Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11945
11946 * Revert the previous changes. Please see Rob's directory
11947 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11948
11949Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11950
11951 * Makefile.in, configure.in, config/mips-gdb.exp,
11952 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11953 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11954 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11955 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11956 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11957 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11958 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11959 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11960 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11961 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11962 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11963 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11964 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11965 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11966 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11967 changes from 94Q1.
11968
11969Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11970
11971 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11972 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11973 Rob's new testing fragments.
11974
11975Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11976
11977 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11978 lib/gdb.exp: Replace error proc calls with perror.
11979
11980Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11981
11982 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11983 version also, match on casted version strings, and match on
11984 gdb startup case where the line numbers might be messed up.
11985
11986Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11987
11988 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11989 (CFLAGS): Delete it from here.
11990
11991Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11992
11993 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11994
11995Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11996
11997 * Makefile.in (RUNTEST): Default to just "runtest".
11998
11999Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12000
12001 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
12002 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
12003 the code has been restructured.
12004
12005Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12006
12007 * gdb.t00/default.exp (set write): Allow any number of \r and/or
12008 \n, not just one of each.
12009
12010 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
12011 /bin/cc gives a warning if you do.
12012
12013Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
12014
d63a86f8 12015 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
12016 __t10ListS_link1ZUiRCUiPT0
12017
12018Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12019
12020 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
12021 on local variables in recursive functions.
12022
12023 * gdb.t07/Makefile.in: Build the new test.
12024
12025Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12026
12027 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
12028 directly. Instead compare the return values from actual calls.
12029
12030Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
12031
12032 * Makefile.in (check): Set TCL_LIBRARY for runtest.
12033
12034Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12035
12036 * From Peter Schauer with minor modifications.
12037 * gdb.t15/return.exp (return_tests): Handle targets where "return"
12038 stops in mid-line in the caller. Add xfail for returning a float
12039 value on X86 targets.
12040
12041Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12042
12043 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
12044 to avoid expect lossage.
12045 (fmem_LRbug_tests): Likewise.
12046 * gdb.disasm/hppa.s: Corresponding changes.
12047
12048 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
12049 conditions to work with latest dejagnu/expect.
12050
12051 * gdb.t15/funcargs.exp (finish from indirect call): No longer
12052 expected to fail on the PA.
12053 (backtrace in call with trampolines): Explicitly require main
12054 to be frame #1 (no trampolines should show up in backtrace).
12055
12056 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
12057 "continue -expect".
12058 * gdb.t06/break.exp: Likewise.
12059 * gdb.t07/watchpoint.exp: Likewise.
12060 * gdb.t13/bitfields.exp: Likewise.
12061 * gdb.t15/{funcargs,return}.exp: Likewise.
12062 * gdb.stabs/weird.exp: Likewise.
12063 * config/{mips,udi}-gdb.exp: Likewise.
12064
12065 * hppa.sed: Enclose comments within a sed command to avoid
12066 losing with the old OSF1 sed.
12067
12068Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12069
12070 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
12071 sequent dynix.
12072 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
12073 * gdb.t15/funcargs.exp: Conditionally step again to really
12074 finish from marker_call_with_trampolines. Handle the case where
12075 the first step from within call_with_trampolines already steps
12076 us back to main.
12077 * gdb.t15/gdbme.c: Add comment to closing brace of
12078 call_with_trampolines for funcargs.exp.
12079
12080Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12081
d63a86f8 12082 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
12083 Fix typo(s).
12084
12085Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12086
12087 * gdb.t07/gdbme.c: More code for watchpoint testing.
12088
12089 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
12090 "Hardware watchpoint" throughout file.
12091 (test_watchpoint_triggered_in_syscall): New test.
12092 (test_complex_watchpoint): New test.
12093
12094Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12095
12096 * gdbme.c (call_with_trampolines): New function to try and step
12097 into. Tests trampoline problems on the PA.
12098
12099 * funcargs.exp (localvars_in_indirect_call): No longer expect
12100 stepping into indirect call to fail on PAs.
12101 (test_stepping_over_trampolines): New test.
12102
12103Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12104
12105 * TODO: Add suggestions for static member function tests, and
12106 completion tests.
12107
12108Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12109
12110 * TODO: Add suggestions for "p/a" tests.
12111
12112 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
12113 (default_gdb_exit): Replace all the hair with sending "quit" to
12114 the process with a simple close.
12115
12116Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12117
12118 * TODO: Add suggestions for shared library tests.
12119
12120Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12121
12122 * TODO: Add suggestions for x/s tests.
12123
12124Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12125
12126 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
12127 "enable once", and "enable breakpoints once" with ".*".
12128
12129Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12130
12131 * TODO: Add suggestions about structure passing tests.
12132
12133Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12134
12135 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
12136 the primary1 test, use work around if __GNUC__ < 2.
12137 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
12138 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
12139 Test for bad output rather than waiting for timeout. Issue
12140 second continue only if first continue failed.
12141
12142Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12143
12144 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
12145 operator[] test with gdb_test because the old code didn't seem to
12146 be getting the quoting right with the new dejagnu.
12147
12148Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
12149
12150 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
12151 one from the path.
12152 * Makefile.in: Use a fresh expect if there is one, use runtest
12153 from the src tree if there is one.
d63a86f8 12154
c906108c
SS
12155Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12156
12157 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
12158 next over recursive call. Revise the tests from that point on
12159 (which had been skipped) to match GDB's actual (correct) output.
12160
12161 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
12162 with next over a breakpoint whose condition is false.
12163
12164 * gdb.t00/help.exp: Comment out "help set print" tests just like
12165 (and for same reason as) "help set" test.
12166
12167Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12168
12169 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
12170 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
12171
12172Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12173
12174 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
12175 necessary gdb_target_udi.
12176
12177 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
12178
12179 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
12180 1838 and 2417; they are fixed.
12181
12182 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
12183 gdb.t03/ptype.exp (ptype structure, ptype union):
12184 Remove xfails; the test is looser than when the xfails were added.
12185
12186 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
12187 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
12188
12189 * gdb.t01/run.exp: Only run shell test if isnative.
12190
12191 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
12192 since "run" automatically loads if necessary. Call gdb_target_udi
12193 after the "file" since "file" kills any execution target.
12194
12195 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
12196 GDB. GDB doesn't work that way (not anymore at least) on UDI.
12197 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
12198 argument for UDI.
12199
12200Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12201
12202 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
12203
12204 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
12205
12206Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12207
12208 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
12209 properly quoting regexps. This makes the second argument to
12210 demangle a fixed string, which matches the callers, instead of a
12211 shell-style pattern which is what the previous implementation
12212 used. Update some of the callers.
12213
12214Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12215
12216 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
12217 (comib_nullified_tests): Fix typo.
12218 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
12219 strings. No longer expected to fail.
12220
12221 * gdb.disasm/hppa.s (addib_tests): Fix typo.
12222 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
12223 strings. No longer expected to fail.
12224
12225 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
12226 string. No longer expected to fail.
12227
12228Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12229
12230 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
12231 No longer expected to fail.
12232
12233 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
12234 string. No longer expected to fail.
12235
12236Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12237
12238 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
12239 only in the names (I probably got most of them). I was even
12240 generous with some which differed in underscores in names, and
12241 probably missed a few, and I *still* was able to remove almost a
12242 third of the file with almost no impact on testsuite coverage.
12243
12244Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12245
12246 * gdb.t00/default.exp: Match udi_attach error message as well as
12247 the one from child_attach.
12248
12249 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
12250
12251 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
12252
12253 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
12254 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
12255
12256 * Move test with enums and partial symbols back to
12257 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
12258 Reverts the change of 26 May 93. Per today's change to
12259 stabs.texinfo, the behavior that weird.exp was expecting was
12260 unreasonable; what is important is that the compiler+gdb get
12261 things right, which happens with a recent gcc. Also fix the test
12262 to deal with native compilers which put out the stab gdb can't
12263 deal with.
12264
12265Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12266
12267 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
12268 in the names. The main thing these accomplish is to slow things down.
12269 Many more such duplicates surely remain.
12270
12271 * gdb.t00/help.exp: Comment out "help support" test just like
12272 (and for same reason as) "help set" test.
12273
12274Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
12275
12276 * gdb.t06/break.exp: Remove setup_xfails for
12277 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
12278 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
12279 about known bug in gcc to include up through 2.5.8.
12280 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
12281 well as "_vb$".
12282 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
12283 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
12284 with latest gcc and gdb.
12285 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
12286 well as "_vb$".
12287
12288Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12289
12290 * configure.in (hppa*-*-*): Also configure and build stabs-only
12291 tests.
12292
12293Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12294
12295 * gdb.t10/hppa.mt: A makefile fragment for the PA.
12296 * gdb.t10/configure.in (hppa*-*-*): Use it.
12297
12298Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12299
12300 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
12301
12302Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12303
12304 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
12305 versions prior to 1.13.5.
12306
12307Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12308
12309 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
12310 the prompt is at the start of a line.
12311
12312Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12313
12314 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
12315 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
12316 in the copr tests now.
12317 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
12318 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
12319 expected to fail.
12320
12321Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
12322
12323 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
12324 gdb.t31/chillvars.exp, lib/gdb.exp:
12325 Tweak to run under either version of expect.
12326 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
12327 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
12328 * gdb.t11/list.exp: Remove extraneous whitespace.
12329
12330Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12331
12332 * gdb.t16/printcmds.exp (test_print_strings): Accept
12333 "(unsigned char *) " before the string.
12334
12335 * TODO: Add notes about printing of fancy types and GDB expressions.
12336
12337Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
12338
12339 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
12340 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 12341 if doing mips-idt-ecoff.
c906108c
SS
12342
12343Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
12344
12345 * Most .exp files: Tweak to run under either version of expect.
12346
12347Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12348
12349 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
12350 xfails; I'm not sure why they are failing, but not because of PR 1806.
12351
12352Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
12353
12354 * config/unix-gdb.exp: Remove gdb_unload cause it's already
12355 defined in lib/gdb.exp.
12356
12357Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12358
12359 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
12360 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
12361 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
12362 have to be typeless.
12363
12364Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12365
12366 * TODO: Add suggestion for copyright year test.
12367
12368Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
12369
12370 * configure.in (*-*-lynxos*): Add stabs tests.
12371
12372Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12373
12374 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
12375 so insert a tab before any assembler directive in column zero.
12376
12377 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
12378 stores.
12379 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
12380 stores.
12381 (fpu_short_memory_tests): Likewise.
12382
12383Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12384
12385 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
12386 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
12387 .stabs directives in comments.
12388
12389Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12390
12391 * TODO: New file, describing tests we could write.
12392 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
12393
12394Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12395
12396 * gdb.t06/signals.exp: Add kludge to force re-sync.
12397
12398 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
12399 to xgdb instead of gdb, get out of gdb.
12400
12401Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
12402
12403 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
12404 for info.
12405
12406Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12407
12408 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
12409 * gdb.stabs/configure.in (hppa*-*-*): Use it.
12410 * gdb.stabs/hppa.sed: New sed script for the PA.
12411
12412Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12413
12414 * gdb.stabs: Re-write weird.def and configuration to use sed
12415 instead of cpp. sed is portable and POSIX; cpp is neither.
12416
12417Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12418
12419 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
12420
12421Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12422
12423 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
12424
12425Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12426
12427 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
12428 "_vb$".
12429 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
12430 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
12431
12432Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12433
12434 * lib/gdb.exp: Comment out code which depends on non-existent
12435 `transform' procedure.
12436
12437Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
12438
12439 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
12440 * lib/gdb.exp: Transform tool name.
12441 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
12442 1.1's new error handling system.
12443
12444Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12445
12446 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
12447
12448Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12449
12450 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
12451 They made pattern matching so slow that timeouts happened on
12452 heavily loaded systems. Now any output from "show print" which
12453 gets us back to the GDB prompt is a PASS.
12454
12455Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
12456
12457 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
12458
12459Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12460
12461 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12462
12463 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12464 It is not from PR 3220.
12465
12466Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12467
12468 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12469 just started failing because they depended on the order the
12470 subcommands are presented, or exact docstring text. This kind of
12471 test is a pain and has minimal benefit.
12472
12473Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12474
12475 * gdb.t09/corefile.exp: At end of test, use "core" command with
12476 no arguments.
12477
12478Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
12479
12480 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12481 17}/Makefile.in: Make it possible to run the testsuite with Sun
12482 make and CC = cross gcc by adding explicit build rules for .o
12483 files.
12484
12485Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12486
12487 * gdb.t15/funcargs.exp: Don't put comments on same line as
12488 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 12489
c906108c
SS
12490Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12491
12492 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12493
12494Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
12495
12496 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12497 * gdb.t20/inherit.exp: remove three dumplicate entries.
12498
12499Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12500
12501 * gdb.t06/break.exp: For "next over recursive call", fail on any
12502 incorrect output, not just on "factorial (value=2)".
12503
12504Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12505
12506 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
12507 working now. Add an xfail if accesing a bss variable causes
12508 a memory error if the target is not yet run.
12509
12510Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12511
12512 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12513 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12514 name of __st* demangling (2 strings). Did Kung really get the
12515 more than 95 others right without testing them?
12516
12517Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
12518
12519 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12520
12521Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
12522
12523 * configure.in (configdirs): Add gdb.disasm
12524 * gdb.disasm: New directory for GDB disassembler tests.
12525 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12526
12527Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12528
12529 * gdb.t00/help.exp: Don't test "help set".
12530
12531 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12532 from within expect statements. None of these happen anymore and
12533 they cause regressions to be silently unnoticed.
12534
12535 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12536 messages) about known failures with gcc cygnus-2.4.5-930417.
12537
12538 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12539 comp-info.exp so it gets built if it doesn't exist.
12540
12541 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12542 it is no longer used.
12543 * gdb.t13/comp-info.c: Removed.
12544
12545Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12546
12547 * gdb.t06/signals.exp: Add xfail for sun3.
12548
12549Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12550
12551 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12552 relevant because ^C doesn't get sent but failure can be reproduced
12553 interactively).
12554
12555Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12556
12557 * gdb.stabs/alpha.mt: New configuration file for alpha.
12558 * gdb.stabs/configure.in: Use it.
12559 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
12560 sharing with alpha.mt, redefine long to word via preprocessor.
12561 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
12562 for alpha.
12563 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
12564 native cc.
12565 * gdb.t00/teststrategy.exp: Change expect string so that we
12566 consume the `(xgdb)' from the command echo and from the gdb prompt.
12567 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
12568 gdb currently compares all values as long, so this failure probably
12569 applies to any configuration where LONGEST is bigger than a target int.
12570 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12571 with gcc.
12572 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12573 to handle opaque pointers, gcc is.
12574 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12575 as first argument. Include <sys/types.h> and change all operator
12576 new definitions to use size_t.
12577 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12578 now that we use size_t.
12579
12580Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12581
12582 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12583 a long or float array cast all array members to the same type.
12584 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12585 with 64 bit longs.
12586 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12587 on alpha.
12588 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12589
12590Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12591
12592 * gdb.t24 (demangle.exp): Constructors of templates have names like
12593 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12594 section 14.6 of the ARM.
12595
12596 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12597 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12598 accomplish little and slow down the testsuite.
12599
12600 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12601 Accept spaces various places.
12602
12603Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12604
12605 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12606 with watchpoint enabled.
12607
12608 * Makefile.in: Remove definition of CC and remove the second
12609 definition of CXX (the "CXX = gcc" one remains). These definitions
12610 were causing backquotes to be expanded within backquotes, which
12611 doesn't work.
12612
12613Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12614
12615 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12616
12617Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12618
12619 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12620 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12621 by mips cc and contains no stabs entries.
12622
12623Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12624
12625 * config/vx-gdb.exp: Use fake device to load files rather than
12626 NFS.
12627 * lib/gdb.exp: New proc to do "file" command.
12628 * config/unix-gdb.exp: Use new "file" proc.
12629
12630Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12631
12632 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12633 Rework board rebooting slightly.
12634 (gdb_exit): Don't exit from the remote shell; there isn't one.
12635 * gdb.stabs/weird.exp: If a program is being debugged already,
12636 kill it.
12637 * gdb.t04/setvar.exp: Stop and restart gdb.
12638 * gdb.t05/expr.exp: Likewise.
12639 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12640 restart gdb and reload the program.
12641 * gdb.t08/opaque.exp: Likewise.
12642 * gdb.t12/scope.exp: Likewise.
12643 * gdb.t13/bitfields.exp: Likewise.
12644 * gdb.t15/funcargs.exp: Likewise.
12645 * gdb.t20/classes.exp: Likewise.
12646 * gdb.t03/ptype.exp: Increase timeout.
12647 * gdb.t16/printcmds.exp (test_print_string_constants,
12648 test_print_array_constants): Likewise.
12649 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12650 * gdb.t20/classes.exp (do_tests): Likewise.
12651 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12652
12653Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12654
12655 * gdb.stabs: Renamed *wierd* to *weird*.
12656
12657Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12658
12659 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12660 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12661
12662Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12663
12664 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12665 (do_tests): Remove xfail for whatis on one_var and two_var.
12666
12667Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12668
12669 * Makefile.in: Made cross building work better by adding
12670 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12671
12672Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12673
12674 * gdb.t15/{return.c,return.exp,Makefile.in}:
12675 New test, currently commented out.
12676
12677Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12678
12679 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12680 still running and removes the leftover named socket so GDb can do
12681 clean restarts.
12682
12683Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12684
12685 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12686 console, not GDB.
12687 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12688 cross testing works better with "make check"
12689 * config/unix-gdb: Use default procedures for exit and version.
12690 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12691 with the newest VxWorks.
12692
12693Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12694
12695 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12696 old form.
12697
12698 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12699 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12700
12701 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12702
12703 * config/unix-gdb.exp: Remove this version of gdb_exit
12704 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12705 Rob says he'll look at it when he gets back to testing boards.
12706
12707Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12708
12709 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12710 an expected fail for certain ptype commands.
12711
12712 * gdb.t20/classes.exp: Update expected results of "ptype class
12713 Base1" to account for the constructor that now appears in the type.
12714
12715Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12716
12717 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12718 disappeared from list.
12719 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12720 "alldone" proc with call to cleanup and exit.
12721 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12722 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12723 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12724 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12725 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12726 "alldone" proc with simple returns that suppress remaining
12727 tests. The alldone proc went away many months ago.
12728
12729Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12730
12731 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12732
12733 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12734
12735Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12736
12737 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12738 as vax gdb will display them.
12739
12740Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12741
12742 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12743 optimizers.
12744
12745 * scope.exp: Change "bad value for localval" messages so each one
12746 is unique.
12747
12748 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12749 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12750
12751 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12752
12753Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12754
12755 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12756 doesn't exist (due to optimization).
12757
12758Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12759
12760 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12761 contains \r because the filename is long.
12762
12763 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12764 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12765
12766Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12767
12768 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12769 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12770 Ultrix.
12771 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12772 int tests.
12773 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12774
12775Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12776
12777 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12778
12779 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 12780 to match does not match the passing case but still matches the
c906108c
SS
12781 failing case.
12782
12783Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12784
12785 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12786
12787Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12788
12789 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12790 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12791 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12792 Remove various versions of gdb_exit.
12793 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12794 gdb_exit.
12795 * config/unix-gdb.exp: gdb_exit remains here, and should override
12796 the generic version, since it's doing a lot of wierd stuff that
12797 the other versions aren't. FIXME, fold it in, or abandon this
12798 version.
12799
12800Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12801
12802 * gdb.t24/demangle.exp: Add tests for PR 3220.
12803
12804Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12805
12806 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12807
12808Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12809
12810 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12811 "i386-*-*". Works for i486 as well.
12812
12813 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12814 bug, and expand domain of xfail to all SVR4 systems, since the
12815 actual problem is likely to be in generic SVR4 /proc support.
12816
12817Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12818
12819 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12820
12821Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12822
12823 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12824 xfails for other systems. Match a missing 'Continuing.' as an
12825 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12826
12827 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12828 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12829 Only issue warning for missing executables if -all option is used.
12830
12831 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12832 file if -all option is used. It's like an unpredictable XFAIL.
12833
12834Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12835
12836 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12837 for dynamically linked binaries.
12838
12839 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12840
12841Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12842
12843 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12844 to state that this is a known bug in old versions of g++.
12845
12846Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12847
12848 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12849 while waiting for `Continuing'.
12850
12851Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12852
12853 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12854 in text, data, and bss.
12855 * gdb.t10/nodebug.c: Add local and global test variables for
12856 initialized and uninitialized data.
12857
12858Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12859
12860 * config/unix-gdb.exp (gdb_exit): Add "wait".
12861
12862Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12863
12864 * gdb.t06/signals.exp: xfail the continue from the handler for all
12865 targets.
12866
12867 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12868 function with watchpoints enabled, the i386 call dummy starts with
12869 a call.
12870
12871 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12872 386 bsd names its corefiles.
12873
12874Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12875
12876 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12877 compilers don't grok it.
12878 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12879 with small octal ints rather than character constants, which
12880 are signed and might not fit if first promoted to int.
12881
12882Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12883
12884 * gdb.t09/Makefile.in (clean): Remove corefile.
12885
12886Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12887
12888 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12889
12890Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12891 and Jim Kingdon (kingdon@cygnus.com)
12892
12893 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12894 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12895 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12896
12897Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12898
12899 * gdb.t17/interrupt.exp: Add xfail for hppa.
12900
12901Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12902
12903 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12904 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12905 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12906 to determine signed-ness of bitfields and use the result to setup
12907 the xfail.
12908 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12909 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12910 call line is reached if necessary.
12911
12912Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12913
12914 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12915
12916Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12917
12918 * gdb.t06/break.exp: Also test `clear' command.
12919
12920Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12921
12922 * gdb.t00/teststrategy.exp: Remove extra quote.
12923
12924 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12925 watchpoint enabled to be for all non-68k machines.
12926
12927 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12928
12929Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12930
12931 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12932 targets use aout.mt instead of ecoff.mt as gas understands
12933 standard aout format.
12934
12935Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12936
12937 * lib/gdb.exp (runto): Don't insist that function we are running to
12938 was compiled with -g.
12939
12940 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12941
12942 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12943 to get back into the read system call.
12944 Accept leading newline in case where we woke it up.
12945
12946Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12947
12948 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12949 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12950 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12951 enable ecoff configuration.
12952
12953Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12954
12955 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12956
12957Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12958
12959 * gdb.t16/printcmds.exp: Add another printf test.
12960
12961Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12962
12963 * configure.in: If configured -with-stabs on any target, add
12964 stabsdirs to configdirs.
12965
12966Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12967
12968 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12969 fun" so pattern does not match the command itself.
12970
12971Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12972
12973 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12974
12975Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12976
12977 * gdb.t17/interrupt.exp: Test for more things.
12978
12979Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12980
12981 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12982 compiler arranges the code and line numbers.
12983
12984 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12985
12986Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12987
12988 * gdb.t00/help.exp: Increase expect input buffer size.
12989
12990Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12991
12992 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12993
12994 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12995
12996 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12997
12998 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12999 [0-9]*, not just [0-9].
13000
13001Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13002
13003 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
13004
13005 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
13006
13007Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13008
13009 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
13010
13011Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13012
13013 * gdb.t06/signals.c: Add xfails for sun3.
13014
13015 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
13016
13017 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
13018 test_stepping tests.
13019
13020Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13021
13022 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
13023
13024 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
13025
13026 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
13027 rather than actually putting it through cpp twice.
13028
13029 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
13030
13031Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
13032
13033 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
13034 no longer needed.
13035
13036Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13037
13038 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
13039
13040 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
13041 C++ features prints as "struct", make it a pass, not an xfail.
13042
13043Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13044
13045 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
13046 Don't require VA to print as "class" rather than "struct".
13047
13048Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
13049
13050 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
13051
13052Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13053
13054 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
13055
13056Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13057
13058 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
13059 order.
13060
13061Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13062
13063 * gdb.t16/printcmds.exp: Add printf tests.
13064
13065 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
13066
13067 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
13068
13069Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
13070
13071 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
13072 pass counts, to counteract any existing or future setup_xfails.
13073
13074Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13075
13076 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
13077 {BEGIN,END}_COMMON for common block instead of STAB.
13078 * gdb.stabs/wierd.exp: Add xfail for rs6000.
13079
13080 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
13081 intp_var should be N_GSYM not N_LSYM.
13082 wierd-aout.S: Use a label for the value of the N_SO.
13083 wierd.def: Remove all backslashes.
13084 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
13085
13086Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13087
13088 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
13089 get the expected next to inheritance3.
13090
13091Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13092
13093 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
13094 now that gcc-2.4 gets it right.
13095
13096Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13097
13098 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
13099
13100 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
13101 generating comp-info.exp which works for cross-compilation.
13102
13103Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
13104
13105 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
13106 "*-*-sysv4.*".
13107
13108Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
13109
13110 * gdb.t01/run.exp: Start with a fresh gdb.
13111 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
13112 SVR4.x.
13113
13114Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
13115
13116 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
13117 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
13118 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
13119 Makefile.in (distclean, realclean): Remove gdbme.c from list of
13120 things to remove.
13121
13122Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
13123
13124 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
13125 test cases from bug reports.
13126
13127Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
13128
13129 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
13130 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
13131 avoid spurious xfails.
13132 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
13133 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
13134 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
13135
13136Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
13137
13138 * gdb.t00/teststrategy.exp: Rework to provide more useful
13139 description of each test, fix problem with systems that define
13140 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
13141 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
13142 results for "next over recursive call" so timeouts aren't taken
13143 by error.
13144
13145Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
13146
13147 * gdb.t12/scope.exp: Test printing of variables before run.
13148
13149 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
13150 printed in wrong order due to sorting.
13151
13152Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
13153
13154 * gdb.t00/teststrategy.exp: Fix expected results for printing
13155 user entered string constant. Is array of char, prints with no
13156 address.
13157
13158 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
13159 commands.
13160 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
13161 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
13162 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
13163 of struct of char arrays.
13164 * gdb.t00/radix.exp: New tests for radix commands.
13165
13166Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
13167
13168 * gdb.t16/printcmd.exp: Print a variable before running program
13169 (with xfail for AIX).
13170
13171Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
13172
13173 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
13174
13175 * gdb.t16/printcmd.exp: Don't print variables before running program.
13176
13177 * gdb.t06/break.exp: Don't require envp argument to main.
13178
13179 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
13180
13181 * gdb.t02/whatis.exp, gdb.t11/list.exp:
13182 Add xfails for rs6000.
13183
13184 * gdb.t02/whatis.exp: Change other tests not to re-test something
13185 we already tested.
13186
13187 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
13188 each type used has a variable of that type.
13189
13190Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
13191
13192 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
13193
13194Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13195
13196 * configure.in: change srctrigger to be a file, not a directory
13197
13198Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
13199
13200 * configure.in (mips-idt-ecoff*): Added trailing '*'.
13201
13202 * gdb.t11/list.exp: Fixed a couple of typos.
13203
13204Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
13205
13206 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
13207 is fixed and PR is closed.
13208 * gdb.t16 (gdbme.c): Add simple test string variable.
13209 * gdb.t16 (printcmds.exp): Add tests with simple test string
13210 variable, primarily for boundaries on "set print elements".
13211
13212Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
13213
13214 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
13215 Make leading 0's optional and don't expect a tab in the middle
13216 of the number.
13217
13218 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
13219
13220 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
13221 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
13222 don't end command passed to gdb_test with newline.
13223
13224 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
13225 signed keyword away, don't expect signed bitfields to be signed.
13226
13227 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
13228 printing with only as many 1's as are in the field as well as printing
13229 with 32 1's (see comment).
13230
13231Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
13232
13233 * gdb.t00/default.exp: Start with a fresh gdb.
13234 * configure.in (configdirs): Remove gdb.t31 until the chill
13235 compiler works again. It no longer is able to find chillrt0
13236 since it isn't in libchill.a anymore.
13237 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
13238 wierd.o, make more modular.
13239 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
13240 spurious newlines that caused problems.
13241
13242Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13243
13244 * Move test with enums and partial symbols from gdb.t03/ptype.exp
13245 to gdb.stabs/wierd.exp since GCC has worked around the bug.
13246 gdb.stabs/wierd.{exp,def}: Many new tests.
13247
13248 * gdb.t00/default.exp: update info line for new message.
13249
13250 * gdb.t02/{whatis.exp,gdbme.c}:
13251 Test that "char *" doesn't print as "caddr_t".
13252
13253Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13254
13255 * gdb.t00/help.exp: Use .* in place of some help messages which
13256 just changed.
13257 gdb.t00/default.exp: Update "info frame" test for new message.
13258 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
13259 Remove some xfails
13260
13261Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13262
13263 * gdb.t03/{gdbme.c,ptype.exp}:
13264 Add tests for typedef'd struct and union without tags.
13265 Also check "whatis" on a variable of a typedef'd enum without a tag.
13266
13267 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
13268 PRMS 1823; the bug still exists but isn't reproduced by this test
13269 anymore), and remove rs6000 XFAIL (the bug is fixed).
13270
13271 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
13272 duplicated from whatis.exp. For those that are left, accept
13273 "long", "long int", or "int" for long variables (whatis.exp already
13274 has an XFAIL for "int", so no need to fail it here).
13275
13276 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
13277 Deal with GCC's names for types now that GDB uses the compiler's names.
13278
13279 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
13280 setup_xfail's for sunos4. If we #defined the signed keyword away,
13281 don't expect GDB to know that char it is signed.
13282
13283 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
13284
13285Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
13286
13287 * configure.in (configdirs): Add gdb.t24 for C++ tests that
13288 should work on any system, regardless of debugging format.
13289 * gdb.t21/demangle.exp: Move to gdb.t24.
13290 * gdb.t24/demangle.exp: Move from gdb.t21.
13291 * gdb.t24/{Makefile.in, configure.in}: New files.
13292
13293Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13294
13295 * configure.in: Do gdb.stabs and C++ tests only for stabs.
13296 * gdb.stabs: New directory.
13297
13298Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13299
13300 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
13301 not just "Quit anyway?".
13302
13303Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
13304
13305 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
13306 that all setup_xfails are immediately followed by clear_xfails.
13307
13308Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
13309
13310 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
13311 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
13312 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
13313 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
13314 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
13315 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13316 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13317 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
13318 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
13319 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
13320 gdb.t31/chillvars.exp, lib/gdb.exp:
13321 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
13322 bug-gdb@prep.ai.mit.edu.
13323
13324Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
13325
13326 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
13327 with 0.0, not integer 0.
13328
13329Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
13330
13331 * gdb.t06/break.exp: Update for "Kill the program" message change.
13332
13333Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
13334
13335 * Makefile.in (GDBFLAGS): Set to -nx.
13336 * Makefile.in (site.exp): Use GDBFLAGS.
13337
13338Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13339
13340 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
13341 Makefiles.
13342 (check): depend on just-check.
13343 (just-check): added so that tests can be run without a noop
13344 build pass.
13345
13346Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13347
13348 Switch to using configure's configdirs.
13349 * Makefile.in (Makefile): add configure.in dependency.
13350 (SUBDIRS): removed redundant assignment.
13351 * configure.in: switch subdirs assignment to configdirs.
13352 * gdb.t*/configure.in: new files.
13353
13354Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
13355
13356 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
13357 works.
13358
13359Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
13360
13361 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
13362 in explicit rules. Apparently this is not supported by some makes.
13363
13364Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
13365
13366 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
13367
13368Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13369
13370 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
13371 disappeared.
13372
13373Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
13374
13375 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
13376
13377Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
13378
13379 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
13380 watchpoint problem that is now fixed.
13381 * gdb.t30/chexp.exp: Remove setup_xfail for printing
13382 uninitialized convenience variables.
13383 * gdb.t31/chillvars.exp: Fix expected patterns for printing
13384 structures.
13385
13386Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13387
13388 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
13389 which causes expect to get out of sync with gdb on long output
13390 from help set.
13391 * gdb.t09/corefile.exp: Make expected pattern for core file
13392 failing signal and frame output format less sun specific.
13393
13394Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
13395
13396 * gdb.t31/chillvars.exp: Add and remove initial dummy
13397 breakpoint, so that symbol table is forced in.
13398 (Needed at least on Sunos4, though it seems not SVR4.)
13399 * gdb.t31/chillvars.exp: Update for changed output format.
13400
13401Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
13402
13403 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
13404
13405Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
13406
13407 * Makefile.in: Added --srcdir when invoking runtest, removed the
13408 need for a local config file. (optional now)
13409
13410Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
13411
13412 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
13413 failure count used to force early termination. Add some more
13414 expected failures for gnu style demangling.
13415
13416Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13417
13418 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
13419 pmi variable from gdb.t20/gdbme to get optimized away.
13420 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
13421 Check for written corefile upon timeout _and_ eof.
13422
13423Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13424
13425 * config/unix-gdb.exp: Add missing return 0.
13426
13427Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13428
13429 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
13430 test termination.
13431
13432Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
13433
13434 * configure.in (subdirs): Put back gdb.t17 which mysteriously
13435 disappeared.
13436
13437Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
13438
13439 * gdb.t10/crossload.exp: Disable the i860-elf test until such
13440 time as i860 support works.
13441
d63a86f8 13442 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
13443 "backtrace 100\r" rather than just "backtrace\r", to match last
13444 change.
13445
13446Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
13447
13448 * config/udi-gdb.exp (gdb_exit): Remove close command.
13449 (gdb_target_udi): New procedure to set the UDI target.
13450 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
13451 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
13452 Added waits for prompts after several question responses. Added
13453 some more responses used by a29k-amd-udi-gdb.
13454 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
13455 pass different arguments, restart UDI connection after program
13456 completion.
13457 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
13458 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13459 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13460 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13461 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13462 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13463 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13464 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13465 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13466 after program completion.
13467 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13468 compiled with a SELECT_VECS setting.
13469 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13470 infinite recursion.
13471
13472 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13473 Added checks for COFF results, and made them expected failures for
13474 all targets. It would be better to make them expected failures
13475 for COFF targets only.
13476
13477Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
13478
13479 * Makefile.in: add null dvi target, don't bother to recurse
13480 through test directories for info and install-info; rename
13481 $(datadir) to be dejagnu instead of deja-gnu
13482
13483Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
13484
13485 * gdb.t31/gdbme.ch: Re-enable code that previously caused
13486 compiler to coredump.
13487 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
13488 code.
13489
13490Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
13491
13492 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
13493 coredump.
13494 * gdb.t31/chillvars.exp: Comment out tests that depend on that
13495 code.
13496
13497Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
13498
13499 * gdb.t03/ptype.exp: tests for return code from gdb_test.
13500 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13501 which in a shell. Deletes xgdb when done.
13502 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13503 Tests the return from the "set height" or "set width" commands.
13504 Added a few return codes where needed.
13505
13506Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
13507
13508 * Makefile.in (SUBDIRS): Add gdb.t17.
13509 * configure.in (subdirs): Add gdb.t17.
13510 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
13511 files to test gdb's calling of functions in the inferior with
13512 the correct arguments and gdb's ability to retrieve any
13513 result returned.
13514
13515Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
13516
13517 * config/unix-gdb.exp (gdb_exit): Remove close commands that
13518 may be called after gdb goes away. Previous versions of expect
13519 needed these to avoid file descriptor leaks, but they cause
13520 errors with the current revision of expect.
13521 * gdb.t00/gdbvars.exp: Use -re on expected output after
13522 setting sevenbit-strings.
13523 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
13524 to set sevenbit-strings consistent across tests.
13525 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
13526 set sevenbit-strings consistent across tests.
13527
13528Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
13529
13530 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
13531 expected output to match current "expect" expectations.
13532
13533Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
13534
13535 * gdb.t00/default.exp: Change expected output for default "source"
13536 command, to match new gdb behavior which requires a filename to
13537 source.
13538
13539Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
13540
13541 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
13542 expected fail for i486-*-* that misses the marker2 function.
13543 * gdb.t10/crossload.exp (bfddefault): Allow successful
13544 recognition of a format to pass even if no symbols are found.
13545 Explicitly catch failures where the format is not recognized
13546 or is ambiguous, and add the reason to the fail message.
13547 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
13548 the cause is and invalid target and add reason to failure message.
13549 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
13550 elf32-i386, elf32-sparc, and elf32-i860.
13551 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13552 Set up expected failure for 'filename'::variable scope resolution,
13553 which is now apparently broken on all targets.
13554 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13555 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13556 gdb.t23/templates.exp: Change failure for missing binfile into
13557 just a warning.
13558 gdb.t21/demangle.exp: Change all cfront references to 'arm'
13559 references.
13560
13561Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
13562
13563 * gdb.t00/default.exp: Add expected output for default "source"
13564 command, to match new gdb behavior.
13565 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
13566
13567Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
13568
13569 * config/*-gdb.exp: returns an error, rather than exiting on
13570 internal errors.
13571
13572Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13573
13574 * gdb.t03/gdbme.c: Add pointer to struct variable.
13575 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13576 referencing struct members.
13577
13578Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13579
13580 * configure.in (mips-idt-ecoff): New target.
13581 * config/mips-gdb.exp: New file for remote board using MIPS remote
13582 debugging protocol.
13583
13584 * Redid configuration scheme. Removed gdb.t*/configure.in.
13585 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13586 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13587 distclean targets. Built executables via .o files. Adjusted
13588 tests to account for source files in $(srcdir) rather than
13589 $(objdir).
13590 * lib/gdb.exp (runto): Don't expect () after the function name,
13591 because it may have arguments.
13592
13593Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13594
13595 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13596 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13597 expected failures for mips-idt-* and mips-sgi-*.
13598 * gdb.t00/default.exp (attach): Kill process if requested.
13599 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13600 that does not read core files.
13601 * gdb.t01/run.exp: Removed checks for exit status code.
13602 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13603 it is linked in.
13604 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13605 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13606 appropriate, rather than doing it by hand.
13607 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13608 execution.
13609 * gdb.t10/crossload.exp: Kill existing program if needed.
13610 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13611 appropriate, rather than doing it by hand. Always increase
13612 timeout for this test, not just for VxWorks.
13613
13614Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13615
13616 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13617 of Chill STRUCT types and STRUCT values.
13618 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13619 than "char".
13620 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 13621 struct2): New struct definitions and initializations to test
c906108c
SS
13622 simple Chill STRUCT types.
13623
13624Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13625
13626 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13627 the null byte at the end of strings.
13628 * gdb.t00/default.exp: Make show version insensitive to copyright
13629 date.
13630 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13631 to avoid dependencies on target char signedness.
13632 * gdb.t16/printcmds.exp: Update expected results for explicitly
13633 unsigned char.
13634 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13635 now work.
13636 * gdb.t21/demangle.exp: Add many more patterns for template
13637 demangling, most of them being expected failures.
13638 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13639 string we are matching for, to match on the whole string.
13640 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13641 and fix a whole bunch that had incorrect expected output but were
13642 passing anyway because of the bug in "proc demangle".
13643 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13644 type.
13645 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13646
13647Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13648
13649 * gdb/testsuite: made modifications to testcases, etc., to allow
13650 them to work properly given the reorganization of deja-gnu and the
13651 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13652
13653Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13654
13655 * gdb/testsuite: Initial creation of gdb/testsuite.
13656 Migrated dejagnu testcases and support files for testing nm to
13657 gdb/testsuite from deja-gnu. These files were moved "as is"
13658 with no modifications. This migration is part of a major overhaul
13659 of dejagnu. The modifications to these testcases, etc., which
13660 will allow them to work with the new version of dejagnu will be
13661 made in a future update.
48efe704 13662
8d8cb839 13663 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 13664\f
8d8cb839
EZ
13665;; Local Variables:
13666;; mode: change-log
13667;; left-margin: 8
13668;; fill-column: 74
13669;; version-control: never
13670;; End:
902f2ccb
MC
13671
13672 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 13673 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
13674 Copying and distribution of this file, with or without modification,
13675 are permitted provided the copyright notice and this notice are preserved.
This page took 1.587624 seconds and 4 git commands to generate.