2005-09-26 Paul Brook <paul@codesourcery.com>
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2005-09-26 Paul Brook <paul@codesourcery.com>
2
3 * long_long.exp: Exclude eabi targets from arm FPA float format test.
4
5 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
6
7 * bfp-test.c: New file.
8 * bfp-test.exp: New testcase.
9
10 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11
12 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13 of subarray and substring variable.
14 * gdb.fortran/subarray.f: New source file for the test of subarray
15 and substring variable evaluation.
16 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17 of string constant.
18
19 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
20
21 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
22 copyright dates.
23
24 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
25
26 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
27 powerpc altivec' test with an almost identical 'info vector' test.
28
29 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
30
31 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
32 vscr" tests to match output.
33
34 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
35
36 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
37 output.
38
39 2005-09-11 Bob Rossi <bob@brasko.net>
40
41 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
42 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
43 commands that return an MI output command and an asyncronous MI output
44 command.
45 * gdb.mi/mi-console.exp: Ditto.
46
47 2005-09-11 Bob Rossi <bob@brasko.net>
48
49 * gdb.mi/mi-var-child.c: Include <string.h>.
50
51 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
52
53 * killed.exp: Correct gdb_expect syntax.
54
55 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
56
57 * lib/mi-support.exp (mi_gdb_load): Fix typo.
58
59 2005-08-02 Bob Rossi <bob@brasko.net>
60
61 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
62 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
63 Change tests to inferior-tty-set/show.
64 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
65 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
66 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
67 inferior. Use mi_gdb_test to get GDB and Inferior output.
68 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
69 descriptor.
70 (mi_inferior_tty_name): Add inferior PTY file name.
71 (mi_gdb_start): Add INFERIOR_PTY parameter.
72 (mi_gdb_test): Add IPATTERN parameter.
73
74 2005-08-02 Bob Rossi <bob@brasko.net>
75
76 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
77 parameter to mi_gdb_test.
78 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
79
80 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
81
82 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
83 struct_declarations.
84 * gdb.mi/mi-var-child.exp: Step over the initialization of
85 struct_declarations.
86
87 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
88
89 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
90 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
91 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
92 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
93 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
94 file.
95
96 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
97
98 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
99 (do_children_tests): Assign values to the extra elements.
100
101 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
102 them for tests for "-var-update --no-values" and
103 "-var-update --all-values".
104 Add test for "-var-list-children --simple-values".
105
106 * gdb.mi/basics.c (callee4): Add integer array D[3]...
107
108 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
109 "-stack-list-locals --simple-values" Improve doc strings and
110 comments.
111
112 2005-07-18 Mark Kettenis <kettenis@gnu.org>
113
114 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
115 *-*-openbsd*.
116 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
117
118 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
119 sigaltsatck'.
120
121 2005-07-14 Bob Rossi <bob@brasko.net>
122
123 * gdb.base/default.exp (tty): Changed output of command.
124 * gdb.base/help.exp (help tty): Ditto.
125
126 2005-07-12 Mark Kettenis <kettenis@gnu.org>
127
128 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
129
130 2005-07-10 Mark Kettenis <kettenis@gnu.org>
131
132 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
133 -stack-select-frame without arguments.
134 (test_stack_frame_listing): Add test for newly implemented command
135 -stack-info-frame.
136
137 2005-07-06 Bob Rossi <bob@brasko.net>
138
139 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
140 command.
141 (Copyright): Update copyright.
142
143 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
144
145 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
146 tests to evaluate exponentiation expression.
147
148 2005-06-29 Andreas Schwab <schwab@suse.de>
149
150 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
151 main to avoid warnings.
152
153 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
154
155 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
156
157 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
158 -stack-select-frame without arguments.
159 (test_stack_frame_listing): Add test for newly implemented command
160 -stack-info-frame.
161
162 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
163
164 * gdb.fortran/array-element.f: New file.
165 * gdb.fortran/array-element.exp: New testcase.
166
167 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
168
169 * gdb.base/bigcore.exp: Correct checks for systems which can
170 not dump a large core file.
171
172 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
173
174 * gdb.base/relocate.c: Add a copyright notice.
175 (dummy): Remove.
176 * gdb.base/relocate.exp: Test printing the values of variables
177 from a relocatable file.
178
179 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
180
181 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
182 excess MI output after an error.
183
184 2005-05-29 Joel Brobecker <brobecker@adacore.com>
185
186 * gdb.arch/alpha-step.c: New file.
187 * gdb.arch/alpha-step.exp: New testcase.
188
189 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
190 Dennis Brueni <dennis@slickedit.com>
191
192 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
193 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
194 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
195 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
196 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
197 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
198 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
199
200 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
201 Wu Zhou <woodzltc@cn.ibm.com>
202
203 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
204 IBM's xlc compiler.
205 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
206 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
207
208 2005-05-13 Jim Blandy <jimb@redhat.com>
209
210 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
211 calling gdb_suppress_entire_file.
212 * gdb.base/charset.exp: Same.
213 * gdb.base/call-rt-st.exp: Same.
214
215 2005-05-05 Bob Rossi <bob_rossi@cox.net>
216
217 * lib/gdb.exp (fullname_syntax): Added global regex.
218 (fullname_syntax_POSIX): Ditto.
219 (fullname_syntax_UNC): Ditto.
220 (fullname_syntax_DOS_CASE): Ditto.
221 (fullname_syntax_DOS): Ditto.
222 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
223 fullname_syntax variable to scope and use it.
224 (test_file_list_exec_source_files): Ditto.
225 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
226
227 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
228
229 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
230
231 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
232
233 * lib/gdb.exp (skip_altivec_tests): New function, based on
234 check_vmx_hw_available from the GCC testsuite.
235 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
236 * lib/gdb.arch/altivec-regs.exp: Likewise.
237
238 2005-05-02 Jim Blandy <jimb@redhat.com>
239
240 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
241 calling gdb_suppress_entire_file.
242
243 2005-04-30 Randolph Chung <tausq@debian.org>
244
245 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
246 Slightly relax "sem_post" name checking.
247
248 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
249
250 * gdb.base/unload.exp: Use new shared library infrastructure.
251
252 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
253
254 * gdb.base/so-impl-ld.exp: Use new shared library
255 infrastructure.
256
257 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
258
259 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
260 * gdb.asm/h8300.inc: New file.
261
262 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
263
264 * gdb.base/shlib-call.exp: Change to use new shared library
265 infrastructure.
266
267 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
268
269 * gdb.base/pending.exp: Change to use new shared library
270 infrastructure.
271
272 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
273
274 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
275 use test_compiler_info instead of gcc_compiled, and update copyright.
276
277 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
278
279 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
280 shared objects being adjusted and update copyright years.
281
282 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
283
284 * ChangeLog: Correct some 2003-01-13 dates.
285 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
286 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
287 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
288 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
289 gdb.trace/tfind.exp: Update copyright years.
290
291 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
292 Daniel Jacobowitz <dan@codesourcery.com>
293
294 * lib/gdb.exp (gdb_compile): Handle shlib=.
295 (gdb_compile_shlib): New function.
296
297 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
298
299 * lib/gdb.exp (test_compiler_info): Give argument a default value.
300
301 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
302
303 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
304 gdb.server.
305 * configure.ac: Likewise.
306 * configure: Regenerated.
307 * gdb.gdbserver/Makefile.in: Moved to...
308 * gdb.server/Makefile.in: ... here.
309 * gdb.gdbserver/server.c: Moved to...
310 * gdb.server/server.c: ... here.
311 * gdb.gdbserver/server-run.exp: Moved to...
312 * gdb.server/server-run.exp: ... here.
313
314 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
315
316 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
317 * configure.ac: Create gdb.gdbserver/Makefile.
318 * configure: Regenerated.
319 * lib/gdbserver-support.exp: New file, derived from
320 config/gdbserver.exp.
321 * config/gdbserver.exp: Use gdbserver-support.exp.
322 * gdb.gdbserver/Makefile.in: New file.
323 * gdb.gdbserver/server.c: New file.
324 * gdb.gdbserver/server-run.exp: New file.
325
326 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
327
328 * lib/gdb.exp (test_compiler_info): Return compiler_info
329 if no arguments are given.
330
331 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
332
333 * gdb.arch/altivec-abi.exp: Check for compiler and set
334 use altivec' flag accordingly.
335 * gdb.arch/altivec-regs.exp: Likewise.
336
337 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
338
339 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
340
341 2005-03-27 Andreas Schwab <schwab@suse.de>
342
343 * gdb.base/bigcore.c (main): Add missing mode argument in open
344 call.
345
346 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
347
348 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
349 downloads.
350 * config/gdbserver.exp (gdb_load): Likewise.
351
352 2005-03-14 Paul Brook <paul@codesourcery.com>
353
354 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
355 targets.
356
357 2005-03-09 Joel Brobecker <brobecker@adacore.com>
358
359 * gdb.dwarf2/dup-psym.S: New file.
360 * gdb.dwarf2/dup-psym.exp: New testcase.
361
362 2005-03-09 Joel Brobecker <brobecker@adacore.com>
363
364 * gdb.ada/exec_changed/first.adb: New file.
365 * gdb.ada/exec_changed/second.adb: New file.
366 * gdb.ada/exec_changed.exp: New testcase.
367
368 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
369
370 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
371 (A2): New class.
372 (main): Test operator+.
373 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
374 breakpoint test.
375
376 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
377 * gdb.base/signull.exp: Disable if gdb,nosignals.
378 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
379 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
380 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
381 * gdb.mi/mi2-console.exp: Likewise.
382 * gdb.trace/collection.exp (run_trace_experiment): Consume the
383 continue output at start.
384 (gdb_collect_locals_test): Robustify regexp.
385 * gdb.trace/passc-dyn.exp: Fix comment typo.
386 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
387
388 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
389
390 * gdb.asm/asm-source.exp: Add iq2000 case.
391 * gdb.asm/iq2000.inc: New file.
392
393 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
394
395 * gdb.base/command.exp: Change hardcoded value to regular expression.
396 * gdb.base/float.exp: Add powerpc to the list of targets checked.
397
398 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
399
400 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
401 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
402 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
403 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
404 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
405
406 2005-03-05 Mark Kettenis <kettenis@gnu.org>
407
408 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
409 changes.
410
411 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
412
413 * lib/compiler.c: Add test for IBM's xlc compiler.
414 * lib/compiler.cc: Likewise.
415
416 2004-02-24 Joel Brobecker <brobecker@adacore.com>
417
418 * gdb.ada/fixed_points.exp: Create compilation object directory
419 before running the test.
420 * gdb.ada/null_record.exp: Likewise.
421 * gdb.ada/packed_array.exp: Likewise.
422 * gdb.ada/start.exp: Likewise.
423
424 2005-02-15 Joel Brobecker <brobecker@adacore.com>
425
426 * gdb.ada/packed_array/pa.adb: New file.
427 * gdb.ada/packed_array.exp: New testcase.
428
429 2005-02-10 Mark Kettenis <kettenis@gnu.org>
430
431 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
432 files.
433
434 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
435 on *-*-openbsd*. Correctly match whitespace in regukar
436 expressions.
437
438 2005-02-10 Daniel Jacobowitz <dan@debian.org>
439
440 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
441 PR exp/1821
442 * gdb.base/gdb1821.c: New test file.
443 * gdb.base/gdb1821.exp: New test file.
444
445 2005-02-09 Joel Brobecker <brobecker@adacore.com>
446
447 * gdb.base/start.c: New file.
448 * gdb.base/start.exp: New testcase.
449
450 2005-02-09 Joel Brobecker <brobecker@adacore.com>
451
452 * gdb.ada/start/dummy.adb: New file.
453 * gdb.ada/start.exp: New testcase.
454
455 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
456
457 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
458 for printing symbols and statistics.
459 Add test for using relative pathnames in "maint print msymbols" test.
460 Mark "maint info sections DATA" XFAIL on Cygwin.
461 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
462 tests.
463
464 2005-02-09 Andreas Schwab <schwab@suse.de>
465
466 Committed by Andrew Cagney <cagney@gnu.org>
467 * gdb.base/remotetimeout.exp: New file.
468
469 2005-02-07 Mark Kettenis <kettenis@gnu.org>
470
471 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
472
473 2005-02-03 Joel Brobecker <brobecker@adacore.com>
474
475 * gdb.ada/gnat_ada.gpr: New file.
476 * gdb.ada/gnat_ada.gin: Delete, no longer used.
477 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
478 * configure.ac: No longer generate gnat_ada.gpr.
479 * configure: Regenerate.
480 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
481 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
482 * gdb.ada/null_record/bar.ads: Likewise.
483 * gdb.ada/null_record/bar.adb: Likewise.
484 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
485 * gdb.ada/null_record.exp (testdir): New variable.
486 (testfile): executable is now in testdir subdirectory.
487 (srcfile): Use full path to the main compilation unit.
488 * gdb.ada/fixed_points.exp: Same changes as above.
489
490 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
491
492 * gdb.base/interp.exp: New test.
493
494 2005-01-24 Andrew Cagney <cagney@gnu.org>
495
496 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
497
498 2005-01-19 Andrew Cagney <cagney@gnu.org>
499
500 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
501 configure.ac not configure.in.
502
503 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
504 of powerpc*-*-*.
505 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
506 * gdb.base/list.exp (test_list_function)
507 (test_list_filename_and_function): Ditto.
508 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
509
510 2005-01-16 Andrew Cagney <cagney@gnu.org>
511
512 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
513
514 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
515
516 2005-01-14 Andrew Cagney <cagney@gnu.org>
517
518 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
519 * gdb.mi/mi2-var-cmd.exp: Ditto.
520
521 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
522
523 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
524
525 2005-01-07 Andrew Cagney <cagney@gnu.org>
526
527 * configure.ac: Rename configure.in, require autoconf 2.59.
528 * configure: Re-generate.
529 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
530 * gdb.stabs/configure: Re-generate.
531 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
532 * gdb.hp/configure: Re-generate.
533 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
534 autoconf 2.59.
535 * gdb.hp/gdb.objdbg/configure: Re-generate.
536 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
537 autoconf 2.59.
538 * gdb.hp/gdb.defects/configure: Re-generate.
539 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
540 autoconf 2.59.
541 * gdb.hp/gdb.compat/configure: Re-generate.
542 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
543 autoconf 2.59.
544 * gdb.hp/gdb.base-hp/configure: Re-generate.
545 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
546 autoconf 2.59.
547 * gdb.hp/gdb.aCC/configure: Re-generate.
548
549 2004-12-15 Jim Blandy <jimb@redhat.com>
550
551 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
552 under NPTL when there is debugging info available for libpthread.
553
554 2004-12-13 Jerome Guitton <guitton@gnat.com>
555
556 * gdb.ada/fixed_points.c: New file.
557 * gdb.ada/fixed_points.exp: New file.
558
559 2004-12-03 Randolph Chung <tausq@debian.org>
560
561 * gdb.arch/pa-nullify.exp: New file.
562 * gdb.arch/pa-nullify.s: New file.
563
564 2004-11-30 Randolph Chung <tausq@debian.org>
565
566 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
567 instead of "tbug". Fix regexp to work properly with gdb_test.
568
569 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
570
571 * gdb.base/bitfields2.exp: New test.
572 * gdb.base/bitfields2.c: New file.
573
574 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
575
576 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
577
578 2004-11-16 Randolph Chung <tausq@debian.org>
579
580 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
581
582 2004-11-14 Daniel Jacobowitz <dan@debian.org>
583
584 * gdb.threads/threadapply.exp: Correct "macro details" test.
585
586 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
587
588 * gdb.threads/threadapply.exp: New test.
589 * gdb.threads/threadapply.c: New file.
590
591 2004-11-07 Mark Kettenis <kettenis@gnu.org>
592
593 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
594 frames.
595
596 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
597
598 * gdb.base/cursal.exp: New file.
599 * gdb.base/cursal.c: New file.
600
601 2004-11-03 Andrew Cagney <cagney@gnu.org>
602
603 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
604
605 2004-10-30 Mark Kettenis <kettenis@gnu.org>
606
607 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
608 NetBSD/ELF targets.
609
610 2004-10-29 Joel Brobecker <brobecker@gnat.com>
611
612 * gdb.threads/bp_in_thread.c: New file, copied from
613 pthread_cond_wait.c.
614 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
615 file, rather than reusing the .c file from another testcase.
616
617 2004-10-20 Joel Brobecker <brobecker@gnat.com>
618
619 * gdb.ada/null_record.exp: Check where we stopped after
620 sending the start command, instead of where the associated
621 temporary breakpoint was inserted.
622
623 2004-10-14 Andrew Cagney <cagney@gnu.org>
624
625 * gdb.mi/gdb701.c (main): Return 0.
626
627 2004-10-13 Daniel Jacobowitz <dan@debian.org>
628
629 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
630
631 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
632
633 * gdb.threads/schedlock.c: Add comment markers to use to find
634 line numbers.
635 * gdb.threads/schedlock.exp: Adjust regex to handle the new
636 comments.
637 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
638 breakpoint lines.
639
640 2004-10-12 Daniel Jacobowitz <dan@debian.org>
641
642 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
643
644 2004-10-12 Daniel Jacobowitz <dan@debian.org>
645
646 * configure.in: Add gdb.dwarf2.
647 * configure: Regenerated.
648 * Makefile.in: Add gdb.dwarf2.
649 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
650 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
651 gdb.dwarf2/file1.txt: New files.
652
653 2004-10-11 Orjan Friberg <orjanf@axis.com>
654
655 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
656 of "run", since the latter doesn't work with remote targets. Adjust
657 the breakpoint numbering accordingly.
658 * gdb.threads/pthread_cond_wait.exp: Ditto.
659
660 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
661
662 * gdb.base/overlays.exp: Update copyright years.
663
664 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
665
666 * gdb.base/overlays.exp: Disable if target is Linux.
667
668 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
669
670 * config/gdbserver.exp (gdb_load): Use right filename on remote.
671
672 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
673
674 * gdb.asm/asm-source.exp: Add m32r-linux target.
675 * gdb.asm/m32r-linux.inc: New file.
676
677 2004-09-24 Andrew Cagney <cagney@redhat.com>
678 David Anderson <anderson@redhat.com>
679
680 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
681 command fails, assume things will work.
682 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
683 (_GNU_SOURCE): Define.
684 (print_unsigned, print_hex): Change parameter to "long long".
685 (print_byte_count): New function, use to print byte counts.
686 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
687 O_LARGEFILE.
688 (main): Compute an upper bound on a corefile in max_core_size.
689 Limit memory chunk size to max_core_size. Limit total memory
690 allocated to max_core_size.
691
692 2004-09-23 Andrew Cagney <cagney@gnu.org>
693
694 * gdb.base/bigcore.exp: Replace the code that creates a corefile
695 from a separate process with code that creates a corefile by
696 making the inferior dump core.
697
698 2004-09-23 Mark Kettenis <kettenis@gnu.org>
699
700 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
701 block.
702
703 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
704
705 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
706 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
707 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
708 Likewise.
709
710 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
711
712 * gdb.java/jprint.exp: New test case for java inferior call.
713 * gdb.java/jprint.java: Ditto.
714
715 2004-09-15 Joel Brobecker <brobecker@gnat.com>
716
717 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
718
719 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
720
721 * gdb.threads/killed.c: Include <stdlib.h>.
722 * gdb.threads/pthreads.c: Likewise.
723
724 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
725
726 * gdb.threads/killed.c: Add copyright notice.
727
728 2004-09-10 Jason Molenda (jmolenda@apple.com)
729
730 * gdb.base/define.exp: Two new tests to verify zero space chars
731 after 'if' and 'while' commands in a user-defined command is correctly
732 parsed.
733
734 2004-09-08 Andrew Cagney <cagney@gnu.org>
735
736 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
737 delivery test with duplicate at end of file.
738
739 2004-09-06 Mark Kettenis <kettenis@jive.nl>
740
741 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
742
743 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
744
745 * config/hppro.exp: Removed.
746
747 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
748
749 * config/sparclet.exp: Removed.
750
751 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
752
753 * config/udi.exp: Removed.
754
755 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
756
757 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
758 of "exp_continue".
759 (advancei): Likewise.
760
761 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
762
763 * gdb.base/unload.exp: Fix so messages aren't duplicated.
764
765 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
766
767 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
768 to check for nodebug in executable.
769 * gdb.gdb/observer.exp (setup_test): Likewise.
770 * gdb.gdb/selftest.exp (test_with_self): Likewise.
771 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
772
773 2004-09-01 Andrew Cagney <cagney@gnu.org>
774
775 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
776 files.
777
778 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
779
780 * gdb.base/unload.exp: Fix expected warning message to match
781 latest format.
782
783 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
784
785 * gdb.base/call-rt-st.exp: Fix typos.
786
787 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
788
789 * gdb.threads/thread_check.exp: New testcase.
790 * gdb.threads/thread_check.c: New testcase.
791
792 2004-08-31 Andrew Cagney <cagney@gnu.org>
793
794 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
795 (skip_to_handler_entry): New procedures. Test stepping into a
796 handler when the breakpoint is at the handler's entry point.
797
798 2004-08-30 Andrew Cagney <cagney@gnu.org>
799
800 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
801 gdb/1757.
802
803 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
804
805 With code from Manoj Iyer <manjo@austin.ibm.com>:
806 * lib/gdb.exp (gdb_file_cmd): Return more information in the
807 return value. Add an arm for "no debugging symbols found".
808 Change a stray "error" to "perror".
809 (gdb_run_cmd): Adapt to new return value.
810 * gdb.base/remote.exp: Adapt to new return value.
811 * gdb.gdb/complaints.exp: Likewise.
812 * gdb.gdb/observer.exp: Likewise.
813 * gdb.gdb/selftest.exp: Likewise.
814 * gdb.gdb/xfullpath.exp: Likewise.
815
816 2004-08-27 Joel Brobecker <brobecker@gnat.com>
817
818 * gdb.threads/bp_in_thread.exp: New testcase.
819
820 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
821
822 Fix PR testsuite/1735.
823 * gdb.threads/schedlock.c (thread_function): Add a cast
824 to suppress a gcc warning.
825 * gdb.threads/thread-specific.c (thread_function): Likewise.
826
827 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
828
829 * gdb.base/unload.c: Include <stdlib.h>.
830
831 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
832
833 From Paul Gilliam <pgilliam@us.ibm.com>:
834 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
835 synchronized after the "return".
836
837 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
838
839 * gdb.mi/basics.c: Include <stdio.h>.
840 * gdb.mi/pthreads.c: Include <stdlib.h>.
841 * gdb.mi/var-cmd.c: Include <stdlib.h>.
842
843 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
844
845 * gdb.threads/schedlock.c: Add copyright notice.
846
847 2004-08-25 Andrew Cagney <cagney@gnu.org>
848
849 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
850 (skip_over_handler, breakpoint_over_hander): New test procedures.
851 (advance, advancei): Add a proper prefix, do not use
852 rerun_to_main.
853 * gdb.base/sigstep.c (main): Change to use an infinite loop.
854
855 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
856
857 * gdb.mi/basics.c: Add copyright notice.
858 * gdb.mi/var-cmd.c: Add copyright notice.
859
860 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
861
862 * lib/gdb.exp: Remove signed_keyword_not_used.
863 * lib/compiler.c: Likewise.
864 * lib/compiler.cc: Likewise.
865
866 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
867
868 * gdb.base/whatis.c: Remove conditional disabling of "signed".
869 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
870
871 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
872
873 * gdb.base/whatis.c: Add copyright notice.
874
875 2004-08-20 Mark Kettenis <kettenis@gnu.org>
876
877 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
878 it to skip the breakpoints encoded in the inline assembly.
879
880 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
881
882 * Makefile.in: Add gdb.fortran.
883
884 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
885
886 * gdb.base/call-sc.exp (test_scalar_returns):
887 Fix cut-and-paste glitch in "Make fun return now".
888
889 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
890
891 * configure.in: Add gdb.fortran.
892 * configure: Regenerate.
893 * gdb.fortran/Makefile.in: New file.
894 * lib/gdb.exp (skip_fortran_tests): New procedure.
895
896 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
897
898 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
899 reference to bug-gnu@prep.ai.mit.edu.
900 * gdb.mi/mi-var-child.exp: Likewise.
901 * gdb.mi/mi-var-cmd.exp: Likewise.
902 * gdb.mi/mi-var-display.exp: Likewise.
903 * gdb.mi/mi2-var-block.exp: Likewise.
904 * gdb.mi/mi2-var-child.exp: Likewise.
905 * gdb.mi/mi2-var-cmd.exp: Likewise.
906 * gdb.mi/mi2-var-display.exp: Likewise.
907
908 2004-08-15 Mark Kettenis <kettenis@gnu.org>
909
910 * gdb.base/unload.c (main): Make local variable msg const.
911
912 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
913
914 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
915 to bug-gnu@prep.ai.mit.edu.
916 * gdb.mi/mi-disassemble.exp: Likewise.
917 * gdb.mi/mi-eval.exp: Likewise.
918 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
919 default line number.
920 * gdb.mi/mi-return.exp: Likewise.
921 * gdb.mi/mi-simplerun.exp: Likewise.
922 * gdb.mi/mi-stack.exp: Likewise.
923 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
924 number with explicit range test.
925 * gdb.mi/mi-watch.exp: Likewise.
926 * gdb.mi/mi2-break.exp: Likewise.
927 * gdb.mi/mi2-cli.exp: Likewise.
928 * gdb.mi/mi2-disassemble.exp: Likewise.
929 * gdb.mi/mi2-eval.exp: Likewise.
930 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
931 default line number.
932 * gdb.mi/mi2-return.exp: Likewise.
933 * gdb.mi/mi2-simplerun.exp: Likewise.
934 * gdb.mi/mi2-stack.exp: Likewise.
935 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
936 number with explicit range test.
937 * gdb.mi/mi2-watch.exp: Likewise.
938
939 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
940
941 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
942 * gdb.cp/m-static.exp: Likewise.
943 * gdb.cp/rtti.exp: Likewise.
944
945 2004-08-14 Mark Kettenis <kettenis@gnu.org>
946
947 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
948
949 2004-08-14 Eli Zaretskii <eliz@gnu.org>
950
951 * ChangeLog: Prefix Local Variables with semi-colons and indent
952 the reference to older ChangeLog files, to fix fontification in
953 Emacs.
954
955 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
956
957 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
958 * gdb.mi/mi2-break.exp: Likewise.
959
960 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
961
962 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
963
964 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
965
966 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
967
968 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
969
970 * gdb.cp/classes.exp: Remove unused declarations. Just let
971 test names default instead of providing special names. Remove
972 extraneous demangler test.
973
974 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
975
976 * gdb.base/unload.exp: New test for breakpoints in dynamically
977 loaded libraries.
978 * gdb.base/unload.c: Ditto.
979 * gdb.base/unloadshr.c: Ditto.
980
981 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
982
983 * gdb.cp/classes.exp (test_ptype_class_objects): Call
984 cp_test_ptype_class.
985 (test_enums): Likewise.
986
987 2004-08-10 Andrew Cagney <cagney@gnu.org>
988
989 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
990 files.
991
992 2004-08-10 Andrew Cagney <cagney@gnu.org>
993
994 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
995 init_malloc call.
996
997 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
998
999 * ChangeLog: Add copyright notice. The notice is copied
1000 from emacs 21.3 top level ChangeLog.
1001
1002 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1003
1004 * lib/cp-support.exp: New file.
1005 * lib/cp-support.exp (cp_test_type_class): New function.
1006 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
1007 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
1008 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
1009 cp_test_ptype_class.
1010
1011 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1012
1013 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
1014 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
1015 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
1016 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
1017 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
1018 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
1019 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
1020 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
1021 gdb.mi/mi2-watch.exp: Update copyright years.
1022
1023 2004-08-09 Mark Kettenis <kettenis@gnu.org>
1024
1025 * gdb.base/sigaltstack.exp: Provide proper anchoring.
1026
1027 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
1028
1029 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
1030 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
1031 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
1032 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
1033 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
1034 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
1035 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
1036 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
1037 gdb.mi/mi-watch.exp: Update copyright years.
1038
1039 2004-08-08 Daniel Jacobowitz <dan@debian.org>
1040
1041 PR gdb/1738
1042 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
1043 from a breakpoint with a pending signal.
1044
1045 2004-08-08 Daniel Jacobowitz <dan@debian.org>
1046
1047 PR gdb/1736
1048 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
1049 * gdb.base/sigaltstack.exp (finish_test): Consume output until
1050 the prompt.
1051 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
1052
1053 2004-08-08 Daniel Jacobowitz <dan@debian.org>
1054
1055 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
1056
1057 2004-08-08 Daniel Jacobowitz <dan@debian.org>
1058
1059 PR gdb/1736
1060 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
1061 for i?86-*-linux*.
1062
1063 2004-08-08 Daniel Jacobowitz <dan@debian.org>
1064
1065 * gdb.arch/i386-prologue.exp: Compile without debug information.
1066
1067 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
1068
1069 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
1070 rather than asking gdb to search.
1071
1072 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1073
1074 * gdb.base/gcore.c: Include <string.h>.
1075
1076 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1077
1078 * gdb.base/gcore.c: Add copyright notice.
1079
1080 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
1081
1082 * gdb.base/freebpcmd.c: Include <stdio.h>.
1083 * gdb.base/long_long.c: Include <string.h>.
1084 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
1085 * gdb.base/siginfo.c: Include <string.h>.
1086 * gdb.base/sigstep.c: Include <string.h>.
1087
1088 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1089
1090 * gdb.base/complex.c: Include <stdlib.h>.
1091
1092 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1093
1094 * gdb.base/complex.c: Add copyright notice.
1095
1096 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1097
1098 * gdb.base/charset.c: Include <stdlib.h>.
1099
1100 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1101
1102 * gdb.base/auxv.c: Include <stdlib.h>.
1103
1104 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1105
1106 * gdb.base/auxv.c: Add copyright notice.
1107
1108 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1109
1110 * gdb.base/coremaker.c: Add copyright notice.
1111 * gdb.base/coremaker2.c: Add copyright notice.
1112
1113 2004-08-04 Andrew Cagney <cagney@gnu.org>
1114
1115 * gdb.base/store.exp: Update copyright.
1116 (check_set, up_set, check_struct, up_struct): Add a prefix to test
1117 names, do not import gdb_prompt.
1118
1119 2004-08-01 Andrew Cagney <cagney@gnu.org>
1120
1121 Fix PR testsuite/1729.
1122 * gdb.base/dump.exp: Add test name to callers of capture_value, do
1123 not use capture_value with value 4.
1124 (capture_value): Add optional test name parameter.
1125 (test_reload_saved_value, test_restore_saved_value): Use $msg as
1126 the prefix, pass to capture_value.
1127
1128 2004-08-01 Mark Kettenis <kettenis@gnu.org>
1129
1130 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
1131 * gdb.arch/i386-prologue.c (standard): New prototype and function.
1132 (main): Call new function.
1133
1134 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1135
1136 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
1137
1138 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1139
1140 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
1141
1142 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1143
1144 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
1145 Accept more values of vtbl pointer. Remove some messages
1146 about "obsolete gcc or gdb".
1147
1148 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1149
1150 * gdb.cp/classes.exp: Accept more varieties of ptype output.
1151
1152 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1153
1154 * gdb.base/asm-source.exp: Properly convert target board
1155 debug flags from gcc format to binutils format.
1156
1157 2004-07-28 Mark Kettenis <kettenis@gnu.org>
1158
1159 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
1160 gdb1718". PR backtrace/1718 partially fixed.
1161
1162 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
1163
1164 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
1165
1166 2004-07-26 Nick Clifton <nickc@redhat.com>
1167
1168 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
1169 good default value for a specific architecture is available then
1170 set it to that value. Otherwise default to the -gstabs switch.
1171 Remove the -g... switches from the asm-flags variable. Allow the
1172 target board info to override the value if it wants to. Pass the
1173 switch on the assembler command line.
1174
1175 2004-07-23 Mark Kettenis <kettenis@gnu.org>
1176
1177 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
1178 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
1179 (main): Call new function.
1180
1181 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
1182
1183 Test for PR exp/1715.
1184 * gdb.base/radix.exp: Refactor common procedures. Make all
1185 test names unique. Change XFAIL to KFAIL.
1186
1187 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
1188
1189 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
1190 * gdb.ada/gnat_ada.gin: ... to here.
1191 * configure.in: Use gnat_ada.gin.
1192 * configure: Regenerate.
1193
1194 2004-07-20 Andrew Cagney <cagney@gnu.org>
1195
1196 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
1197 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
1198 XFAILs. Clean up test messages and comments. Check backtraces.
1199 Delete re-sync code.
1200
1201 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1202
1203 Fix PR cli/740.
1204 * gdb.base/annota1.exp: Honor gdb,nosignals.
1205 * gdb.base/annota3.exp: Likewise.
1206
1207 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1208
1209 * lib/java.exp: Update copyright notice.
1210
1211 2004-07-19 Andrew Cagney <cagney@gnu.org>
1212
1213 * gdb.base/selftest.exp: Copy file from here ...
1214 * gdb.gdb/selftest.exp: ... to here.
1215
1216 2004-07-16 Andrew Cagney <cagney@redhat.com>
1217
1218 * lib/insight-support.exp: Delete file.
1219 * lib/java.exp (java_init): Fix copyright.
1220
1221 2004-07-16 Andrew Cagney <cagney@gnu.org>
1222
1223 * gdb.base/restore.c: Append "prologue" to comments marking the a
1224 function's prologue.
1225 * gdb.base/restore.exp: Update copyright, re-indent.
1226 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
1227 callerN" prefix where needed. Update patterns that match a
1228 function's prologue.
1229
1230 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
1231
1232 * gdb.base/restore.c: Add copyright notice.
1233
1234 2004-07-16 Andrew Cagney <cagney@gnu.org>
1235
1236 * gdb.base/logical.exp: Update copyright.
1237 (evaluate): New procedure. Use to re-implement tests using
1238 several tables.
1239
1240 2004-07-14 Martin Hunt <hunt@redhat.com>
1241
1242 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
1243 which fixes some problems where init.tcl was not found.
1244
1245 2004-07-13 Andrew Cagney <cagney@gnu.org>
1246
1247 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
1248 (check_sizeof, check_valueof): Do not include the output in the
1249 test name. Use gdb_test.
1250 (get_valueof): Use gdb_test_multiple.
1251
1252 * gdb.base/step-test.exp: Update copyright. Use
1253 gdb_test_multiple. Ensure that test names do not include
1254 architecture dependent output.
1255
1256 * gdb.gdb/observer.exp: Update copyright.
1257 (setup_test): Use gdb_test_multiple.
1258 (attach_first_observer, attach_second_observer)
1259 (attach_third_observer, detach_first_observer)
1260 (detach_second_observer, detach_third_observer)
1261 (reset_counters, check_counters): Make $message a prefix.
1262 (test_normal_stop_notifications): Add "args" parameter - a list of
1263 init functions to be called. Make $message a prefix,
1264 (test_observer_normal_stop): Change the message prefixes so that
1265 they are unique, pass the attach / detach procedures to
1266 test_normal_stop_notifications.
1267
1268 * gdb.base/signull.exp (test_segv): Prefix all tests with
1269 "${name}". Clean up test messages.
1270
1271 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
1272
1273 * gdb.base/ena-dis-br.exp: Update copyright.
1274 (break_at): New function. Replace send_gdb with gdb_test,
1275 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
1276 ignore count, not stopped at bpt", with KFAIL.
1277
1278 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
1279
1280 * gdb.base/attach.exp: Remove cleanupfile handling.
1281
1282 2004-07-12 Andrew Cagney <cagney@gnu.org>
1283
1284 * gdb.base/annota1.exp: Cleanup corefile test name.
1285 * gdb.base/annota3.exp: Ditto.
1286
1287 2004-07-12 Andrew Cagney <cagney@gnu.org>
1288
1289 * gdb.base/signals.exp: Clean up copyright, re-indent.
1290
1291 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
1292 gdb_test and gdb_test_multiple.
1293
1294 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
1295
1296 * gdb.java/jmain.exp: Fix expected line number for main to
1297 break at. Set XFAIL for break at main test since gcj does not
1298 provide line number info for first statement in main.
1299
1300 2004-07-08 Andrew Cagney <cagney@gnu.org>
1301
1302 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
1303
1304 * gdb.base/sigbpt.exp: Make the common part of each test name a
1305 prefix instead of suffix.
1306
1307 2004-07-07 Bob Rossi <bob_rossi@cox.net>
1308
1309 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
1310 test from test_tbreak_creation_and_listing to
1311 test_file_list_exec_source_file
1312 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
1313 Changed name of test from test_tbreak_creation_and_listing to
1314 test_file_list_exec_source_file
1315
1316 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
1317
1318 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
1319 the jmisc() constructor instead of <init>.
1320 * gdb.java/jmisc1.exp: Ditto.
1321
1322 2004-07-07 Andrew Cagney <cagney@gnu.org>
1323
1324 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
1325 corrupting the PC.
1326
1327 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
1328
1329 * gdb.cp/templates.exp: Accept whitespace change in demangler
1330 output.
1331
1332 2004-07-06 Andrew Cagney <cagney@gnu.org>
1333
1334 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
1335
1336 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
1337
1338 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
1339 * lib/compiler.cc: Likewise.
1340
1341 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
1342
1343 * lib/compiler.cc: Work around string preprocessing problem
1344 with old hp c++ compiler.
1345 * lib/compiler.c: Likewise.
1346
1347 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
1348
1349 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
1350 directives to conditionalize symbol prefixing.
1351 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
1352 additional_flags handling. Add underscore prefix for Cygwin.
1353 * gdb.arch/i386-unwind.c: Use preprocessor directives to
1354 conditionalize symbol prefixing.
1355 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
1356 additional_flags handling. Add underscore prefix for Cygwin.
1357
1358 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
1359
1360 * gdb.base/bigcore.exp: Skip test on Cygwin.
1361
1362 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
1363
1364 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
1365 formats for "info register". Use gdb_test_multiple. Fix
1366 the "invalid register" test.
1367
1368 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
1369
1370 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
1371 PID for Cygwin. Add Cygwin specific strings to check for in some
1372 tests.
1373 (do_attach_tests): Add a test for user interaction when attaching
1374 to a process with no matching symbol table already loaded.
1375
1376 2004-06-26 Andrew Cagney <cagney@gnu.org>
1377
1378 Test PR java/1567 and PR java/1565.
1379 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
1380 * gdb.java/jmisc2.exp: Delete file.
1381
1382 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
1383
1384 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
1385
1386 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
1387
1388 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
1389 attach process.
1390
1391 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
1392
1393 * gdb.cp/pr-1553.exp: Remove.
1394
1395 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
1396
1397 * gdb.cp/pr-1553.cc: Remove.
1398 * gdb.cp/pr-1553.exp: Disable this test.
1399
1400 2004-06-20 Jim Blandy <jimb@redhat.com>
1401
1402 Fix PR testsuite/1680.
1403 * gdb.arch/i386-sse.exp: Properly quote curly braces in
1404 regular expressions.
1405
1406 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
1407
1408 Fix PR testsuite/1679.
1409 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
1410 Issue an UNSUPPORTED result instead.
1411
1412 2004-06-18 Jim Blandy <jimb@redhat.com>
1413
1414 * gdb.base/charset.exp: Only send a control-C if we see a new
1415 prompt and incomplete command.
1416
1417 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1418
1419 * gdb.cp/pr-574.cc: Add copyright notice.
1420
1421 2004-06-17 Jim Blandy <jimb@redhat.com>
1422
1423 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1424 cases where the regexp has no groups; this grabs random text from
1425 the previous test suite, whatever that was.
1426
1427 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
1428
1429 * gdb.cp/printmethod.cc: Add copyright notice.
1430
1431 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
1432
1433 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1434
1435 2004-06-16 Andrew Cagney <cagney@gnu.org>
1436
1437 * gdb.base/signull.c: Update copyright. Include <string.h>.
1438 (bowler): Replace data_pointer with data_read
1439 and data_write cases. Add code_descriptor case.
1440 (zero, desc): New array and pointer.
1441 (data, code): Change to simple pointers.
1442 * gdb.base/signull.exp: Fix probe pattern matching a function
1443 descriptor SIGSEGV. Replace data_pointer with data_read and
1444 data_write tests.
1445
1446 2004-06-16 Andrew Cagney <cagney@gnu.org>
1447
1448 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1449
1450 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1451
1452 * gdb.base/long_long.c: Add copyright notice.
1453
1454 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1455
1456 * gdb.base/long_long.exp: Remove reference to
1457 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
1458 to gdb_breakpoint and gdb_continue_to_breakpoint.
1459
1460 2004-06-14 Jim Blandy <jimb@redhat.com>
1461
1462 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1463 endian case.
1464
1465 2004-06-14 Andrew Cagney <cagney@gnu.org>
1466
1467 * gdb.base/gcore.exp (capture_command_output): Delete the always
1468 passing tests containing inferior values.
1469 * gdb.base/ending-run.exp: Do not include the breakpoint address
1470 in the test message. Update copyright.
1471 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1472 size in the test name, use gdb_test_multiple. Update copyright.
1473
1474 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1475
1476 * gdb.cp/ref-types.cc: Add copyright notice.
1477
1478 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1479
1480 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1481 hp_aCC_compiler.
1482 * lib/compiler.cc: Likewise.
1483 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1484 'set' commands. Log diagnostics for other lines. Set
1485 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1486
1487 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
1488
1489 * gdb.cp/try_catch.cc: Add copyright notice.
1490
1491 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
1492
1493 * gdb.cp/userdef.cc: Add copyright notice.
1494
1495 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
1496
1497 * gdb.cp/virtfunc.cc: Add copyright notice.
1498
1499 2004-06-11 Randolph Chung <tausq@debian.org>
1500
1501 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1502 problem.
1503
1504 2004-06-10 Andrew Cagney <cagney@gnu.org>
1505
1506 * lib/compiler.cc, lib/compiler.c: Append either
1507 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1508 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1509 instead of gcc-3-3.
1510
1511 2004-06-09 Andrew Cagney <cagney@gnu.org>
1512
1513 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1514 gdb/1455, bug is specific to "long long" and "double".
1515
1516 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1517 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1518 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
1519 fixed.
1520
1521 2004-06-09 Andrew Cagney <cagney@gnu.org>
1522
1523 * gdb.base/structs.exp (test_struct_returns): Replace
1524 "return_value_unknown" and "finish_value_unknown" by
1525 "return_value_known" and "finish_value_known". Instead of
1526 "return_value_unknown" iff "finish_value_unknown", check
1527 "return_value_known" implies "finish_value_known".
1528
1529 2004-06-08 Martin Hunt <hunt@redhat.com>
1530
1531 * gdb.base/float.exp: Add pattern for mips targets.
1532
1533 2004-06-08 Randolph Chung <tausq@debian.org>
1534
1535 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1536 message for unknown architectures more clear.
1537
1538 2004-06-08 Joel Brobecker <brobecker@gnat.com>
1539
1540 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1541 start the execution of the program.
1542
1543 2004-06-07 Jim Blandy <jimb@redhat.com>
1544
1545 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1546 * gdb.arch/i386-cpuid.h: New helper file.
1547
1548 2004-06-07 Randolph Chung <tausq@debian.org>
1549
1550 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1551 has started.
1552
1553 2004-06-04 Roland McGrath <roland@redhat.com>
1554
1555 Fix PR gdb/1647.
1556 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1557 differently to be robust to output buffering differences.
1558
1559 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1560
1561 * gdb.threads/pthreads.exp: Update copyright years.
1562 (check_control_c): Change asynchronous 'after' to synchronous.
1563
1564 2004-06-04 Roland McGrath <roland@redhat.com>
1565
1566 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1567 next gdb prompt.
1568
1569 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1570
1571 Fix PR gdb/1636.
1572 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1573 calls to synchronous.
1574
1575 2004-05-26 Jim Blandy <jimb@redhat.com>
1576
1577 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1578
1579 2004-05-24 Randolph Chung <tausq@debian.org>
1580
1581 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1582 * gdb.asm/pa.inc: New file.
1583
1584 2004-05-22 Mark Kettenis <kettenis@gnu.org>
1585
1586 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1587
1588 2004-05-21 Joel Brobecker <brobecker@gnat.com>
1589 Daniel Jacobowitz <drow@mvista.com>
1590
1591 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1592 GDB prompt.
1593
1594 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1595
1596 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
1597 setjmp/longjmp. Use sigaction instead of signal.
1598
1599 2004-05-19 J. Brobecker <brobecker@gnat.com>
1600 Michael Snyder <msnyder@redhat.com>
1601
1602 * gdb.threads/pthread_cond_wait.c: New file.
1603 * gdb.threads/pthread_cond_wait.exp: New testcase.
1604
1605 2004-05-13 Andrew Cagney <cagney@redhat.com>
1606
1607 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1608 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1609
1610 2004-05-11 Andrew Cagney <cagney@redhat.com>
1611
1612 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1613 fixed but revealed gdb/1639.
1614
1615 2004-05-10 Andrew Cagney <cagney@redhat.com>
1616
1617 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1618 func1" and "next to 2nd alarm", kernel bug avoided.
1619
1620 2004-05-10 Daniel Jacobowitz <dan@debian.org>
1621
1622 PR external/1568
1623 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1624 XFAIL if it is smaller than bytes_allocated.
1625 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1626 (main): Make chunks_allocated unsigned. Correct comment.
1627
1628 2004-05-07 Joel Brobecker <brobecker@gnat.com>
1629
1630 * gdb.arch/powerpc-aix-prologue.c: New file.
1631 * gdb.arch/powerpc-aix-prologue.exp: New file.
1632
1633 2004-05-07 Jim Blandy <jimb@redhat.com>
1634
1635 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1636 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1637
1638 2004-05-06 Joel Brobecker <brobecker@gnat.com>
1639
1640 * gdb.base/sep.exp: No longer setup_kfail when the program was
1641 built with dwarf2.
1642
1643 2004-05-05 Jim Ingham <jingham@apple.com>
1644
1645 * gdb.base/pending.exp: Make sure pending breakpoints
1646 preserve the ignore count.
1647
1648 2004-04-27 Jerome Guitton <guitton@gnat.com>
1649
1650 * i386-prologue.exp: Add testcase for jump instruction as first
1651 instruction of the real code.
1652 * i386-prologue.c (jump_at_beginning): New function.
1653
1654 2004-04-28 Mark Kettenis <kettenis@gnu.org>
1655
1656 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1657 x86_64-*-*.
1658
1659 2004-04-28 Mark Kettenis <kettenis@gnu.org>
1660
1661 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1662 i*86-*-*.
1663
1664 2004-04-25 Mark Kettenis <kettenis@gnu.org>
1665
1666 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1667 expression that checks the return type.
1668
1669 2004-04-23 Andrew Cagney <cagney@redhat.com>
1670
1671 * gdb.base/call-sc.exp: New test of scalar call/return values.
1672 * gdb.base/call-sc.c: Ditto.
1673
1674 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1675
1676 * gdb.threads/manythreads.c: Reduce thread stack size.
1677
1678 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1679
1680 * gdb.threads/manythreads.c: Add copyright notice.
1681
1682 2004-04-23 Andrew Cagney <cagney@redhat.com>
1683
1684 * gdb.base/siginfo.exp: Better handle step out of signal.
1685 * gdb.base/sigstep.exp: Ditto.
1686
1687 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1688 Daniel Jacobowitz <drow@mvista.com>
1689
1690 * gdb.threads/manythreads.c: New testcase.
1691 * gdb.threads/manythreads.exp: Ditto.
1692
1693 2004-04-22 Jim Blandy <jimb@redhat.com>
1694
1695 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1696 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1697
1698 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1699
1700 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1701
1702 2004-04-21 Andrew Cagney <cagney@redhat.com>
1703
1704 * gdb.base/sigstep.c: New file.
1705 * gdb.base/sigstep.exp: New file.
1706
1707 2004-04-16 Joel Brobecker <brobecker@gnat.com>
1708
1709 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1710 call to observer_notify_normal_stop.
1711
1712 2004-04-15 Andrew Cagney <cagney@redhat.com>
1713
1714 * gdb.base/siginfo.c: New file.
1715 * gdb.base/siginfo.exp: New file.
1716
1717 2004-04-12 J. Brobecker <brobecker@gnat.com>
1718
1719 * gdb.base/sep.exp: Fix typo in comment.
1720
1721 2004-04-12 J. Brobecker <brobecker@gnat.com>
1722
1723 * gdb.base/sep.c: New file.
1724 * gdb.base/sep-proc.c: New file.
1725 * gdb.base/sep.exp: New testcase.
1726
1727 2004-04-09 Mark Kettenis <kettenis@gnu.org>
1728
1729 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1730 support.
1731
1732 2004-04-05 Andrew Cagney <cagney@redhat.com>
1733
1734 * gdb.base/sigaltstack.c: New file.
1735 * gdb.base/sigaltstack.exp: New file.
1736
1737 2004-04-04 Joel Brobecker <brobecker@gnat.com>
1738
1739 * gdb.base/foll-fork.exp: Update the expected output for
1740 "help set follow-fork-mode", to match a change that was made
1741 to the help of this variable on 2004-01-13.
1742
1743 2004-04-01 Joel Brobecker <brobecker@gnat.com>
1744
1745 * lib/ada.exp: Add copyright notice.
1746 * bar.ads: Likewise.
1747 * bar.adb: Likewise.
1748 * null_record.adb: Likewise.
1749 * null_record.exp: Likewise.
1750 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1751
1752 2004-04-01 Joel Brobecker <brobecker@gnat.com>
1753
1754 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1755 * configure: Regenerate.
1756
1757 2004-04-01 Joel Brobecker <brobecker@gnat.com>
1758
1759 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1760 to build the application. Remove the message printed when in
1761 verbose mode, redundant with the UNSUPPORTED message above.
1762
1763 2004-03-31 Joel Brobecker <brobecker@gnat.com>
1764
1765 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1766 * gdb.ada (null_record.exp): New testcase.
1767
1768 2004-03-31 Joel Brobecker <brobecker@gnat.com>
1769
1770 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1771
1772 2004-03-31 Joel Brobecker <brobecker@gnat.com>
1773
1774 * gdb.ada: New subdirectory.
1775 * gdb.ada/Makefile.in: New file.
1776 * gdb.ada/gnat_ada.gpr.in: New file.
1777
1778 2004-03-31 Joel Brobecker <brobecker@gnat.com>
1779
1780 * lib/ada.exp: New file.
1781
1782 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
1783
1784 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1785 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1786
1787 2004-03-22 Andrew Cagney <cagney@redhat.com>
1788
1789 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1790 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1791 Problem identified by Ulrich Weigand.
1792
1793 2004-03-17 David Carlton <carlton@kealia.com>
1794
1795 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1796 PR c++/826.
1797
1798 2004-03-16 Roland McGrath <roland@redhat.com>
1799
1800 * gdb.base/auxv.exp: New file.
1801 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1802
1803 2004-03-12 David Carlton <carlton@kealia.com>
1804
1805 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1806 * gdb.cp/pr-1553.cc: Ditto.
1807 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1808 pass branch.
1809
1810 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1811
1812 * gdb.cp/templates.exp: Accept more template types.
1813
1814 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1815
1816 From Corinna Vinschen with modifications.
1817 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1818 local variable obj_with_enum.
1819 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1820 results with obj_with_enum.
1821
1822 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1823
1824 * gdb.cp/classes.cc: New file, copied from misc.cc.
1825 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1826
1827 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1828
1829 * gdb.cp/misc.cc: Add copyright notice.
1830
1831 2004-03-05 David Carlton <carlton@kealia.com>
1832
1833 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1834 * gdb.cp/rtti.h: Update copyright.
1835 (namespace n2::n3): New.
1836 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1837 (n2::n3::func3): New.
1838 (main): Call n2::n3::func3.
1839 * gdb.cp/rtti2.cc: Update copyright.
1840 (n2::create3): New.
1841
1842 2004-03-04 Mark Kettenis <kettenis@gnu.org>
1843
1844 * gdb.asm/openbsd.inc: Fix typo.
1845
1846 2004-03-03 Fred Fish <fnf@redhat.com>
1847
1848 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1849 "val" instead of unused "size". Update copyright year.
1850
1851 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
1852
1853 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1854 to use unsigned char.
1855 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1856 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1857
1858 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
1859
1860 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1861 line of output.
1862
1863 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
1864
1865 * gdb.base/relocate.c (dummy): Initialize.
1866
1867 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
1868
1869 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1870 a breakpoint at exit.
1871
1872 2004-02-27 Fred Fish <fnf@redhat.com>
1873
1874 * gdb.base/chng-syms.exp: Add expect condition to match failing
1875 case that isn't a timeout.
1876
1877 2004-02-27 Andrew Cagney <cagney@redhat.com>
1878
1879 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1880 support.
1881
1882 2004-02-26 Fred Fish <fnf@redhat.com>
1883
1884 * gdb.arch/gdb1431.c: Remove.
1885 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1886 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1887 of "until" incorrectly.
1888
1889 2004-02-26 J. Brobecker <brobecker@gnat.com>
1890
1891 * gdb.cp/class2.cc (empty): New class.
1892 (refer): New function.
1893 (main): Declare an object of type empty and use it.
1894 * gdb.cp/class2.exp: Print the value of an object of type empty.
1895
1896 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1897
1898 * gdb.base/langs.exp: Update query string to match the
1899 new nquery format used for pending breakpoints.
1900
1901 2004-02-26 Andrew Cagney <cagney@redhat.com>
1902
1903 Fix PR i18n/1570.
1904 * gdb.base/charset.c: Update copyright notice.
1905 (main, init_string): Remove the escape character '\e' tests.
1906 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1907 * gdb.base/charset.exp (valid_host_charset): Ditto.
1908 * gdb.base/setvar.exp: Ditto.
1909
1910 2004-02-24 Andrew Cagney <cagney@redhat.com>
1911
1912 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1913 mmapped data in core file" PASS and FAIL messages consistent.
1914
1915 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1916 setting a breakpoint. Work around PR java/1565.
1917
1918 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1919
1920 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1921 new nquery format.
1922 * gdb.base/pending.exp: Ditto.
1923
1924 2004-02-22 Mark Kettenis <kettenis@gnu.org>
1925
1926 * configure.in: Run stabs tests on *BSD.
1927 * configure: Regenerated.
1928
1929 2004-02-21 Mark Kettenis <kettenis@gnu.org>
1930
1931 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1932
1933 2004-02-20 Fred Fish <fnf@redhat.com>
1934
1935 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1936 blank in test for "returns short", for consistency with other
1937 "returns xxx" tests. Update copyright year.
1938
1939 2004-02-19 Fred Fish <fnf@redhat.com>
1940
1941 New testcase for PR breakpoint/1558.
1942 * gdb.arch/gdb1558.exp: New file.
1943 * gdb.arch/gdb1558.c: New file.
1944
1945 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
1946
1947 * gdb.base/nodebug.exp: Fix typo.
1948
1949 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1950
1951 Committed by Jim Blandy <jimb@redhat.com>.
1952
1953 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1954
1955 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1956
1957 * gdb.base/float.exp: Support s390*-*-* targets.
1958
1959 2004-02-17 Adam Fedor <fedor@gnu.org>
1960
1961 * gdb.base/gdb1555.exp: New file.
1962 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1963
1964 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
1965
1966 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1967
1968 2004-02-16 Fred Fish <fnf@redhat.com>
1969
1970 * gdb.arch/gdb1291.c: Remove
1971 * gdb.arch/gdb1291.s: New test input file.
1972 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1973 fail. Test for correct result, known incorrect result, other
1974 failures and timeouts.
1975
1976 2004-02-16 Andrew Cagney <cagney@redhat.com>
1977
1978 * gdb.base/bigcore.exp: New file.
1979 * gdb.base/bigcore.c: New file.
1980
1981 2004-02-13 Andrew Cagney <cagney@redhat.com>
1982
1983 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1984 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1985 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1986 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1987 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1988 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1989 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1990 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1991 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1992 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1993
1994 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
1995
1996 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1997 executed is an alloc instruction.
1998
1999 2004-02-11 David Carlton <carlton@kealia.com>
2000
2001 * gdb.cp/breakpoint.exp: New.
2002 * gdb.cp/breakpoint.cc: New.
2003
2004 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
2005
2006 Partial fix for PR gdb/1543.
2007 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
2008 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
2009 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
2010 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
2011 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
2012 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
2013 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
2014 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
2015 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
2016 to bug-gdb@prep.ai.mit.edu .
2017 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
2018 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
2019 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
2020 Likewise.
2021
2022 2004-02-10 Andrew Cagney <cagney@redhat.com>
2023
2024 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
2025 using gdb_internal_error_resync.
2026
2027 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
2028
2029 * gdb.threads/thread-specific.exp: Stop early if no threads are
2030 found.
2031
2032 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
2033
2034 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
2035
2036 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
2037
2038 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
2039 breakpoints.
2040
2041 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
2042
2043 * config/sim.exp (gdb_load): Handle $arg == "".
2044 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
2045 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
2046
2047 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
2048
2049 * gdb.base/maint.exp: Update test to reflect
2050 obstack changes.
2051
2052 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
2053
2054 * gdb.base/pendshr.c (pendfunc): New function that calls
2055 pendfunc1.
2056 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
2057
2058 2004-02-04 Fred Fish <fnf@redhat.com>
2059
2060 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
2061 function symbols and update copyright years.
2062 * gdb.arch/gdb1291.c: Ditto.
2063
2064 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2065
2066 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
2067
2068 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2069
2070 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
2071
2072 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2073
2074 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
2075
2076 2004-02-02 Fred Fish <fnf@redhat.com>
2077
2078 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
2079 remote targets. Update copyright years.
2080
2081 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2082
2083 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
2084 support.
2085 * gdb.base/langs.exp: Fix test which attempts to create
2086 breakpoint on non-existent function to handle new pending
2087 support.
2088 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
2089 a breakpoint.
2090 * gdb.base/pending.exp: New test.
2091 * gdb.base/pending.c: New file.
2092 * gdb.base/pendshr.c: Ditto.
2093
2094 2004-02-02 David Carlton <carlton@kealia.com>
2095
2096 * gdb.cp/overload.exp: Add overloadNamespace tests.
2097 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
2098 (overloadNamespace, XXX): New.
2099 (main): Call XXX::marker2.
2100
2101 2004-02-01 Fred Fish <fnf@redhat.com>
2102
2103 * gdb.base/dump.exp: Use runto_main instead of "runto main".
2104 * gdb.base/finish.exp: Ditto.
2105 * gdb.base/gcore.exp: Ditto.
2106 * gdb.base/huge.exp: Ditto.
2107 * gdb.base/info-proc.exp: Ditto.
2108 * gdb.base/return2.exp: Ditto.
2109 * gdb.threads/gcore-thread.exp: Ditto.
2110
2111 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2112
2113 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
2114
2115 2004-02-01 Mark Kettenis <kettenis@gnu.org>
2116
2117 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
2118 that opening the file succeeds on OpenBSD.
2119
2120 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2121
2122 * gdb.threads/thread-specific.c: New file.
2123 * gdb.threads/threads-specific.exp: New test script.
2124 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
2125 to expect_out.
2126
2127 2004-02-01 Mark Kettenis <kettenis@gnu.org>
2128
2129 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
2130 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
2131 only on the "print_small_structs from print_long_arg_list" test.
2132
2133 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2134
2135 * gdb.base/completion.exp: Kill a stray backslash.
2136
2137 From Jim Ingham <jingham@apple.com>:
2138 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
2139 agrees with the result from sending a tab.
2140
2141 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
2142
2143 * gdb.base/chng-syms.exp: Remove stray newline.
2144
2145 2004-01-31 Mark Kettenis <kettenis@gnu.org>
2146
2147 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
2148 *-*-openbsd*.
2149 * gdb.asm/openbsd.inc: New file.
2150
2151 2004-01-30 Mark Kettenis <kettenis@gnu.org>
2152
2153 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
2154 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
2155 *-*solaris2*. Remove commented out default settings for
2156 asm-flags. Replace gdb_compile with target_link.
2157
2158 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
2159
2160 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
2161 for all tests. Remove old hp-ux and cygnus xfail cases.
2162
2163 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
2164
2165 * gdb.base/chng-syms.exp: New file.
2166 * gdb.base/chng-syms.c: New file.
2167
2168 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2169
2170 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
2171 Provide arms for current output in all my configurations.
2172
2173 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2174
2175 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
2176 * lib/compiler.cc: Likewise.
2177 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
2178 get the right preprocessor. Eval the output directly. Remove
2179 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
2180 hp_f77_compiler and hp_f90_compiler completely.
2181 (gdb_preprocess): Delete.
2182 (get_compiler): Delete.
2183
2184 2004-01-24 Mark Kettenis <kettenis@gnu.org>
2185
2186 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
2187 <string.h>.
2188
2189 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
2190
2191 * gdb.mi/mi-stack.exp: Update copyright.
2192
2193 2004-01-23 David Carlton <carlton@kealia.com>
2194
2195 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
2196 test for cp_lookup_transparent_type.
2197 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
2198 call them.
2199
2200 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
2201
2202 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
2203 after -var-update.
2204
2205 2004-01-23 David Carlton <carlton@kealia.com>
2206
2207 * gdb.cp/namespace.cc (C::ensureRefs): New.
2208 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2209
2210 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
2211
2212 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
2213 case "-stack-list-locals 2".
2214 * gdb.mi/mi-var-child.exp: Test for case
2215 "-var-list-children --all-values NAME".
2216
2217 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
2218
2219 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2220
2221 2004-01-18 Mark Kettenis <kettenis@gnu.org>
2222
2223 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
2224 used with gdb_test_multiple.
2225
2226 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
2227 read at address 0. This fixes PR testsuite/1504.
2228
2229 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
2230
2231 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
2232 Remove downloading, guessing the host executable, the calls to
2233 gdb_file_cmd and gdb_target_cmd, and "load" support.
2234 (infer_host_exec): New function broken out from gdb_load.
2235 (gdb_load): New wrapper for gdbserver_gdb_load.
2236 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
2237 gdb_target_cmd. Use -target-select.
2238 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
2239 Download binaries to the host. Clear last_mi_remote_file when
2240 we load a new binary.
2241 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
2242 call gdbserver_gdb_load and mi_gdb_target_cmd.
2243
2244 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2245
2246 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
2247 type patterns.
2248
2249 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2250
2251 * gdb.cp/templates.exp: Fix typo in test name of
2252 "print Foo<volatile char*>::foo".
2253
2254 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2255
2256 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2257
2258 2004-01-16 Ben Elliston <bje@wasabisystems.com>
2259
2260 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
2261 (clean mostlyclean): Remove empty rm.
2262
2263 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2264
2265 * gdb.base/setvar.exp: Add copyright years.
2266
2267 2004-01-14 David Carlton <carlton@bactrian.org>
2268
2269 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
2270 PR c++/1511 and update coment.
2271 * gdb.cp/templates.exp: Update patterns to match current output.
2272 If changes involve something other than whitespace, KFAIL
2273 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2274
2275 2004-01-14 David Carlton <carlton@kealia.com>
2276
2277 * gdb.cp/namespace.exp: Add tests involving classes defined within
2278 namespaces.
2279 * gdb.cp/namespace.cc (C::CClass): New.
2280 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
2281
2282 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
2283
2284 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
2285 what debug info we have. Print a better message if something goes
2286 wrong while producing the separate debug info file.
2287
2288 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2289
2290 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2291
2292 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2293
2294 * gdb.base/callfuncs.c: Add copyright notice.
2295
2296 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
2297
2298 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
2299 inheritance. PR gdb/1498, PR gcc/13539.
2300
2301 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
2302
2303 * gdb.threads/gcore-thread.exp: Prefix name of binary with
2304 test specific name.
2305 * gdb.mi/gdb669.exp: Ditto.
2306 * gdb.mi/mi-pthreads.exp: Ditto.
2307 * gdb.mi/mi1-pthreads.exp: Ditto.
2308 * gdb.mi/mi2-pthreads.exp: Ditto.
2309
2310 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2311
2312 * gdb.cp/member-ptr.cc: Add copyright notice.
2313
2314 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2315
2316 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
2317 some patterns for recent versions of gcc and hpacc. Delete
2318 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
2319 Delete tests that access a NULL pointer-to-member-data. This
2320 script is still disabled for gcc.
2321
2322 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
2323
2324 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
2325 escaped correctly.
2326
2327 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
2328
2329 * gdb.base/sepdebug.exp: New file.
2330 * gdb.base/sepdebug.c: New file.
2331 * lib/gdb.exp (separate_debug_filename): New procedure.
2332 (gdb_gnu_strip_debug): New procedure.
2333
2334 2004-01-12 Andrew Cagney <cagney@redhat.com>
2335
2336 * gdb.mi/ChangeLog: Delete file. Renamed to ...
2337 * gdb.mi/ChangeLog-1999-2003: New file.
2338
2339 2004-01-12 Andrew Cagney <cagney@redhat.com>
2340
2341 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
2342 "Renaming a directory to a non-empty directory returns ENOTEMPTY
2343 or EEXIST", treat EBUSY as an XFAIL.
2344
2345 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
2346
2347 * gdb.base/scope.exp: Remove obsolete setup_xfail for
2348 hp_cc_compiler.
2349
2350 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2351
2352 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
2353 decorations.
2354
2355 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2356
2357 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
2358 and "(aCC)" decorations. Remove obsolete doco about old
2359 test results.
2360
2361 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2362
2363 * gdb.cp/exception.exp: Fix typo in doco.
2364
2365 2004-01-09 Mark Kettenis <kettenis@gnu.org>
2366
2367 * gdb.base/gdb1476.exp: Fix typo.
2368
2369 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2370
2371 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
2372 file.
2373
2374 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2375
2376 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
2377 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
2378 Use gdb_compile. Remove restriction on gcc. Add some patterns
2379 for recent version of gdb. Delete second half, which was a copy
2380 of the first half with different build flags. This test is
2381 still disabled because it is still not ready for production.
2382
2383 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2384
2385 * gdb.cp/exception.cc: Add copyright notice.
2386 * gdb.cp/exception.exp: Add a notice that this file is broken
2387 because of line number changes caused by addition of copyright
2388 notice.
2389
2390 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2391
2392 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
2393 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2394
2395 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2396
2397 * gdb.cp/classes.exp: Accept gnu abi 2.
2398 * gdb.cp/derivation.exp: Likewise.
2399 * gdb.cp/overload.exp: Likewise.
2400 * gdb.cp/virtfunc.exp: Likewise.
2401
2402 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2403
2404 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
2405 semicolon after end of function.
2406
2407 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2408
2409 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
2410 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
2411 boilerplate code for compiling and running the program under
2412 test. Add some string method tests.
2413
2414 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2415
2416 * gdb.cp/bs15503.cc: Add copyright notice.
2417 * gdb.cp/bs15503.exp: Adjust line number.
2418
2419 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2420
2421 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2422 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2423
2424 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2425
2426 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2427 hp_cc_compiler.
2428
2429 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2430
2431 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2432 * gdb.cp/ctti.exp: Use the marker instead of "next".
2433 With gcc, run further before bailing.
2434
2435 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2436
2437 * gdb.cp/cttiadd.cc: Add copyright notice.
2438 * gdb.cp/cttiadd1.cc: Likewise.
2439 * gdb.cp/cttiadd2.cc: Likewise.
2440 * gdb.cp/cttiadd3.cc: Likewise.
2441
2442 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2443
2444 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
2445 Use gdb_test, gdb_test_multiple. Use floating-point values that
2446 have exact representations in IEEE-ish formats.
2447
2448 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2449
2450 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2451 compilers. Delete duplicate call to get_compiler_info.
2452 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2453 * gdb.base/volatile.exp: Likewise.
2454
2455 2004-01-07 Mark Kettenis <kettenis@gnu.org>
2456
2457 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2458 memory at address 0.
2459
2460 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2461
2462 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2463 to test for hp-ux assembler. Fix copyright years.
2464
2465 2004-01-07 Andrew Cagney <cagney@redhat.com>
2466
2467 * gdb.base/fileio.c (strerrno): Add "EBUSY".
2468
2469 2004-01-07 Andrew Cagney <cagney@redhat.com>
2470
2471 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2472 when creating the read-only file. From analysis by Roland McGrath
2473 and Elena Zannoni.
2474
2475 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2476
2477 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2478
2479 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2480
2481 * gdb.base/cvexpr.c: Be type-safe with function pointers and
2482 data pointers.
2483
2484 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2485
2486 * gdb.cp/m-static.exp: Compile one source file at a time.
2487 Delete unused call to get_compiler_info.
2488
2489 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2490
2491 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2492 * gdb.base/call-rt-st.exp: Likewise.
2493 * gdb.base/nodebug.exp: Likewise.
2494 * gdb.base/volatile.exp: Likewise.
2495 * gdb.cp/ref-types.exp: Likewise.
2496 * gdb.cp/templates.exp: Likewise.
2497
2498 2004-01-05 Mark Kettenis <kettenis@gnu.org>
2499
2500 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2501
2502 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
2503
2504 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2505 hppa*-hp-hpux*.
2506
2507 2004-01-04 Mark Kettenis <kettenis@gnu.org>
2508
2509 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2510 x86_64-*-*.
2511
2512 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2513 sparc64-*-* and sparc*-solaris2*.
2514
2515 2004-01-04 Mark Kettenis <kettenis@gnu.org>
2516
2517 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2518 return ${tests}" test. The ${tests} already mentions the
2519 filename.
2520
2521 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2522
2523 * gdb.cp/local.exp: Accept gcc abi 2.
2524
2525 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2526
2527 * gdb.cp/templates.exp: Accept gcc abi 2.
2528
2529 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2530
2531 * lib/compiler.cc: Remove supports_template_debugging.
2532 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2533
2534 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2535
2536 * gdb.cp/namespace.exp: Accept gcc abi 2.
2537
2538 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2539
2540 * gdb.cp/method.exp: Accept gcc abi 2.
2541
2542 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2543
2544 * gdb.cp/classes.exp: Generate identical results as old version.
2545 * gdb.cp/derivation.exp: Likewise.
2546 * gdb.cp/overload.exp: Likewise.
2547 * gdb.cp/virtfunc.exp: Likewise.
2548
2549 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2550
2551 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2552 mysterious bug with sourceware version of expect.
2553
2554 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2555
2556 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2557 current versions of gcc, including gcc abi 2. Remove gratuitous
2558 restart of test program. Use gdb_test_multiple and gdb_test for
2559 all tests. Add patterns to xfail missing "const" in "const char *"
2560 and kfail PR gdb/1155.
2561
2562 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2563
2564 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2565 current versions of gcc, including gcc abi 2. Remove gratuitous
2566 restart of test program. Use gdb_test_multiple and gdb_test for
2567 all tests. Add patterns to kfail PR gdb/1498.
2568
2569 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2570
2571 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2572 current versions of gcc, including gcc abi 2. Use "breakpoint"
2573 and "continue" instead of restarting the target program. Use
2574 gdb_test_multiple and gdb_test for all tests.
2575
2576 2004-01-01 Mark Kettenis <kettenis@gnu.org>
2577
2578 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2579 for *-*-solaris2*.
2580
2581 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2582
2583 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2584 current versions of gcc, including gcc abi 2. Use "breakpoint"
2585 and "continue" instead of restarting the target program several
2586 times. Use gdb_test_multiple and gdb_test for all tests.
2587
2588 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2589
2590 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2591 source files.
2592
2593 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2594
2595 * gdb.base/environ.exp: Handle compiling test case from multiple
2596 source files.
2597
2598 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2599
2600 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2601
2602 2003-12-17 Jim Blandy <jimb@redhat.com>
2603
2604 * gdb.base/freebpcmd.c: Add copyright notice.
2605
2606 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2607
2608 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2609
2610 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2611
2612 2003-12-13 Jim Blandy <jimb@redhat.com>
2613
2614 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2615
2616 2003-12-12 Kevin Buettner <kevinb@redhat.com>
2617
2618 * gdb.asm/frv.inc: New file.
2619 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2620
2621 2003-12-09 Fred Fish <fnf@redhat.com>
2622
2623 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2624 functions to break1.c and leave prototypes behind. Add more
2625 "set breakpoint NN here" comments.
2626 * gdb.base/break1.c: New file.
2627
2628 * gdb.base/break.exp: Handle compiling test case from multiple
2629 source files and change source file references as needed.
2630 * gdb.base/completion.exp: Ditto.
2631 * gdb.base/condbreak.exp: Ditto.
2632 * gdb.base/define.exp: Ditto.
2633 * gdb.base/ena-dis-br.exp: Ditto.
2634 * gdb.base/info-proc.exp: Ditto.
2635 * gdb.base/maint.exp: Ditto.
2636 * gdb.base/until.exp: Ditto.
2637
2638 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2639 hardcoded line numbers.
2640 * gdb.base/define.exp: Ditto.
2641 * gdb.base/ena-dis-br.exp: Ditto.
2642 * gdb.base/maint.exp: Ditto.
2643 * gdb.base/until.exp: Ditto.
2644
2645 * gdb.base/completion.exp: Use "break1" for completion tests since
2646 "break" is no longer a unique prefix.
2647
2648 2003-12-06 Andrew Cagney <cagney@redhat.com>
2649
2650 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2651 "return_value_unimplemented". When an unimplemented struct return
2652 architecture, report incorrect values as a KFAIL
2653
2654 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2655
2656 * gdb.cp/rtti.exp: Accept new wording of warning from
2657 cp_lookup_rtti_type.
2658
2659 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2660
2661 Partial fix for PR testsuite/1456.
2662 * gdb.base/scope.exp (test_at_main): Replace references to
2663 gcc_compiled with calls to test_compiler_info.
2664 (test_at_foo): Likewise.
2665 (test_at_bar): Likewise.
2666
2667 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2668
2669 Partial fix for PR testsuite/1456.
2670 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2671 to test_compiler_info.
2672
2673 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2674
2675 * gdb.base/so-impl-ld.exp: Update copyright notice.
2676
2677 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2678
2679 Partial fix for PR testsuite/1456.
2680 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2681 to test_compiler_info.
2682
2683 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2684
2685 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2686 from current versions of gdb. Clean up regular expressions.
2687 Delete redundant timeout case.
2688
2689 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2690
2691 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2692 from current versions of gdb. Clean up regular expressions.
2693 Delete redundant timeout case.
2694
2695 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2696
2697 Partial fix for PR testsuite/1456.
2698 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2699 gcc_compiled with call to test_compiler_info.
2700
2701 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2702
2703 Partial fix for PR testsuite/1456.
2704 * gdb.base/list.exp (test_list_function): Delete unused declaration
2705 of gcc_compiled.
2706
2707 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2708
2709 Partial fix for PR testsuite/1456.
2710 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2711 call to test_compiler_info.
2712
2713 2003-11-29 Mark Kettenis <kettenis@gnu.org>
2714
2715 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2716 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2717 it to create the appropriate note.inc.
2718 * gdb.asm/asmsrc1.s: Include "note.inc".
2719 * gdb.asm/netbsd.inc: New file.
2720 * gdb.asm/empty.inc: New file.
2721
2722 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2723
2724 Partial fix for PR testsuite/1456.
2725 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2726 calls to test_compiler_info.
2727
2728 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2729
2730 Partial fix for PR testsuite/1456.
2731 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2732 calls to test_compiler_info.
2733
2734 2003-11-27 Mark Kettenis <kettenis@gnu.org>
2735
2736 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2737 pattern for the KFAILs.
2738
2739 2003-11-25 Adam Fedor <fedor@gnu.org>
2740
2741 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2742 * gdb.objc/objcdecode.m: New file.
2743
2744 2003-11-25 Adam Fedor <fedor@gnu.org>
2745
2746 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2747 * gdb.objc/nondebug.m: New file.
2748
2749 2003-11-26 Ben Elliston <bje@wasabisystems.com>
2750
2751 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2752 NetBSD as it does on FreeBSD. Modelled on a similar change by
2753 Mark Kettenis on 2003-05-30.
2754 (link-flags): Set to "--entry _start" regardless of target.
2755 Special linker flags are to be appended to $link-flags.
2756 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2757
2758 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2759
2760 * gdb.cp/method.exp: Accept output of new demangler.
2761
2762 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2763
2764 * gdb/class2.exp: New file.
2765 * gdb/class2.cc: New file.
2766
2767 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2768
2769 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2770 of new demangler.
2771
2772 2003-11-23 Mark Kettenis <kettenis@gnu.org>
2773
2774 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2775 of gdb_test "run".
2776
2777 2003-11-23 Mark Kettenis <kettenis@gnu.org>
2778
2779 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2780 "continue" into "run".
2781
2782 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2783
2784 Partial fix for PR testsuite/1456.
2785 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2786 call to test_compiler_info.
2787 * gdb.cp/ctti.exp: Likewise.
2788 * gdb.cp/derivation.exp: Likewise.
2789 * gdb.cp/member-ptr.exp: Likewise.
2790 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2791 reference to gcc_compiled.
2792
2793 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2794
2795 Fix PR testsuite/1463.
2796 * gdb.base/structs.exp (start_structs_test): Call
2797 get_debug_format before using the debug format.
2798
2799 2003-11-22 Andrew Cagney <cagney@redhat.com>
2800
2801 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2802 * gdb.base/structs.exp: Use gdb_test_multiple.
2803
2804 2003-11-20 Andrew Cagney <cagney@redhat.com>
2805
2806 * gdb.base/structs.exp: Handle and recover from internal errors.
2807 Replace "foo${n}" with "foo<n>" in test messages.
2808
2809 * gdb.base/structs.exp: Update copyright. Rewrite.
2810 * gdb.base/structs.c: Update copyright. Rewrite.
2811
2812 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2813 resync count exceeded.
2814
2815 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2816 from the internal error.
2817 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2818 Original from Jim Blandy.
2819 (gdb_test_multiple): Use gdb_internal_error_resync.
2820
2821 2003-11-19 Andrew Cagney <cagney@redhat.com>
2822
2823 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2824 KFAIL.
2825
2826 2003-11-17 Mark Kettenis <kettenis@gnu.org>
2827
2828 New testcase for PR backtrace/1435.
2829 * gdb.arch/i386-unwind.exp: New file.
2830 * gdb.arch/i386-unwind.c: New file.
2831
2832 2003-11-17 Andrew Cagney <cagney@redhat.com>
2833
2834 * lib/gdb.exp (compiler_info): New global.
2835 (test_compiler_info): New function.
2836 (get_compiler_info): Set compiler_info.
2837 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2838 "compiler_info" to gcc-<major>-<minor>.
2839
2840 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2841
2842 * gdb.trace/configure: Remove.
2843
2844 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
2845
2846 * gdb.base/break.c: Add comments to aid finding line numbers for
2847 breakpoints.
2848 * gdb.base/break.exp: Remove all references to explicit line
2849 numbers.
2850
2851 2003-11-11 Nick Clifton <nickc@redhat.com>
2852
2853 * gdb.base/shreloc.exp: Do not run for targets which do not
2854 support shared objects.
2855
2856 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
2857
2858 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2859 Don't run tests if nofileio flag is given.
2860
2861 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
2862
2863 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2864 as well as 'Watchpoint'.
2865
2866 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
2867
2868 Reported by Jim Ingham <jingham@apple.com>:
2869 * gdb.base/annota1.exp: Match at least one occurrence of the
2870 signal handler annotation.
2871
2872 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
2873
2874 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2875 as well as 'Watchpoint'.
2876
2877 2003-11-05 Michael Chastain <mec@shout.net>
2878
2879 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2880
2881 2003-11-03 Kris Warkentin <kewarken@qnx.com>
2882
2883 * gdb.arch/gdb1291.c: New test file.
2884 * gdb.arch/gdb1291.exp: New test script.
2885 * gdb.arch/gdb1431.c: New test file.
2886 * gdb.arch/gdb1431.exp: New test script.
2887
2888 2003-10-22 Michael Chastain <mec@shout.net>
2889
2890 * gdb.mi/pthreads.c: Add copyright notice.
2891
2892 2003-10-22 Michael Chastain <mec@shout.net>
2893
2894 * gdb.threads/pthreads.c: Add copyright notice.
2895
2896 2003-10-20 Michael Chastain <mec@shout.net>
2897
2898 * gdb.base/gdb1056.exp: New test script.
2899
2900 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
2901
2902 * gdb.threads/killed.exp: Use gdb_run_cmd.
2903
2904 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
2905
2906 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2907 create a core file.
2908 * gdb.threads/gcore-thread.exp: Likewise.
2909
2910 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
2911
2912 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2913 type, based on char type.
2914 (struct bit_flags_short_t): New bitfield type, based on short type.
2915 (init_bit_flags_char): New fuction.
2916 (init_bit_flags_short): Ditto.
2917 (print_bit_flags_char): Ditto.
2918 (print_bit_flags_short): Ditto.
2919 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2920
2921 2003-10-11 Michael Chastain <mec@shout.net>
2922
2923 * gdb.base/call-rt-st.exp: Update copyright year.
2924
2925 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2926
2927 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2928 * gdb.disasm/sh3.s: Ditto.
2929
2930 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
2931
2932 * gdb.threads/switch-threads.exp: New test.
2933 * gdb.threads/switch-threads.c: New source file.
2934
2935 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
2936
2937 * gdb.base/ending-run.exp: Add sh specific case.
2938
2939 2003-10-06 Andrew Cagney <cagney@redhat.com>
2940
2941 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2942 * gdb.disasm/mn10200.exp: Delete obsolete file.
2943
2944 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
2945
2946 * ChangeLog: Correct an entry command.exp -> commands.exp.
2947 * gdb.base/commands.exp (bp_deleted_in_command_test)
2948 (temporary_breakpoint_commands): Check noargs.
2949
2950 2003-09-25 David Carlton <carlton@kealia.com>
2951
2952 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2953 of some print tests, where appropriate. Add tests for C::D::cd,
2954 E::ce, F::cXfX, G::XgX.
2955 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2956
2957 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
2958
2959 * lib/java.exp (java_init): Import target_alias before using it.
2960
2961 2003-09-25 David Carlton <carlton@kealia.com>
2962
2963 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2964
2965 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
2966
2967 * gdb.base/selftest.exp: Accomodate more instruction reordering
2968 weirdness.
2969
2970 2003-09-17 Michael Chastain <mec@shout.net>
2971
2972 * gdb.cp/gdb1355.exp: New file.
2973 * gdb.cp/gdb1355.c: New file.
2974
2975 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
2976
2977 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2978 * gdb.asm/sh.inc: New file.
2979
2980 2003-09-11 David Carlton <carlton@kealia.com>
2981
2982 * gdb.cp/namespace.exp: Add tests for namespace types.
2983 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
2984 (test_namespace): New.
2985
2986 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
2987
2988 * gdb.base/relocate.exp: Handle new gdb output at startup.
2989 * gdb.stabs/weird.exp: Ditto.
2990
2991 2003-09-08 Michael Chastain <mec@shout.net>
2992
2993 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2994
2995 2003-09-07 Michael Chastain <mec@shout.net>
2996
2997 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2998 'parse error'.
2999
3000 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
3001
3002 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
3003
3004 2003-08-30 Michael Chastain <mec@shout.net>
3005
3006 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
3007 * gdb.gdb/observer.exp: Ditto.
3008 * gdb.gdb/xfullpath.exp: Ditto.
3009
3010 2003-08-29 Mark Kettenis <kettenis@gnu.org>
3011
3012 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
3013 *-*-*bsd*.
3014
3015 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
3016
3017 * gdb.base/dump.exp: Skip for ia64.
3018
3019 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
3020
3021 * gdb.asm/asm-source.exp: Add ia64 support.
3022 * gdb.asm/ia64.inc: New file.
3023
3024 2003-08-22 Michael Chastain <mec@shout.net>
3025
3026 * gdb.cp: New directory.
3027 * gdb.cp/*: Copy from gdb.c++/*.
3028 * gdb.c++/*: Remove.
3029 * Makefile.in: Change gdb.c++ to gdb.cp.
3030 * configure.in: Ditto.
3031 * configure: Regnerate.
3032
3033 2003-08-18 Mark Kettenis <kettenis@gnu.org>
3034
3035 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
3036 * gdb.arch/i386-prologue.c (gdb1338): Add function.
3037
3038 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
3039
3040 * mi-var-display.exp (-var-list-children weird): Accept function
3041 pointers with argument types.
3042 * mi1-var-display.exp (-var-list-children weird): Likewise.
3043 * mi2-var-display.exp (-var-list-children weird): Likewise.
3044
3045 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
3046
3047 * gdb.base/annota3.exp: Add missing newline.
3048
3049 2003-08-06 Michael Chastain <mec@shout.net>
3050
3051 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
3052
3053 2003-08-12 Michael Snyder <msnyder@redhat.com>
3054
3055 * gdb.base/float.exp: Add test for SH.
3056
3057 2003-08-10 Mark Kettenis <kettenis@gnu.org>
3058
3059 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
3060
3061 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
3062
3063 * gdb.base/completion.exp: Remove reduntant completion test
3064 on filename.
3065
3066 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
3067
3068 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
3069 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
3070 gdb.trace/save-trace.exp: Make sure that full pathnames are
3071 escaped correctly.
3072
3073 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
3074
3075 * configure.in: Don't generate config.h from config.hin.
3076 * configure: Regenerate.
3077 * config.hin: Remove file.
3078 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
3079 * gdb.threads/pthreads.c: Ditto.
3080
3081 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
3082
3083 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3084 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
3085 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
3086 Replace ld24 with seth/add3.
3087
3088 2003-08-02 Andrew Cagney <cagney@redhat.com>
3089
3090 * gdb.base/annota3.exp: New file.
3091 * gdb.base/annota3.c: New file.
3092 * gdb.c++/annota3.exp: New file.
3093 * gdb.c++/annota3.cc: New file.
3094
3095 2003-07-29 Michael Chastain <mec@shout.net>
3096
3097 * gdb.threads/tls.c (spin): Check errno only if sem_wait
3098 actually failed.
3099 (do_pass): Likewise.
3100 * gdb.threads/tls.exp: Always initialize no_of_threads.
3101
3102 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
3103
3104 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
3105 pattern.
3106 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
3107 * gdb.threads/tls.exp: Recognize one case of the host library not
3108 supporting TLS.
3109
3110 2003-07-27 Andrew Cagney <cagney@redhat.com>
3111
3112 * gdb.base/fileio.exp: Use SH when running commands using
3113 remote_exec.
3114
3115 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
3116
3117 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3118 * gdb.base/relocate.c (dummy): New padding array.
3119
3120 2003-07-22 Michael Snyder <msnyder@redhat.com>
3121
3122 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3123
3124 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
3125 patterns to be more general, accepting old and new output.
3126 Some output chars (such as '+') also must be quoted.
3127 Some addresses are displayed numerically instead of
3128 symbolically.
3129
3130 2003-07-23 Michael Snyder <msnyder@redhat.com>
3131
3132 * gdb.base/return2.exp: Don't test long-long return.
3133
3134 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
3135 * gdb.disasm/t01_mov.exp: Ditto.
3136 * gdb.disasm/t02_mova.s: Ditto.
3137 * gdb.disasm/t02_mova.exp: Ditto.
3138 * gdb.disasm/t03_add.s: Ditto.
3139 * gdb.disasm/t03_add.exp: Ditto.
3140 * gdb.disasm/t04_sub.s: Ditto.
3141 * gdb.disasm/t04_sub.exp: Ditto.
3142 * gdb.disasm/t05_cmp.s: Ditto.
3143 * gdb.disasm/t05_cmp.exp: Ditto.
3144 * gdb.disasm/t06_ari2.s: Ditto.
3145 * gdb.disasm/t06_ari2.exp: Ditto.
3146 * gdb.disasm/t07_ari3.s: Ditto.
3147 * gdb.disasm/t07_ari3.exp: Ditto.
3148 * gdb.disasm/t08_or.s: Ditto.
3149 * gdb.disasm/t08_or.exp: Ditto.
3150 * gdb.disasm/t09_xor.s: Ditto.
3151 * gdb.disasm/t09_xor.exp: Ditto.
3152 * gdb.disasm/t10_and.s: Ditto.
3153 * gdb.disasm/t10_and.exp: Ditto.
3154 * gdb.disasm/t11_logs.s: Ditto.
3155 * gdb.disasm/t11_logs.exp: Ditto.
3156 * gdb.disasm/t12_bit.s: Ditto.
3157 * gdb.disasm/t12_bit.exp: Ditto.
3158 * gdb.disasm/t13_otr.s: Ditto.
3159 * gdb.disasm/t13_otr.exp: Ditto.
3160
3161 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
3162
3163 * gdb.threads/tls.exp :Add kfail for 'info address' case.
3164
3165 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
3166
3167 * gdb.threads/tls.c : New file.
3168 * gdb.threads/tls.exp : New file.
3169 * gdb.threads/tls-main.c : New file.
3170 * gdb.threads/tls-shared.c : New file.
3171 * gdb.threads/tls-shared.exp : New file.
3172
3173 2003-07-22 Andreas Schwab <schwab@suse.de>
3174
3175 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
3176
3177 2003-07-20 Andreas Schwab <schwab@suse.de>
3178
3179 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
3180 due to insn reordering.
3181
3182 2003-07-15 Andrew Cagney <cagney@redhat.com>
3183
3184 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
3185
3186 2003-07-15 Michael Chastain <mec@shout.net>
3187
3188 * gdb.base/gdb1250.exp: New file.
3189 * gdb.base/gdb1250.c: New file.
3190
3191 2003-07-09 Michal Ludvig <mludvig@suse.cz>
3192
3193 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
3194 expansion of size_t to 'unsigned long', not only to 'unsigned'.
3195
3196 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
3197
3198 * gdb.threads/tls.c: New file.
3199 * gdb.threads/tls.exp: New file.
3200 * gdb.threads/tls-main.c: New file.
3201 * gdb.threads/tls-shared.c: New file.
3202 * gdb.threads/tls-shared.exp: New file.
3203
3204 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
3205
3206 * gdb.base/annota1.exp: Make sure that we properly escape the
3207 full path of the source file. Xfail more permissive patterns,
3208 due to a compiler debug info problem.
3209
3210 2003-07-07 Andreas Schwab <schwab@suse.de>
3211
3212 * gdb.asm/m68k.inc: New file.
3213 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
3214
3215 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
3216 arguments"): Also match negative number.
3217
3218 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
3219
3220 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
3221
3222 * gdb.base/store.c (charest): New typedef.
3223 (add_char): Rename to add_charest, update.
3224 (wack_char): Rename to wack_charest, update types. Return l + r
3225 to keep r live across the call.
3226 (wack_short, wack_int, wack_long, wack_longest, wack_float)
3227 (wack_double, wack_doublest): Return l + r to keep r live across
3228 the call.
3229 * gdb.base/store.exp: Accomodate store.c changes.
3230
3231 2003-06-30 David Carlton <carlton@kealia.com>
3232
3233 * gdb.c++/maint.exp (test_invalid_name): New.
3234 (test_first_component): Add tests for invalid names.
3235
3236 2003-06-29 Michael Chastain <mec@shout.net>
3237
3238 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
3239 output of '<VTT for class>' for virtual base classes.
3240
3241 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
3242
3243 * gdb.base/completion.exp: Tab-complete "complet" instead of
3244 "compl".
3245 * gdb.base/complex.exp, gdb.base/complex.c: New files.
3246
3247 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
3248
3249 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
3250 * gdb.base/volatile.exp: Likewise.
3251
3252 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
3253
3254 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
3255 gdb/1265.
3256
3257 2003-06-28 Michael Chastain <mec@shout.net>
3258 Daniel Jacobowitz <drow@mvista.com>
3259
3260 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
3261 initial line count of 'captured_main' from 26 to 32.
3262 (test_with_self): Allow xmalloc call to be interleaved with the
3263 preceding two lines.
3264
3265 2003-06-24 Joel Brobecker <brobecker@gnat.com>
3266
3267 * gdb.base/bang.exp: New testcase.
3268
3269 2003-06-23 Joel Brobecker <brobecker@gnat.com>
3270
3271 * gdb.base/langs.exp: Add some tests for the "minimal" language
3272 support.
3273
3274 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
3275
3276 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
3277 the testcase.
3278
3279 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
3280
3281 * gdb.base/relocate.exp: Test add-symbol-file with a variable
3282 offset.
3283
3284 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
3285
3286 * gdb.c++/pr-1210.cc: New file.
3287 * gdb.c++/pr-1210.exp: New file.
3288
3289 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
3290
3291 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
3292 000-exec-continue.
3293
3294 2003-06-15 Mark Kettenis <kettenis@gnu.org>
3295
3296 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
3297 on *-*-*bsd* instead of *-*-freebsd*.
3298
3299 2003-06-14 Andrew Cagney <cagney@redhat.com>
3300
3301 * gdb.base/store.exp: Test longest and doublest. Test all
3302 parameters. Weaken return statement match.
3303 * gdb.base/store.c: Add longest and doublest - aka long long and
3304 long double functions. Put all parameters into local register
3305 variables. Use negative values.
3306
3307 2003-06-14 Andrew Cagney <cagney@redhat.com>
3308
3309 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
3310 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
3311 exit status.
3312 * gdb.base/fileio.exp: Disable target when nointerrupts and
3313 noinferiorio, instead of limiting it to remote. Use remote_exec
3314 instead of system.
3315
3316 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
3317
3318 * gdb.base/float.exp: Add ia64 support.
3319
3320 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
3321
3322 * gdb.base/fileio.exp: Run only on remote targets.
3323
3324 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
3325
3326 * gdb.base/fileio.c: New file, testing File-I/O.
3327 * gdb.base/fileio.exp: Ditto.
3328
3329 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
3330
3331 * gdb.base/shreloc.exp: New file, check symbol values obtained from
3332 shared objects after relocation at load time (gdb PR/1132).
3333 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
3334 as above, part of the shared object relocation test.
3335
3336 2003-06-08 Mark Kettenis <kettenis@gnu.org>
3337
3338 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
3339 fully filled history list.
3340 * gdb.base/gdb_history: New file.
3341
3342 * gdb.base/signals.exp: XFAIL "continue to func1" on
3343 i*86-*-freebsd*.
3344
3345 * gdb.base/attach.exp: When trying to attach to a nonexistent
3346 process, make it possible to specify the PID based on the target,
3347 and do so for *-*-freebsd*.
3348
3349 2003-06-02 Richard Henderson <rth@redhat.com>
3350
3351 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
3352
3353 2003-06-02 Richard Henderson <rth@redhat.com>
3354
3355 * gdb.base/selftest.exp: Next over lim_at_start initialization.
3356
3357 2003-06-02 Richard Henderson <rth@redhat.com>
3358
3359 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
3360
3361 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
3362
3363 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
3364 of globalvar.
3365
3366 2003-06-01 Mark Kettenis <kettenis@gnu.org>
3367
3368 * gdb.asm/asm-source.exp: Check for memory read errors in
3369 disassembler test on *BSD too.
3370
3371 2003-06-01 Richard Henderson <rth@redhat.com>
3372
3373 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
3374 for .frame.
3375 (gdbasm_call): Lose ldgp.
3376 (gdbasm_startup): Add frame information.
3377 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
3378
3379 2003-05-31 Mark Kettenis <kettenis@gnu.org>
3380
3381 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
3382 i?86-*-*.
3383
3384 2003-05-30 Mark Kettenis <kettenis@gnu.org>
3385
3386 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3387 FreeBSD.
3388
3389 2003-05-29 Richard Henderson <rth@redhat.com>
3390
3391 * gdb.asm/alpha.inc: New file.
3392 * gdb.asm/asm-source.exp: Use it.
3393
3394 2003-05-29 Jim Blandy <jimb@redhat.com>
3395
3396 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
3397 'core.PID'.
3398
3399 2003-05-22 Jim Blandy <jimb@redhat.com>
3400
3401 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
3402 backtrace.
3403
3404 2003-05-20 David Carlton <carlton@math.stanford.edu>
3405
3406 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
3407 this time.
3408
3409 2003-05-19 David Carlton <carlton@bactrian.org>
3410
3411 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
3412 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
3413
3414 2003-05-19 David Carlton <carlton@bactrian.org>
3415
3416 * gdb.c++/namespace.exp: Add namespace scope and anonymous
3417 namespace tests.
3418 Bump copyright date.
3419 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3420 (main): Call C::D::marker2.
3421 * gdb.c++/namespace1.cc: New file.
3422
3423 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
3424
3425 Roland McGrath <roland@redhat.com>
3426 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
3427 there is no manager thread.
3428
3429 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
3430
3431 * gdb.threads/schedlock.exp: Remove assumption that all threads
3432 will run in a particular small time slice. Also ensure we break
3433 in one of the child threads rather than the main thread.
3434
3435 2003-05-07 Jim Blandy <jimb@redhat.com>
3436
3437 Add support for assembly source testing on the s390x.
3438 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3439 architecture.
3440 * gdb.asm/s390x.inc: New file.
3441
3442 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3443 succession of 'if' statements.
3444
3445 2003-05-05 Andrew Cagney <cagney@redhat.com>
3446
3447 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3448
3449 2003-05-05 Andrew Cagney <cagney@redhat.com>
3450
3451 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3452 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3453
3454 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
3455
3456 * gdb.base/charset.exp: Update based on new behavior of set/show
3457 charset commands.
3458
3459 2003-05-01 Andrew Cagney <cagney@redhat.com>
3460
3461 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3462 variable do not give memory errors.
3463
3464 2003-04-30 Adam Fedor <fedor@gnu.org>
3465
3466 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3467 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3468 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3469 gdb.objc/basicclass.m: : New files
3470
3471 * lib/gdb.exp (gdb_compile_objc): New procedure.
3472
3473 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
3474
3475 * gdb.base/signals.exp: Make backtrace tests more specific.
3476
3477 2003-04-23 David Carlton <carlton@bactrian.org>
3478
3479 * gdb.c++/maint.exp (test_first_component): Add tests for
3480 'operator' in more locations.
3481
3482 2003-04-16 Kevin Buettner <kevinb@redhat.com>
3483
3484 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3485
3486 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
3487
3488 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3489 func marke' instead. Update test name.
3490
3491 2003-04-15 David Carlton <carlton@math.stanford.edu>
3492
3493 * gdb.c++/maint.exp: New file.
3494
3495 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
3496
3497 * gdb.threads/schedlock.c: Change type of thread function argument
3498 to long, to avoid warnings on 64-bit platforms.
3499
3500 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
3501
3502 * gdb.base/attach.exp: Add new message from ptrace in case of
3503 attaching to nonexistent process.
3504
3505 2003-04-11 Jim Blandy <jimb@redhat.com>
3506
3507 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3508 gdb.c++/userdef.cc: Place comments on the lines to which the
3509 marker function might return.
3510 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3511 gdb.c++/userdef.exp: Look for those comments to check that we've
3512 returned to the right place, instead of checking line numbers.
3513
3514 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
3515
3516 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3517 match on sourcefile name, instead of directory name.
3518
3519 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
3520
3521 * gdb.base/completion.exp: Use string_to_regexp to match the
3522 working directory name.
3523
3524 2003-04-09 Jim Blandy <jimb@redhat.com>
3525
3526 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3527 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3528 after an inferior function call, report the failure, but allow the
3529 test to continue.
3530
3531 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3532
3533 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3534 with -DPROTOTYPES.
3535
3536 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3537
3538 * gdb.base/break.exp: Revert last patch.
3539
3540 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3541
3542 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3543 with -DPROTOTYPES.
3544
3545 2003-04-02 Andrew Cagney <cagney@redhat.com>
3546
3547 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3548 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3549 matching directories by the name breakpoint.
3550 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3551 Make "continue to marker1" consistent.
3552 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3553 message consistent.
3554 * lib/gdb.exp: Put "the program is no longer running", and "the
3555 program exited" in parenthesis.
3556 * lib/mi-support.exp: Ditto.
3557
3558 2003-04-02 Bob Rossi <bob_rossi@cox.net>
3559
3560 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3561
3562 2003-03-29 Andrew Cagney <cagney@redhat.com>
3563
3564 * gdb.base/sizeof.c (main): Print the value of '\377'.
3565 * gdb.base/sizeof.exp: Check the sign of '\377'.
3566
3567 2003-03-27 Michael Chastain <mec@shout.net>
3568
3569 * gdb.base/gdb1090.exp: New file.
3570 * gdb.base/gdb1090.cc: New file.
3571
3572 2003-03-27 J. Brobecker <brobecker@gnat.com>
3573
3574 * gdb.gdb/observer.exp: New regression test.
3575
3576 2003-03-27 Michael Chastain <mec@shout.net>
3577
3578 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3579 * gdb.base/ptype.exp: Likewise.
3580
3581 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
3582
3583 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3584
3585 2003-03-26 Michael Chastain <mec@shout.net>
3586
3587 * gdb.base/ptype.exp: Actually use some typedef'd types.
3588
3589 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3590
3591 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3592 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3593
3594 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3595
3596 * gdb.base/default.exp: Fix regular expression.
3597
3598 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3599
3600 * gdb.base/args.exp: Fix regular expression.
3601
3602 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3603
3604 * gdb.base/help.exp: Allow Win32 child process.
3605
3606 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3607
3608 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3609 when stepping out of main().
3610
3611 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3612
3613 * gdb.base/default.exp: Check for win32 specific message when calling
3614 "run" without executable.
3615
3616 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3617
3618 * gdb.base/args.exp: Expect .exe in output.
3619
3620 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3621
3622 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3623 Cygwin native.
3624
3625 2003-03-17 Andrew Cagney <cagney@redhat.com>
3626
3627 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3628 vector registes.
3629 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3630 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3631
3632 2003-03-17 David Carlton <carlton@math.stanford.edu>
3633
3634 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3635 test, for PR breakpoints/38.
3636 Call test_watchpoint_and_breakpoint.
3637 * gdb.base/watchpoint.c (func3): New function.
3638 (main): Call func3.
3639
3640 2003-03-04 David Carlton <carlton@math.stanford.edu>
3641
3642 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3643 Garply<Garply<char> >:: garply".
3644 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3645 with respect to PR c++/1111; note also PR c++/1113.
3646 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3647 respect to PR c++/1062.
3648 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3649
3650 2003-03-03 David Carlton <carlton@math.stanford.edu>
3651
3652 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3653 with respect to PR c++/57.
3654 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3655 c++/826.
3656 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3657 respect to PR c++/57.
3658
3659 2003-03-03 David Carlton <carlton@math.stanford.edu>
3660
3661 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3662 respect to PR c++/33 into FAILs.
3663
3664 2003-03-03 Michael Chastain <mec@shout.net>
3665
3666 * configure.in: Update copyright years.
3667
3668 2003-03-03 Michael Chastain <mec@shout.net>
3669
3670 * Makefile.in: Update copyright years.
3671
3672 2003-02-28 David Carlton <carlton@math.stanford.edu>
3673
3674 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3675 print class instead of struct and/or superfluous protection
3676 specifiers, as long as the resulting output is equivalent to the
3677 source code.
3678 Delete FIXME from end of messages on tests that don't need
3679 fixing.
3680
3681 2003-02-28 David Carlton <carlton@math.stanford.edu>
3682
3683 * gdb.c++/templates.exp (do_tests): Allow const in the two
3684 Foo<volatile char *>::foo tests.
3685
3686 2003-02-27 Michael Snyder <msnyder@redhat.com>
3687
3688 * gdb.base/restore.c (main): Return zero, so exit code
3689 will be consistant.
3690
3691 2003-02-26 David Carlton <carlton@math.stanford.edu>
3692
3693 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3694 char *>::foo" test with respect to PR c++/33. Create a new test
3695 which is identical to that one except that it doesn't put the
3696 space between the "char" and the "*"; KFAIL it, too.
3697
3698 2003-02-26 David Carlton <carlton@math.stanford.edu>
3699
3700 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3701 template types into either PASSes or KFAILs (corresponding to PR
3702 c++/57). Tweak indentation. Update copyright.
3703
3704 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3705
3706 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3707
3708 2003-02-13 Michael Chastain <mec@shout.net>
3709
3710 * gdb.base/exprs.exp: Remove i960 remnants.
3711 * gdb.base/funcargs.exp: Likewise.
3712 * gdb.base/list.exp: Likewise.
3713 * gdb.base/ptype.exp: Likewise.
3714
3715 2003-02-14 David Carlton <carlton@math.stanford.edu>
3716
3717 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3718 pEe->D::vg()" from XFAIL to KFAIL.
3719
3720 2003-02-13 Jason Molenda (jmolenda@apple.com)
3721
3722 * gdb.base/maint.exp: Update maint print statistics regexp to include
3723 new entries.
3724
3725 2003-02-13 Michael Chastain <mec@shout.net>
3726
3727 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3728
3729 2003-02-12 Michael Chastain <mec@shout.net>
3730
3731 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3732 * gdb.c++/inherit.exp: Likewise.
3733 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3734 * gdb.c++/templates.exp: Likewise.
3735 * gdb.c++/virtfunc.exp: Likewise.
3736
3737 2003-02-06 Jason Molenda (jason-cl@molenda.com)
3738
3739 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3740 why the code is written that way.
3741
3742 2003-02-05 Michael Chastain <mec@shout.net>
3743
3744 * gdb.base/dump.exp: Add missing copyright line.
3745
3746 2003-02-05 Jason Molenda (jason-cl@molenda.com)
3747
3748 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
3749 at the beginning so the breakpoint doesn't get set on the loop.
3750
3751 2003-02-05 Michael Chastain <mec@shout.net>
3752
3753 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3754 output for configurations with gcc 2.95.3.
3755
3756 2003-02-05 Keith Seitz <keiths@redhat.com>
3757 Andrew Cagney <ac131313@redhat.com>
3758
3759 * gdb.mi/mi-cli.exp: New file.
3760
3761 2003-02-04 Michael Chastain <mec@shout.net>
3762
3763 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3764 Call perror and then continue.
3765
3766 2003-02-03 Michael Chastain <mec@shout.net>
3767
3768 * gdb.c++/pr-1023.cc: New file.
3769 * gdb.c++/pr-1023.exp: New file.
3770
3771 2003-02-05 Jim Blandy <jimb@redhat.com>
3772
3773 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3774 it's local to foobar. Check for it there, and check that it's not
3775 present in main.
3776 * gdb.c++/local.cc (marker2): New function.
3777 (foobar): Call marker1.
3778 (main): Call marker2 instead of marker1.
3779
3780 2003-02-04 Andrew Cagney <ac131313@redhat.com>
3781
3782 * gdb.disasm/mn10200.exp: Obsolete file.
3783 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3784 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3785 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3786
3787 2003-02-04 David Carlton <carlton@math.stanford.edu>
3788
3789 * gdb.c++/overload.exp: Test intToChar(1).
3790 * gdb.c++/overload.cc (intToChar): New.
3791 (main): Call intToChar.
3792
3793 2003-02-03 David Carlton <carlton@math.stanford.edu>
3794
3795 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3796 'might_kfail' arg.
3797 KFAIL some of the continue_to_bp_overloaded calls, according to
3798 PR c++/1025.
3799
3800 2003-02-01 Michael Chastain <mec@shout.net>
3801
3802 * gdb.base/advance.c (marker1): New marker function.
3803 * gdb.base/advance.exp: When the 'advance' command lands on the
3804 return breakpoint, it can legitimately stop on either the
3805 current line or the next line. Accommodate both outcomes.
3806 * gdb.base/until.exp: Likewise.
3807
3808 2003-02-02 Andrew Cagney <ac131313@redhat.com>
3809
3810 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3811 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3812 now a list, not a tuple.
3813 * gdb.mi/mi-var-display.exp: Ditto.
3814 * gdb.mi/gdb792.exp: Ditto.
3815
3816 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3817
3818 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3819 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3820 stack backtraces.
3821 * gdb.mi/mi-syn-frame.c: Part of same.
3822
3823 2003-02-01 Mark Kettenis <kettenis@gnu.org>
3824
3825 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3826 gdb.mi/mi1-pthreads.exp: Return instead of calling
3827 gdb_suppress_entire_file.
3828
3829 2003-02-01 Mark Salter <msalter@redhat.com>
3830
3831 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3832
3833 2003-01-31 Mark Salter <msalter@redhat.com>
3834
3835 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3836 Support empty arg.
3837
3838 2003-01-30 Michael Chastain <mec@shout.net>
3839
3840 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3841 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3842 has been fixed in gdb/readline on 2003-01-09.
3843
3844 2003-01-29 Michael Snyder <msnyder@redhat.com>
3845
3846 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3847 * gdb.base/display.exp: Allow for leading underscore in symbol.
3848 * gdb.base/args.exp: Skip if target does not support args passing.
3849
3850 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
3851
3852 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
3853 gdb_test. Accept a list of expect arguments as the third
3854 parameter.
3855 (gdb_test): Use it.
3856
3857 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
3858
3859 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3860 allow for different test tree configurations. Update some
3861 tescases accordingly.
3862 * gdb.arch/altivec-regs.exp: Ditto.
3863 * gdb.asm/asm-source.exp: Ditto.
3864 * gdb.base/advance.exp: Ditto.
3865 * gdb.base/display.exp: Ditto.
3866 * gdb.base/long_long.exp: Ditto.
3867 * gdb.base/mips_pro.exp: Ditto.
3868 * gdb.base/overlays.exp: Ditto.
3869 * gdb.base/relocate.exp: Ditto.
3870 * gdb.base/setshow.exp: Ditto.
3871 * gdb.base/step-line.exp: Ditto.
3872 * gdb.base/step-test.exp: Ditto.
3873 * gdb.base/until.exp: Ditto.
3874 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3875
3876 2003-01-17 David Carlton <carlton@math.stanford.edu>
3877
3878 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3879 corresponding to PR c++/945.
3880 Update copyright.
3881
3882 2003-01-17 David Carlton <carlton@math.stanford.edu>
3883
3884 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3885 corresponding to PR c++/68.
3886
3887 2003-01-17 David Carlton <carlton@math.stanford.edu>
3888
3889 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3890 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3891 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3892
3893 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
3894
3895 * gdb.base/break.exp: Fix change of default location, because of
3896 removal of until tests.
3897 * gdb.base/help.exp: Update test for new 'until' help message.
3898 Add test for help on 'advance'.
3899 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3900
3901 2003-01-15 Mark Kettenis <kettenis@gnu.org>
3902
3903 * gdb.base/default.exp: Adapt "info float" test for recent changes
3904 to that command. Add test for "info vector".
3905 * gdb.base/float.exp: New file. Add test for "info float" that
3906 resembles the old test in gdb.base/default.exp.
3907
3908 2003-01-15 David Carlton <carlton@math.stanford.edu>
3909
3910 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3911
3912 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
3913
3914 * gdb.base/break.exp: Move the tests of until command from here...
3915 * gdb.base/until.exp: ... to here. New file. Add other tests.
3916 * gdb.base/advance.c: New file.
3917 * gdb.base/advance.exp: New file.
3918
3919 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
3920
3921 * gdb.base/args.c: New file.
3922 * gdb.base/args.exp: New file.
3923
3924 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
3925
3926 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3927
3928 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
3929
3930 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3931
3932 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
3933
3934 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3935 dates.
3936
3937 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3938
3939 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3940
3941 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3942
3943 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3944 (ptype &*"foo").
3945 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3946
3947 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3948
3949 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3950 * gdb.mi/mi1-console.exp: Likewise.
3951
3952 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3953
3954 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3955 * gdb.mi/mi1-console.exp: Likewise.
3956
3957 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3958
3959 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3960
3961 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3962
3963 * gdb.base/detach.exp: New test.
3964
3965 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3966
3967 * Makefile.in (ALL_SUBDIRS): New variable.
3968 (subdirs, clean, distclean): Use it.
3969 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3970 regenerating Makefile, since it is generated from the top level.
3971 * gdb.asm/Makefile.in: Likewise.
3972 * gdb.base/Makefile.in: Likewise.
3973 * gdb.c++/Makefile.in: Likewise.
3974 * gdb.disasm/Makefile.in: Likewise.
3975 * gdb.java/Makefile.in: Likewise.
3976 * gdb.mi/Makefile.in: Likewise.
3977 * gdb.threads/Makefile.in: Likewise.
3978 * gdb.trace/Makefile.in: Likewise.
3979
3980 2003-01-09 David Carlton <carlton@math.stanford.edu>
3981
3982 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3983 Add copyright year 2003.
3984
3985 2003-01-06 Michael Chastain <mec@shout.net>
3986
3987 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3988 When selecting a thread, 'line' and 'file' are optional.
3989 * gdb.mi/mi1-pthreads.exp: Likewise.
3990
3991 2003-01-06 Andreas Schwab <schwab@suse.de>
3992
3993 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3994 failures.
3995
3996 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3997
3998 Fix PR gdb/844
3999 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
4000 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
4001
4002 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
4003 instead of calling gdb_suppress_entire_file.
4004 * gdb.threads/print-threads.exp: Likewise.
4005 * gdb.threads/schedlock.exp: Likewise.
4006
4007 * gdb.threads/killed.exp: Return instead of calling
4008 gdb_suppress_entire_file.
4009 * gdb.threads/linux-dp.exp: Likewise.
4010 * gdb.threads/pthreads.exp: Likewise.
4011
4012 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4013
4014 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
4015 stabs.
4016 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
4017 * gdb.base/whatis.exp: Always allow (void) after function names.
4018
4019 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4020
4021 * gdb.c++/casts.exp: Correct regexp.
4022
4023 2003-01-04 Mark Kettenis <kettenis@gnu.org>
4024
4025 * configure.in: Call AC_CONFIG_HEADER. Don't call
4026 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
4027 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
4028 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
4029 aforementioned directories in the AC_OUPUT call.
4030 * config.hin: New file.
4031 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
4032 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
4033 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
4034 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
4035 pass -I$objdir instead of -I$objdir/$subdir in compilation.
4036 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
4037 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
4038 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
4039 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
4040 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
4041 gdb.threads/configure.in, gdb.threads/configure,
4042 gdb.threads/config.in, gdb.trace/configure.in,
4043 gdb.trace/configure: Removed.
4044
4045 2003-01-03 Michael Chastain <mec@shout.net>
4046
4047 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
4048 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
4049
4050 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
4051
4052 * gdb.base/store.exp: Fix regular expressions.
4053
4054 2002-12-28 Mark Kettenis <kettenis@gnu.org>
4055
4056 * configure.in: Rewrite.
4057 * configure: Regenerated.
4058
4059 2003-01-03 David Carlton <carlton@math.stanford.edu>
4060
4061 * gdb.base/psymtab.exp: New file.
4062 * gdb.base/psymtab1.c: Ditto.
4063 * gdb.base/psymtab2.c: Ditto.
4064
4065 2002-12-23 Adam Fedor <fedor@gnu.org>
4066
4067 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
4068
4069 2002-12-23 David Carlton <carlton@math.stanford.edu>
4070
4071 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
4072 and current_directory initialization.
4073
4074 2002-12-22 Jim Blandy <jimb@redhat.com>
4075
4076 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
4077 rather than as part of the output file name.
4078
4079 * gdb.base/attach.exp: There's no need to copy the test program to
4080 /tmp; that was only ever necessary on HP/UX, and this test is
4081 entirely disabled there anyway.
4082
4083 2002-12-21 Jim Blandy <jimb@redhat.com>
4084
4085 * gdb.c++/psmang.exp: Doc fix.
4086
4087 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
4088 test.
4089
4090 2002-12-20 David Carlton <carlton@math.stanford.edu>
4091
4092 * gdb.c++/annota2.exp: KFAIL annotate-quit.
4093
4094 2002-12-18 Michael Chastain <mec@shout.net>
4095
4096 * gdb.c++/annota2.exp: Add copyright year 2002.
4097
4098 2002-12-17 David Carlton <carlton@math.stanford.edu>
4099
4100 * gdb.c++/try_catch.cc: Add marker comments.
4101 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
4102 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
4103 * gdb.c++/m-static.cc: Ditto.
4104 * gdb.c++/m-static1.cc: Ditto.
4105 * gdb.c++/try_catch.cc: Ditto.
4106
4107 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
4108
4109 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
4110 to see whether we are using the new -environment-directory
4111 command which resets via -r or the old version of the command
4112 which may prompt the user. Part of fix for gdb/741.
4113
4114 2002-12-13 Andrew Cagney <ac131313@redhat.com>
4115
4116 * gdb.fortran/types.exp: Update obsolete comment.
4117 * gdb.fortran/exprs.exp: Ditto.
4118 * lib/gdb.exp: Delete obsolete code.
4119 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
4120 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
4121 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
4122 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
4123 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
4124 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
4125 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
4126 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
4127 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
4128 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
4129 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
4130 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
4131 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
4132 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
4133 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
4134 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
4135 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
4136 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
4137 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
4138 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
4139 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
4140 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
4141 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
4142 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
4143 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
4144 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
4145 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
4146 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
4147 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
4148 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
4149 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
4150 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
4151 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
4152 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
4153 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
4154 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
4155 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
4156
4157 2002-12-11 David Carlton <carlton@math.stanford.edu>
4158
4159 * gdb.c++/m-data.exp: Add test for members that shadow global
4160 variables: see PR gdb/804.
4161 * gdb.c++/m-data.cc: Ditto.
4162
4163 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
4164
4165 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
4166
4167 2002-12-06 David Carlton <carlton@math.stanford.edu>
4168
4169 * gdb.base/store.c: Don't declare functions static.
4170
4171 2002-12-04 Andrew Cagney <ac131313@redhat.com>
4172
4173 * gdb.base/store.exp, gdb.base/store.c: New files.
4174
4175 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
4176
4177 * gdb.base/selftest.exp: Update for current gdb.
4178
4179 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
4180
4181 * gdb.base/maint.exp: Only dump symbols from one source file
4182 or objfile.
4183
4184 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
4185
4186 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
4187 function call.
4188
4189 2002-11-25 Jim Blandy <jimb@redhat.com>
4190
4191 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
4192 function appearing in error message.
4193
4194 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
4195
4196 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
4197
4198 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
4199
4200 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
4201 for mi1 and current mi is in correct format. New mi startup message
4202 should be in mi console format. This is part of fix for PR gdb/604.
4203
4204 2002-09-18 Fernando Nasser <fnasser@redhat.com>
4205
4206 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
4207 which explicitly prints the zero offset as "+0".
4208
4209 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
4210
4211 * gdb.threads/schedlock.c (args): Make unsigned.
4212
4213 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
4214
4215 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
4216 numbers. Allow "foo2|selected stack frame".
4217 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
4218 * gdb.asm/asmsrc2.s: Likewise.
4219 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
4220 comments.
4221 * gdb.asm/mips.inc: New file.
4222
4223 2002-10-18 Adam Fedor <fedor@gnu.org>
4224
4225 * gdb.base/default.exp: Update expected output to include 'ObjC'.
4226 * gdb.base/help.exp: Likewise.
4227
4228 2002-10-17 Kevin Buettner <kevinb@redhat.com>
4229
4230 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
4231 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
4232
4233 2002-10-02 Jim Blandy <jimb@redhat.com>
4234
4235 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
4236
4237 2002-10-01 Andrew Cagney <ac131313@redhat.com>
4238
4239 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
4240 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
4241 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
4242 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
4243 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
4244 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
4245 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
4246
4247 2002-09-29 Andrew Cagney <ac131313@redhat.com>
4248
4249 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
4250 * mi0-disassemble.exp, mi0-eval.exp: Delete.
4251 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
4252 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
4253 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
4254 * mi0-var-block.exp, mi0-var-child.exp: Delete.
4255 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
4256
4257 2002-09-27 Kevin Buettner <kevinb@redhat.com>
4258
4259 * gdb.base/annota1.exp (info break): Make directory components of
4260 path optional since not all compilers emit this debug information.
4261
4262 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
4263 step ends up stepping out of the function instead of stopping on
4264 the epilogue.
4265
4266 2002-09-26 Keith Seitz <keiths@redhat.com>
4267
4268 * lib/insight-support.exp (gdbtk_start): Figure out where
4269 the insight executable is based on where gdb is. Use this
4270 executable to start insight instead of gdb.
4271
4272 2002-09-25 Andrew Cagney <cagney@redhat.com>
4273
4274 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
4275
4276 2002-09-24 Andrew Cagney <ac131313@redhat.com>
4277
4278 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
4279 test_isolated_complaints.
4280 (test_empty_complaint): New function.
4281 (test_empty_complaints): New function. Check no output when no
4282 complaints.
4283
4284 2002-09-19 Jim Blandy <jimb@redhat.com>
4285
4286 * gdb.base/charset.exp, gdb.base/charset.c: New files.
4287
4288 2002-09-19 Andrew Cagney <ac131313@redhat.com>
4289
4290 * gdb.gdb/complaints.exp: New file.
4291
4292 2002-09-18 Andrew Cagney <ac131313@redhat.com>
4293
4294 * gdb.base/maint.exp: Check `help maint internal-warning'.
4295
4296 2002-09-18 David Carlton <carlton@math.stanford.edu>
4297
4298 * gdb.c++/m-static.exp: Remove breakpoints depending on line
4299 numbers, and replace them by a single breakpoint after the
4300 constructors are all finished.
4301 Add test 4.
4302 * gdb.c++/m-static.cc: Add test 4.
4303 * gdb.c++/m-static.h: New file.
4304 * gdb.c++/m-static1.cc: New file.
4305
4306 * gdb.c++/printmethod.exp: New file.
4307 * gdb.c++/printmethod.cc: New file.
4308
4309 * gdb.c++/pr-574.exp: New file.
4310 * gdb.c++/pr-574.cc: New file.
4311
4312 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
4313
4314 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
4315 embedded targets which never actually exit.
4316
4317 2002-09-18 Fernando Nasser <fnasser@redhat.com>
4318
4319 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
4320 "don't step after run" as unresolved or unsupported, instead of xfail.
4321
4322 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
4323
4324 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
4325 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
4326 Add newline to expected string in "step out of main (status wrapper)"
4327 case.
4328
4329 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
4330
4331 * lib/gdb.exp (rerun_to_main): Allow restarting application.
4332 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
4333
4334 2002-09-17 Tom Tromey <tromey@redhat.com>
4335
4336 * gdb.base/printcmds.exp (test_print_string_constants): Expect
4337 \000, not \0, in double-quoted string.
4338
4339 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
4340
4341 * gdb.base/commands.exp: Don't expect a "Program exited normally"
4342 string after running the commands execution on breakpoint tests.
4343
4344 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
4345
4346 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
4347
4348 2002-09-12 Joel Brobecker <brobecker@gnat.com>
4349
4350 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
4351
4352 2002-09-10 Keith Seitz <keiths@redhat.com>
4353
4354 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
4355 runto proc.
4356 (mi_run_to_main): Use mi_runto.
4357 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
4358
4359 2002-09-10 Keith Seitz <keiths@redhat.com>
4360
4361 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
4362 regexp for stopping at main. Could have multiple event notifications.
4363 Don't assume that main was declared with no parameters.
4364 (mi_next): Use mi_step_to.
4365 (mi_step): Use mi_next_to.
4366
4367 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
4368
4369 * gdb.base/default.exp: Fix expected string in `info float' test.
4370
4371 2002-09-09 Ben Elliston <bje@redhat.com>
4372
4373 * config/mips.exp: Update comments.
4374 * config/mips-idt.exp: Likewise.
4375 * config/nind.exp: Likewise.
4376 * config/slite.exp: Likewise.
4377 * config/sparclet.exp: Likewise.
4378 * config/udi.exp: Likewise.
4379 * config/vx.exp: Likewise.
4380 * config/vxworks29k.exp: Likewise.
4381
4382 2002-09-05 Jim Blandy <jimb@redhat.com>
4383
4384 * gdb.threads/killed.exp: Fix test failure message.
4385
4386 2002-09-04 Keith Seitz <keiths@redhat.com>
4387
4388 * lib/mi-support.exp: Update copyright.
4389 (mi_gdb_test): Increase the priority of the expected pattern
4390 so that it matches gdb_test.
4391
4392 2002-09-03 Keith Seitz <keiths@redhat.com>
4393
4394 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
4395 Use integer comparison instead of string comparison for testing
4396 whether binary was built.
4397
4398 2002-09-03 Jim Blandy <jimb@redhat.com>
4399
4400 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
4401
4402 2002-08-29 Jim Blandy <jimb@redhat.com>
4403
4404 * gdb.threads/pthreads.exp: Move the portable thread compilation
4405 code into a function in lib/gdb.exp, and call that from here.
4406 * lib/gdb.exp (gdb_compile_pthreads): New function.
4407
4408 2002-08-29 Keith Seitz <keiths@redhat.com>
4409
4410 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
4411 expect_out so that callers can get at it.
4412
4413 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
4414
4415 * gdb.threads/print-threads.c: New file.
4416 * gdb.threads/print-threads.exp: New file.
4417 * gdb.threads/schedlock.c: New file.
4418 * gdb.threads/schedlock.exp: New file.
4419
4420 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
4421
4422 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4423 not altivec.c.
4424
4425 2002-08-17 Mark Kettenis <kettenis@gnu.org>
4426
4427 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4428 targets. The problem should be fixed now.
4429
4430 2002-08-15 Mark Kettenis <kettenis@gnu.org>
4431
4432 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4433 2002-07-24 change that removes final dots from error messages.
4434
4435 2002-08-13 Tom Tromey <tromey@redhat.com>
4436
4437 * gdb.base/readline.exp: New file.
4438
4439 2002-08-01 Andrew Cagney <ac131313@redhat.com>
4440
4441 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4442 supress message.
4443
4444 2002-08-01 Andrew Cagney <cagney@redhat.com>
4445
4446 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4447 CHILL_FOR_TARGET and CHILL_LIB.
4448 * configure.in (configdirs): Remove gdb.chill.
4449 * configure: Regenerate.
4450 * lib/gdb.exp: Obsolete references to chill.
4451 * gdb.fortran/types.exp: Ditto.
4452 * gdb.fortran/exprs.exp: Ditto.
4453
4454 2002-07-30 Kevin Buettner <kevinb@redhat.com>
4455
4456 * gdb.base/shlib-call.exp (additional_flags): Conditionally
4457 set Irix-specific compile and link flags.
4458
4459 2002-07-29 Kevin Buettner <kevinb@redhat.com>
4460
4461 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4462 source files. The ``-o'' option doesn't work with the ``-E'' option
4463 when using the Irix compiler.
4464
4465 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
4466
4467 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4468 Improve support for reusing an exec file. Copy exec file
4469 to target, and run gdbserver on the target instead of on the host.
4470
4471 2002-07-18 Jim Blandy <jimb@redhat.com>
4472
4473 * gdb.base/ending-run.exp: Don't expect to see the program end in
4474 some orderly fashion when we're running on a real stand-alone
4475 board.
4476
4477 * gdb.base/interrupt.exp: Correct logic for skipping tests on
4478 targets that don't support interrupts.
4479
4480 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
4481
4482 * gdb.base/attach.exp: Add patterns to match output from /proc-based
4483 systems.
4484 Move comments in expect statements to inside the actions, so that they
4485 don't get matched against.
4486
4487 2002-07-10 Mark Kettenis <kettenis@gnu.org>
4488
4489 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4490 function when asleep" test.
4491
4492 2002-07-10 Andrew Cagney <ac131313@redhat.com>
4493
4494 * gdb.base/page.exp: Rewrite to handle problems with very long
4495 `info set' output. Update copyright.
4496
4497 2002-06-26 Andrew Cagney <ac131313@redhat.com>
4498
4499 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4500 gdb.threads-hp.
4501 * gdb.hp/configure: Regenerate.
4502 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4503 * gdb.hp/gdb.threads-hp/configure: Delete file.
4504 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4505
4506 2002-06-22 Andrew Cagney <ac131313@redhat.com>
4507
4508 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4509 setlocale, bindtextdomain and textdomain.
4510
4511 2002-06-11 Jim Blandy <jimb@redhat.com>
4512
4513 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4514 preprocessor macro information is present.
4515
4516 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4517 tests.
4518
4519 2002-06-06 Michael Snyder <msnyder@redhat.com>
4520
4521 * gdb.base/overlays.exp: Record addresses of overlay
4522 functions in TCL variables rather than in GDB variables,
4523 to avoid having GDB convert them to pointers (with loss
4524 of information).
4525
4526 * gdb.base/d10v.ld: Merge in several years worth of
4527 default linker script changes.
4528 * gdb.base/long_long.exp: Add check for sizeof (long double).
4529
4530 2002-06-06 Michal Ludvig <mludvig@suse.cz>
4531
4532 * gdb.asm/asm-source.exp: Add x86-64 target.
4533 * gdb.asm/x86_64.inc: New.
4534
4535 2002-05-30 Michael Chastain <mec@shout.net>
4536
4537 From Benjamin Kosnik <bkoz@redhat.com>:
4538 * gdb.c++/m-static.cc: New file.
4539 * gdb.c++/m-static.exp: New file.
4540
4541 2002-05-28 Michael Snyder <msnyder@redhat.com>
4542
4543 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4544 precision.
4545
4546 2002-05-27 Michael Chastain <mec@shout.net>
4547
4548 From Benjamin Kosnik <bkoz@redhat.com>:
4549 * gdb.c++/m-data.cc: New file.
4550 * gdb.c++/m-data.exp: New file.
4551
4552 2002-05-27 Michael Chastain <mec@shout.net>
4553
4554 From Benjamin Kosnik <bkoz@redhat.com>:
4555 * gdb.c++/try_catch.cc: New file.
4556 * gdb.c++/try_catch.exp: New file.
4557
4558 2002-05-27 Michael Chastain <mec@shout.net>
4559
4560 * gdb.c++/local.exp: Accept more nested types in output.
4561
4562 2002-05-26 Michael Chastain <mec@shout.net>
4563
4564 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4565
4566 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4567
4568 * lib/gdb.exp (gdb_wrapper_init): Just because
4569 gdb_wrapper_file exists, this does not mean that the file
4570 should not be rebuilt. That is what gdb_wrapper_initialized
4571 is for.
4572 (default_gdb_init): Reset gdb_wrapper_initialized.
4573
4574 2002-05-23 Michael Snyder <msnyder@redhat.com>
4575
4576 * gdb.base/all-bin.exp: Revise previous patch by just reducing
4577 the precision of the floating point test results.
4578 * gdb.base/call-rt-st.exp: Ditto.
4579
4580 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4581 * gdb.base/call-rt-st.exp: Ditto.
4582
4583 2002-05-19 Michael Chastain <mec@shout.net>
4584
4585 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4586
4587 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
4588
4589 * configure.in (configdirs): Add gdb.arch.
4590 * configure: Regenerate.
4591
4592 2002-05-17 Jim Blandy <jimb@redhat.com>
4593
4594 * gdb.base/completion.exp: Recognize the more detailed error
4595 messages produced by the macro expander's lexical analyzer.
4596
4597 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
4598
4599 * gdb.arch/altivec-abi.c: New file.
4600 * gdb.arch/altivec-abi.exp: New file.
4601 * gdb.arch/altivec-regs.c: New file.
4602 * gdb.arch/altivec-regs.exp: New file.
4603
4604 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
4605
4606 * gdb.base/maint.exp (maint print type): Update for new type
4607 structure.
4608
4609 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
4610
4611 * gdb.arch: New directory.
4612 * gdb.arch/configure.in: New file.
4613 * gdb.arch/configure: New file.
4614 * gdb.arch/Makefile.in: New file.
4615
4616 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
4617
4618 * gdb.asm/asm-source.exp: Add v850 as supported target.
4619 * gdb.asm/v850.inc: New file.
4620
4621 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
4622
4623 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4624
4625 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
4626
4627 * gdb.base/break.exp: Check 'break "marker2"'.
4628
4629 2002-05-10 Michael Snyder <msnyder@redhat.com>
4630
4631 * gdb.base/long_long.exp: Fix typo.
4632
4633 2002-05-10 Jim Blandy <jimb@redhat.com>
4634
4635 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4636 a bug.
4637
4638 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4639 Recognize more detailed error message produced by the macro
4640 expander's lexical analyzer.
4641 * lib/gdb.exp (test_print_reject): Same.
4642
4643 2002-05-09 Mark Kettenis <kettenis@gnu.org>
4644
4645 * gdb.c++/method.exp: Fix typo.
4646
4647 2002-05-08 Michael Snyder <msnyder@redhat.com>
4648
4649 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4650 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
4651 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
4652 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4653 Add iftarget clause for strongarm.
4654
4655 2002-05-06 Michael Snyder <msnyder@redhat.com>
4656
4657 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4658 (gdb_continue_to_end): Accept output from status wrapper.
4659 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4660 Clean up fail messages to match pass messages.
4661
4662 Enable the "needs_status_wrapper" testsuite feature.
4663 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4664 (gdb_compile): Conditionally call gdb_wrapper_init.
4665 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4666 * gdb.c++/method.exp: Recognize output from status wrapper.
4667
4668 2002-05-06 Ben Elliston <bje@redhat.com>
4669 From Graydon Hoare <graydon@redhat.com>
4670
4671 * config/sid.exp: Include support for "rawsid" protocol.
4672
4673 2002-05-03 Jim Blandy <jimb@redhat.com>
4674
4675 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4676 * gdb.c++/hang3.C: New file.
4677
4678 2002-05-04 Andrew Cagney <ac131313@redhat.com>
4679
4680 * gdb.base/default.exp: Remove obsolete code.
4681 * gdb.c++/misc.exp: Ditto. Update copyright.
4682 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4683 * gdb.base/whatis.exp: Ditto. Update copyright.
4684 * gdb.base/scope.exp: Ditto. Update copyright.
4685 * gdb.base/ptype.exp: Ditto. Update copyright.
4686 * gdb.base/printcmds.exp: Ditto. Update copyright.
4687 * gdb.base/opaque.exp: Ditto. Update copyright.
4688 * gdb.base/list.exp: Ditto.
4689 * gdb.base/funcargs.exp: Ditto. Update copyright.
4690 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4691 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4692 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4693 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4694 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4695 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4696
4697 2002-05-02 Michael Snyder <msnyder@redhat.com>
4698
4699 * gdb.base/watchpoint.exp: Add xscale target.
4700 * gdb.base/long_long.exp: Add xscale target.
4701 * gdb.base/default.exp: Add xscale target.
4702
4703 2002-05-01 Jim Blandy <jimb@redhat.com>
4704
4705 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4706 gdb.c++/hang.exp: New test.
4707
4708 2002-05-01 Fred Fish <fnf@redhat.com>
4709
4710 * gdb.base/completion.exp: Handle completions of "./Make" for
4711 more than one completion possibility, as is the case when we
4712 build and test in the source tree.
4713
4714 2002-04-29 Anthony Green <green@redhat.com>
4715
4716 * gdb.java/jmisc1.exp: New file.
4717 * gdb.java/jmisc2.exp: New file.
4718
4719 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
4720
4721 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4722
4723 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
4724
4725 * gdb.base/help.exp: Change 'help status' to allow for target
4726 dependent output differences.
4727
4728 2002-04-22 Michael Chastain <mec@shout.net>
4729
4730 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4731
4732 2002-04-22 Michael Chastain <mec@shout.net>
4733
4734 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4735
4736 2002-04-17 David S. Miller <davem@redhat.com>
4737
4738 * gdb.asm/sparc64.inc: New file.
4739 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4740
4741 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
4742
4743 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4744 instruction file directly into the build tree. Clean up at end of
4745 test.
4746
4747 2002-04-18 David S. Miller <davem@redhat.com>
4748
4749 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4750 handle 64-bit platforms correctly.
4751 * gdb.base/maint.exp: Likewise.
4752
4753 2002-04-18 Kevin Buettner <kevinb@redhat.com>
4754
4755 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4756 ``-fpic'' when compiling files comprising a shared library, but
4757 it does need additional linker flags in order to find shared
4758 libraries at run time.
4759
4760 2002-04-18 Kevin Buettner <kevinb@redhat.com>
4761
4762 * gdb.base/cvexpr.c (use): New function.
4763 (main): Invoke use() on all global variables to prevent
4764 some linkers from deleting these otherwise unused symbols.
4765
4766 2002-04-17 Michael Chastain <mec@shout.net>
4767 From David S. Miller <davem@redhat.com>
4768
4769 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4770 handle 64-bit platforms correctly.
4771
4772 2002-04-12 Michael Snyder <msnyder@redhat.com>
4773 From Jim Blandy <jimb@redhat.com>
4774 * gdb.base/foo.c (foox): Remove section attribute; the linker
4775 script can handle this instead.
4776 * gdb.base/bar.c (barx): Same.
4777 * gdb.base/baz.c (bazx): Same.
4778 * gdb.base/grbx.c (grbxx): Same.
4779
4780 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4781 manager doesn't automatically unmap overlays unnecessarily.
4782
4783 2002-04-10 Martin M. Hunt <hunt@redhat.com>
4784
4785 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4786 stepping out of main.
4787
4788 2002-04-09 Michael Chastain <mec@shout.net>
4789
4790 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4791 scope so that the nested scope tests will make sense.
4792 * gdb.c++/local.exp: Write patterns that actually work with gcc
4793 (the HP patterns "were never known to work with gcc").
4794 Keep the old aCC patterns too.
4795
4796 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
4797
4798 * gdb.base/attach.exp: Correct target board test.
4799
4800 2002-04-08 Michael Chastain <mec@shout.net>
4801
4802 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4803 in a const method. Add some xfail and fail cases for configurations
4804 that do not emit the "const ...".
4805
4806 2002-04-07 Michael Chastain <mec@shout.net>
4807
4808 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4809 Accept "A * const" and "const A * const" as type of "this".
4810 Fix spelling of getFunky throughout. Make messages uniform.
4811
4812 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
4813
4814 Work around for PR gdb/285:
4815 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4816
4817 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
4818
4819 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4820 instructions file at run time instead of configure time.
4821 Sometimes we run the test in a directory that is not the one we
4822 configured in.
4823 * gdb.asm/configure.in: Delete creation of symlink.
4824 * gdb.asm/configure: Regenerate.
4825
4826 2002-04-05 J. Brobecker <brobecker@gnat.com>
4827
4828 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4829 xfullpath () function.
4830
4831 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
4832
4833 * gdb.asm/Makefile.in: Correct dependencies.
4834
4835 * gdb.asm/powerpc.inc: New file.
4836 * gdb.asm/asm-source.exp: Add PowerPC.
4837 * gdb.asm/configure.in: Likewise.
4838 * gdb.asm/configure: Regenerated.
4839
4840 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
4841
4842 * gdb.base/relocate.exp: New file.
4843 * gdb.base/relocate.c: New file.
4844
4845 2002-04-04 Fred Fish <fnf@redhat.com>
4846
4847 * gdb.base/step-test.exp: Update comment regarding stopping in
4848 memcpy/bcopy calls inserted as part of the compiler runtime.
4849
4850 2002-04-04 Michael Snyder <msnyder@redhat.com>
4851
4852 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4853
4854 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
4855
4856 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4857 (gdb_expect): Remove $notransfer hack.
4858
4859 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
4860
4861 * gdb.c++/classes.exp ("calling method for small class"): Match
4862 updated register output.
4863
4864 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
4865
4866 Fix PR gdb/452
4867 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4868 when finished. Make gdb_file_cmd send "exec-file" when
4869 appropriate.
4870
4871 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
4872
4873 * gdb.base/attach.exp: Remove extra setup_xfail.
4874
4875 2002-03-26 Michael Snyder <msnyder@redhat.com>
4876
4877 * gdb.base/default.exp: Add tests for dump, append, and restore.
4878 * gdb.base/help.exp: Add tests for dump, append, and restore.
4879 * gdb.base/dump.exp: New file, test dump, append and restore.
4880 * gdb.base/dump.c: New file.
4881
4882 2002-03-27 Michael Snyder <msnyder@redhat.com>
4883
4884 * gdb.base/help.exp: Modify expect strings to reflect
4885 clean-ups in help messages.
4886
4887 2002-03-26 Fred Fish <fnf@redhat.com>
4888
4889 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4890 have debugging info for those functions and the compiler uses them
4891 internally to copy structs around.
4892
4893 2002-03-26 Fred Fish <fnf@redhat.com>
4894
4895 * gdb.base/list.exp: Revert the change made yesterday and add note
4896 about why we don't list the default lines for remote targets.
4897
4898 2002-03-25 Michael Snyder <msnyder@redhat.com>
4899
4900 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4901
4902 2002-03-25 Fred Fish <fnf@redhat.com>
4903
4904 * gdb.base/list.exp: This test works on remote targets so remove
4905 the short circuit for remote targets. Update copyright.
4906
4907 2002-03-25 Fred Fish <fnf@redhat.com>
4908
4909 * gdb.base/attach.exp: Fix logic error that was suppressing this
4910 test for all non hppa*-*-hpux* targets, instead of the hp target.
4911 Move comments closer to the suppression point. Also now need to
4912 check that we are running natively.
4913
4914 2002-03-22 Michael Snyder <msnyder@redhat.com>
4915
4916 * gdb.base/default.exp: Add test for gcore. Update copyright.
4917 * gdb.base/help.exp: Add test for gcore. Update copyright.
4918
4919 2002-03-06 Fred Fish <fnf@redhat.com>
4920
4921 * gdb.base/funcargs.c: Remove extraneous ';' character.
4922 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4923
4924 2002-03-04 Michael Chastain <mec@shout.net>
4925
4926 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4927 accommodate gcc v3 function signature.
4928 * gdb.mi/mi0-var-cmd-exp: Ditto.
4929
4930 2002-02-24 Andrew Cagney <ac131313@redhat.com>
4931
4932 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4933 ``GNU/Linux'' or ``Linux kernel''
4934 * testsuite/gdb.threads/pthreads.c: Ditto.
4935
4936 2002-02-24 Michael Chastain <mec@shout.net>
4937
4938 * gdb.threads/pthreads.c (thread1): Add a return statement.
4939 (thread2): Likewise.
4940 (foo): Likewise.
4941
4942 2002-02-23 Michael Chastain <mec@shout.net>
4943
4944 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4945 to placate gcc.
4946
4947 2002-02-23 Michael Chastain <mec@shout.net>
4948
4949 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4950 test "ptype bint". The test passes on all my stabs configurations.
4951
4952 2002-02-21 Jim Blandy <jimb@redhat.com>
4953
4954 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4955 filename at a time, and watch for the ones we want to see.
4956
4957 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4958 types of pointers to prototyped functions.
4959
4960 2002-02-20 Andrew Cagney <ac131313@redhat.com>
4961
4962 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4963 signed, unsigned and straight char.
4964 (padding_char, padding_short, padding_int, padding_long,
4965 padding_long_long, padding_float, padding_double,
4966 padding_long_double): New global variables.
4967 (fill, fill_structs): New functions.
4968
4969 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4970 for correctly sized writes. Update copyright.
4971 (get_valueof): New procedure.
4972 (get_sizeof): Call get_valueof.
4973 (check_valueof): New procedure.
4974 (check_padding): New procedure.
4975
4976 2002-02-20 Michael Chastain <mec@shout.net>
4977
4978 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4979 to setup_xfail. Document some of the remaining calls.
4980
4981 2002-02-18 Michael Chastain <mec@shout.net>
4982
4983 * gdb.c++/userdef.exp: Update copyright year.
4984
4985 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
4986
4987 * gdb.c++/userdef.exp: Test overloaded operators properly.
4988 Remove xfails.
4989
4990 2002-02-14 Michael Snyder <msnyder@redhat.com>
4991
4992 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4993
4994 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
4995
4996 * gdb.base/a2-run.exp: Check for a remote target properly.
4997 * gdb.base/annota1.exp: Likewise.
4998 * gdb.base/list.exp: Likewise.
4999 * gdb.base/reread.exp: Likewise.
5000 * gdb.base/scope.exp: Likewise.
5001 * gdb.base/shlib-call.exp: Likewise.
5002 * gdb.base/term.exp: Likewise.
5003 * gdb.c++/annota2.exp: Likewise.
5004
5005 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
5006
5007 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
5008
5009 2002-02-10 Michael Chastain <mec@shout.net>
5010
5011 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
5012 (call_after_alloca): Ditto.
5013
5014 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
5015
5016 * gdb.base/ending-run.exp: Guard "cont" test with
5017 gdb_skip_stdio_test.
5018
5019 2002-02-06 Jim Blandy <jimb@redhat.com>
5020
5021 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
5022 from here...
5023 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
5024 To here. Disable this test on non-HP platforms. Add big comment.
5025
5026 2002-02-04 Michael Snyder <msnyder@redhat.com>
5027
5028 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
5029 other than d10v and m32r.
5030
5031 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
5032
5033 * gdb.base/default.exp: Rewrite test patterns to reduce time
5034 taken to match them.
5035
5036 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
5037
5038 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
5039 Allow a start function above main.
5040 * gdb.threads/linux-dp.exp: Fix copyright date.
5041
5042 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
5043
5044 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
5045 (check_philosopher_stack): Check for manager thread before checking
5046 for a just-starting thread.
5047
5048 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
5049
5050 From Neil Booth <neil@daikokuya.demon.co.uk>:
5051 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
5052 warnings.
5053
5054 2002-01-21 Fred Fish <fnf@redhat.com>
5055
5056 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
5057 not caller.
5058
5059 2002-01-21 Jim Blandy <jimb@redhat.com>
5060
5061 * gdb.base/reread.exp: Check that GDB properly re-reads the
5062 executable file when it changes while no inferior is running.
5063
5064 2002-01-21 Fred Fish <fnf@redhat.com>
5065
5066 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
5067 optionally accept the "shlib events" variation.
5068
5069 2002-01-21 Jim Blandy <jimb@redhat.com>
5070
5071 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
5072 call `fflush' after every `printf', so that the output is produced
5073 at predictable points, regardless of whatever buffering does (or
5074 doesn't) take place.
5075 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
5076 at different points.
5077
5078 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
5079
5080 * gdb.c++/inherit.exp: Update copyright years.
5081 * gdb.c++/method.exp: Likewise.
5082
5083 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
5084
5085 * gdb.c++/classes.exp: Update for improved v3 support and skipping
5086 artificial methods/arguments.
5087 * gdb.c++/derivation.exp: Likewise.
5088 * gdb.c++/inherit.exp: Likewise.
5089 * gdb.c++/method.exp: Likewise.
5090 * gdb.c++/virtfunc.exp: Likewise.
5091
5092 2002-01-18 Andrew Cagney <ac131313@redhat.com>
5093
5094 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
5095 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
5096 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
5097 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
5098 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
5099 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
5100
5101 2002-01-17 Jim Blandy <jimb@redhat.com>
5102
5103 * gdb.asm/asm-source.exp (info symbol): Take another shot at
5104 anchoring the pattern matching the entry point symbol's name.
5105
5106 2002-01-17 Andrew Cagney <ac131313@redhat.com>
5107
5108 * gdb.base/maint.exp: Update ``maint internal-error'' to match
5109 continue/quit query. Update copyright.
5110
5111 2002-01-14 Michael Snyder <msnyder@redhat.com>
5112
5113 * gdb.base/gcore.exp: Remove extra debugging output.
5114
5115 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
5116
5117 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
5118 for slightly dubious v2 mangled string.
5119
5120 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
5121
5122 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
5123
5124 2002-01-10 Jason Merrill <jason@redhat.com>
5125
5126 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
5127
5128 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
5129 constructors.
5130 * gdb.c++/derivation.exp: Likewise.
5131 * gdb.c++/templates.exp: Likewise.
5132 * gdb.c++/virtfunc.exp: Likewise.
5133
5134 2002-01-10 Michael Snyder <msnyder@redhat.com>
5135
5136 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
5137
5138 2002-01-08 Michael Snyder <msnyder@redhat.com>
5139
5140 * gdb.base/gcore.exp: New test for generate-core-file command.
5141 * gdb.base/gcore.c: Testcase for above.
5142 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
5143
5144 2002-01-08 Jason Merrill <jason@redhat.com>
5145
5146 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
5147
5148 2002-01-07 Fred Fish <fnf@redhat.com>
5149
5150 * gdb.c++/overload.exp: Remove unconditional xfails for:
5151 print foo_instance1.overloadargs(1)
5152 print foo_instance1.overloadargs(1, 2)
5153 print foo_instance1.overloadargs(1, 2, 3)
5154 print foo_instance1.overloadargs(1, 2, 3, 4)
5155 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
5156 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
5157 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
5158 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
5159 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
5160 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
5161 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
5162 print foo_instance1.overload1arg()
5163 print foo_instance1.overload1arg((char)arg2)
5164 print foo_instance1.overload1arg((signed char)arg3)
5165 print foo_instance1.overload1arg((unsigned char)arg4)
5166 print foo_instance1.overload1arg((int)arg7)
5167 print foo_instance1.overload1arg((unsigned int)arg8)
5168 print foo_instance1.overload1arg((float)arg11)
5169 print foo_instance1.overload1arg((double)arg12)
5170
5171 2002-01-07 Michael Snyder <msnyder@redhat.com>
5172
5173 * gdb.base/huge.exp: New test. Print a very large target data object.
5174 (skip_huge_test): New test variable. Define if you want to skip this
5175 test. The test reads an 8 megabyte data object from the target, so it
5176 might be very time consuming on remote targets with a slow connection.
5177 * gdb.base/huge.c: New file. Test case for above.
5178
5179 2002-01-07 Fred Fish <fnf@redhat.com>
5180
5181 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
5182 g_instance.bfoo, and g_instance.cfoo.
5183
5184 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
5185
5186 * gdb.base/break.c (multi_line_if_conditional): New function.
5187 (multi_ilne_while_conditional): Likewise.
5188 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
5189 IF or WHILE condition puts the breakpoint at the start of
5190 the condition.
5191
5192 * gdb.base/selftest.exp (backtrace through signal handler): Remove
5193 hppa*-*-hpux* expected failure.
5194 * gdb.base/structs.exp (do_function_calls): Similarly.
5195
5196 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
5197 watchpoints.
5198
5199 2002-01-06 Andrew Cagney <ac131313@redhat.com>
5200
5201 Fix PR gdb/66.
5202 * gdb.base/structs.exp: Replace skip for a29k with skip for
5203 gdb,cannot_call_functions.
5204 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
5205 * gdb.base/callfuncs.exp: Ditto.
5206 * gdb.base/call-rt-st.exp: Ditto.
5207 * gdb.base/call-strs.exp: Ditto.
5208 * gdb.base/callfwmall.exp: Ditto.
5209 * gdb.base/scope.exp: Obsolete xfail a29k.
5210 * gdb.c++/misc.exp: Ditto.
5211 * gdb.c++/cplusfuncs.exp: Ditto.
5212 * gdb.base/ptype.exp: Ditto.
5213 * gdb.base/printcmds.exp: Ditto.
5214 * gdb.base/opaque.exp: Ditto.
5215 * gdb.base/list.exp: Ditto.
5216 * gdb.base/funcargs.exp: Ditto.
5217 * gdb.base/default.exp: Ditto.
5218
5219 2002-01-04 Michael Snyder <msnyder@redhat.com>
5220
5221 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
5222 * gdb.base/maint.exp: Add tests for maint info sections options.
5223
5224 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
5225
5226 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
5227
5228 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
5229
5230 * gdb.asm/arm.inc: New file.
5231 * gdb.asm/asm-source.exp: Add arm targets.
5232 * gdb.asm/configure.in: Ditto.
5233 * gdb.asm/configure: Recreated from configure.in.
5234
5235 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
5236
5237 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
5238 with HP's compiler.
5239 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
5240 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
5241 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
5242 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
5243
5244 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
5245 either HP's compilers or GCC.
5246
5247 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
5248 a SIGBUS or SIGSEGV.
5249
5250 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
5251
5252 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
5253 can be compiled with either HP's compiler or GCC.
5254
5255 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
5256 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
5257 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
5258
5259 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
5260 to match current gdb output. Update due to using auto-solib-limit
5261 for limiting instead of overloading auto-solib-add.
5262 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
5263 test program.
5264
5265 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
5266 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
5267 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5268 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5269 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5270 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5271 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
5272 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
5273 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
5274 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
5275 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
5276 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
5277 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
5278
5279 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
5280 a SIGTRAP to the inferior.
5281
5282 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
5283
5284 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
5285 Substitute call to target_link by call to gdb_compile.
5286
5287 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
5288
5289 * gdb.base/break.exp: Fix HP specific search string when testing
5290 backtracing in a called function.
5291
5292 * gdb.base/constvars.exp: Only set lang to C++ if we're
5293 compiling the test with HP's compilers.
5294 * gdb.base/volatile.exp: Similarly.
5295
5296 2001-12-19 Jim Blandy <jimb@redhat.com>
5297
5298 * gdb.base/printcmds.exp: Expect the null character to be printed
5299 as '\0', and the '\013' to be printed as '\v'.
5300 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
5301 * gdb.base/setvar.exp: Same.
5302
5303 2001-12-17 Jim Blandy <jimb@redhat.com>
5304
5305 * gdb.base/completion.exp: Rather than completing very long
5306 filenames, which can make the readline library produce output we
5307 don't recognize, cd to the directory first, and then complete
5308 using nice, short relative paths.
5309
5310 * gdb.base/completion.exp: On some systems, there is, in fact, a
5311 variable named `b' in scope, since GDB treats all static
5312 variables as being in scope. So use `no_var_named_this'
5313 instead of `b'.
5314
5315 * gdb.base/corefile.exp: Recognize the message saying that GDB
5316 can't find the core file's registers as a failure.
5317
5318 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
5319
5320 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
5321 test expect string more specific.
5322
5323 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
5324
5325 * gdb.asm/asm-source.exp: Add support for xstormy16.
5326 * gdb.asm/configure.in: Ditto.
5327 * gdb.asm/configure: Rebuild.
5328 * gdb.asm/xstormy16.inc: New file.
5329
5330 2001-12-10 Fred Fish <fnf@redhat.com>
5331
5332 * gdb.base/maint.exp: Update to match changes in type dumping code.
5333
5334 2001-12-10 Jim Blandy <jimb@redhat.com>
5335
5336 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
5337 matching the entry point symbol's name at the beginning of the
5338 line.
5339
5340 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
5341
5342 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
5343 gdb.c++/inherit.exp, gdb.c++/method.exp,
5344 gdb.c++/namespace.exp, gdb.c++/templates.exp,
5345 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
5346 and class layout support.
5347
5348 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
5349
5350 * gdb.c++/classes.exp: Add test for static member function.
5351 * gdb.c++/misc.cc: Add class with static member function.
5352
5353 2001-12-07 Jim Blandy <jimb@redhat.com>
5354
5355 If GDB says it can't find the struct the function returned, report
5356 those tests as `unsupported'.
5357 * gdb.base/call-rt-st.exp (print_struct_call): New function.
5358 Rewrite subsequent tests to use it.
5359
5360 If GDB says it can't find the struct the function returned, report
5361 those tests as `unsupported'.
5362 * gdb.base/structs.exp (call_struct_func): New function.
5363 (do_function_calls): Use call_struct_func to call the functions
5364 returning structs.
5365
5366 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
5367 whether functions are prototyped or not, so we can't possibly pass
5368 arguments to t_float_values2 properly.
5369
5370 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
5371 value of `timeout' for targets other than the mips*tx39-*.
5372
5373 2001-12-06 Michael Snyder <msnyder@redhat.com>
5374
5375 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
5376 and detect whether the start symbol has a leading underscore.
5377
5378 2001-12-04 Jim Blandy <jimb@redhat.com>
5379
5380 * gdb.base/completion.exp: Clarify indentation.
5381
5382 2001-12-03 Jim Blandy <jimb@redhat.com>
5383
5384 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
5385 variables on the S/390, not `.word'.
5386
5387 2001-11-30 Jim Blandy <jimb@redhat.com>
5388
5389 Add assembly-source tests for s390-ibm-linux.
5390 * gdb.asm/s390.inc: New file.
5391 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
5392 the S/390 architecture.
5393 * gdb.asm/configure: Regenerated.
5394
5395 2001-11-30 Michael Snyder <msnyder@redhat.com>
5396
5397 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
5398 next, info source, info sources, info line, global and static
5399 variables, and static functions.
5400 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
5401 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
5402 * gdb.asm/asmsrc1.s: Add a static function and some variables.
5403 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
5404 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
5405 (gdbasm_leave): Restore frame pointer.
5406 (gdbasm_startup): Copy stack set-up from crt0.S.
5407
5408 2001-11-26 Fernando Nasser <fnasser@redhat.com>
5409
5410 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
5411 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
5412 to a local (non-static) variable. Copy tstruct.a to a static buffer
5413 and return a pointer to that buffer.
5414 * gdb.base/callfwmall.c (t_structs_a): Ditto.
5415
5416 2001-11-24 Mark Kettenis <kettenis@gnu.org>
5417
5418 * gdb.asm/configure.in: Fix recognition of ix86 target.
5419 * gdb.asm/configure: Regenerate.
5420
5421 2001-11-21 Michael Snyder <msnyder@redhat.com>
5422
5423 * gdb.asm/sparc.inc: New file.
5424 * gdb.asm/asm-source.exp: Recognize sparc target.
5425 * gdb.asm/configure.in: Recognize sparc target.
5426 * gdb.asm/configure: Regenerate.
5427
5428 2001-11-21 Michael Snyder <msnyder@redhat.com>
5429
5430 * gdb.asm/m32r.inc: New file.
5431 * gdb.asm/asm-source.exp: Recognize m32r target.
5432 * gdb.asm/configure.in: Recognize m32r target.
5433 * gdb.asm/configure: Regenerate.
5434
5435 2001-11-20 Michael Snyder <msnyder@redhat.com>
5436
5437 * gdb.asm/i386.inc: New file.
5438 * gdb.asm/asm-source.exp: Recognize ix86 target.
5439 * gdb.asm/configure.in: Recognize ix86 target.
5440 * gdb.asm/configure: Regenerate.
5441
5442 * gdb.c++/namespace.exp: Fix quotes in output messages.
5443
5444 2001-11-14 Michael Snyder <msnyder@redhat.com>
5445
5446 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
5447 qualifier in a type cast expression, to designate an address
5448 in the instruction space (Harvard architecture).
5449
5450 2001-11-13 Michael Snyder <msnyder@redhat.com>
5451
5452 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5453 Tests for expressions using 'const' and 'volatile'.
5454
5455 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
5456
5457 * gdb.asm/asm-sources.exp: Allow defining linker flags.
5458
5459 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
5460
5461 * lib/mi-support.exp (mi_run_to_helper): Move comments
5462 outside of gdb_expect.
5463
5464 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
5465
5466 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5467 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5468 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5469 mi0_run_to): New functions.
5470 * gdb.mi/mi-simplerun.exp: Use them.
5471 * gdb.mi/mi0-simplerun.exp: Likewise.
5472 * gdb.mi/mi-var-cmd.exp: Likewise.
5473 * gdb.mi/mi0-var-cmd.exp: Likewise.
5474
5475 2001-11-10 Andrew Cagney <ac131313@redhat.com>
5476
5477 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5478 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5479
5480 2001-11-09 Andrew Cagney <ac131313@redhat.com>
5481
5482 * gdb.base/restore.exp: Include $expected value in restored test
5483 message.
5484
5485 2001-11-09 Andrew Cagney <ac131313@redhat.com>
5486
5487 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5488 implemented.
5489
5490 2001-11-08 Michael Snyder <msnyder@redhat.com>
5491
5492 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5493 Add pass/fail message for stop at breakpoint in call dummy function.
5494
5495 2001-11-07 Michael Snyder <msnyder@redhat.com>
5496
5497 * gdb.c++/templates.exp (test_template_breakpoints):
5498 If we get an overload menu, but it does not match what
5499 we expect, we still need to issue the "cancel" command.
5500 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5501 making the whitespace optional. Argument for "new" may be
5502 "unsigned" as well as "unsigned int/long".
5503 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
5504 making the whitespace optional. Also replace "(void) with
5505 "((void|)), making the keyword "void" optional.
5506 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
5507 making the whitespace optional. Also replace "(void) with
5508 "((void|)), making the keyword "void" optional.
5509 * gdb.base/callfuncs.c (t_float_values): This function must
5510 _not_ be prototyped, and the following function (t_float_values2)
5511 must be prototyped (if the compiler supports it), so that GDB
5512 can be tested against both cases. Usually one case involves
5513 promotion of float to double, while the other does not.
5514 * gdb.base/callfwmall.c: Ditto.
5515 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5516 includes a stack frame for "start".
5517
5518 2001-11-05 Jim Blandy <jimb@redhat.com>
5519
5520 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
5521 pointers are 32 bits long, and that offsets of relocs are always
5522 stored in the data (REL-style), and not in the reloc entry itself
5523 (RELA-style).
5524 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5525 stabs.
5526
5527 2001-11-01 Michael Snyder <msnyder@redhat.com>
5528
5529 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5530 and regular expression operators by using quoting.
5531
5532 2001-10-31 Michael Snyder <msnyder@redhat.com>
5533
5534 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5535 depending on what the symbol table contains.
5536 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5537 the output of the ptype command. Similarly, accept both "const &"
5538 and "const&".
5539
5540 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
5541
5542 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5543 symbol `STORAGE' to allow to choose the storage class of
5544 the local datastructures.
5545 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5546 compiler directive.
5547
5548 2001-10-30 Michael Snyder <msnyder@redhat.com>
5549
5550 * gdb.base/jump.exp: Allow it to run for all targets.
5551
5552 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
5553
5554 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5555 with new double_array size.
5556 (main): Change storage class of all local variables to static.
5557 Reduce size of double_array to 9.
5558 * gdb.base/call-ar-st.exp: Increase timeout value.
5559 Change expected output for double array to match new size in
5560 call-ar-st.c.
5561
5562 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
5563
5564 * gdb.base/ending-run.exp: Create identical output when passing
5565 `step to end of run' case. Add regular expression branch satisfying
5566 Stormy16 target.
5567
5568 2001-10-28 Mark Kettenis <kettenis@gnu.org>
5569
5570 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5571 that we catch the expected failure under Linux/x86.
5572
5573 2001-10-29 Orjan Friberg <orjanf@axis.com>
5574
5575 * gdb.base/setvar.exp: Escape curly braces.
5576 * gdb.stabs/weird.exp: Ditto.
5577
5578 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
5579
5580 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5581 * gdm.mi/mi0-hack-cli.exp: Likewise.
5582
5583 2001-10-25 Andrew Cagney <ac131313@redhat.com>
5584
5585 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5586 messages.
5587
5588 2001-10-21 Andrew Cagney <ac131313@redhat.com>
5589
5590 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5591 checking MI enabled.
5592
5593 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
5594
5595 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5596
5597 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
5598
5599 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5600 if gdb child process crashes, just signal an error.
5601
5602 2001-10-02 Jim Blandy <jimb@redhat.com>
5603
5604 * lib/gdb.exp (test_xfail_format): Simplify.
5605
5606 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5607 front of the variable name `format'. Simplify `if'.
5608
5609 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
5610
5611 * gdb.threads/pthreads.exp: Wait for output and delay
5612 before sending ^C.
5613
5614 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
5615
5616 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5617 some incorrect output instead of timing out.
5618 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5619
5620 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
5621
5622 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5623 check to allow additional `int'.
5624
5625 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
5626
5627 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5628 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5629
5630 2001-09-27 Michael Snyder <msnyder@redhat.com>
5631
5632 * lib/gdb.exp (test_debug_format): New proc.
5633 (setup_xfail_format): Use new proc test_debug_format.
5634 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5635 proc; use new service proc test_debug_format.
5636 Replace all other "gcc_compiled" tests with this test.
5637 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5638 proc; use new service proc test_debug_format.
5639 Replace all other "gcc_compiled" tests with this test.
5640
5641 2001-09-27 Michael Snyder <msnyder@redhat.com>
5642
5643 * gdb.base/cvexpr.exp: New file.
5644 * gdb.base/cvexpr.c: New file
5645 Test for expressions using const and volatile keywords.
5646
5647 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
5648
5649 * gdb.base/constvars.exp: Check for different orders of keywords
5650 and additional "int" strings in output.
5651
5652 2001-09-22 Andrew Cagney <ac131313@redhat.com>
5653
5654 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5655 responses from "help maint".
5656
5657 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
5658
5659 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5660 to localhost:NNN instead of :NNN, in case Xvfb is listening
5661 only on TCP.
5662
5663 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
5664
5665 * gdb.base/recurse.exp: When checking leaving the watchpoint
5666 scope, recognize when gdb is in function's epilogue and pass.
5667
5668 2001-09-18 Keith Seitz <keiths@redhat.com>
5669
5670 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5671 support for running tests against sid targets.
5672 (gdbtk_done): Ditto.
5673
5674 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
5675
5676 * gdb.base/ending-run.c (main): Set stdout buffersize
5677 to the same reasonable value for any target.
5678 * gdb.base/ending-run.exp: Add a regular expression
5679 to make testsuite happy on Sanyo Stormy16 target.
5680
5681 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
5682
5683 * gdb.base/display.c (do_loops): Add float variable `f'.
5684 Increment f in loop.
5685 * gdb.base/display.exp: Increment timeout by 60 seconds.
5686 Change float display test to use variable `f'.
5687
5688 2001-09-17 Jim Blandy <jimb@redhat.com>
5689
5690 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5691 overflowing the limited breakpoint tables on some ROM monitors
5692 (like the ROM68K).
5693
5694 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
5695
5696 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5697 the "-ac" (disable access control) flag.
5698
5699 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
5700
5701 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5702 ints.
5703
5704 2001-08-30 Keith Seitz <keiths@redhat.com>
5705
5706 * lib/gdb.exp: Move all insight-related functionality into
5707 separate file.
5708 * lib/insight-support.exp: New file.
5709
5710 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
5711
5712 * config/sid.exp (sid_start): Never set sid verbosity; disable
5713 expect_background {} that consumed its stdout; tolerate </dev/null.
5714 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5715
5716 2001-08-18 Andrew Cagney <ac131313@redhat.com>
5717
5718 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5719 CLI jump command to start it.
5720 (mi_run_to_main): Fail immediatly when unexpected output.
5721
5722 2001-08-18 Andrew Cagney <ac131313@redhat.com>
5723
5724 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5725 beginning of function. Fix PR gdb/191.
5726
5727 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
5728
5729 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5730 what to force sid endianness to.
5731
5732 2001-08-15 Keith Seitz <keiths@redhat.com>
5733
5734 * lib/gdb.exp (gdbtk_start): Don't set environment
5735 variables for TCL_LIBRARY and friends. Insight will
5736 now figure these out for itself.
5737
5738 2001-08-02 Michael Snyder <msnyder@redhat.com>
5739
5740 * gdb.base/completion.exp: Remove the symbol "a64l" from
5741 the expect string; this is target-specific, and not related
5742 to what is being tested.
5743
5744 2001-08-02 Dave Brolley <brolley@redhat.com>
5745
5746 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5747
5748 2001-07-25 Michael Snyder <msnyder@redhat.com>
5749
5750 * gdb.base/consecutive.exp: New file. Test stepping over
5751 breakpoints on consecutive instructions.
5752 * gdb.base/consecutive.c: New file.
5753
5754 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5755 curly braces in regular expressions.
5756
5757 2001-07-25 Michael Snyder <msnyder@redhat.com>
5758
5759 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5760 legitimate output from stepping out of main.
5761
5762 2001-07-22 Keith Seitz <keiths@redhat.com>
5763
5764 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5765 the empty string, do not run the tests.
5766
5767 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5768
5769 * gdb.base/long_long.exp: Detect size of pointer. Take into
5770 account 2-byte pointers when testing for p/a results.
5771
5772 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5773
5774 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
5775 and defined to 1K for m68hc11.
5776 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5777 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5778 (sizeof_random_data): New variable to tell the size of the data table;
5779 don't test past this size; always run to main.
5780
5781 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5782
5783 * gdb.base/return2.exp: return of long long and double fails for
5784 68HC11; don't execute these tests on that platform.
5785 * gdb.base/return.exp: Return of a double fails for 68hc11.
5786
5787 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5788
5789 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5790 tests that print a float.
5791 * call-rt-st.exp: Likewise.
5792
5793 2001-07-12 Mark Kettenis <kettenis@gnu.org>
5794
5795 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5796 running this test on Linux.
5797
5798 2001-06-24 Michael Chastain <chastain@redhat.com>
5799
5800 * gdb.base/arithmet.exp: Remove some tests to make all test names
5801 unique.
5802
5803 2001-07-03 Michael Snyder <msnyder@redhat.com>
5804
5805 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5806 the output of the ptype command.
5807
5808 2001-07-02 Michael Snyder <msnyder@redhat.com>
5809
5810 * gdb.base/completion.exp: Don't assume that break.c is the only
5811 source file that may contain functions named "marker".
5812 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5813
5814 2001-06-28 Andrew Cagney <ac131313@redhat.com>
5815
5816 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5817 of files to delete.
5818
5819 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5820 * gdb.disasm/h8300s.exp: New file.
5821 gdb.disasm/h8300s.s: Likewise.
5822
5823 2001-06-27 Andrew Cagney <ac131313@redhat.com>
5824
5825 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5826 empty breakpoint tables.
5827
5828 2001-06-25 Andrew Cagney <ac131313@redhat.com>
5829
5830 * lib/mi-support.exp: Update args=... part of stop-reason
5831 patterns. Accept either a list or a tuple.
5832
5833 2001-06-23 Andrew Cagney <ac131313@redhat.com>
5834
5835 * lib/mi-support.exp: Remove local emacs variable defining
5836 change-log-default-name.
5837
5838 2001-06-22 Michael Chastain <chastain@redhat.com>
5839
5840 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5841 This is operationally compatible with the previous version.
5842
5843 2001-06-13 Jim Blandy <jimb@redhat.com>
5844
5845 * lib/gdb.exp (gdb_test): Doc fix.
5846
5847 2001-06-10 Michael Chastain <chastain@redhat.com>
5848
5849 * gdb.base/exprs.exp: Remove a duplicate test.
5850
5851 2001-06-06 Jim Blandy <jimb@redhat.com>
5852
5853 * gdb.base/return2.exp (main): Use values to test float and double
5854 returns that are not NaN's, to avoid being confused by IEEE
5855 comparison rules.
5856
5857 2001-06-04 Michael Snyder <msnyder@redhat.com>
5858
5859 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
5860 non-zero if control_c fails. Terminate the test on failure,
5861 rather than wait for 12 more tests to time out.
5862
5863 2001-06-06 Jim Blandy <jimb@redhat.com>
5864
5865 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
5866 Don't forget to match the GDB prompt.
5867
5868 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5869
5870 2001-06-04 Jim Blandy <jimb@redhat.com>
5871
5872 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5873 command.
5874
5875 2001-05-31 Kevin Buettner <kevinb@redhat.com>
5876
5877 * gdb.base/annota1.exp (info break): Match four or more spaces
5878 after "Address".
5879
5880 2001-05-31 Michael Chastain <chastain@redhat.com>
5881
5882 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5883 (dm_type_int_star): Likewise.
5884 (dm_type_long_star): Likewise.
5885 (dm_type_void_star): Likewise.
5886
5887 2001-05-29 Kevin Buettner <kevinb@redhat.com>
5888
5889 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5890 to a known value in order to get consistent results regardless
5891 of the setting of INPUTRC or the presence or contents of .inputrc.
5892
5893 2001-05-24 Michael Snyder <msnyder@redhat.com>
5894
5895 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5896 Don't require that the main thread and the manager thread are the
5897 first in the list.
5898
5899 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5900 debugging. If test fails, issue an "unsupported" not a "fail".
5901
5902 2001-05-24 Jim Blandy <jimb@redhat.com>
5903
5904 Don't assume that short is shorter than int.
5905 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5906 assume that shorts are smaller than ints. On a 16-bit machine,
5907 this isn't true.
5908 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5909 an int, is not equal to ~0 stored in an unsigned char. This tests
5910 the same thing that the previous test meant to, but works on
5911 16-bit machines, too.
5912 ("print unsigned char != (~0)"): Same test, complemented.
5913
5914 2001-05-24 Michael Snyder <msnyder@redhat.com>
5915
5916 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
5917 test for (full_coverage == 0). This makes the test run faster,
5918 and prevents dejagnu getting out of step.
5919
5920 2001-05-23 Kevin Buettner <kevinb@redhat.com>
5921
5922 * gdb.base/finish.exp (finish_void): Revise pattern for
5923 stopping on the call statement to not permit stopping at
5924 the start of the instructions comprising the call sequence.
5925
5926 2001-05-19 Michael Chastain <chastain@redhat.com>
5927
5928 * gdb.base/callfuncs.exp: Make all test names unique.
5929 * gdb.base/commands.exp: Make all test names unique.
5930 * gdb.base/condbreak.exp: Make all test names unique.
5931 * gdb.base/dbx.exp: Make all test names unique.
5932 * gdb.base/default.exp: Make all test names unique.
5933 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5934 and TIMEOUT messages to their corresponding PASS message.
5935 * gdb.base/ending-run.exp: Make all test names unique.
5936 * gdb.base/long_long.exp: Remove duplicate test.
5937
5938 2001-05-21 Kevin Buettner <kevinb@redhat.com>
5939
5940 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5941 stop on the call statement as well as the statement after the
5942 call.
5943
5944 2001-05-21 Michael Snyder <msnyder@redhat.com>
5945
5946 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5947
5948 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
5949
5950 * gdb.base/completion.exp: Revamp test. Make it execute on all
5951 platforms.
5952
5953 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
5954
5955 * config/gdbserver.exp (gdb_load): Handle the case
5956 in which the arguments to gdbserver are given in the
5957 baseboard configuration file.
5958 Also handle the case in which the server needs to do a
5959 load.
5960
5961 2001-05-07 Keith Seitz <keiths@cygnus.com>
5962
5963 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5964 set up the display for testing.
5965 (gdbtk_start): Convert all paths to paths that tcl will like.
5966 Export target information to environment.
5967 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5968 necessary.
5969 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5970 (to_tcl_path): New proc to convert a given pathname into
5971 a path acceptible as an argument to a tcl command.
5972 (_gdbtk_export_target_info): New proc to export target info
5973 into the environment for gdbtk testing.
5974 (gdbtk_done): New proc to signal end-of-test.
5975
5976 2001-05-06 Jim Blandy <jimb@redhat.com>
5977
5978 * restore.c: Make the code of caller0 correspond to its comment.
5979
5980 2001-05-03 Michael Snyder <msnyder@redhat.com>
5981
5982 * config/sid.exp (gdb_target_sid): Check for error messages.
5983 On error or timeout, don't make expect exit (which will terminate
5984 all subsequent tests); instead just make gdb exit.
5985 (gdb_load): Check for error messages. On error or timeout,
5986 return a negative value.
5987
5988 2001-04-24 Jim Blandy <jimb@redhat.com>
5989
5990 * gdb.c++/templates.exp: If we see the prompt for the overload
5991 list, but we haven't recognized any of the longer patterns,
5992 arrange for this test to fail, not hang.
5993
5994 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5995 variations.
5996
5997 2001-04-22 Michael Chastain <chastain@redhat.com>
5998
5999 * gdb.c++/local.exp: Use the 'runto' library function.
6000 * gdb.c++/namespace.exp: Likewise.
6001 * gdb.c++/overload.exp: Likewise.
6002
6003 2001-03-26 Kevin Buettner <kevinb@redhat.com>
6004
6005 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
6006 * gdb.base/step-line.exp: New file. Test step/next in presence of
6007 #line directives.
6008 * gdb.base/step-line.c: New file. Test program for the above.
6009 * gdb.base/step-line.inp: New file. We pretend that this file has
6010 been transformed by some other tool into step-line.c.
6011
6012 2001-03-21 Jim Blandy <jimb@redhat.com>
6013
6014 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
6015 unmangled operator names.
6016
6017 2001-03-20 Jim Blandy <jimb@redhat.com>
6018
6019 * gdb.threads/linux-dp.exp: Recognize an additional message
6020 generated by GDB when it doesn't understand how to debug threads
6021 on the target system.
6022
6023 2001-03-19 Andrew Cagney <ac131313@redhat.com>
6024
6025 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
6026
6027 2001-03-12 Michael Chastain <chastain@redhat.com>
6028
6029 * gdb.c++/derivation.exp: Use the 'runto' library function.
6030
6031 2001-03-12 Michael Chastain <chastain@redhat.com>
6032
6033 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
6034
6035 2001-02-24 Michael Chastain <chastain@redhat.com>
6036
6037 * gdb.c++/ref-types.exp: Change handwritten code to library
6038 function 'runto'.
6039
6040 2001-03-16 Orjan Friberg <orjanf@axis.com>
6041
6042 * gdb.base/signals.exp: Set count to 0 explicitly.
6043
6044 2001-03-15 Mark Salter <msalter@redhat.com>
6045
6046 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
6047 (gdb_target_monitor): Add check of gdb_target_cmd return value.
6048 (gdb_load): Add support for additional target_info: gdb_download_size
6049 and gdb_load_timeout.
6050
6051 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
6052
6053 * gdb.base/annota1.exp: Move test of isnative to earlier in the
6054 file -- to prevent failing when the compile fails but we have no
6055 intention of running the tests anyway.
6056
6057 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
6058 tests if set.
6059
6060 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
6061 integers.
6062
6063 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
6064 * gdb.c++/namespace.exp: Ditto.
6065
6066 2001-03-07 Orjan Friberg <orjanf@axis.com>
6067
6068 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
6069 * gdb.base/pointers.exp: Relax pattern match of decimals.
6070
6071 2001-03-06 Kevin Buettner <kevinb@redhat.com>
6072
6073 * Makefile.in, config/abug.exp, config/cfdbug.exp,
6074 config/cpu32bug.exp, config/dve.exp, config/est.exp,
6075 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
6076 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
6077 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
6078 config/sh.exp, config/sid.exp, config/slite.exp,
6079 config/sparclet.exp, config/udi.exp, config/unknown.exp,
6080 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
6081 config/vxworks.exp, config/vxworks29k.exp,
6082 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
6083 gdb.base/all-bin.exp, gdb.base/annota1.exp,
6084 gdb.base/arithmet.exp, gdb.base/assign.exp,
6085 gdb.base/async.exp, gdb.base/attach.exp,
6086 gdb.base/bitfields.exp, gdb.base/bitops.exp,
6087 gdb.base/break.exp, gdb.base/call-ar-st.exp,
6088 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
6089 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
6090 gdb.base/commands.exp, gdb.base/completion.exp,
6091 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6092 gdb.base/constvars.exp, gdb.base/corefile.exp,
6093 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
6094 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
6095 gdb.base/ending-run.exp, gdb.base/environ.exp,
6096 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6097 gdb.base/finish.exp, gdb.base/foll-exec.exp,
6098 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
6099 gdb.base/funcargs.exp, gdb.base/help.exp,
6100 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
6101 gdb.base/logical.exp, gdb.base/long_long.exp,
6102 gdb.base/maint.exp, gdb.base/mips_pro.exp,
6103 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
6104 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
6105 gdb.base/pointers.exp, gdb.base/printcmds.exp,
6106 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
6107 gdb.base/regs.exp, gdb.base/relational.exp,
6108 gdb.base/remote.exp, gdb.base/reread.exp,
6109 gdb.base/restore.exp, gdb.base/return2.exp,
6110 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
6111 gdb.base/selftest.exp, gdb.base/setshow.exp,
6112 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
6113 gdb.base/sigall.exp, gdb.base/signals.exp,
6114 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
6115 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6116 gdb.base/step-test.exp, gdb.base/structs.c,
6117 gdb.base/structs.exp, gdb.base/structs2.exp,
6118 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
6119 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
6120 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
6121 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6122 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
6123 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
6124 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
6125 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
6126 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
6127 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
6128 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
6129 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
6130 gdb.fortran/types.exp, gdb.java/jmisc.exp,
6131 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6132 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
6133 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6134 gdb.trace/circ.exp, gdb.trace/collection.exp,
6135 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6136 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6137 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
6138 gdb.trace/report.exp, gdb.trace/save-trace.exp,
6139 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6140 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6141 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
6142 notices.
6143
6144 2001-02-27 Michael Snyder <msnyder@cygnus.com>
6145
6146 * gdb.base/varargs.c (find_max_double): Fix printf format string:
6147 first arg is int not float.
6148
6149 2001-02-22 Michael Snyder <msnyder@cygnus.com>
6150
6151 * gdb.base/reread.exp: Unsupported for non-native targets;
6152 doesn't work for remote debugging.
6153
6154 2001-02-19 Fernando Nasser <fnasser@redhat.com>
6155
6156 From Drew Moseley <dmoseley@redhat.com>
6157 * gdb.base/ending-run.exp: Properly handle the BSP state when
6158 stepping past the end of main.
6159
6160 2001-02-19 John Moore <jmoore@redhat.com>
6161
6162 * gdb.base/commands.exp (infrun_breakpoint_command_test):
6163 Converted HPUX fix for non-expected items following multiple
6164 step commands into general solution for all platforms.
6165
6166 2001-02-18 Michael Chastain <chastain@redhat.com>
6167
6168 * gdb.c++/classes.exp (do_tests): Change runto statements
6169 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6170 statements demangler agnostic.
6171 * gdb.c++/virtfunc.exp (do_tests): Likewise.
6172 (gdb_virtfunc_restart): Likewise.
6173
6174 2001-02-14 Michael Chastain <chastain@redhat.com>
6175
6176 * gdb.c++/inherit.exp (do_tests): Change runto statements
6177 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6178 statements demangler agnostic.
6179
6180 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
6181
6182 * gdb.threads/pthreads.exp: Unify pass/fail messages for
6183 ``continue to bkpt at common_routine in thread 2'' and ``stopped
6184 before calling common_routine 15 times'' tests.
6185
6186 2001-02-11 Michael Chastain <chastain@redhat.com>
6187
6188 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
6189 Helps the test script figure out which demangler is in use.
6190 (dm_type_foo_ref): Ditto.
6191 (dm_type_int_star): Ditto.
6192 (dm_type_long_star): Ditto.
6193 (dm_type_unsigned_int): Ditto.
6194 (dm_type_void): Ditto.
6195 (dm_type_void_star): Ditto.
6196 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
6197 Probe the gdb demangler and set variables to accommodate
6198 formatting differences.
6199 (info_func_regexp): New function. Same as info_func, but
6200 matches against a regexp.
6201 (info_func): Match against a literal string.
6202 (print_addr_2): New function. Match against a literal string,
6203 which can be different from the input to gdb.
6204 (print_addr): Simply call print_addr_2 with the same argument twice.
6205 (test_lookup_operator_functions): Use demangler formatting variables.
6206 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
6207 the tests in the same order as the C++ class declaration.
6208 (test_paddr_operator_functions): Ditto.
6209 (test_paddr_overloaded_functions): Ditto.
6210 (test_paddr_hairy_functions): Use demangler formatting variables.
6211 Add reference to gdb/19 for related tests.
6212 (do_tests): Call probe_demangler.
6213
6214 2001-01-30 Kevin Buettner <kevinb@redhat.com>
6215
6216 * gdb.c++/templates.cc (printf): Remove unused function definition.
6217
6218 2001-01-26 Felix Lee <flee@redhat.com>
6219
6220 * sid.exp (sid_exit): Pass host, not target, to remote_close.
6221
6222 2001-01-25 matthew green <mrg@redhat.com>
6223
6224 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
6225 up sid.
6226 (sid_exit): Call `remote_pop_conn' after GDB is gone.
6227
6228 2001-01-25 matthew green <mrg@redhat.com>
6229
6230 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
6231 Deprecate $sid_spawn_id.
6232 (sid_exit): Remove code necessary only for `spawn.'
6233
6234 2001-01-25 matthew green <mrg@redhat.com>
6235
6236 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
6237
6238 2001-01-28 Michael Chastain <chastain@redhat.com>
6239
6240 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
6241 to call when tests fail. It takes gdb out of the overloaded
6242 function choice menu back to the main prompt, so that the test
6243 program stays synchronized.
6244 (set_bp_overloaded): New proc to collect all the common
6245 code for setting a breakpoint on an overloaded name. Calls
6246 take_gdb_out_of_choice_menu when needed.
6247 (menu_overload1arg): New variable to collect the repeated
6248 instances of the expected menu for an overloaded name. Change
6249 the regular expression to handle changes in g++ type encoding:
6250 "void" can be either "void" or "", and "unsigned int" can be
6251 either "unsigned int" or "unsigned".
6252 (continue_to_bp_overloaded): Change regular expressions to handle
6253 changes in g++ type encoding.
6254 (no proc): Call take_gdb_out_of_choice_menu when needed.
6255 Remove redundant calls to "info break". Accept either "canceled"
6256 or "cancelled". Change regular expressions in "info break"
6257 calls to handle changes in g++ type encoding. Give all tests
6258 unique strings.
6259
6260 2001-01-17 Ben Elliston <bje@redhat.com>
6261
6262 * config/sid.exp: New file.
6263
6264 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
6265
6266 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
6267
6268 2000-12-21 Michael Snyder <msnyder@cygnus.com>
6269
6270 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
6271 Add a RE to accept a non-ascii char if one is ever presented.
6272
6273 2000-12-20 Fernando Nasser <fnasser@redhat.com>
6274
6275 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
6276
6277 2000-12-18 Michael Snyder <msnyder@cygnus.com>
6278
6279 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
6280 in regexp. One '\' does not suffice on Linux.
6281
6282 2000-12-09 Michael Chastain <chastain@redhat.com>
6283
6284 * gdb.base/break.exp (test_clear_command): Use a marker function
6285 rather than 'main' for the test function. Also move this
6286 test to an execution point where the marker function names are
6287 guaranteed to be bound to functions. (Executing tests after a
6288 'finish' from main runs into name conflicts with local names
6289 in __libc_start_main).
6290
6291 2000-12-07 Michael Snyder <msnyder@cygnus.com>
6292
6293 * gdb.base/finish.exp: New test for gdb's "finish" command.
6294 * gdb.base/return2.exp: New test for gdb's "return" command.
6295 * gdb.base/return2.c: New source file for above.
6296
6297 2000-12-05 Michael Snyder <msnyder@cygnus.com>
6298
6299 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
6300 * gdb.base/miscexprs.exp: Ditto.
6301 * gdb.base/pointers.exp: Ditto.
6302 * gdb.c++/derivation.exp: Ditto.
6303 * gdb.c++/local.exp: Ditto.
6304 * gdb.c++/namespace.exp: Ditto.
6305 * gdb.c++/overload.exp: Ditto.
6306 * gdb.c++/ref-types.exp: Ditto.
6307
6308 2000-12-05 Michael Snyder <msnyder@cygnus.com>
6309
6310 * gdb.base/constvars.exp: Test result of "up" command.
6311 * gdb.base/miscexprs.exp: Ditto.
6312 * gdb.base/pointers.exp: Ditto.
6313 * gdb.base/scope.exp: Ditto.
6314 * gdb.c++/derivation.exp: Ditto.
6315 * gdb.c++/local.exp: Ditto.
6316 * gdb.c++/namespace.exp: Ditto.
6317 * gdb.c++/overload.exp: Ditto.
6318 * gdb.c++/ref-types.exp: Ditto.
6319
6320 2000-11-22 Michael Chastain <chastain@redhat.com>
6321
6322 * mips_pro.exp: Accept either "middle -> top -> main" or
6323 "middle -> main" in the backtrace, because gcc can optimize
6324 tail calls to jumps. Remove setup_xfail for the hppa case.
6325 Add a comment with the original warning messages from PR 3016,
6326 which was filed in 1993, to preserve them for posterity.
6327
6328 2000-11-17 Nick Duffek <nsd@redhat.com>
6329
6330 * lib/gdb.exp (gdb_test): Override timeout with board info.
6331
6332 2000-11-17 Nick Duffek <nsd@redhat.com>
6333
6334 * gdb.base/display.exp: Don't kill running stub. Add "again" to
6335 the second kill and detach messages.
6336
6337 2000-11-17 Nick Duffek <nsd@redhat.com>
6338
6339 * configure.in: Add AC_EXEEXT.
6340 * configure: Regenerate.
6341 * Makefile.in (just-check): Export EXEEXT.
6342 * lib/gdb.exp ($EXEEXT): Import from environment.
6343 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
6344 expect "maint dump-me" on Cygwin.
6345 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
6346 $EXEEXT.
6347
6348 2000-11-17 Nick Duffek <nsd@redhat.com>
6349
6350 * gdb.base/break.exp: Test backtrace and finish from called
6351 function on all platforms, not just HP-UX.
6352
6353 2000-11-03 Michael Snyder <msnyder@cygnus.com>
6354
6355 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
6356 code from gdb_target_monitor, so it can be used independantly
6357 for gdbserver. Also comment out an unnecessary PUTS.
6358
6359 2000-11-03 Michael Snyder <msnyder@cygnus.com>
6360
6361 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
6362 * gdb.base/corefile.exp: Expect the message "Program is being
6363 debugged already" when we send the "corefile" command, since
6364 the preceeding gdb_load may have connected gdb to a remote target.
6365 * gdb.base/display.exp: Disable hardware watchpoints if new
6366 board info variable "no_hardware_watchpoints" is true.
6367 Replace single-letter commands with more readable ones.
6368 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
6369 if new board info variable "no_hardware_watchpoints" is true.
6370 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
6371 to see if stdio (printf) testing is possible.
6372 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
6373 board info variable "no_hardware_watchpoints" is true. Use new
6374 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
6375
6376 2000-11-13 Fernando Nasser <fnasser@redhat.com>
6377
6378 From Orjan Friberg <orjanf@axis.com>:
6379 * gdb.base/printcmds.exp: Escape curly braces followed by a number
6380 in array print pattern match.
6381
6382 2000-11-09 Fernando Nasser <fnasser@redhat.com>
6383
6384 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
6385 spelling "cancelled" to U.S. spelling "canceled" to match changes
6386 made to gdb.
6387 * gdb.c++/ovldbreak.exp: Ditto.
6388
6389 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6390
6391 * gdb.base/callfuncs.c (main): Moved to end of file, call
6392 t_double_values to initialize the FPU before inferior calls are made.
6393 * gdb.base/callfuncs.exp: Test for register preservation after calling
6394 inferior functions. Add tests for continuining, finishing and
6395 returning from a stop in a call dummy.
6396
6397 2000-10-24 Michael Snyder <msnyder@cygnus.com>
6398
6399 * gdb.base/commands.exp: Break up long lines, and re-indent.
6400
6401 2000-10-19 Michael Snyder <msnyder@cygnus.com>
6402
6403 * config/gdbserver.exp: Rewritten from the ground up, to make it
6404 compatible with the current dejagnu tree, and to make it work with
6405 the new "gdbserver" in libremote.
6406
6407 2000-10-16 Michael Snyder <msnyder@cygnus.com>
6408
6409 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
6410 * gdb.base/varargs.exp: Skip entire test if no printf support.
6411 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
6412 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
6413
6414 2000-10-13 Michael Snyder <msnyder@cygnus.com>
6415
6416 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
6417 no floating point support.
6418 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
6419 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6420 * gdb.base/call-rt-st.exp: Ditto.
6421 * gdb.base/call-strs.exp: Ditto.
6422
6423 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
6424
6425 * gdb.base/sizeof.c: include <stdio.h>.
6426
6427 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6428 'finish', otherwise uncaptured gdb_prompt would potentially
6429 throw remaining test points out of sync.
6430
6431 2000-07-26 Scott Bambrough <scottb@netwinder.org>
6432
6433 * gdb.base/recurse.exp: Run tests for all targets.
6434 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6435 gnu-oldld case on ARM.
6436 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6437 for ARM targets.
6438
6439 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
6440
6441 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6442 * gdb.java/configure: Rebuild.
6443
6444 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
6445
6446 * gdb.java/jv-exp.exp: New file.
6447
6448 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
6449
6450 * configure: Rebuilt.
6451 * configure.in (configdirs): Add gdb.java.
6452 * gdb.java/jmisc.java: New file.
6453 * gdb.java/jmisc.exp: New file.
6454 * gdb.java/Makefile.in: New file.
6455 * gdb.java/configure: Rebuilt.
6456 * gdb.java/configure.in: New file.
6457 * lib/java.exp: New file.
6458
6459 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
6460
6461 * gdb.base/exprs.exp: Test casts to a pointer including over and
6462 underflow.
6463
6464 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
6465
6466 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
6467 and the compilers sizes.
6468
6469 2000-07-09 Nick Duffek <nsd@redhat.com>
6470
6471 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6472 (use_methods): New function.
6473 (main): Call use_methods().
6474 * gdb.c++/classes.exp (test_method_param_class): New procedure.
6475 (do_tests): Call test_method_param_class.
6476
6477 2000-07-09 Nick Duffek <nsd@redhat.com>
6478
6479 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6480 spelling.
6481 (test_enums): New procedure. Move enum tests from end of script
6482 to here. Set breakpoint on function name instead of line number.
6483 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6484 (enums2): New marker function.
6485 (enums1): New function.
6486 (main): Call enums1(). Move enum tests to enums1().
6487
6488 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6489
6490 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6491 compile/link program. Update line numbers.
6492 * gdb.asm/d10v.inc: Define ``startup''.
6493 * gdb.asm/asmsrc1.s: Add definition of _start.
6494
6495 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6496
6497 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6498
6499 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6500
6501 * gdb.base/maint.exp: Add 'maint print architecture' item to output
6502 of 'help maint print' command.
6503
6504 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
6505
6506 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6507 they use gdb_expect_list.
6508
6509 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6510
6511 * gdb.base/commands.exp: Use ``set remote
6512 memory-read-packet-size'' instead of ``set endian big'' to test
6513 long commands.
6514
6515 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
6516
6517 * gdb.c++/templates.exp (do_tests): Make all of these work under
6518 g++, and stop skipping them.
6519
6520 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6521 work under g++.
6522
6523 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
6524 initialization.
6525
6526 2000-06-02 Michael Snyder <msnyder@cygnus.com>
6527
6528 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6529 the regular expression: accept an (almost) arbitrary sequence of
6530 "frames-invalid" and "breakpoints-invalid" messages both before
6531 and after the "starting" message.
6532
6533 2000-06-02 Michael Snyder <msnyder@cygnus.com>
6534
6535 * gdb.c++/local.exp: This test has never been known to work with g++.
6536
6537 2000-05-18 Michael Snyder <msnyder@cygnus.com>
6538
6539 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6540 Relax the regular expression a little, make it pass on Solaris 8.
6541
6542 2000-05-12 Kevin Buettner <kevinb@redhat.com>
6543
6544 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
6545 a call, do not require that gdb stop on the line after the call.
6546 Instead, it is permissible for gdb to stop on the line of the
6547 call itself.
6548
6549 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
6550
6551 * gdb.base/break.exp (bp on small function, optimized file):
6552 Add a second pass pattern. The behavior differs here between stabs
6553 and dwarf for one-line functions. Stabs preserves two line symbols
6554 (one before the prologue and one after) with the same line number,
6555 but dwarf regards these as duplicates and discards one of them.
6556 Therefore the address after the prologue (where the breakpoint is)
6557 has no exactly matching line symbol, and GDB reports the breakpoint
6558 as if it were in the middle of a line rather than at the beginning.
6559
6560 2000-05-08 Michael Snyder <msnyder@cygnus.com>
6561
6562 * gdb.base/interrupt.exp: Make "pass" message say "send"
6563 rather than "send_gdb" (for consistancy).
6564
6565 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6566
6567 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6568 * gdb.c++/templates.cc: Properly check for GCC version number.
6569 * lib/compiler.cc: Likewise
6570
6571 2000-04-28 Michael Snyder <msnyder@cygnus.com>
6572
6573 * gdb.base/break.exp: When compiled with -O2 optimization,
6574 gdb may not stop at the first line of main, due to code motion.
6575
6576 2000-04-26 Michael Snyder <msnyder@cygnus.com>
6577
6578 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6579 This test depends on parsing the printf output from the target.
6580 Since the sparclet stub doesn't do stdio, this will never work.
6581 * gdb.base/call-rt-st.exp: ditto.
6582 * gdb.base/call-strs: ditto.
6583
6584 2000-04-24 Michael Snyder <msnyder@cygnus.com>
6585
6586 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6587
6588 * gdb.base/ending-run.exp: After connecting to a remote target,
6589 but before running, the target will appear to be in a random
6590 location. Specify both a file and a line for breakpoints.
6591 Also, the function that calls main may be called 'init'
6592 rather than 'start'.
6593
6594 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6595
6596 * gdb.base/help.exp: Update output for add-symbol-file command.
6597
6598 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
6599
6600 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6601 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6602
6603 2000-04-07 J.T. Conklin <jtc@redback.com>
6604
6605 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6606
6607 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6608
6609 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6610
6611 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6612 values that can be represented exactly.
6613 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6614 above change, and to not check against the directory part of the source
6615 file name.
6616 (step into print_long_arg_list): Likewise.
6617 (print print_small_structs from print_long_arg_list): Likewise.
6618 (print print_long_arg_list): Likewise.
6619
6620 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6621
6622 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
6623
6624 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6625
6626 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6627
6628 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
6629
6630 * gdb.base/commands.exp (deprecated_command_test): Add test for
6631 deprecate with no arguments.
6632
6633 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6634
6635 * gdb.base/break.exp: Add new test for setting breakpoints on
6636 optimized code so we can test breakpoints work even when function
6637 prologues may be optimized away
6638
6639 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6640
6641 From David Whedon <dwhedon@gordian.com>
6642 * gdb.base/commands.exp : Added command deprecator tests.
6643
6644 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
6645
6646 * gdb.base/help.exp: Added test for new apropos command.
6647
6648 2000-03-21 Kevin Buettner <kevinb@redhat.com>
6649
6650 * gdb.base/pointers.c (usevar): New function.
6651 (main): Make sure that global variables v_int_pointer2, rptr,
6652 and y are all referenced someplace in the program by calling
6653 usevar() on them. [Some linkers delete symbols which are
6654 never referenced. The space remains, but there's no way to
6655 get a (symbolic) handle on the variable from the debugger.]
6656
6657 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6658
6659 * gdb.base/printcmds.c: Add typedeffed arrays.
6660
6661 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6662 procedure to test arrays that are typedef'd.
6663
6664 2000-03-13 James Ingham <jingham@leda.cygnus.com>
6665
6666 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
6667 the library directories.
6668
6669 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6670
6671 * configure.in (configdirs): Add sub directory gdb.mi.
6672 * configure: Re-generate.
6673
6674 * gdb.mi: New directory.
6675
6676 2000-02-25 Scott Bambrough <scottb@netwinder.org>
6677
6678 * gdb.base/long_long.exp: Correct test suite failure when printing
6679 a long long value as a double on ARM platforms.
6680
6681 2000-02-16 Jim Blandy <jimb@redhat.com>
6682
6683 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6684 default source file is set properly before running this test.
6685
6686 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6687
6688 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6689 gdbtk/library directory, not in gdbtcl2.
6690
6691 2000-02-04 Jim Blandy <jimb@redhat.com>
6692
6693 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6694 backslash from regexp pattern.
6695
6696 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6697 procedure. Use it to run all the "continue to bp overloaded"
6698 tests. Note that this changes the names of the tests slightly.
6699 If the breakpoint hit message includes a hex PC value, because
6700 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6701 from the real source code, still consider that a pass.
6702
6703 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6704 XFAIL here if the breakpoint message contains a hex address. Note
6705 similar change on 1999-11-02.
6706
6707 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6708
6709 * gdb.base/ptype.exp: Establish a default source file before
6710 calling get_debug_format.
6711
6712 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6713
6714 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6715
6716 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6717
6718 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6719 of successive stepi commands -- while in the prologue we should see
6720 the function entry bracket.
6721
6722 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6723
6724 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6725 reach __change_mode() when stepping through the end of main().
6726
6727 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6728
6729 * gdb.base/default.exp: Fix expected pattern.
6730 * gdb.base/help.exp: Same.
6731
6732 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6733
6734 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6735 Don't use xfail's because that affects only the following test.
6736
6737 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6738 solaris or linux.
6739
6740 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6741
6742 2000-01-07 Michael Snyder <msnyder@cygnus.com>
6743
6744 * gdb.base/display.exp: Some yacc parsers like to say
6745 "A syntax error" rather than "A parse error". Accept both.
6746
6747 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6748
6749 * gdb.base/default.exp: Remove OS dependent string from "target
6750 remote" test.
6751 * gdb.base/help.exp: Same for "help target remote" test.
6752
6753 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6754
6755 From Jim Kingdon <kingdon@redhat.com>:
6756
6757 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6758 prompt (cleanup rather than necessity, but still might keep output
6759 from spilling to next test).
6760
6761 2000-01-02 Fred Fish <fnf@cygnus.com>
6762
6763 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6764 AIX, which defines them in <sys/types.h>.
6765
6766 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
6767
6768 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6769 float" test.
6770
6771 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
6772
6773 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
6774
6775 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6776 outermost frame disallowed".
6777
6778 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6779
6780 * gdb.base/setvar.exp: New tests for setting the value of a struct
6781 with a constant list.
6782
6783 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6784
6785 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6786 require the user to type a cast before setting the value of a struct.
6787
6788 1999-12-06 Jim Blandy <jimb@cygnus.com>
6789
6790 * gdb.base/default.exp: Expect the new 'info float' command on
6791 all i386 platforms.
6792
6793 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6794 LinuxThreads libraries that don't support debugging.
6795
6796 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6797
6798 * gdb.base/remote.c: Fill the buffer with truely random data.
6799 Change the buffer type to ``unsigned char'' to simplify size
6800 arithmetic.
6801
6802 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6803 stub only handles 400-1 byte packets. Verify that the download
6804 worked.
6805
6806 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6807
6808 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6809 tests, using UNRESOLVED for the untested cases. Also, does not wait
6810 for a timeout if the prompt was received before a recognizable pattern.
6811
6812 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6813
6814 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6815
6816 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6817
6818 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6819 watchpoints.
6820
6821 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
6822
6823 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6824
6825 * gdb.c++/local.exp: Be more flexible in recognizing local class
6826 name mangling. Don't allow horribly truncated method names.
6827 * gdb.c++/derivation.exp: Expect protected inheritance.
6828 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6829 * gdb.c++/virtfunc.exp: Likewise.
6830 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6831 when printing a nested enum.
6832
6833 1999-11-22 Jim Blandy <jimb@cygnus.com>
6834
6835 * gdb.base/step-test.exp: Properly await GDB's response to setting
6836 a breakpoint on the call to large_struct_by_value.
6837
6838 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6839 just because we have debug info for the `start' function.
6840
6841 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6842
6843 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6844 "Unknown signal" messages, which indicate (on LinuxThreads) that
6845 GDB doesn't know how to debug threads on this system. This is
6846 better than hanging while philosopher 0 dumps chatter into gdb.log.
6847
6848 1999-11-18 Tom Tromey <tromey@cygnus.com>
6849
6850 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6851
6852 1999-11-18 Fred Fish <fnf@cygnus.com>
6853
6854 * gdb.base/coremaker2.c: Add sample program for generating
6855 cores that is more self contained than coremaker.c. Eventually
6856 I'll add more code to this and tie it into the testsuite.
6857
6858 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6859
6860 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6861
6862 1999-11-10 Jimmy Guo <guo@cup.hp.com>
6863
6864 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6865 from $srcdir/lib/.
6866 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6867 and gdb.c++/.
6868
6869 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6870
6871 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
6872 'continue with watch' test point.
6873
6874 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6875
6876 Merged from p2linux-990323-branch:
6877
6878 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6879
6880 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6881
6882 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6883 {limit,fixed}''. Test ``set download-write-size''.
6884
6885 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6886
6887 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6888 gdb_expect_list.
6889
6890 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6891
6892 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6893
6894 1999-11-03 Mark Salter <msalter@cygnus.com>
6895
6896 * gdb.base/break.exp: Fix "stub continue" pattern.
6897
6898 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6899
6900 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6901
6902 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6903
6904 * gdb.base/display.exp ("finish"): Add timeout clause.
6905
6906 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6907 plain prompt clause, so this doesn't have to time out in order to
6908 fail.
6909
6910 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6911 breakpoint hit messages include an address.
6912
6913 * gdb.base/display.exp: Don't forget to escape parens in regular
6914 expressions. Unix regexp notatation sucks.
6915
6916 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6917
6918 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6919 order for 'signalled' message.
6920
6921 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6922
6923 From Jimmy Guo <guo@cup.hp.com>:
6924 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6925 * gdb.base/annota1.c: Add code for tests to work with.
6926
6927 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6928
6929 * gdb.base/remote.exp: New test for remote downloading settings.
6930 * gdb.base/remote.c: New file with large .data.
6931
6932 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6933
6934 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6935 for LinuxThreads support, merged from the Code Fusion branch.
6936
6937 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6938
6939 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6940 containing exp_continue into a while within an expect. Don't
6941 attempt a start more than three times. Check return value from
6942 gdb_load.
6943
6944 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6945
6946 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6947 a pass case.
6948
6949 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
6950
6951 * gdb.base/break.c (main): Added a statement that we can step
6952 off of.
6953 * gdb.base/break.exp: Added tests for setting a breakpoint
6954 at an offset and stepping onto a breakpoint.
6955
6956 1999-10-01 Fred Fish <fnf@cygnus.com>
6957
6958 * gdb.base/help.exp (help add-symbol-file): Update to match current
6959 gdb output.
6960
6961 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
6962
6963 * gdb.base/break.exp: Code locations are in hex, don't forget!
6964 (For HP-UX.)
6965
6966 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
6967
6968 * condbreak.exp: Use break.c as test program.
6969 * condbreak.c: Remove, redundant with break.c.
6970
6971 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
6972
6973 * config/monitor.exp (gdb_target_monitor): Disable X- and
6974 Z-packets if the target needs it.
6975
6976 1999-09-13 James Ingham <jingham@leda.cygnus.com>
6977
6978 * gdb.c++/overload.exp: Added tests for listing overloaded
6979 functions with function pointers in the arg, explicitly calling
6980 out the version you want.
6981
6982 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
6983
6984 * long_long.exp: Add variations of test cases that work for
6985 targets with 16-bit ints and 32-bit doubles.
6986
6987 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
6988
6989 * break.c (main): Compare a possibly-uninitialized argc with an
6990 unlikely value that fits in 16 bits.
6991
6992 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
6993
6994 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6995 0xfeeb, don't want negative numbers if ints are 16 bits.
6996
6997 * lib/gdb.exp (skip_cplus_tests): New proc.
6998 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6999 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
7000 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
7001 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
7002 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
7003 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
7004 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
7005 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
7006
7007 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
7008
7009 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
7010
7011 * gdb.base/corefile.exp (up): Allow a parameter to appear
7012 in the frame that we're going up to.
7013
7014 From Jim Blandy <jimb@cygnus.com>:
7015
7016 * gdb.base/default.exp (info float): Expect some output now.
7017
7018 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
7019 returning floating-point values to fail on the x86.
7020 * gdb.base/callfwmall.exp (do_function_calls): Same.
7021
7022 * gdb.base/list.exp (test_listsize): Correct expectations for
7023 listing line 1 with listsize 2. Also, listing a single line
7024 works now, as does listing three lines. [Kevin's note: There
7025 were a number of other cases fixed too where the expectations
7026 differed...]
7027
7028 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
7029
7030 * gdb.base/selftest.exp: Add case for when version prints as
7031 constant string instead of char pointer.
7032
7033 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
7034
7035 * gdb.base/ending-run.exp: Add Solaris case for what happens when
7036 stepping out of main.
7037
7038 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
7039 G++ used.
7040
7041 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
7042 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
7043
7044 * gdb.c++/ovldbreak.exp: Update match string in test that
7045 includes a warning of multiple breakpoints.
7046
7047 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
7048
7049 * gdb.base/display.exp: Improve precision of step-after-finish
7050 added yesterday.
7051
7052 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
7053 test.
7054
7055 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
7056 configs when using G++, not just hppa*.
7057
7058 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7059
7060 * gdb.base/async.c: New file.
7061 * gdb.base/async.exp: New file.
7062
7063 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
7064
7065 * gdb.base/break.exp: Tweak PA specific tests to properly handle
7066 PA64.
7067
7068 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
7069
7070 * gdb.base/display.exp: "finish" can leave us mid-line on many
7071 targets, deal with it. Add a small constant to main, instead of
7072 1000 since main+1000 may not be a valid address in the target.
7073
7074 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
7075 on hpux11.
7076
7077 * gdb.base/attach.exp: Handle another hpux11 error message variant
7078 when attaching to a process that does not exist.
7079
7080 1999-08-19 J.T. Conklin <jtc@redback.com>
7081
7082 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
7083 characters in 'continue to 1241' test.
7084
7085 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
7086
7087 * gdb.base/call-ar-st.exp: Add a shorter match case for the
7088 stop in print_long_arg_list, define and use a whitespace
7089 variable in print_small_structs test, add an XFAIL for Solaris.
7090 * gdb.base/dbx.exp: XFAIL func commands until somebody is
7091 interested enough to fix.
7092
7093 1999-08-13 Keith Seitz <keiths@cygnus.com>
7094
7095 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
7096 (dbx_gdb_load): Remove. Use gdb_load instead, since that
7097 proc knows about targets other than the natives.
7098 (test_assign): Use "gdb_run_cmd" to "run" the target.
7099 Check that we've actually hit the breakpoint at main.
7100 When we attempt to assign a value to a local variable, check
7101 that the variable is in the current scope, i.e., don't use
7102 a test with an empty result.
7103
7104 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
7105
7106 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
7107 command.
7108
7109 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
7110
7111 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7112 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
7113 gdb.compat, gdb.threads-hp.
7114 gdb.hp/configure, gdb.hp/configure.in: New files.
7115 gdb.hp/Makefile.in: Recurse into new subdirs.
7116 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
7117 gdb.hp/gdb.objdbg: New directory, tests for debugging info
7118 in object files.
7119 gdb.hp/tools: New directory, aux tools for HP-specific tests.
7120
7121 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
7122
7123 * gdb.base/display.exp: Help expect by putting a newline in the
7124 funky printf, remove a bogus p/a test.
7125
7126 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7127
7128 * gdb.base/display.exp: Make sure that when we say 'run', we are
7129 connected to the target. This is necessary when running not
7130 natively.
7131
7132 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
7133
7134 * gdb.base/step-test.exp: Removed some extraneous messages.
7135
7136 * gdb.base/long_long.exp: Don't run memory examination tests
7137 on little-endian targets (they will need a different set of
7138 results to match).
7139
7140 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
7141
7142 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
7143 until somebody decides to fix GDB.
7144
7145 * gdb.base/long_long.c: Stop compiler complaint by specifying long
7146 constant as "ULL".
7147 * gdb.base/long_long.exp: Loosen x/c test, add partial result
7148 matches for a couple x/2 commands.
7149
7150 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
7151
7152 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
7153 by merging in ref-types2 tests.
7154 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
7155
7156 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7157 * gdb.c++/Makefile.in: Add standard actions.
7158 (EXECUTABLES): Rename from PROGS, update list.
7159 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
7160 from gdb.hp.
7161 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
7162 foo and bar locals.
7163 * gdb.c++/anon-union.exp: Fix tests to match.
7164 * gdb.c++/classes.exp: Run if HP compiler used, add extra
7165 expect matches to handle output variations.
7166 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
7167 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
7168 output, add HP alternatives for new and delete prints.
7169 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
7170 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
7171 * gdb.c++/demangle.exp: Use $style when reporting failure.
7172 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
7173 * gdb.c++/inherit.exp: Run if HP compiler used, add some
7174 match alternatives.
7175 * gdb.c++/local.exp: Add match alternatives or xfails for HP
7176 compilers.
7177 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
7178 * gdb.c++/method.exp: Add match alternatives.
7179 * gdb.c++/misc.cc: Add bool types.
7180 * gdb.c++/misc.exp: Add tests for bool types.
7181 * gdb.c++/overload.exp: Add xfails.
7182 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
7183 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
7184 add some more template parameter tests (only for HP currently).
7185 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
7186 * gdb.c++/virtfunc.cc: Add return type and value for main.
7187 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
7188 match alternatives.
7189
7190 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7191
7192 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
7193
7194 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
7195
7196 * gdb.base/signals.exp: Don't expect getting a backtrace from
7197 within a signal handler to fail on Linux.
7198
7199 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
7200
7201 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7202 * lib/gdb.exp: Remove some gratuitious semicolons.
7203 (delete_breakpoints): Increase timeout.
7204 (gdb_expect): Add -notransfer option.
7205 (gdb_test): Use -notransfer option.
7206 (get_compiler_info): Add f77 case.
7207 (get_compiler): New proc, split out from gdb_preprocess, add f77
7208 case.
7209 (gdb_preprocess): Call get_compiler.
7210
7211 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
7212 * gdb.base/attach.exp, gdb.base/display.exp,
7213 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
7214 gdb.base/long_long.exp, gdb.base/printcmds.exp,
7215 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
7216 third arg to gdb_test.
7217 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
7218 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
7219 HP-UX xfails, add others.
7220 * gdb.base/completion.exp: Reflect name change of self-test.
7221 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
7222 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
7223 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
7224 HP failure number.
7225 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
7226 useless HP-UX 10.30 references.
7227 * gdb.base/maint.exp: Loosen matches.
7228 * gdb.base/pointers.c (main): Declare more_code.
7229 * gdb.base/pointers.exp: Match on output of a `next'.
7230 * gdb.base/structs.c: Add prototypes.
7231 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
7232 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
7233
7234 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7235
7236 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
7237 command.
7238
7239 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7240
7241 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
7242 Fix run to main failures. Watchpoint can be hardware watchpoint.
7243
7244 * gdb.base/annota1.exp: Clean up some more, in case printf has
7245 debug info. Deal with lack of signal hanlder info in stack.
7246
7247 From Jim Kingdon <kingdon@redhat.com>:
7248 * gdb.base/annota1.exp: If printf has debug info, deal with it.
7249
7250 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
7251
7252 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
7253 gdb.base/foll-vfork.exp: Don't run for crosses.
7254
7255 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
7256
7257 * gdb.base/configure.in: Check for gdbvars.exp instead of
7258 a1-selftest.exp.
7259 * gdb.base/configure: Re-generate.
7260
7261 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
7262
7263 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
7264 in trying to run first and name is too long.
7265
7266 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
7267 pointers2.c and pointers2.exp, respectively.
7268 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
7269 doschk happier.
7270
7271 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
7272
7273 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
7274 callfuncs2.c and callfuncs2.exp.
7275
7276 * gdb.base/list.exp: Remove mistaken xfails.
7277 * gdb.base/list0.h: Add optional prototypes.
7278
7279 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
7280
7281 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
7282 calling malloc.
7283 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
7284 * ptype.exp: Move test for get_debug_format to before its first
7285 use.
7286
7287 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7288
7289 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
7290 * gdb.base/annota2.cc, annota2.exp: Move from here.
7291 * gdb.c++/annota2.cc, annota2.exp: To here.
7292 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
7293
7294 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
7295
7296 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
7297 a consistent format.
7298
7299 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
7300
7301 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7302 * lib/gdb.exp (get_compiler_info): Add detection for assorted
7303 HP compilers, also set the globals $true and $false.
7304
7305 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
7306 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
7307 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
7308 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
7309 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
7310 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
7311 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
7312 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
7313 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
7314 whatis.c} Add C++ compatible function definitions and return
7315 types, add includes for library functions.
7316 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
7317 * gdb.base/step-test.c (myglob): Rename from glob.
7318 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
7319 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
7320 files, move here from gdb.hp.
7321 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
7322 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
7323 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
7324 Adjust line numbers in regexps.
7325
7326 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
7327 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
7328 instead of 0/1.
7329
7330 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
7331 foll-vfork.exp: New files, move here from gdb.hp.
7332 * gdb.base/page.exp: New file, test of pagination command.
7333
7334 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
7335 recursion test.
7336 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
7337
7338 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
7339 gdb.base/solib.exp: Fix compiler invocation process.
7340
7341 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
7342 HP-UX 11, turn off overload resolution explicitly.
7343 * gdb.base/commands.exp: Set argument list explicitly, add
7344 watchpoint test.
7345 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
7346 them work.
7347 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
7348 expressions properly.
7349 * gdb.base/corefile.exp: Loosen the match slightly.
7350 * gdb.base/default.exp: Allow "Error accessing memory" message
7351 also.
7352 * gdb.base/display.exp: Skip over x/0 j if PA64.
7353 * gdb.base/funcargs.exp: Add xfails for HP-UX.
7354 * gdb.base/interrupt.exp: Ditto.
7355 * gdb.base/langs.exp: Add symbolic matches governed by compiler
7356 in use.
7357 * gdb.base/list.exp: Add xfails for HP-UX.
7358 * gdb.base/long_long.exp: Refine some of the numeric matches.
7359 * gdb.base/mips_pro.exp: Xfail on HP-UX.
7360 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
7361 * gdb.base/nodebug.exp: Succeed on more varieties of output.
7362 * gdb.base/opaque.exp: Remove some HP-UX xfails.
7363 * gdb.base/ptype.exp: Succeed on more varieties of output.
7364 * gdb.base/scope.exp: Add xfails for HP-UX.
7365 * gdb.base/sect-cmd.exp: Add more cases.
7366 * gdb.base/setvar.exp: Add xfails for HP-UX.
7367 * gdb.base/shlib-call.exp: Loosen some matches slightly.
7368 * gdb.base/signals.exp: Match on void symbolically.
7369 * gdb.base/step-test.exp: Add case for PA64.
7370 * gdb.base/term.exp: Add exit and restart.
7371 * gdb.base/twice.exp: Clean up after self.
7372 * gdb.base/varargs.exp: Disable overload resolution explicitly.
7373 * gdb.base/whatis.exp: Allow more ways to pass tests.
7374
7375 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
7376 no longer useful.
7377
7378 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
7379
7380 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
7381 list of patterns.
7382 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
7383 print_double_array(double_array)", "continuing to breakpoint
7384 1018", "print print_double_array(array_d)" and "continuing to
7385 1034" tests.
7386
7387 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
7388
7389 * Makefile.in: Add empty html and install-html targets.
7390
7391 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
7392
7393 * config/mt-*: Remove, these haven't been used since 1996.
7394
7395 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
7396
7397 * gdb.base/call-strs.c, gdb.base/ending-run.c,
7398 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
7399 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
7400
7401 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
7402
7403 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
7404 simpler match case for the ptype of the big class.
7405
7406 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7407
7408 * gdb.exp: Fix test for gdb_prompt existence.
7409
7410 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7411
7412 * gdb.exp (gdb_test): Add fail after calls to perror.
7413
7414 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7415
7416 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7417
7418 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7419
7420 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7421
7422 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
7423
7424 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
7425 malloc() is linked in.
7426
7427 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
7428
7429 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7430 step at end.
7431
7432 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7433
7434 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
7435
7436 * gdb.java/jv-print.exp: New file. (Our first Java test!)
7437
7438 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
7439
7440 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7441 * gdb.base/mips_pro.exp: Likewise.
7442
7443 1999-06-02 Keith Seitz <keiths@cygnus.com>
7444
7445 * gdb.c++/templates.cc: Change all "new" operators to throw
7446 an exception.
7447 * gdb.c++/cplusfuncs.cc: Likewise.
7448
7449 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7450
7451 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
7452
7453 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7454 * gdb.base/ending-run.exp: When stepping out of main, accept a
7455 step into an arbitrary assembler file.
7456
7457 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7458
7459 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
7460 "breakpoint-invalid" to be printed.
7461 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
7462 number of "frames-invalid" and "breakpoint-invalid" to be printed.
7463 * gdb.base/annota2.cc: Initialize a.x to 0.
7464
7465 1999-05-17 Keith Seitz <keiths@cygnus.com>
7466
7467 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7468 when "skip_float_tests" set.
7469 Ditto for "print print_double_array(array_d)", "print print_small_structs",
7470 "print print_ten_doubles", and "step into print_long_arg_list".
7471 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7472 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7473 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7474 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7475 "skip_float_tests" is set.
7476 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7477 when "skip_float_tests" set.
7478
7479 1999-05-06 Keith Seitz <keiths@cygnus.com>
7480
7481 * gdb.base/annota2.cc: Include stdio.h.
7482
7483 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
7484
7485 * gdb.base/crossload.exp: Remove, this has been disabled ever
7486 since BFD stopped including all targets, and cross-GDB gets
7487 plenty of testing anyway.
7488 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7489 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7490 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7491 * gdb.base/README: Remove, was doc for this.
7492 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7493 needed.
7494
7495 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7496
7497 * gdb.base/call-ar-st.exp: Fix one regular expression in test
7498 output.
7499
7500 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7501 * gdb.base/annota2.exp: New file. More annotation tests.
7502 * gdb.base/annota1.c: New file. Source file for annota1.exp.
7503 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7504
7505 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
7506
7507 * config/cfdbug.exp: New file.
7508
7509 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
7510
7511 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7512 Marcus Daniel's and Dale Hawkins's demangler crashes.
7513
7514 * gdb.c++/demangle.exp (test_gnu_style_demangling,
7515 test_lucid_style_demangling, test_arm_style_demangling,
7516 test_hp_style_demangling): Try Tom Tromey's core-dumping
7517 identifier under each demangling style.
7518
7519 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
7520
7521 * gdb.c++/demangle.exp: Include the current demangling style
7522 in all test names.
7523 (current_demangling_style): New global variable.
7524 (set_demangling_style, test_demangling_core, test_demangling,
7525 test_demangling_exact): New functions.
7526 (test_gnu_style_demangling, test_lucid_style_demangling,
7527 test_arm_style_demangling, test_hp_style_demangling): Use those,
7528 instead of calling gdb_test and gdb_test_exact directly.
7529 (catch_demangling_errors): New function, which reports errors
7530 signalled by the demangling test functions in an orderly way.
7531 (do_tests): Use catch_demangling_errors.
7532
7533 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7534
7535 * gdb.base/signals.exp (test_handle_all_print): Use () for
7536 grouping in expressions, not {}.
7537
7538 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7539 initialized yet.
7540
7541 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7542
7543 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7544 are listed.
7545
7546 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7547
7548 * gdb.stabs/weird.exp: Test for CC being defined before
7549 looking at its value.
7550
7551 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7552
7553 * gdb.base/call-ar-st.exp: Remove stray '#'.
7554 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7555 "short int" and "long int".
7556 * gdb.c++/overload.cc: Cast the string added in the previous
7557 change, to mollify finicky HP compiler.
7558 * gdb.hp/reg-test.exp (testfile): Fix file name.
7559 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
7560
7561 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7562 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7563 alternate form of enum ptype.
7564
7565 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7566
7567 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7568 * gdb.hp/*.exp: Change all to run compiler probe only after
7569 passing skip_hp_tests, so as not to waste time on guaranteed
7570 failure.
7571
7572 * gdb.c++/overload.cc: Pass string instead of char addr, always
7573 init ccpfoo.
7574 * gdb.c++/templates.cc: Fix syntax error.
7575
7576 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7577
7578 * gdb.base/commands.exp: Add test for correct position of '>'
7579 when issuing the 'commands' command after a 'while' or 'if'
7580 command.
7581
7582 1999-03-18 James Ingham <jingham@cygnus.com>
7583
7584 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7585
7586 * gdb.c++/method.exp: It was testing an uninitialized int on the
7587 stack and assuming it was positive.
7588
7589 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7590
7591 * gdb.base/step-test.exp: Catch a case where finish is broken and
7592 keep it from killing the rest of the tests.
7593 Use gdb_continue_to_end.
7594
7595 * gdb.base/sigall.exp: use gdb_continue_to_end.
7596
7597 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7598
7599 * gdb.base/display.exp: use runto_main, not run.
7600
7601 * gdb.base/default.exp: Check for the current error message in the
7602 r abbreviation test.
7603 Add strongarm to the targets that know info float.
7604
7605 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7606 run which doesn't work with monitors.
7607
7608 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7609
7610 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7611
7612 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
7613 program. Traps the case (in Cygmon) when the program never really
7614 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7615 more places, so I used my name. Sorry Mark...
7616
7617 * config/monitor.exp (gdb_target_monitor): added another
7618 target_info parameter: remotebinarydownload. This will set the
7619 remotebinarydownload flag if this is causing some boards trouble.
7620
7621 1999-03-18 Mark Salter <msalter@cygnus.com>
7622
7623 * lib/gdb.exp (continue_to_exit): New function.
7624
7625 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7626 * gdb.base/ending-run.exp: Ditto.
7627 * gdb.base/step-test.exp: Ditto.
7628
7629 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7630
7631 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7632 (suggested by Art Haas <ahaas@neosoft.com>).
7633
7634 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7635
7636 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7637
7638 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7639
7640 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7641 descriptions of types (short unsigned int vs unsigned short, etc).
7642
7643 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7644
7645 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7646 a call to strlen; sometimes we do have sources.
7647
7648 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7649
7650 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7651 character, so GDB won't print garbage after its end.
7652
7653 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7654 breakpoint there instead. Sometimes GCC emits memcpy to handle
7655 the large structures being passed by value, so we step into that
7656 instead of sum_array_print, which obscures what we're really testing.
7657 * gdb.base/step-test.exp: However, we do want a test that notices
7658 the bizarre steps into memcpy, so do that here. Add check for
7659 stepping into function calls that pass large structures by value.
7660 ("Is that a noun clause, or are you just happy to see me?")
7661 Remove all references to specific line numbers.
7662 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7663 New type and function.
7664 (main): Call large_struct_by_value, passing it a large struct by value.
7665 * lib/gdb.exp (gdb_get_line_number): New function.
7666
7667 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7668 more portable.
7669
7670 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7671
7672 * lib/gdb.exp: Doc fixes.
7673
7674 1999-03-05 Nick Clifton <nickc@cygnus.com>
7675
7676 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7677
7678 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7679
7680 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7681 commands. They're not germane to this test, and they don't work
7682 that way on remote targets.
7683
7684 1999-03-01 James Ingham <jingham@cygnus.com>
7685
7686 * Changelog entries merged over from gdb development branch.
7687
7688 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7689
7690 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7691 for outputting results of test run.
7692
7693 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
7694
7695 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
7696
7697 1999-02-25 Felix Lee <flee@cygnus.com>
7698
7699 * lib/gdb.exp (debug_format): initialize
7700
7701 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7702
7703 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7704 * gdb.base/call-rt-st.c: Ditto.
7705
7706 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7707
7708 * gdb.threads/pthreads.exp (horiz): New variable.
7709 (test_startup): Fix regexps that capture thread numbers.
7710
7711 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7712
7713 * gdb.base/smoke.exp: Disambiguate two test case names (both
7714 called ``print'').
7715
7716 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7717
7718 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7719 compilation.
7720
7721 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7722
7723 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7724 actual output formatting.
7725 * gdb.base/smoke.exp: GDB removes leading 0's.
7726 * gdb.base/volatile.exp: Don't check type of remuneration;
7727 that variable is no longer defined in constvars.c.
7728 * gdb.base/step-test.c (main): Exit with explicit exit code.
7729 * gdb.base/step-test.exp: Remove two nexti checks--they are
7730 not portable.
7731
7732 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7733
7734 * gdb.base/help.exp ("help delete display"): Fix test to match
7735 gdb's output.
7736
7737 * gdb.base/long_long.c (known_types): Initialize values to zero.
7738 * gdb.base/long_long.exp: Step one more line
7739 so 'dec' is initialized in "get to known place". GDB removes
7740 leading zeros. Explicitly ask for hex formatting. Use
7741 unique test case names.
7742
7743 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7744
7745 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
7746
7747 * gdb.c++/method.exp: Add missing close brace.
7748
7749 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7750
7751 * gdb.base/maint.exp: Use 'set height 0' to disable page
7752 prompting, not 'set height 400'.
7753
7754 Fix a bunch of timeouts.
7755 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7756 four separate tests, so expect doesn't take forever to match a ton
7757 of text against a regexp with lots of .* forms.
7758 ("maint print psymbols", "maint print symbols"): Make some of
7759 these greps more selective, so that expect doesn't try to wade
7760 through huge piles of output and time out.
7761
7762 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7763
7764 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7765 tests: one which doesn't expect shlib events to be reported, and
7766 another which does, but is XFAIL for all platforms other than
7767 HP/UX.
7768
7769 * gdb.base/break.exp: Teach the test suite that the `catch
7770 fork', `catch vfork', and `catch exec' commands produce error
7771 messages on platforms that don't provide these features.
7772
7773 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7774
7775 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7776 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7777 (shortening names from solib_threshold.exp etc), won't run on
7778 anything but HP-UX for the foreseeable future.
7779 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7780 reflect move.
7781
7782 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7783
7784 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7785 gdb.trace/Makefile.in (clean): Remove all test executables.
7786
7787 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7788
7789 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7790 successfully re-sets breakpoints in shared libraries.
7791 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7792
7793 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7794
7795 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7796 and compiled w/o GCC.
7797
7798 * gdb.hp/watch-cmd.exp: ditto.
7799
7800 * gdb.hp/watch-hp.exp: ditto.
7801
7802 * gdb.hp/xdb1.exp: ditto.
7803
7804 * gdb.hp/xdb2.exp: ditto.
7805
7806 * gdb.hp/dbx.exp: ditto.
7807
7808 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7809
7810 * constvars.c: Remove C++-isms.
7811 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7812 with GCC.
7813
7814 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7815
7816 The following changes are part of the HP merge.
7817
7818 * gdb.base/break.exp: new tests to verify that catchpoints for
7819 fork, vfork, and exec don't trigger inappropriately.
7820
7821 * gdb.base/opaque.exp: compile one file at a time, then link.
7822
7823 * gdb.base/signals.exp: be more restrictive about which hppa
7824 systems receive a setup_xfail. new tests.
7825
7826 * gdb.base/solib_threshold.build: new file.
7827 * gdb.base/solib_threshold.exp: new file.
7828 * gdb.base/solib_threshold.link_opts: new file.
7829 * gdb.base/solib_threshold.mk: new file.
7830 * gdb.base/gen_solib_threshold.c: new file.
7831
7832 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7833 tests. New tests for enums inside classes.
7834
7835 * gdb.c++/compiler.cc: indicate support of template debugging.
7836
7837 * gdb.c++/demangle.exp: run hp style demangling tests.
7838
7839 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7840 tests.
7841
7842 * gdb.c++/misc.cc: changes to support new tests.
7843
7844 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7845 to support new tests.
7846
7847 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7848 gcc, then skip these tests.
7849
7850 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7851
7852 The following files are part of the HP merge; some had longer
7853 names at HP, but have been renamed to be no more than 14
7854 characters in length.
7855
7856 * gdb.hp/ambiguous.cc: new file.
7857 * gdb.hp/ambiguous.exp: new file.
7858 * gdb.hp/attach.exp: new file.
7859 * gdb.hp/attach2.exp: new file.
7860 * gdb.hp/classes-hp.exp: new file.
7861 * gdb.hp/ctti.exp: new file.
7862 * gdb.hp/ctti-add.cc: new file.
7863 * gdb.hp/ctti-add1.cc: new file.
7864 * gdb.hp/ctti-add2.cc: new file.
7865 * gdb.hp/ctti-add3.cc: new file.
7866 * gdb.hp/dbx.exp: new file.
7867 * gdb.hp/exception.cc: new file.
7868 * gdb.hp/exception.exp: new file.
7869 * gdb.hp/foll-exec.c: new file.
7870 * gdb.hp/foll-exec.exp: new file.
7871 * gdb.hp/foll-fork.c: new file.
7872 * gdb.hp/foll-fork.exp: new file.
7873 * gdb.hp/foll-vfork.c: new file.
7874 * gdb.hp/foll-vfork.exp: new file.
7875 * gdb.hp/inherit-hp.exp: new file.
7876 * gdb.hp/more-steps.exp: new file.
7877 * gdb.hp/namespace.cc: new file.
7878 * gdb.hp/namespace.exp: new file.
7879 * gdb.hp/optimize.exp: new file.
7880 * gdb.hp/pxdb.c: new file.
7881 * gdb.hp/pxdb.exp: new file.
7882 * gdb.hp/quicksort.exp: new file.
7883 * gdb.hp/reg-test.exp: new file.
7884 * gdb.hp/reg-test.s: new file.
7885 * gdb.hp/sized-enum.c: new file.
7886 * gdb.hp/sized-enum.exp: new file.
7887 * gdb.hp/start-stop.exp: new file.
7888 * gdb.hp/templ-hp.cc: new file.
7889 * gdb.hp/templ-hp.exp: new file.
7890 * gdb.hp/thr-lib.c: new file.
7891 * gdb.hp/thr-lib.exp: new file.
7892 * gdb.hp/thr-lib.h: new file.
7893 * gdb.hp/thr-liblib.c: new file.
7894 * gdb.hp/virtfun-hp.c: new file.
7895 * gdb.hp/virtfun-hp.exp: new file.
7896 * gdb.hp/watch-cmd.exp: new file.
7897 * gdb.hp/watch-hp.exp: new file.
7898 * gdb.hp/xdb1.exp: new file.
7899 * gdb.hp/xdb2.exp: new file.
7900 * gdb.hp/xdb3.exp: new file.
7901
7902 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7903
7904 The following files are part of the HP merge; some had longer
7905 names at HP, but have been renamed to be no more than 14
7906 characters in length.
7907
7908 * gdb.base/ss.h: new file.
7909 * gdb.base/call-ar-st.c: new file.
7910 * gdb.base/call-ar-st.exp: new file.
7911 * gdb.base/call-rt-st.c: new file.
7912 * gdb.base/call-rt-st-exp: new file.
7913 * gdb.base/call-strs.exp: new file.
7914 * gdb.base/ena-dis-br.exp: new file.
7915 * gdb.base/environ.exp: new file.
7916 * gdb.base/long_long.exp: new file.
7917 * gdb.base/sect-cmd.exp: new file.
7918 * gdb.base/shlib-cl2.exp: new file.
7919 * gdb.base/smoke.exp: new file.
7920 * gdb.base/so-impl-ld.c: new file.
7921 * gdb.base/so-impl-ld.exp: new file.
7922 * gdb.base/so-indr-cl.c: new file.
7923 * gdb.base/so-indr-cl.exp: new file.
7924 * gdb.base/varargs.exp: new file.
7925 * gdb.base/volatile.exp: new file.
7926 * gdb.base/whatis-exp.exp: new file.
7927 * gdb.base/display.exp: new file.
7928 * gdb.c++/derivation.exp: new file.
7929 * gdb.c++/local.exp: new file.
7930 * gdb.c++/member-ptr.exp: new file.
7931 * gdb.c++/overload.exp: new file.
7932 * gdb.c++/ovldbreak.exp: new file.
7933 * gdb.c++/ref-types.exp: new file.
7934 * gdb.c++/ref-types2.exp: new file.
7935 * gdb.c++/userdef.exp: new file.
7936
7937 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7938
7939 * gdb.base/default.exp: Reflect wording change in remote.c.
7940
7941 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
7942
7943 * gdb.base/help.exp: Update to reflect current text.
7944
7945 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7946
7947 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7948 they're stack variables and contain garbage.
7949 * gdb.c++/anon-union.exp: new file.
7950
7951 The following changes were made by David Taylor
7952 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7953 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7954 in changes by HP.
7955
7956 * gdb.base/bitops.exp: new file.
7957 * gdb.base/default.exp: change expected messages for catch and
7958 info catch tests to reflect HP merge changes.
7959 * gdb.base/enable-disable-break.exp
7960 * gdb.base/ending-run.c: new file.
7961 * gdb.base/long_long.c: new file.
7962 * gdb.base/maint.exp: new file.
7963 * gdb.base/pointers2.exp: new file.
7964 * gdb.base/shlib-call2.exp: new file.
7965 * gdb.base/solib.exp: new file.
7966 * gdb.base/step-test.c: new file.
7967 * gdb.c++/anon-union.cc: new file.
7968 * gdb.c++/local.cc: new file.
7969 * gdb.c++/member-pointer.cc: new file.
7970 * gdb.c++/method.cc: new file.
7971 * gdb.c++/ref-types.cc: new file.
7972 * gdb.c++/ref-types2.cc: new file.
7973 * gdb.c++/userdef.cc: new file.
7974
7975 * gdb.base/scope.exp: compile one file at a time, then link.
7976 * gdb.base/langs.exp: ditto.
7977 * gdb.base/list.exp: ditto.
7978
7979 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
7980
7981 The following changes were made by David Taylor
7982 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7983 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7984 in changes by HP.
7985
7986 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7987 skip tests. When compiling pass c++ flag to gdb_compile.
7988 * gdb.c++/
7989
7990 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7991 test for on hppa*-*-hpux*; use args to see if c++ was specified.
7992 (skip_hp_tests): new function.
7993 (gdb_preprocess): new function.
7994
7995 * configure.in (hpdir): decide whether to configure gdb.hp.
7996 * configure: regenerated.
7997
7998 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7999 to delete on clean.
8000 (EXECUTABLES): update to reflect new additions.
8001 * gdb.base/commands.exp: update message expected.
8002 * gdb.base/default.exp: add copyright notice.
8003 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
8004 * gdb.base/help.exp: update messages to reflect current text.
8005 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
8006 targets for recurse tests.
8007 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
8008 skip this file.
8009
8010 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
8011 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
8012 compilation.
8013 * gdb.c++/misc.exp: ditto.
8014 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
8015 run the tests. tell gdb_compile that it's a c++ compilation.
8016
8017 * gdb.threads/pthreads.exp: fix typo in message.
8018
8019 * gdb.base/all-bin.exp: new file.
8020 * gdb.base/arithmet.exp: new file.
8021 * gdb.base/assign.exp: new file.
8022 * gdb.base/completion.exp: new file.
8023 * gdb.base/cond-expr.exp: new file.
8024 * gdb.base/condbreak.exp: new file.
8025 * gdb.base/define.exp: new file.
8026 * gdb.base/dollar.exp: new file.
8027 * gdb.base/environment.exp: new file.
8028 * gdb.base/eval-skip.exp: new file.
8029 * gdb.base/jump.exp: new file.
8030 * gdb.base/logical.exp: new file.
8031 * gdb.base/pointers.exp: new file.
8032 * gdb.base/relational.exp: new file.
8033 * gdb.base/section_command.exp: new file.
8034 * gdb.base/whatis-expr.exp: new file.
8035
8036 * gdb.base/all-types.c: new file.
8037 * gdb.base/call-array-struct.c: new file.
8038 * gdb.base/call-return-struct.c: new file.
8039 * gdb.base/call-strings.c: new file.
8040 * gdb.base/callfuncs2.c: new file.
8041 * gdb.base/condbreak.c: new file.
8042 * gdb.base/constvars.c: new file.
8043 * gdb.base/display.c: new file.
8044 * gdb.base/int-type.c: new file.
8045 * gdb.base/jump.c: new file.
8046 * gdb.base/miscexprs.c: new file.
8047 * gdb.base/pointers.c: new file.
8048 * gdb.base/pointers2.c: new file.
8049 * gdb.base/shmain.c: new file.
8050 * gdb.base/shr1.c: new file.
8051 * gdb.base/shr2.c: new file.
8052 * gdb.base/solib.c: new file.
8053 * gdb.base/solib1.c: new file.
8054 * gdb.base/solib2.c: new file.
8055 * gdb.base/varargs.c: new file.
8056 * gdb.c++/derivation.cc: new file.
8057 * gdb.c++/overload.cc: new file.
8058 * gdb.c++/ovldbreak.cc: new file.
8059 * gdb.hp/attach.c: new file.
8060 * gdb.hp/attach2.c: new file.
8061 * gdb.hp/average.c: new file.
8062 * gdb.hp/compiler.c: new file.
8063 * gdb.hp/compiler.cc: new file.
8064 * gdb.hp/execd-program.c: new file.
8065 * gdb.hp/follow-exec.c: new file.
8066 * gdb.hp/follow-fork.c: new file.
8067 * gdb.hp/follow-vfork-and-exec.c: new file.
8068 * gdb.hp/misc-hp.cc: new file.
8069 * gdb.hp/more-steps.c: new file.
8070 * gdb.hp/optimize.c: new file.
8071 * gdb.hp/quicksort.c: new file.
8072 * gdb.hp/run-hp.c: new file.
8073 * gdb.hp/start-stop.c: new file.
8074 * gdb.hp/sum.c: new file.
8075 * gdb.hp/templates-hp.cc: new file.
8076 * gdb.hp/thread-local-in-lib.c: new file.
8077 * gdb.hp/thread-local-in-lib.h: new file.
8078 * gdb.hp/thread-local-in-lib.lib.c: new file.
8079 * gdb.hp/vforked-program.c: new file.
8080 * gdb.hp/virtfunc-hp.cc: new file.
8081 * gdb.hp/watchpoint-hp.c: new file.
8082 * gdb.hp/xdb.c: new file.
8083 * gdb.hp/xdb0.c: new file.
8084 * gdb.hp/xdb0.h: new file.
8085 * gdb.hp/xdb1.c: new file.
8086
8087 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
8088
8089 The following change was made by Edith Epstein
8090 <eepstein@cygnus.com> as part of a project to merge in changes
8091 originally made by HP; HP did not create ChangeLog entries.
8092
8093 * gdb.c++/demangle.exp: changed the expected output for some
8094 ARM-style mangling -- removed second reference to datatype.
8095 For example, maint demangle __dt__11T1__pt__2_cFv
8096 T1<char>::~T1<char>(void)
8097 becomes,
8098 maint demangle __dt__11T1__pt__2_cFv
8099 T1<char>::~T1(void)
8100
8101 (test_hp_style_demangling): new hp specific demangling test cases.
8102
8103 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
8104
8105 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
8106 * gdb.trace/backtrace.exp: Likewise.
8107 * gdb.trace/circ.exp: Likewise.
8108 * gdb.trace/collection.exp: Likewise.
8109 * gdb.trace/deltrace.exp: Likewise.
8110 * gdb.trace/infotrace.exp: Likewise.
8111 * gdb.trace/limits.exp: Likewise.
8112 * gdb.trace/packetlen.exp: Likewise.
8113 * gdb.trace/passc-dyn.exp: Likewise.
8114 * gdb.trace/passcount.exp: Likewise.
8115 * gdb.trace/report.exp: Likewise.
8116 * gdb.trace/save-trace.exp: Likewise.
8117 * gdb.trace/tfind.exp: Likewise.
8118 * gdb.trace/tracecmd.exp: Likewise.
8119 * gdb.trace/while-dyn.exp: Likewise.
8120 * gdb.trace/while-stepping.exp: Likewise.
8121
8122 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
8123
8124 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
8125
8126 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
8127
8128 From Brendan Kehoe:
8129 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
8130 int return types.
8131
8132 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
8133
8134 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
8135 remote dos host testing right.
8136
8137 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
8138
8139 * gdb.base/corefile.exp: remove some xfails.
8140
8141 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
8142
8143 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
8144 have different timestamps.
8145
8146 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
8147
8148 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
8149 gdb.base/default.exp: Replace "exec" with "executable".
8150
8151 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
8152
8153 * gdb.base/default.exp: Change else if to elseif from previous
8154 delta.
8155
8156 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
8157
8158 * gdb.base/default.exp: Add brace missing from previous delta.
8159
8160 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
8161
8162 * gdb.base/default.exp: Support test for info float for all
8163 varieties of arm toolchain.
8164
8165 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
8166
8167 * gdb.trace/*.exp: remove "remote_download" command.
8168
8169 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
8170
8171 * gdb.trace/*.exp: remove -gdwarf from compile.
8172
8173 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
8174
8175 * gdb.trace/configure.in(AC_INIT): typo
8176 * gdb.trace/configure: regenerated
8177
8178 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
8179
8180 * config/m68k-emc.exp: New file.
8181 * lib/<emc-support.exp trace-support.exp}: New files.
8182 * configure.in: add new test directory gdb.trace.
8183 * gdb.trace/{configure configure.in Makefile.in}: New files.
8184 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
8185 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
8186 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
8187 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
8188 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
8189 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
8190 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
8191
8192 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
8193
8194 * gdb.c++/classes.exp: Change all regular expressions to match
8195 arbitrary combinations of newline/carriage-return, so that they
8196 will work equally well on Unix and Windows.
8197 * gdb.c++/inherit.exp: ditto.
8198 * gdb.c++/virtfunc.exp: ditto.
8199
8200 1998-08-11 Dawn Perchik <dawn@cygnus.com>
8201
8202 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
8203
8204 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
8205
8206 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
8207 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
8208 to use a0-a3/d0-d3 as needed.
8209
8210 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
8211
8212 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
8213 * gdb.disasm/am33.exp: Corresponding changes.
8214
8215 1998-07-11 Felix Lee <flee@cygnus.com>
8216
8217 * gdb.base/callfuncs.exp: add cmp10 test.
8218 * gdb.base/callfuncs.c (cmp10): new function.
8219
8220 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
8221
8222 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
8223 into two parts to get around a synchronization problem in expect.
8224
8225 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
8226
8227 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
8228
8229 * configure.in: Add options for gdbtk testsuite.
8230
8231 * configure: Regenerate.
8232
8233 * gdb.gdbtk: New directory to hold gdbtk tests.
8234
8235 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8236
8237 * gdb.fortran/types.exp: Escape brackets in expect patterns
8238 for test_float_literal_types_accepted tests.
8239 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
8240 before run test.
8241
8242 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
8243
8244 * am33.exp: Just compile, do not link the testcase.
8245 * am33.s: Add ".am33" pseudoop to force am33 mode.
8246
8247 1998-06-25 Felix Lee <flee@cygnus.com>
8248
8249 * gdb.base/setshow.exp: make sure $pc is sane.
8250
8251 * gdb.stabs/weird.exp: split expect patterns properly.
8252
8253 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
8254
8255 * gdb.disasm/am33.s: New disassembler testfile for the am33.
8256 * gdb.disasm/am33.exp: Run it.
8257
8258 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
8259
8260 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
8261 match processing (and eliminate spurious timeouts when running).
8262
8263 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
8264
8265 * gdb.base/signals.exp (test_handle_all_print): put back Mach
8266 exception test, but conditionalize it on target [mach | gnu].
8267
8268 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
8269
8270 * gdb.base/overlays.exp: fixup compile line for linker script.
8271
8272 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
8273
8274 * gdb.fortran/types.exp: don't guess at float size.
8275
8276 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
8277
8278 * gdb.base/exprs.exp: delete test that depends on int size.
8279
8280 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
8281
8282 * config/sim.exp: Removed checks for target triplets.
8283 (gdb_target_sim): Use gdb,target_sim_options.
8284
8285 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
8286
8287 * gdb.base/reread.exp: New file.
8288 * gdb.base/reread1.c: New file.
8289 * gdb.base/reread2.c: New file.
8290
8291 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
8292
8293 * config/sim.exp: Use 'target sim -sparclite' when running
8294 SPARClite programs.
8295
8296 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
8297
8298 * gdb.base/structs2.exp: New file.
8299 * gdb.base/structs2.c: New file.
8300
8301 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
8302
8303 * gdb.asm/common.inc: New file.
8304 * gdb.asm/d10v.inc: New file.
8305 * asm-source.exp: Pass -I's to gas to find .inc files.
8306 Update line numbers in expected output.
8307 * asmsrc1.s: Rewrite.
8308 * asmsrc2.s: Rewrite.
8309 * configure.in: Create arch.inc symlink.
8310 * configure: Regenerate.
8311 * Makefile.in (distclean): Delete arch.inc.
8312
8313 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
8314
8315 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
8316 (t_enum_value2): ditto
8317 (t_enum_value3): ditto
8318 (main): ditto
8319 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8320
8321 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
8322 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
8323 change.
8324 Use gdb_test instead of send_gdb/gdb_expect sequences.
8325
8326 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
8327
8328 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
8329 not void.
8330
8331 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
8332
8333 * gdb.base/branches.c: Code with lots of loops and
8334 subroutines. Used to test gdbs ability to single step through PC
8335 changes, especially to test mips-tdep.c:mips_next_pc
8336
8337 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
8338
8339 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
8340 more rigorous EGCS C++ error checking.
8341
8342 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8343
8344 * gdb.base/help.exp: Clean up `help set args' and `help show args'
8345 tests.
8346 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
8347 function when asleep.
8348 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
8349 for i*86 Linux and SVR4 signal handling problems.
8350 Remove linux xfail for `next to handler in signals_tests_1', fixed
8351 by recent infrun.c change.
8352 Limit backtrace to 10 frames to avoid timeout problems with infinite
8353 stack backtraces.
8354 Adjust expect pattern in `handle all print' test to match Apr 28 1997
8355 target.[ch] change.
8356
8357 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
8358
8359 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
8360 for a newline from gdb before continuing.
8361 (default_gdb_exit): Just look for y or n.
8362 (gdb_test): Detect abnormal exit from GDB running on DOS; if
8363 it does, fail the rests of the tests in the file.
8364
8365 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
8366
8367 * config/cygmon.exp: New file.
8368
8369 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
8370
8371 * gdb.base/list.exp: Fix problem with "list default lines around
8372 main" test on remote targets.
8373
8374 * gdb.base/scope.exp: Fix problem with filelocal_bss before
8375 run test on remote targets.
8376
8377 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
8378
8379 * gdb.asm: New directory.
8380 * configure.in: Configure it.
8381 * configure: Regenerate.
8382 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
8383 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
8384
8385 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
8386
8387 * config/mn10300-eval.exp: New file to support MN10300 eval board.
8388
8389 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
8390
8391 * gdb.base/overlays (several files): Merge the two overlay
8392 managers into one. Change variables (foox, barx, bazx, grbxx)
8393 back into ints but force them to load in their proper sections.
8394
8395 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
8396
8397 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
8398 on-chip insn memory and IMAP1 to upper 128k.
8399 (D10VCopy): Handle memory regions crossing 16k boundaries.
8400 (D10VCopy): Transfer data in 32 bit chunks.
8401
8402 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
8403
8404 * gdb.base/overlays.c (main): Exit normally when result is
8405 correct.
8406
8407 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
8408 map. Include space for printf in .text segment.
8409
8410 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
8411 updated d10v memory VMA/LMA map.
8412 (D10VCopy): Call D10VTranslate.
8413
8414 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
8415
8416 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8417
8418 * gdb.base/bar.c (barx, bar): Change variable to small array so
8419 that it won't be put into the .sdata - small data -
8420 section. Update reference.
8421 * gdb.base/baz.c (bazx, baz): Ditto.
8422 * gdb.base/foo.c (foox, foo): Ditto.
8423 * gdb.base/grbx.c (grbxx, grbx): Ditto.
8424
8425 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8426 to be arrays.
8427
8428 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
8429
8430 * gdb.base/overlays.exp: fix up and get working again.
8431 Add tests for backtraces from an overlay function.
8432
8433 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
8434
8435 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8436 "calling function with watchpoint enabled".
8437
8438 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
8439
8440 * gdb.base/break.exp (test_next_with_recursion): Remove
8441 gdb_suppress_tests for d10v-*-*.
8442 * lib/gdb.exp (gdb_suppress_tests): Disable this function
8443 pending review of whether it is useful or not.
8444
8445 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
8446
8447 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8448
8449 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
8450
8451 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8452 * config/dve.exp: New file to support Densan boards.
8453
8454 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
8455
8456 * gdb.base/interrupt.exp: Document problem of simulators, signals,
8457 reads and BSD.
8458
8459 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
8460
8461 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8462 response.
8463
8464 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8465
8466 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
8467
8468 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8469 test.
8470
8471 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8472 target_sizeof_long and target_bigendian_p.
8473 (structs_by_value, structs_by_reference): Check values according
8474 to targets word size and endianess.
8475
8476 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
8477
8478 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8479 output.
8480
8481 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
8482
8483 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8484 Update test of set args help to match source change.
8485
8486 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
8487
8488 * gdb.base/default.exp: Expect help system output to be in
8489 alphabetical order.
8490 * gdb.base/help.exp: Ditto.
8491
8492 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
8493
8494 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8495 "i*86-pc-linux-gnu*".
8496 * gdb.base/interrupt.exp: Ditto.
8497 * gdb.base/corefile.exp: Ditto.
8498
8499 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8500 define vxworks when building the testcase.
8501
8502 * gdb.base/ptype.exp: Fix testnames to be unique.
8503 * gdb.base/radix.exp: Ditto.
8504 * gdb.base/term.exp: Ditto.
8505 * gdb.base/whatis.exp: Ditto.
8506 * gdb.c++/classes.exp: Ditto.
8507
8508 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
8509
8510 * gdb.base/callfuncs.exp: Fix indentation.
8511
8512 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8513 suppress_flag has been set.
8514 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8515 target feature.
8516
8517 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
8518
8519 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8520 the testcase.
8521
8522 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8523 set_debug_traps() and breakpoint().
8524 * gdb.c++/misc.cc (main): Ditto.
8525 * gdb.c++/templates.cc (main): Ditto.
8526 * gdb.c++/virtfunc.cc (main): Ditto.
8527
8528 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8529
8530 * lib/gdb.exp(gdb_step_for_stub): New function.
8531 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8532 exists, reload the executable and do a "continue" instead of
8533 doing a jump.
8534 (runto_main): Use gdb_step_for_stub.
8535
8536 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8537 tests to have unique names.
8538 * gdb.base/callfuncs.exp: Ditto.
8539 * gdb.base/commands.exp: Ditto.
8540 * gdb.base/default.exp: Ditto.
8541 * gdb.base/help.exp: Ditto.
8542 * gdb.base/list.exp: Ditto.
8543 * gdb.base/opaque.exp: Ditto.
8544 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8545 similar tests.
8546
8547 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8548 * gdb.c++/cplusfuncs.cc: Ditto.
8549 * gdb.c++/virtfunc.cc: Ditto.
8550
8551 * config/monitor.exp: Keep track of the last file we saw, rather
8552 than trying to get the info from gdb.
8553
8554 * gdb.fortran/types.exp: Move comment to previous line.
8555
8556 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8557
8558 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8559 target mode.
8560
8561 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8562
8563 From Bob Manson:
8564 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8565 string from GDB when it connects.
8566
8567 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8568
8569 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8570
8571 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8572 if we can't get a debug format from GDB (we may be testing an
8573 older GDB). Use a 10 second timeout when checking for the format.
8574
8575 * gdb.stabs/weird.exp: Fix quoting.
8576
8577 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8578
8579 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8580
8581 * config/arm-ice.exp: New file.
8582
8583 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8584
8585 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8586 until it has been modified to work with the new testsuite.
8587
8588 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
8589 testcase won't compile, cause all of the testcases in the file to
8590 fail instead.
8591
8592 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8593 (gdb_clear_suppressed): New procedure.
8594 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8595 it contains a positive value.
8596
8597 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8598
8599 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8600
8601 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8602
8603 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8604
8605 * lib/gdb.exp (setup_xfail_format): New function.
8606 (get_debug_format): New function to get debug format.
8607 (debug_format): New global variable to hold last value set
8608 by get_debug_format.
8609 * gdb.base/list.exp: Call get_debug_format and expect some
8610 tests to fail for DWARF 1 and COFF formats.
8611 * gdb.c++/ptype.exp: Ditto.
8612 * gdb.c++/classes.exp: Ditto.
8613 * gdb.c++/cplusfuncs.exp: Ditto.
8614 * gdb.c++/inherit.exp: Ditto.
8615 * gdb.c++/templates.exp: Ditto.
8616 * gdb.c++/virtfunc.exp: Ditto.
8617
8618 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8619
8620 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8621 host doesn't have a currently-open connection.
8622
8623 * config/sparclet.exp: Cleanups and fixes to make it generic for
8624 any gdb stub target. Handle cases where gdb doesn't respond when
8625 interrupted in a sane fashion.
8626
8627 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8628 same thing in a totally different way.
8629
8630 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8631 setting "timeout".
8632 (gdb_start): We set the global gdb_prompt variable in
8633 default_gdb_init now.
8634
8635 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8636
8637 * gdb.base/printcmds.exp: Fix "check for floating addition"
8638 regexp to accept results within approx +/- .01 of exact value.
8639 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8640
8641 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8642
8643 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8644 properly.
8645 (gdb_expect): Add optional timeout parameter, and add timeout
8646 value to various calls.
8647 (gdb_suppress_tests): Only give one warning message per group.
8648
8649 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8650
8651 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8652 global variables. Handle getting a value for $timeout more
8653 gracefully.
8654
8655 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8656
8657 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8658 initialize.
8659 (default_gdb_init): New procedure; allow gdb_init to be overridden
8660 by a target configuration file.
8661 (gdb_expect): Pass the timeout to remote_expect.
8662
8663 * config/monitor.exp(gdb_load): Fix typo in regexp.
8664
8665 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8666
8667 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8668
8669 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8670
8671 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8672 here. Call gdb_target_exec before rebooting the target, to make
8673 sure the connection to the target is closed.
8674 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8675 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8676 Also detect "Timeout reading from remote" error.
8677
8678 * config/gdbserver.exp: Pass the executable being loaded to
8679 gdb_target_monitor. Don't call gdb_file_cmd here; let
8680 gdb_target_monitor do it.
8681
8682 * gdb.disasm/hppa.exp: Don't use exec_output.
8683
8684 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8685
8686 * gdb.base/list.exp: If we're debugging a non-native target,
8687 try to set the pc register to point to the start of the
8688 program before doing the first list command.
8689
8690 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8691 test_calls after restarting.
8692
8693 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8694 reloading.
8695
8696 * gdb.base/watchpoint.exp: Fix typo.
8697
8698 * gdb.base/setshow.exp: Check for use_gdb_stub.
8699
8700 * gdb.base/break.exp: Fix continue until exit test for the gdb
8701 stub case.
8702 * gdb.base/langs.exp: Ditto.
8703
8704 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8705 gdb_load_offset. If we weren't given a file to load, figure out
8706 what the current file is and use it.
8707
8708 * config/i386-bozo.exp: New file.
8709
8710 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8711
8712 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8713 feature.
8714
8715 * config/proelf.exp: New entry.
8716
8717 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8718
8719 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8720 of regexps.
8721
8722 * gdb.base/watchpoint.exp: Don't run the test_stepping
8723 tests if gdb can't call functions on the target.
8724
8725 * gdb.base/setshow.exp: Don't run the set prompt tests if
8726 the board has gdb_prompt set.
8727
8728 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8729
8730 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8731 * gdb.base/commands.exp: Likewise.
8732 * gdb.base/setshow.exp: Likewise.
8733
8734 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8735
8736 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8737 feature.
8738
8739 * config/i960.exp: New file.
8740
8741 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8742
8743 * gdb.base/funcargs.exp: Check for gdb,short_int target
8744 feature instead of looking for explicit target triplets.
8745
8746 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
8747
8748 * gdb.base/printcmds.exp: add a couple more tests a la
8749 "p 123DEADBEEF", to check parse_number.
8750 * top.c: change "to enable to enable" to "to enable" in a couple
8751 of help strings.
8752
8753 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8754
8755 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8756 on the mn10300.
8757
8758 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8759
8760 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8761 where the test executable is run with explicit args.
8762 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8763
8764 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8765
8766 * gdb.base/run.c: Use FAKEARGV to build test executable that
8767 does not require a command line arg, since most simulators
8768 don't currently support passing such an arg into the simulated
8769 program.
8770 * gdb.base/commands.exp: Change tests to insert the proper
8771 value as the arg to the first recursive factorial call. Change
8772 compilation line to define FAKEARGV at compile time.
8773
8774 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8775
8776 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8777 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8778 function with watchpoint enabled" test.
8779
8780 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8781
8782 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8783 Don't call gdb_test when the command doesn't return to a gdb prompt.
8784
8785 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8786 "Tests restarted" messages.
8787
8788 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8789
8790 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8791
8792 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
8793
8794 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8795 for INFO SYMBOL; add help tests for OVERLAY commands.
8796 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8797 add tests for OVERLAY commands
8798 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8799 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8800 * gdb.base/sigall.c: add usestubs code frag
8801 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
8802
8803 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8804
8805 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8806 failures.
8807 (gdb_stop_suppressing_tests): Note that tests have restarted.
8808
8809 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8810
8811 * config/h8300.exp: New file.
8812
8813 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8814
8815 * gdb.base/setshow.exp: Check for the existence of a
8816 feature, not its value.
8817
8818 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8819
8820 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8821
8822 * gdb.base/scope.exp: It's now init0(), not init().
8823
8824 * gdb.base/scope0.c: For now, change init() to be init0().
8825
8826 * config/monitor.exp: Use gdb_serial in preference to serial
8827 or netport.
8828
8829 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8830 and it's not already set.
8831
8832 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8833
8834 * gdb.base/setshow.exp: Only test the run command if the target
8835 isn't using a stub and if it supports argument passing.
8836
8837 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8838
8839 * config/udi.exp(gdb_start): Make sure UDICONF is set
8840 properly before starting gdb.
8841
8842 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8843
8844 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8845 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8846 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8847
8848 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8849
8850 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8851 specialized code to reboot the board, use remote_reboot instead.
8852
8853 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8854
8855 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8856
8857 * config/monitor.exp: Make sure we disconnect from the target.
8858 Also, try a reboot/reload cycle instead of failing if the
8859 load fails.
8860
8861 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8862
8863 * gdb.base/default.exp: Don't set match_max.
8864 * gdb.base/help.exp: Ditto.
8865 * gdb.base/list.exp: Ditto.
8866 * gdb.base/signals.exp: Ditto.
8867
8868 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8869 set, use remote_ld to download the testcase instead of
8870 the GDB loader.
8871
8872 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8873
8874 * config/vr5000.exp: New file.
8875
8876 * config/monitor.exp(gdb_target_monitor): Add pattern for
8877 "Ending remote" to detect errors in connecting.
8878
8879 * gdb.base/setshow.exp: Add .* within auto language test.
8880
8881 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8882 target feature.
8883
8884 * config/monitor.exp(gdb_load): Check for a failure when loading,
8885 and reboot the board if necessary.
8886
8887 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8888 a set of tests. Remove print.* from the patterns being checked.
8889
8890 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8891
8892 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8893 refer to gdb_spawn_id.
8894
8895 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8896 longer used.
8897 * config/sparclet.exp: Ditto.
8898 * config/sparclet-old.exp: Ditto.
8899 * config/slite.exp: Ditto.
8900 * config/sim.exp: Ditto.
8901 * gdb.base/funcargs.exp: Ditto.
8902
8903 * lib/gdb.exp:Remove references to gdb_spawn_id.
8904 (gdb_expect): Move to remote.exp.
8905
8906 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8907
8908 * config/monitor.exp: Detect the "Couldn't establish connection"
8909 message from GDB.
8910
8911 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8912
8913 * gdb.base/bitfields.exp: Use runto instead of explicit
8914 gdb_run_cmd/gdb_expect sequences.
8915
8916 * gdb.base/break.exp(text_next_with_recursion): Add match for
8917 gdb_expect call.
8918
8919 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8920 We also need to handle the "A program is being debugged already"
8921 prompt from gdb. Use gdb_test to set the baud rate.
8922
8923 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8924 to 20000. Really. I mean it.
8925
8926 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8927
8928 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8929 fails. If suppress_flag is set, skip perror message about not
8930 being able to send to GDB.
8931 (send_gdb): If suppress_flag is set, don't try to send commands to
8932 GDB.
8933 (gdb_expect): If suppress_flag is set, always fail immediately.
8934 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8935 (gdb_init): Call gdb_stop_suppressing_tests.
8936 (default_gdb_exit): Ditto.
8937 (default_gdb_start): Ditto.
8938
8939 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8940 gdb_stop_suppressing_tests as appropriate.
8941 * gdb.base/break.exp: Ditto.
8942 * gdb.base/callfuncs.exp: Ditto.
8943 * gdb.base/commands.exp: Ditto.
8944 * gdb.base/exprs.exp: Ditto.
8945 * gdb.base/funcargs.exp: Ditto.
8946 * gdb.base/list.exp: Ditto.
8947 * gdb.base/recurse.exp: Ditto.
8948 * gdb.base/scope.exp: Ditto.
8949 * gdb.base/structs.exp: Ditto.
8950 * gdb.c++/inherit.exp: Ditto.
8951
8952 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8953
8954 * config/vr4300.exp: New file.
8955
8956 * gdb.*/*.exp: Call gdb_expect instead of expect.
8957
8958 * lib/gdb.exp(gdb_expect): New function.
8959
8960 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
8961
8962 * lib/gdb.exp(gdb_init): New function.
8963
8964 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8965 for each individual variable set.
8966
8967 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8968 name.
8969
8970 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8971
8972 * gdb.base/scope.exp: Use gdb_test.
8973
8974 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8975 aborting; the testsuite driver will do that for us (see
8976 gdb_finish). Also, use gdb_test in a few more places.
8977
8978 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
8979
8980 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8981
8982 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
8983
8984 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8985 and "add_tests" are not at the same address.
8986
8987 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
8988
8989 * gdb.base/ptype.exp: Use gdb_test.
8990
8991 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
8992
8993 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8994 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8995 left in. No longer expect them to fail.
8996
8997 * gdb.stabs/*.mt; Deleted, no longer used.
8998 * gdb.stabs/configure.in: Remove references to target makefile
8999 frags.
9000 * gdb.stabs/configure: Rebuilt.
9001
9002 * gdb.disasm/*.mt: Deleted, no longer used.
9003 * gdb.disasm/configure.in: Remove references to target makefile
9004 frags. Use "sh3.s" as the unique filename for this directory.
9005 * gdb.disasm/configure: Rebuilt.
9006
9007 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
9008 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
9009 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
9010
9011 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
9012
9013 * config/udi.exp: Use mondfe,name instead of remote_host.
9014
9015 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
9016
9017 * gdb.base/watchpoint.exp: Don't expect a failure when calling
9018 a function with a watchpoint enabled on the mn10200.
9019
9020 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
9021 before trying to create it!
9022
9023 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
9024
9025 * config/vx.exp: Use hostname instead of netport.
9026
9027 * config/vxworks.exp: New file.
9028
9029 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
9030
9031 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
9032 gdb before assuming everything worked. Send a ^C if a timeout
9033 occurs.
9034
9035 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
9036 $gdb_spawn_id directly.
9037 (gdb_run_cmd): Try _start as well as start. Use the target feature
9038 gdb,start_symbol as the symbol to start from when jumping.
9039
9040 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
9041
9042 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
9043 redundant) test.
9044
9045 * gdb.base/recurse.exp: Relax final value test for 'b' so that
9046 it doesn't lose for 16bit integer systems.
9047
9048 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
9049
9050 * gdb.fortran/types.exp: If the target doesn't support "double"
9051 data types, then expect "real" types to only be 4 bytes.
9052
9053 * gdb.c++/virtfunc.exp: Expect failure for virtual function
9054 call tests if the target doesn't support inferior function calls.
9055
9056 * gdb.base/printcmds.exp: Allow minor deviation in FP values
9057 in printf tests.
9058
9059 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
9060
9061 * gdb.base/help.exp: Disable "help set", "help show", and
9062 "help support". Simplify regexp for "help stack".
9063
9064 * gdb.base/default.exp: Set match_max to 5000 and the timeout
9065 to 60 seconds. Temporarily set match_max to 15000 around the
9066 "info copying" test.
9067
9068 * gdb.base/nodebug.exp: Don't try to do an inferior function
9069 call if the target doesn't support them.
9070 * gdb.base/printcmds.exp: Likewise.
9071 * gdb.base/setvar.exp: Likewise.
9072 * gdb.base/structs.exp: Likewise.
9073 * gdb.c++/templates.exp: Likewise.
9074 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
9075
9076 * gdb.base/recurse.exp: Enable for the mn10200.
9077
9078 * configure.in: Do configure gdb.stabs directory for *-*-elf
9079 targets.
9080 * configure: Rebuilt.
9081
9082 * gdb.base/break.exp: Check for gdb,noresults before testing
9083 exit status and/or results from the target.
9084 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
9085 * lib/gdb.exp: Remove old (now bogus) initialization of
9086 noinferior, noargs, noresults and nosignals.
9087
9088 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
9089
9090 * config/sh.exp: New file.
9091
9092 * config/slite.exp: Try to connect multiple times to the board
9093 before rebooting. Only send a "monitor run" if need_monitor_run
9094 is set.
9095
9096 * gdb.base/break.exp: Don't do the "stub continue" test if
9097 the target has gdb_stub set.
9098
9099 * gdb.base/callfuncs.exp: Increase the timeout.
9100
9101 * gdb.base/interrupt.exp: Don't even try to compile the testcase
9102 if the target has gdb,noinferiorio set.
9103
9104 * gdb.base/list.exp: Increase match_max to 10000 characters.
9105
9106 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
9107
9108 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
9109 target.
9110
9111 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
9112
9113 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
9114
9115 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
9116 trying to delete the copy of gdb. Catch the file delete so we
9117 don't die if the delete fails; also, the file should be copied to
9118 the host, not to the build.
9119
9120 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
9121
9122 * lib/gdb.exp(gdb_test): Surround the result pattern with
9123 parenthesis in case it contains multiple regexps separated
9124 with |.
9125
9126 * gdb.base/watchpoint.exp: Use gdb_test.
9127 * gdb.base/default.exp: Ditto.
9128
9129 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
9130
9131 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
9132
9133 * gdb.base/scope.exp: Use gdb_test.
9134 * gdb.c++/classes.exp: Ditto.
9135 * gdb.c++/inherit.exp: Ditto.
9136
9137 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
9138
9139 * gdb.base/crossload.exp: Don't use execute_anywhere, use
9140 remote_exec instead.
9141 * gdb.base/corefile.exp: Don't be ridiculous.
9142 * gdb.base/*.c: Add missing stub invocations.
9143
9144 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
9145
9146 * config/slite.exp: Miscellaneous fixes.
9147
9148 * lib/gdb.exp: Fix runto.
9149
9150 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
9151 the target.
9152
9153 * gdb.base/watchpoint.exp: Fix regexp.
9154
9155 * lib/gdb.exp(default_gdb_exit): Add a catch to the
9156 close and wait commands, as the descriptor may now be
9157 invalid. Always call "remote_close host".
9158
9159 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
9160
9161 Major rewrite for testsuite revision.
9162
9163 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
9164 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
9165 instead of relying on spawn_id to always contain a valid
9166 spawn id.
9167 (get_compiler_info): New procedure to build the ${binfile}.ci
9168 file, instead of replicating this in N different places.
9169 (gdb_compile): New procedure.
9170
9171 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
9172 appropriate arguments) instead of compile. Use gdb_test in a lot
9173 more places. Use send_gdb instead of send. Always run gdb_start
9174 at the start of a testcase, as this is no longer done magically.
9175
9176 config/*-gdb.exp: Rename without the -gdb suffix.
9177
9178 config/mips.exp: Use remote_close instead of exit_remote_shell.
9179 config/monitor.exp: Use target_info instead of looking at
9180 baud, timeout, etc.
9181 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
9182
9183 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9184
9185 * gdb.c++/templates.exp (test_ptype_of_templates),
9186 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
9187 Update expect patterns for destructors and assignment operators
9188 to match corresponding c-typeprint.c changes.
9189 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
9190 to destructor breakpoint test, GDB should be able to set the
9191 destructor breakpoint without specifying arguments.
9192
9193 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
9194
9195 * gdb.threads/pthreads.exp: Change result for failure to compile due
9196 to lack of pthreads runtime support from an error to simply an
9197 unsupported test, per dejagnu standards.
9198
9199 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9200
9201 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
9202 where GDB exits to reduce pattern match time.
9203 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
9204
9205 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
9206
9207 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
9208
9209 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
9210 * gdb.base/default.exp: ditto.
9211 * gdb.base/nodebug.exp: ditto.
9212 * gdb.base/printcmds.exp: ditto.
9213 * gdb.base/ptype.exp: ditto.
9214 * gdb.base/setvar.exp: ditto.
9215 * gdb.base/structs.exp: ditto.
9216 * gdb.base/setshow.c: Guard against uninitialized values of argc.
9217
9218 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
9219
9220 * configure, */configure: Rebuild with autoconf 2.12.
9221
9222 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
9223
9224 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
9225 use new i*86-pc-linux*-gnu quads.
9226 * gdb.base/corefile.exp: Ditto.
9227 * gdb.base/signals.exp: Ditto.
9228 * gdb.base/sigall.exp: Ditto.
9229 * gdb.base/interrupt.exp: Ditto.
9230
9231 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
9232 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
9233 RedHat 4.0.
9234
9235 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
9236 linux. This allows the test case to at least compile on latest
9237 linux, but still not run due to missing the threads runtime library.
9238
9239 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9240
9241 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
9242 directory to search gdb directory. Accept and step over conditional
9243 stack alignment code. Consume $prompt in failure cases.
9244 Reset timeout to $oldtimeout instead of some arbitrary value.
9245 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
9246 timeout problems with infinite stack backtraces.
9247 * gdb.base/ptype.exp (ptype struct link, union tu_link):
9248 Accept function parameters for linkfunc member.
9249
9250 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
9251
9252 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
9253 (CXXFLAGS): Remove, unreferenced.
9254 (B_OPTIONS): Add for -B options and add code to initialize with
9255 previous -B options and also add -B option to pick up cross compiled
9256 runtime.
9257 (TARGET_INCLUDES): Add for -I options and add code to initialize when
9258 doing cross compiles.
9259 (target_alias): Declare global.
9260 (xgcc): Set variable to full path of gcc in build tree. Use findfile
9261 to verify that gcc exists in build tree, and if so set CC to that
9262 gcc and to use B_OPTIONS and TARGET_INCLUDES.
9263
9264 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
9265
9266 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
9267 ptype test for anonymous union. Fixup testcase to match
9268 current gcc debug output.
9269
9270 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
9271
9272 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
9273 force argument to an unsigned long type.
9274
9275 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
9276
9277 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
9278 tests and anonymous union print/ptype tests.
9279 * gdb.base/list.exp (test_forward-search): Increase timeout by
9280 5 minutes for the "search extremely long line" case.
9281 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
9282 completely optional and that the pass/fail messages use the command as
9283 the message if that third arg is a null string.
9284 (gdb_test_exact): Arrange that a null string pattern means match a
9285 null string output rather than any output, which might include random
9286 errors.
9287 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
9288 backtrace test.
9289 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
9290 always failing and failure is now exposed by gdb.exp changes.
9291
9292 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
9293
9294 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
9295 weren't being noted.
9296
9297 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9298
9299 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
9300 * gdb.stabs/weird.exp: Remove v_comb xfails.
9301
9302 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
9303
9304 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
9305 list.exp scope.exp watchpoint.exp]
9306 Make all timeout error msgs explicitly say "(timeout)".
9307
9308 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
9309
9310 * config/monitor.exp: Increase download timeout to 1000 seconds.
9311
9312 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
9313
9314 * config/m32r.exp: Increase timeout to 120 seconds.
9315
9316 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
9317
9318 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
9319 and accept older ordering as obsolescent gcc or gdb.
9320 * gdb.c++/templates.exp: Ditto.
9321 * gdb.c++/virtfunc.exp: Ditto.
9322
9323 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
9324
9325 * gdb.base/coremaker.c: Add code to mmap some data so we
9326 can check that it ends up in the core file.
9327 * gdb.base/corefile.exp: Add test to read mmapped data
9328 from core file.
9329
9330 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
9331
9332 * config/m32r.exp: New file.
9333
9334 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
9335
9336 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
9337 that cflags can contains -gstabs, and work correctly for other tests.
9338
9339 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
9340
9341 * gdb.base/setshow.exp: New file, tests show and set.
9342 * gdb.base/setshow.c: New file, tests show and set.
9343 * gdb.base/help.exp: Add test for help set|show annotate.
9344 * gdb.base/default.exp: Add test for set|show annotate.
9345
9346 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
9347
9348 * testsuite/gdb.base/break.exp: Make backtrace from factorial
9349 errors unique.
9350 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
9351 explicitly.
9352
9353 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
9354
9355 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
9356 and width commands. This is done elsewhere.
9357 * (gdb_start): Don't call gdb_start_sim here. That's already
9358 done in gdb_load. This fixes lots of failures in default.exp.
9359
9360 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
9361
9362 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
9363 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
9364 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
9365 in the same we we treat other failures (since it may be an expected
9366 condition), rather than as an error.
9367 * gdb.base/signals.exp (test_handle_all_print): Revert back to
9368 old test format.
9369
9370 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
9371
9372 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
9373 (distclean maintainer-clean realclean): No need to remove files
9374 twice. Nuke the duplicates.
9375 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
9376 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
9377 Remove config.h along with other config files.
9378
9379 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
9380
9381 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
9382 "p func1 ()" and note that rests of tests are skipped.
9383 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
9384 setup_xfails for "print func2::coremaker_local".
9385 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
9386 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
9387 affected by the previous run test.
9388 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
9389 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
9390 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
9391 "pass int powerset tuple" and "pass modeless int powerset tuple".
9392 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
9393 "real write 4" and "real write 8".
9394 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
9395 setup_xfails for "print vs1 after tuple assign 2",
9396 "print \$i after tuple assign 2", and
9397 "print vs2 after tuple assign 2".
9398 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
9399 meaningful error message and return -1 so the caller can
9400 suppress further tests and avoid a cascade of errors.
9401
9402 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
9403
9404 * gdb.base/a1-selftest.exp: Tweak tests to account for new
9405 format for printing version.
9406 * gdb.base/default.exp: Ditto.
9407 * gdb.base/interrupt.exp: Fix problem with cascade of
9408 errors if child process dies while calling a function.
9409
9410 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
9411
9412 * Makefile.in (VPATH): Add
9413 * Makefile.in (Makefile, config.status): Fix rules so things get
9414 remade when necessary.
9415
9416 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
9417
9418 * Makefile.in (just-check): Add path to sibling expect dir
9419 to environment variable specified by RPATH_ENVVAR.
9420
9421 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
9422
9423 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9424 (just-check): Add shared library paths for libstdc++, tk,
9425 tcl, bfd, and opcodes to the environment variable specified
9426 in RPATH_ENVVAR.
9427 * configure.in: Add support to recognize --enable-shared flag
9428 and generate correct value for RPATH_ENVVAR.
9429 * configure: Regenerated with autoconf.
9430
9431 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
9432
9433 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9434 include all osf versions.
9435 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9436 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
9437 when target is linux. When failing to build pthreads test
9438 executable, give more meaningful message.
9439 * gdb.threads/pthreads.c: Hpux also uses old definition of second
9440 arg for pthread_create.
9441
9442 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
9443
9444 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9445 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9446 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9447 and -lpthreads (everybody else).
9448 (test_startup): Fail gracefully if threads are not supported.
9449 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9450 "p/c array_index("abcdef",2)" when not gcc compiled.
9451 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9452 "print func2::coremaker_local" when not gcc compiled.
9453 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9454 "ptype on opaque struct tagname (statically)",
9455 "ptype on opaque struct tagname (dynamically) 1", and
9456 "ptype on opaque struct tagname (dynamically) 2"
9457 for not compiled with gcc.
9458 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9459 backtrace when compiled with gcc.
9460 * lib/gdb.exp (runto_main): Return result of "runto main" rather
9461 than always return success.
9462
9463 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
9464
9465 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9466
9467 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
9468
9469 * gdb.base/structs.exp: Undo last change.
9470
9471 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
9472
9473 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9474 encapsulate all the steps/nexts done during self test, starting
9475 at main, and makes them less sensitive to optimization issues.
9476 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9477 signal handler" test.
9478 * gdb.threads/pthreads.exp: Only run this for native configs.
9479 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9480 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9481 tests.
9482 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9483 for "runto test_calls(void)" test.
9484
9485 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
9486
9487 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9488 and don't expect address info in breakpoint confirmations.
9489
9490 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
9491
9492 * gdb.base/list.exp (test_forward_search): Increase timeout
9493 temporarily by 60 seconds for searching extremely long line,
9494 and then reset to old value when done. Increase expect input
9495 buffer to 10000.
9496
9497 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
9498
9499 * gdb.base/list.exp (test_forward_search): Fix to handle very
9500 long source line without overflowing expect's input buffer.
9501
9502 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
9503
9504 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9505 "buffer_full".
9506
9507 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9508 "buffer_full".
9509
9510 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9511 "buffer_full".
9512
9513 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9514 "buffer_full".
9515
9516 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
9517
9518 * configure.in (configdirs): Add gdb.threads.
9519 * configure: Regenerated with autoconf.
9520 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9521 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9522 * gdb.threads/configure: New, generated with autoconf.
9523
9524 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9525
9526 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9527
9528 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9529
9530 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9531 each signal's status in the output of "handle all print".
9532 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9533 the \r\n sequence that immediately precedes the gdb prompt.
9534 * gdb.base/a1-selftest.exp: Save original timeout and restore
9535 after test.
9536
9537 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9538
9539 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9540 symbol.
9541
9542 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9543
9544 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9545
9546 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9547
9548 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9549 timeout by 60 seconds.
9550
9551 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9552
9553 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9554 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9555 error return.
9556
9557 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9558
9559 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9560 gdb initialization, also report how long dejagnu waited. Restore
9561 old timeout before doing error return. Temporarily increase timeout
9562 by 3 minutes to allow for slow startups over heavy NFS use.
9563
9564 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9565
9566 * lib/gdb.exp: Report timeout value for verbosity level 2.
9567 * config/gdbserver.exp: Ditto.
9568 * config/hppro.exp: Ditto.
9569 * config/mips-gdb.exp: Ditto.
9570 * config/monitor.exp: Ditto.
9571 * config/netware.exp: Ditto.
9572 * config/sim-gdb.exp: Ditto.
9573 * config/slite-gdb.exp: Ditto.
9574 * config/udi-gdb.exp: Ditto.
9575 * config/unix-gdb.exp: Ditto.
9576 * config/vx-gdb.exp: Ditto.
9577 * gdb.base/a1-selftest.exp: Ditto.
9578 * gdb.base/a2-run.exp: Ditto.
9579 * gdb.base/break.exp: Ditto.
9580 * gdb.base/corefile.exp: Ditto.
9581 * gdb.base/list.exp: Ditto.
9582 * gdb.base/recurse.exp: Ditto.
9583 * gdb.base/scope.exp: Ditto.
9584 * gdb.base/signals.exp: Ditto.
9585
9586 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9587
9588 * gdb.threads/Makefile.in (docdir): Removed.
9589
9590 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9591
9592 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
9593 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
9594 @srcdir@.
9595 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
9596 autoconf 2.5 or higher.
9597 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9598
9599 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9600
9601 * configure: Regenerated.
9602 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9603 avoid name clashes with SunOS headers.
9604
9605 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9606
9607 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9608
9609 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9610
9611 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9612 prototype information ends up in the compiler info file.
9613
9614 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9615
9616 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9617 attempting to regenerate it. Eliminate use of a temporary file
9618 and just generate the info file directly. Source it immediately,
9619 for consistency of use.
9620 * gdb.base/corefile.exp: Ditto
9621 * gdb.base/exprs.exp: Ditto.
9622 * gdb.base/funcargs.exp: Ditto.
9623 * gdb.base/langs.exp: Ditto.
9624 * gdb.base/list.exp: Ditto.
9625 * gdb.base/mips_pro.exp: Ditto.
9626 * gdb.base/nodebug.exp: Ditto.
9627 * gdb.base/opaque.exp: Ditto.
9628 * gdb.base/ptype.exp: Ditto.
9629 * gdb.base/scope.exp: Ditto.
9630 * gdb.base/setvar.exp: Ditto.
9631 * gdb.base/signals.exp: Ditto.
9632 * gdb.base/whatis.exp: Ditto.
9633 * gdb.c++/templates.exp: Ditto.
9634 * gdb.c++/virtfunc.exp: Ditto.
9635 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9636 whether or not to add -lstdc++ to the compile command line args.
9637
9638 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9639
9640 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9641 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9642 Increase timeout, a lot of single stepping might be needed if the
9643 target has no hardware watchpoints.
9644
9645 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9646
9647 * gdb.base/break.exp: Ignore compiler warnings when compiling
9648 break.c.
9649 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9650 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9651 from remote-sim.
9652 * gdb.base/exprs.exp: Add h8300 xfails.
9653 * gdb.base/funcargs.exp: Likewise.
9654 * gdb.base/nodebug.exp: Likewise.
9655 * gdb.base/printcmds.exp: Likewise.
9656 * gdb.base/ptype.exp: Likewise.
9657 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9658 h8300 xfails.
9659 * gdb.base/return.exp: Handle float/double precision problems
9660 on the h8300.
9661 * gdb.base/funcargs.c: Explicitly make last constant argument to
9662 call_after_alloca_subr an unsigned long type.
9663 * gdb.base/return.c: Include stdio.h.
9664
9665 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9666
9667 * config/abug.exp: New file for the older Motorola Bug monitor
9668 that runs on the mvme13x series VME boards.
9669 * config/monitor.exp: Use the new config array for target settings
9670 if they exist.
9671
9672 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9673
9674 * sim-gdb.exp: Make the SH simulator allocate less space when
9675 it is targeted.
9676
9677 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9678
9679 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9680 test.
9681
9682 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9683
9684 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9685 "rs6000-*-*" for "list function in include file" when gcc compiled.
9686 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9687 for "p ctable1[120]".
9688 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9689 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9690 Remove setup_xfail for "rs6000-*-*" for
9691 "print 'scope0.c'::filelocal before run".
9692 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9693 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9694 since some compilers don't allow both options to be given
9695 on the same command line. Create object file and move it.
9696
9697 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9698
9699 * gdb.base/corefile.exp: Always regenerate the core file, since
9700 we always regenerate the coremaker program. Detect special case
9701 where registers cannot be read from core file.
9702
9703 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9704
9705 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9706 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9707 * gdb.c++/templates.exp: Only match on basename of file since
9708 some formats like xcoff don't encode directory information.
9709 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9710 and rs6000 AIX xcoff targets.
9711 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9712 * configure: Regenerate.
9713 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9714 here, rather than in distclean.
9715
9716 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9717
9718 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9719 defined, and use it to compile the test case with -O2. The
9720 native compilation still uses no optimization.
9721 * gdb.base/mips_pro.c: Remove inline assembly code since
9722 it is compiled PIC by default, which results in assembler
9723 warnings that make the testsuite think the compilation
9724 was unsuccessful.
9725
9726 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9727
9728 * gdb.c++/misc.exp: Add note to message for
9729 "print s.a for foo struct" that this is a known gcc 2.7.2
9730 and earlier bug.
9731
9732 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9733
9734 * gdb.base/break.exp: Fix pattern for matching "Delete all
9735 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9736 setup_xfail for deleting all breakpoints test. Fix various
9737 timeout messages to include "(timeout)".
9738 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9739 for "p t_float_values2(3.14159,float_val2)".
9740 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9741 for "continue to call2g" when gcc compiled.
9742 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9743 "up to foo in langs.exp", "show language at foo in langs.exp",
9744 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9745 and "show language at fsub in langs.exp".
9746 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9747 "list line 1 in include file", "list message for lines past EOF",
9748 "list function in include file", "list list0.h:foo", and
9749 "list filename:function; nonexistant function".
9750 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9751 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9752 and "ptype t_char_array" to be for native cc only.
9753
9754 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9755
9756 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
9757 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9758 "print func2::coremaker_local", and "backtrace in corefile.exp".
9759
9760 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9761
9762 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9763 "bt in signals.exp". This problem only appears when running
9764 the testsuite, and then only intermittently.
9765
9766 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9767
9768 * gdb.base/return.exp (return_tests): Differentiate between
9769 two tests of continuing.
9770
9771 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9772
9773 * */Makefile.in (maintainer-clean): Remove config.log.
9774 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9775 * gdb.c++/Makefile.in (PROGS): Add inherit.
9776 (clean): Remove *.ci.
9777
9778 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9779
9780 * gdb.c++/misc.cc: Add test code from Mike Stump.
9781 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9782
9783 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9784
9785 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9786 to "alpha-*-osf2*" and add comment.
9787 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9788 setup_xfail for "step over execarg initialization" and
9789 "step over corearg initialization".
9790 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9791 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9792 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9793 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9794 "print func2::coremaker_local", and "backtrace in corefile.exp".
9795 * gdb.base/signals.exp: Build and source signals.ci.
9796 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9797 to be for gcc only.
9798 * lib/gdb.exp: Move verbose statements outside conditionals.
9799
9800 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9801
9802 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9803 Feb 3 procfs.c change.
9804
9805 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9806
9807 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9808
9809 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9810
9811 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9812 from dejagnu's apparent default of 10 seconds, which gives random
9813 results when running the tests over NFS on moderately loaded systems.
9814 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9815
9816 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9817
9818 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9819 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9820 result reports.
9821
9822 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9823
9824 * configure.in (CY_AC_PATH_TCLH): Remove.
9825 * configure: Regenerate.
9826
9827 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9828
9829 * gdb.c++/Makefile.in (clean): Add missing '{'.
9830
9831 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9832
9833 * lib/gdb.exp: Provide a default value for noinferior.
9834
9835 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9836 Load libgloss.exp.
9837
9838 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9839
9840 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9841 the executable, not the .o to run the tests from.
9842
9843 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9844
9845 * gdb.base/break.exp: Don't test for program exit or exit status
9846 if $noresults if nonzero.
9847 * gdb.base/langs.exp: Likewise.
9848 * gdb.base/watchpoint.exp: Likewise.
9849
9850 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9851 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9852 trying to compile the testcase.
9853
9854 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9855
9856 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9857 * gdb.base/signals.exp (continue to handler): Likewise.
9858
9859 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9860
9861 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9862
9863 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9864
9865 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9866
9867 * gdb.base/corefile.exp: Recognize "not found" as failure
9868 when trying to determine if a core file was generated.
9869 If no core file was generate the first time, try again without
9870 the ulimit -c to work around braindamaged shells.
9871
9872 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9873
9874 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9875 [] tests with "test" and enclose string in quotes.
9876 * gdb.stabs/configure: Rebuild
9877
9878 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9879
9880 Changes in sync with expect:
9881 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9882 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9883 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9884 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9885 argument to AC_REQUIRE.
9886 * configure: Regenerated.
9887
9888 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9889
9890 * gdb.base/corefile.exp: When generating a core, discard any
9891 error messages about ulimit not found and the "core dumped"
9892 message from the shell that runs the coredumper.
9893
9894 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9895
9896 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9897
9898 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9899 which sed script to run. Expect failure for v_comb test
9900 on PA targets too.
9901
9902 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9903
9904 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9905 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9906
9907 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9908
9909 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9910 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9911 "sparc-sun-solaris*" xfails for "p v_comb".
9912 * lib/gdb.exp (default_gdb_start): Fix typo.
9913 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9914 messages to not include the full program name that caused
9915 the core dump since some systems (such as solaris) apparently
9916 truncate this path to about 80 characters.
9917 When generating a core file first try increasing the core file
9918 size limit to unlimited since some systems may default it to
9919 zero, and it is harmless to try it. Move the test for failing
9920 to generate a core file to where it will actually get executed.
9921 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9922 new gdb result from g++ debug info improvements and make old
9923 pattern obsolescent. Also account for size_t differences
9924 (may be int or long).
9925 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9926 initialization before function call is placed in the delay slot
9927 and thus appears to be skipped over by commands such as "next".
9928
9929 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9930
9931 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9932
9933 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9934
9935 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9936 input source file; fix code to compile test to deal with this
9937 convention.
9938 * gdb.c++/*.exp: Likewise.
9939
9940 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9941
9942 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9943 "bt in signals.exp".
9944
9945 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9946
9947 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9948 "step over execarg initialization" and
9949 "step over corearg initialization".
9950
9951 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9952
9953 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9954 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
9955
9956 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
9957
9958 From Rob Savoye (rob@poseidon.cygnus.com)
9959 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9960 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9961 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9962 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9963 configure.in}: Major reworking for autoconfig.
9964 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9965 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9966 New files.
9967 * config/unix-gdb.exp: Make GDB global.
9968 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9969 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9970 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9971 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9972 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9973 term.exp, twice.exp, watchpoint.exp, whatis.exp},
9974 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9975 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9976 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9977 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9978 pr-8136.exp, result.exp, string.exp, tuples.exp},
9979 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9980 to returns as necessary, arrange for test to compile own testcase
9981 executable.
9982 * lib/gdb.exp: Changes for testsuite to compile own test cases.
9983
9984 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
9985
9986 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9987 clear_xfail at end of test which might not call either pass or fail.
9988 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9989 "backtrace through signal handler".
9990
9991 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9992
9993 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9994 continuing from a job control stop signal.
9995 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9996
9997 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
9998
9999 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
10000 * gdb.base/corefile.exp: Likewise.
10001 * gdb.base/funcargs.exp: Likewise.
10002
10003 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
10004
10005 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
10006 * config/monitor.exp: Add support for setting baud rate.
10007
10008 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
10009
10010 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
10011 i*86-*-linux* xfails for "backtrace through signal handler".
10012 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
10013 "print func2::coremaker_local".
10014 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
10015 alpha-dec-osf2* xfail for
10016 "delete all breakpoints when none".
10017
10018 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
10019
10020 * gdb.base/break.exp: Change test that deletes all breakpoints
10021 when no user breakpoints are installed. A post 4.15 change
10022 causes gdb to no longer prompt in this case.
10023
10024 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
10025
10026 * gdb.base/return.exp (return_tests): Change xfail for test
10027 "correct value returned double test" to stop xfailing at
10028 Solaris 2.5. Apparently the bug has been fixed.
10029
10030 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
10031
10032 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
10033 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
10034
10035 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
10036
10037 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
10038 * gdb.disasm/hppa.s: Corresponding changes.
10039
10040 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
10041
10042 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
10043 makefile fragment.
10044 * config/mt-hpux: Deleted.
10045
10046 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
10047
10048 * Many files: When warning about suppressed tests due to a
10049 nonexistant test binary, avoid incrementing the warning count.
10050
10051 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
10052
10053 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
10054
10055 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10056
10057 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
10058 "sparc-*-solaris2*".
10059
10060 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10061
10062 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
10063 Add global and local variables and initialize them.
10064 * gdb.base/corefile.exp: Test correct mapping of corefile sections
10065 by printing variables. Remove rs6000 and powerpc xfails, BFD now
10066 extracts the file name and terminating signal from the core file.
10067 * TODO: Remove note about tests for correct mapping of corefile.
10068 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
10069 from optimizing it away.
10070 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
10071 handles common blocks.
10072
10073 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
10074
10075 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
10076 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
10077
10078 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
10079
10080 * Makefile.in (maintainer-clean): New target, synonym for
10081 realclean.
10082 * gdb.base/Makefile.in (maintainer-clean): Likewise.
10083 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
10084 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
10085 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
10086 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
10087 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
10088
10089 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
10090
10091 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
10092 xfails when not gcc compiled for "print foo::funclocal".
10093 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
10094 "print foo::funclocal at foo",
10095 "print 'scope1.c'::foo::funclocal at foo",
10096 "print foo::funclocal_bss at foo",
10097 "print 'scope1.c'::foo::funclocal_bss at foo",
10098 "print foo::funclocal_ro at foo",
10099 "print 'scope1.c'::foo::funclocal_ro at foo",
10100 "print bar::funclocal at foo" and
10101 "print 'scope1.c'::bar::funclocal at foo".
10102 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
10103 gcc compiled for "print foo::funclocal at bar".
10104 Expand all messages to ensure that they identify that
10105 the test is at bar().
10106 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
10107 gcc compiled for:
10108 "ptype on opaque struct pointer (statically)",
10109 "ptype on opaque struct tagname (statically)",
10110 "ptype on opaque struct pointer (dynamically) 1",
10111 "ptype on opaque struct tagname (dynamically) 1",
10112 "ptype on opaque struct pointer (dynamically) 2" and
10113 "ptype on opaque struct tagname (dynamically) 2
10114 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
10115 gcc compiled for:
10116 "p datalocal"
10117 "whatis datalocal",
10118 "ptype datalocal",
10119 "p bsslocal",
10120 "whatis bsslocal", and
10121 "ptype bsslocal".
10122 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
10123 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
10124 when not gcc compiled.
10125 * gdb.base/funcargs.exp (float_and_integral_args): Add
10126 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
10127 compiled.
10128 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
10129 "backtrace from call6a" when not gcc compiled.
10130 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
10131 "backtrace from call7a" when not gcc compiled.
10132 * gdb.base/callfuncs.exp (do_function_calls):
10133 Add "hppa*-*-hpux*" xfail when not gcc compiled for
10134 "p t_char_array_values(char_array_val2,char_array_val1)",
10135 "p t_char_array_values(char_array_val1,char_array_val2)",
10136 "p t_char_array_values("carray 1","carray 2")",
10137 "p t_char_array_values("carray 1",char_array_val2)",
10138 "p t_char_array_values(char_array_val1,"carray 2")",
10139 "p sum_args(1,{2})",
10140 "p sum_args(2,{2,3})",
10141 "p sum_args(3,{2,3,4})",
10142 "p sum_args(4,{2,3,4,5})"
10143 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
10144 "backtrace in corefile.exp" when not gcc compiled.
10145
10146 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10147
10148 * gdb.base/signals.exp: Rewrite `handle all print' test as
10149 a procedure. Accept blanks or TABs as whitespace, increase
10150 timeout and expect input buffer size for the large output
10151 from the command. Remove "i*86-*-bsdi2.0" xfail.
10152
10153 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10154
10155 * gdb.base/setvar.exp: Add new testcases for truncation when
10156 assigning invalid values to bitfields.
10157
10158 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
10159
10160 * gdb.base/callfuncs.exp (do_function_calls): Remove
10161 mips-sgi-irix* xfail for
10162 "call inferior func with struct - returns char *"
10163 and fix test so that an optional (unsigned char *) cast is
10164 accepted in the result.
10165
10166 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
10167
10168 * gdb.base/funcargs.exp (float_and_integral_args): Remove
10169 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10170 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
10171 * gdb.base/signals.exp: Remove duplicate "handle all print" test
10172 that accidentally got checked in.
10173
10174 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
10175
10176 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
10177 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
10178 compiled test.
10179 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
10180 Add mips-sgi-irix5* xfail for not gcc compiled.
10181 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
10182 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
10183 "p top", "whatis top", "p middle", and "whatis middle".
10184 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
10185 "whatis signed char" for not gcc compiled.
10186 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
10187 "set variable signed char=-1 (-1)" and
10188 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
10189 * gdb.base/funcargs.exp (float_and_integral_args):
10190 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
10191 Add mips-sgi-irix* xfail when not gcc compiled for
10192 "continue to call2b".
10193 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
10194 "continue to call2g".
10195 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
10196 "backtrace from call6a"
10197 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
10198 "backtrace from call7k".
10199 Add mips-sgi-irix5* xfail when not gcc compiled for
10200 "backtrace from call7a".
10201 (localvars_after_alloca): Fix gdb_test cmds for
10202 "print * after runto ...".
10203 Remove rs6000-*-* xfails for
10204 "print i after runto localvars_after_alloca" and
10205 "print l after runto localvars_after_alloca"
10206 for all compilers.
10207 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
10208 when not compiled with gcc, for:
10209 "print signed char == (minus)",
10210 "print signed char != (minus)",
10211 "print signed char < (minus)",
10212 "print signed char > (minus)".
10213 * gdb.base/callfuncs.exp (do_function_calls):
10214 Add mips-sgi-irix* xfail, when compiled with native compiler, for
10215 "call inferior func with struct - returns char *".
10216 * gdb.base/return.exp (return_tests): Change xfail for
10217 "correct value returned double test" to include Solaris 2.4.
10218 * gdb.base/funcargs.exp (float_and_integral_args):
10219 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10220
10221 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10222
10223 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
10224 enumeration bitfields if compiling with GNU C.
10225 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
10226 to empty' prompt.
10227
10228 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
10229
10230 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
10231 test for PRO targets.
10232
10233 * gdb.base/funcargs.exp: Avoid ever setting more than 8
10234 breakpoints in the inferior at any given time by making
10235 two groups of breakpoints for call2*, call6* and call7*
10236 tests.
10237
10238 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10239
10240 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
10241 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
10242 from optimizing it away.
10243 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
10244 "call inferior func with struct".
10245
10246 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
10247
10248 * configure.in: Only configure gdb.chill for particular targets.
10249
10250 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
10251
10252 * gdb.base/Makefile.in: Add action to .c.o transformation
10253 rule that generates a .ci file for each .o file and remove
10254 explicit .c.o rules except for callfuncs.o.
10255 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
10256 generates a .ci file for each .o file and remove explicit
10257 .cc.o rules.
10258 (clean): Remove *.tmp *.ci files.
10259 (EXECUTABLES): Remove templ-info.exp.
10260 * gdb.base/compiler.c: New file.
10261 * gdb.c++/compiler.cc: New file
10262 * gdb.base/scope.exp: Source gdb.base/scope.ci.
10263 Change rs6000-*-* xfail for
10264 "print 'scope0.c'::filelocal_ro" and
10265 "print 'scope1.c'::filelocal" and
10266 "print 'scope1.c'::filelocal_bss" and
10267 "print 'scope1.c'::filelocal_ro" and
10268 "print 'scope1.c'::foo::funclocal" and
10269 "print 'scope1.c'::foo::funclocal_ro" and
10270 "print 'scope1.c'::bar::funclocal" and
10271 "print 'scope0.c'::filelocal_ro" and
10272 "print 'scope1.c'::filelocal at foo" and
10273 "print 'scope1.c'::filelocal_bss at foo" and
10274 "print 'scope1.c'::filelocal_ro at foo" and
10275 "print 'scope1.c'::foo::funclocal at foo" and
10276 "print 'scope1.c'::foo::funclocal_bss at foo" and
10277 "print 'scope1.c'::foo::funclocal_ro at foo" and
10278 "print 'scope1.c'::bar::funclocal at foo" and
10279 "print 'scope0.c'::filelocal_ro" and
10280 "print 'scope1.c'::filelocal" and
10281 "print 'scope1.c'::filelocal_bss" and
10282 "print 'scope1.c'::filelocal_ro" and
10283 "print 'scope1.c'::foo::funclocal" and
10284 "print 'scope1.c'::foo::funclocal_bss" and
10285 "print 'scope1.c'::foo::funclocal_ro" and
10286 "print 'scope1.c'::bar::funclocal" and
10287 "print 'scope1.c'::bar::funclocal_bss"
10288 to only be xfail'd when not compiled with gcc.
10289 Add rs6000-*-* xfail for
10290 "print 'scope0.c'::filelocal_bss before run"
10291 when compiled with gcc.
10292 (test_at_main): Add rs6000-*-* xfail for
10293 "print filelocal_ro in test_at_main"
10294 when compiled with gcc.
10295 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
10296 Add rs6000-*-aix* xfail for
10297 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
10298 "ptype t_char_array", not compiled with gcc.
10299 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
10300 xfail for "list foo (in include file)" when gcc compiled.
10301 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
10302 (integral_args): Add rs6000-*-* xfail for
10303 "run to call0a" if not compiled with gcc.
10304 (unsigned_integral_args): Add rs6000-*-* xfail for
10305 "run to call1a" if not compiled with gcc.
10306 (float_and_integral_args): Add rs6000-*-* xfail for
10307 "run to call2a" if not compiled with gcc and for
10308 "continue to call2b" for any compiler.
10309 Add rs6000-*-* xfail to
10310 "print f1 after run to call2a" for gcc compiled.
10311 (discard_and_shuffle): Add rs6000-*-* xfail for
10312 "run to call6a".
10313 (shuffle_round_robin): Add rs6000-*-* xfail for
10314 "backtrace from call7a" if not compiled with gcc.
10315 Add rs6000-*-* xfail for
10316 "backtrace from call7b" if compiled with gcc.
10317 (call_after_alloca): Add rs6000-*-* xfail for
10318 "print c in call_after_alloca" and
10319 "print s in call_after_alloca" and
10320 "backtrace from call_after_alloca_subr"
10321 if not compiled with gcc.
10322 (localvars_in_indirect_call): Add rs6000-*-* xfail for
10323 "print c in localvars_in_indirect_call" and
10324 "print c in localvars_in_indirect_call" and
10325 "backtrace in indirectly called function" and
10326 "stepping into indirectly called function"
10327 if not compiled with gcc.
10328 (localvars_after_alloca): Add rs6000-*-* xfail for
10329 "print c after runto localvars_after_alloca" and
10330 "print s after runto localvars_after_alloca" and
10331 "print i after runto localvars_after_alloca" and
10332 "print l after runto localvars_after_alloca"
10333 for all compilers.
10334 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
10335 than whatis-info.exp.
10336 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
10337 than opaque-info.exp.
10338 Setup rs6000-*-* xfail for
10339 "ptype on opaque struct pointer (statically)" and
10340 "ptype on opaque struct pointer (dynamically)" when
10341 not compiled with gcc.
10342 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
10343 rather than callf-info.exp.
10344 (do_function_calls): Add clear_xfail for rs6000-*-* for
10345 "p t_float_values2(3.14159,float_val2)". Seems to work
10346 fine there, both with xlc and gcc. Need to find out what
10347 it is doing right and fix other platforms.
10348 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
10349 "call inferior func with struct - returns int",
10350 "call inferior func with struct - returns long",
10351 "call inferior func with struct - returns float",
10352 "call inferior func with struct - returns double",
10353 "call inferior func with struct - returns char *",
10354 but only if not gcc compiled (presumes xlc compiled).
10355 Change rs6000-*-* xfails for
10356 "call inferior func with struct - returns char" and
10357 " call inferior func with struct - returns short" to only
10358 xfail if not using gcc.
10359 (clean mostlyclean): Remove *.ci and *.tmp files.
10360 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
10361 than templ-info.exp.
10362 * gdb.base/langs.exp: Source gdb.base/langs.ci.
10363 Add rs6000-*-* xfail for "up to foo in langs.exp"
10364 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
10365 when not gcc compiled.
10366
10367 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10368
10369 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
10370 * gdb.base/corefile.exp: Likewise.
10371 * gdb.base/list.exp: Likewise.
10372 * gdb.base/scope.exp: Likewise.
10373 * gdb.base/siganls.exp: Likewise.
10374
10375 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
10376 compiler output.
10377 * gdb.base/whatis.exp: Likewise.
10378
10379 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
10380
10381 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
10382 failure (opcode table has been fixed to match reality).
10383
10384 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
10385
10386 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
10387 "call inferior func with struct - returns char",
10388 "call inferior func with struct - returns short"
10389
10390 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
10391 "print 'scope0.c'::filelocal at main",
10392 "print 'scope0.c'::filelocal_bss in test_at_main",
10393 "print 'scope0.c'::filelocal at foo",
10394 "print 'scope0.c'::filelocal_bss in test_at_foo",
10395 "print 'scope0.c'::filelocal at bar",
10396 "print 'scope0.c'::filelocal_bss in test_at_bar"
10397
10398 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
10399 in source file 1". This bug seems to have been fixed with both
10400 gcc and native cc (was native assembler bug?).
10401
10402 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
10403
10404 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
10405 "backtrace through signal handler" to "i*86-*-sysv4*".
10406 * gdb.base/signals.exp: Add xfail for "'next' behaved as
10407 continue" case. Add "known SVR4 bug" to fail message.
10408 Add "i*86-*-bsdi2.0" xfail for "handle all print".
10409 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
10410 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
10411 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
10412 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
10413 "up to foo in langs.exp", "show language at foo in
10414 langs.exp", "up to cppsub_ in langs.exp", "show
10415 language at cppsub_ in langs.exp", "up to fsub in
10416 langs.exp", and "show language at fsub in langs.exp".
10417 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10418 "bactrace in corefile.exp".
10419 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10420 "call inferior function with struct - returns float" and
10421 "call inferior function with struct - returns double".
10422
10423 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
10424
10425 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10426 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10427 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10428 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10429
10430 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
10431
10432 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10433 (or overriden) "CHILL" macro rather then bare "gcc".
10434 Also look for ../../gcc/xgcc since that is what we will
10435 actually need, not "Makefile". Remove following assignment
10436 of CHILL to CHILL_FOR_TARGET because that results in
10437 recursive definition.
10438
10439 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
10440
10441 * gdb.base/corefile.exp: Change xfail for backtrace in
10442 corefile.exp from linuxaout to all linux.
10443 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
10444 cases where we miss the breakpoint at the signal handler
10445 for some reason. Setup xfail for linuxoldld/linuxaout and
10446 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
10447 hitting SIGURG breakpoint.
10448 * gdb.base/signals.exp: Setup xfail for "next" acting like
10449 continue to add linuxoldld. Setup xfail for all linux for
10450 "next to handler in signals_tests_1", "backtrace in
10451 signals_tests_1", "continue to func1", "pass SIGUSR1",
10452 and continue to handler".
10453
10454 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
10455
10456 * Update all FSF addresses except those in COPYING* files.
10457
10458 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
10459
10460 * gdb.base/a2-run.exp: Change messages to be more explicit about
10461 the status of args, and quote binfile in results.
10462
10463 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
10464
10465 * gdb.base/callfuncs.exp: Add tests for passing structs to
10466 inferior functions and return various types.
10467 * gdb.base/callfuncs.c: Add functions to receive a struct
10468 and return a member of the struct, in various types.
10469
10470 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10471
10472 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
10473
10474 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10475
10476 * config/vxworks29k.exp: New file, sources vxworks.exp.
10477
10478 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10479
10480 * config/gdbremote.exp: New file. Testing framework using
10481 gdbserver.
10482
10483 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
10484
10485 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10486 "call function when asleep" and "send end of file".
10487 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10488 for "backtrace in corefile.exp".
10489 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10490 for "backtrace through signal handler".
10491 * gdb.base/corefile.exp: Make sure we actually generate a core file
10492 before trying the core tests. Some systems allow the user to suppress
10493 generation of core files and default to that (linux for example).
10494 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10495 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
10496
10497 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10498
10499 * gdb.threads: New directory with some crude multi-threaded
10500 gdb tests (step.exp and step2.exp).
10501 * config/mt-lynx (STEP_EXECUTABLE): Define.
10502 (THREADFLAGS): Define.
10503
10504 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
10505
10506 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10507
10508 * gdb.base/signals.exp: Disable whole file for lynx until
10509 further notice.
10510
10511 * gdb.base/signals.exp: xfail test where "next" acts like
10512 "continue" for lynx.
10513
10514 * gdb.base/interrupt.exp: xfail test for calling function while
10515 inferior is asleep for lynx.
10516
10517 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10518 than one cr-lf after each command.
10519
10520 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10521
10522 * configure.in: Reinstate setting of stabsdirs variable, fix
10523 typo in setting up configdirs for native builds.
10524
10525 * gdb.base/return.exp: Fix typo in return double test.
10526 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10527 compiler from optimizing them away.
10528
10529 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10530
10531 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10532 sequences to be echo'd by gdb when using gdb_test.
10533 * gdb.chill/chexp.exp: Likewise.
10534 * gdb.fortran/exprs.exp: Likewise
10535
10536 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10537
10538 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10539 after the inferior gdb has started.
10540
10541 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10542 after each command.
10543 * gdb.base/funcargs.exp: Likewise.
10544 * gdb.base/gdbvars.exp: Likewise.
10545 * gdb.base/interrupt.exp: Likewise.
10546 * gdb.base/list.exp: Likewise.
10547 * gdb.base/watchpoint.exp: Likewise.
10548 * gdb.c++/demangle.exp: Likewise.
10549 * gdb.c++/inherit.exp: Likewise.
10550 * gdb.chill/chexp.exp: Likewise.
10551 * gdb.fortran/exprs.exp: Likewise.
10552
10553 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10554 test if we can't handle IO to/from the inferior.
10555
10556 * gdb.c++/misc.exp: Always check for a program already being
10557 started after sending a "run" command to gdb.
10558
10559 * gdb.base/twice.exp: Start with a fresh gdb.
10560
10561 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10562 only depend on gdb's expression code, not the chill runtime.
10563
10564 * gdb.base/return.c: Put return values into variables so we
10565 can have gdb print them rather than depending on the program
10566 to print them.
10567 * gdb.base/return.exp: Corresponding changes.
10568
10569 * lib/gdb.exp: Provide default value for noinferiorio.
10570 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10571 the inferior.
10572
10573 * gdb.base/break.exp: Always check for a program already being
10574 started after sending a "run" command to gdb.
10575 (text_next_with_recursion): Don't check the output from the
10576 program's printf statement. Instead just make sure the program
10577 exited.
10578
10579 * gdb.base/commands.exp: Protect tests which need arguments with
10580 $noargs conditionals.
10581
10582 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10583
10584 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10585 of structure member arrays to match gdb/valops.c:value_addr change.
10586
10587 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10588
10589 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10590 cases.
10591
10592 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10593
10594 * configure.in (configdirs): Remove gdb.chill from default list
10595 of subdirs and then add it back in only if doing a native build.
10596 The current chill compiler does not yet work in any cross build.
10597 * Revert all signal changes from Jul 6.
10598 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10599 for sh-hms targets, allowing these tests to link, with no other
10600 changes. Testing is suppressed by setting "nosignals" in site.exp.
10601
10602 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10603
10604 * configure.in (signaldirs): Define and add to configdirs for all
10605 targets except some specific ones that are known to not support signals.
10606 Also clean up formatting.
10607 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10608 (signals, sigall): Remove rules to build.
10609 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10610 Moved to new gdb.signals directory.
10611 * gdb.signals: New test directory.
10612 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10613 signals.c signals.exp}: New or moved files.
10614
10615 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10616
10617 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10618
10619 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10620
10621 * gdb.base/return.exp: Xfail `return double' test failure
10622 on at least Solaris 2.3 and handle future/past versions on
10623 a case by case basis as appropriate. Also update message
10624 to include i*86 failures.
10625
10626 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10627
10628 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10629
10630 * lib/gdb.exp: Fix comment which erroneously identified
10631 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10632 gdb_file_cmd not gdb_load).
10633 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10634
10635 * gdb.base/setvar.exp: Make test names consistent between pass and
10636 fail cases. Use gdb_test more.
10637
10638 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10639
10640 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10641
10642 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10643
10644 * gdb.base/help.exp: Fix expected help string for `show commands'.
10645
10646 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10647
10648 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10649
10650 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10651 of a text section.
10652
10653 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10654
10655 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10656 that loop eventually terminates. Fix Connection refused logic so
10657 that testsuite will expire nicely.
10658
10659 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10660
10661 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10662 config/rom68k.exp: New tcl glue for the appropriate monitors.
10663 These all just end up calling monitor.exp.
10664 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10665 refused' by retrying. Cleanup some timeout issues.
10666 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10667 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10668 callers don't have to set/restore global timeout variable.
10669
10670 * The following set of changes centralizes management of the global
10671 timeout variable. This way, it can be set in one target dependent
10672 place instead of dozens of places scattered throughout the test suite.
10673 If you need to lengthen a timeout, then you should either set timeout
10674 in one of the config/{target}.exp files, or multiply it by a factor.
10675 Setting it to an absolute value is always going to lose for some
10676 targets.
10677 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10678 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10679 * gdb.base/funcargs.exp: Don't set timeout.
10680 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10681 * gdb.base/printcmds.exp (test_print_string_constants
10682 test_print_array_constants): Don't set timeout.
10683 * gdb.base/ptype.exp: Don't set timeout.
10684 * gdb.base/recurse.exp: Don't set timeout.
10685 * gdb.base/return.exp: Don't set timeout.
10686 * gdb.base/watchpoint.exp: Don't set timeout.
10687 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10688 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10689
10690 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10691
10692 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10693
10694 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10695
10696 * lib/gdb.exp: Disable chill tests for irix5.
10697
10698 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10699
10700 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10701 each test pass or fail.
10702
10703 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10704
10705 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10706 xlc not gcc.
10707
10708 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10709
10710 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10711
10712 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10713
10714 * config/est.exp: Fix copyright and comments. Remove dead code.
10715 Use targetname, serialport and baud variables instead of fixed
10716 constants.
10717 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10718 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10719
10720 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10721
10722 * gdb.base/watchpoint.exp: Don't run
10723 test_watchpoint_triggered_in_syscall for sunos.
10724
10725 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10726
10727 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10728 they don't seem to exist. Do include stdio.h.
10729
10730 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10731
10732 * gdb.base/a1-selftest.exp: Add alpha xfail.
10733
10734 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10735
10736 * gdb.base/watchpoint.c (main): Prompt before calling read().
10737 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10738 Revise accordingly. Remove cruft about sending "123" several
10739 times, until it gets noticed. Clean up the "print buf[0]" stuff
10740 so that it passes or fails, and waits for prompts in the usual way.
10741
10742 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10743
10744 * gdb.base/recurse.exp: Fix comment.
10745
10746 * TODO: Remove item about printing variables in nodebug.exp. Add
10747 item about enabling tests which are only run on some targets.
10748
10749 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10750 fail, make test names unique, use new gdb_test convention
10751 regarding pattern, use gdb_test more, etc.).
10752
10753 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10754 fail, make test names unique, etc.).
10755
10756 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10757
10758 * gdb.base/nodebug.c: Change return type of top and middle to
10759 short.
10760 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10761 are fixed by the recent mdebugread.c changes. Allow `short ()'
10762 as type for top and middle.
10763
10764 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10765
10766 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10767 nearly as I can tell, the whole thing was an accident in Stu's
10768 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10769 to replace a send/expect pair with gdb_test, but ended up only
10770 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10771 of 30 Mar 1995 took care of it, but left this vestigial comment
10772 which I am now nuking.
10773
10774 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10775
10776 * gdb.base/break.exp: Look for different line number for
10777 breakpoint at main depending on usestubs.
10778
10779 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10780
10781 * gdb.base/list.exp: Adjust some alternate expect patterns to
10782 match recent list0.c change. Add alternate expect pattern for
10783 output from `list default lines around main' for optimizing
10784 compilers.
10785
10786 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10787
10788 * lib/gdb.exp: If nosignals is not set, set it to 0.
10789
10790 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10791
10792 * config/slite-gdb.exp: Responds to load symbol table prompt.
10793 * gdb.base/break.exp: Adjust line number, fix rerun.
10794 * gdb.base/langs0.c: Add #ifdef usestubs.
10795
10796 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10797
10798 * gdb.base/list.exp: Adjust line contents after adding new lines in
10799 list0.c. Also fix a syntax error.
10800
10801 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10802 * gdb.base/break.exp: ditto.
10803 * gdb.base/list.exp: ditto.
10804 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10805 * gdb.base/run.c: ditto.
10806 * gdb.base/list0.c: ditto.
10807 * gdb.base/funcargs.c: ditto.
10808
10809 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10810
10811 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10812 $targetname, $serialport and $baud instead of hardwired variables.
10813 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10814 target doesn't support signals.
10815
10816 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10817
10818 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10819
10820 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10821
10822 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10823 Don't rely on the value of an auto variable before it has been
10824 initialized. Use gdb_test more.
10825
10826 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10827
10828 * lib/gdb.exp (default_gdb_version): A version number must start
10829 with a digit, but other than that contains all characters up to
10830 the first whitespace character.
10831
10832 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10833
10834 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10835
10836 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10837
10838 * gdb.c++/*.exp: Warn if executable does not exist. The original
10839 reason for skipping the warning was that configure.in sometimes
10840 intentionally skipped building the executables but the tcl code
10841 had no way of knowing. That (a) was always bogus with respect to
10842 error handling, (b) is no longer true (right now there is no way
10843 to skip C++ tests).
10844
10845 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10846
10847 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10848
10849 * gdb.base/list.exp: Add expect patterns for output from
10850 SunPRO compiled executables.
10851 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10852 types.
10853
10854 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10855
10856 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10857 number (we are already testing that the correct source line text
10858 gets printed).
10859
10860 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10861 that is what is intended, but something needed to be done to get
10862 sunos4 native working again.
10863
10864 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10865
10866 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10867 apparently went with a (very) old xfail.
10868
10869 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10870
10871 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10872 runto_main is a proc in gdb.exp that will do 'step' for target use
10873 stubs.
10874 * gdb.base/exprs.exp: ditto.
10875 * gdb.base/interrupt.exp: ditto.
10876 * gdb.base/opaque.exp: ditto.
10877 * gdb.base/printcmds.exp: ditto.
10878 * gdb.base/ptype.exp: ditto.
10879 * gdb.base/scope.exp: ditto.
10880 * gdb.base/setvar.exp: ditto.
10881 * gdb.base/signals.exp: ditto.
10882 * gdb.base/twice.exp: ditto.
10883 * gdb.c++/classes.exp: ditto.
10884 * gdb.c++/inherit.exp: ditto.
10885 * gdb.c++/templates.exp: ditto.
10886 * gdb.base/break.exp: no run and hit main for stubs. Change line
10887 numbers for breakpoints and info breakpoint.
10888 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10889 breakpoint().
10890 * gdb.base/callfuncs.c: ditto.
10891 * gdb.base/exprs: ditto.
10892 * gdb.base/interrupt.c: ditto.
10893 * gdb.base/opaque0.c: ditto.
10894 * gdb.base/printcmds.c: ditto.
10895 * gdb.base/ptype.c: ditto.
10896 * gdb.base/scope0.c: ditto.
10897 * gdb.base/setvar.c: ditto.
10898 * gdb.base/signals.c: ditto.
10899 * gdb.base/twice.c: ditto.
10900 * gdb.c++/misc.cc: ditto.
10901 * gdb.c++/templates.cc: ditto.
10902
10903 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10904
10905 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10906
10907 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10908 somewhere between `read' and `main.c'. I'm pretty sure the
10909 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10910 and it isn't particularly useful.
10911
10912 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10913
10914 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10915
10916 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10917
10918 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10919
10920 * config/mt-slite: add LIBS and -nostdlib.
10921 * config/slite-gdb.exp: add this new file to support sparclite target.
10922
10923 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10924
10925 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10926
10927 * gdb.base/a2-run.exp: Change argument to istarget from
10928 "*-*-vxworks" to "*-*-vxworks*".
10929 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10930
10931 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10932
10933 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10934 will not runto main but do a 'step' to step out of breakpoint().
10935 * config/mt-slite: add -Dusestubs.
10936
10937 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10938
10939 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10940 instead of just @.
10941
10942 * gdb.base/signals.exp: Add test for "handle all print".
10943 * TODO: Remove "handle all print". Also remove item about
10944 checking copyright date (I don't like the idea of a spurious FAIL
10945 based on when we run the tests).
10946
10947 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10948 for SunOS4 (reason for failure not investigated). Remove
10949 redundant test for $binfile.
10950
10951 * gdb.base/nodebug.c (array_index): Call malloc.
10952
10953 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10954
10955 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
10956
10957 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10958 conventions and slightly simplify the matching regexp.
10959
10960 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10961
10962 * gdb.base/break.exp: Update gdb_test invocation to use new
10963 convention.
10964
10965 * lib/gdb.exp: If noargs is not set, set it to 0.
10966
10967 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10968 tests unique.
10969
10970 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10971
10972 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10973
10974 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10975 one argument of type "<non-float parameter>".
10976
10977 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
10978
10979 * config/rom68k.exp: New file to support Motorola IDP board.
10980 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10981 * gdb.base/break.c: Change things around so that this program
10982 doesn't depend upon args. This is necessary to make remote
10983 targets work (in general, they can't take args).
10984 * gdb.base/break.exp: Don't try to send args to program. Don't
10985 expect output. Also, replace lots of code with gdb_test.
10986
10987 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10988
10989 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10990 printing of '\'' (which is what the comment says we are testing,
10991 even though we were not), not '''.
10992 (test_integer_literals_rejected): Test that printing ''' is an error.
10993
10994 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10995 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10996 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10997 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10998 Use gdb_test not test_print_accept.
10999 * lib/gdb.exp: Remove test_print_accept.
11000
11001 * gdb.base/signals.exp (signal_tests_1): Make pass message
11002 consistent with fail message.
11003
11004 * gdb.base/whatis.exp: Remove xfails for printing char vs.
11005 unsigned char; the bug (PR 1821) is fixed.
11006
11007 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
11008
11009 * gdb.base/scope.exp (test_at_localscopes): Call pass for
11010 successful tests--makes xfailing them work right.
11011
11012 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11013
11014 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
11015 only \r\n, not .*. The test can pass .* as the last thing in
11016 $pattern if that is what it wants. In addition to providing this
11017 flexibility, this change should speed up pattern matching in cases
11018 where the pattern already ended with .* (there were a number of
11019 them). This change also helps catch bad patterns--in the old
11020 scheme the typo "char \*" instead of "char \\*" would pass. Now
11021 it is caught.
11022 * Many .exp files: Update callers.
11023
11024 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
11025 clearer and does not spuriously match multiple ('s. Likewise for
11026 ) and *.
11027
11028 * gdb.base/nodebug.exp: Test ability to call a function and pass
11029 it a string (even with no debugging info).
11030
11031 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
11032 "p '\'", which is the same as "p ''" once tcl gets done with
11033 quoting, to "p '\\'", which I suspect is what is intended (one
11034 backslash gets sent to GDB).
11035
11036 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
11037
11038 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11039
11040 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
11041 1817) was fixed literally years ago.
11042
11043 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11044
11045 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
11046 test, it causes stepping out of call_after_alloca_subr with
11047 optimizing compilers.
11048 (localvars_in_indirect_call): Consume GDB prompt if `finish'
11049 fails.
11050
11051 * gdb.c++/templates.exp: Source templ-info.exp only if
11052 the templates executable exists.
11053
11054 * gdb.c++/misc.cc (class Contains_static_instance,
11055 class Contains_nested_static_instance),
11056 gdb.c++/classes.exp (test_static_members): Test printing of
11057 a class that contains a static instance of the class.
11058
11059 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11060
11061 * gdb.base/langs2.c (cppsub_): Don't prototype.
11062 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
11063 only, I believe).
11064
11065 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11066
11067 * lib/gdb.exp (skip_chill_tests): New procedure.
11068
11069 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
11070
11071 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
11072
11073 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
11074 each expect pattern. Cuts runtime from 12 to about 4 seconds.
11075
11076 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11077
11078 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
11079
11080 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
11081 disassemble 8, not 16, instructions for part 4.
11082
11083 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
11084 support the latter anymore.
11085
11086 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
11087 -DNO_PROTOTYPES.
11088 * gdb.base/callfuncs.c: Control use of prototypes based on
11089 NO_PROTOTYPES, not __STDC__.
11090 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
11091 t_float_values2 tests if prototypes in use.
11092
11093 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
11094 t_double_values): When checking differences against DELTA, check
11095 that difference is within the range (-DELTA,DELTA), not just
11096 (-infinity,DELTA).
11097
11098 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
11099
11100 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
11101 'file' command firts, then 'target', then 'load', this is due to gdb
11102 target set up.
11103 * config/mips-gdb.exp: Fix a couple regular exp bugs.
11104
11105 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
11106
11107 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
11108 FP load/store variants.
11109 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
11110
11111 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11112
11113 * gdb.base/term.exp: Do not give a warning if not native, it is
11114 not an abnormal condition.
11115
11116 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
11117
11118 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
11119 t_char_array".
11120
11121 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11122
11123 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
11124 are getting the version number.
11125
11126 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
11127 if not native, it is not an abnormal condition.
11128
11129 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11130
11131 * lib/gdb.exp: Just use "file exists", rather than undocumented
11132 dejagnu procedure "findfile".
11133
11134 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11135
11136 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
11137 (LDFLAGS): Set to -Xlinker -Ur.
11138
11139 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
11140 Removed, these values are set by lib/gdb.exp.
11141
11142 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
11143
11144 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11145
11146 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
11147 of replicating gdb startup code.
11148
11149 * config/mt-vxworks (LDFLAGS): Set to -r.
11150 (CFLAGS_FOR_TARGET): Removed.
11151
11152 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
11153 (gdb) and gdb for vxworks uses (vxgdb).
11154
11155 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
11156 executable is not in the tree and host != target, use sed and
11157 program_transform_name to determine the gdb name used by the
11158 target.
11159
11160 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
11161 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
11162
11163 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11164
11165 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
11166 floats, chars, and shorts where there are ANSI-style function
11167 definitions.
11168
11169 * gdb.base/langs.exp, gdb.base/langs*: New test.
11170 * gdb.base/Makefile.in: Build it.
11171 * TODO: Remove item about checking that C names don't get C++
11172 demangling applied; this test tests it.
11173
11174 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11175
11176 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
11177 went with the const70 xfail. The xfail went away a year ago.
11178
11179 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
11180
11181 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
11182 for hp300.
11183
11184 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
11185
11186 * gdb.base/a1-selftest.exp: Don't run on hp300.
11187
11188 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11189
11190 * Makefile.in (site.exp): Set host_alias and target_alias as well
11191 as host_triplet and target_triplet.
11192
11193 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11194
11195 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
11196
11197 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
11198 places as other ecoff systems).
11199
11200 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
11201 ultrix.
11202
11203 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11204
11205 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
11206 remove them.
11207 * gdb.base/nodebug.exp: Accept "function" in addition to "text
11208 variable and "variable" in addition to "data variable".
11209 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
11210
11211 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
11212 2.
11213 * gdb.base/list1.c (long_line): Add additional statement at start
11214 of function.
11215 * gdb.base/list.exp (test_forward_search): Update line number to
11216 reflect new statement.
11217
11218 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11219
11220 * gdb.base/signals.exp: Reinitialize searched source directories
11221 after gdb_start call.
11222
11223 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
11224
11225 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
11226 * gdb.stabs/Makefile.in: Likewise.
11227
11228 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
11229 change. Instead split the tests into smaller pieces.
11230 * gdb.disasm/hppa.s: Corresponding changes.
11231
11232 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11233
11234 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11235 Quote ^C when passing it to stty. For some shells ^ is a pipe.
11236
11237 * gdb.base/funcargs.exp: Modify many tests so that every test
11238 either passes or fails. Make some test names unique.
11239
11240 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11241
11242 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11243 Call stty to set interrupt character.
11244
11245 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
11246 for HP assembler versus GNU assembler based on actual behavior of
11247 $(CC), rather than assuming that $(AS) is always the GNU assembler.
11248
11249 * TODO: Suggest a few more stepping tests.
11250
11251 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
11252
11253 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
11254 restart GDB for h8300 after a continue.
11255 (return): Add pattern to match a29k-udi behavior.
11256 * gdb.base/nodebug.exp: Remove obsolete comment.
11257 * gdb.base/regs.exp: New file, testing of register displays.
11258 * gdb.base/return.exp: Fix typo in reference to $objdir.
11259 * gdb.base/whatis.exp: Always start with a fresh GDB.
11260
11261 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11262
11263 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
11264 higher, these tests generate a lot of output.
11265
11266 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11267
11268 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
11269 code following the catch silently ignored some errors; without the
11270 catch they should be thrown like any other tcl error. Also, the
11271 catch used "" instead of {} which meant all the callers who wanted
11272 to include one of the characters "[]$ had to quote it an extra time.
11273 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
11274 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
11275 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
11276 Remove extra quoting.
11277
11278 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
11279
11280 * gdb.base/commands.exp: Make test names unique; every test either
11281 passes or fails. Update some comments.
11282
11283 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
11284
11285 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11286
11287 The following fixes a FAIL caused by the fact that the alpha stabs
11288 configuration didn't use the ".if alpha" code in weird.def.
11289 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
11290 bit pointer, so the 32 bit version works even on the alpha.
11291 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
11292 Remove the stuff which allowed us to have separate versions for
11293 alpha and everything else.
11294
11295 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
11296 regexp which "info func operator\[\](" is supposed to match. Fix
11297 string to send to GDB. Note that GDB still doesn't work right. Add a
11298 new test for "info func .perator\[\](" which GDB does handle correctly.
11299
11300 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
11301
11302 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11303
11304 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
11305 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
11306 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
11307 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11308 it makes the tests harder to understand and confuses test-o-matic.
11309 The preferred style is that each test provides a PASS or a FAIL,
11310 and has a unique message (e.g. "continue #54" not just "continue")
11311 which is the same for the pass and the fail.
11312 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11313 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
11314 to lib/gdb.exp.
11315 * gdb.base/printcmds.exp: Use test_print_accept. Remove
11316 prt_accept which was basically the same thing. Likewise for
11317 test_print_reject and prt_reject.
11318 * lib/gdb.exp (test_print_reject): Add some more error message
11319 patterns to match from the former printcmds.exp (prt_reject).
11320 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
11321 One defect of the passcount stuff is that some of it failed to
11322 report XPASS where appropriate.
11323 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
11324 stuff before and after arg in expected pattern.
11325 (test_paddr_operator_functions): Re-do test without print_addr_of;
11326 this is the only test which seems to want extra stuff there.
11327
11328 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11329
11330 * gdb.base/nodebug.exp: Update new tests to reflect improved
11331 wording of gdb output.
11332
11333 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
11334 and "ptype" work on variables in files compiled without -g.
11335 Replaces commented out "maint print msymbol" tests.
11336
11337 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11338
11339 * gdb.base/setvar.c (dummy): Call malloc.
11340
11341 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
11342 losing with the irix4 sed.
11343
11344 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
11345 ALRM" on irix4.
11346
11347 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11348
11349 * TODO: Remove items about corefile.exp testing new exec-file and
11350 backtrace; both are now done. Add items about printing enums.
11351
11352 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11353
11354 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
11355 "get signal $thissig" test fails.
11356
11357 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
11358
11359 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11360
11361 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
11362 compiler warning with dec alpha compiler.
11363
11364 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
11365 extra \n from gdb_test call (this explains why the prompt test
11366 that I removed yesterday was there).
11367 (user_defined_command_test): Remove extra \n and prompt test.
11368
11369 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
11370 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
11371 doesn't exist.
11372 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
11373 Also remove alpha workaround, which turns out to be because
11374 SIGABRT == SIGLOST.
11375
11376 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
11377
11378 * gdb.base/help.exp: Don't test "help show".
11379
11380 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11381
11382 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
11383 "set print address" is on.
11384 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
11385 pass prompt to gdb_test; gdb_test already looks for the prompt.
11386
11387 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
11388
11389 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
11390 was a vestige of the manual TESTSTRATEGY, and the purpose of it
11391 was to make sure that gdb can read a core file. But (a) the "read
11392 the corefile" part didn't make it to a1-selftest.exp, we just
11393 delete the corefile after creating it, and (b) we test reading
11394 corefiles in corefile.exp anyway. Also, this test left around a
11395 xgdb process on Solaris.
11396
11397 * gdb.base/corefile.exp: Also test backtrace.
11398
11399 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
11400
11401 * gdb.base/commands.exp: Test a simple user defined command with
11402 arguments and if/while statements; verify the full user command is
11403 printed by "show user".
11404
11405 * gdb.base/commands.exp: Test if/while commands as part of a
11406 breakpoint command list; verify they appear in breakpoint
11407 information.
11408
11409 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11410
11411 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
11412 than by dividing by zero.
11413
11414 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
11415
11416 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11417 performing an inferior call with watchpoints enabled.
11418 * gdb.base/watchpoint.c (main): Delete second unnecessary read
11419 call.
11420
11421 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11422
11423 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11424 of "file" command.
11425
11426 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11427 Add additional pattern for when "int operator int(void);" appears
11428 in a different order.
11429
11430 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11431
11432 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11433
11434 * gdb.base/help.exp: Replace most of docstrings for "info signals"
11435 and "signal" with ".*".
11436
11437 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11438
11439 * TODO: Add note about "handle all nostop".
11440
11441 * gdb.base/{sigall.c, sigall.exp}: New test.
11442 * gdb.base/Makefile.in: Add it.
11443
11444 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
11445
11446 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11447 when invoking GDB, suppresses any windowing interface.
11448
11449 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
11450
11451 * config/sim-gdb: New file, simulator testing support.
11452
11453 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
11454
11455 * gdb.base/interrupt.exp: Test calling func1 twice.
11456
11457 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
11458
11459 * gdb.base/list.exp (test_forward_search): Set timeout higher
11460 when we'll be getting lots of output from gdb.
11461
11462 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11463 "init_malloc" to after the expect statement. Run it if that
11464 regexp is taken, but also for two others which happen if source
11465 cannot be found.
11466
11467 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11468
11469 * gdb.base/printcmds.exp: New test, for printing register before
11470 program is running.
11471
11472 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11473
11474 * gdb.base/list.exp: Correct some alternate expect patterns
11475 to reflect changes in list1.c.
11476
11477 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11478
11479 * TODO: Add item regarding large frames.
11480
11481 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11482
11483 * TODO: Remove item about enabling return.exp; it
11484 is enabled. Suggest a few more "return" tests.
11485
11486 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11487
11488 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
11489 anonymous unions.
11490
11491 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11492
11493 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11494 and pr-5646.o, so "make" is the same as "make all", not "make
11495 pr-4975.o".
11496
11497 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
11498
11499 * gdb.base/list.exp: Adjust expectations to reflect changes in
11500 list1.c.
11501 (test_forward_search): New test proc.
11502 * gdb.base/list1.c (long_line): New function, has long source line.
11503
11504 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
11505
11506 * gdb.base/a1-selftest.exp: Change initial stepping to know about
11507 additional line of code that was added.
11508
11509 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
11510
11511 * gdb.disasm/hppa.s: Break the large branching tests into smaller
11512 tests so as not to overflow expect's input buffers.
11513 * gdb.disasm/hppa.exp: Corresponding changes.
11514
11515 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11516
11517 Beginnings of template debugging tests.
11518 * gdb.c++/templ-info.cc: New file to test for template
11519 debugging capability of the compiler.
11520 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
11521 templ-info.cc.
11522 * gdb.c++/templates.cc: Add explicit template instantiations
11523 to enable compiling with -fno-implicit-templates. Add destructor
11524 and 'value' method to T5 class for template tests.
11525 * gdb.c++/templates.exp: Add testcases for printing of template
11526 types, setting breakpoints on template methods and calling a
11527 template method.
11528
11529 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11530
11531 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11532 branch target since some assemblers (gas-2.5) may emit a
11533 relocation for the branch instead of resolving it in the
11534 assembler.
11535
11536 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11537
11538 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11539 through signal handler.
11540
11541 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11542
11543 * configure.in (*-*-netware): Use config/mt-netware.
11544
11545 * config/mt-netware: New file.
11546 * config/mt-i386-netware: Removed, separate configs for different
11547 netware architectures are no longer needed now that we have
11548 --with-headers.
11549
11550 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11551
11552 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11553 by the recent changes to use ANSI C arithmetic conversions.
11554
11555 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11556
11557 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11558 bug involving using inferior_pid to figure out whether to select a
11559 frame.
11560
11561 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11562
11563 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11564 match the current disassembler output.
11565
11566 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11567
11568 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11569 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11570 types, expect "int" as type of integer values (for now).
11571
11572 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11573
11574 * gdb.base/commands.exp: New tests for if/while commands.
11575
11576 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11577
11578 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11579 by .*, since hex values have different syntax in Chill mode.
11580
11581 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11582
11583 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11584 linefeed from expect pattern for repeated types with indices > 9.
11585
11586 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11587
11588 First part of Fortran test suite.
11589 * gdb.fortran: New directory.
11590 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11591
11592 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11593
11594 * gdb.base/default.exp: Update expect pattern for load command
11595 without arguments.
11596
11597 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11598
11599 * configure.in: Change i386 to i[345]86.
11600 * gdb.base/configure.in: Likewise.
11601 * gdb.c++/configure.in: Likewise.
11602 * gdb.chill/configure.in: Likewise.
11603
11604 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11605
11606 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11607 patterns, since that is not a valid context for comments.
11608
11609 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11610
11611 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11612 repeated types and repeated types with indices > 9.
11613
11614 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11615
11616 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11617 2417; old bug has been fixed.
11618
11619 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11620
11621 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11622 send the newline ourselves instead of assuming gdb_test will do
11623 so when passed an empty input string.
11624
11625 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11626 stabs testcode.
11627
11628 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11629
11630 * lib/gdb.exp (gdb_test): Don't send anything if the first
11631 argument is an empty string. This makes cases where we want to
11632 match output that is already in expect's buffers (for example,
11633 matching a breakpoint after gdb_run_cmd has been called) work
11634 reliably.
11635
11636 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11637
11638 * config/netware.exp: New file.
11639
11640 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11641
11642 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11643 the -B and -L prefixes so we can find the debugging stub.
11644
11645 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11646 there and we are using the gcc from the tree.
11647
11648 * gdb.base/types.c: Removed.
11649
11650 * gdb.base/configure.in: Look for makefile fragments in ../config.
11651 Recognize i386-*-netware.
11652 * gdb.c++/configure.in: Likewise.
11653
11654 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11655
11656 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11657 the correct TCL syntax.
11658
11659 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11660
11661 * gdb.base/opaque.exp: use runto instead of messing around with
11662 breakpoints. Simplify by using gdb_test.
11663
11664 * gdb.base/bitfields.exp: restart between tests on netware targets
11665 because breakpoints aren't relocated after target death. Run
11666 processes to completion.
11667
11668 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11669
11670 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11671
11672 * Makefile.in: Remove extra tabs that confuse some versions
11673 of "make". Use the newly built gdb to test with by default,
11674 rather than the first one in the tester's search path.
11675
11676 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11677
11678 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11679
11680 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11681 condition help.
11682
11683 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11684
11685 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11686
11687 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11688 running.
11689 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11690 * gdb.base/funcargs.exp: Likewise.
11691
11692 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11693 * gdb.base/funcargs.exp: Likewise.
11694
11695 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11696 message is "".
11697
11698 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11699
11700 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11701 return,signals,twice}.exp: Handle non-existant binaries
11702 consistantly.
11703
11704 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11705 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11706 might testing a cross development system.
11707
11708 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11709
11710 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11711 runtest script is relative to ${srcdir}, not ${rootdir}.
11712
11713 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11714
11715 * gdb.base/signals.exp: Allow for optionality of breakpoint
11716 address.
11717
11718 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11719
11720 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11721
11722 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11723
11724 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11725 for size_t definition.
11726 * gdb.c++/templates.cc: Likewise
11727
11728 * config/mt-i386-netware: New file.
11729
11730 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11731 defined.
11732
11733 * gdb.base/Makefile.in: Added support for systems that name core
11734 files by appending "core" to the program name.
11735 * gdb.base/a1-selftest.exp: Likewise.
11736
11737 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11738
11739 * gdb.base/return.exp: Add comment and message for `return double'
11740 test failure on Sparc Solaris.
11741
11742 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11743
11744 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11745
11746 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11747
11748 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11749 from optimizing them away.
11750 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11751 patterns to include default constructors and assignment operators,
11752 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11753 character in the output of the virtual base pointer.
11754
11755 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11756
11757 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11758 expression match in print_addr_of to avoid unintented matches.
11759 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11760 versions up to 2.5.8.
11761
11762 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11763
11764 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11765 included file to run under newer versions of expect.
11766 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11767 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11768 Remove xfail for the virtual table of BDDHookV.
11769
11770 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11771
11772 * lib/gdb.exp (string_to_regexp): Set a default result.
11773 (default_gdb_start): Fix misleading message.
11774
11775 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11776
11777 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11778 Remove all CC, etc definitions.
11779 * config/mt-hpux: New file.
11780 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11781 (CFLAGS, LDFLAGS): Define.
11782 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11783
11784 * Makefile.in (site.exp): Don't insert host_os, etc.
11785 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11786 (distclean): Check existence of subdir.
11787 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11788 * gdb.base/Makefile.in: General cleanup and simplification.
11789 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11790 to build executables. Use default rule to build .o files.
11791 (EXPECT, RUNTEST, CC): Fix relative pathname.
11792 (site.exp): Don't insert host_os, etc.
11793 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11794 and/or SIGUSR1 defined.
11795 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11796 * gdb.c++/Makefile.in: General cleanup and simplification.
11797 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11798 (CFLAGS): Remove.
11799 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11800
11801 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11802
11803 * gdb.base/recurse.exp: Misc changes to get tests running again
11804 after Kung's changes to the watchpoint code.
11805 * gdb.base/watchpoint.exp: Likewise.
11806
11807 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11808
11809 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11810
11811 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11812
11813 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11814 * lib/gdb.exp (default_gdb_start): Define.
11815 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11816 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11817 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11818 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11819 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11820 Don't call gdb_target_udi in between tests.
11821
11822 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11823
11824 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11825 (which was basically just a local version of the same thing). In
11826 addition to avoiding duplication, gdb_test_exact is faster.
11827 * lib/gdb.exp (gdb_test_exact): Fix typo.
11828
11829 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11830 don't give an error.
11831
11832 * gdb.base/term.exp: Call delete_breakpoints before starting.
11833
11834 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11835 (t10): Add comment.
11836
11837 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11838
11839 Reorganization of the GDB Test Suite.
11840
11841 * gdb.base: New directory, contains all the basic tests.
11842 * gdb.c++: New directory, tests specific to C++.
11843 * gdb.chill: New directory, tests specific to Chill.
11844 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11845 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11846 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11847 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11848 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11849 t30-31 to chill).
11850 * */gdbme.*: Rename to match appropriate expect scripts.
11851 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11852 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11853 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11854 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11855 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11856 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11857 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11858 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11859 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11860 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11861 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11862 gdb.c++/virtfunc.cc: New names of C++ files.
11863 * gdb.chill/chillvars.ch: New name of Chill file.
11864 * gdb.base/configure.in, gdb.c++/configure.in,
11865 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11866 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11867 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11868 * configure.in (configdirs): Update to reflect directory changes.
11869 (target_abbrev): No longer define for any configuration.
11870 * Makefile.in: Cosmetic improvements to header comments.
11871
11872 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11873
11874 Various changes to gdb.t31:
11875
11876 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11877 * gdbme.ch: Make all key-words and predefineds be upper-case.
11878 * chillvars.exp: Expect key-words and predefinds in upper-case.
11879
11880 * chillvars.exp: Use gdb_test_exact many places.
11881 Change expected output for arrays (which now includes index labels).
11882
11883 * pr-5020.exp, gdme.ch (module PR_5020):
11884 New test, for PR-5020.
11885
11886 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11887
11888 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11889 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11890
11891 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11892
11893 * Makefile.in: Fix bit-rot in definitions of CHILL,
11894 CHILL_FOR_TARGET and Chill_LIB.
11895 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11896 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11897 CHILL, and CHILL_LIB.
11898
11899 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11900
11901 * Revert the previous changes. Please see Rob's directory
11902 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11903
11904 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11905
11906 * Makefile.in, configure.in, config/mips-gdb.exp,
11907 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11908 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11909 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11910 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11911 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11912 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11913 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11914 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11915 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11916 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11917 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11918 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11919 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11920 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11921 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11922 changes from 94Q1.
11923
11924 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11925
11926 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11927 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11928 Rob's new testing fragments.
11929
11930 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11931
11932 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11933 lib/gdb.exp: Replace error proc calls with perror.
11934
11935 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11936
11937 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11938 version also, match on casted version strings, and match on
11939 gdb startup case where the line numbers might be messed up.
11940
11941 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11942
11943 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11944 (CFLAGS): Delete it from here.
11945
11946 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11947
11948 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11949
11950 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11951
11952 * Makefile.in (RUNTEST): Default to just "runtest".
11953
11954 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11955
11956 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11957 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11958 the code has been restructured.
11959
11960 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11961
11962 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11963 \n, not just one of each.
11964
11965 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11966 /bin/cc gives a warning if you do.
11967
11968 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
11969
11970 * gdb.t24/demangle.exp: change expect pattern of
11971 __t10ListS_link1ZUiRCUiPT0
11972
11973 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11974
11975 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11976 on local variables in recursive functions.
11977
11978 * gdb.t07/Makefile.in: Build the new test.
11979
11980 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11981
11982 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11983 directly. Instead compare the return values from actual calls.
11984
11985 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
11986
11987 * Makefile.in (check): Set TCL_LIBRARY for runtest.
11988
11989 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11990
11991 * From Peter Schauer with minor modifications.
11992 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11993 stops in mid-line in the caller. Add xfail for returning a float
11994 value on X86 targets.
11995
11996 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11997
11998 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11999 to avoid expect lossage.
12000 (fmem_LRbug_tests): Likewise.
12001 * gdb.disasm/hppa.s: Corresponding changes.
12002
12003 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
12004 conditions to work with latest dejagnu/expect.
12005
12006 * gdb.t15/funcargs.exp (finish from indirect call): No longer
12007 expected to fail on the PA.
12008 (backtrace in call with trampolines): Explicitly require main
12009 to be frame #1 (no trampolines should show up in backtrace).
12010
12011 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
12012 "continue -expect".
12013 * gdb.t06/break.exp: Likewise.
12014 * gdb.t07/watchpoint.exp: Likewise.
12015 * gdb.t13/bitfields.exp: Likewise.
12016 * gdb.t15/{funcargs,return}.exp: Likewise.
12017 * gdb.stabs/weird.exp: Likewise.
12018 * config/{mips,udi}-gdb.exp: Likewise.
12019
12020 * hppa.sed: Enclose comments within a sed command to avoid
12021 losing with the old OSF1 sed.
12022
12023 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12024
12025 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
12026 sequent dynix.
12027 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
12028 * gdb.t15/funcargs.exp: Conditionally step again to really
12029 finish from marker_call_with_trampolines. Handle the case where
12030 the first step from within call_with_trampolines already steps
12031 us back to main.
12032 * gdb.t15/gdbme.c: Add comment to closing brace of
12033 call_with_trampolines for funcargs.exp.
12034
12035 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12036
12037 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
12038 Fix typo(s).
12039
12040 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12041
12042 * gdb.t07/gdbme.c: More code for watchpoint testing.
12043
12044 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
12045 "Hardware watchpoint" throughout file.
12046 (test_watchpoint_triggered_in_syscall): New test.
12047 (test_complex_watchpoint): New test.
12048
12049 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12050
12051 * gdbme.c (call_with_trampolines): New function to try and step
12052 into. Tests trampoline problems on the PA.
12053
12054 * funcargs.exp (localvars_in_indirect_call): No longer expect
12055 stepping into indirect call to fail on PAs.
12056 (test_stepping_over_trampolines): New test.
12057
12058 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12059
12060 * TODO: Add suggestions for static member function tests, and
12061 completion tests.
12062
12063 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12064
12065 * TODO: Add suggestions for "p/a" tests.
12066
12067 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
12068 (default_gdb_exit): Replace all the hair with sending "quit" to
12069 the process with a simple close.
12070
12071 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12072
12073 * TODO: Add suggestions for shared library tests.
12074
12075 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12076
12077 * TODO: Add suggestions for x/s tests.
12078
12079 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12080
12081 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
12082 "enable once", and "enable breakpoints once" with ".*".
12083
12084 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12085
12086 * TODO: Add suggestions about structure passing tests.
12087
12088 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12089
12090 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
12091 the primary1 test, use work around if __GNUC__ < 2.
12092 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
12093 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
12094 Test for bad output rather than waiting for timeout. Issue
12095 second continue only if first continue failed.
12096
12097 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12098
12099 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
12100 operator[] test with gdb_test because the old code didn't seem to
12101 be getting the quoting right with the new dejagnu.
12102
12103 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
12104
12105 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
12106 one from the path.
12107 * Makefile.in: Use a fresh expect if there is one, use runtest
12108 from the src tree if there is one.
12109
12110 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12111
12112 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
12113 next over recursive call. Revise the tests from that point on
12114 (which had been skipped) to match GDB's actual (correct) output.
12115
12116 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
12117 with next over a breakpoint whose condition is false.
12118
12119 * gdb.t00/help.exp: Comment out "help set print" tests just like
12120 (and for same reason as) "help set" test.
12121
12122 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12123
12124 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
12125 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
12126
12127 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12128
12129 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
12130 necessary gdb_target_udi.
12131
12132 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
12133
12134 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
12135 1838 and 2417; they are fixed.
12136
12137 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
12138 gdb.t03/ptype.exp (ptype structure, ptype union):
12139 Remove xfails; the test is looser than when the xfails were added.
12140
12141 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
12142 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
12143
12144 * gdb.t01/run.exp: Only run shell test if isnative.
12145
12146 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
12147 since "run" automatically loads if necessary. Call gdb_target_udi
12148 after the "file" since "file" kills any execution target.
12149
12150 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
12151 GDB. GDB doesn't work that way (not anymore at least) on UDI.
12152 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
12153 argument for UDI.
12154
12155 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12156
12157 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
12158
12159 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
12160
12161 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12162
12163 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
12164 properly quoting regexps. This makes the second argument to
12165 demangle a fixed string, which matches the callers, instead of a
12166 shell-style pattern which is what the previous implementation
12167 used. Update some of the callers.
12168
12169 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12170
12171 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
12172 (comib_nullified_tests): Fix typo.
12173 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
12174 strings. No longer expected to fail.
12175
12176 * gdb.disasm/hppa.s (addib_tests): Fix typo.
12177 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
12178 strings. No longer expected to fail.
12179
12180 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
12181 string. No longer expected to fail.
12182
12183 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12184
12185 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
12186 No longer expected to fail.
12187
12188 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
12189 string. No longer expected to fail.
12190
12191 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12192
12193 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
12194 only in the names (I probably got most of them). I was even
12195 generous with some which differed in underscores in names, and
12196 probably missed a few, and I *still* was able to remove almost a
12197 third of the file with almost no impact on testsuite coverage.
12198
12199 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12200
12201 * gdb.t00/default.exp: Match udi_attach error message as well as
12202 the one from child_attach.
12203
12204 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
12205
12206 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
12207
12208 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
12209 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
12210
12211 * Move test with enums and partial symbols back to
12212 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
12213 Reverts the change of 26 May 93. Per today's change to
12214 stabs.texinfo, the behavior that weird.exp was expecting was
12215 unreasonable; what is important is that the compiler+gdb get
12216 things right, which happens with a recent gcc. Also fix the test
12217 to deal with native compilers which put out the stab gdb can't
12218 deal with.
12219
12220 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12221
12222 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
12223 in the names. The main thing these accomplish is to slow things down.
12224 Many more such duplicates surely remain.
12225
12226 * gdb.t00/help.exp: Comment out "help support" test just like
12227 (and for same reason as) "help set" test.
12228
12229 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
12230
12231 * gdb.t06/break.exp: Remove setup_xfails for
12232 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
12233 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
12234 about known bug in gcc to include up through 2.5.8.
12235 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
12236 well as "_vb$".
12237 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
12238 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
12239 with latest gcc and gdb.
12240 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
12241 well as "_vb$".
12242
12243 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12244
12245 * configure.in (hppa*-*-*): Also configure and build stabs-only
12246 tests.
12247
12248 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12249
12250 * gdb.t10/hppa.mt: A makefile fragment for the PA.
12251 * gdb.t10/configure.in (hppa*-*-*): Use it.
12252
12253 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12254
12255 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
12256
12257 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12258
12259 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
12260 versions prior to 1.13.5.
12261
12262 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12263
12264 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
12265 the prompt is at the start of a line.
12266
12267 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12268
12269 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
12270 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
12271 in the copr tests now.
12272 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
12273 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
12274 expected to fail.
12275
12276 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
12277
12278 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
12279 gdb.t31/chillvars.exp, lib/gdb.exp:
12280 Tweak to run under either version of expect.
12281 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
12282 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
12283 * gdb.t11/list.exp: Remove extraneous whitespace.
12284
12285 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12286
12287 * gdb.t16/printcmds.exp (test_print_strings): Accept
12288 "(unsigned char *) " before the string.
12289
12290 * TODO: Add notes about printing of fancy types and GDB expressions.
12291
12292 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
12293
12294 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
12295 * gdb.t06/configure.in: Don't try to compile signals test program
12296 if doing mips-idt-ecoff.
12297
12298 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
12299
12300 * Most .exp files: Tweak to run under either version of expect.
12301
12302 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12303
12304 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
12305 xfails; I'm not sure why they are failing, but not because of PR 1806.
12306
12307 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
12308
12309 * config/unix-gdb.exp: Remove gdb_unload cause it's already
12310 defined in lib/gdb.exp.
12311
12312 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12313
12314 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
12315 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
12316 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
12317 have to be typeless.
12318
12319 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12320
12321 * TODO: Add suggestion for copyright year test.
12322
12323 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
12324
12325 * configure.in (*-*-lynxos*): Add stabs tests.
12326
12327 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12328
12329 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
12330 so insert a tab before any assembler directive in column zero.
12331
12332 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
12333 stores.
12334 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
12335 stores.
12336 (fpu_short_memory_tests): Likewise.
12337
12338 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12339
12340 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
12341 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
12342 .stabs directives in comments.
12343
12344 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12345
12346 * TODO: New file, describing tests we could write.
12347 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
12348
12349 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12350
12351 * gdb.t06/signals.exp: Add kludge to force re-sync.
12352
12353 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
12354 to xgdb instead of gdb, get out of gdb.
12355
12356 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
12357
12358 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
12359 for info.
12360
12361 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12362
12363 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
12364 * gdb.stabs/configure.in (hppa*-*-*): Use it.
12365 * gdb.stabs/hppa.sed: New sed script for the PA.
12366
12367 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12368
12369 * gdb.stabs: Re-write weird.def and configuration to use sed
12370 instead of cpp. sed is portable and POSIX; cpp is neither.
12371
12372 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12373
12374 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
12375
12376 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12377
12378 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
12379
12380 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12381
12382 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
12383 "_vb$".
12384 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
12385 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
12386
12387 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12388
12389 * lib/gdb.exp: Comment out code which depends on non-existent
12390 `transform' procedure.
12391
12392 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
12393
12394 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
12395 * lib/gdb.exp: Transform tool name.
12396 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
12397 1.1's new error handling system.
12398
12399 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12400
12401 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
12402
12403 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12404
12405 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
12406 They made pattern matching so slow that timeouts happened on
12407 heavily loaded systems. Now any output from "show print" which
12408 gets us back to the GDB prompt is a PASS.
12409
12410 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
12411
12412 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
12413
12414 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12415
12416 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12417
12418 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12419 It is not from PR 3220.
12420
12421 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12422
12423 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12424 just started failing because they depended on the order the
12425 subcommands are presented, or exact docstring text. This kind of
12426 test is a pain and has minimal benefit.
12427
12428 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12429
12430 * gdb.t09/corefile.exp: At end of test, use "core" command with
12431 no arguments.
12432
12433 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
12434
12435 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12436 17}/Makefile.in: Make it possible to run the testsuite with Sun
12437 make and CC = cross gcc by adding explicit build rules for .o
12438 files.
12439
12440 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12441
12442 * gdb.t15/funcargs.exp: Don't put comments on same line as
12443 setup_xfail (@#$*%& tcl braindamage!).
12444
12445 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12446
12447 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12448
12449 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
12450
12451 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12452 * gdb.t20/inherit.exp: remove three dumplicate entries.
12453
12454 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12455
12456 * gdb.t06/break.exp: For "next over recursive call", fail on any
12457 incorrect output, not just on "factorial (value=2)".
12458
12459 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12460
12461 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
12462 working now. Add an xfail if accesing a bss variable causes
12463 a memory error if the target is not yet run.
12464
12465 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12466
12467 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12468 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12469 name of __st* demangling (2 strings). Did Kung really get the
12470 more than 95 others right without testing them?
12471
12472 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
12473
12474 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12475
12476 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
12477
12478 * configure.in (configdirs): Add gdb.disasm
12479 * gdb.disasm: New directory for GDB disassembler tests.
12480 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12481
12482 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12483
12484 * gdb.t00/help.exp: Don't test "help set".
12485
12486 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12487 from within expect statements. None of these happen anymore and
12488 they cause regressions to be silently unnoticed.
12489
12490 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12491 messages) about known failures with gcc cygnus-2.4.5-930417.
12492
12493 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12494 comp-info.exp so it gets built if it doesn't exist.
12495
12496 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12497 it is no longer used.
12498 * gdb.t13/comp-info.c: Removed.
12499
12500 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12501
12502 * gdb.t06/signals.exp: Add xfail for sun3.
12503
12504 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12505
12506 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12507 relevant because ^C doesn't get sent but failure can be reproduced
12508 interactively).
12509
12510 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12511
12512 * gdb.stabs/alpha.mt: New configuration file for alpha.
12513 * gdb.stabs/configure.in: Use it.
12514 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
12515 sharing with alpha.mt, redefine long to word via preprocessor.
12516 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
12517 for alpha.
12518 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
12519 native cc.
12520 * gdb.t00/teststrategy.exp: Change expect string so that we
12521 consume the `(xgdb)' from the command echo and from the gdb prompt.
12522 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
12523 gdb currently compares all values as long, so this failure probably
12524 applies to any configuration where LONGEST is bigger than a target int.
12525 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12526 with gcc.
12527 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12528 to handle opaque pointers, gcc is.
12529 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12530 as first argument. Include <sys/types.h> and change all operator
12531 new definitions to use size_t.
12532 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12533 now that we use size_t.
12534
12535 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12536
12537 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12538 a long or float array cast all array members to the same type.
12539 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12540 with 64 bit longs.
12541 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12542 on alpha.
12543 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12544
12545 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12546
12547 * gdb.t24 (demangle.exp): Constructors of templates have names like
12548 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12549 section 14.6 of the ARM.
12550
12551 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12552 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12553 accomplish little and slow down the testsuite.
12554
12555 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12556 Accept spaces various places.
12557
12558 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12559
12560 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12561 with watchpoint enabled.
12562
12563 * Makefile.in: Remove definition of CC and remove the second
12564 definition of CXX (the "CXX = gcc" one remains). These definitions
12565 were causing backquotes to be expanded within backquotes, which
12566 doesn't work.
12567
12568 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12569
12570 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12571
12572 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12573
12574 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12575 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12576 by mips cc and contains no stabs entries.
12577
12578 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12579
12580 * config/vx-gdb.exp: Use fake device to load files rather than
12581 NFS.
12582 * lib/gdb.exp: New proc to do "file" command.
12583 * config/unix-gdb.exp: Use new "file" proc.
12584
12585 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12586
12587 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12588 Rework board rebooting slightly.
12589 (gdb_exit): Don't exit from the remote shell; there isn't one.
12590 * gdb.stabs/weird.exp: If a program is being debugged already,
12591 kill it.
12592 * gdb.t04/setvar.exp: Stop and restart gdb.
12593 * gdb.t05/expr.exp: Likewise.
12594 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12595 restart gdb and reload the program.
12596 * gdb.t08/opaque.exp: Likewise.
12597 * gdb.t12/scope.exp: Likewise.
12598 * gdb.t13/bitfields.exp: Likewise.
12599 * gdb.t15/funcargs.exp: Likewise.
12600 * gdb.t20/classes.exp: Likewise.
12601 * gdb.t03/ptype.exp: Increase timeout.
12602 * gdb.t16/printcmds.exp (test_print_string_constants,
12603 test_print_array_constants): Likewise.
12604 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12605 * gdb.t20/classes.exp (do_tests): Likewise.
12606 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12607
12608 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12609
12610 * gdb.stabs: Renamed *wierd* to *weird*.
12611
12612 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12613
12614 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12615 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12616
12617 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12618
12619 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12620 (do_tests): Remove xfail for whatis on one_var and two_var.
12621
12622 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12623
12624 * Makefile.in: Made cross building work better by adding
12625 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12626
12627 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12628
12629 * gdb.t15/{return.c,return.exp,Makefile.in}:
12630 New test, currently commented out.
12631
12632 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12633
12634 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12635 still running and removes the leftover named socket so GDb can do
12636 clean restarts.
12637
12638 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12639
12640 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12641 console, not GDB.
12642 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12643 cross testing works better with "make check"
12644 * config/unix-gdb: Use default procedures for exit and version.
12645 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12646 with the newest VxWorks.
12647
12648 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12649
12650 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12651 old form.
12652
12653 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12654 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12655
12656 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12657
12658 * config/unix-gdb.exp: Remove this version of gdb_exit
12659 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12660 Rob says he'll look at it when he gets back to testing boards.
12661
12662 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12663
12664 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12665 an expected fail for certain ptype commands.
12666
12667 * gdb.t20/classes.exp: Update expected results of "ptype class
12668 Base1" to account for the constructor that now appears in the type.
12669
12670 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12671
12672 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12673 disappeared from list.
12674 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12675 "alldone" proc with call to cleanup and exit.
12676 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12677 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12678 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12679 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12680 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12681 "alldone" proc with simple returns that suppress remaining
12682 tests. The alldone proc went away many months ago.
12683
12684 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12685
12686 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12687
12688 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12689
12690 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12691
12692 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12693 as vax gdb will display them.
12694
12695 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12696
12697 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12698 optimizers.
12699
12700 * scope.exp: Change "bad value for localval" messages so each one
12701 is unique.
12702
12703 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12704 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12705
12706 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12707
12708 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12709
12710 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12711 doesn't exist (due to optimization).
12712
12713 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12714
12715 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12716 contains \r because the filename is long.
12717
12718 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12719 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12720
12721 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12722
12723 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12724 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12725 Ultrix.
12726 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12727 int tests.
12728 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12729
12730 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12731
12732 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12733
12734 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
12735 to match does not match the passing case but still matches the
12736 failing case.
12737
12738 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12739
12740 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12741
12742 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12743
12744 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12745 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12746 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12747 Remove various versions of gdb_exit.
12748 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12749 gdb_exit.
12750 * config/unix-gdb.exp: gdb_exit remains here, and should override
12751 the generic version, since it's doing a lot of wierd stuff that
12752 the other versions aren't. FIXME, fold it in, or abandon this
12753 version.
12754
12755 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12756
12757 * gdb.t24/demangle.exp: Add tests for PR 3220.
12758
12759 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12760
12761 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12762
12763 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12764
12765 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12766 "i386-*-*". Works for i486 as well.
12767
12768 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12769 bug, and expand domain of xfail to all SVR4 systems, since the
12770 actual problem is likely to be in generic SVR4 /proc support.
12771
12772 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12773
12774 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12775
12776 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12777
12778 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12779 xfails for other systems. Match a missing 'Continuing.' as an
12780 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12781
12782 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12783 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12784 Only issue warning for missing executables if -all option is used.
12785
12786 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12787 file if -all option is used. It's like an unpredictable XFAIL.
12788
12789 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12790
12791 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12792 for dynamically linked binaries.
12793
12794 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12795
12796 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12797
12798 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12799 to state that this is a known bug in old versions of g++.
12800
12801 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12802
12803 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12804 while waiting for `Continuing'.
12805
12806 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12807
12808 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12809 in text, data, and bss.
12810 * gdb.t10/nodebug.c: Add local and global test variables for
12811 initialized and uninitialized data.
12812
12813 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12814
12815 * config/unix-gdb.exp (gdb_exit): Add "wait".
12816
12817 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12818
12819 * gdb.t06/signals.exp: xfail the continue from the handler for all
12820 targets.
12821
12822 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12823 function with watchpoints enabled, the i386 call dummy starts with
12824 a call.
12825
12826 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12827 386 bsd names its corefiles.
12828
12829 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12830
12831 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12832 compilers don't grok it.
12833 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12834 with small octal ints rather than character constants, which
12835 are signed and might not fit if first promoted to int.
12836
12837 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12838
12839 * gdb.t09/Makefile.in (clean): Remove corefile.
12840
12841 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12842
12843 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12844
12845 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12846 and Jim Kingdon (kingdon@cygnus.com)
12847
12848 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12849 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12850 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12851
12852 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12853
12854 * gdb.t17/interrupt.exp: Add xfail for hppa.
12855
12856 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12857
12858 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12859 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12860 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12861 to determine signed-ness of bitfields and use the result to setup
12862 the xfail.
12863 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12864 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12865 call line is reached if necessary.
12866
12867 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12868
12869 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12870
12871 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12872
12873 * gdb.t06/break.exp: Also test `clear' command.
12874
12875 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12876
12877 * gdb.t00/teststrategy.exp: Remove extra quote.
12878
12879 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12880 watchpoint enabled to be for all non-68k machines.
12881
12882 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12883
12884 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12885
12886 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12887 targets use aout.mt instead of ecoff.mt as gas understands
12888 standard aout format.
12889
12890 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12891
12892 * lib/gdb.exp (runto): Don't insist that function we are running to
12893 was compiled with -g.
12894
12895 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12896
12897 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12898 to get back into the read system call.
12899 Accept leading newline in case where we woke it up.
12900
12901 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12902
12903 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12904 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12905 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12906 enable ecoff configuration.
12907
12908 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12909
12910 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12911
12912 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12913
12914 * gdb.t16/printcmds.exp: Add another printf test.
12915
12916 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12917
12918 * configure.in: If configured -with-stabs on any target, add
12919 stabsdirs to configdirs.
12920
12921 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12922
12923 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12924 fun" so pattern does not match the command itself.
12925
12926 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12927
12928 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12929
12930 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12931
12932 * gdb.t17/interrupt.exp: Test for more things.
12933
12934 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12935
12936 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12937 compiler arranges the code and line numbers.
12938
12939 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12940
12941 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12942
12943 * gdb.t00/help.exp: Increase expect input buffer size.
12944
12945 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12946
12947 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12948
12949 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12950
12951 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12952
12953 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12954 [0-9]*, not just [0-9].
12955
12956 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12957
12958 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12959
12960 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12961
12962 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12963
12964 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12965
12966 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12967
12968 * gdb.t06/signals.c: Add xfails for sun3.
12969
12970 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12971
12972 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12973 test_stepping tests.
12974
12975 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12976
12977 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12978
12979 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12980
12981 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12982 rather than actually putting it through cpp twice.
12983
12984 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12985
12986 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
12987
12988 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12989 no longer needed.
12990
12991 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12992
12993 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12994
12995 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12996 C++ features prints as "struct", make it a pass, not an xfail.
12997
12998 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12999
13000 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
13001 Don't require VA to print as "class" rather than "struct".
13002
13003 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
13004
13005 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
13006
13007 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13008
13009 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
13010
13011 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13012
13013 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
13014 order.
13015
13016 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13017
13018 * gdb.t16/printcmds.exp: Add printf tests.
13019
13020 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
13021
13022 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
13023
13024 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
13025
13026 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
13027 pass counts, to counteract any existing or future setup_xfails.
13028
13029 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13030
13031 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
13032 {BEGIN,END}_COMMON for common block instead of STAB.
13033 * gdb.stabs/wierd.exp: Add xfail for rs6000.
13034
13035 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
13036 intp_var should be N_GSYM not N_LSYM.
13037 wierd-aout.S: Use a label for the value of the N_SO.
13038 wierd.def: Remove all backslashes.
13039 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
13040
13041 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13042
13043 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
13044 get the expected next to inheritance3.
13045
13046 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13047
13048 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
13049 now that gcc-2.4 gets it right.
13050
13051 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13052
13053 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
13054
13055 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
13056 generating comp-info.exp which works for cross-compilation.
13057
13058 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
13059
13060 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
13061 "*-*-sysv4.*".
13062
13063 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
13064
13065 * gdb.t01/run.exp: Start with a fresh gdb.
13066 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
13067 SVR4.x.
13068
13069 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
13070
13071 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
13072 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
13073 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
13074 Makefile.in (distclean, realclean): Remove gdbme.c from list of
13075 things to remove.
13076
13077 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
13078
13079 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
13080 test cases from bug reports.
13081
13082 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
13083
13084 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
13085 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
13086 avoid spurious xfails.
13087 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
13088 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
13089 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
13090
13091 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
13092
13093 * gdb.t00/teststrategy.exp: Rework to provide more useful
13094 description of each test, fix problem with systems that define
13095 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
13096 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
13097 results for "next over recursive call" so timeouts aren't taken
13098 by error.
13099
13100 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
13101
13102 * gdb.t12/scope.exp: Test printing of variables before run.
13103
13104 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
13105 printed in wrong order due to sorting.
13106
13107 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
13108
13109 * gdb.t00/teststrategy.exp: Fix expected results for printing
13110 user entered string constant. Is array of char, prints with no
13111 address.
13112
13113 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
13114 commands.
13115 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
13116 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
13117 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
13118 of struct of char arrays.
13119 * gdb.t00/radix.exp: New tests for radix commands.
13120
13121 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
13122
13123 * gdb.t16/printcmd.exp: Print a variable before running program
13124 (with xfail for AIX).
13125
13126 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
13127
13128 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
13129
13130 * gdb.t16/printcmd.exp: Don't print variables before running program.
13131
13132 * gdb.t06/break.exp: Don't require envp argument to main.
13133
13134 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
13135
13136 * gdb.t02/whatis.exp, gdb.t11/list.exp:
13137 Add xfails for rs6000.
13138
13139 * gdb.t02/whatis.exp: Change other tests not to re-test something
13140 we already tested.
13141
13142 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
13143 each type used has a variable of that type.
13144
13145 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
13146
13147 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
13148
13149 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13150
13151 * configure.in: change srctrigger to be a file, not a directory
13152
13153 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
13154
13155 * configure.in (mips-idt-ecoff*): Added trailing '*'.
13156
13157 * gdb.t11/list.exp: Fixed a couple of typos.
13158
13159 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
13160
13161 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
13162 is fixed and PR is closed.
13163 * gdb.t16 (gdbme.c): Add simple test string variable.
13164 * gdb.t16 (printcmds.exp): Add tests with simple test string
13165 variable, primarily for boundaries on "set print elements".
13166
13167 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
13168
13169 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
13170 Make leading 0's optional and don't expect a tab in the middle
13171 of the number.
13172
13173 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
13174
13175 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
13176 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
13177 don't end command passed to gdb_test with newline.
13178
13179 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
13180 signed keyword away, don't expect signed bitfields to be signed.
13181
13182 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
13183 printing with only as many 1's as are in the field as well as printing
13184 with 32 1's (see comment).
13185
13186 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
13187
13188 * gdb.t00/default.exp: Start with a fresh gdb.
13189 * configure.in (configdirs): Remove gdb.t31 until the chill
13190 compiler works again. It no longer is able to find chillrt0
13191 since it isn't in libchill.a anymore.
13192 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
13193 wierd.o, make more modular.
13194 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
13195 spurious newlines that caused problems.
13196
13197 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13198
13199 * Move test with enums and partial symbols from gdb.t03/ptype.exp
13200 to gdb.stabs/wierd.exp since GCC has worked around the bug.
13201 gdb.stabs/wierd.{exp,def}: Many new tests.
13202
13203 * gdb.t00/default.exp: update info line for new message.
13204
13205 * gdb.t02/{whatis.exp,gdbme.c}:
13206 Test that "char *" doesn't print as "caddr_t".
13207
13208 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13209
13210 * gdb.t00/help.exp: Use .* in place of some help messages which
13211 just changed.
13212 gdb.t00/default.exp: Update "info frame" test for new message.
13213 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
13214 Remove some xfails
13215
13216 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13217
13218 * gdb.t03/{gdbme.c,ptype.exp}:
13219 Add tests for typedef'd struct and union without tags.
13220 Also check "whatis" on a variable of a typedef'd enum without a tag.
13221
13222 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
13223 PRMS 1823; the bug still exists but isn't reproduced by this test
13224 anymore), and remove rs6000 XFAIL (the bug is fixed).
13225
13226 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
13227 duplicated from whatis.exp. For those that are left, accept
13228 "long", "long int", or "int" for long variables (whatis.exp already
13229 has an XFAIL for "int", so no need to fail it here).
13230
13231 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
13232 Deal with GCC's names for types now that GDB uses the compiler's names.
13233
13234 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
13235 setup_xfail's for sunos4. If we #defined the signed keyword away,
13236 don't expect GDB to know that char it is signed.
13237
13238 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
13239
13240 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
13241
13242 * configure.in (configdirs): Add gdb.t24 for C++ tests that
13243 should work on any system, regardless of debugging format.
13244 * gdb.t21/demangle.exp: Move to gdb.t24.
13245 * gdb.t24/demangle.exp: Move from gdb.t21.
13246 * gdb.t24/{Makefile.in, configure.in}: New files.
13247
13248 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13249
13250 * configure.in: Do gdb.stabs and C++ tests only for stabs.
13251 * gdb.stabs: New directory.
13252
13253 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13254
13255 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
13256 not just "Quit anyway?".
13257
13258 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
13259
13260 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
13261 that all setup_xfails are immediately followed by clear_xfails.
13262
13263 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
13264
13265 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
13266 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
13267 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
13268 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
13269 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
13270 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13271 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13272 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
13273 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
13274 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
13275 gdb.t31/chillvars.exp, lib/gdb.exp:
13276 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
13277 bug-gdb@prep.ai.mit.edu.
13278
13279 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
13280
13281 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
13282 with 0.0, not integer 0.
13283
13284 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
13285
13286 * gdb.t06/break.exp: Update for "Kill the program" message change.
13287
13288 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
13289
13290 * Makefile.in (GDBFLAGS): Set to -nx.
13291 * Makefile.in (site.exp): Use GDBFLAGS.
13292
13293 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13294
13295 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
13296 Makefiles.
13297 (check): depend on just-check.
13298 (just-check): added so that tests can be run without a noop
13299 build pass.
13300
13301 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13302
13303 Switch to using configure's configdirs.
13304 * Makefile.in (Makefile): add configure.in dependency.
13305 (SUBDIRS): removed redundant assignment.
13306 * configure.in: switch subdirs assignment to configdirs.
13307 * gdb.t*/configure.in: new files.
13308
13309 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
13310
13311 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
13312 works.
13313
13314 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
13315
13316 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
13317 in explicit rules. Apparently this is not supported by some makes.
13318
13319 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
13320
13321 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
13322
13323 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13324
13325 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
13326 disappeared.
13327
13328 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
13329
13330 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
13331
13332 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
13333
13334 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
13335 watchpoint problem that is now fixed.
13336 * gdb.t30/chexp.exp: Remove setup_xfail for printing
13337 uninitialized convenience variables.
13338 * gdb.t31/chillvars.exp: Fix expected patterns for printing
13339 structures.
13340
13341 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13342
13343 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
13344 which causes expect to get out of sync with gdb on long output
13345 from help set.
13346 * gdb.t09/corefile.exp: Make expected pattern for core file
13347 failing signal and frame output format less sun specific.
13348
13349 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
13350
13351 * gdb.t31/chillvars.exp: Add and remove initial dummy
13352 breakpoint, so that symbol table is forced in.
13353 (Needed at least on Sunos4, though it seems not SVR4.)
13354 * gdb.t31/chillvars.exp: Update for changed output format.
13355
13356 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
13357
13358 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
13359
13360 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
13361
13362 * Makefile.in: Added --srcdir when invoking runtest, removed the
13363 need for a local config file. (optional now)
13364
13365 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
13366
13367 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
13368 failure count used to force early termination. Add some more
13369 expected failures for gnu style demangling.
13370
13371 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13372
13373 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
13374 pmi variable from gdb.t20/gdbme to get optimized away.
13375 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
13376 Check for written corefile upon timeout _and_ eof.
13377
13378 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13379
13380 * config/unix-gdb.exp: Add missing return 0.
13381
13382 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13383
13384 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
13385 test termination.
13386
13387 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
13388
13389 * configure.in (subdirs): Put back gdb.t17 which mysteriously
13390 disappeared.
13391
13392 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
13393
13394 * gdb.t10/crossload.exp: Disable the i860-elf test until such
13395 time as i860 support works.
13396
13397 * gdb.t15/funcargs.exp: Fix expected outputs to include
13398 "backtrace 100\r" rather than just "backtrace\r", to match last
13399 change.
13400
13401 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
13402
13403 * config/udi-gdb.exp (gdb_exit): Remove close command.
13404 (gdb_target_udi): New procedure to set the UDI target.
13405 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
13406 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
13407 Added waits for prompts after several question responses. Added
13408 some more responses used by a29k-amd-udi-gdb.
13409 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
13410 pass different arguments, restart UDI connection after program
13411 completion.
13412 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
13413 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13414 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13415 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13416 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13417 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13418 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13419 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13420 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13421 after program completion.
13422 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13423 compiled with a SELECT_VECS setting.
13424 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13425 infinite recursion.
13426
13427 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13428 Added checks for COFF results, and made them expected failures for
13429 all targets. It would be better to make them expected failures
13430 for COFF targets only.
13431
13432 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
13433
13434 * Makefile.in: add null dvi target, don't bother to recurse
13435 through test directories for info and install-info; rename
13436 $(datadir) to be dejagnu instead of deja-gnu
13437
13438 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
13439
13440 * gdb.t31/gdbme.ch: Re-enable code that previously caused
13441 compiler to coredump.
13442 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
13443 code.
13444
13445 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
13446
13447 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
13448 coredump.
13449 * gdb.t31/chillvars.exp: Comment out tests that depend on that
13450 code.
13451
13452 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
13453
13454 * gdb.t03/ptype.exp: tests for return code from gdb_test.
13455 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13456 which in a shell. Deletes xgdb when done.
13457 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13458 Tests the return from the "set height" or "set width" commands.
13459 Added a few return codes where needed.
13460
13461 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
13462
13463 * Makefile.in (SUBDIRS): Add gdb.t17.
13464 * configure.in (subdirs): Add gdb.t17.
13465 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
13466 files to test gdb's calling of functions in the inferior with
13467 the correct arguments and gdb's ability to retrieve any
13468 result returned.
13469
13470 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
13471
13472 * config/unix-gdb.exp (gdb_exit): Remove close commands that
13473 may be called after gdb goes away. Previous versions of expect
13474 needed these to avoid file descriptor leaks, but they cause
13475 errors with the current revision of expect.
13476 * gdb.t00/gdbvars.exp: Use -re on expected output after
13477 setting sevenbit-strings.
13478 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
13479 to set sevenbit-strings consistent across tests.
13480 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
13481 set sevenbit-strings consistent across tests.
13482
13483 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
13484
13485 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
13486 expected output to match current "expect" expectations.
13487
13488 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
13489
13490 * gdb.t00/default.exp: Change expected output for default "source"
13491 command, to match new gdb behavior which requires a filename to
13492 source.
13493
13494 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
13495
13496 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
13497 expected fail for i486-*-* that misses the marker2 function.
13498 * gdb.t10/crossload.exp (bfddefault): Allow successful
13499 recognition of a format to pass even if no symbols are found.
13500 Explicitly catch failures where the format is not recognized
13501 or is ambiguous, and add the reason to the fail message.
13502 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
13503 the cause is and invalid target and add reason to failure message.
13504 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
13505 elf32-i386, elf32-sparc, and elf32-i860.
13506 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13507 Set up expected failure for 'filename'::variable scope resolution,
13508 which is now apparently broken on all targets.
13509 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13510 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13511 gdb.t23/templates.exp: Change failure for missing binfile into
13512 just a warning.
13513 gdb.t21/demangle.exp: Change all cfront references to 'arm'
13514 references.
13515
13516 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
13517
13518 * gdb.t00/default.exp: Add expected output for default "source"
13519 command, to match new gdb behavior.
13520 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
13521
13522 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
13523
13524 * config/*-gdb.exp: returns an error, rather than exiting on
13525 internal errors.
13526
13527 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13528
13529 * gdb.t03/gdbme.c: Add pointer to struct variable.
13530 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13531 referencing struct members.
13532
13533 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13534
13535 * configure.in (mips-idt-ecoff): New target.
13536 * config/mips-gdb.exp: New file for remote board using MIPS remote
13537 debugging protocol.
13538
13539 * Redid configuration scheme. Removed gdb.t*/configure.in.
13540 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13541 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13542 distclean targets. Built executables via .o files. Adjusted
13543 tests to account for source files in $(srcdir) rather than
13544 $(objdir).
13545 * lib/gdb.exp (runto): Don't expect () after the function name,
13546 because it may have arguments.
13547
13548 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13549
13550 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13551 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13552 expected failures for mips-idt-* and mips-sgi-*.
13553 * gdb.t00/default.exp (attach): Kill process if requested.
13554 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13555 that does not read core files.
13556 * gdb.t01/run.exp: Removed checks for exit status code.
13557 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13558 it is linked in.
13559 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13560 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13561 appropriate, rather than doing it by hand.
13562 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13563 execution.
13564 * gdb.t10/crossload.exp: Kill existing program if needed.
13565 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13566 appropriate, rather than doing it by hand. Always increase
13567 timeout for this test, not just for VxWorks.
13568
13569 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13570
13571 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13572 of Chill STRUCT types and STRUCT values.
13573 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13574 than "char".
13575 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
13576 struct2): New struct definitions and initializations to test
13577 simple Chill STRUCT types.
13578
13579 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13580
13581 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13582 the null byte at the end of strings.
13583 * gdb.t00/default.exp: Make show version insensitive to copyright
13584 date.
13585 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13586 to avoid dependencies on target char signedness.
13587 * gdb.t16/printcmds.exp: Update expected results for explicitly
13588 unsigned char.
13589 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13590 now work.
13591 * gdb.t21/demangle.exp: Add many more patterns for template
13592 demangling, most of them being expected failures.
13593 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13594 string we are matching for, to match on the whole string.
13595 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13596 and fix a whole bunch that had incorrect expected output but were
13597 passing anyway because of the bug in "proc demangle".
13598 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13599 type.
13600 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13601
13602 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13603
13604 * gdb/testsuite: made modifications to testcases, etc., to allow
13605 them to work properly given the reorganization of deja-gnu and the
13606 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13607
13608 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13609
13610 * gdb/testsuite: Initial creation of gdb/testsuite.
13611 Migrated dejagnu testcases and support files for testing nm to
13612 gdb/testsuite from deja-gnu. These files were moved "as is"
13613 with no modifications. This migration is part of a major overhaul
13614 of dejagnu. The modifications to these testcases, etc., which
13615 will allow them to work with the new version of dejagnu will be
13616 made in a future update.
13617
13618 For additional changes see gdb.mi/ChangeLog-1999-2003.
13619 \f
13620 ;; Local Variables:
13621 ;; mode: change-log
13622 ;; left-margin: 8
13623 ;; fill-column: 74
13624 ;; version-control: never
13625 ;; End:
13626
13627 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
13628 2003, 2004, 2005 Free Software Foundation, Inc.
13629 Copying and distribution of this file, with or without modification,
13630 are permitted provided the copyright notice and this notice are preserved.