* gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
4 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
5 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
6 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
7 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
8 file.
9
10 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
11
12 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13 (do_children_tests): Assign values to the extra elements.
14
15 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
16 them for tests for "-var-update --no-values" and
17 "-var-update --all-values".
18 Add test for "-var-list-children --simple-values".
19
20 * gdb.mi/basics.c (callee4): Add integer array D[3]...
21
22 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
23 "-stack-list-locals --simple-values" Improve doc strings and
24 comments.
25
26 2005-07-18 Mark Kettenis <kettenis@gnu.org>
27
28 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
29 *-*-openbsd*.
30 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
31
32 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
33 sigaltsatck'.
34
35 2005-07-14 Bob Rossi <bob@brasko.net>
36
37 * gdb.base/default.exp (tty): Changed output of command.
38 * gdb.base/help.exp (help tty): Ditto.
39
40 2005-07-12 Mark Kettenis <kettenis@gnu.org>
41
42 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
43
44 2005-07-10 Mark Kettenis <kettenis@gnu.org>
45
46 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
47 -stack-select-frame without arguments.
48 (test_stack_frame_listing): Add test for newly implemented command
49 -stack-info-frame.
50
51 2005-07-06 Bob Rossi <bob@brasko.net>
52
53 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
54 command.
55 (Copyright): Update copyright.
56
57 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
58
59 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
60 tests to evaluate exponentiation expression.
61
62 2005-06-29 Andreas Schwab <schwab@suse.de>
63
64 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
65 main to avoid warnings.
66
67 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
68
69 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
70
71 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
72 -stack-select-frame without arguments.
73 (test_stack_frame_listing): Add test for newly implemented command
74 -stack-info-frame.
75
76 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
77
78 * gdb.fortran/array-element.f: New file.
79 * gdb.fortran/array-element.exp: New testcase.
80
81 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
82
83 * gdb.base/bigcore.exp: Correct checks for systems which can
84 not dump a large core file.
85
86 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
87
88 * gdb.base/relocate.c: Add a copyright notice.
89 (dummy): Remove.
90 * gdb.base/relocate.exp: Test printing the values of variables
91 from a relocatable file.
92
93 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
94
95 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
96 excess MI output after an error.
97
98 2005-05-29 Joel Brobecker <brobecker@adacore.com>
99
100 * gdb.arch/alpha-step.c: New file.
101 * gdb.arch/alpha-step.exp: New testcase.
102
103 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
104 Dennis Brueni <dennis@slickedit.com>
105
106 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
107 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
108 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
109 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
110 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
111 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
112 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
113
114 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
115 Wu Zhou <woodzltc@cn.ibm.com>
116
117 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
118 IBM's xlc compiler.
119 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
120 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
121
122 2005-05-13 Jim Blandy <jimb@redhat.com>
123
124 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
125 calling gdb_suppress_entire_file.
126 * gdb.base/charset.exp: Same.
127 * gdb.base/call-rt-st.exp: Same.
128
129 2005-05-05 Bob Rossi <bob_rossi@cox.net>
130
131 * lib/gdb.exp (fullname_syntax): Added global regex.
132 (fullname_syntax_POSIX): Ditto.
133 (fullname_syntax_UNC): Ditto.
134 (fullname_syntax_DOS_CASE): Ditto.
135 (fullname_syntax_DOS): Ditto.
136 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
137 fullname_syntax variable to scope and use it.
138 (test_file_list_exec_source_files): Ditto.
139 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
140
141 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
142
143 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
144
145 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
146
147 * lib/gdb.exp (skip_altivec_tests): New function, based on
148 check_vmx_hw_available from the GCC testsuite.
149 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
150 * lib/gdb.arch/altivec-regs.exp: Likewise.
151
152 2005-05-02 Jim Blandy <jimb@redhat.com>
153
154 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
155 calling gdb_suppress_entire_file.
156
157 2005-04-30 Randolph Chung <tausq@debian.org>
158
159 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
160 Slightly relax "sem_post" name checking.
161
162 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
163
164 * gdb.base/unload.exp: Use new shared library infrastructure.
165
166 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
167
168 * gdb.base/so-impl-ld.exp: Use new shared library
169 infrastructure.
170
171 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
172
173 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
174 * gdb.asm/h8300.inc: New file.
175
176 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
177
178 * gdb.base/shlib-call.exp: Change to use new shared library
179 infrastructure.
180
181 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
182
183 * gdb.base/pending.exp: Change to use new shared library
184 infrastructure.
185
186 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
187
188 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
189 use test_compiler_info instead of gcc_compiled, and update copyright.
190
191 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
192
193 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
194 shared objects being adjusted and update copyright years.
195
196 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
197
198 * ChangeLog: Correct some 2003-01-13 dates.
199 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
200 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
201 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
202 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
203 gdb.trace/tfind.exp: Update copyright years.
204
205 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
206 Daniel Jacobowitz <dan@codesourcery.com>
207
208 * lib/gdb.exp (gdb_compile): Handle shlib=.
209 (gdb_compile_shlib): New function.
210
211 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
212
213 * lib/gdb.exp (test_compiler_info): Give argument a default value.
214
215 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
216
217 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
218 gdb.server.
219 * configure.ac: Likewise.
220 * configure: Regenerated.
221 * gdb.gdbserver/Makefile.in: Moved to...
222 * gdb.server/Makefile.in: ... here.
223 * gdb.gdbserver/server.c: Moved to...
224 * gdb.server/server.c: ... here.
225 * gdb.gdbserver/server-run.exp: Moved to...
226 * gdb.server/server-run.exp: ... here.
227
228 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
229
230 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
231 * configure.ac: Create gdb.gdbserver/Makefile.
232 * configure: Regenerated.
233 * lib/gdbserver-support.exp: New file, derived from
234 config/gdbserver.exp.
235 * config/gdbserver.exp: Use gdbserver-support.exp.
236 * gdb.gdbserver/Makefile.in: New file.
237 * gdb.gdbserver/server.c: New file.
238 * gdb.gdbserver/server-run.exp: New file.
239
240 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
241
242 * lib/gdb.exp (test_compiler_info): Return compiler_info
243 if no arguments are given.
244
245 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
246
247 * gdb.arch/altivec-abi.exp: Check for compiler and set
248 use altivec' flag accordingly.
249 * gdb.arch/altivec-regs.exp: Likewise.
250
251 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
252
253 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
254
255 2005-03-27 Andreas Schwab <schwab@suse.de>
256
257 * gdb.base/bigcore.c (main): Add missing mode argument in open
258 call.
259
260 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
261
262 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
263 downloads.
264 * config/gdbserver.exp (gdb_load): Likewise.
265
266 2005-03-14 Paul Brook <paul@codesourcery.com>
267
268 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
269 targets.
270
271 2005-03-09 Joel Brobecker <brobecker@adacore.com>
272
273 * gdb.dwarf2/dup-psym.S: New file.
274 * gdb.dwarf2/dup-psym.exp: New testcase.
275
276 2005-03-09 Joel Brobecker <brobecker@adacore.com>
277
278 * gdb.ada/exec_changed/first.adb: New file.
279 * gdb.ada/exec_changed/second.adb: New file.
280 * gdb.ada/exec_changed.exp: New testcase.
281
282 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
283
284 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
285 (A2): New class.
286 (main): Test operator+.
287 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
288 breakpoint test.
289
290 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
291 * gdb.base/signull.exp: Disable if gdb,nosignals.
292 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
293 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
294 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
295 * gdb.mi/mi2-console.exp: Likewise.
296 * gdb.trace/collection.exp (run_trace_experiment): Consume the
297 continue output at start.
298 (gdb_collect_locals_test): Robustify regexp.
299 * gdb.trace/passc-dyn.exp: Fix comment typo.
300 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
301
302 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
303
304 * gdb.asm/asm-source.exp: Add iq2000 case.
305 * gdb.asm/iq2000.inc: New file.
306
307 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
308
309 * gdb.base/command.exp: Change hardcoded value to regular expression.
310 * gdb.base/float.exp: Add powerpc to the list of targets checked.
311
312 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
313
314 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
315 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
316 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
317 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
318 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
319
320 2005-03-05 Mark Kettenis <kettenis@gnu.org>
321
322 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
323 changes.
324
325 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
326
327 * lib/compiler.c: Add test for IBM's xlc compiler.
328 * lib/compiler.cc: Likewise.
329
330 2004-02-24 Joel Brobecker <brobecker@adacore.com>
331
332 * gdb.ada/fixed_points.exp: Create compilation object directory
333 before running the test.
334 * gdb.ada/null_record.exp: Likewise.
335 * gdb.ada/packed_array.exp: Likewise.
336 * gdb.ada/start.exp: Likewise.
337
338 2005-02-15 Joel Brobecker <brobecker@adacore.com>
339
340 * gdb.ada/packed_array/pa.adb: New file.
341 * gdb.ada/packed_array.exp: New testcase.
342
343 2005-02-10 Mark Kettenis <kettenis@gnu.org>
344
345 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
346 files.
347
348 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
349 on *-*-openbsd*. Correctly match whitespace in regukar
350 expressions.
351
352 2005-02-10 Daniel Jacobowitz <dan@debian.org>
353
354 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
355 PR exp/1821
356 * gdb.base/gdb1821.c: New test file.
357 * gdb.base/gdb1821.exp: New test file.
358
359 2005-02-09 Joel Brobecker <brobecker@adacore.com>
360
361 * gdb.base/start.c: New file.
362 * gdb.base/start.exp: New testcase.
363
364 2005-02-09 Joel Brobecker <brobecker@adacore.com>
365
366 * gdb.ada/start/dummy.adb: New file.
367 * gdb.ada/start.exp: New testcase.
368
369 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
370
371 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
372 for printing symbols and statistics.
373 Add test for using relative pathnames in "maint print msymbols" test.
374 Mark "maint info sections DATA" XFAIL on Cygwin.
375 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
376 tests.
377
378 2005-02-09 Andreas Schwab <schwab@suse.de>
379
380 Committed by Andrew Cagney <cagney@gnu.org>
381 * gdb.base/remotetimeout.exp: New file.
382
383 2005-02-07 Mark Kettenis <kettenis@gnu.org>
384
385 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
386
387 2005-02-03 Joel Brobecker <brobecker@adacore.com>
388
389 * gdb.ada/gnat_ada.gpr: New file.
390 * gdb.ada/gnat_ada.gin: Delete, no longer used.
391 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
392 * configure.ac: No longer generate gnat_ada.gpr.
393 * configure: Regenerate.
394 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
395 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
396 * gdb.ada/null_record/bar.ads: Likewise.
397 * gdb.ada/null_record/bar.adb: Likewise.
398 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
399 * gdb.ada/null_record.exp (testdir): New variable.
400 (testfile): executable is now in testdir subdirectory.
401 (srcfile): Use full path to the main compilation unit.
402 * gdb.ada/fixed_points.exp: Same changes as above.
403
404 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
405
406 * gdb.base/interp.exp: New test.
407
408 2005-01-24 Andrew Cagney <cagney@gnu.org>
409
410 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
411
412 2005-01-19 Andrew Cagney <cagney@gnu.org>
413
414 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
415 configure.ac not configure.in.
416
417 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
418 of powerpc*-*-*.
419 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
420 * gdb.base/list.exp (test_list_function)
421 (test_list_filename_and_function): Ditto.
422 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
423
424 2005-01-16 Andrew Cagney <cagney@gnu.org>
425
426 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
427
428 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
429
430 2005-01-14 Andrew Cagney <cagney@gnu.org>
431
432 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
433 * gdb.mi/mi2-var-cmd.exp: Ditto.
434
435 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
436
437 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
438
439 2005-01-07 Andrew Cagney <cagney@gnu.org>
440
441 * configure.ac: Rename configure.in, require autoconf 2.59.
442 * configure: Re-generate.
443 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
444 * gdb.stabs/configure: Re-generate.
445 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
446 * gdb.hp/configure: Re-generate.
447 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
448 autoconf 2.59.
449 * gdb.hp/gdb.objdbg/configure: Re-generate.
450 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
451 autoconf 2.59.
452 * gdb.hp/gdb.defects/configure: Re-generate.
453 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
454 autoconf 2.59.
455 * gdb.hp/gdb.compat/configure: Re-generate.
456 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
457 autoconf 2.59.
458 * gdb.hp/gdb.base-hp/configure: Re-generate.
459 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
460 autoconf 2.59.
461 * gdb.hp/gdb.aCC/configure: Re-generate.
462
463 2004-12-15 Jim Blandy <jimb@redhat.com>
464
465 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
466 under NPTL when there is debugging info available for libpthread.
467
468 2004-12-13 Jerome Guitton <guitton@gnat.com>
469
470 * gdb.ada/fixed_points.c: New file.
471 * gdb.ada/fixed_points.exp: New file.
472
473 2004-12-03 Randolph Chung <tausq@debian.org>
474
475 * gdb.arch/pa-nullify.exp: New file.
476 * gdb.arch/pa-nullify.s: New file.
477
478 2004-11-30 Randolph Chung <tausq@debian.org>
479
480 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
481 instead of "tbug". Fix regexp to work properly with gdb_test.
482
483 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
484
485 * gdb.base/bitfields2.exp: New test.
486 * gdb.base/bitfields2.c: New file.
487
488 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
489
490 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
491
492 2004-11-16 Randolph Chung <tausq@debian.org>
493
494 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
495
496 2004-11-14 Daniel Jacobowitz <dan@debian.org>
497
498 * gdb.threads/threadapply.exp: Correct "macro details" test.
499
500 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
501
502 * gdb.threads/threadapply.exp: New test.
503 * gdb.threads/threadapply.c: New file.
504
505 2004-11-07 Mark Kettenis <kettenis@gnu.org>
506
507 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
508 frames.
509
510 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
511
512 * gdb.base/cursal.exp: New file.
513 * gdb.base/cursal.c: New file.
514
515 2004-11-03 Andrew Cagney <cagney@gnu.org>
516
517 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
518
519 2004-10-30 Mark Kettenis <kettenis@gnu.org>
520
521 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
522 NetBSD/ELF targets.
523
524 2004-10-29 Joel Brobecker <brobecker@gnat.com>
525
526 * gdb.threads/bp_in_thread.c: New file, copied from
527 pthread_cond_wait.c.
528 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
529 file, rather than reusing the .c file from another testcase.
530
531 2004-10-20 Joel Brobecker <brobecker@gnat.com>
532
533 * gdb.ada/null_record.exp: Check where we stopped after
534 sending the start command, instead of where the associated
535 temporary breakpoint was inserted.
536
537 2004-10-14 Andrew Cagney <cagney@gnu.org>
538
539 * gdb.mi/gdb701.c (main): Return 0.
540
541 2004-10-13 Daniel Jacobowitz <dan@debian.org>
542
543 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
544
545 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
546
547 * gdb.threads/schedlock.c: Add comment markers to use to find
548 line numbers.
549 * gdb.threads/schedlock.exp: Adjust regex to handle the new
550 comments.
551 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
552 breakpoint lines.
553
554 2004-10-12 Daniel Jacobowitz <dan@debian.org>
555
556 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
557
558 2004-10-12 Daniel Jacobowitz <dan@debian.org>
559
560 * configure.in: Add gdb.dwarf2.
561 * configure: Regenerated.
562 * Makefile.in: Add gdb.dwarf2.
563 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
564 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
565 gdb.dwarf2/file1.txt: New files.
566
567 2004-10-11 Orjan Friberg <orjanf@axis.com>
568
569 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
570 of "run", since the latter doesn't work with remote targets. Adjust
571 the breakpoint numbering accordingly.
572 * gdb.threads/pthread_cond_wait.exp: Ditto.
573
574 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
575
576 * gdb.base/overlays.exp: Update copyright years.
577
578 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
579
580 * gdb.base/overlays.exp: Disable if target is Linux.
581
582 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
583
584 * config/gdbserver.exp (gdb_load): Use right filename on remote.
585
586 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
587
588 * gdb.asm/asm-source.exp: Add m32r-linux target.
589 * gdb.asm/m32r-linux.inc: New file.
590
591 2004-09-24 Andrew Cagney <cagney@redhat.com>
592 David Anderson <anderson@redhat.com>
593
594 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
595 command fails, assume things will work.
596 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
597 (_GNU_SOURCE): Define.
598 (print_unsigned, print_hex): Change parameter to "long long".
599 (print_byte_count): New function, use to print byte counts.
600 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
601 O_LARGEFILE.
602 (main): Compute an upper bound on a corefile in max_core_size.
603 Limit memory chunk size to max_core_size. Limit total memory
604 allocated to max_core_size.
605
606 2004-09-23 Andrew Cagney <cagney@gnu.org>
607
608 * gdb.base/bigcore.exp: Replace the code that creates a corefile
609 from a separate process with code that creates a corefile by
610 making the inferior dump core.
611
612 2004-09-23 Mark Kettenis <kettenis@gnu.org>
613
614 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
615 block.
616
617 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
618
619 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
620 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
621 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
622 Likewise.
623
624 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
625
626 * gdb.java/jprint.exp: New test case for java inferior call.
627 * gdb.java/jprint.java: Ditto.
628
629 2004-09-15 Joel Brobecker <brobecker@gnat.com>
630
631 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
632
633 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
634
635 * gdb.threads/killed.c: Include <stdlib.h>.
636 * gdb.threads/pthreads.c: Likewise.
637
638 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
639
640 * gdb.threads/killed.c: Add copyright notice.
641
642 2004-09-10 Jason Molenda (jmolenda@apple.com)
643
644 * gdb.base/define.exp: Two new tests to verify zero space chars
645 after 'if' and 'while' commands in a user-defined command is correctly
646 parsed.
647
648 2004-09-08 Andrew Cagney <cagney@gnu.org>
649
650 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
651 delivery test with duplicate at end of file.
652
653 2004-09-06 Mark Kettenis <kettenis@jive.nl>
654
655 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
656
657 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
658
659 * config/hppro.exp: Removed.
660
661 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
662
663 * config/sparclet.exp: Removed.
664
665 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
666
667 * config/udi.exp: Removed.
668
669 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
670
671 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
672 of "exp_continue".
673 (advancei): Likewise.
674
675 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
676
677 * gdb.base/unload.exp: Fix so messages aren't duplicated.
678
679 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
680
681 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
682 to check for nodebug in executable.
683 * gdb.gdb/observer.exp (setup_test): Likewise.
684 * gdb.gdb/selftest.exp (test_with_self): Likewise.
685 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
686
687 2004-09-01 Andrew Cagney <cagney@gnu.org>
688
689 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
690 files.
691
692 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
693
694 * gdb.base/unload.exp: Fix expected warning message to match
695 latest format.
696
697 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
698
699 * gdb.base/call-rt-st.exp: Fix typos.
700
701 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
702
703 * gdb.threads/thread_check.exp: New testcase.
704 * gdb.threads/thread_check.c: New testcase.
705
706 2004-08-31 Andrew Cagney <cagney@gnu.org>
707
708 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
709 (skip_to_handler_entry): New procedures. Test stepping into a
710 handler when the breakpoint is at the handler's entry point.
711
712 2004-08-30 Andrew Cagney <cagney@gnu.org>
713
714 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
715 gdb/1757.
716
717 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
718
719 With code from Manoj Iyer <manjo@austin.ibm.com>:
720 * lib/gdb.exp (gdb_file_cmd): Return more information in the
721 return value. Add an arm for "no debugging symbols found".
722 Change a stray "error" to "perror".
723 (gdb_run_cmd): Adapt to new return value.
724 * gdb.base/remote.exp: Adapt to new return value.
725 * gdb.gdb/complaints.exp: Likewise.
726 * gdb.gdb/observer.exp: Likewise.
727 * gdb.gdb/selftest.exp: Likewise.
728 * gdb.gdb/xfullpath.exp: Likewise.
729
730 2004-08-27 Joel Brobecker <brobecker@gnat.com>
731
732 * gdb.threads/bp_in_thread.exp: New testcase.
733
734 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
735
736 Fix PR testsuite/1735.
737 * gdb.threads/schedlock.c (thread_function): Add a cast
738 to suppress a gcc warning.
739 * gdb.threads/thread-specific.c (thread_function): Likewise.
740
741 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
742
743 * gdb.base/unload.c: Include <stdlib.h>.
744
745 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
746
747 From Paul Gilliam <pgilliam@us.ibm.com>:
748 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
749 synchronized after the "return".
750
751 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
752
753 * gdb.mi/basics.c: Include <stdio.h>.
754 * gdb.mi/pthreads.c: Include <stdlib.h>.
755 * gdb.mi/var-cmd.c: Include <stdlib.h>.
756
757 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
758
759 * gdb.threads/schedlock.c: Add copyright notice.
760
761 2004-08-25 Andrew Cagney <cagney@gnu.org>
762
763 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
764 (skip_over_handler, breakpoint_over_hander): New test procedures.
765 (advance, advancei): Add a proper prefix, do not use
766 rerun_to_main.
767 * gdb.base/sigstep.c (main): Change to use an infinite loop.
768
769 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
770
771 * gdb.mi/basics.c: Add copyright notice.
772 * gdb.mi/var-cmd.c: Add copyright notice.
773
774 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
775
776 * lib/gdb.exp: Remove signed_keyword_not_used.
777 * lib/compiler.c: Likewise.
778 * lib/compiler.cc: Likewise.
779
780 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
781
782 * gdb.base/whatis.c: Remove conditional disabling of "signed".
783 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
784
785 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
786
787 * gdb.base/whatis.c: Add copyright notice.
788
789 2004-08-20 Mark Kettenis <kettenis@gnu.org>
790
791 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
792 it to skip the breakpoints encoded in the inline assembly.
793
794 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
795
796 * Makefile.in: Add gdb.fortran.
797
798 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
799
800 * gdb.base/call-sc.exp (test_scalar_returns):
801 Fix cut-and-paste glitch in "Make fun return now".
802
803 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
804
805 * configure.in: Add gdb.fortran.
806 * configure: Regenerate.
807 * gdb.fortran/Makefile.in: New file.
808 * lib/gdb.exp (skip_fortran_tests): New procedure.
809
810 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
811
812 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
813 reference to bug-gnu@prep.ai.mit.edu.
814 * gdb.mi/mi-var-child.exp: Likewise.
815 * gdb.mi/mi-var-cmd.exp: Likewise.
816 * gdb.mi/mi-var-display.exp: Likewise.
817 * gdb.mi/mi2-var-block.exp: Likewise.
818 * gdb.mi/mi2-var-child.exp: Likewise.
819 * gdb.mi/mi2-var-cmd.exp: Likewise.
820 * gdb.mi/mi2-var-display.exp: Likewise.
821
822 2004-08-15 Mark Kettenis <kettenis@gnu.org>
823
824 * gdb.base/unload.c (main): Make local variable msg const.
825
826 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
827
828 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
829 to bug-gnu@prep.ai.mit.edu.
830 * gdb.mi/mi-disassemble.exp: Likewise.
831 * gdb.mi/mi-eval.exp: Likewise.
832 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
833 default line number.
834 * gdb.mi/mi-return.exp: Likewise.
835 * gdb.mi/mi-simplerun.exp: Likewise.
836 * gdb.mi/mi-stack.exp: Likewise.
837 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
838 number with explicit range test.
839 * gdb.mi/mi-watch.exp: Likewise.
840 * gdb.mi/mi2-break.exp: Likewise.
841 * gdb.mi/mi2-cli.exp: Likewise.
842 * gdb.mi/mi2-disassemble.exp: Likewise.
843 * gdb.mi/mi2-eval.exp: Likewise.
844 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
845 default line number.
846 * gdb.mi/mi2-return.exp: Likewise.
847 * gdb.mi/mi2-simplerun.exp: Likewise.
848 * gdb.mi/mi2-stack.exp: Likewise.
849 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
850 number with explicit range test.
851 * gdb.mi/mi2-watch.exp: Likewise.
852
853 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
854
855 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
856 * gdb.cp/m-static.exp: Likewise.
857 * gdb.cp/rtti.exp: Likewise.
858
859 2004-08-14 Mark Kettenis <kettenis@gnu.org>
860
861 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
862
863 2004-08-14 Eli Zaretskii <eliz@gnu.org>
864
865 * ChangeLog: Prefix Local Variables with semi-colons and indent
866 the reference to older ChangeLog files, to fix fontification in
867 Emacs.
868
869 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
870
871 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
872 * gdb.mi/mi2-break.exp: Likewise.
873
874 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
875
876 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
877
878 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
879
880 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
881
882 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
883
884 * gdb.cp/classes.exp: Remove unused declarations. Just let
885 test names default instead of providing special names. Remove
886 extraneous demangler test.
887
888 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
889
890 * gdb.base/unload.exp: New test for breakpoints in dynamically
891 loaded libraries.
892 * gdb.base/unload.c: Ditto.
893 * gdb.base/unloadshr.c: Ditto.
894
895 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
896
897 * gdb.cp/classes.exp (test_ptype_class_objects): Call
898 cp_test_ptype_class.
899 (test_enums): Likewise.
900
901 2004-08-10 Andrew Cagney <cagney@gnu.org>
902
903 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
904 files.
905
906 2004-08-10 Andrew Cagney <cagney@gnu.org>
907
908 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
909 init_malloc call.
910
911 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
912
913 * ChangeLog: Add copyright notice. The notice is copied
914 from emacs 21.3 top level ChangeLog.
915
916 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
917
918 * lib/cp-support.exp: New file.
919 * lib/cp-support.exp (cp_test_type_class): New function.
920 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
921 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
922 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
923 cp_test_ptype_class.
924
925 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
926
927 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
928 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
929 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
930 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
931 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
932 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
933 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
934 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
935 gdb.mi/mi2-watch.exp: Update copyright years.
936
937 2004-08-09 Mark Kettenis <kettenis@gnu.org>
938
939 * gdb.base/sigaltstack.exp: Provide proper anchoring.
940
941 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
942
943 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
944 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
945 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
946 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
947 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
948 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
949 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
950 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
951 gdb.mi/mi-watch.exp: Update copyright years.
952
953 2004-08-08 Daniel Jacobowitz <dan@debian.org>
954
955 PR gdb/1738
956 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
957 from a breakpoint with a pending signal.
958
959 2004-08-08 Daniel Jacobowitz <dan@debian.org>
960
961 PR gdb/1736
962 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
963 * gdb.base/sigaltstack.exp (finish_test): Consume output until
964 the prompt.
965 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
966
967 2004-08-08 Daniel Jacobowitz <dan@debian.org>
968
969 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
970
971 2004-08-08 Daniel Jacobowitz <dan@debian.org>
972
973 PR gdb/1736
974 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
975 for i?86-*-linux*.
976
977 2004-08-08 Daniel Jacobowitz <dan@debian.org>
978
979 * gdb.arch/i386-prologue.exp: Compile without debug information.
980
981 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
982
983 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
984 rather than asking gdb to search.
985
986 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
987
988 * gdb.base/gcore.c: Include <string.h>.
989
990 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
991
992 * gdb.base/gcore.c: Add copyright notice.
993
994 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
995
996 * gdb.base/freebpcmd.c: Include <stdio.h>.
997 * gdb.base/long_long.c: Include <string.h>.
998 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
999 * gdb.base/siginfo.c: Include <string.h>.
1000 * gdb.base/sigstep.c: Include <string.h>.
1001
1002 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1003
1004 * gdb.base/complex.c: Include <stdlib.h>.
1005
1006 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1007
1008 * gdb.base/complex.c: Add copyright notice.
1009
1010 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1011
1012 * gdb.base/charset.c: Include <stdlib.h>.
1013
1014 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1015
1016 * gdb.base/auxv.c: Include <stdlib.h>.
1017
1018 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1019
1020 * gdb.base/auxv.c: Add copyright notice.
1021
1022 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
1023
1024 * gdb.base/coremaker.c: Add copyright notice.
1025 * gdb.base/coremaker2.c: Add copyright notice.
1026
1027 2004-08-04 Andrew Cagney <cagney@gnu.org>
1028
1029 * gdb.base/store.exp: Update copyright.
1030 (check_set, up_set, check_struct, up_struct): Add a prefix to test
1031 names, do not import gdb_prompt.
1032
1033 2004-08-01 Andrew Cagney <cagney@gnu.org>
1034
1035 Fix PR testsuite/1729.
1036 * gdb.base/dump.exp: Add test name to callers of capture_value, do
1037 not use capture_value with value 4.
1038 (capture_value): Add optional test name parameter.
1039 (test_reload_saved_value, test_restore_saved_value): Use $msg as
1040 the prefix, pass to capture_value.
1041
1042 2004-08-01 Mark Kettenis <kettenis@gnu.org>
1043
1044 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
1045 * gdb.arch/i386-prologue.c (standard): New prototype and function.
1046 (main): Call new function.
1047
1048 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1049
1050 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
1051
1052 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1053
1054 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
1055
1056 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
1057
1058 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
1059 Accept more values of vtbl pointer. Remove some messages
1060 about "obsolete gcc or gdb".
1061
1062 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1063
1064 * gdb.cp/classes.exp: Accept more varieties of ptype output.
1065
1066 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
1067
1068 * gdb.base/asm-source.exp: Properly convert target board
1069 debug flags from gcc format to binutils format.
1070
1071 2004-07-28 Mark Kettenis <kettenis@gnu.org>
1072
1073 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
1074 gdb1718". PR backtrace/1718 partially fixed.
1075
1076 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
1077
1078 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
1079
1080 2004-07-26 Nick Clifton <nickc@redhat.com>
1081
1082 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
1083 good default value for a specific architecture is available then
1084 set it to that value. Otherwise default to the -gstabs switch.
1085 Remove the -g... switches from the asm-flags variable. Allow the
1086 target board info to override the value if it wants to. Pass the
1087 switch on the assembler command line.
1088
1089 2004-07-23 Mark Kettenis <kettenis@gnu.org>
1090
1091 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
1092 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
1093 (main): Call new function.
1094
1095 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
1096
1097 Test for PR exp/1715.
1098 * gdb.base/radix.exp: Refactor common procedures. Make all
1099 test names unique. Change XFAIL to KFAIL.
1100
1101 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
1102
1103 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
1104 * gdb.ada/gnat_ada.gin: ... to here.
1105 * configure.in: Use gnat_ada.gin.
1106 * configure: Regenerate.
1107
1108 2004-07-20 Andrew Cagney <cagney@gnu.org>
1109
1110 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
1111 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
1112 XFAILs. Clean up test messages and comments. Check backtraces.
1113 Delete re-sync code.
1114
1115 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1116
1117 Fix PR cli/740.
1118 * gdb.base/annota1.exp: Honor gdb,nosignals.
1119 * gdb.base/annota3.exp: Likewise.
1120
1121 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
1122
1123 * lib/java.exp: Update copyright notice.
1124
1125 2004-07-19 Andrew Cagney <cagney@gnu.org>
1126
1127 * gdb.base/selftest.exp: Copy file from here ...
1128 * gdb.gdb/selftest.exp: ... to here.
1129
1130 2004-07-16 Andrew Cagney <cagney@redhat.com>
1131
1132 * lib/insight-support.exp: Delete file.
1133 * lib/java.exp (java_init): Fix copyright.
1134
1135 2004-07-16 Andrew Cagney <cagney@gnu.org>
1136
1137 * gdb.base/restore.c: Append "prologue" to comments marking the a
1138 function's prologue.
1139 * gdb.base/restore.exp: Update copyright, re-indent.
1140 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
1141 callerN" prefix where needed. Update patterns that match a
1142 function's prologue.
1143
1144 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
1145
1146 * gdb.base/restore.c: Add copyright notice.
1147
1148 2004-07-16 Andrew Cagney <cagney@gnu.org>
1149
1150 * gdb.base/logical.exp: Update copyright.
1151 (evaluate): New procedure. Use to re-implement tests using
1152 several tables.
1153
1154 2004-07-14 Martin Hunt <hunt@redhat.com>
1155
1156 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
1157 which fixes some problems where init.tcl was not found.
1158
1159 2004-07-13 Andrew Cagney <cagney@gnu.org>
1160
1161 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
1162 (check_sizeof, check_valueof): Do not include the output in the
1163 test name. Use gdb_test.
1164 (get_valueof): Use gdb_test_multiple.
1165
1166 * gdb.base/step-test.exp: Update copyright. Use
1167 gdb_test_multiple. Ensure that test names do not include
1168 architecture dependent output.
1169
1170 * gdb.gdb/observer.exp: Update copyright.
1171 (setup_test): Use gdb_test_multiple.
1172 (attach_first_observer, attach_second_observer)
1173 (attach_third_observer, detach_first_observer)
1174 (detach_second_observer, detach_third_observer)
1175 (reset_counters, check_counters): Make $message a prefix.
1176 (test_normal_stop_notifications): Add "args" parameter - a list of
1177 init functions to be called. Make $message a prefix,
1178 (test_observer_normal_stop): Change the message prefixes so that
1179 they are unique, pass the attach / detach procedures to
1180 test_normal_stop_notifications.
1181
1182 * gdb.base/signull.exp (test_segv): Prefix all tests with
1183 "${name}". Clean up test messages.
1184
1185 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
1186
1187 * gdb.base/ena-dis-br.exp: Update copyright.
1188 (break_at): New function. Replace send_gdb with gdb_test,
1189 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
1190 ignore count, not stopped at bpt", with KFAIL.
1191
1192 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
1193
1194 * gdb.base/attach.exp: Remove cleanupfile handling.
1195
1196 2004-07-12 Andrew Cagney <cagney@gnu.org>
1197
1198 * gdb.base/annota1.exp: Cleanup corefile test name.
1199 * gdb.base/annota3.exp: Ditto.
1200
1201 2004-07-12 Andrew Cagney <cagney@gnu.org>
1202
1203 * gdb.base/signals.exp: Clean up copyright, re-indent.
1204
1205 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
1206 gdb_test and gdb_test_multiple.
1207
1208 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
1209
1210 * gdb.java/jmain.exp: Fix expected line number for main to
1211 break at. Set XFAIL for break at main test since gcj does not
1212 provide line number info for first statement in main.
1213
1214 2004-07-08 Andrew Cagney <cagney@gnu.org>
1215
1216 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
1217
1218 * gdb.base/sigbpt.exp: Make the common part of each test name a
1219 prefix instead of suffix.
1220
1221 2004-07-07 Bob Rossi <bob_rossi@cox.net>
1222
1223 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
1224 test from test_tbreak_creation_and_listing to
1225 test_file_list_exec_source_file
1226 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
1227 Changed name of test from test_tbreak_creation_and_listing to
1228 test_file_list_exec_source_file
1229
1230 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
1231
1232 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
1233 the jmisc() constructor instead of <init>.
1234 * gdb.java/jmisc1.exp: Ditto.
1235
1236 2004-07-07 Andrew Cagney <cagney@gnu.org>
1237
1238 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
1239 corrupting the PC.
1240
1241 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
1242
1243 * gdb.cp/templates.exp: Accept whitespace change in demangler
1244 output.
1245
1246 2004-07-06 Andrew Cagney <cagney@gnu.org>
1247
1248 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
1249
1250 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
1251
1252 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
1253 * lib/compiler.cc: Likewise.
1254
1255 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
1256
1257 * lib/compiler.cc: Work around string preprocessing problem
1258 with old hp c++ compiler.
1259 * lib/compiler.c: Likewise.
1260
1261 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
1262
1263 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
1264 directives to conditionalize symbol prefixing.
1265 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
1266 additional_flags handling. Add underscore prefix for Cygwin.
1267 * gdb.arch/i386-unwind.c: Use preprocessor directives to
1268 conditionalize symbol prefixing.
1269 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
1270 additional_flags handling. Add underscore prefix for Cygwin.
1271
1272 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
1273
1274 * gdb.base/bigcore.exp: Skip test on Cygwin.
1275
1276 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
1277
1278 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
1279 formats for "info register". Use gdb_test_multiple. Fix
1280 the "invalid register" test.
1281
1282 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
1283
1284 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
1285 PID for Cygwin. Add Cygwin specific strings to check for in some
1286 tests.
1287 (do_attach_tests): Add a test for user interaction when attaching
1288 to a process with no matching symbol table already loaded.
1289
1290 2004-06-26 Andrew Cagney <cagney@gnu.org>
1291
1292 Test PR java/1567 and PR java/1565.
1293 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
1294 * gdb.java/jmisc2.exp: Delete file.
1295
1296 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
1297
1298 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
1299
1300 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
1301
1302 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
1303 attach process.
1304
1305 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
1306
1307 * gdb.cp/pr-1553.exp: Remove.
1308
1309 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
1310
1311 * gdb.cp/pr-1553.cc: Remove.
1312 * gdb.cp/pr-1553.exp: Disable this test.
1313
1314 2004-06-20 Jim Blandy <jimb@redhat.com>
1315
1316 Fix PR testsuite/1680.
1317 * gdb.arch/i386-sse.exp: Properly quote curly braces in
1318 regular expressions.
1319
1320 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
1321
1322 Fix PR testsuite/1679.
1323 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
1324 Issue an UNSUPPORTED result instead.
1325
1326 2004-06-18 Jim Blandy <jimb@redhat.com>
1327
1328 * gdb.base/charset.exp: Only send a control-C if we see a new
1329 prompt and incomplete command.
1330
1331 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1332
1333 * gdb.cp/pr-574.cc: Add copyright notice.
1334
1335 2004-06-17 Jim Blandy <jimb@redhat.com>
1336
1337 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1338 cases where the regexp has no groups; this grabs random text from
1339 the previous test suite, whatever that was.
1340
1341 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
1342
1343 * gdb.cp/printmethod.cc: Add copyright notice.
1344
1345 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
1346
1347 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1348
1349 2004-06-16 Andrew Cagney <cagney@gnu.org>
1350
1351 * gdb.base/signull.c: Update copyright. Include <string.h>.
1352 (bowler): Replace data_pointer with data_read
1353 and data_write cases. Add code_descriptor case.
1354 (zero, desc): New array and pointer.
1355 (data, code): Change to simple pointers.
1356 * gdb.base/signull.exp: Fix probe pattern matching a function
1357 descriptor SIGSEGV. Replace data_pointer with data_read and
1358 data_write tests.
1359
1360 2004-06-16 Andrew Cagney <cagney@gnu.org>
1361
1362 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1363
1364 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1365
1366 * gdb.base/long_long.c: Add copyright notice.
1367
1368 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1369
1370 * gdb.base/long_long.exp: Remove reference to
1371 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
1372 to gdb_breakpoint and gdb_continue_to_breakpoint.
1373
1374 2004-06-14 Jim Blandy <jimb@redhat.com>
1375
1376 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1377 endian case.
1378
1379 2004-06-14 Andrew Cagney <cagney@gnu.org>
1380
1381 * gdb.base/gcore.exp (capture_command_output): Delete the always
1382 passing tests containing inferior values.
1383 * gdb.base/ending-run.exp: Do not include the breakpoint address
1384 in the test message. Update copyright.
1385 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1386 size in the test name, use gdb_test_multiple. Update copyright.
1387
1388 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1389
1390 * gdb.cp/ref-types.cc: Add copyright notice.
1391
1392 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1393
1394 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1395 hp_aCC_compiler.
1396 * lib/compiler.cc: Likewise.
1397 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1398 'set' commands. Log diagnostics for other lines. Set
1399 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1400
1401 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
1402
1403 * gdb.cp/try_catch.cc: Add copyright notice.
1404
1405 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
1406
1407 * gdb.cp/userdef.cc: Add copyright notice.
1408
1409 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
1410
1411 * gdb.cp/virtfunc.cc: Add copyright notice.
1412
1413 2004-06-11 Randolph Chung <tausq@debian.org>
1414
1415 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1416 problem.
1417
1418 2004-06-10 Andrew Cagney <cagney@gnu.org>
1419
1420 * lib/compiler.cc, lib/compiler.c: Append either
1421 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1422 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1423 instead of gcc-3-3.
1424
1425 2004-06-09 Andrew Cagney <cagney@gnu.org>
1426
1427 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1428 gdb/1455, bug is specific to "long long" and "double".
1429
1430 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1431 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1432 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
1433 fixed.
1434
1435 2004-06-09 Andrew Cagney <cagney@gnu.org>
1436
1437 * gdb.base/structs.exp (test_struct_returns): Replace
1438 "return_value_unknown" and "finish_value_unknown" by
1439 "return_value_known" and "finish_value_known". Instead of
1440 "return_value_unknown" iff "finish_value_unknown", check
1441 "return_value_known" implies "finish_value_known".
1442
1443 2004-06-08 Martin Hunt <hunt@redhat.com>
1444
1445 * gdb.base/float.exp: Add pattern for mips targets.
1446
1447 2004-06-08 Randolph Chung <tausq@debian.org>
1448
1449 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1450 message for unknown architectures more clear.
1451
1452 2004-06-08 Joel Brobecker <brobecker@gnat.com>
1453
1454 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1455 start the execution of the program.
1456
1457 2004-06-07 Jim Blandy <jimb@redhat.com>
1458
1459 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1460 * gdb.arch/i386-cpuid.h: New helper file.
1461
1462 2004-06-07 Randolph Chung <tausq@debian.org>
1463
1464 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1465 has started.
1466
1467 2004-06-04 Roland McGrath <roland@redhat.com>
1468
1469 Fix PR gdb/1647.
1470 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1471 differently to be robust to output buffering differences.
1472
1473 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1474
1475 * gdb.threads/pthreads.exp: Update copyright years.
1476 (check_control_c): Change asynchronous 'after' to synchronous.
1477
1478 2004-06-04 Roland McGrath <roland@redhat.com>
1479
1480 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1481 next gdb prompt.
1482
1483 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1484
1485 Fix PR gdb/1636.
1486 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1487 calls to synchronous.
1488
1489 2004-05-26 Jim Blandy <jimb@redhat.com>
1490
1491 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1492
1493 2004-05-24 Randolph Chung <tausq@debian.org>
1494
1495 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1496 * gdb.asm/pa.inc: New file.
1497
1498 2004-05-22 Mark Kettenis <kettenis@gnu.org>
1499
1500 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1501
1502 2004-05-21 Joel Brobecker <brobecker@gnat.com>
1503 Daniel Jacobowitz <drow@mvista.com>
1504
1505 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1506 GDB prompt.
1507
1508 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1509
1510 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
1511 setjmp/longjmp. Use sigaction instead of signal.
1512
1513 2004-05-19 J. Brobecker <brobecker@gnat.com>
1514 Michael Snyder <msnyder@redhat.com>
1515
1516 * gdb.threads/pthread_cond_wait.c: New file.
1517 * gdb.threads/pthread_cond_wait.exp: New testcase.
1518
1519 2004-05-13 Andrew Cagney <cagney@redhat.com>
1520
1521 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1522 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1523
1524 2004-05-11 Andrew Cagney <cagney@redhat.com>
1525
1526 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1527 fixed but revealed gdb/1639.
1528
1529 2004-05-10 Andrew Cagney <cagney@redhat.com>
1530
1531 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1532 func1" and "next to 2nd alarm", kernel bug avoided.
1533
1534 2004-05-10 Daniel Jacobowitz <dan@debian.org>
1535
1536 PR external/1568
1537 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1538 XFAIL if it is smaller than bytes_allocated.
1539 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1540 (main): Make chunks_allocated unsigned. Correct comment.
1541
1542 2004-05-07 Joel Brobecker <brobecker@gnat.com>
1543
1544 * gdb.arch/powerpc-aix-prologue.c: New file.
1545 * gdb.arch/powerpc-aix-prologue.exp: New file.
1546
1547 2004-05-07 Jim Blandy <jimb@redhat.com>
1548
1549 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1550 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1551
1552 2004-05-06 Joel Brobecker <brobecker@gnat.com>
1553
1554 * gdb.base/sep.exp: No longer setup_kfail when the program was
1555 built with dwarf2.
1556
1557 2004-05-05 Jim Ingham <jingham@apple.com>
1558
1559 * gdb.base/pending.exp: Make sure pending breakpoints
1560 preserve the ignore count.
1561
1562 2004-04-27 Jerome Guitton <guitton@gnat.com>
1563
1564 * i386-prologue.exp: Add testcase for jump instruction as first
1565 instruction of the real code.
1566 * i386-prologue.c (jump_at_beginning): New function.
1567
1568 2004-04-28 Mark Kettenis <kettenis@gnu.org>
1569
1570 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1571 x86_64-*-*.
1572
1573 2004-04-28 Mark Kettenis <kettenis@gnu.org>
1574
1575 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1576 i*86-*-*.
1577
1578 2004-04-25 Mark Kettenis <kettenis@gnu.org>
1579
1580 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1581 expression that checks the return type.
1582
1583 2004-04-23 Andrew Cagney <cagney@redhat.com>
1584
1585 * gdb.base/call-sc.exp: New test of scalar call/return values.
1586 * gdb.base/call-sc.c: Ditto.
1587
1588 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1589
1590 * gdb.threads/manythreads.c: Reduce thread stack size.
1591
1592 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1593
1594 * gdb.threads/manythreads.c: Add copyright notice.
1595
1596 2004-04-23 Andrew Cagney <cagney@redhat.com>
1597
1598 * gdb.base/siginfo.exp: Better handle step out of signal.
1599 * gdb.base/sigstep.exp: Ditto.
1600
1601 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1602 Daniel Jacobowitz <drow@mvista.com>
1603
1604 * gdb.threads/manythreads.c: New testcase.
1605 * gdb.threads/manythreads.exp: Ditto.
1606
1607 2004-04-22 Jim Blandy <jimb@redhat.com>
1608
1609 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1610 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1611
1612 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1613
1614 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1615
1616 2004-04-21 Andrew Cagney <cagney@redhat.com>
1617
1618 * gdb.base/sigstep.c: New file.
1619 * gdb.base/sigstep.exp: New file.
1620
1621 2004-04-16 Joel Brobecker <brobecker@gnat.com>
1622
1623 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1624 call to observer_notify_normal_stop.
1625
1626 2004-04-15 Andrew Cagney <cagney@redhat.com>
1627
1628 * gdb.base/siginfo.c: New file.
1629 * gdb.base/siginfo.exp: New file.
1630
1631 2004-04-12 J. Brobecker <brobecker@gnat.com>
1632
1633 * gdb.base/sep.exp: Fix typo in comment.
1634
1635 2004-04-12 J. Brobecker <brobecker@gnat.com>
1636
1637 * gdb.base/sep.c: New file.
1638 * gdb.base/sep-proc.c: New file.
1639 * gdb.base/sep.exp: New testcase.
1640
1641 2004-04-09 Mark Kettenis <kettenis@gnu.org>
1642
1643 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1644 support.
1645
1646 2004-04-05 Andrew Cagney <cagney@redhat.com>
1647
1648 * gdb.base/sigaltstack.c: New file.
1649 * gdb.base/sigaltstack.exp: New file.
1650
1651 2004-04-04 Joel Brobecker <brobecker@gnat.com>
1652
1653 * gdb.base/foll-fork.exp: Update the expected output for
1654 "help set follow-fork-mode", to match a change that was made
1655 to the help of this variable on 2004-01-13.
1656
1657 2004-04-01 Joel Brobecker <brobecker@gnat.com>
1658
1659 * lib/ada.exp: Add copyright notice.
1660 * bar.ads: Likewise.
1661 * bar.adb: Likewise.
1662 * null_record.adb: Likewise.
1663 * null_record.exp: Likewise.
1664 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1665
1666 2004-04-01 Joel Brobecker <brobecker@gnat.com>
1667
1668 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1669 * configure: Regenerate.
1670
1671 2004-04-01 Joel Brobecker <brobecker@gnat.com>
1672
1673 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1674 to build the application. Remove the message printed when in
1675 verbose mode, redundant with the UNSUPPORTED message above.
1676
1677 2004-03-31 Joel Brobecker <brobecker@gnat.com>
1678
1679 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1680 * gdb.ada (null_record.exp): New testcase.
1681
1682 2004-03-31 Joel Brobecker <brobecker@gnat.com>
1683
1684 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1685
1686 2004-03-31 Joel Brobecker <brobecker@gnat.com>
1687
1688 * gdb.ada: New subdirectory.
1689 * gdb.ada/Makefile.in: New file.
1690 * gdb.ada/gnat_ada.gpr.in: New file.
1691
1692 2004-03-31 Joel Brobecker <brobecker@gnat.com>
1693
1694 * lib/ada.exp: New file.
1695
1696 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
1697
1698 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1699 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1700
1701 2004-03-22 Andrew Cagney <cagney@redhat.com>
1702
1703 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1704 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1705 Problem identified by Ulrich Weigand.
1706
1707 2004-03-17 David Carlton <carlton@kealia.com>
1708
1709 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1710 PR c++/826.
1711
1712 2004-03-16 Roland McGrath <roland@redhat.com>
1713
1714 * gdb.base/auxv.exp: New file.
1715 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1716
1717 2004-03-12 David Carlton <carlton@kealia.com>
1718
1719 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1720 * gdb.cp/pr-1553.cc: Ditto.
1721 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1722 pass branch.
1723
1724 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1725
1726 * gdb.cp/templates.exp: Accept more template types.
1727
1728 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1729
1730 From Corinna Vinschen with modifications.
1731 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1732 local variable obj_with_enum.
1733 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1734 results with obj_with_enum.
1735
1736 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1737
1738 * gdb.cp/classes.cc: New file, copied from misc.cc.
1739 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1740
1741 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1742
1743 * gdb.cp/misc.cc: Add copyright notice.
1744
1745 2004-03-05 David Carlton <carlton@kealia.com>
1746
1747 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1748 * gdb.cp/rtti.h: Update copyright.
1749 (namespace n2::n3): New.
1750 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1751 (n2::n3::func3): New.
1752 (main): Call n2::n3::func3.
1753 * gdb.cp/rtti2.cc: Update copyright.
1754 (n2::create3): New.
1755
1756 2004-03-04 Mark Kettenis <kettenis@gnu.org>
1757
1758 * gdb.asm/openbsd.inc: Fix typo.
1759
1760 2004-03-03 Fred Fish <fnf@redhat.com>
1761
1762 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1763 "val" instead of unused "size". Update copyright year.
1764
1765 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
1766
1767 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1768 to use unsigned char.
1769 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1770 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1771
1772 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
1773
1774 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1775 line of output.
1776
1777 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
1778
1779 * gdb.base/relocate.c (dummy): Initialize.
1780
1781 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
1782
1783 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1784 a breakpoint at exit.
1785
1786 2004-02-27 Fred Fish <fnf@redhat.com>
1787
1788 * gdb.base/chng-syms.exp: Add expect condition to match failing
1789 case that isn't a timeout.
1790
1791 2004-02-27 Andrew Cagney <cagney@redhat.com>
1792
1793 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1794 support.
1795
1796 2004-02-26 Fred Fish <fnf@redhat.com>
1797
1798 * gdb.arch/gdb1431.c: Remove.
1799 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1800 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1801 of "until" incorrectly.
1802
1803 2004-02-26 J. Brobecker <brobecker@gnat.com>
1804
1805 * gdb.cp/class2.cc (empty): New class.
1806 (refer): New function.
1807 (main): Declare an object of type empty and use it.
1808 * gdb.cp/class2.exp: Print the value of an object of type empty.
1809
1810 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1811
1812 * gdb.base/langs.exp: Update query string to match the
1813 new nquery format used for pending breakpoints.
1814
1815 2004-02-26 Andrew Cagney <cagney@redhat.com>
1816
1817 Fix PR i18n/1570.
1818 * gdb.base/charset.c: Update copyright notice.
1819 (main, init_string): Remove the escape character '\e' tests.
1820 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1821 * gdb.base/charset.exp (valid_host_charset): Ditto.
1822 * gdb.base/setvar.exp: Ditto.
1823
1824 2004-02-24 Andrew Cagney <cagney@redhat.com>
1825
1826 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1827 mmapped data in core file" PASS and FAIL messages consistent.
1828
1829 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1830 setting a breakpoint. Work around PR java/1565.
1831
1832 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1833
1834 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1835 new nquery format.
1836 * gdb.base/pending.exp: Ditto.
1837
1838 2004-02-22 Mark Kettenis <kettenis@gnu.org>
1839
1840 * configure.in: Run stabs tests on *BSD.
1841 * configure: Regenerated.
1842
1843 2004-02-21 Mark Kettenis <kettenis@gnu.org>
1844
1845 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1846
1847 2004-02-20 Fred Fish <fnf@redhat.com>
1848
1849 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1850 blank in test for "returns short", for consistency with other
1851 "returns xxx" tests. Update copyright year.
1852
1853 2004-02-19 Fred Fish <fnf@redhat.com>
1854
1855 New testcase for PR breakpoint/1558.
1856 * gdb.arch/gdb1558.exp: New file.
1857 * gdb.arch/gdb1558.c: New file.
1858
1859 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
1860
1861 * gdb.base/nodebug.exp: Fix typo.
1862
1863 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1864
1865 Committed by Jim Blandy <jimb@redhat.com>.
1866
1867 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1868
1869 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1870
1871 * gdb.base/float.exp: Support s390*-*-* targets.
1872
1873 2004-02-17 Adam Fedor <fedor@gnu.org>
1874
1875 * gdb.base/gdb1555.exp: New file.
1876 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1877
1878 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
1879
1880 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1881
1882 2004-02-16 Fred Fish <fnf@redhat.com>
1883
1884 * gdb.arch/gdb1291.c: Remove
1885 * gdb.arch/gdb1291.s: New test input file.
1886 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1887 fail. Test for correct result, known incorrect result, other
1888 failures and timeouts.
1889
1890 2004-02-16 Andrew Cagney <cagney@redhat.com>
1891
1892 * gdb.base/bigcore.exp: New file.
1893 * gdb.base/bigcore.c: New file.
1894
1895 2004-02-13 Andrew Cagney <cagney@redhat.com>
1896
1897 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1898 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1899 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1900 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1901 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1902 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1903 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1904 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1905 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1906 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1907
1908 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
1909
1910 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1911 executed is an alloc instruction.
1912
1913 2004-02-11 David Carlton <carlton@kealia.com>
1914
1915 * gdb.cp/breakpoint.exp: New.
1916 * gdb.cp/breakpoint.cc: New.
1917
1918 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
1919
1920 Partial fix for PR gdb/1543.
1921 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1922 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1923 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1924 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1925 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1926 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1927 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1928 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1929 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1930 to bug-gdb@prep.ai.mit.edu .
1931 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1932 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1933 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1934 Likewise.
1935
1936 2004-02-10 Andrew Cagney <cagney@redhat.com>
1937
1938 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1939 using gdb_internal_error_resync.
1940
1941 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
1942
1943 * gdb.threads/thread-specific.exp: Stop early if no threads are
1944 found.
1945
1946 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
1947
1948 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1949
1950 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
1951
1952 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1953 breakpoints.
1954
1955 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
1956
1957 * config/sim.exp (gdb_load): Handle $arg == "".
1958 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1959 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1960
1961 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
1962
1963 * gdb.base/maint.exp: Update test to reflect
1964 obstack changes.
1965
1966 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
1967
1968 * gdb.base/pendshr.c (pendfunc): New function that calls
1969 pendfunc1.
1970 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1971
1972 2004-02-04 Fred Fish <fnf@redhat.com>
1973
1974 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1975 function symbols and update copyright years.
1976 * gdb.arch/gdb1291.c: Ditto.
1977
1978 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1979
1980 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1981
1982 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1983
1984 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1985
1986 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1987
1988 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
1989
1990 2004-02-02 Fred Fish <fnf@redhat.com>
1991
1992 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
1993 remote targets. Update copyright years.
1994
1995 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1996
1997 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
1998 support.
1999 * gdb.base/langs.exp: Fix test which attempts to create
2000 breakpoint on non-existent function to handle new pending
2001 support.
2002 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
2003 a breakpoint.
2004 * gdb.base/pending.exp: New test.
2005 * gdb.base/pending.c: New file.
2006 * gdb.base/pendshr.c: Ditto.
2007
2008 2004-02-02 David Carlton <carlton@kealia.com>
2009
2010 * gdb.cp/overload.exp: Add overloadNamespace tests.
2011 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
2012 (overloadNamespace, XXX): New.
2013 (main): Call XXX::marker2.
2014
2015 2004-02-01 Fred Fish <fnf@redhat.com>
2016
2017 * gdb.base/dump.exp: Use runto_main instead of "runto main".
2018 * gdb.base/finish.exp: Ditto.
2019 * gdb.base/gcore.exp: Ditto.
2020 * gdb.base/huge.exp: Ditto.
2021 * gdb.base/info-proc.exp: Ditto.
2022 * gdb.base/return2.exp: Ditto.
2023 * gdb.threads/gcore-thread.exp: Ditto.
2024
2025 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2026
2027 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
2028
2029 2004-02-01 Mark Kettenis <kettenis@gnu.org>
2030
2031 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
2032 that opening the file succeeds on OpenBSD.
2033
2034 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2035
2036 * gdb.threads/thread-specific.c: New file.
2037 * gdb.threads/threads-specific.exp: New test script.
2038 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
2039 to expect_out.
2040
2041 2004-02-01 Mark Kettenis <kettenis@gnu.org>
2042
2043 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
2044 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
2045 only on the "print_small_structs from print_long_arg_list" test.
2046
2047 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2048
2049 * gdb.base/completion.exp: Kill a stray backslash.
2050
2051 From Jim Ingham <jingham@apple.com>:
2052 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
2053 agrees with the result from sending a tab.
2054
2055 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
2056
2057 * gdb.base/chng-syms.exp: Remove stray newline.
2058
2059 2004-01-31 Mark Kettenis <kettenis@gnu.org>
2060
2061 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
2062 *-*-openbsd*.
2063 * gdb.asm/openbsd.inc: New file.
2064
2065 2004-01-30 Mark Kettenis <kettenis@gnu.org>
2066
2067 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
2068 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
2069 *-*solaris2*. Remove commented out default settings for
2070 asm-flags. Replace gdb_compile with target_link.
2071
2072 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
2073
2074 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
2075 for all tests. Remove old hp-ux and cygnus xfail cases.
2076
2077 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
2078
2079 * gdb.base/chng-syms.exp: New file.
2080 * gdb.base/chng-syms.c: New file.
2081
2082 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2083
2084 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
2085 Provide arms for current output in all my configurations.
2086
2087 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2088
2089 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
2090 * lib/compiler.cc: Likewise.
2091 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
2092 get the right preprocessor. Eval the output directly. Remove
2093 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
2094 hp_f77_compiler and hp_f90_compiler completely.
2095 (gdb_preprocess): Delete.
2096 (get_compiler): Delete.
2097
2098 2004-01-24 Mark Kettenis <kettenis@gnu.org>
2099
2100 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
2101 <string.h>.
2102
2103 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
2104
2105 * gdb.mi/mi-stack.exp: Update copyright.
2106
2107 2004-01-23 David Carlton <carlton@kealia.com>
2108
2109 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
2110 test for cp_lookup_transparent_type.
2111 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
2112 call them.
2113
2114 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
2115
2116 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
2117 after -var-update.
2118
2119 2004-01-23 David Carlton <carlton@kealia.com>
2120
2121 * gdb.cp/namespace.cc (C::ensureRefs): New.
2122 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2123
2124 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
2125
2126 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
2127 case "-stack-list-locals 2".
2128 * gdb.mi/mi-var-child.exp: Test for case
2129 "-var-list-children --all-values NAME".
2130
2131 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
2132
2133 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2134
2135 2004-01-18 Mark Kettenis <kettenis@gnu.org>
2136
2137 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
2138 used with gdb_test_multiple.
2139
2140 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
2141 read at address 0. This fixes PR testsuite/1504.
2142
2143 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
2144
2145 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
2146 Remove downloading, guessing the host executable, the calls to
2147 gdb_file_cmd and gdb_target_cmd, and "load" support.
2148 (infer_host_exec): New function broken out from gdb_load.
2149 (gdb_load): New wrapper for gdbserver_gdb_load.
2150 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
2151 gdb_target_cmd. Use -target-select.
2152 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
2153 Download binaries to the host. Clear last_mi_remote_file when
2154 we load a new binary.
2155 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
2156 call gdbserver_gdb_load and mi_gdb_target_cmd.
2157
2158 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2159
2160 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
2161 type patterns.
2162
2163 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2164
2165 * gdb.cp/templates.exp: Fix typo in test name of
2166 "print Foo<volatile char*>::foo".
2167
2168 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2169
2170 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2171
2172 2004-01-16 Ben Elliston <bje@wasabisystems.com>
2173
2174 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
2175 (clean mostlyclean): Remove empty rm.
2176
2177 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2178
2179 * gdb.base/setvar.exp: Add copyright years.
2180
2181 2004-01-14 David Carlton <carlton@bactrian.org>
2182
2183 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
2184 PR c++/1511 and update coment.
2185 * gdb.cp/templates.exp: Update patterns to match current output.
2186 If changes involve something other than whitespace, KFAIL
2187 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2188
2189 2004-01-14 David Carlton <carlton@kealia.com>
2190
2191 * gdb.cp/namespace.exp: Add tests involving classes defined within
2192 namespaces.
2193 * gdb.cp/namespace.cc (C::CClass): New.
2194 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
2195
2196 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
2197
2198 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
2199 what debug info we have. Print a better message if something goes
2200 wrong while producing the separate debug info file.
2201
2202 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2203
2204 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2205
2206 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2207
2208 * gdb.base/callfuncs.c: Add copyright notice.
2209
2210 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
2211
2212 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
2213 inheritance. PR gdb/1498, PR gcc/13539.
2214
2215 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
2216
2217 * gdb.threads/gcore-thread.exp: Prefix name of binary with
2218 test specific name.
2219 * gdb.mi/gdb669.exp: Ditto.
2220 * gdb.mi/mi-pthreads.exp: Ditto.
2221 * gdb.mi/mi1-pthreads.exp: Ditto.
2222 * gdb.mi/mi2-pthreads.exp: Ditto.
2223
2224 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2225
2226 * gdb.cp/member-ptr.cc: Add copyright notice.
2227
2228 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2229
2230 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
2231 some patterns for recent versions of gcc and hpacc. Delete
2232 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
2233 Delete tests that access a NULL pointer-to-member-data. This
2234 script is still disabled for gcc.
2235
2236 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
2237
2238 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
2239 escaped correctly.
2240
2241 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
2242
2243 * gdb.base/sepdebug.exp: New file.
2244 * gdb.base/sepdebug.c: New file.
2245 * lib/gdb.exp (separate_debug_filename): New procedure.
2246 (gdb_gnu_strip_debug): New procedure.
2247
2248 2004-01-12 Andrew Cagney <cagney@redhat.com>
2249
2250 * gdb.mi/ChangeLog: Delete file. Renamed to ...
2251 * gdb.mi/ChangeLog-1999-2003: New file.
2252
2253 2004-01-12 Andrew Cagney <cagney@redhat.com>
2254
2255 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
2256 "Renaming a directory to a non-empty directory returns ENOTEMPTY
2257 or EEXIST", treat EBUSY as an XFAIL.
2258
2259 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
2260
2261 * gdb.base/scope.exp: Remove obsolete setup_xfail for
2262 hp_cc_compiler.
2263
2264 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2265
2266 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
2267 decorations.
2268
2269 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2270
2271 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
2272 and "(aCC)" decorations. Remove obsolete doco about old
2273 test results.
2274
2275 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2276
2277 * gdb.cp/exception.exp: Fix typo in doco.
2278
2279 2004-01-09 Mark Kettenis <kettenis@gnu.org>
2280
2281 * gdb.base/gdb1476.exp: Fix typo.
2282
2283 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2284
2285 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
2286 file.
2287
2288 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2289
2290 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
2291 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
2292 Use gdb_compile. Remove restriction on gcc. Add some patterns
2293 for recent version of gdb. Delete second half, which was a copy
2294 of the first half with different build flags. This test is
2295 still disabled because it is still not ready for production.
2296
2297 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2298
2299 * gdb.cp/exception.cc: Add copyright notice.
2300 * gdb.cp/exception.exp: Add a notice that this file is broken
2301 because of line number changes caused by addition of copyright
2302 notice.
2303
2304 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2305
2306 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
2307 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2308
2309 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2310
2311 * gdb.cp/classes.exp: Accept gnu abi 2.
2312 * gdb.cp/derivation.exp: Likewise.
2313 * gdb.cp/overload.exp: Likewise.
2314 * gdb.cp/virtfunc.exp: Likewise.
2315
2316 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2317
2318 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
2319 semicolon after end of function.
2320
2321 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2322
2323 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
2324 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
2325 boilerplate code for compiling and running the program under
2326 test. Add some string method tests.
2327
2328 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2329
2330 * gdb.cp/bs15503.cc: Add copyright notice.
2331 * gdb.cp/bs15503.exp: Adjust line number.
2332
2333 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2334
2335 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2336 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2337
2338 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2339
2340 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2341 hp_cc_compiler.
2342
2343 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2344
2345 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2346 * gdb.cp/ctti.exp: Use the marker instead of "next".
2347 With gcc, run further before bailing.
2348
2349 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2350
2351 * gdb.cp/cttiadd.cc: Add copyright notice.
2352 * gdb.cp/cttiadd1.cc: Likewise.
2353 * gdb.cp/cttiadd2.cc: Likewise.
2354 * gdb.cp/cttiadd3.cc: Likewise.
2355
2356 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2357
2358 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
2359 Use gdb_test, gdb_test_multiple. Use floating-point values that
2360 have exact representations in IEEE-ish formats.
2361
2362 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2363
2364 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2365 compilers. Delete duplicate call to get_compiler_info.
2366 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2367 * gdb.base/volatile.exp: Likewise.
2368
2369 2004-01-07 Mark Kettenis <kettenis@gnu.org>
2370
2371 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2372 memory at address 0.
2373
2374 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2375
2376 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2377 to test for hp-ux assembler. Fix copyright years.
2378
2379 2004-01-07 Andrew Cagney <cagney@redhat.com>
2380
2381 * gdb.base/fileio.c (strerrno): Add "EBUSY".
2382
2383 2004-01-07 Andrew Cagney <cagney@redhat.com>
2384
2385 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2386 when creating the read-only file. From analysis by Roland McGrath
2387 and Elena Zannoni.
2388
2389 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2390
2391 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2392
2393 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2394
2395 * gdb.base/cvexpr.c: Be type-safe with function pointers and
2396 data pointers.
2397
2398 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2399
2400 * gdb.cp/m-static.exp: Compile one source file at a time.
2401 Delete unused call to get_compiler_info.
2402
2403 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2404
2405 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2406 * gdb.base/call-rt-st.exp: Likewise.
2407 * gdb.base/nodebug.exp: Likewise.
2408 * gdb.base/volatile.exp: Likewise.
2409 * gdb.cp/ref-types.exp: Likewise.
2410 * gdb.cp/templates.exp: Likewise.
2411
2412 2004-01-05 Mark Kettenis <kettenis@gnu.org>
2413
2414 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2415
2416 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
2417
2418 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2419 hppa*-hp-hpux*.
2420
2421 2004-01-04 Mark Kettenis <kettenis@gnu.org>
2422
2423 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2424 x86_64-*-*.
2425
2426 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2427 sparc64-*-* and sparc*-solaris2*.
2428
2429 2004-01-04 Mark Kettenis <kettenis@gnu.org>
2430
2431 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2432 return ${tests}" test. The ${tests} already mentions the
2433 filename.
2434
2435 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2436
2437 * gdb.cp/local.exp: Accept gcc abi 2.
2438
2439 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2440
2441 * gdb.cp/templates.exp: Accept gcc abi 2.
2442
2443 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2444
2445 * lib/compiler.cc: Remove supports_template_debugging.
2446 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2447
2448 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2449
2450 * gdb.cp/namespace.exp: Accept gcc abi 2.
2451
2452 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2453
2454 * gdb.cp/method.exp: Accept gcc abi 2.
2455
2456 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2457
2458 * gdb.cp/classes.exp: Generate identical results as old version.
2459 * gdb.cp/derivation.exp: Likewise.
2460 * gdb.cp/overload.exp: Likewise.
2461 * gdb.cp/virtfunc.exp: Likewise.
2462
2463 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2464
2465 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2466 mysterious bug with sourceware version of expect.
2467
2468 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2469
2470 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2471 current versions of gcc, including gcc abi 2. Remove gratuitous
2472 restart of test program. Use gdb_test_multiple and gdb_test for
2473 all tests. Add patterns to xfail missing "const" in "const char *"
2474 and kfail PR gdb/1155.
2475
2476 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2477
2478 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2479 current versions of gcc, including gcc abi 2. Remove gratuitous
2480 restart of test program. Use gdb_test_multiple and gdb_test for
2481 all tests. Add patterns to kfail PR gdb/1498.
2482
2483 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2484
2485 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2486 current versions of gcc, including gcc abi 2. Use "breakpoint"
2487 and "continue" instead of restarting the target program. Use
2488 gdb_test_multiple and gdb_test for all tests.
2489
2490 2004-01-01 Mark Kettenis <kettenis@gnu.org>
2491
2492 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2493 for *-*-solaris2*.
2494
2495 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2496
2497 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2498 current versions of gcc, including gcc abi 2. Use "breakpoint"
2499 and "continue" instead of restarting the target program several
2500 times. Use gdb_test_multiple and gdb_test for all tests.
2501
2502 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2503
2504 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2505 source files.
2506
2507 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2508
2509 * gdb.base/environ.exp: Handle compiling test case from multiple
2510 source files.
2511
2512 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2513
2514 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2515
2516 2003-12-17 Jim Blandy <jimb@redhat.com>
2517
2518 * gdb.base/freebpcmd.c: Add copyright notice.
2519
2520 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2521
2522 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2523
2524 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2525
2526 2003-12-13 Jim Blandy <jimb@redhat.com>
2527
2528 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2529
2530 2003-12-12 Kevin Buettner <kevinb@redhat.com>
2531
2532 * gdb.asm/frv.inc: New file.
2533 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2534
2535 2003-12-09 Fred Fish <fnf@redhat.com>
2536
2537 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2538 functions to break1.c and leave prototypes behind. Add more
2539 "set breakpoint NN here" comments.
2540 * gdb.base/break1.c: New file.
2541
2542 * gdb.base/break.exp: Handle compiling test case from multiple
2543 source files and change source file references as needed.
2544 * gdb.base/completion.exp: Ditto.
2545 * gdb.base/condbreak.exp: Ditto.
2546 * gdb.base/define.exp: Ditto.
2547 * gdb.base/ena-dis-br.exp: Ditto.
2548 * gdb.base/info-proc.exp: Ditto.
2549 * gdb.base/maint.exp: Ditto.
2550 * gdb.base/until.exp: Ditto.
2551
2552 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2553 hardcoded line numbers.
2554 * gdb.base/define.exp: Ditto.
2555 * gdb.base/ena-dis-br.exp: Ditto.
2556 * gdb.base/maint.exp: Ditto.
2557 * gdb.base/until.exp: Ditto.
2558
2559 * gdb.base/completion.exp: Use "break1" for completion tests since
2560 "break" is no longer a unique prefix.
2561
2562 2003-12-06 Andrew Cagney <cagney@redhat.com>
2563
2564 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2565 "return_value_unimplemented". When an unimplemented struct return
2566 architecture, report incorrect values as a KFAIL
2567
2568 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2569
2570 * gdb.cp/rtti.exp: Accept new wording of warning from
2571 cp_lookup_rtti_type.
2572
2573 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2574
2575 Partial fix for PR testsuite/1456.
2576 * gdb.base/scope.exp (test_at_main): Replace references to
2577 gcc_compiled with calls to test_compiler_info.
2578 (test_at_foo): Likewise.
2579 (test_at_bar): Likewise.
2580
2581 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2582
2583 Partial fix for PR testsuite/1456.
2584 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2585 to test_compiler_info.
2586
2587 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2588
2589 * gdb.base/so-impl-ld.exp: Update copyright notice.
2590
2591 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2592
2593 Partial fix for PR testsuite/1456.
2594 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2595 to test_compiler_info.
2596
2597 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2598
2599 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2600 from current versions of gdb. Clean up regular expressions.
2601 Delete redundant timeout case.
2602
2603 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2604
2605 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2606 from current versions of gdb. Clean up regular expressions.
2607 Delete redundant timeout case.
2608
2609 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2610
2611 Partial fix for PR testsuite/1456.
2612 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2613 gcc_compiled with call to test_compiler_info.
2614
2615 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2616
2617 Partial fix for PR testsuite/1456.
2618 * gdb.base/list.exp (test_list_function): Delete unused declaration
2619 of gcc_compiled.
2620
2621 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2622
2623 Partial fix for PR testsuite/1456.
2624 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2625 call to test_compiler_info.
2626
2627 2003-11-29 Mark Kettenis <kettenis@gnu.org>
2628
2629 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2630 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2631 it to create the appropriate note.inc.
2632 * gdb.asm/asmsrc1.s: Include "note.inc".
2633 * gdb.asm/netbsd.inc: New file.
2634 * gdb.asm/empty.inc: New file.
2635
2636 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2637
2638 Partial fix for PR testsuite/1456.
2639 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2640 calls to test_compiler_info.
2641
2642 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2643
2644 Partial fix for PR testsuite/1456.
2645 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2646 calls to test_compiler_info.
2647
2648 2003-11-27 Mark Kettenis <kettenis@gnu.org>
2649
2650 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2651 pattern for the KFAILs.
2652
2653 2003-11-25 Adam Fedor <fedor@gnu.org>
2654
2655 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2656 * gdb.objc/objcdecode.m: New file.
2657
2658 2003-11-25 Adam Fedor <fedor@gnu.org>
2659
2660 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2661 * gdb.objc/nondebug.m: New file.
2662
2663 2003-11-26 Ben Elliston <bje@wasabisystems.com>
2664
2665 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2666 NetBSD as it does on FreeBSD. Modelled on a similar change by
2667 Mark Kettenis on 2003-05-30.
2668 (link-flags): Set to "--entry _start" regardless of target.
2669 Special linker flags are to be appended to $link-flags.
2670 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2671
2672 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2673
2674 * gdb.cp/method.exp: Accept output of new demangler.
2675
2676 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2677
2678 * gdb/class2.exp: New file.
2679 * gdb/class2.cc: New file.
2680
2681 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2682
2683 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2684 of new demangler.
2685
2686 2003-11-23 Mark Kettenis <kettenis@gnu.org>
2687
2688 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2689 of gdb_test "run".
2690
2691 2003-11-23 Mark Kettenis <kettenis@gnu.org>
2692
2693 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2694 "continue" into "run".
2695
2696 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2697
2698 Partial fix for PR testsuite/1456.
2699 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2700 call to test_compiler_info.
2701 * gdb.cp/ctti.exp: Likewise.
2702 * gdb.cp/derivation.exp: Likewise.
2703 * gdb.cp/member-ptr.exp: Likewise.
2704 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2705 reference to gcc_compiled.
2706
2707 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2708
2709 Fix PR testsuite/1463.
2710 * gdb.base/structs.exp (start_structs_test): Call
2711 get_debug_format before using the debug format.
2712
2713 2003-11-22 Andrew Cagney <cagney@redhat.com>
2714
2715 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2716 * gdb.base/structs.exp: Use gdb_test_multiple.
2717
2718 2003-11-20 Andrew Cagney <cagney@redhat.com>
2719
2720 * gdb.base/structs.exp: Handle and recover from internal errors.
2721 Replace "foo${n}" with "foo<n>" in test messages.
2722
2723 * gdb.base/structs.exp: Update copyright. Rewrite.
2724 * gdb.base/structs.c: Update copyright. Rewrite.
2725
2726 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2727 resync count exceeded.
2728
2729 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2730 from the internal error.
2731 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2732 Original from Jim Blandy.
2733 (gdb_test_multiple): Use gdb_internal_error_resync.
2734
2735 2003-11-19 Andrew Cagney <cagney@redhat.com>
2736
2737 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2738 KFAIL.
2739
2740 2003-11-17 Mark Kettenis <kettenis@gnu.org>
2741
2742 New testcase for PR backtrace/1435.
2743 * gdb.arch/i386-unwind.exp: New file.
2744 * gdb.arch/i386-unwind.c: New file.
2745
2746 2003-11-17 Andrew Cagney <cagney@redhat.com>
2747
2748 * lib/gdb.exp (compiler_info): New global.
2749 (test_compiler_info): New function.
2750 (get_compiler_info): Set compiler_info.
2751 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2752 "compiler_info" to gcc-<major>-<minor>.
2753
2754 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2755
2756 * gdb.trace/configure: Remove.
2757
2758 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
2759
2760 * gdb.base/break.c: Add comments to aid finding line numbers for
2761 breakpoints.
2762 * gdb.base/break.exp: Remove all references to explicit line
2763 numbers.
2764
2765 2003-11-11 Nick Clifton <nickc@redhat.com>
2766
2767 * gdb.base/shreloc.exp: Do not run for targets which do not
2768 support shared objects.
2769
2770 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
2771
2772 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2773 Don't run tests if nofileio flag is given.
2774
2775 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
2776
2777 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2778 as well as 'Watchpoint'.
2779
2780 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
2781
2782 Reported by Jim Ingham <jingham@apple.com>:
2783 * gdb.base/annota1.exp: Match at least one occurrence of the
2784 signal handler annotation.
2785
2786 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
2787
2788 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2789 as well as 'Watchpoint'.
2790
2791 2003-11-05 Michael Chastain <mec@shout.net>
2792
2793 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2794
2795 2003-11-03 Kris Warkentin <kewarken@qnx.com>
2796
2797 * gdb.arch/gdb1291.c: New test file.
2798 * gdb.arch/gdb1291.exp: New test script.
2799 * gdb.arch/gdb1431.c: New test file.
2800 * gdb.arch/gdb1431.exp: New test script.
2801
2802 2003-10-22 Michael Chastain <mec@shout.net>
2803
2804 * gdb.mi/pthreads.c: Add copyright notice.
2805
2806 2003-10-22 Michael Chastain <mec@shout.net>
2807
2808 * gdb.threads/pthreads.c: Add copyright notice.
2809
2810 2003-10-20 Michael Chastain <mec@shout.net>
2811
2812 * gdb.base/gdb1056.exp: New test script.
2813
2814 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
2815
2816 * gdb.threads/killed.exp: Use gdb_run_cmd.
2817
2818 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
2819
2820 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2821 create a core file.
2822 * gdb.threads/gcore-thread.exp: Likewise.
2823
2824 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
2825
2826 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2827 type, based on char type.
2828 (struct bit_flags_short_t): New bitfield type, based on short type.
2829 (init_bit_flags_char): New fuction.
2830 (init_bit_flags_short): Ditto.
2831 (print_bit_flags_char): Ditto.
2832 (print_bit_flags_short): Ditto.
2833 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2834
2835 2003-10-11 Michael Chastain <mec@shout.net>
2836
2837 * gdb.base/call-rt-st.exp: Update copyright year.
2838
2839 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2840
2841 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2842 * gdb.disasm/sh3.s: Ditto.
2843
2844 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
2845
2846 * gdb.threads/switch-threads.exp: New test.
2847 * gdb.threads/switch-threads.c: New source file.
2848
2849 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
2850
2851 * gdb.base/ending-run.exp: Add sh specific case.
2852
2853 2003-10-06 Andrew Cagney <cagney@redhat.com>
2854
2855 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2856 * gdb.disasm/mn10200.exp: Delete obsolete file.
2857
2858 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
2859
2860 * ChangeLog: Correct an entry command.exp -> commands.exp.
2861 * gdb.base/commands.exp (bp_deleted_in_command_test)
2862 (temporary_breakpoint_commands): Check noargs.
2863
2864 2003-09-25 David Carlton <carlton@kealia.com>
2865
2866 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2867 of some print tests, where appropriate. Add tests for C::D::cd,
2868 E::ce, F::cXfX, G::XgX.
2869 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2870
2871 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
2872
2873 * lib/java.exp (java_init): Import target_alias before using it.
2874
2875 2003-09-25 David Carlton <carlton@kealia.com>
2876
2877 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2878
2879 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
2880
2881 * gdb.base/selftest.exp: Accomodate more instruction reordering
2882 weirdness.
2883
2884 2003-09-17 Michael Chastain <mec@shout.net>
2885
2886 * gdb.cp/gdb1355.exp: New file.
2887 * gdb.cp/gdb1355.c: New file.
2888
2889 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
2890
2891 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2892 * gdb.asm/sh.inc: New file.
2893
2894 2003-09-11 David Carlton <carlton@kealia.com>
2895
2896 * gdb.cp/namespace.exp: Add tests for namespace types.
2897 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
2898 (test_namespace): New.
2899
2900 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
2901
2902 * gdb.base/relocate.exp: Handle new gdb output at startup.
2903 * gdb.stabs/weird.exp: Ditto.
2904
2905 2003-09-08 Michael Chastain <mec@shout.net>
2906
2907 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2908
2909 2003-09-07 Michael Chastain <mec@shout.net>
2910
2911 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2912 'parse error'.
2913
2914 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
2915
2916 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2917
2918 2003-08-30 Michael Chastain <mec@shout.net>
2919
2920 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2921 * gdb.gdb/observer.exp: Ditto.
2922 * gdb.gdb/xfullpath.exp: Ditto.
2923
2924 2003-08-29 Mark Kettenis <kettenis@gnu.org>
2925
2926 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2927 *-*-*bsd*.
2928
2929 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
2930
2931 * gdb.base/dump.exp: Skip for ia64.
2932
2933 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
2934
2935 * gdb.asm/asm-source.exp: Add ia64 support.
2936 * gdb.asm/ia64.inc: New file.
2937
2938 2003-08-22 Michael Chastain <mec@shout.net>
2939
2940 * gdb.cp: New directory.
2941 * gdb.cp/*: Copy from gdb.c++/*.
2942 * gdb.c++/*: Remove.
2943 * Makefile.in: Change gdb.c++ to gdb.cp.
2944 * configure.in: Ditto.
2945 * configure: Regnerate.
2946
2947 2003-08-18 Mark Kettenis <kettenis@gnu.org>
2948
2949 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2950 * gdb.arch/i386-prologue.c (gdb1338): Add function.
2951
2952 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
2953
2954 * mi-var-display.exp (-var-list-children weird): Accept function
2955 pointers with argument types.
2956 * mi1-var-display.exp (-var-list-children weird): Likewise.
2957 * mi2-var-display.exp (-var-list-children weird): Likewise.
2958
2959 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
2960
2961 * gdb.base/annota3.exp: Add missing newline.
2962
2963 2003-08-06 Michael Chastain <mec@shout.net>
2964
2965 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2966
2967 2003-08-12 Michael Snyder <msnyder@redhat.com>
2968
2969 * gdb.base/float.exp: Add test for SH.
2970
2971 2003-08-10 Mark Kettenis <kettenis@gnu.org>
2972
2973 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2974
2975 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
2976
2977 * gdb.base/completion.exp: Remove reduntant completion test
2978 on filename.
2979
2980 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
2981
2982 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2983 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2984 gdb.trace/save-trace.exp: Make sure that full pathnames are
2985 escaped correctly.
2986
2987 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
2988
2989 * configure.in: Don't generate config.h from config.hin.
2990 * configure: Regenerate.
2991 * config.hin: Remove file.
2992 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
2993 * gdb.threads/pthreads.c: Ditto.
2994
2995 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
2996
2997 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2998 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
2999 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
3000 Replace ld24 with seth/add3.
3001
3002 2003-08-02 Andrew Cagney <cagney@redhat.com>
3003
3004 * gdb.base/annota3.exp: New file.
3005 * gdb.base/annota3.c: New file.
3006 * gdb.c++/annota3.exp: New file.
3007 * gdb.c++/annota3.cc: New file.
3008
3009 2003-07-29 Michael Chastain <mec@shout.net>
3010
3011 * gdb.threads/tls.c (spin): Check errno only if sem_wait
3012 actually failed.
3013 (do_pass): Likewise.
3014 * gdb.threads/tls.exp: Always initialize no_of_threads.
3015
3016 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
3017
3018 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
3019 pattern.
3020 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
3021 * gdb.threads/tls.exp: Recognize one case of the host library not
3022 supporting TLS.
3023
3024 2003-07-27 Andrew Cagney <cagney@redhat.com>
3025
3026 * gdb.base/fileio.exp: Use SH when running commands using
3027 remote_exec.
3028
3029 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
3030
3031 From Kei Sakamoto <sakamoto.kei@renesas.com>:
3032 * gdb.base/relocate.c (dummy): New padding array.
3033
3034 2003-07-22 Michael Snyder <msnyder@redhat.com>
3035
3036 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3037
3038 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
3039 patterns to be more general, accepting old and new output.
3040 Some output chars (such as '+') also must be quoted.
3041 Some addresses are displayed numerically instead of
3042 symbolically.
3043
3044 2003-07-23 Michael Snyder <msnyder@redhat.com>
3045
3046 * gdb.base/return2.exp: Don't test long-long return.
3047
3048 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
3049 * gdb.disasm/t01_mov.exp: Ditto.
3050 * gdb.disasm/t02_mova.s: Ditto.
3051 * gdb.disasm/t02_mova.exp: Ditto.
3052 * gdb.disasm/t03_add.s: Ditto.
3053 * gdb.disasm/t03_add.exp: Ditto.
3054 * gdb.disasm/t04_sub.s: Ditto.
3055 * gdb.disasm/t04_sub.exp: Ditto.
3056 * gdb.disasm/t05_cmp.s: Ditto.
3057 * gdb.disasm/t05_cmp.exp: Ditto.
3058 * gdb.disasm/t06_ari2.s: Ditto.
3059 * gdb.disasm/t06_ari2.exp: Ditto.
3060 * gdb.disasm/t07_ari3.s: Ditto.
3061 * gdb.disasm/t07_ari3.exp: Ditto.
3062 * gdb.disasm/t08_or.s: Ditto.
3063 * gdb.disasm/t08_or.exp: Ditto.
3064 * gdb.disasm/t09_xor.s: Ditto.
3065 * gdb.disasm/t09_xor.exp: Ditto.
3066 * gdb.disasm/t10_and.s: Ditto.
3067 * gdb.disasm/t10_and.exp: Ditto.
3068 * gdb.disasm/t11_logs.s: Ditto.
3069 * gdb.disasm/t11_logs.exp: Ditto.
3070 * gdb.disasm/t12_bit.s: Ditto.
3071 * gdb.disasm/t12_bit.exp: Ditto.
3072 * gdb.disasm/t13_otr.s: Ditto.
3073 * gdb.disasm/t13_otr.exp: Ditto.
3074
3075 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
3076
3077 * gdb.threads/tls.exp :Add kfail for 'info address' case.
3078
3079 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
3080
3081 * gdb.threads/tls.c : New file.
3082 * gdb.threads/tls.exp : New file.
3083 * gdb.threads/tls-main.c : New file.
3084 * gdb.threads/tls-shared.c : New file.
3085 * gdb.threads/tls-shared.exp : New file.
3086
3087 2003-07-22 Andreas Schwab <schwab@suse.de>
3088
3089 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
3090
3091 2003-07-20 Andreas Schwab <schwab@suse.de>
3092
3093 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
3094 due to insn reordering.
3095
3096 2003-07-15 Andrew Cagney <cagney@redhat.com>
3097
3098 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
3099
3100 2003-07-15 Michael Chastain <mec@shout.net>
3101
3102 * gdb.base/gdb1250.exp: New file.
3103 * gdb.base/gdb1250.c: New file.
3104
3105 2003-07-09 Michal Ludvig <mludvig@suse.cz>
3106
3107 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
3108 expansion of size_t to 'unsigned long', not only to 'unsigned'.
3109
3110 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
3111
3112 * gdb.threads/tls.c: New file.
3113 * gdb.threads/tls.exp: New file.
3114 * gdb.threads/tls-main.c: New file.
3115 * gdb.threads/tls-shared.c: New file.
3116 * gdb.threads/tls-shared.exp: New file.
3117
3118 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
3119
3120 * gdb.base/annota1.exp: Make sure that we properly escape the
3121 full path of the source file. Xfail more permissive patterns,
3122 due to a compiler debug info problem.
3123
3124 2003-07-07 Andreas Schwab <schwab@suse.de>
3125
3126 * gdb.asm/m68k.inc: New file.
3127 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
3128
3129 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
3130 arguments"): Also match negative number.
3131
3132 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
3133
3134 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
3135
3136 * gdb.base/store.c (charest): New typedef.
3137 (add_char): Rename to add_charest, update.
3138 (wack_char): Rename to wack_charest, update types. Return l + r
3139 to keep r live across the call.
3140 (wack_short, wack_int, wack_long, wack_longest, wack_float)
3141 (wack_double, wack_doublest): Return l + r to keep r live across
3142 the call.
3143 * gdb.base/store.exp: Accomodate store.c changes.
3144
3145 2003-06-30 David Carlton <carlton@kealia.com>
3146
3147 * gdb.c++/maint.exp (test_invalid_name): New.
3148 (test_first_component): Add tests for invalid names.
3149
3150 2003-06-29 Michael Chastain <mec@shout.net>
3151
3152 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
3153 output of '<VTT for class>' for virtual base classes.
3154
3155 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
3156
3157 * gdb.base/completion.exp: Tab-complete "complet" instead of
3158 "compl".
3159 * gdb.base/complex.exp, gdb.base/complex.c: New files.
3160
3161 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
3162
3163 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
3164 * gdb.base/volatile.exp: Likewise.
3165
3166 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
3167
3168 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
3169 gdb/1265.
3170
3171 2003-06-28 Michael Chastain <mec@shout.net>
3172 Daniel Jacobowitz <drow@mvista.com>
3173
3174 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
3175 initial line count of 'captured_main' from 26 to 32.
3176 (test_with_self): Allow xmalloc call to be interleaved with the
3177 preceding two lines.
3178
3179 2003-06-24 Joel Brobecker <brobecker@gnat.com>
3180
3181 * gdb.base/bang.exp: New testcase.
3182
3183 2003-06-23 Joel Brobecker <brobecker@gnat.com>
3184
3185 * gdb.base/langs.exp: Add some tests for the "minimal" language
3186 support.
3187
3188 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
3189
3190 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
3191 the testcase.
3192
3193 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
3194
3195 * gdb.base/relocate.exp: Test add-symbol-file with a variable
3196 offset.
3197
3198 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
3199
3200 * gdb.c++/pr-1210.cc: New file.
3201 * gdb.c++/pr-1210.exp: New file.
3202
3203 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
3204
3205 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
3206 000-exec-continue.
3207
3208 2003-06-15 Mark Kettenis <kettenis@gnu.org>
3209
3210 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
3211 on *-*-*bsd* instead of *-*-freebsd*.
3212
3213 2003-06-14 Andrew Cagney <cagney@redhat.com>
3214
3215 * gdb.base/store.exp: Test longest and doublest. Test all
3216 parameters. Weaken return statement match.
3217 * gdb.base/store.c: Add longest and doublest - aka long long and
3218 long double functions. Put all parameters into local register
3219 variables. Use negative values.
3220
3221 2003-06-14 Andrew Cagney <cagney@redhat.com>
3222
3223 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
3224 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
3225 exit status.
3226 * gdb.base/fileio.exp: Disable target when nointerrupts and
3227 noinferiorio, instead of limiting it to remote. Use remote_exec
3228 instead of system.
3229
3230 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
3231
3232 * gdb.base/float.exp: Add ia64 support.
3233
3234 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
3235
3236 * gdb.base/fileio.exp: Run only on remote targets.
3237
3238 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
3239
3240 * gdb.base/fileio.c: New file, testing File-I/O.
3241 * gdb.base/fileio.exp: Ditto.
3242
3243 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
3244
3245 * gdb.base/shreloc.exp: New file, check symbol values obtained from
3246 shared objects after relocation at load time (gdb PR/1132).
3247 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
3248 as above, part of the shared object relocation test.
3249
3250 2003-06-08 Mark Kettenis <kettenis@gnu.org>
3251
3252 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
3253 fully filled history list.
3254 * gdb.base/gdb_history: New file.
3255
3256 * gdb.base/signals.exp: XFAIL "continue to func1" on
3257 i*86-*-freebsd*.
3258
3259 * gdb.base/attach.exp: When trying to attach to a nonexistent
3260 process, make it possible to specify the PID based on the target,
3261 and do so for *-*-freebsd*.
3262
3263 2003-06-02 Richard Henderson <rth@redhat.com>
3264
3265 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
3266
3267 2003-06-02 Richard Henderson <rth@redhat.com>
3268
3269 * gdb.base/selftest.exp: Next over lim_at_start initialization.
3270
3271 2003-06-02 Richard Henderson <rth@redhat.com>
3272
3273 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
3274
3275 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
3276
3277 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
3278 of globalvar.
3279
3280 2003-06-01 Mark Kettenis <kettenis@gnu.org>
3281
3282 * gdb.asm/asm-source.exp: Check for memory read errors in
3283 disassembler test on *BSD too.
3284
3285 2003-06-01 Richard Henderson <rth@redhat.com>
3286
3287 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
3288 for .frame.
3289 (gdbasm_call): Lose ldgp.
3290 (gdbasm_startup): Add frame information.
3291 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
3292
3293 2003-05-31 Mark Kettenis <kettenis@gnu.org>
3294
3295 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
3296 i?86-*-*.
3297
3298 2003-05-30 Mark Kettenis <kettenis@gnu.org>
3299
3300 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3301 FreeBSD.
3302
3303 2003-05-29 Richard Henderson <rth@redhat.com>
3304
3305 * gdb.asm/alpha.inc: New file.
3306 * gdb.asm/asm-source.exp: Use it.
3307
3308 2003-05-29 Jim Blandy <jimb@redhat.com>
3309
3310 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
3311 'core.PID'.
3312
3313 2003-05-22 Jim Blandy <jimb@redhat.com>
3314
3315 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
3316 backtrace.
3317
3318 2003-05-20 David Carlton <carlton@math.stanford.edu>
3319
3320 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
3321 this time.
3322
3323 2003-05-19 David Carlton <carlton@bactrian.org>
3324
3325 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
3326 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
3327
3328 2003-05-19 David Carlton <carlton@bactrian.org>
3329
3330 * gdb.c++/namespace.exp: Add namespace scope and anonymous
3331 namespace tests.
3332 Bump copyright date.
3333 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3334 (main): Call C::D::marker2.
3335 * gdb.c++/namespace1.cc: New file.
3336
3337 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
3338
3339 Roland McGrath <roland@redhat.com>
3340 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
3341 there is no manager thread.
3342
3343 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
3344
3345 * gdb.threads/schedlock.exp: Remove assumption that all threads
3346 will run in a particular small time slice. Also ensure we break
3347 in one of the child threads rather than the main thread.
3348
3349 2003-05-07 Jim Blandy <jimb@redhat.com>
3350
3351 Add support for assembly source testing on the s390x.
3352 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3353 architecture.
3354 * gdb.asm/s390x.inc: New file.
3355
3356 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3357 succession of 'if' statements.
3358
3359 2003-05-05 Andrew Cagney <cagney@redhat.com>
3360
3361 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3362
3363 2003-05-05 Andrew Cagney <cagney@redhat.com>
3364
3365 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3366 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3367
3368 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
3369
3370 * gdb.base/charset.exp: Update based on new behavior of set/show
3371 charset commands.
3372
3373 2003-05-01 Andrew Cagney <cagney@redhat.com>
3374
3375 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3376 variable do not give memory errors.
3377
3378 2003-04-30 Adam Fedor <fedor@gnu.org>
3379
3380 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3381 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3382 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3383 gdb.objc/basicclass.m: : New files
3384
3385 * lib/gdb.exp (gdb_compile_objc): New procedure.
3386
3387 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
3388
3389 * gdb.base/signals.exp: Make backtrace tests more specific.
3390
3391 2003-04-23 David Carlton <carlton@bactrian.org>
3392
3393 * gdb.c++/maint.exp (test_first_component): Add tests for
3394 'operator' in more locations.
3395
3396 2003-04-16 Kevin Buettner <kevinb@redhat.com>
3397
3398 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3399
3400 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
3401
3402 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3403 func marke' instead. Update test name.
3404
3405 2003-04-15 David Carlton <carlton@math.stanford.edu>
3406
3407 * gdb.c++/maint.exp: New file.
3408
3409 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
3410
3411 * gdb.threads/schedlock.c: Change type of thread function argument
3412 to long, to avoid warnings on 64-bit platforms.
3413
3414 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
3415
3416 * gdb.base/attach.exp: Add new message from ptrace in case of
3417 attaching to nonexistent process.
3418
3419 2003-04-11 Jim Blandy <jimb@redhat.com>
3420
3421 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3422 gdb.c++/userdef.cc: Place comments on the lines to which the
3423 marker function might return.
3424 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3425 gdb.c++/userdef.exp: Look for those comments to check that we've
3426 returned to the right place, instead of checking line numbers.
3427
3428 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
3429
3430 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3431 match on sourcefile name, instead of directory name.
3432
3433 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
3434
3435 * gdb.base/completion.exp: Use string_to_regexp to match the
3436 working directory name.
3437
3438 2003-04-09 Jim Blandy <jimb@redhat.com>
3439
3440 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3441 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3442 after an inferior function call, report the failure, but allow the
3443 test to continue.
3444
3445 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3446
3447 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3448 with -DPROTOTYPES.
3449
3450 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3451
3452 * gdb.base/break.exp: Revert last patch.
3453
3454 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3455
3456 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3457 with -DPROTOTYPES.
3458
3459 2003-04-02 Andrew Cagney <cagney@redhat.com>
3460
3461 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3462 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3463 matching directories by the name breakpoint.
3464 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3465 Make "continue to marker1" consistent.
3466 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3467 message consistent.
3468 * lib/gdb.exp: Put "the program is no longer running", and "the
3469 program exited" in parenthesis.
3470 * lib/mi-support.exp: Ditto.
3471
3472 2003-04-02 Bob Rossi <bob_rossi@cox.net>
3473
3474 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3475
3476 2003-03-29 Andrew Cagney <cagney@redhat.com>
3477
3478 * gdb.base/sizeof.c (main): Print the value of '\377'.
3479 * gdb.base/sizeof.exp: Check the sign of '\377'.
3480
3481 2003-03-27 Michael Chastain <mec@shout.net>
3482
3483 * gdb.base/gdb1090.exp: New file.
3484 * gdb.base/gdb1090.cc: New file.
3485
3486 2003-03-27 J. Brobecker <brobecker@gnat.com>
3487
3488 * gdb.gdb/observer.exp: New regression test.
3489
3490 2003-03-27 Michael Chastain <mec@shout.net>
3491
3492 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3493 * gdb.base/ptype.exp: Likewise.
3494
3495 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
3496
3497 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3498
3499 2003-03-26 Michael Chastain <mec@shout.net>
3500
3501 * gdb.base/ptype.exp: Actually use some typedef'd types.
3502
3503 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3504
3505 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3506 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3507
3508 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3509
3510 * gdb.base/default.exp: Fix regular expression.
3511
3512 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3513
3514 * gdb.base/args.exp: Fix regular expression.
3515
3516 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3517
3518 * gdb.base/help.exp: Allow Win32 child process.
3519
3520 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3521
3522 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3523 when stepping out of main().
3524
3525 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3526
3527 * gdb.base/default.exp: Check for win32 specific message when calling
3528 "run" without executable.
3529
3530 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3531
3532 * gdb.base/args.exp: Expect .exe in output.
3533
3534 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
3535
3536 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3537 Cygwin native.
3538
3539 2003-03-17 Andrew Cagney <cagney@redhat.com>
3540
3541 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3542 vector registes.
3543 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3544 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3545
3546 2003-03-17 David Carlton <carlton@math.stanford.edu>
3547
3548 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3549 test, for PR breakpoints/38.
3550 Call test_watchpoint_and_breakpoint.
3551 * gdb.base/watchpoint.c (func3): New function.
3552 (main): Call func3.
3553
3554 2003-03-04 David Carlton <carlton@math.stanford.edu>
3555
3556 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3557 Garply<Garply<char> >:: garply".
3558 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3559 with respect to PR c++/1111; note also PR c++/1113.
3560 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3561 respect to PR c++/1062.
3562 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3563
3564 2003-03-03 David Carlton <carlton@math.stanford.edu>
3565
3566 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3567 with respect to PR c++/57.
3568 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3569 c++/826.
3570 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3571 respect to PR c++/57.
3572
3573 2003-03-03 David Carlton <carlton@math.stanford.edu>
3574
3575 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3576 respect to PR c++/33 into FAILs.
3577
3578 2003-03-03 Michael Chastain <mec@shout.net>
3579
3580 * configure.in: Update copyright years.
3581
3582 2003-03-03 Michael Chastain <mec@shout.net>
3583
3584 * Makefile.in: Update copyright years.
3585
3586 2003-02-28 David Carlton <carlton@math.stanford.edu>
3587
3588 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3589 print class instead of struct and/or superfluous protection
3590 specifiers, as long as the resulting output is equivalent to the
3591 source code.
3592 Delete FIXME from end of messages on tests that don't need
3593 fixing.
3594
3595 2003-02-28 David Carlton <carlton@math.stanford.edu>
3596
3597 * gdb.c++/templates.exp (do_tests): Allow const in the two
3598 Foo<volatile char *>::foo tests.
3599
3600 2003-02-27 Michael Snyder <msnyder@redhat.com>
3601
3602 * gdb.base/restore.c (main): Return zero, so exit code
3603 will be consistant.
3604
3605 2003-02-26 David Carlton <carlton@math.stanford.edu>
3606
3607 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3608 char *>::foo" test with respect to PR c++/33. Create a new test
3609 which is identical to that one except that it doesn't put the
3610 space between the "char" and the "*"; KFAIL it, too.
3611
3612 2003-02-26 David Carlton <carlton@math.stanford.edu>
3613
3614 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3615 template types into either PASSes or KFAILs (corresponding to PR
3616 c++/57). Tweak indentation. Update copyright.
3617
3618 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3619
3620 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3621
3622 2003-02-13 Michael Chastain <mec@shout.net>
3623
3624 * gdb.base/exprs.exp: Remove i960 remnants.
3625 * gdb.base/funcargs.exp: Likewise.
3626 * gdb.base/list.exp: Likewise.
3627 * gdb.base/ptype.exp: Likewise.
3628
3629 2003-02-14 David Carlton <carlton@math.stanford.edu>
3630
3631 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3632 pEe->D::vg()" from XFAIL to KFAIL.
3633
3634 2003-02-13 Jason Molenda (jmolenda@apple.com)
3635
3636 * gdb.base/maint.exp: Update maint print statistics regexp to include
3637 new entries.
3638
3639 2003-02-13 Michael Chastain <mec@shout.net>
3640
3641 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3642
3643 2003-02-12 Michael Chastain <mec@shout.net>
3644
3645 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3646 * gdb.c++/inherit.exp: Likewise.
3647 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3648 * gdb.c++/templates.exp: Likewise.
3649 * gdb.c++/virtfunc.exp: Likewise.
3650
3651 2003-02-06 Jason Molenda (jason-cl@molenda.com)
3652
3653 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3654 why the code is written that way.
3655
3656 2003-02-05 Michael Chastain <mec@shout.net>
3657
3658 * gdb.base/dump.exp: Add missing copyright line.
3659
3660 2003-02-05 Jason Molenda (jason-cl@molenda.com)
3661
3662 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
3663 at the beginning so the breakpoint doesn't get set on the loop.
3664
3665 2003-02-05 Michael Chastain <mec@shout.net>
3666
3667 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3668 output for configurations with gcc 2.95.3.
3669
3670 2003-02-05 Keith Seitz <keiths@redhat.com>
3671 Andrew Cagney <ac131313@redhat.com>
3672
3673 * gdb.mi/mi-cli.exp: New file.
3674
3675 2003-02-04 Michael Chastain <mec@shout.net>
3676
3677 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3678 Call perror and then continue.
3679
3680 2003-02-03 Michael Chastain <mec@shout.net>
3681
3682 * gdb.c++/pr-1023.cc: New file.
3683 * gdb.c++/pr-1023.exp: New file.
3684
3685 2003-02-05 Jim Blandy <jimb@redhat.com>
3686
3687 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3688 it's local to foobar. Check for it there, and check that it's not
3689 present in main.
3690 * gdb.c++/local.cc (marker2): New function.
3691 (foobar): Call marker1.
3692 (main): Call marker2 instead of marker1.
3693
3694 2003-02-04 Andrew Cagney <ac131313@redhat.com>
3695
3696 * gdb.disasm/mn10200.exp: Obsolete file.
3697 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3698 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3699 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3700
3701 2003-02-04 David Carlton <carlton@math.stanford.edu>
3702
3703 * gdb.c++/overload.exp: Test intToChar(1).
3704 * gdb.c++/overload.cc (intToChar): New.
3705 (main): Call intToChar.
3706
3707 2003-02-03 David Carlton <carlton@math.stanford.edu>
3708
3709 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3710 'might_kfail' arg.
3711 KFAIL some of the continue_to_bp_overloaded calls, according to
3712 PR c++/1025.
3713
3714 2003-02-01 Michael Chastain <mec@shout.net>
3715
3716 * gdb.base/advance.c (marker1): New marker function.
3717 * gdb.base/advance.exp: When the 'advance' command lands on the
3718 return breakpoint, it can legitimately stop on either the
3719 current line or the next line. Accommodate both outcomes.
3720 * gdb.base/until.exp: Likewise.
3721
3722 2003-02-02 Andrew Cagney <ac131313@redhat.com>
3723
3724 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3725 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3726 now a list, not a tuple.
3727 * gdb.mi/mi-var-display.exp: Ditto.
3728 * gdb.mi/gdb792.exp: Ditto.
3729
3730 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3731
3732 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3733 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3734 stack backtraces.
3735 * gdb.mi/mi-syn-frame.c: Part of same.
3736
3737 2003-02-01 Mark Kettenis <kettenis@gnu.org>
3738
3739 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3740 gdb.mi/mi1-pthreads.exp: Return instead of calling
3741 gdb_suppress_entire_file.
3742
3743 2003-02-01 Mark Salter <msalter@redhat.com>
3744
3745 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3746
3747 2003-01-31 Mark Salter <msalter@redhat.com>
3748
3749 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3750 Support empty arg.
3751
3752 2003-01-30 Michael Chastain <mec@shout.net>
3753
3754 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3755 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3756 has been fixed in gdb/readline on 2003-01-09.
3757
3758 2003-01-29 Michael Snyder <msnyder@redhat.com>
3759
3760 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3761 * gdb.base/display.exp: Allow for leading underscore in symbol.
3762 * gdb.base/args.exp: Skip if target does not support args passing.
3763
3764 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
3765
3766 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
3767 gdb_test. Accept a list of expect arguments as the third
3768 parameter.
3769 (gdb_test): Use it.
3770
3771 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
3772
3773 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3774 allow for different test tree configurations. Update some
3775 tescases accordingly.
3776 * gdb.arch/altivec-regs.exp: Ditto.
3777 * gdb.asm/asm-source.exp: Ditto.
3778 * gdb.base/advance.exp: Ditto.
3779 * gdb.base/display.exp: Ditto.
3780 * gdb.base/long_long.exp: Ditto.
3781 * gdb.base/mips_pro.exp: Ditto.
3782 * gdb.base/overlays.exp: Ditto.
3783 * gdb.base/relocate.exp: Ditto.
3784 * gdb.base/setshow.exp: Ditto.
3785 * gdb.base/step-line.exp: Ditto.
3786 * gdb.base/step-test.exp: Ditto.
3787 * gdb.base/until.exp: Ditto.
3788 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3789
3790 2003-01-17 David Carlton <carlton@math.stanford.edu>
3791
3792 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3793 corresponding to PR c++/945.
3794 Update copyright.
3795
3796 2003-01-17 David Carlton <carlton@math.stanford.edu>
3797
3798 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3799 corresponding to PR c++/68.
3800
3801 2003-01-17 David Carlton <carlton@math.stanford.edu>
3802
3803 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3804 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3805 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3806
3807 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
3808
3809 * gdb.base/break.exp: Fix change of default location, because of
3810 removal of until tests.
3811 * gdb.base/help.exp: Update test for new 'until' help message.
3812 Add test for help on 'advance'.
3813 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3814
3815 2003-01-15 Mark Kettenis <kettenis@gnu.org>
3816
3817 * gdb.base/default.exp: Adapt "info float" test for recent changes
3818 to that command. Add test for "info vector".
3819 * gdb.base/float.exp: New file. Add test for "info float" that
3820 resembles the old test in gdb.base/default.exp.
3821
3822 2003-01-15 David Carlton <carlton@math.stanford.edu>
3823
3824 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3825
3826 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
3827
3828 * gdb.base/break.exp: Move the tests of until command from here...
3829 * gdb.base/until.exp: ... to here. New file. Add other tests.
3830 * gdb.base/advance.c: New file.
3831 * gdb.base/advance.exp: New file.
3832
3833 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
3834
3835 * gdb.base/args.c: New file.
3836 * gdb.base/args.exp: New file.
3837
3838 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
3839
3840 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3841
3842 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
3843
3844 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3845
3846 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
3847
3848 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3849 dates.
3850
3851 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3852
3853 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3854
3855 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3856
3857 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3858 (ptype &*"foo").
3859 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3860
3861 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3862
3863 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3864 * gdb.mi/mi1-console.exp: Likewise.
3865
3866 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3867
3868 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3869 * gdb.mi/mi1-console.exp: Likewise.
3870
3871 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3872
3873 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3874
3875 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3876
3877 * gdb.base/detach.exp: New test.
3878
3879 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3880
3881 * Makefile.in (ALL_SUBDIRS): New variable.
3882 (subdirs, clean, distclean): Use it.
3883 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3884 regenerating Makefile, since it is generated from the top level.
3885 * gdb.asm/Makefile.in: Likewise.
3886 * gdb.base/Makefile.in: Likewise.
3887 * gdb.c++/Makefile.in: Likewise.
3888 * gdb.disasm/Makefile.in: Likewise.
3889 * gdb.java/Makefile.in: Likewise.
3890 * gdb.mi/Makefile.in: Likewise.
3891 * gdb.threads/Makefile.in: Likewise.
3892 * gdb.trace/Makefile.in: Likewise.
3893
3894 2003-01-09 David Carlton <carlton@math.stanford.edu>
3895
3896 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3897 Add copyright year 2003.
3898
3899 2003-01-06 Michael Chastain <mec@shout.net>
3900
3901 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3902 When selecting a thread, 'line' and 'file' are optional.
3903 * gdb.mi/mi1-pthreads.exp: Likewise.
3904
3905 2003-01-06 Andreas Schwab <schwab@suse.de>
3906
3907 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3908 failures.
3909
3910 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3911
3912 Fix PR gdb/844
3913 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3914 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
3915
3916 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
3917 instead of calling gdb_suppress_entire_file.
3918 * gdb.threads/print-threads.exp: Likewise.
3919 * gdb.threads/schedlock.exp: Likewise.
3920
3921 * gdb.threads/killed.exp: Return instead of calling
3922 gdb_suppress_entire_file.
3923 * gdb.threads/linux-dp.exp: Likewise.
3924 * gdb.threads/pthreads.exp: Likewise.
3925
3926 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3927
3928 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3929 stabs.
3930 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3931 * gdb.base/whatis.exp: Always allow (void) after function names.
3932
3933 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3934
3935 * gdb.c++/casts.exp: Correct regexp.
3936
3937 2003-01-04 Mark Kettenis <kettenis@gnu.org>
3938
3939 * configure.in: Call AC_CONFIG_HEADER. Don't call
3940 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3941 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
3942 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
3943 aforementioned directories in the AC_OUPUT call.
3944 * config.hin: New file.
3945 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3946 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3947 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3948 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3949 pass -I$objdir instead of -I$objdir/$subdir in compilation.
3950 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3951 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3952 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3953 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3954 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3955 gdb.threads/configure.in, gdb.threads/configure,
3956 gdb.threads/config.in, gdb.trace/configure.in,
3957 gdb.trace/configure: Removed.
3958
3959 2003-01-03 Michael Chastain <mec@shout.net>
3960
3961 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3962 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3963
3964 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
3965
3966 * gdb.base/store.exp: Fix regular expressions.
3967
3968 2002-12-28 Mark Kettenis <kettenis@gnu.org>
3969
3970 * configure.in: Rewrite.
3971 * configure: Regenerated.
3972
3973 2003-01-03 David Carlton <carlton@math.stanford.edu>
3974
3975 * gdb.base/psymtab.exp: New file.
3976 * gdb.base/psymtab1.c: Ditto.
3977 * gdb.base/psymtab2.c: Ditto.
3978
3979 2002-12-23 Adam Fedor <fedor@gnu.org>
3980
3981 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3982
3983 2002-12-23 David Carlton <carlton@math.stanford.edu>
3984
3985 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3986 and current_directory initialization.
3987
3988 2002-12-22 Jim Blandy <jimb@redhat.com>
3989
3990 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
3991 rather than as part of the output file name.
3992
3993 * gdb.base/attach.exp: There's no need to copy the test program to
3994 /tmp; that was only ever necessary on HP/UX, and this test is
3995 entirely disabled there anyway.
3996
3997 2002-12-21 Jim Blandy <jimb@redhat.com>
3998
3999 * gdb.c++/psmang.exp: Doc fix.
4000
4001 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
4002 test.
4003
4004 2002-12-20 David Carlton <carlton@math.stanford.edu>
4005
4006 * gdb.c++/annota2.exp: KFAIL annotate-quit.
4007
4008 2002-12-18 Michael Chastain <mec@shout.net>
4009
4010 * gdb.c++/annota2.exp: Add copyright year 2002.
4011
4012 2002-12-17 David Carlton <carlton@math.stanford.edu>
4013
4014 * gdb.c++/try_catch.cc: Add marker comments.
4015 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
4016 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
4017 * gdb.c++/m-static.cc: Ditto.
4018 * gdb.c++/m-static1.cc: Ditto.
4019 * gdb.c++/try_catch.cc: Ditto.
4020
4021 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
4022
4023 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
4024 to see whether we are using the new -environment-directory
4025 command which resets via -r or the old version of the command
4026 which may prompt the user. Part of fix for gdb/741.
4027
4028 2002-12-13 Andrew Cagney <ac131313@redhat.com>
4029
4030 * gdb.fortran/types.exp: Update obsolete comment.
4031 * gdb.fortran/exprs.exp: Ditto.
4032 * lib/gdb.exp: Delete obsolete code.
4033 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
4034 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
4035 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
4036 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
4037 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
4038 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
4039 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
4040 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
4041 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
4042 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
4043 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
4044 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
4045 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
4046 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
4047 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
4048 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
4049 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
4050 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
4051 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
4052 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
4053 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
4054 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
4055 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
4056 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
4057 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
4058 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
4059 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
4060 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
4061 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
4062 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
4063 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
4064 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
4065 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
4066 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
4067 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
4068 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
4069 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
4070
4071 2002-12-11 David Carlton <carlton@math.stanford.edu>
4072
4073 * gdb.c++/m-data.exp: Add test for members that shadow global
4074 variables: see PR gdb/804.
4075 * gdb.c++/m-data.cc: Ditto.
4076
4077 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
4078
4079 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
4080
4081 2002-12-06 David Carlton <carlton@math.stanford.edu>
4082
4083 * gdb.base/store.c: Don't declare functions static.
4084
4085 2002-12-04 Andrew Cagney <ac131313@redhat.com>
4086
4087 * gdb.base/store.exp, gdb.base/store.c: New files.
4088
4089 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
4090
4091 * gdb.base/selftest.exp: Update for current gdb.
4092
4093 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
4094
4095 * gdb.base/maint.exp: Only dump symbols from one source file
4096 or objfile.
4097
4098 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
4099
4100 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
4101 function call.
4102
4103 2002-11-25 Jim Blandy <jimb@redhat.com>
4104
4105 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
4106 function appearing in error message.
4107
4108 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
4109
4110 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
4111
4112 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
4113
4114 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
4115 for mi1 and current mi is in correct format. New mi startup message
4116 should be in mi console format. This is part of fix for PR gdb/604.
4117
4118 2002-09-18 Fernando Nasser <fnasser@redhat.com>
4119
4120 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
4121 which explicitly prints the zero offset as "+0".
4122
4123 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
4124
4125 * gdb.threads/schedlock.c (args): Make unsigned.
4126
4127 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
4128
4129 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
4130 numbers. Allow "foo2|selected stack frame".
4131 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
4132 * gdb.asm/asmsrc2.s: Likewise.
4133 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
4134 comments.
4135 * gdb.asm/mips.inc: New file.
4136
4137 2002-10-18 Adam Fedor <fedor@gnu.org>
4138
4139 * gdb.base/default.exp: Update expected output to include 'ObjC'.
4140 * gdb.base/help.exp: Likewise.
4141
4142 2002-10-17 Kevin Buettner <kevinb@redhat.com>
4143
4144 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
4145 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
4146
4147 2002-10-02 Jim Blandy <jimb@redhat.com>
4148
4149 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
4150
4151 2002-10-01 Andrew Cagney <ac131313@redhat.com>
4152
4153 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
4154 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
4155 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
4156 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
4157 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
4158 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
4159 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
4160
4161 2002-09-29 Andrew Cagney <ac131313@redhat.com>
4162
4163 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
4164 * mi0-disassemble.exp, mi0-eval.exp: Delete.
4165 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
4166 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
4167 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
4168 * mi0-var-block.exp, mi0-var-child.exp: Delete.
4169 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
4170
4171 2002-09-27 Kevin Buettner <kevinb@redhat.com>
4172
4173 * gdb.base/annota1.exp (info break): Make directory components of
4174 path optional since not all compilers emit this debug information.
4175
4176 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
4177 step ends up stepping out of the function instead of stopping on
4178 the epilogue.
4179
4180 2002-09-26 Keith Seitz <keiths@redhat.com>
4181
4182 * lib/insight-support.exp (gdbtk_start): Figure out where
4183 the insight executable is based on where gdb is. Use this
4184 executable to start insight instead of gdb.
4185
4186 2002-09-25 Andrew Cagney <cagney@redhat.com>
4187
4188 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
4189
4190 2002-09-24 Andrew Cagney <ac131313@redhat.com>
4191
4192 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
4193 test_isolated_complaints.
4194 (test_empty_complaint): New function.
4195 (test_empty_complaints): New function. Check no output when no
4196 complaints.
4197
4198 2002-09-19 Jim Blandy <jimb@redhat.com>
4199
4200 * gdb.base/charset.exp, gdb.base/charset.c: New files.
4201
4202 2002-09-19 Andrew Cagney <ac131313@redhat.com>
4203
4204 * gdb.gdb/complaints.exp: New file.
4205
4206 2002-09-18 Andrew Cagney <ac131313@redhat.com>
4207
4208 * gdb.base/maint.exp: Check `help maint internal-warning'.
4209
4210 2002-09-18 David Carlton <carlton@math.stanford.edu>
4211
4212 * gdb.c++/m-static.exp: Remove breakpoints depending on line
4213 numbers, and replace them by a single breakpoint after the
4214 constructors are all finished.
4215 Add test 4.
4216 * gdb.c++/m-static.cc: Add test 4.
4217 * gdb.c++/m-static.h: New file.
4218 * gdb.c++/m-static1.cc: New file.
4219
4220 * gdb.c++/printmethod.exp: New file.
4221 * gdb.c++/printmethod.cc: New file.
4222
4223 * gdb.c++/pr-574.exp: New file.
4224 * gdb.c++/pr-574.cc: New file.
4225
4226 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
4227
4228 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
4229 embedded targets which never actually exit.
4230
4231 2002-09-18 Fernando Nasser <fnasser@redhat.com>
4232
4233 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
4234 "don't step after run" as unresolved or unsupported, instead of xfail.
4235
4236 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
4237
4238 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
4239 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
4240 Add newline to expected string in "step out of main (status wrapper)"
4241 case.
4242
4243 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
4244
4245 * lib/gdb.exp (rerun_to_main): Allow restarting application.
4246 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
4247
4248 2002-09-17 Tom Tromey <tromey@redhat.com>
4249
4250 * gdb.base/printcmds.exp (test_print_string_constants): Expect
4251 \000, not \0, in double-quoted string.
4252
4253 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
4254
4255 * gdb.base/commands.exp: Don't expect a "Program exited normally"
4256 string after running the commands execution on breakpoint tests.
4257
4258 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
4259
4260 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
4261
4262 2002-09-12 Joel Brobecker <brobecker@gnat.com>
4263
4264 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
4265
4266 2002-09-10 Keith Seitz <keiths@redhat.com>
4267
4268 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
4269 runto proc.
4270 (mi_run_to_main): Use mi_runto.
4271 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
4272
4273 2002-09-10 Keith Seitz <keiths@redhat.com>
4274
4275 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
4276 regexp for stopping at main. Could have multiple event notifications.
4277 Don't assume that main was declared with no parameters.
4278 (mi_next): Use mi_step_to.
4279 (mi_step): Use mi_next_to.
4280
4281 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
4282
4283 * gdb.base/default.exp: Fix expected string in `info float' test.
4284
4285 2002-09-09 Ben Elliston <bje@redhat.com>
4286
4287 * config/mips.exp: Update comments.
4288 * config/mips-idt.exp: Likewise.
4289 * config/nind.exp: Likewise.
4290 * config/slite.exp: Likewise.
4291 * config/sparclet.exp: Likewise.
4292 * config/udi.exp: Likewise.
4293 * config/vx.exp: Likewise.
4294 * config/vxworks29k.exp: Likewise.
4295
4296 2002-09-05 Jim Blandy <jimb@redhat.com>
4297
4298 * gdb.threads/killed.exp: Fix test failure message.
4299
4300 2002-09-04 Keith Seitz <keiths@redhat.com>
4301
4302 * lib/mi-support.exp: Update copyright.
4303 (mi_gdb_test): Increase the priority of the expected pattern
4304 so that it matches gdb_test.
4305
4306 2002-09-03 Keith Seitz <keiths@redhat.com>
4307
4308 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
4309 Use integer comparison instead of string comparison for testing
4310 whether binary was built.
4311
4312 2002-09-03 Jim Blandy <jimb@redhat.com>
4313
4314 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
4315
4316 2002-08-29 Jim Blandy <jimb@redhat.com>
4317
4318 * gdb.threads/pthreads.exp: Move the portable thread compilation
4319 code into a function in lib/gdb.exp, and call that from here.
4320 * lib/gdb.exp (gdb_compile_pthreads): New function.
4321
4322 2002-08-29 Keith Seitz <keiths@redhat.com>
4323
4324 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
4325 expect_out so that callers can get at it.
4326
4327 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
4328
4329 * gdb.threads/print-threads.c: New file.
4330 * gdb.threads/print-threads.exp: New file.
4331 * gdb.threads/schedlock.c: New file.
4332 * gdb.threads/schedlock.exp: New file.
4333
4334 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
4335
4336 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4337 not altivec.c.
4338
4339 2002-08-17 Mark Kettenis <kettenis@gnu.org>
4340
4341 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4342 targets. The problem should be fixed now.
4343
4344 2002-08-15 Mark Kettenis <kettenis@gnu.org>
4345
4346 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4347 2002-07-24 change that removes final dots from error messages.
4348
4349 2002-08-13 Tom Tromey <tromey@redhat.com>
4350
4351 * gdb.base/readline.exp: New file.
4352
4353 2002-08-01 Andrew Cagney <ac131313@redhat.com>
4354
4355 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4356 supress message.
4357
4358 2002-08-01 Andrew Cagney <cagney@redhat.com>
4359
4360 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4361 CHILL_FOR_TARGET and CHILL_LIB.
4362 * configure.in (configdirs): Remove gdb.chill.
4363 * configure: Regenerate.
4364 * lib/gdb.exp: Obsolete references to chill.
4365 * gdb.fortran/types.exp: Ditto.
4366 * gdb.fortran/exprs.exp: Ditto.
4367
4368 2002-07-30 Kevin Buettner <kevinb@redhat.com>
4369
4370 * gdb.base/shlib-call.exp (additional_flags): Conditionally
4371 set Irix-specific compile and link flags.
4372
4373 2002-07-29 Kevin Buettner <kevinb@redhat.com>
4374
4375 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4376 source files. The ``-o'' option doesn't work with the ``-E'' option
4377 when using the Irix compiler.
4378
4379 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
4380
4381 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4382 Improve support for reusing an exec file. Copy exec file
4383 to target, and run gdbserver on the target instead of on the host.
4384
4385 2002-07-18 Jim Blandy <jimb@redhat.com>
4386
4387 * gdb.base/ending-run.exp: Don't expect to see the program end in
4388 some orderly fashion when we're running on a real stand-alone
4389 board.
4390
4391 * gdb.base/interrupt.exp: Correct logic for skipping tests on
4392 targets that don't support interrupts.
4393
4394 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
4395
4396 * gdb.base/attach.exp: Add patterns to match output from /proc-based
4397 systems.
4398 Move comments in expect statements to inside the actions, so that they
4399 don't get matched against.
4400
4401 2002-07-10 Mark Kettenis <kettenis@gnu.org>
4402
4403 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4404 function when asleep" test.
4405
4406 2002-07-10 Andrew Cagney <ac131313@redhat.com>
4407
4408 * gdb.base/page.exp: Rewrite to handle problems with very long
4409 `info set' output. Update copyright.
4410
4411 2002-06-26 Andrew Cagney <ac131313@redhat.com>
4412
4413 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4414 gdb.threads-hp.
4415 * gdb.hp/configure: Regenerate.
4416 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4417 * gdb.hp/gdb.threads-hp/configure: Delete file.
4418 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4419
4420 2002-06-22 Andrew Cagney <ac131313@redhat.com>
4421
4422 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4423 setlocale, bindtextdomain and textdomain.
4424
4425 2002-06-11 Jim Blandy <jimb@redhat.com>
4426
4427 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4428 preprocessor macro information is present.
4429
4430 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4431 tests.
4432
4433 2002-06-06 Michael Snyder <msnyder@redhat.com>
4434
4435 * gdb.base/overlays.exp: Record addresses of overlay
4436 functions in TCL variables rather than in GDB variables,
4437 to avoid having GDB convert them to pointers (with loss
4438 of information).
4439
4440 * gdb.base/d10v.ld: Merge in several years worth of
4441 default linker script changes.
4442 * gdb.base/long_long.exp: Add check for sizeof (long double).
4443
4444 2002-06-06 Michal Ludvig <mludvig@suse.cz>
4445
4446 * gdb.asm/asm-source.exp: Add x86-64 target.
4447 * gdb.asm/x86_64.inc: New.
4448
4449 2002-05-30 Michael Chastain <mec@shout.net>
4450
4451 From Benjamin Kosnik <bkoz@redhat.com>:
4452 * gdb.c++/m-static.cc: New file.
4453 * gdb.c++/m-static.exp: New file.
4454
4455 2002-05-28 Michael Snyder <msnyder@redhat.com>
4456
4457 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4458 precision.
4459
4460 2002-05-27 Michael Chastain <mec@shout.net>
4461
4462 From Benjamin Kosnik <bkoz@redhat.com>:
4463 * gdb.c++/m-data.cc: New file.
4464 * gdb.c++/m-data.exp: New file.
4465
4466 2002-05-27 Michael Chastain <mec@shout.net>
4467
4468 From Benjamin Kosnik <bkoz@redhat.com>:
4469 * gdb.c++/try_catch.cc: New file.
4470 * gdb.c++/try_catch.exp: New file.
4471
4472 2002-05-27 Michael Chastain <mec@shout.net>
4473
4474 * gdb.c++/local.exp: Accept more nested types in output.
4475
4476 2002-05-26 Michael Chastain <mec@shout.net>
4477
4478 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4479
4480 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4481
4482 * lib/gdb.exp (gdb_wrapper_init): Just because
4483 gdb_wrapper_file exists, this does not mean that the file
4484 should not be rebuilt. That is what gdb_wrapper_initialized
4485 is for.
4486 (default_gdb_init): Reset gdb_wrapper_initialized.
4487
4488 2002-05-23 Michael Snyder <msnyder@redhat.com>
4489
4490 * gdb.base/all-bin.exp: Revise previous patch by just reducing
4491 the precision of the floating point test results.
4492 * gdb.base/call-rt-st.exp: Ditto.
4493
4494 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4495 * gdb.base/call-rt-st.exp: Ditto.
4496
4497 2002-05-19 Michael Chastain <mec@shout.net>
4498
4499 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4500
4501 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
4502
4503 * configure.in (configdirs): Add gdb.arch.
4504 * configure: Regenerate.
4505
4506 2002-05-17 Jim Blandy <jimb@redhat.com>
4507
4508 * gdb.base/completion.exp: Recognize the more detailed error
4509 messages produced by the macro expander's lexical analyzer.
4510
4511 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
4512
4513 * gdb.arch/altivec-abi.c: New file.
4514 * gdb.arch/altivec-abi.exp: New file.
4515 * gdb.arch/altivec-regs.c: New file.
4516 * gdb.arch/altivec-regs.exp: New file.
4517
4518 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
4519
4520 * gdb.base/maint.exp (maint print type): Update for new type
4521 structure.
4522
4523 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
4524
4525 * gdb.arch: New directory.
4526 * gdb.arch/configure.in: New file.
4527 * gdb.arch/configure: New file.
4528 * gdb.arch/Makefile.in: New file.
4529
4530 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
4531
4532 * gdb.asm/asm-source.exp: Add v850 as supported target.
4533 * gdb.asm/v850.inc: New file.
4534
4535 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
4536
4537 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4538
4539 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
4540
4541 * gdb.base/break.exp: Check 'break "marker2"'.
4542
4543 2002-05-10 Michael Snyder <msnyder@redhat.com>
4544
4545 * gdb.base/long_long.exp: Fix typo.
4546
4547 2002-05-10 Jim Blandy <jimb@redhat.com>
4548
4549 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4550 a bug.
4551
4552 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4553 Recognize more detailed error message produced by the macro
4554 expander's lexical analyzer.
4555 * lib/gdb.exp (test_print_reject): Same.
4556
4557 2002-05-09 Mark Kettenis <kettenis@gnu.org>
4558
4559 * gdb.c++/method.exp: Fix typo.
4560
4561 2002-05-08 Michael Snyder <msnyder@redhat.com>
4562
4563 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4564 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
4565 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
4566 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4567 Add iftarget clause for strongarm.
4568
4569 2002-05-06 Michael Snyder <msnyder@redhat.com>
4570
4571 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4572 (gdb_continue_to_end): Accept output from status wrapper.
4573 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4574 Clean up fail messages to match pass messages.
4575
4576 Enable the "needs_status_wrapper" testsuite feature.
4577 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4578 (gdb_compile): Conditionally call gdb_wrapper_init.
4579 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4580 * gdb.c++/method.exp: Recognize output from status wrapper.
4581
4582 2002-05-06 Ben Elliston <bje@redhat.com>
4583 From Graydon Hoare <graydon@redhat.com>
4584
4585 * config/sid.exp: Include support for "rawsid" protocol.
4586
4587 2002-05-03 Jim Blandy <jimb@redhat.com>
4588
4589 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4590 * gdb.c++/hang3.C: New file.
4591
4592 2002-05-04 Andrew Cagney <ac131313@redhat.com>
4593
4594 * gdb.base/default.exp: Remove obsolete code.
4595 * gdb.c++/misc.exp: Ditto. Update copyright.
4596 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4597 * gdb.base/whatis.exp: Ditto. Update copyright.
4598 * gdb.base/scope.exp: Ditto. Update copyright.
4599 * gdb.base/ptype.exp: Ditto. Update copyright.
4600 * gdb.base/printcmds.exp: Ditto. Update copyright.
4601 * gdb.base/opaque.exp: Ditto. Update copyright.
4602 * gdb.base/list.exp: Ditto.
4603 * gdb.base/funcargs.exp: Ditto. Update copyright.
4604 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4605 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4606 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4607 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4608 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4609 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4610
4611 2002-05-02 Michael Snyder <msnyder@redhat.com>
4612
4613 * gdb.base/watchpoint.exp: Add xscale target.
4614 * gdb.base/long_long.exp: Add xscale target.
4615 * gdb.base/default.exp: Add xscale target.
4616
4617 2002-05-01 Jim Blandy <jimb@redhat.com>
4618
4619 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4620 gdb.c++/hang.exp: New test.
4621
4622 2002-05-01 Fred Fish <fnf@redhat.com>
4623
4624 * gdb.base/completion.exp: Handle completions of "./Make" for
4625 more than one completion possibility, as is the case when we
4626 build and test in the source tree.
4627
4628 2002-04-29 Anthony Green <green@redhat.com>
4629
4630 * gdb.java/jmisc1.exp: New file.
4631 * gdb.java/jmisc2.exp: New file.
4632
4633 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
4634
4635 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4636
4637 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
4638
4639 * gdb.base/help.exp: Change 'help status' to allow for target
4640 dependent output differences.
4641
4642 2002-04-22 Michael Chastain <mec@shout.net>
4643
4644 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4645
4646 2002-04-22 Michael Chastain <mec@shout.net>
4647
4648 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4649
4650 2002-04-17 David S. Miller <davem@redhat.com>
4651
4652 * gdb.asm/sparc64.inc: New file.
4653 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4654
4655 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
4656
4657 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4658 instruction file directly into the build tree. Clean up at end of
4659 test.
4660
4661 2002-04-18 David S. Miller <davem@redhat.com>
4662
4663 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4664 handle 64-bit platforms correctly.
4665 * gdb.base/maint.exp: Likewise.
4666
4667 2002-04-18 Kevin Buettner <kevinb@redhat.com>
4668
4669 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4670 ``-fpic'' when compiling files comprising a shared library, but
4671 it does need additional linker flags in order to find shared
4672 libraries at run time.
4673
4674 2002-04-18 Kevin Buettner <kevinb@redhat.com>
4675
4676 * gdb.base/cvexpr.c (use): New function.
4677 (main): Invoke use() on all global variables to prevent
4678 some linkers from deleting these otherwise unused symbols.
4679
4680 2002-04-17 Michael Chastain <mec@shout.net>
4681 From David S. Miller <davem@redhat.com>
4682
4683 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4684 handle 64-bit platforms correctly.
4685
4686 2002-04-12 Michael Snyder <msnyder@redhat.com>
4687 From Jim Blandy <jimb@redhat.com>
4688 * gdb.base/foo.c (foox): Remove section attribute; the linker
4689 script can handle this instead.
4690 * gdb.base/bar.c (barx): Same.
4691 * gdb.base/baz.c (bazx): Same.
4692 * gdb.base/grbx.c (grbxx): Same.
4693
4694 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4695 manager doesn't automatically unmap overlays unnecessarily.
4696
4697 2002-04-10 Martin M. Hunt <hunt@redhat.com>
4698
4699 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4700 stepping out of main.
4701
4702 2002-04-09 Michael Chastain <mec@shout.net>
4703
4704 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4705 scope so that the nested scope tests will make sense.
4706 * gdb.c++/local.exp: Write patterns that actually work with gcc
4707 (the HP patterns "were never known to work with gcc").
4708 Keep the old aCC patterns too.
4709
4710 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
4711
4712 * gdb.base/attach.exp: Correct target board test.
4713
4714 2002-04-08 Michael Chastain <mec@shout.net>
4715
4716 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4717 in a const method. Add some xfail and fail cases for configurations
4718 that do not emit the "const ...".
4719
4720 2002-04-07 Michael Chastain <mec@shout.net>
4721
4722 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4723 Accept "A * const" and "const A * const" as type of "this".
4724 Fix spelling of getFunky throughout. Make messages uniform.
4725
4726 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
4727
4728 Work around for PR gdb/285:
4729 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4730
4731 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
4732
4733 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4734 instructions file at run time instead of configure time.
4735 Sometimes we run the test in a directory that is not the one we
4736 configured in.
4737 * gdb.asm/configure.in: Delete creation of symlink.
4738 * gdb.asm/configure: Regenerate.
4739
4740 2002-04-05 J. Brobecker <brobecker@gnat.com>
4741
4742 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4743 xfullpath () function.
4744
4745 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
4746
4747 * gdb.asm/Makefile.in: Correct dependencies.
4748
4749 * gdb.asm/powerpc.inc: New file.
4750 * gdb.asm/asm-source.exp: Add PowerPC.
4751 * gdb.asm/configure.in: Likewise.
4752 * gdb.asm/configure: Regenerated.
4753
4754 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
4755
4756 * gdb.base/relocate.exp: New file.
4757 * gdb.base/relocate.c: New file.
4758
4759 2002-04-04 Fred Fish <fnf@redhat.com>
4760
4761 * gdb.base/step-test.exp: Update comment regarding stopping in
4762 memcpy/bcopy calls inserted as part of the compiler runtime.
4763
4764 2002-04-04 Michael Snyder <msnyder@redhat.com>
4765
4766 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4767
4768 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
4769
4770 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4771 (gdb_expect): Remove $notransfer hack.
4772
4773 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
4774
4775 * gdb.c++/classes.exp ("calling method for small class"): Match
4776 updated register output.
4777
4778 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
4779
4780 Fix PR gdb/452
4781 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4782 when finished. Make gdb_file_cmd send "exec-file" when
4783 appropriate.
4784
4785 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
4786
4787 * gdb.base/attach.exp: Remove extra setup_xfail.
4788
4789 2002-03-26 Michael Snyder <msnyder@redhat.com>
4790
4791 * gdb.base/default.exp: Add tests for dump, append, and restore.
4792 * gdb.base/help.exp: Add tests for dump, append, and restore.
4793 * gdb.base/dump.exp: New file, test dump, append and restore.
4794 * gdb.base/dump.c: New file.
4795
4796 2002-03-27 Michael Snyder <msnyder@redhat.com>
4797
4798 * gdb.base/help.exp: Modify expect strings to reflect
4799 clean-ups in help messages.
4800
4801 2002-03-26 Fred Fish <fnf@redhat.com>
4802
4803 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4804 have debugging info for those functions and the compiler uses them
4805 internally to copy structs around.
4806
4807 2002-03-26 Fred Fish <fnf@redhat.com>
4808
4809 * gdb.base/list.exp: Revert the change made yesterday and add note
4810 about why we don't list the default lines for remote targets.
4811
4812 2002-03-25 Michael Snyder <msnyder@redhat.com>
4813
4814 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4815
4816 2002-03-25 Fred Fish <fnf@redhat.com>
4817
4818 * gdb.base/list.exp: This test works on remote targets so remove
4819 the short circuit for remote targets. Update copyright.
4820
4821 2002-03-25 Fred Fish <fnf@redhat.com>
4822
4823 * gdb.base/attach.exp: Fix logic error that was suppressing this
4824 test for all non hppa*-*-hpux* targets, instead of the hp target.
4825 Move comments closer to the suppression point. Also now need to
4826 check that we are running natively.
4827
4828 2002-03-22 Michael Snyder <msnyder@redhat.com>
4829
4830 * gdb.base/default.exp: Add test for gcore. Update copyright.
4831 * gdb.base/help.exp: Add test for gcore. Update copyright.
4832
4833 2002-03-06 Fred Fish <fnf@redhat.com>
4834
4835 * gdb.base/funcargs.c: Remove extraneous ';' character.
4836 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4837
4838 2002-03-04 Michael Chastain <mec@shout.net>
4839
4840 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4841 accommodate gcc v3 function signature.
4842 * gdb.mi/mi0-var-cmd-exp: Ditto.
4843
4844 2002-02-24 Andrew Cagney <ac131313@redhat.com>
4845
4846 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4847 ``GNU/Linux'' or ``Linux kernel''
4848 * testsuite/gdb.threads/pthreads.c: Ditto.
4849
4850 2002-02-24 Michael Chastain <mec@shout.net>
4851
4852 * gdb.threads/pthreads.c (thread1): Add a return statement.
4853 (thread2): Likewise.
4854 (foo): Likewise.
4855
4856 2002-02-23 Michael Chastain <mec@shout.net>
4857
4858 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4859 to placate gcc.
4860
4861 2002-02-23 Michael Chastain <mec@shout.net>
4862
4863 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4864 test "ptype bint". The test passes on all my stabs configurations.
4865
4866 2002-02-21 Jim Blandy <jimb@redhat.com>
4867
4868 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4869 filename at a time, and watch for the ones we want to see.
4870
4871 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4872 types of pointers to prototyped functions.
4873
4874 2002-02-20 Andrew Cagney <ac131313@redhat.com>
4875
4876 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4877 signed, unsigned and straight char.
4878 (padding_char, padding_short, padding_int, padding_long,
4879 padding_long_long, padding_float, padding_double,
4880 padding_long_double): New global variables.
4881 (fill, fill_structs): New functions.
4882
4883 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4884 for correctly sized writes. Update copyright.
4885 (get_valueof): New procedure.
4886 (get_sizeof): Call get_valueof.
4887 (check_valueof): New procedure.
4888 (check_padding): New procedure.
4889
4890 2002-02-20 Michael Chastain <mec@shout.net>
4891
4892 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4893 to setup_xfail. Document some of the remaining calls.
4894
4895 2002-02-18 Michael Chastain <mec@shout.net>
4896
4897 * gdb.c++/userdef.exp: Update copyright year.
4898
4899 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
4900
4901 * gdb.c++/userdef.exp: Test overloaded operators properly.
4902 Remove xfails.
4903
4904 2002-02-14 Michael Snyder <msnyder@redhat.com>
4905
4906 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4907
4908 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
4909
4910 * gdb.base/a2-run.exp: Check for a remote target properly.
4911 * gdb.base/annota1.exp: Likewise.
4912 * gdb.base/list.exp: Likewise.
4913 * gdb.base/reread.exp: Likewise.
4914 * gdb.base/scope.exp: Likewise.
4915 * gdb.base/shlib-call.exp: Likewise.
4916 * gdb.base/term.exp: Likewise.
4917 * gdb.c++/annota2.exp: Likewise.
4918
4919 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
4920
4921 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4922
4923 2002-02-10 Michael Chastain <mec@shout.net>
4924
4925 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4926 (call_after_alloca): Ditto.
4927
4928 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
4929
4930 * gdb.base/ending-run.exp: Guard "cont" test with
4931 gdb_skip_stdio_test.
4932
4933 2002-02-06 Jim Blandy <jimb@redhat.com>
4934
4935 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4936 from here...
4937 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4938 To here. Disable this test on non-HP platforms. Add big comment.
4939
4940 2002-02-04 Michael Snyder <msnyder@redhat.com>
4941
4942 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
4943 other than d10v and m32r.
4944
4945 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
4946
4947 * gdb.base/default.exp: Rewrite test patterns to reduce time
4948 taken to match them.
4949
4950 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
4951
4952 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4953 Allow a start function above main.
4954 * gdb.threads/linux-dp.exp: Fix copyright date.
4955
4956 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
4957
4958 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4959 (check_philosopher_stack): Check for manager thread before checking
4960 for a just-starting thread.
4961
4962 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
4963
4964 From Neil Booth <neil@daikokuya.demon.co.uk>:
4965 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4966 warnings.
4967
4968 2002-01-21 Fred Fish <fnf@redhat.com>
4969
4970 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4971 not caller.
4972
4973 2002-01-21 Jim Blandy <jimb@redhat.com>
4974
4975 * gdb.base/reread.exp: Check that GDB properly re-reads the
4976 executable file when it changes while no inferior is running.
4977
4978 2002-01-21 Fred Fish <fnf@redhat.com>
4979
4980 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4981 optionally accept the "shlib events" variation.
4982
4983 2002-01-21 Jim Blandy <jimb@redhat.com>
4984
4985 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4986 call `fflush' after every `printf', so that the output is produced
4987 at predictable points, regardless of whatever buffering does (or
4988 doesn't) take place.
4989 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
4990 at different points.
4991
4992 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
4993
4994 * gdb.c++/inherit.exp: Update copyright years.
4995 * gdb.c++/method.exp: Likewise.
4996
4997 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
4998
4999 * gdb.c++/classes.exp: Update for improved v3 support and skipping
5000 artificial methods/arguments.
5001 * gdb.c++/derivation.exp: Likewise.
5002 * gdb.c++/inherit.exp: Likewise.
5003 * gdb.c++/method.exp: Likewise.
5004 * gdb.c++/virtfunc.exp: Likewise.
5005
5006 2002-01-18 Andrew Cagney <ac131313@redhat.com>
5007
5008 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
5009 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
5010 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
5011 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
5012 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
5013 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
5014
5015 2002-01-17 Jim Blandy <jimb@redhat.com>
5016
5017 * gdb.asm/asm-source.exp (info symbol): Take another shot at
5018 anchoring the pattern matching the entry point symbol's name.
5019
5020 2002-01-17 Andrew Cagney <ac131313@redhat.com>
5021
5022 * gdb.base/maint.exp: Update ``maint internal-error'' to match
5023 continue/quit query. Update copyright.
5024
5025 2002-01-14 Michael Snyder <msnyder@redhat.com>
5026
5027 * gdb.base/gcore.exp: Remove extra debugging output.
5028
5029 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
5030
5031 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
5032 for slightly dubious v2 mangled string.
5033
5034 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
5035
5036 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
5037
5038 2002-01-10 Jason Merrill <jason@redhat.com>
5039
5040 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
5041
5042 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
5043 constructors.
5044 * gdb.c++/derivation.exp: Likewise.
5045 * gdb.c++/templates.exp: Likewise.
5046 * gdb.c++/virtfunc.exp: Likewise.
5047
5048 2002-01-10 Michael Snyder <msnyder@redhat.com>
5049
5050 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
5051
5052 2002-01-08 Michael Snyder <msnyder@redhat.com>
5053
5054 * gdb.base/gcore.exp: New test for generate-core-file command.
5055 * gdb.base/gcore.c: Testcase for above.
5056 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
5057
5058 2002-01-08 Jason Merrill <jason@redhat.com>
5059
5060 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
5061
5062 2002-01-07 Fred Fish <fnf@redhat.com>
5063
5064 * gdb.c++/overload.exp: Remove unconditional xfails for:
5065 print foo_instance1.overloadargs(1)
5066 print foo_instance1.overloadargs(1, 2)
5067 print foo_instance1.overloadargs(1, 2, 3)
5068 print foo_instance1.overloadargs(1, 2, 3, 4)
5069 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
5070 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
5071 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
5072 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
5073 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
5074 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
5075 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
5076 print foo_instance1.overload1arg()
5077 print foo_instance1.overload1arg((char)arg2)
5078 print foo_instance1.overload1arg((signed char)arg3)
5079 print foo_instance1.overload1arg((unsigned char)arg4)
5080 print foo_instance1.overload1arg((int)arg7)
5081 print foo_instance1.overload1arg((unsigned int)arg8)
5082 print foo_instance1.overload1arg((float)arg11)
5083 print foo_instance1.overload1arg((double)arg12)
5084
5085 2002-01-07 Michael Snyder <msnyder@redhat.com>
5086
5087 * gdb.base/huge.exp: New test. Print a very large target data object.
5088 (skip_huge_test): New test variable. Define if you want to skip this
5089 test. The test reads an 8 megabyte data object from the target, so it
5090 might be very time consuming on remote targets with a slow connection.
5091 * gdb.base/huge.c: New file. Test case for above.
5092
5093 2002-01-07 Fred Fish <fnf@redhat.com>
5094
5095 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
5096 g_instance.bfoo, and g_instance.cfoo.
5097
5098 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
5099
5100 * gdb.base/break.c (multi_line_if_conditional): New function.
5101 (multi_ilne_while_conditional): Likewise.
5102 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
5103 IF or WHILE condition puts the breakpoint at the start of
5104 the condition.
5105
5106 * gdb.base/selftest.exp (backtrace through signal handler): Remove
5107 hppa*-*-hpux* expected failure.
5108 * gdb.base/structs.exp (do_function_calls): Similarly.
5109
5110 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
5111 watchpoints.
5112
5113 2002-01-06 Andrew Cagney <ac131313@redhat.com>
5114
5115 Fix PR gdb/66.
5116 * gdb.base/structs.exp: Replace skip for a29k with skip for
5117 gdb,cannot_call_functions.
5118 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
5119 * gdb.base/callfuncs.exp: Ditto.
5120 * gdb.base/call-rt-st.exp: Ditto.
5121 * gdb.base/call-strs.exp: Ditto.
5122 * gdb.base/callfwmall.exp: Ditto.
5123 * gdb.base/scope.exp: Obsolete xfail a29k.
5124 * gdb.c++/misc.exp: Ditto.
5125 * gdb.c++/cplusfuncs.exp: Ditto.
5126 * gdb.base/ptype.exp: Ditto.
5127 * gdb.base/printcmds.exp: Ditto.
5128 * gdb.base/opaque.exp: Ditto.
5129 * gdb.base/list.exp: Ditto.
5130 * gdb.base/funcargs.exp: Ditto.
5131 * gdb.base/default.exp: Ditto.
5132
5133 2002-01-04 Michael Snyder <msnyder@redhat.com>
5134
5135 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
5136 * gdb.base/maint.exp: Add tests for maint info sections options.
5137
5138 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
5139
5140 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
5141
5142 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
5143
5144 * gdb.asm/arm.inc: New file.
5145 * gdb.asm/asm-source.exp: Add arm targets.
5146 * gdb.asm/configure.in: Ditto.
5147 * gdb.asm/configure: Recreated from configure.in.
5148
5149 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
5150
5151 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
5152 with HP's compiler.
5153 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
5154 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
5155 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
5156 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
5157
5158 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
5159 either HP's compilers or GCC.
5160
5161 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
5162 a SIGBUS or SIGSEGV.
5163
5164 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
5165
5166 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
5167 can be compiled with either HP's compiler or GCC.
5168
5169 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
5170 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
5171 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
5172
5173 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
5174 to match current gdb output. Update due to using auto-solib-limit
5175 for limiting instead of overloading auto-solib-add.
5176 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
5177 test program.
5178
5179 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
5180 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
5181 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5182 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5183 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5184 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5185 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
5186 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
5187 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
5188 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
5189 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
5190 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
5191 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
5192
5193 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
5194 a SIGTRAP to the inferior.
5195
5196 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
5197
5198 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
5199 Substitute call to target_link by call to gdb_compile.
5200
5201 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
5202
5203 * gdb.base/break.exp: Fix HP specific search string when testing
5204 backtracing in a called function.
5205
5206 * gdb.base/constvars.exp: Only set lang to C++ if we're
5207 compiling the test with HP's compilers.
5208 * gdb.base/volatile.exp: Similarly.
5209
5210 2001-12-19 Jim Blandy <jimb@redhat.com>
5211
5212 * gdb.base/printcmds.exp: Expect the null character to be printed
5213 as '\0', and the '\013' to be printed as '\v'.
5214 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
5215 * gdb.base/setvar.exp: Same.
5216
5217 2001-12-17 Jim Blandy <jimb@redhat.com>
5218
5219 * gdb.base/completion.exp: Rather than completing very long
5220 filenames, which can make the readline library produce output we
5221 don't recognize, cd to the directory first, and then complete
5222 using nice, short relative paths.
5223
5224 * gdb.base/completion.exp: On some systems, there is, in fact, a
5225 variable named `b' in scope, since GDB treats all static
5226 variables as being in scope. So use `no_var_named_this'
5227 instead of `b'.
5228
5229 * gdb.base/corefile.exp: Recognize the message saying that GDB
5230 can't find the core file's registers as a failure.
5231
5232 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
5233
5234 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
5235 test expect string more specific.
5236
5237 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
5238
5239 * gdb.asm/asm-source.exp: Add support for xstormy16.
5240 * gdb.asm/configure.in: Ditto.
5241 * gdb.asm/configure: Rebuild.
5242 * gdb.asm/xstormy16.inc: New file.
5243
5244 2001-12-10 Fred Fish <fnf@redhat.com>
5245
5246 * gdb.base/maint.exp: Update to match changes in type dumping code.
5247
5248 2001-12-10 Jim Blandy <jimb@redhat.com>
5249
5250 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
5251 matching the entry point symbol's name at the beginning of the
5252 line.
5253
5254 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
5255
5256 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
5257 gdb.c++/inherit.exp, gdb.c++/method.exp,
5258 gdb.c++/namespace.exp, gdb.c++/templates.exp,
5259 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
5260 and class layout support.
5261
5262 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
5263
5264 * gdb.c++/classes.exp: Add test for static member function.
5265 * gdb.c++/misc.cc: Add class with static member function.
5266
5267 2001-12-07 Jim Blandy <jimb@redhat.com>
5268
5269 If GDB says it can't find the struct the function returned, report
5270 those tests as `unsupported'.
5271 * gdb.base/call-rt-st.exp (print_struct_call): New function.
5272 Rewrite subsequent tests to use it.
5273
5274 If GDB says it can't find the struct the function returned, report
5275 those tests as `unsupported'.
5276 * gdb.base/structs.exp (call_struct_func): New function.
5277 (do_function_calls): Use call_struct_func to call the functions
5278 returning structs.
5279
5280 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
5281 whether functions are prototyped or not, so we can't possibly pass
5282 arguments to t_float_values2 properly.
5283
5284 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
5285 value of `timeout' for targets other than the mips*tx39-*.
5286
5287 2001-12-06 Michael Snyder <msnyder@redhat.com>
5288
5289 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
5290 and detect whether the start symbol has a leading underscore.
5291
5292 2001-12-04 Jim Blandy <jimb@redhat.com>
5293
5294 * gdb.base/completion.exp: Clarify indentation.
5295
5296 2001-12-03 Jim Blandy <jimb@redhat.com>
5297
5298 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
5299 variables on the S/390, not `.word'.
5300
5301 2001-11-30 Jim Blandy <jimb@redhat.com>
5302
5303 Add assembly-source tests for s390-ibm-linux.
5304 * gdb.asm/s390.inc: New file.
5305 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
5306 the S/390 architecture.
5307 * gdb.asm/configure: Regenerated.
5308
5309 2001-11-30 Michael Snyder <msnyder@redhat.com>
5310
5311 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
5312 next, info source, info sources, info line, global and static
5313 variables, and static functions.
5314 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
5315 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
5316 * gdb.asm/asmsrc1.s: Add a static function and some variables.
5317 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
5318 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
5319 (gdbasm_leave): Restore frame pointer.
5320 (gdbasm_startup): Copy stack set-up from crt0.S.
5321
5322 2001-11-26 Fernando Nasser <fnasser@redhat.com>
5323
5324 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
5325 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
5326 to a local (non-static) variable. Copy tstruct.a to a static buffer
5327 and return a pointer to that buffer.
5328 * gdb.base/callfwmall.c (t_structs_a): Ditto.
5329
5330 2001-11-24 Mark Kettenis <kettenis@gnu.org>
5331
5332 * gdb.asm/configure.in: Fix recognition of ix86 target.
5333 * gdb.asm/configure: Regenerate.
5334
5335 2001-11-21 Michael Snyder <msnyder@redhat.com>
5336
5337 * gdb.asm/sparc.inc: New file.
5338 * gdb.asm/asm-source.exp: Recognize sparc target.
5339 * gdb.asm/configure.in: Recognize sparc target.
5340 * gdb.asm/configure: Regenerate.
5341
5342 2001-11-21 Michael Snyder <msnyder@redhat.com>
5343
5344 * gdb.asm/m32r.inc: New file.
5345 * gdb.asm/asm-source.exp: Recognize m32r target.
5346 * gdb.asm/configure.in: Recognize m32r target.
5347 * gdb.asm/configure: Regenerate.
5348
5349 2001-11-20 Michael Snyder <msnyder@redhat.com>
5350
5351 * gdb.asm/i386.inc: New file.
5352 * gdb.asm/asm-source.exp: Recognize ix86 target.
5353 * gdb.asm/configure.in: Recognize ix86 target.
5354 * gdb.asm/configure: Regenerate.
5355
5356 * gdb.c++/namespace.exp: Fix quotes in output messages.
5357
5358 2001-11-14 Michael Snyder <msnyder@redhat.com>
5359
5360 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
5361 qualifier in a type cast expression, to designate an address
5362 in the instruction space (Harvard architecture).
5363
5364 2001-11-13 Michael Snyder <msnyder@redhat.com>
5365
5366 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5367 Tests for expressions using 'const' and 'volatile'.
5368
5369 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
5370
5371 * gdb.asm/asm-sources.exp: Allow defining linker flags.
5372
5373 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
5374
5375 * lib/mi-support.exp (mi_run_to_helper): Move comments
5376 outside of gdb_expect.
5377
5378 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
5379
5380 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5381 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5382 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5383 mi0_run_to): New functions.
5384 * gdb.mi/mi-simplerun.exp: Use them.
5385 * gdb.mi/mi0-simplerun.exp: Likewise.
5386 * gdb.mi/mi-var-cmd.exp: Likewise.
5387 * gdb.mi/mi0-var-cmd.exp: Likewise.
5388
5389 2001-11-10 Andrew Cagney <ac131313@redhat.com>
5390
5391 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5392 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5393
5394 2001-11-09 Andrew Cagney <ac131313@redhat.com>
5395
5396 * gdb.base/restore.exp: Include $expected value in restored test
5397 message.
5398
5399 2001-11-09 Andrew Cagney <ac131313@redhat.com>
5400
5401 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5402 implemented.
5403
5404 2001-11-08 Michael Snyder <msnyder@redhat.com>
5405
5406 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5407 Add pass/fail message for stop at breakpoint in call dummy function.
5408
5409 2001-11-07 Michael Snyder <msnyder@redhat.com>
5410
5411 * gdb.c++/templates.exp (test_template_breakpoints):
5412 If we get an overload menu, but it does not match what
5413 we expect, we still need to issue the "cancel" command.
5414 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5415 making the whitespace optional. Argument for "new" may be
5416 "unsigned" as well as "unsigned int/long".
5417 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
5418 making the whitespace optional. Also replace "(void) with
5419 "((void|)), making the keyword "void" optional.
5420 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
5421 making the whitespace optional. Also replace "(void) with
5422 "((void|)), making the keyword "void" optional.
5423 * gdb.base/callfuncs.c (t_float_values): This function must
5424 _not_ be prototyped, and the following function (t_float_values2)
5425 must be prototyped (if the compiler supports it), so that GDB
5426 can be tested against both cases. Usually one case involves
5427 promotion of float to double, while the other does not.
5428 * gdb.base/callfwmall.c: Ditto.
5429 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5430 includes a stack frame for "start".
5431
5432 2001-11-05 Jim Blandy <jimb@redhat.com>
5433
5434 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
5435 pointers are 32 bits long, and that offsets of relocs are always
5436 stored in the data (REL-style), and not in the reloc entry itself
5437 (RELA-style).
5438 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5439 stabs.
5440
5441 2001-11-01 Michael Snyder <msnyder@redhat.com>
5442
5443 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5444 and regular expression operators by using quoting.
5445
5446 2001-10-31 Michael Snyder <msnyder@redhat.com>
5447
5448 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5449 depending on what the symbol table contains.
5450 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5451 the output of the ptype command. Similarly, accept both "const &"
5452 and "const&".
5453
5454 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
5455
5456 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5457 symbol `STORAGE' to allow to choose the storage class of
5458 the local datastructures.
5459 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5460 compiler directive.
5461
5462 2001-10-30 Michael Snyder <msnyder@redhat.com>
5463
5464 * gdb.base/jump.exp: Allow it to run for all targets.
5465
5466 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
5467
5468 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5469 with new double_array size.
5470 (main): Change storage class of all local variables to static.
5471 Reduce size of double_array to 9.
5472 * gdb.base/call-ar-st.exp: Increase timeout value.
5473 Change expected output for double array to match new size in
5474 call-ar-st.c.
5475
5476 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
5477
5478 * gdb.base/ending-run.exp: Create identical output when passing
5479 `step to end of run' case. Add regular expression branch satisfying
5480 Stormy16 target.
5481
5482 2001-10-28 Mark Kettenis <kettenis@gnu.org>
5483
5484 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5485 that we catch the expected failure under Linux/x86.
5486
5487 2001-10-29 Orjan Friberg <orjanf@axis.com>
5488
5489 * gdb.base/setvar.exp: Escape curly braces.
5490 * gdb.stabs/weird.exp: Ditto.
5491
5492 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
5493
5494 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5495 * gdm.mi/mi0-hack-cli.exp: Likewise.
5496
5497 2001-10-25 Andrew Cagney <ac131313@redhat.com>
5498
5499 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5500 messages.
5501
5502 2001-10-21 Andrew Cagney <ac131313@redhat.com>
5503
5504 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5505 checking MI enabled.
5506
5507 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
5508
5509 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5510
5511 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
5512
5513 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5514 if gdb child process crashes, just signal an error.
5515
5516 2001-10-02 Jim Blandy <jimb@redhat.com>
5517
5518 * lib/gdb.exp (test_xfail_format): Simplify.
5519
5520 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5521 front of the variable name `format'. Simplify `if'.
5522
5523 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
5524
5525 * gdb.threads/pthreads.exp: Wait for output and delay
5526 before sending ^C.
5527
5528 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
5529
5530 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5531 some incorrect output instead of timing out.
5532 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5533
5534 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
5535
5536 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5537 check to allow additional `int'.
5538
5539 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
5540
5541 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5542 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5543
5544 2001-09-27 Michael Snyder <msnyder@redhat.com>
5545
5546 * lib/gdb.exp (test_debug_format): New proc.
5547 (setup_xfail_format): Use new proc test_debug_format.
5548 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5549 proc; use new service proc test_debug_format.
5550 Replace all other "gcc_compiled" tests with this test.
5551 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5552 proc; use new service proc test_debug_format.
5553 Replace all other "gcc_compiled" tests with this test.
5554
5555 2001-09-27 Michael Snyder <msnyder@redhat.com>
5556
5557 * gdb.base/cvexpr.exp: New file.
5558 * gdb.base/cvexpr.c: New file
5559 Test for expressions using const and volatile keywords.
5560
5561 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
5562
5563 * gdb.base/constvars.exp: Check for different orders of keywords
5564 and additional "int" strings in output.
5565
5566 2001-09-22 Andrew Cagney <ac131313@redhat.com>
5567
5568 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5569 responses from "help maint".
5570
5571 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
5572
5573 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5574 to localhost:NNN instead of :NNN, in case Xvfb is listening
5575 only on TCP.
5576
5577 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
5578
5579 * gdb.base/recurse.exp: When checking leaving the watchpoint
5580 scope, recognize when gdb is in function's epilogue and pass.
5581
5582 2001-09-18 Keith Seitz <keiths@redhat.com>
5583
5584 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5585 support for running tests against sid targets.
5586 (gdbtk_done): Ditto.
5587
5588 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
5589
5590 * gdb.base/ending-run.c (main): Set stdout buffersize
5591 to the same reasonable value for any target.
5592 * gdb.base/ending-run.exp: Add a regular expression
5593 to make testsuite happy on Sanyo Stormy16 target.
5594
5595 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
5596
5597 * gdb.base/display.c (do_loops): Add float variable `f'.
5598 Increment f in loop.
5599 * gdb.base/display.exp: Increment timeout by 60 seconds.
5600 Change float display test to use variable `f'.
5601
5602 2001-09-17 Jim Blandy <jimb@redhat.com>
5603
5604 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5605 overflowing the limited breakpoint tables on some ROM monitors
5606 (like the ROM68K).
5607
5608 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
5609
5610 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5611 the "-ac" (disable access control) flag.
5612
5613 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
5614
5615 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5616 ints.
5617
5618 2001-08-30 Keith Seitz <keiths@redhat.com>
5619
5620 * lib/gdb.exp: Move all insight-related functionality into
5621 separate file.
5622 * lib/insight-support.exp: New file.
5623
5624 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
5625
5626 * config/sid.exp (sid_start): Never set sid verbosity; disable
5627 expect_background {} that consumed its stdout; tolerate </dev/null.
5628 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5629
5630 2001-08-18 Andrew Cagney <ac131313@redhat.com>
5631
5632 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5633 CLI jump command to start it.
5634 (mi_run_to_main): Fail immediatly when unexpected output.
5635
5636 2001-08-18 Andrew Cagney <ac131313@redhat.com>
5637
5638 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5639 beginning of function. Fix PR gdb/191.
5640
5641 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
5642
5643 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5644 what to force sid endianness to.
5645
5646 2001-08-15 Keith Seitz <keiths@redhat.com>
5647
5648 * lib/gdb.exp (gdbtk_start): Don't set environment
5649 variables for TCL_LIBRARY and friends. Insight will
5650 now figure these out for itself.
5651
5652 2001-08-02 Michael Snyder <msnyder@redhat.com>
5653
5654 * gdb.base/completion.exp: Remove the symbol "a64l" from
5655 the expect string; this is target-specific, and not related
5656 to what is being tested.
5657
5658 2001-08-02 Dave Brolley <brolley@redhat.com>
5659
5660 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5661
5662 2001-07-25 Michael Snyder <msnyder@redhat.com>
5663
5664 * gdb.base/consecutive.exp: New file. Test stepping over
5665 breakpoints on consecutive instructions.
5666 * gdb.base/consecutive.c: New file.
5667
5668 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5669 curly braces in regular expressions.
5670
5671 2001-07-25 Michael Snyder <msnyder@redhat.com>
5672
5673 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5674 legitimate output from stepping out of main.
5675
5676 2001-07-22 Keith Seitz <keiths@redhat.com>
5677
5678 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5679 the empty string, do not run the tests.
5680
5681 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5682
5683 * gdb.base/long_long.exp: Detect size of pointer. Take into
5684 account 2-byte pointers when testing for p/a results.
5685
5686 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5687
5688 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
5689 and defined to 1K for m68hc11.
5690 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5691 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5692 (sizeof_random_data): New variable to tell the size of the data table;
5693 don't test past this size; always run to main.
5694
5695 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5696
5697 * gdb.base/return2.exp: return of long long and double fails for
5698 68HC11; don't execute these tests on that platform.
5699 * gdb.base/return.exp: Return of a double fails for 68hc11.
5700
5701 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5702
5703 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5704 tests that print a float.
5705 * call-rt-st.exp: Likewise.
5706
5707 2001-07-12 Mark Kettenis <kettenis@gnu.org>
5708
5709 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5710 running this test on Linux.
5711
5712 2001-06-24 Michael Chastain <chastain@redhat.com>
5713
5714 * gdb.base/arithmet.exp: Remove some tests to make all test names
5715 unique.
5716
5717 2001-07-03 Michael Snyder <msnyder@redhat.com>
5718
5719 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5720 the output of the ptype command.
5721
5722 2001-07-02 Michael Snyder <msnyder@redhat.com>
5723
5724 * gdb.base/completion.exp: Don't assume that break.c is the only
5725 source file that may contain functions named "marker".
5726 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5727
5728 2001-06-28 Andrew Cagney <ac131313@redhat.com>
5729
5730 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5731 of files to delete.
5732
5733 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5734 * gdb.disasm/h8300s.exp: New file.
5735 gdb.disasm/h8300s.s: Likewise.
5736
5737 2001-06-27 Andrew Cagney <ac131313@redhat.com>
5738
5739 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5740 empty breakpoint tables.
5741
5742 2001-06-25 Andrew Cagney <ac131313@redhat.com>
5743
5744 * lib/mi-support.exp: Update args=... part of stop-reason
5745 patterns. Accept either a list or a tuple.
5746
5747 2001-06-23 Andrew Cagney <ac131313@redhat.com>
5748
5749 * lib/mi-support.exp: Remove local emacs variable defining
5750 change-log-default-name.
5751
5752 2001-06-22 Michael Chastain <chastain@redhat.com>
5753
5754 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5755 This is operationally compatible with the previous version.
5756
5757 2001-06-13 Jim Blandy <jimb@redhat.com>
5758
5759 * lib/gdb.exp (gdb_test): Doc fix.
5760
5761 2001-06-10 Michael Chastain <chastain@redhat.com>
5762
5763 * gdb.base/exprs.exp: Remove a duplicate test.
5764
5765 2001-06-06 Jim Blandy <jimb@redhat.com>
5766
5767 * gdb.base/return2.exp (main): Use values to test float and double
5768 returns that are not NaN's, to avoid being confused by IEEE
5769 comparison rules.
5770
5771 2001-06-04 Michael Snyder <msnyder@redhat.com>
5772
5773 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
5774 non-zero if control_c fails. Terminate the test on failure,
5775 rather than wait for 12 more tests to time out.
5776
5777 2001-06-06 Jim Blandy <jimb@redhat.com>
5778
5779 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
5780 Don't forget to match the GDB prompt.
5781
5782 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5783
5784 2001-06-04 Jim Blandy <jimb@redhat.com>
5785
5786 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5787 command.
5788
5789 2001-05-31 Kevin Buettner <kevinb@redhat.com>
5790
5791 * gdb.base/annota1.exp (info break): Match four or more spaces
5792 after "Address".
5793
5794 2001-05-31 Michael Chastain <chastain@redhat.com>
5795
5796 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5797 (dm_type_int_star): Likewise.
5798 (dm_type_long_star): Likewise.
5799 (dm_type_void_star): Likewise.
5800
5801 2001-05-29 Kevin Buettner <kevinb@redhat.com>
5802
5803 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5804 to a known value in order to get consistent results regardless
5805 of the setting of INPUTRC or the presence or contents of .inputrc.
5806
5807 2001-05-24 Michael Snyder <msnyder@redhat.com>
5808
5809 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5810 Don't require that the main thread and the manager thread are the
5811 first in the list.
5812
5813 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5814 debugging. If test fails, issue an "unsupported" not a "fail".
5815
5816 2001-05-24 Jim Blandy <jimb@redhat.com>
5817
5818 Don't assume that short is shorter than int.
5819 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5820 assume that shorts are smaller than ints. On a 16-bit machine,
5821 this isn't true.
5822 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5823 an int, is not equal to ~0 stored in an unsigned char. This tests
5824 the same thing that the previous test meant to, but works on
5825 16-bit machines, too.
5826 ("print unsigned char != (~0)"): Same test, complemented.
5827
5828 2001-05-24 Michael Snyder <msnyder@redhat.com>
5829
5830 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
5831 test for (full_coverage == 0). This makes the test run faster,
5832 and prevents dejagnu getting out of step.
5833
5834 2001-05-23 Kevin Buettner <kevinb@redhat.com>
5835
5836 * gdb.base/finish.exp (finish_void): Revise pattern for
5837 stopping on the call statement to not permit stopping at
5838 the start of the instructions comprising the call sequence.
5839
5840 2001-05-19 Michael Chastain <chastain@redhat.com>
5841
5842 * gdb.base/callfuncs.exp: Make all test names unique.
5843 * gdb.base/commands.exp: Make all test names unique.
5844 * gdb.base/condbreak.exp: Make all test names unique.
5845 * gdb.base/dbx.exp: Make all test names unique.
5846 * gdb.base/default.exp: Make all test names unique.
5847 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5848 and TIMEOUT messages to their corresponding PASS message.
5849 * gdb.base/ending-run.exp: Make all test names unique.
5850 * gdb.base/long_long.exp: Remove duplicate test.
5851
5852 2001-05-21 Kevin Buettner <kevinb@redhat.com>
5853
5854 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5855 stop on the call statement as well as the statement after the
5856 call.
5857
5858 2001-05-21 Michael Snyder <msnyder@redhat.com>
5859
5860 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5861
5862 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
5863
5864 * gdb.base/completion.exp: Revamp test. Make it execute on all
5865 platforms.
5866
5867 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
5868
5869 * config/gdbserver.exp (gdb_load): Handle the case
5870 in which the arguments to gdbserver are given in the
5871 baseboard configuration file.
5872 Also handle the case in which the server needs to do a
5873 load.
5874
5875 2001-05-07 Keith Seitz <keiths@cygnus.com>
5876
5877 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5878 set up the display for testing.
5879 (gdbtk_start): Convert all paths to paths that tcl will like.
5880 Export target information to environment.
5881 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5882 necessary.
5883 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5884 (to_tcl_path): New proc to convert a given pathname into
5885 a path acceptible as an argument to a tcl command.
5886 (_gdbtk_export_target_info): New proc to export target info
5887 into the environment for gdbtk testing.
5888 (gdbtk_done): New proc to signal end-of-test.
5889
5890 2001-05-06 Jim Blandy <jimb@redhat.com>
5891
5892 * restore.c: Make the code of caller0 correspond to its comment.
5893
5894 2001-05-03 Michael Snyder <msnyder@redhat.com>
5895
5896 * config/sid.exp (gdb_target_sid): Check for error messages.
5897 On error or timeout, don't make expect exit (which will terminate
5898 all subsequent tests); instead just make gdb exit.
5899 (gdb_load): Check for error messages. On error or timeout,
5900 return a negative value.
5901
5902 2001-04-24 Jim Blandy <jimb@redhat.com>
5903
5904 * gdb.c++/templates.exp: If we see the prompt for the overload
5905 list, but we haven't recognized any of the longer patterns,
5906 arrange for this test to fail, not hang.
5907
5908 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5909 variations.
5910
5911 2001-04-22 Michael Chastain <chastain@redhat.com>
5912
5913 * gdb.c++/local.exp: Use the 'runto' library function.
5914 * gdb.c++/namespace.exp: Likewise.
5915 * gdb.c++/overload.exp: Likewise.
5916
5917 2001-03-26 Kevin Buettner <kevinb@redhat.com>
5918
5919 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5920 * gdb.base/step-line.exp: New file. Test step/next in presence of
5921 #line directives.
5922 * gdb.base/step-line.c: New file. Test program for the above.
5923 * gdb.base/step-line.inp: New file. We pretend that this file has
5924 been transformed by some other tool into step-line.c.
5925
5926 2001-03-21 Jim Blandy <jimb@redhat.com>
5927
5928 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5929 unmangled operator names.
5930
5931 2001-03-20 Jim Blandy <jimb@redhat.com>
5932
5933 * gdb.threads/linux-dp.exp: Recognize an additional message
5934 generated by GDB when it doesn't understand how to debug threads
5935 on the target system.
5936
5937 2001-03-19 Andrew Cagney <ac131313@redhat.com>
5938
5939 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5940
5941 2001-03-12 Michael Chastain <chastain@redhat.com>
5942
5943 * gdb.c++/derivation.exp: Use the 'runto' library function.
5944
5945 2001-03-12 Michael Chastain <chastain@redhat.com>
5946
5947 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5948
5949 2001-02-24 Michael Chastain <chastain@redhat.com>
5950
5951 * gdb.c++/ref-types.exp: Change handwritten code to library
5952 function 'runto'.
5953
5954 2001-03-16 Orjan Friberg <orjanf@axis.com>
5955
5956 * gdb.base/signals.exp: Set count to 0 explicitly.
5957
5958 2001-03-15 Mark Salter <msalter@redhat.com>
5959
5960 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
5961 (gdb_target_monitor): Add check of gdb_target_cmd return value.
5962 (gdb_load): Add support for additional target_info: gdb_download_size
5963 and gdb_load_timeout.
5964
5965 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
5966
5967 * gdb.base/annota1.exp: Move test of isnative to earlier in the
5968 file -- to prevent failing when the compile fails but we have no
5969 intention of running the tests anyway.
5970
5971 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5972 tests if set.
5973
5974 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5975 integers.
5976
5977 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5978 * gdb.c++/namespace.exp: Ditto.
5979
5980 2001-03-07 Orjan Friberg <orjanf@axis.com>
5981
5982 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5983 * gdb.base/pointers.exp: Relax pattern match of decimals.
5984
5985 2001-03-06 Kevin Buettner <kevinb@redhat.com>
5986
5987 * Makefile.in, config/abug.exp, config/cfdbug.exp,
5988 config/cpu32bug.exp, config/dve.exp, config/est.exp,
5989 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
5990 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
5991 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
5992 config/sh.exp, config/sid.exp, config/slite.exp,
5993 config/sparclet.exp, config/udi.exp, config/unknown.exp,
5994 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
5995 config/vxworks.exp, config/vxworks29k.exp,
5996 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
5997 gdb.base/all-bin.exp, gdb.base/annota1.exp,
5998 gdb.base/arithmet.exp, gdb.base/assign.exp,
5999 gdb.base/async.exp, gdb.base/attach.exp,
6000 gdb.base/bitfields.exp, gdb.base/bitops.exp,
6001 gdb.base/break.exp, gdb.base/call-ar-st.exp,
6002 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
6003 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
6004 gdb.base/commands.exp, gdb.base/completion.exp,
6005 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6006 gdb.base/constvars.exp, gdb.base/corefile.exp,
6007 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
6008 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
6009 gdb.base/ending-run.exp, gdb.base/environ.exp,
6010 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6011 gdb.base/finish.exp, gdb.base/foll-exec.exp,
6012 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
6013 gdb.base/funcargs.exp, gdb.base/help.exp,
6014 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
6015 gdb.base/logical.exp, gdb.base/long_long.exp,
6016 gdb.base/maint.exp, gdb.base/mips_pro.exp,
6017 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
6018 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
6019 gdb.base/pointers.exp, gdb.base/printcmds.exp,
6020 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
6021 gdb.base/regs.exp, gdb.base/relational.exp,
6022 gdb.base/remote.exp, gdb.base/reread.exp,
6023 gdb.base/restore.exp, gdb.base/return2.exp,
6024 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
6025 gdb.base/selftest.exp, gdb.base/setshow.exp,
6026 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
6027 gdb.base/sigall.exp, gdb.base/signals.exp,
6028 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
6029 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6030 gdb.base/step-test.exp, gdb.base/structs.c,
6031 gdb.base/structs.exp, gdb.base/structs2.exp,
6032 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
6033 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
6034 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
6035 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6036 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
6037 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
6038 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
6039 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
6040 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
6041 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
6042 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
6043 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
6044 gdb.fortran/types.exp, gdb.java/jmisc.exp,
6045 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6046 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
6047 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6048 gdb.trace/circ.exp, gdb.trace/collection.exp,
6049 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6050 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6051 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
6052 gdb.trace/report.exp, gdb.trace/save-trace.exp,
6053 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6054 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6055 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
6056 notices.
6057
6058 2001-02-27 Michael Snyder <msnyder@cygnus.com>
6059
6060 * gdb.base/varargs.c (find_max_double): Fix printf format string:
6061 first arg is int not float.
6062
6063 2001-02-22 Michael Snyder <msnyder@cygnus.com>
6064
6065 * gdb.base/reread.exp: Unsupported for non-native targets;
6066 doesn't work for remote debugging.
6067
6068 2001-02-19 Fernando Nasser <fnasser@redhat.com>
6069
6070 From Drew Moseley <dmoseley@redhat.com>
6071 * gdb.base/ending-run.exp: Properly handle the BSP state when
6072 stepping past the end of main.
6073
6074 2001-02-19 John Moore <jmoore@redhat.com>
6075
6076 * gdb.base/commands.exp (infrun_breakpoint_command_test):
6077 Converted HPUX fix for non-expected items following multiple
6078 step commands into general solution for all platforms.
6079
6080 2001-02-18 Michael Chastain <chastain@redhat.com>
6081
6082 * gdb.c++/classes.exp (do_tests): Change runto statements
6083 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6084 statements demangler agnostic.
6085 * gdb.c++/virtfunc.exp (do_tests): Likewise.
6086 (gdb_virtfunc_restart): Likewise.
6087
6088 2001-02-14 Michael Chastain <chastain@redhat.com>
6089
6090 * gdb.c++/inherit.exp (do_tests): Change runto statements
6091 from "runto 'foo(void)'" to "runto 'foo'". This makes the
6092 statements demangler agnostic.
6093
6094 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
6095
6096 * gdb.threads/pthreads.exp: Unify pass/fail messages for
6097 ``continue to bkpt at common_routine in thread 2'' and ``stopped
6098 before calling common_routine 15 times'' tests.
6099
6100 2001-02-11 Michael Chastain <chastain@redhat.com>
6101
6102 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
6103 Helps the test script figure out which demangler is in use.
6104 (dm_type_foo_ref): Ditto.
6105 (dm_type_int_star): Ditto.
6106 (dm_type_long_star): Ditto.
6107 (dm_type_unsigned_int): Ditto.
6108 (dm_type_void): Ditto.
6109 (dm_type_void_star): Ditto.
6110 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
6111 Probe the gdb demangler and set variables to accommodate
6112 formatting differences.
6113 (info_func_regexp): New function. Same as info_func, but
6114 matches against a regexp.
6115 (info_func): Match against a literal string.
6116 (print_addr_2): New function. Match against a literal string,
6117 which can be different from the input to gdb.
6118 (print_addr): Simply call print_addr_2 with the same argument twice.
6119 (test_lookup_operator_functions): Use demangler formatting variables.
6120 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
6121 the tests in the same order as the C++ class declaration.
6122 (test_paddr_operator_functions): Ditto.
6123 (test_paddr_overloaded_functions): Ditto.
6124 (test_paddr_hairy_functions): Use demangler formatting variables.
6125 Add reference to gdb/19 for related tests.
6126 (do_tests): Call probe_demangler.
6127
6128 2001-01-30 Kevin Buettner <kevinb@redhat.com>
6129
6130 * gdb.c++/templates.cc (printf): Remove unused function definition.
6131
6132 2001-01-26 Felix Lee <flee@redhat.com>
6133
6134 * sid.exp (sid_exit): Pass host, not target, to remote_close.
6135
6136 2001-01-25 matthew green <mrg@redhat.com>
6137
6138 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
6139 up sid.
6140 (sid_exit): Call `remote_pop_conn' after GDB is gone.
6141
6142 2001-01-25 matthew green <mrg@redhat.com>
6143
6144 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
6145 Deprecate $sid_spawn_id.
6146 (sid_exit): Remove code necessary only for `spawn.'
6147
6148 2001-01-25 matthew green <mrg@redhat.com>
6149
6150 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
6151
6152 2001-01-28 Michael Chastain <chastain@redhat.com>
6153
6154 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
6155 to call when tests fail. It takes gdb out of the overloaded
6156 function choice menu back to the main prompt, so that the test
6157 program stays synchronized.
6158 (set_bp_overloaded): New proc to collect all the common
6159 code for setting a breakpoint on an overloaded name. Calls
6160 take_gdb_out_of_choice_menu when needed.
6161 (menu_overload1arg): New variable to collect the repeated
6162 instances of the expected menu for an overloaded name. Change
6163 the regular expression to handle changes in g++ type encoding:
6164 "void" can be either "void" or "", and "unsigned int" can be
6165 either "unsigned int" or "unsigned".
6166 (continue_to_bp_overloaded): Change regular expressions to handle
6167 changes in g++ type encoding.
6168 (no proc): Call take_gdb_out_of_choice_menu when needed.
6169 Remove redundant calls to "info break". Accept either "canceled"
6170 or "cancelled". Change regular expressions in "info break"
6171 calls to handle changes in g++ type encoding. Give all tests
6172 unique strings.
6173
6174 2001-01-17 Ben Elliston <bje@redhat.com>
6175
6176 * config/sid.exp: New file.
6177
6178 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
6179
6180 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
6181
6182 2000-12-21 Michael Snyder <msnyder@cygnus.com>
6183
6184 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
6185 Add a RE to accept a non-ascii char if one is ever presented.
6186
6187 2000-12-20 Fernando Nasser <fnasser@redhat.com>
6188
6189 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
6190
6191 2000-12-18 Michael Snyder <msnyder@cygnus.com>
6192
6193 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
6194 in regexp. One '\' does not suffice on Linux.
6195
6196 2000-12-09 Michael Chastain <chastain@redhat.com>
6197
6198 * gdb.base/break.exp (test_clear_command): Use a marker function
6199 rather than 'main' for the test function. Also move this
6200 test to an execution point where the marker function names are
6201 guaranteed to be bound to functions. (Executing tests after a
6202 'finish' from main runs into name conflicts with local names
6203 in __libc_start_main).
6204
6205 2000-12-07 Michael Snyder <msnyder@cygnus.com>
6206
6207 * gdb.base/finish.exp: New test for gdb's "finish" command.
6208 * gdb.base/return2.exp: New test for gdb's "return" command.
6209 * gdb.base/return2.c: New source file for above.
6210
6211 2000-12-05 Michael Snyder <msnyder@cygnus.com>
6212
6213 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
6214 * gdb.base/miscexprs.exp: Ditto.
6215 * gdb.base/pointers.exp: Ditto.
6216 * gdb.c++/derivation.exp: Ditto.
6217 * gdb.c++/local.exp: Ditto.
6218 * gdb.c++/namespace.exp: Ditto.
6219 * gdb.c++/overload.exp: Ditto.
6220 * gdb.c++/ref-types.exp: Ditto.
6221
6222 2000-12-05 Michael Snyder <msnyder@cygnus.com>
6223
6224 * gdb.base/constvars.exp: Test result of "up" command.
6225 * gdb.base/miscexprs.exp: Ditto.
6226 * gdb.base/pointers.exp: Ditto.
6227 * gdb.base/scope.exp: Ditto.
6228 * gdb.c++/derivation.exp: Ditto.
6229 * gdb.c++/local.exp: Ditto.
6230 * gdb.c++/namespace.exp: Ditto.
6231 * gdb.c++/overload.exp: Ditto.
6232 * gdb.c++/ref-types.exp: Ditto.
6233
6234 2000-11-22 Michael Chastain <chastain@redhat.com>
6235
6236 * mips_pro.exp: Accept either "middle -> top -> main" or
6237 "middle -> main" in the backtrace, because gcc can optimize
6238 tail calls to jumps. Remove setup_xfail for the hppa case.
6239 Add a comment with the original warning messages from PR 3016,
6240 which was filed in 1993, to preserve them for posterity.
6241
6242 2000-11-17 Nick Duffek <nsd@redhat.com>
6243
6244 * lib/gdb.exp (gdb_test): Override timeout with board info.
6245
6246 2000-11-17 Nick Duffek <nsd@redhat.com>
6247
6248 * gdb.base/display.exp: Don't kill running stub. Add "again" to
6249 the second kill and detach messages.
6250
6251 2000-11-17 Nick Duffek <nsd@redhat.com>
6252
6253 * configure.in: Add AC_EXEEXT.
6254 * configure: Regenerate.
6255 * Makefile.in (just-check): Export EXEEXT.
6256 * lib/gdb.exp ($EXEEXT): Import from environment.
6257 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
6258 expect "maint dump-me" on Cygwin.
6259 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
6260 $EXEEXT.
6261
6262 2000-11-17 Nick Duffek <nsd@redhat.com>
6263
6264 * gdb.base/break.exp: Test backtrace and finish from called
6265 function on all platforms, not just HP-UX.
6266
6267 2000-11-03 Michael Snyder <msnyder@cygnus.com>
6268
6269 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
6270 code from gdb_target_monitor, so it can be used independantly
6271 for gdbserver. Also comment out an unnecessary PUTS.
6272
6273 2000-11-03 Michael Snyder <msnyder@cygnus.com>
6274
6275 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
6276 * gdb.base/corefile.exp: Expect the message "Program is being
6277 debugged already" when we send the "corefile" command, since
6278 the preceeding gdb_load may have connected gdb to a remote target.
6279 * gdb.base/display.exp: Disable hardware watchpoints if new
6280 board info variable "no_hardware_watchpoints" is true.
6281 Replace single-letter commands with more readable ones.
6282 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
6283 if new board info variable "no_hardware_watchpoints" is true.
6284 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
6285 to see if stdio (printf) testing is possible.
6286 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
6287 board info variable "no_hardware_watchpoints" is true. Use new
6288 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
6289
6290 2000-11-13 Fernando Nasser <fnasser@redhat.com>
6291
6292 From Orjan Friberg <orjanf@axis.com>:
6293 * gdb.base/printcmds.exp: Escape curly braces followed by a number
6294 in array print pattern match.
6295
6296 2000-11-09 Fernando Nasser <fnasser@redhat.com>
6297
6298 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
6299 spelling "cancelled" to U.S. spelling "canceled" to match changes
6300 made to gdb.
6301 * gdb.c++/ovldbreak.exp: Ditto.
6302
6303 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6304
6305 * gdb.base/callfuncs.c (main): Moved to end of file, call
6306 t_double_values to initialize the FPU before inferior calls are made.
6307 * gdb.base/callfuncs.exp: Test for register preservation after calling
6308 inferior functions. Add tests for continuining, finishing and
6309 returning from a stop in a call dummy.
6310
6311 2000-10-24 Michael Snyder <msnyder@cygnus.com>
6312
6313 * gdb.base/commands.exp: Break up long lines, and re-indent.
6314
6315 2000-10-19 Michael Snyder <msnyder@cygnus.com>
6316
6317 * config/gdbserver.exp: Rewritten from the ground up, to make it
6318 compatible with the current dejagnu tree, and to make it work with
6319 the new "gdbserver" in libremote.
6320
6321 2000-10-16 Michael Snyder <msnyder@cygnus.com>
6322
6323 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
6324 * gdb.base/varargs.exp: Skip entire test if no printf support.
6325 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
6326 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
6327
6328 2000-10-13 Michael Snyder <msnyder@cygnus.com>
6329
6330 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
6331 no floating point support.
6332 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
6333 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6334 * gdb.base/call-rt-st.exp: Ditto.
6335 * gdb.base/call-strs.exp: Ditto.
6336
6337 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
6338
6339 * gdb.base/sizeof.c: include <stdio.h>.
6340
6341 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6342 'finish', otherwise uncaptured gdb_prompt would potentially
6343 throw remaining test points out of sync.
6344
6345 2000-07-26 Scott Bambrough <scottb@netwinder.org>
6346
6347 * gdb.base/recurse.exp: Run tests for all targets.
6348 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6349 gnu-oldld case on ARM.
6350 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6351 for ARM targets.
6352
6353 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
6354
6355 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6356 * gdb.java/configure: Rebuild.
6357
6358 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
6359
6360 * gdb.java/jv-exp.exp: New file.
6361
6362 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
6363
6364 * configure: Rebuilt.
6365 * configure.in (configdirs): Add gdb.java.
6366 * gdb.java/jmisc.java: New file.
6367 * gdb.java/jmisc.exp: New file.
6368 * gdb.java/Makefile.in: New file.
6369 * gdb.java/configure: Rebuilt.
6370 * gdb.java/configure.in: New file.
6371 * lib/java.exp: New file.
6372
6373 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
6374
6375 * gdb.base/exprs.exp: Test casts to a pointer including over and
6376 underflow.
6377
6378 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
6379
6380 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
6381 and the compilers sizes.
6382
6383 2000-07-09 Nick Duffek <nsd@redhat.com>
6384
6385 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6386 (use_methods): New function.
6387 (main): Call use_methods().
6388 * gdb.c++/classes.exp (test_method_param_class): New procedure.
6389 (do_tests): Call test_method_param_class.
6390
6391 2000-07-09 Nick Duffek <nsd@redhat.com>
6392
6393 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6394 spelling.
6395 (test_enums): New procedure. Move enum tests from end of script
6396 to here. Set breakpoint on function name instead of line number.
6397 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6398 (enums2): New marker function.
6399 (enums1): New function.
6400 (main): Call enums1(). Move enum tests to enums1().
6401
6402 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6403
6404 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6405 compile/link program. Update line numbers.
6406 * gdb.asm/d10v.inc: Define ``startup''.
6407 * gdb.asm/asmsrc1.s: Add definition of _start.
6408
6409 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6410
6411 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6412
6413 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6414
6415 * gdb.base/maint.exp: Add 'maint print architecture' item to output
6416 of 'help maint print' command.
6417
6418 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
6419
6420 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6421 they use gdb_expect_list.
6422
6423 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6424
6425 * gdb.base/commands.exp: Use ``set remote
6426 memory-read-packet-size'' instead of ``set endian big'' to test
6427 long commands.
6428
6429 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
6430
6431 * gdb.c++/templates.exp (do_tests): Make all of these work under
6432 g++, and stop skipping them.
6433
6434 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6435 work under g++.
6436
6437 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
6438 initialization.
6439
6440 2000-06-02 Michael Snyder <msnyder@cygnus.com>
6441
6442 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6443 the regular expression: accept an (almost) arbitrary sequence of
6444 "frames-invalid" and "breakpoints-invalid" messages both before
6445 and after the "starting" message.
6446
6447 2000-06-02 Michael Snyder <msnyder@cygnus.com>
6448
6449 * gdb.c++/local.exp: This test has never been known to work with g++.
6450
6451 2000-05-18 Michael Snyder <msnyder@cygnus.com>
6452
6453 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6454 Relax the regular expression a little, make it pass on Solaris 8.
6455
6456 2000-05-12 Kevin Buettner <kevinb@redhat.com>
6457
6458 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
6459 a call, do not require that gdb stop on the line after the call.
6460 Instead, it is permissible for gdb to stop on the line of the
6461 call itself.
6462
6463 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
6464
6465 * gdb.base/break.exp (bp on small function, optimized file):
6466 Add a second pass pattern. The behavior differs here between stabs
6467 and dwarf for one-line functions. Stabs preserves two line symbols
6468 (one before the prologue and one after) with the same line number,
6469 but dwarf regards these as duplicates and discards one of them.
6470 Therefore the address after the prologue (where the breakpoint is)
6471 has no exactly matching line symbol, and GDB reports the breakpoint
6472 as if it were in the middle of a line rather than at the beginning.
6473
6474 2000-05-08 Michael Snyder <msnyder@cygnus.com>
6475
6476 * gdb.base/interrupt.exp: Make "pass" message say "send"
6477 rather than "send_gdb" (for consistancy).
6478
6479 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6480
6481 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6482 * gdb.c++/templates.cc: Properly check for GCC version number.
6483 * lib/compiler.cc: Likewise
6484
6485 2000-04-28 Michael Snyder <msnyder@cygnus.com>
6486
6487 * gdb.base/break.exp: When compiled with -O2 optimization,
6488 gdb may not stop at the first line of main, due to code motion.
6489
6490 2000-04-26 Michael Snyder <msnyder@cygnus.com>
6491
6492 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6493 This test depends on parsing the printf output from the target.
6494 Since the sparclet stub doesn't do stdio, this will never work.
6495 * gdb.base/call-rt-st.exp: ditto.
6496 * gdb.base/call-strs: ditto.
6497
6498 2000-04-24 Michael Snyder <msnyder@cygnus.com>
6499
6500 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6501
6502 * gdb.base/ending-run.exp: After connecting to a remote target,
6503 but before running, the target will appear to be in a random
6504 location. Specify both a file and a line for breakpoints.
6505 Also, the function that calls main may be called 'init'
6506 rather than 'start'.
6507
6508 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6509
6510 * gdb.base/help.exp: Update output for add-symbol-file command.
6511
6512 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
6513
6514 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6515 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6516
6517 2000-04-07 J.T. Conklin <jtc@redback.com>
6518
6519 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6520
6521 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6522
6523 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6524
6525 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6526 values that can be represented exactly.
6527 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6528 above change, and to not check against the directory part of the source
6529 file name.
6530 (step into print_long_arg_list): Likewise.
6531 (print print_small_structs from print_long_arg_list): Likewise.
6532 (print print_long_arg_list): Likewise.
6533
6534 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6535
6536 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
6537
6538 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6539
6540 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6541
6542 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
6543
6544 * gdb.base/commands.exp (deprecated_command_test): Add test for
6545 deprecate with no arguments.
6546
6547 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6548
6549 * gdb.base/break.exp: Add new test for setting breakpoints on
6550 optimized code so we can test breakpoints work even when function
6551 prologues may be optimized away
6552
6553 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6554
6555 From David Whedon <dwhedon@gordian.com>
6556 * gdb.base/commands.exp : Added command deprecator tests.
6557
6558 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
6559
6560 * gdb.base/help.exp: Added test for new apropos command.
6561
6562 2000-03-21 Kevin Buettner <kevinb@redhat.com>
6563
6564 * gdb.base/pointers.c (usevar): New function.
6565 (main): Make sure that global variables v_int_pointer2, rptr,
6566 and y are all referenced someplace in the program by calling
6567 usevar() on them. [Some linkers delete symbols which are
6568 never referenced. The space remains, but there's no way to
6569 get a (symbolic) handle on the variable from the debugger.]
6570
6571 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6572
6573 * gdb.base/printcmds.c: Add typedeffed arrays.
6574
6575 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6576 procedure to test arrays that are typedef'd.
6577
6578 2000-03-13 James Ingham <jingham@leda.cygnus.com>
6579
6580 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
6581 the library directories.
6582
6583 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6584
6585 * configure.in (configdirs): Add sub directory gdb.mi.
6586 * configure: Re-generate.
6587
6588 * gdb.mi: New directory.
6589
6590 2000-02-25 Scott Bambrough <scottb@netwinder.org>
6591
6592 * gdb.base/long_long.exp: Correct test suite failure when printing
6593 a long long value as a double on ARM platforms.
6594
6595 2000-02-16 Jim Blandy <jimb@redhat.com>
6596
6597 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6598 default source file is set properly before running this test.
6599
6600 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6601
6602 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6603 gdbtk/library directory, not in gdbtcl2.
6604
6605 2000-02-04 Jim Blandy <jimb@redhat.com>
6606
6607 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6608 backslash from regexp pattern.
6609
6610 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6611 procedure. Use it to run all the "continue to bp overloaded"
6612 tests. Note that this changes the names of the tests slightly.
6613 If the breakpoint hit message includes a hex PC value, because
6614 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6615 from the real source code, still consider that a pass.
6616
6617 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6618 XFAIL here if the breakpoint message contains a hex address. Note
6619 similar change on 1999-11-02.
6620
6621 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6622
6623 * gdb.base/ptype.exp: Establish a default source file before
6624 calling get_debug_format.
6625
6626 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6627
6628 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6629
6630 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6631
6632 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6633 of successive stepi commands -- while in the prologue we should see
6634 the function entry bracket.
6635
6636 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6637
6638 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6639 reach __change_mode() when stepping through the end of main().
6640
6641 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6642
6643 * gdb.base/default.exp: Fix expected pattern.
6644 * gdb.base/help.exp: Same.
6645
6646 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6647
6648 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6649 Don't use xfail's because that affects only the following test.
6650
6651 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6652 solaris or linux.
6653
6654 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6655
6656 2000-01-07 Michael Snyder <msnyder@cygnus.com>
6657
6658 * gdb.base/display.exp: Some yacc parsers like to say
6659 "A syntax error" rather than "A parse error". Accept both.
6660
6661 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6662
6663 * gdb.base/default.exp: Remove OS dependent string from "target
6664 remote" test.
6665 * gdb.base/help.exp: Same for "help target remote" test.
6666
6667 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6668
6669 From Jim Kingdon <kingdon@redhat.com>:
6670
6671 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6672 prompt (cleanup rather than necessity, but still might keep output
6673 from spilling to next test).
6674
6675 2000-01-02 Fred Fish <fnf@cygnus.com>
6676
6677 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6678 AIX, which defines them in <sys/types.h>.
6679
6680 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
6681
6682 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6683 float" test.
6684
6685 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
6686
6687 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
6688
6689 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6690 outermost frame disallowed".
6691
6692 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6693
6694 * gdb.base/setvar.exp: New tests for setting the value of a struct
6695 with a constant list.
6696
6697 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6698
6699 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6700 require the user to type a cast before setting the value of a struct.
6701
6702 1999-12-06 Jim Blandy <jimb@cygnus.com>
6703
6704 * gdb.base/default.exp: Expect the new 'info float' command on
6705 all i386 platforms.
6706
6707 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6708 LinuxThreads libraries that don't support debugging.
6709
6710 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6711
6712 * gdb.base/remote.c: Fill the buffer with truely random data.
6713 Change the buffer type to ``unsigned char'' to simplify size
6714 arithmetic.
6715
6716 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6717 stub only handles 400-1 byte packets. Verify that the download
6718 worked.
6719
6720 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6721
6722 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6723 tests, using UNRESOLVED for the untested cases. Also, does not wait
6724 for a timeout if the prompt was received before a recognizable pattern.
6725
6726 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6727
6728 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6729
6730 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6731
6732 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6733 watchpoints.
6734
6735 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
6736
6737 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6738
6739 * gdb.c++/local.exp: Be more flexible in recognizing local class
6740 name mangling. Don't allow horribly truncated method names.
6741 * gdb.c++/derivation.exp: Expect protected inheritance.
6742 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6743 * gdb.c++/virtfunc.exp: Likewise.
6744 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6745 when printing a nested enum.
6746
6747 1999-11-22 Jim Blandy <jimb@cygnus.com>
6748
6749 * gdb.base/step-test.exp: Properly await GDB's response to setting
6750 a breakpoint on the call to large_struct_by_value.
6751
6752 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6753 just because we have debug info for the `start' function.
6754
6755 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6756
6757 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6758 "Unknown signal" messages, which indicate (on LinuxThreads) that
6759 GDB doesn't know how to debug threads on this system. This is
6760 better than hanging while philosopher 0 dumps chatter into gdb.log.
6761
6762 1999-11-18 Tom Tromey <tromey@cygnus.com>
6763
6764 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6765
6766 1999-11-18 Fred Fish <fnf@cygnus.com>
6767
6768 * gdb.base/coremaker2.c: Add sample program for generating
6769 cores that is more self contained than coremaker.c. Eventually
6770 I'll add more code to this and tie it into the testsuite.
6771
6772 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6773
6774 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6775
6776 1999-11-10 Jimmy Guo <guo@cup.hp.com>
6777
6778 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6779 from $srcdir/lib/.
6780 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6781 and gdb.c++/.
6782
6783 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6784
6785 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
6786 'continue with watch' test point.
6787
6788 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6789
6790 Merged from p2linux-990323-branch:
6791
6792 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6793
6794 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6795
6796 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6797 {limit,fixed}''. Test ``set download-write-size''.
6798
6799 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6800
6801 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6802 gdb_expect_list.
6803
6804 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6805
6806 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6807
6808 1999-11-03 Mark Salter <msalter@cygnus.com>
6809
6810 * gdb.base/break.exp: Fix "stub continue" pattern.
6811
6812 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6813
6814 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6815
6816 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6817
6818 * gdb.base/display.exp ("finish"): Add timeout clause.
6819
6820 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6821 plain prompt clause, so this doesn't have to time out in order to
6822 fail.
6823
6824 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6825 breakpoint hit messages include an address.
6826
6827 * gdb.base/display.exp: Don't forget to escape parens in regular
6828 expressions. Unix regexp notatation sucks.
6829
6830 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6831
6832 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6833 order for 'signalled' message.
6834
6835 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6836
6837 From Jimmy Guo <guo@cup.hp.com>:
6838 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6839 * gdb.base/annota1.c: Add code for tests to work with.
6840
6841 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6842
6843 * gdb.base/remote.exp: New test for remote downloading settings.
6844 * gdb.base/remote.c: New file with large .data.
6845
6846 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6847
6848 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6849 for LinuxThreads support, merged from the Code Fusion branch.
6850
6851 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6852
6853 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6854 containing exp_continue into a while within an expect. Don't
6855 attempt a start more than three times. Check return value from
6856 gdb_load.
6857
6858 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6859
6860 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6861 a pass case.
6862
6863 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
6864
6865 * gdb.base/break.c (main): Added a statement that we can step
6866 off of.
6867 * gdb.base/break.exp: Added tests for setting a breakpoint
6868 at an offset and stepping onto a breakpoint.
6869
6870 1999-10-01 Fred Fish <fnf@cygnus.com>
6871
6872 * gdb.base/help.exp (help add-symbol-file): Update to match current
6873 gdb output.
6874
6875 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
6876
6877 * gdb.base/break.exp: Code locations are in hex, don't forget!
6878 (For HP-UX.)
6879
6880 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
6881
6882 * condbreak.exp: Use break.c as test program.
6883 * condbreak.c: Remove, redundant with break.c.
6884
6885 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
6886
6887 * config/monitor.exp (gdb_target_monitor): Disable X- and
6888 Z-packets if the target needs it.
6889
6890 1999-09-13 James Ingham <jingham@leda.cygnus.com>
6891
6892 * gdb.c++/overload.exp: Added tests for listing overloaded
6893 functions with function pointers in the arg, explicitly calling
6894 out the version you want.
6895
6896 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
6897
6898 * long_long.exp: Add variations of test cases that work for
6899 targets with 16-bit ints and 32-bit doubles.
6900
6901 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
6902
6903 * break.c (main): Compare a possibly-uninitialized argc with an
6904 unlikely value that fits in 16 bits.
6905
6906 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
6907
6908 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6909 0xfeeb, don't want negative numbers if ints are 16 bits.
6910
6911 * lib/gdb.exp (skip_cplus_tests): New proc.
6912 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6913 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6914 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6915 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6916 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6917 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6918 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6919 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6920
6921 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6922
6923 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
6924
6925 * gdb.base/corefile.exp (up): Allow a parameter to appear
6926 in the frame that we're going up to.
6927
6928 From Jim Blandy <jimb@cygnus.com>:
6929
6930 * gdb.base/default.exp (info float): Expect some output now.
6931
6932 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6933 returning floating-point values to fail on the x86.
6934 * gdb.base/callfwmall.exp (do_function_calls): Same.
6935
6936 * gdb.base/list.exp (test_listsize): Correct expectations for
6937 listing line 1 with listsize 2. Also, listing a single line
6938 works now, as does listing three lines. [Kevin's note: There
6939 were a number of other cases fixed too where the expectations
6940 differed...]
6941
6942 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
6943
6944 * gdb.base/selftest.exp: Add case for when version prints as
6945 constant string instead of char pointer.
6946
6947 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
6948
6949 * gdb.base/ending-run.exp: Add Solaris case for what happens when
6950 stepping out of main.
6951
6952 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6953 G++ used.
6954
6955 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6956 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
6957
6958 * gdb.c++/ovldbreak.exp: Update match string in test that
6959 includes a warning of multiple breakpoints.
6960
6961 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
6962
6963 * gdb.base/display.exp: Improve precision of step-after-finish
6964 added yesterday.
6965
6966 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6967 test.
6968
6969 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6970 configs when using G++, not just hppa*.
6971
6972 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6973
6974 * gdb.base/async.c: New file.
6975 * gdb.base/async.exp: New file.
6976
6977 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
6978
6979 * gdb.base/break.exp: Tweak PA specific tests to properly handle
6980 PA64.
6981
6982 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
6983
6984 * gdb.base/display.exp: "finish" can leave us mid-line on many
6985 targets, deal with it. Add a small constant to main, instead of
6986 1000 since main+1000 may not be a valid address in the target.
6987
6988 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
6989 on hpux11.
6990
6991 * gdb.base/attach.exp: Handle another hpux11 error message variant
6992 when attaching to a process that does not exist.
6993
6994 1999-08-19 J.T. Conklin <jtc@redback.com>
6995
6996 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
6997 characters in 'continue to 1241' test.
6998
6999 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
7000
7001 * gdb.base/call-ar-st.exp: Add a shorter match case for the
7002 stop in print_long_arg_list, define and use a whitespace
7003 variable in print_small_structs test, add an XFAIL for Solaris.
7004 * gdb.base/dbx.exp: XFAIL func commands until somebody is
7005 interested enough to fix.
7006
7007 1999-08-13 Keith Seitz <keiths@cygnus.com>
7008
7009 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
7010 (dbx_gdb_load): Remove. Use gdb_load instead, since that
7011 proc knows about targets other than the natives.
7012 (test_assign): Use "gdb_run_cmd" to "run" the target.
7013 Check that we've actually hit the breakpoint at main.
7014 When we attempt to assign a value to a local variable, check
7015 that the variable is in the current scope, i.e., don't use
7016 a test with an empty result.
7017
7018 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
7019
7020 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
7021 command.
7022
7023 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
7024
7025 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7026 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
7027 gdb.compat, gdb.threads-hp.
7028 gdb.hp/configure, gdb.hp/configure.in: New files.
7029 gdb.hp/Makefile.in: Recurse into new subdirs.
7030 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
7031 gdb.hp/gdb.objdbg: New directory, tests for debugging info
7032 in object files.
7033 gdb.hp/tools: New directory, aux tools for HP-specific tests.
7034
7035 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
7036
7037 * gdb.base/display.exp: Help expect by putting a newline in the
7038 funky printf, remove a bogus p/a test.
7039
7040 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7041
7042 * gdb.base/display.exp: Make sure that when we say 'run', we are
7043 connected to the target. This is necessary when running not
7044 natively.
7045
7046 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
7047
7048 * gdb.base/step-test.exp: Removed some extraneous messages.
7049
7050 * gdb.base/long_long.exp: Don't run memory examination tests
7051 on little-endian targets (they will need a different set of
7052 results to match).
7053
7054 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
7055
7056 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
7057 until somebody decides to fix GDB.
7058
7059 * gdb.base/long_long.c: Stop compiler complaint by specifying long
7060 constant as "ULL".
7061 * gdb.base/long_long.exp: Loosen x/c test, add partial result
7062 matches for a couple x/2 commands.
7063
7064 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
7065
7066 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
7067 by merging in ref-types2 tests.
7068 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
7069
7070 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7071 * gdb.c++/Makefile.in: Add standard actions.
7072 (EXECUTABLES): Rename from PROGS, update list.
7073 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
7074 from gdb.hp.
7075 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
7076 foo and bar locals.
7077 * gdb.c++/anon-union.exp: Fix tests to match.
7078 * gdb.c++/classes.exp: Run if HP compiler used, add extra
7079 expect matches to handle output variations.
7080 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
7081 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
7082 output, add HP alternatives for new and delete prints.
7083 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
7084 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
7085 * gdb.c++/demangle.exp: Use $style when reporting failure.
7086 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
7087 * gdb.c++/inherit.exp: Run if HP compiler used, add some
7088 match alternatives.
7089 * gdb.c++/local.exp: Add match alternatives or xfails for HP
7090 compilers.
7091 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
7092 * gdb.c++/method.exp: Add match alternatives.
7093 * gdb.c++/misc.cc: Add bool types.
7094 * gdb.c++/misc.exp: Add tests for bool types.
7095 * gdb.c++/overload.exp: Add xfails.
7096 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
7097 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
7098 add some more template parameter tests (only for HP currently).
7099 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
7100 * gdb.c++/virtfunc.cc: Add return type and value for main.
7101 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
7102 match alternatives.
7103
7104 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7105
7106 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
7107
7108 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
7109
7110 * gdb.base/signals.exp: Don't expect getting a backtrace from
7111 within a signal handler to fail on Linux.
7112
7113 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
7114
7115 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7116 * lib/gdb.exp: Remove some gratuitious semicolons.
7117 (delete_breakpoints): Increase timeout.
7118 (gdb_expect): Add -notransfer option.
7119 (gdb_test): Use -notransfer option.
7120 (get_compiler_info): Add f77 case.
7121 (get_compiler): New proc, split out from gdb_preprocess, add f77
7122 case.
7123 (gdb_preprocess): Call get_compiler.
7124
7125 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
7126 * gdb.base/attach.exp, gdb.base/display.exp,
7127 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
7128 gdb.base/long_long.exp, gdb.base/printcmds.exp,
7129 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
7130 third arg to gdb_test.
7131 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
7132 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
7133 HP-UX xfails, add others.
7134 * gdb.base/completion.exp: Reflect name change of self-test.
7135 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
7136 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
7137 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
7138 HP failure number.
7139 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
7140 useless HP-UX 10.30 references.
7141 * gdb.base/maint.exp: Loosen matches.
7142 * gdb.base/pointers.c (main): Declare more_code.
7143 * gdb.base/pointers.exp: Match on output of a `next'.
7144 * gdb.base/structs.c: Add prototypes.
7145 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
7146 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
7147
7148 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7149
7150 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
7151 command.
7152
7153 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7154
7155 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
7156 Fix run to main failures. Watchpoint can be hardware watchpoint.
7157
7158 * gdb.base/annota1.exp: Clean up some more, in case printf has
7159 debug info. Deal with lack of signal hanlder info in stack.
7160
7161 From Jim Kingdon <kingdon@redhat.com>:
7162 * gdb.base/annota1.exp: If printf has debug info, deal with it.
7163
7164 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
7165
7166 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
7167 gdb.base/foll-vfork.exp: Don't run for crosses.
7168
7169 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
7170
7171 * gdb.base/configure.in: Check for gdbvars.exp instead of
7172 a1-selftest.exp.
7173 * gdb.base/configure: Re-generate.
7174
7175 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
7176
7177 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
7178 in trying to run first and name is too long.
7179
7180 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
7181 pointers2.c and pointers2.exp, respectively.
7182 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
7183 doschk happier.
7184
7185 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
7186
7187 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
7188 callfuncs2.c and callfuncs2.exp.
7189
7190 * gdb.base/list.exp: Remove mistaken xfails.
7191 * gdb.base/list0.h: Add optional prototypes.
7192
7193 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
7194
7195 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
7196 calling malloc.
7197 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
7198 * ptype.exp: Move test for get_debug_format to before its first
7199 use.
7200
7201 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7202
7203 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
7204 * gdb.base/annota2.cc, annota2.exp: Move from here.
7205 * gdb.c++/annota2.cc, annota2.exp: To here.
7206 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
7207
7208 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
7209
7210 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
7211 a consistent format.
7212
7213 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
7214
7215 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7216 * lib/gdb.exp (get_compiler_info): Add detection for assorted
7217 HP compilers, also set the globals $true and $false.
7218
7219 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
7220 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
7221 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
7222 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
7223 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
7224 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
7225 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
7226 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
7227 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
7228 whatis.c} Add C++ compatible function definitions and return
7229 types, add includes for library functions.
7230 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
7231 * gdb.base/step-test.c (myglob): Rename from glob.
7232 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
7233 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
7234 files, move here from gdb.hp.
7235 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
7236 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
7237 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
7238 Adjust line numbers in regexps.
7239
7240 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
7241 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
7242 instead of 0/1.
7243
7244 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
7245 foll-vfork.exp: New files, move here from gdb.hp.
7246 * gdb.base/page.exp: New file, test of pagination command.
7247
7248 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
7249 recursion test.
7250 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
7251
7252 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
7253 gdb.base/solib.exp: Fix compiler invocation process.
7254
7255 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
7256 HP-UX 11, turn off overload resolution explicitly.
7257 * gdb.base/commands.exp: Set argument list explicitly, add
7258 watchpoint test.
7259 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
7260 them work.
7261 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
7262 expressions properly.
7263 * gdb.base/corefile.exp: Loosen the match slightly.
7264 * gdb.base/default.exp: Allow "Error accessing memory" message
7265 also.
7266 * gdb.base/display.exp: Skip over x/0 j if PA64.
7267 * gdb.base/funcargs.exp: Add xfails for HP-UX.
7268 * gdb.base/interrupt.exp: Ditto.
7269 * gdb.base/langs.exp: Add symbolic matches governed by compiler
7270 in use.
7271 * gdb.base/list.exp: Add xfails for HP-UX.
7272 * gdb.base/long_long.exp: Refine some of the numeric matches.
7273 * gdb.base/mips_pro.exp: Xfail on HP-UX.
7274 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
7275 * gdb.base/nodebug.exp: Succeed on more varieties of output.
7276 * gdb.base/opaque.exp: Remove some HP-UX xfails.
7277 * gdb.base/ptype.exp: Succeed on more varieties of output.
7278 * gdb.base/scope.exp: Add xfails for HP-UX.
7279 * gdb.base/sect-cmd.exp: Add more cases.
7280 * gdb.base/setvar.exp: Add xfails for HP-UX.
7281 * gdb.base/shlib-call.exp: Loosen some matches slightly.
7282 * gdb.base/signals.exp: Match on void symbolically.
7283 * gdb.base/step-test.exp: Add case for PA64.
7284 * gdb.base/term.exp: Add exit and restart.
7285 * gdb.base/twice.exp: Clean up after self.
7286 * gdb.base/varargs.exp: Disable overload resolution explicitly.
7287 * gdb.base/whatis.exp: Allow more ways to pass tests.
7288
7289 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
7290 no longer useful.
7291
7292 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
7293
7294 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
7295 list of patterns.
7296 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
7297 print_double_array(double_array)", "continuing to breakpoint
7298 1018", "print print_double_array(array_d)" and "continuing to
7299 1034" tests.
7300
7301 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
7302
7303 * Makefile.in: Add empty html and install-html targets.
7304
7305 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
7306
7307 * config/mt-*: Remove, these haven't been used since 1996.
7308
7309 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
7310
7311 * gdb.base/call-strs.c, gdb.base/ending-run.c,
7312 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
7313 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
7314
7315 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
7316
7317 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
7318 simpler match case for the ptype of the big class.
7319
7320 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7321
7322 * gdb.exp: Fix test for gdb_prompt existence.
7323
7324 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7325
7326 * gdb.exp (gdb_test): Add fail after calls to perror.
7327
7328 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7329
7330 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7331
7332 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7333
7334 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7335
7336 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
7337
7338 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
7339 malloc() is linked in.
7340
7341 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
7342
7343 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7344 step at end.
7345
7346 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7347
7348 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
7349
7350 * gdb.java/jv-print.exp: New file. (Our first Java test!)
7351
7352 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
7353
7354 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7355 * gdb.base/mips_pro.exp: Likewise.
7356
7357 1999-06-02 Keith Seitz <keiths@cygnus.com>
7358
7359 * gdb.c++/templates.cc: Change all "new" operators to throw
7360 an exception.
7361 * gdb.c++/cplusfuncs.cc: Likewise.
7362
7363 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7364
7365 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
7366
7367 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7368 * gdb.base/ending-run.exp: When stepping out of main, accept a
7369 step into an arbitrary assembler file.
7370
7371 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7372
7373 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
7374 "breakpoint-invalid" to be printed.
7375 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
7376 number of "frames-invalid" and "breakpoint-invalid" to be printed.
7377 * gdb.base/annota2.cc: Initialize a.x to 0.
7378
7379 1999-05-17 Keith Seitz <keiths@cygnus.com>
7380
7381 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7382 when "skip_float_tests" set.
7383 Ditto for "print print_double_array(array_d)", "print print_small_structs",
7384 "print print_ten_doubles", and "step into print_long_arg_list".
7385 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7386 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7387 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7388 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7389 "skip_float_tests" is set.
7390 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7391 when "skip_float_tests" set.
7392
7393 1999-05-06 Keith Seitz <keiths@cygnus.com>
7394
7395 * gdb.base/annota2.cc: Include stdio.h.
7396
7397 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
7398
7399 * gdb.base/crossload.exp: Remove, this has been disabled ever
7400 since BFD stopped including all targets, and cross-GDB gets
7401 plenty of testing anyway.
7402 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7403 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7404 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7405 * gdb.base/README: Remove, was doc for this.
7406 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7407 needed.
7408
7409 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7410
7411 * gdb.base/call-ar-st.exp: Fix one regular expression in test
7412 output.
7413
7414 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7415 * gdb.base/annota2.exp: New file. More annotation tests.
7416 * gdb.base/annota1.c: New file. Source file for annota1.exp.
7417 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7418
7419 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
7420
7421 * config/cfdbug.exp: New file.
7422
7423 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
7424
7425 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7426 Marcus Daniel's and Dale Hawkins's demangler crashes.
7427
7428 * gdb.c++/demangle.exp (test_gnu_style_demangling,
7429 test_lucid_style_demangling, test_arm_style_demangling,
7430 test_hp_style_demangling): Try Tom Tromey's core-dumping
7431 identifier under each demangling style.
7432
7433 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
7434
7435 * gdb.c++/demangle.exp: Include the current demangling style
7436 in all test names.
7437 (current_demangling_style): New global variable.
7438 (set_demangling_style, test_demangling_core, test_demangling,
7439 test_demangling_exact): New functions.
7440 (test_gnu_style_demangling, test_lucid_style_demangling,
7441 test_arm_style_demangling, test_hp_style_demangling): Use those,
7442 instead of calling gdb_test and gdb_test_exact directly.
7443 (catch_demangling_errors): New function, which reports errors
7444 signalled by the demangling test functions in an orderly way.
7445 (do_tests): Use catch_demangling_errors.
7446
7447 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7448
7449 * gdb.base/signals.exp (test_handle_all_print): Use () for
7450 grouping in expressions, not {}.
7451
7452 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7453 initialized yet.
7454
7455 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7456
7457 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7458 are listed.
7459
7460 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7461
7462 * gdb.stabs/weird.exp: Test for CC being defined before
7463 looking at its value.
7464
7465 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7466
7467 * gdb.base/call-ar-st.exp: Remove stray '#'.
7468 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7469 "short int" and "long int".
7470 * gdb.c++/overload.cc: Cast the string added in the previous
7471 change, to mollify finicky HP compiler.
7472 * gdb.hp/reg-test.exp (testfile): Fix file name.
7473 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
7474
7475 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7476 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7477 alternate form of enum ptype.
7478
7479 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7480
7481 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7482 * gdb.hp/*.exp: Change all to run compiler probe only after
7483 passing skip_hp_tests, so as not to waste time on guaranteed
7484 failure.
7485
7486 * gdb.c++/overload.cc: Pass string instead of char addr, always
7487 init ccpfoo.
7488 * gdb.c++/templates.cc: Fix syntax error.
7489
7490 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7491
7492 * gdb.base/commands.exp: Add test for correct position of '>'
7493 when issuing the 'commands' command after a 'while' or 'if'
7494 command.
7495
7496 1999-03-18 James Ingham <jingham@cygnus.com>
7497
7498 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7499
7500 * gdb.c++/method.exp: It was testing an uninitialized int on the
7501 stack and assuming it was positive.
7502
7503 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7504
7505 * gdb.base/step-test.exp: Catch a case where finish is broken and
7506 keep it from killing the rest of the tests.
7507 Use gdb_continue_to_end.
7508
7509 * gdb.base/sigall.exp: use gdb_continue_to_end.
7510
7511 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7512
7513 * gdb.base/display.exp: use runto_main, not run.
7514
7515 * gdb.base/default.exp: Check for the current error message in the
7516 r abbreviation test.
7517 Add strongarm to the targets that know info float.
7518
7519 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7520 run which doesn't work with monitors.
7521
7522 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7523
7524 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7525
7526 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
7527 program. Traps the case (in Cygmon) when the program never really
7528 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7529 more places, so I used my name. Sorry Mark...
7530
7531 * config/monitor.exp (gdb_target_monitor): added another
7532 target_info parameter: remotebinarydownload. This will set the
7533 remotebinarydownload flag if this is causing some boards trouble.
7534
7535 1999-03-18 Mark Salter <msalter@cygnus.com>
7536
7537 * lib/gdb.exp (continue_to_exit): New function.
7538
7539 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7540 * gdb.base/ending-run.exp: Ditto.
7541 * gdb.base/step-test.exp: Ditto.
7542
7543 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7544
7545 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7546 (suggested by Art Haas <ahaas@neosoft.com>).
7547
7548 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7549
7550 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7551
7552 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7553
7554 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7555 descriptions of types (short unsigned int vs unsigned short, etc).
7556
7557 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7558
7559 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7560 a call to strlen; sometimes we do have sources.
7561
7562 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7563
7564 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7565 character, so GDB won't print garbage after its end.
7566
7567 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7568 breakpoint there instead. Sometimes GCC emits memcpy to handle
7569 the large structures being passed by value, so we step into that
7570 instead of sum_array_print, which obscures what we're really testing.
7571 * gdb.base/step-test.exp: However, we do want a test that notices
7572 the bizarre steps into memcpy, so do that here. Add check for
7573 stepping into function calls that pass large structures by value.
7574 ("Is that a noun clause, or are you just happy to see me?")
7575 Remove all references to specific line numbers.
7576 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7577 New type and function.
7578 (main): Call large_struct_by_value, passing it a large struct by value.
7579 * lib/gdb.exp (gdb_get_line_number): New function.
7580
7581 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7582 more portable.
7583
7584 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7585
7586 * lib/gdb.exp: Doc fixes.
7587
7588 1999-03-05 Nick Clifton <nickc@cygnus.com>
7589
7590 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7591
7592 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7593
7594 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7595 commands. They're not germane to this test, and they don't work
7596 that way on remote targets.
7597
7598 1999-03-01 James Ingham <jingham@cygnus.com>
7599
7600 * Changelog entries merged over from gdb development branch.
7601
7602 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7603
7604 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7605 for outputting results of test run.
7606
7607 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
7608
7609 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
7610
7611 1999-02-25 Felix Lee <flee@cygnus.com>
7612
7613 * lib/gdb.exp (debug_format): initialize
7614
7615 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7616
7617 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7618 * gdb.base/call-rt-st.c: Ditto.
7619
7620 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7621
7622 * gdb.threads/pthreads.exp (horiz): New variable.
7623 (test_startup): Fix regexps that capture thread numbers.
7624
7625 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7626
7627 * gdb.base/smoke.exp: Disambiguate two test case names (both
7628 called ``print'').
7629
7630 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7631
7632 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7633 compilation.
7634
7635 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7636
7637 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7638 actual output formatting.
7639 * gdb.base/smoke.exp: GDB removes leading 0's.
7640 * gdb.base/volatile.exp: Don't check type of remuneration;
7641 that variable is no longer defined in constvars.c.
7642 * gdb.base/step-test.c (main): Exit with explicit exit code.
7643 * gdb.base/step-test.exp: Remove two nexti checks--they are
7644 not portable.
7645
7646 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7647
7648 * gdb.base/help.exp ("help delete display"): Fix test to match
7649 gdb's output.
7650
7651 * gdb.base/long_long.c (known_types): Initialize values to zero.
7652 * gdb.base/long_long.exp: Step one more line
7653 so 'dec' is initialized in "get to known place". GDB removes
7654 leading zeros. Explicitly ask for hex formatting. Use
7655 unique test case names.
7656
7657 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7658
7659 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
7660
7661 * gdb.c++/method.exp: Add missing close brace.
7662
7663 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7664
7665 * gdb.base/maint.exp: Use 'set height 0' to disable page
7666 prompting, not 'set height 400'.
7667
7668 Fix a bunch of timeouts.
7669 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7670 four separate tests, so expect doesn't take forever to match a ton
7671 of text against a regexp with lots of .* forms.
7672 ("maint print psymbols", "maint print symbols"): Make some of
7673 these greps more selective, so that expect doesn't try to wade
7674 through huge piles of output and time out.
7675
7676 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7677
7678 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7679 tests: one which doesn't expect shlib events to be reported, and
7680 another which does, but is XFAIL for all platforms other than
7681 HP/UX.
7682
7683 * gdb.base/break.exp: Teach the test suite that the `catch
7684 fork', `catch vfork', and `catch exec' commands produce error
7685 messages on platforms that don't provide these features.
7686
7687 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7688
7689 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7690 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7691 (shortening names from solib_threshold.exp etc), won't run on
7692 anything but HP-UX for the foreseeable future.
7693 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7694 reflect move.
7695
7696 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7697
7698 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7699 gdb.trace/Makefile.in (clean): Remove all test executables.
7700
7701 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7702
7703 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7704 successfully re-sets breakpoints in shared libraries.
7705 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7706
7707 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7708
7709 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7710 and compiled w/o GCC.
7711
7712 * gdb.hp/watch-cmd.exp: ditto.
7713
7714 * gdb.hp/watch-hp.exp: ditto.
7715
7716 * gdb.hp/xdb1.exp: ditto.
7717
7718 * gdb.hp/xdb2.exp: ditto.
7719
7720 * gdb.hp/dbx.exp: ditto.
7721
7722 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7723
7724 * constvars.c: Remove C++-isms.
7725 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7726 with GCC.
7727
7728 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7729
7730 The following changes are part of the HP merge.
7731
7732 * gdb.base/break.exp: new tests to verify that catchpoints for
7733 fork, vfork, and exec don't trigger inappropriately.
7734
7735 * gdb.base/opaque.exp: compile one file at a time, then link.
7736
7737 * gdb.base/signals.exp: be more restrictive about which hppa
7738 systems receive a setup_xfail. new tests.
7739
7740 * gdb.base/solib_threshold.build: new file.
7741 * gdb.base/solib_threshold.exp: new file.
7742 * gdb.base/solib_threshold.link_opts: new file.
7743 * gdb.base/solib_threshold.mk: new file.
7744 * gdb.base/gen_solib_threshold.c: new file.
7745
7746 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7747 tests. New tests for enums inside classes.
7748
7749 * gdb.c++/compiler.cc: indicate support of template debugging.
7750
7751 * gdb.c++/demangle.exp: run hp style demangling tests.
7752
7753 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7754 tests.
7755
7756 * gdb.c++/misc.cc: changes to support new tests.
7757
7758 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7759 to support new tests.
7760
7761 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7762 gcc, then skip these tests.
7763
7764 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7765
7766 The following files are part of the HP merge; some had longer
7767 names at HP, but have been renamed to be no more than 14
7768 characters in length.
7769
7770 * gdb.hp/ambiguous.cc: new file.
7771 * gdb.hp/ambiguous.exp: new file.
7772 * gdb.hp/attach.exp: new file.
7773 * gdb.hp/attach2.exp: new file.
7774 * gdb.hp/classes-hp.exp: new file.
7775 * gdb.hp/ctti.exp: new file.
7776 * gdb.hp/ctti-add.cc: new file.
7777 * gdb.hp/ctti-add1.cc: new file.
7778 * gdb.hp/ctti-add2.cc: new file.
7779 * gdb.hp/ctti-add3.cc: new file.
7780 * gdb.hp/dbx.exp: new file.
7781 * gdb.hp/exception.cc: new file.
7782 * gdb.hp/exception.exp: new file.
7783 * gdb.hp/foll-exec.c: new file.
7784 * gdb.hp/foll-exec.exp: new file.
7785 * gdb.hp/foll-fork.c: new file.
7786 * gdb.hp/foll-fork.exp: new file.
7787 * gdb.hp/foll-vfork.c: new file.
7788 * gdb.hp/foll-vfork.exp: new file.
7789 * gdb.hp/inherit-hp.exp: new file.
7790 * gdb.hp/more-steps.exp: new file.
7791 * gdb.hp/namespace.cc: new file.
7792 * gdb.hp/namespace.exp: new file.
7793 * gdb.hp/optimize.exp: new file.
7794 * gdb.hp/pxdb.c: new file.
7795 * gdb.hp/pxdb.exp: new file.
7796 * gdb.hp/quicksort.exp: new file.
7797 * gdb.hp/reg-test.exp: new file.
7798 * gdb.hp/reg-test.s: new file.
7799 * gdb.hp/sized-enum.c: new file.
7800 * gdb.hp/sized-enum.exp: new file.
7801 * gdb.hp/start-stop.exp: new file.
7802 * gdb.hp/templ-hp.cc: new file.
7803 * gdb.hp/templ-hp.exp: new file.
7804 * gdb.hp/thr-lib.c: new file.
7805 * gdb.hp/thr-lib.exp: new file.
7806 * gdb.hp/thr-lib.h: new file.
7807 * gdb.hp/thr-liblib.c: new file.
7808 * gdb.hp/virtfun-hp.c: new file.
7809 * gdb.hp/virtfun-hp.exp: new file.
7810 * gdb.hp/watch-cmd.exp: new file.
7811 * gdb.hp/watch-hp.exp: new file.
7812 * gdb.hp/xdb1.exp: new file.
7813 * gdb.hp/xdb2.exp: new file.
7814 * gdb.hp/xdb3.exp: new file.
7815
7816 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7817
7818 The following files are part of the HP merge; some had longer
7819 names at HP, but have been renamed to be no more than 14
7820 characters in length.
7821
7822 * gdb.base/ss.h: new file.
7823 * gdb.base/call-ar-st.c: new file.
7824 * gdb.base/call-ar-st.exp: new file.
7825 * gdb.base/call-rt-st.c: new file.
7826 * gdb.base/call-rt-st-exp: new file.
7827 * gdb.base/call-strs.exp: new file.
7828 * gdb.base/ena-dis-br.exp: new file.
7829 * gdb.base/environ.exp: new file.
7830 * gdb.base/long_long.exp: new file.
7831 * gdb.base/sect-cmd.exp: new file.
7832 * gdb.base/shlib-cl2.exp: new file.
7833 * gdb.base/smoke.exp: new file.
7834 * gdb.base/so-impl-ld.c: new file.
7835 * gdb.base/so-impl-ld.exp: new file.
7836 * gdb.base/so-indr-cl.c: new file.
7837 * gdb.base/so-indr-cl.exp: new file.
7838 * gdb.base/varargs.exp: new file.
7839 * gdb.base/volatile.exp: new file.
7840 * gdb.base/whatis-exp.exp: new file.
7841 * gdb.base/display.exp: new file.
7842 * gdb.c++/derivation.exp: new file.
7843 * gdb.c++/local.exp: new file.
7844 * gdb.c++/member-ptr.exp: new file.
7845 * gdb.c++/overload.exp: new file.
7846 * gdb.c++/ovldbreak.exp: new file.
7847 * gdb.c++/ref-types.exp: new file.
7848 * gdb.c++/ref-types2.exp: new file.
7849 * gdb.c++/userdef.exp: new file.
7850
7851 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7852
7853 * gdb.base/default.exp: Reflect wording change in remote.c.
7854
7855 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
7856
7857 * gdb.base/help.exp: Update to reflect current text.
7858
7859 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7860
7861 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7862 they're stack variables and contain garbage.
7863 * gdb.c++/anon-union.exp: new file.
7864
7865 The following changes were made by David Taylor
7866 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7867 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7868 in changes by HP.
7869
7870 * gdb.base/bitops.exp: new file.
7871 * gdb.base/default.exp: change expected messages for catch and
7872 info catch tests to reflect HP merge changes.
7873 * gdb.base/enable-disable-break.exp
7874 * gdb.base/ending-run.c: new file.
7875 * gdb.base/long_long.c: new file.
7876 * gdb.base/maint.exp: new file.
7877 * gdb.base/pointers2.exp: new file.
7878 * gdb.base/shlib-call2.exp: new file.
7879 * gdb.base/solib.exp: new file.
7880 * gdb.base/step-test.c: new file.
7881 * gdb.c++/anon-union.cc: new file.
7882 * gdb.c++/local.cc: new file.
7883 * gdb.c++/member-pointer.cc: new file.
7884 * gdb.c++/method.cc: new file.
7885 * gdb.c++/ref-types.cc: new file.
7886 * gdb.c++/ref-types2.cc: new file.
7887 * gdb.c++/userdef.cc: new file.
7888
7889 * gdb.base/scope.exp: compile one file at a time, then link.
7890 * gdb.base/langs.exp: ditto.
7891 * gdb.base/list.exp: ditto.
7892
7893 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
7894
7895 The following changes were made by David Taylor
7896 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7897 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7898 in changes by HP.
7899
7900 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7901 skip tests. When compiling pass c++ flag to gdb_compile.
7902 * gdb.c++/
7903
7904 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7905 test for on hppa*-*-hpux*; use args to see if c++ was specified.
7906 (skip_hp_tests): new function.
7907 (gdb_preprocess): new function.
7908
7909 * configure.in (hpdir): decide whether to configure gdb.hp.
7910 * configure: regenerated.
7911
7912 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7913 to delete on clean.
7914 (EXECUTABLES): update to reflect new additions.
7915 * gdb.base/commands.exp: update message expected.
7916 * gdb.base/default.exp: add copyright notice.
7917 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7918 * gdb.base/help.exp: update messages to reflect current text.
7919 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7920 targets for recurse tests.
7921 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7922 skip this file.
7923
7924 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7925 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7926 compilation.
7927 * gdb.c++/misc.exp: ditto.
7928 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7929 run the tests. tell gdb_compile that it's a c++ compilation.
7930
7931 * gdb.threads/pthreads.exp: fix typo in message.
7932
7933 * gdb.base/all-bin.exp: new file.
7934 * gdb.base/arithmet.exp: new file.
7935 * gdb.base/assign.exp: new file.
7936 * gdb.base/completion.exp: new file.
7937 * gdb.base/cond-expr.exp: new file.
7938 * gdb.base/condbreak.exp: new file.
7939 * gdb.base/define.exp: new file.
7940 * gdb.base/dollar.exp: new file.
7941 * gdb.base/environment.exp: new file.
7942 * gdb.base/eval-skip.exp: new file.
7943 * gdb.base/jump.exp: new file.
7944 * gdb.base/logical.exp: new file.
7945 * gdb.base/pointers.exp: new file.
7946 * gdb.base/relational.exp: new file.
7947 * gdb.base/section_command.exp: new file.
7948 * gdb.base/whatis-expr.exp: new file.
7949
7950 * gdb.base/all-types.c: new file.
7951 * gdb.base/call-array-struct.c: new file.
7952 * gdb.base/call-return-struct.c: new file.
7953 * gdb.base/call-strings.c: new file.
7954 * gdb.base/callfuncs2.c: new file.
7955 * gdb.base/condbreak.c: new file.
7956 * gdb.base/constvars.c: new file.
7957 * gdb.base/display.c: new file.
7958 * gdb.base/int-type.c: new file.
7959 * gdb.base/jump.c: new file.
7960 * gdb.base/miscexprs.c: new file.
7961 * gdb.base/pointers.c: new file.
7962 * gdb.base/pointers2.c: new file.
7963 * gdb.base/shmain.c: new file.
7964 * gdb.base/shr1.c: new file.
7965 * gdb.base/shr2.c: new file.
7966 * gdb.base/solib.c: new file.
7967 * gdb.base/solib1.c: new file.
7968 * gdb.base/solib2.c: new file.
7969 * gdb.base/varargs.c: new file.
7970 * gdb.c++/derivation.cc: new file.
7971 * gdb.c++/overload.cc: new file.
7972 * gdb.c++/ovldbreak.cc: new file.
7973 * gdb.hp/attach.c: new file.
7974 * gdb.hp/attach2.c: new file.
7975 * gdb.hp/average.c: new file.
7976 * gdb.hp/compiler.c: new file.
7977 * gdb.hp/compiler.cc: new file.
7978 * gdb.hp/execd-program.c: new file.
7979 * gdb.hp/follow-exec.c: new file.
7980 * gdb.hp/follow-fork.c: new file.
7981 * gdb.hp/follow-vfork-and-exec.c: new file.
7982 * gdb.hp/misc-hp.cc: new file.
7983 * gdb.hp/more-steps.c: new file.
7984 * gdb.hp/optimize.c: new file.
7985 * gdb.hp/quicksort.c: new file.
7986 * gdb.hp/run-hp.c: new file.
7987 * gdb.hp/start-stop.c: new file.
7988 * gdb.hp/sum.c: new file.
7989 * gdb.hp/templates-hp.cc: new file.
7990 * gdb.hp/thread-local-in-lib.c: new file.
7991 * gdb.hp/thread-local-in-lib.h: new file.
7992 * gdb.hp/thread-local-in-lib.lib.c: new file.
7993 * gdb.hp/vforked-program.c: new file.
7994 * gdb.hp/virtfunc-hp.cc: new file.
7995 * gdb.hp/watchpoint-hp.c: new file.
7996 * gdb.hp/xdb.c: new file.
7997 * gdb.hp/xdb0.c: new file.
7998 * gdb.hp/xdb0.h: new file.
7999 * gdb.hp/xdb1.c: new file.
8000
8001 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
8002
8003 The following change was made by Edith Epstein
8004 <eepstein@cygnus.com> as part of a project to merge in changes
8005 originally made by HP; HP did not create ChangeLog entries.
8006
8007 * gdb.c++/demangle.exp: changed the expected output for some
8008 ARM-style mangling -- removed second reference to datatype.
8009 For example, maint demangle __dt__11T1__pt__2_cFv
8010 T1<char>::~T1<char>(void)
8011 becomes,
8012 maint demangle __dt__11T1__pt__2_cFv
8013 T1<char>::~T1(void)
8014
8015 (test_hp_style_demangling): new hp specific demangling test cases.
8016
8017 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
8018
8019 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
8020 * gdb.trace/backtrace.exp: Likewise.
8021 * gdb.trace/circ.exp: Likewise.
8022 * gdb.trace/collection.exp: Likewise.
8023 * gdb.trace/deltrace.exp: Likewise.
8024 * gdb.trace/infotrace.exp: Likewise.
8025 * gdb.trace/limits.exp: Likewise.
8026 * gdb.trace/packetlen.exp: Likewise.
8027 * gdb.trace/passc-dyn.exp: Likewise.
8028 * gdb.trace/passcount.exp: Likewise.
8029 * gdb.trace/report.exp: Likewise.
8030 * gdb.trace/save-trace.exp: Likewise.
8031 * gdb.trace/tfind.exp: Likewise.
8032 * gdb.trace/tracecmd.exp: Likewise.
8033 * gdb.trace/while-dyn.exp: Likewise.
8034 * gdb.trace/while-stepping.exp: Likewise.
8035
8036 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
8037
8038 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
8039
8040 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
8041
8042 From Brendan Kehoe:
8043 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
8044 int return types.
8045
8046 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
8047
8048 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
8049 remote dos host testing right.
8050
8051 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
8052
8053 * gdb.base/corefile.exp: remove some xfails.
8054
8055 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
8056
8057 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
8058 have different timestamps.
8059
8060 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
8061
8062 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
8063 gdb.base/default.exp: Replace "exec" with "executable".
8064
8065 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
8066
8067 * gdb.base/default.exp: Change else if to elseif from previous
8068 delta.
8069
8070 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
8071
8072 * gdb.base/default.exp: Add brace missing from previous delta.
8073
8074 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
8075
8076 * gdb.base/default.exp: Support test for info float for all
8077 varieties of arm toolchain.
8078
8079 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
8080
8081 * gdb.trace/*.exp: remove "remote_download" command.
8082
8083 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
8084
8085 * gdb.trace/*.exp: remove -gdwarf from compile.
8086
8087 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
8088
8089 * gdb.trace/configure.in(AC_INIT): typo
8090 * gdb.trace/configure: regenerated
8091
8092 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
8093
8094 * config/m68k-emc.exp: New file.
8095 * lib/<emc-support.exp trace-support.exp}: New files.
8096 * configure.in: add new test directory gdb.trace.
8097 * gdb.trace/{configure configure.in Makefile.in}: New files.
8098 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
8099 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
8100 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
8101 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
8102 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
8103 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
8104 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
8105
8106 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
8107
8108 * gdb.c++/classes.exp: Change all regular expressions to match
8109 arbitrary combinations of newline/carriage-return, so that they
8110 will work equally well on Unix and Windows.
8111 * gdb.c++/inherit.exp: ditto.
8112 * gdb.c++/virtfunc.exp: ditto.
8113
8114 1998-08-11 Dawn Perchik <dawn@cygnus.com>
8115
8116 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
8117
8118 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
8119
8120 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
8121 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
8122 to use a0-a3/d0-d3 as needed.
8123
8124 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
8125
8126 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
8127 * gdb.disasm/am33.exp: Corresponding changes.
8128
8129 1998-07-11 Felix Lee <flee@cygnus.com>
8130
8131 * gdb.base/callfuncs.exp: add cmp10 test.
8132 * gdb.base/callfuncs.c (cmp10): new function.
8133
8134 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
8135
8136 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
8137 into two parts to get around a synchronization problem in expect.
8138
8139 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
8140
8141 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
8142
8143 * configure.in: Add options for gdbtk testsuite.
8144
8145 * configure: Regenerate.
8146
8147 * gdb.gdbtk: New directory to hold gdbtk tests.
8148
8149 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8150
8151 * gdb.fortran/types.exp: Escape brackets in expect patterns
8152 for test_float_literal_types_accepted tests.
8153 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
8154 before run test.
8155
8156 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
8157
8158 * am33.exp: Just compile, do not link the testcase.
8159 * am33.s: Add ".am33" pseudoop to force am33 mode.
8160
8161 1998-06-25 Felix Lee <flee@cygnus.com>
8162
8163 * gdb.base/setshow.exp: make sure $pc is sane.
8164
8165 * gdb.stabs/weird.exp: split expect patterns properly.
8166
8167 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
8168
8169 * gdb.disasm/am33.s: New disassembler testfile for the am33.
8170 * gdb.disasm/am33.exp: Run it.
8171
8172 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
8173
8174 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
8175 match processing (and eliminate spurious timeouts when running).
8176
8177 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
8178
8179 * gdb.base/signals.exp (test_handle_all_print): put back Mach
8180 exception test, but conditionalize it on target [mach | gnu].
8181
8182 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
8183
8184 * gdb.base/overlays.exp: fixup compile line for linker script.
8185
8186 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
8187
8188 * gdb.fortran/types.exp: don't guess at float size.
8189
8190 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
8191
8192 * gdb.base/exprs.exp: delete test that depends on int size.
8193
8194 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
8195
8196 * config/sim.exp: Removed checks for target triplets.
8197 (gdb_target_sim): Use gdb,target_sim_options.
8198
8199 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
8200
8201 * gdb.base/reread.exp: New file.
8202 * gdb.base/reread1.c: New file.
8203 * gdb.base/reread2.c: New file.
8204
8205 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
8206
8207 * config/sim.exp: Use 'target sim -sparclite' when running
8208 SPARClite programs.
8209
8210 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
8211
8212 * gdb.base/structs2.exp: New file.
8213 * gdb.base/structs2.c: New file.
8214
8215 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
8216
8217 * gdb.asm/common.inc: New file.
8218 * gdb.asm/d10v.inc: New file.
8219 * asm-source.exp: Pass -I's to gas to find .inc files.
8220 Update line numbers in expected output.
8221 * asmsrc1.s: Rewrite.
8222 * asmsrc2.s: Rewrite.
8223 * configure.in: Create arch.inc symlink.
8224 * configure: Regenerate.
8225 * Makefile.in (distclean): Delete arch.inc.
8226
8227 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
8228
8229 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
8230 (t_enum_value2): ditto
8231 (t_enum_value3): ditto
8232 (main): ditto
8233 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8234
8235 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
8236 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
8237 change.
8238 Use gdb_test instead of send_gdb/gdb_expect sequences.
8239
8240 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
8241
8242 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
8243 not void.
8244
8245 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
8246
8247 * gdb.base/branches.c: Code with lots of loops and
8248 subroutines. Used to test gdbs ability to single step through PC
8249 changes, especially to test mips-tdep.c:mips_next_pc
8250
8251 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
8252
8253 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
8254 more rigorous EGCS C++ error checking.
8255
8256 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8257
8258 * gdb.base/help.exp: Clean up `help set args' and `help show args'
8259 tests.
8260 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
8261 function when asleep.
8262 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
8263 for i*86 Linux and SVR4 signal handling problems.
8264 Remove linux xfail for `next to handler in signals_tests_1', fixed
8265 by recent infrun.c change.
8266 Limit backtrace to 10 frames to avoid timeout problems with infinite
8267 stack backtraces.
8268 Adjust expect pattern in `handle all print' test to match Apr 28 1997
8269 target.[ch] change.
8270
8271 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
8272
8273 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
8274 for a newline from gdb before continuing.
8275 (default_gdb_exit): Just look for y or n.
8276 (gdb_test): Detect abnormal exit from GDB running on DOS; if
8277 it does, fail the rests of the tests in the file.
8278
8279 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
8280
8281 * config/cygmon.exp: New file.
8282
8283 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
8284
8285 * gdb.base/list.exp: Fix problem with "list default lines around
8286 main" test on remote targets.
8287
8288 * gdb.base/scope.exp: Fix problem with filelocal_bss before
8289 run test on remote targets.
8290
8291 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
8292
8293 * gdb.asm: New directory.
8294 * configure.in: Configure it.
8295 * configure: Regenerate.
8296 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
8297 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
8298
8299 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
8300
8301 * config/mn10300-eval.exp: New file to support MN10300 eval board.
8302
8303 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
8304
8305 * gdb.base/overlays (several files): Merge the two overlay
8306 managers into one. Change variables (foox, barx, bazx, grbxx)
8307 back into ints but force them to load in their proper sections.
8308
8309 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
8310
8311 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
8312 on-chip insn memory and IMAP1 to upper 128k.
8313 (D10VCopy): Handle memory regions crossing 16k boundaries.
8314 (D10VCopy): Transfer data in 32 bit chunks.
8315
8316 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
8317
8318 * gdb.base/overlays.c (main): Exit normally when result is
8319 correct.
8320
8321 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
8322 map. Include space for printf in .text segment.
8323
8324 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
8325 updated d10v memory VMA/LMA map.
8326 (D10VCopy): Call D10VTranslate.
8327
8328 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
8329
8330 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8331
8332 * gdb.base/bar.c (barx, bar): Change variable to small array so
8333 that it won't be put into the .sdata - small data -
8334 section. Update reference.
8335 * gdb.base/baz.c (bazx, baz): Ditto.
8336 * gdb.base/foo.c (foox, foo): Ditto.
8337 * gdb.base/grbx.c (grbxx, grbx): Ditto.
8338
8339 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8340 to be arrays.
8341
8342 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
8343
8344 * gdb.base/overlays.exp: fix up and get working again.
8345 Add tests for backtraces from an overlay function.
8346
8347 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
8348
8349 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8350 "calling function with watchpoint enabled".
8351
8352 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
8353
8354 * gdb.base/break.exp (test_next_with_recursion): Remove
8355 gdb_suppress_tests for d10v-*-*.
8356 * lib/gdb.exp (gdb_suppress_tests): Disable this function
8357 pending review of whether it is useful or not.
8358
8359 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
8360
8361 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8362
8363 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
8364
8365 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8366 * config/dve.exp: New file to support Densan boards.
8367
8368 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
8369
8370 * gdb.base/interrupt.exp: Document problem of simulators, signals,
8371 reads and BSD.
8372
8373 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
8374
8375 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8376 response.
8377
8378 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8379
8380 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
8381
8382 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8383 test.
8384
8385 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8386 target_sizeof_long and target_bigendian_p.
8387 (structs_by_value, structs_by_reference): Check values according
8388 to targets word size and endianess.
8389
8390 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
8391
8392 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8393 output.
8394
8395 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
8396
8397 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8398 Update test of set args help to match source change.
8399
8400 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
8401
8402 * gdb.base/default.exp: Expect help system output to be in
8403 alphabetical order.
8404 * gdb.base/help.exp: Ditto.
8405
8406 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
8407
8408 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8409 "i*86-pc-linux-gnu*".
8410 * gdb.base/interrupt.exp: Ditto.
8411 * gdb.base/corefile.exp: Ditto.
8412
8413 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8414 define vxworks when building the testcase.
8415
8416 * gdb.base/ptype.exp: Fix testnames to be unique.
8417 * gdb.base/radix.exp: Ditto.
8418 * gdb.base/term.exp: Ditto.
8419 * gdb.base/whatis.exp: Ditto.
8420 * gdb.c++/classes.exp: Ditto.
8421
8422 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
8423
8424 * gdb.base/callfuncs.exp: Fix indentation.
8425
8426 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8427 suppress_flag has been set.
8428 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8429 target feature.
8430
8431 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
8432
8433 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8434 the testcase.
8435
8436 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8437 set_debug_traps() and breakpoint().
8438 * gdb.c++/misc.cc (main): Ditto.
8439 * gdb.c++/templates.cc (main): Ditto.
8440 * gdb.c++/virtfunc.cc (main): Ditto.
8441
8442 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8443
8444 * lib/gdb.exp(gdb_step_for_stub): New function.
8445 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8446 exists, reload the executable and do a "continue" instead of
8447 doing a jump.
8448 (runto_main): Use gdb_step_for_stub.
8449
8450 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8451 tests to have unique names.
8452 * gdb.base/callfuncs.exp: Ditto.
8453 * gdb.base/commands.exp: Ditto.
8454 * gdb.base/default.exp: Ditto.
8455 * gdb.base/help.exp: Ditto.
8456 * gdb.base/list.exp: Ditto.
8457 * gdb.base/opaque.exp: Ditto.
8458 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8459 similar tests.
8460
8461 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8462 * gdb.c++/cplusfuncs.cc: Ditto.
8463 * gdb.c++/virtfunc.cc: Ditto.
8464
8465 * config/monitor.exp: Keep track of the last file we saw, rather
8466 than trying to get the info from gdb.
8467
8468 * gdb.fortran/types.exp: Move comment to previous line.
8469
8470 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8471
8472 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8473 target mode.
8474
8475 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8476
8477 From Bob Manson:
8478 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8479 string from GDB when it connects.
8480
8481 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8482
8483 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8484
8485 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8486 if we can't get a debug format from GDB (we may be testing an
8487 older GDB). Use a 10 second timeout when checking for the format.
8488
8489 * gdb.stabs/weird.exp: Fix quoting.
8490
8491 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8492
8493 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8494
8495 * config/arm-ice.exp: New file.
8496
8497 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8498
8499 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8500 until it has been modified to work with the new testsuite.
8501
8502 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
8503 testcase won't compile, cause all of the testcases in the file to
8504 fail instead.
8505
8506 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8507 (gdb_clear_suppressed): New procedure.
8508 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8509 it contains a positive value.
8510
8511 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8512
8513 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8514
8515 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8516
8517 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8518
8519 * lib/gdb.exp (setup_xfail_format): New function.
8520 (get_debug_format): New function to get debug format.
8521 (debug_format): New global variable to hold last value set
8522 by get_debug_format.
8523 * gdb.base/list.exp: Call get_debug_format and expect some
8524 tests to fail for DWARF 1 and COFF formats.
8525 * gdb.c++/ptype.exp: Ditto.
8526 * gdb.c++/classes.exp: Ditto.
8527 * gdb.c++/cplusfuncs.exp: Ditto.
8528 * gdb.c++/inherit.exp: Ditto.
8529 * gdb.c++/templates.exp: Ditto.
8530 * gdb.c++/virtfunc.exp: Ditto.
8531
8532 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8533
8534 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8535 host doesn't have a currently-open connection.
8536
8537 * config/sparclet.exp: Cleanups and fixes to make it generic for
8538 any gdb stub target. Handle cases where gdb doesn't respond when
8539 interrupted in a sane fashion.
8540
8541 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8542 same thing in a totally different way.
8543
8544 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8545 setting "timeout".
8546 (gdb_start): We set the global gdb_prompt variable in
8547 default_gdb_init now.
8548
8549 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8550
8551 * gdb.base/printcmds.exp: Fix "check for floating addition"
8552 regexp to accept results within approx +/- .01 of exact value.
8553 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8554
8555 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8556
8557 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8558 properly.
8559 (gdb_expect): Add optional timeout parameter, and add timeout
8560 value to various calls.
8561 (gdb_suppress_tests): Only give one warning message per group.
8562
8563 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8564
8565 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8566 global variables. Handle getting a value for $timeout more
8567 gracefully.
8568
8569 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8570
8571 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8572 initialize.
8573 (default_gdb_init): New procedure; allow gdb_init to be overridden
8574 by a target configuration file.
8575 (gdb_expect): Pass the timeout to remote_expect.
8576
8577 * config/monitor.exp(gdb_load): Fix typo in regexp.
8578
8579 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8580
8581 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8582
8583 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8584
8585 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8586 here. Call gdb_target_exec before rebooting the target, to make
8587 sure the connection to the target is closed.
8588 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8589 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8590 Also detect "Timeout reading from remote" error.
8591
8592 * config/gdbserver.exp: Pass the executable being loaded to
8593 gdb_target_monitor. Don't call gdb_file_cmd here; let
8594 gdb_target_monitor do it.
8595
8596 * gdb.disasm/hppa.exp: Don't use exec_output.
8597
8598 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8599
8600 * gdb.base/list.exp: If we're debugging a non-native target,
8601 try to set the pc register to point to the start of the
8602 program before doing the first list command.
8603
8604 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8605 test_calls after restarting.
8606
8607 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8608 reloading.
8609
8610 * gdb.base/watchpoint.exp: Fix typo.
8611
8612 * gdb.base/setshow.exp: Check for use_gdb_stub.
8613
8614 * gdb.base/break.exp: Fix continue until exit test for the gdb
8615 stub case.
8616 * gdb.base/langs.exp: Ditto.
8617
8618 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8619 gdb_load_offset. If we weren't given a file to load, figure out
8620 what the current file is and use it.
8621
8622 * config/i386-bozo.exp: New file.
8623
8624 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8625
8626 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8627 feature.
8628
8629 * config/proelf.exp: New entry.
8630
8631 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8632
8633 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8634 of regexps.
8635
8636 * gdb.base/watchpoint.exp: Don't run the test_stepping
8637 tests if gdb can't call functions on the target.
8638
8639 * gdb.base/setshow.exp: Don't run the set prompt tests if
8640 the board has gdb_prompt set.
8641
8642 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8643
8644 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8645 * gdb.base/commands.exp: Likewise.
8646 * gdb.base/setshow.exp: Likewise.
8647
8648 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8649
8650 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8651 feature.
8652
8653 * config/i960.exp: New file.
8654
8655 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8656
8657 * gdb.base/funcargs.exp: Check for gdb,short_int target
8658 feature instead of looking for explicit target triplets.
8659
8660 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
8661
8662 * gdb.base/printcmds.exp: add a couple more tests a la
8663 "p 123DEADBEEF", to check parse_number.
8664 * top.c: change "to enable to enable" to "to enable" in a couple
8665 of help strings.
8666
8667 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8668
8669 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8670 on the mn10300.
8671
8672 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8673
8674 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8675 where the test executable is run with explicit args.
8676 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8677
8678 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8679
8680 * gdb.base/run.c: Use FAKEARGV to build test executable that
8681 does not require a command line arg, since most simulators
8682 don't currently support passing such an arg into the simulated
8683 program.
8684 * gdb.base/commands.exp: Change tests to insert the proper
8685 value as the arg to the first recursive factorial call. Change
8686 compilation line to define FAKEARGV at compile time.
8687
8688 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8689
8690 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8691 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8692 function with watchpoint enabled" test.
8693
8694 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8695
8696 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8697 Don't call gdb_test when the command doesn't return to a gdb prompt.
8698
8699 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8700 "Tests restarted" messages.
8701
8702 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8703
8704 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8705
8706 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
8707
8708 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8709 for INFO SYMBOL; add help tests for OVERLAY commands.
8710 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8711 add tests for OVERLAY commands
8712 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8713 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8714 * gdb.base/sigall.c: add usestubs code frag
8715 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
8716
8717 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8718
8719 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8720 failures.
8721 (gdb_stop_suppressing_tests): Note that tests have restarted.
8722
8723 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8724
8725 * config/h8300.exp: New file.
8726
8727 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8728
8729 * gdb.base/setshow.exp: Check for the existence of a
8730 feature, not its value.
8731
8732 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8733
8734 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8735
8736 * gdb.base/scope.exp: It's now init0(), not init().
8737
8738 * gdb.base/scope0.c: For now, change init() to be init0().
8739
8740 * config/monitor.exp: Use gdb_serial in preference to serial
8741 or netport.
8742
8743 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8744 and it's not already set.
8745
8746 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8747
8748 * gdb.base/setshow.exp: Only test the run command if the target
8749 isn't using a stub and if it supports argument passing.
8750
8751 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8752
8753 * config/udi.exp(gdb_start): Make sure UDICONF is set
8754 properly before starting gdb.
8755
8756 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8757
8758 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8759 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8760 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8761
8762 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8763
8764 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8765 specialized code to reboot the board, use remote_reboot instead.
8766
8767 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8768
8769 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8770
8771 * config/monitor.exp: Make sure we disconnect from the target.
8772 Also, try a reboot/reload cycle instead of failing if the
8773 load fails.
8774
8775 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8776
8777 * gdb.base/default.exp: Don't set match_max.
8778 * gdb.base/help.exp: Ditto.
8779 * gdb.base/list.exp: Ditto.
8780 * gdb.base/signals.exp: Ditto.
8781
8782 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8783 set, use remote_ld to download the testcase instead of
8784 the GDB loader.
8785
8786 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8787
8788 * config/vr5000.exp: New file.
8789
8790 * config/monitor.exp(gdb_target_monitor): Add pattern for
8791 "Ending remote" to detect errors in connecting.
8792
8793 * gdb.base/setshow.exp: Add .* within auto language test.
8794
8795 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8796 target feature.
8797
8798 * config/monitor.exp(gdb_load): Check for a failure when loading,
8799 and reboot the board if necessary.
8800
8801 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8802 a set of tests. Remove print.* from the patterns being checked.
8803
8804 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8805
8806 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8807 refer to gdb_spawn_id.
8808
8809 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8810 longer used.
8811 * config/sparclet.exp: Ditto.
8812 * config/sparclet-old.exp: Ditto.
8813 * config/slite.exp: Ditto.
8814 * config/sim.exp: Ditto.
8815 * gdb.base/funcargs.exp: Ditto.
8816
8817 * lib/gdb.exp:Remove references to gdb_spawn_id.
8818 (gdb_expect): Move to remote.exp.
8819
8820 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8821
8822 * config/monitor.exp: Detect the "Couldn't establish connection"
8823 message from GDB.
8824
8825 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8826
8827 * gdb.base/bitfields.exp: Use runto instead of explicit
8828 gdb_run_cmd/gdb_expect sequences.
8829
8830 * gdb.base/break.exp(text_next_with_recursion): Add match for
8831 gdb_expect call.
8832
8833 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8834 We also need to handle the "A program is being debugged already"
8835 prompt from gdb. Use gdb_test to set the baud rate.
8836
8837 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8838 to 20000. Really. I mean it.
8839
8840 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8841
8842 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8843 fails. If suppress_flag is set, skip perror message about not
8844 being able to send to GDB.
8845 (send_gdb): If suppress_flag is set, don't try to send commands to
8846 GDB.
8847 (gdb_expect): If suppress_flag is set, always fail immediately.
8848 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8849 (gdb_init): Call gdb_stop_suppressing_tests.
8850 (default_gdb_exit): Ditto.
8851 (default_gdb_start): Ditto.
8852
8853 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8854 gdb_stop_suppressing_tests as appropriate.
8855 * gdb.base/break.exp: Ditto.
8856 * gdb.base/callfuncs.exp: Ditto.
8857 * gdb.base/commands.exp: Ditto.
8858 * gdb.base/exprs.exp: Ditto.
8859 * gdb.base/funcargs.exp: Ditto.
8860 * gdb.base/list.exp: Ditto.
8861 * gdb.base/recurse.exp: Ditto.
8862 * gdb.base/scope.exp: Ditto.
8863 * gdb.base/structs.exp: Ditto.
8864 * gdb.c++/inherit.exp: Ditto.
8865
8866 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8867
8868 * config/vr4300.exp: New file.
8869
8870 * gdb.*/*.exp: Call gdb_expect instead of expect.
8871
8872 * lib/gdb.exp(gdb_expect): New function.
8873
8874 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
8875
8876 * lib/gdb.exp(gdb_init): New function.
8877
8878 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8879 for each individual variable set.
8880
8881 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8882 name.
8883
8884 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8885
8886 * gdb.base/scope.exp: Use gdb_test.
8887
8888 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8889 aborting; the testsuite driver will do that for us (see
8890 gdb_finish). Also, use gdb_test in a few more places.
8891
8892 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
8893
8894 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8895
8896 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
8897
8898 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8899 and "add_tests" are not at the same address.
8900
8901 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
8902
8903 * gdb.base/ptype.exp: Use gdb_test.
8904
8905 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
8906
8907 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8908 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8909 left in. No longer expect them to fail.
8910
8911 * gdb.stabs/*.mt; Deleted, no longer used.
8912 * gdb.stabs/configure.in: Remove references to target makefile
8913 frags.
8914 * gdb.stabs/configure: Rebuilt.
8915
8916 * gdb.disasm/*.mt: Deleted, no longer used.
8917 * gdb.disasm/configure.in: Remove references to target makefile
8918 frags. Use "sh3.s" as the unique filename for this directory.
8919 * gdb.disasm/configure: Rebuilt.
8920
8921 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8922 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8923 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8924
8925 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
8926
8927 * config/udi.exp: Use mondfe,name instead of remote_host.
8928
8929 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
8930
8931 * gdb.base/watchpoint.exp: Don't expect a failure when calling
8932 a function with a watchpoint enabled on the mn10200.
8933
8934 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8935 before trying to create it!
8936
8937 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
8938
8939 * config/vx.exp: Use hostname instead of netport.
8940
8941 * config/vxworks.exp: New file.
8942
8943 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8944
8945 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
8946 gdb before assuming everything worked. Send a ^C if a timeout
8947 occurs.
8948
8949 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8950 $gdb_spawn_id directly.
8951 (gdb_run_cmd): Try _start as well as start. Use the target feature
8952 gdb,start_symbol as the symbol to start from when jumping.
8953
8954 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
8955
8956 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8957 redundant) test.
8958
8959 * gdb.base/recurse.exp: Relax final value test for 'b' so that
8960 it doesn't lose for 16bit integer systems.
8961
8962 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
8963
8964 * gdb.fortran/types.exp: If the target doesn't support "double"
8965 data types, then expect "real" types to only be 4 bytes.
8966
8967 * gdb.c++/virtfunc.exp: Expect failure for virtual function
8968 call tests if the target doesn't support inferior function calls.
8969
8970 * gdb.base/printcmds.exp: Allow minor deviation in FP values
8971 in printf tests.
8972
8973 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
8974
8975 * gdb.base/help.exp: Disable "help set", "help show", and
8976 "help support". Simplify regexp for "help stack".
8977
8978 * gdb.base/default.exp: Set match_max to 5000 and the timeout
8979 to 60 seconds. Temporarily set match_max to 15000 around the
8980 "info copying" test.
8981
8982 * gdb.base/nodebug.exp: Don't try to do an inferior function
8983 call if the target doesn't support them.
8984 * gdb.base/printcmds.exp: Likewise.
8985 * gdb.base/setvar.exp: Likewise.
8986 * gdb.base/structs.exp: Likewise.
8987 * gdb.c++/templates.exp: Likewise.
8988 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
8989
8990 * gdb.base/recurse.exp: Enable for the mn10200.
8991
8992 * configure.in: Do configure gdb.stabs directory for *-*-elf
8993 targets.
8994 * configure: Rebuilt.
8995
8996 * gdb.base/break.exp: Check for gdb,noresults before testing
8997 exit status and/or results from the target.
8998 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
8999 * lib/gdb.exp: Remove old (now bogus) initialization of
9000 noinferior, noargs, noresults and nosignals.
9001
9002 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
9003
9004 * config/sh.exp: New file.
9005
9006 * config/slite.exp: Try to connect multiple times to the board
9007 before rebooting. Only send a "monitor run" if need_monitor_run
9008 is set.
9009
9010 * gdb.base/break.exp: Don't do the "stub continue" test if
9011 the target has gdb_stub set.
9012
9013 * gdb.base/callfuncs.exp: Increase the timeout.
9014
9015 * gdb.base/interrupt.exp: Don't even try to compile the testcase
9016 if the target has gdb,noinferiorio set.
9017
9018 * gdb.base/list.exp: Increase match_max to 10000 characters.
9019
9020 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
9021
9022 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
9023 target.
9024
9025 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
9026
9027 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
9028
9029 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
9030 trying to delete the copy of gdb. Catch the file delete so we
9031 don't die if the delete fails; also, the file should be copied to
9032 the host, not to the build.
9033
9034 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
9035
9036 * lib/gdb.exp(gdb_test): Surround the result pattern with
9037 parenthesis in case it contains multiple regexps separated
9038 with |.
9039
9040 * gdb.base/watchpoint.exp: Use gdb_test.
9041 * gdb.base/default.exp: Ditto.
9042
9043 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
9044
9045 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
9046
9047 * gdb.base/scope.exp: Use gdb_test.
9048 * gdb.c++/classes.exp: Ditto.
9049 * gdb.c++/inherit.exp: Ditto.
9050
9051 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
9052
9053 * gdb.base/crossload.exp: Don't use execute_anywhere, use
9054 remote_exec instead.
9055 * gdb.base/corefile.exp: Don't be ridiculous.
9056 * gdb.base/*.c: Add missing stub invocations.
9057
9058 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
9059
9060 * config/slite.exp: Miscellaneous fixes.
9061
9062 * lib/gdb.exp: Fix runto.
9063
9064 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
9065 the target.
9066
9067 * gdb.base/watchpoint.exp: Fix regexp.
9068
9069 * lib/gdb.exp(default_gdb_exit): Add a catch to the
9070 close and wait commands, as the descriptor may now be
9071 invalid. Always call "remote_close host".
9072
9073 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
9074
9075 Major rewrite for testsuite revision.
9076
9077 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
9078 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
9079 instead of relying on spawn_id to always contain a valid
9080 spawn id.
9081 (get_compiler_info): New procedure to build the ${binfile}.ci
9082 file, instead of replicating this in N different places.
9083 (gdb_compile): New procedure.
9084
9085 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
9086 appropriate arguments) instead of compile. Use gdb_test in a lot
9087 more places. Use send_gdb instead of send. Always run gdb_start
9088 at the start of a testcase, as this is no longer done magically.
9089
9090 config/*-gdb.exp: Rename without the -gdb suffix.
9091
9092 config/mips.exp: Use remote_close instead of exit_remote_shell.
9093 config/monitor.exp: Use target_info instead of looking at
9094 baud, timeout, etc.
9095 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
9096
9097 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9098
9099 * gdb.c++/templates.exp (test_ptype_of_templates),
9100 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
9101 Update expect patterns for destructors and assignment operators
9102 to match corresponding c-typeprint.c changes.
9103 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
9104 to destructor breakpoint test, GDB should be able to set the
9105 destructor breakpoint without specifying arguments.
9106
9107 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
9108
9109 * gdb.threads/pthreads.exp: Change result for failure to compile due
9110 to lack of pthreads runtime support from an error to simply an
9111 unsupported test, per dejagnu standards.
9112
9113 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9114
9115 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
9116 where GDB exits to reduce pattern match time.
9117 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
9118
9119 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
9120
9121 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
9122
9123 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
9124 * gdb.base/default.exp: ditto.
9125 * gdb.base/nodebug.exp: ditto.
9126 * gdb.base/printcmds.exp: ditto.
9127 * gdb.base/ptype.exp: ditto.
9128 * gdb.base/setvar.exp: ditto.
9129 * gdb.base/structs.exp: ditto.
9130 * gdb.base/setshow.c: Guard against uninitialized values of argc.
9131
9132 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
9133
9134 * configure, */configure: Rebuild with autoconf 2.12.
9135
9136 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
9137
9138 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
9139 use new i*86-pc-linux*-gnu quads.
9140 * gdb.base/corefile.exp: Ditto.
9141 * gdb.base/signals.exp: Ditto.
9142 * gdb.base/sigall.exp: Ditto.
9143 * gdb.base/interrupt.exp: Ditto.
9144
9145 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
9146 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
9147 RedHat 4.0.
9148
9149 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
9150 linux. This allows the test case to at least compile on latest
9151 linux, but still not run due to missing the threads runtime library.
9152
9153 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9154
9155 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
9156 directory to search gdb directory. Accept and step over conditional
9157 stack alignment code. Consume $prompt in failure cases.
9158 Reset timeout to $oldtimeout instead of some arbitrary value.
9159 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
9160 timeout problems with infinite stack backtraces.
9161 * gdb.base/ptype.exp (ptype struct link, union tu_link):
9162 Accept function parameters for linkfunc member.
9163
9164 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
9165
9166 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
9167 (CXXFLAGS): Remove, unreferenced.
9168 (B_OPTIONS): Add for -B options and add code to initialize with
9169 previous -B options and also add -B option to pick up cross compiled
9170 runtime.
9171 (TARGET_INCLUDES): Add for -I options and add code to initialize when
9172 doing cross compiles.
9173 (target_alias): Declare global.
9174 (xgcc): Set variable to full path of gcc in build tree. Use findfile
9175 to verify that gcc exists in build tree, and if so set CC to that
9176 gcc and to use B_OPTIONS and TARGET_INCLUDES.
9177
9178 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
9179
9180 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
9181 ptype test for anonymous union. Fixup testcase to match
9182 current gcc debug output.
9183
9184 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
9185
9186 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
9187 force argument to an unsigned long type.
9188
9189 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
9190
9191 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
9192 tests and anonymous union print/ptype tests.
9193 * gdb.base/list.exp (test_forward-search): Increase timeout by
9194 5 minutes for the "search extremely long line" case.
9195 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
9196 completely optional and that the pass/fail messages use the command as
9197 the message if that third arg is a null string.
9198 (gdb_test_exact): Arrange that a null string pattern means match a
9199 null string output rather than any output, which might include random
9200 errors.
9201 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
9202 backtrace test.
9203 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
9204 always failing and failure is now exposed by gdb.exp changes.
9205
9206 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
9207
9208 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
9209 weren't being noted.
9210
9211 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9212
9213 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
9214 * gdb.stabs/weird.exp: Remove v_comb xfails.
9215
9216 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
9217
9218 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
9219 list.exp scope.exp watchpoint.exp]
9220 Make all timeout error msgs explicitly say "(timeout)".
9221
9222 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
9223
9224 * config/monitor.exp: Increase download timeout to 1000 seconds.
9225
9226 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
9227
9228 * config/m32r.exp: Increase timeout to 120 seconds.
9229
9230 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
9231
9232 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
9233 and accept older ordering as obsolescent gcc or gdb.
9234 * gdb.c++/templates.exp: Ditto.
9235 * gdb.c++/virtfunc.exp: Ditto.
9236
9237 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
9238
9239 * gdb.base/coremaker.c: Add code to mmap some data so we
9240 can check that it ends up in the core file.
9241 * gdb.base/corefile.exp: Add test to read mmapped data
9242 from core file.
9243
9244 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
9245
9246 * config/m32r.exp: New file.
9247
9248 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
9249
9250 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
9251 that cflags can contains -gstabs, and work correctly for other tests.
9252
9253 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
9254
9255 * gdb.base/setshow.exp: New file, tests show and set.
9256 * gdb.base/setshow.c: New file, tests show and set.
9257 * gdb.base/help.exp: Add test for help set|show annotate.
9258 * gdb.base/default.exp: Add test for set|show annotate.
9259
9260 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
9261
9262 * testsuite/gdb.base/break.exp: Make backtrace from factorial
9263 errors unique.
9264 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
9265 explicitly.
9266
9267 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
9268
9269 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
9270 and width commands. This is done elsewhere.
9271 * (gdb_start): Don't call gdb_start_sim here. That's already
9272 done in gdb_load. This fixes lots of failures in default.exp.
9273
9274 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
9275
9276 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
9277 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
9278 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
9279 in the same we we treat other failures (since it may be an expected
9280 condition), rather than as an error.
9281 * gdb.base/signals.exp (test_handle_all_print): Revert back to
9282 old test format.
9283
9284 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
9285
9286 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
9287 (distclean maintainer-clean realclean): No need to remove files
9288 twice. Nuke the duplicates.
9289 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
9290 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
9291 Remove config.h along with other config files.
9292
9293 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
9294
9295 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
9296 "p func1 ()" and note that rests of tests are skipped.
9297 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
9298 setup_xfails for "print func2::coremaker_local".
9299 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
9300 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
9301 affected by the previous run test.
9302 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
9303 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
9304 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
9305 "pass int powerset tuple" and "pass modeless int powerset tuple".
9306 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
9307 "real write 4" and "real write 8".
9308 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
9309 setup_xfails for "print vs1 after tuple assign 2",
9310 "print \$i after tuple assign 2", and
9311 "print vs2 after tuple assign 2".
9312 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
9313 meaningful error message and return -1 so the caller can
9314 suppress further tests and avoid a cascade of errors.
9315
9316 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
9317
9318 * gdb.base/a1-selftest.exp: Tweak tests to account for new
9319 format for printing version.
9320 * gdb.base/default.exp: Ditto.
9321 * gdb.base/interrupt.exp: Fix problem with cascade of
9322 errors if child process dies while calling a function.
9323
9324 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
9325
9326 * Makefile.in (VPATH): Add
9327 * Makefile.in (Makefile, config.status): Fix rules so things get
9328 remade when necessary.
9329
9330 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
9331
9332 * Makefile.in (just-check): Add path to sibling expect dir
9333 to environment variable specified by RPATH_ENVVAR.
9334
9335 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
9336
9337 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9338 (just-check): Add shared library paths for libstdc++, tk,
9339 tcl, bfd, and opcodes to the environment variable specified
9340 in RPATH_ENVVAR.
9341 * configure.in: Add support to recognize --enable-shared flag
9342 and generate correct value for RPATH_ENVVAR.
9343 * configure: Regenerated with autoconf.
9344
9345 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
9346
9347 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9348 include all osf versions.
9349 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9350 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
9351 when target is linux. When failing to build pthreads test
9352 executable, give more meaningful message.
9353 * gdb.threads/pthreads.c: Hpux also uses old definition of second
9354 arg for pthread_create.
9355
9356 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
9357
9358 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9359 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9360 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9361 and -lpthreads (everybody else).
9362 (test_startup): Fail gracefully if threads are not supported.
9363 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9364 "p/c array_index("abcdef",2)" when not gcc compiled.
9365 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9366 "print func2::coremaker_local" when not gcc compiled.
9367 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9368 "ptype on opaque struct tagname (statically)",
9369 "ptype on opaque struct tagname (dynamically) 1", and
9370 "ptype on opaque struct tagname (dynamically) 2"
9371 for not compiled with gcc.
9372 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9373 backtrace when compiled with gcc.
9374 * lib/gdb.exp (runto_main): Return result of "runto main" rather
9375 than always return success.
9376
9377 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
9378
9379 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9380
9381 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
9382
9383 * gdb.base/structs.exp: Undo last change.
9384
9385 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
9386
9387 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9388 encapsulate all the steps/nexts done during self test, starting
9389 at main, and makes them less sensitive to optimization issues.
9390 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9391 signal handler" test.
9392 * gdb.threads/pthreads.exp: Only run this for native configs.
9393 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9394 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9395 tests.
9396 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9397 for "runto test_calls(void)" test.
9398
9399 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
9400
9401 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9402 and don't expect address info in breakpoint confirmations.
9403
9404 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
9405
9406 * gdb.base/list.exp (test_forward_search): Increase timeout
9407 temporarily by 60 seconds for searching extremely long line,
9408 and then reset to old value when done. Increase expect input
9409 buffer to 10000.
9410
9411 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
9412
9413 * gdb.base/list.exp (test_forward_search): Fix to handle very
9414 long source line without overflowing expect's input buffer.
9415
9416 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
9417
9418 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9419 "buffer_full".
9420
9421 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9422 "buffer_full".
9423
9424 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9425 "buffer_full".
9426
9427 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9428 "buffer_full".
9429
9430 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
9431
9432 * configure.in (configdirs): Add gdb.threads.
9433 * configure: Regenerated with autoconf.
9434 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9435 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9436 * gdb.threads/configure: New, generated with autoconf.
9437
9438 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9439
9440 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9441
9442 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9443
9444 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9445 each signal's status in the output of "handle all print".
9446 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9447 the \r\n sequence that immediately precedes the gdb prompt.
9448 * gdb.base/a1-selftest.exp: Save original timeout and restore
9449 after test.
9450
9451 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9452
9453 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9454 symbol.
9455
9456 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9457
9458 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9459
9460 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9461
9462 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9463 timeout by 60 seconds.
9464
9465 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9466
9467 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9468 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9469 error return.
9470
9471 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9472
9473 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9474 gdb initialization, also report how long dejagnu waited. Restore
9475 old timeout before doing error return. Temporarily increase timeout
9476 by 3 minutes to allow for slow startups over heavy NFS use.
9477
9478 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9479
9480 * lib/gdb.exp: Report timeout value for verbosity level 2.
9481 * config/gdbserver.exp: Ditto.
9482 * config/hppro.exp: Ditto.
9483 * config/mips-gdb.exp: Ditto.
9484 * config/monitor.exp: Ditto.
9485 * config/netware.exp: Ditto.
9486 * config/sim-gdb.exp: Ditto.
9487 * config/slite-gdb.exp: Ditto.
9488 * config/udi-gdb.exp: Ditto.
9489 * config/unix-gdb.exp: Ditto.
9490 * config/vx-gdb.exp: Ditto.
9491 * gdb.base/a1-selftest.exp: Ditto.
9492 * gdb.base/a2-run.exp: Ditto.
9493 * gdb.base/break.exp: Ditto.
9494 * gdb.base/corefile.exp: Ditto.
9495 * gdb.base/list.exp: Ditto.
9496 * gdb.base/recurse.exp: Ditto.
9497 * gdb.base/scope.exp: Ditto.
9498 * gdb.base/signals.exp: Ditto.
9499
9500 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9501
9502 * gdb.threads/Makefile.in (docdir): Removed.
9503
9504 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9505
9506 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
9507 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
9508 @srcdir@.
9509 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
9510 autoconf 2.5 or higher.
9511 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9512
9513 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9514
9515 * configure: Regenerated.
9516 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9517 avoid name clashes with SunOS headers.
9518
9519 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9520
9521 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9522
9523 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9524
9525 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9526 prototype information ends up in the compiler info file.
9527
9528 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9529
9530 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9531 attempting to regenerate it. Eliminate use of a temporary file
9532 and just generate the info file directly. Source it immediately,
9533 for consistency of use.
9534 * gdb.base/corefile.exp: Ditto
9535 * gdb.base/exprs.exp: Ditto.
9536 * gdb.base/funcargs.exp: Ditto.
9537 * gdb.base/langs.exp: Ditto.
9538 * gdb.base/list.exp: Ditto.
9539 * gdb.base/mips_pro.exp: Ditto.
9540 * gdb.base/nodebug.exp: Ditto.
9541 * gdb.base/opaque.exp: Ditto.
9542 * gdb.base/ptype.exp: Ditto.
9543 * gdb.base/scope.exp: Ditto.
9544 * gdb.base/setvar.exp: Ditto.
9545 * gdb.base/signals.exp: Ditto.
9546 * gdb.base/whatis.exp: Ditto.
9547 * gdb.c++/templates.exp: Ditto.
9548 * gdb.c++/virtfunc.exp: Ditto.
9549 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9550 whether or not to add -lstdc++ to the compile command line args.
9551
9552 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9553
9554 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9555 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9556 Increase timeout, a lot of single stepping might be needed if the
9557 target has no hardware watchpoints.
9558
9559 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9560
9561 * gdb.base/break.exp: Ignore compiler warnings when compiling
9562 break.c.
9563 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9564 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9565 from remote-sim.
9566 * gdb.base/exprs.exp: Add h8300 xfails.
9567 * gdb.base/funcargs.exp: Likewise.
9568 * gdb.base/nodebug.exp: Likewise.
9569 * gdb.base/printcmds.exp: Likewise.
9570 * gdb.base/ptype.exp: Likewise.
9571 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9572 h8300 xfails.
9573 * gdb.base/return.exp: Handle float/double precision problems
9574 on the h8300.
9575 * gdb.base/funcargs.c: Explicitly make last constant argument to
9576 call_after_alloca_subr an unsigned long type.
9577 * gdb.base/return.c: Include stdio.h.
9578
9579 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9580
9581 * config/abug.exp: New file for the older Motorola Bug monitor
9582 that runs on the mvme13x series VME boards.
9583 * config/monitor.exp: Use the new config array for target settings
9584 if they exist.
9585
9586 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9587
9588 * sim-gdb.exp: Make the SH simulator allocate less space when
9589 it is targeted.
9590
9591 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9592
9593 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9594 test.
9595
9596 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9597
9598 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9599 "rs6000-*-*" for "list function in include file" when gcc compiled.
9600 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9601 for "p ctable1[120]".
9602 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9603 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9604 Remove setup_xfail for "rs6000-*-*" for
9605 "print 'scope0.c'::filelocal before run".
9606 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9607 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9608 since some compilers don't allow both options to be given
9609 on the same command line. Create object file and move it.
9610
9611 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9612
9613 * gdb.base/corefile.exp: Always regenerate the core file, since
9614 we always regenerate the coremaker program. Detect special case
9615 where registers cannot be read from core file.
9616
9617 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9618
9619 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9620 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9621 * gdb.c++/templates.exp: Only match on basename of file since
9622 some formats like xcoff don't encode directory information.
9623 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9624 and rs6000 AIX xcoff targets.
9625 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9626 * configure: Regenerate.
9627 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9628 here, rather than in distclean.
9629
9630 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9631
9632 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9633 defined, and use it to compile the test case with -O2. The
9634 native compilation still uses no optimization.
9635 * gdb.base/mips_pro.c: Remove inline assembly code since
9636 it is compiled PIC by default, which results in assembler
9637 warnings that make the testsuite think the compilation
9638 was unsuccessful.
9639
9640 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9641
9642 * gdb.c++/misc.exp: Add note to message for
9643 "print s.a for foo struct" that this is a known gcc 2.7.2
9644 and earlier bug.
9645
9646 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9647
9648 * gdb.base/break.exp: Fix pattern for matching "Delete all
9649 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9650 setup_xfail for deleting all breakpoints test. Fix various
9651 timeout messages to include "(timeout)".
9652 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9653 for "p t_float_values2(3.14159,float_val2)".
9654 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9655 for "continue to call2g" when gcc compiled.
9656 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9657 "up to foo in langs.exp", "show language at foo in langs.exp",
9658 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9659 and "show language at fsub in langs.exp".
9660 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9661 "list line 1 in include file", "list message for lines past EOF",
9662 "list function in include file", "list list0.h:foo", and
9663 "list filename:function; nonexistant function".
9664 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9665 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9666 and "ptype t_char_array" to be for native cc only.
9667
9668 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9669
9670 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
9671 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9672 "print func2::coremaker_local", and "backtrace in corefile.exp".
9673
9674 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9675
9676 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9677 "bt in signals.exp". This problem only appears when running
9678 the testsuite, and then only intermittently.
9679
9680 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9681
9682 * gdb.base/return.exp (return_tests): Differentiate between
9683 two tests of continuing.
9684
9685 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9686
9687 * */Makefile.in (maintainer-clean): Remove config.log.
9688 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9689 * gdb.c++/Makefile.in (PROGS): Add inherit.
9690 (clean): Remove *.ci.
9691
9692 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9693
9694 * gdb.c++/misc.cc: Add test code from Mike Stump.
9695 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9696
9697 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9698
9699 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9700 to "alpha-*-osf2*" and add comment.
9701 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9702 setup_xfail for "step over execarg initialization" and
9703 "step over corearg initialization".
9704 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9705 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9706 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9707 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9708 "print func2::coremaker_local", and "backtrace in corefile.exp".
9709 * gdb.base/signals.exp: Build and source signals.ci.
9710 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9711 to be for gcc only.
9712 * lib/gdb.exp: Move verbose statements outside conditionals.
9713
9714 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9715
9716 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9717 Feb 3 procfs.c change.
9718
9719 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9720
9721 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9722
9723 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9724
9725 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9726 from dejagnu's apparent default of 10 seconds, which gives random
9727 results when running the tests over NFS on moderately loaded systems.
9728 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9729
9730 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9731
9732 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9733 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9734 result reports.
9735
9736 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9737
9738 * configure.in (CY_AC_PATH_TCLH): Remove.
9739 * configure: Regenerate.
9740
9741 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9742
9743 * gdb.c++/Makefile.in (clean): Add missing '{'.
9744
9745 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9746
9747 * lib/gdb.exp: Provide a default value for noinferior.
9748
9749 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9750 Load libgloss.exp.
9751
9752 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9753
9754 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9755 the executable, not the .o to run the tests from.
9756
9757 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9758
9759 * gdb.base/break.exp: Don't test for program exit or exit status
9760 if $noresults if nonzero.
9761 * gdb.base/langs.exp: Likewise.
9762 * gdb.base/watchpoint.exp: Likewise.
9763
9764 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9765 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9766 trying to compile the testcase.
9767
9768 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9769
9770 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9771 * gdb.base/signals.exp (continue to handler): Likewise.
9772
9773 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9774
9775 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9776
9777 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9778
9779 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9780
9781 * gdb.base/corefile.exp: Recognize "not found" as failure
9782 when trying to determine if a core file was generated.
9783 If no core file was generate the first time, try again without
9784 the ulimit -c to work around braindamaged shells.
9785
9786 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9787
9788 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9789 [] tests with "test" and enclose string in quotes.
9790 * gdb.stabs/configure: Rebuild
9791
9792 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9793
9794 Changes in sync with expect:
9795 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9796 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9797 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9798 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9799 argument to AC_REQUIRE.
9800 * configure: Regenerated.
9801
9802 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9803
9804 * gdb.base/corefile.exp: When generating a core, discard any
9805 error messages about ulimit not found and the "core dumped"
9806 message from the shell that runs the coredumper.
9807
9808 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9809
9810 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9811
9812 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9813 which sed script to run. Expect failure for v_comb test
9814 on PA targets too.
9815
9816 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9817
9818 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9819 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9820
9821 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9822
9823 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9824 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9825 "sparc-sun-solaris*" xfails for "p v_comb".
9826 * lib/gdb.exp (default_gdb_start): Fix typo.
9827 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9828 messages to not include the full program name that caused
9829 the core dump since some systems (such as solaris) apparently
9830 truncate this path to about 80 characters.
9831 When generating a core file first try increasing the core file
9832 size limit to unlimited since some systems may default it to
9833 zero, and it is harmless to try it. Move the test for failing
9834 to generate a core file to where it will actually get executed.
9835 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9836 new gdb result from g++ debug info improvements and make old
9837 pattern obsolescent. Also account for size_t differences
9838 (may be int or long).
9839 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9840 initialization before function call is placed in the delay slot
9841 and thus appears to be skipped over by commands such as "next".
9842
9843 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9844
9845 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9846
9847 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9848
9849 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9850 input source file; fix code to compile test to deal with this
9851 convention.
9852 * gdb.c++/*.exp: Likewise.
9853
9854 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9855
9856 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9857 "bt in signals.exp".
9858
9859 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9860
9861 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9862 "step over execarg initialization" and
9863 "step over corearg initialization".
9864
9865 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9866
9867 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9868 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
9869
9870 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
9871
9872 From Rob Savoye (rob@poseidon.cygnus.com)
9873 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9874 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9875 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9876 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9877 configure.in}: Major reworking for autoconfig.
9878 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9879 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9880 New files.
9881 * config/unix-gdb.exp: Make GDB global.
9882 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9883 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9884 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9885 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9886 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9887 term.exp, twice.exp, watchpoint.exp, whatis.exp},
9888 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9889 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9890 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9891 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9892 pr-8136.exp, result.exp, string.exp, tuples.exp},
9893 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9894 to returns as necessary, arrange for test to compile own testcase
9895 executable.
9896 * lib/gdb.exp: Changes for testsuite to compile own test cases.
9897
9898 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
9899
9900 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9901 clear_xfail at end of test which might not call either pass or fail.
9902 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9903 "backtrace through signal handler".
9904
9905 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9906
9907 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9908 continuing from a job control stop signal.
9909 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9910
9911 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
9912
9913 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9914 * gdb.base/corefile.exp: Likewise.
9915 * gdb.base/funcargs.exp: Likewise.
9916
9917 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
9918
9919 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
9920 * config/monitor.exp: Add support for setting baud rate.
9921
9922 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
9923
9924 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9925 i*86-*-linux* xfails for "backtrace through signal handler".
9926 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9927 "print func2::coremaker_local".
9928 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9929 alpha-dec-osf2* xfail for
9930 "delete all breakpoints when none".
9931
9932 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
9933
9934 * gdb.base/break.exp: Change test that deletes all breakpoints
9935 when no user breakpoints are installed. A post 4.15 change
9936 causes gdb to no longer prompt in this case.
9937
9938 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
9939
9940 * gdb.base/return.exp (return_tests): Change xfail for test
9941 "correct value returned double test" to stop xfailing at
9942 Solaris 2.5. Apparently the bug has been fixed.
9943
9944 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
9945
9946 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9947 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
9948
9949 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
9950
9951 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9952 * gdb.disasm/hppa.s: Corresponding changes.
9953
9954 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
9955
9956 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9957 makefile fragment.
9958 * config/mt-hpux: Deleted.
9959
9960 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
9961
9962 * Many files: When warning about suppressed tests due to a
9963 nonexistant test binary, avoid incrementing the warning count.
9964
9965 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
9966
9967 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
9968
9969 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9970
9971 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
9972 "sparc-*-solaris2*".
9973
9974 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9975
9976 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
9977 Add global and local variables and initialize them.
9978 * gdb.base/corefile.exp: Test correct mapping of corefile sections
9979 by printing variables. Remove rs6000 and powerpc xfails, BFD now
9980 extracts the file name and terminating signal from the core file.
9981 * TODO: Remove note about tests for correct mapping of corefile.
9982 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
9983 from optimizing it away.
9984 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
9985 handles common blocks.
9986
9987 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
9988
9989 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
9990 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
9991
9992 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
9993
9994 * Makefile.in (maintainer-clean): New target, synonym for
9995 realclean.
9996 * gdb.base/Makefile.in (maintainer-clean): Likewise.
9997 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
9998 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
9999 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
10000 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
10001 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
10002
10003 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
10004
10005 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
10006 xfails when not gcc compiled for "print foo::funclocal".
10007 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
10008 "print foo::funclocal at foo",
10009 "print 'scope1.c'::foo::funclocal at foo",
10010 "print foo::funclocal_bss at foo",
10011 "print 'scope1.c'::foo::funclocal_bss at foo",
10012 "print foo::funclocal_ro at foo",
10013 "print 'scope1.c'::foo::funclocal_ro at foo",
10014 "print bar::funclocal at foo" and
10015 "print 'scope1.c'::bar::funclocal at foo".
10016 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
10017 gcc compiled for "print foo::funclocal at bar".
10018 Expand all messages to ensure that they identify that
10019 the test is at bar().
10020 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
10021 gcc compiled for:
10022 "ptype on opaque struct pointer (statically)",
10023 "ptype on opaque struct tagname (statically)",
10024 "ptype on opaque struct pointer (dynamically) 1",
10025 "ptype on opaque struct tagname (dynamically) 1",
10026 "ptype on opaque struct pointer (dynamically) 2" and
10027 "ptype on opaque struct tagname (dynamically) 2
10028 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
10029 gcc compiled for:
10030 "p datalocal"
10031 "whatis datalocal",
10032 "ptype datalocal",
10033 "p bsslocal",
10034 "whatis bsslocal", and
10035 "ptype bsslocal".
10036 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
10037 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
10038 when not gcc compiled.
10039 * gdb.base/funcargs.exp (float_and_integral_args): Add
10040 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
10041 compiled.
10042 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
10043 "backtrace from call6a" when not gcc compiled.
10044 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
10045 "backtrace from call7a" when not gcc compiled.
10046 * gdb.base/callfuncs.exp (do_function_calls):
10047 Add "hppa*-*-hpux*" xfail when not gcc compiled for
10048 "p t_char_array_values(char_array_val2,char_array_val1)",
10049 "p t_char_array_values(char_array_val1,char_array_val2)",
10050 "p t_char_array_values("carray 1","carray 2")",
10051 "p t_char_array_values("carray 1",char_array_val2)",
10052 "p t_char_array_values(char_array_val1,"carray 2")",
10053 "p sum_args(1,{2})",
10054 "p sum_args(2,{2,3})",
10055 "p sum_args(3,{2,3,4})",
10056 "p sum_args(4,{2,3,4,5})"
10057 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
10058 "backtrace in corefile.exp" when not gcc compiled.
10059
10060 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10061
10062 * gdb.base/signals.exp: Rewrite `handle all print' test as
10063 a procedure. Accept blanks or TABs as whitespace, increase
10064 timeout and expect input buffer size for the large output
10065 from the command. Remove "i*86-*-bsdi2.0" xfail.
10066
10067 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10068
10069 * gdb.base/setvar.exp: Add new testcases for truncation when
10070 assigning invalid values to bitfields.
10071
10072 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
10073
10074 * gdb.base/callfuncs.exp (do_function_calls): Remove
10075 mips-sgi-irix* xfail for
10076 "call inferior func with struct - returns char *"
10077 and fix test so that an optional (unsigned char *) cast is
10078 accepted in the result.
10079
10080 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
10081
10082 * gdb.base/funcargs.exp (float_and_integral_args): Remove
10083 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10084 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
10085 * gdb.base/signals.exp: Remove duplicate "handle all print" test
10086 that accidentally got checked in.
10087
10088 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
10089
10090 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
10091 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
10092 compiled test.
10093 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
10094 Add mips-sgi-irix5* xfail for not gcc compiled.
10095 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
10096 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
10097 "p top", "whatis top", "p middle", and "whatis middle".
10098 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
10099 "whatis signed char" for not gcc compiled.
10100 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
10101 "set variable signed char=-1 (-1)" and
10102 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
10103 * gdb.base/funcargs.exp (float_and_integral_args):
10104 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
10105 Add mips-sgi-irix* xfail when not gcc compiled for
10106 "continue to call2b".
10107 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
10108 "continue to call2g".
10109 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
10110 "backtrace from call6a"
10111 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
10112 "backtrace from call7k".
10113 Add mips-sgi-irix5* xfail when not gcc compiled for
10114 "backtrace from call7a".
10115 (localvars_after_alloca): Fix gdb_test cmds for
10116 "print * after runto ...".
10117 Remove rs6000-*-* xfails for
10118 "print i after runto localvars_after_alloca" and
10119 "print l after runto localvars_after_alloca"
10120 for all compilers.
10121 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
10122 when not compiled with gcc, for:
10123 "print signed char == (minus)",
10124 "print signed char != (minus)",
10125 "print signed char < (minus)",
10126 "print signed char > (minus)".
10127 * gdb.base/callfuncs.exp (do_function_calls):
10128 Add mips-sgi-irix* xfail, when compiled with native compiler, for
10129 "call inferior func with struct - returns char *".
10130 * gdb.base/return.exp (return_tests): Change xfail for
10131 "correct value returned double test" to include Solaris 2.4.
10132 * gdb.base/funcargs.exp (float_and_integral_args):
10133 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10134
10135 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10136
10137 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
10138 enumeration bitfields if compiling with GNU C.
10139 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
10140 to empty' prompt.
10141
10142 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
10143
10144 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
10145 test for PRO targets.
10146
10147 * gdb.base/funcargs.exp: Avoid ever setting more than 8
10148 breakpoints in the inferior at any given time by making
10149 two groups of breakpoints for call2*, call6* and call7*
10150 tests.
10151
10152 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10153
10154 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
10155 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
10156 from optimizing it away.
10157 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
10158 "call inferior func with struct".
10159
10160 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
10161
10162 * configure.in: Only configure gdb.chill for particular targets.
10163
10164 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
10165
10166 * gdb.base/Makefile.in: Add action to .c.o transformation
10167 rule that generates a .ci file for each .o file and remove
10168 explicit .c.o rules except for callfuncs.o.
10169 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
10170 generates a .ci file for each .o file and remove explicit
10171 .cc.o rules.
10172 (clean): Remove *.tmp *.ci files.
10173 (EXECUTABLES): Remove templ-info.exp.
10174 * gdb.base/compiler.c: New file.
10175 * gdb.c++/compiler.cc: New file
10176 * gdb.base/scope.exp: Source gdb.base/scope.ci.
10177 Change rs6000-*-* xfail for
10178 "print 'scope0.c'::filelocal_ro" and
10179 "print 'scope1.c'::filelocal" and
10180 "print 'scope1.c'::filelocal_bss" and
10181 "print 'scope1.c'::filelocal_ro" and
10182 "print 'scope1.c'::foo::funclocal" and
10183 "print 'scope1.c'::foo::funclocal_ro" and
10184 "print 'scope1.c'::bar::funclocal" and
10185 "print 'scope0.c'::filelocal_ro" and
10186 "print 'scope1.c'::filelocal at foo" and
10187 "print 'scope1.c'::filelocal_bss at foo" and
10188 "print 'scope1.c'::filelocal_ro at foo" and
10189 "print 'scope1.c'::foo::funclocal at foo" and
10190 "print 'scope1.c'::foo::funclocal_bss at foo" and
10191 "print 'scope1.c'::foo::funclocal_ro at foo" and
10192 "print 'scope1.c'::bar::funclocal at foo" and
10193 "print 'scope0.c'::filelocal_ro" and
10194 "print 'scope1.c'::filelocal" and
10195 "print 'scope1.c'::filelocal_bss" and
10196 "print 'scope1.c'::filelocal_ro" and
10197 "print 'scope1.c'::foo::funclocal" and
10198 "print 'scope1.c'::foo::funclocal_bss" and
10199 "print 'scope1.c'::foo::funclocal_ro" and
10200 "print 'scope1.c'::bar::funclocal" and
10201 "print 'scope1.c'::bar::funclocal_bss"
10202 to only be xfail'd when not compiled with gcc.
10203 Add rs6000-*-* xfail for
10204 "print 'scope0.c'::filelocal_bss before run"
10205 when compiled with gcc.
10206 (test_at_main): Add rs6000-*-* xfail for
10207 "print filelocal_ro in test_at_main"
10208 when compiled with gcc.
10209 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
10210 Add rs6000-*-aix* xfail for
10211 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
10212 "ptype t_char_array", not compiled with gcc.
10213 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
10214 xfail for "list foo (in include file)" when gcc compiled.
10215 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
10216 (integral_args): Add rs6000-*-* xfail for
10217 "run to call0a" if not compiled with gcc.
10218 (unsigned_integral_args): Add rs6000-*-* xfail for
10219 "run to call1a" if not compiled with gcc.
10220 (float_and_integral_args): Add rs6000-*-* xfail for
10221 "run to call2a" if not compiled with gcc and for
10222 "continue to call2b" for any compiler.
10223 Add rs6000-*-* xfail to
10224 "print f1 after run to call2a" for gcc compiled.
10225 (discard_and_shuffle): Add rs6000-*-* xfail for
10226 "run to call6a".
10227 (shuffle_round_robin): Add rs6000-*-* xfail for
10228 "backtrace from call7a" if not compiled with gcc.
10229 Add rs6000-*-* xfail for
10230 "backtrace from call7b" if compiled with gcc.
10231 (call_after_alloca): Add rs6000-*-* xfail for
10232 "print c in call_after_alloca" and
10233 "print s in call_after_alloca" and
10234 "backtrace from call_after_alloca_subr"
10235 if not compiled with gcc.
10236 (localvars_in_indirect_call): Add rs6000-*-* xfail for
10237 "print c in localvars_in_indirect_call" and
10238 "print c in localvars_in_indirect_call" and
10239 "backtrace in indirectly called function" and
10240 "stepping into indirectly called function"
10241 if not compiled with gcc.
10242 (localvars_after_alloca): Add rs6000-*-* xfail for
10243 "print c after runto localvars_after_alloca" and
10244 "print s after runto localvars_after_alloca" and
10245 "print i after runto localvars_after_alloca" and
10246 "print l after runto localvars_after_alloca"
10247 for all compilers.
10248 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
10249 than whatis-info.exp.
10250 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
10251 than opaque-info.exp.
10252 Setup rs6000-*-* xfail for
10253 "ptype on opaque struct pointer (statically)" and
10254 "ptype on opaque struct pointer (dynamically)" when
10255 not compiled with gcc.
10256 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
10257 rather than callf-info.exp.
10258 (do_function_calls): Add clear_xfail for rs6000-*-* for
10259 "p t_float_values2(3.14159,float_val2)". Seems to work
10260 fine there, both with xlc and gcc. Need to find out what
10261 it is doing right and fix other platforms.
10262 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
10263 "call inferior func with struct - returns int",
10264 "call inferior func with struct - returns long",
10265 "call inferior func with struct - returns float",
10266 "call inferior func with struct - returns double",
10267 "call inferior func with struct - returns char *",
10268 but only if not gcc compiled (presumes xlc compiled).
10269 Change rs6000-*-* xfails for
10270 "call inferior func with struct - returns char" and
10271 " call inferior func with struct - returns short" to only
10272 xfail if not using gcc.
10273 (clean mostlyclean): Remove *.ci and *.tmp files.
10274 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
10275 than templ-info.exp.
10276 * gdb.base/langs.exp: Source gdb.base/langs.ci.
10277 Add rs6000-*-* xfail for "up to foo in langs.exp"
10278 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
10279 when not gcc compiled.
10280
10281 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10282
10283 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
10284 * gdb.base/corefile.exp: Likewise.
10285 * gdb.base/list.exp: Likewise.
10286 * gdb.base/scope.exp: Likewise.
10287 * gdb.base/siganls.exp: Likewise.
10288
10289 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
10290 compiler output.
10291 * gdb.base/whatis.exp: Likewise.
10292
10293 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
10294
10295 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
10296 failure (opcode table has been fixed to match reality).
10297
10298 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
10299
10300 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
10301 "call inferior func with struct - returns char",
10302 "call inferior func with struct - returns short"
10303
10304 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
10305 "print 'scope0.c'::filelocal at main",
10306 "print 'scope0.c'::filelocal_bss in test_at_main",
10307 "print 'scope0.c'::filelocal at foo",
10308 "print 'scope0.c'::filelocal_bss in test_at_foo",
10309 "print 'scope0.c'::filelocal at bar",
10310 "print 'scope0.c'::filelocal_bss in test_at_bar"
10311
10312 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
10313 in source file 1". This bug seems to have been fixed with both
10314 gcc and native cc (was native assembler bug?).
10315
10316 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
10317
10318 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
10319 "backtrace through signal handler" to "i*86-*-sysv4*".
10320 * gdb.base/signals.exp: Add xfail for "'next' behaved as
10321 continue" case. Add "known SVR4 bug" to fail message.
10322 Add "i*86-*-bsdi2.0" xfail for "handle all print".
10323 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
10324 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
10325 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
10326 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
10327 "up to foo in langs.exp", "show language at foo in
10328 langs.exp", "up to cppsub_ in langs.exp", "show
10329 language at cppsub_ in langs.exp", "up to fsub in
10330 langs.exp", and "show language at fsub in langs.exp".
10331 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10332 "bactrace in corefile.exp".
10333 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10334 "call inferior function with struct - returns float" and
10335 "call inferior function with struct - returns double".
10336
10337 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
10338
10339 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10340 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10341 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10342 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10343
10344 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
10345
10346 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10347 (or overriden) "CHILL" macro rather then bare "gcc".
10348 Also look for ../../gcc/xgcc since that is what we will
10349 actually need, not "Makefile". Remove following assignment
10350 of CHILL to CHILL_FOR_TARGET because that results in
10351 recursive definition.
10352
10353 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
10354
10355 * gdb.base/corefile.exp: Change xfail for backtrace in
10356 corefile.exp from linuxaout to all linux.
10357 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
10358 cases where we miss the breakpoint at the signal handler
10359 for some reason. Setup xfail for linuxoldld/linuxaout and
10360 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
10361 hitting SIGURG breakpoint.
10362 * gdb.base/signals.exp: Setup xfail for "next" acting like
10363 continue to add linuxoldld. Setup xfail for all linux for
10364 "next to handler in signals_tests_1", "backtrace in
10365 signals_tests_1", "continue to func1", "pass SIGUSR1",
10366 and continue to handler".
10367
10368 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
10369
10370 * Update all FSF addresses except those in COPYING* files.
10371
10372 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
10373
10374 * gdb.base/a2-run.exp: Change messages to be more explicit about
10375 the status of args, and quote binfile in results.
10376
10377 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
10378
10379 * gdb.base/callfuncs.exp: Add tests for passing structs to
10380 inferior functions and return various types.
10381 * gdb.base/callfuncs.c: Add functions to receive a struct
10382 and return a member of the struct, in various types.
10383
10384 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10385
10386 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
10387
10388 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10389
10390 * config/vxworks29k.exp: New file, sources vxworks.exp.
10391
10392 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10393
10394 * config/gdbremote.exp: New file. Testing framework using
10395 gdbserver.
10396
10397 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
10398
10399 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10400 "call function when asleep" and "send end of file".
10401 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10402 for "backtrace in corefile.exp".
10403 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10404 for "backtrace through signal handler".
10405 * gdb.base/corefile.exp: Make sure we actually generate a core file
10406 before trying the core tests. Some systems allow the user to suppress
10407 generation of core files and default to that (linux for example).
10408 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10409 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
10410
10411 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10412
10413 * gdb.threads: New directory with some crude multi-threaded
10414 gdb tests (step.exp and step2.exp).
10415 * config/mt-lynx (STEP_EXECUTABLE): Define.
10416 (THREADFLAGS): Define.
10417
10418 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
10419
10420 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10421
10422 * gdb.base/signals.exp: Disable whole file for lynx until
10423 further notice.
10424
10425 * gdb.base/signals.exp: xfail test where "next" acts like
10426 "continue" for lynx.
10427
10428 * gdb.base/interrupt.exp: xfail test for calling function while
10429 inferior is asleep for lynx.
10430
10431 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10432 than one cr-lf after each command.
10433
10434 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10435
10436 * configure.in: Reinstate setting of stabsdirs variable, fix
10437 typo in setting up configdirs for native builds.
10438
10439 * gdb.base/return.exp: Fix typo in return double test.
10440 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10441 compiler from optimizing them away.
10442
10443 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10444
10445 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10446 sequences to be echo'd by gdb when using gdb_test.
10447 * gdb.chill/chexp.exp: Likewise.
10448 * gdb.fortran/exprs.exp: Likewise
10449
10450 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10451
10452 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10453 after the inferior gdb has started.
10454
10455 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10456 after each command.
10457 * gdb.base/funcargs.exp: Likewise.
10458 * gdb.base/gdbvars.exp: Likewise.
10459 * gdb.base/interrupt.exp: Likewise.
10460 * gdb.base/list.exp: Likewise.
10461 * gdb.base/watchpoint.exp: Likewise.
10462 * gdb.c++/demangle.exp: Likewise.
10463 * gdb.c++/inherit.exp: Likewise.
10464 * gdb.chill/chexp.exp: Likewise.
10465 * gdb.fortran/exprs.exp: Likewise.
10466
10467 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10468 test if we can't handle IO to/from the inferior.
10469
10470 * gdb.c++/misc.exp: Always check for a program already being
10471 started after sending a "run" command to gdb.
10472
10473 * gdb.base/twice.exp: Start with a fresh gdb.
10474
10475 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10476 only depend on gdb's expression code, not the chill runtime.
10477
10478 * gdb.base/return.c: Put return values into variables so we
10479 can have gdb print them rather than depending on the program
10480 to print them.
10481 * gdb.base/return.exp: Corresponding changes.
10482
10483 * lib/gdb.exp: Provide default value for noinferiorio.
10484 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10485 the inferior.
10486
10487 * gdb.base/break.exp: Always check for a program already being
10488 started after sending a "run" command to gdb.
10489 (text_next_with_recursion): Don't check the output from the
10490 program's printf statement. Instead just make sure the program
10491 exited.
10492
10493 * gdb.base/commands.exp: Protect tests which need arguments with
10494 $noargs conditionals.
10495
10496 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10497
10498 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10499 of structure member arrays to match gdb/valops.c:value_addr change.
10500
10501 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10502
10503 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10504 cases.
10505
10506 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10507
10508 * configure.in (configdirs): Remove gdb.chill from default list
10509 of subdirs and then add it back in only if doing a native build.
10510 The current chill compiler does not yet work in any cross build.
10511 * Revert all signal changes from Jul 6.
10512 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10513 for sh-hms targets, allowing these tests to link, with no other
10514 changes. Testing is suppressed by setting "nosignals" in site.exp.
10515
10516 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10517
10518 * configure.in (signaldirs): Define and add to configdirs for all
10519 targets except some specific ones that are known to not support signals.
10520 Also clean up formatting.
10521 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10522 (signals, sigall): Remove rules to build.
10523 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10524 Moved to new gdb.signals directory.
10525 * gdb.signals: New test directory.
10526 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10527 signals.c signals.exp}: New or moved files.
10528
10529 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10530
10531 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10532
10533 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10534
10535 * gdb.base/return.exp: Xfail `return double' test failure
10536 on at least Solaris 2.3 and handle future/past versions on
10537 a case by case basis as appropriate. Also update message
10538 to include i*86 failures.
10539
10540 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10541
10542 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10543
10544 * lib/gdb.exp: Fix comment which erroneously identified
10545 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10546 gdb_file_cmd not gdb_load).
10547 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10548
10549 * gdb.base/setvar.exp: Make test names consistent between pass and
10550 fail cases. Use gdb_test more.
10551
10552 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10553
10554 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10555
10556 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10557
10558 * gdb.base/help.exp: Fix expected help string for `show commands'.
10559
10560 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10561
10562 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10563
10564 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10565 of a text section.
10566
10567 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10568
10569 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10570 that loop eventually terminates. Fix Connection refused logic so
10571 that testsuite will expire nicely.
10572
10573 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10574
10575 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10576 config/rom68k.exp: New tcl glue for the appropriate monitors.
10577 These all just end up calling monitor.exp.
10578 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10579 refused' by retrying. Cleanup some timeout issues.
10580 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10581 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10582 callers don't have to set/restore global timeout variable.
10583
10584 * The following set of changes centralizes management of the global
10585 timeout variable. This way, it can be set in one target dependent
10586 place instead of dozens of places scattered throughout the test suite.
10587 If you need to lengthen a timeout, then you should either set timeout
10588 in one of the config/{target}.exp files, or multiply it by a factor.
10589 Setting it to an absolute value is always going to lose for some
10590 targets.
10591 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10592 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10593 * gdb.base/funcargs.exp: Don't set timeout.
10594 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10595 * gdb.base/printcmds.exp (test_print_string_constants
10596 test_print_array_constants): Don't set timeout.
10597 * gdb.base/ptype.exp: Don't set timeout.
10598 * gdb.base/recurse.exp: Don't set timeout.
10599 * gdb.base/return.exp: Don't set timeout.
10600 * gdb.base/watchpoint.exp: Don't set timeout.
10601 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10602 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10603
10604 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10605
10606 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10607
10608 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10609
10610 * lib/gdb.exp: Disable chill tests for irix5.
10611
10612 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10613
10614 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10615 each test pass or fail.
10616
10617 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10618
10619 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10620 xlc not gcc.
10621
10622 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10623
10624 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10625
10626 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10627
10628 * config/est.exp: Fix copyright and comments. Remove dead code.
10629 Use targetname, serialport and baud variables instead of fixed
10630 constants.
10631 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10632 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10633
10634 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10635
10636 * gdb.base/watchpoint.exp: Don't run
10637 test_watchpoint_triggered_in_syscall for sunos.
10638
10639 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10640
10641 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10642 they don't seem to exist. Do include stdio.h.
10643
10644 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10645
10646 * gdb.base/a1-selftest.exp: Add alpha xfail.
10647
10648 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10649
10650 * gdb.base/watchpoint.c (main): Prompt before calling read().
10651 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10652 Revise accordingly. Remove cruft about sending "123" several
10653 times, until it gets noticed. Clean up the "print buf[0]" stuff
10654 so that it passes or fails, and waits for prompts in the usual way.
10655
10656 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10657
10658 * gdb.base/recurse.exp: Fix comment.
10659
10660 * TODO: Remove item about printing variables in nodebug.exp. Add
10661 item about enabling tests which are only run on some targets.
10662
10663 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10664 fail, make test names unique, use new gdb_test convention
10665 regarding pattern, use gdb_test more, etc.).
10666
10667 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10668 fail, make test names unique, etc.).
10669
10670 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10671
10672 * gdb.base/nodebug.c: Change return type of top and middle to
10673 short.
10674 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10675 are fixed by the recent mdebugread.c changes. Allow `short ()'
10676 as type for top and middle.
10677
10678 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10679
10680 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10681 nearly as I can tell, the whole thing was an accident in Stu's
10682 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10683 to replace a send/expect pair with gdb_test, but ended up only
10684 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10685 of 30 Mar 1995 took care of it, but left this vestigial comment
10686 which I am now nuking.
10687
10688 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10689
10690 * gdb.base/break.exp: Look for different line number for
10691 breakpoint at main depending on usestubs.
10692
10693 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10694
10695 * gdb.base/list.exp: Adjust some alternate expect patterns to
10696 match recent list0.c change. Add alternate expect pattern for
10697 output from `list default lines around main' for optimizing
10698 compilers.
10699
10700 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10701
10702 * lib/gdb.exp: If nosignals is not set, set it to 0.
10703
10704 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10705
10706 * config/slite-gdb.exp: Responds to load symbol table prompt.
10707 * gdb.base/break.exp: Adjust line number, fix rerun.
10708 * gdb.base/langs0.c: Add #ifdef usestubs.
10709
10710 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10711
10712 * gdb.base/list.exp: Adjust line contents after adding new lines in
10713 list0.c. Also fix a syntax error.
10714
10715 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10716 * gdb.base/break.exp: ditto.
10717 * gdb.base/list.exp: ditto.
10718 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10719 * gdb.base/run.c: ditto.
10720 * gdb.base/list0.c: ditto.
10721 * gdb.base/funcargs.c: ditto.
10722
10723 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10724
10725 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10726 $targetname, $serialport and $baud instead of hardwired variables.
10727 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10728 target doesn't support signals.
10729
10730 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10731
10732 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10733
10734 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10735
10736 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10737 Don't rely on the value of an auto variable before it has been
10738 initialized. Use gdb_test more.
10739
10740 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10741
10742 * lib/gdb.exp (default_gdb_version): A version number must start
10743 with a digit, but other than that contains all characters up to
10744 the first whitespace character.
10745
10746 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10747
10748 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10749
10750 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10751
10752 * gdb.c++/*.exp: Warn if executable does not exist. The original
10753 reason for skipping the warning was that configure.in sometimes
10754 intentionally skipped building the executables but the tcl code
10755 had no way of knowing. That (a) was always bogus with respect to
10756 error handling, (b) is no longer true (right now there is no way
10757 to skip C++ tests).
10758
10759 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10760
10761 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10762
10763 * gdb.base/list.exp: Add expect patterns for output from
10764 SunPRO compiled executables.
10765 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10766 types.
10767
10768 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10769
10770 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10771 number (we are already testing that the correct source line text
10772 gets printed).
10773
10774 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10775 that is what is intended, but something needed to be done to get
10776 sunos4 native working again.
10777
10778 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10779
10780 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10781 apparently went with a (very) old xfail.
10782
10783 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10784
10785 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10786 runto_main is a proc in gdb.exp that will do 'step' for target use
10787 stubs.
10788 * gdb.base/exprs.exp: ditto.
10789 * gdb.base/interrupt.exp: ditto.
10790 * gdb.base/opaque.exp: ditto.
10791 * gdb.base/printcmds.exp: ditto.
10792 * gdb.base/ptype.exp: ditto.
10793 * gdb.base/scope.exp: ditto.
10794 * gdb.base/setvar.exp: ditto.
10795 * gdb.base/signals.exp: ditto.
10796 * gdb.base/twice.exp: ditto.
10797 * gdb.c++/classes.exp: ditto.
10798 * gdb.c++/inherit.exp: ditto.
10799 * gdb.c++/templates.exp: ditto.
10800 * gdb.base/break.exp: no run and hit main for stubs. Change line
10801 numbers for breakpoints and info breakpoint.
10802 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10803 breakpoint().
10804 * gdb.base/callfuncs.c: ditto.
10805 * gdb.base/exprs: ditto.
10806 * gdb.base/interrupt.c: ditto.
10807 * gdb.base/opaque0.c: ditto.
10808 * gdb.base/printcmds.c: ditto.
10809 * gdb.base/ptype.c: ditto.
10810 * gdb.base/scope0.c: ditto.
10811 * gdb.base/setvar.c: ditto.
10812 * gdb.base/signals.c: ditto.
10813 * gdb.base/twice.c: ditto.
10814 * gdb.c++/misc.cc: ditto.
10815 * gdb.c++/templates.cc: ditto.
10816
10817 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10818
10819 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10820
10821 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10822 somewhere between `read' and `main.c'. I'm pretty sure the
10823 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10824 and it isn't particularly useful.
10825
10826 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10827
10828 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10829
10830 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10831
10832 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10833
10834 * config/mt-slite: add LIBS and -nostdlib.
10835 * config/slite-gdb.exp: add this new file to support sparclite target.
10836
10837 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10838
10839 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10840
10841 * gdb.base/a2-run.exp: Change argument to istarget from
10842 "*-*-vxworks" to "*-*-vxworks*".
10843 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10844
10845 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10846
10847 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10848 will not runto main but do a 'step' to step out of breakpoint().
10849 * config/mt-slite: add -Dusestubs.
10850
10851 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10852
10853 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10854 instead of just @.
10855
10856 * gdb.base/signals.exp: Add test for "handle all print".
10857 * TODO: Remove "handle all print". Also remove item about
10858 checking copyright date (I don't like the idea of a spurious FAIL
10859 based on when we run the tests).
10860
10861 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10862 for SunOS4 (reason for failure not investigated). Remove
10863 redundant test for $binfile.
10864
10865 * gdb.base/nodebug.c (array_index): Call malloc.
10866
10867 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10868
10869 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
10870
10871 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10872 conventions and slightly simplify the matching regexp.
10873
10874 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10875
10876 * gdb.base/break.exp: Update gdb_test invocation to use new
10877 convention.
10878
10879 * lib/gdb.exp: If noargs is not set, set it to 0.
10880
10881 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10882 tests unique.
10883
10884 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10885
10886 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10887
10888 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10889 one argument of type "<non-float parameter>".
10890
10891 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
10892
10893 * config/rom68k.exp: New file to support Motorola IDP board.
10894 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10895 * gdb.base/break.c: Change things around so that this program
10896 doesn't depend upon args. This is necessary to make remote
10897 targets work (in general, they can't take args).
10898 * gdb.base/break.exp: Don't try to send args to program. Don't
10899 expect output. Also, replace lots of code with gdb_test.
10900
10901 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10902
10903 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10904 printing of '\'' (which is what the comment says we are testing,
10905 even though we were not), not '''.
10906 (test_integer_literals_rejected): Test that printing ''' is an error.
10907
10908 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10909 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10910 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10911 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10912 Use gdb_test not test_print_accept.
10913 * lib/gdb.exp: Remove test_print_accept.
10914
10915 * gdb.base/signals.exp (signal_tests_1): Make pass message
10916 consistent with fail message.
10917
10918 * gdb.base/whatis.exp: Remove xfails for printing char vs.
10919 unsigned char; the bug (PR 1821) is fixed.
10920
10921 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10922
10923 * gdb.base/scope.exp (test_at_localscopes): Call pass for
10924 successful tests--makes xfailing them work right.
10925
10926 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10927
10928 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10929 only \r\n, not .*. The test can pass .* as the last thing in
10930 $pattern if that is what it wants. In addition to providing this
10931 flexibility, this change should speed up pattern matching in cases
10932 where the pattern already ended with .* (there were a number of
10933 them). This change also helps catch bad patterns--in the old
10934 scheme the typo "char \*" instead of "char \\*" would pass. Now
10935 it is caught.
10936 * Many .exp files: Update callers.
10937
10938 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
10939 clearer and does not spuriously match multiple ('s. Likewise for
10940 ) and *.
10941
10942 * gdb.base/nodebug.exp: Test ability to call a function and pass
10943 it a string (even with no debugging info).
10944
10945 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10946 "p '\'", which is the same as "p ''" once tcl gets done with
10947 quoting, to "p '\\'", which I suspect is what is intended (one
10948 backslash gets sent to GDB).
10949
10950 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10951
10952 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10953
10954 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
10955 1817) was fixed literally years ago.
10956
10957 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10958
10959 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
10960 test, it causes stepping out of call_after_alloca_subr with
10961 optimizing compilers.
10962 (localvars_in_indirect_call): Consume GDB prompt if `finish'
10963 fails.
10964
10965 * gdb.c++/templates.exp: Source templ-info.exp only if
10966 the templates executable exists.
10967
10968 * gdb.c++/misc.cc (class Contains_static_instance,
10969 class Contains_nested_static_instance),
10970 gdb.c++/classes.exp (test_static_members): Test printing of
10971 a class that contains a static instance of the class.
10972
10973 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10974
10975 * gdb.base/langs2.c (cppsub_): Don't prototype.
10976 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10977 only, I believe).
10978
10979 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10980
10981 * lib/gdb.exp (skip_chill_tests): New procedure.
10982
10983 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10984
10985 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
10986
10987 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
10988 each expect pattern. Cuts runtime from 12 to about 4 seconds.
10989
10990 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10991
10992 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
10993
10994 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
10995 disassemble 8, not 16, instructions for part 4.
10996
10997 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
10998 support the latter anymore.
10999
11000 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
11001 -DNO_PROTOTYPES.
11002 * gdb.base/callfuncs.c: Control use of prototypes based on
11003 NO_PROTOTYPES, not __STDC__.
11004 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
11005 t_float_values2 tests if prototypes in use.
11006
11007 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
11008 t_double_values): When checking differences against DELTA, check
11009 that difference is within the range (-DELTA,DELTA), not just
11010 (-infinity,DELTA).
11011
11012 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
11013
11014 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
11015 'file' command firts, then 'target', then 'load', this is due to gdb
11016 target set up.
11017 * config/mips-gdb.exp: Fix a couple regular exp bugs.
11018
11019 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
11020
11021 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
11022 FP load/store variants.
11023 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
11024
11025 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11026
11027 * gdb.base/term.exp: Do not give a warning if not native, it is
11028 not an abnormal condition.
11029
11030 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
11031
11032 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
11033 t_char_array".
11034
11035 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
11036
11037 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
11038 are getting the version number.
11039
11040 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
11041 if not native, it is not an abnormal condition.
11042
11043 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11044
11045 * lib/gdb.exp: Just use "file exists", rather than undocumented
11046 dejagnu procedure "findfile".
11047
11048 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11049
11050 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
11051 (LDFLAGS): Set to -Xlinker -Ur.
11052
11053 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
11054 Removed, these values are set by lib/gdb.exp.
11055
11056 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
11057
11058 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11059
11060 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
11061 of replicating gdb startup code.
11062
11063 * config/mt-vxworks (LDFLAGS): Set to -r.
11064 (CFLAGS_FOR_TARGET): Removed.
11065
11066 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
11067 (gdb) and gdb for vxworks uses (vxgdb).
11068
11069 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
11070 executable is not in the tree and host != target, use sed and
11071 program_transform_name to determine the gdb name used by the
11072 target.
11073
11074 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
11075 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
11076
11077 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11078
11079 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
11080 floats, chars, and shorts where there are ANSI-style function
11081 definitions.
11082
11083 * gdb.base/langs.exp, gdb.base/langs*: New test.
11084 * gdb.base/Makefile.in: Build it.
11085 * TODO: Remove item about checking that C names don't get C++
11086 demangling applied; this test tests it.
11087
11088 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11089
11090 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
11091 went with the const70 xfail. The xfail went away a year ago.
11092
11093 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
11094
11095 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
11096 for hp300.
11097
11098 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
11099
11100 * gdb.base/a1-selftest.exp: Don't run on hp300.
11101
11102 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11103
11104 * Makefile.in (site.exp): Set host_alias and target_alias as well
11105 as host_triplet and target_triplet.
11106
11107 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11108
11109 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
11110
11111 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
11112 places as other ecoff systems).
11113
11114 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
11115 ultrix.
11116
11117 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11118
11119 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
11120 remove them.
11121 * gdb.base/nodebug.exp: Accept "function" in addition to "text
11122 variable and "variable" in addition to "data variable".
11123 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
11124
11125 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
11126 2.
11127 * gdb.base/list1.c (long_line): Add additional statement at start
11128 of function.
11129 * gdb.base/list.exp (test_forward_search): Update line number to
11130 reflect new statement.
11131
11132 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11133
11134 * gdb.base/signals.exp: Reinitialize searched source directories
11135 after gdb_start call.
11136
11137 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
11138
11139 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
11140 * gdb.stabs/Makefile.in: Likewise.
11141
11142 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
11143 change. Instead split the tests into smaller pieces.
11144 * gdb.disasm/hppa.s: Corresponding changes.
11145
11146 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11147
11148 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11149 Quote ^C when passing it to stty. For some shells ^ is a pipe.
11150
11151 * gdb.base/funcargs.exp: Modify many tests so that every test
11152 either passes or fails. Make some test names unique.
11153
11154 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11155
11156 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11157 Call stty to set interrupt character.
11158
11159 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
11160 for HP assembler versus GNU assembler based on actual behavior of
11161 $(CC), rather than assuming that $(AS) is always the GNU assembler.
11162
11163 * TODO: Suggest a few more stepping tests.
11164
11165 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
11166
11167 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
11168 restart GDB for h8300 after a continue.
11169 (return): Add pattern to match a29k-udi behavior.
11170 * gdb.base/nodebug.exp: Remove obsolete comment.
11171 * gdb.base/regs.exp: New file, testing of register displays.
11172 * gdb.base/return.exp: Fix typo in reference to $objdir.
11173 * gdb.base/whatis.exp: Always start with a fresh GDB.
11174
11175 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11176
11177 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
11178 higher, these tests generate a lot of output.
11179
11180 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11181
11182 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
11183 code following the catch silently ignored some errors; without the
11184 catch they should be thrown like any other tcl error. Also, the
11185 catch used "" instead of {} which meant all the callers who wanted
11186 to include one of the characters "[]$ had to quote it an extra time.
11187 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
11188 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
11189 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
11190 Remove extra quoting.
11191
11192 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
11193
11194 * gdb.base/commands.exp: Make test names unique; every test either
11195 passes or fails. Update some comments.
11196
11197 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
11198
11199 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11200
11201 The following fixes a FAIL caused by the fact that the alpha stabs
11202 configuration didn't use the ".if alpha" code in weird.def.
11203 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
11204 bit pointer, so the 32 bit version works even on the alpha.
11205 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
11206 Remove the stuff which allowed us to have separate versions for
11207 alpha and everything else.
11208
11209 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
11210 regexp which "info func operator\[\](" is supposed to match. Fix
11211 string to send to GDB. Note that GDB still doesn't work right. Add a
11212 new test for "info func .perator\[\](" which GDB does handle correctly.
11213
11214 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
11215
11216 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11217
11218 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
11219 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
11220 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
11221 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11222 it makes the tests harder to understand and confuses test-o-matic.
11223 The preferred style is that each test provides a PASS or a FAIL,
11224 and has a unique message (e.g. "continue #54" not just "continue")
11225 which is the same for the pass and the fail.
11226 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11227 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
11228 to lib/gdb.exp.
11229 * gdb.base/printcmds.exp: Use test_print_accept. Remove
11230 prt_accept which was basically the same thing. Likewise for
11231 test_print_reject and prt_reject.
11232 * lib/gdb.exp (test_print_reject): Add some more error message
11233 patterns to match from the former printcmds.exp (prt_reject).
11234 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
11235 One defect of the passcount stuff is that some of it failed to
11236 report XPASS where appropriate.
11237 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
11238 stuff before and after arg in expected pattern.
11239 (test_paddr_operator_functions): Re-do test without print_addr_of;
11240 this is the only test which seems to want extra stuff there.
11241
11242 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11243
11244 * gdb.base/nodebug.exp: Update new tests to reflect improved
11245 wording of gdb output.
11246
11247 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
11248 and "ptype" work on variables in files compiled without -g.
11249 Replaces commented out "maint print msymbol" tests.
11250
11251 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11252
11253 * gdb.base/setvar.c (dummy): Call malloc.
11254
11255 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
11256 losing with the irix4 sed.
11257
11258 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
11259 ALRM" on irix4.
11260
11261 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11262
11263 * TODO: Remove items about corefile.exp testing new exec-file and
11264 backtrace; both are now done. Add items about printing enums.
11265
11266 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11267
11268 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
11269 "get signal $thissig" test fails.
11270
11271 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
11272
11273 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11274
11275 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
11276 compiler warning with dec alpha compiler.
11277
11278 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
11279 extra \n from gdb_test call (this explains why the prompt test
11280 that I removed yesterday was there).
11281 (user_defined_command_test): Remove extra \n and prompt test.
11282
11283 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
11284 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
11285 doesn't exist.
11286 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
11287 Also remove alpha workaround, which turns out to be because
11288 SIGABRT == SIGLOST.
11289
11290 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
11291
11292 * gdb.base/help.exp: Don't test "help show".
11293
11294 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11295
11296 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
11297 "set print address" is on.
11298 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
11299 pass prompt to gdb_test; gdb_test already looks for the prompt.
11300
11301 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
11302
11303 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
11304 was a vestige of the manual TESTSTRATEGY, and the purpose of it
11305 was to make sure that gdb can read a core file. But (a) the "read
11306 the corefile" part didn't make it to a1-selftest.exp, we just
11307 delete the corefile after creating it, and (b) we test reading
11308 corefiles in corefile.exp anyway. Also, this test left around a
11309 xgdb process on Solaris.
11310
11311 * gdb.base/corefile.exp: Also test backtrace.
11312
11313 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
11314
11315 * gdb.base/commands.exp: Test a simple user defined command with
11316 arguments and if/while statements; verify the full user command is
11317 printed by "show user".
11318
11319 * gdb.base/commands.exp: Test if/while commands as part of a
11320 breakpoint command list; verify they appear in breakpoint
11321 information.
11322
11323 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11324
11325 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
11326 than by dividing by zero.
11327
11328 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
11329
11330 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11331 performing an inferior call with watchpoints enabled.
11332 * gdb.base/watchpoint.c (main): Delete second unnecessary read
11333 call.
11334
11335 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11336
11337 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11338 of "file" command.
11339
11340 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11341 Add additional pattern for when "int operator int(void);" appears
11342 in a different order.
11343
11344 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11345
11346 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11347
11348 * gdb.base/help.exp: Replace most of docstrings for "info signals"
11349 and "signal" with ".*".
11350
11351 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11352
11353 * TODO: Add note about "handle all nostop".
11354
11355 * gdb.base/{sigall.c, sigall.exp}: New test.
11356 * gdb.base/Makefile.in: Add it.
11357
11358 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
11359
11360 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11361 when invoking GDB, suppresses any windowing interface.
11362
11363 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
11364
11365 * config/sim-gdb: New file, simulator testing support.
11366
11367 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
11368
11369 * gdb.base/interrupt.exp: Test calling func1 twice.
11370
11371 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
11372
11373 * gdb.base/list.exp (test_forward_search): Set timeout higher
11374 when we'll be getting lots of output from gdb.
11375
11376 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11377 "init_malloc" to after the expect statement. Run it if that
11378 regexp is taken, but also for two others which happen if source
11379 cannot be found.
11380
11381 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11382
11383 * gdb.base/printcmds.exp: New test, for printing register before
11384 program is running.
11385
11386 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11387
11388 * gdb.base/list.exp: Correct some alternate expect patterns
11389 to reflect changes in list1.c.
11390
11391 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11392
11393 * TODO: Add item regarding large frames.
11394
11395 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11396
11397 * TODO: Remove item about enabling return.exp; it
11398 is enabled. Suggest a few more "return" tests.
11399
11400 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11401
11402 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
11403 anonymous unions.
11404
11405 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11406
11407 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11408 and pr-5646.o, so "make" is the same as "make all", not "make
11409 pr-4975.o".
11410
11411 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
11412
11413 * gdb.base/list.exp: Adjust expectations to reflect changes in
11414 list1.c.
11415 (test_forward_search): New test proc.
11416 * gdb.base/list1.c (long_line): New function, has long source line.
11417
11418 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
11419
11420 * gdb.base/a1-selftest.exp: Change initial stepping to know about
11421 additional line of code that was added.
11422
11423 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
11424
11425 * gdb.disasm/hppa.s: Break the large branching tests into smaller
11426 tests so as not to overflow expect's input buffers.
11427 * gdb.disasm/hppa.exp: Corresponding changes.
11428
11429 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11430
11431 Beginnings of template debugging tests.
11432 * gdb.c++/templ-info.cc: New file to test for template
11433 debugging capability of the compiler.
11434 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
11435 templ-info.cc.
11436 * gdb.c++/templates.cc: Add explicit template instantiations
11437 to enable compiling with -fno-implicit-templates. Add destructor
11438 and 'value' method to T5 class for template tests.
11439 * gdb.c++/templates.exp: Add testcases for printing of template
11440 types, setting breakpoints on template methods and calling a
11441 template method.
11442
11443 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11444
11445 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11446 branch target since some assemblers (gas-2.5) may emit a
11447 relocation for the branch instead of resolving it in the
11448 assembler.
11449
11450 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11451
11452 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11453 through signal handler.
11454
11455 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11456
11457 * configure.in (*-*-netware): Use config/mt-netware.
11458
11459 * config/mt-netware: New file.
11460 * config/mt-i386-netware: Removed, separate configs for different
11461 netware architectures are no longer needed now that we have
11462 --with-headers.
11463
11464 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11465
11466 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11467 by the recent changes to use ANSI C arithmetic conversions.
11468
11469 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11470
11471 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11472 bug involving using inferior_pid to figure out whether to select a
11473 frame.
11474
11475 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11476
11477 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11478 match the current disassembler output.
11479
11480 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11481
11482 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11483 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11484 types, expect "int" as type of integer values (for now).
11485
11486 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11487
11488 * gdb.base/commands.exp: New tests for if/while commands.
11489
11490 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11491
11492 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11493 by .*, since hex values have different syntax in Chill mode.
11494
11495 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11496
11497 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11498 linefeed from expect pattern for repeated types with indices > 9.
11499
11500 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11501
11502 First part of Fortran test suite.
11503 * gdb.fortran: New directory.
11504 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11505
11506 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11507
11508 * gdb.base/default.exp: Update expect pattern for load command
11509 without arguments.
11510
11511 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11512
11513 * configure.in: Change i386 to i[345]86.
11514 * gdb.base/configure.in: Likewise.
11515 * gdb.c++/configure.in: Likewise.
11516 * gdb.chill/configure.in: Likewise.
11517
11518 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11519
11520 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11521 patterns, since that is not a valid context for comments.
11522
11523 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11524
11525 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11526 repeated types and repeated types with indices > 9.
11527
11528 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11529
11530 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11531 2417; old bug has been fixed.
11532
11533 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11534
11535 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11536 send the newline ourselves instead of assuming gdb_test will do
11537 so when passed an empty input string.
11538
11539 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11540 stabs testcode.
11541
11542 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11543
11544 * lib/gdb.exp (gdb_test): Don't send anything if the first
11545 argument is an empty string. This makes cases where we want to
11546 match output that is already in expect's buffers (for example,
11547 matching a breakpoint after gdb_run_cmd has been called) work
11548 reliably.
11549
11550 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11551
11552 * config/netware.exp: New file.
11553
11554 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11555
11556 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11557 the -B and -L prefixes so we can find the debugging stub.
11558
11559 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11560 there and we are using the gcc from the tree.
11561
11562 * gdb.base/types.c: Removed.
11563
11564 * gdb.base/configure.in: Look for makefile fragments in ../config.
11565 Recognize i386-*-netware.
11566 * gdb.c++/configure.in: Likewise.
11567
11568 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11569
11570 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11571 the correct TCL syntax.
11572
11573 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11574
11575 * gdb.base/opaque.exp: use runto instead of messing around with
11576 breakpoints. Simplify by using gdb_test.
11577
11578 * gdb.base/bitfields.exp: restart between tests on netware targets
11579 because breakpoints aren't relocated after target death. Run
11580 processes to completion.
11581
11582 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11583
11584 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11585
11586 * Makefile.in: Remove extra tabs that confuse some versions
11587 of "make". Use the newly built gdb to test with by default,
11588 rather than the first one in the tester's search path.
11589
11590 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11591
11592 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11593
11594 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11595 condition help.
11596
11597 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11598
11599 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11600
11601 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11602 running.
11603 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11604 * gdb.base/funcargs.exp: Likewise.
11605
11606 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11607 * gdb.base/funcargs.exp: Likewise.
11608
11609 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11610 message is "".
11611
11612 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11613
11614 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11615 return,signals,twice}.exp: Handle non-existant binaries
11616 consistantly.
11617
11618 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11619 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11620 might testing a cross development system.
11621
11622 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11623
11624 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11625 runtest script is relative to ${srcdir}, not ${rootdir}.
11626
11627 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11628
11629 * gdb.base/signals.exp: Allow for optionality of breakpoint
11630 address.
11631
11632 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11633
11634 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11635
11636 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11637
11638 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11639 for size_t definition.
11640 * gdb.c++/templates.cc: Likewise
11641
11642 * config/mt-i386-netware: New file.
11643
11644 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11645 defined.
11646
11647 * gdb.base/Makefile.in: Added support for systems that name core
11648 files by appending "core" to the program name.
11649 * gdb.base/a1-selftest.exp: Likewise.
11650
11651 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11652
11653 * gdb.base/return.exp: Add comment and message for `return double'
11654 test failure on Sparc Solaris.
11655
11656 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11657
11658 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11659
11660 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11661
11662 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11663 from optimizing them away.
11664 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11665 patterns to include default constructors and assignment operators,
11666 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11667 character in the output of the virtual base pointer.
11668
11669 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11670
11671 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11672 expression match in print_addr_of to avoid unintented matches.
11673 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11674 versions up to 2.5.8.
11675
11676 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11677
11678 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11679 included file to run under newer versions of expect.
11680 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11681 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11682 Remove xfail for the virtual table of BDDHookV.
11683
11684 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11685
11686 * lib/gdb.exp (string_to_regexp): Set a default result.
11687 (default_gdb_start): Fix misleading message.
11688
11689 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11690
11691 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11692 Remove all CC, etc definitions.
11693 * config/mt-hpux: New file.
11694 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11695 (CFLAGS, LDFLAGS): Define.
11696 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11697
11698 * Makefile.in (site.exp): Don't insert host_os, etc.
11699 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11700 (distclean): Check existence of subdir.
11701 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11702 * gdb.base/Makefile.in: General cleanup and simplification.
11703 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11704 to build executables. Use default rule to build .o files.
11705 (EXPECT, RUNTEST, CC): Fix relative pathname.
11706 (site.exp): Don't insert host_os, etc.
11707 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11708 and/or SIGUSR1 defined.
11709 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11710 * gdb.c++/Makefile.in: General cleanup and simplification.
11711 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11712 (CFLAGS): Remove.
11713 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11714
11715 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11716
11717 * gdb.base/recurse.exp: Misc changes to get tests running again
11718 after Kung's changes to the watchpoint code.
11719 * gdb.base/watchpoint.exp: Likewise.
11720
11721 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11722
11723 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11724
11725 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11726
11727 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11728 * lib/gdb.exp (default_gdb_start): Define.
11729 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11730 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11731 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11732 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11733 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11734 Don't call gdb_target_udi in between tests.
11735
11736 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11737
11738 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11739 (which was basically just a local version of the same thing). In
11740 addition to avoiding duplication, gdb_test_exact is faster.
11741 * lib/gdb.exp (gdb_test_exact): Fix typo.
11742
11743 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11744 don't give an error.
11745
11746 * gdb.base/term.exp: Call delete_breakpoints before starting.
11747
11748 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11749 (t10): Add comment.
11750
11751 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11752
11753 Reorganization of the GDB Test Suite.
11754
11755 * gdb.base: New directory, contains all the basic tests.
11756 * gdb.c++: New directory, tests specific to C++.
11757 * gdb.chill: New directory, tests specific to Chill.
11758 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11759 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11760 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11761 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11762 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11763 t30-31 to chill).
11764 * */gdbme.*: Rename to match appropriate expect scripts.
11765 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11766 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11767 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11768 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11769 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11770 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11771 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11772 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11773 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11774 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11775 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11776 gdb.c++/virtfunc.cc: New names of C++ files.
11777 * gdb.chill/chillvars.ch: New name of Chill file.
11778 * gdb.base/configure.in, gdb.c++/configure.in,
11779 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11780 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11781 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11782 * configure.in (configdirs): Update to reflect directory changes.
11783 (target_abbrev): No longer define for any configuration.
11784 * Makefile.in: Cosmetic improvements to header comments.
11785
11786 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11787
11788 Various changes to gdb.t31:
11789
11790 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11791 * gdbme.ch: Make all key-words and predefineds be upper-case.
11792 * chillvars.exp: Expect key-words and predefinds in upper-case.
11793
11794 * chillvars.exp: Use gdb_test_exact many places.
11795 Change expected output for arrays (which now includes index labels).
11796
11797 * pr-5020.exp, gdme.ch (module PR_5020):
11798 New test, for PR-5020.
11799
11800 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11801
11802 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11803 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11804
11805 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11806
11807 * Makefile.in: Fix bit-rot in definitions of CHILL,
11808 CHILL_FOR_TARGET and Chill_LIB.
11809 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11810 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11811 CHILL, and CHILL_LIB.
11812
11813 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11814
11815 * Revert the previous changes. Please see Rob's directory
11816 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11817
11818 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11819
11820 * Makefile.in, configure.in, config/mips-gdb.exp,
11821 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11822 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11823 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11824 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11825 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11826 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11827 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11828 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11829 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11830 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11831 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11832 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11833 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11834 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11835 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11836 changes from 94Q1.
11837
11838 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11839
11840 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11841 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11842 Rob's new testing fragments.
11843
11844 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11845
11846 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11847 lib/gdb.exp: Replace error proc calls with perror.
11848
11849 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11850
11851 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11852 version also, match on casted version strings, and match on
11853 gdb startup case where the line numbers might be messed up.
11854
11855 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11856
11857 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11858 (CFLAGS): Delete it from here.
11859
11860 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11861
11862 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11863
11864 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11865
11866 * Makefile.in (RUNTEST): Default to just "runtest".
11867
11868 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11869
11870 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11871 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11872 the code has been restructured.
11873
11874 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11875
11876 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11877 \n, not just one of each.
11878
11879 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11880 /bin/cc gives a warning if you do.
11881
11882 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
11883
11884 * gdb.t24/demangle.exp: change expect pattern of
11885 __t10ListS_link1ZUiRCUiPT0
11886
11887 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11888
11889 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11890 on local variables in recursive functions.
11891
11892 * gdb.t07/Makefile.in: Build the new test.
11893
11894 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11895
11896 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11897 directly. Instead compare the return values from actual calls.
11898
11899 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
11900
11901 * Makefile.in (check): Set TCL_LIBRARY for runtest.
11902
11903 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11904
11905 * From Peter Schauer with minor modifications.
11906 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11907 stops in mid-line in the caller. Add xfail for returning a float
11908 value on X86 targets.
11909
11910 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11911
11912 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11913 to avoid expect lossage.
11914 (fmem_LRbug_tests): Likewise.
11915 * gdb.disasm/hppa.s: Corresponding changes.
11916
11917 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11918 conditions to work with latest dejagnu/expect.
11919
11920 * gdb.t15/funcargs.exp (finish from indirect call): No longer
11921 expected to fail on the PA.
11922 (backtrace in call with trampolines): Explicitly require main
11923 to be frame #1 (no trampolines should show up in backtrace).
11924
11925 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11926 "continue -expect".
11927 * gdb.t06/break.exp: Likewise.
11928 * gdb.t07/watchpoint.exp: Likewise.
11929 * gdb.t13/bitfields.exp: Likewise.
11930 * gdb.t15/{funcargs,return}.exp: Likewise.
11931 * gdb.stabs/weird.exp: Likewise.
11932 * config/{mips,udi}-gdb.exp: Likewise.
11933
11934 * hppa.sed: Enclose comments within a sed command to avoid
11935 losing with the old OSF1 sed.
11936
11937 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11938
11939 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
11940 sequent dynix.
11941 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
11942 * gdb.t15/funcargs.exp: Conditionally step again to really
11943 finish from marker_call_with_trampolines. Handle the case where
11944 the first step from within call_with_trampolines already steps
11945 us back to main.
11946 * gdb.t15/gdbme.c: Add comment to closing brace of
11947 call_with_trampolines for funcargs.exp.
11948
11949 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11950
11951 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
11952 Fix typo(s).
11953
11954 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11955
11956 * gdb.t07/gdbme.c: More code for watchpoint testing.
11957
11958 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11959 "Hardware watchpoint" throughout file.
11960 (test_watchpoint_triggered_in_syscall): New test.
11961 (test_complex_watchpoint): New test.
11962
11963 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11964
11965 * gdbme.c (call_with_trampolines): New function to try and step
11966 into. Tests trampoline problems on the PA.
11967
11968 * funcargs.exp (localvars_in_indirect_call): No longer expect
11969 stepping into indirect call to fail on PAs.
11970 (test_stepping_over_trampolines): New test.
11971
11972 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11973
11974 * TODO: Add suggestions for static member function tests, and
11975 completion tests.
11976
11977 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11978
11979 * TODO: Add suggestions for "p/a" tests.
11980
11981 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11982 (default_gdb_exit): Replace all the hair with sending "quit" to
11983 the process with a simple close.
11984
11985 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11986
11987 * TODO: Add suggestions for shared library tests.
11988
11989 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11990
11991 * TODO: Add suggestions for x/s tests.
11992
11993 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11994
11995 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
11996 "enable once", and "enable breakpoints once" with ".*".
11997
11998 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11999
12000 * TODO: Add suggestions about structure passing tests.
12001
12002 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12003
12004 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
12005 the primary1 test, use work around if __GNUC__ < 2.
12006 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
12007 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
12008 Test for bad output rather than waiting for timeout. Issue
12009 second continue only if first continue failed.
12010
12011 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12012
12013 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
12014 operator[] test with gdb_test because the old code didn't seem to
12015 be getting the quoting right with the new dejagnu.
12016
12017 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
12018
12019 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
12020 one from the path.
12021 * Makefile.in: Use a fresh expect if there is one, use runtest
12022 from the src tree if there is one.
12023
12024 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12025
12026 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
12027 next over recursive call. Revise the tests from that point on
12028 (which had been skipped) to match GDB's actual (correct) output.
12029
12030 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
12031 with next over a breakpoint whose condition is false.
12032
12033 * gdb.t00/help.exp: Comment out "help set print" tests just like
12034 (and for same reason as) "help set" test.
12035
12036 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12037
12038 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
12039 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
12040
12041 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12042
12043 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
12044 necessary gdb_target_udi.
12045
12046 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
12047
12048 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
12049 1838 and 2417; they are fixed.
12050
12051 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
12052 gdb.t03/ptype.exp (ptype structure, ptype union):
12053 Remove xfails; the test is looser than when the xfails were added.
12054
12055 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
12056 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
12057
12058 * gdb.t01/run.exp: Only run shell test if isnative.
12059
12060 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
12061 since "run" automatically loads if necessary. Call gdb_target_udi
12062 after the "file" since "file" kills any execution target.
12063
12064 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
12065 GDB. GDB doesn't work that way (not anymore at least) on UDI.
12066 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
12067 argument for UDI.
12068
12069 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
12070
12071 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
12072
12073 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
12074
12075 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12076
12077 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
12078 properly quoting regexps. This makes the second argument to
12079 demangle a fixed string, which matches the callers, instead of a
12080 shell-style pattern which is what the previous implementation
12081 used. Update some of the callers.
12082
12083 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12084
12085 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
12086 (comib_nullified_tests): Fix typo.
12087 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
12088 strings. No longer expected to fail.
12089
12090 * gdb.disasm/hppa.s (addib_tests): Fix typo.
12091 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
12092 strings. No longer expected to fail.
12093
12094 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
12095 string. No longer expected to fail.
12096
12097 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12098
12099 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
12100 No longer expected to fail.
12101
12102 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
12103 string. No longer expected to fail.
12104
12105 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12106
12107 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
12108 only in the names (I probably got most of them). I was even
12109 generous with some which differed in underscores in names, and
12110 probably missed a few, and I *still* was able to remove almost a
12111 third of the file with almost no impact on testsuite coverage.
12112
12113 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12114
12115 * gdb.t00/default.exp: Match udi_attach error message as well as
12116 the one from child_attach.
12117
12118 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
12119
12120 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
12121
12122 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
12123 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
12124
12125 * Move test with enums and partial symbols back to
12126 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
12127 Reverts the change of 26 May 93. Per today's change to
12128 stabs.texinfo, the behavior that weird.exp was expecting was
12129 unreasonable; what is important is that the compiler+gdb get
12130 things right, which happens with a recent gcc. Also fix the test
12131 to deal with native compilers which put out the stab gdb can't
12132 deal with.
12133
12134 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12135
12136 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
12137 in the names. The main thing these accomplish is to slow things down.
12138 Many more such duplicates surely remain.
12139
12140 * gdb.t00/help.exp: Comment out "help support" test just like
12141 (and for same reason as) "help set" test.
12142
12143 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
12144
12145 * gdb.t06/break.exp: Remove setup_xfails for
12146 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
12147 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
12148 about known bug in gcc to include up through 2.5.8.
12149 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
12150 well as "_vb$".
12151 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
12152 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
12153 with latest gcc and gdb.
12154 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
12155 well as "_vb$".
12156
12157 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12158
12159 * configure.in (hppa*-*-*): Also configure and build stabs-only
12160 tests.
12161
12162 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12163
12164 * gdb.t10/hppa.mt: A makefile fragment for the PA.
12165 * gdb.t10/configure.in (hppa*-*-*): Use it.
12166
12167 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12168
12169 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
12170
12171 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12172
12173 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
12174 versions prior to 1.13.5.
12175
12176 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12177
12178 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
12179 the prompt is at the start of a line.
12180
12181 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12182
12183 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
12184 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
12185 in the copr tests now.
12186 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
12187 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
12188 expected to fail.
12189
12190 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
12191
12192 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
12193 gdb.t31/chillvars.exp, lib/gdb.exp:
12194 Tweak to run under either version of expect.
12195 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
12196 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
12197 * gdb.t11/list.exp: Remove extraneous whitespace.
12198
12199 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12200
12201 * gdb.t16/printcmds.exp (test_print_strings): Accept
12202 "(unsigned char *) " before the string.
12203
12204 * TODO: Add notes about printing of fancy types and GDB expressions.
12205
12206 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
12207
12208 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
12209 * gdb.t06/configure.in: Don't try to compile signals test program
12210 if doing mips-idt-ecoff.
12211
12212 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
12213
12214 * Most .exp files: Tweak to run under either version of expect.
12215
12216 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12217
12218 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
12219 xfails; I'm not sure why they are failing, but not because of PR 1806.
12220
12221 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
12222
12223 * config/unix-gdb.exp: Remove gdb_unload cause it's already
12224 defined in lib/gdb.exp.
12225
12226 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12227
12228 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
12229 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
12230 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
12231 have to be typeless.
12232
12233 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12234
12235 * TODO: Add suggestion for copyright year test.
12236
12237 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
12238
12239 * configure.in (*-*-lynxos*): Add stabs tests.
12240
12241 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12242
12243 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
12244 so insert a tab before any assembler directive in column zero.
12245
12246 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
12247 stores.
12248 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
12249 stores.
12250 (fpu_short_memory_tests): Likewise.
12251
12252 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12253
12254 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
12255 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
12256 .stabs directives in comments.
12257
12258 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12259
12260 * TODO: New file, describing tests we could write.
12261 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
12262
12263 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12264
12265 * gdb.t06/signals.exp: Add kludge to force re-sync.
12266
12267 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
12268 to xgdb instead of gdb, get out of gdb.
12269
12270 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
12271
12272 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
12273 for info.
12274
12275 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12276
12277 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
12278 * gdb.stabs/configure.in (hppa*-*-*): Use it.
12279 * gdb.stabs/hppa.sed: New sed script for the PA.
12280
12281 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12282
12283 * gdb.stabs: Re-write weird.def and configuration to use sed
12284 instead of cpp. sed is portable and POSIX; cpp is neither.
12285
12286 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12287
12288 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
12289
12290 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12291
12292 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
12293
12294 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12295
12296 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
12297 "_vb$".
12298 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
12299 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
12300
12301 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12302
12303 * lib/gdb.exp: Comment out code which depends on non-existent
12304 `transform' procedure.
12305
12306 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
12307
12308 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
12309 * lib/gdb.exp: Transform tool name.
12310 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
12311 1.1's new error handling system.
12312
12313 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12314
12315 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
12316
12317 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12318
12319 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
12320 They made pattern matching so slow that timeouts happened on
12321 heavily loaded systems. Now any output from "show print" which
12322 gets us back to the GDB prompt is a PASS.
12323
12324 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
12325
12326 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
12327
12328 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12329
12330 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12331
12332 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12333 It is not from PR 3220.
12334
12335 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12336
12337 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12338 just started failing because they depended on the order the
12339 subcommands are presented, or exact docstring text. This kind of
12340 test is a pain and has minimal benefit.
12341
12342 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12343
12344 * gdb.t09/corefile.exp: At end of test, use "core" command with
12345 no arguments.
12346
12347 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
12348
12349 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12350 17}/Makefile.in: Make it possible to run the testsuite with Sun
12351 make and CC = cross gcc by adding explicit build rules for .o
12352 files.
12353
12354 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12355
12356 * gdb.t15/funcargs.exp: Don't put comments on same line as
12357 setup_xfail (@#$*%& tcl braindamage!).
12358
12359 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12360
12361 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12362
12363 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
12364
12365 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12366 * gdb.t20/inherit.exp: remove three dumplicate entries.
12367
12368 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12369
12370 * gdb.t06/break.exp: For "next over recursive call", fail on any
12371 incorrect output, not just on "factorial (value=2)".
12372
12373 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12374
12375 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
12376 working now. Add an xfail if accesing a bss variable causes
12377 a memory error if the target is not yet run.
12378
12379 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12380
12381 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12382 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12383 name of __st* demangling (2 strings). Did Kung really get the
12384 more than 95 others right without testing them?
12385
12386 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
12387
12388 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12389
12390 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
12391
12392 * configure.in (configdirs): Add gdb.disasm
12393 * gdb.disasm: New directory for GDB disassembler tests.
12394 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12395
12396 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12397
12398 * gdb.t00/help.exp: Don't test "help set".
12399
12400 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12401 from within expect statements. None of these happen anymore and
12402 they cause regressions to be silently unnoticed.
12403
12404 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12405 messages) about known failures with gcc cygnus-2.4.5-930417.
12406
12407 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12408 comp-info.exp so it gets built if it doesn't exist.
12409
12410 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12411 it is no longer used.
12412 * gdb.t13/comp-info.c: Removed.
12413
12414 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12415
12416 * gdb.t06/signals.exp: Add xfail for sun3.
12417
12418 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12419
12420 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12421 relevant because ^C doesn't get sent but failure can be reproduced
12422 interactively).
12423
12424 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12425
12426 * gdb.stabs/alpha.mt: New configuration file for alpha.
12427 * gdb.stabs/configure.in: Use it.
12428 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
12429 sharing with alpha.mt, redefine long to word via preprocessor.
12430 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
12431 for alpha.
12432 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
12433 native cc.
12434 * gdb.t00/teststrategy.exp: Change expect string so that we
12435 consume the `(xgdb)' from the command echo and from the gdb prompt.
12436 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
12437 gdb currently compares all values as long, so this failure probably
12438 applies to any configuration where LONGEST is bigger than a target int.
12439 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12440 with gcc.
12441 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12442 to handle opaque pointers, gcc is.
12443 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12444 as first argument. Include <sys/types.h> and change all operator
12445 new definitions to use size_t.
12446 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12447 now that we use size_t.
12448
12449 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12450
12451 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12452 a long or float array cast all array members to the same type.
12453 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12454 with 64 bit longs.
12455 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12456 on alpha.
12457 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12458
12459 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12460
12461 * gdb.t24 (demangle.exp): Constructors of templates have names like
12462 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12463 section 14.6 of the ARM.
12464
12465 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12466 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12467 accomplish little and slow down the testsuite.
12468
12469 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12470 Accept spaces various places.
12471
12472 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12473
12474 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12475 with watchpoint enabled.
12476
12477 * Makefile.in: Remove definition of CC and remove the second
12478 definition of CXX (the "CXX = gcc" one remains). These definitions
12479 were causing backquotes to be expanded within backquotes, which
12480 doesn't work.
12481
12482 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12483
12484 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12485
12486 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12487
12488 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12489 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12490 by mips cc and contains no stabs entries.
12491
12492 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12493
12494 * config/vx-gdb.exp: Use fake device to load files rather than
12495 NFS.
12496 * lib/gdb.exp: New proc to do "file" command.
12497 * config/unix-gdb.exp: Use new "file" proc.
12498
12499 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12500
12501 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12502 Rework board rebooting slightly.
12503 (gdb_exit): Don't exit from the remote shell; there isn't one.
12504 * gdb.stabs/weird.exp: If a program is being debugged already,
12505 kill it.
12506 * gdb.t04/setvar.exp: Stop and restart gdb.
12507 * gdb.t05/expr.exp: Likewise.
12508 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12509 restart gdb and reload the program.
12510 * gdb.t08/opaque.exp: Likewise.
12511 * gdb.t12/scope.exp: Likewise.
12512 * gdb.t13/bitfields.exp: Likewise.
12513 * gdb.t15/funcargs.exp: Likewise.
12514 * gdb.t20/classes.exp: Likewise.
12515 * gdb.t03/ptype.exp: Increase timeout.
12516 * gdb.t16/printcmds.exp (test_print_string_constants,
12517 test_print_array_constants): Likewise.
12518 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12519 * gdb.t20/classes.exp (do_tests): Likewise.
12520 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12521
12522 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12523
12524 * gdb.stabs: Renamed *wierd* to *weird*.
12525
12526 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12527
12528 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12529 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12530
12531 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12532
12533 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12534 (do_tests): Remove xfail for whatis on one_var and two_var.
12535
12536 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12537
12538 * Makefile.in: Made cross building work better by adding
12539 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12540
12541 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12542
12543 * gdb.t15/{return.c,return.exp,Makefile.in}:
12544 New test, currently commented out.
12545
12546 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12547
12548 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12549 still running and removes the leftover named socket so GDb can do
12550 clean restarts.
12551
12552 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12553
12554 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12555 console, not GDB.
12556 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12557 cross testing works better with "make check"
12558 * config/unix-gdb: Use default procedures for exit and version.
12559 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12560 with the newest VxWorks.
12561
12562 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12563
12564 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12565 old form.
12566
12567 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12568 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12569
12570 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12571
12572 * config/unix-gdb.exp: Remove this version of gdb_exit
12573 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12574 Rob says he'll look at it when he gets back to testing boards.
12575
12576 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12577
12578 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12579 an expected fail for certain ptype commands.
12580
12581 * gdb.t20/classes.exp: Update expected results of "ptype class
12582 Base1" to account for the constructor that now appears in the type.
12583
12584 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12585
12586 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12587 disappeared from list.
12588 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12589 "alldone" proc with call to cleanup and exit.
12590 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12591 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12592 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12593 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12594 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12595 "alldone" proc with simple returns that suppress remaining
12596 tests. The alldone proc went away many months ago.
12597
12598 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12599
12600 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12601
12602 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12603
12604 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12605
12606 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12607 as vax gdb will display them.
12608
12609 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12610
12611 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12612 optimizers.
12613
12614 * scope.exp: Change "bad value for localval" messages so each one
12615 is unique.
12616
12617 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12618 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12619
12620 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12621
12622 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12623
12624 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12625 doesn't exist (due to optimization).
12626
12627 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12628
12629 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12630 contains \r because the filename is long.
12631
12632 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12633 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12634
12635 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12636
12637 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12638 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12639 Ultrix.
12640 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12641 int tests.
12642 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12643
12644 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12645
12646 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12647
12648 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
12649 to match does not match the passing case but still matches the
12650 failing case.
12651
12652 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12653
12654 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12655
12656 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12657
12658 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12659 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12660 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12661 Remove various versions of gdb_exit.
12662 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12663 gdb_exit.
12664 * config/unix-gdb.exp: gdb_exit remains here, and should override
12665 the generic version, since it's doing a lot of wierd stuff that
12666 the other versions aren't. FIXME, fold it in, or abandon this
12667 version.
12668
12669 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12670
12671 * gdb.t24/demangle.exp: Add tests for PR 3220.
12672
12673 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12674
12675 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12676
12677 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12678
12679 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12680 "i386-*-*". Works for i486 as well.
12681
12682 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12683 bug, and expand domain of xfail to all SVR4 systems, since the
12684 actual problem is likely to be in generic SVR4 /proc support.
12685
12686 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12687
12688 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12689
12690 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12691
12692 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12693 xfails for other systems. Match a missing 'Continuing.' as an
12694 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12695
12696 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12697 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12698 Only issue warning for missing executables if -all option is used.
12699
12700 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12701 file if -all option is used. It's like an unpredictable XFAIL.
12702
12703 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12704
12705 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12706 for dynamically linked binaries.
12707
12708 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12709
12710 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12711
12712 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12713 to state that this is a known bug in old versions of g++.
12714
12715 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12716
12717 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12718 while waiting for `Continuing'.
12719
12720 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12721
12722 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12723 in text, data, and bss.
12724 * gdb.t10/nodebug.c: Add local and global test variables for
12725 initialized and uninitialized data.
12726
12727 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12728
12729 * config/unix-gdb.exp (gdb_exit): Add "wait".
12730
12731 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12732
12733 * gdb.t06/signals.exp: xfail the continue from the handler for all
12734 targets.
12735
12736 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12737 function with watchpoints enabled, the i386 call dummy starts with
12738 a call.
12739
12740 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12741 386 bsd names its corefiles.
12742
12743 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12744
12745 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12746 compilers don't grok it.
12747 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12748 with small octal ints rather than character constants, which
12749 are signed and might not fit if first promoted to int.
12750
12751 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12752
12753 * gdb.t09/Makefile.in (clean): Remove corefile.
12754
12755 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12756
12757 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12758
12759 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12760 and Jim Kingdon (kingdon@cygnus.com)
12761
12762 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12763 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12764 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12765
12766 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12767
12768 * gdb.t17/interrupt.exp: Add xfail for hppa.
12769
12770 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12771
12772 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12773 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12774 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12775 to determine signed-ness of bitfields and use the result to setup
12776 the xfail.
12777 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12778 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12779 call line is reached if necessary.
12780
12781 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12782
12783 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12784
12785 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12786
12787 * gdb.t06/break.exp: Also test `clear' command.
12788
12789 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12790
12791 * gdb.t00/teststrategy.exp: Remove extra quote.
12792
12793 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12794 watchpoint enabled to be for all non-68k machines.
12795
12796 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12797
12798 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12799
12800 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12801 targets use aout.mt instead of ecoff.mt as gas understands
12802 standard aout format.
12803
12804 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12805
12806 * lib/gdb.exp (runto): Don't insist that function we are running to
12807 was compiled with -g.
12808
12809 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12810
12811 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12812 to get back into the read system call.
12813 Accept leading newline in case where we woke it up.
12814
12815 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12816
12817 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12818 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12819 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12820 enable ecoff configuration.
12821
12822 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12823
12824 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12825
12826 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12827
12828 * gdb.t16/printcmds.exp: Add another printf test.
12829
12830 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12831
12832 * configure.in: If configured -with-stabs on any target, add
12833 stabsdirs to configdirs.
12834
12835 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12836
12837 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12838 fun" so pattern does not match the command itself.
12839
12840 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12841
12842 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12843
12844 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12845
12846 * gdb.t17/interrupt.exp: Test for more things.
12847
12848 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12849
12850 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12851 compiler arranges the code and line numbers.
12852
12853 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12854
12855 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12856
12857 * gdb.t00/help.exp: Increase expect input buffer size.
12858
12859 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12860
12861 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12862
12863 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12864
12865 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12866
12867 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12868 [0-9]*, not just [0-9].
12869
12870 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12871
12872 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12873
12874 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12875
12876 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12877
12878 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12879
12880 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12881
12882 * gdb.t06/signals.c: Add xfails for sun3.
12883
12884 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12885
12886 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12887 test_stepping tests.
12888
12889 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12890
12891 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12892
12893 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12894
12895 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12896 rather than actually putting it through cpp twice.
12897
12898 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12899
12900 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
12901
12902 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12903 no longer needed.
12904
12905 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12906
12907 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12908
12909 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12910 C++ features prints as "struct", make it a pass, not an xfail.
12911
12912 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12913
12914 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12915 Don't require VA to print as "class" rather than "struct".
12916
12917 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
12918
12919 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12920
12921 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12922
12923 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12924
12925 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12926
12927 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
12928 order.
12929
12930 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12931
12932 * gdb.t16/printcmds.exp: Add printf tests.
12933
12934 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12935
12936 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12937
12938 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
12939
12940 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
12941 pass counts, to counteract any existing or future setup_xfails.
12942
12943 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12944
12945 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12946 {BEGIN,END}_COMMON for common block instead of STAB.
12947 * gdb.stabs/wierd.exp: Add xfail for rs6000.
12948
12949 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12950 intp_var should be N_GSYM not N_LSYM.
12951 wierd-aout.S: Use a label for the value of the N_SO.
12952 wierd.def: Remove all backslashes.
12953 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
12954
12955 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12956
12957 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12958 get the expected next to inheritance3.
12959
12960 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12961
12962 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12963 now that gcc-2.4 gets it right.
12964
12965 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12966
12967 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12968
12969 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12970 generating comp-info.exp which works for cross-compilation.
12971
12972 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
12973
12974 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
12975 "*-*-sysv4.*".
12976
12977 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
12978
12979 * gdb.t01/run.exp: Start with a fresh gdb.
12980 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
12981 SVR4.x.
12982
12983 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
12984
12985 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12986 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
12987 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
12988 Makefile.in (distclean, realclean): Remove gdbme.c from list of
12989 things to remove.
12990
12991 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
12992
12993 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
12994 test cases from bug reports.
12995
12996 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
12997
12998 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
12999 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
13000 avoid spurious xfails.
13001 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
13002 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
13003 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
13004
13005 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
13006
13007 * gdb.t00/teststrategy.exp: Rework to provide more useful
13008 description of each test, fix problem with systems that define
13009 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
13010 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
13011 results for "next over recursive call" so timeouts aren't taken
13012 by error.
13013
13014 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
13015
13016 * gdb.t12/scope.exp: Test printing of variables before run.
13017
13018 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
13019 printed in wrong order due to sorting.
13020
13021 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
13022
13023 * gdb.t00/teststrategy.exp: Fix expected results for printing
13024 user entered string constant. Is array of char, prints with no
13025 address.
13026
13027 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
13028 commands.
13029 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
13030 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
13031 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
13032 of struct of char arrays.
13033 * gdb.t00/radix.exp: New tests for radix commands.
13034
13035 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
13036
13037 * gdb.t16/printcmd.exp: Print a variable before running program
13038 (with xfail for AIX).
13039
13040 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
13041
13042 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
13043
13044 * gdb.t16/printcmd.exp: Don't print variables before running program.
13045
13046 * gdb.t06/break.exp: Don't require envp argument to main.
13047
13048 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
13049
13050 * gdb.t02/whatis.exp, gdb.t11/list.exp:
13051 Add xfails for rs6000.
13052
13053 * gdb.t02/whatis.exp: Change other tests not to re-test something
13054 we already tested.
13055
13056 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
13057 each type used has a variable of that type.
13058
13059 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
13060
13061 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
13062
13063 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13064
13065 * configure.in: change srctrigger to be a file, not a directory
13066
13067 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
13068
13069 * configure.in (mips-idt-ecoff*): Added trailing '*'.
13070
13071 * gdb.t11/list.exp: Fixed a couple of typos.
13072
13073 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
13074
13075 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
13076 is fixed and PR is closed.
13077 * gdb.t16 (gdbme.c): Add simple test string variable.
13078 * gdb.t16 (printcmds.exp): Add tests with simple test string
13079 variable, primarily for boundaries on "set print elements".
13080
13081 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
13082
13083 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
13084 Make leading 0's optional and don't expect a tab in the middle
13085 of the number.
13086
13087 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
13088
13089 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
13090 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
13091 don't end command passed to gdb_test with newline.
13092
13093 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
13094 signed keyword away, don't expect signed bitfields to be signed.
13095
13096 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
13097 printing with only as many 1's as are in the field as well as printing
13098 with 32 1's (see comment).
13099
13100 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
13101
13102 * gdb.t00/default.exp: Start with a fresh gdb.
13103 * configure.in (configdirs): Remove gdb.t31 until the chill
13104 compiler works again. It no longer is able to find chillrt0
13105 since it isn't in libchill.a anymore.
13106 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
13107 wierd.o, make more modular.
13108 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
13109 spurious newlines that caused problems.
13110
13111 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13112
13113 * Move test with enums and partial symbols from gdb.t03/ptype.exp
13114 to gdb.stabs/wierd.exp since GCC has worked around the bug.
13115 gdb.stabs/wierd.{exp,def}: Many new tests.
13116
13117 * gdb.t00/default.exp: update info line for new message.
13118
13119 * gdb.t02/{whatis.exp,gdbme.c}:
13120 Test that "char *" doesn't print as "caddr_t".
13121
13122 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13123
13124 * gdb.t00/help.exp: Use .* in place of some help messages which
13125 just changed.
13126 gdb.t00/default.exp: Update "info frame" test for new message.
13127 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
13128 Remove some xfails
13129
13130 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13131
13132 * gdb.t03/{gdbme.c,ptype.exp}:
13133 Add tests for typedef'd struct and union without tags.
13134 Also check "whatis" on a variable of a typedef'd enum without a tag.
13135
13136 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
13137 PRMS 1823; the bug still exists but isn't reproduced by this test
13138 anymore), and remove rs6000 XFAIL (the bug is fixed).
13139
13140 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
13141 duplicated from whatis.exp. For those that are left, accept
13142 "long", "long int", or "int" for long variables (whatis.exp already
13143 has an XFAIL for "int", so no need to fail it here).
13144
13145 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
13146 Deal with GCC's names for types now that GDB uses the compiler's names.
13147
13148 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
13149 setup_xfail's for sunos4. If we #defined the signed keyword away,
13150 don't expect GDB to know that char it is signed.
13151
13152 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
13153
13154 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
13155
13156 * configure.in (configdirs): Add gdb.t24 for C++ tests that
13157 should work on any system, regardless of debugging format.
13158 * gdb.t21/demangle.exp: Move to gdb.t24.
13159 * gdb.t24/demangle.exp: Move from gdb.t21.
13160 * gdb.t24/{Makefile.in, configure.in}: New files.
13161
13162 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13163
13164 * configure.in: Do gdb.stabs and C++ tests only for stabs.
13165 * gdb.stabs: New directory.
13166
13167 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13168
13169 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
13170 not just "Quit anyway?".
13171
13172 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
13173
13174 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
13175 that all setup_xfails are immediately followed by clear_xfails.
13176
13177 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
13178
13179 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
13180 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
13181 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
13182 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
13183 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
13184 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13185 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13186 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
13187 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
13188 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
13189 gdb.t31/chillvars.exp, lib/gdb.exp:
13190 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
13191 bug-gdb@prep.ai.mit.edu.
13192
13193 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
13194
13195 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
13196 with 0.0, not integer 0.
13197
13198 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
13199
13200 * gdb.t06/break.exp: Update for "Kill the program" message change.
13201
13202 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
13203
13204 * Makefile.in (GDBFLAGS): Set to -nx.
13205 * Makefile.in (site.exp): Use GDBFLAGS.
13206
13207 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13208
13209 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
13210 Makefiles.
13211 (check): depend on just-check.
13212 (just-check): added so that tests can be run without a noop
13213 build pass.
13214
13215 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13216
13217 Switch to using configure's configdirs.
13218 * Makefile.in (Makefile): add configure.in dependency.
13219 (SUBDIRS): removed redundant assignment.
13220 * configure.in: switch subdirs assignment to configdirs.
13221 * gdb.t*/configure.in: new files.
13222
13223 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
13224
13225 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
13226 works.
13227
13228 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
13229
13230 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
13231 in explicit rules. Apparently this is not supported by some makes.
13232
13233 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
13234
13235 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
13236
13237 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13238
13239 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
13240 disappeared.
13241
13242 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
13243
13244 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
13245
13246 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
13247
13248 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
13249 watchpoint problem that is now fixed.
13250 * gdb.t30/chexp.exp: Remove setup_xfail for printing
13251 uninitialized convenience variables.
13252 * gdb.t31/chillvars.exp: Fix expected patterns for printing
13253 structures.
13254
13255 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13256
13257 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
13258 which causes expect to get out of sync with gdb on long output
13259 from help set.
13260 * gdb.t09/corefile.exp: Make expected pattern for core file
13261 failing signal and frame output format less sun specific.
13262
13263 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
13264
13265 * gdb.t31/chillvars.exp: Add and remove initial dummy
13266 breakpoint, so that symbol table is forced in.
13267 (Needed at least on Sunos4, though it seems not SVR4.)
13268 * gdb.t31/chillvars.exp: Update for changed output format.
13269
13270 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
13271
13272 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
13273
13274 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
13275
13276 * Makefile.in: Added --srcdir when invoking runtest, removed the
13277 need for a local config file. (optional now)
13278
13279 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
13280
13281 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
13282 failure count used to force early termination. Add some more
13283 expected failures for gnu style demangling.
13284
13285 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13286
13287 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
13288 pmi variable from gdb.t20/gdbme to get optimized away.
13289 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
13290 Check for written corefile upon timeout _and_ eof.
13291
13292 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13293
13294 * config/unix-gdb.exp: Add missing return 0.
13295
13296 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13297
13298 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
13299 test termination.
13300
13301 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
13302
13303 * configure.in (subdirs): Put back gdb.t17 which mysteriously
13304 disappeared.
13305
13306 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
13307
13308 * gdb.t10/crossload.exp: Disable the i860-elf test until such
13309 time as i860 support works.
13310
13311 * gdb.t15/funcargs.exp: Fix expected outputs to include
13312 "backtrace 100\r" rather than just "backtrace\r", to match last
13313 change.
13314
13315 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
13316
13317 * config/udi-gdb.exp (gdb_exit): Remove close command.
13318 (gdb_target_udi): New procedure to set the UDI target.
13319 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
13320 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
13321 Added waits for prompts after several question responses. Added
13322 some more responses used by a29k-amd-udi-gdb.
13323 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
13324 pass different arguments, restart UDI connection after program
13325 completion.
13326 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
13327 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13328 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13329 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13330 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13331 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13332 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13333 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13334 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13335 after program completion.
13336 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13337 compiled with a SELECT_VECS setting.
13338 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13339 infinite recursion.
13340
13341 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13342 Added checks for COFF results, and made them expected failures for
13343 all targets. It would be better to make them expected failures
13344 for COFF targets only.
13345
13346 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
13347
13348 * Makefile.in: add null dvi target, don't bother to recurse
13349 through test directories for info and install-info; rename
13350 $(datadir) to be dejagnu instead of deja-gnu
13351
13352 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
13353
13354 * gdb.t31/gdbme.ch: Re-enable code that previously caused
13355 compiler to coredump.
13356 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
13357 code.
13358
13359 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
13360
13361 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
13362 coredump.
13363 * gdb.t31/chillvars.exp: Comment out tests that depend on that
13364 code.
13365
13366 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
13367
13368 * gdb.t03/ptype.exp: tests for return code from gdb_test.
13369 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13370 which in a shell. Deletes xgdb when done.
13371 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13372 Tests the return from the "set height" or "set width" commands.
13373 Added a few return codes where needed.
13374
13375 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
13376
13377 * Makefile.in (SUBDIRS): Add gdb.t17.
13378 * configure.in (subdirs): Add gdb.t17.
13379 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
13380 files to test gdb's calling of functions in the inferior with
13381 the correct arguments and gdb's ability to retrieve any
13382 result returned.
13383
13384 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
13385
13386 * config/unix-gdb.exp (gdb_exit): Remove close commands that
13387 may be called after gdb goes away. Previous versions of expect
13388 needed these to avoid file descriptor leaks, but they cause
13389 errors with the current revision of expect.
13390 * gdb.t00/gdbvars.exp: Use -re on expected output after
13391 setting sevenbit-strings.
13392 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
13393 to set sevenbit-strings consistent across tests.
13394 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
13395 set sevenbit-strings consistent across tests.
13396
13397 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
13398
13399 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
13400 expected output to match current "expect" expectations.
13401
13402 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
13403
13404 * gdb.t00/default.exp: Change expected output for default "source"
13405 command, to match new gdb behavior which requires a filename to
13406 source.
13407
13408 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
13409
13410 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
13411 expected fail for i486-*-* that misses the marker2 function.
13412 * gdb.t10/crossload.exp (bfddefault): Allow successful
13413 recognition of a format to pass even if no symbols are found.
13414 Explicitly catch failures where the format is not recognized
13415 or is ambiguous, and add the reason to the fail message.
13416 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
13417 the cause is and invalid target and add reason to failure message.
13418 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
13419 elf32-i386, elf32-sparc, and elf32-i860.
13420 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13421 Set up expected failure for 'filename'::variable scope resolution,
13422 which is now apparently broken on all targets.
13423 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13424 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13425 gdb.t23/templates.exp: Change failure for missing binfile into
13426 just a warning.
13427 gdb.t21/demangle.exp: Change all cfront references to 'arm'
13428 references.
13429
13430 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
13431
13432 * gdb.t00/default.exp: Add expected output for default "source"
13433 command, to match new gdb behavior.
13434 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
13435
13436 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
13437
13438 * config/*-gdb.exp: returns an error, rather than exiting on
13439 internal errors.
13440
13441 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13442
13443 * gdb.t03/gdbme.c: Add pointer to struct variable.
13444 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13445 referencing struct members.
13446
13447 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13448
13449 * configure.in (mips-idt-ecoff): New target.
13450 * config/mips-gdb.exp: New file for remote board using MIPS remote
13451 debugging protocol.
13452
13453 * Redid configuration scheme. Removed gdb.t*/configure.in.
13454 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13455 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13456 distclean targets. Built executables via .o files. Adjusted
13457 tests to account for source files in $(srcdir) rather than
13458 $(objdir).
13459 * lib/gdb.exp (runto): Don't expect () after the function name,
13460 because it may have arguments.
13461
13462 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13463
13464 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13465 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13466 expected failures for mips-idt-* and mips-sgi-*.
13467 * gdb.t00/default.exp (attach): Kill process if requested.
13468 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13469 that does not read core files.
13470 * gdb.t01/run.exp: Removed checks for exit status code.
13471 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13472 it is linked in.
13473 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13474 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13475 appropriate, rather than doing it by hand.
13476 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13477 execution.
13478 * gdb.t10/crossload.exp: Kill existing program if needed.
13479 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13480 appropriate, rather than doing it by hand. Always increase
13481 timeout for this test, not just for VxWorks.
13482
13483 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13484
13485 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13486 of Chill STRUCT types and STRUCT values.
13487 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13488 than "char".
13489 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
13490 struct2): New struct definitions and initializations to test
13491 simple Chill STRUCT types.
13492
13493 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13494
13495 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13496 the null byte at the end of strings.
13497 * gdb.t00/default.exp: Make show version insensitive to copyright
13498 date.
13499 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13500 to avoid dependencies on target char signedness.
13501 * gdb.t16/printcmds.exp: Update expected results for explicitly
13502 unsigned char.
13503 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13504 now work.
13505 * gdb.t21/demangle.exp: Add many more patterns for template
13506 demangling, most of them being expected failures.
13507 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13508 string we are matching for, to match on the whole string.
13509 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13510 and fix a whole bunch that had incorrect expected output but were
13511 passing anyway because of the bug in "proc demangle".
13512 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13513 type.
13514 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13515
13516 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13517
13518 * gdb/testsuite: made modifications to testcases, etc., to allow
13519 them to work properly given the reorganization of deja-gnu and the
13520 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13521
13522 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13523
13524 * gdb/testsuite: Initial creation of gdb/testsuite.
13525 Migrated dejagnu testcases and support files for testing nm to
13526 gdb/testsuite from deja-gnu. These files were moved "as is"
13527 with no modifications. This migration is part of a major overhaul
13528 of dejagnu. The modifications to these testcases, etc., which
13529 will allow them to work with the new version of dejagnu will be
13530 made in a future update.
13531
13532 For additional changes see gdb.mi/ChangeLog-1999-2003.
13533 \f
13534 ;; Local Variables:
13535 ;; mode: change-log
13536 ;; left-margin: 8
13537 ;; fill-column: 74
13538 ;; version-control: never
13539 ;; End:
13540
13541 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
13542 2003, 2004, 2005 Free Software Foundation, Inc.
13543 Copying and distribution of this file, with or without modification,
13544 are permitted provided the copyright notice and this notice are preserved.
This page took 0.514137 seconds and 4 git commands to generate.